Page MenuHomeWildfire Games

Dunedan
User

Projects

User Details

User Since
Aug 30 2017, 9:44 PM (360 w, 2 d)

Recent Activity

Yesterday

Dunedan updated the diff for D5314: Remove internationalization of log messages.

Back to the original diff again.

Fri, Jul 26, 12:52 PM
Dunedan updated the diff for D5314: Remove internationalization of log messages.

Removed changes to LOGMESSAGERENDER.

Fri, Jul 26, 11:31 AM
Dunedan added a comment to D5310: Custom context for specific names.

rP28162 reverts this patch again as it had some unintended consequences. We'll try again with a different one to fix #5563.

Fri, Jul 26, 11:22 AM
Dunedan committed rP28162: Revert "Custom context for specific names".
Revert "Custom context for specific names"
Fri, Jul 26, 11:19 AM
Dunedan added a comment to D5314: Remove internationalization of log messages.
In D5314#226863, @Itms wrote:

LOGMESSAGERENDER is, contrary to LOGMESSAGE, supposed to be displayed to the user, not only in the logs. So it would probably make sense to keep translating them.

Fri, Jul 26, 10:57 AM
Dunedan published D5314: Remove internationalization of log messages for review.
Fri, Jul 26, 9:50 AM
Dunedan committed rP28160: Custom context for specific names.
Custom context for specific names
Fri, Jul 26, 5:45 AM
Dunedan closed D5310: Custom context for specific names.
Fri, Jul 26, 5:45 AM

Thu, Jul 25

Dunedan updated the diff for D5310: Custom context for specific names.

Update the text used as context.

Thu, Jul 25, 5:26 PM
Dunedan committed rP28159: Fix references in portable object templates.
Fix references in portable object templates
Thu, Jul 25, 10:53 AM
Dunedan closed D5309: Fix references in portable object templates.
Thu, Jul 25, 10:53 AM

Wed, Jul 24

Dunedan added a comment to D5309: Fix references in portable object templates.
In D5309#226820, @Itms wrote:

Yes it should have no impact on the actual translation, but I would like to make sure tinygettext doesn't choke on strange unicode delimiters when parsing pot files.

Wed, Jul 24, 7:31 PM
Dunedan committed rP28158: Make language names in credits translatable.
Make language names in credits translatable
Wed, Jul 24, 5:37 PM
Dunedan closed D5300: Make language names in credits translatable.
Wed, Jul 24, 5:37 PM
Dunedan added a comment to D5309: Fix references in portable object templates.
In D5309#226798, @Itms wrote:

Does tinygettext properly handle the unicode whitespace delimiters or should we patch it as well?

Wed, Jul 24, 5:28 PM
Dunedan committed rP28157: Avoid empty translatable strings.
Avoid empty translatable strings
Wed, Jul 24, 5:20 PM
Dunedan closed D5308: Avoid empty translatable strings from XML files.
Wed, Jul 24, 5:20 PM
Dunedan updated the diff for D5300: Make language names in credits translatable.

Rebase against current trunk and skipping of the "debug" translation as well.

Wed, Jul 24, 5:03 PM
Dunedan added a comment to D5308: Avoid empty translatable strings from XML files.
In D5308#226795, @Itms wrote:

Did the empty strings actually appear in Transifex?

Wed, Jul 24, 4:55 PM
Dunedan updated the diff for D5308: Avoid empty translatable strings from XML files.

Simplify regex

Wed, Jul 24, 4:53 PM

Tue, Jul 23

Itms awarded D5312: Rewrite check_diff.py to support git a 100 token.
Tue, Jul 23, 5:05 PM
Dunedan updated the diff for D5311: WIP: Always use STUN for hosting games using the lobby.
Tue, Jul 23, 12:28 PM
Dunedan added a comment to D5311: WIP: Always use STUN for hosting games using the lobby.
In D5311#226673, @Stan wrote:

Just to be sure, we can't currently use STUN for LAN/WAN games, can we?

Tue, Jul 23, 9:53 AM
Dunedan updated the diff for D5311: WIP: Always use STUN for hosting games using the lobby.
Tue, Jul 23, 9:48 AM
Dunedan requested review of D5312: Rewrite check_diff.py to support git.
Tue, Jul 23, 7:30 AM

Mon, Jul 22

Dunedan planned changes to D5311: WIP: Always use STUN for hosting games using the lobby.
Mon, Jul 22, 4:29 PM
Dunedan updated the diff for D5311: WIP: Always use STUN for hosting games using the lobby.
Mon, Jul 22, 4:28 PM
Dunedan requested review of D5311: WIP: Always use STUN for hosting games using the lobby.
Mon, Jul 22, 4:09 PM
Dunedan added a comment to D5309: Fix references in portable object templates.
In D5309#226621, @Stan wrote:

If we're looking at filenames with tabs shouldn't we look for any whitespace?

Mon, Jul 22, 11:05 AM
Dunedan published D5310: Custom context for specific names for review.
Mon, Jul 22, 10:59 AM
Dunedan updated the diff for D5309: Fix references in portable object templates.

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.

Mon, Jul 22, 6:53 AM
Dunedan updated the diff for D5309: Fix references in portable object templates.

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.

Mon, Jul 22, 6:19 AM

Sun, Jul 21

Dunedan updated the summary of D5309: Fix references in portable object templates.
Sun, Jul 21, 9:15 PM
Dunedan added a comment to D5309: Fix references in portable object templates.
In D5309#226602, @Stan wrote:

Hmm okay. We currently have some issues with identical msgids (Bad translations getting picked up), does that make any difference if they are in the same file with your change?

Sun, Jul 21, 9:11 PM
Dunedan added a comment to D5309: Fix references in portable object templates.
In D5309#226593, @Stan wrote:

Does that mean any change to those jsons will break all the translations?

Sun, Jul 21, 8:51 PM
Dunedan published D5309: Fix references in portable object templates for review.
Sun, Jul 21, 8:02 PM
Dunedan updated the diff for D5308: Avoid empty translatable strings from XML files.

Simplify the regex a bit. \s already matches \n.

Sun, Jul 21, 10:19 AM
Dunedan updated the diff for D5308: Avoid empty translatable strings from XML files.

Remove empty strings not just for XML files, but for every file type.

Sun, Jul 21, 6:10 AM
Dunedan added a comment to D5308: Avoid empty translatable strings from XML files.
In D5308#226528, @Stan wrote:

A good question is where are such strings generated? Anyway sounds good to ignore them

Sun, Jul 21, 5:55 AM

Sat, Jul 20

Dunedan published D5308: Avoid empty translatable strings from XML files for review.
Sat, Jul 20, 9:30 PM

Wed, Jul 17

Dunedan added a comment to D5286: Refactor main menu structure.
In D5286#226423, @Stan wrote:

This should be checked under the minimum 1024x768 resolution we currently support.

Wed, Jul 17, 11:17 AM

Tue, Jul 16

Dunedan added a comment to D5286: Refactor main menu structure.
In D5286#225319, @sera wrote:

For instance single-player and multiplayer replay are the same, just a different default for one filter.

Tue, Jul 16, 11:43 AM
Dunedan added a comment to D5268: Improve formatting of XMPP announcements.

@Stan: Any additional thoughts about this?

Tue, Jul 16, 11:37 AM
Dunedan committed rP28152: Remove more translator duplicates.
Remove more translator duplicates
Tue, Jul 16, 11:32 AM
Dunedan closed D5304: Remove more translator duplicates.
Tue, Jul 16, 11:32 AM

Mon, Jul 15

Dunedan added a comment to D5304: Remove more translator duplicates.
In D5304#226385, @Stan wrote:

Maybe you could sort to put title Names first ?

Mon, Jul 15, 12:55 PM
Dunedan updated the diff for D5304: Remove more translator duplicates.

Reverse order when sorting translators for the first time, to prefer all-lowercase ("john doe") over all-uppercase ("JOHN DOE").

Mon, Jul 15, 12:54 PM

Sun, Jul 14

Dunedan committed rP28150: Preserve comments in debug translations.
Preserve comments in debug translations
Sun, Jul 14, 7:52 AM
Dunedan closed D5303: Preserve comments in debug translations.
Sun, Jul 14, 7:52 AM
Dunedan updated the diff for D5304: Remove more translator duplicates.

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.

Sun, Jul 14, 7:47 AM

Fri, Jul 12

Dunedan added a comment to D5304: Remove more translator duplicates.
In D5304#226358, @Stan wrote:

Should cover most cases. Not sure wether we prefer having FIRSTNAME Lastname over firstname lastname. Other than that looks good.

Fri, Jul 12, 1:29 PM
Dunedan added a comment to D5303: Preserve comments in debug translations.
In D5303#226362, @Stan wrote:

Do we really care about Dennis lint for long translations?

Fri, Jul 12, 1:20 PM
Dunedan updated the diff for D5304: Remove more translator duplicates.

Fix usage of isupper().

Fri, Jul 12, 10:59 AM
Dunedan published D5304: Remove more translator duplicates for review.
Fri, Jul 12, 10:48 AM

Thu, Jul 11

Dunedan updated the diff for D5303: Preserve comments in debug translations.

Updated copyright year.

Thu, Jul 11, 9:40 AM
Dunedan published D5303: Preserve comments in debug translations for review.
Thu, Jul 11, 9:20 AM

Wed, Jul 10

Dunedan abandoned D5301: Update Docker image for translation tooling.
In D5301#226286, @Itms wrote:

Hello Dunedan, after the git migration, the translation scripts will be run on Windows as part of the nightly build generation. So the Docker image for translations will be dropped. See 2f38a3d67e.

Wed, Jul 10, 2:05 PM
Dunedan added a comment to D5301: Update Docker image for translation tooling.
In D5301#226283, @Stan wrote:

What are the new features we need?

Wed, Jul 10, 10:39 AM
Dunedan published D5301: Update Docker image for translation tooling for review.
Wed, Jul 10, 8:31 AM
Dunedan committed rP28148: Instantiate controller only for the host.
Instantiate controller only for the host
Wed, Jul 10, 8:22 AM
Dunedan closed D5270: Instantiate controller only for the host.
Wed, Jul 10, 8:22 AM
Dunedan updated the diff for D5300: Make language names in credits translatable.

Update copyright year.

Wed, Jul 10, 8:16 AM

Mon, Jul 8

Dunedan added a comment to D5300: Make language names in credits translatable.
In D5300#226221, @bb wrote:

See the reason for the current (yes ugly) list https://trac.wildfiregames.com/ticket/3827

By the looks of things this diff reopens the loophole.

Mon, Jul 8, 3:40 PM
Dunedan published D5300: Make language names in credits translatable for review.
Mon, Jul 8, 2:07 PM
Dunedan added a comment to D5270: Instantiate controller only for the host.
In D5270#226194, @Stan wrote:

Well, if you tested the --without-lobby flag

Mon, Jul 8, 1:53 PM
Dunedan added a comment to D5227: Tentative support for building sm91 with py3.12.

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).

Mon, Jul 8, 10:58 AM
Dunedan updated the diff for D5270: Instantiate controller only for the host.
Mon, Jul 8, 10:09 AM
Dunedan commandeered D5270: Instantiate controller only for the host.
Mon, Jul 8, 10:09 AM
Dunedan accepted D5270: Instantiate controller only for the host.

@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?

Mon, Jul 8, 9:42 AM

Sun, Jul 7

Dunedan committed rP28143: Update translator credits automatically.
Update translator credits automatically
Sun, Jul 7, 6:30 PM
Dunedan closed D5299: Update translator credits automatically.
Sun, Jul 7, 6:29 PM
Dunedan committed rP28142: Fix translator credit script.
Fix translator credit script
Sun, Jul 7, 6:27 PM
Dunedan closed D5298: Fix translator credit script.
Sun, Jul 7, 6:27 PM
Dunedan added a comment to D5299: Update translator credits automatically.
In D5299#226177, @Stan wrote:

True. I noticed recently that some translator names are anonymized as hashes, do we have a way to handle those cases? In theory one would have to check manually during the releases. Hopefully that will not cause useless changes.

Sun, Jul 7, 3:48 PM
Dunedan added a comment to D5299: Update translator credits automatically.
In D5299#226172, @Stan wrote:

Looks good on paper, but since the translation will no longer be in the git repo but a svn repo, I wonder if it will not break stuff.

Sun, Jul 7, 11:33 AM
Dunedan added a comment to D5298: Fix translator credit script.
In D5298#226171, @Stan wrote:

Regex looks okay but are we sure it handles all the transifex cases ?

Sun, Jul 7, 11:32 AM
Dunedan published D5299: Update translator credits automatically for review.
Sun, Jul 7, 10:44 AM
Dunedan published D5298: Fix translator credit script for review.
Sun, Jul 7, 10:44 AM

Jun 26 2024

Dunedan committed rP28130: Fix removal of email addresses from PO-files.
Fix removal of email addresses from PO-files
Jun 26 2024, 6:20 AM
Dunedan closed D5290: Fix removal of email addresses from PO-files.
Jun 26 2024, 6:20 AM

Jun 25 2024

Dunedan added a comment to D5290: Fix removal of email addresses from PO-files.
In D5290#225504, @Stan wrote:

IIRC @Itms touched those files for the Gitea migration, he might have a look.

Jun 25 2024, 6:44 PM
Dunedan updated the diff for D5290: Fix removal of email addresses from PO-files.
Jun 25 2024, 6:43 PM
Dunedan added a comment to rP28127: [i18n] Updated POT and PO files..
In rP28127#62214, @Stan wrote:

Sometimes we I release I have to patch a lot of occurences for all mainstream languages. A bit annoying but you gotta do what you can

Jun 25 2024, 9:20 AM
Dunedan added a comment to rP28127: [i18n] Updated POT and PO files..
In rP28127#62209, @Stan wrote:

Looks like it's fixed @Dunedan :)

Jun 25 2024, 7:07 AM

Jun 23 2024

Dunedan committed rP28125: Remove file missed by previous commit.
Remove file missed by previous commit
Jun 23 2024, 9:05 PM
Dunedan committed rP28124: Remove contrib JS-lexer and use upstream one.
Remove contrib JS-lexer and use upstream one
Jun 23 2024, 9:04 PM
Dunedan closed D5293: Remove contrib JS-lexer and use upstream one.
Jun 23 2024, 9:04 PM

Jun 20 2024

Dunedan added a comment to D5293: Remove contrib JS-lexer and use upstream one.

Sure. Since Babel 2.12 no functional changes have been made to the JavaScript-lexer anymore, but in contrast to the latest version Babel 2.12 still supports Python 3.7. We need support for Python 3.7 because the updateTemplates.py script is run as part of CI in a Docker container based on Debian Buster, which ships with Python 3.7.

Jun 20 2024, 1:28 PM
Dunedan added a comment to D5293: Remove contrib JS-lexer and use upstream one.
In D5293#225603, @sera wrote:

The summary doesn't say why exactly 2.12 and looking at https://babel.pocoo.org/en/latest/changelog.html I don't see an obvious reason either. Can you please clarify?

Jun 20 2024, 1:24 PM
Dunedan added a comment to D5293: Remove contrib JS-lexer and use upstream one.
In D5293#225601, @Stan wrote:

One think I'm not sure about is the current babel version in the dockerfile. In theory it should be latest, but I don't remember if we use pip or the distro provided one.

Jun 20 2024, 1:03 PM
Dunedan updated the diff for D5293: Remove contrib JS-lexer and use upstream one.
Jun 20 2024, 1:01 PM
Dunedan published D5293: Remove contrib JS-lexer and use upstream one for review.
Jun 20 2024, 9:14 AM

Jun 19 2024

Dunedan added a comment to rP28109: Escape non-breaking space in tutorial.

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 19 2024, 10:06 PM
Dunedan added a comment to rP28109: Escape non-breaking space in tutorial.
In rP28109#62171, @Stan wrote:

The translation pulling script is running in a docker.

https://trac.wildfiregames.com/browser/ps/trunk/build/jenkins/dockerfiles/translations.Dockerfile

You can see the commands here, maybe it's the checkdiff or cleanTranslationFiles that messes it up
https://trac.wildfiregames.com/browser/ps/trunk/build/jenkins/pipelines/docker-translations.Jenkinsfile

Jun 19 2024, 1:15 PM
Dunedan added a comment to rP28109: Escape non-breaking space in tutorial.
In rP28109#62171, @Stan wrote:

maybe it's the checkdiff or cleanTranslationFiles that messes it up

Jun 19 2024, 1:00 PM

Jun 18 2024

Dunedan added a comment to rP28109: Escape non-breaking space in tutorial.
In rP28109#62164, @Stan wrote:

Sounds like an encoding problem?

Jun 18 2024, 10:24 PM
Dunedan added a comment to rP28109: Escape non-breaking space in tutorial.
In rP28109#62162, @Stan wrote:

We update the pot when we update the translations, but transifex pulls strings from the repo every four hours or so IIRC.

Jun 18 2024, 7:54 AM

Jun 17 2024

Dunedan published D5290: Fix removal of email addresses from PO-files for review.
Jun 17 2024, 6:05 PM
Dunedan added a comment to rP28109: Escape non-breaking space in tutorial.

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.

Jun 17 2024, 6:01 PM
Dunedan added a comment to rP28109: Escape non-breaking space in tutorial.

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.

Jun 17 2024, 4:58 PM