1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
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 Fixed not being able to display review pending hashtags in the admin UI. (#11875) 2019-09-17 16:59:16 +02:00
application Add noopener and/or noreferrer (#12202) 2019-10-24 22:44:42 +02:00
auth Add (back) option to set redirect notice on account without moving followers (#11994) 2019-09-29 05:03:19 +02:00
authorize_interactions
directories Integrate translation strings for the Profile Directory. (#11722) 2019-09-02 18:12:27 +02:00
errors Fix uncaught parameter missing exceptions and missing error templates (#11702) 2019-08-30 01:34:47 +02:00
filters
follower_accounts
following_accounts
home Fix blurhash and autoplay not working on public pages (#11585) 2019-08-16 19:15:05 +02:00
invites Remove invite comments from UI (#12068) 2019-10-03 22:37:13 +02:00
kaminari
layouts Fix page body not being scrollable in admin layout (#11893) 2019-09-20 10:52:14 +02:00
media
notification_mailer Fix NotificationMailer failing when receiving mention with media from remote instance (#11765) 2019-09-05 06:14:30 +02:00
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 Remove fallback to long description on sidebar and meta description (#12119) 2019-10-08 22:08:55 +02:00
shares Fix blurhash and autoplay not working on public pages (#11585) 2019-08-16 19:15:05 +02:00
statuses Add noopener and/or noreferrer (#12202) 2019-10-24 22:44:42 +02:00
tags Fix blurhash and autoplay not working on public pages (#11585) 2019-08-16 19:15:05 +02:00
user_mailer Add password challenge to 2FA settings, e-mail notifications (#11878) 2019-09-18 16:37:27 +02:00
well_known/host_meta