Explorar el Código

Fix translation from "Change email" to "Change role and department" (#29341)

GitOrigin-RevId: c99415d30f7ff65e54f0823d98607a1a757e6c94
Rebeka Dekany hace 9 meses
padre
commit
0e04cdda8e

+ 1 - 1
services/web/frontend/extracted-translations.json

@@ -236,7 +236,6 @@
   "center": "",
   "change": "",
   "change_currency": "",
-  "change_email": "",
   "change_language": "",
   "change_or_cancel-cancel": "",
   "change_or_cancel-change": "",
@@ -248,6 +247,7 @@
   "change_primary_email": "",
   "change_primary_email_address_instructions": "",
   "change_project_owner": "",
+  "change_role_and_department": "",
   "change_the_ownership_of_your_personal_projects": "",
   "change_to_group_plan": "",
   "change_to_this_plan": "",

+ 1 - 1
services/web/frontend/js/features/settings/components/emails/institution-and-role.tsx

@@ -115,7 +115,7 @@ function InstitutionAndRole({ userEmailData }: InstitutionAndRoleProps) {
           >
             {!affiliation.department && !affiliation.role
               ? t('add_role_and_department')
-              : t('change_email')}
+              : t('change_role_and_department')}
           </OLButton>
         </div>
       ) : (

+ 1 - 1
services/web/locales/en.json

@@ -304,7 +304,6 @@
   "certificate": "Certificate",
   "change": "Change",
   "change_currency": "Change currency",
-  "change_email": "Change email",
   "change_language": "Change language",
   "change_or_cancel-cancel": "cancel",
   "change_or_cancel-change": "Change",
@@ -316,6 +315,7 @@
   "change_primary_email": "Change primary email",
   "change_primary_email_address_instructions": "To change your primary email, please add your new primary email address first (by clicking <0>Add another email</0>) and confirm it. Then click the <0>Make primary</0> button. <1>Learn more about managing your __appName__ emails</1>.",
   "change_project_owner": "Change project owner",
+  "change_role_and_department": "Change role and department",
   "change_the_ownership_of_your_personal_projects": "Change the ownership of your personal projects to the new account. <0>Find out how to change project owner.</0>",
   "change_to_group_plan": "Change to a group plan",
   "change_to_this_plan": "Change to this plan",