mirror of
https://gitee.com/viarotel-org/escrcpy.git
synced 2024-12-02 03:07:35 +08:00
perf: ♻️ Options in the preference settings
This commit is contained in:
parent
6cfb021e4c
commit
dc711cbb64
@ -87,7 +87,7 @@
|
|||||||
<el-form
|
<el-form
|
||||||
ref="elForm"
|
ref="elForm"
|
||||||
:model="preferenceData"
|
:model="preferenceData"
|
||||||
label-width="200px"
|
label-width="225px"
|
||||||
class="pr-8 pt-4"
|
class="pr-8 pt-4"
|
||||||
>
|
>
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
|
@ -182,6 +182,8 @@
|
|||||||
"preferences.common.auto-connect.placeholder": "When enabled, the software will attempt to automatically connect to historical devices upon startup.",
|
"preferences.common.auto-connect.placeholder": "When enabled, the software will attempt to automatically connect to historical devices upon startup.",
|
||||||
|
|
||||||
"preferences.video.name": "Video",
|
"preferences.video.name": "Video",
|
||||||
|
"preferences.video.disable-video.name": "Disable Video Forwarding",
|
||||||
|
"preferences.video.disable-video.placeholder": "Video forwarding will be disabled when enabled",
|
||||||
"preferences.video.video-source.name": "Video Source",
|
"preferences.video.video-source.name": "Video Source",
|
||||||
"preferences.video.video-source.placeholder": "Device display",
|
"preferences.video.video-source.placeholder": "Device display",
|
||||||
"preferences.video.video-source.display": "Display",
|
"preferences.video.video-source.display": "Display",
|
||||||
@ -250,10 +252,6 @@
|
|||||||
"preferences.record.format.placeholder": "mp4",
|
"preferences.record.format.placeholder": "mp4",
|
||||||
"preferences.record.lock-video-orientation.name": "Video Direction",
|
"preferences.record.lock-video-orientation.name": "Video Direction",
|
||||||
"preferences.record.lock-video-orientation.placeholder": "Device Orientation",
|
"preferences.record.lock-video-orientation.placeholder": "Device Orientation",
|
||||||
"preferences.record.disable-video.name": "Disable Video Recording",
|
|
||||||
"preferences.record.disable-video.placeholder": "Video recording will be disabled when enabled",
|
|
||||||
"preferences.record.disable-audio.name": "Disable Audio Recording",
|
|
||||||
"preferences.record.disable-audio.placeholder": "Audio recording will be disabled when enabled",
|
|
||||||
"preferences.record.no-video-playback.name": "Disable Video Playback",
|
"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.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",
|
"preferences.record.no-video-playback.tips": "Note: Video will still be recorded, just playback disabled",
|
||||||
@ -262,6 +260,9 @@
|
|||||||
"preferences.record.no-audio-playback.tips": "Note: Audio will still be recorded, just playback disabled",
|
"preferences.record.no-audio-playback.tips": "Note: Audio will still be recorded, just playback disabled",
|
||||||
|
|
||||||
"preferences.audio.name": "Audio",
|
"preferences.audio.name": "Audio",
|
||||||
|
"preferences.audio.disable-audio.name": "Disable Audio Forwarding",
|
||||||
|
"preferences.audio.disable-audio.placeholder": "Audio forwarding will be disabled when enabled",
|
||||||
|
"preferences.audio.disable-audio.tips": "If your device audio capture is abnormal, you can open this option to ensure that you can open the mirror normally",
|
||||||
"preferences.audio.audio-source.name": "Audio Source",
|
"preferences.audio.audio-source.name": "Audio Source",
|
||||||
"preferences.audio.audio-source.placeholder": "Device Audio Output",
|
"preferences.audio.audio-source.placeholder": "Device Audio Output",
|
||||||
"preferences.audio.audio-source.tips": "Tip: Selecting 'Microphone' as the source will allow you to record audio.",
|
"preferences.audio.audio-source.tips": "Tip: Selecting 'Microphone' as the source will allow you to record audio.",
|
||||||
|
@ -182,6 +182,8 @@
|
|||||||
"preferences.common.auto-connect.placeholder": "启用后,该软件将在启动时尝试自动连接到历史设备",
|
"preferences.common.auto-connect.placeholder": "启用后,该软件将在启动时尝试自动连接到历史设备",
|
||||||
|
|
||||||
"preferences.video.name": "视频控制",
|
"preferences.video.name": "视频控制",
|
||||||
|
"preferences.video.disable-video.name": "禁用视频转发",
|
||||||
|
"preferences.video.disable-video.placeholder": "开启后将禁用视频转发",
|
||||||
"preferences.video.video-source.name": "视频源",
|
"preferences.video.video-source.name": "视频源",
|
||||||
"preferences.video.video-source.placeholder": "默认为设备显示器",
|
"preferences.video.video-source.placeholder": "默认为设备显示器",
|
||||||
"preferences.video.video-source.display": "显示器",
|
"preferences.video.video-source.display": "显示器",
|
||||||
@ -250,10 +252,6 @@
|
|||||||
"preferences.record.time-limit.placeholder": "不限时长",
|
"preferences.record.time-limit.placeholder": "不限时长",
|
||||||
"preferences.record.lock-video-orientation.name": "录制视频方向",
|
"preferences.record.lock-video-orientation.name": "录制视频方向",
|
||||||
"preferences.record.lock-video-orientation.placeholder": "设备默认方向",
|
"preferences.record.lock-video-orientation.placeholder": "设备默认方向",
|
||||||
"preferences.record.disable-video.name": "禁用视频录制",
|
|
||||||
"preferences.record.disable-video.placeholder": "开启后将禁用视频录制",
|
|
||||||
"preferences.record.disable-audio.name": "禁用音频录制",
|
|
||||||
"preferences.record.disable-audio.placeholder": "开启后将禁用音频录制",
|
|
||||||
"preferences.record.no-video-playback.name": "禁用视频播放",
|
"preferences.record.no-video-playback.name": "禁用视频播放",
|
||||||
"preferences.record.no-video-playback.placeholder": "开启后录制时将禁用视频播放",
|
"preferences.record.no-video-playback.placeholder": "开启后录制时将禁用视频播放",
|
||||||
"preferences.record.no-video-playback.tips": "注意:只是禁用了播放但是依然会录制视频",
|
"preferences.record.no-video-playback.tips": "注意:只是禁用了播放但是依然会录制视频",
|
||||||
@ -262,6 +260,9 @@
|
|||||||
"preferences.record.no-audio-playback.tips": "注意:只是禁用了播放但是依然会录制音频",
|
"preferences.record.no-audio-playback.tips": "注意:只是禁用了播放但是依然会录制音频",
|
||||||
|
|
||||||
"preferences.audio.name": "音频控制",
|
"preferences.audio.name": "音频控制",
|
||||||
|
"preferences.audio.disable-audio.name": "禁用音频转发",
|
||||||
|
"preferences.audio.disable-audio.placeholder": "开启后将禁用音频转发",
|
||||||
|
"preferences.audio.disable-audio.tips": "如果您的设备音频捕获异常,则可以打开此选项,以确保可以正常打开镜像",
|
||||||
"preferences.audio.audio-source.name": "音频源",
|
"preferences.audio.audio-source.name": "音频源",
|
||||||
"preferences.audio.audio-source.placeholder": "设备音频输出",
|
"preferences.audio.audio-source.placeholder": "设备音频输出",
|
||||||
"preferences.audio.audio-source.tips": "技巧:如果将来源设为麦克风将可以在录制时将声音录制下来",
|
"preferences.audio.audio-source.tips": "技巧:如果将来源设为麦克风将可以在录制时将声音录制下来",
|
||||||
|
@ -3,6 +3,14 @@ export default {
|
|||||||
field: 'scrcpy',
|
field: 'scrcpy',
|
||||||
|
|
||||||
children: {
|
children: {
|
||||||
|
noAudio: {
|
||||||
|
label: 'preferences.audio.disable-audio.name',
|
||||||
|
field: '--no-audio',
|
||||||
|
type: 'Switch',
|
||||||
|
value: undefined,
|
||||||
|
placeholder: 'preferences.audio.disable-audio.placeholder',
|
||||||
|
tips: 'preferences.audio.disable-audio.tips',
|
||||||
|
},
|
||||||
audioSource: {
|
audioSource: {
|
||||||
label: 'preferences.audio.audio-source.name',
|
label: 'preferences.audio.audio-source.name',
|
||||||
field: '--audio-source',
|
field: '--audio-source',
|
||||||
|
@ -41,20 +41,6 @@ export default {
|
|||||||
append: 's',
|
append: 's',
|
||||||
span: 24,
|
span: 24,
|
||||||
},
|
},
|
||||||
noVideo: {
|
|
||||||
label: 'preferences.record.disable-video.name',
|
|
||||||
field: '--no-video',
|
|
||||||
type: 'Switch',
|
|
||||||
value: undefined,
|
|
||||||
placeholder: 'preferences.record.disable-video.placeholder',
|
|
||||||
},
|
|
||||||
noAudio: {
|
|
||||||
label: 'preferences.record.disable-audio.name',
|
|
||||||
field: '--no-audio',
|
|
||||||
type: 'Switch',
|
|
||||||
value: undefined,
|
|
||||||
placeholder: 'preferences.record.disable-audio.placeholder',
|
|
||||||
},
|
|
||||||
noVideoPlayback: {
|
noVideoPlayback: {
|
||||||
label: 'preferences.record.no-video-playback.name',
|
label: 'preferences.record.no-video-playback.name',
|
||||||
field: '--no-video-playback',
|
field: '--no-video-playback',
|
||||||
|
@ -3,6 +3,13 @@ export default {
|
|||||||
field: 'scrcpy',
|
field: 'scrcpy',
|
||||||
|
|
||||||
children: {
|
children: {
|
||||||
|
noVideo: {
|
||||||
|
label: 'preferences.video.disable-video.name',
|
||||||
|
field: '--no-video',
|
||||||
|
type: 'Switch',
|
||||||
|
value: undefined,
|
||||||
|
placeholder: 'preferences.video.disable-video.placeholder',
|
||||||
|
},
|
||||||
videoSource: {
|
videoSource: {
|
||||||
hidden: true,
|
hidden: true,
|
||||||
label: 'preferences.video.video-source.name',
|
label: 'preferences.video.video-source.name',
|
||||||
|
Loading…
Reference in New Issue
Block a user