Opened 8 years ago
Last modified 5 years ago
#3665 new defect
GuiInterface-notifications are not translated — at Initial Version
Reported by: | elexis | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Backlog |
Component: | Internationalization & Localization | Keywords: | |
Cc: | Patch: |
Description
There are many local chat notifications which are not translated, for example:
cmpGuiInterface.PushNotification({ "type": "chat", "players": [input.player], "message": "This building only has " + techs.length + " technologies." });
A correct example would be:
cmpGUIInterface.PushNotification({ "players": [1,2,3,4,5,6,7,8], "message": markForTranslation("The first wave will start in 15 minutes!"), "translateMessage": true });
See also wiki:Internationalization#InternationalizingJavaScriptSimulationFiles
Note:
See TracTickets
for help on using tickets.