diff options
author | P. J. McDermott <pjm@nac.net> | 2013-07-16 18:55:42 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-07-16 18:55:42 (EDT) |
commit | f8db734779744aed3d09b1ca9f1e52d1dd3d5060 (patch) | |
tree | 69f35a0cd9fe365140e45c9b94ddf73ac41076ea /lib | |
parent | cd009236f4f8bbe367ede294acb005d077bb0411 (diff) |
lib/locale.sh: Update code style.
Diffstat (limited to 'lib')
-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}")" |