More localization (#393)

* Translate sidebar

* Do not force 12-hour format worldwide

Vue-i18n knows which locales prefer 12-hour format over 24-hour format

* Translate new tiles in profile page

* Translate new tiles in dashboard
This commit is contained in:
sephrat
2021-05-07 18:45:58 +02:00
committed by GitHub
parent 241c156ccd
commit 96919319b1
12 changed files with 75 additions and 47 deletions

View File

@@ -12,7 +12,7 @@
<v-list-item-content>
<v-list-item-title> {{ user.fullName }}</v-list-item-title>
<v-list-item-subtitle> {{ user.admin ? "Admin" : "User" }}</v-list-item-subtitle>
<v-list-item-subtitle> {{ user.admin ? $t('user.admin') : $t('user.user') }}</v-list-item-subtitle>
</v-list-item-content>
</v-list-item>
</template>
@@ -155,7 +155,7 @@ export default {
{
icon: "mdi-account-group",
to: "/admin/manage-users",
title: this.$t("settings.manage-users"),
title: this.$t("user.manage-users"),
},
{
icon: "mdi-database-import",