Paul Vriens : transl: Show name for Polish locale again.

Alexandre Julliard julliard at winehq.org
Tue Jul 7 07:01:07 CDT 2009


Module: tools
Branch: master
Commit: 8dc806ff75f3daab62c92e0727cb2d46019562ef
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=8dc806ff75f3daab62c92e0727cb2d46019562ef

Author: Paul Vriens <paul at acer.famvriens.nl>
Date:   Sat Jul  4 15:20:04 2009 +0200

transl: Show name for Polish locale again.

---

 transl/php/devel/dump-locales.php |    2 +-
 transl/php/dump_locales.php       |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/transl/php/devel/dump-locales.php b/transl/php/devel/dump-locales.php
index 36a915a..8b27c78 100644
--- a/transl/php/devel/dump-locales.php
+++ b/transl/php/devel/dump-locales.php
@@ -21,7 +21,7 @@ function res_enum($header, $f)
 }
 
 $LOCALE_NAMES = array();
-$res = new ResFile("../dumps/res/dlls-kernel32-kernel.res");
+$res = new ResFile("../dumps/res/dlls-kernel32.res");
 $res->enumResources("res_enum");
 ksort($LOCALE_NAMES);
 echo "&lt;?php<br/># Generated by devel/dump-locales.php<br/>\$LOCALE_NAMES = array();<br/>";
diff --git a/transl/php/dump_locales.php b/transl/php/dump_locales.php
index 69963c4..8d1bb90 100644
--- a/transl/php/dump_locales.php
+++ b/transl/php/dump_locales.php
@@ -89,6 +89,7 @@ $LOCALE_NAMES["013:03"] = "Dutch (Surinam)";
 $LOCALE_NAMES["014:01"] = "Norwegian (Bokmal)";
 $LOCALE_NAMES["014:02"] = "Norwegian (Nynorsk)";
 $LOCALE_NAMES["015:01"] = "Polish";
+$LOCALE_NAMES["015:00"] = $LOCALE_NAMES["015:01"]; # ignore sublangs
 $LOCALE_NAMES["016:01"] = "Portuguese (Brazil)";
 $LOCALE_NAMES["016:02"] = "Portuguese (Portugal)";
 $LOCALE_NAMES["017:01"] = "Romansh (Switzerland)";




More information about the wine-cvs mailing list