summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/l10n.sh17
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