mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Updated the notifications and errors to use NLS
removed errant comma
This commit is contained in:
committed by
Nick O'Leary
parent
a39a26fcc2
commit
0017074d38
@@ -81,7 +81,7 @@ RED.comms = (function() {
|
||||
};
|
||||
ws.onclose = function() {
|
||||
if (errornotification == null) {
|
||||
errornotification = RED.notify("<b>Error</b>: Lost connection to server","error",true);
|
||||
errornotification = RED.notify(RED._("notification.lostConnectionError"),"error",true);
|
||||
} else if (clearErrorTimer) {
|
||||
clearTimeout(clearErrorTimer);
|
||||
clearErrorTimer = null;
|
||||
|
Reference in New Issue
Block a user