forgejo-aneksajo/modules/translation
forgejo-backport-action 55cff9cfb4 [v11.0/forgejo] fix(i18n): prevent incorrect logging on strings missing in JSON locales (#7599)
**Backport:** https://codeberg.org/forgejo/forgejo/pulls/7594

Fixes https://codeberg.org/forgejo/forgejo/issues/7591
Followup to https://codeberg.org/forgejo/forgejo/pulls/6203

Without the 3rd commit, when this test runs, an error message appears in the logs:
```
[E] Missing translation "incorrect_root_url"
```

With it, it does not. No changes to the actual locale handling are expected and I'm hoping there's enough other testing in place for that.

Reported-by: Paweł Bogusławski <pboguslawski@noreply.codeberg.org>
Co-authored-by: 0ko <0ko@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7599
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
Co-committed-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
2025-04-23 13:44:16 +00:00
..
i18n [v11.0/forgejo] fix(i18n): prevent incorrect logging on strings missing in JSON locales (#7599) 2025-04-23 13:44:16 +00:00
mock.go feat(ui): localize theme names (#7168) 2025-03-09 15:12:30 +00:00
plural_rules.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
translation.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
translation_test.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00