diff --git a/front/core/components/watcher/watcher.js b/front/core/components/watcher/watcher.js index d00d6d782c..84383f477e 100644 --- a/front/core/components/watcher/watcher.js +++ b/front/core/components/watcher/watcher.js @@ -13,15 +13,18 @@ import UserError from '../../lib/user-error'; * properties are provided. */ export default class Watcher extends Component { - constructor($element, $scope, $state, $transitions, $http, vnApp, $translate, $attrs, $q) { + constructor($element, $, $state, $stateParams, $transitions, $http, vnApp, $translate, $attrs, $q) { super($element); - this.$ = $scope; - this.$state = $state; - this.$http = $http; - this._ = $translate; - this.$attrs = $attrs; - this.vnApp = vnApp; - this.$q = $q; + Object.assign(this, { + $, + $state, + $stateParams, + $http, + _: $translate, + $attrs, + vnApp, + $q + }); this.state = null; this.deregisterCallback = $transitions.onStart({}, @@ -240,7 +243,7 @@ export default class Watcher extends Component { return newCopy; } } -Watcher.$inject = ['$element', '$scope', '$state', '$transitions', '$http', 'vnApp', '$translate', '$attrs', '$q']; +Watcher.$inject = ['$element', '$scope', '$state', '$stateParams', '$transitions', '$http', 'vnApp', '$translate', '$attrs', '$q']; ngModule.component('vnWatcher', { template: require('./watcher.html'), diff --git a/front/salix/locale/es.yml b/front/salix/locale/es.yml index 7929ed9f17..3e17d36c7c 100644 --- a/front/salix/locale/es.yml +++ b/front/salix/locale/es.yml @@ -1,32 +1,53 @@ Applications: Aplicaciones Language: Idioma Change language: Cambiar idioma -Client Frozen: Cliente congelado -Client has debt: Cliente con riesgo -Client inactive: Cliente inactivo -Client not checked: Cliente no comprobado -credit: Crédito -creditInsurance: Crédito Asegurado -Clients: Clientes -Claims: Reclamaciones Data saved!: ¡Datos guardados! Home: Inicio -Items: Artículos -Workers: Trabajadores -Locator: Localizador Logout: Cerrar sesión Modules access : Acceso a módulos Return to home: Volver a inicio Notifications: Notificaciones -name: Nombre -phone: Teléfono +Name: Nombre Preview: Vista previa Profile: Perfil Push on applications menu: Para abrir un módulo pulsa en el menú de aplicaciones Return to module index: Volver a la página principal del módulo -Routes: Rutas What is new: Novedades de la versión -Web Account inactive: Sin acceso Web -Orders: Cesta +Settings: Ajustes +Enter a new search: Introduce una nueva búsqueda +No results: Sin resultados + +# Actions + +Back: Volver +Save: Guardar +Create: Crear +Send: Enviar +Delete: Eliminar +Order by: Ordenar por +Order: Orden +Ascendant: Ascendente +Descendant: Descendente + +# Modules + Agencies: Agencias +Claims: Reclamaciones +Clients: Clientes +Items: Artículos +Orders: Cesta +Tickets: Tickets Travels: Envíos +Workers: Trabajadores +Routes: Rutas +Locator: Localizador + +# Common + +Summary: Vista previa +Basic data: Datos básicos +List: Listado + +# Misc + +Phone: Teléfono diff --git a/modules/agency/front/locale/es.yml b/modules/agency/front/locale/es.yml index ed2142b609..17ef3e09a4 100644 --- a/modules/agency/front/locale/es.yml +++ b/modules/agency/front/locale/es.yml @@ -1,18 +1,9 @@ -Name: Nombre Agency: Agencia Warehouse: Almacén Hour: Hora (ETD) Price: Precio -Create: Crear -Delete: Eliminar -Settings: Ajustes Locations: Localizaciones -Enter a new search: Introduce una nueva búsqueda Delete zone: Eliminar zona Are you sure you want to delete this zone?: ¿Estás seguro de querer eliminar esta zona? - Zones: Zonas -List: Listado -Summary: Vista previa -New zone: Nueva zona -Basic data: Datos básicos \ No newline at end of file +New zone: Nueva zona \ No newline at end of file diff --git a/modules/claim/front/locale/es.yml b/modules/claim/front/locale/es.yml index 5c10c79adf..d348c8ff1f 100644 --- a/modules/claim/front/locale/es.yml +++ b/modules/claim/front/locale/es.yml @@ -7,11 +7,5 @@ Responsible: Responsable Remove sale: Borrar linea Claim Id: Id reclamación Created: Creado -Enter a new search: Introduce una nueva búsqueda Pickup order: Orden de recogida Do you want to send it directly?: ¿Quieres enviarlo directamente? - -#sections -Claims: Reclamaciones -List: Listado -Summary: Vista previa \ No newline at end of file diff --git a/modules/client/front/basic-data/index.html b/modules/client/front/basic-data/index.html index 4ab264050e..189cfe2615 100644 --- a/modules/client/front/basic-data/index.html +++ b/modules/client/front/basic-data/index.html @@ -8,25 +8,40 @@