terminology fix - inform -> specify
This commit is contained in:
parent
ff6d9924fd
commit
9f3254eec1
|
@ -246,7 +246,7 @@ class REST_Background_Processes_Controller extends REST_Controller {
|
|||
|
||||
if ( !isset($body['status']) || ($body['status'] != 'open' && $body['status'] != 'closed') ) {
|
||||
return new \WP_REST_Response([
|
||||
'error_message' => __('Status must be informed', 'tainacan' ),
|
||||
'error_message' => __('Status must be specified', 'tainacan' ),
|
||||
'session_id' => $id
|
||||
], 400);
|
||||
}
|
||||
|
|
|
@ -126,7 +126,7 @@ class REST_Items_Controller extends REST_Controller {
|
|||
'type' => 'integer'
|
||||
),
|
||||
'status' => array(
|
||||
'description' => __('Try to assign the informed status to the duplicates if they validate. By default it will save them as drafts.', 'tainacan'),
|
||||
'description' => __('Try to assign the specified status to the duplicates if they validate. By default it will save them as drafts.', 'tainacan'),
|
||||
'type' => 'string'
|
||||
),
|
||||
)
|
||||
|
|
|
@ -35,7 +35,7 @@ class __Bulk_Edit {
|
|||
*
|
||||
* The object can be initialized in three different ways:
|
||||
* 1. passing an array of Items IDs, using the items_ids params
|
||||
* 2. passing a query array, that will be passed to the fetch method of items repository to create the group (in this case you also need to inform the collection id)
|
||||
* 2. passing a query array, that will be passed to the fetch method of items repository to create the group (in this case you also need to specify the collection ID)
|
||||
* 3. passing an group ID, generated by this class in a previous initialization using one of the methods above.
|
||||
*
|
||||
* When initializing using methods 1 or 2, controllers should then call the get_id() method and store it if they want to perform future requests that wil affect this same group of items
|
||||
|
@ -72,7 +72,7 @@ class __Bulk_Edit {
|
|||
if (isset($params['query']) && is_array($params['query'])) {
|
||||
|
||||
if (!isset($params['collection_id']) || !is_numeric($params['collection_id'])) {
|
||||
throw new \Exception('Collection ID must be informed when creating a group via query');
|
||||
throw new \Exception('Collection ID must be specified when creating a group via query');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -853,7 +853,7 @@ class Collection extends Entity {
|
|||
}
|
||||
|
||||
if( $this->is_cover_page_enabled() && !is_numeric( $this->get_cover_page_id() ) ) {
|
||||
$this->add_error('cover_page_id', __('cover page is enabled, please inform the page', 'tainacan'));
|
||||
$this->add_error('cover_page_id', __('cover page is enabled, please specify the page', 'tainacan'));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ class Bulk_Edit_Process extends Generic_Process {
|
|||
}
|
||||
|
||||
if (!isset($params['collection_id']) || !is_numeric($params['collection_id'])) {
|
||||
throw new \Exception('Collection ID must be informed when creating a group.');
|
||||
throw new \Exception('Collection ID must be specified when creating a group.');
|
||||
}
|
||||
|
||||
$this->set_group_id(uniqid());
|
||||
|
|
|
@ -405,7 +405,7 @@ class CSV extends Importer {
|
|||
<h5><?php _e('Empty value', 'tainacan'); ?></h5>
|
||||
</div>
|
||||
<div class="help-tooltip-body">
|
||||
<p><?php _e('The string representing a value not informed for the metadata. (e.g. \EMPTY)', 'tainacan'); ?></p>
|
||||
<p><?php _e('The string representing a value not specified for the metadata. (e.g. \EMPTY)', 'tainacan'); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</span>
|
||||
|
|
|
@ -79,7 +79,7 @@ class Term_Importer extends Importer {
|
|||
<h5><?php _e('Existing Taxonomy', 'tainacan'); ?></h5>
|
||||
</div>
|
||||
<div class="help-tooltip-body">
|
||||
<p><?php _e('Inform the taxonomy you want to import the terms to.', 'tainacan'); ?></p>
|
||||
<p><?php _e('Specify the taxonomy you want to import the terms to.', 'tainacan'); ?></p>
|
||||
<p><?php _e('Select an existing taxonomy or create a new one on the fly.', 'tainacan'); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue