From f1eba5d27c3a9774b9801635871a1bb04dffe291 Mon Sep 17 00:00:00 2001 From: Carlos Date: Thu, 9 Nov 2017 13:29:51 +0100 Subject: [PATCH] translation refactor for fiscal data --- client/client/src/fiscal-data/fiscal-data.html | 12 ++++++------ client/client/src/locale/es.json | 9 +++++++-- e2e/helpers/selectors.js | 1 + 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/client/client/src/fiscal-data/fiscal-data.html b/client/client/src/fiscal-data/fiscal-data.html index 73d9a96cc..1443b0a11 100644 --- a/client/client/src/fiscal-data/fiscal-data.html +++ b/client/client/src/fiscal-data/fiscal-data.html @@ -18,18 +18,18 @@ - - + + - + + label="Province"> + label="Country"> - + diff --git a/client/client/src/locale/es.json b/client/client/src/locale/es.json index c3bc8aac5..4dd110d72 100644 --- a/client/client/src/locale/es.json +++ b/client/client/src/locale/es.json @@ -4,5 +4,10 @@ "Fiscal data": "Datos Fiscales", "Has to invoice": "Factura", "Invoice by mail": "Factura impresa", - "CountryFk": "País" -} \ No newline at end of file + "Country": "País", + "Street": "Domicilio fiscal", + "City": "Municipio", + "Postcode": "Código postal", + "Province": "Provincia", + "Save": "Guardar" +} diff --git a/e2e/helpers/selectors.js b/e2e/helpers/selectors.js index 1b772561c..18aef276c 100644 --- a/e2e/helpers/selectors.js +++ b/e2e/helpers/selectors.js @@ -54,6 +54,7 @@ export default { invoiceByMailCheckboxInput: `${components.vnCheck}[label='Invoice by mail'] > label > label > input`, addressInput: `${components.vnTextfield}[name="street"]`, cityInput: `${components.vnTextfield}[name="city"]`, + postcodeInput: `${components.vnTextfield}[name="postcode"]`, saveButton: 'body > vn-app > vn-vertical > vn-vertical > vn-client-card > vn-horizontal > vn-auto > vn-vertical > vn-client-fiscal-data > form > vn-button-bar > vn-submit > input' } };