Add empty state message to text suggestions autocomplete.

This commit is contained in:
mateuswetah 2024-03-18 15:20:51 -03:00
parent 5394bc810c
commit fddcf53d33
2 changed files with 4 additions and 0 deletions

View File

@ -43,6 +43,9 @@
</div>
</div>
</template>
<template #empty>
{{ $i18n.get('info_nothing_like_this_so_far') }}
</template>
</b-autocomplete>
</div>
</template>

View File

@ -1025,6 +1025,7 @@ return apply_filters( 'tainacan-i18n', [
'info_validating_slug' => __( 'Validating slug...', 'tainacan'),
'info_no_taxonomy_metadata_created' => __( 'No taxonomy metadata created yet', 'tainacan'),
'info_child_terms_chart' => __( 'Click on the term bar on the chart aside to see its child terms (if any) in this panel', 'tainacan' ),
'info_nothing_like_this_so_far' => __( 'Nothing like this so far.', 'tainacan'),
'info_metadata_autocomplete_suggestions' => __( 'Some values already used on this metadatum:', 'tainacan' ),
'info_related_items' => __( 'These are items that are related to this item via their own relationship type metadata. You can edit such relation on their pages.', 'tainacan'),
'info_document_option_forced_iframe' => __( 'Attempt to use an iframe to embed url content on the item page. You may use this option if the autoembed does not work.', 'tainacan'),