[Desktop-packages] [Bug 1707898] Re: systemd translations are not synced with upstream
All this has now been fixed upstream. You can disregard the previous patches I've polluted this bug report with. The attached patch is a concatenation of the applicable upstream commits. It includes: * Translations are no longer merged into the .policy files * 'gettext-domain="systemd"' added to the .policy files * The ninja() call in debian/rules (so far only in Debian git) now extracts strings also from the .policy files. I suppose that this patch should better be committed to Debian. (And no need any longer from a systemd POV to consider a change of the policykit-1 packaging.) ** Patch added: "upstream-translation-fixes.patch" https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/1707898/+attachment/5058025/+files/upstream-translation-fixes.patch ** No longer affects: policykit-1 (Ubuntu) -- You received this bug notification because you are a member of Desktop 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 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/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1707898] Re: systemd translations are not synced with upstream
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 Desktop 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/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1707898] Re: systemd translations are not synced with upstream
Martin, a small number of packages Build-Depend on policykit-1 only for the .its file so moving that file will mean we'll need to update those packages. One example is gnome-multi-writer. -- You received this bug notification because you are a member of Desktop 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/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1707898] Re: systemd translations are not synced with upstream
I notice that gschema.{its,loc} is included in libglib2.0-dev, so simply moving polkit.{its,loc} to libpolkit-gobject-1-dev wouldn't be the only example of xml format descriptions provided by a -dev package. I attached a policykit patch (Debian) with this change. ** Patch added: "0001-Install-xml-format-descriptions-via-libpolkit-gobjec.patch" https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1707898/+attachment/5056651/+files/0001-Install-xml-format-descriptions-via-libpolkit-gobjec.patch ** Also affects: policykit-1 (Ubuntu) Importance: Undecided Status: New ** Changed in: policykit-1 (Ubuntu) Importance: Undecided => Medium ** Changed in: policykit-1 (Ubuntu) Status: New => In Progress ** Changed in: policykit-1 (Ubuntu) Assignee: (unassigned) => Gunnar Hjalmarsson (gunnarhj) -- You received this bug notification because you are a member of Desktop 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/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp