Skip to content

Commit

Permalink
Add translation domains
Browse files Browse the repository at this point in the history
  • Loading branch information
talldan committed Nov 29, 2021
1 parent 905ba6e commit bd3680c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ protected function prepare_item_for_database( $request ) {
if ( ! $user_obj ) {
return new WP_Error(
'rest_invalid_author',
__( 'Invalid author ID.' ),
__( 'Invalid author ID.', 'gutenberg' ),
array( 'status' => 400 )
);
}
Expand Down Expand Up @@ -642,7 +642,7 @@ public function get_item_schema() {
'readonly' => true,
),
'author' => array(
'description' => __( 'The ID for the author of the template.' ),
'description' => __( 'The ID for the author of the template.', 'gutenberg' ),
'type' => 'integer',
'context' => array( 'view', 'edit', 'embed' ),
),
Expand Down

0 comments on commit bd3680c

Please sign in to comment.