Module: tools Branch: master Commit: c5be021b9231b8323bc4aaeb7e7cfe7a48a9b4b4 URL: http://source.winehq.org/git/tools.git/?a=commit;h=c5be021b9231b8323bc4aaeb7...
Author: Mikolaj Zalewski mikolajz@tygrys.dom Date: Sat Apr 5 12:10:14 2008 +0200
fix Romansh language name, add Romansh locale name
---
php/devel/dump-locales.php | 2 +- php/dump_locales.php | 1 + scripts/conf/017:01 | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/php/devel/dump-locales.php b/php/devel/dump-locales.php index e88d7fb..36a915a 100644 --- a/php/devel/dump-locales.php +++ b/php/devel/dump-locales.php @@ -15,7 +15,7 @@ function res_enum($header, $f) return FALSE; # echo "Found resource for locale ".$header["language"]."<br/>\n"; $data = fread($f, $header["resSize"]); - $str = new StringTable($header, $data); + $str = new StringTable($header, $data, 0); $langid = sprintf("%03x:%02x", $header["language"] & 0x3ff, $header["language"] >> 10); $LOCALE_NAMES[$langid] = $str->getString(2); } diff --git a/php/dump_locales.php b/php/dump_locales.php index 3a622a0..69963c4 100644 --- a/php/dump_locales.php +++ b/php/dump_locales.php @@ -91,6 +91,7 @@ $LOCALE_NAMES["014:02"] = "Norwegian (Nynorsk)"; $LOCALE_NAMES["015:01"] = "Polish"; $LOCALE_NAMES["016:01"] = "Portuguese (Brazil)"; $LOCALE_NAMES["016:02"] = "Portuguese (Portugal)"; +$LOCALE_NAMES["017:01"] = "Romansh (Switzerland)"; $LOCALE_NAMES["018:01"] = "Romanian"; $LOCALE_NAMES["018:00"] = $LOCALE_NAMES["018:01"]; # ignore sublangs $LOCALE_NAMES["019:01"] = "Russian"; diff --git a/scripts/conf/017:01 b/scripts/conf/017:01 index 8a7fc8d..9d0ddbd 100644 --- a/scripts/conf/017:01 +++ b/scripts/conf/017:01 @@ -1 +1 @@ -Romanch (Switzerland) \ No newline at end of file +Romansh (Switzerland) \ No newline at end of file