Yekaterina Posted March 7, 2022 Report Share Posted March 7, 2022 Greetings! The game time overlay resets itself every 2 minutes after I changed 0A.D's interface language to Turkish. At minute 3:00 it was showing minute 1:00, and at minute 16:50 it was showing 00:50. It is a very funny bug but isn't helpful for timing myself. A friend who joined later told me to switch to English language and the bug disappeared. However, even in English mode, the timer crashes sometimes if I spam click too much; it also crashes after big battles. Quote Link to comment Share on other sites More sharing options...
Stan` Posted March 7, 2022 Report Share Posted March 7, 2022 @nwtour any idea 1 Quote Link to comment Share on other sites More sharing options...
nwtour Posted March 7, 2022 Report Share Posted March 7, 2022 function timeToString(time) { return Engine.FormatMillisecondsIntoDateStringGMT(time, time < 1000 * 60 * 60 ? // Translation: Time-format string. See http://userguide.icu-project.org/formatparse/datetime for a guide to the meaning of the letters. translate("mm:ss") : translate("HH:mm:ss")); } $ grep -A 1 'mm:ss' binaries/data/mods/mod/l10n/tr* msgid "mm:ss" msgstr "dd:ss" -- msgid "HH:mm:ss" msgstr "SS:dd:ss" Turkish localization missing minutes in time template Quote Link to comment Share on other sites More sharing options...
nwtour Posted March 8, 2022 Report Share Posted March 8, 2022 1. Register here2. Set yourself as a Turkish translator 3. Go to section "Mod selection" 4. Change translation "dd:ss" -> "mm:ss" and "SS:dd:ss" -> "HH:mm:ss" 5. Wait next release 2 1 Quote Link to comment Share on other sites More sharing options...
Yekaterina Posted March 9, 2022 Author Report Share Posted March 9, 2022 Thank you very much, much appreciated! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.