mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
all notifications are translated now closes #1388
This commit is contained in:
@@ -194,7 +194,7 @@ SocketModules.chats.send = function(socket, data, callback) {
|
||||
|
||||
function sendChatNotification(fromuid, touid, username) {
|
||||
if (!module.parent.exports.isUserOnline(touid)) {
|
||||
var notifText = 'New message from <strong>' + username + '</strong>';
|
||||
var notifText = '[[notifications:new_message_from,' + username + ']]';
|
||||
notifications.create({
|
||||
text: notifText,
|
||||
path: 'javascript:app.openChat('' + username + '', ' + fromuid + ');',
|
||||
|
||||
Reference in New Issue
Block a user