Missing translations in Pinta 2.1-dev

Bug #2000426 reported by grofaty
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Pinta
Fix Committed
Undecided
Unassigned

Bug Description

On Launchpad today I have translated all of the strings for my language and downloaded pinta.mo file and copied it to Pinta's directory locale/<my_language>/LC_MESSAGES, then started Pinta with LC_MESSAGES=<my_language> ./Pinta

I see new today's translations in Pinta.

On Ubuntu I usually use English language as system wide language, now I have set it as my native language and logout and login.

Started Pinta with: LC_MESSAGES=<my_language> ./Pinta
1. File | New (I will write English names, to reduce confusion) and OK and Cancel button are in English.
2. Actually every dialog I open everything is translated except from OK an Cancel button. It looks to me this buttons comes from Pinta itself and not from Gnome.
3. Help | About. At top About, Credit and License are all strings in English.
4. Help | About - Credits tab. There are strings "Created by" and "Translated by Launchpad Contributors" are in English. If this is difficult to add to Pinta translations, it is not so much important, because rarely someone is going to dig into this so deep.
5. Text object from Tools and click on font size. Whole new "Pick a font" dialog appears that all strings are in English. This dialog may come from Gnome that is maybe not properly translated to my native language.
6. At the bottom on one of the color middle click and color pallet dialog opens. All strings except the title are in English. Maybe this also comes from Gnome.
7. File | Close and Cancel and Save buttons are in English.

Those are the strings I have found so far...

Can you please check if some of those strings can easily be added to Launchpad translation.

Revision history for this message
Cameron White (cameronwhite91) wrote :

For 1, do you mean that the "New" menu item is not translated, or just the OK/cancel buttons in that dialog?

Otherwise, I think all of those buttons / dialogs are from standard GTK things so the translations aren't part of Pinta. You could check with a language like French where those translations are more likely to be complete

Revision history for this message
grofaty (grofaty) wrote :

For point 1 only "OK" and "Cancel" button.

On Ubuntu 22.10 I changed language to French system wide and logout and login again, did the tests and I see exactly the same problem in French language. See attachment.

Revision history for this message
grofaty (grofaty) wrote :

Additional test. Set German language on Ubuntu 22.10 set as system wide language and logout and login. The same problem. See attachment.

Revision history for this message
grofaty (grofaty) wrote :

Additional test with Spanish set as system wide language.

Revision history for this message
Cameron White (cameronwhite91) wrote :

Confirmed, it doesn't seem to happen on macOS for some reason, but I could reproduce on Linux

Changed in pinta:
milestone: none → 2.1
status: New → Confirmed
Revision history for this message
Cameron White (cameronwhite91) wrote :

After more testing, I did find that running `env LC_ALL="fr_FR.UTF-8" pinta` did work for getting the standard GTK things to translate
Does that work for you?

Revision history for this message
grofaty (grofaty) wrote :

I downloaded latest master of Pinta 2.1-dev from Github and unzipped on Ubuntu 22.10.

I tried:
env LC_ALL="fr_FR.UTF-8" ./Pinta
and I see translations in French, but File | New (in French) and OK and Cancel are still in English.

I also tried:
LC_MESSAGES=fr ./Pinta
and the same translations are in French, but OK an Cancel buttons are still in English.

Revision history for this message
grofaty (grofaty) wrote :

I have changed language several times and one of the time language non-English language did appear in Pinta 2.1-dev and sometimes it hasn't. It may be something specific to my environment.

May I suggest to remove milestone 2.1 from this bug, to not be a release stopper anymore.

Changed in pinta:
milestone: 2.1 → 2.2
Revision history for this message
Cameron White (cameronwhite91) wrote :
Changed in pinta:
status: Confirmed → Fix Committed
Revision history for this message
grofaty (grofaty) wrote :

Excellent. All fixed.

Details:
a) I have downloaded latest Pinta 2.2-dev from master repository: https://github.com/PintaProject/Pinta/actions/runs/7326780534/artifacts/1134741800
b) On Ubuntu 23.10 I have changed operating system language setting to my native language and logout
/login.

Problems from my bug report (first post):
1. Fixed.
2. Fixed. (I have checked New, Open and Save dialogs).
3. Fixed.
4. Fixed.
5. Fixed.
6. Fixed.
7. Fixed.

BTW, there are some changes since bug was reported in Pinta 2.1, like menus etc that can't be reproduced one-to-one in Pinta 2.2-dev. I just did "logical" transformation.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.