Internationalized the messages of the tutorial AI
Description
Description
Details
Details
- Committed
Gallaecio Apr 25 2014, 5:41 AM - Parents
- rP14990: Made the developer overlay wide enough for the Long Strings locale
- Branches
- Unknown
- Tags
Event Timeline
Comment Actions
AIChat -> translated chat, because the simulation command / GUI notification can be (and later has become) used by any player (for example for the attack request button and the developer overlay opening chat notification).
/ps/trunk/binaries/data/mods/public/gui/session/messages.js | ||
---|---|---|
278 | The "aichat" message is not a network message, so this case cannot occur / dead code. |
/ps/trunk/binaries/data/mods/public/simulation/ai/common-api/baseAI.js | ||
---|---|---|
92 | Appears like this commit made the "chat" simulation command unused (and obsolete because there is no use case for a simulation sent network message that is not translated, unless it was considered an appropriate format for player chatlogs. As it stands, the feature also allows players to send simulation chat messages (with those ending up in the replay but not the regular chat messages), which is probably not designed feature but a side effect. Then both "chat" and "aichat" simulation commands can be removed. |