summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-05-02 15:20:48 +0000
committerbelugas <belugas@openttd.org>2007-05-02 15:20:48 +0000
commit8165fac424586545e074934ef80f0da5635d1c06 (patch)
tree832ca5c5b5ae2b89c8befd375413fa168d91fc68 /src
parent0297ce53a8b92a6edf6931715f5d90092161d047 (diff)
downloadopenttd-8165fac424586545e074934ef80f0da5635d1c06.tar.xz
(svn r9769) [newGRF] -Feature: Add translation support for Esperanto, Bulgarian, Japanese and Korean
Diffstat (limited to 'src')
-rw-r--r--src/newgrf_text.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/newgrf_text.cpp b/src/newgrf_text.cpp
index 0c5208cff..5c977992f 100644
--- a/src/newgrf_text.cpp
+++ b/src/newgrf_text.cpp
@@ -45,9 +45,11 @@ enum grf_extended_languages {
GRFLX_GERMAN = 0x02,
GRFLX_FRENCH = 0x03,
GRFLX_SPANISH = 0x04,
+ GRFLX_ESPERANTO = 0x05,
GRFLX_RUSSIAN = 0x07,
GRFLX_CZECH = 0x15,
GRFLX_SLOVAK = 0x16,
+ GRFLX_BULGARIAN = 0x18,
GRFLX_AFRIKAANS = 0x1B,
GRFLX_GREEK = 0x1E,
GRFLX_DUTCH = 0x1F,
@@ -71,6 +73,8 @@ enum grf_extended_languages {
GRFLX_PORTUGUESE = 0x36,
GRFLX_BRAZILIAN = 0x37,
GRFLX_CROATIAN = 0x38,
+ GRFLX_JAPANESE = 0x39,
+ GRFLX_KOREAN = 0x3A,
GRFLX_TURKISH = 0x3E,
GRFLX_UNSPECIFIED = 0x7F,
};
@@ -122,6 +126,10 @@ const iso_grf iso_codes[] = {
{"sv_SE", GRFLX_SWEDISH},
{"tr_TR", GRFLX_TURKISH},
{"uk_UA", GRFLX_UKRAINIAN},
+ {"eo_EO", GRFLX_ESPERANTO},
+ {"bg_BG", GRFLX_BULGARIAN},
+ {"ja_JP", GRFLX_JAPANESE},
+ {"ko_KR", GRFLX_KOREAN},
{"gen", GRFLB_GENERIC} ///< this is not iso code, but there has to be something...
};