diff options
-rw-r--r-- | src/locale.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/locale.sh b/src/locale.sh index 2e36ce5..5381e33 100644 --- a/src/locale.sh +++ b/src/locale.sh @@ -64,7 +64,7 @@ get_msg() { local msgid="${1}" - eval "printf '%s' \"\${msg_${TEXT_DOMAIN}_${msgid}}\"" + eval "printf '%s' \"\${msg_${TEXTDOMAIN}_${msgid}}\"" return 0 } @@ -75,7 +75,7 @@ _try_load_locale() local locale="${2}" local ms= - for ms in "${localedir}/${locale}/LC_MESSAGES/${TEXT_DOMAIN}.ms" \ + for ms in "${localedir}/${locale}/LC_MESSAGES/${TEXTDOMAIN}.ms" \ "${localedir}/${locale}.ms"; do if [ -f "${ms}" ]; then . "${ms}" |