forgejo/build
Ellen Εμιλία Άννα Zscheile f447661345 feat(build): improve lint-locale-usage further (#8736)
Print out a list of all unused msgids
Handle Go files that make calls to translation.
Handle `models/unit/unit.go`, which stores msgids in `$Unit.NameKey`
Handle .locale.Tr in templates
Handle simple dynamically constructed `Tr("msgid-prefix." + SomeFunctionCall())`.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8736
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Ellen Εμιλία Άννα Zscheile <fogti+devel@ytrizja.de>
Co-committed-by: Ellen Εμιλία Άννα Zscheile <fogti+devel@ytrizja.de>
2025-08-27 23:47:34 +02:00
..
codeformat chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
lint-locale feat(ui): use kbd in label selector hint, remove enter (#8199) 2025-06-23 17:56:28 +02:00
lint-locale-usage feat(build): improve lint-locale-usage further (#8736) 2025-08-27 23:47:34 +02:00
backport-locales.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
code-batch-process.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
generate-bindata.go fix: Dockerfile should re-use bindata files when possible 2025-06-13 14:00:57 +02:00
generate-disposable-email.go feat: add setting to block disposable emails 2024-11-20 23:17:37 -06:00
generate-emoji.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
generate-gitignores.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
generate-go-licenses.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
generate-licenses.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
merge-forgejo-locales.go [I18N] make merge-locales & build/merge-forgejo-locales.go are noop 2024-03-28 18:02:55 +01:00
test-echo.go Clean some legacy files and move some build files (#23699) 2023-03-25 16:22:51 -04:00
test-env-check.sh Prepare and check test env during CI (#17725) 2021-11-19 13:58:34 +08:00
test-env-prepare.sh Prepare and check test env during CI (#17725) 2021-11-19 13:58:34 +08:00