* [gentoo-commits] gentoo-x86 commit in games-rpg/bass/files: scummvmGetLang.sh
@ 2011-07-26 10:28 Alfredo Tupone (tupone)
0 siblings, 0 replies; only message in thread
From: Alfredo Tupone (tupone) @ 2011-07-26 10:28 UTC (permalink / raw
To: gentoo-commits
tupone 11/07/26 10:28:31
Added: scummvmGetLang.sh
Log:
Enabling translation. Bug #211203
(Portage version: 2.1.10.7/cvs/Linux i686)
Revision Changes Path
1.1 games-rpg/bass/files/scummvmGetLang.sh
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/bass/files/scummvmGetLang.sh?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/bass/files/scummvmGetLang.sh?rev=1.1&content-type=text/plain
Index: scummvmGetLang.sh
===================================================================
tmplang="$LANG"
test "$LC_MESSAGES" != "" && tmplang="$LC_MESSAGES"
test "$LC_ALL" != "" && tmplang="$LC_ALL"
test "$LANGUAGE" != "" && tmplang="$LANGUAGE"
lang=`echo $tmplang|cut -d "_" -f 1`
case $lang in
en)
lang=gb
echo $tmplang | grep en_US &>/dev/null && lang=en
;;
de|fr|it|pt|es|se)
;;
*)
lang=gb
;;
esac
echo $lang
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-07-26 10:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-26 10:28 [gentoo-commits] gentoo-x86 commit in games-rpg/bass/files: scummvmGetLang.sh Alfredo Tupone (tupone)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox