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 Touch seeded packages, which is subscribed to policykit-1 in Ubuntu. https://bugs.launchpad.net/bugs/1707898 Title: systemd translations are not synced with upstream Status in systemd: New Status in Ubuntu Translations: New Status in policykit-1 package in Ubuntu: In Progress Status in systemd package in Ubuntu: In Progress Bug description: Translations for systemd are outdated because they do not seem to be synced with the upstream ones. For example the Czech one: Launchpad: https://translations.launchpad.net/ubuntu/artful/+source/systemd/+pots/systemd/cs/+translate - 0% translated Upstream: https://github.com/systemd/systemd/blob/master/po/cs.po - 100% translated To manage notifications about this bug go to: https://bugs.launchpad.net/systemd/+bug/1707898/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp