danielmiessler.fabric/internal/i18n
Kayvan Sylvan 9730808119 fix: include Grok in localized --search help text
PR #2092 added Grok (xAI) web search support and updated the go-flags
struct tag in internal/cli/flags.go, but `fabric --help` renders flag
descriptions from the i18n message catalog (internal/cli/help.go maps
"search" -> "enable_web_search_tool"), not from the struct tag. The
catalog value still listed only Anthropic, OpenAI, and Gemini, so the
Grok support stayed undiscoverable in --help even though it works.

Append "Grok" to the enable_web_search_tool value in all 11 locales,
using each locale's own list separator, and update the generated README
help block to match. No functional change.

The zsh and fish completion strings were already corrected in #2179,
so this carries forward only the remaining parts of #2140.

Co-Authored-By: Ken Hartman <khartman@users.noreply.github.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-29 15:22:22 -07:00
..
locales fix: include Grok in localized --search help text 2026-07-29 15:22:22 -07:00
i18n.go modernize ./... 2026-05-28 12:27:27 -07:00
i18n_test.go feat(i18n): add de/fr/ja/pt/zh/fa locales; expand tests, improve changelog spacing 2025-09-13 08:23:40 -07:00
i18n_variants_test.go fix: improve PT-BR translation naturalness and fluency 2025-09-24 07:52:31 -07:00
locale.go feat(i18n): add i18n support for language variants (pt-BR/pt-PT) 2025-09-21 16:04:59 -07:00
locale_test.go feat: add i18n support with Spanish localization and documentation improvements 2025-09-08 09:17:23 -07:00