mirror of
https://github.com/flarum/core.git
synced 2025-08-04 15:37:51 +02:00
Add missing translations
This commit is contained in:
@@ -34,12 +34,13 @@ app.initializers.add('mentions', function() {
|
|||||||
items.add('postMentioned', {
|
items.add('postMentioned', {
|
||||||
name: 'postMentioned',
|
name: 'postMentioned',
|
||||||
icon: 'reply',
|
icon: 'reply',
|
||||||
label: 'Someone replies to my post'
|
label: app.trans('mentions.notify_post_mentioned')
|
||||||
});
|
});
|
||||||
|
|
||||||
items.add('userMentioned', {
|
items.add('userMentioned', {
|
||||||
name: 'userMentioned',
|
name: 'userMentioned',
|
||||||
icon: 'at',
|
icon: 'at',
|
||||||
label: 'Someone mentions me in a post'
|
label: app.trans('mentions.notify_user_mentioned')
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@@ -6,3 +6,5 @@ mentions:
|
|||||||
post_mentioned_by: "{users} replied to this."
|
post_mentioned_by: "{users} replied to this."
|
||||||
you: You
|
you: You
|
||||||
reply_link: Reply
|
reply_link: Reply
|
||||||
|
notify_post_mentioned: Someone replies to my post
|
||||||
|
notify_user_mentioned: Someone mentions me in a post
|
||||||
|
@@ -33,7 +33,9 @@ class AddClientAssets
|
|||||||
'mentions.user_mentioned_notification',
|
'mentions.user_mentioned_notification',
|
||||||
'mentions.post_mentioned_by',
|
'mentions.post_mentioned_by',
|
||||||
'mentions.you',
|
'mentions.you',
|
||||||
'mentions.reply_link'
|
'mentions.reply_link',
|
||||||
|
'mentions.notify_post_mentioned',
|
||||||
|
'mentions.notify_user_mentioned'
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user