diff options
author | Daniel Baumann <daniel@debian.org> | 2008-11-02 17:20:24 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:44 +0100 |
commit | 2b5f0a7a071fbc50d82246194bce2ab118f114a0 (patch) | |
tree | a93489fcec7be0c536a85b8ae5239af7d2cf7dcb /functions/l10n.sh | |
parent | d0276d0b16eab1827c81e462ad28a48318b227fc (diff) | |
download | vyos-live-build-2b5f0a7a071fbc50d82246194bce2ab118f114a0.tar.gz vyos-live-build-2b5f0a7a071fbc50d82246194bce2ab118f114a0.zip |
Using package variable to refere internally to live-helper.
Diffstat (limited to 'functions/l10n.sh')
-rwxr-xr-x | functions/l10n.sh | 4 |
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 |