feat(i18n): add the senbei-i18n message catalog

Every piece of user-facing text becomes a variant of Msg (engine and
driver messages), Step (verbose pipeline steps), Term (report values),
or Cli (command-line wording). Each language module renders every
variant, so a missing translation, an unknown placeholder, or a dropped
argument is a compile error.

English is the wording Senbei already prints, copied verbatim. Simplified
Chinese, Traditional Chinese, Japanese, and Korean translate it. A
Message keeps the recorded English next to its optional code, so
reports, logs, and JSON stay English while a front end shows the
translation.
This commit is contained in:
Momoko-Ayase committed 2026-11-08 02:24:29 +08:00
1 parent 4d211166bf
commit 9481b0ccf9
12 files changed
+2842

No files matched your search

Generated
+8
View File
@@ -465,6 +465,14 @@ dependencies = [
"thiserror",
]
[[package]]
name = "senbei-i18n"
version = "1.3.4"
dependencies = [
"serde",
"serde_json",
]
[[package]]
name = "senbei-io"
version = "1.3.4"