Răsfoiți Sursa

remove settings options from the user menu

Nariman Jelveh 1 an în urmă
părinte
comite
52d1bd1f03
2 a modificat fișierele cu 3 adăugiri și 20 ștergeri
  1. 2 20
      src/UI/UIDesktop.js
  2. 1 0
      src/i18n/translations/en.js

+ 2 - 20
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
             //--------------------------------------------------

+ 1 - 0
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",