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' ),