[Marble-commits] KDE/kdeedu/marble/src/lib
Bastian Holst
bastianholst at gmx.de
Tue Mar 23 15:57:53 CET 2010
SVN commit 1106661 by bholst:
Support of locale == "C" in Marble.
Thanks to Niko Sams
M +4 -1 MarbleLocale.cpp
--- trunk/KDE/kdeedu/marble/src/lib/MarbleLocale.cpp #1106660:1106661
@@ -74,7 +74,10 @@
QString code;
int index = lang.indexOf ( '_' );
- if ( index != -1 ) {
+ if ( lang == "C" ) {
+ code = "en";
+ }
+ else if ( index != -1 ) {
code = lang.left ( index );
}
else {
More information about the Marble-commits
mailing list