From 106f4c93c3e8af3871f774c2c17404937f78cd85 Mon Sep 17 00:00:00 2001
From: ljxx <65693759+neighbor-bear@users.noreply.github.com>
Date: Mon, 1 Jul 2024 11:00:02 +0800
Subject: [PATCH 1/2] Add corresponding text to String to facilitate
multi-language translation
---
app/src/main/res/values/strings.xml | 72 ++++++++++++++
app/src/main/res/xml/preferences.xml | 140 +++++++++++++--------------
2 files changed, 142 insertions(+), 70 deletions(-)
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index f9c54c33e..40ea4ba47 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -47,4 +47,76 @@
Verbose
*Unknown*
Logcat log level set to \"%1$s\"
+
+
+ Display resolution mode
+ Display scale, %
+ Display resolution
+ Adjust the set resolution to fit screen orientation
+ Stretch to fit display
+ Reseed screen while soft keyboard is open
+ The screen size will be adjusted while Soft Keyboard is open.
+ PIP mode
+ Show app in picture-in-picture mode when home button or recents button is pressed
+ Fullscreen
+ Toggles immersive mode in your device display
+ Force landscape orientation
+ Hide display cutout (if any)
+ Keep Screen On
+ Output
+ Pointer
+ Touchscreen input mode
+ Apply display scale factor to touchpad
+ Show stylus click options
+ Stylus touch override, left, middle or right click (Stylus only)
+ Enable stylus mouse mode
+ Make your stylus work like a mouse. When activated, stylus will only move the cursor and send mouse clicks, ignoring pressure, angle, and tilt.
+ Stylus button contact modifier mode
+ Enable this option to send right or middle mouse buttons only when stylus touches the screen while the button is pressed.
+ Show mouse click helper overlay
+ Onscreen mouse buttons usable with touchpad
+ Capture external pointer devices when possible
+ Intercept all hardware pointer events. Pointer is back to Android after pressing Escape key.
+ Transform captured pointer movements
+ Captured pointer speed factor, %
+ Enable tap-to-move for touchpads
+ Keyboard
+ Show additional keyboard
+ Show keyboard with additional keys.
+ Show IME with external keyboard
+ Show software keyboard while hardware keyboard is connected.
+ Prefer scancodes when possible
+ Let X server handle hardware keyboard layout (with DE settings or setxkbmap).
+ Hardware keyboard scancodes workaround
+ Fixes scancodes on some devices. Might cause problems with multiple layouts.
+ Intercept system shortcuts
+ Samsung Dex only. Allows interception of \"Alt+F4\", \"Meta+D\", \"Meta+E\", etc.
+ Enable Accessibility service for intercepting system shortcuts manually.
+ Open Accessibility settings.
+ Enable Accessibility service for intercepting system shortcuts automatically.
+ Requires WRITE_SECURE_SETTINGS permission.
+ Pause key intercepting with Esc key
+ Filter out intercepted Win (Meta/Mod4) key.
+ Allows you to use Dex shortcuts while intercepting. Requires Accessibility service to work.
+ Workaround to enable CJK Gboard
+ May require Android 14 and Gboard 14
+ Other
+ Clipboard sharing
+ Request notification permission
+ Configure response to user actions
+ Store preferences for secondary displays separately
+ Open this screen on display you want to configure
+ Extra key bar preferences
+ Adjust display height for extra keys bar
+ May cause screen flickering during toggling EK bar
+ Deactivate special keys on additional key bar after each keypress
+ Use long-tap to lock special keys
+ Opacity of extra keys bar, %
+ Extra keys config
+ Response to user actions
+ Three finger swipe up
+ Three finger swipe down
+ Volume up
+ Volume down
+ Back button
diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml
index 0177a67ff..09b410b5e 100644
--- a/app/src/main/res/xml/preferences.xml
+++ b/app/src/main/res/xml/preferences.xml
@@ -1,22 +1,22 @@
-
+
-
+
-
+
@@ -146,136 +146,136 @@
android:key="additionalKbdVisible" />
-
+
-
+
-
+
Date: Mon, 1 Jul 2024 11:31:50 +0800
Subject: [PATCH 2/2] Add corresponding text to String to facilitate
multi-language translation
---
app/src/main/res/values/strings.xml | 2 ++
app/src/main/res/xml/preferences.xml | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 40ea4ba47..3a639bd82 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -119,4 +119,6 @@
Volume up
Volume down
Back button
+ Display resolution
+ Example: 1280x1024
diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml
index 09b410b5e..6c941660e 100644
--- a/app/src/main/res/xml/preferences.xml
+++ b/app/src/main/res/xml/preferences.xml
@@ -23,10 +23,10 @@
android:entryValues="@array/displayResolution" />
+ android:summary="@string/example_1280x1024" />