Add missing translations

This commit is contained in:
Toby Zerner 2015-07-23 16:40:11 +09:30
parent da25882280
commit 0c7bd6e86d
3 changed files with 8 additions and 3 deletions

View File

@ -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')
});
});
});

View File

@ -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

View File

@ -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'
]);
}
}