mirror of
https://github.com/flarum/core.git
synced 2025-07-28 20:20:34 +02:00
Merge pull request #21 from nodum/master
Fix: Someuser vs. You (mention) -- In English: the same.
This commit is contained in:
@@ -455,7 +455,7 @@ System.register('flarum/mentions/addMentionedByList', ['flarum/extend', 'flarum/
|
|||||||
'span',
|
'span',
|
||||||
{ className: 'Post-mentionedBy-summary' },
|
{ className: 'Post-mentionedBy-summary' },
|
||||||
icon('reply'),
|
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,
|
count: names.length,
|
||||||
users: punctuateSeries(names)
|
users: punctuateSeries(names)
|
||||||
})
|
})
|
||||||
|
@@ -116,7 +116,7 @@ export default function addMentionedByList() {
|
|||||||
<div className="Post-mentionedBy" config={config}>
|
<div className="Post-mentionedBy" config={config}>
|
||||||
<span className="Post-mentionedBy-summary">
|
<span className="Post-mentionedBy-summary">
|
||||||
{icon('reply')}
|
{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,
|
count: names.length,
|
||||||
users: punctuateSeries(names)
|
users: punctuateSeries(names)
|
||||||
})}
|
})}
|
||||||
|
Reference in New Issue
Block a user