From 52d1bd1f0357e7bd9eec93aede0a9264ebd84e43 Mon Sep 17 00:00:00 2001 From: Nariman Jelveh Date: Sun, 24 Mar 2024 13:19:56 -0700 Subject: [PATCH] remove settings options from the user menu --- src/UI/UIDesktop.js | 22 ++-------------------- src/i18n/translations/en.js | 1 + 2 files changed, 3 insertions(+), 20 deletions(-) diff --git a/src/UI/UIDesktop.js b/src/UI/UIDesktop.js index 4281fb18..ced9cc40 100644 --- a/src/UI/UIDesktop.js +++ b/src/UI/UIDesktop.js @@ -1182,33 +1182,15 @@ $(document).on('click', '.user-options-menu-btn', async function(e){ UIWindowMyWebsites(); } }, - //-------------------------------------------------- - // Change Username - //-------------------------------------------------- - { - html: i18n('change_username'), - onClick: async function(){ - UIWindowChangeUsername(); - } - }, - //-------------------------------------------------- // Change Password //-------------------------------------------------- { - html: i18n('change_password'), + html: i18n('settings'), onClick: async function(){ - UIWindowChangePassword(); + UIWindowSettings(); } }, - - //-------------------------------------------------- - // Change Language - //-------------------------------------------------- - { - html: i18n('change_language'), - items: supportedLanguagesItems - }, //-------------------------------------------------- // Contact Us //-------------------------------------------------- diff --git a/src/i18n/translations/en.js b/src/i18n/translations/en.js index 88fcf2ef..ffb64747 100644 --- a/src/i18n/translations/en.js +++ b/src/i18n/translations/en.js @@ -157,6 +157,7 @@ const en = { send: "Send", send_password_recovery_email: "Send Password Recovery Email", session_saved: "Thank you for creating an account. This session has been saved.", + settings: "Settings", set_new_password: "Set New Password", share_to: "Share to", show_all_windows: "Show All Windows",