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

+16
View File
@@ -0,0 +1,16 @@
[package]
name = "senbei-i18n"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
description = "User-facing text for Senbei in English, Simplified Chinese, Traditional Chinese, Japanese, and Korean"
[dependencies]
serde.workspace = true
[dev-dependencies]
serde_json.workspace = true
[lints]
workspace = true