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
+2 -2
View File
@@ -7,7 +7,7 @@ import "testing"
// exchange status (e.Error) must be Korean — Hangul present, no Chinese Han.
// These reach the chat 곁질문 panel alongside the sidequestion package errors, so
// both layers are localized together to avoid a mixed-language panel. Reuses
// assertKoreanError (F3a).
// assertChineseError (F3a).
func TestSideQuestionAPIErrorsLocalized(t *testing.T) {
for _, c := range []struct{ label, msg string }{
{"ctx_not_saved", sideErrCtxNotSaved},
@@ -23,6 +23,6 @@ func TestSideQuestionAPIErrorsLocalized(t *testing.T) {
{"answer_stopped", sideErrAnswerStopped},
{"answer_timeout", sideErrAnswerTimeout},
} {
assertKoreanError(t, c.label, c.msg)
assertChineseError(t, c.label, c.msg)
}
}