mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-04-20 03:11:35 +02:00
This requires using the more complicated parsing from localestore.go In order to avoid future code drift and code duplication, localestore.go was refactored to call IterateMessagesContent instead of essentially duplicating the code of RecursivelyAddTranslationsFromJSON with small adjustments. locale/utils.go was moved to translation/localeiter/utils.go in order to avoid spreading translation-related routines among completely different places. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7425 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 |