diff options
author | peter1138 <peter1138@openttd.org> | 2009-12-19 18:36:35 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2009-12-19 18:36:35 +0000 |
commit | 37a6907e7978a24398137660703a8544a136b0de (patch) | |
tree | be598bafd174507fd60f3aef9666270c0b83f97b /src | |
parent | 614501b1bec190d40cb3d841df9c6c5d7991736e (diff) | |
download | openttd-37a6907e7978a24398137660703a8544a136b0de.tar.xz |
(svn r18543) -Codechange: Use separate set of strings for variety distribution setting to ease translation.
Diffstat (limited to 'src')
-rw-r--r-- | src/genworld_gui.cpp | 2 | ||||
-rw-r--r-- | src/lang/english.txt | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp index 7946681e3..afff51800 100644 --- a/src/genworld_gui.cpp +++ b/src/genworld_gui.cpp @@ -335,7 +335,7 @@ static const StringID _rotation[] = {STR_CONFIG_SETTING_HEIGHTMAP_ROTATION_CO static const StringID _landscape[] = {STR_CONFIG_SETTING_LAND_GENERATOR_ORIGINAL, STR_CONFIG_SETTING_LAND_GENERATOR_TERRA_GENESIS, INVALID_STRING_ID}; static const StringID _num_towns[] = {STR_NUM_VERY_LOW, STR_NUM_LOW, STR_NUM_NORMAL, STR_NUM_HIGH, STR_NUM_CUSTOM, INVALID_STRING_ID}; static const StringID _num_inds[] = {STR_NONE, STR_NUM_VERY_LOW, STR_NUM_LOW, STR_NUM_NORMAL, STR_NUM_HIGH, INVALID_STRING_ID}; -static const StringID _variety[] = {STR_NONE, STR_NUM_VERY_LOW, STR_NUM_LOW, STR_NUM_MEDIUM, STR_NUM_HIGH, STR_NUM_VERY_HIGH, INVALID_STRING_ID}; +static const StringID _variety[] = {STR_VARIETY_NONE, STR_VARIETY_VERY_LOW, STR_VARIETY_LOW, STR_VARIETY_MEDIUM, STR_VARIETY_HIGH, STR_VARIETY_VERY_HIGH, INVALID_STRING_ID}; struct GenerateLandscapeWindow : public QueryStringBaseWindow { uint widget_id; diff --git a/src/lang/english.txt b/src/lang/english.txt index 1e1082625..95649d728 100644 --- a/src/lang/english.txt +++ b/src/lang/english.txt @@ -1008,8 +1008,12 @@ STR_NUM_NORMAL :Normal STR_NUM_HIGH :High STR_NUM_CUSTOM :Custom -STR_NUM_MEDIUM :Medium -STR_NUM_VERY_HIGH :Very High +STR_VARIETY_NONE :None +STR_VARIETY_VERY_LOW :Very Low +STR_VARIETY_LOW :Low +STR_VARIETY_MEDIUM :Medium +STR_VARIETY_HIGH :High +STR_VARIETY_VERY_HIGH :Very High STR_AI_SPEED_VERY_SLOW :Very Slow STR_AI_SPEED_SLOW :Slow |