[MM-37379] Add "Clear Data" options in the menu to allow users to force Electron to blow away session data. (#3185)

* [MM-37379] Add "Clear Data" options in the menu to allow users to force Electron to blow away session data.

* Fix i18n

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
This commit is contained in:
Devin Binnie
2024-11-26 10:03:25 -05:00
committed by GitHub
parent 057572e847
commit 723fda8abb
4 changed files with 73 additions and 0 deletions

View File

@@ -32,6 +32,12 @@
"main.app.app.handleAppCertificateError.certNotTrusted.dialog.title": "Certificate Not Trusted",
"main.app.app.handleAppCertificateError.dialog.extraDetail": "Certificate is different from previous one.\n\n",
"main.app.initialize.downloadBox.allFiles": "All files",
"main.app.utils.clearAllData.cancel": "Cancel",
"main.app.utils.clearAllData.confirm": "Clear All Data",
"main.app.utils.clearAllData.message": "This action will erase all session, cache, cookie and storage data for all server. Performing this action will restart the application. Are you sure you want to clear all data?",
"main.app.utils.clearDataForServer.cancel": "Cancel",
"main.app.utils.clearDataForServer.confirm": "Clear Data",
"main.app.utils.clearDataForServer.message": "This action will erase all session, cache, cookie and storage data for the server \"{serverName}\". Are you sure you want to clear data for this server?",
"main.app.utils.migrateMacAppStore.button.dontImport": "Don't Import",
"main.app.utils.migrateMacAppStore.button.selectAndImport": "Select Directory and Import",
"main.app.utils.migrateMacAppStore.dialog.detail": "It appears that an existing {appName} configuration exists, would you like to import it? You will be asked to pick the correct configuration directory.",
@@ -82,7 +88,9 @@
"main.menus.app.history.forward": "Forward",
"main.menus.app.view": "&View",
"main.menus.app.view.actualSize": "Actual Size",
"main.menus.app.view.clearAllData": "Clear All Data",
"main.menus.app.view.clearCacheAndReload": "Clear Cache and Reload",
"main.menus.app.view.clearDataForServer": "Clear Data for Current Server",
"main.menus.app.view.developerModeBrowserOnly": "Browser Only Mode",
"main.menus.app.view.developerModeDisableContextMenu": "Disable Context Menu",
"main.menus.app.view.developerModeDisableNotificationStorage": "Disable Notification Storage",