diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-11 18:15:41 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-11 18:15:41 (EDT) |
commit | f79dea0f5e1b89488d73bfb0360e651b8d578e15 (patch) | |
tree | 682bacab015acd1175f57b7bcbc8b65e4cb02ba5 /src/locale.sh | |
parent | d19eb991c6cf206dba7a9ecc0732c4ab5e7b4f85 (diff) |
Consistently shift function arguments
Diffstat (limited to 'src/locale.sh')
-rw-r--r-- | src/locale.sh | 2 |
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" \ |