diff options
-rw-r--r-- | lib/locale.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/locale.sh b/lib/locale.sh index 63cbad7..b3f54f4 100644 --- a/lib/locale.sh +++ b/lib/locale.sh @@ -27,7 +27,8 @@ TEXT_DOMAIN='pro_archman' load_locale() { - local localedir localepath + local localedir= + local localepath= # Make sure LC_MESSAGES is set. if [ "x${LC_MESSAGES+set}" != 'xset' ]; then @@ -78,7 +79,7 @@ _try_load_locale() local localedir="${1}" local localepath="${2}" local locale="${3}" - local ms + local ms= ms="$(printf "${localepath}" \ "${localedir}" "${locale}" "${TEXT_DOMAIN}")" |