OSDN Git Service

remove label from add_new default and move it above add_new_item, to make the differe...
authorscribu <mail@scribu.net>
Tue, 12 Nov 2013 20:41:56 +0000 (22:41 +0200)
committerscribu <mail@scribu.net>
Tue, 12 Nov 2013 20:41:58 +0000 (22:41 +0200)
see #868

templates/post_type.mustache

index 51f0faa..201a2fa 100644 (file)
                'labels'            => array(
                        'name'                => __( '{{label_plural_ucfirst}}', '{{textdomain}}' ),
                        'singular_name'       => __( '{{label_ucfirst}}', '{{textdomain}}' ),
-                       'add_new'             => __( 'Add New {{label}}', '{{textdomain}}' ),
                        'all_items'           => __( '{{label_plural_ucfirst}}', '{{textdomain}}' ),
+                       'new_item'            => __( 'New {{label}}', '{{textdomain}}' ),
+                       'add_new'             => __( 'Add New', '{{textdomain}}' ),
                        'add_new_item'        => __( 'Add New {{label}}', '{{textdomain}}' ),
                        'edit_item'           => __( 'Edit {{label}}', '{{textdomain}}' ),
-                       'new_item'            => __( 'New {{label}}', '{{textdomain}}' ),
                        'view_item'           => __( 'View {{label}}', '{{textdomain}}' ),
                        'search_items'        => __( 'Search {{label_plural}}', '{{textdomain}}' ),
                        'not_found'           => __( 'No {{label_plural}} found', '{{textdomain}}' ),