1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
|
/*
* Copyright 2015 Anton Tananaev (anton.tananaev@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
var strings = {
shared_loading: 'Loading...',
error_title: 'Error',
error_unknown: 'Unknown error',
login_title: 'Login',
login_user_title: 'User',
login_users_title: 'Users',
login_name: 'Name',
login_email: 'Email',
login_password: 'Password',
login_admin: 'Admin',
login_register: 'Register',
login_login: 'Login',
login_failed: 'Incorrect email address or password',
login_created: 'New user has been registered',
user_remove_confirm: 'Remove user?',
device_dialog: 'Device',
device_title: 'Devices',
device_name: 'Name',
device_identifier: 'Identifier',
device_remove_confirm: 'Remove device?',
device_add: 'Add',
device_edit: 'Edit',
device_remove: 'Remove',
device_logout: 'Logout',
device_settings: 'Settings',
device_settings_user: 'Account',
device_settings_server: 'Server',
device_settings_users: 'Users',
report_title: 'Reports',
report_device: 'Device',
report_from: 'From',
report_to: 'To',
report_show: 'Show',
report_clear: 'Clear',
report_time: 'Time',
report_valid: 'Valid',
report_latitude: 'Latitude',
report_longitude: 'Longitude',
report_altitude: 'Altitude',
report_speed: 'Speed',
report_course: 'Course',
report_address: 'Address',
server_title: 'Server settings',
server_latitude: 'Latitude',
server_longitude: 'Longitude',
server_zoom: 'Zoom',
server_registration: 'Registration',
dialog_save: 'Save',
dialog_delete: 'Delete',
dialog_cancel: 'Cancel',
map_title: 'Map',
state_title: 'State',
state_name: 'Parameter',
state_value: 'Value',
state_protocol: 'Protocol'
};
var styles = {
panel_padding: 10,
window_width: 640,
window_height: 480,
device_width: 350,
report_height: 250,
report_time: 100,
report_format: 'Y-m-d H:i:s',
map_center: [ -0.1275, 51.507222 ],
map_zoom: 6,
map_max_zoom: 16,
map_select_color: 'green',
map_select_radius: 10,
map_report_color: 'blue',
map_report_radius: 5,
map_live_color: 'red',
map_live_radius: 7,
map_stroke_color: 'grey',
map_route_width: 5,
map_marker_stroke: 2,
map_delay: 500
};
Ext.define('Traccar.Resources', {
});
|