diff options
-rw-r--r-- | lib/locale.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/locale.sh b/lib/locale.sh index 12f7685..7b69873 100644 --- a/lib/locale.sh +++ b/lib/locale.sh @@ -36,10 +36,10 @@ ob_get_text_domain() _ob_try_load_messages() { - local locale= + local locale="${1}" + shift 1 || _ob_abort local ms= - locale="${1}" ms="$(printf "${_OB_LOCALE_PATH}" \ "${locale}" "${_ob_text_domain}")" |