Skip to content

Commit

Permalink
Editor: Remove leading whitespace from some translated strings.
Browse files Browse the repository at this point in the history
Merges [WordPress/gutenberg#44314 Gutenberg PR #44314] into trunk.

Follow-up to [54263] and [54269].

Props kebbet, bernhard-reiter.
See #56467.

git-svn-id: https://develop.svn.wordpress.org/trunk@54356 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
dream-encode authored and = committed Nov 4, 2022
1 parent fa8fb16 commit d63c577
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public function get_item_schema() {
'context' => array( 'view', 'edit', 'embed' ),
),
'post_types' => array(
'description' => __( ' An array of post types that the pattern is restricted to be used with.' ),
'description' => __( 'An array of post types that the pattern is restricted to be used with.' ),
'type' => 'array',
'readonly' => true,
'context' => array( 'view', 'edit', 'embed' ),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function register_routes() {
'required' => true,
),
'is_custom' => array(
'description' => __( ' Indicates if a template is custom or part of the template hierarchy' ),
'description' => __( 'Indicates if a template is custom or part of the template hierarchy' ),
'type' => 'boolean',
),
'template_prefix' => array(
Expand Down
4 changes: 2 additions & 2 deletions tests/qunit/fixtures/wp-api-generated.js
Original file line number Diff line number Diff line change
Expand Up @@ -5157,7 +5157,7 @@ mockedApiResponse.Schema = {
"required": true
},
"is_custom": {
"description": " Indicates if a template is custom or part of the template hierarchy",
"description": "Indicates if a template is custom or part of the template hierarchy",
"type": "boolean",
"required": false
},
Expand Down Expand Up @@ -5846,7 +5846,7 @@ mockedApiResponse.Schema = {
"required": true
},
"is_custom": {
"description": " Indicates if a template is custom or part of the template hierarchy",
"description": "Indicates if a template is custom or part of the template hierarchy",
"type": "boolean",
"required": false
},
Expand Down

0 comments on commit d63c577

Please sign in to comment.