MED-151: add profile view and working smoking dashboard card (#71)

* MED-151: add profile view and working smoking dashboard card

* update zod

* move some components to shared

* move some components to shared

* remove console.logs

* remove unused password form components

* only check null for variant

* use pathsconfig
This commit is contained in:
Helena
2025-09-04 12:17:54 +03:00
committed by GitHub
parent 152ec5f36b
commit 9122acc89f
74 changed files with 4081 additions and 3531 deletions

View File

@@ -1,124 +1,128 @@
{
"accountTabLabel": "Account Settings",
"accountTabDescription": "Manage your account settings",
"homePage": "Home",
"billingTab": "Billing",
"settingsTab": "Settings",
"multiFactorAuth": "Multi-Factor Authentication",
"multiFactorAuthDescription": "Set up Multi-Factor Authentication method to further secure your account",
"updateProfileSuccess": "Profile successfully updated",
"updateProfileError": "Encountered an error. Please try again",
"updatePasswordSuccess": "Password update request successful",
"updatePasswordSuccessMessage": "Your password has been successfully updated!",
"updatePasswordError": "Encountered an error. Please try again",
"updatePasswordLoading": "Updating password...",
"updateProfileLoading": "Updating profile...",
"name": "Your Name",
"nameDescription": "Update your name to be displayed on your profile",
"emailLabel": "Email Address",
"accountImage": "Your Profile Picture",
"accountImageDescription": "Please choose a photo to upload as your profile picture.",
"profilePictureHeading": "Upload a Profile Picture",
"profilePictureSubheading": "Choose a photo to upload as your profile picture.",
"updateProfileSubmitLabel": "Update Profile",
"updatePasswordCardTitle": "Update your Password",
"updatePasswordCardDescription": "Update your password to keep your account secure.",
"currentPassword": "Current Password",
"newPassword": "New Password",
"repeatPassword": "Repeat New Password",
"repeatPasswordDescription": "Please repeat your new password to confirm it",
"yourPassword": "Your Password",
"updatePasswordSubmitLabel": "Update Password",
"updateEmailCardTitle": "Update your Email",
"updateEmailCardDescription": "Update your email address you use to login to your account",
"newEmail": "Your New Email",
"repeatEmail": "Repeat Email",
"updateEmailSubmitLabel": "Update Email Address",
"updateEmailSuccess": "Email update request successful",
"updateEmailSuccessMessage": "We sent you an email to confirm your new email address. Please check your inbox and click on the link to confirm your new email address.",
"updateEmailLoading": "Updating your email...",
"updateEmailError": "Email not updated. Please try again",
"passwordNotMatching": "Passwords do not match. Make sure you're using the correct password",
"emailNotMatching": "Emails do not match. Make sure you're using the correct email",
"passwordNotChanged": "Your password has not changed",
"emailsNotMatching": "Emails do not match. Make sure you're using the correct email",
"cannotUpdatePassword": "You cannot update your password because your account is not linked to any.",
"setupMfaButtonLabel": "Setup a new Factor",
"multiFactorSetupErrorHeading": "Setup Failed",
"multiFactorSetupErrorDescription": "Sorry, there was an error while setting up your factor. Please try again.",
"multiFactorAuthHeading": "Secure your account with Multi-Factor Authentication",
"multiFactorModalHeading": "Use your authenticator app to scan the QR code below. Then enter the code generated.",
"factorNameLabel": "A memorable name to identify this factor",
"factorNameHint": "Use an easy-to-remember name to easily identify this factor in the future. Ex. iPhone 14",
"factorNameSubmitLabel": "Set factor name",
"unenrollTooltip": "Unenroll this factor",
"unenrollingFactor": "Unenrolling factor...",
"unenrollFactorSuccess": "Factor successfully unenrolled",
"unenrollFactorError": "Unenrolling factor failed",
"factorsListError": "Error loading factors list",
"factorsListErrorDescription": "Sorry, we couldn't load the factors list. Please try again.",
"factorName": "Factor Name",
"factorType": "Type",
"factorStatus": "Status",
"mfaEnabledSuccessTitle": "Multi-Factor authentication is enabled",
"mfaEnabledSuccessDescription": "Congratulations! You have successfully enrolled in the multi factor authentication process. You will now be able to access your account with a combination of your password and an authentication code sent to your phone number.",
"verificationCode": "Verification Code",
"addEmailAddress": "Add Email address",
"verifyActivationCodeDescription": "Enter the 6-digit code generated by your authenticator app in the field above",
"loadingFactors": "Loading factors...",
"enableMfaFactor": "Enable Factor",
"disableMfaFactor": "Disable Factor",
"qrCodeErrorHeading": "QR Code Error",
"qrCodeErrorDescription": "Sorry, we weren't able to generate the QR code",
"multiFactorSetupSuccess": "Factor successfully enrolled",
"submitVerificationCode": "Submit Verification Code",
"mfaEnabledSuccessAlert": "Multi-Factor authentication is enabled",
"verifyingCode": "Verifying code...",
"invalidVerificationCodeHeading": "Invalid Verification Code",
"invalidVerificationCodeDescription": "The verification code you entered is invalid. Please try again.",
"unenrollFactorModalHeading": "Unenroll Factor",
"unenrollFactorModalDescription": "You're about to unenroll this factor. You will not be able to use it to login to your account.",
"unenrollFactorModalBody": "You're about to unenroll this factor. You will not be able to use it to login to your account.",
"unenrollFactorModalButtonLabel": "Yes, unenroll factor",
"selectFactor": "Choose a factor to verify your identity",
"disableMfa": "Disable Multi-Factor Authentication",
"disableMfaButtonLabel": "Disable MFA",
"confirmDisableMfaButtonLabel": "Yes, disable MFA",
"disablingMfa": "Disabling Multi-Factor Authentication. Please wait...",
"disableMfaSuccess": "Multi-Factor Authentication successfully disabled",
"disableMfaError": "Sorry, we encountered an error. MFA has not been disabled.",
"sendingEmailVerificationLink": "Sending Email...",
"sendEmailVerificationLinkSuccess": "Verification link successfully sent",
"sendEmailVerificationLinkError": "Sorry, we weren't able to send you the email",
"sendVerificationLinkSubmitLabel": "Send Verification Link",
"sendVerificationLinkSuccessLabel": "Email sent! Check your Inbox",
"verifyEmailAlertHeading": "Please verify your email to enable MFA",
"verificationLinkAlertDescription": "Your email is not yet verified. Please verify your email to be able to set up Multi-Factor Authentication.",
"authFactorName": "Factor Name (optional)",
"authFactorNameHint": "Assign a name that helps you remember the phone number used",
"loadingUser": "Loading user details. Please wait...",
"linkPhoneNumber": "Link Phone Number",
"dangerZone": "Danger Zone",
"dangerZoneDescription": "Some actions cannot be undone. Please be careful.",
"deleteAccount": "Delete your Account",
"deletingAccount": "Deleting account. Please wait...",
"deleteAccountDescription": "This will delete your account and the accounts you own. Furthermore, we will immediately cancel any active subscriptions. This action cannot be undone.",
"deleteProfileConfirmationInputLabel": "Type DELETE to confirm",
"deleteAccountErrorHeading": "Sorry, we couldn't delete your account",
"needsReauthentication": "Reauthentication Required",
"needsReauthenticationDescription": "You need to reauthenticate to change your password. Please sign out and sign in again to change your password.",
"language": "Language",
"languageDescription": "Choose your preferred language",
"noTeamsYet": "You don't have any teams yet.",
"createTeam": "Create a team to get started.",
"createTeamButtonLabel": "Create a Team",
"accountTabLabel": "Konto seaded",
"accountTabDescription": "Halda oma konto seadeid ja e-posti eelistusi.",
"preferencesTabLabel": "Eelistused",
"preferencesTabDescription": "Halda oma eelistusi.",
"securityTabLabel": "Turvalisus",
"securityTabDescription": "Kaitse oma kontot.",
"homePage": "Avaleht",
"billingTab": "Arveldamine",
"settingsTab": "Seaded",
"multiFactorAuth": "Mitmefaktoriline autentimine",
"multiFactorAuthDescription": "Sea üles mitmefaktoriline autentimine, et oma kontot rohkem turvata",
"updateProfileSuccess": "Profiil edukalt uuendatud",
"updateProfileError": "Ilmnes viga. Palun proovi uuesti",
"updatePasswordSuccess": "Parooli uuendamine õnnestus",
"updatePasswordSuccessMessage": "Sinu parool on edukalt uuendatud!",
"updatePasswordError": "Ilmnes viga. Palun proovi uuesti",
"updatePasswordLoading": "Parooli uuendamine...",
"updateProfileLoading": "Profiili uuendamine...",
"name": "Sinu nimi",
"nameDescription": "Uuenda oma nime, mis kuvatakse profiilil",
"emailLabel": "E-posti aadress",
"accountImage": "Sinu profiilipilt",
"accountImageDescription": "Vali foto, mida soovid profiilipildina üles laadida.",
"profilePictureHeading": "Laadi üles profiilipilt",
"profilePictureSubheading": "Vali foto, mida soovid profiilipildina üles laadida.",
"updateProfileSubmitLabel": "Uuenda profiili",
"updatePasswordCardTitle": "Uuenda oma parool",
"updatePasswordCardDescription": "Uuenda oma parooli, et hoida oma konto turvaline.",
"currentPassword": "Praegune parool",
"newPassword": "Uus parool",
"repeatPassword": "Korda uut parooli",
"repeatPasswordDescription": "Palun korda oma uus parool, et seda kinnitada",
"yourPassword": "Sinu parool",
"updatePasswordSubmitLabel": "Uuenda parooli",
"updateEmailCardTitle": "Uuenda oma e-posti",
"updateEmailCardDescription": "Uuenda e-posti aadressi, mida kasutad kontole sisselogimiseks",
"newEmail": "Sinu uus e-post",
"repeatEmail": "Korda e-posti",
"updateEmailSubmitLabel": "Uuenda e-posti aadressi",
"updateEmailSuccess": "E-posti uuendamine õnnestus",
"updateEmailSuccessMessage": "Saadame sulle kinnituskirja uue e-posti aadressi kinnitamiseks. Palun vaata oma postkasti ja klõpsa lingil.",
"updateEmailLoading": "E-posti uuendamine...",
"updateEmailError": "E-posti ei uuendatud. Palun proovi uuesti",
"passwordNotMatching": "Paroolid ei ühti. Veendu, et kasutad õiget parooli",
"emailNotMatching": "E-postid ei ühti. Veendu, et kasutad õiget e-posti",
"passwordNotChanged": "Sinu parool ei ole muutunud",
"emailsNotMatching": "E-postid ei ühti. Veendu, et kasutad õiget e-posti",
"cannotUpdatePassword": "Sa ei saa oma parooli uuendada, kuna sinu kontot ei ole lingitud ühegi parooliga.",
"setupMfaButtonLabel": "Sea uus faktor",
"multiFactorSetupErrorHeading": "Seadistamine ebaõnnestus",
"multiFactorSetupErrorDescription": "Vabandame, tekkis viga faktori seadistamisel. Palun proovi uuesti.",
"multiFactorAuthHeading": "Turvake oma konto mitmefaktorilise autentimisega",
"multiFactorModalHeading": "Kasuta oma autentimisrakendust QR-koodi skannimiseks. Seejärel sisesta genereeritud kood.",
"factorNameLabel": "Meeldejääv nimi faktori tuvastamiseks",
"factorNameHint": "Kasuta lihtsat nime, et hiljem seda faktorit kergesti tuvastada. Nt iPhone 14",
"factorNameSubmitLabel": "Määra faktori nimi",
"unenrollTooltip": "Tühista selle faktori registreerimine",
"unenrollingFactor": "Faktori registreerimine tühistatakse...",
"unenrollFactorSuccess": "Faktor edukalt tühistatud",
"unenrollFactorError": "Faktori tühistamine ebaõnnestus",
"factorsListError": "Faktorite nimekirja laadimisel tekkis viga",
"factorsListErrorDescription": "Vabandame, ei õnnestunud faktorite nimekirja laadida. Palun proovi uuesti.",
"factorName": "Faktori nimi",
"factorType": "Tüüp",
"factorStatus": "Staatus",
"mfaEnabledSuccessTitle": "Mitmefaktoriline autentimine on aktiveeritud",
"mfaEnabledSuccessDescription": "Palju õnne! Sa oled edukalt registreeritud mitmefaktorilise autentimise protsessi. Nüüd pääsed oma kontole parooli ja autentimiskoodi abil.",
"verificationCode": "Kinnituskood",
"addEmailAddress": "Lisa e-posti aadress",
"verifyActivationCodeDescription": "Sisesta 6-kohaline kood, mille sinu autentimisrakendus genereeris",
"loadingFactors": "Faktorite laadimine...",
"enableMfaFactor": "Luba faktor",
"disableMfaFactor": "Keela faktor",
"qrCodeErrorHeading": "QR-koodi viga",
"qrCodeErrorDescription": "Vabandame, QR-koodi genereerimine ebaõnnestus",
"multiFactorSetupSuccess": "Faktor edukalt registreeritud",
"submitVerificationCode": "Esita kinnituskood",
"mfaEnabledSuccessAlert": "Mitmefaktoriline autentimine on aktiveeritud",
"verifyingCode": "Koodi kontrollimine...",
"invalidVerificationCodeHeading": "Vale kinnituskood",
"invalidVerificationCodeDescription": "Sisestatud kinnituskood ei kehti. Palun proovi uuesti.",
"unenrollFactorModalHeading": "Tühista faktori registreerimine",
"unenrollFactorModalDescription": "Sa oled tühistamas selle faktori registreerimist. Sa ei saa seda enam kontole sisselogimiseks kasutada.",
"unenrollFactorModalBody": "Sa oled tühistamas selle faktori registreerimist. Sa ei saa seda enam kontole sisselogimiseks kasutada.",
"unenrollFactorModalButtonLabel": "Jah, tühista faktor",
"selectFactor": "Vali faktor, et tuvastada oma identiteet",
"disableMfa": "Keela mitmefaktoriline autentimine",
"disableMfaButtonLabel": "Keela MFA",
"confirmDisableMfaButtonLabel": "Jah, keela MFA",
"disablingMfa": "Mitmefaktoriline autentimine keelatakse. Palun oota...",
"disableMfaSuccess": "Mitmefaktoriline autentimine edukalt keelatud",
"disableMfaError": "Vabandame, tekkis viga. MFA ei ole keelatud.",
"sendingEmailVerificationLink": "E-kirja saatmine...",
"sendEmailVerificationLinkSuccess": "Kinnituse link edukalt saadetud",
"sendEmailVerificationLinkError": "Vabandame, e-kirja saatmine ebaõnnestus",
"sendVerificationLinkSubmitLabel": "Saada kinnituse link",
"sendVerificationLinkSuccessLabel": "E-post saadetud! Vaata oma postkasti",
"verifyEmailAlertHeading": "Palun kinnita oma e-post, et lubada MFA",
"verificationLinkAlertDescription": "Sinu e-post ei ole veel kinnitatud. Palun kinnita e-post, et saaksid mitmefaktorilise autentimise seadistada.",
"authFactorName": "Faktori nimi (valikuline)",
"authFactorNameHint": "Määra nimi, mis aitab meenutada kasutatud telefoninumbrit",
"loadingUser": "Kasutaja andmete laadimine. Palun oota...",
"linkPhoneNumber": "Seosta telefoninumber",
"dangerZone": "Ohtlik tsoon",
"dangerZoneDescription": "Mõnda toimingut ei saa tagasi võtta. Ole ettevaatlik.",
"deleteAccount": "Kustuta oma konto",
"deletingAccount": "Konto kustutamine. Palun oota...",
"deleteAccountDescription": "See kustutab sinu konto ja kõik kontod, mille omanik sa oled. Samuti tühistatakse kohe kõik aktiivsed tellimused. Seda toimingut ei saa tagasi võtta.",
"deleteProfileConfirmationInputLabel": "Sisesta KUSTUTA, et kinnitada",
"deleteAccountErrorHeading": "Vabandame, me ei saanud sinu kontot kustutada",
"needsReauthentication": "Taastõendamine vajalik",
"needsReauthenticationDescription": "Sa pead uuesti autentima, et muuta oma parooli. Palun logi välja ja seejärel sisse, et parooli muuta.",
"language": "Keel",
"languageDescription": "Vali eelistatud keel",
"noTeamsYet": "Sul ei ole veel meeskondi.",
"createTeam": "Loo meeskond alustamiseks.",
"createTeamButtonLabel": "Loo meeskond",
"createCompanyAccount": "Loo ettevõtte konto",
"requestCompanyAccount": {
"title": "Ettevõtte andmed",
"description": "Pakkumise saamiseks palun sisesta ettevõtte andmed millega MedReport kasutada kavatsed.",
"description": "Pakkumise saamiseks palun sisesta ettevõtte andmed, millega MedReporti kasutada kavatsed.",
"button": "Küsi pakkumist",
"successTitle": "Päring edukalt saadetud!",
"successDescription": "Saadame teile esimesel võimalusel vastuse",
"successDescription": "Vastame sulle esimesel võimalusel",
"successButton": "Tagasi kodulehele"
},
"updateAccount": {
@@ -129,7 +133,7 @@
"userConsentUrlTitle": "Vaata isikuandmete töötlemise põhimõtteid"
},
"consentModal": {
"title": "Enne toimetama hakkamist",
"title": "Enne alustamist",
"description": "Kas annad nõusoleku, et sinu terviseandmeid kasutatakse anonüümselt tööandja statistikas? Andmed jäävad isikustamata ja aitavad ettevõttel töötajate tervist paremini toetada.",
"reject": "Ei anna nõusolekut",
"accept": "Annan nõusoleku"
@@ -152,5 +156,14 @@
"updatePreferredLocaleSuccess": "Eelistatud keel uuendatud",
"updatePreferredLocaleError": "Eelistatud keele uuendamine ei õnnestunud",
"updatePreferredLocaleLoading": "Eelistatud keelt uuendatakse...",
"doctorAnalysisSummary": "Arsti kokkuvõte analüüsitulemuste kohta"
"doctorAnalysisSummary": "Arsti kokkuvõte analüüsitulemuste kohta",
"myHabits": "Minu terviseharjumused",
"formField": {
"smoking": "Suitsetan"
},
"updateAccountSuccess": "Konto andmed uuendatud",
"updateAccountError": "Konto andmete uuendamine ebaõnnestus",
"updateAccountPreferencesSuccess": "Konto eelistused uuendatud",
"updateAccountPreferencesError": "Konto eelistused uuendamine ebaõnnestus",
"consents": "Nõusolekud"
}