[wp-trac] [WordPress Trac] #9122: Localize string for recent comments mismatched.

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 13 14:25:23 GMT 2009


#9122: Localize string for recent comments mismatched.
--------------------------+-------------------------------------------------
 Reporter:  lilyfan       |       Owner:  nbachiyski
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  2.7.2     
Component:  i18n          |     Version:  2.7       
 Severity:  normal        |    Keywords:  dashboard 
--------------------------+-------------------------------------------------
 The localize string '%1$s on %2$s' (for recent comments) is not suitable
 for dashboard. This must be changed.

 '%1$s on %2$s' is shown at line 4083 at ja.po,
 and used at two places.

  #: wp-admin/includes/dashboard.php:520

  #: wp-includes/widgets.php:1401

 This string is translated as "(投稿タイトル) に (コメント種別) より" (meanings: "for
 (title) from (comment type)") at the dashboard. This translation is no
 good, because "より" (== from) is redundant.

 The root cause is that mismatch of purpose of "%1$s":
 At dashboard.php: it represents comment type.
 At widgets.php: it represents commenter author's name.

 This localize string must be separated each other.

 I suggest that '%1$s on %2$s' is only for dashboard.php, and for
 widgets.php, the existing string 'From %1$s on %2$s%3$' is suitable.

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


More information about the wp-trac mailing list