Commit graph

6 commits

Author SHA1 Message Date
Virgil
a1a7b2d6fe fix(i18n): preserve phrase display in counts
All checks were successful
Security Scan / security (push) Successful in 13s
Test / test (push) Successful in 1m36s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 00:23:51 +00:00
Virgil
2f0f4c3f75 fix(i18n): preserve exact word displays in counts
All checks were successful
Security Scan / security (push) Successful in 11s
Test / test (push) Successful in 1m26s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 23:49:34 +00:00
Virgil
d90dd083f2 fix(grammar): honour word display forms in count handler
All checks were successful
Security Scan / security (push) Successful in 11s
Test / test (push) Successful in 1m21s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 23:30:11 +00:00
Virgil
793f5f902c feat(i18n): localise count handler output
All checks were successful
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 1m7s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 22:23:25 +00:00
Claude
c4ef1e6205 feat: upgrade to core v0.8.0-alpha.1, replace banned stdlib imports
All checks were successful
Security Scan / security (push) Successful in 8s
Test / test (push) Successful in 49s
Replace fmt, errors, strings, encoding/json with Core primitives
across 20 files. Keep strings.Fields/CutPrefix. No translation
files modified.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 05:35:51 +00:00
Claude
e8a87b0f50
feat: grammar-aware i18n module extracted from core
Standalone grammar-aware translation engine with:
- 3-tier verb/noun fallback (JSON locale → irregular maps → regular rules)
- 6 built-in i18n.* namespace handlers (label, progress, count, done, fail, numeric)
- Nested en.json with gram/prompt/time/lang sections (no flat command keys)
- CLDR plural rules for 10 languages
- Subject fluent API, number/time formatting, RTL detection
- 55 tests passing

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 19:51:27 +00:00