cli/pkg/i18n
Snider 1f9321b34b docs(i18n): clarify Set* behaviour and fix CurrentLanguage default
- CurrentLanguage() now returns "en-GB" (fallback) instead of "" when
  service is nil, consistent with other getters returning defaults
- Document why SetLanguage returns error (validates language tag) while
  SetMode, SetFormality, SetDebug do not (just set values)
- Add "Does nothing if service not initialized" to Set* doc comments

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 18:11:03 +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): fix doc comments and add package-level wrappers 2026-01-30 18:01:02 +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 feat(i18n): add CountString and fix FormalityString return type 2026-01-30 17:56:56 +00:00
debug.go docs(i18n): clarify Set* behaviour and fix CurrentLanguage default 2026-01-30 18:11:03 +00:00
grammar.go refactor(i18n): final code standards cleanup 2026-01-30 18:08:33 +00:00
grammar_test.go feat(i18n): implement semantic i18n system with grammar engine 2026-01-30 12:29:44 +00:00
i18n.go docs(i18n): clarify Set* behaviour and fix CurrentLanguage default 2026-01-30 18:11:03 +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): final code standards cleanup 2026-01-30 18:08:33 +00:00
language_test.go feat(i18n): add Phase 4 extended language support 2026-01-30 12:55:41 +00:00
localise.go docs(i18n): clarify Set* behaviour and fix CurrentLanguage default 2026-01-30 18:11:03 +00:00
mode.go refactor(i18n): final code standards cleanup 2026-01-30 18:08:33 +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): final code standards cleanup 2026-01-30 18:08:33 +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): final code standards cleanup 2026-01-30 18:08:33 +00:00