Improve the connection lost message with read-only

pull/1/head
yflory 8 years ago
parent 4bb02b9d4d
commit 35a49ac195

@ -20,7 +20,7 @@ define(function () {
'ou vous pouvez revoir votre travail en fermant cette boîte de dialogue.', 'ou vous pouvez revoir votre travail en fermant cette boîte de dialogue.',
].join(''); ].join('');
out.common_connectionLost = 'Connexion au serveur perdue'; out.common_connectionLost = "<b>Connexion au serveur perdue</b><br>Vous êtes désormais en mode lecture seule jusqu'au retour de la connexion.";
out.websocketError = 'Impossible de se connecter au serveur WebSocket...'; out.websocketError = 'Impossible de se connecter au serveur WebSocket...';
out.loading = "Chargement..."; out.loading = "Chargement...";

@ -3,6 +3,7 @@ define(function () {
// translations must set this key for their language to be available in // translations must set this key for their language to be available in
// the language dropdowns that are shown throughout Cryptpad's interface // the language dropdowns that are shown throughout Cryptpad's interface
// NOTE: translate that name in your language ("Français" and not "French")
out._languageName = 'English'; out._languageName = 'English';
out.main_title = "Cryptpad: Zero Knowledge, Collaborative Real Time Editing"; out.main_title = "Cryptpad: Zero Knowledge, Collaborative Real Time Editing";
@ -20,7 +21,11 @@ define(function () {
'by clicking outside of this box.' 'by clicking outside of this box.'
].join(''); ].join('');
out.common_connectionLost = 'Server Connection Lost'; // NOTE: We want to update the 'common_connectionLost' key.
// Please do not add a new 'updated_common_connectionLostAndInfo' but change directly the value of 'common_connectionLost'
out.updated_common_connectionLostAndInfo = "<b>Server Connection Lost</b><br>You're now in read-only mode until the connection is back.";
out.common_connectionLost = out.updated_common_connectionLostAndInfo;
out.websocketError = 'Unable to connect to the websocket server...'; out.websocketError = 'Unable to connect to the websocket server...';
out.loading = "Loading..."; out.loading = "Loading...";

Loading…
Cancel
Save