Import packages/plugin/dist/client.github.js

This commit is contained in:
QQ 2026-11-18 08:18:19 +08:00
parent 9292104eb2
commit 7d7f02e4a2
1 changed files with 18 additions and 8 deletions

View File

@ -2027,6 +2027,7 @@ If a code was sent, recover the original submission without changing it.`,
startSignIn: "Start sign-in",
allowControlCurrentDevice: "Allow control of this device",
allowControlDevice: "Allow control of this device",
fastModeGroupTitle: "Data saver & speed",
liteMode: "Fast mode",
forceRelay: "Force relay",
forceRelayHint: "Skip LAN, internet-direct and TURN probing and connect straight through the encrypted relay. Faster first connection and reconnects, but all traffic goes through the server.",
@ -2414,6 +2415,7 @@ If a code was sent, recover the original submission without changing it.`,
startSignIn: "\u5F00\u59CB\u767B\u5F55",
allowControlCurrentDevice: "\u5141\u8BB8\u63A7\u5236\u672C\u673A",
allowControlDevice: "\u5141\u8BB8\u63A7\u5236\u672C\u673A",
fastModeGroupTitle: "\u7701\u6D41\u63D0\u901F\u8BBE\u7F6E",
liteMode: "\u6781\u901F\u6A21\u5F0F",
forceRelay: "\u5F3A\u5236\u4E2D\u7EE7",
forceRelayHint: "\u8DF3\u8FC7\u5C40\u57DF\u7F51\u3001\u4E92\u8054\u7F51\u76F4\u8FDE\u548C TURN \u63A2\u6D4B\uFF0C\u76F4\u63A5\u8D70\u52A0\u5BC6\u4E2D\u7EE7\u3002\u9996\u6B21\u8FDE\u63A5\u4E0E\u65AD\u7EBF\u91CD\u8FDE\u66F4\u5FEB\uFF0C\u4F46\u6D41\u91CF\u4F1A\u7ECF\u8FC7\u670D\u52A1\u5668\u3002",
@ -2472,6 +2474,7 @@ If a code was sent, recover the original submission without changing it.`,
hermesVirtualWorkspace: "Hermes \u5DE5\u4F5C\u533A",
codexVirtualSessions: "Sessions"
}, ru = {
fastModeGroupTitle: "\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0442\u0440\u0430\u0444\u0438\u043A\u0430 \u0438 \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C",
liteMode: "\u0411\u044B\u0441\u0442\u0440\u044B\u0439 \u0440\u0435\u0436\u0438\u043C",
forceRelay: "\u0422\u043E\u043B\u044C\u043A\u043E \u0447\u0435\u0440\u0435\u0437 \u0440\u0435\u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0442\u043E\u0440",
forceRelayHint: "\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u0430\u0442\u044C \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0443 LAN, \u043F\u0440\u044F\u043C\u043E\u0433\u043E \u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F \u0438 TURN \u0438 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0430\u0442\u044C\u0441\u044F \u0441\u0440\u0430\u0437\u0443 \u0447\u0435\u0440\u0435\u0437 \u0448\u0438\u0444\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0440\u0435\u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0442\u043E\u0440. \u041F\u0435\u0440\u0432\u043E\u0435 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0438 \u043F\u0435\u0440\u0435\u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0431\u044B\u0441\u0442\u0440\u0435\u0435, \u043D\u043E \u0432\u0435\u0441\u044C \u0442\u0440\u0430\u0444\u0438\u043A \u0438\u0434\u0451\u0442 \u0447\u0435\u0440\u0435\u0437 \u0441\u0435\u0440\u0432\u0435\u0440.",
@ -2858,6 +2861,7 @@ If a code was sent, recover the original submission without changing it.`,
hermesVirtualWorkspace: "\u0412\u0438\u0440\u0442\u0443\u0430\u043B\u044C\u043D\u0430\u044F \u0440\u0430\u0431\u043E\u0447\u0430\u044F \u043E\u0431\u043B\u0430\u0441\u0442\u044C Hermes",
codexVirtualSessions: "\u0421\u0435\u0441\u0441\u0438\u0438"
}, uk = {
fastModeGroupTitle: "\u0415\u043A\u043E\u043D\u043E\u043C\u0456\u044F \u0442\u0440\u0430\u0444\u0456\u043A\u0443 \u0442\u0430 \u0448\u0432\u0438\u0434\u043A\u0456\u0441\u0442\u044C",
liteMode: "\u0428\u0432\u0438\u0434\u043A\u0438\u0439 \u0440\u0435\u0436\u0438\u043C",
forceRelay: "\u041B\u0438\u0448\u0435 \u0447\u0435\u0440\u0435\u0437 \u0440\u0435\u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0442\u043E\u0440",
forceRelayHint: "\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0432\u0456\u0440\u043A\u0443 LAN, \u043F\u0440\u044F\u043C\u043E\u0433\u043E \u0437\u02BC\u0454\u0434\u043D\u0430\u043D\u043D\u044F \u0439 TURN \u0456 \u043F\u0456\u0434\u043A\u043B\u044E\u0447\u0430\u0442\u0438\u0441\u044F \u043E\u0434\u0440\u0430\u0437\u0443 \u0447\u0435\u0440\u0435\u0437 \u0437\u0430\u0448\u0438\u0444\u0440\u043E\u0432\u0430\u043D\u0438\u0439 \u0440\u0435\u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0442\u043E\u0440. \u041F\u0435\u0440\u0448\u0435 \u043F\u0456\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u043D\u044F \u0442\u0430 \u043F\u0435\u0440\u0435\u043F\u0456\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u043D\u044F \u0448\u0432\u0438\u0434\u0448\u0456, \u0430\u043B\u0435 \u0432\u0435\u0441\u044C \u0442\u0440\u0430\u0444\u0456\u043A \u0456\u0434\u0435 \u0447\u0435\u0440\u0435\u0437 \u0441\u0435\u0440\u0432\u0435\u0440.",
@ -5005,6 +5009,7 @@ If a code was sent, recover the original submission without changing it.`,
// The fork's fast-mode row: its own line under the host section heading so
// upstream edits to `.dshRemoteSectionTitle` never move it.
".dshRemoteFastModeSwitches{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin:0 0 12px}",
".dshRemoteFastModeGroupTitle{font-size:12px;opacity:.62;white-space:nowrap;margin-right:4px}",
'.dshRemoteAcpSetting{display:block!important;width:100%;padding:0}.dshRemoteAcpSetting>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;cursor:pointer;list-style:none}.dshRemoteAcpSetting>summary::-webkit-details-marker{display:none}.dshRemoteAcpSetting>summary::after{content:"\u2304";color:var(--dsw-alias-label-secondary);transition:transform .18s ease-out}.dshRemoteAcpSetting[open]>summary::after{transform:rotate(180deg)}.dshRemoteAcpSummaryText{min-width:0}.dshRemoteAcpSummaryText strong{display:block}.dshRemoteAcpSummaryText p{margin:4px 0 0;color:var(--dsw-alias-label-secondary);font-size:12px;line-height:1.4}.dshRemoteAcpCheckLink{grid-column:2;grid-row:1;color:var(--dsw-alias-brand-primary);font-size:12px;text-decoration:underline;text-underline-offset:3px}.dshRemoteAcpCheckLink:hover{color:var(--dsw-alias-label-primary)}.dshRemoteAcpCheckResult{grid-column:3;grid-row:1;font-size:11px;line-height:1.4;white-space:nowrap}.dshRemoteAcpCheckResult.isPassed{color:var(--dsw-alias-state-success-primary)}.dshRemoteAcpCheckResult.isFailed{color:var(--dsw-alias-state-danger-primary)}.dshRemoteAcpList{display:flex;flex-direction:column;gap:0;margin-top:12px;padding-top:0;border-top:0}.dshRemoteAcpList>.dshRemoteAuthorizationSetting{display:grid;width:100%;grid-template-columns:minmax(0,1fr) auto auto auto auto;align-items:center;column-gap:18px;line-height:1.4}.dshRemoteAcpList>.dshRemoteAuthorizationSetting>span:first-child{min-width:0;line-height:1.4}.dshRemoteAcpList>.dshRemoteAuthorizationSetting>input{grid-column:4;grid-row:1}',
".dshRemoteAcpAddLink{align-self:flex-start;margin-top:12px;color:var(--dsw-alias-brand-primary);font-size:12px;text-decoration:underline;text-underline-offset:3px}.dshRemoteAcpAddForm{display:grid;grid-template-columns:minmax(100px,.8fr) minmax(140px,1fr) minmax(100px,1fr) auto;gap:8px;margin-top:12px}.dshRemoteAcpAddForm input{min-width:0;height:34px;border:1px solid var(--dsw-alias-border-l2);border-radius:8px;background:var(--dsw-alias-bg-layer-2);color:inherit;padding:0 10px}.dshRemoteAcpAddForm button{border:1px solid var(--dsw-alias-border-l2);border-radius:8px;background:transparent;color:var(--dsw-alias-label-primary);padding:0 12px;cursor:pointer;font:inherit;font-size:12px}.dshRemoteAcpAddForm button:hover{background:var(--dsw-alias-interactive-bg-hover)}.dshRemoteAcpRemoveLink{grid-column:3;grid-row:1;color:var(--dsw-alias-label-secondary);font-size:12px;text-decoration:underline;text-underline-offset:3px}.dshRemoteAcpRemoveLink:hover{color:var(--dsw-alias-state-danger-primary)}",
".dshRemoteAcpCheckResult.isPassed,.dshRemoteAcpCheckResult.isFailed{color:var(--dsw-alias-label-secondary)}",
@ -5177,14 +5182,19 @@ If a code was sent, recover the original submission without changing it.`,
);
}
return function(props) {
return React.createElement("div", {
className: props.className ?? "dshRemoteFastModeSwitches"
}, TOGGLE_ORDER.map((key) => React.createElement(RemoteToggleSwitch, {
key,
control: props.control,
t: props.t,
configKey: key
})));
return React.createElement(
"div",
{
className: props.className ?? "dshRemoteFastModeSwitches"
},
React.createElement("span", { className: "dshRemoteFastModeGroupTitle" }, props.t("fastModeGroupTitle")),
TOGGLE_ORDER.map((key) => React.createElement(RemoteToggleSwitch, {
key,
control: props.control,
t: props.t,
configKey: key
}))
);
};
}