aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/app/Application.js2
-rw-r--r--web/l10n/en.js1
2 files changed, 2 insertions, 1 deletions
diff --git a/web/app/Application.js b/web/app/Application.js
index 9a7afc3b9..ebf685dbc 100644
--- a/web/app/Application.js
+++ b/web/app/Application.js
@@ -93,7 +93,7 @@ Ext.define('Traccar.Application', {
if (response.statusText) {
Ext.Msg.alert(Strings.errorTitle, response.statusText);
} else {
- Ext.Msg.alert(Strings.errorTitle, response.status.toString()); // TODO: text message
+ Ext.Msg.alert(Strings.errorTitle, Strings.errorConnection);
}
}
};
diff --git a/web/l10n/en.js b/web/l10n/en.js
index 23af1f81b..fdf5e49c7 100644
--- a/web/l10n/en.js
+++ b/web/l10n/en.js
@@ -16,6 +16,7 @@ var Strings = {
errorTitle: 'Error',
errorUnknown: 'Unknown error',
+ errorConnection: 'Connection error',
userName: 'Name',
userEmail: 'Email',