Open source video conferencing app powered by LiveKit. Built with Django and React.
♿️(frontend) use i18n strings for screen share wheel zoom shortcuts
Ovgodd6e17c6533ce4
diff --git a/src/frontend/src/features/rooms/livekit/components/ScreenShareZoomControls.tsx b/src/frontend/src/features/rooms/livekit/components/ScreenShareZoomControls.tsxindex 3c47a2c9..595b97a3 100644--- a/src/frontend/src/features/rooms/livekit/components/ScreenShareZoomControls.tsx+++ b/src/frontend/src/features/rooms/livekit/components/ScreenShareZoomControls.tsx@@ -47,7 +47,7 @@ export const ScreenShareZoomControls = ({zoomInButtonRef.current?.focus()}, [isZoomed])- const wheelShortcutVisual = isMacintosh() ? '⌘+scroll' : 'Ctrl+scroll'+ const wheelShortcut = t(isMacintosh() ? 'wheelShortcutMac' : 'wheelShortcut')return (<div@@ -118,7 +118,7 @@ export const ScreenShareZoomControls = ({variant="primaryTextDark"squaretooltip={t('zoomOutWithShortcut', {- shortcut: wheelShortcutVisual,+ shortcut: wheelShortcut,})}aria-label={t('zoomOut')}isDisabled={!isZoomed || !canZoomOut}@@ -151,7 +151,7 @@ export const ScreenShareZoomControls = ({size="sm"variant="primaryTextDark"square- tooltip={t('zoomInWithShortcut', { shortcut: wheelShortcutVisual })}+ tooltip={t('zoomInWithShortcut', { shortcut: wheelShortcut })}aria-label={t('zoomIn')}isDisabled={!canZoomIn}onPress={onZoomIn}diff --git a/src/frontend/src/locales/de/rooms.json b/src/frontend/src/locales/de/rooms.jsonindex 565c3f3f..9c79907f 100644--- a/src/frontend/src/locales/de/rooms.json+++ b/src/frontend/src/locales/de/rooms.json@@ -763,7 +763,7 @@"zoomOut": "Verkleinern","zoomOutWithShortcut": "Verkleinern ({{shortcut}})","wheelShortcut": "Steuerung plus Mausrad",- "wheelShortcutMac": "Befehl plus Mausrad",+ "wheelShortcutMac": "⌘+Mausrad","wheelShortcutHint": "Tastenkürzel: Steuerung plus Mausrad zum Vergrößern oder Verkleinern.","wheelShortcutHintMac": "Tastenkürzel: Befehl plus Mausrad zum Vergrößern oder Verkleinern.","fitToWindow": "An Fenster anpassen",diff --git a/src/frontend/src/locales/en/rooms.json b/src/frontend/src/locales/en/rooms.jsonindex 082973e8..09c3a6b8 100644--- a/src/frontend/src/locales/en/rooms.json+++ b/src/frontend/src/locales/en/rooms.json@@ -763,7 +763,7 @@"zoomOut": "Zoom out","zoomOutWithShortcut": "Zoom out ({{shortcut}})","wheelShortcut": "Control plus scroll wheel",- "wheelShortcutMac": "Command plus scroll wheel",+ "wheelShortcutMac": "⌘+scroll wheel","wheelShortcutHint": "Shortcut: Control plus scroll wheel to zoom in or out.","wheelShortcutHintMac": "Shortcut: Command plus scroll wheel to zoom in or out.","fitToWindow": "Fit to window",diff --git a/src/frontend/src/locales/fr/rooms.json b/src/frontend/src/locales/fr/rooms.jsonindex de4382c3..24e16156 100644--- a/src/frontend/src/locales/fr/rooms.json+++ b/src/frontend/src/locales/fr/rooms.json@@ -763,7 +763,7 @@"zoomOut": "Dézoomer","zoomOutWithShortcut": "Dézoomer ({{shortcut}})","wheelShortcut": "Contrôle plus molette",- "wheelShortcutMac": "Commande plus molette",+ "wheelShortcutMac": "⌘+molette","wheelShortcutHint": "Raccourci : Contrôle plus molette pour zoomer ou dézoomer.","wheelShortcutHintMac": "Raccourci : Commande plus molette pour zoomer ou dézoomer.","fitToWindow": "Ajuster à la fenêtre",diff --git a/src/frontend/src/locales/nl/rooms.json b/src/frontend/src/locales/nl/rooms.jsonindex 4c9d419e..86b25763 100644--- a/src/frontend/src/locales/nl/rooms.json+++ b/src/frontend/src/locales/nl/rooms.json@@ -763,7 +763,7 @@"zoomOut": "Uitzoomen","zoomOutWithShortcut": "Uitzoomen ({{shortcut}})","wheelShortcut": "Control plus scrollwiel",- "wheelShortcutMac": "Command plus scrollwiel",+ "wheelShortcutMac": "⌘+scrollwiel","wheelShortcutHint": "Sneltoets: Control plus scrollwiel om in of uit te zoomen.","wheelShortcutHintMac": "Sneltoets: Command plus scrollwiel om in of uit te zoomen.","fitToWindow": "Aanpassen aan venster",