diff options
author | rubidium <rubidium@openttd.org> | 2008-11-24 18:53:17 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-11-24 18:53:17 +0000 |
commit | fea78fbfbb2bfe5c6ddf90adb811eb60f4ecfc50 (patch) | |
tree | ead76c1aeb888d0a95a040f598f2614ff0ad201e /src/lang | |
parent | 6878b181c7371ecc4af39eef6b01b710cc9f088b (diff) | |
download | openttd-fea78fbfbb2bfe5c6ddf90adb811eb60f4ecfc50.tar.xz |
(svn r14618) -Feature: when the chosen language isn't supported by the current font, try to find a font that does and use that instead. Thanks to glx/michi_cc for the Windows implementation.
Diffstat (limited to 'src/lang')
47 files changed, 48 insertions, 1 deletions
diff --git a/src/lang/afrikaans.txt b/src/lang/afrikaans.txt index 1fe44e6c6..359c50c55 100644 --- a/src/lang/afrikaans.txt +++ b/src/lang/afrikaans.txt @@ -1,6 +1,7 @@ ##name Afrikaans ##ownname Jaybee ##isocode af_ZA +##winlangid 0x0436 ##plural 0 ##gender male diff --git a/src/lang/brazilian_portuguese.txt b/src/lang/brazilian_portuguese.txt index a2bbd593b..bcd1d6bd0 100644 --- a/src/lang/brazilian_portuguese.txt +++ b/src/lang/brazilian_portuguese.txt @@ -1,6 +1,7 @@ ##name Brazilian_Portuguese ##ownname Português (BR) ##isocode pt_BR +##winlangid 0x0416 ##plural 2 ##gender m f diff --git a/src/lang/bulgarian.txt b/src/lang/bulgarian.txt index a1704fd14..66acc6044 100644 --- a/src/lang/bulgarian.txt +++ b/src/lang/bulgarian.txt @@ -1,6 +1,7 @@ ##name Bulgarian ##ownname Български ##isocode bg_BG +##winlangid 0x0402 ##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 4d5ffd392..ea0d0bf06 100644 --- a/src/lang/catalan.txt +++ b/src/lang/catalan.txt @@ -1,6 +1,7 @@ ##name Catalan ##ownname Català ##isocode ca_ES +##winlangid 0x0403 ##plural 0 # diff --git a/src/lang/croatian.txt b/src/lang/croatian.txt index 9a70432e8..9a27ca102 100644 --- a/src/lang/croatian.txt +++ b/src/lang/croatian.txt @@ -1,6 +1,7 @@ ##name Croatian ##ownname Hrvatski ##isocode hr_HR +##winlangid 0x041a ##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 73f807b52..f2da56ab1 100644 --- a/src/lang/czech.txt +++ b/src/lang/czech.txt @@ -1,6 +1,7 @@ ##name Czech ##ownname Čeština ##isocode cs_CZ +##winlangid 0x0405 ##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 931de2a82..d048c261a 100644 --- a/src/lang/danish.txt +++ b/src/lang/danish.txt @@ -1,6 +1,7 @@ ##name Danish ##ownname Dansk ##isocode da_DA +##winlangid 0x0406 ##plural 0 # diff --git a/src/lang/dutch.txt b/src/lang/dutch.txt index 73908f23c..113ea0cb0 100644 --- a/src/lang/dutch.txt +++ b/src/lang/dutch.txt @@ -1,6 +1,7 @@ ##name Dutch ##ownname Nederlands ##isocode nl_NL +##winlangid 0x0413 ##plural 0 # diff --git a/src/lang/english.txt b/src/lang/english.txt index 4a8f8f243..d77741b02 100644 --- a/src/lang/english.txt +++ b/src/lang/english.txt @@ -1,6 +1,7 @@ ##name English (UK) ##ownname English (UK) ##isocode en_GB +##winlangid 0x0809 ##plural 0 # diff --git a/src/lang/english_US.txt b/src/lang/english_US.txt index 68efdf1ea..60404b192 100644 --- a/src/lang/english_US.txt +++ b/src/lang/english_US.txt @@ -1,6 +1,7 @@ ##name English (US) ##ownname English (US) ##isocode en_US +##winlangid 0x0409 ##plural 0 # diff --git a/src/lang/esperanto.txt b/src/lang/esperanto.txt index 1ed900995..8d55e779c 100644 --- a/src/lang/esperanto.txt +++ b/src/lang/esperanto.txt @@ -1,6 +1,7 @@ ##name Esperanto ##ownname Esperanto ##isocode eo_EO +##winlangid 0x0000 ##plural 0 ##case n diff --git a/src/lang/estonian.txt b/src/lang/estonian.txt index 425e6f71d..e592c57f0 100644 --- a/src/lang/estonian.txt +++ b/src/lang/estonian.txt @@ -1,6 +1,7 @@ ##name Estonian ##ownname Eesti keel ##isocode et_ET +##winlangid 0x0425 ##plural 0 ##case g in diff --git a/src/lang/finnish.txt b/src/lang/finnish.txt index 0bee74f9c..120f247c0 100644 --- a/src/lang/finnish.txt +++ b/src/lang/finnish.txt @@ -1,6 +1,7 @@ ##name Finnish ##ownname Suomi ##isocode fi_FI +##winlangid 0x040b ##plural 0 # diff --git a/src/lang/french.txt b/src/lang/french.txt index 6371c432d..8770cf9f2 100644 --- a/src/lang/french.txt +++ b/src/lang/french.txt @@ -1,6 +1,7 @@ ##name French ##ownname Français ##isocode fr_FR +##winlangid 0x040c ##plural 2 ##gender m m2 f diff --git a/src/lang/galician.txt b/src/lang/galician.txt index 6c2db27c8..b1c4b8ea5 100644 --- a/src/lang/galician.txt +++ b/src/lang/galician.txt @@ -1,6 +1,7 @@ ##name Galician ##ownname Galego ##isocode gl_ES +##winlangid 0x0456 ##plural 0 ##gender m f n diff --git a/src/lang/german.txt b/src/lang/german.txt index e823b5ebb..108377fe5 100644 --- a/src/lang/german.txt +++ b/src/lang/german.txt @@ -1,6 +1,7 @@ ##name German ##ownname Deutsch ##isocode de_DE +##winlangid 0x0407 ##plural 0 ##gender m w n p diff --git a/src/lang/hungarian.txt b/src/lang/hungarian.txt index 683ac78d1..bef7d66dc 100644 --- a/src/lang/hungarian.txt +++ b/src/lang/hungarian.txt @@ -1,6 +1,7 @@ ##name Hungarian ##ownname Magyar ##isocode hu_HU +##winlangid 0x040e ##plural 1 ##case t ba diff --git a/src/lang/icelandic.txt b/src/lang/icelandic.txt index 9791b24d8..cba7f8cc0 100644 --- a/src/lang/icelandic.txt +++ b/src/lang/icelandic.txt @@ -1,6 +1,7 @@ ##name Icelandic ##ownname Íslenska ##isocode is_IS +##winlangid 0x040f ##plural 0 ##gender karlkyn kvenkyn hvorugkyn diff --git a/src/lang/italian.txt b/src/lang/italian.txt index d09ef4f1b..c7ed03c97 100644 --- a/src/lang/italian.txt +++ b/src/lang/italian.txt @@ -1,6 +1,7 @@ ##name Italian ##ownname Italiano ##isocode it_IT +##winlangid 0x0410 ##plural 0 ##case ms mp fs fp ##gender m f diff --git a/src/lang/japanese.txt b/src/lang/japanese.txt index 0c5752468..413ec8209 100644 --- a/src/lang/japanese.txt +++ b/src/lang/japanese.txt @@ -1,6 +1,7 @@ ##name Japanese ##ownname 日本語 ##isocode ja_JP +##winlangid 0x0411 ##plural 1 # diff --git a/src/lang/korean.txt b/src/lang/korean.txt index d3f3c0a41..9f337a889 100644 --- a/src/lang/korean.txt +++ b/src/lang/korean.txt @@ -1,6 +1,7 @@ ##name Korean ##ownname 한국어 ##isocode ko_KR +##winlangid 0x0412 ##plural 1 # diff --git a/src/lang/lithuanian.txt b/src/lang/lithuanian.txt index 24f154b27..d212b535c 100644 --- a/src/lang/lithuanian.txt +++ b/src/lang/lithuanian.txt @@ -1,6 +1,7 @@ ##name Lithuanian ##ownname Lietuvių ##isocode lt_LT +##winlangid 0x0427 ##plural 5 ##case kas ko kam ka kuo kur kreip ##gender vyr mot diff --git a/src/lang/norwegian_bokmal.txt b/src/lang/norwegian_bokmal.txt index e8665f076..703e7a327 100644 --- a/src/lang/norwegian_bokmal.txt +++ b/src/lang/norwegian_bokmal.txt @@ -1,6 +1,7 @@ ##name Norwegian ##ownname Norsk (bokmål) ##isocode nb_NO +##winlangid 0x0414 ##plural 0 # diff --git a/src/lang/norwegian_nynorsk.txt b/src/lang/norwegian_nynorsk.txt index c68a1c237..87e829ceb 100644 --- a/src/lang/norwegian_nynorsk.txt +++ b/src/lang/norwegian_nynorsk.txt @@ -1,6 +1,7 @@ ##name Norwegian new ##ownname Norsk, Nynorsk ##isocode nn_NO +##winlangid 0x0814 ##plural 0 ##gender masculine feminine neuter diff --git a/src/lang/origveh.txt b/src/lang/origveh.txt index 17b9a665b..d1cc58ee3 100644 --- a/src/lang/origveh.txt +++ b/src/lang/origveh.txt @@ -1,6 +1,7 @@ ##name Original vehicle names (ENG) ##ownname Original vehicle names (ENG) -##isocode xx +##isocode xx_OV +##winlangid 0x0000 ##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 5acac3cbd..9ce6bbbd6 100644 --- a/src/lang/piglatin.txt +++ b/src/lang/piglatin.txt @@ -1,6 +1,7 @@ ##name Pig latin ##ownname Igpay atinlay ##isocode xx_PL +##winlangid 0x0000 ##plural 0 # diff --git a/src/lang/polish.txt b/src/lang/polish.txt index 1db3d8d0b..0b3eb2825 100644 --- a/src/lang/polish.txt +++ b/src/lang/polish.txt @@ -1,6 +1,7 @@ ##name Polish ##ownname Polski ##isocode pl_PL +##winlangid 0x0415 ##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 c0a8f5f71..6258acae8 100644 --- a/src/lang/portuguese.txt +++ b/src/lang/portuguese.txt @@ -1,6 +1,7 @@ ##name Portuguese ##ownname Português ##isocode pt_PT +##winlangid 0x0816 ##plural 0 # diff --git a/src/lang/romanian.txt b/src/lang/romanian.txt index d8078ae71..def0a12d6 100644 --- a/src/lang/romanian.txt +++ b/src/lang/romanian.txt @@ -1,6 +1,7 @@ ##name Romanian ##ownname Românã ##isocode ro_RO +##winlangid 0x0418 ##plural 0 # diff --git a/src/lang/russian.txt b/src/lang/russian.txt index a1d7fc5e3..2812e4372 100644 --- a/src/lang/russian.txt +++ b/src/lang/russian.txt @@ -1,6 +1,7 @@ ##name Russian ##ownname Русский ##isocode ru_RU +##winlangid 0x0419 ##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 b04c67abe..1922d964c 100644 --- a/src/lang/simplified_chinese.txt +++ b/src/lang/simplified_chinese.txt @@ -1,6 +1,7 @@ ##name Chinese (Simplified) ##ownname 简体中文 ##isocode zh_CN +##winlangid 0x0804 ##plural 1 # diff --git a/src/lang/slovak.txt b/src/lang/slovak.txt index ce19cafe7..a7cb3f2b3 100644 --- a/src/lang/slovak.txt +++ b/src/lang/slovak.txt @@ -1,6 +1,7 @@ ##name Slovak ##ownname Slovensky ##isocode sk_SK +##winlangid 0x041b ##plural 6 ##case g ##gender m z s diff --git a/src/lang/slovenian.txt b/src/lang/slovenian.txt index e15a6c0a7..cf145a995 100644 --- a/src/lang/slovenian.txt +++ b/src/lang/slovenian.txt @@ -1,6 +1,7 @@ ##name Slovenian ##ownname Slovenščina ##isocode sl_SL +##winlangid 0x0424 ##plural 8 ##case r d t diff --git a/src/lang/spanish.txt b/src/lang/spanish.txt index eff25caa9..6070bce7f 100644 --- a/src/lang/spanish.txt +++ b/src/lang/spanish.txt @@ -1,6 +1,7 @@ ##name Spanish ##ownname Español (ES) ##isocode es_ES +##winlangid 0x0c0a ##plural 0 ##gender masculino femenino diff --git a/src/lang/swedish.txt b/src/lang/swedish.txt index 4cc81c4d8..0d5b6bf02 100644 --- a/src/lang/swedish.txt +++ b/src/lang/swedish.txt @@ -1,6 +1,7 @@ ##name Swedish ##ownname Svenska ##isocode sv_SE +##winlangid 0x081d ##plural 0 # diff --git a/src/lang/traditional_chinese.txt b/src/lang/traditional_chinese.txt index ee85486f6..5c8dbd13f 100644 --- a/src/lang/traditional_chinese.txt +++ b/src/lang/traditional_chinese.txt @@ -1,6 +1,7 @@ ##name Chinese (Traditional) ##ownname 中文 ##isocode zh_TW +##winlangid 0x0404 ##plural 1 # diff --git a/src/lang/turkish.txt b/src/lang/turkish.txt index 92d5fe48f..c57979c0a 100644 --- a/src/lang/turkish.txt +++ b/src/lang/turkish.txt @@ -1,6 +1,7 @@ ##name Turkish ##ownname Türkçe ##isocode tr_TR +##winlangid 0x041f ##plural 1 # diff --git a/src/lang/ukrainian.txt b/src/lang/ukrainian.txt index db7b53bbc..393bfbef1 100644 --- a/src/lang/ukrainian.txt +++ b/src/lang/ukrainian.txt @@ -1,6 +1,7 @@ ##name Ukrainian ##ownname Українська ##isocode uk_UA +##winlangid 0x0422 ##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 ff09635c6..39d316f35 100644 --- a/src/lang/unfinished/frisian.txt +++ b/src/lang/unfinished/frisian.txt @@ -1,6 +1,7 @@ ##name Frisian ##ownname Frysk ##isocode fy_NL +##winlangid 0x0462 ##id 0x0000 STR_NULL : diff --git a/src/lang/unfinished/greek.txt b/src/lang/unfinished/greek.txt index 81eb57011..0f7a1220d 100644 --- a/src/lang/unfinished/greek.txt +++ b/src/lang/unfinished/greek.txt @@ -1,6 +1,7 @@ ##name Greek ##ownname Ελληνικά ##isocode el_GR +##winlangid 0x0408 ##plural 0 ##gender m f n diff --git a/src/lang/unfinished/ido.txt b/src/lang/unfinished/ido.txt index 67c22b2b2..8d6b7ddc9 100644 --- a/src/lang/unfinished/ido.txt +++ b/src/lang/unfinished/ido.txt @@ -1,6 +1,7 @@ ##name Ido ##ownname Ido ##isocode io_XX +##winlangid 0x0000 ##plural 0 # diff --git a/src/lang/unfinished/indonesian.txt b/src/lang/unfinished/indonesian.txt index 143172e10..9f6f1ab55 100644 --- a/src/lang/unfinished/indonesian.txt +++ b/src/lang/unfinished/indonesian.txt @@ -1,6 +1,7 @@ ##name Indonesian ##ownname Indonesian ##isocode id_ID +##winlangid 0x0421 ##plural 0 # diff --git a/src/lang/unfinished/latvian.txt b/src/lang/unfinished/latvian.txt index 6dbc62d9f..da260bfae 100644 --- a/src/lang/unfinished/latvian.txt +++ b/src/lang/unfinished/latvian.txt @@ -1,6 +1,7 @@ ##name Latvian ##ownname Latviešu ##isocode lv_LV +##winlangid 0x0426 ##plural 3 ##case kas ##gender m f diff --git a/src/lang/unfinished/macedonian.txt b/src/lang/unfinished/macedonian.txt index 3b03e516a..a5b022467 100644 --- a/src/lang/unfinished/macedonian.txt +++ b/src/lang/unfinished/macedonian.txt @@ -1,6 +1,7 @@ ##name Macedonian ##ownname Македонски ##isocode mk_MK +##winlangid 0x042f ##plural 0 # diff --git a/src/lang/unfinished/persian.txt b/src/lang/unfinished/persian.txt index 82ed1c99b..4f797ffbe 100644 --- a/src/lang/unfinished/persian.txt +++ b/src/lang/unfinished/persian.txt @@ -1,6 +1,7 @@ ##name Persian ##ownname Farsi ##isocode fa_IR +##winlangid 0x0429 ##plural 0 ##textdir rtl diff --git a/src/lang/unfinished/serbian.txt b/src/lang/unfinished/serbian.txt index 389e3b96e..94c43d4a8 100644 --- a/src/lang/unfinished/serbian.txt +++ b/src/lang/unfinished/serbian.txt @@ -1,6 +1,7 @@ ##name Serbian ##ownname Srpski ##isocode sr_YU +##winlangid 0x7c1a ##plural 0 ##case ih a ova ca ci ka ća va ao u om im e ke on ona to ##gender muški ženski srednji diff --git a/src/lang/welsh.txt b/src/lang/welsh.txt index daef80993..4b65b5223 100644 --- a/src/lang/welsh.txt +++ b/src/lang/welsh.txt @@ -1,6 +1,7 @@ ##name Welsh ##ownname Cymraeg ##isocode cy_GB +##winlangid 0x0452 ##plural 0 # |