[wp-trac] [WordPress Trac] #12968: I18n-friendly strings for the new system of post types

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 23 09:02:33 UTC 2010


#12968: I18n-friendly strings for the new system of post types
--------------------------+-------------------------------------------------
 Reporter:  demetris      |       Owner:  nbachiyski 
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  3.0        
Component:  i18n          |     Version:  3.0        
 Severity:  blocker       |    Keywords:  needs-patch
--------------------------+-------------------------------------------------

Comment(by demetris):

 Question that arises as I look at the post-type strings and at the custom
 taxonomies stuff:

 What will the extra needed args/strings default to?

 Now {{{label}}} (plural) defaults to {{{$post_type}}}, and then
 {{{singular_label}}} defaults to {{{label}}}.  But that cannot work for
 strings of two or more words.

 We can make all such strings required, or maybe we can introduce generic
 strings for defaults.

 E.g., for taxonomies:

   * ''Add new term''
   * ''Update term''

 And for post types:

   * ''Edit items'' or ''Edit articles''
   * ''Add new item'' or ''Add new article''

 Or probably there is another, better solution?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12968#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list