forked from mirrors/akkoma
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. |
||
---|---|---|
.. | ||
activity | ||
chat | ||
config | ||
conversation | ||
docs | ||
ecto_type/activity_pub/object_validators | ||
emails | ||
emoji | ||
gun | ||
http | ||
instances | ||
integration | ||
mfa | ||
migration_helper | ||
object | ||
password | ||
repo/migrations | ||
upload | ||
uploaders | ||
user | ||
web | ||
workers | ||
activity_test.exs | ||
application_requirements_test.exs | ||
bookmark_test.exs | ||
captcha_test.exs | ||
chat_test.exs | ||
config_db_test.exs | ||
config_test.exs | ||
conversation_test.exs | ||
emoji_test.exs | ||
filter_test.exs | ||
following_relationship_test.exs | ||
formatter_test.exs | ||
frontend_test.exs | ||
hashtag_test.exs | ||
healthcheck_test.exs | ||
html_test.exs | ||
http_test.exs | ||
instances_test.exs | ||
job_queue_monitor_test.exs | ||
keys_test.exs | ||
list_test.exs | ||
marker_test.exs | ||
mfa_test.exs | ||
moderation_log_test.exs | ||
notification_test.exs | ||
object_test.exs | ||
otp_version_test.exs | ||
pagination_test.exs | ||
registration_test.exs | ||
repo_test.exs | ||
report_note_test.exs | ||
reverse_proxy_test.exs | ||
runtime_test.exs | ||
safe_jsonb_set_test.exs | ||
scheduled_activity_test.exs | ||
signature_test.exs | ||
stats_test.exs | ||
upload_test.exs | ||
user_invite_token_test.exs | ||
user_relationship_test.exs | ||
user_search_test.exs | ||
user_test.exs | ||
utils_test.exs | ||
xml_builder_test.exs |