summaryrefslogtreecommitdiff
path: root/functions/l10n.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/l10n.sh')
-rwxr-xr-xfunctions/l10n.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/l10n.sh b/functions/l10n.sh
index 4e6c9e9af..029c7f744 100755
--- a/functions/l10n.sh
+++ b/functions/l10n.sh
@@ -7,12 +7,12 @@
# This is free software, and you are welcome to redistribute it
# under certain conditions; see COPYING for details.
-if [ -x "$(which gettext.sh 2>/dev/null)" ] && Find_files /usr/share/locale/*/LC_MESSAGES/${PROGRAM}.mo
+if [ -x "$(which gettext.sh 2>/dev/null)" ] && Find_files /usr/share/locale/*/LC_MESSAGES/${PACKAGE}.mo
then
_L10N="enabled"
# gettext domain (.mo file name)
- TEXTDOMAIN="${PROGRAM}"
+ TEXTDOMAIN="${PACKAGE}"
export TEXTDOMAIN
# locale dir for gettext codes