π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix: add missing translation keys for template options
anandbaburajan8f43e2299c39
diff --git a/web/apps/photos/src/components/Collections/CollectionShare.tsx b/web/apps/photos/src/components/Collections/CollectionShare.tsxindex 779a43e44d..35e4f64c54 100644--- a/web/apps/photos/src/components/Collections/CollectionShare.tsx+++ b/web/apps/photos/src/components/Collections/CollectionShare.tsx@@ -1859,9 +1859,9 @@ const ManageTemplate: React.FC<ManageTemplateProps> = ({<><RowButtonGroup><RowButton- label={t("Template")}+ label={t("template")}caption={- currentTemplate === "trip" ? t("Trip") : t("Default")+ currentTemplate === "trip" ? t("trip") : t("default")}onClick={showTemplateOptions}endIcon={<ChevronRightIcon />}@@ -1871,7 +1871,7 @@ const ManageTemplate: React.FC<ManageTemplateProps> = ({anchor="right"{...templateOptionsVisibilityProps}onRootClose={onRootClose}- title={t("Template")}+ title={t("template")}><Stack sx={{ gap: "32px", py: "20px", px: "8px" }}><RowButtonGroup>@@ -1908,6 +1908,6 @@ const ManageTemplate: React.FC<ManageTemplateProps> = ({};const templateOptions = () => [- { label: t("Default"), value: "default" },- { label: t("Trip"), value: "trip" },+ { label: t("default"), value: "default" },+ { label: t("trip"), value: "trip" },];diff --git a/web/packages/base/locales/en-US/translation.json b/web/packages/base/locales/en-US/translation.jsonindex f668954245..e498d5c2a8 100644--- a/web/packages/base/locales/en-US/translation.json+++ b/web/packages/base/locales/en-US/translation.json@@ -697,5 +697,8 @@"add_dns_entry_hint": "On your DNS provider, add a CNAME from your domain to <b>{{host}}</b>","custom_domains_help": "For more information, see <a>help</a>","num_1": "1",- "num_2": "2"+ "num_2": "2",+ "template": "Template",+ "default": "Default",+ "trip": "Trip"}