diff --git a/extensions/pusher/js/src/forum/index.js b/extensions/pusher/js/src/forum/index.js index f6e565622..27eecd196 100644 --- a/extensions/pusher/js/src/forum/index.js +++ b/extensions/pusher/js/src/forum/index.js @@ -87,7 +87,7 @@ app.initializers.add('flarum-pusher', () => { this.loadingUpdated = true; }, loading: this.loadingUpdated - }, app.translator.transChoice('flarum-pusher.forum.discussion_list.show_updates_text', count, { count })) + }, app.translator.trans('flarum-pusher.forum.discussion_list.show_updates_text', { count })) ); } } diff --git a/extensions/pusher/locale/en.yml b/extensions/pusher/locale/en.yml index 184489bc2..0be46062a 100644 --- a/extensions/pusher/locale/en.yml +++ b/extensions/pusher/locale/en.yml @@ -20,4 +20,4 @@ flarum-pusher: # These translations are used in the discussion list. discussion_list: - show_updates_text: "Show {count} updated discussion|Show {count} updated discussions" + show_updates_text: "{count, plural, one {Show # updated discussion} other {Show # updated discussions}}"