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
+3 -3
View File
@@ -12,7 +12,7 @@ import (
// 경로(planner.workerOutput·get_worker_output 도구)는 intent 범위(node_id)에서 'result'/
// 'text' 활동만 고르기 때문이다. 그래서 한국어화가 두뇌 입력(BRIEF 경계 #1)을 건드리지
// 않는다. 반대로 두뇌로 되먹여지는 요약(seed 의도 요약 `完成任务目标…`·기본 설명 `未命名任务`
// 등)은 원문을 보존하므로 이 테스트 대상이 아니다. 한국어 판정은 assertKoreanError(한글
// 등)은 원문을 보존하므로 이 테스트 대상이 아니다. 한국어 판정은 assertChineseError(한글
// 포함·중국어 한자 0, intercept_archive_localized_test.go)를 재사용한다. [[G132]]
func TestRuntimeActivitySummariesLocalized(t *testing.T) {
// 포맷 인자 없는 고정 요약: 그대로 한국어여야 한다.
@@ -23,7 +23,7 @@ func TestRuntimeActivitySummariesLocalized(t *testing.T) {
"queued_fifo": queuedFIFOSummary,
}
for label, msg := range plain {
assertKoreanError(t, label, msg)
assertChineseError(t, label, msg)
}
// %d 포맷 문자열: 포맷 인자가 살아 있고, 포맷한 결과도 한국어이며 숫자가 실제로
@@ -38,7 +38,7 @@ func TestRuntimeActivitySummariesLocalized(t *testing.T) {
t.Fatalf("%s: 포맷 인자 %%d 가 사라졌습니다: %q", label, f)
}
got := fmt.Sprintf(f, 7)
assertKoreanError(t, label, got)
assertChineseError(t, label, got)
if !strings.Contains(got, "7") {
t.Fatalf("%s: 포맷 인자가 결과에 반영되지 않았습니다: %q", label, got)
}