Why plural on these keys?

I’ll remove the pluralization in an upcoming commit.

This is kind of a special case because the numbers are shown above the text.

The actual number isn’t shown, but the button text changes depending on the number of flags.

No, the admin panel uses admin_js.admin.users.nav.new for the navigation item shown in your screenshot.

Those are used as page title and are visible in the browser tab. Values for %{filter} are “Latest”, “Unread”, “New”, “Read”, “My Posts” and “Bookmarks”. The last 3 values aren’t visible by default.

So, for js.filters.with_topics you get titles like “Latest topics”, “Unread topics”,… js.filters.with_category is used when the filter is applied to a category and leads to titles like “Latest support topics” or “New support topics”.

While looking at this I noticed that we still have translations for the old “Hot” filter. I’ll remove those strings unless I find a place where this stuff is still used.

4 Likes