diff --git a/client/modules/IDE/components/Header/Nav.jsx b/client/modules/IDE/components/Header/Nav.jsx
index 2ed8dd224e..151e2d8212 100644
--- a/client/modules/IDE/components/Header/Nav.jsx
+++ b/client/modules/IDE/components/Header/Nav.jsx
@@ -378,7 +378,7 @@ const AuthenticatedUserMenu = () => {
{t('Nav.Auth.MyAssets')}
- {t('Preferences.Settings')}
+ {t('Nav.Auth.MyAccount')}
dispatch(logoutUser())}>
{t('Nav.Auth.LogOut')}
diff --git a/client/modules/User/components/AccountForm.jsx b/client/modules/User/components/AccountForm.jsx
index f2f10ec6d5..4406d58c17 100644
--- a/client/modules/User/components/AccountForm.jsx
+++ b/client/modules/User/components/AccountForm.jsx
@@ -176,7 +176,7 @@ function AccountForm() {
)}
)}
diff --git a/client/modules/User/components/AccountForm.unit.test.jsx b/client/modules/User/components/AccountForm.unit.test.jsx
index 653dce5243..caaa7ddc39 100644
--- a/client/modules/User/components/AccountForm.unit.test.jsx
+++ b/client/modules/User/components/AccountForm.unit.test.jsx
@@ -61,8 +61,8 @@ describe('', () => {
it('handles form submission and calls updateSettings', async () => {
subject();
- const saveAllSettingsButton = screen.getByRole('button', {
- name: /save all settings/i
+ const saveAccountDetailsButton = screen.getByRole('button', {
+ name: /save account details/i
});
const currentPasswordElement = screen.getByLabelText(/current password/i);
@@ -81,7 +81,7 @@ describe('', () => {
});
await act(async () => {
- fireEvent.click(saveAllSettingsButton);
+ fireEvent.click(saveAccountDetailsButton);
});
await waitFor(() => {
@@ -92,8 +92,8 @@ describe('', () => {
it('Save all setting button should get disabled while submitting and enable when not submitting', async () => {
subject();
- const saveAllSettingsButton = screen.getByRole('button', {
- name: /save all settings/i
+ const saveAccountDetailsButton = screen.getByRole('button', {
+ name: /save account details/i
});
const currentPasswordElement = screen.getByLabelText(/current password/i);
@@ -110,12 +110,12 @@ describe('', () => {
value: 'newPassword'
}
});
- expect(saveAllSettingsButton).not.toHaveAttribute('disabled');
+ expect(saveAccountDetailsButton).not.toHaveAttribute('disabled');
await act(async () => {
- fireEvent.click(saveAllSettingsButton);
+ fireEvent.click(saveAccountDetailsButton);
await waitFor(() => {
- expect(saveAllSettingsButton).toHaveAttribute('disabled');
+ expect(saveAccountDetailsButton).toHaveAttribute('disabled');
});
});
});
diff --git a/translations/locales/en-US/translations.json b/translations/locales/en-US/translations.json
index 376c18471c..afbb6e5057 100644
--- a/translations/locales/en-US/translations.json
+++ b/translations/locales/en-US/translations.json
@@ -367,13 +367,13 @@
"CurrentPasswordARIA": "Current Password",
"NewPassword": "New Password",
"NewPasswordARIA": "New Password",
- "SubmitSaveAllSettings": "Save All Settings"
+ "SaveAccountDetails": "Save Account Details"
},
"AccountView": {
"SocialLogin": "Social Login",
"SocialLoginDescription": "Use your GitHub or Google account to log into the p5.js Web Editor.",
"Title": "p5.js Web Editor | Account Settings",
- "Settings": "Account Settings",
+ "Settings": "My Account",
"AccountTab": "Account",
"AccessTokensTab": "Access Tokens"
},