mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 04:25:54 +08:00
Add missing translations
This commit is contained in:
parent
da25882280
commit
0c7bd6e86d
@ -34,12 +34,13 @@ app.initializers.add('mentions', function() {
|
||||
items.add('postMentioned', {
|
||||
name: 'postMentioned',
|
||||
icon: 'reply',
|
||||
label: 'Someone replies to my post'
|
||||
label: app.trans('mentions.notify_post_mentioned')
|
||||
});
|
||||
|
||||
items.add('userMentioned', {
|
||||
name: 'userMentioned',
|
||||
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."
|
||||
you: You
|
||||
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.post_mentioned_by',
|
||||
'mentions.you',
|
||||
'mentions.reply_link'
|
||||
'mentions.reply_link',
|
||||
'mentions.notify_post_mentioned',
|
||||
'mentions.notify_user_mentioned'
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user