aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2003-09-03 16:29:31 +0000
committerPablo Saratxaga <pablo@mandriva.com>2003-09-03 16:29:31 +0000
commit0842cea68e21afebf39e4442743c999164cc5233 (patch)
tree9b4a26fd4264e7bcf74660325735540f3eaba9ed /scripts
parent821e5f9b5cc1b8f3c7cc5881503f35984d7d68fb (diff)
downloadbootsplash-0842cea68e21afebf39e4442743c999164cc5233.tar
bootsplash-0842cea68e21afebf39e4442743c999164cc5233.tar.gz
bootsplash-0842cea68e21afebf39e4442743c999164cc5233.tar.bz2
bootsplash-0842cea68e21afebf39e4442743c999164cc5233.tar.xz
bootsplash-0842cea68e21afebf39e4442743c999164cc5233.zip
fixed use of OUTPUT_CHARSET=UTF-8
Diffstat (limited to 'scripts')
-rw-r--r--scripts/splash.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/splash.sh b/scripts/splash.sh
index a6ccf2a..2417e7a 100644
--- a/scripts/splash.sh
+++ b/scripts/splash.sh
@@ -26,13 +26,12 @@ else
fi
gprintf() {
- # request translations to be always in UTF-8
- OUTPUT_CHARSET=UTF-8
+ # 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=`LANGUAGE=$GP_LANG gettext -e --domain=$TEXTDOMAIN "$1"`
+ TEXT=`OUTPUT_CHARSET=UTF-8 LANGUAGE=$GP_LANG gettext -e --domain=$TEXTDOMAIN "$1"`
else
- TEXT=`gettext -e --domain=$TEXTDOMAIN "$1"`
+ TEXT=`OUTPUT_CHARSET=UTF-8 gettext -e --domain=$TEXTDOMAIN "$1"`
fi
else
TEXT=$1