aboutsummaryrefslogtreecommitdiff
path: root/web/app/store
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/store')
-rw-r--r--web/app/store/DeviceAttributes.js7
-rw-r--r--web/app/store/GeofenceAttributes.js1
-rw-r--r--web/app/store/GroupAttributes.js5
-rw-r--r--web/app/store/ServerAttributes.js4
-rw-r--r--web/app/store/UserAttributes.js12
5 files changed, 29 insertions, 0 deletions
diff --git a/web/app/store/DeviceAttributes.js b/web/app/store/DeviceAttributes.js
index 9f1ec50..341a769 100644
--- a/web/app/store/DeviceAttributes.js
+++ b/web/app/store/DeviceAttributes.js
@@ -22,24 +22,31 @@ Ext.define('Traccar.store.DeviceAttributes', {
data: [{
key: 'speedLimit',
+ name: Strings.sharedAttributeSpeedLimit,
type: 'number'
}, {
key: 'report.ignoreOdometer',
+ name: Strings.sharedAttributeReportIgnoreOdometer,
type: 'boolean'
}, {
key: 'maintenance.start',
+ name: Strings.sharedAttributeMaintenanceStart,
type: 'number'
}, {
key: 'maintenance.interval',
+ name: Strings.sharedAttributeMaintenanceInterval,
type: 'number'
}, {
key: 'web.reportColor',
+ name: Strings.sharedAttributeWebReportColor,
type: 'color'
}, {
key: 'devicePassword',
+ name: Strings.sharedAttributeDevicePassword,
type: 'string'
}, {
key: 'processing.copyAttributes',
+ name: Strings.sharedAttributeProcessingCopyAttributes,
type: 'string'
}]
});
diff --git a/web/app/store/GeofenceAttributes.js b/web/app/store/GeofenceAttributes.js
index 79217f6..d8c8bb9 100644
--- a/web/app/store/GeofenceAttributes.js
+++ b/web/app/store/GeofenceAttributes.js
@@ -22,6 +22,7 @@ Ext.define('Traccar.store.GeofenceAttributes', {
data: [{
key: 'color',
+ name: Strings.sharedAttributeColor,
type: 'color'
}]
});
diff --git a/web/app/store/GroupAttributes.js b/web/app/store/GroupAttributes.js
index baf2286..5ef2aa0 100644
--- a/web/app/store/GroupAttributes.js
+++ b/web/app/store/GroupAttributes.js
@@ -22,18 +22,23 @@ Ext.define('Traccar.store.GroupAttributes', {
data: [{
key: 'speedLimit',
+ name: Strings.sharedAttributeSpeedLimit,
type: 'number'
}, {
key: 'report.ignoreOdometer',
+ name: Strings.sharedAttributeReportIgnoreOdometer,
type: 'boolean'
}, {
key: 'maintenance.start',
+ name: Strings.sharedAttributeMaintenanceStart,
type: 'number'
}, {
key: 'maintenance.interval',
+ name: Strings.sharedAttributeMaintenanceInterval,
type: 'number'
}, {
key: 'processing.copyAttributes',
+ name: Strings.sharedAttributeProcessingCopyAttributes,
type: 'string'
}]
});
diff --git a/web/app/store/ServerAttributes.js b/web/app/store/ServerAttributes.js
index aca81f2..3443142 100644
--- a/web/app/store/ServerAttributes.js
+++ b/web/app/store/ServerAttributes.js
@@ -22,15 +22,19 @@ Ext.define('Traccar.store.ServerAttributes', {
data: [{
key: 'speedLimit',
+ name: Strings.sharedAttributeSpeedLimit,
type: 'number'
}, {
key: 'maintenance.start',
+ name: Strings.sharedAttributeMaintenanceStart,
type: 'number'
}, {
key: 'maintenance.interval',
+ name: Strings.sharedAttributeMaintenanceInterval,
type: 'number'
}, {
key: 'web.liveRouteLength',
+ name: Strings.sharedAttributeWebLiveRouteLength,
type: 'number',
allowDecimals: false
}]
diff --git a/web/app/store/UserAttributes.js b/web/app/store/UserAttributes.js
index 80ded0d..f286d1b 100644
--- a/web/app/store/UserAttributes.js
+++ b/web/app/store/UserAttributes.js
@@ -22,42 +22,54 @@ Ext.define('Traccar.store.UserAttributes', {
data: [{
key: 'mail.smtp.host',
+ name: Strings.sharedAttributeMailSmtpHost,
type: 'string'
}, {
key: 'mail.smtp.port',
+ name: Strings.sharedAttributeMailSmtpPort,
type: 'number',
allowDecimals: false,
minValue: 1,
maxValue: 65535
}, {
key: 'mail.smtp.starttls.enable',
+ name: Strings.sharedAttributeMailSmtpStarttlsEnable,
type: 'boolean'
}, {
key: 'mail.smtp.starttls.required',
+ name: Strings.sharedAttributeMailSmtpStarttlsRequired,
type: 'boolean'
}, {
key: 'mail.smtp.ssl.enable',
+ name: Strings.sharedAttributeMailSmtpSslEnable,
type: 'boolean'
}, {
key: 'mail.smtp.ssl.trust',
+ name: Strings.sharedAttributeMailSmtpSslTrust,
type: 'string'
}, {
key: 'mail.smtp.ssl.protocols',
+ name: Strings.sharedAttributeMailSmtpSslProtocols,
type: 'string'
}, {
key: 'mail.smtp.from',
+ name: Strings.sharedAttributeMailSmtpFrom,
type: 'string'
}, {
key: 'mail.smtp.auth',
+ name: Strings.sharedAttributeMailSmtpAuth,
type: 'boolean'
}, {
key: 'mail.smtp.username',
+ name: Strings.sharedAttributeMailSmtpUsername,
type: 'string'
}, {
key: 'mail.smtp.password',
+ name: Strings.sharedAttributeMailSmtpPassword,
type: 'string'
}, {
key: 'web.liveRouteLength',
+ name: Strings.sharedAttributeWebLiveRouteLength,
type: 'number',
allowDecimals: false
}]