diff options
author | Pablo Saratxaga <pablo@mandriva.com> | 2004-02-20 14:34:20 +0000 |
---|---|---|
committer | Pablo Saratxaga <pablo@mandriva.com> | 2004-02-20 14:34:20 +0000 |
commit | 599fb864ccaf0daf9cba822939c8715688bed520 (patch) | |
tree | 729d8877d00e74873f8b41224412fc0fd53b2ae6 /scripts | |
parent | a89e510dedbe4c3554846347cf1b715f5b5669c8 (diff) | |
download | bootsplash-599fb864ccaf0daf9cba822939c8715688bed520.tar bootsplash-599fb864ccaf0daf9cba822939c8715688bed520.tar.gz bootsplash-599fb864ccaf0daf9cba822939c8715688bed520.tar.bz2 bootsplash-599fb864ccaf0daf9cba822939c8715688bed520.tar.xz bootsplash-599fb864ccaf0daf9cba822939c8715688bed520.zip |
fix for cases when LANGUAGE variable is a list of values (bug #6918)
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/splash.sh | 2 |
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 |