0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 10:52:47 +01:00
gitea/modules/translation/i18n
zeripath ba0f9274e9
Allow dev i18n to be more concurrent (#20159)
The recent changes to add live-reloading to the i18n translation files made the i18n code totally non-concurrent when using dev. This will make discovering other concurrency related issues far more difficult. This PR fixes these, adds some more comments to the code and slightly restructures a few functions.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-07-04 12:17:09 +02:00
..
i18n.go Allow dev i18n to be more concurrent (#20159) 2022-07-04 12:17:09 +02:00
i18n_test.go Make better use of i18n (#20096) 2022-06-26 22:19:22 +08:00