mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 07:42:48 +08:00
Allow pluralisation of event post description
This commit is contained in:
parent
46ba8a3b8d
commit
d8eed9d171
|
@ -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>
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user