mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 23:15:48 +01:00
meta.js error language keys
This commit is contained in:
@@ -37,7 +37,7 @@ SocketMeta.buildTitle = function(socket, text, callback) {
|
||||
|
||||
SocketMeta.updateHeader = function(socket, data, callback) {
|
||||
if(!data) {
|
||||
return callback(new Error('invalid data'));
|
||||
return callback(new Error('[[error:invalid-data]]'));
|
||||
}
|
||||
|
||||
if (socket.uid) {
|
||||
@@ -76,7 +76,7 @@ SocketMeta.getUsageStats = function(socket, data, callback) {
|
||||
|
||||
SocketMeta.rooms.enter = function(socket, data) {
|
||||
if(!data) {
|
||||
return callback(new Error('invalid data'));
|
||||
return callback(new Error('[[error:invalid-data]]'));
|
||||
}
|
||||
|
||||
if (data.leave !== null) {
|
||||
|
||||
Reference in New Issue
Block a user