mastodon/app/views/admin
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
..
account_actions Add option to include reported statuses in warning e-mail (#11639) 2019-08-23 22:37:23 +02:00
account_moderation_notes
account_warnings
accounts Add link to search for users connected from the same IP address (#12157) 2019-10-24 22:49:26 +02:00
action_logs Use local time in audit log (#10751) 2019-05-11 06:46:01 +02:00
change_emails
custom_emojis Fix not showing if emoji has a local counterpart in admin UI (#12135) 2019-10-10 02:21:52 +02:00
dashboard Add full numeric notation to the dashboard title attribute (#11911) 2019-09-22 02:37:15 +02:00
domain_allows Add whitelist mode (#11291) 2019-07-30 11:10:46 +02:00
domain_blocks Add domain block notes (#11515) 2019-08-07 20:20:23 +02:00
email_domain_blocks
followers
instances Link to reports targetting instance in admin view (#12513) 2019-12-01 19:03:43 +01:00
invites Fix maxed-out invites not showing up as expired in UI (#10274) 2019-03-15 05:35:17 +01:00
pending_accounts Add waiting time to list of pending accounts in admin UI (#10985) 2019-06-07 03:24:10 +02:00
relays Display pending message on admin relays UI (#8494) 2018-08-28 05:39:43 +02:00
report_notes
reports Avoid using pluralize on moderation pages (#12589) 2019-12-12 19:50:23 +01:00
settings Add admin setting to auto-approve hashtags (#12122) 2019-10-09 00:30:15 +02:00
statuses
tags Fix batch actions being hidden from mobile view (#12183) 2019-10-24 22:46:59 +02:00
warning_presets