Skip to content
Snippets Groups Projects
Commit f1f2e751 authored by Jo Vuit's avatar Jo Vuit
Browse files

Added translation context strings

parent 98f4edee
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment