From 64f6839816221873b9a5327fe038533a7d3b8a98 Mon Sep 17 00:00:00 2001 From: ludde Date: Sat, 16 Jul 2005 20:58:04 +0000 Subject: (svn r2594) Fix: [strgen] Misc updates to the string system. - Renamed the plural command to "P" instead of "PLURAL". Now write something like this to append an s on plural: {P "" s}. (You can optionally still add an argument index to explicitly specifiy which number that's used) - Removed the pluralized cargo strings from the string files. The new method is to use the plural specifier {P} - Added support for genders. First add "##gender der das die" on top, then use {G=der} on a cargoname/industry to set the gender, and to switch between genders do something like {G neu neu neue} {STRING} - Updated the swedish/english translation with P strings. --- station_gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'station_gui.c') diff --git a/station_gui.c b/station_gui.c index 50c4c7e3e..df4d2b66e 100644 --- a/station_gui.c +++ b/station_gui.c @@ -372,7 +372,7 @@ static void DrawStationViewWindow(Window *w) if ( st->goods[i].enroute_from == station_id) { if (--pos < 0) { SetDParam(1, waiting); - SetDParam(0, _cargoc.names_long_s[i] + (waiting==1 ? 0 : 32)); + SetDParam(0, _cargoc.names_long[i]); DrawStringRightAligned(x + 234, y, STR_0009, 0); y += 10; } @@ -380,7 +380,7 @@ static void DrawStationViewWindow(Window *w) /* enroute */ if (--pos < 0) { SetDParam(1, waiting); - SetDParam(0, _cargoc.names_long_s[i] + (waiting==1 ? 0 : 32)); + SetDParam(0, _cargoc.names_long[i]); DrawStringRightAligned(x + 234, y, STR_000A_EN_ROUTE_FROM, 0); y += 10; } -- cgit v1.2.3-70-g09d2