aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-07-11 10:47:51 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-07-11 10:47:51 +1200
commitdd6e33a6f2a9561ae43f29ff5b8037ec90f94aa3 (patch)
tree42df4073759d81f0472f2ad750d7fc6d67d29a70
parent9b19dd4edfea2d2b1451675bb71fdb7fa14a4b79 (diff)
downloadtrackermap-server-dd6e33a6f2a9561ae43f29ff5b8037ec90f94aa3.tar.gz
trackermap-server-dd6e33a6f2a9561ae43f29ff5b8037ec90f94aa3.tar.bz2
trackermap-server-dd6e33a6f2a9561ae43f29ff5b8037ec90f94aa3.zip
Add Spanish UI translation
-rw-r--r--web/app.js3
-rw-r--r--web/l10n/es.js61
2 files changed, 63 insertions, 1 deletions
diff --git a/web/app.js b/web/app.js
index b8ccac8df..13bb07363 100644
--- a/web/app.js
+++ b/web/app.js
@@ -23,7 +23,8 @@ Ext.Loader.setConfig({
'en': true,
'ru': true,
'pl': true,
- 'fr': true
+ 'fr': true,
+ 'es': true
};
var language = Ext.Object.fromQueryString(window.location.search.substring(1)).locale;
diff --git a/web/l10n/es.js b/web/l10n/es.js
new file mode 100644
index 000000000..813c2471a
--- /dev/null
+++ b/web/l10n/es.js
@@ -0,0 +1,61 @@
+var strings = {
+ shared_loading: 'Cargando...',
+ shared_save: 'Grabar',
+ shared_cancel: 'Cancelar',
+ shared_add: 'Agregar',
+ shared_edit: 'Editar',
+ shared_remove: 'Borrar',
+ shared_remove_confirm: 'Borrar item?',
+
+ error_title: 'Error',
+ error_unknown: 'Error Desconocido',
+
+ user_name: 'Nombre',
+ user_email: 'Email',
+ user_password: 'Contraseña',
+ user_admin: 'Admin',
+
+ login_title: 'Ingresar',
+ login_register: 'Registrar',
+ login_login: 'Ingresar',
+ login_failed: 'Direccion de correo o Contraseña Incorrecta',
+ login_created: 'Nuevo Usuario a Sido Registrado',
+ login_logout: 'Salir',
+
+ device_dialog: 'Dispositivo',
+ device_title: 'Dispositivos',
+ device_name: 'Nombre',
+ device_identifier: 'Identificador',
+
+ settings_title: 'Preferencias',
+ settings_user: 'Cuenta',
+ settings_server: 'Servidor',
+ settings_users: 'Usuarios',
+
+ report_title: 'Reportes',
+ report_device: 'Dispositivos',
+ report_from: 'Desde',
+ report_to: 'A',
+ report_show: 'Mostrar',
+ report_clear: 'Limpiar',
+
+ position_time: 'Hora',
+ position_valid: 'Valida',
+ position_latitude: 'Latitud',
+ position_longitude: 'Longitud',
+ position_altitude: 'Altitud',
+ position_speed: 'Velocidad',
+ position_course: 'Curso',
+ position_address: 'Direccion',
+ position_protocol: 'Protocolo',
+
+ server_title: 'Preferencias Servidor',
+ server_zoom: 'Zoom',
+ server_registration: 'Registrar',
+
+ map_title: 'Mapa',
+
+ state_title: 'Estado',
+ state_name: 'Parametro',
+ state_value: 'Valor'
+};