Skip to content

armgit / ente

Public Imported from GitHub
0

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

Arrange

Manav Rathi698e96c6d6e7
diff --git a/web/apps/photos/src/components/Sidebar.tsx b/web/apps/photos/src/components/Sidebar.tsx
index a11583a8b3..5e862d231c 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,
@@ -87,6 +86,7 @@ import CategoryIcon from "@mui/icons-material/Category";
import ChevronRightIcon from "@mui/icons-material/ChevronRight";
import CloseIcon from "@mui/icons-material/Close";
import DeleteOutlineIcon from "@mui/icons-material/DeleteOutline";
+import HealthAndSafetyIcon from "@mui/icons-material/HealthAndSafety";
import InfoOutlinedIcon from "@mui/icons-material/InfoOutlined";
import LockOutlinedIcon from "@mui/icons-material/LockOutlined";
import NorthEastIcon from "@mui/icons-material/NorthEast";
@@ -527,7 +527,7 @@ const UtilitySection: React.FC<Pick<SidebarProps, "closeSidebar">> = ({
<>
<RowButton
variant="secondary"
- label={pt("Account")}
+ label={t("account")}
onClick={showAccount}
/>
{isDesktop && (
@@ -689,29 +689,40 @@ const Account: React.FC<NestedSidebarDrawerVisibilityProps> = ({
<Stack sx={{ gap: "4px", py: "12px" }}>
<SidebarDrawerTitlebar
onClose={onClose}
- title={t("help")}
+ title={t("account")}
onRootClose={handleRootClose}
/>
<Stack sx={{ px: "16px", py: "8px", gap: "24px" }}>
<RowButtonGroup>
<RowButton
+ endIcon={
+ <HealthAndSafetyIcon
+ sx={{ color: "accent.main" }}
+ />
+ }
label={t("recovery_key")}
onClick={showRecoveryKey}
/>
+ </RowButtonGroup>
+ <RowButtonGroup>
<RowButton
label={t("two_factor")}
onClick={showTwoFactor}
/>
+ <RowButtonDivider />
<RowButton
label={t("passkeys")}
onClick={handlePasskeys}
/>
+ </RowButtonGroup>
+ <RowButtonGroup>
<RowButton
label={t("change_password")}
onClick={handleChangePassword}
/>
+ <RowButtonDivider />
+
<RowButton
- endIcon={<InfoOutlinedIcon />}
label={t("change_email")}
onClick={handleChangeEmail}
/>
diff --git a/web/packages/base/locales/en-US/translation.json b/web/packages/base/locales/en-US/translation.json
index 25b8989ab5..5def46e704 100644
--- a/web/packages/base/locales/en-US/translation.json
+++ b/web/packages/base/locales/en-US/translation.json
@@ -112,6 +112,7 @@
"password_changed_elsewhere": "Password changed elsewhere",
"password_changed_elsewhere_message": "Please login again on this device to use your new password to authenticate.",
"go_back": "Go back",
+ "account": "Account",
"recovery_key": "Recovery key",
"do_this_later": "Do this later",
"save_key": "Save Key",