aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/splash.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/splash.sh')
-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