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">
<button
@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
v-if="advancedSearchResults"
class="control">
<button
@click="isDoSearch = !isDoSearch"
class="button is-small is-secondary">Search</button>
class="button is-small is-secondary">{{ $i18n.get('search') }}</button>
</p>
<p class="control">
<button

View File

@ -59,8 +59,7 @@ return apply_filters('tainacan-admin-i18n',[
'add_another_search_criteria' => __( 'Add another search criteria', 'tainacan' ),
'clear_search' => __( 'Clear search', 'tainacan' ),
'run' => __( 'Run', 'tainacan' ),
'show_advanced_search' => __( 'Show advanced search', 'tainacan'),
'hide_advanced_search' => __( 'Hide advanced search', 'tainacan'),
'edit_search' => __( 'Edit search', 'tainacan'),
// Wordpress Status
'publish' => __( 'Publish', 'tainacan' ),