mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-11 16:50:28 +08:00
fix: 更新网页部分文本
This commit is contained in:
parent
5296e61281
commit
593de19df5
@ -657,7 +657,7 @@
|
||||
</div>
|
||||
</td>
|
||||
<td> </td>
|
||||
<td>Writable:
|
||||
<td i18n="msd-rw-switch">Writable:
|
||||
</td>
|
||||
<td align="right">
|
||||
<div class="switch-box">
|
||||
|
||||
@ -103,10 +103,10 @@ function __showKvmdInfo(info) {
|
||||
|
||||
if (info.meta !== null && info.meta.server && info.meta.server.host) {
|
||||
$("kvmd-meta-server-host").innerText = info.meta.server.host;
|
||||
document.title = `${info.meta.server.host} | PiKVM Index`;
|
||||
document.title = `${info.meta.server.host} | One-KVM Index`;
|
||||
} else {
|
||||
$("kvmd-meta-server-host").innerHTML = "<i>Invalid meta</i>";
|
||||
document.title = "PiKVM Index";
|
||||
document.title = "One-KVM Index";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -118,7 +118,7 @@ export function Keyboard(__recordWsEvent) {
|
||||
}
|
||||
} else {
|
||||
if (is_captured) {
|
||||
title = "Keyboard captured, PiKVM offline";
|
||||
title = "Keyboard captured, One-KVM offline";
|
||||
}
|
||||
}
|
||||
$("hid-keyboard-led").className = led;
|
||||
|
||||
@ -169,7 +169,7 @@ export function Mouse(__getGeometry, __recordWsEvent) {
|
||||
}
|
||||
} else {
|
||||
if (is_captured) {
|
||||
title = "Mouse captured, PiKVM offline";
|
||||
title = "Mouse captured, One-KVM offline";
|
||||
}
|
||||
}
|
||||
$("hid-mouse-led").className = led;
|
||||
|
||||
@ -46,7 +46,7 @@ export function Streamer() {
|
||||
var __init__ = function() {
|
||||
__streamer = new MjpegStreamer(__setActive, __setInactive, __setInfo, __organizeHook);
|
||||
|
||||
$("stream-led").title = "No stream from PiKVM";
|
||||
$("stream-led").title = "No stream from One-KVM";
|
||||
|
||||
tools.slider.setParams($("stream-quality-slider"), 5, 100, 5, 80, function(value) {
|
||||
$("stream-quality-value").innerText = `${value}%`;
|
||||
@ -289,7 +289,7 @@ export function Streamer() {
|
||||
|
||||
var __setInactive = function() {
|
||||
$("stream-led").className = "led-gray";
|
||||
$("stream-led").title = "No stream from PiKVM";
|
||||
$("stream-led").title = "No stream from One-KVM";
|
||||
};
|
||||
|
||||
var __setControlsEnabled = function(enabled) {
|
||||
@ -317,7 +317,7 @@ export function Streamer() {
|
||||
if (text.length > 0) {
|
||||
title += text;
|
||||
} else {
|
||||
title += "No stream from PiKVM";
|
||||
title += "No stream from One-KVM";
|
||||
}
|
||||
}
|
||||
el_grab.innerText = el_info.innerText = title;
|
||||
|
||||
@ -166,7 +166,7 @@ export function MediaStreamer(__setActive, __setInactive, __setInfo, __organizeH
|
||||
var __setupCodec = function(formats) {
|
||||
__closeDecoder();
|
||||
if (formats.h264 === undefined) {
|
||||
let msg = "No H.264 stream available on PiKVM";
|
||||
let msg = "No H.264 stream available on One-KVM";
|
||||
__setInfo(false, false, msg);
|
||||
__logInfo(msg);
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user