mirror of
https://github.com/flarum/framework.git
synced 2025-02-03 05:02:59 +08:00
Merge pull request #21 from nodum/master
Fix: Someuser vs. You (mention) -- In English: the same.
This commit is contained in:
commit
c3cb99549c
|
@ -455,7 +455,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] === app.session.user ? '_self' : '') + '_text', names.length, {
|
||||
app.translator.transChoice('flarum-mentions.forum.post.mentioned_by' + (replies[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] === app.session.user ? '_self' : '') + '_text', names.length, {
|
||||
{app.translator.transChoice('flarum-mentions.forum.post.mentioned_by' + (replies[0].user() === app.session.user ? '_self' : '') + '_text', names.length, {
|
||||
count: names.length,
|
||||
users: punctuateSeries(names)
|
||||
})}
|
||||
|
|
Loading…
Reference in New Issue
Block a user