** Description changed:

- Xubuntu 26.04 LTS, software-properties-gtk 0.120.
+ [ Impact ]
  
- The "Software & Updates" GUI is mostly untranslated on Czech locale (see
- the attached screenshot) even though the translated strings appear to be
- present in upstream. It looks like that the translation is not applied
- correctly for some reason.
+ * During the GTK4 port, the .ui GtkBuilder files were written with 
translatable="1" instead of translatable="yes". intltool (used to extract 
translatable strings into the .pot template) only recognizes the "yes" form, so 
almost all UI labels silently dropped out of the POT/PO catalogs and are 
shipped untranslated.
+ * Note: the Launchpad translation template has already been manually 
refreshed for Resolute (no source re-upload was needed for that step); this SRU 
covers getting the source fix itself into the archive/VCS so the template stays 
in sync going forward. Actual re-translation of the strings on Launchpad and 
inclusion in a langpack export happen independently of this upload and are 
required before end users see translated text.
+ 
+ [ Test Plan ]
+ 
+ * Go to 
https://translations.launchpad.net/ubuntu/stonking/+source/software-properties/+pots/software-properties/fr/+translate
 (change "fr" by your locale) and check that the strings showed in english in 
the https://launchpadlibrarian.net/864446088/screenshot.png screenshot are 
correctly listed as translatable now
+ * Start software-properties and browse the different tabs and dialog to 
ensure the screens are loading and that the string display as expected (meaning 
the XML formatting of the .UI is still valid)
+ * Optionally require an export of an updated translations and copy it over 
the current langpack file and verify that the UI is correctly displaying the 
new translations
+ 
+ [ Where problems could occur ]
+ 
+ * Risk is very low: the change only touches the XML translatable attribute 
value in GtkBuilder .ui files
+ * If a translatable="yes" value were mistyped or a wrong element were edited, 
the realistic failure mode would be: (a) a string fails to load into the 
template (same as today, no regression, just no improvement for that string), 
or (b) in the worst case a malformed .ui file fails GTK's XML/GtkBuilder 
parsing, which would prevent the window/page from opening at all - this is 
trivially caught by simply launching the application after the update, which is 
part of the test plan above.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2156069

Title:
  software-properties-gtk is mostly untranslated

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2156069/+subscriptions


-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to