From d5d14cf0956e9dc82e3c3921205c57c06435297e Mon Sep 17 00:00:00 2001 From: Mauricio Antonio da Silva Date: Wed, 21 Sep 2022 15:18:35 -0300 Subject: [PATCH 1/2] Insert translation files (i18n) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Inserção dos arquivos de tradução do módulo --- i18n/en_US.csv | 14 ++++++++++++++ i18n/pt_BR.csv | 14 ++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 i18n/en_US.csv create mode 100644 i18n/pt_BR.csv diff --git a/i18n/en_US.csv b/i18n/en_US.csv new file mode 100644 index 0000000..db9ff93 --- /dev/null +++ b/i18n/en_US.csv @@ -0,0 +1,14 @@ +"Address Information","Address Information" +"Sign Up for Newsletter","Sign Up for Newsletter" +"Personal Information","Personal Information" +"Save","Save" +"Confirm New Password","Confirm New Password" +"New Password","New Password" +"Current Password","Current Password" +"Email","Email" +"Change Email and Password","Change Email and Password" +"Change Password","Change Password" +"Change Email","Change Email" +"Account Information","Account Information" +"* Required Fields","* Required Fields" +"Your order number is: ","Your order number is: " \ No newline at end of file diff --git a/i18n/pt_BR.csv b/i18n/pt_BR.csv new file mode 100644 index 0000000..2a78c7f --- /dev/null +++ b/i18n/pt_BR.csv @@ -0,0 +1,14 @@ +"Address Information","Informação de Endereço" +"Sign Up for Newsletter","Inscreva-se no boletim informativo" +"Personal Information","Informação pessoal" +"Save","Salvar" +"Confirm New Password","Confirmar a Nova Senha" +"New Password","Nova Senha" +"Current Password","Senha atual" +"Email","E-mail" +"Change Email and Password","Alterar E-mail e Senha" +"Change Password","Alterar Senha" +"Change Email","Mudar E-mail" +"Account Information","Informação da conta" +"* Required Fields","* Campos obrigatórios" +"Your order number is: ","O número do seu pedido é: " \ No newline at end of file From 9b0755ec0017ed413ace6e0626e89810546a8d15 Mon Sep 17 00:00:00 2001 From: Mauricio Antonio da Silva Date: Wed, 21 Sep 2022 16:09:24 -0300 Subject: [PATCH 2/2] Update sucess.phtml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Correção para a tradução funcionar corretamente. --- view/frontend/templates/success.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/frontend/templates/success.phtml b/view/frontend/templates/success.phtml index d0b0b4d..3d59d89 100755 --- a/view/frontend/templates/success.phtml +++ b/view/frontend/templates/success.phtml @@ -9,7 +9,7 @@ if ($payment->getMethod() === "cc" || $payment->getMethod() === "boleto") : getIncrementId()) : ?> getCustomerId()) : ?>

- getIncrementId()); ?> + getIncrementId(); ?>

getMethod() === "boleto") : ?>