diff --git a/web/App.vue b/web/App.vue index 11c561f..e9492e1 100644 --- a/web/App.vue +++ b/web/App.vue @@ -139,16 +139,16 @@ const current = computed(() => NAV.find((n) => n.key === active.value))
-

读取中

+

载入中

-

读不到配置

+

配置读取失败

{{ loadError }}

diff --git a/web/api.ts b/web/api.ts index 0ddc688..be87533 100644 --- a/web/api.ts +++ b/web/api.ts @@ -29,7 +29,7 @@ export class ApiError extends Error { readonly status: number, readonly payload: Record, ) { - super(typeof payload.message === 'string' ? payload.message : `请求失败(${String(status)})`) + super(typeof payload.message === 'string' ? payload.message : `请求失败(HTTP ${String(status)})`) this.name = 'ApiError' } diff --git a/web/components/OutboundCard.vue b/web/components/OutboundCard.vue index 14f5964..43207c8 100644 --- a/web/components/OutboundCard.vue +++ b/web/components/OutboundCard.vue @@ -54,7 +54,7 @@ function delayClass(ms: number | null): string { type="button" :class="['delay', delayClass(delay)]" :disabled="testing" - :title="delay === null ? '测这条线路的延迟' : '重新测'" + :title="delay === null ? '测试延迟' : '重新测试'" @click="emit('test')" > diff --git a/web/views/InboundDetail.vue b/web/views/InboundDetail.vue index c51d787..ea035c9 100644 --- a/web/views/InboundDetail.vue +++ b/web/views/InboundDetail.vue @@ -83,13 +83,13 @@ function isCurrentOutbound(mode: OutboundMode): boolean { } const BUILTINS: Array<{ mode: OutboundMode; label: string; sub: string }> = [ - { mode: { kind: 'rules' }, label: 'RULE', sub: '走分流规则' }, - { mode: { kind: 'direct' }, label: 'DIRECT', sub: '不经过代理' }, - { mode: { kind: 'global' }, label: 'GLOBAL', sub: '跟随全局选择' }, + { mode: { kind: 'rules' }, label: 'RULE', sub: '由规则决定' }, + { mode: { kind: 'direct' }, label: 'DIRECT', sub: '直接连接' }, + { mode: { kind: 'global' }, label: 'GLOBAL', sub: '跟随 GLOBAL 组' }, ] -const LINE_LOCKED = '订阅线路不能被入站直接引用,选中它需要自动建一个筛选组——这部分还没做' -const NO_PROXY_FIELD = '这路入站没有 proxy 字段' +const LINE_LOCKED = '订阅线路无法被入站直接引用,需要通过筛选组间接引入。该功能尚未实现。' +const NO_PROXY_FIELD = '该入站没有 proxy 字段'