1
0
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:
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', { 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')
}); });
}); });
}); });

View File

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

View File

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