aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/splash.sh
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2003-09-04 18:42:38 +0000
committerFlorent Villard <warly@mandriva.com>2003-09-04 18:42:38 +0000
commite09c2acf70224a1c3a10a751dbb8b984448559eb (patch)
tree6ed5193fbaf98074f5a7cda820f80f94e1cf42c3 /scripts/splash.sh
parentf2277e5fb7eefc10511da223afe8ed20994ffc4f (diff)
downloadbootsplash-e09c2acf70224a1c3a10a751dbb8b984448559eb.tar
bootsplash-e09c2acf70224a1c3a10a751dbb8b984448559eb.tar.gz
bootsplash-e09c2acf70224a1c3a10a751dbb8b984448559eb.tar.bz2
bootsplash-e09c2acf70224a1c3a10a751dbb8b984448559eb.tar.xz
bootsplash-e09c2acf70224a1c3a10a751dbb8b984448559eb.zip
fix bad theme initialization if no theme defined
2.0.3 add grub resolution detection in detect-resolution try to fix i18n pb in splash.sh
Diffstat (limited to 'scripts/splash.sh')
-rw-r--r--scripts/splash.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/splash.sh b/scripts/splash.sh
index 2417e7a..90ead3c 100644
--- a/scripts/splash.sh
+++ b/scripts/splash.sh
@@ -29,9 +29,9 @@ gprintf() {
# request translations to be always in UTF-8 with OUTPUT_CHARSET=UTF-8
if [ -x /bin/gettext -a -n "$1" ]; then
if [ -n "$GP_LANG" ]; then
- TEXT=`OUTPUT_CHARSET=UTF-8 LANGUAGE=$GP_LANG gettext -e --domain=$TEXTDOMAIN "$1"`
+ TEXT=`OUTPUT_CHARSET=UTF-8 LANGUAGE=$GP_LANG LANG=$LANGUAGE gettext -e --domain=$TEXTDOMAIN "$1"`
else
- TEXT=`OUTPUT_CHARSET=UTF-8 gettext -e --domain=$TEXTDOMAIN "$1"`
+ TEXT=`OUTPUT_CHARSET=UTF-8 LANG=$LANGUAGE gettext -e --domain=$TEXTDOMAIN "$1"`
fi
else
TEXT=$1