aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/splash.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/splash.sh')
-rw-r--r--scripts/splash.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/splash.sh b/scripts/splash.sh
index e571816..2d0c15a 100644
--- a/scripts/splash.sh
+++ b/scripts/splash.sh
@@ -31,7 +31,7 @@ gprintf() {
if [ -n "$GP_LANG" ]; then
TEXT=`OUTPUT_CHARSET=UTF-8 LANGUAGE=$GP_LANG LANG=$GP_LANG gettext -e --domain=$TEXTDOMAIN "$1"`
else
- TEXT=`OUTPUT_CHARSET=UTF-8 LANG=$LANGUAGE gettext -e --domain=$TEXTDOMAIN "$1"`
+ TEXT=`OUTPUT_CHARSET=UTF-8 LANG=$(echo $LANGUAGE | cut -d: -f1) gettext -e --domain=$TEXTDOMAIN "$1"`
fi
else
TEXT=$1