Several translations updates.
This commit is contained in:
parent
bca3d2dfe2
commit
6db0755654
|
@ -205,7 +205,7 @@ class REST_Importers_Controller extends REST_Controller {
|
|||
if (is_array($value) && isset($value['id'])) {
|
||||
if ($importer->add_collection($value) === false ) {
|
||||
return new \WP_REST_Response([
|
||||
'error_message' => __('Error on creating metadata, please review the metadata description', 'tainacan' ),
|
||||
'error_message' => __('Error while creating metadatum, please review the metadatum description.', 'tainacan' ),
|
||||
'session_id' => $session_id
|
||||
], 400);
|
||||
}
|
||||
|
|
|
@ -84,7 +84,7 @@ abstract class Exporter {
|
|||
* This array holds the structure that the default step 'process_collections' will handle.
|
||||
*
|
||||
* Its an array of the target collections, with their IDs, an identifier from the source, the total number of items to be importer/exporter, the mapping array
|
||||
* from the source structure to the ID of the metadata metadata in tainacan
|
||||
* from the source structure to the ID of the metadata in tainacan
|
||||
*
|
||||
* The format of the map is an array where the keys are the metadata IDs of the destination collection and the
|
||||
* values are the identifier from the source. This could be an ID or a string or whatever the importer/exporter finds appropriate to handle
|
||||
|
|
|
@ -9,13 +9,13 @@ namespace Tainacan\Exposers;
|
|||
class JSON_flat extends Exposer {
|
||||
|
||||
public $slug = 'json-flat'; // type slug for url safe
|
||||
public $name = 'simple JSON (JavaScript Object Notation) for tainacan items';
|
||||
public $name = 'Simple JSON (JavaScript Object Notation) for tainacan items';
|
||||
public $accept_no_mapper = true;
|
||||
protected $mappers = true;
|
||||
|
||||
function __construct() {
|
||||
$this->set_name( __('Simple JSON', 'tainacan') );
|
||||
$this->set_description( __('simple JSON for tainacan items', 'tainacan') );
|
||||
$this->set_description( __('Simple JSON for tainacan items', 'tainacan') );
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -965,7 +965,7 @@ class CSV extends Importer {
|
|||
if( !is_numeric($metadatum_id) ) {
|
||||
$metadatum = $this->create_new_metadata( $header, $collection['id']);
|
||||
if ( $metadatum == false ) {
|
||||
$this->add_error_log( __("Error on creating metadata metadata, please review the metadata description.", 'tainacan') );
|
||||
$this->add_error_log( __("Error while creating metadatum, please review the metadatum description.", 'tainacan') );
|
||||
$this->abort();
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ abstract class Importer {
|
|||
* This array holds the structure that the default step 'process_collections' will handle.
|
||||
*
|
||||
* Its an array of the target collections, with their IDs, an identifier from the source, the total number of items to be imported, the mapping array
|
||||
* from the source structure to the ID of the metadata metadata in tainacan
|
||||
* from the source structure to the ID of the metadata in tainacan
|
||||
*
|
||||
* The format of the map is an array where the keys are the metadata IDs of the destination collection and the
|
||||
* values are the identifier from the source. This could be an ID or a string or whatever the importer finds appropriate to handle
|
||||
|
|
|
@ -115,7 +115,7 @@ class Taxonomy extends Metadata_Type {
|
|||
|
||||
$options = $metadatum->get_metadata_type_options();
|
||||
if ( !$metadatum->is_multiple() && $this->get_option('input_type') !== 'tainacan-taxonomy-radio' ) {
|
||||
return ['input_type' => __('A taxonomy metadata that accepts simple values should use a radio type input', 'tainacan')];
|
||||
return ['input_type' => __('A taxonomy metadata that does not accept multiple values should use a radio type input', 'tainacan')];
|
||||
}
|
||||
|
||||
$Tainacan_Metadata = Metadata::get_instance();
|
||||
|
|
|
@ -108,7 +108,7 @@
|
|||
class="tainacan-finder-column"
|
||||
:key="finderColumn.label + '-' + key">
|
||||
<p class="column-label">
|
||||
{{ finderColumn.label ? finderColumn.label : $i18n.get('label_terms_without_parent') }}
|
||||
{{ finderColumn.label ? finderColumn.label : $i18n.get('label_root_terms') }}
|
||||
</p>
|
||||
<ul v-if="finderColumn.children.length">
|
||||
<b-field
|
||||
|
|
|
@ -104,7 +104,7 @@
|
|||
class="tainacan-finder-column"
|
||||
:key="finderColumn.label + '-' + key">
|
||||
<p class="column-label">
|
||||
{{ finderColumn.label ? finderColumn.label : $i18n.get('label_terms_without_parent') }}
|
||||
{{ finderColumn.label ? finderColumn.label : $i18n.get('label_root_terms') }}
|
||||
</p>
|
||||
<ul v-if="finderColumn.children.length">
|
||||
<b-field
|
||||
|
@ -221,12 +221,12 @@
|
|||
</b-radio>
|
||||
</li>
|
||||
</template>
|
||||
<template v-if="!searchResults.length">
|
||||
<template v-if="!isLoadingSearch && !searchResults.length">
|
||||
<li class="tainacan-li-search-results result-info">
|
||||
{{ $i18n.get('info_no_terms_found') }}
|
||||
</li>
|
||||
</template>
|
||||
<template v-if="allowNew && !searchResults.length">
|
||||
<template v-if="!isLoadingSearch && allowNew && !searchResults.length">
|
||||
<li class="tainacan-li-search-results result-info">
|
||||
<a @click="$emit('showAddNewTerm', { name: optionName })">
|
||||
{{ $i18n.get('label_new_term') + ' "' + optionName + '"' }}
|
||||
|
|
|
@ -475,8 +475,8 @@ return apply_filters( 'tainacan-admin-i18n', [
|
|||
'label_submit' => __( 'Submit', 'tainacan' ),
|
||||
'label_know_more' => __( 'Know more', 'tainacan' ),
|
||||
'label_request_details' => __( 'Request details', 'tainacan' ),
|
||||
'label_terms_without_parent' => __( 'Terms without parent', 'tainacan' ),
|
||||
'label_see_on_slideshow' => __( 'See on slideshow', 'tainacan' ),
|
||||
'label_root_terms' => __( 'Root terms', 'tainacan' ),
|
||||
'label_see_on_fullscreen' => __( 'See on fullscreen', 'tainacan' ),
|
||||
'label_gallery_help' => __( 'Help with the gallery view mode', 'tainacan' ),
|
||||
'label_space_key' => __( 'SPACE', 'tainacan' ),
|
||||
'label_esc_key' => __( 'ESC', 'tainacan' ),
|
||||
|
@ -756,7 +756,7 @@ return apply_filters( 'tainacan-admin-i18n', [
|
|||
'info_submission_uploading' => __( 'Please, wait while files are uploaded', 'tainacan'),
|
||||
'info_thumbnail_alt' => __( 'The alternative text of the thumbnail is visible only by screen readers and should be usefull for users with visual impariments.', 'tainacan'),
|
||||
'info_edit_attachments' => __( 'Order, title or alternative text of the attachments, are edited via the WordPress media modal.', 'tainacan' ),
|
||||
'info_recaptcha_link_%s' => __( 'Remember to configure your website reCAPTCHA keys on <a href="%s">the item submission repository page</a>.', 'tainacan'),
|
||||
'info_recaptcha_link_%s' => __( 'Remember to configure your website reCAPTCHA keys on <a href="%s" target="_blank">the item submission repository page</a>.', 'tainacan'),
|
||||
'info_form_not_loaded' => __( 'There are probably not enought permissions to display it here.', 'tainacan'),
|
||||
|
||||
// Datepicker months
|
||||
|
@ -794,11 +794,11 @@ return apply_filters( 'tainacan-admin-i18n', [
|
|||
'error_connectivity' => __('It is possible that you are disconnected or the server is not working properly.', 'tainacan'),
|
||||
'error_400' => __('Some request went wrong due to invalid syntax.', 'tainacan'),
|
||||
'error_401' => __('You must authenticate to get access this information. Try logging again on the WordPress Admin panel.', 'tainacan'),
|
||||
'error_403' => __('It seems that you are not allowed to acess this content.', 'tainacan'),
|
||||
'error_403' => __('It seems that you are not allowed to access this content.', 'tainacan'),
|
||||
'error_404' => __('A wrong request was made or this information does not exist.', 'tainacan'),
|
||||
'error_408' => __('This request exceeded the server expected timeout.', 'tainacan'),
|
||||
'error_500' => __('An internal server error occurred. Try to contact the administrator.', 'tainacan'),
|
||||
'error_502' => __('A communication error between servers went wrong. Try to contact the administrator.', 'tainacan'),
|
||||
'error_502' => __('A communication between servers went wrong. Try to contact the administrator.', 'tainacan'),
|
||||
'error_503' => __('Some service is not available now. Try again later and if it persists, contact the administrator.', 'tainacan'),
|
||||
'error_504' => __('The server communication exceeded the expected timeout. Try contact the administrator.', 'tainacan'),
|
||||
'error_511' => __('You must authenticate to get access this information. Try logging again on the WordPress Admin panel.', 'tainacan'),
|
||||
|
@ -806,7 +806,7 @@ return apply_filters( 'tainacan-admin-i18n', [
|
|||
'error_connectivity_detail' => __('The WordPress Heartbit API sends requests periodically to the server to update some information. The latest request failed for some reason. It can be the case of a lost connection or bad communication between the browser and the server.', 'tainacan'),
|
||||
'error_400_detail' => __('The server could not understand the request due to invalid syntax. This is possibily an issue with Tainacan and should be informed to developers.', 'tainacan'),
|
||||
'error_401_detail' => __('You must authenticate to get access this information. Even if you have access to the Tainacan admin panel, it may be the case that your session cookies were lost. Try reloading the page or logging again on the WordPress Admin panel.', 'tainacan'),
|
||||
'error_403_detail' => __('It seems that you are not allowed to acess this content. Your user might have a role with insufficient capabilities. If that is not the case, check if you are correctly logged in on the WordPress Admin panel.', 'tainacan'),
|
||||
'error_403_detail' => __('It seems that you are not allowed to access this content. Your user might have a role with insufficient capabilities. If that is not the case, check if you are correctly logged in on the WordPress Admin panel.', 'tainacan'),
|
||||
'error_404_detail' => __('A wrong request was made or this information does not exist. This can either mean some connection error occurred just now or the content that you are looking for was requested wrongly. In that case, it might be worthy to inform Tainacan developers about the issue.', 'tainacan'),
|
||||
'error_408_detail' => __('This request exceeded the server expected timeout. This can be caused by a slow connection or connectivity issues. If it is not somehting noticeable in other pages, try to contact the administrator.', 'tainacan'),
|
||||
'error_500_detail' => __('An internal server error occurred. This error can occur for a variety of reasons, and a more detailed description shall be find on the server logs. Try to contact the administrator and provide information of the moment when the error ocurred.', 'tainacan'),
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
show: 500,
|
||||
hide: 100,
|
||||
},
|
||||
content: $i18n.get('label_see_on_slideshow'),
|
||||
content: $i18n.get('label_see_on_fullscreen'),
|
||||
placement: 'auto-start'
|
||||
}"
|
||||
@click.prevent="starSlideshowFromHere(index)"
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
show: 500,
|
||||
hide: 100,
|
||||
},
|
||||
content: $i18n.get('label_see_on_slideshow'),
|
||||
content: $i18n.get('label_see_on_fullscreen'),
|
||||
placement: 'auto-start'
|
||||
}"
|
||||
@click.prevent="starSlideshowFromHere(index)"
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
show: 500,
|
||||
hide: 100,
|
||||
},
|
||||
content: $i18n.get('label_see_on_slideshow'),
|
||||
content: $i18n.get('label_see_on_fullscreen'),
|
||||
placement: 'auto-start'
|
||||
}"
|
||||
@click.prevent="starSlideshowFromHere(index)"
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
show: 500,
|
||||
hide: 100,
|
||||
},
|
||||
content: $i18n.get('label_see_on_slideshow'),
|
||||
content: $i18n.get('label_see_on_fullscreen'),
|
||||
placement: 'auto-start'
|
||||
}"
|
||||
@click.prevent="starSlideshowFromHere(index)"
|
||||
|
|
|
@ -189,7 +189,7 @@
|
|||
show: 500,
|
||||
hide: 100,
|
||||
},
|
||||
content: $i18n.get('label_see_on_slideshow'),
|
||||
content: $i18n.get('label_see_on_fullscreen'),
|
||||
placement: 'auto-start'
|
||||
}"
|
||||
@click.prevent="starSlideshowFromHere(index)"
|
||||
|
|
Loading…
Reference in New Issue