(svn r9000) -Fix [FS#581, r2572]: new locomotive names were not announced in the news, it said "new railway locomotive available - railway locomotive".

This commit is contained in:
rubidium 2007-03-03 20:43:52 +00:00
parent 2061d6af27
commit cf47f2a856
2 changed files with 4 additions and 4 deletions

View File

@ -206,7 +206,7 @@ StringID GetNewsStringNewAircraftAvail(const NewsItem *ni)
{
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 @@ StringID GetNewsStringNewRoadVehAvail(const NewsItem *ni)
{
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 @@ StringID GetNewsStringNewShipAvail(const NewsItem *ni)
{
EngineID engine = ni->string_id;
SetDParam(0, STR_982C_NEW_SHIP_NOW_AVAILABLE);
SetDParam(1, GetCustomEngineName(engine));
SetDParam(2, GetCustomEngineName(engine));
return STR_02B6;
}

View File

@ -752,7 +752,7 @@ STR_02A3_LARGE :{BLACK}Large
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