diff options
author | Tiago Bortoletto Vaz <tiagovaz@safernet.org.br> | 2008-08-10 17:39:06 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2008-08-10 17:39:06 +0200 |
commit | 4f77a42dcf2fd888e3b9dfde16fcee87455ca53d (patch) | |
tree | 159713d9ef95a45ff6cd401a95902437aad309cf /functions | |
parent | 016ecd409ea9bab563d267b941e152bd81242877 (diff) | |
download | vyos-live-build-4f77a42dcf2fd888e3b9dfde16fcee87455ca53d.tar.gz vyos-live-build-4f77a42dcf2fd888e3b9dfde16fcee87455ca53d.zip |
Adding the basic infrastructure to provide l10n support for live-helper.
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/l10n.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/functions/l10n.sh b/functions/l10n.sh new file mode 100755 index 000000000..0693b42eb --- /dev/null +++ b/functions/l10n.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +# l10n.sh - load the needed localization things for all lh messages +# Copyright (C) 2006-2008 Daniel Baumann <daniel@debian.org> +# +# live-helper comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +# This is free software, and you are welcome to redistribute it +# under certain conditions; see COPYING for details. + +set -e + +# gettext domain (.mo file name) +export TEXTDOMAIN=live-helper +# locale dir for gettext codes +export TEXTDOMAINDIR=/usr/share/locale +# load gettext functions +. gettext.sh |