WebUI: implement per-device display mode override

This commit is contained in:
Yukino Song
2025-02-25 05:51:56 +08:00
parent c6127ed0e5
commit 6f35d52cdd
4 changed files with 46 additions and 12 deletions

View File

@@ -177,10 +177,6 @@
"channels": "Maximum Connected Clients",
"channels_desc_1": "Apollo can allow a single streaming session to be shared with multiple clients simultaneously.",
"channels_desc_2": "Some hardware encoders may have limitations that reduce performance with multiple streams.",
"client_do_cmd": "Client connect commands",
"client_do_cmd_desc": "Commands to be executed when client connects. All of the commands are executed detached.",
"client_undo_cmd": "Client disconnect commands",
"client_undo_cmd_desc": "Commands to be executed when client disconnects. All of the commands are executed detached.",
"coder_cabac": "cabac -- context adaptive binary arithmetic coding - higher quality",
"coder_cavlc": "cavlc -- context adaptive variable-length coding - faster decode",
"configuration": "Configuration",
@@ -480,7 +476,14 @@
"launch": "Launch Apps"
},
"pin": {
"client_do_cmd": "Client connect commands",
"client_do_cmd_desc": "Commands to be executed when client connects. All of the commands are executed detached.",
"client_undo_cmd": "Client disconnect commands",
"client_undo_cmd_desc": "Commands to be executed when client disconnects. All of the commands are executed detached.",
"device_name": "Optional: Device Name",
"display_mode_override": "Display Mode Override",
"display_mode_override_desc": "Apollo will ignore client requested display mode and use this value to configure (virtual) displays. Leave blank for auto matching. Format: [Width]x[Height]x[FPS]",
"display_mode_override_error": "Invalid mode override. Format: [Width]x[Height]x[FPS]",
"pair_failure": "Pairing Failed: Check if the PIN is typed correctly",
"pair_success": "Success! Please check Moonlight to continue",
"pair_success_check_perm": "Pair success! Please grant necessary permissions to the client manually below.",

View File

@@ -174,10 +174,6 @@
"channels": "最多同时连接客户端数",
"channels_desc_1": "Apollo 允许多个客户端同时共享一个串流会话。",
"channels_desc_2": "某些硬件编码器可能存在限制,在编码多条流时会降低性能。",
"client_do_cmd": "客户端连入命令",
"client_do_cmd_desc": "当此客户端连接时执行的命令。所有命令都以后台模式允许。",
"client_undo_cmd": "客户端断开命令",
"client_undo_cmd_desc": "当此客户端断开连接时执行的命令。所有命令都以后台模式允许。",
"coder_cabac": "cabac -- 上下文自适应二进制算术编码- 较高质量",
"coder_cavlc": "cavlc -- 上下文适应变量编码 - 更快解码",
"configuration": "配置",
@@ -474,7 +470,14 @@
"launch": "启动APP"
},
"pin": {
"client_do_cmd": "客户端连入命令",
"client_do_cmd_desc": "当此客户端连接时执行的命令。所有命令都以后台模式允许。",
"client_undo_cmd": "客户端断开命令",
"client_undo_cmd_desc": "当此客户端断开连接时执行的命令。所有命令都以后台模式允许。",
"device_name": "设备名称",
"display_mode_override": "显示模式覆盖",
"display_mode_override_desc": "Apollo 将无视客户端请求的显示参数而使用此参数来配置(虚拟)显示器。留空则自动匹配。格式: [Width]x[Height]x[FPS]",
"display_mode_override_error": "无效的显示模式。格式: [Width]x[Height]x[FPS]",
"pair_failure": "配对失败:请检查 PIN 码是否正确输入",
"pair_success": "成功!请检查 Moonlight 以继续",
"pair_success_check_perm": "配对成功!请在下方手动授予客户端必要的权限。",