forgejo/modules/translation/i18n
0ko 603d655ec4 fix(i18n): prevent incorrect logging on strings missing in JSON locales (#7594)
Fixes https://codeberg.org/forgejo/forgejo/issues/7591
Followup to https://codeberg.org/forgejo/forgejo/pulls/6203

When the test runs without an actual fix included, an error message appears in the logs:
[E] Missing translation "incorrect_root_url"

With it, it does not.

Reported-by: Paweł Bogusławski <pboguslawski@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7594
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2025-04-22 03:49:37 +00:00
..
dummy.go Initial support for localization and pluralization with go-i18n-JSON-v2 format 2025-01-17 11:21:28 +01:00
dummy_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
errors.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
format.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
i18n.go Initial support for localization and pluralization with go-i18n-JSON-v2 format 2025-01-17 11:21:28 +01:00
i18n_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
localestore.go fix(i18n): prevent incorrect logging on strings missing in JSON locales (#7594) 2025-04-22 03:49:37 +00:00