From 0dd14393d296d9a0915a978f83ac2057b7e4d711 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Tue, 12 May 2026 17:31:50 +0200 Subject: ki18n: add gettext CI check for missing translation keys gettext now exits 1 when any key extracted from templates is absent from a locale file. Added as a task and wired into the check task. Co-Authored-By: Claude Sonnet 4.6 --- Taskfile.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Taskfile.yml') diff --git a/Taskfile.yml b/Taskfile.yml index 0ba1f5f..7033429 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -6,6 +6,10 @@ tasks: cmds: - go tool templ generate + gettext: + cmds: + - go run github.com/martinlehoux/kagamigo/ki18n/cmd/gettext + check: cmds: - gofmt -d -e -s . @@ -17,6 +21,7 @@ tasks: - go test -race ./... - go tool revive - go mod tidy + - task gettext tools: cmds: -- cgit v1.3