界面文案改成中性措辞;延迟测试报出真实原因

原来那句「X 测不通」把两种要查不同地方的情况混在了一起。内核的语义是精确的
(hub/route/proxies.go:122-145):504 表示在给定超时内没有完成,503 表示连接建立失败
或测得延迟为 0。现在分开报,超时会写明是几秒,503 且内核没给具体错误时说明可能是
线路失效或本机到该服务器网络不通。

其余文案统一过一遍:「本机之外也能连」「这个名字已经被占用了」「还没做」这类口语改成
「允许来自其它主机的连接」「名称已存在」「尚未实现」。
This commit is contained in:
im0o
2026-08-10 13:38:02 +08:00
parent e8b8181ef6
commit 71adcd60ef
7 changed files with 59 additions and 34 deletions
+4 -4
View File
@@ -139,16 +139,16 @@ const current = computed(() => NAV.find((n) => n.key === active.value))
</nav>
<main class="main">
<p v-if="!booted && refreshing" class="note">读取中</p>
<p v-if="!booted && refreshing" class="note">载入中</p>
<div v-else-if="loadError" class="alert">
<h2>读不到配置</h2>
<h2>配置读取失败</h2>
<p>{{ loadError }}</p>
</div>
<template v-else-if="snapshot">
<div v-if="problems.length" class="alert">
<h2>{{ problems.length }} 处问题</h2>
<h2>配置存在 {{ problems.length }} 处错误</h2>
<ul>
<li v-for="(p, i) in problems" :key="i">
<code>{{ p.path.join('.') }}</code> {{ p.message }}
@@ -169,7 +169,7 @@ const current = computed(() => NAV.find((n) => n.key === active.value))
<div v-else class="note">
<component :is="current?.icon" class="note-icon" />
<p>{{ current?.label }}还没做</p>
<p>{{ current?.label }} 尚未实现</p>
</div>
</template>
</main>