Localize user-facing UI, agent output, and backend messages to Simplified Chinese
ci / go (push) Waiting to run
ci / go-db (agent) (push) Waiting to run
ci / go-db (config) (push) Waiting to run
ci / go-db (db) (push) Waiting to run
ci / go-db (evidence) (push) Waiting to run
ci / go-db (llmrec) (push) Waiting to run
ci / go-db (server) (push) Waiting to run
detections / detections (push) Waiting to run
docs / links (push) Waiting to run
web / web (push) Waiting to run

This commit is contained in:
dela
2026-10-09 14:08:31 +08:00
parent 8af63417c8
commit 97668dab7e
148 changed files with 1671 additions and 1672 deletions
+8 -8
View File
@@ -13,18 +13,18 @@ import (
// via the symbol, so pinning the constant here protects the user-facing text too.
func TestManualTaskScopeSummaryLocalized(t *testing.T) {
if manualTaskScopeSummary == "" {
t.Fatal("manualTaskScopeSummary: 빈 문자열")
t.Fatal("manualTaskScopeSummary: 空字符串")
}
hasHangul := false
hasHan := false
for _, r := range manualTaskScopeSummary {
if unicode.Is(unicode.Han, r) {
t.Fatalf("manualTaskScopeSummary: 중국어 한자가 남아 있습니다: %q", manualTaskScopeSummary)
}
if unicode.Is(unicode.Hangul, r) {
hasHangul = true
t.Fatalf("manualTaskScopeSummary: 仍残留韩文: %q", manualTaskScopeSummary)
}
if unicode.Is(unicode.Han, r) {
hasHan = true
}
}
if !hasHangul {
t.Fatalf("manualTaskScopeSummary: 한글이 없습니다: %q", manualTaskScopeSummary)
if !hasHan {
t.Fatalf("manualTaskScopeSummary: 缺少汉字: %q", manualTaskScopeSummary)
}
}