User Details
- User Since
- Aug 30 2017, 9:44 PM (360 w, 2 d)
Yesterday
Back to the original diff again.
Removed changes to LOGMESSAGERENDER.
Thu, Jul 25
Update the text used as context.
Wed, Jul 24
Rebase against current trunk and skipping of the "debug" translation as well.
Simplify regex
Tue, Jul 23
Mon, Jul 22
Also enclose file names containing tabs, as that's what gettext does as well. I also opened a pull request for Babel (https://github.com/python-babel/babel/pull/1105), so they do it if necessary. If this pull request gets accepted running updateTemplates.py with upcoming versions of Babel wouldn't need the special handling for enclosing the file name in our code. As the pull requests isn't accepted yet and for backwards compatibility enclosing file names ourselves still makes sense.
Fixes that not just the white spaces is be enclosed by U+2068 and U+2069. but the whole file name. The specification wasn't entirely clear about that, but gettext itself does enclose the whole file name.
Sun, Jul 21
Simplify the regex a bit. \s already matches \n.
Remove empty strings not just for XML files, but for every file type.
Sat, Jul 20
Wed, Jul 17
Tue, Jul 16
@Stan: Any additional thoughts about this?
Mon, Jul 15
Reverse order when sorting translators for the first time, to prefer all-lowercase ("john doe") over all-uppercase ("JOHN DOE").
Sun, Jul 14
Removed the manual second rule for name ordering and made it robust against a changing order of translators when the order of the list of translators returned by Transifex changes.
Fri, Jul 12
Fix usage of isupper().
Thu, Jul 11
Updated copyright year.
Wed, Jul 10
Update copyright year.
Mon, Jul 8
These patches don't seem to work on Debian and derivatives, as the wheels get installed into libraries/source/spidermonkey/mozjs-91.13.1/build-debug/_virtualenvs/common/lib/python3.12/dist-packages, but _disable_pip_outdated_warning() in virtualenv.py expects them in libraries/source/spidermonkey/mozjs-91.13.1/build-debug/_virtualenvs/common/lib/python3.12/site-packages (as that's what sysconfig.get_path(…) returns).
@Stan: I got confused why you are set as author and I am as reviewer of this diff, while it should be the other way around. Then I remembered how that happened.
Anyway, from my perspective this is fine and I'd like to commit it. What about you? Any additional thoughts?
Sun, Jul 7
Jun 26 2024
Jun 25 2024
Jun 23 2024
Jun 20 2024
Jun 19 2024
I made some progress. I was indeed missing something and that was that there was a change to binaries/data/mods/public/l10n/public-tutorials.pot. With that I was able to figure out that the JavaScript-lexer (source/tools/i18n/extractors/jslexer.py) used by updateTemplates.py was just missing handling for the hex notation for unicode strings. That's something which got added upstream a while ago (https://github.com/python-babel/babel/pull/877) and easy for us to pull in as well. However, that only fixes the templates for Transifex, not how the strings are displayed in 0 A.D..
Jun 18 2024
Jun 17 2024
Todays push of updated of the strings to Transifex broke the one touched by this commit. It's now shown as Welcome to the 0xa0A.D. tutorial. there. So we need another round of fixing that.