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 25, 2021
1 parent b397407 commit 8ca07a4
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -395,7 +395,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 @@ -607,7 +607,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 8ca07a4

Please sign in to comment.