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
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:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user