diff options
author | Daniel Baumann <daniel@debian.org> | 2008-11-01 14:43:41 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:43 +0100 |
commit | 1783c91424167b23a3e25d679ee4dacf4218c06f (patch) | |
tree | 09e763a9daa8b15f529634a779260840db336577 | |
parent | db5d2b0dcdae96e712661605e17bc9875e224f9f (diff) | |
download | live-build-1783c91424167b23a3e25d679ee4dacf4218c06f.zip live-build-1783c91424167b23a3e25d679ee4dacf4218c06f.tar.gz |
Syncing internal l10n functions.
-rwxr-xr-x | functions/l10n.sh | 6 |
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 |