[Bug 1747272] Re: Polkit dialogs of snapd are not translatable
New issue, though - bug #1758684 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1747272 Title: Polkit dialogs of snapd are not translatable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-translations/+bug/1747272/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1747272] Re: Polkit dialogs of snapd are not translatable
This was finally fixed through the build of snapd 2.32+18.04. ** Changed in: snapd (Ubuntu) Status: In Progress => Fix Released ** Changed in: ubuntu-translations Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1747272 Title: Polkit dialogs of snapd are not translatable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-translations/+bug/1747272/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1747272] Re: Polkit dialogs of snapd are not translatable
I know. New PR: https://github.com/snapcore/snapd/pull/4885 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1747272 Title: Polkit dialogs of snapd are not translatable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-translations/+bug/1747272/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1747272] Re: Polkit dialogs of snapd are not translatable
The snapd-2.32+18.04~pre5 package is now available in Ubuntu 18.04, but it looks like the polkit strings are still not available for translation on Launchpad. :-( -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1747272 Title: Polkit dialogs of snapd are not translatable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-translations/+bug/1747272/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1747272] Re: Polkit dialogs of snapd are not translatable
Sebastien let me know that a separate 2.32 PR is needed, so here it is: https://github.com/snapcore/snapd/pull/4855 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1747272 Title: Polkit dialogs of snapd are not translatable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-translations/+bug/1747272/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1747272] Re: Polkit dialogs of snapd are not translatable
Don't know. I have assumed/hoped that 2.32 including those commits will make it into Ubuntu before the 18.04 release. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1747272 Title: Polkit dialogs of snapd are not translatable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-translations/+bug/1747272/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1747272] Re: Polkit dialogs of snapd are not translatable
Ah, thanks for clarifying this. By the way, I see that the commits from your PR were merged only to the master branch, not to the 2.31 or 2.32 branches. Is this ok? I hope that the translated strings will be available in Ubuntu 18.04. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1747272 Title: Polkit dialogs of snapd are not translatable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-translations/+bug/1747272/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1747272] Re: Polkit dialogs of snapd are not translatable
I digged a bit more about importing translations, and AFAICT it's a non- issue. Reason: LP *is* upstream. The .po files in upstream git consist of exported files from LP, and the latest sync happened last October. https://github.com/snapcore/snapd/pull/4053/commits/f884b3ba -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1747272 Title: Polkit dialogs of snapd are not translatable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-translations/+bug/1747272/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1747272] Re: Polkit dialogs of snapd are not translatable
As noted in the GitHub PR: It looks like that the translation sync with Launchpad is broken and the actual translations were last updated 5 months ago. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1747272 Title: Polkit dialogs of snapd are not translatable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-translations/+bug/1747272/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1747272] Re: Polkit dialogs of snapd are not translatable
@AsciiWolf: Second thoughts on your note here: https://github.com/snapcore/snapd/pull/4723#issuecomment-369923663 Are there actually so many new translations in the upstream source to be imported? I see that the template in LP is dated 2018-02-20, which is fine. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1747272 Title: Polkit dialogs of snapd are not translatable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-translations/+bug/1747272/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1747272] Re: Polkit dialogs of snapd are not translatable
Done. https://github.com/snapcore/snapd/pull/4723 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1747272 Title: Polkit dialogs of snapd are not translatable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-translations/+bug/1747272/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1747272] Re: Polkit dialogs of snapd are not translatable
Gunnar, do you think you could put a pull request on github for that change? That's where the snappy team is doing reviews, https://github.com/snapcore/snapd (feel free to ask on IRC if you need help with git or github) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1747272 Title: Polkit dialogs of snapd are not translatable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-translations/+bug/1747272/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1747272] Re: Polkit dialogs of snapd are not translatable
Thanks for your great work! Feel free to let me know if you need help with something (testing etc.). -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1747272 Title: Polkit dialogs of snapd are not translatable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-translations/+bug/1747272/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1747272] Re: Polkit dialogs of snapd are not translatable
xgettext() needs an applicable "rule" file to be able to extract strings from .policy files. The smoothest way to achieve that is to include policykit-1 in Build-Depends (not there currently AFAIK). policykit-1 provides /usr/share/gettext/its/polkit.{its,loc}. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1747272 Title: Polkit dialogs of snapd are not translatable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-translations/+bug/1747272/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1747272] Re: Polkit dialogs of snapd are not translatable
Submitting a second variant which makes use of xgettext(), but also this one is basically untested. I simply don't know how to build the thing. :( ** Patch added: "0002-Translate-polkit-strings.patch" https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1747272/+attachment/5054233/+files/0002-Translate-polkit-strings.patch -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1747272 Title: Polkit dialogs of snapd are not translatable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-translations/+bug/1747272/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1747272] Re: Polkit dialogs of snapd are not translatable
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1747272 Title: Polkit dialogs of snapd are not translatable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-translations/+bug/1747272/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1747272] Re: Polkit dialogs of snapd are not translatable
I would think that the attached patch is what's needed to fix this. Caveat: This is untested. The regular xgettext() would extract those .policy file strings fine, but I don't know if xgettext-go() does. If not, a slightly different solution is needed. ** Patch added: "0001-Translate-polkit-strings.patch" https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1747272/+attachment/5053935/+files/0001-Translate-polkit-strings.patch ** Changed in: snapd (Ubuntu) Importance: Undecided => Medium ** Changed in: snapd (Ubuntu) Status: New => In Progress ** Changed in: snapd (Ubuntu) Assignee: (unassigned) => Gunnar Hjalmarsson (gunnarhj) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1747272 Title: Polkit dialogs of snapd are not translatable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-translations/+bug/1747272/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1747272] Re: Polkit dialogs of snapd are not translatable
The xml file should be also probably added to something like POTFILES.in. (Or maybe not, I am not an expert on Launchpad.) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1747272 Title: Polkit dialogs of snapd are not translatable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-translations/+bug/1747272/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1747272] Re: Polkit dialogs of snapd are not translatable
For example Gufw (GUI for UFW firewall) has this in the polkit xml file: Authentication is required to run the Firewall Configuration -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1747272 Title: Polkit dialogs of snapd are not translatable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-translations/+bug/1747272/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1747272] Re: Polkit dialogs of snapd are not translatable
Sorry, I don't know. Maybe someone from the Canonical desktop team will have more info about this. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1747272 Title: Polkit dialogs of snapd are not translatable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-translations/+bug/1747272/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1747272] Re: Polkit dialogs of snapd are not translatable
How do other polkit-using projects do the translation? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1747272 Title: Polkit dialogs of snapd are not translatable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-translations/+bug/1747272/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1747272] Re: Polkit dialogs of snapd are not translatable
** Also affects: ubuntu-translations Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1747272 Title: Polkit dialogs of snapd are not translatable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-translations/+bug/1747272/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs