Opened 7 years ago
Last modified 5 years ago
#4597 new defect
Allow AI chat messages to be pluralized
Reported by: | Itms | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Backlog |
Component: | Internationalization & Localization | Keywords: | |
Cc: | Patch: |
Description
We should add pluralization support to formatChatCommand
in gui/session/messages.js
and use that for AI messages (specifically, the ones that ask for some amount of resources).
Change History (6)
comment:1 by , 7 years ago
Component: | UI & Simulation → I18n & L10n |
---|
comment:2 by , 7 years ago
This was reported at transifex: https://www.transifex.com/wildfire-games/0ad/translate/#gd/public-simulation-other/105312256
Since markForTranslation
returns a string and markForPluralTranslation
returns an object, we could probably catch that difference in the GUI without adding terrible code.
comment:3 by , 6 years ago
Milestone: | Backlog → Alpha 23 |
---|---|
Owner: | set to |
Patch: | → Phab:D1265 |
comment:5 by , 6 years ago
Milestone: | Work In Progress → Alpha 24 |
---|---|
Owner: | removed |
Patch: | Phab:D1265 |
I’ve abandoned the work on this, at least for the time being.
comment:6 by , 5 years ago
Milestone: | Alpha 24 → Backlog |
---|
Note:
See TracTickets
for help on using tickets.
Closely related to #3665
It's not only
formatChatCommand
but the fact that we don't havetranslateObjectKeys
for plural variants.