mastodon/app
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
..
chewy Fix needlessly indexing unsearchable statuses into ElasticSearch (#12041) 2019-10-02 20:04:46 +02:00
controllers Fix missing error templates for non-HTML requests (#12593) 2019-12-10 07:39:54 +01:00
helpers Remove some duplicate methods from StatusHelper and reflect changes to AccountHelper (#12545) 2019-12-05 00:50:40 +01:00
javascript Revert "Fix an eslint warning (#12426)" (#12596) 2019-12-10 19:39:02 +01:00
lib Add basic support for group actors (#12071) 2019-12-04 20:36:33 +01:00
mailers Split AccountsHelper from StatusesHelper (#12078) 2019-10-24 22:50:09 +02:00
models Add tootctl media remove-orphans (#12568) 2019-12-08 15:37:12 +01:00
policies Change admin UI for hashtags and add back whitelisted trends (#11490) 2019-08-05 19:54:29 +02:00
presenters Fix n+1 query for bookmarks on statuses (#12494) 2019-11-28 04:08:00 +01:00
serializers Add basic support for group actors (#12071) 2019-12-04 20:36:33 +01:00
services Fix account search with no query (#12549) 2019-12-06 19:44:23 +01:00
validators Fix uncaught domain normalization error in remote follow (#11703) 2019-08-30 02:19:17 +02:00
views Avoid using pluralize on moderation pages (#12589) 2019-12-12 19:50:23 +01:00
workers Fix various issues with account migration (#12301) 2019-11-07 09:05:07 +02:00