π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
tr
Manav Rathi563d65cc1dae
diff --git a/web/packages/base/locales/en-US/translation.json b/web/packages/base/locales/en-US/translation.jsonindex 1ec600584a..2e3ff45103 100644--- a/web/packages/base/locales/en-US/translation.json+++ b/web/packages/base/locales/en-US/translation.json@@ -74,7 +74,18 @@"download_favorites": "Download favorites","download_uncategorized": "Download uncategorized","download_hidden_items": "Download hidden items",+ "mouse_scroll": "Mouse scroll",+ "pan": "Pan",+ "pinch": "Pinch",+ "drag": "Drag",+ "tap_inside_image": "Tap inside image",+ "tap_outside_image": "Tap outside image","show_shortcuts": "Show shortcuts",+ "zoom_preset": "Zoom preset",+ "toggle_controls": "Toggle controls",+ "toggle_live": "Toggle live",+ "toggle_audio": "Toggle audio",+ "view_info": "View info","copy_as_png": "Copy as PNG","toggle_fullscreen": "Toggle fullscreen","zoom": "Zoom",@@ -419,7 +430,6 @@"disable_file_download_message": "<p>Are you sure that you want to disable the download button for files?</p><p>Viewers can still take screenshots or save a copy of your photos using external tools.</p>","shared_using": "Shared using <a>{{url}}</a>","sharing_referral_code": "Use code <strong>{{referralCode}}</strong> to get 10 GB free",- "live_photo_indicator": "LIVE","disable_password": "Disable password lock","disable_password_message": "Are you sure that you want to disable the password lock?","password_lock": "Password lock",diff --git a/web/packages/gallery/components/viewer/FileViewer.tsx b/web/packages/gallery/components/viewer/FileViewer.tsxindex 5183fd0ccb..349a59cec6 100644--- a/web/packages/gallery/components/viewer/FileViewer.tsx+++ b/web/packages/gallery/components/viewer/FileViewer.tsx@@ -1034,30 +1034,47 @@ const Shortcuts: React.FC<ShortcutsProps> = ({<Shortcut action={t("close")} shortcut={ut("Esc")} /><Shortcutaction={formattedListJoin([t("previous"), t("next")])}- shortcut="β, β"+ shortcut={formattedListJoin([ut("β"), ut("β")])}/>- <Shortcut action={t("zoom")} shortcut="Mouse scroll, Pinch" />- <Shortcut action="Zoom preset" shortcut="Z, Tap inside image" /><Shortcut- action="Toggle controls"- shortcut="H, Tap outside image"+ action={t("zoom")}+ shortcut={formattedListJoin([t("mouse_scroll"), t("pinch")])}/>- <Shortcut action="Pan" shortcut="W A S D, Drag" />- <Shortcut action="Toggle live" shortcut="Space" />- <Shortcut action="Toggle audio" shortcut="M" />- {haveUser && <Shortcut action="Toggle favorite" shortcut="L" />}- <Shortcut action="View info" shortcut="I" />+ <Shortcut+ action={t("zoom_preset")}+ shortcut={formattedListJoin([ut("Z"), t("tap_inside_image")])}+ />+ <Shortcut+ action={t("toggle_controls")}+ shortcut={formattedListJoin([ut("H"), t("tap_outside_image")])}+ />+ <Shortcut+ action={t("pan")}+ shortcut={formattedListJoin([ut("W A S D"), t("drag")])}+ />+ <Shortcut action={t("toggle_live")} shortcut={ut("Space")} />+ <Shortcut action={t("toggle_audio")} shortcut={ut("M")} />+ {haveUser && (+ <Shortcut action="Toggle favorite" shortcut={ut("L")} />+ )}+ <Shortcut action={t("view_info")} shortcut={ut("I")} />{!disableDownload && (- <Shortcut action={t("download")} shortcut="K" />+ <Shortcut action={t("download")} shortcut={ut("K")} />)}{haveUser && (- <Shortcut action={t("delete")} shortcut="Delete, Backspace" />+ <Shortcut+ action={t("delete")}+ shortcut={formattedListJoin([+ ut("Delete"),+ ut("Backspace"),+ ])}+ />)}{!disableDownload && (- <Shortcut action={t("copy_as_png")} shortcut="^C / βC" />+ <Shortcut action={t("copy_as_png")} shortcut={ut("^C / βC")} />)}- <Shortcut action={t("toggle_fullscreen")} shortcut="F" />- <Shortcut action={t("show_shortcuts")} shortcut="?" />+ <Shortcut action={t("toggle_fullscreen")} shortcut={ut("F")} />+ <Shortcut action={t("show_shortcuts")} shortcut={ut("?")} /></ShortcutsContent></Dialog>);