summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-11-01 14:43:41 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:43 +0100
commit1783c91424167b23a3e25d679ee4dacf4218c06f (patch)
tree09e763a9daa8b15f529634a779260840db336577 /functions
parentdb5d2b0dcdae96e712661605e17bc9875e224f9f (diff)
downloadvyos-live-build-1783c91424167b23a3e25d679ee4dacf4218c06f.tar.gz
vyos-live-build-1783c91424167b23a3e25d679ee4dacf4218c06f.zip
Syncing internal l10n functions.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/l10n.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/functions/l10n.sh b/functions/l10n.sh
index a1125ec44..dded7d2d1 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