summaryrefslogtreecommitdiffstats
path: root/src/locale.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale.sh')
-rw-r--r--src/locale.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/locale.sh b/src/locale.sh
index 2e2b4ae..1437bb8 100644
--- a/src/locale.sh
+++ b/src/locale.sh
@@ -62,6 +62,7 @@ load_locale()
get_msg()
{
local msgid="${1}"
+ shift 1
eval "printf '%s' \"\${msg_${TEXTDOMAIN}_${msgid}}\""
@@ -72,6 +73,7 @@ _try_load_locale()
{
local localedir="${1}"
local locale="${2}"
+ shift 2
local ms=
for ms in "${localedir}/${locale}/LC_MESSAGES/${TEXTDOMAIN}.ms" \