π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Move to tr
Manav Rathi96b9b36c69ab
diff --git a/web/packages/base/locales/en-US/translation.json b/web/packages/base/locales/en-US/translation.jsonindex 4c0bbbb210..a2e2724e03 100644--- a/web/packages/base/locales/en-US/translation.json+++ b/web/packages/base/locales/en-US/translation.json@@ -235,6 +235,13 @@"new_person": "New person","add_name": "Add name","rename_person": "Rename person",+ "reset_person_confirm": "Reset person?",+ "reset_person_confirm_message": "The name, face groupings and suggestions for this person will be reset",+ "ignore": "Ignore",+ "ignore_person_confirm": "Ignore person?",+ "ignore_person_confirm_message": "This face grouping will not be shown in the people list",+ "ignored": "Ignored",+ "show_person": "Show person","INFO": "Info ","INFO_OPTION": "Info (I)","file_name": "File name",diff --git a/web/packages/new/photos/components/gallery/PeopleHeader.tsx b/web/packages/new/photos/components/gallery/PeopleHeader.tsxindex 3018a21436..dfa83b543b 100644--- a/web/packages/new/photos/components/gallery/PeopleHeader.tsx+++ b/web/packages/new/photos/components/gallery/PeopleHeader.tsx@@ -125,10 +125,8 @@ const CGroupPersonHeader: React.FC<CGroupPersonHeaderProps> = ({ person }) => {const handleReset = () =>showMiniDialog({- title: pt("Reset person?"),- message: pt(- "The name, face groupings and suggestions for this person will be reset",- ),+ title: t("reset_person_confirm"),+ message: t("reset_person_confirm_message"),continue: {text: t("reset"),color: "primary",@@ -170,7 +168,7 @@ const CGroupPersonHeader: React.FC<CGroupPersonHeaderProps> = ({ person }) => {centerAlignonClick={handleReset}>- {pt("Reset")}+ {t("reset")}</OverflowMenuOption></OverflowMenu>@@ -207,7 +205,7 @@ const IgnoredPersonHeader: React.FC<IgnoredPersonHeaderProps> = ({return (<><GalleryItemsSummary- name={pt("Ignored")}+ name={t("ignored")}nameProps={{ color: "text.muted" }}fileCount={person.fileIDs.length}/>@@ -220,7 +218,7 @@ const IgnoredPersonHeader: React.FC<IgnoredPersonHeaderProps> = ({centerAlignonClick={handleUndoIgnore}>- {pt("Show person")}+ {t("show_person")}</OverflowMenuOption></OverflowMenu></>@@ -248,12 +246,10 @@ const ClusterPersonHeader: React.FC<ClusterPersonHeaderProps> = ({const confirmIgnore = () =>showMiniDialog({- title: pt("Ignore person?"),- message: pt(- "This face grouping will not be shown in the people list",- ),+ title: t("ignore_person_confirm"),+ message: t("ignore_person_confirm_message"),continue: {- text: pt("Ignore"),+ text: t("ignore"),color: "primary",action: () => ignoreCluster(cluster),},@@ -290,7 +286,7 @@ const ClusterPersonHeader: React.FC<ClusterPersonHeaderProps> = ({centerAlignonClick={confirmIgnore}>- {pt("Ignore")}+ {t("ignore")}</OverflowMenuOption></OverflowMenu></Stack>