aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/dialog/Maintenance.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2018-04-20 08:54:04 +0500
committerAbyss777 <abyss@fox5.ru>2018-04-20 08:54:04 +0500
commit0ce5bc325c194acfb619d04db352fdba1b79d8b1 (patch)
tree90e0f4704f2bdcb56015b1478da9f0553957bd7e /web/app/view/dialog/Maintenance.js
parent1a9f482a6a3234e443e2e8d6aff6f09daab85dfe (diff)
downloadtrackermap-web-0ce5bc325c194acfb619d04db352fdba1b79d8b1.tar.gz
trackermap-web-0ce5bc325c194acfb619d04db352fdba1b79d8b1.tar.bz2
trackermap-web-0ce5bc325c194acfb619d04db352fdba1b79d8b1.zip
Make string translatable
Diffstat (limited to 'web/app/view/dialog/Maintenance.js')
-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;
}
}]
}]