Yekaterina Posted March 7, 2022 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. Link to comment Share on other sites More sharing options...
Stan` Posted March 7, 2022 Share Posted March 7, 2022 @nwtour any idea 1 Link to comment Share on other sites More sharing options...
nwtour Posted March 7, 2022 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 Link to comment Share on other sites More sharing options...
nwtour Posted March 8, 2022 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 Link to comment Share on other sites More sharing options...
Yekaterina Posted March 9, 2022 Author Share Posted March 9, 2022 Thank you very much, much appreciated! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now