fix: 修复视频方向设置的多语言支持

- 在 navbar-system.pug 中为 video_orientation 添加 i18n 属性
- 修复 video_mode 的多语言显示问题
- 更新 menu_radio_td2 mixin 支持 i18n 属性传递
This commit is contained in:
mofeng-git
2025-08-22 23:33:47 +08:00
parent d411affca4
commit f80e063495
3 changed files with 4 additions and 4 deletions

View File

@@ -54,7 +54,7 @@ li.right#system-dropdown
{title: "WebRTC<br>H.264", value: "janus"},
{title: "Direct<br>H.264", value: "media"},
{title: "Legacy<br>MJPEG", value: "mjpeg", checked: true},
], "video_mode") #[a(target="_blank" href="https://docs.pikvm.org/webrtc" i18n="video_mode") Video mode]:
], "video_mode") #[a(target="_blank" href="https://docs.pikvm.org/webrtc") Video mode]:
tr.feature-disabled#stream-orient
+menu_radio_td2("stream-orient-radio", [
{title: "Default", value: "0", checked: true},