aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/dialog
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/dialog')
-rw-r--r--web/app/view/dialog/Maintenance.js2
1 files changed, 1 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;
}
}]
}]