aboutsummaryrefslogtreecommitdiff
path: root/web/app/Resources.js
blob: def231844d47425a33351f9144290ab7cad8f06f (plain)
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
/*
 * 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_name: 'Name',
    login_email: 'Email',
    login_password: 'Password',
    login_register: 'Register',
    login_login: 'Login',
    login_failed: 'Incorrect email address or password',
    login_created: 'New user has been registered',

    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_server: 'Server',

    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'
};

var styles = {
    panel_padding: 10,

    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_report_route: 'blue',
    map_report_marker: 'blue',
    map_live_marker: 'red',
    map_route_width: 5,
    map_marker_radius: 50
};

Ext.define('Traccar.Resources', {
});