Use the same disconnecter error translation key for all the apps

This commit is contained in:
yflory
2017-02-09 15:34:14 +01:00
parent f8366e0cfc
commit d54262c8df
9 changed files with 6 additions and 18 deletions

View File

@@ -739,7 +739,7 @@ define([
setEditable(false);
// TODO inform them that the session was torn down
toolbar.failed();
Cryptpad.alert(Messages.disconnectAlert);
Cryptpad.alert(Messages.common_connectionLost);
};
var onConnectionChange = realtimeOptions.onConnectionChange = function (info) {
@@ -750,7 +750,7 @@ define([
toolbar.reconnecting(info.myId);
Cryptpad.findOKButton().click();
} else {
Cryptpad.alert(Messages.disconnectAlert);
Cryptpad.alert(Messages.common_connectionLost);
}
};