Translate Strings.dat to Simplified Chinese (479/496)

- cn_strings.py: full GB2312 translation table; make_cn_strings.py is now
  escape-aware so values containing escaped-quote formats survive.
- dump_all_strings.py + check_translations.py: dump the English table and
  verify the printf specifier sequence matches the source (0 mismatches).
- Skipped: pure-format/empty strings, the tutorial texture path, ambiguous
  key labels.
- DEVLOG notes the remaining engine-layout caveats.
This commit is contained in:
DragonHD
2026-09-20 10:44:10 +08:00
parent 9eed020634
commit ca5748821c
4 changed files with 558 additions and 17 deletions
+16
View File
@@ -3,6 +3,22 @@
Working log for the *The I of the Dragon* localization / HD project.
Newest entries on top.
## 2026-09-20 — Full `Strings.dat` translation
- Translated the `English` column for **479 / 496** entries (the rest are pure-format
strings, empty/whitespace values, the tutorial texture *path*, and a few odd key labels).
- `tools/check_translations.py` verifies the printf specifier sequence (`%s`/`%d`/`%i`/`%%`)
matches the English source exactly (0 mismatches) and that every value GB2312-encodes.
- `tools/dump_all_strings.py` dumps the source table to `build/strings_en.json`.
### Known layout caveats (engine UI is tuned for the small Latin pixel font)
- Some engine UI positions tab/button labels against a box sized for English, so short
Chinese labels can look left/right-aligned; a couple of centred dialogs jitter while a
teletype reveal is running.
- In-game HUD button labels wrap and can overlap the shortcut hint because the boxes are
small; to revisit via a smaller CJK cell/advance if needed.
## 2026-09-20 — Chinese in the main menu (first playable)
- Built `tools/build_cjk.py`: renders the full GB2312 set (7445 double-byte codes) as **12x12**