Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

View logs

Manav Rathi0ce2ac279cbd
diff --git a/desktop/src/main/menu.ts b/desktop/src/main/menu.ts
index 188b195f82..68ba968cd9 100644
--- a/desktop/src/main/menu.ts
+++ b/desktop/src/main/menu.ts
@@ -8,7 +8,6 @@ import {
import { allowWindowClose } from "../main";
import { forceCheckForAppUpdates } from "./services/app-update";
import autoLauncher from "./services/auto-launcher";
-import { openLogDirectory } from "./services/dir";
import { userPreferences } from "./stores/user-preferences";
/** Create and return the entries in the app's main menu bar */
@@ -50,8 +49,6 @@ export const createApplicationMenu = async (mainWindow: BrowserWindow) => {
const handleBlog = () => void shell.openExternal("https://ente.io/blog/");
- const handleViewLogs = () => void openLogDirectory();
-
return Menu.buildFromTemplate([
{
label: "Ente Photos",
@@ -178,11 +175,6 @@ export const createApplicationMenu = async (mainWindow: BrowserWindow) => {
label: "Product Updates",
click: handleBlog,
},
- { type: "separator" },
- {
- label: "View Logs",
- click: handleViewLogs,
- },
],
},
]);
diff --git a/web/apps/photos/src/components/Sidebar/index.tsx b/web/apps/photos/src/components/Sidebar/index.tsx
index 89006ab32b..d9109dfe16 100644
--- a/web/apps/photos/src/components/Sidebar/index.tsx
+++ b/web/apps/photos/src/components/Sidebar/index.tsx
@@ -676,7 +676,7 @@ const DebugSection: React.FC = () => {
const downloadLogs = () => {
log.info("Downloading logs");
if (electron) electron.openLogDirectory();
- else downloadString(savedLogs(), `debug_logs_${Date.now()}.txt`);
+ else downloadString(savedLogs(), `ente-web-logs-${Date.now()}.txt`);
};
return (
@@ -692,7 +692,7 @@ const DebugSection: React.FC = () => {
variant="secondary"
label={
<Typography variant="mini" color="text.muted">
- {t("debug_logs")}
+ {t("view_logs")}
</Typography>
}
onClick={confirmLogDownload}
diff --git a/web/packages/base/locales/en-US/translation.json b/web/packages/base/locales/en-US/translation.json
index 7ec3dabeef..8b1be6b8e4 100644
--- a/web/packages/base/locales/en-US/translation.json
+++ b/web/packages/base/locales/en-US/translation.json
@@ -471,6 +471,7 @@
"stop_watching_folder_message": "Your existing files will not be deleted, but Ente will stop automatically updating the linked Ente album on changes in this folder.",
"yes_stop": "Yes, stop",
"change_folder": "Change Folder",
+ "view_logs": "View logs",
"debug_logs": "Debug logs",
"download_logs": "Download logs",
"download_logs_message": "<p>This will download debug logs, which you can email to us to help debug your issue.</p><p>Please note that file names will be included to help track issues with specific files.</p>",