[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kxkb
From:       Andy Rysin <arysin () yahoo ! com>
Date:       2004-06-28 12:43:23
Message-ID: 20040628124323.90B9A9191 () office ! kde ! org
[Download RAW message or body]

CVS commit by rysin: 

- fix coutry flags for some languages


  M +14 -0     pixmap.cpp   1.34


--- kdebase/kxkb/pixmap.cpp  #1.33:1.34
@@ -58,4 +58,18 @@ LayoutIcon::findPixmap(const QString& co
   if( code_ == "sr" )   // Serbian language - Yugoslavia
     flag = locate("locale", flagTemplate.arg("yu"));
+  else
+  if( code_ == "bs" )   // Bosnian language - Bosnia
+    flag = locate("locale", flagTemplate.arg("ba"));
+  else
+  if( code_ == "la" )   // Latin America
+    flag = locate("locale", flagTemplate.arg("C"));
+  else
+  if( code_ == "lo" )   // Lao
+    flag = locate("locale", flagTemplate.arg("la"));
+  else
+  if( code_ == "ml" || code_ == "dev" || code_ == "gur" 
+        || code_ == "guj" || code_ == "kan" || code_ == "ori" 
+        || code_ == "tel" || code_ == "tml" || code_ == "ben" ) // some Indian languages
+    flag = locate("locale", flagTemplate.arg("in"));
   else {
     flag = locate("locale", flagTemplate.arg(code.lower()));


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic