Untranslated desktop file

Bug #1971473 reported by Quentin PAGÈS
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
system-config-printer (Ubuntu)
Fix Released
Undecided
Gunnar Hjalmarsson
Jammy
In Progress
Undecided
Gunnar Hjalmarsson

Bug Description

[Impact]

While the Ubuntu changes include translatable strings, the .pot file does not get refreshed when building, but upstream's .pot already in the po/ directory gets imported to LP. As a result, some strings such as "Printers" in the .desktop file show up untranslated.

There is a temorary workaround in place, but this proposal makes sure that the fix won't be overwritten by the upstream .pot in case of some additional package upload to jammy-proposed/jammy-updates.

[Test Plan]

It may be advisable to install system-config-printer{,-common} from jammy-proposed and confirm that the updated packages work as usual.

But this is all about language packs in future point releases, and to confirm the intention with this upload, please take these steps:

* Check out the translation import queue:

  https://translations.launchpad.net/ubuntu/jammy/+source/system-config-printer/+imports

  and confirm that the new po/system-config-printer.pot file was imported successfully.

* Visit this page:

  https://translations.launchpad.net/ubuntu/jammy/+source/system-config-printer/+pots/system-config-printer/oc/569

  and confirm that it still leads to the "Printers" page with an Occitan translation.

[Where problems could occur]

The buildlogs include some warnings related to the creation of the .pot file. But we don't really know if upstream does it better, and I have not identified any significant resulting issue.

[Original description]

Hello,

I am using Ubuntu MATE and on its control centre the entry "Printers" is not translated whereas 100% translated.
It comes from the desktop file apparently. It happens to me in Occitan, Catalan and French, didn't try more locales.
I opened an issue here:
https://github.com/mate-desktop/mate-control-center/issues/693#issuecomment-1115713053

Revision history for this message
Quentin PAGÈS (kwentin) wrote :
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The "Printers" part of the GNOME Control Center is not system-config-printer, moving ...

affects: system-config-printer (Ubuntu) → gnome-control-center (Ubuntu)
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Nice try, Till, but g-c-c is not part of Ubuntu MATE. ;)

I pushed this commit:

https://salsa.debian.org/gnome-team/system-config-printer/-/commit/a8b851a6

As regards jammy I uploaded an updated translation template manually. Looks good:

https://translations.launchpad.net/ubuntu/jammy/+source/system-config-printer/+pots/system-config-printer/oc/569

So that string will hopefully be shown translated in the 22.04.1 point release.

P.S. This is an Ubuntu only bug, so you should close the upstream issue.

affects: gnome-control-center (Ubuntu) → system-config-printer (Ubuntu)
Changed in system-config-printer (Ubuntu):
assignee: nobody → Gunnar Hjalmarsson (gunnarhj)
status: New → Fix Committed
Revision history for this message
Quentin PAGÈS (kwentin) wrote :

Many thanks Gunnar!
Ubuntu's i18n is getting better again!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package system-config-printer - 1.5.16-0ubuntu4

---------------
system-config-printer (1.5.16-0ubuntu4) kinetic; urgency=medium

  * debian/rules: Refresh the .pot file when building (LP: #1971473)

 -- Gunnar Hjalmarsson <email address hidden> Mon, 25 Jul 2022 23:59:43 +0200

Changed in system-config-printer (Ubuntu):
status: Fix Committed → Fix Released
Changed in system-config-printer (Ubuntu Jammy):
assignee: nobody → Gunnar Hjalmarsson (gunnarhj)
status: New → In Progress
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments