Merge branch 'release/0.17.3' of https://github.com/tainacan/tainacan into release/0.17.3

This commit is contained in:
vnmedeiros 2021-02-03 17:18:30 -03:00
commit 38d40d1477
3 changed files with 12 additions and 5 deletions

View File

@ -628,7 +628,7 @@
v-if="collection && collection.current_user_can_publish_items"
@click="onSubmit(visibility)"
type="button"
class="button is-success">{{ $i18n.get('label_publish') }}</button>
class="button is-success">{{ $i18n.get('label_verb_publish') }}</button>
</div>
<div
class="form-submission-footer"
@ -673,13 +673,13 @@
v-if="!isOnSequenceEdit || (group != null && group.items_count != undefined && group.items_count == itemPosition)"
@click="onSubmit(visibility)"
type="button"
class="button is-success">{{ $i18n.get('label_publish') }}</button>
class="button is-success">{{ $i18n.get('label_verb_publish') }}</button>
<button
v-else
@click="onSubmit(visibility, 'next')"
type="button"
class="button is-success">
<span>{{ $i18n.get('label_publish') }}</span>
<span>{{ $i18n.get('label_verb_publish') }}</span>
<span class="icon is-large">
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-next"/>
</span>

View File

@ -109,7 +109,11 @@
</div>
</div>
</template>
<template slot="empty">{{ $i18n.get('info_no_user_found') }}</template>
<template
v-if="!isFetchingUsers"
slot="empty">
{{ $i18n.get('info_no_user_found') }}
</template>
</b-autocomplete>
</b-field>

View File

@ -327,7 +327,10 @@ return apply_filters( 'tainacan-admin-i18n', [
'label_save_as_draft' => __( 'Save as draft', 'tainacan' ),
'label_update_draft' => __( 'Update draft', 'tainacan' ),
'label_return_to_draft' => __( 'Return to draft', 'tainacan' ),
'label_publish' => __( 'Publish', 'tainacan' ),
/* translators: The verb 'to publish' not the 'publish' status */
'label_verb_publish' => _x( 'Publish', 'verb', 'tainacan' ),
/* translators: The status 'publish' not the verb 'to publish' */
'label_publish' => _x( 'Publish', 'noun', 'tainacan' ),
'label_update' => __( 'Update', 'tainacan' ),
'label_mapper_metadata' => __( 'Mapper Metadata', 'tainacan' ),
'label_add_more_mapper_metadata' => __( 'Add more mapper\'s metadata', 'tainacan' ),