mirror of
https://git.youjo.love/youjo/youjo-be.git
synced 2024-11-20 13:59:55 +01:00
ef73f61b07
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. |
||
---|---|---|
.. | ||
admin_secret_authentication_plug_test.exs | ||
authentication_plug_test.exs | ||
basic_auth_decoder_plug_test.exs | ||
cache_control_test.exs | ||
cache_test.exs | ||
digest_plug_test.exs | ||
ensure_authenticated_plug_test.exs | ||
ensure_public_or_authenticated_plug_test.exs | ||
ensure_staff_privileged_plug_test.exs | ||
ensure_user_token_assigns_plug_test.exs | ||
federating_plug_test.exs | ||
frontend_static_plug_test.exs | ||
http_security_plug_test.exs | ||
http_signature_plug_test.exs | ||
idempotency_plug_test.exs | ||
instance_static_test.exs | ||
mapped_signature_to_identity_plug_test.exs | ||
o_auth_plug_test.exs | ||
o_auth_scopes_plug_test.exs | ||
plug_helper_test.exs | ||
rate_limiter_test.exs | ||
remote_ip_test.exs | ||
set_format_plug_test.exs | ||
set_locale_plug_test.exs | ||
set_user_session_id_plug_test.exs | ||
uploaded_media_plug_test.exs | ||
user_enabled_plug_test.exs | ||
user_fetcher_plug_test.exs | ||
user_is_admin_plug_test.exs | ||
user_is_staff_plug_test.exs | ||
user_tracking_plug_test.exs |