Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions tests/strategy_switch_worker_validation.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ assert.ok(indexHtml.includes('runtimeTargetEnabled: "启用正式运行"'));
assert.ok(indexHtml.includes('runtimeTargetDisabled: "停用正式运行"'));
assert.ok(indexHtml.includes('runtimeTargetMode: "Account status"'));
assert.ok(indexHtml.includes('pluginMode: "插件启用范围"'));
assert.ok(indexHtml.includes('pluginModeAuto: "按策略默认"'));
assert.ok(indexHtml.includes('pluginModeNone: "完全禁用"'));
assert.ok(indexHtml.includes('pluginModeAuto: "启用插件"'));
assert.ok(indexHtml.includes('pluginModeNone: "禁用插件"'));
assert.ok(indexHtml.includes('pluginModeAuto: "Enabled"'));
assert.ok(indexHtml.includes('pluginMode: "Plugin scope"'));
assert.ok(indexHtml.includes('reservedCashDefault'));
assert.ok(indexHtml.includes('paper: "模拟"'));
Expand Down
12 changes: 6 additions & 6 deletions web/strategy-switch-console/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ <h2 id="platform-title">LongBridge</h2>
<label class="control-block plugin-mode-block">
<span data-i18n="pluginMode">插件启用范围</span>
<select id="plugin-mode-select"></select>
<span class="selection-meta" data-i18n="pluginModeMeta">选择本次切换使用策略默认插件,或完全关闭插件。</span>
<span class="selection-meta" data-i18n="pluginModeMeta">选择是否启用该策略的插件。</span>
</label>
</div>

Expand Down Expand Up @@ -997,9 +997,9 @@ <h2 data-i18n="summary">切换摘要</h2>
runtimeTargetDisabled: "停用正式运行",
runtimeTargetModeMeta: "停用后正式运行会跳过,模拟运行和健康检查仍可用。",
pluginMode: "插件启用范围",
pluginModeAuto: "按策略默认",
pluginModeNone: "完全禁用",
pluginModeMeta: "选择本次切换使用策略默认插件,或完全关闭插件。",
pluginModeAuto: "启用插件",
pluginModeNone: "禁用插件",
pluginModeMeta: "选择是否启用该策略的插件。",
incomeLayerMode: "收入层状态",
incomeLayerCurrent: "沿用当前配置",
incomeLayerEnabled: "开启收入层",
Expand Down Expand Up @@ -1099,9 +1099,9 @@ <h2 data-i18n="summary">切换摘要</h2>
runtimeTargetDisabled: "Disable live runs",
runtimeTargetModeMeta: "Disabled accounts skip live runs; dry runs and health checks still work.",
pluginMode: "Plugin scope",
pluginModeAuto: "Strategy default",
pluginModeAuto: "Enabled",
pluginModeNone: "Disabled",
pluginModeMeta: "Use the strategy's default plugin set, or disable all plugins for this switch.",
pluginModeMeta: "Choose whether to enable this strategy's plugins.",
incomeLayerMode: "Income layer",
incomeLayerCurrent: "Keep current config",
incomeLayerEnabled: "Enable income layer",
Expand Down
2 changes: 1 addition & 1 deletion web/strategy-switch-console/page_asset.js

Large diffs are not rendered by default.