From e3c17c36bd292e22284c40fdb9f9580fd52aed5f Mon Sep 17 00:00:00 2001 From: paritshivani Date: Fri, 27 Sep 2024 19:32:59 +0530 Subject: [PATCH] language update --- .../public/locales/en/translation.json | 39 ++++++++++--------- .../nulp_elite/src/pages/registration/Otp.js | 8 +--- 2 files changed, 22 insertions(+), 25 deletions(-) diff --git a/packages/nulp_elite/public/locales/en/translation.json b/packages/nulp_elite/public/locales/en/translation.json index 6fa249f8..6e0896ab 100644 --- a/packages/nulp_elite/public/locales/en/translation.json +++ b/packages/nulp_elite/public/locales/en/translation.json @@ -295,26 +295,27 @@ "VIEW_STATUS": "View Status", "SEARCH_FOR_POLL": "Search for a Poll", "NO_POLL_AVAILABLE_NOW": " It looks like there are no polls at the moment.", - "ADMIN":"Admin", - "LEARNING_REPORT":"Learning Report", - "POPULAR_COURSES" : "Popular Courses", - "RECENTLY_ADDED":"Recently Added", - "THIS_CONTENT_IS_DERIVED_FROM":"This content is derived from", - "PUBLISHED_ON_NULP_BY":"PUBLISHED ON NULP BY", - "ACCEPT_THE_NULP_TERMS_OF_USE" : "I am 18+ years old and understand and accept the NULP Terms of Use", + "ADMIN": "Admin", + "LEARNING_REPORT": "Learning Report", + "POPULAR_COURSES": "Popular Courses", + "RECENTLY_ADDED": "Recently Added", + "THIS_CONTENT_IS_DERIVED_FROM": "This content is derived from", + "PUBLISHED_ON_NULP_BY": "PUBLISHED ON NULP BY", + "ACCEPT_THE_NULP_TERMS_OF_USE": "I am 18+ years old and understand and accept the NULP Terms of Use", "As_A_PATENT_GUARDIAN_ACCEPT_THE_NULP_TERMS_OF_USE": "As a parent/guardian I understand & accept the NULP Terms of Use agree my child to register on NULP with the given information.", "CONTENT_DERIVED_FROM": "This content is derived from", - "FILTERS":"Filters", - "EXPLORE_CONTENT":"Explore Content", + "FILTERS": "Filters", + "EXPLORE_CONTENT": "Explore Content", "COURSE_SUCCESSFULLY_COMPLETED": "Course completed Successfully", - "ID":"ID", - "ORGANIZATION_NAME":"Organization Name", - "ROLE":"Role", - "NO_CERTIFICATES_FOUND":"No certificates found", - "NOT_ENROLL_MESSAGE":"You are not enrolled in any course. Enroll now!", - "FIRST_NAME":"First Name", - "LAST_NAME":"Last Name", - "NO_CHAT_REQUEST" : "No Chat Request", - "PHONE":"Phone", - "PHONE_NUMBER":"(+91 11) 24617517, 24617543, 24617595" + "ID": "ID", + "ORGANIZATION_NAME": "Organization Name", + "ROLE": "Role", + "NO_CERTIFICATES_FOUND": "No certificates found", + "NOT_ENROLL_MESSAGE": "You are not enrolled in any course. Enroll now!", + "FIRST_NAME": "First Name", + "LAST_NAME": "Last Name", + "NO_CHAT_REQUEST": "No Chat Request", + "PHONE": "Phone", + "PHONE_NUMBER": "(+91 11) 24617517, 24617543, 24617595", + "SESSION_TIMEOUT_MESSAGE": "Failed to fetch data.please try again." } diff --git a/packages/nulp_elite/src/pages/registration/Otp.js b/packages/nulp_elite/src/pages/registration/Otp.js index 96d9b9be..4c9b0519 100644 --- a/packages/nulp_elite/src/pages/registration/Otp.js +++ b/packages/nulp_elite/src/pages/registration/Otp.js @@ -289,13 +289,9 @@ const Otp = () => { const age = new Date().getFullYear() - birthYear; const tncText = age < 18 ? ( - - {t("As_A_PATENT_GUARDIAN_ACCEPT_THE_NULP_TERMS_OF_USE")} - + {t("As_A_PATENT_GUARDIAN_ACCEPT_THE_NULP_TERMS_OF_USE")} ) : ( - - {t("ACCEPT_THE_NULP_TERMS_OF_USE")} - + {t("ACCEPT_THE_NULP_TERMS_OF_USE")} ); const handleCheckboxChange = (event) => { setIsChecked(event.target.checked);