mirror of
https://github.com/go-gitea/gitea.git
synced 2026-12-01 13:36:39 -06:00
Let trN take an optional {lang} so the test can inject a locale instead of
mocking utils or mutating document.documentElement.lang, both fragile under
vitest isolate:false. Production behaviour is unchanged (defaults to
getCurrentLocale()).
Assisted-by: Claude:Opus-4.8