Changeset - r13991:3319a5124f88
[Not reviewed]
master
0 2 0
peter1138 - 15 years ago 2009-12-19 18:36:35
peter1138@openttd.org
(svn r18543) -Codechange: Use separate set of strings for variety distribution setting to ease translation.
2 files changed with 7 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/genworld_gui.cpp
Show inline comments
 
@@ -335,7 +335,7 @@ static const StringID _rotation[]    = {
 
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;
src/lang/english.txt
Show inline comments
 
@@ -1008,8 +1008,12 @@ STR_NUM_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
0 comments (0 inline, 0 general)