getting-things-gnome/gtg

First run tutorial tasks translation problems

kocio-pl opened this issue · 4 comments

In the old code base I made a fix for first run tasks to show translated tags (#803) and now the problem is back: we have untranslated tags and body of tasks including these tags, but tasks titles are all good:

Zrzut ekranu z 2024-03-03 01-15-15

I have not look at the new code base, but it might be the same solution (#852) - using dynamic tags (reading them from tasks initially) instead of static ones (a list).

Looks like the problem is different - content in most of the tasks is just not translated when searching for tags. The only ones that are translated are simple text ones and for some reason they also don't include tags:

  • "Reporting Bugs"
  • "Learn How to Use the Quick Add Entry"

The interesting problem is lack of translation for "Learn About Plugins", which is also pretty much just a simple text, but it includes escaped quotation marks (\") and so does the rest of untranslated task content.

Maybe something in gettext mechanism is different now, so it can't match string with translated string when there are quotations?

You might want to compare these with the older ones from 0.6, using Meld and report here on what the differences are that caused these translatable tutorial tasks' contents to change in a way that breaks / makes the translated strings fuzzy. I hadn't had the time to do that myself, but I'd be curious to know; might be an accidental change (like various such accidents I've seen with translatable strings in the GTK4 port).

Looks like it was a systematic general notation change for quotation mark (for some reason), for example:

0.6:

"the "Mark as Done" or the "Dismiss" button. Use the "

current:

"the \"Mark as Done\" or the \"Dismiss\" button. Use the first one if the "

Updating translation seems to fix this problem, so we might close this probably, since this is a part of #1041.

@diegogangl was this an on-purpose change in the file format or a conversion/import bug or a bug in the way the tutorial tasks are written in the code?