pleroma/lib/pleroma/web
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
..
activity_pub Birthdays: Fix outgoing federation of birth dates 2022-02-01 12:00:26 +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-03-02 01:41:13 -05: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 Max media attachment count 2022-02-06 17:41:15 +01:00
fallback Reroute /api/pleroma to /api/v1/pleroma 2021-02-21 13:26:23 +03:00
federator Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
feed Fix tests 2022-02-28 11:23:15 -05:00
mailer Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
mastodon_api Allow user to register with custom language 2022-03-02 01:41:13 -05:00
media_proxy rename function 2021-01-21 14:41:28 -06:00
metadata Add note about video thumbnails for code spelunkers unfamiliar with Media Preview Proxy 2021-06-10 09:56:43 -05:00
mongoose_im Change user.deactivated field to user.is_active 2021-01-15 11:24:46 -06:00
nodeinfo API: show info about privileged staff in instance metadata 2021-12-27 02:28:09 +03:00
o_auth Make mfa pages translatable 2022-02-28 11:07:28 -05:00
o_status Redirect non-local activities when /notice/:id is used 2021-02-04 15:17:40 +01:00
pleroma_api Birthdays: hide_birthday -> show_birthday 2022-01-23 09:13:33 +01:00
plugs Fallback to a variant if the language in general is not supported 2022-03-02 19:59:11 -05:00
preload/providers Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
push ObjectValidator.stringify_keys: filter out nil values 2021-08-11 21:38:10 +02:00
rich_media Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
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-03-01 19:17:11 -05:00
twitter_api Allow user to register with custom language 2022-03-02 01:41:13 -05:00
utils Pleroma.Web.Params --> Pleroma.Web.Utils.Params 2021-06-08 12:50:47 -05:00
views Make mail and mailer translatable 2022-03-01 19:17:11 -05:00
web_finger Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
api_spec.ex Add UserOperation to Redoc 2021-03-04 21:13:53 +04:00
common_api.ex WIP account endorsements 2022-01-12 18:15:10 +01:00
controller_helper.ex Pleroma.Web.Params --> Pleroma.Web.Utils.Params 2021-06-08 12:50:47 -05:00
embed_controller.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
endpoint.ex Add Phoenix LiveDashboard 2021-12-15 19:05:27 -05:00
federator.ex Pipeline Ingestion: Note 2021-04-05 19:19:11 +02:00
gettext.ex Fallback to a variant if the language in general is not supported 2022-03-02 19:59:11 -05:00
instance_document.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
manifest_controller.ex Expose /manifest.json for PWA 2021-11-24 17:50:55 -06:00
media_proxy.ex media_proxy: switch from :crypto.hmac to :crypto.mac 2021-06-03 19:11:15 +02:00
metadata.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
o_auth.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
plug.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
preload.ex Remove unused Logger 2021-09-01 14:56:48 -05:00
push.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
rel_me.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
router.ex Birthdays: hide_birthday -> show_birthday 2022-01-23 09:13:33 +01:00
shout_channel.ex Keep original Shoutbox channel name as chat:public 2021-06-01 14:34:13 -05:00
streamer.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
translation_helpers.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
uploader_controller.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
web_finger.ex Merge remote-tracking branch 'pleroma/develop' into cycles-base-url 2021-05-31 16:49:46 -05:00
xml.ex respect content-type header in finger request 2021-03-19 18:53:55 +03:00