Added translation context strings

This commit is contained in:
Jo Vuit 2019-02-11 13:56:03 +01:00
parent 98f4edeeb3
commit f1f2e7517d
1 changed files with 3 additions and 3 deletions

View File

@ -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,