mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-04-14 02:51:35 +02:00
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> |
||
---|---|---|
.. | ||
codeformat | ||
lint-locale | ||
lint-locale-usage | ||
backport-locales.go | ||
code-batch-process.go | ||
generate-bindata.go | ||
generate-disposable-email.go | ||
generate-emoji.go | ||
generate-gitignores.go | ||
generate-go-licenses.go | ||
generate-licenses.go | ||
merge-forgejo-locales.go | ||
test-echo.go | ||
test-env-check.sh | ||
test-env-prepare.sh | ||
update-locales.sh |