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 gettext version allows such missing %d, while the
xenial gettext version does not, and that has been preventing these
strings from being imported.

The plan is to upgrade the xenial gettext version in LP and with that
solve the problem for both gnome-shell and other affected packages.
Hopefully that can be done in due time and proved to work. If not, we
also identified a possible workaround which would require certain
modifications of the .pot files in all affected packages.

Assigning myself to the Ubuntu Translations bug task for now to more
easily monitor the progress.

** Summary changed:

- LP does not understand msgstr[2] entries in PO files
+ LP refuses to import plural strings where e.g. msgstr[0] entries in PO file 
miss %d

** Changed in: ubuntu-translations
   Importance: Undecided => High

** Changed in: ubuntu-translations
       Status: New => In Progress

** Changed in: ubuntu-translations
     Assignee: (unassigned) => Gunnar Hjalmarsson (gunnarhj)

-- 
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
  file miss %d

To manage notifications about this bug go to:
https://bugs.launchpad.net/launchpad/+bug/1756547/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to