1
0
mirror of https://github.com/flarum/core.git synced 2025-07-14 21:36:25 +02:00

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 [ return [
icon(this.icon(), {className: 'EventPost-icon'}), icon(this.icon(), {className: 'EventPost-icon'}),
<div class="EventPost-info"> <div class="EventPost-info">
{app.trans(this.descriptionKey(), data)} {app.translator.transChoice(this.descriptionKey(), data.count, data)}
</div> </div>
]; ];
} }