forgejo/modules/charset
zeripath 6e4ba04843
Ensure that Chinese punctuation is not ambiguous when locale is Chinese () ()
Backport 

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 

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 () 2022-09-05 14:04:18 +08:00
invisible Move go-licenses to generate and separate generate into a frontend and backend component () 2022-09-05 14:04:18 +08:00
ambiguous.go Ensure that Chinese punctuation is not ambiguous when locale is Chinese () () 2022-12-05 17:20:38 +08:00
ambiguous_gen.go Switch Unicode Escaping to a VSCode-like system () 2022-08-13 19:32:34 +01:00
ambiguous_gen_test.go Switch Unicode Escaping to a VSCode-like system () 2022-08-13 19:32:34 +01:00
breakwriter.go Switch Unicode Escaping to a VSCode-like system () 2022-08-13 19:32:34 +01:00
breakwriter_test.go Switch Unicode Escaping to a VSCode-like system () 2022-08-13 19:32:34 +01:00
charset.go
charset_test.go
escape.go Switch Unicode Escaping to a VSCode-like system () 2022-08-13 19:32:34 +01:00
escape_status.go Switch Unicode Escaping to a VSCode-like system () 2022-08-13 19:32:34 +01:00
escape_stream.go Avoid frequent string2bytes conversions () 2022-08-24 12:50:13 +01:00
escape_test.go Share HTML template renderers and create a watcher framework () 2022-08-28 10:43:25 +01:00
htmlstream.go Switch Unicode Escaping to a VSCode-like system () 2022-08-13 19:32:34 +01:00
invisible_gen.go Switch Unicode Escaping to a VSCode-like system () 2022-08-13 19:32:34 +01:00