gearheads
/
mastodon
Archived
2
0
Fork 0
This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
mastodon/app/views
Sasha Sorokin d5b7a4b116 Avoid using pluralize on moderation pages (#12589)
Pluralize function from Rails framework does not work with other
languages than English, moreover it does not even work properly with
English [1]. Not that the latest applies to this context, it's just
a sign that we best to avoid this function, especially when there are
more reliable ways.

This commit changes how reports pages generated in order to avoid usage
of pluralize function, replacing it with default translation function,
called with given counter. On top of that, we have to make strings
pluralizable, so have to change locale files.

[1]: https://medium.com/@anna7/b3927de2ca8e#6a60
2019-12-12 19:50:23 +01:00
..
about Fix blur behind closed registration message (#12442) 2019-11-22 15:56:59 +01:00
accounts Add noopener and/or noreferrer (#12202) 2019-10-24 22:44:42 +02:00
admin Avoid using pluralize on moderation pages (#12589) 2019-12-12 19:50:23 +01:00
admin_mailer
application Add noopener and/or noreferrer (#12202) 2019-10-24 22:44:42 +02:00
auth
authorize_interactions
directories
errors
filters Redesign forms, verify link ownership with rel="me" (#8703) 2018-09-18 16:45:58 +02:00
follower_accounts
following_accounts Improve blocked view of profiles (#10491) 2019-04-07 04:59:13 +02:00
home Fix blurhash and autoplay not working on public pages (#11585) 2019-08-16 19:15:05 +02:00
invites
kaminari
layouts Fix page body not being scrollable in admin layout (#11893) 2019-09-20 10:52:14 +02:00
media Save video metadata and improve video OpenGraph tags (#6481) 2018-02-16 07:22:20 +01:00
notification_mailer
oauth Add noopener and/or noreferrer (#12202) 2019-10-24 22:44:42 +02:00
public_timelines Change message of public timeline for local only (#12224) 2019-10-27 12:45:33 +01:00
relationships Split relationships page strings (#12502) 2019-12-01 07:08:40 +01:00
remote_follow
remote_interaction
settings Use codeblock for native redirect URI (#12570) 2019-12-09 04:30:58 +01:00
shared
shares
statuses Add noopener and/or noreferrer (#12202) 2019-10-24 22:44:42 +02:00
tags
user_mailer
well_known/host_meta