1
0
mirror of https://github.com/flarum/core.git synced 2025-07-24 10:11:43 +02:00

Allow pluralisation of event post description

This commit is contained in:
Toby Zerner
2015-10-16 12:50:12 +10:30
parent 0ffea2dde0
commit 9e7c30044a

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>
];
}