go/pkg/i18n
Snider 1c7ff0511b refactor(i18n): rename getters to idiomatic Go and add tests
Rename Subject getters from GetX() to idiomatic Go naming:
- GetCount → CountValue
- GetGender → GenderValue
- GetLocation → Location
- GetNoun → NounValue
- GetFormality → FormalityValue

Add comprehensive tests for checks.go and mutate.go functions
that will be useful for future CLDR plural category support.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 17:44:22 +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
checks_test.go refactor(i18n): rename getters to idiomatic Go and add tests 2026-01-30 17:44:22 +00:00
compose.go refactor(i18n): rename getters to idiomatic Go and add tests 2026-01-30 17:44:22 +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): rename getters to idiomatic Go and add tests 2026-01-30 17:44:22 +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
mutate_test.go refactor(i18n): rename getters to idiomatic Go and add tests 2026-01-30 17:44:22 +00:00
numbers.go refactor(i18n): consolidate types into interfaces.go 2026-01-30 17:24:24 +00:00
numbers_test.go refactor(i18n): remove legacy i18n.{format} shortcuts 2026-01-30 17:34:45 +00:00
service.go refactor(i18n): remove legacy i18n.{format} shortcuts 2026-01-30 17:34:45 +00:00
time.go feat(i18n): add localized time formatting helpers 2026-01-30 14:44:42 +00:00
time_test.go refactor(i18n): remove legacy i18n.{format} shortcuts 2026-01-30 17:34:45 +00:00
transform.go refactor(i18n): extract type conversions to transform.go 2026-01-30 14:46:49 +00:00