diff --git a/Makefile b/Makefile index a1c489d..9751fcd 100644 --- a/Makefile +++ b/Makefile @@ -78,6 +78,11 @@ build: depend prepare uninstall: @echo "Uninstall ..." + @for LANG in $$(find ./ -iname "*.po" -print | sed -En "s/.+_([[:alpha:]]+)\.po/\1/p" | sort -u); do \ +# PATH_FILE_MO="${DESTDIR}${PREFIX}/share/locale/$${LANG}/LC_MESSAGES/${PKGNAME}.mo"; \ + PATH_FILE_MO="${DESTDIR}/usr/share/locale/$${LANG}/LC_MESSAGES/${PKGNAME}.mo"; \ + $(RM) "$${PATH_FILE_MO}"; \ + done @for FILE_PO in $(wildcard *.po); do \ LANG=$${FILE_PO##*_};LANG=$${LANG%.*}; \ FILE_MO=$${FILE_PO##*/}; FILE_MO="$${FILE_MO%_*.po}.mo"; \ diff --git a/libublsettingsui-gtk3.pot b/libublsettingsui-gtk3.pot index 5919d26..ef43fe7 100644 --- a/libublsettingsui-gtk3.pot +++ b/libublsettingsui-gtk3.pot @@ -389,5 +389,6 @@ msgstr "" msgid "Access to file denied" msgstr "" +#: source/libublsettingsui-gtk3.h:493 msgid "Error! Invalid configuration parameter were loaded" msgstr "" \ No newline at end of file diff --git a/source/libublsettingsui-gtk3.h b/source/libublsettingsui-gtk3.h index b69e600..7e2100f 100644 --- a/source/libublsettingsui-gtk3.h +++ b/source/libublsettingsui-gtk3.h @@ -620,5 +620,5 @@ yon_password_window *yon_password_open(GtkEntry *target); #define _INCORRECT_HASH_LABEL yon_char_get_localised_from_lib("Invalid hash") #define _ENCRYPTION_DEFAULT_LABEL yon_char_get_localised_from_lib("Default (None)") #define ACCESS_DENIED_LABEL(target) yon_char_unite(yon_char_get_localised_from_lib("Access to file denied"),": ", target,NULL) - #define CONFIG_INVALID_LABEL _("Error! Invalid configuration parameter were loaded") + #define CONFIG_INVALID_LABEL yon_char_get_localised_from_lib("Error! Invalid configuration parameter were loaded") #endif \ No newline at end of file