masto-fe/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 Improve admin UI for accounts (#7360) 2018-05-05 23:06:29 +02:00
account_warnings Add moderation warnings (#9519) 2018-12-22 20:02:09 +01:00
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 Hide misleading “You will be sent a confirmation e-mail” hint from admin view (#9973) 2019-02-05 15:11:35 +01:00
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 Add option to block reports from domain (#8830) 2018-10-20 08:02:44 +02:00
followers Fix admin UI view of local followers (#9712) 2019-01-04 11:28:14 +01:00
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 Improve report layout (#7188) 2018-04-20 02:28:48 +02:00
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 Add quick links to the admin interface in the WebUI (#8545) 2019-01-04 13:10:43 +01:00
tags Fix batch actions being hidden from mobile view (#12183) 2019-10-24 22:46:59 +02:00
warning_presets Add moderation warnings (#9519) 2018-12-22 20:02:09 +01:00