diff --git a/client/client/src/address-create/address-create.html b/client/client/src/address-create/address-create.html index f76a89a8d..7ba544463 100644 --- a/client/client/src/address-create/address-create.html +++ b/client/client/src/address-create/address-create.html @@ -8,23 +8,23 @@
diff --git a/client/client/src/address-create/locale/es.json b/client/client/src/address-create/locale/es.json new file mode 100644 index 000000000..b152c77a6 --- /dev/null +++ b/client/client/src/address-create/locale/es.json @@ -0,0 +1,12 @@ +{ + "Address": "Consignatario", + "Default": "Predeterminado", + "Consignee": "Consignatario", + "Street": "Dirección", + "Postcode": "Código postal", + "City": "Municipio", + "Province": "Provincia", + "Agency": "Agencia", + "Phone": "Teléfono", + "Mobile": "Móvil" +} \ No newline at end of file diff --git a/client/client/src/address-edit/address-edit.html b/client/client/src/address-edit/address-edit.html index a34dddee0..7b6a5d5e8 100644 --- a/client/client/src/address-edit/address-edit.html +++ b/client/client/src/address-edit/address-edit.html @@ -9,24 +9,24 @@ diff --git a/client/client/src/address-edit/address-edit.js b/client/client/src/address-edit/address-edit.js index 0605a3c02..caad023e2 100644 --- a/client/client/src/address-edit/address-edit.js +++ b/client/client/src/address-edit/address-edit.js @@ -1,5 +1,15 @@ import ngModule from '../module'; +export default class Controller { + constructor($state) { + this.address = { + id: parseInt($state.params.addressId) + }; + } +} +Controller.$inject = ['$state']; + ngModule.component('vnAddressEdit', { - template: require('./address-edit.html') + template: require('./address-edit.html'), + controller: Controller }); diff --git a/client/client/src/address-edit/locale/es.json b/client/client/src/address-edit/locale/es.json new file mode 100644 index 000000000..8598f616c --- /dev/null +++ b/client/client/src/address-edit/locale/es.json @@ -0,0 +1,3 @@ +{ + "Enabled": "Activo" +} \ No newline at end of file diff --git a/client/client/src/addresses/addresses.html b/client/client/src/addresses/addresses.html index 1b11b1931..0df5820f3 100644 --- a/client/client/src/addresses/addresses.html +++ b/client/client/src/addresses/addresses.html @@ -3,17 +3,17 @@