Added translation context strings
This commit is contained in:
parent
98f4edeeb3
commit
f1f2e7517d
|
@ -3,10 +3,10 @@
|
|||
<nav class="ui secondary pointing menu" role="navigation" :aria-label="labels.secondaryMenu">
|
||||
<router-link
|
||||
class="ui item"
|
||||
:to="{name: 'content.libraries.index'}"><translate>Libraries</translate></router-link>
|
||||
:to="{name: 'content.libraries.index'}"><translate :translate-context="'Menu/Library/Tab.Link'">Libraries</translate></router-link>
|
||||
<router-link
|
||||
class="ui item"
|
||||
:to="{name: 'content.libraries.files'}"><translate>Tracks</translate></router-link>
|
||||
:to="{name: 'content.libraries.files'}"><translate :translate-context="'Menu/Library/Tab.Link'">Tracks</translate></router-link>
|
||||
</nav>
|
||||
<router-view :key="$route.fullPath"></router-view>
|
||||
</main>
|
||||
|
@ -15,7 +15,7 @@
|
|||
export default {
|
||||
computed: {
|
||||
labels() {
|
||||
let title = this.$gettext("Add content")
|
||||
let title = this.$pgettext('Head/Library/Title', "Add content")
|
||||
let secondaryMenu = this.$pgettext('Menu/*/Hidden text', "Secondary menu")
|
||||
return {
|
||||
title,
|
||||
|
|
Loading…
Reference in New Issue