more minor spelling fixes
This commit is contained in:
parent
b669d3e879
commit
e07d0a3b29
|
@ -265,7 +265,7 @@ class REST_Bulkedit_Controller extends REST_Controller {
|
|||
];
|
||||
} else {
|
||||
return new \WP_REST_Response([
|
||||
'error_message' => __('You mus specify items_ids OR use_query', 'tainacan'),
|
||||
'error_message' => __('You must specify items_ids OR use_query', 'tainacan'),
|
||||
], 400);
|
||||
}
|
||||
|
||||
|
@ -352,7 +352,7 @@ class REST_Bulkedit_Controller extends REST_Controller {
|
|||
if ( !in_array($method, ['trash_items', 'untrash_items', 'delete_items']) ) {
|
||||
if (empty($body)) {
|
||||
return new \WP_REST_Response([
|
||||
'error_message' => __('Body can not be empty.', 'tainacan'),
|
||||
'error_message' => __('Body cannot be empty.', 'tainacan'),
|
||||
], 400);
|
||||
}
|
||||
|
||||
|
|
|
@ -87,7 +87,7 @@ class REST_Collections_Controller extends REST_Controller {
|
|||
'permission_callback' => array($this, 'update_metadata_order_permissions_check'),
|
||||
'args' => [
|
||||
'metadata_order' => [
|
||||
'description' => __( 'The order of the metadata in the collection, an array of objects with integer id and bool enabled.', 'tainacan' ),
|
||||
'description' => __( 'The order of the metadata in the collection, an array of objects with integer ID and bool enabled.', 'tainacan' ),
|
||||
'required' => true,
|
||||
'validate_callback' => [$this, 'validate_filters_metadata_order']
|
||||
]
|
||||
|
@ -102,7 +102,7 @@ class REST_Collections_Controller extends REST_Controller {
|
|||
'permission_callback' => array($this, 'update_filters_order_permissions_check'),
|
||||
'args' => [
|
||||
'filters_order' => [
|
||||
'description' => __( 'The order of the filters in the collection, an array of objects with integer id and bool enabled.', 'tainacan' ),
|
||||
'description' => __( 'The order of the filters in the collection, an array of objects with integer ID and bool enabled.', 'tainacan' ),
|
||||
'required' => true,
|
||||
'validate_callback' => [$this, 'validate_filters_metadata_order']
|
||||
]
|
||||
|
@ -353,7 +353,7 @@ class REST_Collections_Controller extends REST_Controller {
|
|||
|
||||
if(empty($body)){
|
||||
return new \WP_REST_Response([
|
||||
'error_message' => __('Body can not be empty.', 'tainacan'),
|
||||
'error_message' => __('Body cannot be empty.', 'tainacan'),
|
||||
'collection' => $body
|
||||
], 400);
|
||||
}
|
||||
|
|
|
@ -637,7 +637,7 @@ class REST_Items_Controller extends REST_Controller {
|
|||
|
||||
if(empty($item)){
|
||||
return new \WP_REST_Response([
|
||||
'error_message' => __('Body can not be empty.', 'tainacan'),
|
||||
'error_message' => __('Body cannot be empty.', 'tainacan'),
|
||||
'item' => $item
|
||||
], 400);
|
||||
}
|
||||
|
@ -964,7 +964,7 @@ class REST_Items_Controller extends REST_Controller {
|
|||
|
||||
if(empty($item) || empty($metadata)) {
|
||||
return new \WP_REST_Response([
|
||||
'error_message' => __('Body can not be empty.', 'tainacan'),
|
||||
'error_message' => __('Body cannot be empty.', 'tainacan'),
|
||||
'item' => $item
|
||||
], 400);
|
||||
}
|
||||
|
|
|
@ -266,7 +266,7 @@ class REST_Metadata_Controller extends REST_Controller {
|
|||
}
|
||||
|
||||
return new \WP_REST_Response([
|
||||
'error_message' => __('Body can not be empty.', 'tainacan'),
|
||||
'error_message' => __('Body cannot be empty.', 'tainacan'),
|
||||
'item' => $request->get_body()
|
||||
], 400);
|
||||
|
||||
|
|
|
@ -167,7 +167,7 @@ class REST_Metadatum_Mappers_Controller extends REST_Controller {
|
|||
}
|
||||
}
|
||||
return new \WP_REST_Response([
|
||||
'error_message' => __('Body can not be empty.', 'tainacan'),
|
||||
'error_message' => __('Body cannot be empty.', 'tainacan'),
|
||||
'item' => $request->get_body()
|
||||
], 400);
|
||||
}
|
||||
|
|
|
@ -104,7 +104,7 @@ class REST_Sequence_Edit_Controller extends REST_Controller {
|
|||
} else {
|
||||
|
||||
return new \WP_REST_Response([
|
||||
'error_message' => __('You mus specify items_ids OR use_query', 'tainacan'),
|
||||
'error_message' => __('You must specify items_ids OR use_query', 'tainacan'),
|
||||
], 400);
|
||||
|
||||
}
|
||||
|
|
|
@ -390,7 +390,7 @@ class REST_Taxonomies_Controller extends REST_Controller {
|
|||
}
|
||||
} else {
|
||||
return new \WP_REST_Response([
|
||||
'error_message' => __('Body can not be empty.', 'tainacan'),
|
||||
'error_message' => __('Body cannot be empty.', 'tainacan'),
|
||||
'body' => $body
|
||||
], 400);
|
||||
}
|
||||
|
|
|
@ -450,12 +450,12 @@ class REST_Terms_Controller extends REST_Controller {
|
|||
$endpoint_args['metadatum_id'] = [
|
||||
'required' => false,
|
||||
'type' => 'integer',
|
||||
'description' => __('If term is being created in the context of a Taxonomy metadatum, inform its ID')
|
||||
'description' => __('If term is being created in the context of a Taxonomy metadatum, specify its ID')
|
||||
];
|
||||
$endpoint_args['item_id'] = [
|
||||
'required' => false,
|
||||
'type' => 'integer',
|
||||
'description' => __('If term is being created in the context of a Taxonomy metadatum, inform the ID of the item being edited')
|
||||
'description' => __('If term is being created in the context of a Taxonomy metadatum, specify the ID of the item being edited')
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
@ -362,7 +362,7 @@ class __Bulk_Edit {
|
|||
}
|
||||
|
||||
if ($new_value == $old_value) {
|
||||
return new \WP_Error( 'invalid_action', __( 'Old value and new value can not be the same', 'tainacan' ) );
|
||||
return new \WP_Error( 'invalid_action', __( 'Old value and new value cannot be the same', 'tainacan' ) );
|
||||
}
|
||||
|
||||
$dummyItem = new Entities\Item();
|
||||
|
@ -611,7 +611,7 @@ class __Bulk_Edit {
|
|||
global $wpdb;
|
||||
|
||||
if ($value == $newvalue) {
|
||||
return new \WP_Error( 'error', __( 'New value and old value can not be the same', 'tainacan' ) );
|
||||
return new \WP_Error( 'error', __( 'New value and old value cannot be the same', 'tainacan' ) );
|
||||
}
|
||||
|
||||
$taxRepo = Repositories\Taxonomies::get_instance();
|
||||
|
|
|
@ -288,7 +288,7 @@ class Filter extends Entity {
|
|||
if ($metadatum) {
|
||||
$metadatum_status_obj = get_post_status_object($metadatum->get_status());
|
||||
if ( ! $metadatum_status_obj->public ) {
|
||||
$this->add_error('status', __('Filter can not be public because the related metadatum is private', 'tainacan'));
|
||||
$this->add_error('status', __('Filter cannot be public because the related metadatum is private', 'tainacan'));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -462,7 +462,7 @@ class Metadatum extends Entity {
|
|||
if ( $this->get_parent() > 0 && $this->get_metadata_type_object()->get_primitive_type() == 'term' ) {
|
||||
$parent_metadatum = new \Tainacan\Entities\Metadatum($this->get_parent());
|
||||
if ( $parent_metadatum->is_multiple() ) {
|
||||
$this->add_error($this->get_id(), __('Taxonomy metadata can not be used inside Compound metadata with multiple values', 'tainacan'));
|
||||
$this->add_error($this->get_id(), __('Taxonomy metadata cannot be used inside Compound metadata with multiple values', 'tainacan'));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -478,7 +478,7 @@ class Metadatum extends Entity {
|
|||
, 'OBJECT');
|
||||
|
||||
if ( sizeof($children_taxonomy) > 0 ) {
|
||||
$this->add_error($this->get_id(), __('Taxonomy metadata can not be used inside Compound metadata with multiple values', 'tainacan'));
|
||||
$this->add_error($this->get_id(), __('Taxonomy metadata cannot be used inside Compound metadata with multiple values', 'tainacan'));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -237,7 +237,7 @@ class Term extends Entity {
|
|||
|
||||
if (false !== $term_exists) {
|
||||
if ($this->get_id() != $term_exists->term_id) {
|
||||
$this->add_error( 'name', __('You can not have two terms with the same name at the same level', 'tainacan') );
|
||||
$this->add_error( 'name', __('You cannot have two terms with the same name at the same level', 'tainacan') );
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -115,7 +115,7 @@ class Term_Exporter extends Exporter {
|
|||
<h5><?php _e('Source Taxonomy', 'tainacan'); ?></h5>
|
||||
</div>
|
||||
<div class="help-tooltip-body">
|
||||
<p><?php _e('Inform the taxonomy you want to export the terms from.', 'tainacan'); ?></p>
|
||||
<p><?php _e('Specify the taxonomy you want to export the terms from.', 'tainacan'); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</span>
|
||||
|
|
|
@ -435,7 +435,7 @@ class Bulk_Edit_Process extends Generic_Process {
|
|||
}
|
||||
|
||||
if ($new_value == $old_value) {
|
||||
$this->add_error_log( __( 'Old value and new value can not be the same', 'tainacan' ) );
|
||||
$this->add_error_log( __( 'Old value and new value cannot be the same', 'tainacan' ) );
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -462,7 +462,7 @@ class CSV extends Importer {
|
|||
<h5><?php _e('Server path', 'tainacan'); ?></h5>
|
||||
</div>
|
||||
<div class="help-tooltip-body">
|
||||
<p><?php _e("When using CSV special field to add documents or attachments that you've uploaded to the server, inform the full path to the folder here (e.g. /home/user/files/)", 'tainacan'); ?></p>
|
||||
<p><?php _e("When using CSV special field to add documents or attachments that you've uploaded to the server, specify the full path to the folder here (e.g. /home/user/files/)", 'tainacan'); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</span>
|
||||
|
|
|
@ -179,7 +179,7 @@ class Oaipmh_Importer extends Importer {
|
|||
$metadata_map = $this->create_collection_metadata($collection);
|
||||
$total = intval($this->get_total_items_from_source($setSpec));
|
||||
$this->add_log('total in collection: ' . $total);
|
||||
$this->add_log('collection id ' . (string) $collection->get_id());
|
||||
$this->add_log('collection ID ' . (string) $collection->get_id());
|
||||
|
||||
$this->add_collection([
|
||||
'id' => $collection->get_id(),
|
||||
|
@ -194,7 +194,7 @@ class Oaipmh_Importer extends Importer {
|
|||
$metadata_map = $this->create_collection_metadata($collection);
|
||||
$total = intval( $this->get_total_items_from_source(false) );
|
||||
$this->add_log('total in collection: ' . $total);
|
||||
$this->add_log('collection id ' . (string) $collection->get_id());
|
||||
$this->add_log('collection ID ' . (string) $collection->get_id());
|
||||
|
||||
$tax = new Entities\Taxonomy();
|
||||
$tax->set_name( $this->NAME_FOR_SETS );
|
||||
|
|
|
@ -80,7 +80,7 @@ class Old_Tainacan extends Importer{
|
|||
if ($tax->validate()) {
|
||||
$tax = $this->tax_repo->insert($tax);
|
||||
|
||||
$this->add_log('Taxonomy ' . $tax->get_name() . ' created, id from Old'. $taxonomy->term_id );
|
||||
$this->add_log('Taxonomy ' . $tax->get_name() . ' created, ID from Old'. $taxonomy->term_id );
|
||||
$this->add_transient('tax_' . $taxonomy->term_id . '_id', $tax->get_id());
|
||||
$this->add_transient('tax_' . $taxonomy->term_id . '_name', $tax->get_name());
|
||||
|
||||
|
@ -692,7 +692,7 @@ class Old_Tainacan extends Importer{
|
|||
|
||||
} else {
|
||||
$this->add_log('Added term: ' . $inserted_term->get_name() . ' in tax: ' . $taxonomy_father->get_name());
|
||||
$this->add_log('Added term before id ' . $term->term_id );
|
||||
$this->add_log('Added term before ID ' . $term->term_id );
|
||||
}
|
||||
|
||||
/*Insert old tainacan id*/
|
||||
|
|
|
@ -378,7 +378,7 @@ class Filters extends Repository {
|
|||
$original_meta_q = isset( $args['meta_query'] ) ? $args['meta_query'] : [];
|
||||
|
||||
/**
|
||||
* Since we introduced roles & capabalities management, we can not rely
|
||||
* Since we introduced roles & capabalities management, we cannot rely
|
||||
* on WordPress behavior when handling default post status values.
|
||||
* WordPress checks if the current user can read_priva_posts, but this is
|
||||
* not enough for us. We have to handle this ourselves to mimic WordPress behavior
|
||||
|
@ -476,7 +476,7 @@ class Filters extends Repository {
|
|||
$original_meta_q = isset( $args['meta_query'] ) ? $args['meta_query'] : [];
|
||||
|
||||
/**
|
||||
* Since we introduced roles & capabalities management, we can not rely
|
||||
* Since we introduced roles & capabalities management, we cannot rely
|
||||
* on WordPress behavior when handling default post status values.
|
||||
* WordPress checks if the current user can read_priva_posts, but this is
|
||||
* not enough for us. We have to handle this ourselves to mimic WordPress behavior
|
||||
|
|
|
@ -165,7 +165,7 @@ class Item_Metadata extends Repository {
|
|||
|
||||
if ( $taxonomy ) {
|
||||
|
||||
// We can not simply use wp_set_object_terms() because it uses term_exists() which is not reliable
|
||||
// We cannot simply use wp_set_object_terms() because it uses term_exists() which is not reliable
|
||||
// see https://core.trac.wordpress.org/ticket/45333 and https://core.trac.wordpress.org/ticket/47099
|
||||
// $success = wp_set_object_terms( $item_metadata->get_item()->get_id(), $new_terms, $taxonomy->get_db_identifier() );
|
||||
|
||||
|
|
|
@ -265,7 +265,7 @@ class Items extends Repository {
|
|||
$no_collection_set = false;
|
||||
|
||||
/**
|
||||
* We can not use $collections->fetch() here because facets
|
||||
* We cannot use $collections->fetch() here because facets
|
||||
* filter wp_query to just return the query and not the results
|
||||
* See Repositories\Metadata::fetch_all_metadatum_values()
|
||||
*
|
||||
|
|
|
@ -108,7 +108,7 @@ class Logs extends Repository {
|
|||
'object_id' => [
|
||||
'map' => 'meta',
|
||||
'title' => __( 'Log item relationship', 'tainacan' ),
|
||||
'description' => __( 'The id of the object that this log is related to', 'tainacan' ),
|
||||
'description' => __( 'The ID of the object that this log is related to', 'tainacan' ),
|
||||
],
|
||||
'object_type' => [
|
||||
'map' => 'meta',
|
||||
|
@ -117,7 +117,7 @@ class Logs extends Repository {
|
|||
],
|
||||
'old_value' => [
|
||||
'map' => 'meta',
|
||||
'title' => __( 'Old Value', 'tainacan' ),
|
||||
'title' => __( 'Old value', 'tainacan' ),
|
||||
],
|
||||
'new_value' => [
|
||||
'map' => 'meta',
|
||||
|
|
|
@ -114,7 +114,7 @@ class Metadata extends Repository {
|
|||
'title' => __( 'Unique value', 'tainacan' ),
|
||||
'type' => 'string',
|
||||
'description' => __( 'Metadata value should be unique accross all items in this collection', 'tainacan' ),
|
||||
'on_error' => __( 'You can not have two items with the same value for this metadatum', 'tainacan' ),
|
||||
'on_error' => __( 'You cannot have two items with the same value for this metadatum', 'tainacan' ),
|
||||
'validation' => v::stringType()->in( [ 'yes', 'no' ] ), // yes or no
|
||||
'default' => 'no'
|
||||
],
|
||||
|
@ -412,7 +412,7 @@ class Metadata extends Repository {
|
|||
$original_meta_q = isset( $args['meta_query'] ) ? $args['meta_query'] : [];
|
||||
|
||||
/**
|
||||
* Since we introduced roles & capabalities management, we can not rely
|
||||
* Since we introduced roles & capabalities management, we cannot rely
|
||||
* on WordPress behavior when handling default post status values.
|
||||
* WordPress checks if the current user can read_priva_posts, but this is
|
||||
* not enough for us. We have to handle this ourselves to mimic WordPress behavior
|
||||
|
@ -518,7 +518,7 @@ class Metadata extends Repository {
|
|||
$original_meta_q = isset( $args['meta_query'] ) ? $args['meta_query'] : [];
|
||||
|
||||
/**
|
||||
* Since we introduced roles & capabalities management, we can not rely
|
||||
* Since we introduced roles & capabalities management, we cannot rely
|
||||
* on WordPress behavior when handling default post status values.
|
||||
* WordPress checks if the current user can read_priva_posts, but this is
|
||||
* not enough for us. We have to handle this ourselves to mimic WordPress behavior
|
||||
|
|
|
@ -407,7 +407,7 @@ class Theme_Helper {
|
|||
* @type int $default_items_per_page Default number of items per page loaded
|
||||
* @type bool $show_filters_button_inside_search_control Display the "hide filters" button inside of the search control instead of floating
|
||||
* @type bool $start_with_filters_hidden Loads the filters list hidden from start
|
||||
* @type bool $filters_as_modal Display the filters as a modal instead of a collapsable region on desktop
|
||||
* @type bool $filters_as_modal Display the filters as a modal instead of a collapsible region on desktop
|
||||
* @type bool $show_inline_view_mode_options Display view modes as inline icon buttons instead of the dropdown
|
||||
* @type bool $show_fullscreen_with_view_modes Lists fullscreen viewmodes alongside with other view modes istead of separatelly
|
||||
* @type string $default_view_mode The default view mode
|
||||
|
|
|
@ -686,7 +686,7 @@ function tainacan_is_view_mode_enabled($view_mode_slug) {
|
|||
* @type int $default_items_per_page Default number of items per page loaded
|
||||
* @type bool $show_filters_button_inside_search_control Display the "hide filters" button inside of the search control instead of floating
|
||||
* @type bool $start_with_filters_hidden Loads the filters list hidden from start
|
||||
* @type bool $filters_as_modal Display the filters as a modal instead of a collapsable region on desktop
|
||||
* @type bool $filters_as_modal Display the filters as a modal instead of a collapsible region on desktop
|
||||
* @type bool $show_inline_view_mode_options Display view modes as inline icon buttons instead of the dropdown
|
||||
* @type bool $show_fullscreen_with_view_modes Lists fullscreen viewmodes alongside with other view modes istead of separatelly
|
||||
* @type string $default_view_mode The default view mode
|
||||
|
|
|
@ -77,11 +77,11 @@
|
|||
show: 500,
|
||||
hide: 300,
|
||||
},
|
||||
content: bgProcess.name ? bgProcess.name : $i18n.get('label_unamed_process'),
|
||||
content: bgProcess.name ? bgProcess.name : $i18n.get('label_unnamed_process'),
|
||||
autoHide: false, classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
|
||||
placement: 'auto-start'
|
||||
}">
|
||||
{{ bgProcess.name ? bgProcess.name : $i18n.get('label_unamed_process') }}</p>
|
||||
{{ bgProcess.name ? bgProcess.name : $i18n.get('label_unnamed_process') }}</p>
|
||||
</span>
|
||||
<!-- Progress -->
|
||||
<span
|
||||
|
|
|
@ -62,7 +62,7 @@ class Core_Description extends Metadata_Type {
|
|||
return true;
|
||||
|
||||
if ( $metadatum->get_multiple() != 'no') {
|
||||
return ['multiple' => __('Core Metadata can not accept multiple values', 'tainacan')];
|
||||
return ['multiple' => __('Core Metadata cannot accept multiple values', 'tainacan')];
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
@ -75,7 +75,7 @@ class Core_Title extends Metadata_Type {
|
|||
return true;
|
||||
|
||||
if ( $metadatum->get_multiple() != 'no') {
|
||||
return ['multiple' => __('Core Metadata can not accept multiple values', 'tainacan')];
|
||||
return ['multiple' => __('Core Metadata cannot accept multiple values', 'tainacan')];
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
@ -51,7 +51,7 @@ abstract class Metadata_Type {
|
|||
* Indicates whether this is a core Metadatum Type or not
|
||||
*
|
||||
* Core metadatum types are used by Title, Description and Author metadata. These metadata:
|
||||
* * Can only be used once, they belong to the repository and can not be deleted
|
||||
* * Can only be used once, they belong to the repository and cannot be deleted
|
||||
* * Its values are saved in th wp_post table, and not as post_meta
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
class="tainacan-icon tainacan-icon-18px"
|
||||
:class="{ 'tainacan-icon-arrowdown': processesCollapses[index], 'tainacan-icon-arrowright': !processesCollapses[index] }" />
|
||||
</span>
|
||||
<p>{{ bgProcess.name ? bgProcess.name : $i18n.get('label_unamed_process') }}</p>
|
||||
<p>{{ bgProcess.name ? bgProcess.name : $i18n.get('label_unnamed_process') }}</p>
|
||||
</div>
|
||||
<!-- <span
|
||||
v-if="bgProcess.done <= 0 && bgProcess.status == 'closed'"
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
}
|
||||
.button.is-primary, .button.is-secondary, .button.is-success {
|
||||
.icon {
|
||||
color: var(--taincan-background-color);
|
||||
color: var(--tainacan-background-color);
|
||||
}
|
||||
}
|
||||
.dropdown.is-disabled {
|
||||
|
|
|
@ -335,7 +335,7 @@ export default function ({ attributes, setAttributes, className, isSelected, cli
|
|||
/>
|
||||
<ToggleControl
|
||||
label={__('Hide the metadata collapses', 'tainacan')}
|
||||
help={ hideCollapses ? __('Do not show collapsable controls for each metadatum.', 'tainacan') : __('Toggle to show collapsable controls on each metadatum.', 'tainacan')}
|
||||
help={ hideCollapses ? __('Do not show collapsible controls for each metadatum.', 'tainacan') : __('Toggle to show collapsible controls on each metadatum.', 'tainacan')}
|
||||
checked={ hideCollapses }
|
||||
onChange={ ( isChecked ) => {
|
||||
hideCollapses = isChecked;
|
||||
|
@ -673,7 +673,7 @@ export default function ({ attributes, setAttributes, className, isSelected, cli
|
|||
tagName="p"
|
||||
value={ termsAgreementMessage }
|
||||
onChange={ ( inputContent ) => setAttributes( { termsAgreementMessage: inputContent } ) }
|
||||
placeholder={ __( 'Type here a message requiring the user to agree with certain conditions.' ) }
|
||||
placeholder={ __( 'Type a message requiring the user to agree with certain conditions.' ) }
|
||||
/>
|
||||
</div>
|
||||
: null
|
||||
|
|
|
@ -280,9 +280,9 @@ return apply_filters( 'tainacan-i18n', [
|
|||
'label_url' => __( 'URL', 'tainacan' ),
|
||||
'label_select_file' => __( 'Select file', 'tainacan' ),
|
||||
'label_selected_file' => __( 'Selected file', 'tainacan' ),
|
||||
/* translators: Label for collapsable, accordeon-like elements */
|
||||
/* translators: Label for collapsible, accordeon-like elements */
|
||||
'label_expand_all' => __( 'Expand all', 'tainacan' ),
|
||||
/* translators: Label for collapsable, accordeon-like elements */
|
||||
/* translators: Label for collapsible, accordeon-like elements */
|
||||
'label_collapse_all' => __( 'Collapse all', 'tainacan' ),
|
||||
'label_view_term' => __( 'View Term', 'tainacan' ),
|
||||
/* translators: 'Published' here refers to the sum of public and private items, not including draft or trashed ones. The are visible to those with permission */
|
||||
|
@ -386,7 +386,7 @@ return apply_filters( 'tainacan-i18n', [
|
|||
'label_delete_process' => __( 'Delete process', 'tainacan' ),
|
||||
'label_process_failed' => __( 'Process failed', 'tainacan' ),
|
||||
'label_max_options_to_show' => __( 'Max options to show', 'tainacan' ),
|
||||
'label_unamed_process' => __( 'Unnamed process', 'tainacan' ),
|
||||
'label_unnamed_process' => __( 'Unnamed process', 'tainacan' ),
|
||||
'loading_processes' => __( 'Loading processes', 'tainacan' ),
|
||||
'label_semantic_uri' => __( 'Semantic Uri', 'tainacan' ),
|
||||
'label_view_collection_on_website' => __( 'View collection on website', 'tainacan' ),
|
||||
|
@ -757,7 +757,7 @@ return apply_filters( 'tainacan-i18n', [
|
|||
'info_no_capabilities_found' => __( 'No capabilities found.', 'tainacan' ),
|
||||
'info_no_role_associated_capability' => __( 'No role associated to this capability', 'tainacan' ),
|
||||
'info_associated_roles' => __( 'These are the roles that have this capability set. You may add or remove the capability to customize the role.', 'tainacan' ),
|
||||
'info_inherited_roles' => __( 'These are the roles that have greater capabilities, which inherit this one. You can not edit this as it will not have precedence over the greater capability.', 'tainacan' ),
|
||||
'info_inherited_roles' => __( 'These are the roles that have greater capabilities, which inherit this one. You cannot edit this as it will not have precedence over the greater capability.', 'tainacan' ),
|
||||
'info_showing_terms' => __( 'Showing terms ', 'tainacan' ),
|
||||
'info_warning_remove_from_trash_first' => __( 'Remove this item from trash first' ),
|
||||
/* translators: This is displayed before sentences like "Showing items 2 to 8 of 12 */
|
||||
|
|
|
@ -164,8 +164,8 @@ class CoreMetadatumTypes extends TAINACAN_UnitTestCase {
|
|||
$core_title->set_multiple('yes');
|
||||
$core_description->set_multiple('yes');
|
||||
|
||||
$this->assertFalse($core_title->validate(), 'Core metadata should not validate because it can not allow it to have multiple');
|
||||
$this->assertFalse($core_description->validate(), 'Core metadata should not validate because it can not allow it to have multiple');
|
||||
$this->assertFalse($core_title->validate(), 'Core metadata should not validate because it cannot allow it to have multiple');
|
||||
$this->assertFalse($core_description->validate(), 'Core metadata should not validate because it cannot allow it to have multiple');
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue