Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add missing text domains #32

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions php/api/controller/class-audit-posts-controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
),
),
Expand Down Expand Up @@ -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' ),
),
),
),
Expand Down Expand Up @@ -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',
),
),
Expand All @@ -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(
Expand Down Expand Up @@ -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',
),
),
Expand Down Expand Up @@ -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,
)
Expand Down Expand Up @@ -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,
)
Expand Down Expand Up @@ -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,
)
Expand Down