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:
@ -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>
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user