From eb0d43aadd6f423fa961dd81e4fdfb49ce9e92a2 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 13 Mar 2009 00:30:26 +0000 Subject: (svn r15696) -Codechange: move the NewGRF language ID into the language file instead of maintaining a table in the code. --- src/lang/afrikaans.txt | 1 + src/lang/arabic_egypt.txt | 1 + src/lang/brazilian_portuguese.txt | 1 + src/lang/bulgarian.txt | 1 + src/lang/catalan.txt | 1 + src/lang/croatian.txt | 1 + src/lang/czech.txt | 1 + src/lang/danish.txt | 1 + src/lang/dutch.txt | 1 + src/lang/english.txt | 1 + src/lang/english_US.txt | 1 + src/lang/esperanto.txt | 1 + src/lang/estonian.txt | 1 + src/lang/finnish.txt | 1 + src/lang/french.txt | 1 + src/lang/galician.txt | 1 + src/lang/german.txt | 1 + src/lang/hebrew.txt | 1 + src/lang/hungarian.txt | 1 + src/lang/icelandic.txt | 1 + src/lang/indonesian.txt | 1 + src/lang/italian.txt | 1 + src/lang/japanese.txt | 1 + src/lang/korean.txt | 1 + src/lang/latvian.txt | 1 + src/lang/lithuanian.txt | 1 + src/lang/luxembourgish.txt | 1 + src/lang/norwegian_bokmal.txt | 1 + src/lang/norwegian_nynorsk.txt | 1 + src/lang/origveh.txt | 1 + src/lang/piglatin.txt | 1 + src/lang/polish.txt | 1 + src/lang/portuguese.txt | 1 + src/lang/romanian.txt | 1 + src/lang/russian.txt | 1 + src/lang/simplified_chinese.txt | 1 + src/lang/slovak.txt | 1 + src/lang/slovenian.txt | 1 + src/lang/spanish.txt | 1 + src/lang/swedish.txt | 1 + src/lang/traditional_chinese.txt | 1 + src/lang/turkish.txt | 1 + src/lang/ukrainian.txt | 1 + src/lang/unfinished/frisian.txt | 1 + src/lang/unfinished/greek.txt | 1 + src/lang/unfinished/ido.txt | 3 ++- src/lang/unfinished/macedonian.txt | 1 + src/lang/unfinished/malay.txt | 1 + src/lang/unfinished/persian.txt | 1 + src/lang/unfinished/serbian.txt | 3 ++- src/lang/unfinished/thai.txt | 1 + src/lang/unfinished/urdu.txt | 1 + src/lang/welsh.txt | 1 + 53 files changed, 55 insertions(+), 2 deletions(-) (limited to 'src/lang') diff --git a/src/lang/afrikaans.txt b/src/lang/afrikaans.txt index afcb6234d..f6d4f8b11 100644 --- a/src/lang/afrikaans.txt +++ b/src/lang/afrikaans.txt @@ -2,6 +2,7 @@ ##ownname Jaybee ##isocode af_ZA ##winlangid 0x0436 +##grflangid 0x1b ##plural 0 ##gender male diff --git a/src/lang/arabic_egypt.txt b/src/lang/arabic_egypt.txt index 8f23d5cdb..45c2997af 100644 --- a/src/lang/arabic_egypt.txt +++ b/src/lang/arabic_egypt.txt @@ -2,6 +2,7 @@ ##ownname Arabic (Egypt) ##isocode ar_EG ##winlangid 0x0c01 +##grflangid 0x14 ##plural 1 ##textdir rtl diff --git a/src/lang/brazilian_portuguese.txt b/src/lang/brazilian_portuguese.txt index 0d06cf09d..e73c4c77b 100644 --- a/src/lang/brazilian_portuguese.txt +++ b/src/lang/brazilian_portuguese.txt @@ -2,6 +2,7 @@ ##ownname Português (BR) ##isocode pt_BR ##winlangid 0x0416 +##grflangid 0x37 ##plural 2 ##gender m f diff --git a/src/lang/bulgarian.txt b/src/lang/bulgarian.txt index 750e4a96b..b5706c59b 100644 --- a/src/lang/bulgarian.txt +++ b/src/lang/bulgarian.txt @@ -2,6 +2,7 @@ ##ownname Български ##isocode bg_BG ##winlangid 0x0402 +##grflangid 0x18 ##plural 0 ##case m f n p ##gender m f n p diff --git a/src/lang/catalan.txt b/src/lang/catalan.txt index f854a5fef..91c0a68dd 100644 --- a/src/lang/catalan.txt +++ b/src/lang/catalan.txt @@ -2,6 +2,7 @@ ##ownname Català ##isocode ca_ES ##winlangid 0x0403 +##grflangid 0x22 ##plural 0 # diff --git a/src/lang/croatian.txt b/src/lang/croatian.txt index dac0b623d..c489d0e18 100644 --- a/src/lang/croatian.txt +++ b/src/lang/croatian.txt @@ -2,6 +2,7 @@ ##ownname Hrvatski ##isocode hr_HR ##winlangid 0x041a +##grflangid 0x38 ##plural 6 ##case nom gen dat aku vok lok ins ##gender male female middle diff --git a/src/lang/czech.txt b/src/lang/czech.txt index 423a3ae74..92cf62ff7 100644 --- a/src/lang/czech.txt +++ b/src/lang/czech.txt @@ -2,6 +2,7 @@ ##ownname Čeština ##isocode cs_CZ ##winlangid 0x0405 +##grflangid 0x15 ##plural 6 ##case nom gen dat acc voc loc ins big small ##gender m f n diff --git a/src/lang/danish.txt b/src/lang/danish.txt index 8531c92a7..4c7992a1c 100644 --- a/src/lang/danish.txt +++ b/src/lang/danish.txt @@ -2,6 +2,7 @@ ##ownname Dansk ##isocode da_DA ##winlangid 0x0406 +##grflangid 0x2d ##plural 0 # diff --git a/src/lang/dutch.txt b/src/lang/dutch.txt index 6a698ea8b..6628732d7 100644 --- a/src/lang/dutch.txt +++ b/src/lang/dutch.txt @@ -2,6 +2,7 @@ ##ownname Nederlands ##isocode nl_NL ##winlangid 0x0413 +##grflangid 0x1f ##plural 0 # diff --git a/src/lang/english.txt b/src/lang/english.txt index 0519d74fe..588964860 100644 --- a/src/lang/english.txt +++ b/src/lang/english.txt @@ -2,6 +2,7 @@ ##ownname English (UK) ##isocode en_GB ##winlangid 0x0809 +##grflangid 0x01 ##plural 0 # diff --git a/src/lang/english_US.txt b/src/lang/english_US.txt index 06aab3df4..e6c7774ad 100644 --- a/src/lang/english_US.txt +++ b/src/lang/english_US.txt @@ -2,6 +2,7 @@ ##ownname English (US) ##isocode en_US ##winlangid 0x0409 +##grflangid 0x00 ##plural 0 # diff --git a/src/lang/esperanto.txt b/src/lang/esperanto.txt index 58d6520e2..774e89b9b 100644 --- a/src/lang/esperanto.txt +++ b/src/lang/esperanto.txt @@ -2,6 +2,7 @@ ##ownname Esperanto ##isocode eo_EO ##winlangid 0x0000 +##grflangid 0x05 ##plural 0 ##case n diff --git a/src/lang/estonian.txt b/src/lang/estonian.txt index 21b37f27b..87017d8c3 100644 --- a/src/lang/estonian.txt +++ b/src/lang/estonian.txt @@ -2,6 +2,7 @@ ##ownname Eesti keel ##isocode et_ET ##winlangid 0x0425 +##grflangid 0x34 ##plural 0 ##case g in diff --git a/src/lang/finnish.txt b/src/lang/finnish.txt index 2f6f14f49..9a0380024 100644 --- a/src/lang/finnish.txt +++ b/src/lang/finnish.txt @@ -2,6 +2,7 @@ ##ownname Suomi ##isocode fi_FI ##winlangid 0x040b +##grflangid 0x35 ##plural 0 # diff --git a/src/lang/french.txt b/src/lang/french.txt index 2a811464f..18b231a5f 100644 --- a/src/lang/french.txt +++ b/src/lang/french.txt @@ -2,6 +2,7 @@ ##ownname Français ##isocode fr_FR ##winlangid 0x040c +##grflangid 0x03 ##plural 2 ##gender m m2 f diff --git a/src/lang/galician.txt b/src/lang/galician.txt index e65b3e22b..2b7c9df4e 100644 --- a/src/lang/galician.txt +++ b/src/lang/galician.txt @@ -2,6 +2,7 @@ ##ownname Galego ##isocode gl_ES ##winlangid 0x0456 +##grflangid 0x31 ##plural 0 ##gender m f n diff --git a/src/lang/german.txt b/src/lang/german.txt index b904e0903..6120dc1a3 100644 --- a/src/lang/german.txt +++ b/src/lang/german.txt @@ -2,6 +2,7 @@ ##ownname Deutsch ##isocode de_DE ##winlangid 0x0407 +##grflangid 0x02 ##plural 0 ##gender m w n p diff --git a/src/lang/hebrew.txt b/src/lang/hebrew.txt index 30a5fc29d..3022a4091 100644 --- a/src/lang/hebrew.txt +++ b/src/lang/hebrew.txt @@ -2,6 +2,7 @@ ##ownname עברית ##isocode he_IL ##winlangid 0x040d +##grflangid 0x61 ##plural 0 ##gender m f ##textdir rtl diff --git a/src/lang/hungarian.txt b/src/lang/hungarian.txt index f657f4e76..0d9847c99 100644 --- a/src/lang/hungarian.txt +++ b/src/lang/hungarian.txt @@ -2,6 +2,7 @@ ##ownname Magyar ##isocode hu_HU ##winlangid 0x040e +##grflangid 0x24 ##plural 2 ##case t ba diff --git a/src/lang/icelandic.txt b/src/lang/icelandic.txt index 77526c885..3a2e9b2a7 100644 --- a/src/lang/icelandic.txt +++ b/src/lang/icelandic.txt @@ -2,6 +2,7 @@ ##ownname Íslenska ##isocode is_IS ##winlangid 0x040f +##grflangid 0x29 ##plural 0 ##gender karlkyn kvenkyn hvorugkyn diff --git a/src/lang/indonesian.txt b/src/lang/indonesian.txt index 1f8f069e7..a169a6ac4 100644 --- a/src/lang/indonesian.txt +++ b/src/lang/indonesian.txt @@ -2,6 +2,7 @@ ##ownname Bahasa Indonesia ##isocode id_ID ##winlangid 0x0421 +##grflangid 0x5a ##plural 1 # diff --git a/src/lang/italian.txt b/src/lang/italian.txt index 4867ad336..0b8990fe0 100644 --- a/src/lang/italian.txt +++ b/src/lang/italian.txt @@ -2,6 +2,7 @@ ##ownname Italiano ##isocode it_IT ##winlangid 0x0410 +##grflangid 0x27 ##plural 0 ##case ms mp fs fp ##gender m f diff --git a/src/lang/japanese.txt b/src/lang/japanese.txt index d35ab19e5..61cf845b3 100644 --- a/src/lang/japanese.txt +++ b/src/lang/japanese.txt @@ -2,6 +2,7 @@ ##ownname 日本語 ##isocode ja_JP ##winlangid 0x0411 +##grflangid 0x39 ##plural 1 # diff --git a/src/lang/korean.txt b/src/lang/korean.txt index edb06605a..208310c2e 100644 --- a/src/lang/korean.txt +++ b/src/lang/korean.txt @@ -2,6 +2,7 @@ ##ownname 한국어 ##isocode ko_KR ##winlangid 0x0412 +##grflangid 0x3a ##plural 1 ##gender m f diff --git a/src/lang/latvian.txt b/src/lang/latvian.txt index caffb12a4..c45277bfa 100644 --- a/src/lang/latvian.txt +++ b/src/lang/latvian.txt @@ -2,6 +2,7 @@ ##ownname Latviešu ##isocode lv_LV ##winlangid 0x0426 +##grflangid 0x2a ##plural 3 ##case kas ##gender m f diff --git a/src/lang/lithuanian.txt b/src/lang/lithuanian.txt index ab412828e..5f4d1dd2f 100644 --- a/src/lang/lithuanian.txt +++ b/src/lang/lithuanian.txt @@ -2,6 +2,7 @@ ##ownname Lietuvių ##isocode lt_LT ##winlangid 0x0427 +##grflangid 0x2b ##plural 5 ##case kas ko kam ka kuo kur kreip ##gender vyr mot diff --git a/src/lang/luxembourgish.txt b/src/lang/luxembourgish.txt index 441cd3044..d647d0efa 100644 --- a/src/lang/luxembourgish.txt +++ b/src/lang/luxembourgish.txt @@ -2,6 +2,7 @@ ##ownname Luxembourgish ##isocode lb_LU ##winlangid 0x046e +##grflangid 0x23 ##plural 0 # diff --git a/src/lang/norwegian_bokmal.txt b/src/lang/norwegian_bokmal.txt index cdd2795aa..b6cfd4e39 100644 --- a/src/lang/norwegian_bokmal.txt +++ b/src/lang/norwegian_bokmal.txt @@ -2,6 +2,7 @@ ##ownname Norsk (bokmål) ##isocode nb_NO ##winlangid 0x0414 +##grflangid 0x2f ##plural 0 # diff --git a/src/lang/norwegian_nynorsk.txt b/src/lang/norwegian_nynorsk.txt index be6784984..532e6dcf5 100644 --- a/src/lang/norwegian_nynorsk.txt +++ b/src/lang/norwegian_nynorsk.txt @@ -2,6 +2,7 @@ ##ownname Norsk, Nynorsk ##isocode nn_NO ##winlangid 0x0814 +##grflangid 0x0e ##plural 0 ##gender masculine feminine neuter diff --git a/src/lang/origveh.txt b/src/lang/origveh.txt index d1cc58ee3..f10e21f2a 100644 --- a/src/lang/origveh.txt +++ b/src/lang/origveh.txt @@ -2,6 +2,7 @@ ##ownname Original vehicle names (ENG) ##isocode xx_OV ##winlangid 0x0000 +##grflangid 0x01 ##id 0x8000 STR_8000_KIRBY_PAUL_TANK_STEAM :Collett Pannier Tank (Steam) diff --git a/src/lang/piglatin.txt b/src/lang/piglatin.txt index 48b313560..882602483 100644 --- a/src/lang/piglatin.txt +++ b/src/lang/piglatin.txt @@ -2,6 +2,7 @@ ##ownname Igpay atinlay ##isocode xx_PL ##winlangid 0x0000 +##grflangid 0x01 ##plural 0 # diff --git a/src/lang/polish.txt b/src/lang/polish.txt index 76c719fb0..382cc6c8c 100644 --- a/src/lang/polish.txt +++ b/src/lang/polish.txt @@ -2,6 +2,7 @@ ##ownname Polski ##isocode pl_PL ##winlangid 0x0415 +##grflangid 0x30 ##plural 7 ##case d c b n m w ##gender m f n diff --git a/src/lang/portuguese.txt b/src/lang/portuguese.txt index b4d508d7c..5db9ca563 100644 --- a/src/lang/portuguese.txt +++ b/src/lang/portuguese.txt @@ -2,6 +2,7 @@ ##ownname Português ##isocode pt_PT ##winlangid 0x0816 +##grflangid 0x36 ##plural 0 # diff --git a/src/lang/romanian.txt b/src/lang/romanian.txt index f13633d9b..39c9ad8bf 100644 --- a/src/lang/romanian.txt +++ b/src/lang/romanian.txt @@ -2,6 +2,7 @@ ##ownname Românã ##isocode ro_RO ##winlangid 0x0418 +##grflangid 0x28 ##plural 0 # diff --git a/src/lang/russian.txt b/src/lang/russian.txt index b1bc488b1..7875bde7c 100644 --- a/src/lang/russian.txt +++ b/src/lang/russian.txt @@ -2,6 +2,7 @@ ##ownname Русский ##isocode ru_RU ##winlangid 0x0419 +##grflangid 0x07 ##plural 6 ##case m f n p ##gender m f n p diff --git a/src/lang/simplified_chinese.txt b/src/lang/simplified_chinese.txt index 81b17c2b0..6f8b27b1b 100644 --- a/src/lang/simplified_chinese.txt +++ b/src/lang/simplified_chinese.txt @@ -2,6 +2,7 @@ ##ownname 简体中文 ##isocode zh_CN ##winlangid 0x0804 +##grflangid 0x56 ##plural 1 # diff --git a/src/lang/slovak.txt b/src/lang/slovak.txt index 1d1a8eb92..91855661f 100644 --- a/src/lang/slovak.txt +++ b/src/lang/slovak.txt @@ -2,6 +2,7 @@ ##ownname Slovensky ##isocode sk_SK ##winlangid 0x041b +##grflangid 0x16 ##plural 6 ##case g ##gender m z s diff --git a/src/lang/slovenian.txt b/src/lang/slovenian.txt index 1bbbb6489..89866cd1f 100644 --- a/src/lang/slovenian.txt +++ b/src/lang/slovenian.txt @@ -2,6 +2,7 @@ ##ownname Slovenščina ##isocode sl_SL ##winlangid 0x0424 +##grflangid 0x2c ##plural 8 ##case r d t diff --git a/src/lang/spanish.txt b/src/lang/spanish.txt index fb9de9519..e47c5c17e 100644 --- a/src/lang/spanish.txt +++ b/src/lang/spanish.txt @@ -2,6 +2,7 @@ ##ownname Español (ES) ##isocode es_ES ##winlangid 0x0c0a +##grflangid 0x04 ##plural 0 ##gender masculino femenino diff --git a/src/lang/swedish.txt b/src/lang/swedish.txt index 953ead546..8dcdb14d4 100644 --- a/src/lang/swedish.txt +++ b/src/lang/swedish.txt @@ -2,6 +2,7 @@ ##ownname Svenska ##isocode sv_SE ##winlangid 0x081d +##grflangid 0x2e ##plural 0 # diff --git a/src/lang/traditional_chinese.txt b/src/lang/traditional_chinese.txt index 212e0e13a..960f60c37 100644 --- a/src/lang/traditional_chinese.txt +++ b/src/lang/traditional_chinese.txt @@ -2,6 +2,7 @@ ##ownname 繁體中文 ##isocode zh_TW ##winlangid 0x0404 +##grflangid 0x0c ##plural 1 # diff --git a/src/lang/turkish.txt b/src/lang/turkish.txt index 4ab2fcedf..f3416d8c2 100644 --- a/src/lang/turkish.txt +++ b/src/lang/turkish.txt @@ -2,6 +2,7 @@ ##ownname Türkçe ##isocode tr_TR ##winlangid 0x041f +##grflangid 0x3e ##plural 1 # diff --git a/src/lang/ukrainian.txt b/src/lang/ukrainian.txt index 24122e90d..c3b8af308 100644 --- a/src/lang/ukrainian.txt +++ b/src/lang/ukrainian.txt @@ -2,6 +2,7 @@ ##ownname Українська ##isocode uk_UA ##winlangid 0x0422 +##grflangid 0x33 ##plural 6 ##gender m f s mn ##case r d z diff --git a/src/lang/unfinished/frisian.txt b/src/lang/unfinished/frisian.txt index 6102c6f17..691a40242 100644 --- a/src/lang/unfinished/frisian.txt +++ b/src/lang/unfinished/frisian.txt @@ -2,6 +2,7 @@ ##ownname Frysk ##isocode fy_NL ##winlangid 0x0462 +##grflangid 0x32 ##plural 0 # diff --git a/src/lang/unfinished/greek.txt b/src/lang/unfinished/greek.txt index d0e5b73ac..c3c22a4af 100644 --- a/src/lang/unfinished/greek.txt +++ b/src/lang/unfinished/greek.txt @@ -2,6 +2,7 @@ ##ownname Ελληνικά ##isocode el_GR ##winlangid 0x0408 +##grflangid 0x1e ##plural 0 ##gender m f n diff --git a/src/lang/unfinished/ido.txt b/src/lang/unfinished/ido.txt index 8eb3e276c..a67f12293 100644 --- a/src/lang/unfinished/ido.txt +++ b/src/lang/unfinished/ido.txt @@ -1,7 +1,8 @@ ##name Ido ##ownname Ido -##isocode io_XX +##isocode io_IO ##winlangid 0x0000 +##grflangid 0x06 ##plural 0 # diff --git a/src/lang/unfinished/macedonian.txt b/src/lang/unfinished/macedonian.txt index f98f28576..c063c1e78 100644 --- a/src/lang/unfinished/macedonian.txt +++ b/src/lang/unfinished/macedonian.txt @@ -2,6 +2,7 @@ ##ownname Македонски ##isocode mk_MK ##winlangid 0x042f +##grflangid 0x26 ##plural 0 # diff --git a/src/lang/unfinished/malay.txt b/src/lang/unfinished/malay.txt index ae46da2a8..5355850d9 100644 --- a/src/lang/unfinished/malay.txt +++ b/src/lang/unfinished/malay.txt @@ -2,6 +2,7 @@ ##ownname Melayu ##isocode ms_MY ##winlangid 0x043a +##grflangid 0x3c ##plural 0 # diff --git a/src/lang/unfinished/persian.txt b/src/lang/unfinished/persian.txt index af917b2db..3eab78ce4 100644 --- a/src/lang/unfinished/persian.txt +++ b/src/lang/unfinished/persian.txt @@ -2,6 +2,7 @@ ##ownname فارسی ##isocode fa_IR ##winlangid 0x0429 +##grflangid 0x62 ##plural 0 ##textdir rtl diff --git a/src/lang/unfinished/serbian.txt b/src/lang/unfinished/serbian.txt index 87350c3a6..5d9bca6fd 100644 --- a/src/lang/unfinished/serbian.txt +++ b/src/lang/unfinished/serbian.txt @@ -1,7 +1,8 @@ ##name Serbian ##ownname Srpski -##isocode srp +##isocode sr_RS ##winlangid 0x7c1a +##grflangid 0x0d ##plural 6 ##case nom big gen dat aku vok lok ins ##gender muški ženski srednji diff --git a/src/lang/unfinished/thai.txt b/src/lang/unfinished/thai.txt index c8a828bbe..7eb2f3b98 100644 --- a/src/lang/unfinished/thai.txt +++ b/src/lang/unfinished/thai.txt @@ -2,6 +2,7 @@ ##ownname Thai ##isocode th_TH ##winlangid 0x041e +##grflangid 0x42 ##plural 1 ##textdir ltr diff --git a/src/lang/unfinished/urdu.txt b/src/lang/unfinished/urdu.txt index 44d896059..4116eb06d 100644 --- a/src/lang/unfinished/urdu.txt +++ b/src/lang/unfinished/urdu.txt @@ -2,6 +2,7 @@ ##ownname Urdu ##isocode ur_PK ##winlangid 0x0420 +##grflangid 0x5c ##plural 0 ##textdir rtl ##gender m f diff --git a/src/lang/welsh.txt b/src/lang/welsh.txt index 409ceaccd..771dab19c 100644 --- a/src/lang/welsh.txt +++ b/src/lang/welsh.txt @@ -2,6 +2,7 @@ ##ownname Cymraeg ##isocode cy_GB ##winlangid 0x0452 +##grflangid 0x0f ##plural 0 # -- cgit v1.2.3-70-g09d2