main
alex 2023-10-21 18:44:46 +02:00
parent 71c6a72308
commit f06265008c
2 changed files with 11 additions and 4 deletions

View File

@ -399,9 +399,16 @@
"icon": { "viewApiDoc": "Api-Dokumentation anschauen" }, "icon": { "viewApiDoc": "Api-Dokumentation anschauen" },
"telegram": { "telegram": {
"title": "Telegram Benachrichtigungen", "title": "Telegram Benachrichtigungen",
"subscribeButton": "Abonnieren",
"checkStatusButton": "Status überprüfen",
"subscribed": "Abonniert",
"disconnectPopconfirm": { "disconnectPopconfirm": {
"title": "Sind Sie sicher, dass Sie die Verbindung zu Telegram trennen wollen?", "title": "Sind Sie sicher, dass Sie Ihr Telegram-Konto trennen möchten?",
"description": "Sie werden keine Benachrichtigungen mehr erhalten" "description": "Sie erhalten keine Benachrichtigungen mehr über Telegram"
},
"verificationPopover": {
"title": "Verifizierung",
"description": "Fügen Sie den Bot Ihrem Telegram-Konto hinzu und senden Sie den Befehl {{command}} an den Bot"
} }
} }
}, },

View File

@ -487,7 +487,7 @@ export default function UserProfile() {
<Card> <Card>
<Form layout="vertical"> <Form layout="vertical">
<Row> <Row>
<Col xs={24} sm={4}> <Col xs={24} md={4}>
<Upload <Upload
accept={Constants.ACCEPTED_AVATAR_FILE_TYPES.join(",")} accept={Constants.ACCEPTED_AVATAR_FILE_TYPES.join(",")}
action={Constants.API_ADDRESS + "/user/avatar"} action={Constants.API_ADDRESS + "/user/avatar"}
@ -502,7 +502,7 @@ export default function UserProfile() {
</Upload> </Upload>
</Col> </Col>
<Col xs={24} sm={{ span: 4, offset: 16 }}> <Col xs={24} md={{ span: 6, offset: 14 }}>
<Form.Item label={t("userProfile.form.language")}> <Form.Item label={t("userProfile.form.language")}>
<Select <Select
style={{ width: "100%" }} style={{ width: "100%" }}