mirror of
https://gitee.com/viarotel-org/escrcpy.git
synced 2024-11-29 18:01:34 +08:00
perf: 🚀 Adjust options to support scrcpy v3.0
This commit is contained in:
parent
10eb063e3c
commit
0602676a3e
@ -270,6 +270,9 @@
|
||||
"preferences.video.refresh-rate.placeholder": "60",
|
||||
"preferences.video.display-orientation.name": "Display Orientation",
|
||||
"preferences.video.display-orientation.placeholder": "Device orientation",
|
||||
"preferences.video.angle.name": "Rotation Angle",
|
||||
"preferences.video.angle.placeholder": "No rotation, format: 15",
|
||||
"preferences.video.angle.tips": "Note: This option is also effective during recording",
|
||||
"preferences.video.screen-cropping.name": "Crop",
|
||||
"preferences.video.screen-cropping.placeholder": "No crop, format: 1224:1440:0:0",
|
||||
"preferences.video.display.name": "Display",
|
||||
@ -286,8 +289,11 @@
|
||||
"preferences.device.stay-awake.name": "Stay Awake",
|
||||
"preferences.device.stay-awake.placeholder": "Prevent device sleep",
|
||||
"preferences.device.stay-awake.tips": "Wired only",
|
||||
"preferences.device.control-in-close-screen.name": "Turn Off Screen",
|
||||
"preferences.device.control-in-close-screen.placeholder": "Turn off device screen when controlling",
|
||||
"preferences.device.turnScreenOff.name": "Turn Off Screen",
|
||||
"preferences.device.turnScreenOff.placeholder": "Turn off device screen when controlling",
|
||||
"preferences.device.screenOffTimeout.name": "Screen Timeout",
|
||||
"preferences.device.screenOffTimeout.placeholder": "Device Default",
|
||||
"preferences.device.screenOffTimeout.tips": "Modify the screen timeout setting and restore the device default on exit",
|
||||
"preferences.device.control-end-video.name": "Turn Off at End Screen",
|
||||
"preferences.device.control-end-video.placeholder": "Turn off screen when control ends",
|
||||
"preferences.device.control-in-stop-charging.name": "Stop Charging",
|
||||
@ -324,8 +330,8 @@
|
||||
"preferences.record.format.audio.placeholder": "opus",
|
||||
"preferences.record.time-limit.name": "Recording Time Limit",
|
||||
"preferences.record.time-limit.placeholder": "No time limit",
|
||||
"preferences.record.lock-video-orientation.name": "Video Direction",
|
||||
"preferences.record.lock-video-orientation.placeholder": "Device Orientation",
|
||||
"preferences.record.orientation.name": "Video Direction",
|
||||
"preferences.record.orientation.placeholder": "Device Orientation",
|
||||
"preferences.record.no-video-playback.name": "Disable Video Playback",
|
||||
"preferences.record.no-video-playback.placeholder": "Video playback will be disabled during recording when enabled",
|
||||
"preferences.record.no-video-playback.tips": "Note: Video will still be recorded, just playback disabled",
|
||||
|
@ -270,6 +270,9 @@
|
||||
"preferences.video.refresh-rate.placeholder": "60",
|
||||
"preferences.video.display-orientation.name": "Ориентация дисплея",
|
||||
"preferences.video.display-orientation.placeholder": "Ориентация устройства",
|
||||
"preferences.video.angle.name": "Угол поворота",
|
||||
"preferences.video.angle.placeholder": "Без поворота, формат: 15",
|
||||
"preferences.video.angle.tips": "Примечание: Этот параметр также действует при записи",
|
||||
"preferences.video.screen-cropping.name": "Обрезка",
|
||||
"preferences.video.screen-cropping.placeholder": "Без обрезки, формат: 1224:1440:0:0",
|
||||
"preferences.video.display.name": "Дисплей",
|
||||
@ -286,8 +289,11 @@
|
||||
"preferences.device.stay-awake.name": "Не выключать экран",
|
||||
"preferences.device.stay-awake.placeholder": "Предотвратить переход устройства в спящий режим",
|
||||
"preferences.device.stay-awake.tips": "Только проводное подключение",
|
||||
"preferences.device.control-in-close-screen.name": "Выключить экран",
|
||||
"preferences.device.control-in-close-screen.placeholder": "Выключить экран устройства во время управления",
|
||||
"preferences.device.turnScreenOff.name": "Выключить экран",
|
||||
"preferences.device.turnScreenOff.placeholder": "Выключить экран устройства во время управления",
|
||||
"preferences.device.screenOffTimeout.name": "Тайм-аут экрана",
|
||||
"preferences.device.screenOffTimeout.placeholder": "По умолчанию устройства",
|
||||
"preferences.device.screenOffTimeout.tips": "Измените настройку тайм-аута экрана и восстановите значение по умолчанию устройства при выходе",
|
||||
"preferences.device.control-end-video.name": "Выключить экран при завершении",
|
||||
"preferences.device.control-end-video.placeholder": "Выключить экран при завершении управления",
|
||||
"preferences.device.control-in-stop-charging.name": "Остановить зарядку",
|
||||
@ -324,8 +330,8 @@
|
||||
"preferences.record.format.audio.placeholder": "opus",
|
||||
"preferences.record.time-limit.name": "Ограничение времени записи",
|
||||
"preferences.record.time-limit.placeholder": "Без ограничения времени",
|
||||
"preferences.record.lock-video-orientation.name": "Ориентация видео",
|
||||
"preferences.record.lock-video-orientation.placeholder": "Ориентация устройства",
|
||||
"preferences.record.orientation.name": "Ориентация видео",
|
||||
"preferences.record.orientation.placeholder": "Ориентация устройства",
|
||||
"preferences.record.no-video-playback.name": "Отключить воспроизведение видео",
|
||||
"preferences.record.no-video-playback.placeholder": "При включении воспроизведение видео будет отключено во время записи",
|
||||
"preferences.record.no-video-playback.tips": "Примечание: Видео все равно будет записано, просто воспроизведение отключено",
|
||||
|
@ -270,6 +270,9 @@
|
||||
"preferences.video.video-code.placeholder": "h.264",
|
||||
"preferences.video.display-orientation.name": "显示方向",
|
||||
"preferences.video.display-orientation.placeholder": "设备显示方向",
|
||||
"preferences.video.angle.name": "旋转角度",
|
||||
"preferences.video.angle.placeholder": "不旋转,格式:15",
|
||||
"preferences.video.angle.tips": "注意:该选项在录制时同样有效",
|
||||
"preferences.video.screen-cropping.name": "屏幕裁剪",
|
||||
"preferences.video.screen-cropping.placeholder": "不裁剪,格式:1224:1440:0:0",
|
||||
"preferences.video.display.name": "显示器",
|
||||
@ -286,8 +289,11 @@
|
||||
"preferences.device.stay-awake.name": "保持唤醒",
|
||||
"preferences.device.stay-awake.placeholder": "开启后将防止设备进入睡眠状态",
|
||||
"preferences.device.stay-awake.tips": "仅有线方式连接时有效",
|
||||
"preferences.device.control-in-close-screen.name": "控制时关闭屏幕",
|
||||
"preferences.device.control-in-close-screen.placeholder": "开启后控制设备时将自动关闭设备屏幕",
|
||||
"preferences.device.turnScreenOff.name": "控制时关闭屏幕",
|
||||
"preferences.device.turnScreenOff.placeholder": "开启后控制设备时将自动关闭设备屏幕",
|
||||
"preferences.device.screenOffTimeout.name": "屏幕超时",
|
||||
"preferences.device.screenOffTimeout.placeholder": "设备默认",
|
||||
"preferences.device.screenOffTimeout.tips": "修改屏幕关闭超时设置,并在退出时恢复设备默认",
|
||||
"preferences.device.control-end-video.name": "控制结束关闭屏幕",
|
||||
"preferences.device.control-end-video.placeholder": "开启后停止控制设备将自动关闭设备屏幕",
|
||||
"preferences.device.control-in-stop-charging.name": "控制时禁用自动亮屏",
|
||||
@ -324,8 +330,8 @@
|
||||
"preferences.record.format.audio.placeholder": "opus",
|
||||
"preferences.record.time-limit.name": "录制时长",
|
||||
"preferences.record.time-limit.placeholder": "不限时长",
|
||||
"preferences.record.lock-video-orientation.name": "录制视频方向",
|
||||
"preferences.record.lock-video-orientation.placeholder": "设备默认方向",
|
||||
"preferences.record.orientation.name": "录制视频方向",
|
||||
"preferences.record.orientation.placeholder": "设备默认方向",
|
||||
"preferences.record.no-video-playback.name": "禁用视频播放",
|
||||
"preferences.record.no-video-playback.placeholder": "开启后录制时将禁用视频播放",
|
||||
"preferences.record.no-video-playback.tips": "注意:只是禁用了播放但是依然会录制视频",
|
||||
|
@ -270,6 +270,9 @@
|
||||
"preferences.video.video-code.placeholder": "h.264",
|
||||
"preferences.video.display-orientation.name": "顯示方向",
|
||||
"preferences.video.display-orientation.placeholder": "裝置顯示方向",
|
||||
"preferences.video.angle.name": "旋轉角度",
|
||||
"preferences.video.angle.placeholder": "不旋轉,格式:15",
|
||||
"preferences.video.angle.tips": "注意:此選項在錄製時同樣有效",
|
||||
"preferences.video.screen-cropping.name": "螢幕裁剪",
|
||||
"preferences.video.screen-cropping.placeholder": "不裁剪,格式:1224:1440:0:0",
|
||||
"preferences.video.display.name": "顯示器",
|
||||
@ -286,8 +289,11 @@
|
||||
"preferences.device.stay-awake.name": "保持喚醒",
|
||||
"preferences.device.stay-awake.placeholder": "開啟後將防止裝置進入睡眠狀態",
|
||||
"preferences.device.stay-awake.tips": "僅有線方式連接時有效",
|
||||
"preferences.device.control-in-close-screen.name": "控制時關閉螢幕",
|
||||
"preferences.device.control-in-close-screen.placeholder": "開啟後控制裝置時將自動關閉裝置螢幕",
|
||||
"preferences.device.turnScreenOff.name": "控制時關閉螢幕",
|
||||
"preferences.device.turnScreenOff.placeholder": "開啟後控制裝置時將自動關閉裝置螢幕",
|
||||
"preferences.device.screenOffTimeout.name": "屏幕超時",
|
||||
"preferences.device.screenOffTimeout.placeholder": "設備預設",
|
||||
"preferences.device.screenOffTimeout.tips": "修改屏幕關閉超時設置,並在退出時恢復設備預設",
|
||||
"preferences.device.control-end-video.name": "控制結束關閉螢幕",
|
||||
"preferences.device.control-end-video.placeholder": "開啟後停止控制裝置將自動關閉裝置螢幕",
|
||||
"preferences.device.control-in-stop-charging.name": "控制時停用自動亮螢幕",
|
||||
@ -324,8 +330,8 @@
|
||||
"preferences.record.format.audio.placeholder": "opus",
|
||||
"preferences.record.time-limit.name": "錄製時長",
|
||||
"preferences.record.time-limit.placeholder": "不限時長",
|
||||
"preferences.record.lock-video-orientation.name": "錄製影片方向",
|
||||
"preferences.record.lock-video-orientation.placeholder": "裝置預設方向",
|
||||
"preferences.record.orientation.name": "錄製影片方向",
|
||||
"preferences.record.orientation.placeholder": "裝置預設方向",
|
||||
"preferences.record.no-video-playback.name": "停用影片播放",
|
||||
"preferences.record.no-video-playback.placeholder": "開啟後錄製時將停用影片播放",
|
||||
"preferences.record.no-video-playback.tips": "注意:只是停用了播放但是依然會錄製影片",
|
||||
|
@ -2,13 +2,22 @@ export default {
|
||||
label: 'preferences.device.name',
|
||||
field: 'scrcpy',
|
||||
children: {
|
||||
showTouches: {
|
||||
label: 'preferences.device.show-touch.name',
|
||||
field: '--show-touches',
|
||||
type: 'Switch',
|
||||
screenOffTimeout: {
|
||||
label: 'preferences.device.screenOffTimeout.name',
|
||||
field: '--screen-off-timeout',
|
||||
type: 'InputNumber',
|
||||
value: undefined,
|
||||
placeholder: 'preferences.device.show-touch.placeholder',
|
||||
tips: 'preferences.device.show-touch.tips',
|
||||
placeholder: 'preferences.device.screenOffTimeout.placeholder',
|
||||
tips: 'preferences.device.screenOffTimeout.tips',
|
||||
append: 's',
|
||||
},
|
||||
overlayDisplay: {
|
||||
label: 'preferences.device.display-overlay.name',
|
||||
field: '--display-overlay',
|
||||
type: 'Input',
|
||||
value: undefined,
|
||||
placeholder: 'preferences.device.display-overlay.placeholder',
|
||||
tips: 'preferences.device.display-overlay.tips',
|
||||
},
|
||||
stayAwake: {
|
||||
label: 'preferences.device.stay-awake.name',
|
||||
@ -19,11 +28,11 @@ export default {
|
||||
tips: 'preferences.device.stay-awake.tips',
|
||||
},
|
||||
turnScreenOff: {
|
||||
label: 'preferences.device.control-in-close-screen.name',
|
||||
label: 'preferences.device.turnScreenOff.name',
|
||||
field: '--turn-screen-off',
|
||||
type: 'Switch',
|
||||
value: undefined,
|
||||
placeholder: 'preferences.device.control-in-close-screen.placeholder',
|
||||
placeholder: 'preferences.device.turnScreenOff.placeholder',
|
||||
},
|
||||
powerOffOnClose: {
|
||||
label: 'preferences.device.control-end-video.name',
|
||||
@ -40,13 +49,13 @@ export default {
|
||||
placeholder: 'preferences.device.control-in-stop-charging.placeholder',
|
||||
tips: 'preferences.device.control-in-stop-charging.tips',
|
||||
},
|
||||
overlayDisplay: {
|
||||
label: 'preferences.device.display-overlay.name',
|
||||
field: '--display-overlay',
|
||||
type: 'Input',
|
||||
showTouches: {
|
||||
label: 'preferences.device.show-touch.name',
|
||||
field: '--show-touches',
|
||||
type: 'Switch',
|
||||
value: undefined,
|
||||
placeholder: 'preferences.device.display-overlay.placeholder',
|
||||
tips: 'preferences.device.display-overlay.tips',
|
||||
placeholder: 'preferences.device.show-touch.placeholder',
|
||||
tips: 'preferences.device.show-touch.tips',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -52,12 +52,12 @@ export default {
|
||||
},
|
||||
],
|
||||
},
|
||||
lockVideoOrientation: {
|
||||
label: 'preferences.record.lock-video-orientation.name',
|
||||
field: '--lock-video-orientation',
|
||||
recordOrientation: {
|
||||
label: 'preferences.record.orientation.name',
|
||||
field: '--record-orientation',
|
||||
type: 'Select',
|
||||
value: undefined,
|
||||
placeholder: 'preferences.record.lock-video-orientation.placeholder',
|
||||
placeholder: 'preferences.record.orientation.placeholder',
|
||||
options: [
|
||||
{ label: '0°', value: '0' },
|
||||
{ label: '90°', value: '90' },
|
||||
|
@ -107,6 +107,15 @@ export default {
|
||||
{ label: 'flip-270°', value: 'flip270' },
|
||||
],
|
||||
},
|
||||
angle: {
|
||||
label: 'preferences.video.angle.name',
|
||||
field: '--angle',
|
||||
type: 'InputNumber',
|
||||
value: undefined,
|
||||
placeholder: 'preferences.video.angle.placeholder',
|
||||
tips: 'preferences.video.angle.tips',
|
||||
append: 'deg',
|
||||
},
|
||||
crop: {
|
||||
label: 'preferences.video.screen-cropping.name',
|
||||
field: '--crop',
|
||||
@ -130,8 +139,7 @@ export default {
|
||||
},
|
||||
videoBuffer: {
|
||||
label: 'preferences.video.video-buffer.name',
|
||||
// field: '--video-buffer',
|
||||
field: '--display-buffer',
|
||||
field: '--video-buffer',
|
||||
type: 'InputNumber',
|
||||
value: undefined,
|
||||
placeholder: 'preferences.video.video-buffer.placeholder',
|
||||
|
Loading…
Reference in New Issue
Block a user