mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 03:59:39 +08:00
Use mentioned_by_self_text correctly (#26)
* Use mentioned_by_self_text correctly * Whoops! Use , not david * Fix dist js error
This commit is contained in:
parent
425a612537
commit
eac6e2e32f
@ -448,7 +448,7 @@ System.register('flarum/mentions/addMentionedByList', ['flarum/extend', 'flarum/
|
||||
'span',
|
||||
{ className: 'Post-mentionedBy-summary' },
|
||||
icon('reply'),
|
||||
app.translator.transChoice('flarum-mentions.forum.post.mentioned_by' + (replies[0].user() === app.session.user ? '_self' : '') + '_text', names.length, {
|
||||
app.translator.transChoice('flarum-mentions.forum.post.mentioned_by' + (repliers[0].user() === app.session.user ? '_self' : '') + '_text', names.length, {
|
||||
count: names.length,
|
||||
users: punctuateSeries(names)
|
||||
})
|
||||
|
@ -116,7 +116,7 @@ export default function addMentionedByList() {
|
||||
<div className="Post-mentionedBy" config={config}>
|
||||
<span className="Post-mentionedBy-summary">
|
||||
{icon('reply')}
|
||||
{app.translator.transChoice('flarum-mentions.forum.post.mentioned_by' + (replies[0].user() === app.session.user ? '_self' : '') + '_text', names.length, {
|
||||
{app.translator.transChoice('flarum-mentions.forum.post.mentioned_by' + (repliers[0].user() === app.session.user ? '_self' : '') + '_text', names.length, {
|
||||
count: names.length,
|
||||
users: punctuateSeries(names)
|
||||
})}
|
||||
|
Loading…
x
Reference in New Issue
Block a user