userprofile languages
parent
ae0a37df1a
commit
270fa184ae
|
@ -199,5 +199,9 @@
|
|||
"imprint": "Impressum",
|
||||
"dataPrivacy": "Datenschutz"
|
||||
}
|
||||
},
|
||||
"userProfile": {
|
||||
"title": "Ihr Profil",
|
||||
"language": "Sprache"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -202,5 +202,9 @@
|
|||
"imprint": "Imprint",
|
||||
"dataPrivacy": "Data privacy"
|
||||
}
|
||||
},
|
||||
"userProfile": {
|
||||
"title": "Your profile",
|
||||
"language": "Language"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Button, Card, Select } from "antd";
|
||||
import { Button, Card, Select, Typography } from "antd";
|
||||
import { Constants } from "../../utils";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
|
@ -8,7 +8,7 @@ export default function UserProfile({ userSession, setUserSession }) {
|
|||
return (
|
||||
<>
|
||||
<Card
|
||||
title="Ihr Profil"
|
||||
title={t("userProfile.title")}
|
||||
extra={
|
||||
<Button
|
||||
type="primary"
|
||||
|
@ -29,6 +29,8 @@ export default function UserProfile({ userSession, setUserSession }) {
|
|||
</Button>
|
||||
}
|
||||
>
|
||||
<Typography.Paragraph>{t("userProfile.language")}</Typography.Paragraph>
|
||||
|
||||
<Select
|
||||
style={{ width: "100%" }}
|
||||
defaultValue={i18n.language}
|
||||
|
|
Loading…
Reference in New Issue