mirror of
https://github.com/flarum/core.git
synced 2025-08-03 15:07:53 +02:00
Update for ICU MessageFormat
This commit is contained in:
@@ -87,7 +87,7 @@ app.initializers.add('flarum-pusher', () => {
|
|||||||
this.loadingUpdated = true;
|
this.loadingUpdated = true;
|
||||||
},
|
},
|
||||||
loading: this.loadingUpdated
|
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 }))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -20,4 +20,4 @@ flarum-pusher:
|
|||||||
|
|
||||||
# These translations are used in the discussion list.
|
# These translations are used in the discussion list.
|
||||||
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}}"
|
||||||
|
Reference in New Issue
Block a user