Commit graph

11 commits

Author SHA1 Message Date
Virgil
eeffe92da0 fix(i18n): ignore deprecated grammar entries
Some checks failed
Security Scan / security (push) Successful in 12s
Test / test (push) Has been cancelled
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 03:03:44 +00:00
Virgil
b2f7157cb9 fix(loader): preserve partial verb forms
All checks were successful
Security Scan / security (push) Successful in 11s
Test / test (push) Successful in 1m37s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 01:58:06 +00:00
Virgil
1e3b86ffdf feat(reversal): add negation disambiguation signal
All checks were successful
Security Scan / security (push) Successful in 14s
Test / test (push) Successful in 1m30s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 00:53:16 +00:00
Virgil
7c502f3da0 fix(loader): skip incomplete verb tables
All checks were successful
Security Scan / security (push) Successful in 10s
Test / test (push) Successful in 1m30s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 00:47:26 +00:00
Virgil
c0ebc16d97 feat(i18n): load corpus priors for disambiguation
All checks were successful
Security Scan / security (push) Successful in 10s
Test / test (push) Successful in 58s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 07:24:57 +00:00
Virgil
efbea846b6 feat(i18n): respect verb base overrides
All checks were successful
Security Scan / security (push) Successful in 10s
Test / test (push) Successful in 55s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 07:13:52 +00:00
Virgil
d373e55b8d fix(i18n): merge all grammar tables
All checks were successful
Security Scan / security (push) Successful in 10s
Test / test (push) Successful in 50s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 05:36:34 +00:00
Virgil
b6a1ed0cc0 feat(i18n): load locale number formats
All checks were successful
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 50s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 04:47:31 +00:00
Snider
aa5d739f9d fix(dx): migrate error handling to log.E(), fix build, add tests
All checks were successful
Security Scan / security (pull_request) Successful in 7s
Test / test (pull_request) Successful in 1m24s
- Replace all fmt.Errorf/errors.New with log.E() from go-log
- Fix core_service.go build error (c.Locales() does not exist on Core)
- Add tests for Service.AddLoader, LoadFS, LanguagesErr, flatten, IsRTL
- Document error handling convention in CLAUDE.md
- Coverage: 85.2% root, 91.0% reversal (up from 83.1%)

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 07:51:29 +00:00
Snider
9ea76af2b1 refactor: apply go fix modernizers for Go 1.26
Automated fixes: interface{} → any, range-over-int, t.Context(),
wg.Go(), strings.SplitSeq, strings.Builder, slices.Contains,
maps helpers, min/max builtins.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-22 21:00:16 +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