v0.4.4
What's Changed
Added
- Typography-aware translation helpers
_xt/__t/_nt/_nxt. Same signatures as the WP_x/__/_n/_nxoriginals —_xt/_nxtrequirecontextand_nt/_nxtrequirenumber(no silent defaults that could mask a missing required argument) — but the translated result is piped through|typography, so long-form copy gets consistent typographic treatment without remembering|typographyon every callsite (_x→_xtis a one-character opt-in). Each composes viagetFunction()/getFilter()->getCallable()at call time, so the project's real translator (WP_x()etc.) and tuned typography settings win automatically;is_safe: ['html']mirrors the filter's contract. The WP-production (Timber) and Drupal sides land in parisek/timber-kit#42 and parisek/drupal-kit#87 with the same four signatures, so authoring stays portable across CMSes. (#21)
Pull Requests
- #40 — feat: typography-aware translation helpers _xt/__t/_nt/_nxt (#21)
- #41 — test: strengthen helper precedence + parser/CLI assertions (review follow-ups)
Full Changelog: v0.4.3...v0.4.4