Jump to content

Game time overlay bug


Yekaterina
 Share

Recommended Posts

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. 

Screenshot_20220306_200809.thumb.png.717a33e4eba5c107b0411e26e41161e4.png

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...