[Bug 1756547] Re: LP refuses to import plural strings where e.g. msgstr[0] entries in PO file miss %d

2021-09-03 Thread Launchpad Bug Tracker
This bug was fixed in the package gnome-shell - 40.2-1ubuntu6 --- gnome-shell (40.2-1ubuntu6) impish; urgency=medium * d/rules: - Drop dh_translations workaround. gettext used by LP has been updated (LP: #1756547). - Fix Lintian warning about DEB_HOST_ARCH assignment

[Bug 1756547] Re: LP refuses to import plural strings where e.g. msgstr[0] entries in PO file miss %d

2021-09-03 Thread Colin Watson
Launchpad intentionally imports even obsolete messages, although they're tagged internally as obsolete and filtered out for various purposes. I think this is so that they can be used as suggestions in some cases (for example, a similar message might still be used in another context). For that

[Bug 1756547] Re: LP refuses to import plural strings where e.g. msgstr[0] entries in PO file miss %d

2021-09-02 Thread Gunnar Hjalmarsson
Go to: https://translations.launchpad.net/ubuntu/impish/+source/gnome- shell/+imports and open the info for e.g. po/kk.po. It tells you that this part from the PO file was not imported: #~ msgid "%d new message" #~ msgid_plural "%d new messages" #~ msgstr[0] "%d жаңа хабарлама" #~ msgid "%d

[Bug 1756547] Re: LP refuses to import plural strings where e.g. msgstr[0] entries in PO file miss %d

2021-09-02 Thread Colin Watson
I'm not sure I'm really following the exact question here. Could you attach the message you got with the complaints? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1756547 Title: LP refuses to

[Bug 1756547] Re: LP refuses to import plural strings where e.g. msgstr[0] entries in PO file miss %d

2021-09-01 Thread Gunnar Hjalmarsson
I uploaded gnome-shell without the workaround. The original problem, i.e. refusal to import msgstr[0] strings without %d, is not present any longer. It complains about the Turkish PO file, but those complaints are probably motivated due to absent msgstr[1] lines in the upstream PO. Other

[Bug 1756547] Re: LP refuses to import plural strings where e.g. msgstr[0] entries in PO file miss %d

2021-09-01 Thread Colin Watson
This should now be fixed on Launchpad's end: we're running the gettext backport that you can see in https://launchpad.net/~canonical-is- sa/+archive/ubuntu/launchpad/+packages. Could you please try reverting the workaround and make sure that things work properly now? ** Changed in: launchpad

[Bug 1756547] Re: LP refuses to import plural strings where e.g. msgstr[0] entries in PO file miss %d

2021-08-31 Thread Colin Watson
https://portal.admin.canonical.com/C132790 (internal ticket) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1756547 Title: LP refuses to import plural strings where e.g. msgstr[0] entries in PO

[Bug 1756547] Re: LP refuses to import plural strings where e.g. msgstr[0] entries in PO file miss %d

2021-08-31 Thread Colin Watson
Sorry for taking so long to get round to this; it had entirely fallen off my list. We haven't upgraded gettext from xenial's version yet, but I've started preparing a backport in https://launchpad.net/~cjwatson/+archive/ubuntu/launchpad/+packages. ** Changed in: launchpad Importance:

[Bug 1756547] Re: LP refuses to import plural strings where e.g. msgstr[0] entries in PO file miss %d

2021-08-28 Thread Gunnar Hjalmarsson
Re-opening — see bug #1941954 ** Changed in: gnome-shell (Ubuntu) Status: Fix Released => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1756547 Title: LP refuses to import

[Bug 1756547] Re: LP refuses to import plural strings where e.g. msgstr[0] entries in PO file miss %d

2020-08-27 Thread Gunnar Hjalmarsson
@Marco: The issue was caused by the fact that LP used an older (xenial) version of gettext. So as soon as they upgrade, it should be possible to drop the workaround. Can't tell if they have done that yet; easiest to ask Colin or William. -- You received this bug notification because you are a

[Bug 1756547] Re: LP refuses to import plural strings where e.g. msgstr[0] entries in PO file miss %d

2020-08-27 Thread Treviño
Could we also add gettext to this bug so that we can monitor when it will be fixed on that side and thus remove the ubuntu workaround? ** Also affects: gettext (Ubuntu) Importance: Undecided Status: New ** Changed in: gettext (Ubuntu) Status: New => Confirmed -- You received

[Bug 1756547] Re: LP refuses to import plural strings where e.g. msgstr[0] entries in PO file miss %d

2018-04-08 Thread Gunnar Hjalmarsson
** Changed in: launchpad Status: New => Confirmed ** Changed in: ubuntu-translations Status: In Progress => Triaged ** Changed in: ubuntu-translations Importance: High => Medium ** Changed in: ubuntu-translations Assignee: Gunnar Hjalmarsson (gunnarhj) => (unassigned) --

[Bug 1756547] Re: LP refuses to import plural strings where e.g. msgstr[0] entries in PO file miss %d

2018-04-08 Thread Launchpad Bug Tracker
This bug was fixed in the package gnome-shell - 3.28.0-0ubuntu5 --- gnome-shell (3.28.0-0ubuntu5) bionic; urgency=medium * No-change rebuild for translations (LP: #1756547) -- Gunnar Hjalmarsson Sat, 07 Apr 2018 15:58:00 +0200 ** Changed in: gnome-shell

[Bug 1756547] Re: LP refuses to import plural strings where e.g. msgstr[0] entries in PO file miss %d

2018-04-07 Thread Jeremy Bicha
** Changed in: gnome-shell (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1756547 Title: LP refuses to import plural strings where e.g. msgstr[0]

[Bug 1756547] Re: LP refuses to import plural strings where e.g. msgstr[0] entries in PO file miss %d

2018-04-07 Thread Gunnar Hjalmarsson
To the sponsor: Another upload needed; a no-change build is sufficient. ** Changed in: gnome-shell (Ubuntu) Status: Fix Released => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1756547] Re: LP refuses to import plural strings where e.g. msgstr[0] entries in PO file miss %d

2018-04-07 Thread AsciiWolf
@gunnarhj: Sorry, no idea. The only package where I have seen this issue is gnome-shell. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1756547 Title: LP refuses to import plural strings where e.g.

[Bug 1756547] Re: LP refuses to import plural strings where e.g. msgstr[0] entries in PO file miss %d

2018-04-06 Thread Launchpad Bug Tracker
This bug was fixed in the package gnome-shell - 3.28.0-0ubuntu4 --- gnome-shell (3.28.0-0ubuntu4) bionic; urgency=medium * debian/rules: - Drop javascript comments in gnome-shell.pot so the currently used version of gettext in LP gets more permissive wrt cases where

[Bug 1756547] Re: LP refuses to import plural strings where e.g. msgstr[0] entries in PO file miss %d

2018-04-06 Thread Gunnar Hjalmarsson
@AsciiWolf: Do you have an idea which other packages besides gnome-shell suffer from this kind of translation import problem? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1756547 Title: LP refuses

[Bug 1756547] Re: LP refuses to import plural strings where e.g. msgstr[0] entries in PO file miss %d

2018-04-06 Thread Gunnar Hjalmarsson
The build of gnome-shell 3.28.0-0ubuntu4 was not sufficient to fix this. The POT file without javascript comments was imported, but LP still complained about the PO files for the affected languages. The upstream PO files have those javascript comments too. As a test I took the upstream Czech

[Bug 1756547] Re: LP refuses to import plural strings where e.g. msgstr[0] entries in PO file miss %d

2018-04-06 Thread Jeremy Bicha
** Changed in: gnome-shell (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1756547 Title: LP refuses to import plural strings where e.g. msgstr[0]

[Bug 1756547] Re: LP refuses to import plural strings where e.g. msgstr[0] entries in PO file miss %d

2018-04-06 Thread Launchpad Bug Tracker
** Branch linked: lp:~gunnarhj/gnome-shell/gettext-workaround -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1756547 Title: LP refuses to import plural strings where e.g. msgstr[0] entries in PO

[Bug 1756547] Re: LP refuses to import plural strings where e.g. msgstr[0] entries in PO file miss %d

2018-04-06 Thread Gunnar Hjalmarsson
** Changed in: gnome-shell (Ubuntu) Status: New => In Progress ** Changed in: gnome-shell (Ubuntu) Assignee: (unassigned) => Gunnar Hjalmarsson (gunnarhj) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1756547] Re: LP refuses to import plural strings where e.g. msgstr[0] entries in PO file miss %d

2018-03-29 Thread Sebastien Bacher
William, I guess you set as incomplete for launchpad before the IRC discussion? Seems the consensus was to try to backport the newest gettext and make launchpad use it, Colin started poking at that it seemed? ** Changed in: launchpad Status: Incomplete => New -- You received this bug

[Bug 1756547] Re: LP refuses to import plural strings where e.g. msgstr[0] entries in PO file miss %d

2018-03-28 Thread Gunnar Hjalmarsson
There was a long IRC discussion about this issue yesterday: https://irclogs.ubuntu.com/2018/03/28/%23ubuntu-devel.html#t12:21 I proved to be wrong about what has been causing the import failures: It's not the msgstr[2] entries, but the missing %d in the msgstr[0] entries. However, the latest