summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfunctions/l10n.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/functions/l10n.sh b/functions/l10n.sh
index a1125ec..dded7d2 100755
--- a/functions/l10n.sh
+++ b/functions/l10n.sh
@@ -12,10 +12,12 @@ then
LH_L10N="enabled"
# gettext domain (.mo file name)
- export TEXTDOMAIN="live-helper"
+ TEXTDOMAIN="${PROGRAM}"
+ export TEXTDOMAIN
# locale dir for gettext codes
- export TEXTDOMAINDIR="/usr/share/locale"
+ TEXTDOMAINDIR="/usr/share/locale"
+ export TEXTDOMAINDIR
# load gettext functions
. gettext.sh