forgejo/build/lint-locale-usage
Ellen Emilia Anna Zscheile d40c444d07 feat(build): linter for missing msgid definitions (#7109)
Add a new linter that checks that basic usages (those with an constant string) of the `Tr` function in Go and template files are referring to an existing translation value. Add it to the CI stack but not make it fail yet.

Signed-off-by: Ellen Emilia Anna Zscheile <fogti+devel@ytrizja.de>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7109
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Ellen Emilia Anna Zscheile <fogti+devel@ytrizja.de>
Co-committed-by: Ellen Emilia Anna Zscheile <fogti+devel@ytrizja.de>
2025-03-14 15:50:30 +00:00
..
lint-locale-usage.go feat(build): linter for missing msgid definitions (#7109) 2025-03-14 15:50:30 +00:00
lint-locale-usage_test.go feat(build): linter for missing msgid definitions (#7109) 2025-03-14 15:50:30 +00:00