Skip to content

Commit

Permalink
feat(payment): translations and style
Browse files Browse the repository at this point in the history
  • Loading branch information
iacopolea committed Nov 3, 2023
1 parent b86398d commit 21e3a1d
Show file tree
Hide file tree
Showing 9 changed files with 67 additions and 75 deletions.
26 changes: 14 additions & 12 deletions src/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@
"Computer type": "Computer type",
"Confirm email": "Confirm email",
"Confirm password": "Confirm password",
"Confirm_MODAL_PAYMENT_STEP_TITLE": "",
"Connect AppQuality to one of your accounts, this will make it easier for you to access your dashboard": "Connect Tryber to one of your accounts, this will make it easier for you to access your dashboard",
"Countries covered": "Countries covered",
"Country": "Country of residence",
Expand Down Expand Up @@ -236,14 +235,14 @@
"Fiscal Address": "Fiscal Address",
"Fiscal Type": "Fiscal Type",
"Fiscal residence": "Fiscal residence",
"Fiscal type": "",
"Fiscal type": "Fiscal type",
"Fiscal types": {
"Company": "Standard Vat Scheme (or company)",
"Foreign": "Not resident in Italy",
"Internal employee": "UG Employees",
"VAT": "Flat Rate Vat Scheme",
"Witholding < 5000€": "Less than € 5.000 gross / year with occasional services",
"Witholding > 5000€": "Witholding > 5000€"
"Witholding > 5000€": "More than € 5.000 gross / year with occasional services"
},
"For a secure password we recommend: Minimum 6 characters. An uppercase character. A numerical digit. A lowercase character.": "For a secure password we recommend: minimum 6 characters, an uppercase character, a numerical digit, a lowercase character.",
"For tax reasons we are obliged to tie this choice to binary options only": "For tax reasons we are obliged to tie this choice to binary options only",
Expand All @@ -255,7 +254,6 @@
"Other": "Non-conforming"
},
"Generic error": "Generic error",
"Get email_MODAL_PAYMENT_STEP_TITLE": "Get email",
"Getting Started": "Getting Started",
"Great job!": "Great job!",
"Great, next month you'll be {{level}}, give your best and conquer {{nextLevel}}": {
Expand All @@ -281,7 +279,6 @@
"Inbox": "Inbox",
"Informations": "Informations",
"Insert Name and surname separated by space": "Insert name and surname separated by space",
"Insert details_MODAL_PAYMENT_STEP_TITLE": "Insert details",
"Institute": "Institute",
"Institute is a required field.": "Institute is a required field.",
"Invalid fiscal profile": "Invalid fiscal profile",
Expand All @@ -296,6 +293,12 @@
"Loading Data": "Loading Data",
"Log in with an existing account": "Sign in faster",
"Login": "Already a Tryber? Log in",
"MODAL_PAYMENT_STEP_TITLE": {
"Confirm": "Confirm",
"Get email": "Get email",
"Insert details": "Insert details",
"Start here": "Start here"
},
"Male": "Male",
"Manufacturer": "Manufacturer",
"Manufacturer: <bold>{{manufacturer}}</bold>": "Manufacturer: <bold>{{manufacturer}}</bold>",
Expand Down Expand Up @@ -333,7 +336,7 @@
"Overall ranking | level {{level}}": {
"__RANKING_TITLE_LABEL_MONTH_MAX: 45": "Complete ranking | {{level}} level"
},
"PAYMENTS_MODAL_INVOICE_STEP_4_ERROR": "We were not able to receive your data. Maybe it was a connection problem. Please try again now.",
"PAYMENTS_MODAL_STEP_4_ERROR": "We were not able to receive your data. Maybe it was a connection problem. Please try again now.",
"PC Type: <bold>{{pc_type}}</bold>": "PC Type: <bold>{{pc_type}}</bold>",
"PROFILE_EMAIL_ALREADY_EXISTS": "This email address is already in use. Please try with another one.",
"Page %current% / %total%": "Page %current% / %total%",
Expand Down Expand Up @@ -396,7 +399,6 @@
"Something went wrong": "Something went wrong",
"Spoken languages": "Spoken languages",
"Start Date": "Start Date",
"Start here_MODAL_PAYMENT_STEP_TITLE": "Start here",
"State / Province": "State / Province",
"Status": "Status",
"Status of user fiscal profile": {
Expand Down Expand Up @@ -617,9 +619,6 @@
"__WALLET_CARD-REQUEST_TITLE MAX: 40": "Manage your payment",
"__WALLET_CARD-YOUR_WALLET_MAX: 15": "Your wallet",
"__WALLET_HOME-EMPTY_STATE_MAX: 105": "Your payment history is now empty. When you start requesting your payments, you will view them here.",
"__WALLET_MODAL-REQUEST_FISCAL-TYPE_INVALID MAX: 20": "VAT registred or more than € 5,000 gross / year with occasional services",
"__WALLET_MODAL-REQUEST_FISCAL-TYPE_NON_ITALIAN MAX: 20": "other (not Italian)",
"__WALLET_MODAL-REQUEST_FISCAL-TYPE_WITHHOLDING MAX: 20": "less than € 5,000 gross / year with occasional services",
"__WALLET_TABLE-HEADER_CTA-ICON-DETAILS MAX:": "View details",
"__WALLET_TABLE-HEADER_CTA-ICON-PDF MAX:": "Download receipt",
"address": "address",
Expand All @@ -635,11 +634,11 @@
"PAYMENTS_MODAL_INVOICE_STEP_3_GET_EMAIL": "<title>Before you get the email</title>\n<p>\nCheck that everything is okay and confirm these details: you will also find them in the email we will send you after this step.\n</p>\n<p>\nAccount holder: <strong>{{accountHolder}}</strong>\n</p>\n<p>\nIBAN: <strong>{{iban}}</strong>\n</p>\n<p>\nFiscal type: <strong>{{fiscalType}}</strong>\n</p>"
},
"available tags: <br>, <p>, <strong>, <title>, <fiscalprofilelink>, <ul>, <li>": {
"PAYMENTS_MODAL_AUTOMATIC_STEP_1_RECAP{{fiscalType}}": "",
"PAYMENTS_MODAL_AUTOMATIC_STEP_1_RECAP{{fiscalType}}": "<title>Your fiscal type is:</title>\n<p>\n{{fiscalType}}\n</p>\n<strong>Need to update your fiscal type? Go to <fiscalprofilelink>your profile</fiscalprofilelink> before proceeding.</strong>",
"PAYMENTS_MODAL_INVOICE_STEP_1_RECAP{{fiscalType}}": "<title>How it works</title>\n<p>\nInsert and confirm your personal information and bank details to request your payment by bank transfer. You will get a confirmation email with the gross amount and the net receivable: use these details to create the invoice you will need to send us\n</p>\n<title>What you have to do now</title>\n<p>\n<ul>\n<li>Check that your fiscal type is correct</li>\n<li>Insert your personal information and bank details and accept the conditions</li>\n<li>Send your payment request</li>\n</ul>\n</p>\n<title>Your fiscal type is:</title>\n<p>\n{{fiscalType}}\n</p>\n<strong>Need to update your fiscal type? Go to <fiscalprofilelink>your profile</fiscalprofilelink> before proceeding.</strong>"
},
"available tags: <br>, <p>, <strong>, <title>, <ul>, <li>": {
"PAYMENTS_MODAL_AUTOMATIC_STEP_1_RECAP": ""
"PAYMENTS_MODAL_AUTOMATIC_STEP_1_RECAP": "<title>What you have to do now</title>\n<ul>\n<li>Choose the payment method and check that your fiscal type is correct</li>\n<li>Insert your personal information and accept the conditions</li>\n<li>Send your payment request</li>\n</ul>"
},
"bugform usecase select option": {
"Not a specific usecase": "None of these use cases"
Expand Down Expand Up @@ -714,6 +713,9 @@
"BUGFORM_UPLOAD_PROGRESS": "{{num}} uploaded",
"BUGFORM_UPLOAD_PROGRESS_plural": "{{num}} uploaded"
},
"__WALLET_MODAL-REQUEST_FISCAL-TYPE_INVALID MAX: 20": "VAT registred or more than € 5,000 gross / year with occasional services",
"__WALLET_MODAL-REQUEST_FISCAL-TYPE_NON_ITALIAN MAX: 20": "other (not Italian)",
"__WALLET_MODAL-REQUEST_FISCAL-TYPE_WITHHOLDING MAX: 20": "less than € 5,000 gross / year with occasional services",
"Back to wallet": "Back to Wallet",
"Confirm": "Confirm",
"Data": "Data",
Expand Down
28 changes: 15 additions & 13 deletions src/locales/es/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@
"Computer type": "Tipo de computer",
"Confirm email": "Confirma tu correo electrónico",
"Confirm password": "Confirma tu password",
"Confirm_MODAL_PAYMENT_STEP_TITLE": "",
"Connect AppQuality to one of your accounts, this will make it easier for you to access your dashboard": "Conecte Tryber a una de tus account, esto lo hará más fácil para acceder a su dashboard",
"Countries covered": "Países alcanzados",
"Country": "País de residencia",
Expand Down Expand Up @@ -236,14 +235,14 @@
"Fiscal Address": "Domicilio fiscal",
"Fiscal Type": "Régimen fiscal",
"Fiscal residence": "Residencia fiscal",
"Fiscal type": "",
"Fiscal type": "Régimen fiscal",
"Fiscal types": {
"Company": "Régimen de IVA ordinario o empresa",
"Foreign": "No residente en Italia",
"Internal employee": "Empleados UG",
"VAT": "Régimen de IVA a tanto alzado",
"Witholding < 5000€": "Dedución < 5000€",
"Witholding > 5000€": "Dedución > 5000€"
"Witholding < 5000€": "Menos de 5.000 brutos € / año con servicios ocasionales",
"Witholding > 5000€": "Mas de 5.000 brutos € / año con servicios ocasionales"
},
"For a secure password we recommend: Minimum 6 characters. An uppercase character. A numerical digit. A lowercase character.": "Para una password segura recomendamos: mínimo 6 caracteres, un carácter en mayúsculas, un número, un carácter en minúscula",
"For tax reasons we are obliged to tie this choice to binary options only": "Por razones fiscales estamos obligados a vincular esta elección a las opciones binarias sólo",
Expand All @@ -255,7 +254,6 @@
"Other": "No binario"
},
"Generic error": "Error genérico",
"Get email_MODAL_PAYMENT_STEP_TITLE": "Recibe correo",
"Getting Started": "Empezando",
"Great job!": "¡Buen Trabajo!",
"Great, next month you'll be {{level}}, give your best and conquer {{nextLevel}}": {
Expand All @@ -281,7 +279,6 @@
"Inbox": "Inbox",
"Informations": "Informaciones",
"Insert Name and surname separated by space": "Insertar nombre y apellido separados por espacio",
"Insert details_MODAL_PAYMENT_STEP_TITLE": "Introduce datos",
"Institute": "Instituto",
"Institute is a required field.": "El instituto es un campo obligatorio",
"Invalid fiscal profile": "Perfil fiscal inválido",
Expand All @@ -296,6 +293,12 @@
"Loading Data": "Cargando Datos",
"Log in with an existing account": "Regístrate más rápido",
"Login": "¿Ya eres un Tryber? Iniciar sesión",
"MODAL_PAYMENT_STEP_TITLE": {
"Confirm": "Confirmación",
"Get email": "Recibe correo",
"Insert details": "Introduce datos",
"Start here": "Empieza aquí"
},
"Male": "Masculino",
"Manufacturer": "Productor",
"Manufacturer: <bold>{{manufacturer}}</bold>": "Productor: <bold>{{manufacturer}}</bold>",
Expand Down Expand Up @@ -333,7 +336,7 @@
"Overall ranking | level {{level}}": {
"__RANKING_TITLE_LABEL_MONTH_MAX: 45": "Clasificación total | Nivel {{level}}"
},
"PAYMENTS_MODAL_INVOICE_STEP_4_ERROR": "Non abbiamo ricevuto i tuoi dati. Forse è stato un problema di connessione. Riprova adesso.",
"PAYMENTS_MODAL_STEP_4_ERROR": "Non abbiamo ricevuto i tuoi dati. Forse è stato un problema di connessione. Riprova adesso.",
"PC Type: <bold>{{pc_type}}</bold>": "Tipo de PC: <bold>{{pc_type}}</bold>",
"PROFILE_EMAIL_ALREADY_EXISTS": "Este correo electrónico ya está en uso. Por favor, introduce otro.",
"Page %current% / %total%": "Página %actual% / %total%",
Expand Down Expand Up @@ -396,7 +399,6 @@
"Something went wrong": "Parece que algo salió mal",
"Spoken languages": "Idiomas hablados",
"Start Date": "Fecha de Inicio",
"Start here_MODAL_PAYMENT_STEP_TITLE": "Empieza aquí",
"State / Province": "Estado / Provincia",
"Status": "Estado",
"Status of user fiscal profile": {
Expand Down Expand Up @@ -617,9 +619,6 @@
"__WALLET_CARD-REQUEST_TITLE MAX: 40": "Gestiona el pago",
"__WALLET_CARD-YOUR_WALLET_MAX: 15": "Tu monedero",
"__WALLET_HOME-EMPTY_STATE_MAX: 105": "Aún no has solicitado ningun pago. Cuando lo harás, podrás ver tus pagos aquí.",
"__WALLET_MODAL-REQUEST_FISCAL-TYPE_INVALID MAX: 20": "IVA registrado o más de 5.000 brutos € / año con servicios ocasionales",
"__WALLET_MODAL-REQUEST_FISCAL-TYPE_NON_ITALIAN MAX: 20": "otro (no italiano)",
"__WALLET_MODAL-REQUEST_FISCAL-TYPE_WITHHOLDING MAX: 20": "menos de 5.000 brutos € / año con servicios ocasionales",
"__WALLET_TABLE-HEADER_CTA-ICON-DETAILS MAX:": "Ver detalles",
"__WALLET_TABLE-HEADER_CTA-ICON-PDF MAX:": "Descargar recibo",
"address": "dirección",
Expand All @@ -635,11 +634,11 @@
"PAYMENTS_MODAL_INVOICE_STEP_3_GET_EMAIL": "<title>Antes de recibir el correo</title>\n<p>\nComprueba si está todo correcto y confirma los datos: también los encontrarás en el correo electrónico que te enviaremos después de este paso.\n</p>\n<p>\nTitular de la cuenta: <strong>{{accountHolder}}</strong>\n</p>\n<p>\nIBAN: <strong>{{iban}}</strong>\n</p>\n<p>\nRégimen fiscal: <strong>{{fiscalType}}</strong>\n</p>"
},
"available tags: <br>, <p>, <strong>, <title>, <fiscalprofilelink>, <ul>, <li>": {
"PAYMENTS_MODAL_AUTOMATIC_STEP_1_RECAP{{fiscalType}}": "",
"PAYMENTS_MODAL_AUTOMATIC_STEP_1_RECAP{{fiscalType}}": "<title>Aquí tu régimen fiscal:</title>\n<p>\n{{fiscalType}}\n</p>\n<strong>¿Necesitas actualizarlo? Entra en <fiscalprofilelink>tu perfil</fiscalprofilelink> antes de continuar con la solicitud de pago.</strong>",
"PAYMENTS_MODAL_INVOICE_STEP_1_RECAP{{fiscalType}}": "<title>Cómo funciona</title>\n<p>\nPara solicitar el pago por transferencia bancaria, introduce y confirma tus datos personales y bancarios. Recibirás un correo electrónico de confirmación con los importes, tanto brutos como netos: utilízalos para crear la factura o recibo que tendrás que enviarnos.\n</p>\n<title>Siguiente paso</title>\n<p>\n<ul>\n<li>Comprueba si tu régimen fiscal es correcto</li>\n<li>Introduce los datos para la transferencia y acepta las condiciones de pago</li>\n<li>Envía tu solicitud</li>\n</ul>\n</p>\n<title>Aquí tu régimen fiscal:</title>\n<p>\n{{fiscalType}}\n</p>\n<strong>¿Necesitas actualizarlo? Entra en <fiscalprofilelink>tu perfil</fiscalprofilelink> antes de continuar con la solicitud de pago.</strong>"
},
"available tags: <br>, <p>, <strong>, <title>, <ul>, <li>": {
"PAYMENTS_MODAL_AUTOMATIC_STEP_1_RECAP": ""
"PAYMENTS_MODAL_AUTOMATIC_STEP_1_RECAP": "<title>Siguiente paso</title>\n<ul>\n<li>Elige el método de pago y comprueba si tu régimen fiscal es correcto</li>\n<li>Introduce los datos y acepta las condiciones de pago </li>\n<li>Envía tu solicitud</li>\n</ul>"
},
"bugform usecase select option": {
"Not a specific usecase": "Ninguno de esos casos de uso"
Expand Down Expand Up @@ -714,6 +713,9 @@
"BUGFORM_UPLOAD_PROGRESS": "{{num}} subido",
"BUGFORM_UPLOAD_PROGRESS_plural": "{{num}} subidos"
},
"__WALLET_MODAL-REQUEST_FISCAL-TYPE_INVALID MAX: 20": "IVA registrado o más de 5.000 brutos € / año con servicios ocasionales",
"__WALLET_MODAL-REQUEST_FISCAL-TYPE_NON_ITALIAN MAX: 20": "otro (no italiano)",
"__WALLET_MODAL-REQUEST_FISCAL-TYPE_WITHHOLDING MAX: 20": "menos de 5.000 brutos € / año con servicios ocasionales",
"Back to wallet": "Volver a Monedero",
"Confirm": "Confirmación",
"Data": "Datos",
Expand Down
Loading

0 comments on commit 21e3a1d

Please sign in to comment.