From 0ce5bc325c194acfb619d04db352fdba1b79d8b1 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Fri, 20 Apr 2018 08:54:04 +0500 Subject: Make string translatable --- web/app/view/dialog/Maintenance.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/app') 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; } }] }] -- cgit v1.2.3