pleroma/test
Tusooa Zhu 8de573b047
Fallback to a variant if the language in general is not supported
For an example, here, zh is not supported, but zh_Hans and zh_Hant
are. If the user asks for zh, we should choose a variant for them
instead of fallbacking to default.

Some browsers (e.g. Firefox) does not allow users to customize
their language codes. For example, there is no zh-Hans, but only
zh, zh-CN, zh-TW, zh-HK, etc. This provides a workaround for
those users suffering from bad design decisions.
2022-03-02 19:59:11 -05:00
..
config Load an emoji.txt specific to the test env 2021-02-03 16:40:59 -06:00
credo/check/consistency Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
fixtures Add tests for mismatched context in replies 2022-02-02 12:19:35 -06:00
instance_static support for special chars in pack name 2020-09-24 09:12:37 +03:00
mix Fix digest test 2022-03-01 20:27:45 -05:00
pleroma Fallback to a variant if the language in general is not supported 2022-03-02 19:59:11 -05:00
support Add tests for mismatched context in replies 2022-02-02 12:19:35 -06:00
test_helper.exs Skip erratic tests 2021-12-21 22:04:15 -06:00