Skip to content

armgit / ente

Public Imported from GitHub
0

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

tr

Manav Rathi8af2a75c84b7
diff --git a/web/apps/photos/src/components/Sidebar.tsx b/web/apps/photos/src/components/Sidebar.tsx
index 1b703e6878..49f971b94f 100644
--- a/web/apps/photos/src/components/Sidebar.tsx
+++ b/web/apps/photos/src/components/Sidebar.tsx
@@ -23,7 +23,6 @@ import { useModalVisibility } from "@/base/components/utils/modal";
import { isDevBuild } from "@/base/env";
import {
getLocaleInUse,
- pt,
setLocaleInUse,
supportedLocales,
ut,
@@ -623,7 +622,7 @@ const HelpSection: React.FC<Pick<SidebarProps, "closeSidebar">> = ({
<>
<RowButton
variant="secondary"
- label={pt("Help")}
+ label={t("Help")}
onClick={showHelp}
/>
<RowButton
@@ -989,7 +988,7 @@ const Help: React.FC<NestedSidebarDrawerVisibilityProps> = ({
const handleHelp = () => openURL("https://help.ente.io/photos/");
- const handleProductUpdates = () => openURL("https://ente.io/blog/");
+ const handleBlog = () => openURL("https://ente.io/blog/");
const handleRequestFeature = () =>
openURL("https://github.com/ente-io/ente/discussions");
@@ -1018,22 +1017,22 @@ const Help: React.FC<NestedSidebarDrawerVisibilityProps> = ({
<Stack sx={{ gap: "4px", py: "12px" }}>
<SidebarDrawerTitlebar
onClose={onClose}
- title={pt("Help")}
+ title={t("help")}
onRootClose={handleRootClose}
/>
<Stack sx={{ px: "16px", py: "8px", gap: "24px" }}>
<RowButtonGroup>
<RowButton
endIcon={<InfoOutlinedIcon />}
- label={pt("Ente Help")}
+ label={t("ente_help")}
onClick={handleHelp}
/>
</RowButtonGroup>
<RowButtonGroup>
<RowButton
endIcon={<NorthEastIcon />}
- label={pt("Product updates")}
- onClick={handleProductUpdates}
+ label={t("blog")}
+ onClick={handleBlog}
/>
<RowButtonDivider />
<RowButton
diff --git a/web/packages/base/locales/en-US/translation.json b/web/packages/base/locales/en-US/translation.json
index 9cd41df808..146066b483 100644
--- a/web/packages/base/locales/en-US/translation.json
+++ b/web/packages/base/locales/en-US/translation.json
@@ -127,6 +127,9 @@
"no_recovery_key_message": "Due to the nature of our end-to-end encryption protocol, your data cannot be decrypted without your password or recovery key",
"no_two_factor_recovery_key_message": "Please drop an email to <a>{{emailID}}</a> from your registered email address",
"contact_support": "Contact support",
+ "help": "Help",
+ "ente_help": "Ente Help",
+ "blog": "Blog",
"request_feature": "Request feature",
"support": "Support",
"cancel": "Cancel",