Allow pluralisation of event post description

This commit is contained in:
Toby Zerner 2015-10-16 12:50:12 +10:30
parent 46ba8a3b8d
commit d8eed9d171

View File

@ -34,7 +34,7 @@ export default class EventPost extends Post {
return [
icon(this.icon(), {className: 'EventPost-icon'}),
<div class="EventPost-info">
{app.trans(this.descriptionKey(), data)}
{app.translator.transChoice(this.descriptionKey(), data.count, data)}
</div>
];
}