mirror of
https://github.com/flarum/core.git
synced 2025-06-26 12:45:04 +02:00
Allow pluralisation of event post description
This commit is contained in:
@ -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>
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user