[wp-trac] [WordPress Trac] #13651: Problem with plural form in comments_number
WordPress Trac
wp-trac at lists.automattic.com
Mon Dec 20 03:40:06 UTC 2010
#13651: Problem with plural form in comments_number
-----------------------------+-------------------------
Reporter: pavelevap | Owner: nbachiyski
Type: defect (bug) | Status: new
Priority: highest omg bbq | Milestone: 3.1
Component: I18N | Version: 3.0
Severity: major | Resolution:
Keywords: |
-----------------------------+-------------------------
Comment (by SergeyBiryukov):
Replying to [comment:2 wojtek.szkutnik]:
> The problem is a bit more complex - in Polish, which is a language very
similiar to Czech, not only 2-4 have the form "komentarze", but also every
number larger than 20, with the last digit 2,3 or 4.
This is probably should be fixed by using the right Plural-Forms string in
the .po file (from ABTOP's link above):
{{{
Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 &&
(n%100<10 || n%100>=20) ? 1 : 2;
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13651#comment:20>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list