I18N: Use a consistent context for "Add New" submenu strings in admin bar (Toolbar).
Props ramiy. Fixes #37780. git-svn-id: https://develop.svn.wordpress.org/trunk@38326 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
afd7e3b16d
commit
862b5a554f
@ -20,7 +20,7 @@
|
||||
function create_initial_post_types() {
|
||||
register_post_type( 'post', array(
|
||||
'labels' => array(
|
||||
'name_admin_bar' => _x( 'Post', 'add new on admin bar' ),
|
||||
'name_admin_bar' => _x( 'Post', 'add new from admin bar' ),
|
||||
),
|
||||
'public' => true,
|
||||
'_builtin' => true, /* internal use only. don't use this when registering your own post type. */
|
||||
@ -37,7 +37,7 @@ function create_initial_post_types() {
|
||||
|
||||
register_post_type( 'page', array(
|
||||
'labels' => array(
|
||||
'name_admin_bar' => _x( 'Page', 'add new on admin bar' ),
|
||||
'name_admin_bar' => _x( 'Page', 'add new from admin bar' ),
|
||||
),
|
||||
'public' => true,
|
||||
'publicly_queryable' => false,
|
||||
|
Loading…
Reference in New Issue
Block a user