FS#1716 - genders in language system do not work

Attached to Project: OpenTTD
Opened by Johannes E. Krause (Eddi) - Sunday, 27 January 2008, 22:47 GMT
Last edited by Bjarni (Bjarni) - Monday, 28 January 2008, 01:29 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version 0.6.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


when prospecting a new industry, the news message (in german) should adjust to the gender of the new industry

Neuer Bauernhof (male, {G=m})
Neue Ölbohrinsel (female, {G=w})
Neues Kohlebergwerk (neutral, {G=n})

the strings in german.txt reflect this with {G r "" s}, but the string system always chooses the first item (male)

tested in r11996
This task depends upon

Closed by  Peter Nelson (peter1138)
Tuesday, 29 January 2008, 17:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in r12015
Comment by Zdeněk Sojka (SmatZ) - Sunday, 27 January 2008, 22:57 GMT
By a quick look, I can reproduce it in Czech language file.

For example:
STR_8101_WE_HAVE_JUST_DESIGNED_A : ... nov{G ou ý é} {STRING.acc}. .....

always displays "novou" (though the order in the language file is F M N)
Comment by Zdeněk Sojka (SmatZ) - Sunday, 27 January 2008, 23:39 GMT
First appeared in r11422