[wp-trac] [WordPress Trac] #16406: Admin bar localization
WordPress Trac
wp-trac at lists.automattic.com
Sat Jan 29 18:25:58 UTC 2011
#16406: Admin bar localization
--------------------------+------------------
Reporter: pavelevap | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: I18N | Version: 3.1
Severity: normal | Resolution:
Keywords: needs-patch |
--------------------------+------------------
Comment (by garyc40):
Right now {{{wp_admin_bar_new_content_menu()}}} is using singular name
label of post type objects. As a result, the default value is
{{{_x('Post', 'post type singular name')}}} .
Perhaps we should add another label type for this case, however
{{{add_new}}} and {{{add_new_item}}} are already taken:
{{{
'add_new' => array( _x('Add New', 'post'), _x('Add New', 'page') ),
'add_new_item' => array( __('Add New Post'), __('Add New Page') ),
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16406#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list