add locales for tabs in userdatas adminarea

This commit is contained in:
ogerly 2022-04-14 12:37:21 +02:00
parent ef9f1c7d38
commit b1ccf1bf14
3 changed files with 10 additions and 5 deletions

View File

@ -50,7 +50,7 @@
<template #row-details="row">
<b-card ref="rowDetails" class="shadow-lg pl-3 pr-3 mb-5 bg-white rounded">
<b-tabs content-class="mt-3">
<b-tab title="Creations" active :disabled="row.item.deletedAt !== null">
<b-tab :title="$t('creation')" active :disabled="row.item.deletedAt !== null">
<creation-formular
v-if="!row.item.deletedAt"
type="singleCreation"
@ -62,7 +62,7 @@
/>
<div v-else>{{ $t('userIsDeleted') }}</div>
</b-tab>
<b-tab title="Email" :disabled="row.item.deletedAt !== null">
<b-tab :title="$t('e_mail')" :disabled="row.item.deletedAt !== null">
<confirm-register-mail-formular
v-if="!row.item.deletedAt"
:checked="row.item.emailChecked"
@ -74,13 +74,16 @@
"
/>
</b-tab>
<b-tab title="ListCreations" :disabled="row.item.deletedAt !== null">
<b-tab :title="$t('creationList')" :disabled="row.item.deletedAt !== null">
<creation-transaction-list v-if="!row.item.deletedAt" :userId="row.item.userId" />
</b-tab>
<b-tab title="ListLinks" :disabled="row.item.deletedAt !== null">
<b-tab
:title="$t('transactionlink.form_header')"
:disabled="row.item.deletedAt !== null"
>
<transaction-link-list :userId="row.item.userId" />
</b-tab>
<b-tab title="Delete">
<b-tab :title="$t('delete_user')">
<deleted-user-formular :item="row.item" @updateDeletedAt="updateDeletedAt" />
</b-tab>
</b-tabs>

View File

@ -2,6 +2,7 @@
"all_emails": "Alle Nutzer",
"back": "zurück",
"creation": "Schöpfung",
"creationList":"Schöpfungsliste",
"creation_form": {
"creation_failed": "Ausstehende Schöpfung für {email} konnte nicht erzeugt werden.",
"creation_for": "Aktives Grundeinkommen für",

View File

@ -2,6 +2,7 @@
"all_emails": "All users",
"back": "back",
"creation": "Creation",
"creationList":"Creation list",
"creation_form": {
"creation_failed": "Could not create pending creation for {email}",
"creation_for": "Active Basic Income for",