diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/app/view/dialog/Maintenance.js | 2 | ||||
-rw-r--r-- | web/l10n/en.json | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/web/app/view/dialog/Maintenance.js b/web/app/view/dialog/Maintenance.js index e4be7b5b..5705278f 100644 --- a/web/app/view/dialog/Maintenance.js +++ b/web/app/view/dialog/Maintenance.js @@ -66,7 +66,7 @@ Ext.define('Traccar.view.dialog.Maintenance', { allowBlank: false, fieldLabel: Strings.maintenancePeriod, validator: function (value) { - return this.parseValue(value) !== 0 ? true : 'Can\'t be zero'; + return this.parseValue(value) !== 0 ? true : Strings.errorZero; } }] }] diff --git a/web/l10n/en.json b/web/l10n/en.json index 9b9a4996..99c1381e 100644 --- a/web/l10n/en.json +++ b/web/l10n/en.json @@ -109,6 +109,7 @@ "errorGeneral": "Invalid parameters or constraints violation", "errorConnection": "Connection error", "errorSocket": "Web socket connection error", + "errorZero": "Can't be zero", "userEmail": "Email", "userPassword": "Password", "userAdmin": "Admin", |