diff --git a/src/components/Header.vue b/src/components/Header.vue
index 570e893..087cfd4 100644
--- a/src/components/Header.vue
+++ b/src/components/Header.vue
@@ -49,6 +49,7 @@ async function maximizeOrRestore() {
justify-content: end;
align-items: center;
border-radius: 0 10px 0 0;
+ user-select: none;
.n-button-group{
flex-shrink: 0;
diff --git a/src/components/setting/Mask.vue b/src/components/setting/Mask.vue
index ce68a15..0653b6f 100644
--- a/src/components/setting/Mask.vue
+++ b/src/components/setting/Mask.vue
@@ -236,43 +236,58 @@ onUnmounted(() => {
- 设备旋转
-
+ {{ $t("pages.Setting.Mask.rotation.title") }}
+
-
+
-
+
ScreenStream
-
+
-
+
diff --git a/src/i18n/en-US.json b/src/i18n/en-US.json
index ad52d4f..86c0c72 100644
--- a/src/i18n/en-US.json
+++ b/src/i18n/en-US.json
@@ -36,7 +36,8 @@
"wsClose": "Close",
"wsConnect": "Control",
"adbDeviceError": "Unable to get available devices",
- "adbConnectError": "Wireless connection failed"
+ "adbConnectError": "Wireless connection failed",
+ "rotation": "Device rotation {0}°"
},
"Mask": {
"keyconfigException": "The key mapping config is abnormal, please delete this config",
@@ -85,6 +86,17 @@
"y": "Y coordinate of upper left corner",
"w": "Mask width",
"h": "Mask height"
+ },
+ "rotation": {
+ "title": "Device rotation",
+ "rotateWithDevice": "Follow device rotation",
+ "verticalLength": "Mask height in vertical screen",
+ "horizontalLength": "Mask width in horizontal screen "
+ },
+ "screenStream": {
+ "enable": "Enable mirror",
+ "address": "Screen mirror address",
+ "addressPlaceholder": "Please enter the ScreenStream screen mirror address"
}
},
"Basic": {
diff --git a/src/i18n/zh-CN.json b/src/i18n/zh-CN.json
index f06e776..86e2040 100644
--- a/src/i18n/zh-CN.json
+++ b/src/i18n/zh-CN.json
@@ -86,6 +86,17 @@
"y": "请输入蒙版左上角Y坐标",
"w": "请输入蒙版宽度",
"h": "请输入蒙版高度"
+ },
+ "rotation": {
+ "title": "设备旋转",
+ "rotateWithDevice": "跟随设备旋转",
+ "verticalLength": "竖屏蒙版高度",
+ "horizontalLength": "横屏蒙版宽度"
+ },
+ "screenStream": {
+ "enable": "启用投屏",
+ "address": "投屏地址",
+ "addressPlaceholder": "请输入 ScreenStream 投屏地址"
}
},
"Basic": {