akkoma/lib/pleroma/web
Tusooa Zhu ef73f61b07 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-06-29 20:47:10 +01:00
..
activity_pub ensure local statuses are not visible remotely 2022-06-22 17:06:40 +01:00
admin_api Merge branch 'v2-suggestions' into 'develop' 2021-12-19 17:31:17 +00:00
api_spec Allow user to register with custom language 2022-06-29 20:46:51 +01:00
auth Create WrapperAuthenticator and simplify Authenticator behaviour 2021-06-07 18:18:39 -05:00
channels Keep original Shoutbox channel name as chat:public 2021-06-01 14:34:13 -05:00
common_api mix format 2022-06-14 16:25:28 +01:00
fallback
federator Remove debug prints 2022-06-25 18:43:19 +01:00
feed Fix tests 2022-06-29 20:45:05 +01:00
mailer
mastodon_api Allow user to register with custom language 2022-06-29 20:46:51 +01:00
media_proxy
metadata Add note about video thumbnails for code spelunkers unfamiliar with Media Preview Proxy 2021-06-10 09:56:43 -05:00
mongoose_im
nodeinfo Merge remote-tracking branch 'upstream/develop' into develop 2021-12-30 18:05:22 +00:00
o_auth Make mfa pages translatable 2022-06-29 20:45:03 +01:00
o_status check for local_public? on AP route 2022-06-22 16:35:12 +01:00
pleroma_api fix all tests 2022-06-11 16:14:22 +01:00
plugs Fallback to a variant if the language in general is not supported 2022-06-29 20:47:10 +01:00
preload/providers
push ObjectValidator.stringify_keys: filter out nil values 2021-08-11 21:38:10 +02:00
rich_media
static_fe Merge remote-tracking branch 'origin/develop' into notice-routes 2021-12-25 19:57:53 -06:00
templates Make mail and mailer translatable 2022-06-29 20:45:05 +01:00
twitter_api Allow user to register with custom language 2022-06-29 20:46:51 +01:00
utils Pleroma.Web.Params --> Pleroma.Web.Utils.Params 2021-06-08 12:50:47 -05:00
views Make mail and mailer translatable 2022-06-29 20:45:05 +01:00
web_finger
api_spec.ex
common_api.ex fix secret key failure 2022-06-11 16:48:04 +01:00
controller_helper.ex Pleroma.Web.Params --> Pleroma.Web.Utils.Params 2021-06-08 12:50:47 -05:00
embed_controller.ex
endpoint.ex Merge remote-tracking branch 'upstream/develop' into develop 2021-12-30 18:05:22 +00:00
federator.ex Allow for embedding object data in publish 2022-06-25 18:41:26 +01:00
gettext.ex Fallback to a variant if the language in general is not supported 2022-06-29 20:47:10 +01:00
instance_document.ex
manifest_controller.ex Expose /manifest.json for PWA 2021-11-24 17:50:55 -06:00
masto_fe_controller.ex Revert "Merge branch 'remove/mastofe' into 'develop'" 2022-01-08 21:44:37 +00:00
media_proxy.ex media_proxy: switch from :crypto.hmac to :crypto.mac 2021-06-03 19:11:15 +02:00
metadata.ex
o_auth.ex
plug.ex
preload.ex Remove unused Logger 2021-09-01 14:56:48 -05:00
push.ex
rel_me.ex
router.ex Revert "Merge branch 'remove/mastofe' into 'develop'" 2022-01-08 21:44:37 +00:00
shout_channel.ex Keep original Shoutbox channel name as chat:public 2021-06-01 14:34:13 -05:00
streamer.ex
translation_helpers.ex
uploader_controller.ex
web_finger.ex
xml.ex