π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix(photos):keep-whats-new-untranslated
Aswin Asok683d570a090a
diff --git a/web/apps/photos/src/components/WhatsNew.tsx b/web/apps/photos/src/components/WhatsNew.tsxindex d04dc33a14..480faa2219 100644--- a/web/apps/photos/src/components/WhatsNew.tsx+++ b/web/apps/photos/src/components/WhatsNew.tsx@@ -14,8 +14,8 @@ import {import { FocusVisibleButton } from "ente-base/components/mui/FocusVisibleButton";import { useIsSmallWidth } from "ente-base/components/utils/hooks";import { ensureElectron } from "ente-base/electron";+import { ut } from "ente-base/i18n";import { SlideUpTransition } from "ente-new/photos/components/mui/SlideUpTransition";-import { t } from "i18next";import React, { useEffect } from "react";interface WhatsNewProps {@@ -43,7 +43,7 @@ export const WhatsNew: React.FC<WhatsNewProps> = ({ open, onClose }) => {variant="body"sx={{ color: "text.faint", fontWeight: "regular" }}>- {t("whats_new")}+ {ut("What's new")}</Typography></DialogTitle><DialogContent>@@ -58,7 +58,7 @@ export const WhatsNew: React.FC<WhatsNewProps> = ({ open, onClose }) => {fullWidthendIcon={<ArrowForwardIcon />}>- <ButtonContents>{t("continue")}</ButtonContents>+ <ButtonContents>{ut("Continue")}</ButtonContents></FocusVisibleButton></DialogActions></Box>@@ -67,13 +67,19 @@ export const WhatsNew: React.FC<WhatsNewProps> = ({ open, onClose }) => {};const ChangelogContent: React.FC = () => {- // Update changelogVersion whenever the English release notes change.+ // Update changelogVersion whenever this content changes.return (<Stack sx={{ gap: 2, mb: 1 }}>- <Typography variant="h6">{t("whats_new_headline")}</Typography>+ <Typography variant="h6">+ {ut(+ "Album slideshows, view more RAW formats, better video loading in viewer, and more",+ )}+ </Typography><Typography sx={{ color: "text.muted" }}>- {t("whats_new_description")}+ {ut(+ "Album slideshows, previews for more RAW formats, video loading progress and retry in the viewer, updated All People view, improved RAW and Ultra HDR thumbnails on Windows and Linux, plus fixes for video sizing, maps, and more.",+ )}</Typography></Stack>);diff --git a/web/packages/base/locales/en-US/translation.json b/web/packages/base/locales/en-US/translation.jsonindex d814c1fe2c..81fe4a3398 100644--- a/web/packages/base/locales/en-US/translation.json+++ b/web/packages/base/locales/en-US/translation.json@@ -189,10 +189,6 @@"pause": "Pause","previous": "Previous","next": "Next",- "continue": "Continue",- "whats_new": "What's new",- "whats_new_headline": "Album slideshows, view more RAW formats, better video loading in viewer, and more",- "whats_new_description": "Album slideshows, previews for more RAW formats, video loading progress and retry in the viewer, updated All People view, improved RAW and Ultra HDR thumbnails on Windows and Linux, plus fixes for video sizing, maps, and more.","video_seek": "Video seek","quality": "Quality","auto": "Auto",