Fixes expand/collapse tainacan's admin menu title
This commit is contained in:
parent
a6e052e216
commit
c7c4c518a4
|
@ -20,15 +20,16 @@
|
|||
@click="isMenuCompressed = !isMenuCompressed">
|
||||
<span
|
||||
v-tooltip="{
|
||||
content: $i18n.get('label_shrink_menu'),
|
||||
content: isMenuCompressed ? $i18n.get('label_expand_menu') : $i18n.get('label_shrink_menu'),
|
||||
autoHide: true,
|
||||
placement: 'auto-end',
|
||||
classes: ['tooltip', 'repository-tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i
|
||||
:class="{ 'tainacan-icon-arrowleft' : !isMenuCompressed, 'tainacan-icon-arrowright' : isMenuCompressed }"
|
||||
class="tainacan-icon tainacan-icon-1-25em"/>
|
||||
<i
|
||||
:class="{ 'tainacan-icon-arrowleft' : !isMenuCompressed, 'tainacan-icon-arrowright' : isMenuCompressed }"
|
||||
class="tainacan-icon tainacan-icon-1-25em"
|
||||
/>
|
||||
</span>
|
||||
</button>
|
||||
<tainacan-header />
|
||||
|
|
|
@ -472,6 +472,7 @@ return apply_filters( 'tainacan-admin-i18n', [
|
|||
'label_page' => __( 'Page', 'tainacan' ),
|
||||
'label_current_page' => __( 'Current page', 'tainacan' ),
|
||||
'label_shrink_menu' => __( 'Shrink menu', 'tainacan' ),
|
||||
'label_expand_menu' => __( 'Expand menu', 'tainacan' ),
|
||||
'label_document_uploaded' => __( 'Document uploaded', 'tainacan' ),
|
||||
/* translators: Filter of the repository, not a repository of filter! */
|
||||
'label_repository_filter' => __( 'Repository filter', 'tainacan' ),
|
||||
|
|
Loading…
Reference in New Issue