/* * 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_report_route: 'blue', map_report_marker: 'blue', map_live_marker: 'red', map_route_width: 5, map_marker_radius: 50, map_delay: 500 }; Ext.define('Traccar.Resources', { });