ludic.ui: t(key, holes...) in a template - the key marked (byte 1, a marked key kept as it is) and each hole's value after a byte 31, the text the translator decodes at draw time; joined through the text memo, so nothing is made while it reads the same (phase 26)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
82c652ca31
commit
b5b3edc6ec
8 changed files with 72 additions and 1 deletions
6
changes/ui-t-key.md
Normal file
6
changes/ui-t-key.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
bump: minor
|
||||
type: feature
|
||||
**`t()` in a template: a key and its holes for the translator.** `{t('pause.resume')}` and `{t('hud.day', day)}` make
|
||||
the text the game's translator decodes at draw time: the key marked (byte 1; a key already marked, such as
|
||||
a plural's byte 2, keeps its mark), then each hole's value after a byte 31. The text goes through the memo,
|
||||
so a key and holes that read the same as last frame make nothing. Phase 26 (i18n keys).
|
||||
Loading…
Add table
Add a link
Reference in a new issue