feedback for request export

master
alex 2024-02-04 00:24:17 +01:00
parent eb74f42aa1
commit 84467df09f
3 changed files with 17 additions and 20 deletions

View File

@ -330,9 +330,9 @@
"title": "Konto export anfordern", "title": "Konto export anfordern",
"info": "Dies kann einige Zeit in Anspruch nehmen. Wir senden Ihnen eine E-Mail mit dem Download-Link, sobald der Export fertig ist.", "info": "Dies kann einige Zeit in Anspruch nehmen. Wir senden Ihnen eine E-Mail mit dem Download-Link, sobald der Export fertig ist.",
"request": { "request": {
"400": { "200": {
"title": "Passwort falsch", "title": "Export angefordert",
"description": "Bitte überprüfen Sie Ihr Passwort und versuchen Sie es erneut." "description": "Wir haben Ihre Anfrage erhalten und senden Ihnen eine E-Mail, sobald der Export fertig ist"
} }
} }
} }
@ -353,13 +353,7 @@
}, },
"improveLabel": "Wie können wir das Produkt verbessern?", "improveLabel": "Wie können wir das Produkt verbessern?",
"improveRequired": "Bitte geben Sie Ihr Feedback ein", "improveRequired": "Bitte geben Sie Ihr Feedback ein",
"improveMinLengthRequired": "Bitte geben Sie mindestens {{minLength}} Zeichen ein", "improveMinLengthRequired": "Bitte geben Sie mindestens {{minLength}} Zeichen ein"
"request": {
"400": {
"title": "Passwort falsch",
"description": "Bitte überprüfen Sie Ihr Passwort und versuchen Sie es erneut."
}
}
} }
} }
} }

View File

@ -339,9 +339,9 @@
"title": "Request account export", "title": "Request account export",
"info": "Export your account and all data created during the use of the dashboard.", "info": "Export your account and all data created during the use of the dashboard.",
"request": { "request": {
"400": { "200": {
"title": "Password incorrect", "title": "Request sent",
"description": "Please check your password and try again." "description": "We have received your request and will send you an email with the download link as soon as possible."
} }
} }
} }
@ -362,13 +362,7 @@
}, },
"improveLabel": "How can we improve the product?", "improveLabel": "How can we improve the product?",
"improveRequired": "Please enter your feedback", "improveRequired": "Please enter your feedback",
"improveMinLengthRequired": "Please enter at least {{minLength}} characters", "improveMinLengthRequired": "Please enter at least {{minLength}} characters"
"request": {
"400": {
"title": "Password incorrect",
"description": "Please check your password and try again."
}
}
} }
} }
} }

View File

@ -677,6 +677,15 @@ function YourAccountExportDataCard({ notificationApi }) {
.then(() => { .then(() => {
setIsRequesting(false); setIsRequesting(false);
setIsModalOpen(false); setIsModalOpen(false);
notificationApi["info"]({
message: t(
"userProfile.accountExport.modal.request.200.title"
),
description: t(
"userProfile.accountExport.modal.request.200.description"
),
});
}) })
.catch((errStatus) => { .catch((errStatus) => {
setIsRequesting(false); setIsRequesting(false);