Adds i18n for new actions buttons in advanced search

This commit is contained in:
weryques 2018-07-02 16:41:57 -03:00
parent 284910186a
commit 7a88caea1b
2 changed files with 4 additions and 5 deletions

View File

@ -317,14 +317,14 @@
class="control"> class="control">
<button <button
@click="advancedSearchResults = !advancedSearchResults" @click="advancedSearchResults = !advancedSearchResults"
class="button is-small is-light">Edit search</button> class="button is-small is-light">{{ $i18n.get('edit_search') }}</button>
</p> </p>
<p <p
v-if="advancedSearchResults" v-if="advancedSearchResults"
class="control"> class="control">
<button <button
@click="isDoSearch = !isDoSearch" @click="isDoSearch = !isDoSearch"
class="button is-small is-secondary">Search</button> class="button is-small is-secondary">{{ $i18n.get('search') }}</button>
</p> </p>
<p class="control"> <p class="control">
<button <button

View File

@ -56,11 +56,10 @@ return apply_filters('tainacan-admin-i18n',[
'new_blank_collection' => __( 'New Blank Collection', 'tainacan' ), 'new_blank_collection' => __( 'New Blank Collection', 'tainacan' ),
'split' => __( 'Split', 'tainacan' ), 'split' => __( 'Split', 'tainacan' ),
'unified' => __( 'Unified', 'tainacan' ), 'unified' => __( 'Unified', 'tainacan' ),
'add_another_search_criteria' => __( 'Add another search criteria', 'tainacan' ), 'add_another_search_criteria' => __( 'Add another search criteria', 'tainacan' ),
'clear_search' => __( 'Clear search', 'tainacan' ), 'clear_search' => __( 'Clear search', 'tainacan' ),
'run' => __( 'Run', 'tainacan' ), 'run' => __( 'Run', 'tainacan' ),
'show_advanced_search' => __( 'Show advanced search', 'tainacan'), 'edit_search' => __( 'Edit search', 'tainacan'),
'hide_advanced_search' => __( 'Hide advanced search', 'tainacan'),
// Wordpress Status // Wordpress Status
'publish' => __( 'Publish', 'tainacan' ), 'publish' => __( 'Publish', 'tainacan' ),