gitea/modules/charset
zeripath a08584ee36
Ensure that Chinese punctuation is not ambiguous when locale is Chinese (#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>
2022-12-04 17:57:30 +00:00
..
ambiguous Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
invisible Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
ambiguous.go Ensure that Chinese punctuation is not ambiguous when locale is Chinese (#22019) 2022-12-04 17:57:30 +00:00
ambiguous_gen.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
ambiguous_gen_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
breakwriter.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
breakwriter_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
charset.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
charset_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
escape.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
escape_status.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
escape_stream.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
escape_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
htmlstream.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
invisible_gen.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00