From 9e1eb2c621a117c3493531f0ca096e811dd46f0a Mon Sep 17 00:00:00 2001 From: akkspros Date: Tue, 4 Feb 2020 17:19:10 +0500 Subject: [PATCH] add missing text domains --- .../class-audit-posts-controller.php | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/php/api/controller/class-audit-posts-controller.php b/php/api/controller/class-audit-posts-controller.php index 6f677e9..654c614 100755 --- a/php/api/controller/class-audit-posts-controller.php +++ b/php/api/controller/class-audit-posts-controller.php @@ -103,7 +103,7 @@ public function register_routes() { $args = array( 'args' => array( 'altid' => array( - 'description' => __( 'An alternate unique id to query on (e.g. checksum)' ), + 'description' => __( 'An alternate unique id to query on (e.g. checksum)', 'tide-api' ), 'type' => 'string', ), ), @@ -145,7 +145,7 @@ public function register_routes() { 'force' => array( 'type' => 'boolean', 'default' => false, - 'description' => __( 'Whether to bypass trash and force deletion.' ), + 'description' => __( 'Whether to bypass trash and force deletion.', 'tide-api' ), ), ), ), @@ -185,11 +185,11 @@ public function register_routes() { $args = array( 'args' => array( 'project_client' => array( - 'description' => __( 'User login name representing a project client.' ), + 'description' => __( 'User login name representing a project client.', 'tide-api' ), 'type' => 'string', ), 'project_type' => array( - 'description' => __( 'The project type: theme or plugin.' ), + 'description' => __( 'The project type: theme or plugin.', 'tide-api' ), 'type' => 'string', ), ), @@ -215,11 +215,11 @@ public function register_routes() { $args = array( 'args' => array( 'project_client' => array( - 'description' => __( 'User login name representing a project client.' ), + 'description' => __( 'User login name representing a project client.', 'tide-api' ), 'type' => 'string', ), 'project_type' => array( - 'description' => __( 'The project type: theme or plugin.' ), + 'description' => __( 'The project type: theme or plugin.', 'tide-api' ), 'type' => 'string', ), 'project_slug' => array( @@ -249,19 +249,19 @@ public function register_routes() { $args = array( 'args' => array( 'project_client' => array( - 'description' => __( 'User login name representing a project client.' ), + 'description' => __( 'User login name representing a project client.', 'tide-api' ), 'type' => 'string', ), 'project_type' => array( - 'description' => __( 'The project type: theme or plugin.' ), + 'description' => __( 'The project type: theme or plugin.', 'tide-api' ), 'type' => 'string', ), 'project_slug' => array( - 'description' => __( 'The taxonomy term representing the project.' ), + 'description' => __( 'The taxonomy term representing the project.', 'tide-api' ), 'type' => 'string', ), 'version' => array( - 'description' => __( 'The version representing the project.' ), + 'description' => __( 'The version representing the project.', 'tide-api' ), 'type' => 'string', ), ), @@ -307,7 +307,7 @@ public function get_items( $request ) { if ( false === $user ) { return new \WP_Error( 'tide_audit_invalid_project_client', - __( 'Invalid project client.' ), + __( 'Invalid project client.', 'tide-api' ), array( 'status' => 404, ) @@ -385,7 +385,7 @@ public function get_items( $request ) { if ( empty( $posts ) ) { return new \WP_Error( 'tide_audit_invalid_item', - __( 'Invalid item.' ), + __( 'Invalid item.', 'tide-api' ), array( 'status' => 404, ) @@ -1157,7 +1157,7 @@ public function get_altid_post( $request ) { if ( false === $user ) { return new \WP_Error( 'tide_audit_invalid_project_client', - __( 'Invalid project client.' ), + __( 'Invalid project client.', 'tide-api' ), array( 'status' => 404, )