[wp-meta] [Making WordPress.org] #2216: Incorrect plural forums on WordPress.org

Making WordPress.org noreply at wordpress.org
Mon Nov 7 17:59:05 UTC 2016


#2216: Incorrect plural forums on WordPress.org
----------------------------+-----------------
 Reporter:  SergeyBiryukov  |      Owner:
     Type:  defect          |     Status:  new
 Priority:  normal          |  Milestone:
Component:  General         |   Keywords:
----------------------------+-----------------
 I've noticed a couple of incorrect declensions in some parts of
 WordPress.org.

 1. On https://ru.wordpress.org/plugins/comment-images-reloaded/, Last
 Update string uses an incorrect form:
 {{{
 Обновление: 5 месяца назад
 }}}
  Should be:
 {{{
 Обновление: 5 месяцев назад
 }}}
  The `%s month` string is
 [https://translate.wordpress.org/projects/meta/plugins/ru/default?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=218579
 properly translated] in GlotPress.

 2. On https://ru.wordpress.org/wp-admin/edit.php, the "67 items" string
 uses an incorrect form:
 {{{
 67 элемента
 }}}
  Should be:
 {{{
 67 элементов
 }}}
  The `%s items` string is
 [https://translate.wordpress.org/projects/wp/dev/admin/ru/default?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=216419
 properly translated] in GlotPress.

 I've checked the `admin-ru_RU.po` file on https://ru.wordpress.org/, and
 the `Plural-Forms` header looks correct and matches
 [https://www.gnu.org/software/gettext/manual/html_node/Plural-forms.html
 the one recommended by GNU.org] for Russian:
 {{{
 Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 &&
 n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n
 }}}

 In both examples above, the 2nd form (for 2—4 items) is used instead of
 the 3rd form (for 5+ or 0 items).

 Could not reproduce on a local install, so it appears to be specific to
 WordPress.org. Any ideas?

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2216>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list