From 162005673b6f69c1a09d8641e3a250d4511f81d3 Mon Sep 17 00:00:00 2001 From: George Desipris <73396808+desiprisg@users.noreply.github.com> Date: Thu, 22 Feb 2024 16:52:19 +0200 Subject: [PATCH] fix(clerk-js,localizations): Improve text on username, password screens (#2843) * chore(clerk-js): Remove unneeded localization key * fix(clerk-js,localizations): Improve text on username, profile, password screens --- .changeset/good-dogs-attack.md | 2 + .../VerifiedDomainForm.tsx | 1 - .../OrganizationGeneralPage.test.tsx | 17 +++-- .../components/UserProfile/PasswordForm.tsx | 16 ++-- .../UserProfile/PasswordSection.tsx | 2 +- .../UserProfile/UpdatePasswordForm.tsx | 12 +-- .../components/UserProfile/UsernameForm.tsx | 8 +- .../UserProfile/UsernameSection.tsx | 2 +- .../__tests__/AccountPage.test.tsx | 18 +++-- .../__tests__/PasswordSection.test.tsx | 40 +++++----- .../__tests__/UserProfileSection.test.tsx | 76 ++++++++++--------- .../__tests__/UsernameSection.test.tsx | 18 +++-- packages/localizations/src/ar-SA.ts | 22 +++--- packages/localizations/src/bg-BG.ts | 20 ++--- packages/localizations/src/cs-CZ.ts | 22 +++--- packages/localizations/src/da-DK.ts | 24 +++--- packages/localizations/src/de-DE.ts | 20 ++--- packages/localizations/src/el-GR.ts | 22 +++--- packages/localizations/src/en-US.ts | 24 +++--- packages/localizations/src/es-ES.ts | 22 +++--- packages/localizations/src/es-MX.ts | 22 +++--- packages/localizations/src/fr-FR.ts | 22 +++--- packages/localizations/src/he-IL.ts | 22 +++--- packages/localizations/src/it-IT.ts | 22 +++--- packages/localizations/src/ja-JP.ts | 22 +++--- packages/localizations/src/ko-KR.ts | 20 ++--- packages/localizations/src/nb-NO.ts | 22 +++--- packages/localizations/src/nl-NL.ts | 22 +++--- packages/localizations/src/pl-PL.ts | 22 +++--- packages/localizations/src/pt-BR.ts | 22 +++--- packages/localizations/src/pt-PT.ts | 22 +++--- packages/localizations/src/ro-RO.ts | 22 +++--- packages/localizations/src/ru-RU.ts | 22 +++--- packages/localizations/src/sk-SK.ts | 22 +++--- packages/localizations/src/sv-SE.ts | 22 +++--- packages/localizations/src/tr-TR.ts | 22 +++--- packages/localizations/src/uk-UA.ts | 22 +++--- packages/localizations/src/vi-VN.ts | 22 +++--- packages/localizations/src/zh-CN.ts | 22 +++--- packages/localizations/src/zh-TW.ts | 22 +++--- packages/types/src/localization.ts | 20 ++--- 41 files changed, 431 insertions(+), 415 deletions(-) create mode 100644 .changeset/good-dogs-attack.md diff --git a/.changeset/good-dogs-attack.md b/.changeset/good-dogs-attack.md new file mode 100644 index 00000000000..a845151cc84 --- /dev/null +++ b/.changeset/good-dogs-attack.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/packages/clerk-js/src/ui/components/OrganizationProfile/VerifiedDomainForm.tsx b/packages/clerk-js/src/ui/components/OrganizationProfile/VerifiedDomainForm.tsx index a2e77849514..2c528976704 100644 --- a/packages/clerk-js/src/ui/components/OrganizationProfile/VerifiedDomainForm.tsx +++ b/packages/clerk-js/src/ui/components/OrganizationProfile/VerifiedDomainForm.tsx @@ -222,7 +222,6 @@ export const VerifiedDomainForm = withCardStateProvider((props: VerifiedDomainFo )} diff --git a/packages/clerk-js/src/ui/components/OrganizationProfile/__tests__/OrganizationGeneralPage.test.tsx b/packages/clerk-js/src/ui/components/OrganizationProfile/__tests__/OrganizationGeneralPage.test.tsx index fbc4f58fb94..920e25492c9 100644 --- a/packages/clerk-js/src/ui/components/OrganizationProfile/__tests__/OrganizationGeneralPage.test.tsx +++ b/packages/clerk-js/src/ui/components/OrganizationProfile/__tests__/OrganizationGeneralPage.test.tsx @@ -60,7 +60,7 @@ describe('OrganizationSettings', () => { const { getByText, getByRole } = render(, { wrapper }); await waitFor(() => { expect(getByText('General')).toBeDefined(); - getByRole('button', { name: /edit profile/i }); + getByRole('button', { name: /update profile/i }); expect(getByRole('button', { name: /leave organization/i })).not.toBeDisabled(); }); }); @@ -87,7 +87,7 @@ describe('OrganizationSettings', () => { const { getByText, queryByRole } = render(, { wrapper }); await waitFor(() => { expect(getByText('General')).toBeDefined(); - expect(queryByRole('button', { name: /edit profile/i })).not.toBeInTheDocument(); + expect(queryByRole('button', { name: /update profile/i })).not.toBeInTheDocument(); expect(queryByRole('button', { name: /leave organization/i })).not.toBeDisabled(); }); }); @@ -255,12 +255,15 @@ describe('OrganizationSettings', () => { }); }); - const { getByText, getByRole, userEvent, queryByText, queryByLabelText } = render(, { - wrapper, - }); + const { getByText, getByLabelText, getByRole, userEvent, queryByText, queryByLabelText } = render( + , + { + wrapper, + }, + ); getByText('Org1'); - await userEvent.click(getByRole('button', { name: /edit profile/i })); - await waitFor(() => getByText(/update profile/i)); + await userEvent.click(getByRole('button', { name: /update profile/i })); + await waitFor(() => getByLabelText(/name/i)); expect(queryByText('Logo')).toBeInTheDocument(); expect(queryByLabelText(/name/i)).toBeInTheDocument(); expect(queryByLabelText(/slug/i)).toBeInTheDocument(); diff --git a/packages/clerk-js/src/ui/components/UserProfile/PasswordForm.tsx b/packages/clerk-js/src/ui/components/UserProfile/PasswordForm.tsx index 798e55771f2..39511b26fb5 100644 --- a/packages/clerk-js/src/ui/components/UserProfile/PasswordForm.tsx +++ b/packages/clerk-js/src/ui/components/UserProfile/PasswordForm.tsx @@ -20,13 +20,13 @@ const generateSuccessPageText = (userHasPassword: boolean, sessionSignOut: boole const localizedTexts = []; if (userHasPassword) { - localizedTexts.push(localizationKeys('userProfile.passwordPage.changePasswordSuccessMessage')); + localizedTexts.push(localizationKeys('userProfile.passwordPage.successMessage__update')); } else { - localizedTexts.push(localizationKeys('userProfile.passwordPage.successMessage')); + localizedTexts.push(localizationKeys('userProfile.passwordPage.successMessage__set')); } if (sessionSignOut) { - localizedTexts.push(localizationKeys('userProfile.passwordPage.sessionsSignedOutSuccessMessage')); + localizedTexts.push(localizationKeys('userProfile.passwordPage.successMessage__signOutOfOtherSessions')); } return localizedTexts; @@ -43,15 +43,15 @@ export const PasswordForm = withCardStateProvider((props: PasswordFormProps) => const { session } = useSession(); const title = user.passwordEnabled - ? localizationKeys('userProfile.passwordPage.changePasswordTitle') - : localizationKeys('userProfile.passwordPage.title'); + ? localizationKeys('userProfile.passwordPage.title__update') + : localizationKeys('userProfile.passwordPage.title__set'); const card = useCardState(); const passwordEditDisabled = user.samlAccounts.some(sa => sa.active); // Ensure that messages will not use the updated state of User after a password has been set or changed const successPagePropsRef = useRef[0]>({ - title: localizationKeys('userProfile.passwordPage.title'), + title: localizationKeys('userProfile.passwordPage.title__set'), }); const currentPasswordField = useFormControl('currentPassword', '', { @@ -112,8 +112,8 @@ export const PasswordForm = withCardStateProvider((props: PasswordFormProps) => try { successPagePropsRef.current = { title: user.passwordEnabled - ? localizationKeys('userProfile.passwordPage.changePasswordTitle') - : localizationKeys('userProfile.passwordPage.title'), + ? localizationKeys('userProfile.passwordPage.title__update') + : localizationKeys('userProfile.passwordPage.title__set'), text: generateSuccessPageText(user.passwordEnabled, !!sessionsField.checked), }; diff --git a/packages/clerk-js/src/ui/components/UserProfile/PasswordSection.tsx b/packages/clerk-js/src/ui/components/UserProfile/PasswordSection.tsx index 256de467a66..bee5aca9880 100644 --- a/packages/clerk-js/src/ui/components/UserProfile/PasswordSection.tsx +++ b/packages/clerk-js/src/ui/components/UserProfile/PasswordSection.tsx @@ -45,7 +45,7 @@ export const PasswordSection = () => { id='password' localizationKey={ passwordEnabled - ? localizationKeys('userProfile.start.passwordSection.primaryButton__changePassword') + ? localizationKeys('userProfile.start.passwordSection.primaryButton__updatePassword') : localizationKeys('userProfile.start.passwordSection.primaryButton__setPassword') } /> diff --git a/packages/clerk-js/src/ui/components/UserProfile/UpdatePasswordForm.tsx b/packages/clerk-js/src/ui/components/UserProfile/UpdatePasswordForm.tsx index 1aaeeaef2b4..128edc9b058 100644 --- a/packages/clerk-js/src/ui/components/UserProfile/UpdatePasswordForm.tsx +++ b/packages/clerk-js/src/ui/components/UserProfile/UpdatePasswordForm.tsx @@ -22,13 +22,13 @@ const generateSuccessPageText = (userHasPassword: boolean, sessionSignOut: boole const localizedTexts: LocalizationKey[] = []; if (userHasPassword) { - localizedTexts.push(localizationKeys('userProfile.passwordPage.changePasswordSuccessMessage')); + localizedTexts.push(localizationKeys('userProfile.passwordPage.successMessage__update')); } else { - localizedTexts.push(localizationKeys('userProfile.passwordPage.successMessage')); + localizedTexts.push(localizationKeys('userProfile.passwordPage.successMessage__set')); } if (sessionSignOut) { - localizedTexts.push(localizationKeys('userProfile.passwordPage.sessionsSignedOutSuccessMessage')); + localizedTexts.push(localizationKeys('userProfile.passwordPage.successMessage__signOutOfOtherSessions')); } return localizedTexts; @@ -50,7 +50,7 @@ export const UpdatePasswordForm = withCardStateProvider(() => { // Ensure that messages will not use the updated state of User after a password has been set or changed const successPagePropsRef = useRef[0]>({ - title: localizationKeys('userProfile.passwordPage.title'), + title: localizationKeys('userProfile.passwordPage.title__set'), }); const currentPasswordField = useFormControl('currentPassword', '', { @@ -111,8 +111,8 @@ export const UpdatePasswordForm = withCardStateProvider(() => { try { successPagePropsRef.current = { title: user.passwordEnabled - ? localizationKeys('userProfile.passwordPage.changePasswordTitle') - : localizationKeys('userProfile.passwordPage.title'), + ? localizationKeys('userProfile.passwordPage.title__update') + : localizationKeys('userProfile.passwordPage.title__set'), text: generateSuccessPageText(user.passwordEnabled, !!sessionsField.checked), }; diff --git a/packages/clerk-js/src/ui/components/UserProfile/UsernameForm.tsx b/packages/clerk-js/src/ui/components/UserProfile/UsernameForm.tsx index 98c4f1c55b1..eec9af457e5 100644 --- a/packages/clerk-js/src/ui/components/UserProfile/UsernameForm.tsx +++ b/packages/clerk-js/src/ui/components/UserProfile/UsernameForm.tsx @@ -39,7 +39,13 @@ export const UsernameForm = withCardStateProvider((props: UsernameFormProps) => }; return ( - + { id='username' localizationKey={ user.username - ? localizationKeys('userProfile.start.usernameSection.primaryButton__changeUsername') + ? localizationKeys('userProfile.start.usernameSection.primaryButton__updateUsername') : localizationKeys('userProfile.start.usernameSection.primaryButton__setUsername') } /> diff --git a/packages/clerk-js/src/ui/components/UserProfile/__tests__/AccountPage.test.tsx b/packages/clerk-js/src/ui/components/UserProfile/__tests__/AccountPage.test.tsx index ed14ad70f17..4435d68f8ae 100644 --- a/packages/clerk-js/src/ui/components/UserProfile/__tests__/AccountPage.test.tsx +++ b/packages/clerk-js/src/ui/components/UserProfile/__tests__/AccountPage.test.tsx @@ -16,32 +16,34 @@ describe('AccountPage', () => { }); describe('Sections', () => { - it('open the profile section and can edit name', async () => { + it('open the profile section and can update name', async () => { const { wrapper } = await createFixtures(f => { f.withName(); f.withUser({ email_addresses: ['test@clerk.com'], first_name: 'Clerk', last_name: 'User' }); }); - const { getByText, getByRole, userEvent, queryByText, queryByLabelText } = render(, { wrapper }); + const { getByText, getByLabelText, getByRole, userEvent, queryByText, queryByLabelText } = render( + , + { wrapper }, + ); getByText('Clerk User'); - await userEvent.click(getByRole('button', { name: /edit profile/i })); - await waitFor(() => getByText(/update profile/i)); + await userEvent.click(getByRole('button', { name: /update profile/i })); + await waitFor(() => getByLabelText(/first name/i)); expect(queryByText('Clerk User')).not.toBeInTheDocument(); - expect(queryByLabelText(/first name/i)).toBeInTheDocument(); expect(queryByLabelText(/last name/i)).toBeInTheDocument(); expect(getByRole('button', { name: /save$/i })).toBeDisabled(); }); - it('open the profile section and cannot edit name', async () => { + it('open the profile section and cannot update name', async () => { const { wrapper } = await createFixtures(f => { f.withUser({ email_addresses: ['test@clerk.com'], first_name: 'Clerk', last_name: 'User' }); }); const { getByText, getByRole, userEvent, queryByText, queryByLabelText } = render(, { wrapper }); getByText('Clerk User'); - await userEvent.click(getByRole('button', { name: /edit profile/i })); - await waitFor(() => getByText(/update profile/i)); + await userEvent.click(getByRole('button', { name: /update profile/i })); + await waitFor(() => getByRole('button', { name: /save/i })); expect(queryByText('Clerk User')).not.toBeInTheDocument(); expect(queryByLabelText(/first name/i)).not.toBeInTheDocument(); expect(queryByLabelText(/last name/i)).not.toBeInTheDocument(); diff --git a/packages/clerk-js/src/ui/components/UserProfile/__tests__/PasswordSection.test.tsx b/packages/clerk-js/src/ui/components/UserProfile/__tests__/PasswordSection.test.tsx index ee1c6691fdf..1fe7836dd49 100644 --- a/packages/clerk-js/src/ui/components/UserProfile/__tests__/PasswordSection.test.tsx +++ b/packages/clerk-js/src/ui/components/UserProfile/__tests__/PasswordSection.test.tsx @@ -12,7 +12,7 @@ const initConfig = createFixtures.config(f => { f.withUser({}); }); -const changePasswordConfig = createFixtures.config(f => { +const updatePasswordConfig = createFixtures.config(f => { f.withUser({ password_enabled: true }); }); @@ -30,8 +30,8 @@ describe('PasswordSection', () => { getByRole('button', { name: /set password/i }); }); - it('renders the section with change button', async () => { - const { wrapper } = await createFixtures(changePasswordConfig); + it('renders the section with update button', async () => { + const { wrapper } = await createFixtures(updatePasswordConfig); const { getByText, getByRole } = render( @@ -40,7 +40,7 @@ describe('PasswordSection', () => { { wrapper }, ); getByText(/^Password/i); - getByRole('button', { name: /change password/i }); + getByRole('button', { name: /update password/i }); }); describe('Set password', () => { @@ -204,14 +204,14 @@ describe('PasswordSection', () => { }); }); - describe('Change password', () => { + describe('Update password', () => { it('renders the set password screen', async () => { - const { wrapper } = await createFixtures(changePasswordConfig); + const { wrapper } = await createFixtures(updatePasswordConfig); const { getByRole, userEvent, getByLabelText } = render(, { wrapper }); - await userEvent.click(getByRole('button', { name: /change password/i })); - await waitFor(() => getByRole('heading', { name: /change password/i })); + await userEvent.click(getByRole('button', { name: /update password/i })); + await waitFor(() => getByRole('heading', { name: /update password/i })); getByLabelText(/current password/i); getByLabelText(/new password/i); @@ -221,11 +221,11 @@ describe('PasswordSection', () => { }); it('changes a new password and calls the appropriate function and closes', async () => { - const { wrapper, fixtures } = await createFixtures(changePasswordConfig); + const { wrapper, fixtures } = await createFixtures(updatePasswordConfig); const { getByRole, userEvent, getByLabelText, queryByRole } = render(, { wrapper }); - await userEvent.click(getByRole('button', { name: /change password/i })); - await waitFor(() => getByRole('heading', { name: /change password/i })); + await userEvent.click(getByRole('button', { name: /update password/i })); + await waitFor(() => getByRole('heading', { name: /update password/i })); await userEvent.type(getByLabelText(/current password/i), 'testtest1234'); await userEvent.type(getByLabelText(/new password/i), 'testtest'); @@ -236,8 +236,8 @@ describe('PasswordSection', () => { newPassword: 'testtest', signOutOfOtherSessions: true, }); - await waitFor(() => getByRole('button', { name: /change password/i })); - expect(queryByRole('heading', { name: /change password/i })).not.toBeInTheDocument(); + await waitFor(() => getByRole('button', { name: /update password/i })); + expect(queryByRole('heading', { name: /update password/i })).not.toBeInTheDocument(); }); describe('with SAML', () => { @@ -264,8 +264,8 @@ describe('PasswordSection', () => { const { wrapper } = await createFixtures(config); const { getByRole, userEvent, getByLabelText } = render(, { wrapper }); - await userEvent.click(getByRole('button', { name: /change password/i })); - await waitFor(() => getByRole('heading', { name: /change password/i })); + await userEvent.click(getByRole('button', { name: /update password/i })); + await waitFor(() => getByRole('heading', { name: /update password/i })); expect(getByLabelText(/current password/i)).toBeDisabled(); expect(getByLabelText(/new password/i)).toBeDisabled(); @@ -302,8 +302,8 @@ describe('PasswordSection', () => { const { wrapper } = await createFixtures(config); const { getByRole, userEvent, getByLabelText } = render(, { wrapper }); - await userEvent.click(getByRole('button', { name: /change password/i })); - await waitFor(() => getByRole('heading', { name: /change password/i })); + await userEvent.click(getByRole('button', { name: /update password/i })); + await waitFor(() => getByRole('heading', { name: /update password/i })); expect(getByLabelText(/current password/i)).not.toBeDisabled(); expect(getByLabelText(/new password/i)).not.toBeDisabled(); @@ -320,10 +320,10 @@ describe('PasswordSection', () => { describe('Form buttons', () => { it('save button is disabled until current password is set', async () => { - const { wrapper } = await createFixtures(changePasswordConfig); + const { wrapper } = await createFixtures(updatePasswordConfig); const { getByRole, userEvent, getByLabelText } = render(, { wrapper }); - await userEvent.click(getByRole('button', { name: /change password/i })); - await waitFor(() => getByRole('heading', { name: /change password/i })); + await userEvent.click(getByRole('button', { name: /update password/i })); + await waitFor(() => getByRole('heading', { name: /update password/i })); await userEvent.type(getByLabelText(/new password/i), 'testtest'); await userEvent.type(getByLabelText(/confirm password/i), 'testtest'); diff --git a/packages/clerk-js/src/ui/components/UserProfile/__tests__/UserProfileSection.test.tsx b/packages/clerk-js/src/ui/components/UserProfile/__tests__/UserProfileSection.test.tsx index aa8f324b859..3db63179822 100644 --- a/packages/clerk-js/src/ui/components/UserProfile/__tests__/UserProfileSection.test.tsx +++ b/packages/clerk-js/src/ui/components/UserProfile/__tests__/UserProfileSection.test.tsx @@ -21,12 +21,10 @@ describe('ProfileSection', () => { }); const { userEvent } = render(, { wrapper }); - await userEvent.click(screen.getByText(/edit profile/i)); + await userEvent.click(screen.getByText(/update profile/i)); await waitFor(() => { - screen.getByText(/update profile/i); + screen.getByRole('heading', { name: /Update Profile/i }); }); - - screen.getByRole('heading', { name: /Update Profile/i }); }); describe('First and last name', () => { @@ -39,11 +37,11 @@ describe('ProfileSection', () => { last_name: 'L', }); }); - const { userEvent } = render(, { wrapper }); + const { userEvent, getByRole } = render(, { wrapper }); - await userEvent.click(screen.getByText(/edit profile/i)); + await userEvent.click(getByRole('button', { name: /update profile/i })); await waitFor(() => { - screen.getByText(/update profile/i); + getByRole('heading', { name: /Update Profile/i }); }); const firstNameInput: HTMLInputElement = screen.getByLabelText(/first name/i); @@ -80,11 +78,11 @@ describe('ProfileSection', () => { const { wrapper } = await createFixtures(config); - const { userEvent } = render(, { wrapper }); + const { userEvent, getByRole } = render(, { wrapper }); - await userEvent.click(screen.getByText(/edit profile/i)); + await userEvent.click(getByRole('button', { name: /update profile/i })); await waitFor(() => { - screen.getByText(/update profile/i); + getByRole('heading', { name: /Update Profile/i }); }); expect(screen.getByRole('textbox', { name: 'First name' })).toBeDisabled(); @@ -119,11 +117,11 @@ describe('ProfileSection', () => { const { wrapper } = await createFixtures(config); - const { userEvent } = render(, { wrapper }); + const { userEvent, getByRole } = render(, { wrapper }); - await userEvent.click(screen.getByText(/edit profile/i)); + await userEvent.click(getByRole('button', { name: /update profile/i })); await waitFor(() => { - screen.getByText(/update profile/i); + getByRole('heading', { name: /Update Profile/i }); }); expect(screen.getByRole('textbox', { name: 'First name' })).not.toBeDisabled(); @@ -161,10 +159,12 @@ describe('ProfileSection', () => { }); }); fixtures.clerk.user?.setProfileImage.mockReturnValueOnce(Promise.resolve({} as ImageResource)); - const { userEvent, getByText, findByRole } = render(, { wrapper }); + const { userEvent, getByText, getByRole } = render(, { wrapper }); - await userEvent.click(getByText(/edit profile/i)); - expect(await findByRole('heading', { name: /update profile/i })).toBeInTheDocument(); + await userEvent.click(getByRole('button', { name: /update profile/i })); + await waitFor(() => { + getByRole('heading', { name: /Update Profile/i }); + }); await userEvent.click(getByText(/remove$/i)); expect(fixtures.clerk.user?.setProfileImage).toHaveBeenCalledWith({ file: null }); @@ -179,11 +179,11 @@ describe('ProfileSection', () => { }); }); fixtures.clerk.user?.setProfileImage.mockReturnValueOnce(Promise.resolve({} as ImageResource)); - const { userEvent } = render(, { wrapper }); + const { userEvent, getByRole } = render(, { wrapper }); - await userEvent.click(screen.getByText(/edit profile/i)); + await userEvent.click(getByRole('button', { name: /update profile/i })); await waitFor(() => { - screen.getByText(/update profile/i); + getByRole('heading', { name: /Update Profile/i }); }); expect(screen.queryByText(/remove image/i)).not.toBeInTheDocument(); @@ -198,11 +198,11 @@ describe('ProfileSection', () => { email_addresses: ['test@clerk.com'], }); }); - const { userEvent } = render(, { wrapper }); + const { userEvent, getByRole } = render(, { wrapper }); - await userEvent.click(screen.getByText(/edit profile/i)); + await userEvent.click(getByRole('button', { name: /update profile/i })); await waitFor(() => { - screen.getByText(/update profile/i); + getByRole('heading', { name: /Update Profile/i }); }); screen.getByRole('button', { name: /cancel$/i }); @@ -216,16 +216,16 @@ describe('ProfileSection', () => { email_addresses: ['test@clerk.com'], }); }); - const { userEvent } = render(, { wrapper }); + const { userEvent, getByRole } = render(, { wrapper }); - await userEvent.click(screen.getByText(/edit profile/i)); + await userEvent.click(getByRole('button', { name: /update profile/i })); await waitFor(() => { - screen.getByText(/update profile/i); + getByRole('heading', { name: /Update Profile/i }); }); await userEvent.click(screen.getByRole('button', { name: /cancel/i })); await waitFor(() => { - screen.getByText(/edit profile/i); + getByRole('button', { name: /update Profile/i }); }); }); @@ -236,12 +236,10 @@ describe('ProfileSection', () => { email_addresses: ['test@clerk.com'], }); }); - const { userEvent } = render(, { wrapper }); + const { userEvent, getByLabelText } = render(, { wrapper }); - await userEvent.click(screen.getByText(/edit profile/i)); - await waitFor(() => { - screen.getByText(/update profile/i); - }); + await userEvent.click(screen.getByText(/update profile/i)); + await waitFor(() => getByLabelText(/first name/i)); expect(screen.getByText(/save/i, { exact: false }).closest('button')).toHaveAttribute('disabled'); }); @@ -253,10 +251,12 @@ describe('ProfileSection', () => { email_addresses: ['test@clerk.com'], }); }); - const { userEvent, getByText } = render(, { wrapper }); + const { userEvent, getByRole, getByText } = render(, { wrapper }); - await userEvent.click(getByText(/edit profile/i)); - await waitFor(() => getByText(/update profile/i)); + await userEvent.click(getByRole('button', { name: /update profile/i })); + await waitFor(() => { + getByRole('heading', { name: /Update Profile/i }); + }); expect(getByText(/save$/i, { exact: false }).closest('button')).toHaveAttribute('disabled'); await userEvent.type(screen.getByText(/First name/i), 'George'); @@ -273,10 +273,12 @@ describe('ProfileSection', () => { }); }); fixtures.clerk.user?.update.mockReturnValueOnce(Promise.resolve({} as any)); - const { userEvent, getByText, getByLabelText } = render(, { wrapper }); + const { userEvent, getByRole, getByText, getByLabelText } = render(, { wrapper }); - await userEvent.click(getByText(/edit profile/i)); - await waitFor(() => getByText(/update profile/i)); + await userEvent.click(getByRole('button', { name: /update profile/i })); + await waitFor(() => { + getByRole('heading', { name: /Update Profile/i }); + }); await userEvent.type(getByLabelText(/first name/i), 'George'); await userEvent.type(getByLabelText(/last name/i), 'Clerk'); diff --git a/packages/clerk-js/src/ui/components/UserProfile/__tests__/UsernameSection.test.tsx b/packages/clerk-js/src/ui/components/UserProfile/__tests__/UsernameSection.test.tsx index a684e82c3ce..47f16d055ef 100644 --- a/packages/clerk-js/src/ui/components/UserProfile/__tests__/UsernameSection.test.tsx +++ b/packages/clerk-js/src/ui/components/UserProfile/__tests__/UsernameSection.test.tsx @@ -24,24 +24,24 @@ describe('UsernameScreen', () => { const { userEvent } = render(, { wrapper }); - await userEvent.click(screen.getByText(/change username/i)); + await userEvent.click(screen.getByText(/update username/i)); await waitFor(() => { - screen.getByText(/update username/i); + screen.getByLabelText(/username/i); }); screen.getByRole('heading', { name: /Update username/i }); }); describe('Actions', () => { - it('calls the appropriate function upon pressing continue', async () => { + it('calls the appropriate function upon pressing save', async () => { const { wrapper, fixtures } = await createFixtures(initConfig); fixtures.clerk.user?.update.mockResolvedValue({} as UserResource); const { userEvent } = render(, { wrapper }); - await userEvent.click(screen.getByText(/change username/i)); + await userEvent.click(screen.getByText(/update username/i)); await waitFor(() => { - screen.getByText(/update username/i); + screen.getByLabelText(/username/i); }); await userEvent.type(screen.getByLabelText(/username/i), 'test'); @@ -54,14 +54,16 @@ describe('UsernameScreen', () => { const { userEvent } = render(, { wrapper }); - await userEvent.click(screen.getByText(/change username/i)); + await userEvent.click(screen.getByText(/update username/i)); await waitFor(() => { - screen.getByText(/update username/i); + screen.getByLabelText(/username/i); }); await userEvent.click(screen.getByRole('button', { name: /cancel/i })); await waitFor(() => { - screen.getByText(/change username/i); + screen.getByRole('button', { + name: /update username/i, + }); }); }); }); diff --git a/packages/localizations/src/ar-SA.ts b/packages/localizations/src/ar-SA.ts index 21969ec58b4..95ecbb6c14a 100644 --- a/packages/localizations/src/ar-SA.ts +++ b/packages/localizations/src/ar-SA.ts @@ -211,7 +211,7 @@ export const arSA: LocalizationResource = { headerTitle__general: 'General', headerTitle__members: 'الأعضاء', profileSection: { - primaryButton: 'Edit profile', + primaryButton: '', title: 'Organization Profile', uploadAction__title: 'Logo', }, @@ -233,7 +233,6 @@ export const arSA: LocalizationResource = { calloutInfoLabel: 'إن تغيير وضع التسجيل سيؤثر فقط على المستخدمين الجدد.', calloutInvitationCountLabel: 'هناك {{count}} دعوة معلقة مرسلة إلى المستخدمين', calloutSuggestionCountLabel: 'هناك {{count}} أقتراح معلق مرسلة إلى المستخدمين', - formButton__save: 'حفظ', manualInvitationOption__description: 'يمكن دعوة المستخدمين يدويًا فقط للمؤسسة.', manualInvitationOption__label: 'لا يوجد تسجيل تلقائي', subtitle: 'أختر كيف يمكن للمستخدمين في هذا النطاق تسجيل الدخول إلى المنظمة', @@ -644,14 +643,14 @@ export const arSA: LocalizationResource = { title: 'Account', }, passwordPage: { - changePasswordSuccessMessage: 'تم تحديث كلمة السر', - changePasswordTitle: 'تغيير كلمة المرور', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', + successMessage__set: 'تم تعيين كلمة السر.', + successMessage__signOutOfOtherSessions: 'تم تسجيل الخروج من جميع الأجهزة.', + successMessage__update: 'تم تحديث كلمة السر', readonly: 'لا يمكن تعديل كلمة المرور لأنه لا يمكنك تسجيل الدخول إلى عن طريق حساب المؤسسة', - sessionsSignedOutSuccessMessage: 'تم تسجيل الخروج من جميع الأجهزة.', - successMessage: 'تم تعيين كلمة السر.', - title: 'تعيين كلمة المرور', + title__set: 'تعيين كلمة المرور', + title__update: 'تغيير كلمة المرور', }, phoneNumberPage: { infoText: 'سيتم إرسال رسالة نصية تحتوي على رابط التحقق إلى رقم الهاتف هذا.', @@ -726,7 +725,7 @@ export const arSA: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: 'تغيير كلمة المرور', + primaryButton__updatePassword: 'تغيير كلمة المرور', primaryButton__setPassword: 'تعيين كلمة المرور', title: 'كلمة المرور', }, @@ -739,11 +738,11 @@ export const arSA: LocalizationResource = { title: 'رقم الجوال', }, profileSection: { - primaryButton: 'Edit Profile', + primaryButton: '', title: 'الملف الشخصي', }, usernameSection: { - primaryButton__changeUsername: 'تغيير اسم المستخدم', + primaryButton__updateUsername: 'تغيير اسم المستخدم', primaryButton__setUsername: 'تعيين اسم المستخدم', title: 'اسم المستخدم', }, @@ -755,7 +754,8 @@ export const arSA: LocalizationResource = { }, usernamePage: { successMessage: 'تم تحديث اسم المستخدم', - title: 'تحديث اسم المستخدم', + title__set: 'تحديث اسم المستخدم', + title__update: 'تحديث اسم المستخدم', }, web3WalletPage: { removeResource: { diff --git a/packages/localizations/src/bg-BG.ts b/packages/localizations/src/bg-BG.ts index 860fc0e4ee2..ea71e1ee45a 100644 --- a/packages/localizations/src/bg-BG.ts +++ b/packages/localizations/src/bg-BG.ts @@ -213,7 +213,7 @@ export const bgBG: LocalizationResource = { headerTitle__general: 'General', headerTitle__members: 'Членове', profileSection: { - primaryButton: 'Edit profile', + primaryButton: '', title: 'Organization Profile', uploadAction__title: 'Logo', }, @@ -235,7 +235,6 @@ export const bgBG: LocalizationResource = { calloutInfoLabel: 'Промяната на режима на записване ще засегне само новите потребители.', calloutInvitationCountLabel: 'Чакащи покани, изпратени на потребители: {{count}}', calloutSuggestionCountLabel: 'Чакащи предложения, изпратени на потребители: {{count}}', - formButton__save: 'Запазване', manualInvitationOption__description: 'Потребителите могат да бъдат поканени само ръчно в организацията.', manualInvitationOption__label: 'Без автоматично записване', subtitle: 'Изберете как потребителите от този домейн могат да се присъединят към организацията.', @@ -652,15 +651,15 @@ export const bgBG: LocalizationResource = { title: 'Профил', }, passwordPage: { - changePasswordSuccessMessage: 'Паролата ви беше обновена.', - changePasswordTitle: 'Промени паролата', + successMessage__set: 'Паролата ви беше зададена.', + successMessage__update: 'Паролата ви беше обновена.', + successMessage__signOutOfOtherSessions: 'Всички други устройства бяха излезли.', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', readonly: 'Вашата парола в момента не може да бъде редактирана, тъй като можете да влизате само чрез корпоративна връзка.', - sessionsSignedOutSuccessMessage: 'Всички други устройства бяха излезли.', - successMessage: 'Паролата ви беше зададена.', - title: 'Задай парола', + title__set: 'Задай парола', + title__update: 'Промени паролата', }, phoneNumberPage: { infoText: 'Съобщение, съдържащо линк за потвърждение, ще бъде изпратено на този телефонен номер.', @@ -735,7 +734,7 @@ export const bgBG: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: 'Промени паролата', + primaryButton__updatePassword: 'Промени паролата', primaryButton__setPassword: 'Задай парола', title: 'Парола', }, @@ -752,7 +751,7 @@ export const bgBG: LocalizationResource = { title: 'Профил', }, usernameSection: { - primaryButton__changeUsername: 'Промени потребителското име', + primaryButton__updateUsername: 'Промени потребителското име', primaryButton__setUsername: 'Задай потребителско име', title: 'Потребителско име', }, @@ -764,7 +763,8 @@ export const bgBG: LocalizationResource = { }, usernamePage: { successMessage: 'Вашето потребителско име е актуализирано.', - title: 'Актуализиране на потребителското име', + title__set: 'Актуализиране на потребителското име', + title__update: 'Актуализиране на потребителското име', }, web3WalletPage: { removeResource: { diff --git a/packages/localizations/src/cs-CZ.ts b/packages/localizations/src/cs-CZ.ts index a0d4737671a..3c82cf1e41b 100644 --- a/packages/localizations/src/cs-CZ.ts +++ b/packages/localizations/src/cs-CZ.ts @@ -212,7 +212,7 @@ export const csCZ: LocalizationResource = { headerTitle__general: 'General', headerTitle__members: 'Členové', profileSection: { - primaryButton: 'Edit profile', + primaryButton: '', title: 'Organization Profile', uploadAction__title: 'Logo', }, @@ -234,7 +234,6 @@ export const csCZ: LocalizationResource = { calloutInfoLabel: 'Changing the enrollment mode will only affect new users.', calloutInvitationCountLabel: 'Pending invitations sent to users: {{count}}', calloutSuggestionCountLabel: 'Pending suggestions sent to users: {{count}}', - formButton__save: 'Save', manualInvitationOption__description: 'Users can only be invited manually to the organization.', manualInvitationOption__label: 'No automatic enrollment', subtitle: 'Choose how users from this domain can join the organization.', @@ -649,14 +648,14 @@ export const csCZ: LocalizationResource = { title: 'Account', }, passwordPage: { - changePasswordSuccessMessage: 'Vaše heslo bylo aktualizováno.', - changePasswordTitle: 'Změnit heslo', + successMessage__set: 'Vaše heslo bylo nastaveno.', + successMessage__update: 'Vaše heslo bylo aktualizováno.', + successMessage__signOutOfOtherSessions: 'Všechna ostatní zařízení byla odhlášena.', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', readonly: 'Your password can currently not be edited because you can sign in only via the enterprise connection.', - sessionsSignedOutSuccessMessage: 'Všechna ostatní zařízení byla odhlášena.', - successMessage: 'Vaše heslo bylo nastaveno.', - title: 'Nastavit heslo', + title__set: 'Nastavit heslo', + title__update: 'Změnit heslo', }, phoneNumberPage: { infoText: 'Na toto telefonní číslo bude odeslána textová zpráva obsahující ověřovací odkaz.', @@ -731,7 +730,7 @@ export const csCZ: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: 'Změnit heslo', + primaryButton__updatePassword: 'Změnit heslo', primaryButton__setPassword: 'Nastavit heslo', title: 'Heslo', }, @@ -744,11 +743,11 @@ export const csCZ: LocalizationResource = { title: 'Telefonní čísla', }, profileSection: { - primaryButton: 'Edit Profile', + primaryButton: '', title: 'Profil', }, usernameSection: { - primaryButton__changeUsername: 'Změnit uživatelské jméno', + primaryButton__updateUsername: 'Změnit uživatelské jméno', primaryButton__setUsername: 'Nastavit uživatelské jméno', title: 'Uživatelské jméno', }, @@ -760,7 +759,8 @@ export const csCZ: LocalizationResource = { }, usernamePage: { successMessage: 'Vaše uživatelské jméno bylo aktualizováno.', - title: 'Aktualizovat uživatelské jméno', + title__update: 'Aktualizovat uživatelské jméno', + title__set: 'Aktualizovat uživatelské jméno', }, web3WalletPage: { removeResource: { diff --git a/packages/localizations/src/da-DK.ts b/packages/localizations/src/da-DK.ts index a123a0ca66d..3c39e393478 100644 --- a/packages/localizations/src/da-DK.ts +++ b/packages/localizations/src/da-DK.ts @@ -213,7 +213,7 @@ export const daDK: LocalizationResource = { headerTitle__general: 'General', headerTitle__members: 'Medlemmer', profileSection: { - primaryButton: 'Edit profile', + primaryButton: '', title: 'Organization Profile', uploadAction__title: 'Logo', }, @@ -235,7 +235,6 @@ export const daDK: LocalizationResource = { calloutInfoLabel: 'Changing the enrollment mode will only affect new users.', calloutInvitationCountLabel: 'Pending invitations sent to users: {{count}}', calloutSuggestionCountLabel: 'Pending suggestions sent to users: {{count}}', - formButton__save: 'Save', manualInvitationOption__description: 'Users can only be invited manually to the organization.', manualInvitationOption__label: 'No automatic enrollment', subtitle: 'Choose how users from this domain can join the organization.', @@ -650,14 +649,14 @@ export const daDK: LocalizationResource = { title: 'Account', }, passwordPage: { - changePasswordSuccessMessage: 'Din adgangskode er blevet opdateret.', - changePasswordTitle: 'Skift kodeord', + successMessage__set: 'Din adgangskode er blevet indstillet.', + successMessage__update: 'Din adgangskode er blevet opdateret.', + successMessage__signOutOfOtherSessions: 'Alle andre enheder er blevet logget ud.', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', readonly: 'Your password can currently not be edited because you can sign in only via the enterprise connection.', - sessionsSignedOutSuccessMessage: 'Alle andre enheder er blevet logget ud.', - successMessage: 'Din adgangskode er blevet indstillet.', - title: 'Sæt adgangskode', + title__set: 'Sæt adgangskode', + title__update: 'Skift kodeord', }, phoneNumberPage: { infoText: 'En sms, der indeholder et bekræftelseslink, sendes til dette telefonnummer.', @@ -679,7 +678,7 @@ export const daDK: LocalizationResource = { imageFormTitle: 'Profile image', readonly: 'Your profile information has been provided by the enterprise connection and cannot be edited.', successMessage: 'Your profile has been updated.', - title: 'Update profile', + title: '', }, start: { activeDevicesSection: { @@ -732,7 +731,7 @@ export const daDK: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: 'Skift adgangskode', + primaryButton__updatePassword: 'Skift adgangskode', primaryButton__setPassword: 'Indtast adgangskode', title: 'Adgangskode', }, @@ -745,11 +744,11 @@ export const daDK: LocalizationResource = { title: 'Telefonnumre', }, profileSection: { - primaryButton: 'Edit Profile', + primaryButton: '', title: 'Profil', }, usernameSection: { - primaryButton__changeUsername: 'Skift brugernavn', + primaryButton__updateUsername: 'Skift brugernavn', primaryButton__setUsername: 'Sæt brugernavn', title: 'Brugernavn', }, @@ -761,7 +760,8 @@ export const daDK: LocalizationResource = { }, usernamePage: { successMessage: 'Dit brugernavn er blevet opdateret.', - title: 'Opdater profil', + title__set: 'Opdater profil', + title__update: 'Opdater profil', }, web3WalletPage: { removeResource: { diff --git a/packages/localizations/src/de-DE.ts b/packages/localizations/src/de-DE.ts index 5129d9390c6..3340abd0738 100644 --- a/packages/localizations/src/de-DE.ts +++ b/packages/localizations/src/de-DE.ts @@ -238,7 +238,6 @@ export const deDE: LocalizationResource = { calloutInfoLabel: 'Änderungen des Anmeldemodus wirkt sich nur auf neue Benutzer aus.', calloutInvitationCountLabel: 'Ausstehende Einladungen gesendet an Benutzer: {{count}}', calloutSuggestionCountLabel: 'Ausstehende Vorschläge gesendet an Benutzer: {{count}}', - formButton__save: 'Speichern', manualInvitationOption__description: 'Benutzer können nur manuell in die Organisation eingeladen werden.', manualInvitationOption__label: 'Keine automatische Aufnahme', subtitle: 'Wählen Sie, wie Benutzer mit dieser Domain der Organisation beitreten können.', @@ -658,15 +657,15 @@ export const deDE: LocalizationResource = { title: 'Benutzerkonto', }, passwordPage: { - changePasswordSuccessMessage: 'Dein Passwort wurde aktualisiert.', - changePasswordTitle: 'Passwort ändern', + successMessage__set: 'Ihr Passwort wurde festgelegt.', + successMessage__update: 'Dein Passwort wurde aktualisiert.', + successMessage__signOutOfOtherSessions: 'Alle anderen Geräte wurden abgemeldet.', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', readonly: 'Ihr Passwort kann derzeit nicht geändert werden, da Sie sich nur über die Enterprise-Verbindung anmelden können.', - sessionsSignedOutSuccessMessage: 'Alle anderen Geräte wurden abgemeldet.', - successMessage: 'Ihr Passwort wurde festgelegt.', - title: 'Passwort festlegen', + title__set: 'Passwort festlegen', + title__update: 'Passwort ändern', }, phoneNumberPage: { infoText: 'An diese Telefonnummer wird eine SMS mit einem Bestätigungslink gesendet.', @@ -741,7 +740,7 @@ export const deDE: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: 'Passwort ändern', + primaryButton__updatePassword: 'Passwort ändern', primaryButton__setPassword: 'Passwort festlegen', title: 'Passwort', }, @@ -754,11 +753,11 @@ export const deDE: LocalizationResource = { title: 'Telefonnummern', }, profileSection: { - primaryButton: 'Edit Profile', + primaryButton: '', title: 'Profil', }, usernameSection: { - primaryButton__changeUsername: 'Benutzernamen ändern', + primaryButton__updateUsername: 'Benutzernamen ändern', primaryButton__setUsername: 'Benutzernamen festlegen', title: 'Nutzername', }, @@ -770,7 +769,8 @@ export const deDE: LocalizationResource = { }, usernamePage: { successMessage: 'Ihr Benutzername wurde aktualisiert.', - title: 'Benutzernamen aktualisieren', + title__set: 'Benutzernamen aktualisieren', + title__update: 'Benutzernamen aktualisieren', }, web3WalletPage: { removeResource: { diff --git a/packages/localizations/src/el-GR.ts b/packages/localizations/src/el-GR.ts index 5f78b3de830..220dddf65f2 100644 --- a/packages/localizations/src/el-GR.ts +++ b/packages/localizations/src/el-GR.ts @@ -214,7 +214,7 @@ export const elGR: LocalizationResource = { headerTitle__general: 'General', headerTitle__members: 'Μέλη', profileSection: { - primaryButton: 'Edit profile', + primaryButton: '', title: 'Organization Profile', uploadAction__title: 'Logo', }, @@ -236,7 +236,6 @@ export const elGR: LocalizationResource = { calloutInfoLabel: 'Changing the enrollment mode will only affect new users.', calloutInvitationCountLabel: 'Pending invitations sent to users: {{count}}', calloutSuggestionCountLabel: 'Pending suggestions sent to users: {{count}}', - formButton__save: 'Save', manualInvitationOption__description: 'Users can only be invited manually to the organization.', manualInvitationOption__label: 'No automatic enrollment', subtitle: 'Choose how users from this domain can join the organization.', @@ -657,15 +656,15 @@ export const elGR: LocalizationResource = { title: 'Account', }, passwordPage: { - changePasswordSuccessMessage: 'Ο κωδικός πρόσβασής σας έχει ενημερωθεί.', - changePasswordTitle: 'Αλλαγή κωδικού πρόσβασης', + successMessage__set: 'Ο κωδικός πρόσβασής σας έχει οριστεί.', + successMessage__update: 'Ο κωδικός πρόσβασής σας έχει ενημερωθεί.', + successMessage__signOutOfOtherSessions: 'Όλες οι άλλες συνεδρίες έχουν αποσυνδεθεί.', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', readonly: 'Ο κωδικός πρόσβασής σας δεν μπορεί να επεξεργαστεί αυτήν τη στιγμή επειδή μπορείτε να συνδεθείτε μόνο μέσω της σύνδεσης με την επιχείρηση.', - sessionsSignedOutSuccessMessage: 'Όλες οι άλλες συνεδρίες έχουν αποσυνδεθεί.', - successMessage: 'Ο κωδικός πρόσβασής σας έχει οριστεί.', - title: 'Ορισμός κωδικού πρόσβασης', + title__set: 'Ορισμός κωδικού πρόσβασης', + title__update: 'Αλλαγή κωδικού πρόσβασης', }, phoneNumberPage: { infoText: 'Θα σταλεί ένα μήνυμα κειμένου που περιέχει ένα σύνδεσμο επαλήθευσης σε αυτόν τον αριθμό τηλεφώνου.', @@ -741,7 +740,7 @@ export const elGR: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: 'Αλλαγή κωδικού πρόσβασης', + primaryButton__updatePassword: 'Αλλαγή κωδικού πρόσβασης', primaryButton__setPassword: 'Ορισμός κωδικού πρόσβασης', title: 'Κωδικός πρόσβασης', }, @@ -754,11 +753,11 @@ export const elGR: LocalizationResource = { title: 'Αριθμοί τηλεφώνου', }, profileSection: { - primaryButton: 'Edit Profile', + primaryButton: '', title: 'Προφίλ', }, usernameSection: { - primaryButton__changeUsername: 'Αλλαγή ονόματος χρήστη', + primaryButton__updateUsername: 'Αλλαγή ονόματος χρήστη', primaryButton__setUsername: 'Ορισμός ονόματος χρήστη', title: 'Όνομα χρήστη', }, @@ -770,7 +769,8 @@ export const elGR: LocalizationResource = { }, usernamePage: { successMessage: 'Το όνομα χρήστη σας έχει ενημερωθεί.', - title: 'Ενημέρωση ονόματος χρήστη', + title__set: 'Ενημέρωση ονόματος χρήστη', + title__update: 'Ενημέρωση ονόματος χρήστη', }, web3WalletPage: { removeResource: { diff --git a/packages/localizations/src/en-US.ts b/packages/localizations/src/en-US.ts index 4ee449535d9..4ffa30fe8bd 100644 --- a/packages/localizations/src/en-US.ts +++ b/packages/localizations/src/en-US.ts @@ -189,7 +189,7 @@ export const enUS: LocalizationResource = { title: 'Verified domains', }, successMessage: 'The organization has been updated.', - title: 'Update Profile', + title: 'Update profile', }, removeDomainPage: { messageLine1: 'The email domain {{domain}} will be removed.', @@ -201,7 +201,7 @@ export const enUS: LocalizationResource = { headerTitle__general: 'General', headerTitle__members: 'Members', profileSection: { - primaryButton: 'Edit profile', + primaryButton: 'Update profile', title: 'Organization Profile', uploadAction__title: 'Logo', }, @@ -223,7 +223,6 @@ export const enUS: LocalizationResource = { calloutInfoLabel: 'Changing the enrollment mode will only affect new users.', calloutInvitationCountLabel: 'Pending invitations sent to users: {{count}}', calloutSuggestionCountLabel: 'Pending suggestions sent to users: {{count}}', - formButton__save: 'Save', manualInvitationOption__description: 'Users can only be invited manually to the organization.', manualInvitationOption__label: 'No automatic enrollment', subtitle: 'Choose how users from this domain can join the organization.', @@ -639,14 +638,14 @@ export const enUS: LocalizationResource = { title: 'Account', }, passwordPage: { - changePasswordSuccessMessage: 'Your password has been updated.', - changePasswordTitle: 'Change password', + successMessage__set: 'Your password has been set.', + successMessage__update: 'Your password has been updated.', + successMessage__signOutOfOtherSessions: 'All other devices have been signed out.', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', readonly: 'Your password can currently not be edited because you can sign in only via the enterprise connection.', - sessionsSignedOutSuccessMessage: 'All other devices have been signed out.', - successMessage: 'Your password has been set.', - title: 'Set password', + title__set: 'Set password', + title__update: 'Update password', }, phoneNumberPage: { infoText: @@ -722,7 +721,7 @@ export const enUS: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: 'Change password', + primaryButton__updatePassword: 'Update password', primaryButton__setPassword: 'Set password', title: 'Password', }, @@ -735,11 +734,11 @@ export const enUS: LocalizationResource = { title: 'Phone numbers', }, profileSection: { - primaryButton: 'Edit profile', + primaryButton: 'Update profile', title: 'Profile', }, usernameSection: { - primaryButton__changeUsername: 'Change username', + primaryButton__updateUsername: 'Update username', primaryButton__setUsername: 'Set username', title: 'Username', }, @@ -751,7 +750,8 @@ export const enUS: LocalizationResource = { }, usernamePage: { successMessage: 'Your username has been updated.', - title: 'Update username', + title__set: 'Set username', + title__update: 'Update username', }, web3WalletPage: { removeResource: { diff --git a/packages/localizations/src/es-ES.ts b/packages/localizations/src/es-ES.ts index 0578a7ac4ce..18d067cdae9 100644 --- a/packages/localizations/src/es-ES.ts +++ b/packages/localizations/src/es-ES.ts @@ -214,7 +214,7 @@ export const esES: LocalizationResource = { headerTitle__general: 'General', headerTitle__members: 'Miembros', profileSection: { - primaryButton: 'Edit profile', + primaryButton: '', title: 'Organization Profile', uploadAction__title: 'Logo', }, @@ -236,7 +236,6 @@ export const esES: LocalizationResource = { calloutInfoLabel: 'Changing the enrollment mode will only affect new users.', calloutInvitationCountLabel: 'Pending invitations sent to users: {{count}}', calloutSuggestionCountLabel: 'Pending suggestions sent to users: {{count}}', - formButton__save: 'Save', manualInvitationOption__description: 'Users can only be invited manually to the organization.', manualInvitationOption__label: 'No automatic enrollment', subtitle: 'Choose how users from this domain can join the organization.', @@ -653,14 +652,14 @@ export const esES: LocalizationResource = { title: 'Account', }, passwordPage: { - changePasswordSuccessMessage: 'Tu contraseña ha sido actualizada.', - changePasswordTitle: 'Cambiar contraseña', + successMessage__set: 'Su contraseña ha sido establecida.', + successMessage__update: 'Tu contraseña ha sido actualizada.', + successMessage__signOutOfOtherSessions: 'Todos los demás dispositivos han cerrado sesión.', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', readonly: 'Your password can currently not be edited because you can sign in only via the enterprise connection.', - sessionsSignedOutSuccessMessage: 'Todos los demás dispositivos han cerrado sesión.', - successMessage: 'Su contraseña ha sido establecida.', - title: 'Configurar la clave', + title__set: 'Configurar la clave', + title__update: 'Cambiar contraseña', }, phoneNumberPage: { infoText: 'Se enviará un mensaje de texto con un enlace de verificación a este número de teléfono.', @@ -735,7 +734,7 @@ export const esES: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: 'Cambiar contraseña', + primaryButton__updatePassword: 'Cambiar contraseña', primaryButton__setPassword: 'Establecer contraseña ', title: 'Contraseña', }, @@ -748,11 +747,11 @@ export const esES: LocalizationResource = { title: 'Números telefónicos', }, profileSection: { - primaryButton: 'Edit Profile', + primaryButton: '', title: 'Perfil', }, usernameSection: { - primaryButton__changeUsername: 'Cambiar nombre de usuario', + primaryButton__updateUsername: 'Cambiar nombre de usuario', primaryButton__setUsername: 'Crear nombre de usuario', title: 'Nombre de usuario', }, @@ -764,7 +763,8 @@ export const esES: LocalizationResource = { }, usernamePage: { successMessage: 'Su nombre de usuario ha sido actualizado.', - title: 'Actualizar nombre de usuario', + title__set: 'Actualizar nombre de usuario', + title__update: 'Actualizar nombre de usuario', }, web3WalletPage: { removeResource: { diff --git a/packages/localizations/src/es-MX.ts b/packages/localizations/src/es-MX.ts index 117de93f08a..5afc55ef4c0 100644 --- a/packages/localizations/src/es-MX.ts +++ b/packages/localizations/src/es-MX.ts @@ -214,7 +214,7 @@ export const esMX: LocalizationResource = { headerTitle__general: 'General', headerTitle__members: 'Miembros', profileSection: { - primaryButton: 'Edit profile', + primaryButton: '', title: 'Organization Profile', uploadAction__title: 'Logo', }, @@ -236,7 +236,6 @@ export const esMX: LocalizationResource = { calloutInfoLabel: 'Changing the enrollment mode will only affect new users.', calloutInvitationCountLabel: 'Pending invitations sent to users: {{count}}', calloutSuggestionCountLabel: 'Pending suggestions sent to users: {{count}}', - formButton__save: 'Save', manualInvitationOption__description: 'Users can only be invited manually to the organization.', manualInvitationOption__label: 'No automatic enrollment', subtitle: 'Choose how users from this domain can join the organization.', @@ -654,14 +653,14 @@ export const esMX: LocalizationResource = { title: 'Account', }, passwordPage: { - changePasswordSuccessMessage: 'Tu contraseña ha sido actualizada.', - changePasswordTitle: 'Cambiar contraseña', + successMessage__set: 'Su contraseña ha sido establecida.', + successMessage__update: 'Tu contraseña ha sido actualizada.', + successMessage__signOutOfOtherSessions: 'Todos los demás dispositivos han cerrado sesión.', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', readonly: 'Your password can currently not be edited because you can sign in only via the enterprise connection.', - sessionsSignedOutSuccessMessage: 'Todos los demás dispositivos han cerrado sesión.', - successMessage: 'Su contraseña ha sido establecida.', - title: 'Configurar la clave', + title__set: 'Configurar la clave', + title__update: 'Cambiar contraseña', }, phoneNumberPage: { infoText: 'Se enviará un mensaje de texto con un enlace de verificación a este número de teléfono.', @@ -736,7 +735,7 @@ export const esMX: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: 'Cambiar contraseña', + primaryButton__updatePassword: 'Cambiar contraseña', primaryButton__setPassword: 'Establecer contraseña ', title: 'Contraseña', }, @@ -749,11 +748,11 @@ export const esMX: LocalizationResource = { title: 'Números telefónicos', }, profileSection: { - primaryButton: 'Edit Profile', + primaryButton: '', title: 'Perfil', }, usernameSection: { - primaryButton__changeUsername: 'Cambiar nombre de usuario', + primaryButton__updateUsername: 'Cambiar nombre de usuario', primaryButton__setUsername: 'Crear nombre de usuario', title: 'Nombre de usuario', }, @@ -765,7 +764,8 @@ export const esMX: LocalizationResource = { }, usernamePage: { successMessage: 'Su nombre de usuario ha sido actualizado.', - title: 'Actualizar nombre de usuario', + title__set: 'Actualizar nombre de usuario', + title__update: 'Actualizar nombre de usuario', }, web3WalletPage: { removeResource: { diff --git a/packages/localizations/src/fr-FR.ts b/packages/localizations/src/fr-FR.ts index b6b3e8b108a..1213150d32e 100644 --- a/packages/localizations/src/fr-FR.ts +++ b/packages/localizations/src/fr-FR.ts @@ -214,7 +214,7 @@ export const frFR: LocalizationResource = { headerTitle__general: 'General', headerTitle__members: 'Membres', profileSection: { - primaryButton: 'Edit profile', + primaryButton: '', title: 'Organization Profile', uploadAction__title: 'Logo', }, @@ -236,7 +236,6 @@ export const frFR: LocalizationResource = { calloutInfoLabel: 'Changing the enrollment mode will only affect new users.', calloutInvitationCountLabel: 'Pending invitations sent to users: {{count}}', calloutSuggestionCountLabel: 'Pending suggestions sent to users: {{count}}', - formButton__save: 'Save', manualInvitationOption__description: 'Users can only be invited manually to the organization.', manualInvitationOption__label: 'No automatic enrollment', subtitle: 'Choose how users from this domain can join the organization.', @@ -655,14 +654,14 @@ export const frFR: LocalizationResource = { title: 'Account', }, passwordPage: { - changePasswordSuccessMessage: 'Votre mot de passe a été mis à jour.', - changePasswordTitle: 'Changer le mot de passe', + successMessage__set: 'Votre mot de passe a été mis à jour.', + successMessage__update: 'Votre mot de passe a été mis à jour.', + successMessage__signOutOfOtherSessions: 'Tous les autres appareils ont été déconnectés.', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', readonly: 'Your password can currently not be edited because you can sign in only via the enterprise connection.', - sessionsSignedOutSuccessMessage: 'Tous les autres appareils ont été déconnectés.', - successMessage: 'Votre mot de passe a été mis à jour.', - title: 'Mettre à jour le mot de passe', + title__set: 'Mettre à jour le mot de passe', + title__update: 'Changer le mot de passe', }, phoneNumberPage: { infoText: 'Un message texte contenant un lien de vérification sera envoyé à ce numéro de téléphone.', @@ -738,7 +737,7 @@ export const frFR: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: 'Changer le mot de passe', + primaryButton__updatePassword: 'Changer le mot de passe', primaryButton__setPassword: 'Définir le mot de passe', title: 'Mot de passe', }, @@ -751,11 +750,11 @@ export const frFR: LocalizationResource = { title: 'Les numéros de téléphone', }, profileSection: { - primaryButton: 'Edit Profile', + primaryButton: '', title: 'Profil', }, usernameSection: { - primaryButton__changeUsername: "Changer le nom d'utilisateur", + primaryButton__updateUsername: "Changer le nom d'utilisateur", primaryButton__setUsername: "Définir le nom d'utilisateur", title: "Nom d'utilisateur", }, @@ -767,7 +766,8 @@ export const frFR: LocalizationResource = { }, usernamePage: { successMessage: "Votre nom d'utilisateur a été mis à jour.", - title: "Mettre à jour le nom d'utilisateur", + title__set: "Mettre à jour le nom d'utilisateur", + title__update: "Mettre à jour le nom d'utilisateur", }, web3WalletPage: { removeResource: { diff --git a/packages/localizations/src/he-IL.ts b/packages/localizations/src/he-IL.ts index f7dc35fc846..fe2ec477dc9 100644 --- a/packages/localizations/src/he-IL.ts +++ b/packages/localizations/src/he-IL.ts @@ -211,7 +211,7 @@ export const heIL: LocalizationResource = { headerTitle__general: 'General', headerTitle__members: 'חברים', profileSection: { - primaryButton: 'Edit profile', + primaryButton: '', title: 'Organization Profile', uploadAction__title: 'Logo', }, @@ -233,7 +233,6 @@ export const heIL: LocalizationResource = { calloutInfoLabel: 'Changing the enrollment mode will only affect new users.', calloutInvitationCountLabel: 'Pending invitations sent to users: {{count}}', calloutSuggestionCountLabel: 'Pending suggestions sent to users: {{count}}', - formButton__save: 'Save', manualInvitationOption__description: 'Users can only be invited manually to the organization.', manualInvitationOption__label: 'No automatic enrollment', subtitle: 'Choose how users from this domain can join the organization.', @@ -640,14 +639,14 @@ export const heIL: LocalizationResource = { title: 'Account', }, passwordPage: { - changePasswordSuccessMessage: 'הסיסמה שלך עודכנה.', - changePasswordTitle: 'שנה סיסמה', + successMessage__set: 'הסיסמה שלך הוגדרה.', + successMessage__update: 'הסיסמה שלך עודכנה.', + successMessage__signOutOfOtherSessions: 'כל המכשירים האחרים התנתקו.', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', readonly: 'Your password can currently not be edited because you can sign in only via the enterprise connection.', - sessionsSignedOutSuccessMessage: 'כל המכשירים האחרים התנתקו.', - successMessage: 'הסיסמה שלך הוגדרה.', - title: 'הגדר סיסמה', + title__set: 'הגדר סיסמה', + title__update: 'שנה סיסמה', }, phoneNumberPage: { infoText: 'הודעת טקסט שמכילה קישור לאימות תישלח למספר טלפון זה.', @@ -721,7 +720,7 @@ export const heIL: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: 'שנה סיסמה', + primaryButton__updatePassword: 'שנה סיסמה', primaryButton__setPassword: 'הגדר סיסמה', title: 'סיסמה', }, @@ -734,11 +733,11 @@ export const heIL: LocalizationResource = { title: 'מספרי טלפון', }, profileSection: { - primaryButton: 'Edit Profile', + primaryButton: '', title: 'פרופיל', }, usernameSection: { - primaryButton__changeUsername: 'שנה שם משתמש', + primaryButton__updateUsername: 'שנה שם משתמש', primaryButton__setUsername: 'הגדר שם משתמש', title: 'שם משתמש', }, @@ -750,7 +749,8 @@ export const heIL: LocalizationResource = { }, usernamePage: { successMessage: 'שם המשתמש שלך עודכן.', - title: 'עדכן שם משתמש', + title__set: 'עדכן שם משתמש', + title__update: 'עדכן שם משתמש', }, web3WalletPage: { removeResource: { diff --git a/packages/localizations/src/it-IT.ts b/packages/localizations/src/it-IT.ts index 8b578ee7b20..ca0630832e9 100644 --- a/packages/localizations/src/it-IT.ts +++ b/packages/localizations/src/it-IT.ts @@ -213,7 +213,7 @@ export const itIT: LocalizationResource = { headerTitle__general: 'General', headerTitle__members: 'Membri', profileSection: { - primaryButton: 'Edit profile', + primaryButton: '', title: 'Organization Profile', uploadAction__title: 'Logo', }, @@ -235,7 +235,6 @@ export const itIT: LocalizationResource = { calloutInfoLabel: 'Changing the enrollment mode will only affect new users.', calloutInvitationCountLabel: 'Pending invitations sent to users: {{count}}', calloutSuggestionCountLabel: 'Pending suggestions sent to users: {{count}}', - formButton__save: 'Save', manualInvitationOption__description: 'Users can only be invited manually to the organization.', manualInvitationOption__label: 'No automatic enrollment', subtitle: 'Choose how users from this domain can join the organization.', @@ -651,14 +650,14 @@ export const itIT: LocalizationResource = { title: 'Account', }, passwordPage: { - changePasswordSuccessMessage: 'La tua password è stata aggiornata.', - changePasswordTitle: 'Cambia password', + successMessage__set: 'La tua password é stata impostata.', + successMessage__update: 'La tua password è stata aggiornata.', + successMessage__signOutOfOtherSessions: 'Tutti gli altri dispositivi sono stati disconnessi.', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', readonly: 'Your password can currently not be edited because you can sign in only via the enterprise connection.', - sessionsSignedOutSuccessMessage: 'Tutti gli altri dispositivi sono stati disconnessi.', - successMessage: 'La tua password é stata impostata.', - title: 'Imposta password', + title__set: 'Imposta password', + title__update: 'Cambia password', }, phoneNumberPage: { infoText: 'Un SMS contenente un link di verifica é stato inviato a questo numero di telefono.', @@ -733,7 +732,7 @@ export const itIT: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: 'Cambia password', + primaryButton__updatePassword: 'Cambia password', primaryButton__setPassword: 'Imposta password', title: 'Password', }, @@ -746,11 +745,11 @@ export const itIT: LocalizationResource = { title: 'Numeri di telefono', }, profileSection: { - primaryButton: 'Edit Profile', + primaryButton: '', title: 'Profilo', }, usernameSection: { - primaryButton__changeUsername: 'Cambia username', + primaryButton__updateUsername: 'Cambia username', primaryButton__setUsername: 'Imposta username', title: 'Username', }, @@ -762,7 +761,8 @@ export const itIT: LocalizationResource = { }, usernamePage: { successMessage: 'Il tuo username é stato aggiornato.', - title: 'Aggiorna username', + title__set: 'Aggiorna username', + title__update: 'Aggiorna username', }, web3WalletPage: { removeResource: { diff --git a/packages/localizations/src/ja-JP.ts b/packages/localizations/src/ja-JP.ts index 6907f25bbf8..fed8aee139a 100644 --- a/packages/localizations/src/ja-JP.ts +++ b/packages/localizations/src/ja-JP.ts @@ -213,7 +213,7 @@ export const jaJP: LocalizationResource = { headerTitle__general: 'General', headerTitle__members: 'メンバー', profileSection: { - primaryButton: 'Edit profile', + primaryButton: '', title: 'Organization Profile', uploadAction__title: 'Logo', }, @@ -235,7 +235,6 @@ export const jaJP: LocalizationResource = { calloutInfoLabel: 'Changing the enrollment mode will only affect new users.', calloutInvitationCountLabel: 'Pending invitations sent to users: {{count}}', calloutSuggestionCountLabel: 'Pending suggestions sent to users: {{count}}', - formButton__save: 'Save', manualInvitationOption__description: 'Users can only be invited manually to the organization.', manualInvitationOption__label: 'No automatic enrollment', subtitle: 'Choose how users from this domain can join the organization.', @@ -647,14 +646,14 @@ export const jaJP: LocalizationResource = { title: 'Account', }, passwordPage: { - changePasswordSuccessMessage: 'パスワードが更新されました。', - changePasswordTitle: 'パスワードの変更', + successMessage__set: 'パスワードが設定されました。', + successMessage__update: 'パスワードが更新されました。', + successMessage__signOutOfOtherSessions: '他のすべてのデバイスからサインアウトされました。', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', readonly: 'Your password can currently not be edited because you can sign in only via the enterprise connection.', - sessionsSignedOutSuccessMessage: '他のすべてのデバイスからサインアウトされました。', - successMessage: 'パスワードが設定されました。', - title: 'パスワードの設定', + title__set: 'パスワードの設定', + title__update: 'パスワードの変更', }, phoneNumberPage: { infoText: 'この電話番号には検証リンクが含まれたテキストメッセージが送信されます。', @@ -729,7 +728,7 @@ export const jaJP: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: 'パスワードを変更する', + primaryButton__updatePassword: 'パスワードを変更する', primaryButton__setPassword: 'パスワードを設定する', title: 'パスワード', }, @@ -742,11 +741,11 @@ export const jaJP: LocalizationResource = { title: '電話番号', }, profileSection: { - primaryButton: 'Edit Profile', + primaryButton: '', title: 'プロフィール', }, usernameSection: { - primaryButton__changeUsername: 'ユーザー名の変更', + primaryButton__updateUsername: 'ユーザー名の変更', primaryButton__setUsername: 'ユーザー名の設定', title: 'ユーザー名', }, @@ -758,7 +757,8 @@ export const jaJP: LocalizationResource = { }, usernamePage: { successMessage: 'ユーザー名が更新されました。', - title: 'ユーザー名の更新', + title__set: 'ユーザー名の更新', + title__update: 'ユーザー名の更新', }, web3WalletPage: { removeResource: { diff --git a/packages/localizations/src/ko-KR.ts b/packages/localizations/src/ko-KR.ts index d4008682836..93fb63b95b9 100644 --- a/packages/localizations/src/ko-KR.ts +++ b/packages/localizations/src/ko-KR.ts @@ -211,7 +211,7 @@ export const koKR: LocalizationResource = { headerTitle__general: 'General', headerTitle__members: '멤버', profileSection: { - primaryButton: 'Edit profile', + primaryButton: '', title: 'Organization Profile', uploadAction__title: 'Logo', }, @@ -233,7 +233,6 @@ export const koKR: LocalizationResource = { calloutInfoLabel: 'Changing the enrollment mode will only affect new users.', calloutInvitationCountLabel: 'Pending invitations sent to users: {{count}}', calloutSuggestionCountLabel: 'Pending suggestions sent to users: {{count}}', - formButton__save: 'Save', manualInvitationOption__description: 'Users can only be invited manually to the organization.', manualInvitationOption__label: 'No automatic enrollment', subtitle: 'Choose how users from this domain can join the organization.', @@ -641,14 +640,14 @@ export const koKR: LocalizationResource = { title: '게정', }, passwordPage: { - changePasswordSuccessMessage: '비밀번호가 업데이트되었습니다.', - changePasswordTitle: '비밀번호 변경', + successMessage__set: '비밀번호가 설정되었습니다.', + successMessage__update: '비밀번호가 업데이트되었습니다.', + successMessage__signOutOfOtherSessions: '다른 모든 기기는 로그아웃되었습니다.', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', readonly: 'Your password can currently not be edited because you can sign in only via the enterprise connection.', - sessionsSignedOutSuccessMessage: '다른 모든 기기는 로그아웃되었습니다.', - successMessage: '비밀번호가 설정되었습니다.', - title: '비밀번호 설정', + title__set: '비밀번호 설정', + title__update: '비밀번호 변경', }, phoneNumberPage: { infoText: '인증 링크가 포함된 문자 메시지가 이 휴대폰 번호로 전송됩니다.', @@ -722,7 +721,7 @@ export const koKR: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: '비밀번호 변경', + primaryButton__updatePassword: '비밀번호 변경', primaryButton__setPassword: '비밀번호 설정', title: '비밀번호', }, @@ -739,7 +738,7 @@ export const koKR: LocalizationResource = { title: '프로필', }, usernameSection: { - primaryButton__changeUsername: '사용자 이름 변경', + primaryButton__updateUsername: '사용자 이름 변경', primaryButton__setUsername: '사용자 이름 설정', title: '사용자 이름', }, @@ -751,7 +750,8 @@ export const koKR: LocalizationResource = { }, usernamePage: { successMessage: '당신읭 사용자 이름이 업데이트되었습니다.', - title: '사용자 이름 업데이트', + title__set: '사용자 이름 업데이트', + title__update: '사용자 이름 업데이트', }, web3WalletPage: { removeResource: { diff --git a/packages/localizations/src/nb-NO.ts b/packages/localizations/src/nb-NO.ts index 4e86414977c..7b734e3c3ef 100644 --- a/packages/localizations/src/nb-NO.ts +++ b/packages/localizations/src/nb-NO.ts @@ -213,7 +213,7 @@ export const nbNO: LocalizationResource = { headerTitle__general: 'General', headerTitle__members: 'Medlemmer', profileSection: { - primaryButton: 'Edit profile', + primaryButton: '', title: 'Organization Profile', uploadAction__title: 'Logo', }, @@ -235,7 +235,6 @@ export const nbNO: LocalizationResource = { calloutInfoLabel: 'Changing the enrollment mode will only affect new users.', calloutInvitationCountLabel: 'Pending invitations sent to users: {{count}}', calloutSuggestionCountLabel: 'Pending suggestions sent to users: {{count}}', - formButton__save: 'Save', manualInvitationOption__description: 'Users can only be invited manually to the organization.', manualInvitationOption__label: 'No automatic enrollment', subtitle: 'Choose how users from this domain can join the organization.', @@ -652,14 +651,14 @@ export const nbNO: LocalizationResource = { title: 'Account', }, passwordPage: { - changePasswordSuccessMessage: 'Passordet ditt har blitt oppdatert.', - changePasswordTitle: 'Endre passord', + successMessage__set: 'Passordet ditt er satt.', + successMessage__update: 'Passordet ditt har blitt oppdatert.', + successMessage__signOutOfOtherSessions: 'Alle andre enheter har blitt logget ut.', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', readonly: 'Passordet ditt kan for øyeblikket ikke endres fordi du kun kan logge inn via bedriftstilkoblingen.', - sessionsSignedOutSuccessMessage: 'Alle andre enheter har blitt logget ut.', - successMessage: 'Passordet ditt er satt.', - title: 'Sett passord', + title__set: 'Sett passord', + title__update: 'Endre passord', }, phoneNumberPage: { infoText: 'En tekstmelding med en verifiseringslenke vil bli sendt til dette telefonnummeret.', @@ -734,7 +733,7 @@ export const nbNO: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: 'Endre passord', + primaryButton__updatePassword: 'Endre passord', primaryButton__setPassword: 'Opprett passord', title: 'Passord', }, @@ -747,11 +746,11 @@ export const nbNO: LocalizationResource = { title: 'Telefonnumre', }, profileSection: { - primaryButton: 'Edit Profile', + primaryButton: '', title: 'Profil', }, usernameSection: { - primaryButton__changeUsername: 'Endre brukernavn', + primaryButton__updateUsername: 'Endre brukernavn', primaryButton__setUsername: 'Angi brukernavn', title: 'Brukernavn', }, @@ -763,7 +762,8 @@ export const nbNO: LocalizationResource = { }, usernamePage: { successMessage: 'Brukernavnet ditt har blitt oppdatert.', - title: 'Oppdater brukernavn', + title__set: 'Oppdater brukernavn', + title__update: 'Oppdater brukernavn', }, web3WalletPage: { removeResource: { diff --git a/packages/localizations/src/nl-NL.ts b/packages/localizations/src/nl-NL.ts index 4ce38aed62c..66206f75a73 100644 --- a/packages/localizations/src/nl-NL.ts +++ b/packages/localizations/src/nl-NL.ts @@ -214,7 +214,7 @@ export const nlNL: LocalizationResource = { headerTitle__general: 'General', headerTitle__members: 'Leden', profileSection: { - primaryButton: 'Edit profile', + primaryButton: '', title: 'Organization Profile', uploadAction__title: 'Logo', }, @@ -236,7 +236,6 @@ export const nlNL: LocalizationResource = { calloutInfoLabel: 'Changing the enrollment mode will only affect new users.', calloutInvitationCountLabel: 'Pending invitations sent to users: {{count}}', calloutSuggestionCountLabel: 'Pending suggestions sent to users: {{count}}', - formButton__save: 'Save', manualInvitationOption__description: 'Users can only be invited manually to the organization.', manualInvitationOption__label: 'No automatic enrollment', subtitle: 'Choose how users from this domain can join the organization.', @@ -649,14 +648,14 @@ export const nlNL: LocalizationResource = { title: 'Account', }, passwordPage: { - changePasswordSuccessMessage: 'Your password has been updated.', - changePasswordTitle: 'Change password', + successMessage__set: 'Je wachtwoord is ingesteld.', + successMessage__update: 'Your password has been updated.', + successMessage__signOutOfOtherSessions: 'All other devices have been signed out.', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', readonly: 'Your password can currently not be edited because you can sign in only via the enterprise connection.', - sessionsSignedOutSuccessMessage: 'All other devices have been signed out.', - successMessage: 'Je wachtwoord is ingesteld.', - title: 'Stel wachtwoord in', + title__set: 'Stel wachtwoord in', + title__update: 'Change password', }, phoneNumberPage: { infoText: 'Een SMS met daarin een verificatiecode is verstuurd naar dit nummer.', @@ -730,7 +729,7 @@ export const nlNL: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: 'Wachtwoord wijzigen', + primaryButton__updatePassword: 'Wachtwoord wijzigen', primaryButton__setPassword: 'Wachtwoord instellen', title: 'Wachtwoord', }, @@ -743,11 +742,11 @@ export const nlNL: LocalizationResource = { title: 'Telefoonnummers', }, profileSection: { - primaryButton: 'Edit Profile', + primaryButton: '', title: 'Profiel', }, usernameSection: { - primaryButton__changeUsername: 'Wijzig gebruikersnaam', + primaryButton__updateUsername: 'Wijzig gebruikersnaam', primaryButton__setUsername: 'Stel gebruikersnaam in', title: 'Gebruikersnaam', }, @@ -759,7 +758,8 @@ export const nlNL: LocalizationResource = { }, usernamePage: { successMessage: 'Je gebruikersnaam is bijgewerkt.', - title: 'Gebruikersnaam bijwerken', + title__set: 'Gebruikersnaam bijwerken', + title__update: 'Gebruikersnaam bijwerken', }, web3WalletPage: { removeResource: { diff --git a/packages/localizations/src/pl-PL.ts b/packages/localizations/src/pl-PL.ts index ac942643dc4..339ff57c428 100644 --- a/packages/localizations/src/pl-PL.ts +++ b/packages/localizations/src/pl-PL.ts @@ -213,7 +213,7 @@ export const plPL: LocalizationResource = { headerTitle__general: 'General', headerTitle__members: 'Członkowie', profileSection: { - primaryButton: 'Edit profile', + primaryButton: '', title: 'Organization Profile', uploadAction__title: 'Logo', }, @@ -235,7 +235,6 @@ export const plPL: LocalizationResource = { calloutInfoLabel: 'Changing the enrollment mode will only affect new users.', calloutInvitationCountLabel: 'Pending invitations sent to users: {{count}}', calloutSuggestionCountLabel: 'Pending suggestions sent to users: {{count}}', - formButton__save: 'Save', manualInvitationOption__description: 'Users can only be invited manually to the organization.', manualInvitationOption__label: 'No automatic enrollment', subtitle: 'Choose how users from this domain can join the organization.', @@ -652,14 +651,14 @@ export const plPL: LocalizationResource = { title: 'Account', }, passwordPage: { - changePasswordSuccessMessage: 'Twoje hasło zostało zaktualizowane.', - changePasswordTitle: 'Zmień hasło', + successMessage__set: 'Twoje hasło zostało ustawione.', + successMessage__update: 'Twoje hasło zostało zaktualizowane.', + successMessage__signOutOfOtherSessions: 'Wylogowano z wszystkich innych urządzeń.', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', readonly: 'Your password can currently not be edited because you can sign in only via the enterprise connection.', - sessionsSignedOutSuccessMessage: 'Wylogowano z wszystkich innych urządzeń.', - successMessage: 'Twoje hasło zostało ustawione.', - title: 'Ustaw hasło', + title__set: 'Ustaw hasło', + title__update: 'Zmień hasło', }, phoneNumberPage: { infoText: 'Wiadomość tekstowa zawierająca link weryfikacyjny zostanie wysłana na ten numer telefonu.', @@ -734,7 +733,7 @@ export const plPL: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: 'Zmień hasło', + primaryButton__updatePassword: 'Zmień hasło', primaryButton__setPassword: 'Ustaw hasło', title: 'Hasło', }, @@ -747,11 +746,11 @@ export const plPL: LocalizationResource = { title: 'Numery telefonów', }, profileSection: { - primaryButton: 'Edit Profile', + primaryButton: '', title: 'Profil', }, usernameSection: { - primaryButton__changeUsername: 'Zmień nazwę użytkownika', + primaryButton__updateUsername: 'Zmień nazwę użytkownika', primaryButton__setUsername: 'Ustaw nazwę użytkownika', title: 'Nazwa użytkownika', }, @@ -763,7 +762,8 @@ export const plPL: LocalizationResource = { }, usernamePage: { successMessage: 'Twoja nazwa użytkownika została zaktualizowana.', - title: 'Zmień nazwę użytkownika', + title__set: 'Zmień nazwę użytkownika', + title__update: 'Zmień nazwę użytkownika', }, web3WalletPage: { removeResource: { diff --git a/packages/localizations/src/pt-BR.ts b/packages/localizations/src/pt-BR.ts index be77dae3ce2..62680dd2805 100644 --- a/packages/localizations/src/pt-BR.ts +++ b/packages/localizations/src/pt-BR.ts @@ -212,7 +212,7 @@ export const ptBR: LocalizationResource = { headerTitle__general: 'General', headerTitle__members: 'Membros', profileSection: { - primaryButton: 'Edit profile', + primaryButton: '', title: 'Organization Profile', uploadAction__title: 'Logo', }, @@ -234,7 +234,6 @@ export const ptBR: LocalizationResource = { calloutInfoLabel: 'Alterar o modo de inscrição afetará apenas os novos usuários.', calloutInvitationCountLabel: 'Convites pendentes enviados aos usuários: {{count}}', calloutSuggestionCountLabel: 'Sugestões pendentes enviadas aos usuários: {{count}}', - formButton__save: 'Salvar', manualInvitationOption__description: 'Os usuários só podem ser convidados manualmente para a organização.', manualInvitationOption__label: 'Sem inscrição automática', subtitle: 'Escolha como os usuários deste domínio podem se juntar à organização.', @@ -653,15 +652,15 @@ export const ptBR: LocalizationResource = { title: 'Account', }, passwordPage: { - changePasswordSuccessMessage: 'Sua senha foi atualizada.', - changePasswordTitle: 'Trocar senha', + successMessage__set: 'Sua senha foi salva.', + successMessage__update: 'Sua senha foi atualizada.', + successMessage__signOutOfOtherSessions: 'Todos os outros dispositivos foram desconectados.', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', readonly: 'Sua senha atualmente não pode ser editada porque você só pode fazer login por meio da conexão da empresa.', - sessionsSignedOutSuccessMessage: 'Todos os outros dispositivos foram desconectados.', - successMessage: 'Sua senha foi salva.', - title: 'Defina a senha', + title__set: 'Defina a senha', + title__update: 'Trocar senha', }, phoneNumberPage: { infoText: 'Um SMS contendo um link de verificação será enviado para este telefone.', @@ -736,7 +735,7 @@ export const ptBR: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: 'Trocar a senha', + primaryButton__updatePassword: 'Trocar a senha', primaryButton__setPassword: 'Defina a senha', title: 'Senha', }, @@ -749,11 +748,11 @@ export const ptBR: LocalizationResource = { title: 'Números de telefone', }, profileSection: { - primaryButton: 'Edit Profile', + primaryButton: '', title: 'Perfil', }, usernameSection: { - primaryButton__changeUsername: 'Trocar nome de usuário', + primaryButton__updateUsername: 'Trocar nome de usuário', primaryButton__setUsername: 'Definir nome de usuário', title: 'Nome de usuário', }, @@ -765,7 +764,8 @@ export const ptBR: LocalizationResource = { }, usernamePage: { successMessage: 'Seu nome de usuário foi atualizado.', - title: 'Atualizar nome de usuário', + title__set: 'Atualizar nome de usuário', + title__update: 'Atualizar nome de usuário', }, web3WalletPage: { removeResource: { diff --git a/packages/localizations/src/pt-PT.ts b/packages/localizations/src/pt-PT.ts index 3efcd1067f0..6204ddad6a8 100644 --- a/packages/localizations/src/pt-PT.ts +++ b/packages/localizations/src/pt-PT.ts @@ -212,7 +212,7 @@ export const ptPT: LocalizationResource = { headerTitle__general: 'General', headerTitle__members: 'Membros', profileSection: { - primaryButton: 'Edit profile', + primaryButton: '', title: 'Organization Profile', uploadAction__title: 'Logo', }, @@ -234,7 +234,6 @@ export const ptPT: LocalizationResource = { calloutInfoLabel: 'Alterar o modo de inscrição afetará apenas os novos utilizadores.', calloutInvitationCountLabel: 'Convites pendentes enviados aos utilizadores: {{count}}', calloutSuggestionCountLabel: 'Sugestões pendentes enviadas aos utilizadores: {{count}}', - formButton__save: 'Guardar', manualInvitationOption__description: 'Os utilizadores só podem ser convidados manualmente para a organização.', manualInvitationOption__label: 'Sem inscrição automática', subtitle: 'Escolha como os utilizadores deste domínio se podem entrar na organização.', @@ -651,14 +650,14 @@ export const ptPT: LocalizationResource = { title: 'Account', }, passwordPage: { - changePasswordSuccessMessage: 'A sua palavra-passe foi atualizada.', - changePasswordTitle: 'Trocar palavra-passe', + successMessage__set: 'A sua palavra-passe foi guardada.', + successMessage__update: 'A sua palavra-passe foi atualizada.', + successMessage__signOutOfOtherSessions: 'Todos os outros dispositivos foram desconectados.', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', readonly: 'A sua palavra-passe não pode ser editada porque só pode fazer login por meio da conexão da empresa.', - sessionsSignedOutSuccessMessage: 'Todos os outros dispositivos foram desconectados.', - successMessage: 'A sua palavra-passe foi guardada.', - title: 'Defina a palavra-passe', + title__set: 'Defina a palavra-passe', + title__update: 'Trocar palavra-passe', }, phoneNumberPage: { infoText: 'Um SMS contendo um link de verificação será enviado para este telemóvel.', @@ -733,7 +732,7 @@ export const ptPT: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: 'Trocar palavra-passe', + primaryButton__updatePassword: 'Trocar palavra-passe', primaryButton__setPassword: 'Definir palavra-passe', title: 'Palavra-passe', }, @@ -746,11 +745,11 @@ export const ptPT: LocalizationResource = { title: 'Números de telemóvel', }, profileSection: { - primaryButton: 'Edit Profile', + primaryButton: '', title: 'Perfil', }, usernameSection: { - primaryButton__changeUsername: 'Trocar nome de utilizador', + primaryButton__updateUsername: 'Trocar nome de utilizador', primaryButton__setUsername: 'Definir nome de utilizador', title: 'Nome de utilizador', }, @@ -762,7 +761,8 @@ export const ptPT: LocalizationResource = { }, usernamePage: { successMessage: 'O nome de utilizador foi atualizado.', - title: 'Atualizar nome de utilizador', + title__set: 'Atualizar nome de utilizador', + title__update: 'Atualizar nome de utilizador', }, web3WalletPage: { removeResource: { diff --git a/packages/localizations/src/ro-RO.ts b/packages/localizations/src/ro-RO.ts index eaddff557b8..95e350240a2 100644 --- a/packages/localizations/src/ro-RO.ts +++ b/packages/localizations/src/ro-RO.ts @@ -215,7 +215,7 @@ export const roRO: LocalizationResource = { headerTitle__general: 'General', headerTitle__members: 'Membri', profileSection: { - primaryButton: 'Edit profile', + primaryButton: '', title: 'Organization Profile', uploadAction__title: 'Logo', }, @@ -237,7 +237,6 @@ export const roRO: LocalizationResource = { calloutInfoLabel: 'Schimbarea modului de înscriere va afecta doar utilizatorii noi.', calloutInvitationCountLabel: 'Invitații în așteptare trimise utilizatorilor: {{count}}', calloutSuggestionCountLabel: 'Sugestii în așteptare trimise utilizatorilor: {{count}}', - formButton__save: 'Salvați', manualInvitationOption__description: 'Utilizatorii pot fi invitați doar manual în organizație.', manualInvitationOption__label: 'Fără înscriere automată', subtitle: 'Alegeți modul în care utilizatorii din acest domeniu se pot alătura organizației.', @@ -659,15 +658,15 @@ export const roRO: LocalizationResource = { title: 'Account', }, passwordPage: { - changePasswordSuccessMessage: 'Parola dvs. a fost actualizată.', - changePasswordTitle: 'Modificați parola', + successMessage__set: 'Parola dvs. a fost setată.', + successMessage__update: 'Parola dvs. a fost actualizată.', + successMessage__signOutOfOtherSessions: 'Toate celelalte dispozitive au fost deconectate.', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', readonly: 'În prezent, parola dvs. nu poate fi modificată, deoarece vă puteți conecta numai prin intermediul conexiunii întreprinderii.', - sessionsSignedOutSuccessMessage: 'Toate celelalte dispozitive au fost deconectate.', - successMessage: 'Parola dvs. a fost setată.', - title: 'Setați parola', + title__set: 'Setați parola', + title__update: 'Modificați parola', }, phoneNumberPage: { infoText: 'La acest număr de telefon va fi trimis un mesaj text conținând un link de verificare.', @@ -743,7 +742,7 @@ export const roRO: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: 'Modificați parola', + primaryButton__updatePassword: 'Modificați parola', primaryButton__setPassword: 'Setați parola', title: 'Parola', }, @@ -756,11 +755,11 @@ export const roRO: LocalizationResource = { title: 'Numere de telefon', }, profileSection: { - primaryButton: 'Edit Profile', + primaryButton: '', title: 'Profil', }, usernameSection: { - primaryButton__changeUsername: 'Schimbă numele de utilizator', + primaryButton__updateUsername: 'Schimbă numele de utilizator', primaryButton__setUsername: 'Setați numele de utilizator', title: 'Nume utilizator', }, @@ -772,7 +771,8 @@ export const roRO: LocalizationResource = { }, usernamePage: { successMessage: 'Numele dvs. de utilizator a fost actualizat.', - title: 'Actualizați numele de utilizator', + title__set: 'Actualizați numele de utilizator', + title__update: 'Actualizați numele de utilizator', }, web3WalletPage: { removeResource: { diff --git a/packages/localizations/src/ru-RU.ts b/packages/localizations/src/ru-RU.ts index 2498b14f538..3384ea1b85e 100644 --- a/packages/localizations/src/ru-RU.ts +++ b/packages/localizations/src/ru-RU.ts @@ -213,7 +213,7 @@ export const ruRU: LocalizationResource = { headerTitle__general: 'General', headerTitle__members: 'Участники', profileSection: { - primaryButton: 'Edit profile', + primaryButton: '', title: 'Organization Profile', uploadAction__title: 'Logo', }, @@ -235,7 +235,6 @@ export const ruRU: LocalizationResource = { calloutInfoLabel: 'Изменение способа присоединения повлияет только на новых пользователей.', calloutInvitationCountLabel: 'Приглашений отправлено: {{count}}', calloutSuggestionCountLabel: 'Рекомендаций отправлено: {{count}}', - formButton__save: 'Сохранить', manualInvitationOption__description: 'Пользователи не смогут присоединяться самостоятельно, можно добавлять их только вручную.', manualInvitationOption__label: 'Только ручное добавление', @@ -655,14 +654,14 @@ export const ruRU: LocalizationResource = { title: 'Account', }, passwordPage: { - changePasswordSuccessMessage: 'Ваш пароль был обновлен.', - changePasswordTitle: 'Изменить пароль', + successMessage__set: 'Ваш пароль установлен.', + successMessage__update: 'Ваш пароль был обновлен.', + successMessage__signOutOfOtherSessions: 'Все другие устройства были выведены из системы.', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', readonly: 'Your password can currently not be edited because you can sign in only via the enterprise connection.', - sessionsSignedOutSuccessMessage: 'Все другие устройства были выведены из системы.', - successMessage: 'Ваш пароль установлен.', - title: 'Установить пароль', + title__set: 'Установить пароль', + title__update: 'Изменить пароль', }, phoneNumberPage: { infoText: 'На этот номер телефона будет отправлено текстовое сообщение с верификационной ссылкой.', @@ -737,7 +736,7 @@ export const ruRU: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: 'Изменить пароль', + primaryButton__updatePassword: 'Изменить пароль', primaryButton__setPassword: 'Установить пароль', title: 'Пароль', }, @@ -750,11 +749,11 @@ export const ruRU: LocalizationResource = { title: 'Номера телефонов', }, profileSection: { - primaryButton: 'Edit Profile', + primaryButton: '', title: 'Профиль', }, usernameSection: { - primaryButton__changeUsername: 'Изменить имя пользователя', + primaryButton__updateUsername: 'Изменить имя пользователя', primaryButton__setUsername: 'Установить имя пользователя', title: 'Имя пользователя', }, @@ -766,7 +765,8 @@ export const ruRU: LocalizationResource = { }, usernamePage: { successMessage: 'Имя пользователя было обновлено.', - title: 'Обновить имя пользователя', + title__set: 'Обновить имя пользователя', + title__update: 'Обновить имя пользователя', }, web3WalletPage: { removeResource: { diff --git a/packages/localizations/src/sk-SK.ts b/packages/localizations/src/sk-SK.ts index bfa3a7b207a..3225cfa548f 100644 --- a/packages/localizations/src/sk-SK.ts +++ b/packages/localizations/src/sk-SK.ts @@ -213,7 +213,7 @@ export const skSK: LocalizationResource = { headerTitle__general: 'General', headerTitle__members: 'Členovia', profileSection: { - primaryButton: 'Edit profile', + primaryButton: '', title: 'Organization Profile', uploadAction__title: 'Logo', }, @@ -235,7 +235,6 @@ export const skSK: LocalizationResource = { calloutInfoLabel: 'Changing the enrollment mode will only affect new users.', calloutInvitationCountLabel: 'Pending invitations sent to users: {{count}}', calloutSuggestionCountLabel: 'Pending suggestions sent to users: {{count}}', - formButton__save: 'Save', manualInvitationOption__description: 'Users can only be invited manually to the organization.', manualInvitationOption__label: 'No automatic enrollment', subtitle: 'Choose how users from this domain can join the organization.', @@ -650,14 +649,14 @@ export const skSK: LocalizationResource = { title: 'Account', }, passwordPage: { - changePasswordSuccessMessage: 'Vaše heslo bolo aktualizované.', - changePasswordTitle: 'Zmeniť heslo', + successMessage__set: 'Vaše heslo bolo nastavené.', + successMessage__update: 'Vaše heslo bolo aktualizované.', + successMessage__signOutOfOtherSessions: 'Všetky ostatné zariadenia boli odhlásené.', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', readonly: 'Your password can currently not be edited because you can sign in only via the enterprise connection.', - sessionsSignedOutSuccessMessage: 'Všetky ostatné zariadenia boli odhlásené.', - successMessage: 'Vaše heslo bolo nastavené.', - title: 'Nastaviť heslo', + title__set: 'Nastaviť heslo', + title__update: 'Zmeniť heslo', }, phoneNumberPage: { infoText: 'Na toto telefónne číslo bude odoslaná textová správa obsahujúca overovací odkaz.', @@ -732,7 +731,7 @@ export const skSK: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: 'Zmeniť heslo', + primaryButton__updatePassword: 'Zmeniť heslo', primaryButton__setPassword: 'Nastaviť heslo', title: 'Heslo', }, @@ -745,11 +744,11 @@ export const skSK: LocalizationResource = { title: 'Telefónne čísla', }, profileSection: { - primaryButton: 'Edit Profile', + primaryButton: '', title: 'Profil', }, usernameSection: { - primaryButton__changeUsername: 'Zmeniť užívateľské meno', + primaryButton__updateUsername: 'Zmeniť užívateľské meno', primaryButton__setUsername: 'Nastaviť užívateľské meno', title: 'Užívateľské meno', }, @@ -761,7 +760,8 @@ export const skSK: LocalizationResource = { }, usernamePage: { successMessage: 'Vaše užívateľské meno bolo aktualizované.', - title: 'Aktualizovať užívateľské meno', + title__set: 'Aktualizovať užívateľské meno', + title__update: 'Aktualizovať užívateľské meno', }, web3WalletPage: { removeResource: { diff --git a/packages/localizations/src/sv-SE.ts b/packages/localizations/src/sv-SE.ts index a2758a0068f..cc4cc9df1f9 100644 --- a/packages/localizations/src/sv-SE.ts +++ b/packages/localizations/src/sv-SE.ts @@ -213,7 +213,7 @@ export const svSE: LocalizationResource = { headerTitle__general: 'General', headerTitle__members: 'Medlemmar', profileSection: { - primaryButton: 'Edit profile', + primaryButton: '', title: 'Organization Profile', uploadAction__title: 'Logo', }, @@ -235,7 +235,6 @@ export const svSE: LocalizationResource = { calloutInfoLabel: 'Changing the enrollment mode will only affect new users.', calloutInvitationCountLabel: 'Pending invitations sent to users: {{count}}', calloutSuggestionCountLabel: 'Pending suggestions sent to users: {{count}}', - formButton__save: 'Save', manualInvitationOption__description: 'Users can only be invited manually to the organization.', manualInvitationOption__label: 'No automatic enrollment', subtitle: 'Choose how users from this domain can join the organization.', @@ -649,14 +648,14 @@ export const svSE: LocalizationResource = { title: 'Account', }, passwordPage: { - changePasswordSuccessMessage: 'Ditt lösenord har uppdaterats.', - changePasswordTitle: 'Byt lösenord', + successMessage__set: 'Ditt lösenord har angetts.', + successMessage__update: 'Ditt lösenord har uppdaterats.', + successMessage__signOutOfOtherSessions: 'Alla andra enheter har loggats ut.', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', readonly: 'Your password can currently not be edited because you can sign in only via the enterprise connection.', - sessionsSignedOutSuccessMessage: 'Alla andra enheter har loggats ut.', - successMessage: 'Ditt lösenord har angetts.', - title: 'Ange lösenord', + title__set: 'Ange lösenord', + title__update: 'Byt lösenord', }, phoneNumberPage: { infoText: 'Ett textmeddelande med en verifieringslänk kommer att skickas till detta telefonnummer.', @@ -731,7 +730,7 @@ export const svSE: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: 'Byt lösenord', + primaryButton__updatePassword: 'Byt lösenord', primaryButton__setPassword: 'Ställ in lösenord', title: 'Lösenord', }, @@ -744,11 +743,11 @@ export const svSE: LocalizationResource = { title: 'Telefonnummer', }, profileSection: { - primaryButton: 'Edit Profile', + primaryButton: '', title: 'Profil', }, usernameSection: { - primaryButton__changeUsername: 'Ändra användarnamn', + primaryButton__updateUsername: 'Ändra användarnamn', primaryButton__setUsername: 'Sätt användarnamn', title: 'Användarnamn', }, @@ -760,7 +759,8 @@ export const svSE: LocalizationResource = { }, usernamePage: { successMessage: 'Ditt användarnamn har uppdaterats.', - title: 'Uppdatera användarnamn', + title__set: 'Uppdatera användarnamn', + title__update: 'Uppdatera användarnamn', }, web3WalletPage: { removeResource: { diff --git a/packages/localizations/src/tr-TR.ts b/packages/localizations/src/tr-TR.ts index 1a6383f3856..d9106bb1f01 100644 --- a/packages/localizations/src/tr-TR.ts +++ b/packages/localizations/src/tr-TR.ts @@ -213,7 +213,7 @@ export const trTR: LocalizationResource = { headerTitle__general: 'General', headerTitle__members: 'Üyeler', profileSection: { - primaryButton: 'Edit profile', + primaryButton: '', title: 'Organization Profile', uploadAction__title: 'Logo', }, @@ -235,7 +235,6 @@ export const trTR: LocalizationResource = { calloutInfoLabel: 'Changing the enrollment mode will only affect new users.', calloutInvitationCountLabel: 'Pending invitations sent to users: {{count}}', calloutSuggestionCountLabel: 'Pending suggestions sent to users: {{count}}', - formButton__save: 'Save', manualInvitationOption__description: 'Users can only be invited manually to the organization.', manualInvitationOption__label: 'No automatic enrollment', subtitle: 'Choose how users from this domain can join the organization.', @@ -651,14 +650,14 @@ export const trTR: LocalizationResource = { title: 'Account', }, passwordPage: { - changePasswordSuccessMessage: 'Şifreniz günceellendi.', - changePasswordTitle: 'Yeni şifre girin', + successMessage__set: 'Şifreniz başarıyla değiştirildi.', + successMessage__update: 'Şifreniz günceellendi.', + successMessage__signOutOfOtherSessions: 'Diğer tüm cihazlardaki oturumlarınız sonlandırıldı.', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', readonly: 'Your password can currently not be edited because you can sign in only via the enterprise connection.', - sessionsSignedOutSuccessMessage: 'Diğer tüm cihazlardaki oturumlarınız sonlandırıldı.', - successMessage: 'Şifreniz başarıyla değiştirildi.', - title: 'Şifreyi değiştir', + title__set: 'Şifreyi değiştir', + title__update: 'Yeni şifre girin', }, phoneNumberPage: { infoText: 'Belirtilen numaraya doğrulama kodunu içeren bir SMS gönderilecektir.', @@ -733,7 +732,7 @@ export const trTR: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: 'Şifreyi değiştir', + primaryButton__updatePassword: 'Şifreyi değiştir', primaryButton__setPassword: 'Şifreyi güncelle', title: 'Şifre', }, @@ -746,11 +745,11 @@ export const trTR: LocalizationResource = { title: 'Telefon numaraları', }, profileSection: { - primaryButton: 'Edit Profile', + primaryButton: '', title: 'Profil', }, usernameSection: { - primaryButton__changeUsername: 'Kullanıcı adını değiştir', + primaryButton__updateUsername: 'Kullanıcı adını değiştir', primaryButton__setUsername: 'Güncelle', title: 'Kullanıcı adı', }, @@ -762,7 +761,8 @@ export const trTR: LocalizationResource = { }, usernamePage: { successMessage: 'Kullanıcı adınız güncellendi.', - title: 'Kullanıcı adını güncelle', + title__set: 'Kullanıcı adını güncelle', + title__update: 'Kullanıcı adını güncelle', }, web3WalletPage: { removeResource: { diff --git a/packages/localizations/src/uk-UA.ts b/packages/localizations/src/uk-UA.ts index d34e0e58750..3d4f7fe5ea3 100644 --- a/packages/localizations/src/uk-UA.ts +++ b/packages/localizations/src/uk-UA.ts @@ -213,7 +213,7 @@ export const ukUA: LocalizationResource = { headerTitle__general: 'General', headerTitle__members: 'Учасники', profileSection: { - primaryButton: 'Edit profile', + primaryButton: '', title: 'Organization Profile', uploadAction__title: 'Logo', }, @@ -235,7 +235,6 @@ export const ukUA: LocalizationResource = { calloutInfoLabel: 'Changing the enrollment mode will only affect new users.', calloutInvitationCountLabel: 'Pending invitations sent to users: {{count}}', calloutSuggestionCountLabel: 'Pending suggestions sent to users: {{count}}', - formButton__save: 'Save', manualInvitationOption__description: 'Users can only be invited manually to the organization.', manualInvitationOption__label: 'No automatic enrollment', subtitle: 'Choose how users from this domain can join the organization.', @@ -651,14 +650,14 @@ export const ukUA: LocalizationResource = { title: 'Account', }, passwordPage: { - changePasswordSuccessMessage: 'Ваш пароль було оновлено.', - changePasswordTitle: 'Змінити пароль', + successMessage__set: 'Ваш пароль встановлено.', + successMessage__update: 'Ваш пароль було оновлено.', + successMessage__signOutOfOtherSessions: 'Усі інші пристрої були виведені із системи.', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', readonly: 'Your password can currently not be edited because you can sign in only via the enterprise connection.', - sessionsSignedOutSuccessMessage: 'Усі інші пристрої були виведені із системи.', - successMessage: 'Ваш пароль встановлено.', - title: 'Встановити пароль', + title__set: 'Встановити пароль', + title__update: 'Змінити пароль', }, phoneNumberPage: { infoText: 'На цей номер телефону буде надіслано текстове повідомлення з верифікаційним посиланням.', @@ -733,7 +732,7 @@ export const ukUA: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: 'Змінити пароль', + primaryButton__updatePassword: 'Змінити пароль', primaryButton__setPassword: 'Встановити пароль', title: 'Пароль', }, @@ -746,11 +745,11 @@ export const ukUA: LocalizationResource = { title: 'Номери телефонів', }, profileSection: { - primaryButton: 'Edit Profile', + primaryButton: '', title: 'Профіль', }, usernameSection: { - primaryButton__changeUsername: "Змінити ім'я користувача", + primaryButton__updateUsername: "Змінити ім'я користувача", primaryButton__setUsername: "Встановити ім'я користувача", title: "Ім'я користувача", }, @@ -762,7 +761,8 @@ export const ukUA: LocalizationResource = { }, usernamePage: { successMessage: "Ім'я користувача було оновлено.", - title: "Оновити ім'я користувача", + title__set: "Оновити ім'я користувача", + title__update: "Оновити ім'я користувача", }, web3WalletPage: { removeResource: { diff --git a/packages/localizations/src/vi-VN.ts b/packages/localizations/src/vi-VN.ts index b5ad1f9fd15..80dab016b80 100644 --- a/packages/localizations/src/vi-VN.ts +++ b/packages/localizations/src/vi-VN.ts @@ -213,7 +213,7 @@ export const viVN: LocalizationResource = { headerTitle__general: 'General', headerTitle__members: 'Thành viên', profileSection: { - primaryButton: 'Edit profile', + primaryButton: '', title: 'Organization Profile', uploadAction__title: 'Logo', }, @@ -235,7 +235,6 @@ export const viVN: LocalizationResource = { calloutInfoLabel: 'Changing the enrollment mode will only affect new users.', calloutInvitationCountLabel: 'Pending invitations sent to users: {{count}}', calloutSuggestionCountLabel: 'Pending suggestions sent to users: {{count}}', - formButton__save: 'Save', manualInvitationOption__description: 'Users can only be invited manually to the organization.', manualInvitationOption__label: 'No automatic enrollment', subtitle: 'Choose how users from this domain can join the organization.', @@ -651,14 +650,14 @@ export const viVN: LocalizationResource = { title: 'Account', }, passwordPage: { - changePasswordSuccessMessage: 'Mật khẩu của bạn đã được cập nhật.', - changePasswordTitle: 'Thay đổi mật khẩu', + successMessage__set: 'Mật khẩu của bạn đã được thiết lập.', + successMessage__update: 'Mật khẩu của bạn đã được cập nhật.', + successMessage__signOutOfOtherSessions: 'Tất cả các thiết bị khác đã được đăng xuất.', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', readonly: 'Hiện tại bạn không thể chỉnh sửa mật khẩu vì bạn chỉ có thể đăng nhập qua kết nối doanh nghiệp.', - sessionsSignedOutSuccessMessage: 'Tất cả các thiết bị khác đã được đăng xuất.', - successMessage: 'Mật khẩu của bạn đã được thiết lập.', - title: 'Thiết lập mật khẩu', + title__set: 'Thiết lập mật khẩu', + title__update: 'Thay đổi mật khẩu', }, phoneNumberPage: { infoText: 'Một tin nhắn chứa liên kết xác minh sẽ được gửi đến số điện thoại này.', @@ -733,7 +732,7 @@ export const viVN: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: 'Thay đổi mật khẩu', + primaryButton__updatePassword: 'Thay đổi mật khẩu', primaryButton__setPassword: 'Đặt mật khẩu', title: 'Mật khẩu', }, @@ -746,11 +745,11 @@ export const viVN: LocalizationResource = { title: 'Số điện thoại', }, profileSection: { - primaryButton: 'Edit Profile', + primaryButton: '', title: 'Hồ sơ', }, usernameSection: { - primaryButton__changeUsername: 'Thay đổi tên người dùng', + primaryButton__updateUsername: 'Thay đổi tên người dùng', primaryButton__setUsername: 'Đặt tên người dùng', title: 'Tên người dùng', }, @@ -762,7 +761,8 @@ export const viVN: LocalizationResource = { }, usernamePage: { successMessage: 'Tên người dùng của bạn đã được cập nhật.', - title: 'Cập nhật tên người dùng', + title__set: 'Cập nhật tên người dùng', + title__update: 'Cập nhật tên người dùng', }, web3WalletPage: { removeResource: { diff --git a/packages/localizations/src/zh-CN.ts b/packages/localizations/src/zh-CN.ts index fd6874d6190..cdedaaa1d4c 100644 --- a/packages/localizations/src/zh-CN.ts +++ b/packages/localizations/src/zh-CN.ts @@ -211,7 +211,7 @@ export const zhCN: LocalizationResource = { headerTitle__general: 'General', headerTitle__members: '成员', profileSection: { - primaryButton: 'Edit profile', + primaryButton: '', title: 'Organization Profile', uploadAction__title: 'Logo', }, @@ -233,7 +233,6 @@ export const zhCN: LocalizationResource = { calloutInfoLabel: 'Changing the enrollment mode will only affect new users.', calloutInvitationCountLabel: 'Pending invitations sent to users: {{count}}', calloutSuggestionCountLabel: 'Pending suggestions sent to users: {{count}}', - formButton__save: 'Save', manualInvitationOption__description: 'Users can only be invited manually to the organization.', manualInvitationOption__label: 'No automatic enrollment', subtitle: 'Choose how users from this domain can join the organization.', @@ -636,14 +635,14 @@ export const zhCN: LocalizationResource = { title: 'Account', }, passwordPage: { - changePasswordSuccessMessage: '您的密码已更新。', - changePasswordTitle: '更改密码', + successMessage__set: '您的密码已设置。', + successMessage__update: '您的密码已更新。', + successMessage__signOutOfOtherSessions: '所有其他设备已退出。', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', readonly: 'Your password can currently not be edited because you can sign in only via the enterprise connection.', - sessionsSignedOutSuccessMessage: '所有其他设备已退出。', - successMessage: '您的密码已设置。', - title: '设置密码', + title__set: '设置密码', + title__update: '更改密码', }, phoneNumberPage: { infoText: '一条包含验证链接的短信将会发送到这个电话号码。', @@ -717,7 +716,7 @@ export const zhCN: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: '更改密码', + primaryButton__updatePassword: '更改密码', primaryButton__setPassword: '设置密码', title: '密码', }, @@ -730,11 +729,11 @@ export const zhCN: LocalizationResource = { title: '电话号码', }, profileSection: { - primaryButton: 'Edit Profile', + primaryButton: '', title: '个人资料', }, usernameSection: { - primaryButton__changeUsername: '更改用户名', + primaryButton__updateUsername: '更改用户名', primaryButton__setUsername: '设置用户名', title: '用户名', }, @@ -746,7 +745,8 @@ export const zhCN: LocalizationResource = { }, usernamePage: { successMessage: '您的用户名已更新。', - title: '更新用户名', + title__set: '更新用户名', + title__update: '更新用户名', }, web3WalletPage: { removeResource: { diff --git a/packages/localizations/src/zh-TW.ts b/packages/localizations/src/zh-TW.ts index 8236aab9ca6..c50c26b93e2 100644 --- a/packages/localizations/src/zh-TW.ts +++ b/packages/localizations/src/zh-TW.ts @@ -211,7 +211,7 @@ export const zhTW: LocalizationResource = { headerTitle__general: 'General', headerTitle__members: '成員', profileSection: { - primaryButton: 'Edit profile', + primaryButton: '', title: 'Organization Profile', uploadAction__title: 'Logo', }, @@ -233,7 +233,6 @@ export const zhTW: LocalizationResource = { calloutInfoLabel: 'Changing the enrollment mode will only affect new users.', calloutInvitationCountLabel: 'Pending invitations sent to users: {{count}}', calloutSuggestionCountLabel: 'Pending suggestions sent to users: {{count}}', - formButton__save: 'Save', manualInvitationOption__description: 'Users can only be invited manually to the organization.', manualInvitationOption__label: 'No automatic enrollment', subtitle: 'Choose how users from this domain can join the organization.', @@ -636,14 +635,14 @@ export const zhTW: LocalizationResource = { title: 'Account', }, passwordPage: { - changePasswordSuccessMessage: '您的密碼已更新。', - changePasswordTitle: '更改密碼', + successMessage__set: '您的密碼已設置。', + successMessage__update: '您的密碼已更新。', + successMessage__signOutOfOtherSessions: '所有其他設備已退出。', checkboxInfoText__signOutOfOtherSessions: 'It is recommended to sign out of all other devices which may have used your old password.', readonly: 'Your password can currently not be edited because you can sign in only via the enterprise connection.', - sessionsSignedOutSuccessMessage: '所有其他設備已退出。', - successMessage: '您的密碼已設置。', - title: '設置密碼', + title__set: '設置密碼', + title__update: '更改密碼', }, phoneNumberPage: { infoText: '一條包含驗證連結的簡訊將會發送到這個電話號碼。', @@ -717,7 +716,7 @@ export const zhTW: LocalizationResource = { }, }, passwordSection: { - primaryButton__changePassword: '更改密碼', + primaryButton__updatePassword: '更改密碼', primaryButton__setPassword: '設置密碼', title: '密碼', }, @@ -730,11 +729,11 @@ export const zhTW: LocalizationResource = { title: '電話號碼', }, profileSection: { - primaryButton: 'Edit Profile', + primaryButton: '', title: '個人資料', }, usernameSection: { - primaryButton__changeUsername: '更改使用者名稱', + primaryButton__updateUsername: '更改使用者名稱', primaryButton__setUsername: '設置使用者名稱', title: '使用者名稱', }, @@ -746,7 +745,8 @@ export const zhTW: LocalizationResource = { }, usernamePage: { successMessage: '您的使用者名稱已更新。', - title: '更新使用者名稱', + title__set: '更新使用者名稱', + title__update: '更新使用者名稱', }, web3WalletPage: { removeResource: { diff --git a/packages/types/src/localization.ts b/packages/types/src/localization.ts index 778e06ce0c0..9c9e12ae742 100644 --- a/packages/types/src/localization.ts +++ b/packages/types/src/localization.ts @@ -284,7 +284,7 @@ type _LocalizationResource = { }; usernameSection: { title: LocalizationValue; - primaryButton__changeUsername: LocalizationValue; + primaryButton__updateUsername: LocalizationValue; primaryButton__setUsername: LocalizationValue; }; emailAddressesSection: { @@ -316,7 +316,7 @@ type _LocalizationResource = { }; passwordSection: { title: LocalizationValue; - primaryButton__changePassword: LocalizationValue; + primaryButton__updatePassword: LocalizationValue; primaryButton__setPassword: LocalizationValue; }; mfaSection: { @@ -361,8 +361,9 @@ type _LocalizationResource = { successMessage: LocalizationValue; }; usernamePage: { - title: LocalizationValue; successMessage: LocalizationValue; + title__set: LocalizationValue; + title__update: LocalizationValue; }; emailAddressPage: { title: LocalizationValue; @@ -427,13 +428,13 @@ type _LocalizationResource = { }; }; passwordPage: { - title: LocalizationValue; - changePasswordTitle: LocalizationValue; - readonly: LocalizationValue; - successMessage: LocalizationValue; - changePasswordSuccessMessage: LocalizationValue; - sessionsSignedOutSuccessMessage: LocalizationValue; + successMessage__set: LocalizationValue; + successMessage__update: LocalizationValue; + successMessage__signOutOfOtherSessions: LocalizationValue; checkboxInfoText__signOutOfOtherSessions: LocalizationValue; + readonly: LocalizationValue; + title__set: LocalizationValue; + title__update: LocalizationValue; }; mfaPage: { title: LocalizationValue; @@ -591,7 +592,6 @@ type _LocalizationResource = { automaticInvitationOption__description: LocalizationValue; automaticSuggestionOption__label: LocalizationValue; automaticSuggestionOption__description: LocalizationValue; - formButton__save: LocalizationValue; calloutInfoLabel: LocalizationValue; calloutInvitationCountLabel: LocalizationValue; calloutSuggestionCountLabel: LocalizationValue;