Truncated plural forms
Bug #2322 reported by
Dan Damian
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Carlos Perelló Marín |
Bug Description
In ubuntu-
" (n == 1 ? 0: (((n %"
instead of
" (n == 1 ? 0 : (((n % 100 > 19) || ((n % 100 == 0) && (n != 0))) ? 2 : 1))"
In the exported .po file, the plural forms is splitted on two lines:
"Plural-Forms: nplurals=3; plural=(n == 1 ? 0: (((n %\n"
"100 > 19) || ((n % 100 == 0) && (n != 0))) ? 2: 1))\n"
...which results in a gettext error:
$ msgfmt -c ro.po
ro.po:7: invalid plural expression
See:
https:/
Changed in rosetta: | |
assignee: | nobody → carlos |
Changed in rosetta: | |
assignee: | nobody → carlos |
importance: | Medium → Critical |
Changed in rosetta: | |
status: | Confirmed → In Progress |
Changed in rosetta: | |
status: | In Progress → Fix Committed |
Changed in rosetta: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Due to uploading a corrected po file, aboutubuntu was fixed.
The problem can be seen at the moment in faqguide: /launchpad. net/distros/ ubuntu/ breezy/ +sources/ ubuntu- docs/+pots/ faqguide/ ro/+translate
https:/