From 1b671c906eac56efc3de6fbc40eddc852dfe7611 Mon Sep 17 00:00:00 2001 From: wheaney <42350981+wheaney@users.noreply.github.com> Date: Thu, 6 Mar 2025 22:32:52 -0800 Subject: [PATCH] Add option to remove all displays when the effect is turned off --- VERSION | 2 +- gnome/src/extension.js | 12 ++++ .../com.xronlinux.BreezyDesktop.gschema.xml | 9 +++ ui/po/breezydesktop.pot | 64 ++++++++++-------- ui/po/de.po | 67 +++++++++++-------- ui/po/es.po | 67 +++++++++++-------- ui/po/fr.po | 67 +++++++++++-------- ui/po/it.po | 67 +++++++++++-------- ui/po/ja.po | 67 +++++++++++-------- ui/po/pl.po | 64 ++++++++++-------- ui/po/pt_BR.po | 67 +++++++++++-------- ui/po/ru.po | 67 +++++++++++-------- ui/po/sv.po | 67 +++++++++++-------- ui/po/uk_UA.po | 67 +++++++++++-------- ui/po/zh_CN.po | 67 +++++++++++-------- ui/src/connecteddevice.py | 2 + ui/src/gtk/connected-device.ui | 55 +++++++++------ 17 files changed, 509 insertions(+), 369 deletions(-) diff --git a/VERSION b/VERSION index f93ea0c..6acdb44 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.0.2 \ No newline at end of file +2.0.3 \ No newline at end of file diff --git a/gnome/src/extension.js b/gnome/src/extension.js index 1fa5801..5fc31d0 100644 --- a/gnome/src/extension.js +++ b/gnome/src/extension.js @@ -583,11 +583,23 @@ export default class BreezyDesktopExtension extends Extension { Globals.logger.log('Disabling SBS mode due to disabling effect'); this._write_control('sbs_mode', 'disable'); } + + if (!for_setup && this.settings.get_boolean('remove-virtual-displays-on-disable')) { + this._remove_virtual_displays(); + } } catch (e) { Globals.logger.log(`[ERROR] BreezyDesktopExtension _effect_disable ${e.message}\n${e.stack}`); } } + _remove_virtual_displays() { + try { + GLib.spawn_command_line_sync(`pkill -f "/virtualdisplay( |$)"`); + } catch (e) { + Globals.logger.log(`[ERROR] BreezyDesktopExtension _remove_virtual_displays ${e.message}\n${e.stack}`); + } + } + disable() { try { Globals.logger.log_debug('BreezyDesktopExtension disable'); diff --git a/ui/data/com.xronlinux.BreezyDesktop.gschema.xml b/ui/data/com.xronlinux.BreezyDesktop.gschema.xml index 4183167..bff11bc 100644 --- a/ui/data/com.xronlinux.BreezyDesktop.gschema.xml +++ b/ui/data/com.xronlinux.BreezyDesktop.gschema.xml @@ -199,6 +199,15 @@ Disable physical displays when XR effect is enabled + + + true + + Remove virtual displays on disable + + Remove virtual displays when XR effect is disabled + + false diff --git a/ui/po/breezydesktop.pot b/ui/po/breezydesktop.pot index 2a9fa32..2e7f499 100644 --- a/ui/po/breezydesktop.pot +++ b/ui/po/breezydesktop.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-03-06 19:45-0800\n" +"POT-Creation-Date: 2025-03-06 22:32-0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -27,33 +27,33 @@ msgstr "" msgid "This feature is not currently supported for your device." msgstr "" -#: src/connecteddevice.py:127 +#: src/connecteddevice.py:129 msgid "Set Focused Display Distance" msgstr "" -#: src/connecteddevice.py:128 +#: src/connecteddevice.py:130 msgid "Use a closer value so the display zooms in when you look at it." msgstr "" -#: src/connecteddevice.py:135 +#: src/connecteddevice.py:137 msgid "Set All Displays Distance" msgstr "" -#: src/connecteddevice.py:136 +#: src/connecteddevice.py:138 msgid "Use a farther value so the displays are zoomed out when you look away." msgstr "" -#: src/connecteddevice.py:234 +#: src/connecteddevice.py:236 msgid "" "Unable to add virtual displays on this machine. xdg-desktop-portal is " "required." msgstr "" -#: src/connecteddevice.py:268 +#: src/connecteddevice.py:270 msgid "Focused display" msgstr "" -#: src/connecteddevice.py:274 +#: src/connecteddevice.py:276 msgid "All displays" msgstr "" @@ -397,44 +397,52 @@ msgid "Automatically set the glasses as the primary display when plugged in." msgstr "" #: src/gtk/connected-device.ui:533 -msgid "Movement look-ahead" +msgid "Remove virtual displays on disable" msgstr "" #: src/gtk/connected-device.ui:534 +msgid "Automatically remove virtual displays when the XR effect is disabled." +msgstr "" + +#: src/gtk/connected-device.ui:544 +msgid "Enable multi-tap detection" +msgstr "" + +#: src/gtk/connected-device.ui:545 +msgid "Enables double-tap to recenter and triple-tap to recalibrate." +msgstr "" + +#: src/gtk/connected-device.ui:555 +msgid "All displays follow mode" +msgstr "" + +#: src/gtk/connected-device.ui:556 +msgid "Follow mode moves all displays, not just the focused one." +msgstr "" + +#: src/gtk/connected-device.ui:566 +msgid "Movement look-ahead" +msgstr "" + +#: src/gtk/connected-device.ui:567 msgid "" "Counteracts input lag by predicting head-tracking position ahead of render " "time. Stick with default unless virtual display drags behind your head " "movements, jumps ahead, or is very shaky." msgstr "" -#: src/gtk/connected-device.ui:552 +#: src/gtk/connected-device.ui:585 msgid "Default" msgstr "" -#: src/gtk/connected-device.ui:564 +#: src/gtk/connected-device.ui:597 msgid "Text Scaling" msgstr "" -#: src/gtk/connected-device.ui:565 +#: src/gtk/connected-device.ui:598 msgid "Scaling text below 1.0 will simulate a higher resolution display" msgstr "" -#: src/gtk/connected-device.ui:595 -msgid "Enable multi-tap detection" -msgstr "" - -#: src/gtk/connected-device.ui:596 -msgid "Enables double-tap to recenter and triple-tap to recalibrate." -msgstr "" - -#: src/gtk/connected-device.ui:606 -msgid "All displays follow mode" -msgstr "" - -#: src/gtk/connected-device.ui:607 -msgid "Follow mode moves all displays, not just the focused one." -msgstr "" - #: src/gtk/display-distance-dialog.ui:9 msgid "Show full range" msgstr "" diff --git a/ui/po/de.po b/ui/po/de.po index 3a8a7ca..b3d1b54 100644 --- a/ui/po/de.po +++ b/ui/po/de.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-03-06 19:45-0800\n" +"POT-Creation-Date: 2025-03-06 22:32-0800\n" "PO-Revision-Date: 2024-08-02 20:54-0700\n" "Last-Translator: \n" "Language-Team: German \n" @@ -29,36 +29,36 @@ msgstr "" msgid "This feature is not currently supported for your device." msgstr "Diese Funktion wird von Ihrem Gerät derzeit nicht unterstützt." -#: src/connecteddevice.py:127 +#: src/connecteddevice.py:129 #, fuzzy msgid "Set Focused Display Distance" msgstr "Display-Entfernung" -#: src/connecteddevice.py:128 +#: src/connecteddevice.py:130 msgid "Use a closer value so the display zooms in when you look at it." msgstr "" -#: src/connecteddevice.py:135 +#: src/connecteddevice.py:137 #, fuzzy msgid "Set All Displays Distance" msgstr "Display-Entfernung" -#: src/connecteddevice.py:136 +#: src/connecteddevice.py:138 msgid "Use a farther value so the displays are zoomed out when you look away." msgstr "" -#: src/connecteddevice.py:234 +#: src/connecteddevice.py:236 msgid "" "Unable to add virtual displays on this machine. xdg-desktop-portal is " "required." msgstr "" -#: src/connecteddevice.py:268 +#: src/connecteddevice.py:270 #, fuzzy msgid "Focused display" msgstr "Display-Entfernung" -#: src/connecteddevice.py:274 +#: src/connecteddevice.py:276 #, fuzzy msgid "All displays" msgstr "Gebogenes Display" @@ -420,10 +420,36 @@ msgstr "" "angeschlossen ist." #: src/gtk/connected-device.ui:533 +#, fuzzy +msgid "Remove virtual displays on disable" +msgstr "Gebogenes Display" + +#: src/gtk/connected-device.ui:534 +msgid "Automatically remove virtual displays when the XR effect is disabled." +msgstr "" + +#: src/gtk/connected-device.ui:544 +msgid "Enable multi-tap detection" +msgstr "" + +#: src/gtk/connected-device.ui:545 +msgid "Enables double-tap to recenter and triple-tap to recalibrate." +msgstr "" + +#: src/gtk/connected-device.ui:555 +#, fuzzy +msgid "All displays follow mode" +msgstr "Gebogenes Display" + +#: src/gtk/connected-device.ui:556 +msgid "Follow mode moves all displays, not just the focused one." +msgstr "" + +#: src/gtk/connected-device.ui:566 msgid "Movement look-ahead" msgstr "Bewegungsvorausschau" -#: src/gtk/connected-device.ui:534 +#: src/gtk/connected-device.ui:567 msgid "" "Counteracts input lag by predicting head-tracking position ahead of render " "time. Stick with default unless virtual display drags behind your head " @@ -434,35 +460,18 @@ msgstr "" "es sei denn, das virtuelle Display hängt hinter Ihren Kopfbewegungen " "hinterher, springt vor oder ist sehr wackelig." -#: src/gtk/connected-device.ui:552 +#: src/gtk/connected-device.ui:585 msgid "Default" msgstr "Standard" -#: src/gtk/connected-device.ui:564 +#: src/gtk/connected-device.ui:597 msgid "Text Scaling" msgstr "Textskalierung" -#: src/gtk/connected-device.ui:565 +#: src/gtk/connected-device.ui:598 msgid "Scaling text below 1.0 will simulate a higher resolution display" msgstr "Text unter 1.0 skalieren simuliert ein höher aufgelöstes Display" -#: src/gtk/connected-device.ui:595 -msgid "Enable multi-tap detection" -msgstr "" - -#: src/gtk/connected-device.ui:596 -msgid "Enables double-tap to recenter and triple-tap to recalibrate." -msgstr "" - -#: src/gtk/connected-device.ui:606 -#, fuzzy -msgid "All displays follow mode" -msgstr "Gebogenes Display" - -#: src/gtk/connected-device.ui:607 -msgid "Follow mode moves all displays, not just the focused one." -msgstr "" - #: src/gtk/display-distance-dialog.ui:9 msgid "Show full range" msgstr "" diff --git a/ui/po/es.po b/ui/po/es.po index d208a0a..3b54a95 100644 --- a/ui/po/es.po +++ b/ui/po/es.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-03-06 19:45-0800\n" +"POT-Creation-Date: 2025-03-06 22:32-0800\n" "PO-Revision-Date: 2024-08-02 20:55-0700\n" "Last-Translator: \n" "Language-Team: Spanish \n" @@ -28,36 +28,36 @@ msgstr "" msgid "This feature is not currently supported for your device." msgstr "Esta función no es compatible con tu dispositivo en este momento." -#: src/connecteddevice.py:127 +#: src/connecteddevice.py:129 #, fuzzy msgid "Set Focused Display Distance" msgstr "Distancia de la pantalla" -#: src/connecteddevice.py:128 +#: src/connecteddevice.py:130 msgid "Use a closer value so the display zooms in when you look at it." msgstr "" -#: src/connecteddevice.py:135 +#: src/connecteddevice.py:137 #, fuzzy msgid "Set All Displays Distance" msgstr "Distancia de la pantalla" -#: src/connecteddevice.py:136 +#: src/connecteddevice.py:138 msgid "Use a farther value so the displays are zoomed out when you look away." msgstr "" -#: src/connecteddevice.py:234 +#: src/connecteddevice.py:236 msgid "" "Unable to add virtual displays on this machine. xdg-desktop-portal is " "required." msgstr "" -#: src/connecteddevice.py:268 +#: src/connecteddevice.py:270 #, fuzzy msgid "Focused display" msgstr "Distancia de la pantalla" -#: src/connecteddevice.py:274 +#: src/connecteddevice.py:276 #, fuzzy msgid "All displays" msgstr "Pantalla curvada" @@ -418,10 +418,36 @@ msgstr "" "Automáticamente configurar las gafas como pantalla principal al enchufarse." #: src/gtk/connected-device.ui:533 +#, fuzzy +msgid "Remove virtual displays on disable" +msgstr "Pantalla curvada" + +#: src/gtk/connected-device.ui:534 +msgid "Automatically remove virtual displays when the XR effect is disabled." +msgstr "" + +#: src/gtk/connected-device.ui:544 +msgid "Enable multi-tap detection" +msgstr "" + +#: src/gtk/connected-device.ui:545 +msgid "Enables double-tap to recenter and triple-tap to recalibrate." +msgstr "" + +#: src/gtk/connected-device.ui:555 +#, fuzzy +msgid "All displays follow mode" +msgstr "Pantalla curvada" + +#: src/gtk/connected-device.ui:556 +msgid "Follow mode moves all displays, not just the focused one." +msgstr "" + +#: src/gtk/connected-device.ui:566 msgid "Movement look-ahead" msgstr "Anticipación de movimiento" -#: src/gtk/connected-device.ui:534 +#: src/gtk/connected-device.ui:567 msgid "" "Counteracts input lag by predicting head-tracking position ahead of render " "time. Stick with default unless virtual display drags behind your head " @@ -432,37 +458,20 @@ msgstr "" "predeterminado a menos que la pantalla virtual se retrase detrás de los " "movimientos de la cabeza, se adelante o sea muy inestable." -#: src/gtk/connected-device.ui:552 +#: src/gtk/connected-device.ui:585 msgid "Default" msgstr "Predeterminado" -#: src/gtk/connected-device.ui:564 +#: src/gtk/connected-device.ui:597 msgid "Text Scaling" msgstr "Escalado de Texto" -#: src/gtk/connected-device.ui:565 +#: src/gtk/connected-device.ui:598 msgid "Scaling text below 1.0 will simulate a higher resolution display" msgstr "" "Escalando el texto por debajo de 1.0 simulará una pantalla de mayor " "resolución" -#: src/gtk/connected-device.ui:595 -msgid "Enable multi-tap detection" -msgstr "" - -#: src/gtk/connected-device.ui:596 -msgid "Enables double-tap to recenter and triple-tap to recalibrate." -msgstr "" - -#: src/gtk/connected-device.ui:606 -#, fuzzy -msgid "All displays follow mode" -msgstr "Pantalla curvada" - -#: src/gtk/connected-device.ui:607 -msgid "Follow mode moves all displays, not just the focused one." -msgstr "" - #: src/gtk/display-distance-dialog.ui:9 msgid "Show full range" msgstr "" diff --git a/ui/po/fr.po b/ui/po/fr.po index b430734..104c482 100644 --- a/ui/po/fr.po +++ b/ui/po/fr.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-03-06 19:45-0800\n" +"POT-Creation-Date: 2025-03-06 22:32-0800\n" "PO-Revision-Date: 2024-08-02 20:54-0700\n" "Last-Translator: \n" "Language-Team: French \n" @@ -31,36 +31,36 @@ msgstr "" "Cette fonctionnalité n'est actuellement pas prise en charge par votre " "appareil." -#: src/connecteddevice.py:127 +#: src/connecteddevice.py:129 #, fuzzy msgid "Set Focused Display Distance" msgstr "Distance d'affichage" -#: src/connecteddevice.py:128 +#: src/connecteddevice.py:130 msgid "Use a closer value so the display zooms in when you look at it." msgstr "" -#: src/connecteddevice.py:135 +#: src/connecteddevice.py:137 #, fuzzy msgid "Set All Displays Distance" msgstr "Distance d'affichage" -#: src/connecteddevice.py:136 +#: src/connecteddevice.py:138 msgid "Use a farther value so the displays are zoomed out when you look away." msgstr "" -#: src/connecteddevice.py:234 +#: src/connecteddevice.py:236 msgid "" "Unable to add virtual displays on this machine. xdg-desktop-portal is " "required." msgstr "" -#: src/connecteddevice.py:268 +#: src/connecteddevice.py:270 #, fuzzy msgid "Focused display" msgstr "Distance d'affichage" -#: src/connecteddevice.py:274 +#: src/connecteddevice.py:276 #, fuzzy msgid "All displays" msgstr "Affichage incurvé" @@ -422,10 +422,36 @@ msgstr "" "lorsqu'elles sont branchées." #: src/gtk/connected-device.ui:533 +#, fuzzy +msgid "Remove virtual displays on disable" +msgstr "Affichage incurvé" + +#: src/gtk/connected-device.ui:534 +msgid "Automatically remove virtual displays when the XR effect is disabled." +msgstr "" + +#: src/gtk/connected-device.ui:544 +msgid "Enable multi-tap detection" +msgstr "" + +#: src/gtk/connected-device.ui:545 +msgid "Enables double-tap to recenter and triple-tap to recalibrate." +msgstr "" + +#: src/gtk/connected-device.ui:555 +#, fuzzy +msgid "All displays follow mode" +msgstr "Affichage incurvé" + +#: src/gtk/connected-device.ui:556 +msgid "Follow mode moves all displays, not just the focused one." +msgstr "" + +#: src/gtk/connected-device.ui:566 msgid "Movement look-ahead" msgstr "Prédiction de mouvement" -#: src/gtk/connected-device.ui:534 +#: src/gtk/connected-device.ui:567 msgid "" "Counteracts input lag by predicting head-tracking position ahead of render " "time. Stick with default unless virtual display drags behind your head " @@ -435,37 +461,20 @@ msgstr "" "le temps de rendu. Restez sur la valeur par défaut à moins que l'affichage " "virtuel ne soit lent, ne saute pas ou ne soit très instable." -#: src/gtk/connected-device.ui:552 +#: src/gtk/connected-device.ui:585 msgid "Default" msgstr "Par défaut" -#: src/gtk/connected-device.ui:564 +#: src/gtk/connected-device.ui:597 msgid "Text Scaling" msgstr "Mise à l'échelle du texte" -#: src/gtk/connected-device.ui:565 +#: src/gtk/connected-device.ui:598 msgid "Scaling text below 1.0 will simulate a higher resolution display" msgstr "" "Une mise à l'échelle du texte en dessous de 1.0 simulera un affichage de " "plus haute résolution" -#: src/gtk/connected-device.ui:595 -msgid "Enable multi-tap detection" -msgstr "" - -#: src/gtk/connected-device.ui:596 -msgid "Enables double-tap to recenter and triple-tap to recalibrate." -msgstr "" - -#: src/gtk/connected-device.ui:606 -#, fuzzy -msgid "All displays follow mode" -msgstr "Affichage incurvé" - -#: src/gtk/connected-device.ui:607 -msgid "Follow mode moves all displays, not just the focused one." -msgstr "" - #: src/gtk/display-distance-dialog.ui:9 msgid "Show full range" msgstr "" diff --git a/ui/po/it.po b/ui/po/it.po index 56c5558..a4fe9ba 100644 --- a/ui/po/it.po +++ b/ui/po/it.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-03-06 19:45-0800\n" +"POT-Creation-Date: 2025-03-06 22:32-0800\n" "PO-Revision-Date: 2024-08-02 21:14-0700\n" "Last-Translator: \n" "Language-Team: Italian \n" @@ -29,36 +29,36 @@ msgstr "" msgid "This feature is not currently supported for your device." msgstr "Questa funzione non è attualmente supportata sul tuo dispositivo." -#: src/connecteddevice.py:127 +#: src/connecteddevice.py:129 #, fuzzy msgid "Set Focused Display Distance" msgstr "Distanza del display" -#: src/connecteddevice.py:128 +#: src/connecteddevice.py:130 msgid "Use a closer value so the display zooms in when you look at it." msgstr "" -#: src/connecteddevice.py:135 +#: src/connecteddevice.py:137 #, fuzzy msgid "Set All Displays Distance" msgstr "Distanza del display" -#: src/connecteddevice.py:136 +#: src/connecteddevice.py:138 msgid "Use a farther value so the displays are zoomed out when you look away." msgstr "" -#: src/connecteddevice.py:234 +#: src/connecteddevice.py:236 msgid "" "Unable to add virtual displays on this machine. xdg-desktop-portal is " "required." msgstr "" -#: src/connecteddevice.py:268 +#: src/connecteddevice.py:270 #, fuzzy msgid "Focused display" msgstr "Distanza del display" -#: src/connecteddevice.py:274 +#: src/connecteddevice.py:276 #, fuzzy msgid "All displays" msgstr "Display curvo" @@ -420,10 +420,36 @@ msgstr "" "collegati." #: src/gtk/connected-device.ui:533 +#, fuzzy +msgid "Remove virtual displays on disable" +msgstr "Display curvo" + +#: src/gtk/connected-device.ui:534 +msgid "Automatically remove virtual displays when the XR effect is disabled." +msgstr "" + +#: src/gtk/connected-device.ui:544 +msgid "Enable multi-tap detection" +msgstr "" + +#: src/gtk/connected-device.ui:545 +msgid "Enables double-tap to recenter and triple-tap to recalibrate." +msgstr "" + +#: src/gtk/connected-device.ui:555 +#, fuzzy +msgid "All displays follow mode" +msgstr "Display curvo" + +#: src/gtk/connected-device.ui:556 +msgid "Follow mode moves all displays, not just the focused one." +msgstr "" + +#: src/gtk/connected-device.ui:566 msgid "Movement look-ahead" msgstr "Anticipo del movimento" -#: src/gtk/connected-device.ui:534 +#: src/gtk/connected-device.ui:567 msgid "" "Counteracts input lag by predicting head-tracking position ahead of render " "time. Stick with default unless virtual display drags behind your head " @@ -434,37 +460,20 @@ msgstr "" "che il display virtuale non rimanga indietro rispetto ai tuoi movimenti, non " "salti in avanti o sia molto tremolante." -#: src/gtk/connected-device.ui:552 +#: src/gtk/connected-device.ui:585 msgid "Default" msgstr "Predefinito" -#: src/gtk/connected-device.ui:564 +#: src/gtk/connected-device.ui:597 msgid "Text Scaling" msgstr "Ridimensionamento del testo" -#: src/gtk/connected-device.ui:565 +#: src/gtk/connected-device.ui:598 msgid "Scaling text below 1.0 will simulate a higher resolution display" msgstr "" "Ridimensionando il testo sotto a 1.0 si simula una maggiore risoluzione del " "display" -#: src/gtk/connected-device.ui:595 -msgid "Enable multi-tap detection" -msgstr "" - -#: src/gtk/connected-device.ui:596 -msgid "Enables double-tap to recenter and triple-tap to recalibrate." -msgstr "" - -#: src/gtk/connected-device.ui:606 -#, fuzzy -msgid "All displays follow mode" -msgstr "Display curvo" - -#: src/gtk/connected-device.ui:607 -msgid "Follow mode moves all displays, not just the focused one." -msgstr "" - #: src/gtk/display-distance-dialog.ui:9 msgid "Show full range" msgstr "" diff --git a/ui/po/ja.po b/ui/po/ja.po index 2ec7232..ab58121 100644 --- a/ui/po/ja.po +++ b/ui/po/ja.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-03-06 19:45-0800\n" +"POT-Creation-Date: 2025-03-06 22:32-0800\n" "PO-Revision-Date: 2024-08-02 20:55-0700\n" "Last-Translator: \n" "Language-Team: Japanese \n" @@ -31,36 +31,36 @@ msgstr "メガネを3Dモードに切り替え、表示の幅を2倍にします msgid "This feature is not currently supported for your device." msgstr "現在接続されているデバイスはこの機能に対応していません。" -#: src/connecteddevice.py:127 +#: src/connecteddevice.py:129 #, fuzzy msgid "Set Focused Display Distance" msgstr "ディスプレイ距離" -#: src/connecteddevice.py:128 +#: src/connecteddevice.py:130 msgid "Use a closer value so the display zooms in when you look at it." msgstr "" -#: src/connecteddevice.py:135 +#: src/connecteddevice.py:137 #, fuzzy msgid "Set All Displays Distance" msgstr "ディスプレイ距離" -#: src/connecteddevice.py:136 +#: src/connecteddevice.py:138 msgid "Use a farther value so the displays are zoomed out when you look away." msgstr "" -#: src/connecteddevice.py:234 +#: src/connecteddevice.py:236 msgid "" "Unable to add virtual displays on this machine. xdg-desktop-portal is " "required." msgstr "" -#: src/connecteddevice.py:268 +#: src/connecteddevice.py:270 #, fuzzy msgid "Focused display" msgstr "ディスプレイ距離" -#: src/connecteddevice.py:274 +#: src/connecteddevice.py:276 #, fuzzy msgid "All displays" msgstr "曲面ディスプレイ" @@ -419,10 +419,36 @@ msgid "Automatically set the glasses as the primary display when plugged in." msgstr "メガネ接続時、自動的にプライマリディスプレイにします。" #: src/gtk/connected-device.ui:533 +#, fuzzy +msgid "Remove virtual displays on disable" +msgstr "曲面ディスプレイ" + +#: src/gtk/connected-device.ui:534 +msgid "Automatically remove virtual displays when the XR effect is disabled." +msgstr "" + +#: src/gtk/connected-device.ui:544 +msgid "Enable multi-tap detection" +msgstr "" + +#: src/gtk/connected-device.ui:545 +msgid "Enables double-tap to recenter and triple-tap to recalibrate." +msgstr "" + +#: src/gtk/connected-device.ui:555 +#, fuzzy +msgid "All displays follow mode" +msgstr "曲面ディスプレイ" + +#: src/gtk/connected-device.ui:556 +msgid "Follow mode moves all displays, not just the focused one." +msgstr "" + +#: src/gtk/connected-device.ui:566 msgid "Movement look-ahead" msgstr "動きの先読み" -#: src/gtk/connected-device.ui:534 +#: src/gtk/connected-device.ui:567 msgid "" "Counteracts input lag by predicting head-tracking position ahead of render " "time. Stick with default unless virtual display drags behind your head " @@ -432,37 +458,20 @@ msgstr "" "ます。仮想ディスプレイが頭の動きに遅れたり、先に進んだり、非常に揺れたりする" "場合を除き、デフォルトのままで問題ありません。" -#: src/gtk/connected-device.ui:552 +#: src/gtk/connected-device.ui:585 msgid "Default" msgstr "デフォルト" -#: src/gtk/connected-device.ui:564 +#: src/gtk/connected-device.ui:597 msgid "Text Scaling" msgstr "テキストスケーリング" -#: src/gtk/connected-device.ui:565 +#: src/gtk/connected-device.ui:598 msgid "Scaling text below 1.0 will simulate a higher resolution display" msgstr "" "テキストを1.0未満にスケーリングすると、高解像度ディスプレイをシミュレートしま" "す。" -#: src/gtk/connected-device.ui:595 -msgid "Enable multi-tap detection" -msgstr "" - -#: src/gtk/connected-device.ui:596 -msgid "Enables double-tap to recenter and triple-tap to recalibrate." -msgstr "" - -#: src/gtk/connected-device.ui:606 -#, fuzzy -msgid "All displays follow mode" -msgstr "曲面ディスプレイ" - -#: src/gtk/connected-device.ui:607 -msgid "Follow mode moves all displays, not just the focused one." -msgstr "" - #: src/gtk/display-distance-dialog.ui:9 msgid "Show full range" msgstr "" diff --git a/ui/po/pl.po b/ui/po/pl.po index 771484d..8008984 100644 --- a/ui/po/pl.po +++ b/ui/po/pl.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-03-06 19:45-0800\n" +"POT-Creation-Date: 2025-03-06 22:32-0800\n" "PO-Revision-Date: 2024-08-16 10:26-0700\n" "Last-Translator: \n" "Language-Team: Polish \n" @@ -28,33 +28,33 @@ msgstr "" msgid "This feature is not currently supported for your device." msgstr "" -#: src/connecteddevice.py:127 +#: src/connecteddevice.py:129 msgid "Set Focused Display Distance" msgstr "" -#: src/connecteddevice.py:128 +#: src/connecteddevice.py:130 msgid "Use a closer value so the display zooms in when you look at it." msgstr "" -#: src/connecteddevice.py:135 +#: src/connecteddevice.py:137 msgid "Set All Displays Distance" msgstr "" -#: src/connecteddevice.py:136 +#: src/connecteddevice.py:138 msgid "Use a farther value so the displays are zoomed out when you look away." msgstr "" -#: src/connecteddevice.py:234 +#: src/connecteddevice.py:236 msgid "" "Unable to add virtual displays on this machine. xdg-desktop-portal is " "required." msgstr "" -#: src/connecteddevice.py:268 +#: src/connecteddevice.py:270 msgid "Focused display" msgstr "" -#: src/connecteddevice.py:274 +#: src/connecteddevice.py:276 msgid "All displays" msgstr "" @@ -398,44 +398,52 @@ msgid "Automatically set the glasses as the primary display when plugged in." msgstr "" #: src/gtk/connected-device.ui:533 -msgid "Movement look-ahead" +msgid "Remove virtual displays on disable" msgstr "" #: src/gtk/connected-device.ui:534 +msgid "Automatically remove virtual displays when the XR effect is disabled." +msgstr "" + +#: src/gtk/connected-device.ui:544 +msgid "Enable multi-tap detection" +msgstr "" + +#: src/gtk/connected-device.ui:545 +msgid "Enables double-tap to recenter and triple-tap to recalibrate." +msgstr "" + +#: src/gtk/connected-device.ui:555 +msgid "All displays follow mode" +msgstr "" + +#: src/gtk/connected-device.ui:556 +msgid "Follow mode moves all displays, not just the focused one." +msgstr "" + +#: src/gtk/connected-device.ui:566 +msgid "Movement look-ahead" +msgstr "" + +#: src/gtk/connected-device.ui:567 msgid "" "Counteracts input lag by predicting head-tracking position ahead of render " "time. Stick with default unless virtual display drags behind your head " "movements, jumps ahead, or is very shaky." msgstr "" -#: src/gtk/connected-device.ui:552 +#: src/gtk/connected-device.ui:585 msgid "Default" msgstr "" -#: src/gtk/connected-device.ui:564 +#: src/gtk/connected-device.ui:597 msgid "Text Scaling" msgstr "" -#: src/gtk/connected-device.ui:565 +#: src/gtk/connected-device.ui:598 msgid "Scaling text below 1.0 will simulate a higher resolution display" msgstr "" -#: src/gtk/connected-device.ui:595 -msgid "Enable multi-tap detection" -msgstr "" - -#: src/gtk/connected-device.ui:596 -msgid "Enables double-tap to recenter and triple-tap to recalibrate." -msgstr "" - -#: src/gtk/connected-device.ui:606 -msgid "All displays follow mode" -msgstr "" - -#: src/gtk/connected-device.ui:607 -msgid "Follow mode moves all displays, not just the focused one." -msgstr "" - #: src/gtk/display-distance-dialog.ui:9 msgid "Show full range" msgstr "" diff --git a/ui/po/pt_BR.po b/ui/po/pt_BR.po index 8000ee5..75b7c09 100644 --- a/ui/po/pt_BR.po +++ b/ui/po/pt_BR.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-03-06 19:45-0800\n" +"POT-Creation-Date: 2025-03-06 22:32-0800\n" "PO-Revision-Date: 2024-08-19 09:39-0700\n" "Last-Translator: \n" "Language-Team: Brazilian Portuguese \n" "Language-Team: Russian \n" @@ -29,36 +29,36 @@ msgstr "" msgid "This feature is not currently supported for your device." msgstr "Эта функция в настоящее время не поддерживается для вашего устройства." -#: src/connecteddevice.py:127 +#: src/connecteddevice.py:129 #, fuzzy msgid "Set Focused Display Distance" msgstr "Расстояние дисплея" -#: src/connecteddevice.py:128 +#: src/connecteddevice.py:130 msgid "Use a closer value so the display zooms in when you look at it." msgstr "" -#: src/connecteddevice.py:135 +#: src/connecteddevice.py:137 #, fuzzy msgid "Set All Displays Distance" msgstr "Расстояние дисплея" -#: src/connecteddevice.py:136 +#: src/connecteddevice.py:138 msgid "Use a farther value so the displays are zoomed out when you look away." msgstr "" -#: src/connecteddevice.py:234 +#: src/connecteddevice.py:236 msgid "" "Unable to add virtual displays on this machine. xdg-desktop-portal is " "required." msgstr "" -#: src/connecteddevice.py:268 +#: src/connecteddevice.py:270 #, fuzzy msgid "Focused display" msgstr "Расстояние дисплея" -#: src/connecteddevice.py:274 +#: src/connecteddevice.py:276 #, fuzzy msgid "All displays" msgstr "Изогнутый дисплей" @@ -418,10 +418,36 @@ msgstr "" "подключении." #: src/gtk/connected-device.ui:533 +#, fuzzy +msgid "Remove virtual displays on disable" +msgstr "Изогнутый дисплей" + +#: src/gtk/connected-device.ui:534 +msgid "Automatically remove virtual displays when the XR effect is disabled." +msgstr "" + +#: src/gtk/connected-device.ui:544 +msgid "Enable multi-tap detection" +msgstr "" + +#: src/gtk/connected-device.ui:545 +msgid "Enables double-tap to recenter and triple-tap to recalibrate." +msgstr "" + +#: src/gtk/connected-device.ui:555 +#, fuzzy +msgid "All displays follow mode" +msgstr "Изогнутый дисплей" + +#: src/gtk/connected-device.ui:556 +msgid "Follow mode moves all displays, not just the focused one." +msgstr "" + +#: src/gtk/connected-device.ui:566 msgid "Movement look-ahead" msgstr "Прогнозирование движения" -#: src/gtk/connected-device.ui:534 +#: src/gtk/connected-device.ui:567 msgid "" "Counteracts input lag by predicting head-tracking position ahead of render " "time. Stick with default unless virtual display drags behind your head " @@ -432,35 +458,18 @@ msgstr "" "виртуальный дисплей не отстает от движений вашей головы, не опережает или не " "очень трясётся." -#: src/gtk/connected-device.ui:552 +#: src/gtk/connected-device.ui:585 msgid "Default" msgstr "По умолчанию" -#: src/gtk/connected-device.ui:564 +#: src/gtk/connected-device.ui:597 msgid "Text Scaling" msgstr "" -#: src/gtk/connected-device.ui:565 +#: src/gtk/connected-device.ui:598 msgid "Scaling text below 1.0 will simulate a higher resolution display" msgstr "" -#: src/gtk/connected-device.ui:595 -msgid "Enable multi-tap detection" -msgstr "" - -#: src/gtk/connected-device.ui:596 -msgid "Enables double-tap to recenter and triple-tap to recalibrate." -msgstr "" - -#: src/gtk/connected-device.ui:606 -#, fuzzy -msgid "All displays follow mode" -msgstr "Изогнутый дисплей" - -#: src/gtk/connected-device.ui:607 -msgid "Follow mode moves all displays, not just the focused one." -msgstr "" - #: src/gtk/display-distance-dialog.ui:9 msgid "Show full range" msgstr "" diff --git a/ui/po/sv.po b/ui/po/sv.po index 826fcc9..22f62eb 100644 --- a/ui/po/sv.po +++ b/ui/po/sv.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-03-06 19:45-0800\n" +"POT-Creation-Date: 2025-03-06 22:32-0800\n" "PO-Revision-Date: 2024-08-16 10:31-0700\n" "Last-Translator: \n" "Language-Team: Swedish \n" @@ -29,36 +29,36 @@ msgstr "" msgid "This feature is not currently supported for your device." msgstr "Din enhet stöder inte den här funktionen för tillfället." -#: src/connecteddevice.py:127 +#: src/connecteddevice.py:129 #, fuzzy msgid "Set Focused Display Distance" msgstr "Avstånd till skärmen" -#: src/connecteddevice.py:128 +#: src/connecteddevice.py:130 msgid "Use a closer value so the display zooms in when you look at it." msgstr "" -#: src/connecteddevice.py:135 +#: src/connecteddevice.py:137 #, fuzzy msgid "Set All Displays Distance" msgstr "Avstånd till skärmen" -#: src/connecteddevice.py:136 +#: src/connecteddevice.py:138 msgid "Use a farther value so the displays are zoomed out when you look away." msgstr "" -#: src/connecteddevice.py:234 +#: src/connecteddevice.py:236 msgid "" "Unable to add virtual displays on this machine. xdg-desktop-portal is " "required." msgstr "" -#: src/connecteddevice.py:268 +#: src/connecteddevice.py:270 #, fuzzy msgid "Focused display" msgstr "Avstånd till skärmen" -#: src/connecteddevice.py:274 +#: src/connecteddevice.py:276 #, fuzzy msgid "All displays" msgstr "Böjd skärm" @@ -417,10 +417,36 @@ msgid "Automatically set the glasses as the primary display when plugged in." msgstr "Ställer automatisk glasögon som primär skärm när den är ansluten." #: src/gtk/connected-device.ui:533 +#, fuzzy +msgid "Remove virtual displays on disable" +msgstr "Böjd skärm" + +#: src/gtk/connected-device.ui:534 +msgid "Automatically remove virtual displays when the XR effect is disabled." +msgstr "" + +#: src/gtk/connected-device.ui:544 +msgid "Enable multi-tap detection" +msgstr "" + +#: src/gtk/connected-device.ui:545 +msgid "Enables double-tap to recenter and triple-tap to recalibrate." +msgstr "" + +#: src/gtk/connected-device.ui:555 +#, fuzzy +msgid "All displays follow mode" +msgstr "Böjd skärm" + +#: src/gtk/connected-device.ui:556 +msgid "Follow mode moves all displays, not just the focused one." +msgstr "" + +#: src/gtk/connected-device.ui:566 msgid "Movement look-ahead" msgstr "Rörs förväntning" -#: src/gtk/connected-device.ui:534 +#: src/gtk/connected-device.ui:567 msgid "" "Counteracts input lag by predicting head-tracking position ahead of render " "time. Stick with default unless virtual display drags behind your head " @@ -429,35 +455,18 @@ msgstr "" "Motverkar ingångsfördröjning genom förutsägelse av huvudrörelser.Behåll " "standardinställningen om inte skärmen skakar mycket eller rörsig konstigt." -#: src/gtk/connected-device.ui:552 +#: src/gtk/connected-device.ui:585 msgid "Default" msgstr "Standard" -#: src/gtk/connected-device.ui:564 +#: src/gtk/connected-device.ui:597 msgid "Text Scaling" msgstr "Textskalning" -#: src/gtk/connected-device.ui:565 +#: src/gtk/connected-device.ui:598 msgid "Scaling text below 1.0 will simulate a higher resolution display" msgstr "Textskalning under 1.0 kommer att simulera en högre skärmupplösning" -#: src/gtk/connected-device.ui:595 -msgid "Enable multi-tap detection" -msgstr "" - -#: src/gtk/connected-device.ui:596 -msgid "Enables double-tap to recenter and triple-tap to recalibrate." -msgstr "" - -#: src/gtk/connected-device.ui:606 -#, fuzzy -msgid "All displays follow mode" -msgstr "Böjd skärm" - -#: src/gtk/connected-device.ui:607 -msgid "Follow mode moves all displays, not just the focused one." -msgstr "" - #: src/gtk/display-distance-dialog.ui:9 msgid "Show full range" msgstr "" diff --git a/ui/po/uk_UA.po b/ui/po/uk_UA.po index 810e3b8..23d11fd 100644 --- a/ui/po/uk_UA.po +++ b/ui/po/uk_UA.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-03-06 19:45-0800\n" +"POT-Creation-Date: 2025-03-06 22:32-0800\n" "PO-Revision-Date: 2024-08-17 10:08-0700\n" "Last-Translator: \n" "Language-Team: Ukrainian \n" @@ -28,36 +28,36 @@ msgstr "Переключає окуляри в режим «бок о бок» msgid "This feature is not currently supported for your device." msgstr "Ця функція наразі не підтримується на вашому пристрої." -#: src/connecteddevice.py:127 +#: src/connecteddevice.py:129 #, fuzzy msgid "Set Focused Display Distance" msgstr "Відстань дисплея" -#: src/connecteddevice.py:128 +#: src/connecteddevice.py:130 msgid "Use a closer value so the display zooms in when you look at it." msgstr "" -#: src/connecteddevice.py:135 +#: src/connecteddevice.py:137 #, fuzzy msgid "Set All Displays Distance" msgstr "Відстань дисплея" -#: src/connecteddevice.py:136 +#: src/connecteddevice.py:138 msgid "Use a farther value so the displays are zoomed out when you look away." msgstr "" -#: src/connecteddevice.py:234 +#: src/connecteddevice.py:236 msgid "" "Unable to add virtual displays on this machine. xdg-desktop-portal is " "required." msgstr "" -#: src/connecteddevice.py:268 +#: src/connecteddevice.py:270 #, fuzzy msgid "Focused display" msgstr "Відстань дисплея" -#: src/connecteddevice.py:274 +#: src/connecteddevice.py:276 #, fuzzy msgid "All displays" msgstr "Викривлений дисплей" @@ -416,10 +416,36 @@ msgid "Automatically set the glasses as the primary display when plugged in." msgstr "Автоматично встановлює окуляри як основний дисплей при підключенні." #: src/gtk/connected-device.ui:533 +#, fuzzy +msgid "Remove virtual displays on disable" +msgstr "Викривлений дисплей" + +#: src/gtk/connected-device.ui:534 +msgid "Automatically remove virtual displays when the XR effect is disabled." +msgstr "" + +#: src/gtk/connected-device.ui:544 +msgid "Enable multi-tap detection" +msgstr "" + +#: src/gtk/connected-device.ui:545 +msgid "Enables double-tap to recenter and triple-tap to recalibrate." +msgstr "" + +#: src/gtk/connected-device.ui:555 +#, fuzzy +msgid "All displays follow mode" +msgstr "Викривлений дисплей" + +#: src/gtk/connected-device.ui:556 +msgid "Follow mode moves all displays, not just the focused one." +msgstr "" + +#: src/gtk/connected-device.ui:566 msgid "Movement look-ahead" msgstr "Прогнозування руху" -#: src/gtk/connected-device.ui:534 +#: src/gtk/connected-device.ui:567 msgid "" "Counteracts input lag by predicting head-tracking position ahead of render " "time. Stick with default unless virtual display drags behind your head " @@ -430,35 +456,18 @@ msgstr "" "віртуальний дисплей відстає від рухів вашої голови, випереджає або дуже " "тремтить." -#: src/gtk/connected-device.ui:552 +#: src/gtk/connected-device.ui:585 msgid "Default" msgstr "За замовчуванням" -#: src/gtk/connected-device.ui:564 +#: src/gtk/connected-device.ui:597 msgid "Text Scaling" msgstr "" -#: src/gtk/connected-device.ui:565 +#: src/gtk/connected-device.ui:598 msgid "Scaling text below 1.0 will simulate a higher resolution display" msgstr "" -#: src/gtk/connected-device.ui:595 -msgid "Enable multi-tap detection" -msgstr "" - -#: src/gtk/connected-device.ui:596 -msgid "Enables double-tap to recenter and triple-tap to recalibrate." -msgstr "" - -#: src/gtk/connected-device.ui:606 -#, fuzzy -msgid "All displays follow mode" -msgstr "Викривлений дисплей" - -#: src/gtk/connected-device.ui:607 -msgid "Follow mode moves all displays, not just the focused one." -msgstr "" - #: src/gtk/display-distance-dialog.ui:9 msgid "Show full range" msgstr "" diff --git a/ui/po/zh_CN.po b/ui/po/zh_CN.po index 28b82f1..2463524 100644 --- a/ui/po/zh_CN.po +++ b/ui/po/zh_CN.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-03-06 19:45-0800\n" +"POT-Creation-Date: 2025-03-06 22:32-0800\n" "PO-Revision-Date: 2024-08-02 20:55-0700\n" "Last-Translator: \n" "Language-Team: Chinese (simplified) \n" @@ -26,36 +26,36 @@ msgstr "切换到并排模式,并将显示宽度翻倍。" msgid "This feature is not currently supported for your device." msgstr "您的设备目前不支援此功能。" -#: src/connecteddevice.py:127 +#: src/connecteddevice.py:129 #, fuzzy msgid "Set Focused Display Distance" msgstr "显示距离" -#: src/connecteddevice.py:128 +#: src/connecteddevice.py:130 msgid "Use a closer value so the display zooms in when you look at it." msgstr "" -#: src/connecteddevice.py:135 +#: src/connecteddevice.py:137 #, fuzzy msgid "Set All Displays Distance" msgstr "显示距离" -#: src/connecteddevice.py:136 +#: src/connecteddevice.py:138 msgid "Use a farther value so the displays are zoomed out when you look away." msgstr "" -#: src/connecteddevice.py:234 +#: src/connecteddevice.py:236 msgid "" "Unable to add virtual displays on this machine. xdg-desktop-portal is " "required." msgstr "" -#: src/connecteddevice.py:268 +#: src/connecteddevice.py:270 #, fuzzy msgid "Focused display" msgstr "显示距离" -#: src/connecteddevice.py:274 +#: src/connecteddevice.py:276 #, fuzzy msgid "All displays" msgstr "曲面显示" @@ -408,10 +408,36 @@ msgid "Automatically set the glasses as the primary display when plugged in." msgstr "连接时,自动将眼镜设置为主要显示。" #: src/gtk/connected-device.ui:533 +#, fuzzy +msgid "Remove virtual displays on disable" +msgstr "曲面显示" + +#: src/gtk/connected-device.ui:534 +msgid "Automatically remove virtual displays when the XR effect is disabled." +msgstr "" + +#: src/gtk/connected-device.ui:544 +msgid "Enable multi-tap detection" +msgstr "" + +#: src/gtk/connected-device.ui:545 +msgid "Enables double-tap to recenter and triple-tap to recalibrate." +msgstr "" + +#: src/gtk/connected-device.ui:555 +#, fuzzy +msgid "All displays follow mode" +msgstr "曲面显示" + +#: src/gtk/connected-device.ui:556 +msgid "Follow mode moves all displays, not just the focused one." +msgstr "" + +#: src/gtk/connected-device.ui:566 msgid "Movement look-ahead" msgstr "移动预测" -#: src/gtk/connected-device.ui:534 +#: src/gtk/connected-device.ui:567 msgid "" "Counteracts input lag by predicting head-tracking position ahead of render " "time. Stick with default unless virtual display drags behind your head " @@ -420,35 +446,18 @@ msgstr "" "透过预测头部追踪位置,提前于渲染时间进行预测来抵消输入延迟。除非虚拟显示滞后" "于头部,提前跳动或非常抖动,请尽量使用默认设置。" -#: src/gtk/connected-device.ui:552 +#: src/gtk/connected-device.ui:585 msgid "Default" msgstr "默认" -#: src/gtk/connected-device.ui:564 +#: src/gtk/connected-device.ui:597 msgid "Text Scaling" msgstr "字体大小比例" -#: src/gtk/connected-device.ui:565 +#: src/gtk/connected-device.ui:598 msgid "Scaling text below 1.0 will simulate a higher resolution display" msgstr "字体缩放小于1.0,将模拟解析度更高的显示效果" -#: src/gtk/connected-device.ui:595 -msgid "Enable multi-tap detection" -msgstr "" - -#: src/gtk/connected-device.ui:596 -msgid "Enables double-tap to recenter and triple-tap to recalibrate." -msgstr "" - -#: src/gtk/connected-device.ui:606 -#, fuzzy -msgid "All displays follow mode" -msgstr "曲面显示" - -#: src/gtk/connected-device.ui:607 -msgid "Follow mode moves all displays, not just the focused one." -msgstr "" - #: src/gtk/display-distance-dialog.ui:9 msgid "Show full range" msgstr "" diff --git a/ui/src/connecteddevice.py b/ui/src/connecteddevice.py index c8fb6a6..5b121da 100644 --- a/ui/src/connecteddevice.py +++ b/ui/src/connecteddevice.py @@ -49,6 +49,7 @@ class ConnectedDevice(Gtk.Box): reassign_toggle_follow_shortcut_button = Gtk.Template.Child() toggle_follow_shortcut_label = Gtk.Template.Child() headset_as_primary_switch = Gtk.Template.Child() + remove_virtual_displays_on_disable_switch = Gtk.Template.Child() use_optimal_monitor_config_switch = Gtk.Template.Child() use_highest_refresh_rate_switch = Gtk.Template.Child() movement_look_ahead_scale = Gtk.Template.Child() @@ -99,6 +100,7 @@ class ConnectedDevice(Gtk.Box): # self.settings.bind('widescreen-mode', self.widescreen_mode_switch, 'active', Gio.SettingsBindFlags.DEFAULT) # self.settings.bind('curved-display', self.curved_display_switch, 'active', Gio.SettingsBindFlags.DEFAULT) self.settings.bind('headset-as-primary', self.headset_as_primary_switch, 'active', Gio.SettingsBindFlags.DEFAULT) + self.settings.bind('remove-virtual-displays-on-disable', self.remove_virtual_displays_on_disable_switch, 'active', Gio.SettingsBindFlags.DEFAULT) self.settings.bind('use-optimal-monitor-config', self.use_optimal_monitor_config_switch, 'active', Gio.SettingsBindFlags.DEFAULT) self.settings.bind('use-highest-refresh-rate', self.use_highest_refresh_rate_switch, 'active', Gio.SettingsBindFlags.DEFAULT) # self.settings.bind('fast-sbs-mode-switching', self.fast_sbs_mode_switch, 'active', Gio.SettingsBindFlags.DEFAULT) diff --git a/ui/src/gtk/connected-device.ui b/ui/src/gtk/connected-device.ui index b4faacd..50c2756 100644 --- a/ui/src/gtk/connected-device.ui +++ b/ui/src/gtk/connected-device.ui @@ -528,6 +528,39 @@ + + + Remove virtual displays on disable + Automatically remove virtual displays when the XR effect is disabled. + + + 3 + + + + + + + Enable multi-tap detection + Enables double-tap to recenter and triple-tap to recalibrate. + + + 3 + + + + + + + All displays follow mode + Follow mode moves all displays, not just the focused one. + + + 3 + + + + Movement look-ahead @@ -590,28 +623,6 @@ - - - Enable multi-tap detection - Enables double-tap to recenter and triple-tap to recalibrate. - - - 3 - - - - - - - All displays follow mode - Follow mode moves all displays, not just the focused one. - - - 3 - - - -