Mercurial > hg > openttd
changeset 6208:1732b7e71167 draft
(svn r9000) -Fix [FS#581, r2572]: new locomotive names were not announced in the news, it said "new railway locomotive available - railway locomotive".
author | rubidium <rubidium@openttd.org> |
---|---|
date | Sat, 03 Mar 2007 20:43:52 +0000 |
parents | 37978eaf16dc |
children | 369df6586d87 |
files | src/engine_gui.cpp src/lang/english.txt |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/engine_gui.cpp +++ b/src/engine_gui.cpp @@ -206,7 +206,7 @@ { EngineID engine = ni->string_id; SetDParam(0, STR_A02C_NEW_AIRCRAFT_NOW_AVAILABLE); - SetDParam(1, GetCustomEngineName(engine)); + SetDParam(2, GetCustomEngineName(engine)); return STR_02B6; } @@ -245,7 +245,7 @@ { EngineID engine = ni->string_id; SetDParam(0, STR_9028_NEW_ROAD_VEHICLE_NOW_AVAILABLE); - SetDParam(1, GetCustomEngineName(engine)); + SetDParam(2, GetCustomEngineName(engine)); return STR_02B6; } @@ -283,6 +283,6 @@ { EngineID engine = ni->string_id; SetDParam(0, STR_982C_NEW_SHIP_NOW_AVAILABLE); - SetDParam(1, GetCustomEngineName(engine)); + SetDParam(2, GetCustomEngineName(engine)); return STR_02B6; }
--- a/src/lang/english.txt +++ b/src/lang/english.txt @@ -752,7 +752,7 @@ STR_02A4_SELECT_TOWN_SIZE :{BLACK}Select town size STR_02A5_TOWN_SIZE :{YELLOW}Town size: -STR_02B6 :{STRING} - {STRING5} +STR_02B6 :{STRING1} - {STRING5} STR_02B7_SHOW_LAST_MESSAGE_OR_NEWS :{BLACK}Show last message or news report STR_OFF :Off STR_SUMMARY :Summary