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

Added translation context

parent 77ebc5ba
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: 'manage.users.users.list'}"><translate>Users</translate></router-link>
:to="{name: 'manage.users.users.list'}"><translate :translate-context="'*/Admin/Link'">Users</translate></router-link>
<router-link
class="ui item"
:to="{name: 'manage.users.invitations.list'}"><translate>Invitations</translate></router-link>
:to="{name: 'manage.users.invitations.list'}"><translate :translate-context="'Menu/Admin/Link'">Invitations</translate></router-link>
</nav>
<router-view :key="$route.fullPath"></router-view>
</div>
......@@ -17,8 +17,8 @@ export default {
computed: {
labels() {
return {
manageUsers: this.$gettext("Manage users"),
secondaryMenu: this.$gettext("Secondary menu")
manageUsers: this.$pgettext('Head/Admin/Title', 'Manage users'),
secondaryMenu: this.$gettext('Menu/*/Hidden text','Secondary menu')
}
}
}
......
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