mirror of
https://github.com/flarum/framework.git
synced 2025-03-20 20:19:00 +08:00
Update for ICU MessageFormat
This commit is contained in:
parent
62be9088a1
commit
0be39b144c
@ -87,7 +87,7 @@ app.initializers.add('flarum-pusher', () => {
|
||||
this.loadingUpdated = true;
|
||||
},
|
||||
loading: this.loadingUpdated
|
||||
}, app.translator.transChoice('flarum-pusher.forum.discussion_list.show_updates_text', count, { count }))
|
||||
}, app.translator.trans('flarum-pusher.forum.discussion_list.show_updates_text', { count }))
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -20,4 +20,4 @@ flarum-pusher:
|
||||
|
||||
# These translations are used in the discussion list.
|
||||
discussion_list:
|
||||
show_updates_text: "Show {count} updated discussion|Show {count} updated discussions"
|
||||
show_updates_text: "{count, plural, one {Show # updated discussion} other {Show # updated discussions}}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user