Proposed packaging patch for policykit-1 127-3ubuntu1: generate the
polkit-1 POT during Ubuntu builds so pkgstriptranslations can include it
in the raw translations tarball. It also points Meson to the upstream
gettext/its directory, allowing xgettext to extract .policy strings.

Validation: using the actual polkit 127 source files and the patched
Meson gettext configuration in a minimal Meson project, the polkit-1-pot
target generated a 27-message template including both pkexec
authentication messages and the policy strings. Merging the upstream
Swedish catalog against that template and compiling it with msgfmt
--check succeeded. The full Ubuntu source package build and Launchpad
import/export have not yet been tested; please review how the new
template will interact with the existing legacy pkla template before
importing.

On the affected machine I merged the installed Ubuntu catalog with the
upstream Swedish polkit 127 catalog. After restarting polkit, the pkexec
dialog was confirmed to be in Swedish. This local workaround does not
update Ubuntu language packs.

** Patch added: "Proposed Ubuntu package patch to generate the full polkit 
gettext template"
   
https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/2175036/+attachment/6020152/+files/ubuntu-policykit-translation-template.patch

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

Title:
  Swedish pkexec authentication message falls back to English despite
  upstream translation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/language-pack-sv-base/+bug/2175036/+subscriptions


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

Reply via email to