cli/pkg/i18n
Snider 8f977ed635 feat(i18n): add N() helper for numeric formatting
N(format, value) wraps T("i18n.numeric.{format}", value).

Supported formats:
- N("number", 1234567)  → "1,234,567"
- N("decimal", 1234.5)  → "1,234.5"
- N("percent", 0.85)    → "85%"
- N("bytes", 1536000)   → "1.5 MB"
- N("ordinal", 1)       → "1st"

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 17:33:18 +00:00
..
locales feat(i18n): add localized number formatting helpers 2026-01-30 14:39:15 +00:00
actions.go refactor(i18n): remove deprecated backwards-compat code 2026-01-30 17:27:47 +00:00
checks.go refactor(i18n): rename check.go to checks.go, move IsPlural 2026-01-30 16:54:30 +00:00
compose.go refactor(i18n): consolidate types into interfaces.go 2026-01-30 17:24:24 +00:00
compose_data_test.go refactor(i18n): rename intents_test.go to compose_data_test.go 2026-01-30 16:52:30 +00:00
compose_test.go refactor(i18n): merge compose_intents_test.go into compose_test.go 2026-01-30 16:57:47 +00:00
debug.go refactor(i18n): extract debug functionality to debug.go 2026-01-30 13:31:52 +00:00
grammar.go refactor(i18n): consolidate types into interfaces.go 2026-01-30 17:24:24 +00:00
grammar_test.go feat(i18n): implement semantic i18n system with grammar engine 2026-01-30 12:29:44 +00:00
i18n.go feat(i18n): add N() helper for numeric formatting 2026-01-30 17:33:18 +00:00
i18n_test.go feat(i18n): implement formality-based message selection 2026-01-30 17:13:12 +00:00
interface_test.go refactor(i18n): remove C() and move intents to test-only 2026-01-30 16:50:08 +00:00
interfaces.go refactor(i18n): remove deprecated backwards-compat code 2026-01-30 17:27:47 +00:00
language.go refactor(i18n): consolidate types into interfaces.go 2026-01-30 17:24:24 +00:00
language_test.go feat(i18n): add Phase 4 extended language support 2026-01-30 12:55:41 +00:00
localise.go refactor(i18n): extract locale functions to localise.go 2026-01-30 15:02:20 +00:00
mode.go refactor(i18n): consolidate types into interfaces.go 2026-01-30 17:24:24 +00:00
mode_test.go refactor(i18n): remove deprecated backwards-compat code 2026-01-30 17:27:47 +00:00
mutate.go refactor(i18n): extract JSON flattening to mutate.go 2026-01-30 14:54:03 +00:00
numbers.go refactor(i18n): consolidate types into interfaces.go 2026-01-30 17:24:24 +00:00
numbers_test.go feat(i18n): add localized number formatting helpers 2026-01-30 14:39:15 +00:00
service.go feat(i18n): add N() helper for numeric formatting 2026-01-30 17:33:18 +00:00
time.go feat(i18n): add localized time formatting helpers 2026-01-30 14:44:42 +00:00
time_test.go feat(i18n): add localized time formatting helpers 2026-01-30 14:44:42 +00:00
transform.go refactor(i18n): extract type conversions to transform.go 2026-01-30 14:46:49 +00:00