From d8eed9d171535e50ffb9266a138cee24a22f737a Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 16 Oct 2015 12:50:12 +1030 Subject: [PATCH] Allow pluralisation of event post description --- js/forum/src/components/EventPost.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/forum/src/components/EventPost.js b/js/forum/src/components/EventPost.js index ca4023375..1abe92554 100644 --- a/js/forum/src/components/EventPost.js +++ b/js/forum/src/components/EventPost.js @@ -34,7 +34,7 @@ export default class EventPost extends Post { return [ icon(this.icon(), {className: 'EventPost-icon'}),
- {app.trans(this.descriptionKey(), data)} + {app.translator.transChoice(this.descriptionKey(), data.count, data)}
]; }