[wp-trac] [WordPress Trac] #26303: wp_dashboard_right_now() does not allow plural forms

WordPress Trac noreply at wordpress.org
Thu Nov 28 12:12:24 UTC 2013


#26303: wp_dashboard_right_now() does not allow plural forms
--------------------------+-----------------------------
 Reporter:  pavelevap     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  I18N          |    Version:  trunk
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Site Content

 Example: "15 Pages"

 WordPress 3.7:

 {{{
 sprintf( _n( '%s page', '%s pages', $num_pages->publish )
 }}}

 So, for translators there could be "3 Stránky" and "10 Stránek"

 WordPress 3.8:

 There is only printf() function with $post_type_obj->label.

 So, there is everytime "3 Stránky" and "10 Stránky" (which is wrong for
 our locale).

 And also there is no need for capitalized first letter in our language
 (and it could not be changed).

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26303>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list