Skip to content

armgit / ente

Public Imported from GitHub
0

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

Match

Manav Rathia04185365710
diff --git a/web/apps/photos/src/components/Sidebar.tsx b/web/apps/photos/src/components/Sidebar.tsx
index b694ad31d1..1b703e6878 100644
--- a/web/apps/photos/src/components/Sidebar.tsx
+++ b/web/apps/photos/src/components/Sidebar.tsx
@@ -93,7 +93,8 @@ import LockOutlinedIcon from "@mui/icons-material/LockOutlined";
import NorthEastIcon from "@mui/icons-material/NorthEast";
import VisibilityOffIcon from "@mui/icons-material/VisibilityOff";
import {
- Box, Button,
+ Box,
+ Button,
Dialog,
DialogContent,
Divider,
@@ -986,29 +987,27 @@ const Help: React.FC<NestedSidebarDrawerVisibilityProps> = ({
onRootClose();
};
- const handleHelp = () =>
- openURL("https://help.ente.io/photos/");
+ const handleHelp = () => openURL("https://help.ente.io/photos/");
- const handleProductUpdates = () =>
- openURL("https://ente.io/blog/");
+ const handleProductUpdates = () => openURL("https://ente.io/blog/");
const handleRequestFeature = () =>
openURL("https://github.com/ente-io/ente/discussions");
const handleSupport = () => initiateEmail("[email protected]");
- const confirmLogDownload = () =>
+ const confirmViewLogs = () =>
showMiniDialog({
- title: t("download_logs"),
- message: <Trans i18nKey={"download_logs_message"} />,
+ title: t("view_logs"),
+ message: <Trans i18nKey={"view_logs_message"} />,
continue: {
- text: t("download"),
- action: downloadLogs,
+ text: t("view_logs"),
+ action: viewLogs,
},
});
- const downloadLogs = () => {
- log.info("Downloading logs");
+ const viewLogs = () => {
+ log.info("Viewing logs");
const electron = globalThis.electron;
if (electron) electron.openLogDirectory();
else downloadString(savedLogs(), `ente-web-logs-${Date.now()}.txt`);
@@ -1065,7 +1064,7 @@ const Help: React.FC<NestedSidebarDrawerVisibilityProps> = ({
{t("view_logs")}
</Typography>
}
- onClick={confirmLogDownload}
+ onClick={confirmViewLogs}
/>
</Stack>
</Stack>
diff --git a/web/packages/base/locales/en-US/translation.json b/web/packages/base/locales/en-US/translation.json
index 8b1be6b8e4..9cd41df808 100644
--- a/web/packages/base/locales/en-US/translation.json
+++ b/web/packages/base/locales/en-US/translation.json
@@ -472,9 +472,7 @@
"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>",
+ "view_logs_message": "<p>This will show debug logs, which you can email to us to help debug your issue.</p><p>Note that file names will be included to help track issues with specific files.</p>",
"weak_device_hint": "The web browser you're using is not powerful enough to encrypt your photos. Please try to log in to Ente on your computer, or download the Ente mobile/desktop app.",
"drag_and_drop_hint": "Or drag and drop into the Ente window",
"authenticate": "Authenticate",