Tweaks to bring alternative text to outside of the modal.

This commit is contained in:
mateuswetah 2022-03-28 15:55:00 -03:00
parent 440dab1cf8
commit bbc147da7d
2 changed files with 12 additions and 2 deletions

View File

@ -514,6 +514,16 @@
:alt="$i18n.get('label_thumbnail')" :alt="$i18n.get('label_thumbnail')"
:src="$thumbHelper.getEmptyThumbnailPlaceholder(item.document_mimetype)"> :src="$thumbHelper.getEmptyThumbnailPlaceholder(item.document_mimetype)">
</figure> </figure>
<b-field
:addons="false"
:label="$i18n.get('label_thumbnail_alt')">
<help-button
:title="$i18n.get('label_thumbnail_alt')"
:message="$i18n.get('info_thumbnail_alt')"/>
<b-input
id="tainacan-text-description"
type="textarea" />
</b-field>
<div class="thumbnail-buttons-row"> <div class="thumbnail-buttons-row">
<a <a
class="button is-rounded is-secondary" class="button is-rounded is-secondary"

View File

@ -176,7 +176,7 @@ return apply_filters( 'tainacan-i18n', [
'label_slug' => __( 'Slug', 'tainacan' ), 'label_slug' => __( 'Slug', 'tainacan' ),
'label_image' => __( 'Image', 'tainacan' ), 'label_image' => __( 'Image', 'tainacan' ),
'label_thumbnail' => __( 'Thumbnail', 'tainacan' ), 'label_thumbnail' => __( 'Thumbnail', 'tainacan' ),
'label_thumbnail_alt' => __( 'Thumbnail alternative text', 'tainacan' ), 'label_thumbnail_alt' => __( 'Alternative text', 'tainacan' ),
'label_empty_thumbnail' => __( 'Empty thumbnail', 'tainacan' ), 'label_empty_thumbnail' => __( 'Empty thumbnail', 'tainacan' ),
'label_empty_term_image' => __( 'Empty term image', 'tainacan' ), 'label_empty_term_image' => __( 'Empty term image', 'tainacan' ),
'label_parent_collection' => __( 'Parent collection', 'tainacan' ), 'label_parent_collection' => __( 'Parent collection', 'tainacan' ),
@ -304,7 +304,7 @@ return apply_filters( 'tainacan-i18n', [
'label_select_all_items_page' => __( 'Select all items on page', 'tainacan' ), 'label_select_all_items_page' => __( 'Select all items on page', 'tainacan' ),
'label_select_all_taxonomies_page' => __( 'Select all taxonomies on page', 'tainacan' ), 'label_select_all_taxonomies_page' => __( 'Select all taxonomies on page', 'tainacan' ),
'label_select_all_processes_page' => __( 'Select all processes on page', 'tainacan' ), 'label_select_all_processes_page' => __( 'Select all processes on page', 'tainacan' ),
'label_add_or_update_attachments' => __( 'Add or update attachments', 'tainacan' ), 'label_add_or_update_attachments' => __( 'Add or update attachments', 'tainacan' ),
'label_blank_collection' => __( 'Blank collection', 'tainacan' ), 'label_blank_collection' => __( 'Blank collection', 'tainacan' ),
/* translators: the metadata scheme https://dublincore.org/ */ /* translators: the metadata scheme https://dublincore.org/ */
'label_dublin_core' => __( 'Dublin Core', 'tainacan' ), 'label_dublin_core' => __( 'Dublin Core', 'tainacan' ),