[wp-meta] [Making WordPress.org] #764: Cannot translate the message for the case which result is multiple because it use string branch for plural form

Making WordPress.org noreply at wordpress.org
Tue Dec 9 21:00:54 UTC 2014


#764: Cannot translate the message for the case which result is multiple because
it use string branch for plural form
------------------------+-------------------------------
  Reporter:  mayukojpn  |      Owner:
      Type:  task       |     Status:  closed
  Priority:  normal     |  Component:  Plugins Directory
Resolution:  fixed      |   Keywords:
------------------------+-------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:2 coffee2code]:
 > In your [https://meta.trac.wordpress.org/ticket/665#comment:1 suggested
 solution in #665], should the singular string actually be "%s plugin
 found", or should it match the plural "Showing %s-%s of %s plugins"?

 "Showing %s-%s of %s plugins" in the singular string was intentional, as
 the condition above makes sure it's only displayed if `$plugin_count > 1`.

 The point is to allow for this type of string in languages which use the
 single form for numbers greater than 1.

 We could use "Showing %s-%s of %s plugin" if that makes more sense, but it
 doesn't really make a difference, since this form won't be displayed in
 English, and other languages would translate it according to their plural
 form rules.

 I can't see what [dotorg9228] is, but if it's the same as in my comment,
 then I think we're good. Thanks Ian!

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/764#comment:4>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list