added translations to Account
This commit is contained in:
@@ -119,5 +119,7 @@
|
||||
"loading": "Lädt…",
|
||||
"register": "Registrieren",
|
||||
"backToLogin": "Zurück zum Login",
|
||||
"noAccountRegister": "Noch kein Konto? Registrieren"
|
||||
"noAccountRegister": "Noch kein Konto? Registrieren.",
|
||||
"delete": "Löschen",
|
||||
"pleaseEnterPassword": "Bitte Passwort eingeben"
|
||||
}
|
||||
|
||||
@@ -119,5 +119,7 @@
|
||||
"loading": "Loading…",
|
||||
"register": "Register",
|
||||
"backToLogin": "Back to login",
|
||||
"noAccountRegister": "Don’t have an account? Register"
|
||||
"noAccountRegister": "Don’t have an account? Register.",
|
||||
"delete": "Delete",
|
||||
"pleaseEnterPassword": "Please enter password"
|
||||
}
|
||||
@@ -10,17 +10,17 @@ import {
|
||||
DialogTitle,
|
||||
DialogContent,
|
||||
DialogActions,
|
||||
} from "@mui/material";
|
||||
import { useQuery } from "@tanstack/react-query";
|
||||
import { useEffect, useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { useNavigate } from "react-router-dom";
|
||||
import { CustomerType, User } from "../components/Account";
|
||||
import { useAccount } from "../helper/AccountProvider";
|
||||
import { deleteAccount, editAccount, fetchCustomer } from "../helper/query/Queries";
|
||||
import "./pages.css";
|
||||
} from "@mui/material";
|
||||
import { useQuery } from "@tanstack/react-query";
|
||||
import { useEffect, useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { useNavigate } from "react-router-dom";
|
||||
import { CustomerType, User } from "../components/Account";
|
||||
import { useAccount } from "../helper/AccountProvider";
|
||||
import { deleteAccount, editAccount, fetchCustomer } from "../helper/query/Queries";
|
||||
import "./pages.css";
|
||||
|
||||
export default function Account() {
|
||||
export default function Account() {
|
||||
const { t } = useTranslation();
|
||||
const navigate = useNavigate();
|
||||
const { user: userData, logout } = useAccount();
|
||||
@@ -236,5 +236,4 @@ import {
|
||||
</Dialog>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user