mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-27 11:57:36 -06:00
build(i18n): embed the craft-i18n catalogs pinned in craft-i18n.rev
Adds the craft-i18n crate (craft-libs f7cc8a7, storytold/craft-libs#247) and the build.rs recipe from craft-i18n's docs/integration.md: with CRAFT_I18N_DIR set, CRAFT_I18N embeds each locale's common.tsv and wordcraft.tsv (paths via {:?}, never canonicalized); unset, it is empty and the build is English only; CRAFT_I18N_REQUIRED=1 makes that an error. craft-i18n.rev pins storytold/craft-i18n be1f053 (LF via .gitattributes); the flatpak manifest checks out the same commit and sets CRAFT_I18N_DIR. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
806a945d85
commit
e649cd09da
@@ -0,0 +1 @@
|
||||
craft-i18n.rev text eol=lf
|
||||
Reference in New Issue
Block a user