Skip to content

Commit

Permalink
MOSIP-35899 added password success message with multi langauge
Browse files Browse the repository at this point in the history
Signed-off-by: MadhuMosip <[email protected]>
  • Loading branch information
MadhuMosip committed Sep 23, 2024
1 parent 9475547 commit 89174b8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ export const { useI18n } = createUseI18n({
invalidOrgVal: "Please Enter valid Organization",
partnerTypeData:'[{"id":"Device_Provider", "value":"Device Provider"}, {"id":"FTM_Provider", "value":"FTM Provider"}, {"id":"Authentication_Partner", "value":"Authentication Partner"}, {"id":"Credential_Partner_or_ISP", "value":"Credential partner or ISP"}, {"id":"ABIS_Partner", "value":"ABIS partner"}, {"id":"SDK_Partner", "value":"SDK partner"}]',
organization: '[{"id":"IIITB", "value":"IIITB"},{"id":"Indian_Government", "value":"Indian Government"},{"id":"CyberPWN", "value":"CyberPWN"},{"id":"Jio_Networks", "value":"Jio Networks"}, {"id":"Airtel", "value":"Airtel"}]',
goToDashboard:"Go to Dashboard"
goToDashboard:"Go to Dashboard",
passwordResetSuccessMsg: "Password reset completed successfully!"
},
fr: {
/* spell-checker: disable */
Expand Down Expand Up @@ -222,7 +223,8 @@ export const { useI18n } = createUseI18n({
invalidOrgVal: "Veuillez entrer une organisation valide",
partnerTypeData:'[{"id":"Device_Provider", "value":"Fournisseur d\'appareil"}, {"id":"FTM_Provider", "value":"Fournisseur FTM"}, {"id":"Authentication_Partner", "value":"Partenaire d\'authentification"}, {"id":"Credential_Partner_or_ISP", "value":"Partenaire d\'identification ou FAI"}, {"id":"ABIS_Partner", "value":"Partenaire ABIS"}, {"id":"SDK_Partner", "value":"Partenaire SDK"}]',
organization: '[{"id":"IIITB", "value":"IIITB"},{"id":"Indian_Government", "value":"Gouvernement indien"},{"id":"CyberPWN", "value":"CyberPWN"},{"id":"Jio_Networks", "value":"Réseaux Jio"}, {"id":"Airtel", "value":"Airtel"}]',
goToDashboard:"Accéder au tableau de bord"
goToDashboard:"Accéder au tableau de bord",
passwordResetSuccessMsg: "La réinitialisation du mot de passe a été effectuée avec succès !"
/* spell-checker: enable */
},
ar: {
Expand Down Expand Up @@ -331,7 +333,8 @@ export const { useI18n } = createUseI18n({
invalidOrgVal: "الرجاء إدخال منظمة صالحة",
partnerTypeData:'[{"id":"Device_Provider", "value":"مزود الجهاز"}, {"id":"FTM_Provider", "value":"مزود FTM"}, {"id":"Authentication_Partner", "value":"شريك المصادقة"}, {"id":"Credential_Partner_or_ISP", "value":"شريك الاعتماد أو مزود خدمة الإنترنت"}, {"id":"ABIS_Partner", "value":"شريك ABIS"}, {"id":"SDK_Partner", "value":"شريك SDK"}]',
organization: '[{"id":"IIITB", "value":"IIITB"},{"id":"Indian_Government", "value":"الحكومة الهندية"},{"id":"CyberPWN", "value":"CyberPWN"},{"id":"Jio_Networks", "value":"شبكات جنينيو"}, {"id":"Airtel", "value":"ايرتل"}]',
goToDashboard:"انتقل إلى لوحة التحكم"
goToDashboard:"انتقل إلى لوحة التحكم",
passwordResetSuccessMsg: "تم إعادة تعيين كلمة المرور بنجاح!"
},
hin: {
alphanumericalCharsOnly: "केवल अक्षरांकीय वर्ण",
Expand Down Expand Up @@ -439,7 +442,8 @@ export const { useI18n } = createUseI18n({
invalidOrgVal: "कृपया वैध संगठन दर्ज करें",
partnerTypeData:'[{"id":"Device_Provider", "value":"डिवाइस प्रदाता"}, {"id":"FTM_Provider", "value":"एफटीएम प्रदाता"}, {"id":"Authentication_Partner", "value":"प्रमाणीकरण भागीदार"}, {"id":"Credential_Partner_or_ISP", "value":"क्रेडेंशियल पार्टनर या आईएसपी"}, {"id":"ABIS_Partner", "value":"ABIS भागीदार"}, {"id":"SDK_Partner", "value":"SDK भागीदार"}]',
organization: '[{"id":"IIITB", "value":"IIITB"},{"id":"Indian_Government", "value":"भारत सरकार"},{"id":"CyberPWN", "value":"CyberPWN"},{"id":"Jio_Networks", "value":"जियो नेटवर्क"}, {"id":"Airtel", "value":"एयरटेल"}]',
goToDashboard:"डैशबोर्ड पर जाएँ"
goToDashboard:"डैशबोर्ड पर जाएँ",
passwordResetSuccessMsg: "पासवर्ड रीसेट सफलतापूर्वक पूरा हुआ!"
},
tam: {
alphanumericalCharsOnly: "எழுத்தெண்கள் மட்டுமே",
Expand Down Expand Up @@ -547,7 +551,8 @@ export const { useI18n } = createUseI18n({
invalidOrgVal: "சரியான நிறுவனத்தை உள்ளிடவும்",
partnerTypeData:'[{"id":"Device_Provider", "value":"சாதன வழங்குநர்"}, {"id":"FTM_Provider", "value":"FTM வழங்குநர்"}, {"id":"Authentication_Partner", "value":"அங்கீகார கூட்டாளர்"}, {"id":"Credential_Partner_or_ISP", "value":"நற்சான்றிதழ் பங்குதாரர் அல்லது ISP"}, {"id":"ABIS_Partner", "value":"ABIS பார்ட்னர்"}, {"id":"SDK_Partner", "value":"SDK பார்ட்னர்"}]',
organization: '[{"id":"IIITB", "value":"IIITB"},{"id":"Indian_Government", "value":"இந்திய அரசு"},{"id":"CyberPWN", "value":"CyberPWN"},{"id":"Jio_Networks", "value":"ஜியோ நெட்வொர்க்குகள்"}, {"id":"Airtel", "value":"ஏர்டெல்"}]',
goToDashboard:"டாஷ்போர்டுக்குச் செல்லவும்"
goToDashboard:"டாஷ்போர்டுக்குச் செல்லவும்",
passwordResetSuccessMsg: "கடவுச்சொல் மீட்டமைப்பு வெற்றிகரமாக முடிந்தது!"
},
kan:{
alphanumericalCharsOnly: "ಅಕ್ಷರಾಂಕ ಲಕ್ಷಣಗಳು ಮಾತ್ರ",
Expand Down Expand Up @@ -655,7 +660,8 @@ export const { useI18n } = createUseI18n({
invalidOrgVal: "ದಯವಿಟ್ಟು ಮಾನ್ಯವಾದ ಸಂಸ್ಥೆಯನ್ನು ನಮೂದಿಸಿ",
partnerTypeData:'[{"id":"Device_Provider", "value":"ಸಾಧನ ಪೂರೈಕೆದಾರ"}, {"id":"FTM_Provider", "value":"FTM ಪೂರೈಕೆದಾರ"}, {"id":"Authentication_Partner", "value":"ದೃಢೀಕರಣ ಪಾಲುದಾರ"}, {"id":"Credential_Partner_or_ISP", "value":"ರುಜುವಾತು ಪಾಲುದಾರ ಅಥವಾ ISP"}, {"id":"ABIS_Partner", "value":"ABIS ಪಾಲುದಾರ"}, {"id":"SDK_Partner", "value":"SDK ಪಾಲುದಾರ"}]',
organization: '[{"id":"IIITB", "value":"IIITB"},{"id":"Indian_Government", "value":"ಭಾರತ ಸರ್ಕಾರ"},{"id":"CyberPWN", "value":"CyberPWN"},{"id":"Jio_Networks", "value":"ಜಿಯೋ ನೆಟ್ವರ್ಕ್ಸ್"}, {"id":"Airtel", "value":"ಏರ್ಟೆಲ್"}]',
goToDashboard:"ಡ್ಯಾಶ್‌ಬೋರ್ಡ್‌ಗೆ ಹೋಗಿ"
goToDashboard:"ಡ್ಯಾಶ್‌ಬೋರ್ಡ್‌ಗೆ ಹೋಗಿ",
passwordResetSuccessMsg: "ಪಾಸ್ವರ್ಡ್ ರೀಸೆಟ್ ಯಶಸ್ವಿಯಾಗಿ ಪೂರ್ಣಗೊಂಡಿದೆ!"
}

});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export default function LoginUpdatePassword(props: PageProps<Extract<KcContext,
</div>
<div className={`flex items-center flex-col font-inter ${isReloadBtn ? "visible" : "invisible"}`}>
<span><img className="h-[10rem] w-[10rem]" src={successIcon} /></span>
<p className="font-bold text-[14px] text-[#000000]">Password reset completed successfully!</p>
<p className="font-bold text-[14px] text-[#000000]">{msg("passwordResetSuccessMsg")}</p>
<hr className="w-[90%] m-8 border-[#D8D8D8]" />
<input
className="text-[#1447B2] font-bold text-[13px]"
Expand Down

0 comments on commit 89174b8

Please sign in to comment.