diff --git a/src/admin/tainacan-admin-i18n.php b/src/admin/tainacan-admin-i18n.php index 44d784de0..696df4867 100644 --- a/src/admin/tainacan-admin-i18n.php +++ b/src/admin/tainacan-admin-i18n.php @@ -346,7 +346,11 @@ return apply_filters( 'tainacan-admin-i18n', [ 'info_updated_at' => __( 'Updated at', 'tainacan' ), 'info_editing_metadata_values' => __( 'Editing metadata values...', 'tainacan' ), 'info_updating_metadata_values' => __( 'Updating metadata values...', 'tainacan' ), - 'info_type_to_search' => __( 'Type to search...', 'tainacan' ), + 'info_type_to_add_items' => __( 'Add items...', 'tainacan' ), + 'info_type_to_search_items' => __( 'Search items...', 'tainacan' ), + 'info_type_to_add_terms' => __( 'Add terms...', 'tainacan' ), + 'info_type_to_search_metadata' => __( 'Search metadata...', 'tainacan' ), + 'info_type_to_add_metadata' => __( 'Add metadata...', 'tainacan' ), // Tainacan Metadatum Types 'tainacan-text' => __( 'Text', 'tainacan' ), diff --git a/src/classes/filter-types/autocomplete/Autocomplete.vue b/src/classes/filter-types/autocomplete/Autocomplete.vue index a037b8ace..26605a9af 100644 --- a/src/classes/filter-types/autocomplete/Autocomplete.vue +++ b/src/classes/filter-types/autocomplete/Autocomplete.vue @@ -11,7 +11,7 @@ @input="search" field="label" @select="option => setResults(option) " - :placeholder="$i18n.get('info_type_to_search')"> + :placeholder="(type == 'Tainacan\\Metadata_Types\\Relationship') ? $i18n.get('info_type_to_search_items') : $i18n.get('info_type_to_search_metadata')"> diff --git a/src/classes/filter-types/taxonomy/Taginput.vue b/src/classes/filter-types/taxonomy/Taginput.vue index b7376dd06..13ff170d2 100644 --- a/src/classes/filter-types/taxonomy/Taginput.vue +++ b/src/classes/filter-types/taxonomy/Taginput.vue @@ -11,7 +11,7 @@ attached :class="{'has-selected': selected != undefined && selected != []}" @typing="search" - :placeholder="$i18n.get('info_type_to_search')" /> + :placeholder="$i18n.get('info_type_to_add_terms')" />