diff --git a/application/Espo/Resources/i18n/en_US/Global.json b/application/Espo/Resources/i18n/en_US/Global.json index aa754fcb36..cff358af14 100644 --- a/application/Espo/Resources/i18n/en_US/Global.json +++ b/application/Espo/Resources/i18n/en_US/Global.json @@ -162,6 +162,7 @@ "Access": "Access", "Timeout": "Timeout", "No internet": "No internet", + "Network error": "Network error", "Are you sure?": "Are you sure?", "Record has been removed": "Record has been removed", "Wrong username/password": "Wrong username/password", diff --git a/client/src/app.js b/client/src/app.js index 04795e03c5..0599caf2c1 100644 --- a/client/src/app.js +++ b/client/src/app.js @@ -1308,7 +1308,11 @@ class App { let msg = ''; if (!label) { - msg += this.language.translate('Error') + ' ' + xhr.status; + if (xhr.status === 0) { + msg += this.language.translate('Network error'); + } else { + msg += this.language.translate('Error') + ' ' + xhr.status; + } } else { msg += this.language.translate(label); }