#2575 closed defect (fixed)
Wrong plural forms in map info
Reported by: | GunChleoc | Owned by: | leper |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 17 |
Component: | Internationalization & Localization | Keywords: | |
Cc: | Patch: |
Description
I'm having a problem with the following string in the Gaelic translation:
*gui/gamesetup/gamesetup.js:1231*
%(number)s players. %(description)s
For 3 players, it fetches the wrong plural form - either the one for 1,11 or the one for 2,12.
For 2 players, the translation reads "3 chluicheadair", but it should be "3 cluicheadairean". The string appears in the map descriptions on the screen to start a new match.
We have had problems with some software defining the wrong plural rules for gd, could you please double-check this?
nplurals=4; plural=(n==1 || n==11) ? 0 : (n==2 || n==12) ? 1 : (n > 2 && n < 20) ? 2 : 3;
The translation in the PO file has been checked and is correct.
The line in *gui/gamesetup/gamesetup.js:1231* is
var playerString = sprintf(translatePlural("%(number)s player. %(description)s", "%(number)s players. %(description)s", numPlayers), { number: numPlayers, description: description });
and also seems correct.
Change History (2)
comment:1 by , 10 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 by , 10 years ago
Milestone: | Backlog → Alpha 17 |
---|
Note:
See TracTickets
for help on using tickets.
In 15179: