0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-31 18:59:48 -05:00
forgejo/modules/charset
zeripath 6e4ba04843
Ensure that Chinese punctuation is not ambiguous when locale is Chinese (#22019) (#22030)
Backport #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 #20999

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
2022-12-05 17:20:38 +08:00
..
ambiguous Move go-licenses to generate and separate generate into a frontend and backend component (#21061) 2022-09-05 14:04:18 +08:00
invisible Move go-licenses to generate and separate generate into a frontend and backend component (#21061) 2022-09-05 14:04:18 +08:00
ambiguous.go Ensure that Chinese punctuation is not ambiguous when locale is Chinese (#22019) (#22030) 2022-12-05 17:20:38 +08:00
ambiguous_gen.go
ambiguous_gen_test.go
breakwriter.go
breakwriter_test.go
charset.go
charset_test.go
escape.go
escape_status.go
escape_stream.go Avoid frequent string2bytes conversions (#20940) 2022-08-24 12:50:13 +01:00
escape_test.go Share HTML template renderers and create a watcher framework (#20218) 2022-08-28 10:43:25 +01:00
htmlstream.go
invisible_gen.go