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

Added translation strings

parent 22749ea2
Branches
Tags
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<nav class="ui secondary pointing menu" role="navigation" :aria-label="labels.secondaryMenu"> <nav class="ui secondary pointing menu" role="navigation" :aria-label="labels.secondaryMenu">
<router-link <router-link
class="ui item" class="ui item"
:to="{name: 'manage.library.files'}"><translate>Files</translate></router-link> :to="{name: 'manage.library.files'}"><translate :translate-context="'Menu/Admin/Link'">Files</translate></router-link>
</nav> </nav>
<router-view :key="$route.fullPath"></router-view> <router-view :key="$route.fullPath"></router-view>
</div> </div>
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
export default { export default {
computed: { computed: {
labels() { labels() {
let title = this.$gettext("Manage library") let title = this.$pgettext('Head/Admin/Title', 'Manage library')
let secondaryMenu = this.$gettext("Secondary menu") let secondaryMenu = this.$gettext('Menu/*/Hidden text', 'Secondary menu')
return { return {
title, title,
secondaryMenu secondaryMenu
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment