Added translation context

This commit is contained in:
Jo Vuit 2019-02-09 16:29:59 +01:00
parent 22749ea2e2
commit 57e52cf979
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<main v-title="labels.users"> <main v-title="labels.users">
<section class="ui vertical stripe segment"> <section class="ui vertical stripe segment">
<h2 class="ui header"><translate>Users</translate></h2> <h2 class="ui header"><translate :translate-context="'*/Admin/Title'">Users</translate></h2>
<div class="ui hidden divider"></div> <div class="ui hidden divider"></div>
<users-table></users-table> <users-table></users-table>
</section> </section>
@ -18,7 +18,7 @@ export default {
computed: { computed: {
labels() { labels() {
return { return {
users: this.$gettext("Users") users: this.$pgettext('*/Admin/Title', 'Users')
} }
} }
} }