]> source.dussan.org Git - gitea.git/commit
Improve backport-locales.go (#23807)
authorwxiaoguang <wxiaoguang@gmail.com>
Thu, 30 Mar 2023 06:58:33 +0000 (14:58 +0800)
committerGitHub <noreply@github.com>
Thu, 30 Mar 2023 06:58:33 +0000 (14:58 +0800)
commit71afbcafa9f8200af3f2e4848fad605116159c7f
tree767bdee9aad4f1e93a2ff061efd43a668fa12bd9
parent74225033413dc0f2b308bbe069f6d185b551e364
Improve backport-locales.go (#23807)

ps: there are more broken translation strings in 1.20 (main), most of
them are still caused by incorrect quoting/unquoting. For example,
translators might write text ``` `my text ```, such incorrect encoding
might break crowdin & Gitea's locale package.

In the future, a Go `update-locales.go` should replace the legacy
`update-locales.sh`.
build/backport-locales.go