From f8db734779744aed3d09b1ca9f1e52d1dd3d5060 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 16 Jul 2013 18:55:42 -0400 Subject: lib/locale.sh: Update code style. --- (limited to 'lib') 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}")" -- cgit v0.9.1