grml-shlib (1.02.12) unstable; urgency=low
+ [ Michael Prokop ]
* Fixed some typos.
* Cleanup of whitespaces.
- -- Michael Prokop <mika@grml.org> Mon, 04 Jun 2007 01:17:35 +0200
+ [ Michael Gebetsroither ]
+ * Fixed language environment handling (set LANGUAGE too)
+
+ -- Michael Gebetsroither <gebi@grml.org> Wed, 11 Jul 2007 12:10:08 +0200
grml-shlib (1.02.11) unstable; urgency=low
# Authors: grml-team (grml.org), (c) Michael Gebetsroither <gebi@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
-# Latest change: Mon Jun 04 01:17:23 CEST 2007 [mika]
################################################################################
LANG__="$LANG"
LC_ALL__="$LC_ALL"
+LANGUAGE__="$LANGUAGE"
# CONFIG FUNCTIONS {{{
function disableSyslog { SYSLOG__="NO"; }
function enableSyslog { SYSLOG__="YES"; }
-function saveLang { LANG__="$LANG"; LC_ALL__="$LC_ALL"; }
-function restoreLang { LANG="$LANG__"; LC_ALL="$LC_ALL__"; }
-function setCLang { saveLang; LANG="C"; LC_ALL="C"; }
+function saveLang { LANG__="$LANG"; LC_ALL__="$LC_ALL"; LANGUAGE__="$LANGUAGE"; }
+function restoreLang { LANG="$LANG__"; LC_ALL="$LC_ALL__"; LANGUAGE="$LANGUAGE__"; }
+function setCLang { saveLang; LANG="C"; LC_ALL="C"; LANGUAGE="C"; }
# }}}