summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2017-07-22 14:47:50 (EDT)
committer P. J. McDermott <pj@pehjota.net>2017-07-22 14:47:50 (EDT)
commit0dfcd1c1fe8c8dd5389a53d6317502543e87c149 (patch)
treebb516b8556ec0b52ed35903a1412f2e8f9fd9c7f /src
parentf56ac951b63dcb9bf9c9084dd93cb9d727b665f9 (diff)
src/locale.sh: Use TEXTDOMAIN
Diffstat (limited to 'src')
-rw-r--r--src/locale.sh4
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}"