Since moving polkit.{its,loc} would affect other packages, I made
another effort to fix it within systemd, and I think I made it this
time. Please see the attached patch (for Debian).

It's new variant of xgettext() call, but this time it makes use of
polkit.its from the systemd source. It's a bit ugly; the "|| true" is
there to compensate for a segmentation fault, but that happens only
after xgettext() has done its job, so systemd.pot actually gets updated.

It's worth mentioning that the upstream source currently includes
po/its/polkit.{its,loc}, but OTOH - as a result of the upstream issue I
submitted - they are about to drop those files. So that's the reason why
the patch adds polkit.its.

** Patch added: "0001-Extract-translatable-strings-from-policy-files.patch"
   
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1707898/+attachment/5057015/+files/0001-Extract-translatable-strings-from-policy-files.patch

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

Title:
  systemd translations are not synced with upstream

To manage notifications about this bug go to:
https://bugs.launchpad.net/systemd/+bug/1707898/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to