Commit b3ddfca
committed
Ensure that Chinese punctuation is not ambiguous when locale is Chinese (go-gitea#22019)
Backport go-gitea#22019
Although there are per-locale fallbacks for ambiguity the locale names
for Chinese do not quite match our locales. This PR simply maps zh-CN on
to zh-hans and other zh variants on to zh-hant.
Ref go-gitea#20999
Signed-off-by: Andrew Thornton <art27@cantab.net>1 parent 757b49e commit b3ddfca
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
32 | 38 | | |
33 | 39 | | |
34 | 40 | | |
| |||
0 commit comments