mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Editor: update string incorrectly marked for translation in Chrome.
Update the Pattern post type `edit_item` label to be `Edit Block Pattern` instead of `Edit Pattern` so Chrome doesn’t open the translation modal. Props andrewserong,, ramonopoly, eric.7186, audrasjb, wildworks, Toro_Unit. Fixes #58716. git-svn-id: https://develop.svn.wordpress.org/trunk@56200 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -287,7 +287,7 @@ function create_initial_post_types() {
|
||||
'add_new' => _x( 'Add New', 'Pattern' ),
|
||||
'add_new_item' => __( 'Add new Pattern' ),
|
||||
'new_item' => __( 'New Pattern' ),
|
||||
'edit_item' => __( 'Edit Pattern' ),
|
||||
'edit_item' => __( 'Edit Block Pattern' ),
|
||||
'view_item' => __( 'View Pattern' ),
|
||||
'view_items' => __( 'View Patterns' ),
|
||||
'all_items' => __( 'All Patterns' ),
|
||||
|
||||
Reference in New Issue
Block a user