diff --git a/js/dom-functions.js b/js/dom-functions.js index 0343bdb..25bf4ea 100644 --- a/js/dom-functions.js +++ b/js/dom-functions.js @@ -678,6 +678,9 @@ function setNewCurrentStream(streamObject,setLocation,fallbackId,actionOnSuccess else if(error.status == 410 && streamObject.name == 'notice') { showErrorMessage(window.sL.ERRORnoticeRemoved); } + else if(error.status == 0) { + showErrorMessage(window.sL.ERRORnoContactWithServer + ' (' + replaceHtmlSpecialChars(error.statusText) + ')'); + } else { showErrorMessage(window.sL.ERRORsomethingWentWrong + '

\ url: ' + url + '

\ diff --git a/locale/ar.json b/locale/ar.json index a9ccb29..7813f1a 100644 --- a/locale/ar.json +++ b/locale/ar.json @@ -137,5 +137,6 @@ "ERRORcouldNotFindUserWithNickname":"Could not find a user with nickname \"{nickname}\" on this server", "ERRORcouldNotFindGroupWithNickname":"Could not find a group with nickname \"{nickname}\" on this server", "ERRORcouldNotFindPage":"Could not find that page.", - "ERRORnoticeRemoved": "This notice has been removed." + "ERRORnoticeRemoved": "This notice has been removed.", + "ERRORnoContactWithServer": "Can not establish a connection to the server. The server could be overloaded, or there might be a problem with your internet connecton. Please try again later!" } diff --git a/locale/ast.json b/locale/ast.json index 5e74903..06fefa1 100644 --- a/locale/ast.json +++ b/locale/ast.json @@ -137,5 +137,6 @@ "ERRORcouldNotFindUserWithNickname":"Could not find a user with nickname \"{nickname}\" on this server", "ERRORcouldNotFindGroupWithNickname":"Could not find a group with nickname \"{nickname}\" on this server", "ERRORcouldNotFindPage":"Could not find that page.", - "ERRORnoticeRemoved": "This notice has been removed." + "ERRORnoticeRemoved": "This notice has been removed.", + "ERRORnoContactWithServer": "Can not establish a connection to the server. The server could be overloaded, or there might be a problem with your internet connecton. Please try again later!" } diff --git a/locale/ca.json b/locale/ca.json index 014335d..2cb7297 100644 --- a/locale/ca.json +++ b/locale/ca.json @@ -137,5 +137,6 @@ "ERRORcouldNotFindUserWithNickname":"No s'ha pogut trobar l'usuari amb el sobrenom \"{nickname}\" en aquest servidor", "ERRORcouldNotFindGroupWithNickname":"No s'ha pogut trobar el grup amb el nom \"{nickname}\" en aquest servidor", "ERRORcouldNotFindPage":"No s'ha pogut trobar aquesta pàgina", - "ERRORnoticeRemoved": "Aquest avís s'ha eliminat." + "ERRORnoticeRemoved": "Aquest avís s'ha eliminat.", + "ERRORnoContactWithServer": "Can not establish a connection to the server. The server could be overloaded, or there might be a problem with your internet connecton. Please try again later!" } diff --git a/locale/de.json b/locale/de.json index 2243dd5..d05723f 100644 --- a/locale/de.json +++ b/locale/de.json @@ -137,5 +137,6 @@ "ERRORcouldNotFindUserWithNickname":"Konnte Nutzer mit Name \"{nickname}\" nicht finden", "ERRORcouldNotFindGroupWithNickname":"Konnte Gruppe mit Bezeichnung \"{nickname}\" nicht finden", "ERRORcouldNotFindPage":"Konnte Seite nicht finden.", - "ERRORnoticeRemoved": "Dieser Queet wurde gelöscht." + "ERRORnoticeRemoved": "Dieser Queet wurde gelöscht.", + "ERRORnoContactWithServer": "Can not establish a connection to the server. The server could be overloaded, or there might be a problem with your internet connecton. Please try again later!" } diff --git a/locale/en.json b/locale/en.json index 9aff8bb..bfed28e 100644 --- a/locale/en.json +++ b/locale/en.json @@ -137,5 +137,6 @@ "ERRORcouldNotFindUserWithNickname":"Could not find a user with nickname \"{nickname}\" on this server", "ERRORcouldNotFindGroupWithNickname":"Could not find a group with nickname \"{nickname}\" on this server", "ERRORcouldNotFindPage":"Could not find that page.", - "ERRORnoticeRemoved": "This notice has been removed." + "ERRORnoticeRemoved": "This notice has been removed.", + "ERRORnoContactWithServer": "Can not establish a connection to the server. The server could be overloaded, or there might be a problem with your internet connecton. Please try again later!" } diff --git a/locale/eo.json b/locale/eo.json index 02730f2..6d2d806 100644 --- a/locale/eo.json +++ b/locale/eo.json @@ -137,5 +137,6 @@ "ERRORcouldNotFindUserWithNickname":"Could not find a user with nickname \"{nickname}\" on this server", "ERRORcouldNotFindGroupWithNickname":"Could not find a group with nickname \"{nickname}\" on this server", "ERRORcouldNotFindPage":"Could not find that page.", - "ERRORnoticeRemoved": "This notice has been removed." + "ERRORnoticeRemoved": "This notice has been removed.", + "ERRORnoContactWithServer": "Can not establish a connection to the server. The server could be overloaded, or there might be a problem with your internet connecton. Please try again later!" } diff --git a/locale/es.json b/locale/es.json index 0572ff2..def6fc9 100644 --- a/locale/es.json +++ b/locale/es.json @@ -137,5 +137,6 @@ "ERRORcouldNotFindUserWithNickname":"No se ha encontrado el usuario con el apodo \"{nickname}\" en este servidor", "ERRORcouldNotFindGroupWithNickname":"No se ha encontrado el grupo con el nombre \"{nickname}\" en este servidor", "ERRORcouldNotFindPage":"No se pudo encontrar la página.", - "ERRORnoticeRemoved": "Este aviso se ha eliminado." + "ERRORnoticeRemoved": "Este aviso se ha eliminado.", + "ERRORnoContactWithServer": "Can not establish a connection to the server. The server could be overloaded, or there might be a problem with your internet connecton. Please try again later!" } diff --git a/locale/es_ahorita.json b/locale/es_ahorita.json index fc45a3a..a08f214 100644 --- a/locale/es_ahorita.json +++ b/locale/es_ahorita.json @@ -137,5 +137,6 @@ "ERRORcouldNotFindUserWithNickname":"Could not find a user with nickname \"{nickname}\" on this server", "ERRORcouldNotFindGroupWithNickname":"Could not find a group with nickname \"{nickname}\" on this server", "ERRORcouldNotFindPage":"Could not find that page.", - "ERRORnoticeRemoved": "This notice has been removed." + "ERRORnoticeRemoved": "This notice has been removed.", + "ERRORnoContactWithServer": "Can not establish a connection to the server. The server could be overloaded, or there might be a problem with your internet connecton. Please try again later!" } diff --git a/locale/eu.json b/locale/eu.json index 9f186a9..16ce331 100644 --- a/locale/eu.json +++ b/locale/eu.json @@ -137,5 +137,6 @@ "ERRORcouldNotFindUserWithNickname":"Could not find a user with nickname \"{nickname}\" on this server", "ERRORcouldNotFindGroupWithNickname":"Could not find a group with nickname \"{nickname}\" on this server", "ERRORcouldNotFindPage":"Could not find that page.", - "ERRORnoticeRemoved": "This notice has been removed." + "ERRORnoticeRemoved": "This notice has been removed.", + "ERRORnoContactWithServer": "Can not establish a connection to the server. The server could be overloaded, or there might be a problem with your internet connecton. Please try again later!" } diff --git a/locale/fa.json b/locale/fa.json index 3dc2c0b..8f037d9 100644 --- a/locale/fa.json +++ b/locale/fa.json @@ -137,5 +137,6 @@ "ERRORcouldNotFindUserWithNickname":"Could not find a user with nickname \"{nickname}\" on this server", "ERRORcouldNotFindGroupWithNickname":"Could not find a group with nickname \"{nickname}\" on this server", "ERRORcouldNotFindPage":"Could not find that page.", - "ERRORnoticeRemoved": "This notice has been removed." + "ERRORnoticeRemoved": "This notice has been removed.", + "ERRORnoContactWithServer": "Can not establish a connection to the server. The server could be overloaded, or there might be a problem with your internet connecton. Please try again later!" } diff --git a/locale/fi.json b/locale/fi.json index 587aa6d..18427da 100644 --- a/locale/fi.json +++ b/locale/fi.json @@ -137,5 +137,6 @@ "ERRORcouldNotFindUserWithNickname":"Could not find a user with nickname \"{nickname}\" on this server", "ERRORcouldNotFindGroupWithNickname":"Could not find a group with nickname \"{nickname}\" on this server", "ERRORcouldNotFindPage":"Could not find that page.", - "ERRORnoticeRemoved": "This notice has been removed." + "ERRORnoticeRemoved": "This notice has been removed.", + "ERRORnoContactWithServer": "Can not establish a connection to the server. The server could be overloaded, or there might be a problem with your internet connecton. Please try again later!" } diff --git a/locale/fr.json b/locale/fr.json index 1c703e1..ab9520b 100644 --- a/locale/fr.json +++ b/locale/fr.json @@ -137,5 +137,6 @@ "ERRORcouldNotFindUserWithNickname":"Could not find a user with nickname \"{nickname}\" on this server", "ERRORcouldNotFindGroupWithNickname":"Could not find a group with nickname \"{nickname}\" on this server", "ERRORcouldNotFindPage":"Could not find that page.", - "ERRORnoticeRemoved": "This notice has been removed." + "ERRORnoticeRemoved": "This notice has been removed.", + "ERRORnoContactWithServer": "Can not establish a connection to the server. The server could be overloaded, or there might be a problem with your internet connecton. Please try again later!" } diff --git a/locale/gl.json b/locale/gl.json index 7651a6e..2aabebd 100644 --- a/locale/gl.json +++ b/locale/gl.json @@ -137,5 +137,6 @@ "ERRORcouldNotFindUserWithNickname":"Could not find a user with nickname \"{nickname}\" on this server", "ERRORcouldNotFindGroupWithNickname":"Could not find a group with nickname \"{nickname}\" on this server", "ERRORcouldNotFindPage":"Could not find that page.", - "ERRORnoticeRemoved": "This notice has been removed." + "ERRORnoticeRemoved": "This notice has been removed.", + "ERRORnoContactWithServer": "Can not establish a connection to the server. The server could be overloaded, or there might be a problem with your internet connecton. Please try again later!" } diff --git a/locale/he.json b/locale/he.json index 485042d..e3baadb 100644 --- a/locale/he.json +++ b/locale/he.json @@ -137,5 +137,6 @@ "ERRORcouldNotFindUserWithNickname":"Could not find a user with nickname \"{nickname}\" on this server", "ERRORcouldNotFindGroupWithNickname":"Could not find a group with nickname \"{nickname}\" on this server", "ERRORcouldNotFindPage":"Could not find that page.", - "ERRORnoticeRemoved": "This notice has been removed." + "ERRORnoticeRemoved": "This notice has been removed.", + "ERRORnoContactWithServer": "Can not establish a connection to the server. The server could be overloaded, or there might be a problem with your internet connecton. Please try again later!" } diff --git a/locale/io.json b/locale/io.json index 79e2ac6..48b58e7 100644 --- a/locale/io.json +++ b/locale/io.json @@ -137,5 +137,6 @@ "ERRORcouldNotFindUserWithNickname":"On ne trovis uzero kun la nomo \"{nickname}\" en ica servilo.", "ERRORcouldNotFindGroupWithNickname":"On ne trovis grupo kun la nomo \"{nickname}\" en ica servilo.", "ERRORcouldNotFindPage":"On ne trovis ica pagino.", - "ERRORnoticeRemoved": "Ica mesajo esas supresita." + "ERRORnoticeRemoved": "Ica mesajo esas supresita.", + "ERRORnoContactWithServer": "Can not establish a connection to the server. The server could be overloaded, or there might be a problem with your internet connecton. Please try again later!" } diff --git a/locale/it.json b/locale/it.json index 535faf4..f35511b 100644 --- a/locale/it.json +++ b/locale/it.json @@ -137,5 +137,6 @@ "ERRORcouldNotFindUserWithNickname":"Could not find a user with nickname \"{nickname}\" on this server", "ERRORcouldNotFindGroupWithNickname":"Could not find a group with nickname \"{nickname}\" on this server", "ERRORcouldNotFindPage":"Could not find that page.", - "ERRORnoticeRemoved": "This notice has been removed." + "ERRORnoticeRemoved": "This notice has been removed.", + "ERRORnoContactWithServer": "Can not establish a connection to the server. The server could be overloaded, or there might be a problem with your internet connecton. Please try again later!" } diff --git a/locale/no.json b/locale/no.json index 198b227..ca4fd85 100644 --- a/locale/no.json +++ b/locale/no.json @@ -137,5 +137,6 @@ "ERRORcouldNotFindUserWithNickname":"Kan ikke finne en bruker med brukerid \"{nickname}\" på denne instansen", "ERRORcouldNotFindGroupWithNickname":"Kan ikke finne en gruppe med gruppenavnet \"{nickname}\" på denne instansen", "ERRORcouldNotFindPage":"Kan ikke finne siden.", - "ERRORnoticeRemoved": "Denne notisen er slettet." + "ERRORnoticeRemoved": "Denne notisen er slettet.", + "ERRORnoContactWithServer": "Can not establish a connection to the server. The server could be overloaded, or there might be a problem with your internet connecton. Please try again later!" } diff --git a/locale/pt_br.json b/locale/pt_br.json index 277b4e6..7ef346f 100644 --- a/locale/pt_br.json +++ b/locale/pt_br.json @@ -137,5 +137,6 @@ "ERRORcouldNotFindUserWithNickname":"Could not find a user with nickname \"{nickname}\" on this server", "ERRORcouldNotFindGroupWithNickname":"Could not find a group with nickname \"{nickname}\" on this server", "ERRORcouldNotFindPage":"Could not find that page.", - "ERRORnoticeRemoved": "This notice has been removed." + "ERRORnoticeRemoved": "This notice has been removed.", + "ERRORnoContactWithServer": "Can not establish a connection to the server. The server could be overloaded, or there might be a problem with your internet connecton. Please try again later!" } diff --git a/locale/sv.json b/locale/sv.json index 025de51..7b9e939 100644 --- a/locale/sv.json +++ b/locale/sv.json @@ -137,5 +137,6 @@ "ERRORcouldNotFindUserWithNickname":"Det finns ingen användare med namet \"{nickname}\" på den här servern.", "ERRORcouldNotFindGroupWithNickname":"Det finns ingen grupp med namnet \"{nickname}\" på den här servern.", "ERRORcouldNotFindPage":"Sidan hittades inte.", - "ERRORnoticeRemoved": "Den här qvittringen är borttagen." + "ERRORnoticeRemoved": "Den här qvittringen är borttagen.", + "ERRORnoContactWithServer": "Kan inte ansluta till servern. Servern kanske är överbelastad, eller så har du ett problem med din internetuppkoppling. Försök igen senare!" } diff --git a/locale/zh_cn.json b/locale/zh_cn.json index c3721ab..ff0067b 100644 --- a/locale/zh_cn.json +++ b/locale/zh_cn.json @@ -136,5 +136,6 @@ "ERRORcouldNotFindUserWithNickname":"Could not find a user with nickname \"{nickname}\" on this server", "ERRORcouldNotFindGroupWithNickname":"Could not find a group with nickname \"{nickname}\" on this server", "ERRORcouldNotFindPage":"Could not find that page.", - "ERRORnoticeRemoved": "This notice has been removed." + "ERRORnoticeRemoved": "This notice has been removed.", + "ERRORnoContactWithServer": "Can not establish a connection to the server. The server could be overloaded, or there might be a problem with your internet connecton. Please try again later!" } diff --git a/locale/zh_tw.json b/locale/zh_tw.json index 843df04..93a6dca 100644 --- a/locale/zh_tw.json +++ b/locale/zh_tw.json @@ -136,5 +136,6 @@ "ERRORcouldNotFindUserWithNickname":"Could not find a user with nickname \"{nickname}\" on this server", "ERRORcouldNotFindGroupWithNickname":"Could not find a group with nickname \"{nickname}\" on this server", "ERRORcouldNotFindPage":"Could not find that page.", - "ERRORnoticeRemoved": "This notice has been removed." + "ERRORnoticeRemoved": "This notice has been removed.", + "ERRORnoContactWithServer": "Can not establish a connection to the server. The server could be overloaded, or there might be a problem with your internet connecton. Please try again later!" }