forked from mirror/OpenTTD
(svn r23589) -Codechange: Make the AI-start-delay setting translateable.
This commit is contained in:
@@ -338,8 +338,14 @@ struct AISettingsWindow : public Window {
|
||||
TextColour colour;
|
||||
uint idx = 0;
|
||||
if (StrEmpty(config_item.description)) {
|
||||
str = STR_JUST_STRING;
|
||||
colour = TC_ORANGE;
|
||||
if (!strcmp(config_item.name, "start_date")) {
|
||||
/* Build-in translation */
|
||||
str = STR_AI_SETTINGS_START_DELAY;
|
||||
colour = TC_LIGHT_BLUE;
|
||||
} else {
|
||||
str = STR_JUST_STRING;
|
||||
colour = TC_ORANGE;
|
||||
}
|
||||
} else {
|
||||
str = STR_AI_SETTINGS_SETTING;
|
||||
colour = TC_LIGHT_BLUE;
|
||||
|
Reference in New Issue
Block a user