[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-24 Thread Launchpad Bug Tracker
This bug was fixed in the package systemd - 237-3ubuntu3 --- systemd (237-3ubuntu3) bionic; urgency=medium * tests/control: drop qemu-system-ppc. Whilst some tests pass, many regress / fail to boot. This is not a regression, as qemu-based tests were not run previously.

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-19 Thread Gunnar Hjalmarsson
systemd 237-3ubuntu1 has been uploaded including these changes, and a complete systemd.pot was imported to LP. Case closed. :) ** Changed in: ubuntu-translations Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-19 Thread Gunnar Hjalmarsson
Thanks! I changed the source tree path of the template in Rosetta from build- deb/po/systemd.pot to po/systemd.pot. Let's follow up it when systemd 237-4 has been built on Ubuntu. ** Changed in: ubuntu-translations Importance: Undecided => Medium ** Changed in: ubuntu-translations

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-19 Thread Bug Watch Updater
** Changed in: systemd Status: New => Fix Released -- 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

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-19 Thread Martin Pitt
Thanks Gunnar, nice work! I cherry-picked the patches in https://salsa.debian.org/systemd-team/systemd/commit/87f54958bc24 . The debian/ changes were already in Debian master. ** Changed in: systemd (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-18 Thread Gunnar Hjalmarsson
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

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-18 Thread Gunnar Hjalmarsson
And this is the debdiff with which I tested the patch successfully on top of systemd 237-2ubuntu2. https://launchpad.net/~gunnarhj/+archive/ubuntu/systemd Please note the need to refresh debian/patches/debian/fsckd-daemon-for-inter-fsckd-communication.patch. ** Patch added:

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-16 Thread Gunnar Hjalmarsson
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

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-16 Thread Jeremy Bicha
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 Ubuntu Bugs, which is subscribed to

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-16 Thread Gunnar Hjalmarsson
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:

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-15 Thread Gunnar Hjalmarsson
Maybe put polkit.{its,loc} in a separate package (e.g. policykit-1-gettext) which policykit-1 depends on, and which systemd could add to Build-Depends. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-15 Thread Gunnar Hjalmarsson
This is my test on artful: I made this modification: $ cat /usr/share/polkit-1/actions/org.freedesktop.locale1.policy | grep '"systemd"' -A 1 Authentication is required to set the system locale. i.e. I dropped the inline translations for that message. Then I

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-15 Thread Martin Pitt
I confirmed that the current "ninja -C build-deb/ systemd-pot" command also builds a complete .pot file with policykit-1 installed (unsurprisingly, as this also just calls gettext). So that part is fine. What is really bad however, is to build-depend against policykit-1: The following NEW

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-15 Thread Martin Pitt
Thanks Gunnar for tracking this down! Adding a policykit-1 build dependency requires some thought, as that also build-depends on systemd [1], thus this is circular. Also, there was a lot of effort with making systemd bootstrappable without excessive dependencies. But I think it's fine to add this

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-15 Thread Gunnar Hjalmarsson
I may have solved it. :) Added policykit-1 to Build-Depends and built systemd 237-2 in a PPA: https://launchpad.net/~gunnarhj/+archive/ubuntu/systemd No warnings in the buildlog due the explicit xgettext() command. This might be the explanation: $ dpkg -L policykit-1 | grep its/

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-14 Thread Gunnar Hjalmarsson
The good news is that is doesn't matter much as long as upstream hasn't dropped the translations from the .policy files and added gettext- domain="systemd" ... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-14 Thread Gunnar Hjalmarsson
@Martin: That's disappointing. At least it was imported, as a result of the name change. :\ I just built 237-2ubuntu1 locally. No such warnings, and: $ ls -l build-deb/po/systemd.pot -rw-r--r-- 1 gunnar gunnar 16268 feb 14 22:07 build-deb/po/systemd.pot i.e. systemd.pot includes the messages

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-14 Thread Martin Pitt
@Gunnar: This patch does not actually work: ❱❱❱ xgettext -f "po/POTFILES.in" -o "build-deb/po/systemd.pot" --join-existing xgettext: warning: file 'src/core/org.freedesktop.systemd1.policy.in.in' extension 'policy' is unknown; will try C xgettext: warning: file

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-12 Thread Bug Watch Updater
** Changed in: systemd Status: Unknown => New -- 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

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-12 Thread Gunnar Hjalmarsson
** Bug watch added: github.com/systemd/systemd/issues #8162 https://github.com/systemd/systemd/issues/8162 ** Also affects: systemd via https://github.com/systemd/systemd/issues/8162 Importance: Unknown Status: Unknown -- You received this bug notification because you are a

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-12 Thread Martin Pitt
I committed the first hunk to Debian, this makes sense: https://salsa.debian.org/systemd-team/systemd/commit/18d8c2df133b8af The second is too hackish for a permanent downstream delta, IMHO: This should rather be fixed upstream, as upstream polkit (as well as Debian's and Ubuntu's older versions)

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-10 Thread Gunnar Hjalmarsson
@Dimitri: Sorry, I saw your comments only after having added the second patch. No need to send translations upstream. Translators know that they at first hand should do the translation work upstream. No need either to re-include possible additional LP translations in the build. Just keep the

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-10 Thread Gunnar Hjalmarsson
Thanks AsciiWolf. I realized that I had to test from a standard user to see them. I attached a second patch which also 'gettextizes' the .policy files, so the language pack translations are actually used. This makes the setup more consistent. ** Patch added: "systemd-translations-2.debdiff"

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-10 Thread Dimitri John Ledkov
Do strings that are in the catalog files end up in the .pot template? -- 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

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-10 Thread Dimitri John Ledkov
Once above is done, we will need to either send translations upstream and/or re-include them as part of the systemd build, then also teach pkgbinarymangler to extract the translated catalog files back into language packs, no? -- You received this bug notification because you are a member of

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-10 Thread AsciiWolf
(Both the GUI and CLI polkit dialogs.) -- 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:

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-10 Thread AsciiWolf
gunnarhj: They show up when some action from systemctl/loginctl/hostnamectl/localectl/timedatectl/machinectl requires additional privileges. For example systemctl start/restart. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-10 Thread Gunnar Hjalmarsson
Translations are added at build time (meson?) to the .policy files like this: Nastavit systémovou konfiguraci klávesnice In the light of that, is there a reason at all to include translatable strings of the .policy files in LP and the language packs? I.e. will they ever be queried? It would be

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-09 Thread Gunnar Hjalmarsson
@AsciiWolf: I have some doubts that the proposed patch is sufficient so really fix the systemd translations. Can you please provide a couple of examples of actions when the strings in the .policy files show up? -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-08 Thread Gunnar Hjalmarsson
I checked out the latest tarball with systemd translations: https://launchpad.net/ubuntu/bionic/+upload/17531208/+files/systemd_237-1ubuntu2_amd64_translations.tar.gz Two observations: 1. The template is named incorrectly: "untitled.pot" instead of "systemd.pot" 2. The template only

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-02-01 Thread Steve Langasek
** Tags removed: rls-bb-incoming -- 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:

[Bug 1707898] Re: systemd translations are not synced with upstream

2018-01-26 Thread AsciiWolf
I have updated the Czech translation by hand. Unfortunately, the translation template itself seems to be outdated so I was not able to add some translated strings. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1707898] Re: systemd translations are not synced with upstream

2017-12-18 Thread AsciiWolf
Still not fixed. :-( -- 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:

[Bug 1707898] Re: systemd translations are not synced with upstream

2017-11-30 Thread Jeremy Bicha
** Changed in: systemd (Ubuntu) Assignee: Ubuntu Desktop (ubuntu-desktop) => Canonical Desktop Team (canonical-desktop-team) -- 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:

[Bug 1707898] Re: systemd translations are not synced with upstream

2017-11-30 Thread Dimitri John Ledkov
** Changed in: ubuntu-translations Assignee: (unassigned) => Canonical Desktop Team (canonical-desktop-team) -- 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

[Bug 1707898] Re: systemd translations are not synced with upstream

2017-11-25 Thread AsciiWolf
Any news? -- 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:

[Bug 1707898] Re: systemd translations are not synced with upstream

2017-11-20 Thread AsciiWolf
https://help.launchpad.net/Translations/YourProject/ImportingTranslations Here's something about Launchpad translation updates. -- 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

[Bug 1707898] Re: systemd translations are not synced with upstream

2017-11-09 Thread AsciiWolf
** Tags added: bionic -- 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:

[Bug 1707898] Re: systemd translations are not synced with upstream

2017-10-12 Thread Dimitri John Ledkov
@seb128 @laney any idea or help on what i need to do to have the translations right? should systemd be rebuild without stripping translations into langpacks? or how do I import translations into language packs? note that systemd uses journal translated entries, which I do not believe are currently

[Bug 1707898] Re: systemd translations are not synced with upstream

2017-10-11 Thread AsciiWolf
Sorry, I don't know how to help you with this issue. Anyway, any news? -- 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

[Bug 1707898] Re: systemd translations are not synced with upstream

2017-08-14 Thread Dimitri John Ledkov
I will require assistance to solve this. ** Changed in: systemd (Ubuntu) Assignee: (unassigned) => Ubuntu Desktop (ubuntu-desktop) -- 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:

[Bug 1707898] Re: systemd translations are not synced with upstream

2017-08-06 Thread Jeremy Bicha
** Also affects: ubuntu-translations Importance: Undecided Status: New -- 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

[Bug 1707898] Re: systemd translations are not synced with upstream

2017-08-06 Thread AsciiWolf
Some languages are even unavailable via Launchpad even though they are present in upstream. -- 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