From 64d978d610407554b8983f5aa2aaef8fe34ccd5c Mon Sep 17 00:00:00 2001 From: Guilherme Pressutto Date: Tue, 25 Jul 2017 16:54:48 -0300 Subject: [PATCH 01/22] Created get_error_message method --- .../gateways/class-wc-ebanx-gateway.php | 29 +++++++++++-------- 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-gateway.php b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-gateway.php index 3691297c..e6b6ddd1 100644 --- a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-gateway.php +++ b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-gateway.php @@ -760,18 +760,7 @@ public function process_payment($order_id) $code = $e->getMessage(); - $languages = array( - 'mx' => 'es', - 'cl' => 'es', - 'pe' => 'es', - 'co' => 'es', - 'br' => 'pt-br', - ); - $language = $languages[$country]; - - $errors = WC_EBANX_Errors::get_errors(); - - $message = !empty($errors[$language][$code]) ? $errors[$language][$code] : $errors[$language]['GENERAL'] . " ({$code})"; + $message = self::get_error_message($code, $country); WC()->session->set('refresh_totals', true); WC_EBANX::log("EBANX Error: $message"); @@ -783,6 +772,22 @@ public function process_payment($order_id) } } + private static function get_error_message($code, $country) + { + $languages = array( + 'mx' => 'es', + 'cl' => 'es', + 'pe' => 'es', + 'co' => 'es', + 'br' => 'pt-br', + ); + $language = $languages[$country]; + + $errors = WC_EBANX_Errors::get_errors(); + + return !empty($errors[$language][$code]) ? $errors[$language][$code] : $errors[$language]['GENERAL'] . " ({$code})"; + } + /** * The page of order received, we call them as "Thank you pages" * From b98fd9493e9e2ca5376e218740c515ea8384275c Mon Sep 17 00:00:00 2001 From: Guilherme Pressutto Date: Tue, 25 Jul 2017 21:24:02 -0300 Subject: [PATCH 02/22] Created ebanx payment exception --- .../class-wc-ebanx-payment-exception.php | 17 +++++++++++++++++ .../woocommerce-gateway-ebanx.php | 4 ++++ 2 files changed, 21 insertions(+) create mode 100644 woocommerce-gateway-ebanx/exceptions/class-wc-ebanx-payment-exception.php diff --git a/woocommerce-gateway-ebanx/exceptions/class-wc-ebanx-payment-exception.php b/woocommerce-gateway-ebanx/exceptions/class-wc-ebanx-payment-exception.php new file mode 100644 index 00000000..d06e5fd3 --- /dev/null +++ b/woocommerce-gateway-ebanx/exceptions/class-wc-ebanx-payment-exception.php @@ -0,0 +1,17 @@ +code = $code; + $this->message = $message; + } +} diff --git a/woocommerce-gateway-ebanx/woocommerce-gateway-ebanx.php b/woocommerce-gateway-ebanx/woocommerce-gateway-ebanx.php index 249b8676..20e786c4 100644 --- a/woocommerce-gateway-ebanx/woocommerce-gateway-ebanx.php +++ b/woocommerce-gateway-ebanx/woocommerce-gateway-ebanx.php @@ -25,6 +25,7 @@ define('WC_EBANX_PLUGIN_NAME', WC_EBANX_PLUGIN_DIR_URL . basename(__FILE__)); define('WC_EBANX_GATEWAYS_DIR', __DIR__ . DIRECTORY_SEPARATOR . 'gateways' . DIRECTORY_SEPARATOR); define('WC_EBANX_SERVICES_DIR', __DIR__ . DIRECTORY_SEPARATOR . 'services' . DIRECTORY_SEPARATOR); +define('WC_EBANX_EXCEPTIONS_DIR', __DIR__ . DIRECTORY_SEPARATOR . 'exceptions' . DIRECTORY_SEPARATOR); define('WC_EBANX_LANGUAGES_DIR', dirname( plugin_basename(__FILE__) ) . '/languages/'); define('WC_EBANX_TEMPLATES_DIR', __DIR__ . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR); define('WC_EBANX_VENDOR_DIR', __DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR); @@ -505,6 +506,9 @@ private function includes() // Controllers include_once WC_EBANX_CONTROLLERS_DIR . 'class-wc-ebanx-api-controller.php'; + + // Exceptions + include_once WC_EBANX_EXCEPTIONS_DIR . 'class-wc-ebanx-payment-exception.php'; } /** From 0780186087772b55ab4f9e261fca5a5bd3a5d431 Mon Sep 17 00:00:00 2001 From: Guilherme Pressutto Date: Tue, 25 Jul 2017 21:25:08 -0300 Subject: [PATCH 03/22] Using ebanx payment exception --- .../gateways/class-wc-ebanx-gateway.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-gateway.php b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-gateway.php index e6b6ddd1..0257a3c3 100644 --- a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-gateway.php +++ b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-gateway.php @@ -758,9 +758,7 @@ public function process_payment($order_id) $country = $this->getTransactionAddress('country'); - $code = $e->getMessage(); - - $message = self::get_error_message($code, $country); + $message = self::get_error_message($e, $country); WC()->session->set('refresh_totals', true); WC_EBANX::log("EBANX Error: $message"); @@ -772,8 +770,10 @@ public function process_payment($order_id) } } - private static function get_error_message($code, $country) + private static function get_error_message($exception, $country) { + $code = $exception->getCode(); + $languages = array( 'mx' => 'es', 'cl' => 'es', @@ -926,6 +926,7 @@ protected function save_user_meta_fields($order) protected function process_response_error($request, $order) { $code = isset($request->status_code) ? $request->status_code : 'GENERAL'; + $status_message = isset($request->status_message) ? $request->status_message : ''; $error_message = __(sprintf('EBANX: An error occurred: %s - %s', $code, $request->status_message), 'woocommerce-gateway-ebanx'); $order->update_status('failed', $error_message); @@ -933,7 +934,7 @@ protected function process_response_error($request, $order) do_action('ebanx_process_response_error', $order, $code); - throw new Exception($code); + throw new WC_EBANX_Payment_Exception($status_message, $code); } /** From f709a941ba760558a2968b292a118759041f4958 Mon Sep 17 00:00:00 2001 From: Guilherme Pressutto Date: Tue, 25 Jul 2017 21:27:37 -0300 Subject: [PATCH 04/22] Showing BP-DR-6 --- .../gateways/class-wc-ebanx-gateway.php | 11 +++++++++++ .../services/class-wc-ebanx-errors.php | 1 + 2 files changed, 12 insertions(+) diff --git a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-gateway.php b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-gateway.php index 0257a3c3..d77a0705 100644 --- a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-gateway.php +++ b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-gateway.php @@ -785,6 +785,17 @@ private static function get_error_message($exception, $country) $errors = WC_EBANX_Errors::get_errors(); + if ($code === 'BP-DR-6' && $language === 'es') { + $error_info = array(); + preg_match('/Amount must be greater than (\w{3}) (.+)/', + $exception->getMessage(), + $error_info + ); + $amount = $error_info[2]; + $currency = $error_info[1]; + return sprintf($errors[$language][$code], wc_price($amount, array('currency' => $currency))); + } + return !empty($errors[$language][$code]) ? $errors[$language][$code] : $errors[$language]['GENERAL'] . " ({$code})"; } diff --git a/woocommerce-gateway-ebanx/services/class-wc-ebanx-errors.php b/woocommerce-gateway-ebanx/services/class-wc-ebanx-errors.php index 25bcb904..e75da772 100644 --- a/woocommerce-gateway-ebanx/services/class-wc-ebanx-errors.php +++ b/woocommerce-gateway-ebanx/services/class-wc-ebanx-errors.php @@ -62,6 +62,7 @@ public static function get_errors() { ), 'es' => array( 'GENERAL' => 'No pudimos concluir tu compra. Por favor intenta nuevamente o entra en contacto con el sitio web.', + 'BP-DR-6' => 'Para este opción de pago, el valor mínimo permitido es de %s. Elige otro método y finaliza tu pago.', 'BP-DR-13' => 'Por favor, escribe tu nombre completo.', 'BP-DR-15' => 'El email no es válido. ', 'BP-DR-19' => 'Escribe tu fecha de nacimiento en el formato DD/MM/AA.', From 5d9ad087d0ccbd4e5ee4993859f4f6e284aa0140 Mon Sep 17 00:00:00 2001 From: Guilherme Pressutto Date: Wed, 26 Jul 2017 15:11:32 -0300 Subject: [PATCH 05/22] Fixed throwing old exception --- woocommerce-gateway-ebanx/gateways/class-wc-ebanx-gateway.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-gateway.php b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-gateway.php index d77a0705..3306954d 100644 --- a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-gateway.php +++ b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-gateway.php @@ -772,7 +772,7 @@ public function process_payment($order_id) private static function get_error_message($exception, $country) { - $code = $exception->getCode(); + $code = $exception->getCode() ?: $exception->getMessage(); $languages = array( 'mx' => 'es', From 51fb24ffa71ff36c6c657ff1a8fbb4b6eb05fdb8 Mon Sep 17 00:00:00 2001 From: Guilherme Pressutto Date: Wed, 26 Jul 2017 15:19:30 -0300 Subject: [PATCH 06/22] Created phpdoc --- .../gateways/class-wc-ebanx-gateway.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-gateway.php b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-gateway.php index 3306954d..c757a115 100644 --- a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-gateway.php +++ b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-gateway.php @@ -770,6 +770,13 @@ public function process_payment($order_id) } } + /** + * Get the error message + * + * @param Exception $exception + * @param string $country + * @return string + */ private static function get_error_message($exception, $country) { $code = $exception->getCode() ?: $exception->getMessage(); From 99f74985f81c8d3fa81fc7a66206f8fd6759b446 Mon Sep 17 00:00:00 2001 From: Anderson Campanha Date: Tue, 1 Aug 2017 19:02:58 -0300 Subject: [PATCH 07/22] Add translation in PT_br to all messages --- .../woocommerce-gateway-ebanx-pt_BR.mo | Bin 2550 -> 22438 bytes .../woocommerce-gateway-ebanx-pt_BR.po | 765 +++++++++++------- 2 files changed, 461 insertions(+), 304 deletions(-) diff --git a/woocommerce-gateway-ebanx/languages/woocommerce-gateway-ebanx-pt_BR.mo b/woocommerce-gateway-ebanx/languages/woocommerce-gateway-ebanx-pt_BR.mo index c9af24095eb75c4ce5525f1be96ef6c5b4804426..654a2e5e1eefc122c65e9ceff5ec5cf7db87b502 100644 GIT binary patch literal 22438 zcmds{+3$Uxd(Q9t-sd;^+jCF*V8HJw+DmC4Jv|6sbPC63>uL~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PuuU#&pPyS5cP}(!i_D=j93ACib#W{vUwYMdxJ&*34JWn5 diff --git a/woocommerce-gateway-ebanx/languages/woocommerce-gateway-ebanx-pt_BR.po b/woocommerce-gateway-ebanx/languages/woocommerce-gateway-ebanx-pt_BR.po index 21f75652..a3ba7b8f 100644 --- a/woocommerce-gateway-ebanx/languages/woocommerce-gateway-ebanx-pt_BR.po +++ b/woocommerce-gateway-ebanx/languages/woocommerce-gateway-ebanx-pt_BR.po @@ -1,15 +1,15 @@ msgid "" msgstr "" "Project-Id-Version: \n" -"POT-Creation-Date: 2017-04-25 13:30-0300\n" -"PO-Revision-Date: 2017-04-25 13:30-0300\n" +"POT-Creation-Date: 2017-08-01 18:54-0300\n" +"PO-Revision-Date: 2017-08-01 18:57-0300\n" "Last-Translator: \n" "Language-Team: EBANX\n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.0.1\n" +"X-Generator: Poedit 1.8.7.1\n" "X-Poedit-Basepath: ..\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "X-Poedit-SourceCharset: UTF-8\n" @@ -23,557 +23,646 @@ msgstr "" #: gateways/class-wc-ebanx-account-gateway.php:15 msgid "EBANX - ACCOUNT" -msgstr "" +msgstr "EBANX - CONTA" #: gateways/class-wc-ebanx-account-gateway.php:18 msgid "Saldo EBANX" -msgstr "" +msgstr "Saldo EBANX" #: gateways/class-wc-ebanx-account-gateway.php:19 msgid "Pague usando o saldo da sua conta do EBANX." -msgstr "" +msgstr "Pague usando o saldo da sua conta do EBANX." #: gateways/class-wc-ebanx-baloto-gateway.php:15 msgid "EBANX - Baloto" -msgstr "" +msgstr "EBANX - Baloto" #: gateways/class-wc-ebanx-baloto-gateway.php:18 msgid "Baloto" -msgstr "" +msgstr "Baloto" #: gateways/class-wc-ebanx-baloto-gateway.php:19 msgid "Paga con Baloto." -msgstr "" +msgstr "Paga com Baloto." #: gateways/class-wc-ebanx-banking-ticket-gateway.php:15 msgid "EBANX - Banking Ticket" -msgstr "" +msgstr "EBANX - Boleto" #: gateways/class-wc-ebanx-banking-ticket-gateway.php:18 msgid "Boleto EBANX" -msgstr "" +msgstr "Boleto EBANX" #: gateways/class-wc-ebanx-banking-ticket-gateway.php:19 msgid "Pague com boleto bancário." -msgstr "" +msgstr "Pague com boleto bancário." #: gateways/class-wc-ebanx-credit-card-br-gateway.php:14 -#, fuzzy -#| msgid "EBANX - Credit Cards" msgid "EBANX - Credit Card Brazil" -msgstr "EBANX - Cartões de Crédito" - -#: gateways/class-wc-ebanx-credit-card-br-gateway.php:16 -msgid "Cartão de Crédito" -msgstr "" +msgstr "EBANX - Cartões de Crédito no Brasil" -#: gateways/class-wc-ebanx-credit-card-br-gateway.php:17 -msgid "Pague com cartão de crédito." -msgstr "" +#: gateways/class-wc-ebanx-credit-card-co-gateway.php:15 +msgid "EBANX - Credit Card Colombia" +msgstr "EBANX - Cartões de Crédito na Colômbia" #: gateways/class-wc-ebanx-credit-card-gateway.php:47 msgid "Capture by EBANX" -msgstr "" +msgstr "Capturado pelo EBANX" -#: gateways/class-wc-ebanx-credit-card-gateway.php:89 +#: gateways/class-wc-ebanx-credit-card-gateway.php:91 #, php-format msgid "EBANX: The transaction was captured with the following: %s" -msgstr "" +msgstr "EBANX: A transação foi capturada com o seguinte: %s" -#: gateways/class-wc-ebanx-credit-card-gateway.php:95 +#: gateways/class-wc-ebanx-credit-card-gateway.php:97 msgid "EBANX: Transaction Failed" -msgstr "" +msgstr "EBANX: A transação falhou" -#: gateways/class-wc-ebanx-credit-card-gateway.php:99 +#: gateways/class-wc-ebanx-credit-card-gateway.php:101 msgid "EBANX: Transaction Pending" -msgstr "" +msgstr "EBANX: Transação Pendente" -#: gateways/class-wc-ebanx-credit-card-gateway.php:116 +#: gateways/class-wc-ebanx-credit-card-gateway.php:118 #, php-format msgid "" "EBANX - Unknown error, enter in contact with Ebanx and inform this error " "code: %s." msgstr "" +"EBANX - Erro desconhecido. entre en contato com o EBANX e informe este " +"código de erro: %s." -#: gateways/class-wc-ebanx-credit-card-gateway.php:121 +#: gateways/class-wc-ebanx-credit-card-gateway.php:123 msgid "EBANX - Payment cannot be captured, changing it to Failed." -msgstr "" +msgstr "EBANX - O pagamento não pode ser capturado, mudando para Falho." -#: gateways/class-wc-ebanx-credit-card-gateway.php:125 +#: gateways/class-wc-ebanx-credit-card-gateway.php:127 msgid "EBANX - Payment has already been captured, changing it to Processing." -msgstr "" +msgstr "EBANX - O pagamento já foi capturado, mudando para Processando" -#: gateways/class-wc-ebanx-credit-card-gateway.php:129 +#: gateways/class-wc-ebanx-credit-card-gateway.php:131 msgid "EBANX - Payment cannot be captured, changing it to Pending." -msgstr "" +msgstr "EBANX - O pagamento não pôde ser capturado, mudando para Pendente" #: gateways/class-wc-ebanx-credit-card-mx-gateway.php:15 msgid "EBANX - Credit Card Mexico" -msgstr "EBANX - Cartões de Crédito no Chile" - -#: gateways/class-wc-ebanx-credit-card-mx-gateway.php:17 -msgid "Tarjeta de Crédito" -msgstr "" - -#: gateways/class-wc-ebanx-credit-card-mx-gateway.php:18 -msgid "Pay with credit card." -msgstr "" +msgstr "EBANX - Cartões de Crédito no México" #: gateways/class-wc-ebanx-debit-card-gateway.php:15 msgid "EBANX - Debit Card" -msgstr "" - -#: gateways/class-wc-ebanx-debit-card-gateway.php:18 -msgid "Tarjeta de Débito" -msgstr "" - -#: gateways/class-wc-ebanx-debit-card-gateway.php:19 -msgid "Paga con tarjeta de débito." -msgstr "" +msgstr "EBANX - Cartão de Débito" #: gateways/class-wc-ebanx-eft-gateway.php:15 msgid "EBANX - PSE" -msgstr "" +msgstr "EBANX - PSE" #: gateways/class-wc-ebanx-eft-gateway.php:18 msgid "PSE - Pago Seguros en Línea" -msgstr "" +msgstr "PSE - Pago Seguros en Línea" #: gateways/class-wc-ebanx-eft-gateway.php:19 msgid "Paga con PSE - Pago Seguros en Línea." -msgstr "" +msgstr "Pague com PSE - Pago Seguros en Línea." -#: gateways/class-wc-ebanx-gateway.php:154 +#: gateways/class-wc-ebanx-gateway.php:172 msgid "Select an option" -msgstr "" +msgstr "Selecione uma opção" -#: gateways/class-wc-ebanx-gateway.php:158 -#: gateways/class-wc-ebanx-global-gateway.php:367 +#: gateways/class-wc-ebanx-gateway.php:176 +#: gateways/class-wc-ebanx-global-gateway.php:402 msgid "CPF - Individuals" -msgstr "" +msgstr "CPF - Indivíduos" -#: gateways/class-wc-ebanx-gateway.php:159 -#: gateways/class-wc-ebanx-global-gateway.php:368 +#: gateways/class-wc-ebanx-gateway.php:177 +#: gateways/class-wc-ebanx-global-gateway.php:403 msgid "CNPJ - Companies" -msgstr "" +msgstr "CNPJ - Companhias" -#: gateways/class-wc-ebanx-gateway.php:165 -#: gateways/class-wc-ebanx-gateway.php:185 +#: gateways/class-wc-ebanx-gateway.php:183 +#: gateways/class-wc-ebanx-gateway.php:203 +#: templates/compliance-fields-br.php:16 templates/compliance-fields-cl.php:16 msgid "Birth Date" msgstr "Data de Nascimento" -#: gateways/class-wc-ebanx-gateway.php:385 +#: gateways/class-wc-ebanx-gateway.php:383 +msgid "No reason specified." +msgstr "Nenhuma razão especificada." + +#: gateways/class-wc-ebanx-gateway.php:407 +msgid "The payment cannot be refunded because it is not confirmed." +msgstr "O pagamento não pode ser reembolsado porque não está confirmado." + +#: gateways/class-wc-ebanx-gateway.php:418 #, php-format -msgid "EBANX: Refund requested to EBANX %s - Refund ID: %s - Reason: %s." +msgid "EBANX: Refund requested. %s - Refund ID: %s - Reason: %s." +msgstr "EBANX: Reebolso requisitado. %s - ID do reembolso: %s - Razão: %s." + +#: gateways/class-wc-ebanx-gateway.php:427 +msgid "We could not finish processing this refund. Please try again." msgstr "" +"Não pudemos terminar de processar este reebolso. Por favor, tente novamente." -#: gateways/class-wc-ebanx-gateway.php:872 +#: gateways/class-wc-ebanx-gateway.php:943 +#, php-format +msgid "Processing response: %s" +msgstr "Processando resposta: %s" + +#: gateways/class-wc-ebanx-gateway.php:963 msgid "EBANX: The payment has failed." -msgstr "" +msgstr "EBANX: O pagamento falhou." -#: gateways/class-wc-ebanx-gateway.php:877 +#: gateways/class-wc-ebanx-gateway.php:968 msgid "EBANX: The payment was opened." -msgstr "" +msgstr "EBANX: O pagamento foi aberto." -#: gateways/class-wc-ebanx-gateway.php:882 +#: gateways/class-wc-ebanx-gateway.php:973 msgid "EBANX: The order is awaiting payment." -msgstr "" +msgstr "EBANX: A pedido está aguardando pagamento." -#: gateways/class-wc-ebanx-gateway.php:887 +#: gateways/class-wc-ebanx-gateway.php:978 msgid "EBANX: The transaction was paid." -msgstr "" +msgstr "EBANX: A transação foi paga." -#: gateways/class-wc-ebanx-gateway.php:943 +#: gateways/class-wc-ebanx-gateway.php:1073 +#, php-format +msgid "EBANX: The payment has been updated to: %s." +msgstr "EBANX: O pagamento foi atualizado para: %s." + +#: gateways/class-wc-ebanx-gateway.php:1092 #, php-format msgid "EBANX: Your Refund was confirmed to EBANX - Refund ID: %s" -msgstr "" +msgstr "EBANX: Seu reebolso foi confirmado para o EBANX - ID do reembolso: %s" -#: gateways/class-wc-ebanx-gateway.php:946 +#: gateways/class-wc-ebanx-gateway.php:1095 #, php-format msgid "EBANX: Your Refund was canceled to EBANX - Refund ID: %s" -msgstr "" +msgstr "EBANX: Seu Reembolso foi cancelado para o EBANX - ID do reembolso: %s" -#: gateways/class-wc-ebanx-global-gateway.php:65 +#: gateways/class-wc-ebanx-global-gateway.php:70 msgid "EBANX" -msgstr "" +msgstr "EBANX" -#: gateways/class-wc-ebanx-global-gateway.php:66 +#: gateways/class-wc-ebanx-global-gateway.php:71 msgid "" "EBANX easy-to-setup checkout allows your business to accept local payments " "in Brazil, Mexico, Colombia, Chile & Peru." msgstr "" +"O checkout de fácil configuração do EBANX permite a seu negócio aceitar " +"pagamento locais no Brasil, Mexico, Colômbia, Chile e Peru." -#: gateways/class-wc-ebanx-global-gateway.php:93 +#: gateways/class-wc-ebanx-global-gateway.php:98 msgid "Days To Expiration must be greater than or equal to 1." -msgstr "" +msgstr "Dias para o vencimento deve ser maior ou igual a 1." -#: gateways/class-wc-ebanx-global-gateway.php:111 +#: gateways/class-wc-ebanx-global-gateway.php:116 msgid "Integration" -msgstr "" +msgstr "Integração" -#: gateways/class-wc-ebanx-global-gateway.php:113 +#: gateways/class-wc-ebanx-global-gateway.php:118 msgid "" "You can obtain the integration keys in the settings section, logging in to " "the EBANX Dashboard." "" msgstr "" +"Você pode obter as chaves de integração na seção de configurações, fazendo " +"log in no EBANX " +"Dashboard." -#: gateways/class-wc-ebanx-global-gateway.php:116 +#: gateways/class-wc-ebanx-global-gateway.php:121 msgid "Sandbox Integration Key" -msgstr "" +msgstr "Chave de Integração de Sandbox" -#: gateways/class-wc-ebanx-global-gateway.php:120 +#: gateways/class-wc-ebanx-global-gateway.php:125 msgid "Sandbox Public Integration Key" -msgstr "" +msgstr "Chave de Integração Pública de Sandbox" -#: gateways/class-wc-ebanx-global-gateway.php:124 +#: gateways/class-wc-ebanx-global-gateway.php:129 msgid "Live Integration Key" -msgstr "" +msgstr "Chave de Integração Live" -#: gateways/class-wc-ebanx-global-gateway.php:128 +#: gateways/class-wc-ebanx-global-gateway.php:133 msgid "Live Public Integration Key" -msgstr "" +msgstr "Chave de Integração Pública Live" -#: gateways/class-wc-ebanx-global-gateway.php:132 +#: gateways/class-wc-ebanx-global-gateway.php:137 msgid "EBANX Sandbox" -msgstr "" +msgstr "EBANX Sandbox" -#: gateways/class-wc-ebanx-global-gateway.php:134 +#: gateways/class-wc-ebanx-global-gateway.php:139 msgid "Enable Sandbox Mode" -msgstr "" +msgstr "Habilitar Modo Sandbox" -#: gateways/class-wc-ebanx-global-gateway.php:135 +#: gateways/class-wc-ebanx-global-gateway.php:140 msgid "" "EBANX Sandbox is a testing environment that mimics the live environment. Use " "it to make payment requests to see how your ecommerce processes them." msgstr "" +"EBANX Sandbox é um ambiente de testes que simula o ambiente Live. Use-o para " +"fazer requisições de pagamento para ver como seu ecommerce as processa." -#: gateways/class-wc-ebanx-global-gateway.php:139 +#: gateways/class-wc-ebanx-global-gateway.php:144 msgid "Debug Log" -msgstr "" +msgstr "Debug Log" -#: gateways/class-wc-ebanx-global-gateway.php:140 +#: gateways/class-wc-ebanx-global-gateway.php:145 msgid "Enable Debug Log" -msgstr "" +msgstr "Habilitar Debug Log" -#: gateways/class-wc-ebanx-global-gateway.php:141 +#: gateways/class-wc-ebanx-global-gateway.php:146 msgid "Record all errors that occur when executing a transaction." -msgstr "" +msgstr "Gravar todos os erros que ocorram quando executando uma transação." -#: gateways/class-wc-ebanx-global-gateway.php:146 +#: gateways/class-wc-ebanx-global-gateway.php:151 msgid "Enable Payment Methods" -msgstr "" +msgstr "Habilitar Métodos de Pagamento" -#: gateways/class-wc-ebanx-global-gateway.php:148 +#: gateways/class-wc-ebanx-global-gateway.php:153 msgid "" "Set up payment methods for your checkout. Confirm that method is enabled on " "your contract." msgstr "" +"Defina métodos de pagamento para seu checkout. Confirme que o método está " +"habilitado em seu contrato." -#: gateways/class-wc-ebanx-global-gateway.php:151 +#: gateways/class-wc-ebanx-global-gateway.php:156 msgid "Brazil" -msgstr "" +msgstr "Brasil" -#: gateways/class-wc-ebanx-global-gateway.php:168 +#: gateways/class-wc-ebanx-global-gateway.php:173 msgid "Mexico" -msgstr "" +msgstr "México" -#: gateways/class-wc-ebanx-global-gateway.php:183 +#: gateways/class-wc-ebanx-global-gateway.php:188 msgid "Chile" -msgstr "" +msgstr "Chile" -#: gateways/class-wc-ebanx-global-gateway.php:196 +#: gateways/class-wc-ebanx-global-gateway.php:205 msgid "Colombia" -msgstr "" +msgstr "Colômbia" -#: gateways/class-wc-ebanx-global-gateway.php:209 +#: gateways/class-wc-ebanx-global-gateway.php:220 msgid "Peru" -msgstr "" +msgstr "Peru" -#: gateways/class-wc-ebanx-global-gateway.php:222 +#: gateways/class-wc-ebanx-global-gateway.php:233 msgid "Payment Options" -msgstr "" +msgstr "Opções de Pagamento" -#: gateways/class-wc-ebanx-global-gateway.php:226 +#: gateways/class-wc-ebanx-global-gateway.php:237 msgid "Credit Card" -msgstr "" +msgstr "Cartão de Crédito" -#: gateways/class-wc-ebanx-global-gateway.php:231 +#: gateways/class-wc-ebanx-global-gateway.php:242 msgid "Save Card Data" -msgstr "" +msgstr "Salvar Dados do Cartão" -#: gateways/class-wc-ebanx-global-gateway.php:233 +#: gateways/class-wc-ebanx-global-gateway.php:244 msgid "Enable saving card data" -msgstr "" +msgstr "Habilitar salvamento dos dados de cartão" -#: gateways/class-wc-ebanx-global-gateway.php:234 +#: gateways/class-wc-ebanx-global-gateway.php:245 msgid "" "Allow your customer to save credit card and debit card data for future " "purchases." msgstr "" +"Permita a seu cliente salvar dados de cartões de crédito e débito para " +"compras futuras." -#: gateways/class-wc-ebanx-global-gateway.php:240 +#: gateways/class-wc-ebanx-global-gateway.php:251 msgid "One-Click Payment" -msgstr "" +msgstr "Pagamento em um clique" -#: gateways/class-wc-ebanx-global-gateway.php:241 +#: gateways/class-wc-ebanx-global-gateway.php:252 msgid "Enable one-click-payment" -msgstr "" +msgstr "Habilitar pagamento em um clique" -#: gateways/class-wc-ebanx-global-gateway.php:242 +#: gateways/class-wc-ebanx-global-gateway.php:253 msgid "" "Allow your customer to complete payments in one-click using credit cards " "saved." msgstr "" +"Permitir a seu cliente completar pagamentos em um clique usando cartões de " +"crédito salvos." -#: gateways/class-wc-ebanx-global-gateway.php:248 +#: gateways/class-wc-ebanx-global-gateway.php:259 msgid "Enable Auto-Capture" -msgstr "" +msgstr "Habilitar Auto-Captura" -#: gateways/class-wc-ebanx-global-gateway.php:249 +#: gateways/class-wc-ebanx-global-gateway.php:260 msgid "Capture the payment immediately" -msgstr "" +msgstr "Capturar o pagamento imediatamente" -#: gateways/class-wc-ebanx-global-gateway.php:250 +#: gateways/class-wc-ebanx-global-gateway.php:261 msgid "" "Automatically capture payments from your customers, just for credit card. " "Otherwise you will need to capture the payment going to: WooCommerce -> " "Orders. Not captured payments will be cancelled in 4 days." msgstr "" +"Capture automaticamente pagamentos de seus clientes, apenas para cartão de " +"crédito. Caso contrário você precisará capturar o pagamento indo em: " +"WooCommerce -> Orders. Pagamentos não capturados serão cancelados em 4 dias." -#: gateways/class-wc-ebanx-global-gateway.php:255 +#: gateways/class-wc-ebanx-global-gateway.php:266 msgid "Maximum nº of Instalments" -msgstr "" +msgstr "Nº máximo de parcelas" -#: gateways/class-wc-ebanx-global-gateway.php:272 +#: gateways/class-wc-ebanx-global-gateway.php:307 msgid "" "Establish the maximum number of instalments in which your customer can pay, " -"as consented on your contract." +"as consented on your contract. Only Colombia supports more than 12." msgstr "" +"Estabeleça o número máximo de parcelas em que seu cliente pode pagar, como " +"consentido em seu contrato. Apenas a Colômbia aceita mais de 12." -#: gateways/class-wc-ebanx-global-gateway.php:279 +#: gateways/class-wc-ebanx-global-gateway.php:314 #, php-format -msgid "Minimum instalment (%s)" -msgstr "" +msgid "Minimum Instalment (%s)" +msgstr "Parcela mínima (%s)" -#: gateways/class-wc-ebanx-global-gateway.php:282 +#: gateways/class-wc-ebanx-global-gateway.php:317 #, php-format msgid "The default is %d" -msgstr "" +msgstr "O padrão é %d" -#: gateways/class-wc-ebanx-global-gateway.php:289 +#: gateways/class-wc-ebanx-global-gateway.php:324 msgid "" "Set the minimum instalment value during checkout. The minimum EBANX allows " "for BRL is 20 and MXN is 100, lower values in these currencies will be " "ignored." msgstr "" +"Estabeleça o valor mínimo da parcela durante o checkout. O mínimo que o " +"EBANX permite para BRL é 20 e MXN é 100, valores menores nestas moedas serão " +"ignorados." -#: gateways/class-wc-ebanx-global-gateway.php:295 +#: gateways/class-wc-ebanx-global-gateway.php:330 msgid "Interest Rates" -msgstr "" +msgstr "Taxa de Juros" -#: gateways/class-wc-ebanx-global-gateway.php:296 +#: gateways/class-wc-ebanx-global-gateway.php:331 msgid "Enable Interest Rates" -msgstr "" +msgstr "Habilitar Taxa de Juros" -#: gateways/class-wc-ebanx-global-gateway.php:297 +#: gateways/class-wc-ebanx-global-gateway.php:332 msgid "" "Enable and set a custom interest rate for your customers according to the " "number of Instalments you allow the payment." msgstr "" +"Habilitar e estabelecer uma taxa de juros personalizada para seus clientes " +"de acordo com o número de parcelas que você permite para o pagamento." -#: gateways/class-wc-ebanx-global-gateway.php:304 +#: gateways/class-wc-ebanx-global-gateway.php:339 msgid "1x Interest Rate in %" -msgstr "" +msgstr "1x Taxa de Juro em %" -#: gateways/class-wc-ebanx-global-gateway.php:311 -#: gateways/class-wc-ebanx-global-gateway.php:323 +#: gateways/class-wc-ebanx-global-gateway.php:346 +#: gateways/class-wc-ebanx-global-gateway.php:358 msgid "eg: 15.7%" -msgstr "" +msgstr "eg: 15.7%" -#: gateways/class-wc-ebanx-global-gateway.php:316 +#: gateways/class-wc-ebanx-global-gateway.php:351 msgid "x Interest Rate" -msgstr "" +msgstr "x Taxa de Juro" -#: gateways/class-wc-ebanx-global-gateway.php:331 +#: gateways/class-wc-ebanx-global-gateway.php:366 msgid "Cash Payments" -msgstr "" +msgstr "Pagamentos em Dinheiro" -#: gateways/class-wc-ebanx-global-gateway.php:336 +#: gateways/class-wc-ebanx-global-gateway.php:371 msgid "Days to Expiration" -msgstr "" +msgstr "Dias para o Vencimento" -#: gateways/class-wc-ebanx-global-gateway.php:338 +#: gateways/class-wc-ebanx-global-gateway.php:373 msgid "" "Define the maximum number of days on which your customer can complete the " "payment of: Boleto, OXXO, Sencilito, PagoEfectivo and SafetyPay." msgstr "" +"Defina o número máximo de dias em que seu cliente pode completar o pagamento " +"de: Boleto, OXXO, Sencillito, PagoEfectivo e SafetyPay." -#: gateways/class-wc-ebanx-global-gateway.php:358 +#: gateways/class-wc-ebanx-global-gateway.php:393 msgid "Advanced Options" -msgstr "" +msgstr "Opções Avançadas" -#: gateways/class-wc-ebanx-global-gateway.php:362 +#: gateways/class-wc-ebanx-global-gateway.php:397 msgid "Enable Checkout for:" -msgstr "" +msgstr "Habilitar Checkout para:" -#: gateways/class-wc-ebanx-global-gateway.php:371 +#: gateways/class-wc-ebanx-global-gateway.php:406 msgid "" "In order to process with the EBANX Plugin in Brazil there a few mandatory " "fields such as CPF identification for individuals and CNPJ for companies." msgstr "" +"Para processar com o Plugin EBANX no Brasil há alguns campos obrigatórios " +"como CPF para indivíduos e CNPJ para Companhias." -#: gateways/class-wc-ebanx-global-gateway.php:375 +#: gateways/class-wc-ebanx-global-gateway.php:410 msgid "Checkout Manager" -msgstr "" +msgstr "Administrador de Checkout" -#: gateways/class-wc-ebanx-global-gateway.php:376 +#: gateways/class-wc-ebanx-global-gateway.php:411 msgid "Use my checkout manager fields" -msgstr "" +msgstr "Usar campos do meu administrador de checkout" -#: gateways/class-wc-ebanx-global-gateway.php:379 +#: gateways/class-wc-ebanx-global-gateway.php:414 msgid "" "If you make use of a Checkout Manager, please identify the HTML name " "attribute of the fields." msgstr "" +"Se você usa um administrador de checkout, por favor identifique o nome do " +"atributo HTML dos campos" -#: gateways/class-wc-ebanx-global-gateway.php:383 +#: gateways/class-wc-ebanx-global-gateway.php:418 msgid "Entity Type Selector" -msgstr "" +msgstr "Seletor de Tipo de Entidade" -#: gateways/class-wc-ebanx-global-gateway.php:386 +#: gateways/class-wc-ebanx-global-gateway.php:421 msgid "eg: billing_brazil_entity" -msgstr "" +msgstr "eg: billing_brazil_entity" -#: gateways/class-wc-ebanx-global-gateway.php:389 +#: gateways/class-wc-ebanx-global-gateway.php:424 msgid "CPF" -msgstr "" +msgstr "CPF" -#: gateways/class-wc-ebanx-global-gateway.php:392 +#: gateways/class-wc-ebanx-global-gateway.php:427 msgid "eg: billing_brazil_cpf" -msgstr "" +msgstr "eg: billing_brazil_cpf" -#: gateways/class-wc-ebanx-global-gateway.php:395 -#, fuzzy -#| msgid "Birth Date" +#: gateways/class-wc-ebanx-global-gateway.php:430 msgid "Birthdate Brazil" -msgstr "Data de Nascimento" +msgstr "Data de Nascimento no Brasil" -#: gateways/class-wc-ebanx-global-gateway.php:398 +#: gateways/class-wc-ebanx-global-gateway.php:433 msgid "eg: billing_brazil_birth_date" -msgstr "" +msgstr "eg: billing_brazil_birth_date" -#: gateways/class-wc-ebanx-global-gateway.php:401 +#: gateways/class-wc-ebanx-global-gateway.php:436 msgid "CNPJ" -msgstr "" +msgstr "CNPJ" -#: gateways/class-wc-ebanx-global-gateway.php:404 +#: gateways/class-wc-ebanx-global-gateway.php:439 msgid "eg: billing_brazil_cnpj" -msgstr "" +msgstr "eg: billing_brazil_cnpj" -#: gateways/class-wc-ebanx-global-gateway.php:407 +#: gateways/class-wc-ebanx-global-gateway.php:442 msgid "RUT" -msgstr "" +msgstr "RUT" -#: gateways/class-wc-ebanx-global-gateway.php:410 +#: gateways/class-wc-ebanx-global-gateway.php:445 msgid "eg: billing_chile_document" -msgstr "" +msgstr "eg: billing_chile_document" -#: gateways/class-wc-ebanx-global-gateway.php:413 +#: gateways/class-wc-ebanx-global-gateway.php:448 msgid "Birthdate Chile" msgstr "Data de Nascimento no Chile" -#: gateways/class-wc-ebanx-global-gateway.php:416 +#: gateways/class-wc-ebanx-global-gateway.php:451 msgid "eg: billing_chile_birth_date" -msgstr "" +msgstr "eg: billing_chile_birth_date" -#: gateways/class-wc-ebanx-global-gateway.php:419 +#: gateways/class-wc-ebanx-global-gateway.php:454 msgid "DNI" -msgstr "" +msgstr "DNI" -#: gateways/class-wc-ebanx-global-gateway.php:422 +#: gateways/class-wc-ebanx-global-gateway.php:457 msgid "eg: billing_colombia_document" +msgstr "eg: billing_colombia_document" + +#: gateways/class-wc-ebanx-global-gateway.php:460 +msgid "Total Local Amount" +msgstr "Quantia total local" + +#: gateways/class-wc-ebanx-global-gateway.php:461 +msgid "" +"Show your customer the total purchase amount in local currency on the " +"checkout" msgstr "" +"Mostrar para seu cliente a quantia total da compra em moeda local no checkout" + +#: gateways/class-wc-ebanx-global-gateway.php:465 +msgid "IOF on Local Amount" +msgstr "IOF na Quantia Local" + +#: gateways/class-wc-ebanx-global-gateway.php:466 +msgid "Apply IOF when calculating the price in BRL on the checkout" +msgstr "Aplicar o IOF quando calcular o preço em BRL no checkout" + +#: gateways/class-wc-ebanx-multicaja-gateway.php:15 +msgid "EBANX - Multicaja" +msgstr "EBANX - Multicaja" + +#: gateways/class-wc-ebanx-multicaja-gateway.php:17 +msgid "Multicaja" +msgstr "Multicaja" + +#: gateways/class-wc-ebanx-multicaja-gateway.php:18 +msgid "Paga con multicaja." +msgstr "Pague com multicaja." #: gateways/class-wc-ebanx-oxxo-gateway.php:15 msgid "EBANX - OXXO" -msgstr "" +msgstr "EBANX - OXXO" #: gateways/class-wc-ebanx-oxxo-gateway.php:18 msgid "OXXO" -msgstr "" +msgstr "OXXO" #: gateways/class-wc-ebanx-oxxo-gateway.php:19 msgid "Paga con boleta OXXO." -msgstr "" +msgstr "Pague com OXXO." #: gateways/class-wc-ebanx-pagoefectivo-gateway.php:15 msgid "EBANX - Pagoefectivo" -msgstr "" +msgstr "EBANX - Pagoefectivo" #: gateways/class-wc-ebanx-pagoefectivo-gateway.php:18 msgid "PagoEfectivo" -msgstr "" +msgstr "PagoEfectivo" #: gateways/class-wc-ebanx-pagoefectivo-gateway.php:19 msgid "Paga con PagoEfectivo." -msgstr "" +msgstr "Pague com PagoEfectivo." #: gateways/class-wc-ebanx-safetypay-gateway.php:15 msgid "EBANX - Safetypay" -msgstr "" +msgstr "EBANX - Safetypay" #: gateways/class-wc-ebanx-safetypay-gateway.php:17 msgid "SafetyPay" -msgstr "" +msgstr "SafetyPay" #: gateways/class-wc-ebanx-safetypay-gateway.php:18 msgid "Paga con SafetyPay." -msgstr "" +msgstr "Pague com SafetyPay." #: gateways/class-wc-ebanx-sencillito-gateway.php:15 msgid "EBANX - Sencillito" -msgstr "" +msgstr "EBANX - Sencillito" #: gateways/class-wc-ebanx-sencillito-gateway.php:18 msgid "Sencillito" -msgstr "" +msgstr "Sencillito" #: gateways/class-wc-ebanx-sencillito-gateway.php:19 msgid "Paga con Sencillito." -msgstr "" +msgstr "Paga con Sencillito." #: gateways/class-wc-ebanx-servipag-gateway.php:15 msgid "EBANX - Servipag" -msgstr "" +msgstr "EBANX - Servipag" #: gateways/class-wc-ebanx-servipag-gateway.php:18 msgid "ServiPag" -msgstr "" +msgstr "ServiPag" #: gateways/class-wc-ebanx-servipag-gateway.php:19 msgid "Paga con Servipag." -msgstr "" +msgstr "Pague com Servipag." #: gateways/class-wc-ebanx-tef-gateway.php:15 msgid "EBANX - TEF" -msgstr "" +msgstr "EBANX - TEF" -#: gateways/class-wc-ebanx-tef-gateway.php:17 +#: gateways/class-wc-ebanx-tef-gateway.php:18 msgid "Débito Online" -msgstr "" +msgstr "Débito Online" -#: gateways/class-wc-ebanx-tef-gateway.php:18 +#: gateways/class-wc-ebanx-tef-gateway.php:19 msgid "" "Selecione o seu banco. A seguir, você será redirecionado para concluir o " "pagamento pelo seu internet banking." msgstr "" +"Selecione o seu banco. A seguir, você será redirecionado para concluir o " +"pagamento pelo seu internet banking." + +#: gateways/class-wc-ebanx-webpay-gateway.php:15 +msgid "EBANX - Webpay" +msgstr "EBANX - Webpay" + +#: gateways/class-wc-ebanx-webpay-gateway.php:17 +msgid "Webpay" +msgstr "Webpay" + +#: gateways/class-wc-ebanx-webpay-gateway.php:18 +msgid "Paga con Webpay." +msgstr "Pague com Webpay." + +#: services/class-wc-ebanx-assets.php:61 +msgid "" +"You need to validate this change with EBANX, only deselecting or selecting " +"the box will not set this to your customer. Contact your EBANX Account " +"Manager or Business Development Expert." +msgstr "" +"Você precisa validar esta mudança com o EBANX, apenas deselecionar ou " +"selecionar a caixa não irá refletir para seu cliente. Contate seu " +"Administrador de Conta do EBANX ou Especialista em Desenvolvimento de " +"Negócio." #: services/class-wc-ebanx-checker.php:20 msgid "" "EBANX - The Sandbox Mode option is enabled, in this mode, none of your " "transactions will be processed." msgstr "" +"EBANX - A opção de Modo Sandbox está habilitada, neste modo, nenhuma de suas " +"transações será processada." #: services/class-wc-ebanx-checker.php:85 #, php-format @@ -581,6 +670,8 @@ msgid "" "EBANX - We are almost there. To start selling, set your " "integration keys." msgstr "" +"EBANX - Estamos quase lá. Para começar a vender, coloque suas " +"chaves de integração." #: services/class-wc-ebanx-checker.php:112 #, php-format @@ -588,6 +679,8 @@ msgid "" "EBANX - Your %s Integration Key is invalid, please adjust your settings." msgstr "" +"EBANX - Sua Chave de Integração %s é inválida, por favor ajuste suas configurações." #: services/class-wc-ebanx-checker.php:148 #, php-format @@ -595,6 +688,8 @@ msgid "" "EBANX - Your %s Public Integration Key is invalid, please " "adjust your settings." msgstr "" +"EBANX - Sua Chave de Integração Pública %s é inválida, por " +"favor ajuste suas configurações." #: services/class-wc-ebanx-checker.php:174 #, php-format @@ -602,6 +697,8 @@ msgid "" "EBANX - Could not connect to our servers. Please check if your server can " "reach our API (%1$s)." msgstr "" +"EBANX - Não foi possível conectar aos nossos servidores. Por favor, cheque " +"se seu servidor conseguir alcançar nossa API (%1$s)." #: services/class-wc-ebanx-checker.php:201 #, php-format @@ -609,10 +706,12 @@ msgid "" "EBANX - The minimum PHP version required for this plugin is %1$s. You are " "running %2$s." msgstr "" +"EBANX - A versao mínima do PHP exigida para este plugin é %1$s. Você está " +"rodando %2$s." #: services/class-wc-ebanx-checker.php:209 msgid "EBANX - It requires WooCommerce to be activated to work." -msgstr "" +msgstr "EBANX - É necessário que WooCommerce esteja ativo para funcionar." #: services/class-wc-ebanx-checker.php:215 #, php-format @@ -620,6 +719,8 @@ msgid "" "EBANX - The minimum WooCommerce version required for this plugin is %1$s. " "You are running %2$s." msgstr "" +"EBANX - A versao mínima do WooCommerce exigida para este plugin é %1$s. Você " +"está rodando %2$s." #: services/class-wc-ebanx-checker.php:223 #, php-format @@ -627,6 +728,8 @@ msgid "" "EBANX - The minimum WordPress version required for this plugin is %1$s. You " "are running %2$s." msgstr "" +"EBANX - A versao mínima do WordPress exigida para este plugin é %1$s. Você " +"está rodando %2$s." #: services/class-wc-ebanx-checker.php:239 #, php-format @@ -635,12 +738,17 @@ msgid "" "WooCommerce settings. To process with the EBANX plugin choose one of the " "following: %1$s." msgstr "" +"EBANX Gateway - Não suporta a moeda que você tem estabelicida nas " +"configurações do WooCommerce. Para processar com o plugin EBANX escolha uma " +"das seguintes: %1$s." #: services/class-wc-ebanx-checker.php:258 msgid "" "EBANX - To improve the site security, we recommend the use of HTTPS protocol " "on site pages." msgstr "" +"EBANX - Para melhorar a segurança do site, recomendamos o uso do protocolo " +"HTTPS nas páginas do site." #: services/class-wc-ebanx-my-account.php:60 msgid "View Banking Ticket" @@ -648,9 +756,9 @@ msgstr "Ver Boleto" #: services/class-wc-ebanx-one-click.php:143 msgid "EBANX: Unable to create the payment via one click." -msgstr "" +msgstr "EBANX: Incapaz de criar o pagamento via um clique." -#: services/class-wc-ebanx-one-click.php:332 +#: services/class-wc-ebanx-one-click.php:334 msgid "Pay with one click" msgstr "Pague com um clique" @@ -659,190 +767,219 @@ msgid "" "We couldn't create your EBANX order. Could you review your fields and try " "again?" msgstr "" +"Não foi possível criar seu pedido EBANX. Você poderia revisar os campos e " +"tentar novamente?" #: services/class-wc-ebanx-payment-by-link.php:114 msgid "EBANX: Your order was created via EBANX." -msgstr "" +msgstr "EBANX: Seu pedido foi criado via EBANX." #: services/class-wc-ebanx-payment-validator.php:82 msgid "" "Payment links can only be created when the order status is selected as " "Pending Payments." msgstr "" +"Links de pagamento podem ser criados apenas quando o status do pedido é " +"selecionado como Pagamentos Pendentes." #: services/class-wc-ebanx-payment-validator.php:96 #, php-format msgid "The selected Country doesn't support the chosen Currency (%s)." -msgstr "" +msgstr "O País selecionado não suporta a moeda escolhida (%s)." #: services/class-wc-ebanx-payment-validator.php:109 msgid "The minimum total amount is $1, please pick a greater value." -msgstr "" +msgstr "A quantia total mínima é $1, por favor escolha um valor maior." #: services/class-wc-ebanx-payment-validator.php:122 msgid "" "EBANX only support the following Countries: Brazil, Mexico, Peru, Colombia " "and Chile. Select one of these to complete your order." msgstr "" +"EBANX suporta apenas os seguintes países: Brasil, México, Peru, Colômbia e " +"Chile. Selecione um destes para completar seu pedido." #: services/class-wc-ebanx-payment-validator.php:134 msgid "" "The customer email is a required field. Please provide a valid customer e-" "mail." msgstr "" +"O email do cliente é um campo obrigatório. Por favor, forneça um e-mail do " +"cliente válido." #: services/class-wc-ebanx-payment-validator.php:168 msgid "" "The EBANX account is not available yet as payment method, you will hear " "about that soon!" msgstr "" +"A conta EBANX ainda não está disponível como método de pagamento, você irá " +"ouvir sobre isso em breve!" #: services/class-wc-ebanx-payment-validator.php:182 msgid "EBANX does not support the selected payment method." -msgstr "" +msgstr "O EBANX não suporta o métoda de pagamento selecionado." #: services/class-wc-ebanx-payment-validator.php:197 msgid "The selected payment method is not available on the chosen Country." msgstr "" +"O método de Pagamento selecionado não está disponível no país escolhido." #: templates/admin-order-details.php:2 msgid "EBANX Order Details" -msgstr "" +msgstr "Detalhes do Pedido EBANX" #: templates/admin-order-details.php:4 msgid "Dashboard Payment Link" -msgstr "" +msgstr "Link do Pagamento no Dashboard" #: templates/admin-order-details.php:9 msgid "Payment Hash" -msgstr "" +msgstr "Hash do Pagamento" #: templates/admin-order-details.php:15 msgid "Customer Payment Link" -msgstr "" +msgstr "Link do Pagamento para o Cliente" #: templates/baloto/payment-processing.php:16 msgid "Payment successfully made using Baloto." msgstr "Pagamento realizado com sucesso usando Baloto." -#: templates/debit-card/payment-form.php:11 -#: templates/ebanx-credit-card-mx/card-template.php:3 -msgid "Titular de la tarjeta" -msgstr "" - -#: templates/debit-card/payment-form.php:15 -#: templates/ebanx-credit-card-mx/card-template.php:8 -msgid "Número de la tarjeta" -msgstr "" - -#: templates/debit-card/payment-form.php:20 -#: templates/ebanx-credit-card-mx/card-template.php:13 -msgid "Fecha de expiración (MM / AA)" -msgstr "" - -#: templates/debit-card/payment-form.php:21 +#: templates/compliance-fields-br.php:20 templates/compliance-fields-cl.php:20 +#: templates/compliance-fields-co.php:15 templates/compliance-fields-mx.php:10 +#: templates/compliance-fields-pe.php:10 +msgid "Postcode / ZIP" +msgstr "Código postal / CEP" + +#: templates/compliance-fields-br.php:24 templates/compliance-fields-cl.php:24 +#: templates/compliance-fields-co.php:19 templates/compliance-fields-mx.php:14 +#: templates/compliance-fields-pe.php:14 +msgid "Street address" +msgstr "Endereço" + +#: templates/compliance-fields-br.php:28 templates/compliance-fields-cl.php:28 +#: templates/compliance-fields-co.php:23 templates/compliance-fields-mx.php:18 +#: templates/compliance-fields-pe.php:18 +msgid "Town / City" +msgstr "Cidade" + +#: templates/compliance-fields-br.php:32 templates/compliance-fields-cl.php:32 +#: templates/compliance-fields-co.php:27 templates/compliance-fields-mx.php:22 +#: templates/compliance-fields-pe.php:22 +msgid "State / County" +msgstr "Estado" + +#: templates/debit-card/payment-form.php:23 #: templates/ebanx-credit-card-br/card-template.php:9 +#: templates/ebanx-credit-card-co/card-template.php:14 #: templates/ebanx-credit-card-mx/card-template.php:14 -#, fuzzy -#| msgid "MM / YY" msgid "MM / AA" msgstr "MM / AA" -#: templates/debit-card/payment-form.php:24 -#: templates/ebanx-credit-card-mx/card-template.php:17 -#: templates/ebanx-credit-card-mx/payment-form.php:31 -msgid "Código de verificación" -msgstr "" - -#: templates/debit-card/payment-form.php:25 +#: templates/debit-card/payment-form.php:27 #: templates/ebanx-credit-card-br/card-template.php:13 -#: templates/ebanx-credit-card-br/payment-form.php:33 +#: templates/ebanx-credit-card-br/payment-form.php:35 +#: templates/ebanx-credit-card-co/card-template.php:18 +#: templates/ebanx-credit-card-co/payment-form.php:33 #: templates/ebanx-credit-card-mx/card-template.php:18 -#: templates/ebanx-credit-card-mx/payment-form.php:33 +#: templates/ebanx-credit-card-mx/payment-form.php:35 msgid "CVV" -msgstr "" +msgstr "CVV" #: templates/debit-card/payment-processing.php:16 -#: templates/ebanx-credit-card-mx/payment-processing.php:16 msgid "Resumo de la compra:" -msgstr "" +msgstr "Resumo da compra:" #: templates/debit-card/payment-processing.php:17 -#: templates/ebanx-credit-card-mx/payment-processing.php:17 msgid "Valor:" -msgstr "" +msgstr "Valor:" #: templates/debit-card/payment-processing.php:18 -#: templates/ebanx-credit-card-mx/payment-processing.php:21 msgid "Pago realizado en una sola exhibición" -msgstr "" +msgstr "Pagamento realizado a vista." #: templates/debit-card/payment-processing.php:19 -#: templates/ebanx-credit-card-mx/payment-processing.php:24 msgid "Gracias por haber comprado con nosotros." -msgstr "" +msgstr "Obrigado por comprar conosco" #: templates/ebanx-credit-card-br/card-template.php:3 msgid "Número do Cartão" -msgstr "" +msgstr "Número do Cartão" #: templates/ebanx-credit-card-br/card-template.php:8 msgid "Data de validade (MM / AA)" -msgstr "" +msgstr "Data de validade (MM / AA)" #: templates/ebanx-credit-card-br/card-template.php:12 -#: templates/ebanx-credit-card-br/payment-form.php:31 +#: templates/ebanx-credit-card-br/payment-form.php:33 msgid "Código de segurança" -msgstr "" +msgstr "Código de segurança" #: templates/ebanx-credit-card-br/card-template.php:22 msgid "Salvar este cartão para compras futuras" -msgstr "" +msgstr "Salvar este cartão para compras futuras" -#: templates/ebanx-credit-card-br/payment-form.php:46 +#: templates/ebanx-credit-card-br/payment-form.php:48 msgid "Usar um outro cartão" -msgstr "" +msgstr "Usar um outro cartão" -#: templates/ebanx-credit-card-br/payment-processing.php:16 -msgid "Valor a pagar com IOF (0.38%):" -msgstr "" +#: templates/ebanx-credit-card-co/card-template.php:3 +#: templates/ebanx-credit-card-mx/card-template.php:3 +msgid "Titular de la tarjeta" +msgstr "Titular do cartão" -#: templates/ebanx-credit-card-br/payment-processing.php:18 -msgid "parcelas de" -msgstr "" +#: templates/ebanx-credit-card-co/card-template.php:8 +#: templates/ebanx-credit-card-mx/card-template.php:8 +msgid "Número de la tarjeta" +msgstr "Número do cartão" -#: templates/ebanx-credit-card-br/payment-processing.php:20 -msgid "Pagamento à vista" -msgstr "" +#: templates/ebanx-credit-card-co/card-template.php:13 +#: templates/ebanx-credit-card-mx/card-template.php:13 +msgid "Fecha de expiración (MM / AA)" +msgstr "Data de Validade (MM / AA)" -#: templates/ebanx-credit-card-br/payment-processing.php:23 -msgid "Obrigado por ter comprado conosco." -msgstr "" +#: templates/ebanx-credit-card-co/card-template.php:17 +#: templates/ebanx-credit-card-co/payment-form.php:31 +#: templates/ebanx-credit-card-mx/card-template.php:17 +#: templates/ebanx-credit-card-mx/payment-form.php:33 +msgid "Código de verificación" +msgstr "Código de segurança" +#: templates/ebanx-credit-card-co/card-template.php:27 #: templates/ebanx-credit-card-mx/card-template.php:27 msgid "Guarda esta tarjeta para compras futuras." -msgstr "" +msgstr "Salvar este cartão para compras futuras" -#: templates/ebanx-credit-card-mx/payment-form.php:46 +#: templates/ebanx-credit-card-co/payment-form.php:46 +#: templates/ebanx-credit-card-mx/payment-form.php:48 msgid "Otra tarjeta de crédito" -msgstr "" - -#: templates/ebanx-credit-card-mx/payment-processing.php:19 -msgid "meses sen intereses de" -msgstr "" +msgstr "Usar um outro cartão" #: templates/eft/payment-failed.php:17 templates/eft/payment-on-hold.php:17 #: templates/eft/payment-processing.php:17 #, php-format msgid "Payment successfully made using %1$s oxxo in %2$s." -msgstr "" +msgstr "Pagamento realizado com sucesso usando %1$s oxxo em %2$s." + +#: templates/flow/multicaja/payment-failed.php:17 +#: templates/flow/multicaja/payment-on-hold.php:17 +#: templates/flow/multicaja/payment-processing.php:17 +#, php-format +msgid "Payment successfully made using %1$s multicaja in %2$s." +msgstr "Pagamento realizado com sucesso usando %1$s multicaja em %2$s." -#: templates/instalments.php:8 +#: templates/flow/webpay/payment-failed.php:17 +#: templates/flow/webpay/payment-on-hold.php:17 +#: templates/flow/webpay/payment-processing.php:17 +#, php-format +msgid "Payment successfully made using %1$s webpay in %2$s." +msgstr "Pagamento realizado com sucesso usando %1$s webpay em %2$s." + +#: templates/instalments.php:15 #, php-format msgid "%1$dx of %2$s" msgstr "%1$dx de %2$s" -#: templates/instalments.php:9 +#: templates/instalments.php:16 msgid "with interest" msgstr "com juros" @@ -895,15 +1032,17 @@ msgstr "Processando..." msgid "Pay Now" msgstr "Pagar" -#: templates/payment-by-link-action.php:6 woocommerce-gateway-ebanx.php:628 +#: templates/payment-by-link-action.php:6 woocommerce-gateway-ebanx.php:641 msgid "Create EBANX Payment Link" -msgstr "" +msgstr "Criar Link de Pagamento EBANX" #: templates/payment-by-link-action.php:7 msgid "" "The order will be created on your site and also sent to EBANX to generate a " "payment to your customer pay directly." msgstr "" +"O pedido será criado em seu site e também enviado ao EBANX para gerar um " +"pagamento para seu cliente pagar diretamente." #: templates/safetypay/payment-failed.php:17 #: templates/safetypay/payment-on-hold.php:17 @@ -922,6 +1061,24 @@ msgstr "Pagamento realizado com sucesso usando Servipag.." msgid "Currency %s is not supported. Works only with Brazilian Real." msgstr "A moeda %s não é suportada. Funciona apenas como Real Brasileiro." -#: woocommerce-gateway-ebanx.php:565 +#: woocommerce-gateway-ebanx.php:574 msgid "Settings" -msgstr "" +msgstr "Configurações" + +#~ msgid "Cartão de Crédito" +#~ msgstr "Cartão de Crédito" + +#~ msgid "Pague com cartão de crédito." +#~ msgstr "Pague com cartão de crédito." + +#~ msgid "Tarjeta de Crédito" +#~ msgstr "Cartão de Crédito" + +#~ msgid "Pay with credit card." +#~ msgstr "Pague com cartão de crédito" + +#~ msgid "Tarjeta de Débito" +#~ msgstr "Cartão de Débito" + +#~ msgid "Paga con tarjeta de débito." +#~ msgstr "Pague com seu Cartão de Débito" From f3e1545e03ac0bfbbfbe3bffcf6e4bf30c6a74c7 Mon Sep 17 00:00:00 2001 From: Anderson Campanha Date: Tue, 1 Aug 2017 19:04:51 -0300 Subject: [PATCH 08/22] Start to remove messages that shouldn't be translated [WiP] --- .../gateways/class-wc-ebanx-credit-card-br-gateway.php | 4 ++-- .../gateways/class-wc-ebanx-credit-card-co-gateway.php | 4 ++-- .../gateways/class-wc-ebanx-credit-card-mx-gateway.php | 4 ++-- .../gateways/class-wc-ebanx-debit-card-gateway.php | 4 ++-- .../templates/debit-card/payment-form.php | 8 ++++---- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-credit-card-br-gateway.php b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-credit-card-br-gateway.php index 3d0313a1..774774f8 100644 --- a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-credit-card-br-gateway.php +++ b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-credit-card-br-gateway.php @@ -13,8 +13,8 @@ public function __construct() $this->id = 'ebanx-credit-card-br'; $this->method_title = __('EBANX - Credit Card Brazil', 'woocommerce-gateway-ebanx'); - $this->title = __('Cartão de Crédito', 'woocommerce-gateway-ebanx'); - $this->description = __('Pague com cartão de crédito.', 'woocommerce-gateway-ebanx'); + $this->title = 'Cartão de Crédito'; + $this->description = 'Pague com cartão de crédito.'; parent::__construct(); diff --git a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-credit-card-co-gateway.php b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-credit-card-co-gateway.php index 279aede5..f85cdf4d 100644 --- a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-credit-card-co-gateway.php +++ b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-credit-card-co-gateway.php @@ -14,8 +14,8 @@ public function __construct() $this->id = 'ebanx-credit-card-co'; $this->method_title = __('EBANX - Credit Card Colombia', 'woocommerce-gateway-ebanx'); - $this->title = __('Tarjeta de Crédito', 'woocommerce-gateway-ebanx'); - $this->description = __('Pay with credit card.', 'woocommerce-gateway-ebanx'); + $this->title = 'Tarjeta de Crédito'; + $this->description = 'Pay with credit card.'; parent::__construct(); diff --git a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-credit-card-mx-gateway.php b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-credit-card-mx-gateway.php index 45a9f0f3..11bde1f0 100644 --- a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-credit-card-mx-gateway.php +++ b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-credit-card-mx-gateway.php @@ -14,8 +14,8 @@ public function __construct() $this->id = 'ebanx-credit-card-mx'; $this->method_title = __('EBANX - Credit Card Mexico', 'woocommerce-gateway-ebanx'); - $this->title = __('Tarjeta de Crédito', 'woocommerce-gateway-ebanx'); - $this->description = __('Pay with credit card.', 'woocommerce-gateway-ebanx'); + $this->title = 'Tarjeta de Crédito'; + $this->description = 'Pay with credit card.'; parent::__construct(); diff --git a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-debit-card-gateway.php b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-debit-card-gateway.php index d7892826..bb57ece0 100644 --- a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-debit-card-gateway.php +++ b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-debit-card-gateway.php @@ -15,8 +15,8 @@ public function __construct() $this->method_title = __('EBANX - Debit Card', 'woocommerce-gateway-ebanx'); $this->api_name = 'debitcard'; - $this->title = __('Tarjeta de Débito', 'woocommerce-gateway-ebanx'); - $this->description = __('Paga con tarjeta de débito.', 'woocommerce-gateway-ebanx'); + $this->title = 'Tarjeta de Débito'; + $this->description = 'Paga con tarjeta de débito.'; parent::__construct(); diff --git a/woocommerce-gateway-ebanx/templates/debit-card/payment-form.php b/woocommerce-gateway-ebanx/templates/debit-card/payment-form.php index 6260c84a..5b401347 100644 --- a/woocommerce-gateway-ebanx/templates/debit-card/payment-form.php +++ b/woocommerce-gateway-ebanx/templates/debit-card/payment-form.php @@ -10,20 +10,20 @@
- +
- +
- +
- +
From 09f81e298255eab36a93d6a84c90a54241acdb64 Mon Sep 17 00:00:00 2001 From: Anderson Campanha Date: Wed, 2 Aug 2017 11:30:32 -0300 Subject: [PATCH 09/22] Remove not needed translations from gateways --- .../gateways/class-wc-ebanx-account-gateway.php | 4 ++-- .../gateways/class-wc-ebanx-baloto-gateway.php | 4 ++-- .../gateways/class-wc-ebanx-banking-ticket-gateway.php | 4 ++-- .../gateways/class-wc-ebanx-eft-gateway.php | 4 ++-- .../gateways/class-wc-ebanx-multicaja-gateway.php | 6 +++--- .../gateways/class-wc-ebanx-oxxo-gateway.php | 4 ++-- .../gateways/class-wc-ebanx-pagoefectivo-gateway.php | 2 +- .../gateways/class-wc-ebanx-safetypay-gateway.php | 4 ++-- .../gateways/class-wc-ebanx-sencillito-gateway.php | 4 ++-- .../gateways/class-wc-ebanx-servipag-gateway.php | 4 ++-- .../gateways/class-wc-ebanx-tef-gateway.php | 4 ++-- .../gateways/class-wc-ebanx-webpay-gateway.php | 4 ++-- 12 files changed, 24 insertions(+), 24 deletions(-) diff --git a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-account-gateway.php b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-account-gateway.php index 961fe856..b4c2f038 100644 --- a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-account-gateway.php +++ b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-account-gateway.php @@ -15,8 +15,8 @@ public function __construct() $this->method_title = __('EBANX - ACCOUNT', 'woocommerce-gateway-ebanx'); $this->api_name = 'ebanxaccount'; - $this->title = __('Saldo EBANX', 'woocommerce-gateway-ebanx'); - $this->description = __('Pague usando o saldo da sua conta do EBANX.', 'woocommerce-gateway-ebanx'); + $this->title = 'Saldo EBANX'; + $this->description = 'Pague usando o saldo da sua conta do EBANX.'; parent::__construct(); diff --git a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-baloto-gateway.php b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-baloto-gateway.php index 9ddfcab5..acb98fb8 100644 --- a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-baloto-gateway.php +++ b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-baloto-gateway.php @@ -15,8 +15,8 @@ public function __construct() $this->method_title = __('EBANX - Baloto', 'woocommerce-gateway-ebanx'); $this->api_name = 'baloto'; - $this->title = __('Baloto', 'woocommerce-gateway-ebanx'); - $this->description = __('Paga con Baloto.', 'woocommerce-gateway-ebanx'); + $this->title = 'Baloto'; + $this->description = 'Paga con Baloto.'; parent::__construct(); diff --git a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-banking-ticket-gateway.php b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-banking-ticket-gateway.php index 94e4a6c8..1321d982 100644 --- a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-banking-ticket-gateway.php +++ b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-banking-ticket-gateway.php @@ -15,8 +15,8 @@ public function __construct() $this->method_title = __('EBANX - Banking Ticket', 'woocommerce-gateway-ebanx'); $this->api_name = 'boleto'; - $this->title = __('Boleto EBANX', 'woocommerce-gateway-ebanx'); - $this->description = __('Pague com boleto bancário.', 'woocommerce-gateway-ebanx'); + $this->title = 'Boleto EBANX'; + $this->description = 'Pague com boleto bancário.'; parent::__construct(); diff --git a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-eft-gateway.php b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-eft-gateway.php index 1e12d351..c46f80b9 100644 --- a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-eft-gateway.php +++ b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-eft-gateway.php @@ -15,8 +15,8 @@ public function __construct() $this->method_title = __('EBANX - PSE', 'woocommerce-gateway-ebanx'); $this->api_name = 'eft'; - $this->title = __('PSE - Pago Seguros en Línea', 'woocommerce-gateway-ebanx'); - $this->description = __('Paga con PSE - Pago Seguros en Línea.', 'woocommerce-gateway-ebanx'); + $this->title = 'PSE - Pago Seguros en Línea'; + $this->description = 'Paga con PSE - Pago Seguros en Línea.'; parent::__construct(); diff --git a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-multicaja-gateway.php b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-multicaja-gateway.php index c3a9aa72..2b78b80e 100644 --- a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-multicaja-gateway.php +++ b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-multicaja-gateway.php @@ -14,12 +14,12 @@ public function __construct() $this->id = 'ebanx-multicaja'; $this->method_title = __('EBANX - Multicaja', 'woocommerce-gateway-ebanx'); - $this->title = __('Multicaja', 'woocommerce-gateway-ebanx'); - $this->description = __('Paga con multicaja.', 'woocommerce-gateway-ebanx'); + $this->title = 'Multicaja'; + $this->description = 'Paga con multicaja.'; $this->template_file = 'flow/multicaja/payment-form.php'; $this->flow_payment_method = 'multicaja'; parent::__construct(); } -} \ No newline at end of file +} diff --git a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-oxxo-gateway.php b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-oxxo-gateway.php index 55308d71..4e27a640 100644 --- a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-oxxo-gateway.php +++ b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-oxxo-gateway.php @@ -15,8 +15,8 @@ public function __construct() $this->method_title = __('EBANX - OXXO', 'woocommerce-gateway-ebanx'); $this->api_name = 'oxxo'; - $this->title = __('OXXO', 'woocommerce-gateway-ebanx'); - $this->description = __('Paga con boleta OXXO.', 'woocommerce-gateway-ebanx'); + $this->title = 'OXXO'; + $this->description = 'Paga con boleta OXXO.'; parent::__construct(); diff --git a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-pagoefectivo-gateway.php b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-pagoefectivo-gateway.php index c78c30fa..c8869158 100644 --- a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-pagoefectivo-gateway.php +++ b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-pagoefectivo-gateway.php @@ -15,7 +15,7 @@ public function __construct() $this->method_title = __('EBANX - Pagoefectivo', 'woocommerce-gateway-ebanx'); $this->api_name = 'pagoefectivo'; - $this->title = __('PagoEfectivo', 'woocommerce-gateway-ebanx'); + $this->title = 'PagoEfectivo'; $this->description = __('Paga con PagoEfectivo.', 'woocommerce-gateway-ebanx'); parent::__construct(); diff --git a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-safetypay-gateway.php b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-safetypay-gateway.php index ff75aaaa..31051b17 100644 --- a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-safetypay-gateway.php +++ b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-safetypay-gateway.php @@ -14,8 +14,8 @@ public function __construct() $this->id = 'ebanx-safetypay'; $this->method_title = __('EBANX - Safetypay', 'woocommerce-gateway-ebanx'); - $this->title = __('SafetyPay', 'woocommerce-gateway-ebanx'); - $this->description = __('Paga con SafetyPay.', 'woocommerce-gateway-ebanx'); + $this->title = 'SafetyPay'; + $this->description = 'Paga con SafetyPay.'; parent::__construct(); diff --git a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-sencillito-gateway.php b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-sencillito-gateway.php index cc0779ac..360daefe 100644 --- a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-sencillito-gateway.php +++ b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-sencillito-gateway.php @@ -15,8 +15,8 @@ public function __construct() $this->method_title = __('EBANX - Sencillito', 'woocommerce-gateway-ebanx'); $this->api_name = 'sencillito'; - $this->title = __('Sencillito', 'woocommerce-gateway-ebanx'); - $this->description = __('Paga con Sencillito.', 'woocommerce-gateway-ebanx'); + $this->title = 'Sencillito'; + $this->description = 'Paga con Sencillito.'; parent::__construct(); diff --git a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-servipag-gateway.php b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-servipag-gateway.php index a29ad09f..9dff9b3b 100644 --- a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-servipag-gateway.php +++ b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-servipag-gateway.php @@ -15,8 +15,8 @@ public function __construct() $this->method_title = __('EBANX - Servipag', 'woocommerce-gateway-ebanx'); $this->api_name = 'servipag'; - $this->title = __('ServiPag', 'woocommerce-gateway-ebanx'); - $this->description = __('Paga con Servipag.', 'woocommerce-gateway-ebanx'); + $this->title = 'ServiPag'; + $this->description = 'Paga con Servipag.'; parent::__construct(); diff --git a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-tef-gateway.php b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-tef-gateway.php index abbac16f..6ee117ba 100644 --- a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-tef-gateway.php +++ b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-tef-gateway.php @@ -15,8 +15,8 @@ public function __construct() $this->method_title = __('EBANX - TEF', 'woocommerce-gateway-ebanx'); $this->api_name = 'tef'; - $this->title = __('Débito Online', 'woocommerce-gateway-ebanx'); - $this->description = __('Selecione o seu banco. A seguir, você será redirecionado para concluir o pagamento pelo seu internet banking.', 'woocommerce-gateway-ebanx'); + $this->title = 'Débito Online'; + $this->description = 'Selecione o seu banco. A seguir, você será redirecionado para concluir o pagamento pelo seu internet banking.'; parent::__construct(); diff --git a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-webpay-gateway.php b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-webpay-gateway.php index 46d0f36e..2751490b 100644 --- a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-webpay-gateway.php +++ b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-webpay-gateway.php @@ -14,8 +14,8 @@ public function __construct() $this->id = 'ebanx-webpay'; $this->method_title = __('EBANX - Webpay', 'woocommerce-gateway-ebanx'); - $this->title = __('Webpay', 'woocommerce-gateway-ebanx'); - $this->description = __('Paga con Webpay.', 'woocommerce-gateway-ebanx'); + $this->title = 'Webpay'; + $this->description = 'Paga con Webpay.'; $this->template_file = 'flow/webpay/payment-form.php'; $this->flow_payment_method = 'webpay'; From 76001e201b9ee30ad1a3858d9681692b6b9d3723 Mon Sep 17 00:00:00 2001 From: Anderson Campanha Date: Wed, 2 Aug 2017 13:54:25 -0300 Subject: [PATCH 10/22] Remove unecessary translation from templates --- .../class-wc-ebanx-pagoefectivo-gateway.php | 2 +- .../woocommerce-gateway-ebanx-pt_BR.mo | Bin 22438 -> 19726 bytes .../woocommerce-gateway-ebanx-pt_BR.po | 337 ++++++++---------- .../templates/debit-card/payment-form.php | 12 +- .../debit-card/payment-processing.php | 10 +- .../ebanx-credit-card-br/card-template.php | 12 +- .../ebanx-credit-card-br/payment-form.php | 6 +- .../ebanx-credit-card-co/card-template.php | 14 +- .../ebanx-credit-card-co/payment-form.php | 6 +- .../ebanx-credit-card-mx/card-template.php | 14 +- .../ebanx-credit-card-mx/payment-form.php | 6 +- 11 files changed, 180 insertions(+), 239 deletions(-) diff --git a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-pagoefectivo-gateway.php b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-pagoefectivo-gateway.php index c8869158..4970cf7f 100644 --- a/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-pagoefectivo-gateway.php +++ b/woocommerce-gateway-ebanx/gateways/class-wc-ebanx-pagoefectivo-gateway.php @@ -16,7 +16,7 @@ public function __construct() $this->api_name = 'pagoefectivo'; $this->title = 'PagoEfectivo'; - $this->description = __('Paga con PagoEfectivo.', 'woocommerce-gateway-ebanx'); + $this->description = 'Paga con PagoEfectivo.'; parent::__construct(); diff --git a/woocommerce-gateway-ebanx/languages/woocommerce-gateway-ebanx-pt_BR.mo b/woocommerce-gateway-ebanx/languages/woocommerce-gateway-ebanx-pt_BR.mo index 654a2e5e1eefc122c65e9ceff5ec5cf7db87b502..6510893a8d13ef1e05a23e5c6605a2e659964434 100644 GIT binary patch delta 3844 zcmX}u3s6?I9LNVHe6TT57=f`EkI^^*=V1vhzG z4KYTK_#5i?|3?0q0W?A}7DJ5jnItOuK`I}?n1e$x-(D}r6xxe10=J?Dw8MVig^bzs z;vjqm!|_!dfp6IB*YG~tH&7EvrITR#H`#;n15 zT#x;D3`>R^!&uC9)KYwo2k~3X#r@=cGro=6u#hwq;;(Tu-oZ>vOeFs!smx9^0as!X z?RNCyo2WJX6uHNIgE<&SJ`1n{_2BJzFZQ7Zb_e_v zmE~Mu@a7saN%Jq%1Hu{IeoRK)@FFh7x6r|q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qz4BMOM##9^Y27(nRSL-ZjUh^L4t#5zLP zZX)tltjOQvuJ!mN;V14O5{M%;;=*F(e=v6A!uLY)?U3mUJrZegG6I1CU+h@TMc z30)Jl{yAu0{%2>RLm`3a;t|6`?CK0-d z9n2=&>6U-0_uodPKT$-yK-^DkAxa2c{fM$y$@yk?p`7B@Ycb0$C%bA&^N7cY&BS;@ z*VDvJ#9$(cm_wxMA)6RREF&JNZ`t8oTuZwu5DG;9&~a$nK$SNXunH#T7R`%xP97CM zXHIld@}Hw8GgG_eHPn~+DgsuS*Q)adedRun?eR6#`=eQ%dUgxhv39%4S7vj=plQ>r zOe;5caCAneKXu4&c&gM#x5fS{pWj=blTy=e{?%SjW$YR6;u>Gj>FMHQW|ErhTB{}y zv?}dVZ_x4ts%wIFS%8Ay@&{@Ipc&-bHbk~* zN(Ci#6WhEh*V#es3&s#z%;-lMsnLCXrbc`LzgI8yhGRnt47GBpRD^xObgM4lY1l(8 z*sz`XmidBS54UU1H8vZ7z2~XoMjj`pcD2{fwyyD3IlcM(A#c#{4XN9keSUIY;;r&} zLYD2f0yQBzqQRf+E)r#yhAh=5_HCQc*%t~|F<`dV#T^;#IPjLsXbe|dfiU~sok<|N zVqk9_+F*9{@qs%ModvBg7_=fjX}C3fO!lae(UU`ZyX7(UUk>oVQe;xLn6aC@vMU>I2aj(cH$5`D_IuL!AD!K5tJ&Fg zH}t2-h6v}c>0H?~Ie;SthO-I+QUvhTYr_sv1 zj@R2(osZ9Ctf&9^F|FT{yDC1r@qp^2=yUyFp3VvRU87m~b0h!9!x{S+gsW{1Xv1!O s@xS+kZpvStkTR?Bh+aI0X@%>OzjHWu6lS`I^PR#2jfeA|DR;*I6O&+Xr2qf` diff --git a/woocommerce-gateway-ebanx/languages/woocommerce-gateway-ebanx-pt_BR.po b/woocommerce-gateway-ebanx/languages/woocommerce-gateway-ebanx-pt_BR.po index a3ba7b8f..164820f8 100644 --- a/woocommerce-gateway-ebanx/languages/woocommerce-gateway-ebanx-pt_BR.po +++ b/woocommerce-gateway-ebanx/languages/woocommerce-gateway-ebanx-pt_BR.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: \n" -"POT-Creation-Date: 2017-08-01 18:54-0300\n" -"PO-Revision-Date: 2017-08-01 18:57-0300\n" +"POT-Creation-Date: 2017-08-02 13:51-0300\n" +"PO-Revision-Date: 2017-08-02 13:52-0300\n" "Last-Translator: \n" "Language-Team: EBANX\n" "Language: pt_BR\n" @@ -25,38 +25,14 @@ msgstr "" msgid "EBANX - ACCOUNT" msgstr "EBANX - CONTA" -#: gateways/class-wc-ebanx-account-gateway.php:18 -msgid "Saldo EBANX" -msgstr "Saldo EBANX" - -#: gateways/class-wc-ebanx-account-gateway.php:19 -msgid "Pague usando o saldo da sua conta do EBANX." -msgstr "Pague usando o saldo da sua conta do EBANX." - #: gateways/class-wc-ebanx-baloto-gateway.php:15 msgid "EBANX - Baloto" msgstr "EBANX - Baloto" -#: gateways/class-wc-ebanx-baloto-gateway.php:18 -msgid "Baloto" -msgstr "Baloto" - -#: gateways/class-wc-ebanx-baloto-gateway.php:19 -msgid "Paga con Baloto." -msgstr "Paga com Baloto." - #: gateways/class-wc-ebanx-banking-ticket-gateway.php:15 msgid "EBANX - Banking Ticket" msgstr "EBANX - Boleto" -#: gateways/class-wc-ebanx-banking-ticket-gateway.php:18 -msgid "Boleto EBANX" -msgstr "Boleto EBANX" - -#: gateways/class-wc-ebanx-banking-ticket-gateway.php:19 -msgid "Pague com boleto bancário." -msgstr "Pague com boleto bancário." - #: gateways/class-wc-ebanx-credit-card-br-gateway.php:14 msgid "EBANX - Credit Card Brazil" msgstr "EBANX - Cartões de Crédito no Brasil" @@ -115,14 +91,6 @@ msgstr "EBANX - Cartão de Débito" msgid "EBANX - PSE" msgstr "EBANX - PSE" -#: gateways/class-wc-ebanx-eft-gateway.php:18 -msgid "PSE - Pago Seguros en Línea" -msgstr "PSE - Pago Seguros en Línea" - -#: gateways/class-wc-ebanx-eft-gateway.php:19 -msgid "Paga con PSE - Pago Seguros en Línea." -msgstr "Pague com PSE - Pago Seguros en Línea." - #: gateways/class-wc-ebanx-gateway.php:172 msgid "Select an option" msgstr "Selecione uma opção" @@ -161,38 +129,38 @@ msgid "We could not finish processing this refund. Please try again." msgstr "" "Não pudemos terminar de processar este reebolso. Por favor, tente novamente." -#: gateways/class-wc-ebanx-gateway.php:943 +#: gateways/class-wc-ebanx-gateway.php:967 #, php-format msgid "Processing response: %s" msgstr "Processando resposta: %s" -#: gateways/class-wc-ebanx-gateway.php:963 +#: gateways/class-wc-ebanx-gateway.php:987 msgid "EBANX: The payment has failed." msgstr "EBANX: O pagamento falhou." -#: gateways/class-wc-ebanx-gateway.php:968 +#: gateways/class-wc-ebanx-gateway.php:992 msgid "EBANX: The payment was opened." msgstr "EBANX: O pagamento foi aberto." -#: gateways/class-wc-ebanx-gateway.php:973 +#: gateways/class-wc-ebanx-gateway.php:997 msgid "EBANX: The order is awaiting payment." msgstr "EBANX: A pedido está aguardando pagamento." -#: gateways/class-wc-ebanx-gateway.php:978 +#: gateways/class-wc-ebanx-gateway.php:1002 msgid "EBANX: The transaction was paid." msgstr "EBANX: A transação foi paga." -#: gateways/class-wc-ebanx-gateway.php:1073 +#: gateways/class-wc-ebanx-gateway.php:1097 #, php-format msgid "EBANX: The payment has been updated to: %s." msgstr "EBANX: O pagamento foi atualizado para: %s." -#: gateways/class-wc-ebanx-gateway.php:1092 +#: gateways/class-wc-ebanx-gateway.php:1116 #, php-format msgid "EBANX: Your Refund was confirmed to EBANX - Refund ID: %s" msgstr "EBANX: Seu reebolso foi confirmado para o EBANX - ID do reembolso: %s" -#: gateways/class-wc-ebanx-gateway.php:1095 +#: gateways/class-wc-ebanx-gateway.php:1119 #, php-format msgid "EBANX: Your Refund was canceled to EBANX - Refund ID: %s" msgstr "EBANX: Seu Reembolso foi cancelado para o EBANX - ID do reembolso: %s" @@ -549,102 +517,34 @@ msgstr "Aplicar o IOF quando calcular o preço em BRL no checkout" msgid "EBANX - Multicaja" msgstr "EBANX - Multicaja" -#: gateways/class-wc-ebanx-multicaja-gateway.php:17 -msgid "Multicaja" -msgstr "Multicaja" - -#: gateways/class-wc-ebanx-multicaja-gateway.php:18 -msgid "Paga con multicaja." -msgstr "Pague com multicaja." - #: gateways/class-wc-ebanx-oxxo-gateway.php:15 msgid "EBANX - OXXO" msgstr "EBANX - OXXO" -#: gateways/class-wc-ebanx-oxxo-gateway.php:18 -msgid "OXXO" -msgstr "OXXO" - -#: gateways/class-wc-ebanx-oxxo-gateway.php:19 -msgid "Paga con boleta OXXO." -msgstr "Pague com OXXO." - #: gateways/class-wc-ebanx-pagoefectivo-gateway.php:15 msgid "EBANX - Pagoefectivo" msgstr "EBANX - Pagoefectivo" -#: gateways/class-wc-ebanx-pagoefectivo-gateway.php:18 -msgid "PagoEfectivo" -msgstr "PagoEfectivo" - -#: gateways/class-wc-ebanx-pagoefectivo-gateway.php:19 -msgid "Paga con PagoEfectivo." -msgstr "Pague com PagoEfectivo." - #: gateways/class-wc-ebanx-safetypay-gateway.php:15 msgid "EBANX - Safetypay" msgstr "EBANX - Safetypay" -#: gateways/class-wc-ebanx-safetypay-gateway.php:17 -msgid "SafetyPay" -msgstr "SafetyPay" - -#: gateways/class-wc-ebanx-safetypay-gateway.php:18 -msgid "Paga con SafetyPay." -msgstr "Pague com SafetyPay." - #: gateways/class-wc-ebanx-sencillito-gateway.php:15 msgid "EBANX - Sencillito" msgstr "EBANX - Sencillito" -#: gateways/class-wc-ebanx-sencillito-gateway.php:18 -msgid "Sencillito" -msgstr "Sencillito" - -#: gateways/class-wc-ebanx-sencillito-gateway.php:19 -msgid "Paga con Sencillito." -msgstr "Paga con Sencillito." - #: gateways/class-wc-ebanx-servipag-gateway.php:15 msgid "EBANX - Servipag" msgstr "EBANX - Servipag" -#: gateways/class-wc-ebanx-servipag-gateway.php:18 -msgid "ServiPag" -msgstr "ServiPag" - -#: gateways/class-wc-ebanx-servipag-gateway.php:19 -msgid "Paga con Servipag." -msgstr "Pague com Servipag." - #: gateways/class-wc-ebanx-tef-gateway.php:15 msgid "EBANX - TEF" msgstr "EBANX - TEF" -#: gateways/class-wc-ebanx-tef-gateway.php:18 -msgid "Débito Online" -msgstr "Débito Online" - -#: gateways/class-wc-ebanx-tef-gateway.php:19 -msgid "" -"Selecione o seu banco. A seguir, você será redirecionado para concluir o " -"pagamento pelo seu internet banking." -msgstr "" -"Selecione o seu banco. A seguir, você será redirecionado para concluir o " -"pagamento pelo seu internet banking." - #: gateways/class-wc-ebanx-webpay-gateway.php:15 msgid "EBANX - Webpay" msgstr "EBANX - Webpay" -#: gateways/class-wc-ebanx-webpay-gateway.php:17 -msgid "Webpay" -msgstr "Webpay" - -#: gateways/class-wc-ebanx-webpay-gateway.php:18 -msgid "Paga con Webpay." -msgstr "Pague com Webpay." - #: services/class-wc-ebanx-assets.php:61 msgid "" "You need to validate this change with EBANX, only deselecting or selecting " @@ -868,92 +768,6 @@ msgstr "Cidade" msgid "State / County" msgstr "Estado" -#: templates/debit-card/payment-form.php:23 -#: templates/ebanx-credit-card-br/card-template.php:9 -#: templates/ebanx-credit-card-co/card-template.php:14 -#: templates/ebanx-credit-card-mx/card-template.php:14 -msgid "MM / AA" -msgstr "MM / AA" - -#: templates/debit-card/payment-form.php:27 -#: templates/ebanx-credit-card-br/card-template.php:13 -#: templates/ebanx-credit-card-br/payment-form.php:35 -#: templates/ebanx-credit-card-co/card-template.php:18 -#: templates/ebanx-credit-card-co/payment-form.php:33 -#: templates/ebanx-credit-card-mx/card-template.php:18 -#: templates/ebanx-credit-card-mx/payment-form.php:35 -msgid "CVV" -msgstr "CVV" - -#: templates/debit-card/payment-processing.php:16 -msgid "Resumo de la compra:" -msgstr "Resumo da compra:" - -#: templates/debit-card/payment-processing.php:17 -msgid "Valor:" -msgstr "Valor:" - -#: templates/debit-card/payment-processing.php:18 -msgid "Pago realizado en una sola exhibición" -msgstr "Pagamento realizado a vista." - -#: templates/debit-card/payment-processing.php:19 -msgid "Gracias por haber comprado con nosotros." -msgstr "Obrigado por comprar conosco" - -#: templates/ebanx-credit-card-br/card-template.php:3 -msgid "Número do Cartão" -msgstr "Número do Cartão" - -#: templates/ebanx-credit-card-br/card-template.php:8 -msgid "Data de validade (MM / AA)" -msgstr "Data de validade (MM / AA)" - -#: templates/ebanx-credit-card-br/card-template.php:12 -#: templates/ebanx-credit-card-br/payment-form.php:33 -msgid "Código de segurança" -msgstr "Código de segurança" - -#: templates/ebanx-credit-card-br/card-template.php:22 -msgid "Salvar este cartão para compras futuras" -msgstr "Salvar este cartão para compras futuras" - -#: templates/ebanx-credit-card-br/payment-form.php:48 -msgid "Usar um outro cartão" -msgstr "Usar um outro cartão" - -#: templates/ebanx-credit-card-co/card-template.php:3 -#: templates/ebanx-credit-card-mx/card-template.php:3 -msgid "Titular de la tarjeta" -msgstr "Titular do cartão" - -#: templates/ebanx-credit-card-co/card-template.php:8 -#: templates/ebanx-credit-card-mx/card-template.php:8 -msgid "Número de la tarjeta" -msgstr "Número do cartão" - -#: templates/ebanx-credit-card-co/card-template.php:13 -#: templates/ebanx-credit-card-mx/card-template.php:13 -msgid "Fecha de expiración (MM / AA)" -msgstr "Data de Validade (MM / AA)" - -#: templates/ebanx-credit-card-co/card-template.php:17 -#: templates/ebanx-credit-card-co/payment-form.php:31 -#: templates/ebanx-credit-card-mx/card-template.php:17 -#: templates/ebanx-credit-card-mx/payment-form.php:33 -msgid "Código de verificación" -msgstr "Código de segurança" - -#: templates/ebanx-credit-card-co/card-template.php:27 -#: templates/ebanx-credit-card-mx/card-template.php:27 -msgid "Guarda esta tarjeta para compras futuras." -msgstr "Salvar este cartão para compras futuras" - -#: templates/ebanx-credit-card-co/payment-form.php:46 -#: templates/ebanx-credit-card-mx/payment-form.php:48 -msgid "Otra tarjeta de crédito" -msgstr "Usar um outro cartão" - #: templates/eft/payment-failed.php:17 templates/eft/payment-on-hold.php:17 #: templates/eft/payment-processing.php:17 #, php-format @@ -1032,7 +846,7 @@ msgstr "Processando..." msgid "Pay Now" msgstr "Pagar" -#: templates/payment-by-link-action.php:6 woocommerce-gateway-ebanx.php:641 +#: templates/payment-by-link-action.php:6 woocommerce-gateway-ebanx.php:645 msgid "Create EBANX Payment Link" msgstr "Criar Link de Pagamento EBANX" @@ -1061,10 +875,137 @@ msgstr "Pagamento realizado com sucesso usando Servipag.." msgid "Currency %s is not supported. Works only with Brazilian Real." msgstr "A moeda %s não é suportada. Funciona apenas como Real Brasileiro." -#: woocommerce-gateway-ebanx.php:574 +#: woocommerce-gateway-ebanx.php:578 msgid "Settings" msgstr "Configurações" +#~ msgid "MM / AA" +#~ msgstr "MM / AA" + +#~ msgid "CVV" +#~ msgstr "CVV" + +#~ msgid "Usar um outro cartão" +#~ msgstr "Usar um outro cartão" + +#~ msgid "Otra tarjeta de crédito" +#~ msgstr "Usar um outro cartão" + +#~ msgid "Paga con PagoEfectivo." +#~ msgstr "Pague com PagoEfectivo." + +#~ msgid "Saldo EBANX" +#~ msgstr "Saldo EBANX" + +#~ msgid "Pague usando o saldo da sua conta do EBANX." +#~ msgstr "Pague usando o saldo da sua conta do EBANX." + +#~ msgid "Baloto" +#~ msgstr "Baloto" + +#~ msgid "Paga con Baloto." +#~ msgstr "Paga com Baloto." + +#~ msgid "Boleto EBANX" +#~ msgstr "Boleto EBANX" + +#~ msgid "Pague com boleto bancário." +#~ msgstr "Pague com boleto bancário." + +#~ msgid "PSE - Pago Seguros en Línea" +#~ msgstr "PSE - Pago Seguros en Línea" + +#~ msgid "Paga con PSE - Pago Seguros en Línea." +#~ msgstr "Pague com PSE - Pago Seguros en Línea." + +#~ msgid "Multicaja" +#~ msgstr "Multicaja" + +#~ msgid "Paga con multicaja." +#~ msgstr "Pague com multicaja." + +#~ msgid "OXXO" +#~ msgstr "OXXO" + +#~ msgid "Paga con boleta OXXO." +#~ msgstr "Pague com OXXO." + +#~ msgid "PagoEfectivo" +#~ msgstr "PagoEfectivo" + +#~ msgid "SafetyPay" +#~ msgstr "SafetyPay" + +#~ msgid "Paga con SafetyPay." +#~ msgstr "Pague com SafetyPay." + +#~ msgid "Sencillito" +#~ msgstr "Sencillito" + +#~ msgid "Paga con Sencillito." +#~ msgstr "Paga con Sencillito." + +#~ msgid "ServiPag" +#~ msgstr "ServiPag" + +#~ msgid "Paga con Servipag." +#~ msgstr "Pague com Servipag." + +#~ msgid "Débito Online" +#~ msgstr "Débito Online" + +#~ msgid "" +#~ "Selecione o seu banco. A seguir, você será redirecionado para concluir o " +#~ "pagamento pelo seu internet banking." +#~ msgstr "" +#~ "Selecione o seu banco. A seguir, você será redirecionado para concluir o " +#~ "pagamento pelo seu internet banking." + +#~ msgid "Webpay" +#~ msgstr "Webpay" + +#~ msgid "Paga con Webpay." +#~ msgstr "Pague com Webpay." + +#~ msgid "Resumo de la compra:" +#~ msgstr "Resumo da compra:" + +#~ msgid "Valor:" +#~ msgstr "Valor:" + +#~ msgid "Pago realizado en una sola exhibición" +#~ msgstr "Pagamento realizado a vista." + +#~ msgid "Gracias por haber comprado con nosotros." +#~ msgstr "Obrigado por comprar conosco" + +#~ msgid "Número do Cartão" +#~ msgstr "Número do Cartão" + +#~ msgid "Data de validade (MM / AA)" +#~ msgstr "Data de validade (MM / AA)" + +#~ msgid "Código de segurança" +#~ msgstr "Código de segurança" + +#~ msgid "Salvar este cartão para compras futuras" +#~ msgstr "Salvar este cartão para compras futuras" + +#~ msgid "Titular de la tarjeta" +#~ msgstr "Titular do cartão" + +#~ msgid "Número de la tarjeta" +#~ msgstr "Número do cartão" + +#~ msgid "Fecha de expiración (MM / AA)" +#~ msgstr "Data de Validade (MM / AA)" + +#~ msgid "Código de verificación" +#~ msgstr "Código de segurança" + +#~ msgid "Guarda esta tarjeta para compras futuras." +#~ msgstr "Salvar este cartão para compras futuras" + #~ msgid "Cartão de Crédito" #~ msgstr "Cartão de Crédito" diff --git a/woocommerce-gateway-ebanx/templates/debit-card/payment-form.php b/woocommerce-gateway-ebanx/templates/debit-card/payment-form.php index 5b401347..69b92cc1 100644 --- a/woocommerce-gateway-ebanx/templates/debit-card/payment-form.php +++ b/woocommerce-gateway-ebanx/templates/debit-card/payment-form.php @@ -10,21 +10,21 @@
- +
- +
- - + +
- - + +
diff --git a/woocommerce-gateway-ebanx/templates/debit-card/payment-processing.php b/woocommerce-gateway-ebanx/templates/debit-card/payment-processing.php index d2e191b3..7b2acb06 100644 --- a/woocommerce-gateway-ebanx/templates/debit-card/payment-processing.php +++ b/woocommerce-gateway-ebanx/templates/debit-card/payment-processing.php @@ -12,8 +12,8 @@ } ?> -

-

-

-

-

+

+

Resumo de la compra:

+

Valor:

+

Pago realizado en una sola exhibición'

+

Gracias por haber comprado con nosotros.'

diff --git a/woocommerce-gateway-ebanx/templates/ebanx-credit-card-br/card-template.php b/woocommerce-gateway-ebanx/templates/ebanx-credit-card-br/card-template.php index 384c4a51..7d05068e 100644 --- a/woocommerce-gateway-ebanx/templates/ebanx-credit-card-br/card-template.php +++ b/woocommerce-gateway-ebanx/templates/ebanx-credit-card-br/card-template.php @@ -1,16 +1,16 @@
- +
- - + +
- - + +
@@ -19,7 +19,7 @@
diff --git a/woocommerce-gateway-ebanx/templates/ebanx-credit-card-br/payment-form.php b/woocommerce-gateway-ebanx/templates/ebanx-credit-card-br/payment-form.php index 59f42fb8..68976a38 100644 --- a/woocommerce-gateway-ebanx/templates/ebanx-credit-card-br/payment-form.php +++ b/woocommerce-gateway-ebanx/templates/ebanx-credit-card-br/payment-form.php @@ -30,9 +30,9 @@
- + - +
@@ -45,7 +45,7 @@
diff --git a/woocommerce-gateway-ebanx/templates/ebanx-credit-card-co/card-template.php b/woocommerce-gateway-ebanx/templates/ebanx-credit-card-co/card-template.php index b78f02b6..757a0112 100644 --- a/woocommerce-gateway-ebanx/templates/ebanx-credit-card-co/card-template.php +++ b/woocommerce-gateway-ebanx/templates/ebanx-credit-card-co/card-template.php @@ -1,21 +1,21 @@
- +
- +
- - + +
- - + +
@@ -24,7 +24,7 @@
diff --git a/woocommerce-gateway-ebanx/templates/ebanx-credit-card-co/payment-form.php b/woocommerce-gateway-ebanx/templates/ebanx-credit-card-co/payment-form.php index 038ce86c..cad25b35 100644 --- a/woocommerce-gateway-ebanx/templates/ebanx-credit-card-co/payment-form.php +++ b/woocommerce-gateway-ebanx/templates/ebanx-credit-card-co/payment-form.php @@ -28,9 +28,9 @@
- + - +
@@ -43,7 +43,7 @@
diff --git a/woocommerce-gateway-ebanx/templates/ebanx-credit-card-mx/card-template.php b/woocommerce-gateway-ebanx/templates/ebanx-credit-card-mx/card-template.php index b78f02b6..757a0112 100644 --- a/woocommerce-gateway-ebanx/templates/ebanx-credit-card-mx/card-template.php +++ b/woocommerce-gateway-ebanx/templates/ebanx-credit-card-mx/card-template.php @@ -1,21 +1,21 @@
- +
- +
- - + +
- - + +
@@ -24,7 +24,7 @@
diff --git a/woocommerce-gateway-ebanx/templates/ebanx-credit-card-mx/payment-form.php b/woocommerce-gateway-ebanx/templates/ebanx-credit-card-mx/payment-form.php index de7cf282..b41db3d6 100644 --- a/woocommerce-gateway-ebanx/templates/ebanx-credit-card-mx/payment-form.php +++ b/woocommerce-gateway-ebanx/templates/ebanx-credit-card-mx/payment-form.php @@ -30,9 +30,9 @@
- + - +
@@ -45,7 +45,7 @@
From 23644c7b66ffd807bd00d121a00675bc60ddf05a Mon Sep 17 00:00:00 2001 From: Anderson Campanha Date: Wed, 2 Aug 2017 16:18:08 -0300 Subject: [PATCH 11/22] Fix absent masked number on debitcard --- woocommerce-gateway-ebanx/assets/js/debit-card.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/woocommerce-gateway-ebanx/assets/js/debit-card.js b/woocommerce-gateway-ebanx/assets/js/debit-card.js index 08740ff5..dd243330 100644 --- a/woocommerce-gateway-ebanx/assets/js/debit-card.js +++ b/woocommerce-gateway-ebanx/assets/js/debit-card.js @@ -100,6 +100,7 @@ jQuery( function($) { wc_ebanx_form.removeHiddenInputs(); } else { wc_ebanx_form.form.append(''); + wc_ebanx_form.form.append(''); wc_ebanx_form.form.submit(); } }, @@ -111,6 +112,7 @@ jQuery( function($) { removeHiddenInputs: function () { $('#ebanx_debit_token').remove(); $('#ebanx_billing_cvv').remove(); + $('#ebanx_masked_card_number').remove(); } }; From 96bcf9067a70a138a4cdc20cd829c5ba6c27f9c9 Mon Sep 17 00:00:00 2001 From: Anderson Campanha Date: Thu, 3 Aug 2017 14:33:23 -0300 Subject: [PATCH 12/22] Fix one click always recquiring documents for brazil and colombia --- .../services/class-wc-ebanx-one-click.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/woocommerce-gateway-ebanx/services/class-wc-ebanx-one-click.php b/woocommerce-gateway-ebanx/services/class-wc-ebanx-one-click.php index ba0e1293..deb552f9 100644 --- a/woocommerce-gateway-ebanx/services/class-wc-ebanx-one-click.php +++ b/woocommerce-gateway-ebanx/services/class-wc-ebanx-one-click.php @@ -91,7 +91,6 @@ public function one_click_handler() { )); $product_id = WC_EBANX_Request::read('ebanx-product-id'); - $user = array( 'email' => get_user_meta($this->userId, 'billing_email', true), 'country' => get_user_meta($this->userId, 'billing_country', true), @@ -265,11 +264,11 @@ protected function customer_has_ebanx_required_data() { && ! empty(WC_EBANX_Request::read('ebanx-credit-card-installments', null)) && ! empty(WC_EBANX_Request::read('ebanx-one-click-cvv', null)) && WC_EBANX_Request::has($names['ebanx_billing_brazil_document']) - && WC_EBANX_Request::has($names['ebanx_billing_brazil_birth_date']) - && WC_EBANX_Request::has($names['ebanx_billing_colombia_document']) + && (WC_EBANX_Request::has($names['ebanx_billing_brazil_birth_date']) + || WC_EBANX_Request::has($names['ebanx_billing_colombia_document'])) && ! empty(WC_EBANX_Request::read($names['ebanx_billing_brazil_document'], null)) - && ! empty(WC_EBANX_Request::read($names['ebanx_billing_brazil_birth_date'], null)) - && ! empty(WC_EBANX_Request::read($names['ebanx_billing_colombia_document'], null)); + && (!empty(WC_EBANX_Request::read($names['ebanx_billing_brazil_birth_date'], null)) + || !empty(WC_EBANX_Request::read($names['ebanx_billing_colombia_document'], null))); } /** From a79b7e43dc236e6e20589e2f94f6be52775c766a Mon Sep 17 00:00:00 2001 From: Anderson Campanha Date: Fri, 4 Aug 2017 13:09:05 -0300 Subject: [PATCH 13/22] Add one-click when max instalments is 1 --- woocommerce-gateway-ebanx/services/class-wc-ebanx-one-click.php | 1 + 1 file changed, 1 insertion(+) diff --git a/woocommerce-gateway-ebanx/services/class-wc-ebanx-one-click.php b/woocommerce-gateway-ebanx/services/class-wc-ebanx-one-click.php index deb552f9..740c3f81 100644 --- a/woocommerce-gateway-ebanx/services/class-wc-ebanx-one-click.php +++ b/woocommerce-gateway-ebanx/services/class-wc-ebanx-one-click.php @@ -248,6 +248,7 @@ protected function customer_has_ebanx_required_data() { WC_EBANX_Request::set('ebanx_brand', $card->brand); WC_EBANX_Request::set('ebanx_billing_cvv', WC_EBANX_Request::read('ebanx-one-click-cvv')); WC_EBANX_Request::set('ebanx_is_one_click', true); + WC_EBANX_Request::set('ebanx-credit-card-installments', WC_EBANX_Request::read('ebanx-credit-card-installments', 1)); WC_EBANX_Request::set('ebanx_billing_instalments', WC_EBANX_Request::read('ebanx-credit-card-installments')); WC_EBANX_Request::set($names['ebanx_billing_brazil_document'], get_user_meta( $this->userId, '_ebanx_billing_brazil_document', true )); From 5f9d4cb36d9f51ebadcaaabaaafcd36a86c2b993 Mon Sep 17 00:00:00 2001 From: Anderson Campanha Date: Fri, 4 Aug 2017 13:35:28 -0300 Subject: [PATCH 14/22] Sentence tweaks --- .../woocommerce-gateway-ebanx-pt_BR.mo | Bin 19726 -> 19660 bytes .../woocommerce-gateway-ebanx-pt_BR.po | 76 +++++++++--------- .../templates/compliance-fields-br.php | 4 +- .../templates/compliance-fields-cl.php | 4 +- .../templates/compliance-fields-co.php | 4 +- .../templates/compliance-fields-mx.php | 4 +- .../templates/compliance-fields-pe.php | 4 +- 7 files changed, 47 insertions(+), 49 deletions(-) diff --git a/woocommerce-gateway-ebanx/languages/woocommerce-gateway-ebanx-pt_BR.m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xZS*yd#d+NvU%$vax_I0isZV!)HE-&FHRl`) diff --git a/woocommerce-gateway-ebanx/languages/woocommerce-gateway-ebanx-pt_BR.po b/woocommerce-gateway-ebanx/languages/woocommerce-gateway-ebanx-pt_BR.po index 164820f8..9d565731 100644 --- a/woocommerce-gateway-ebanx/languages/woocommerce-gateway-ebanx-pt_BR.po +++ b/woocommerce-gateway-ebanx/languages/woocommerce-gateway-ebanx-pt_BR.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: \n" -"POT-Creation-Date: 2017-08-02 13:51-0300\n" -"PO-Revision-Date: 2017-08-02 13:52-0300\n" +"POT-Creation-Date: 2017-08-04 13:17-0300\n" +"PO-Revision-Date: 2017-08-04 13:34-0300\n" "Last-Translator: \n" "Language-Team: EBANX\n" "Language: pt_BR\n" @@ -98,12 +98,12 @@ msgstr "Selecione uma opção" #: gateways/class-wc-ebanx-gateway.php:176 #: gateways/class-wc-ebanx-global-gateway.php:402 msgid "CPF - Individuals" -msgstr "CPF - Indivíduos" +msgstr "CPF - Pessoa física" #: gateways/class-wc-ebanx-gateway.php:177 #: gateways/class-wc-ebanx-global-gateway.php:403 msgid "CNPJ - Companies" -msgstr "CNPJ - Companhias" +msgstr "CNPJ - Pessoa jurídica" #: gateways/class-wc-ebanx-gateway.php:183 #: gateways/class-wc-ebanx-gateway.php:203 @@ -191,8 +191,8 @@ msgid "" "the EBANX Dashboard." "" msgstr "" -"Você pode obter as chaves de integração na seção de configurações, fazendo " -"log in no EBANX " +"Você pode obter as chaves de integração na seção \"Settings\", fazendo log " +"in no EBANX " "Dashboard." #: gateways/class-wc-ebanx-global-gateway.php:121 @@ -237,7 +237,9 @@ msgstr "Habilitar Debug Log" #: gateways/class-wc-ebanx-global-gateway.php:146 msgid "Record all errors that occur when executing a transaction." -msgstr "Gravar todos os erros que ocorram quando executando uma transação." +msgstr "" +"Gravar todos os erros que ocorrerem enquanto uma transação estiver sendo " +"executada." #: gateways/class-wc-ebanx-global-gateway.php:151 msgid "Enable Payment Methods" @@ -325,13 +327,13 @@ msgid "" "Otherwise you will need to capture the payment going to: WooCommerce -> " "Orders. Not captured payments will be cancelled in 4 days." msgstr "" -"Capture automaticamente pagamentos de seus clientes, apenas para cartão de " -"crédito. Caso contrário você precisará capturar o pagamento indo em: " -"WooCommerce -> Orders. Pagamentos não capturados serão cancelados em 4 dias." +"Capture automaticamente pedidos de seus clientes, apenas para cartão de " +"crédito. Caso contrário você precisará capturar o pedido indo em: " +"WooCommerce -> Orders. Pedidos não capturados serão cancelados em 4 dias." #: gateways/class-wc-ebanx-global-gateway.php:266 msgid "Maximum nº of Instalments" -msgstr "Nº máximo de parcelas" +msgstr "Nº Máximo de Parcelas" #: gateways/class-wc-ebanx-global-gateway.php:307 msgid "" @@ -344,7 +346,7 @@ msgstr "" #: gateways/class-wc-ebanx-global-gateway.php:314 #, php-format msgid "Minimum Instalment (%s)" -msgstr "Parcela mínima (%s)" +msgstr "Parcela Mínima (%s)" #: gateways/class-wc-ebanx-global-gateway.php:317 #, php-format @@ -379,16 +381,16 @@ msgstr "" #: gateways/class-wc-ebanx-global-gateway.php:339 msgid "1x Interest Rate in %" -msgstr "1x Taxa de Juro em %" +msgstr "1x - Taxa de Juros em %" #: gateways/class-wc-ebanx-global-gateway.php:346 #: gateways/class-wc-ebanx-global-gateway.php:358 msgid "eg: 15.7%" -msgstr "eg: 15.7%" +msgstr "ex: 15.7%" #: gateways/class-wc-ebanx-global-gateway.php:351 msgid "x Interest Rate" -msgstr "x Taxa de Juro" +msgstr "x - Taxa de Juros" #: gateways/class-wc-ebanx-global-gateway.php:366 msgid "Cash Payments" @@ -420,31 +422,31 @@ msgid "" "fields such as CPF identification for individuals and CNPJ for companies." msgstr "" "Para processar com o Plugin EBANX no Brasil há alguns campos obrigatórios " -"como CPF para indivíduos e CNPJ para Companhias." +"como CPF para pessoas físicas e CNPJ para pessoas jurídicas." #: gateways/class-wc-ebanx-global-gateway.php:410 msgid "Checkout Manager" -msgstr "Administrador de Checkout" +msgstr "Gerenciador de Checkout" #: gateways/class-wc-ebanx-global-gateway.php:411 msgid "Use my checkout manager fields" -msgstr "Usar campos do meu administrador de checkout" +msgstr "Usar campos do meu gerenciador de checkout" #: gateways/class-wc-ebanx-global-gateway.php:414 msgid "" "If you make use of a Checkout Manager, please identify the HTML name " "attribute of the fields." msgstr "" -"Se você usa um administrador de checkout, por favor identifique o nome do " -"atributo HTML dos campos" +"Se você usa um gerenciador de checkout, por favor identifique o atributo " +"HTML 'name' dos campos" #: gateways/class-wc-ebanx-global-gateway.php:418 msgid "Entity Type Selector" -msgstr "Seletor de Tipo de Entidade" +msgstr "Tipo de Entidade" #: gateways/class-wc-ebanx-global-gateway.php:421 msgid "eg: billing_brazil_entity" -msgstr "eg: billing_brazil_entity" +msgstr "ex: billing_brazil_entity" #: gateways/class-wc-ebanx-global-gateway.php:424 msgid "CPF" @@ -452,7 +454,7 @@ msgstr "CPF" #: gateways/class-wc-ebanx-global-gateway.php:427 msgid "eg: billing_brazil_cpf" -msgstr "eg: billing_brazil_cpf" +msgstr "ex: billing_brazil_cpf" #: gateways/class-wc-ebanx-global-gateway.php:430 msgid "Birthdate Brazil" @@ -460,7 +462,7 @@ msgstr "Data de Nascimento no Brasil" #: gateways/class-wc-ebanx-global-gateway.php:433 msgid "eg: billing_brazil_birth_date" -msgstr "eg: billing_brazil_birth_date" +msgstr "ex: billing_brazil_birth_date" #: gateways/class-wc-ebanx-global-gateway.php:436 msgid "CNPJ" @@ -468,7 +470,7 @@ msgstr "CNPJ" #: gateways/class-wc-ebanx-global-gateway.php:439 msgid "eg: billing_brazil_cnpj" -msgstr "eg: billing_brazil_cnpj" +msgstr "ex: billing_brazil_cnpj" #: gateways/class-wc-ebanx-global-gateway.php:442 msgid "RUT" @@ -476,7 +478,7 @@ msgstr "RUT" #: gateways/class-wc-ebanx-global-gateway.php:445 msgid "eg: billing_chile_document" -msgstr "eg: billing_chile_document" +msgstr "ex: billing_chile_document" #: gateways/class-wc-ebanx-global-gateway.php:448 msgid "Birthdate Chile" @@ -484,7 +486,7 @@ msgstr "Data de Nascimento no Chile" #: gateways/class-wc-ebanx-global-gateway.php:451 msgid "eg: billing_chile_birth_date" -msgstr "eg: billing_chile_birth_date" +msgstr "ex: billing_chile_birth_date" #: gateways/class-wc-ebanx-global-gateway.php:454 msgid "DNI" @@ -492,11 +494,11 @@ msgstr "DNI" #: gateways/class-wc-ebanx-global-gateway.php:457 msgid "eg: billing_colombia_document" -msgstr "eg: billing_colombia_document" +msgstr "ex: billing_colombia_document" #: gateways/class-wc-ebanx-global-gateway.php:460 msgid "Total Local Amount" -msgstr "Quantia total local" +msgstr "Quantia Total Local" #: gateways/class-wc-ebanx-global-gateway.php:461 msgid "" @@ -551,10 +553,9 @@ msgid "" "the box will not set this to your customer. Contact your EBANX Account " "Manager or Business Development Expert." msgstr "" -"Você precisa validar esta mudança com o EBANX, apenas deselecionar ou " -"selecionar a caixa não irá refletir para seu cliente. Contate seu " -"Administrador de Conta do EBANX ou Especialista em Desenvolvimento de " -"Negócio." +"Você precisa validar esta mudança com o EBANX, apenas desmarcar ou marcar a " +"caixa não irá refletir para seu cliente. Contate seu Administrador de Conta " +"do EBANX ou Business Development Expert." #: services/class-wc-ebanx-checker.php:20 msgid "" @@ -744,12 +745,6 @@ msgstr "Link do Pagamento para o Cliente" msgid "Payment successfully made using Baloto." msgstr "Pagamento realizado com sucesso usando Baloto." -#: templates/compliance-fields-br.php:20 templates/compliance-fields-cl.php:20 -#: templates/compliance-fields-co.php:15 templates/compliance-fields-mx.php:10 -#: templates/compliance-fields-pe.php:10 -msgid "Postcode / ZIP" -msgstr "Código postal / CEP" - #: templates/compliance-fields-br.php:24 templates/compliance-fields-cl.php:24 #: templates/compliance-fields-co.php:19 templates/compliance-fields-mx.php:14 #: templates/compliance-fields-pe.php:14 @@ -879,6 +874,9 @@ msgstr "A moeda %s não é suportada. Funciona apenas como Real Brasileiro." msgid "Settings" msgstr "Configurações" +#~ msgid "Postcode / ZIP" +#~ msgstr "Código postal / CEP" + #~ msgid "MM / AA" #~ msgstr "MM / AA" diff --git a/woocommerce-gateway-ebanx/templates/compliance-fields-br.php b/woocommerce-gateway-ebanx/templates/compliance-fields-br.php index f96ade27..c6d47992 100644 --- a/woocommerce-gateway-ebanx/templates/compliance-fields-br.php +++ b/woocommerce-gateway-ebanx/templates/compliance-fields-br.php @@ -17,7 +17,7 @@ 'value' => $birthDate ), 'billing_postcode' => array( - 'label' => __('Postcode / ZIP', 'woocommerce'), + 'label' => 'Postcode / ZIP', 'value' => $address['postcode'] ), 'billing_address_1' => array( @@ -63,4 +63,4 @@ class="input-text"
- \ No newline at end of file + diff --git a/woocommerce-gateway-ebanx/templates/compliance-fields-cl.php b/woocommerce-gateway-ebanx/templates/compliance-fields-cl.php index b432bd15..07587ff8 100644 --- a/woocommerce-gateway-ebanx/templates/compliance-fields-cl.php +++ b/woocommerce-gateway-ebanx/templates/compliance-fields-cl.php @@ -17,7 +17,7 @@ 'value' => $birthDate ), 'billing_postcode' => array( - 'label' => __('Postcode / ZIP', 'woocommerce'), + 'label' => 'Postcode / ZIP', 'value' => $address['postcode'] ), 'billing_address_1' => array( @@ -64,4 +64,4 @@ class="input-text"
- \ No newline at end of file + diff --git a/woocommerce-gateway-ebanx/templates/compliance-fields-co.php b/woocommerce-gateway-ebanx/templates/compliance-fields-co.php index 6ebaf575..29259758 100644 --- a/woocommerce-gateway-ebanx/templates/compliance-fields-co.php +++ b/woocommerce-gateway-ebanx/templates/compliance-fields-co.php @@ -12,7 +12,7 @@ 'value' => $document ), 'billing_postcode' => array( - 'label' => __('Postcode / ZIP', 'woocommerce'), + 'label' => 'Postcode / ZIP', 'value' => $address['postcode'] ), 'billing_address_1' => array( @@ -59,4 +59,4 @@ class="input-text"
- \ No newline at end of file + diff --git a/woocommerce-gateway-ebanx/templates/compliance-fields-mx.php b/woocommerce-gateway-ebanx/templates/compliance-fields-mx.php index 3eb76fe8..9056c722 100644 --- a/woocommerce-gateway-ebanx/templates/compliance-fields-mx.php +++ b/woocommerce-gateway-ebanx/templates/compliance-fields-mx.php @@ -7,7 +7,7 @@ $fields = array( 'billing_postcode' => array( - 'label' => __('Postcode / ZIP', 'woocommerce'), + 'label' => 'Postcode / ZIP', 'value' => $address['postcode'] ), 'billing_address_1' => array( @@ -54,4 +54,4 @@ class="input-text"
- \ No newline at end of file + diff --git a/woocommerce-gateway-ebanx/templates/compliance-fields-pe.php b/woocommerce-gateway-ebanx/templates/compliance-fields-pe.php index 4fe423ef..2743e791 100644 --- a/woocommerce-gateway-ebanx/templates/compliance-fields-pe.php +++ b/woocommerce-gateway-ebanx/templates/compliance-fields-pe.php @@ -7,7 +7,7 @@ $fields = array( 'billing_postcode' => array( - 'label' => __('Postcode / ZIP', 'woocommerce'), + 'label' => 'Postcode / ZIP', 'value' => $address['postcode'] ), 'billing_address_1' => array( @@ -54,4 +54,4 @@ class="input-text"
- \ No newline at end of file + From bced7f39386184ebe30696918aa3fc183c2385dd Mon Sep 17 00:00:00 2001 From: Anderson Campanha Date: Fri, 4 Aug 2017 16:22:12 -0300 Subject: [PATCH 15/22] Change text field for select on state field --- .../templates/compliance-fields-br.php | 17 ++++++++++++----- .../templates/compliance-fields-mx.php | 17 ++++++++++++----- .../templates/compliance-fields-pe.php | 17 ++++++++++++----- 3 files changed, 36 insertions(+), 15 deletions(-) diff --git a/woocommerce-gateway-ebanx/templates/compliance-fields-br.php b/woocommerce-gateway-ebanx/templates/compliance-fields-br.php index f96ade27..89fb2d20 100644 --- a/woocommerce-gateway-ebanx/templates/compliance-fields-br.php +++ b/woocommerce-gateway-ebanx/templates/compliance-fields-br.php @@ -28,15 +28,13 @@ 'label' => __('Town / City', 'woocommerce'), 'value' => $address['city'] ), - 'billing_state' => array( - 'label' => __('State / County', 'woocommerce'), - 'value' => $address['state'] - ), 'billing_country' => array( 'value' => $address['country'], 'type' => 'hidden' ) ); + $countries_obj = new WC_Countries(); + $states = $countries_obj->get_states('BR'); } ?> @@ -62,5 +60,14 @@ class="input-text" +
- \ No newline at end of file + diff --git a/woocommerce-gateway-ebanx/templates/compliance-fields-mx.php b/woocommerce-gateway-ebanx/templates/compliance-fields-mx.php index 3eb76fe8..7869dd98 100644 --- a/woocommerce-gateway-ebanx/templates/compliance-fields-mx.php +++ b/woocommerce-gateway-ebanx/templates/compliance-fields-mx.php @@ -18,16 +18,14 @@ 'label' => __('Town / City', 'woocommerce'), 'value' => $address['city'] ), - 'billing_state' => array( - 'label' => __('State / County', 'woocommerce'), - 'value' => $address['state'] - ), 'billing_country' => array( 'label' => 'Country', 'value' => $address['country'], 'type' => 'hidden' ) ); + $countries_obj = new WC_Countries(); + $states = $countries_obj->get_states('MX'); } ?> @@ -53,5 +51,14 @@ class="input-text" +
- \ No newline at end of file + diff --git a/woocommerce-gateway-ebanx/templates/compliance-fields-pe.php b/woocommerce-gateway-ebanx/templates/compliance-fields-pe.php index 4fe423ef..f833c514 100644 --- a/woocommerce-gateway-ebanx/templates/compliance-fields-pe.php +++ b/woocommerce-gateway-ebanx/templates/compliance-fields-pe.php @@ -18,16 +18,14 @@ 'label' => __('Town / City', 'woocommerce'), 'value' => $address['city'] ), - 'billing_state' => array( - 'label' => __('State / County', 'woocommerce'), - 'value' => $address['state'] - ), 'billing_country' => array( 'label' => 'Country', 'value' => $address['country'], 'type' => 'hidden' ) ); + $countries_obj = new WC_Countries(); + $states = $countries_obj->get_states('BR'); } ?> @@ -53,5 +51,14 @@ class="input-text" +
- \ No newline at end of file + From 710f17e056c5ce6435ca543fc709ffbf8171fcab Mon Sep 17 00:00:00 2001 From: Anderson Campanha Date: Fri, 4 Aug 2017 16:34:37 -0300 Subject: [PATCH 16/22] More tweaks --- .../woocommerce-gateway-ebanx-pt_BR.mo | Bin 19660 -> 19670 bytes .../woocommerce-gateway-ebanx-pt_BR.po | 8 ++++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/woocommerce-gateway-ebanx/languages/woocommerce-gateway-ebanx-pt_BR.mo b/woocommerce-gateway-ebanx/languages/woocommerce-gateway-ebanx-pt_BR.mo index 56f37c0b939cf0be4339ef1ef09fb366a6c51d65..1398f3de14c2839a86da80fe74a36b6cbeebd733 100644 GIT binary patch delta 1347 zcmXZbTS!z<6oBD1d70GIyiPf4L#3j^c$w7HOtXt=P8gAaK_n_>lGB|^=^#yI83vk! zsRe}v(t{=hniPUyL=WXd_#|N$i0mPJ2rQw0b>?CC_S$FmS?jF5_q#sJ$3Dx5H^BHJ zBC$@9Nc@BG7?vSo$8-$DGW5s&Xv2f(hs_v`9-m&^NZf}pIEk@1i@NSR2B0O=%xBFM zLxPxyVlD8-N+*`zB1@wkXRsc6`!J3o?gfgJwE$UJ28X01q(<`V%cWKd1xoD_IU`A$1=XMyd>ZwT zUGv4AsAuFM#^5M=a0aPO@=8T$x?I3Q^2-PVZk{Y6=TPkQUv;BiI|H>tUewb&h<^AC z58((pFmRXIkrdPqIe=O~6Aqz)dS;T?54{~-Xt)_XV4(MW5%oGQVKc7aQEb{{E_j2F zi07~bTgyZ);v`aoDK|TH3N?=x)3CFg{s%L7!GtcDLQNQ6K~dO( z(-^wX{K8obB3{A-TtWR(d!@N0E?iGsfx1=osE4*4_5TB?>nBjRXu5Lja&V2qKer$| we{3%8u%ETIvG!y`%efwxv#zH?d{4)woFR$-0N}8()&Kwi delta 1337 zcmXZbO-NKx6u|K#GgE$KYJSx?>R4E)IA)_}nq`e;)&y=MFi1rw4I@bsW27F|5TXlH zlMqQnNLvJ&7D8aOh!TocBK851Ey6`$3E4uU|MAW0ckX-dzH{$6_bv>EydMmi4A_iM zB9h<|*@3^%fz}+6Buv9CSb|n8!$hn=3)W&B`hxm#H{%|R$0x4|>sw_fQi)#T0ywZk$I=5SlBS|4GHWj59C_Cs7l=!bp6B+i^bV z_gq6{fCs;MuopWIFc~LsAAUqThLBAc#O&g(5rA zamcJdK0aXVL0*aRnV^#(u1Mq#K15x4TCqqL`hxbNR$>;l1&hdrCK_F)&UqPFZ-sac6`v~&JskYEolo}ngQ#I3l3`lG*?j*-XA+u=rCP$lYu8&D5f zdvM%=dPW8?9>=j6XOXo@_Hhx4E?2Oa{4z$s&66eM97+uJS3RiLt`)UHe$-y~qXkFt z9FCzA*HI5|a+$f2a?}M><0EWEJu^x4LvKd_jk5&z3G|*Xp}2`_P! z@dqr$Yvm$0a06E_PKyj< zJ-$ZE8FPno7{+)RlW`TbWiei}B^kJjaVa{m3iZ&op?=?oI)4(iMK8S5{_rZN)m`My jn_kR3Z?XF7FW2`Mxa!Pc#AWXvjtaF^>f`Bmu85TXcyO?5 diff --git a/woocommerce-gateway-ebanx/languages/woocommerce-gateway-ebanx-pt_BR.po b/woocommerce-gateway-ebanx/languages/woocommerce-gateway-ebanx-pt_BR.po index 9d565731..26e53411 100644 --- a/woocommerce-gateway-ebanx/languages/woocommerce-gateway-ebanx-pt_BR.po +++ b/woocommerce-gateway-ebanx/languages/woocommerce-gateway-ebanx-pt_BR.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "POT-Creation-Date: 2017-08-04 13:17-0300\n" -"PO-Revision-Date: 2017-08-04 13:34-0300\n" +"PO-Revision-Date: 2017-08-04 16:29-0300\n" "Last-Translator: \n" "Language-Team: EBANX\n" "Language: pt_BR\n" @@ -327,9 +327,9 @@ msgid "" "Otherwise you will need to capture the payment going to: WooCommerce -> " "Orders. Not captured payments will be cancelled in 4 days." msgstr "" -"Capture automaticamente pedidos de seus clientes, apenas para cartão de " -"crédito. Caso contrário você precisará capturar o pedido indo em: " -"WooCommerce -> Orders. Pedidos não capturados serão cancelados em 4 dias." +"Capture automaticamente pagamentos de seus clientes, apenas para cartão de " +"crédito. Caso contrário você precisará capturar o pagamento indo em: " +"WooCommerce -> Pedidos. Pagamentos não capturados serão cancelados em 4 dias." #: gateways/class-wc-ebanx-global-gateway.php:266 msgid "Maximum nº of Instalments" From baabd9775f0088bdfb48e76499db0d61faa6eb01 Mon Sep 17 00:00:00 2001 From: Anderson Campanha Date: Fri, 4 Aug 2017 17:31:39 -0300 Subject: [PATCH 17/22] Fix compliance fields style --- .../assets/css/paying-via-ebanx.css | 5 +++ .../templates/compliance-fields-br.php | 31 ++++++------- .../templates/compliance-fields-cl.php | 35 ++++++++------- .../templates/compliance-fields-co.php | 35 ++++++++------- .../templates/compliance-fields-mx.php | 43 +++++++++--------- .../templates/compliance-fields-pe.php | 45 ++++++++++--------- 6 files changed, 102 insertions(+), 92 deletions(-) diff --git a/woocommerce-gateway-ebanx/assets/css/paying-via-ebanx.css b/woocommerce-gateway-ebanx/assets/css/paying-via-ebanx.css index dd02a4c2..a4a91316 100644 --- a/woocommerce-gateway-ebanx/assets/css/paying-via-ebanx.css +++ b/woocommerce-gateway-ebanx/assets/css/paying-via-ebanx.css @@ -495,3 +495,8 @@ li[class*="ebanx"] .payment_box .ebanx-credit-card-label > .ebanx-credit-card-bi -webkit-box-shadow: none; box-shadow: none; } + +.ebanx-compliance-fields .ebanx-form-row { + padding-left: 0; + padding-right: 0; +} diff --git a/woocommerce-gateway-ebanx/templates/compliance-fields-br.php b/woocommerce-gateway-ebanx/templates/compliance-fields-br.php index 89fb2d20..aae27fbc 100644 --- a/woocommerce-gateway-ebanx/templates/compliance-fields-br.php +++ b/woocommerce-gateway-ebanx/templates/compliance-fields-br.php @@ -49,25 +49,26 @@ class="input-text" /> - +
+ + " + id="" + value="" + class="input-text" + /> +
- +
diff --git a/woocommerce-gateway-ebanx/templates/compliance-fields-cl.php b/woocommerce-gateway-ebanx/templates/compliance-fields-cl.php index b432bd15..86ab0dd5 100644 --- a/woocommerce-gateway-ebanx/templates/compliance-fields-cl.php +++ b/woocommerce-gateway-ebanx/templates/compliance-fields-cl.php @@ -42,26 +42,27 @@ ?> -
+
$field): ?> - " - value="" - class="input-text" - /> + " + value="" + class="input-text" + /> - +
+ + " + id="" + value="" + class="input-text" + /> +
- \ No newline at end of file + diff --git a/woocommerce-gateway-ebanx/templates/compliance-fields-co.php b/woocommerce-gateway-ebanx/templates/compliance-fields-co.php index 6ebaf575..ad252141 100644 --- a/woocommerce-gateway-ebanx/templates/compliance-fields-co.php +++ b/woocommerce-gateway-ebanx/templates/compliance-fields-co.php @@ -37,26 +37,27 @@ ?> -
+
$field): ?> - " - value="" - class="input-text" - /> + " + value="" + class="input-text" + /> - +
+ + " + id="" + value="" + class="input-text" + /> +
- \ No newline at end of file + diff --git a/woocommerce-gateway-ebanx/templates/compliance-fields-mx.php b/woocommerce-gateway-ebanx/templates/compliance-fields-mx.php index 7869dd98..6fb8aa0f 100644 --- a/woocommerce-gateway-ebanx/templates/compliance-fields-mx.php +++ b/woocommerce-gateway-ebanx/templates/compliance-fields-mx.php @@ -30,35 +30,36 @@ ?> -
+
$field): ?> - " - value="" - class="input-text" - /> + " + value="" + class="input-text" + /> - +
+ + " + id="" + value="" + class="input-text" + /> +
- -
+
+
diff --git a/woocommerce-gateway-ebanx/templates/compliance-fields-pe.php b/woocommerce-gateway-ebanx/templates/compliance-fields-pe.php index f833c514..54a02548 100644 --- a/woocommerce-gateway-ebanx/templates/compliance-fields-pe.php +++ b/woocommerce-gateway-ebanx/templates/compliance-fields-pe.php @@ -25,40 +25,41 @@ ) ); $countries_obj = new WC_Countries(); - $states = $countries_obj->get_states('BR'); + $states = $countries_obj->get_states('PE'); } ?> -
+
$field): ?> - " - value="" - class="input-text" - /> + " + value="" + class="input-text" + /> - +
+ + " + id="" + value="" + class="input-text" + /> +
- -
+
+
From b68b0eaf09ec1b6781eaca863c15c5e519b1cb4a Mon Sep 17 00:00:00 2001 From: Anderson Campanha Date: Fri, 4 Aug 2017 17:39:28 -0300 Subject: [PATCH 18/22] Fix copy paste mistake --- woocommerce-gateway-ebanx/templates/compliance-fields-cl.php | 2 +- woocommerce-gateway-ebanx/templates/compliance-fields-co.php | 2 +- woocommerce-gateway-ebanx/templates/compliance-fields-mx.php | 2 +- woocommerce-gateway-ebanx/templates/compliance-fields-pe.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/woocommerce-gateway-ebanx/templates/compliance-fields-cl.php b/woocommerce-gateway-ebanx/templates/compliance-fields-cl.php index 86ab0dd5..2cb8ca0e 100644 --- a/woocommerce-gateway-ebanx/templates/compliance-fields-cl.php +++ b/woocommerce-gateway-ebanx/templates/compliance-fields-cl.php @@ -42,7 +42,7 @@ ?> -
+
$field): ?> -
+
$field): ?> -
+
$field): ?> -
+
$field): ?> Date: Fri, 4 Aug 2017 17:47:31 -0300 Subject: [PATCH 19/22] Fix codestyle --- .../templates/compliance-fields-br.php | 44 +++---- .../templates/compliance-fields-cl.php | 116 +++++++++--------- .../templates/compliance-fields-co.php | 106 ++++++++-------- .../templates/compliance-fields-mx.php | 110 ++++++++--------- .../templates/compliance-fields-pe.php | 110 ++++++++--------- 5 files changed, 243 insertions(+), 243 deletions(-) diff --git a/woocommerce-gateway-ebanx/templates/compliance-fields-br.php b/woocommerce-gateway-ebanx/templates/compliance-fields-br.php index aae27fbc..6adf5eb2 100644 --- a/woocommerce-gateway-ebanx/templates/compliance-fields-br.php +++ b/woocommerce-gateway-ebanx/templates/compliance-fields-br.php @@ -38,37 +38,37 @@ } ?> - +
- $field): ?> - + $field ): ?> + " - value="" + value="" class="input-text" />
- - " - id="" - value="" - class="input-text" - /> -
+ + " + id="" + value="" + class="input-text" + /> +
-
- - -
+
+ + +
diff --git a/woocommerce-gateway-ebanx/templates/compliance-fields-cl.php b/woocommerce-gateway-ebanx/templates/compliance-fields-cl.php index 2cb8ca0e..f435bee0 100644 --- a/woocommerce-gateway-ebanx/templates/compliance-fields-cl.php +++ b/woocommerce-gateway-ebanx/templates/compliance-fields-cl.php @@ -1,67 +1,67 @@ get_user_id(), '_ebanx_document', true) : false; - $birthDate = $order ? get_user_meta($order->get_user_id(), '_ebanx_birth_date', true) : false; - $address = $order->get_address(); +if ( $order_id ) { + $order = wc_get_order( $order_id ); + $document = $order ? get_user_meta( $order->get_user_id(), '_ebanx_document', true ) : false; + $birthDate = $order ? get_user_meta( $order->get_user_id(), '_ebanx_birth_date', true ) : false; + $address = $order->get_address(); - $fields = array( - 'ebanx_billing_chile_document' => array( - 'label' => 'RUT', - 'value' => $document - ), - 'ebanx_billing_chile_birth_date' => array( - 'label' => __('Birth Date', 'woocommerce-gateway-ebanx'), - 'value' => $birthDate - ), - 'billing_postcode' => array( - 'label' => __('Postcode / ZIP', 'woocommerce'), - 'value' => $address['postcode'] - ), - 'billing_address_1' => array( - 'label' => __('Street address', 'woocommerce'), - 'value' => $address['address_1'] - ), - 'billing_city' => array( - 'label' => __('Town / City', 'woocommerce'), - 'value' => $address['city'] - ), - 'billing_state' => array( - 'label' => __('State / County', 'woocommerce'), - 'value' => $address['state'] - ), - 'billing_country' => array( - 'label' => 'Country', - 'value' => $address['country'], - 'type' => 'hidden' - ) - ); - } + $fields = array( + 'ebanx_billing_chile_document' => array( + 'label' => 'RUT', + 'value' => $document + ), + 'ebanx_billing_chile_birth_date' => array( + 'label' => __( 'Birth Date', 'woocommerce-gateway-ebanx' ), + 'value' => $birthDate + ), + 'billing_postcode' => array( + 'label' => __( 'Postcode / ZIP', 'woocommerce' ), + 'value' => $address['postcode'] + ), + 'billing_address_1' => array( + 'label' => __( 'Street address', 'woocommerce' ), + 'value' => $address['address_1'] + ), + 'billing_city' => array( + 'label' => __( 'Town / City', 'woocommerce' ), + 'value' => $address['city'] + ), + 'billing_state' => array( + 'label' => __( 'State / County', 'woocommerce' ), + 'value' => $address['state'] + ), + 'billing_country' => array( + 'label' => 'Country', + 'value' => $address['country'], + 'type' => 'hidden' + ) + ); +} ?> - -
- $field): ?> - - " - value="" - class="input-text" - /> + +
+ $field ): ?> + + " + value="" + class="input-text" + /> -
- - " - id="" - value="" - class="input-text" - /> -
+
+ + " + id="" + value="" + class="input-text" + /> +
diff --git a/woocommerce-gateway-ebanx/templates/compliance-fields-co.php b/woocommerce-gateway-ebanx/templates/compliance-fields-co.php index 8ab35fcc..9af2ab3b 100644 --- a/woocommerce-gateway-ebanx/templates/compliance-fields-co.php +++ b/woocommerce-gateway-ebanx/templates/compliance-fields-co.php @@ -1,62 +1,62 @@ get_user_id(), '_ebanx_document', true) : false; - $address = $order->get_address(); +if ( $order_id ) { + $order = wc_get_order( $order_id ); + $document = $order ? get_user_meta( $order->get_user_id(), '_ebanx_document', true ) : false; + $address = $order->get_address(); - $fields = array( - 'ebanx_billing_colombia_document' => array( - 'label' => 'DNI', - 'value' => $document - ), - 'billing_postcode' => array( - 'label' => __('Postcode / ZIP', 'woocommerce'), - 'value' => $address['postcode'] - ), - 'billing_address_1' => array( - 'label' => __('Street address', 'woocommerce'), - 'value' => $address['address_1'] - ), - 'billing_city' => array( - 'label' => __('Town / City', 'woocommerce'), - 'value' => $address['city'] - ), - 'billing_state' => array( - 'label' => __('State / County', 'woocommerce'), - 'value' => $address['state'] - ), - 'billing_country' => array( - 'label' => 'Country', - 'value' => $address['country'], - 'type' => 'hidden' - ) - ); - } + $fields = array( + 'ebanx_billing_colombia_document' => array( + 'label' => 'DNI', + 'value' => $document + ), + 'billing_postcode' => array( + 'label' => __( 'Postcode / ZIP', 'woocommerce' ), + 'value' => $address['postcode'] + ), + 'billing_address_1' => array( + 'label' => __( 'Street address', 'woocommerce' ), + 'value' => $address['address_1'] + ), + 'billing_city' => array( + 'label' => __( 'Town / City', 'woocommerce' ), + 'value' => $address['city'] + ), + 'billing_state' => array( + 'label' => __( 'State / County', 'woocommerce' ), + 'value' => $address['state'] + ), + 'billing_country' => array( + 'label' => 'Country', + 'value' => $address['country'], + 'type' => 'hidden' + ) + ); +} ?> - -
- $field): ?> - - " - value="" - class="input-text" - /> + +
+ $field ): ?> + + " + value="" + class="input-text" + /> -
- - " - id="" - value="" - class="input-text" - /> -
+
+ + " + id="" + value="" + class="input-text" + /> +
diff --git a/woocommerce-gateway-ebanx/templates/compliance-fields-mx.php b/woocommerce-gateway-ebanx/templates/compliance-fields-mx.php index fe0d89f3..b79e16c8 100644 --- a/woocommerce-gateway-ebanx/templates/compliance-fields-mx.php +++ b/woocommerce-gateway-ebanx/templates/compliance-fields-mx.php @@ -1,65 +1,65 @@ get_address(); +if ( $order_id ) { + $order = wc_get_order( $order_id ); + $address = $order->get_address(); - $fields = array( - 'billing_postcode' => array( - 'label' => __('Postcode / ZIP', 'woocommerce'), - 'value' => $address['postcode'] - ), - 'billing_address_1' => array( - 'label' => __('Street address', 'woocommerce'), - 'value' => $address['address_1'] - ), - 'billing_city' => array( - 'label' => __('Town / City', 'woocommerce'), - 'value' => $address['city'] - ), - 'billing_country' => array( - 'label' => 'Country', - 'value' => $address['country'], - 'type' => 'hidden' - ) - ); - $countries_obj = new WC_Countries(); - $states = $countries_obj->get_states('MX'); - } + $fields = array( + 'billing_postcode' => array( + 'label' => __( 'Postcode / ZIP', 'woocommerce' ), + 'value' => $address['postcode'] + ), + 'billing_address_1' => array( + 'label' => __( 'Street address', 'woocommerce' ), + 'value' => $address['address_1'] + ), + 'billing_city' => array( + 'label' => __( 'Town / City', 'woocommerce' ), + 'value' => $address['city'] + ), + 'billing_country' => array( + 'label' => 'Country', + 'value' => $address['country'], + 'type' => 'hidden' + ) + ); + $countries_obj = new WC_Countries(); + $states = $countries_obj->get_states( 'MX' ); +} ?> - -
- $field): ?> - - " - value="" - class="input-text" - /> + +
+ $field ): ?> + + " + value="" + class="input-text" + /> -
- - " - id="" - value="" - class="input-text" - /> -
+
+ + " + id="" + value="" + class="input-text" + /> +
-
- - " id="" class="ebanx-select-field"> + + $name ): ?> + - -
-
+ +
+
diff --git a/woocommerce-gateway-ebanx/templates/compliance-fields-pe.php b/woocommerce-gateway-ebanx/templates/compliance-fields-pe.php index 5ae7af08..dadf845b 100644 --- a/woocommerce-gateway-ebanx/templates/compliance-fields-pe.php +++ b/woocommerce-gateway-ebanx/templates/compliance-fields-pe.php @@ -1,65 +1,65 @@ get_address(); +if ( $order_id ) { + $order = wc_get_order( $order_id ); + $address = $order->get_address(); - $fields = array( - 'billing_postcode' => array( - 'label' => __('Postcode / ZIP', 'woocommerce'), - 'value' => $address['postcode'] - ), - 'billing_address_1' => array( - 'label' => __('Street address', 'woocommerce'), - 'value' => $address['address_1'] - ), - 'billing_city' => array( - 'label' => __('Town / City', 'woocommerce'), - 'value' => $address['city'] - ), - 'billing_country' => array( - 'label' => 'Country', - 'value' => $address['country'], - 'type' => 'hidden' - ) - ); - $countries_obj = new WC_Countries(); - $states = $countries_obj->get_states('PE'); - } + $fields = array( + 'billing_postcode' => array( + 'label' => __( 'Postcode / ZIP', 'woocommerce' ), + 'value' => $address['postcode'] + ), + 'billing_address_1' => array( + 'label' => __( 'Street address', 'woocommerce' ), + 'value' => $address['address_1'] + ), + 'billing_city' => array( + 'label' => __( 'Town / City', 'woocommerce' ), + 'value' => $address['city'] + ), + 'billing_country' => array( + 'label' => 'Country', + 'value' => $address['country'], + 'type' => 'hidden' + ) + ); + $countries_obj = new WC_Countries(); + $states = $countries_obj->get_states( 'PE' ); +} ?> - -
- $field): ?> - - " - value="" - class="input-text" - /> + +
+ $field ): ?> + + " + value="" + class="input-text" + /> -
- - " - id="" - value="" - class="input-text" - /> -
+
+ + " + id="" + value="" + class="input-text" + /> +
-
- - " id="" class="ebanx-select-field"> + + $name ): ?> + - -
-
+ +
+
From fb7955c9baaa16d2deb6961e25d547c249744a13 Mon Sep 17 00:00:00 2001 From: Anderson Campanha Date: Mon, 7 Aug 2017 18:14:53 -0300 Subject: [PATCH 20/22] Version bump --- CHANGELOG.md | 12 ++++++++++++ woocommerce-gateway-ebanx/readme.txt | 16 +++++++++++++--- .../woocommerce-gateway-ebanx.php | 6 +++++- 3 files changed, 30 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a4b219d..224990bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # CHANGELOG +#1.17.0 + += 1.17.0 = +* Feature - New thank you pages for credit card and boleto [#544](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/544) +* Feature - Added translation for "minimum amount for purchase" error [#547](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/547) +* Feature - Added Portuguese translation for settings page [#549](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/549) +* Improvement - Updated pay for order layout [#552](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/552) +* Fix - Changed IOF messages on admin [#545](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/545) +* Fix - Changed project license to Apache v2.0 [548](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/548) +* Fix - Error when paying with debitcard [#550](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/550) +* Fix - One click payment not completing [#551](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/551) + # 1.16.0 * Feature - Pay for order(woocommerce native payment by link) [#531](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/531) * Feature - Added Credit Card Gateway for Colombia [#534](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/534) diff --git a/woocommerce-gateway-ebanx/readme.txt b/woocommerce-gateway-ebanx/readme.txt index bbaf7794..ddacc171 100644 --- a/woocommerce-gateway-ebanx/readme.txt +++ b/woocommerce-gateway-ebanx/readme.txt @@ -3,9 +3,9 @@ Contributors: ebanxwp Tags: credit card, boleto, ebanx, woocommerce, approval rate, conversion rate, brazil, mexico, peru, colombia, chile, oxxo, baloto, cash payment, local payment one-click payment, installments, alternative payments, accept more payments Requires at least: 4.0 Tested up to: 4.7 -Stable tag: 1.16.0 -License: MIT -License URI: https://opensource.org/licenses/MIT +Stable tag: 1.17.0 +License: Apache v2.0 +License URI: http://www.apache.org/licenses/ Offer Latin American local payment methods & increase your conversion rates with the solution used by AliExpress, AirBnB and Spotify in Brazil. @@ -136,6 +136,16 @@ Yes, you can. == Changelog == += 1.17.0 = +* Feature - New thank you pages for credit card and boleto [#544](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/544) +* Feature - Added translation for "minimum amount for purchase" error [#547](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/547) +* Feature - Added Portuguese translation for settings page [#549](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/549) +* Improvement - Updated pay for order layout [#552](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/552) +* Fix - Changed IOF messages on admin [#545](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/545) +* Fix - Changed project license to Apache v2.0 [548](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/548) +* Fix - Error when paying with debitcard [#550](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/550) +* Fix - One click payment not completing [#551](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/551) + = 1.16.0 = * Feature - Pay for order(woocommerce native payment by link) [#531](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/531) * Feature - Added Credit Card Gateway for Colombia [#534](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/534) diff --git a/woocommerce-gateway-ebanx/woocommerce-gateway-ebanx.php b/woocommerce-gateway-ebanx/woocommerce-gateway-ebanx.php index fad7c62c..5899b5c3 100644 --- a/woocommerce-gateway-ebanx/woocommerce-gateway-ebanx.php +++ b/woocommerce-gateway-ebanx/woocommerce-gateway-ebanx.php @@ -5,7 +5,7 @@ * Description: Offer Latin American local payment methods & increase your conversion rates with the solution used by AliExpress, AirBnB and Spotify in Brazil. * Author: EBANX * Author URI: https://www.ebanx.com/business/en - * Version: 1.16.0 + * Version: 1.17.0 * License: MIT * Text Domain: woocommerce-gateway-ebanx * Domain Path: /languages @@ -137,6 +137,7 @@ private function __construct() */ add_filter('woocommerce_payment_gateways', array($this, 'add_gateway')); add_filter('plugin_action_links_' . plugin_basename(__FILE__), array($this, 'plugin_action_links')); + add_filter('woocommerce_my_account_my_orders_actions', array(WC_EBANX_Cancel_Order::class, 'sv_add_my_account_order_actions')); } /** @@ -504,6 +505,9 @@ private function includes() include_once WC_EBANX_SERVICES_DIR . 'class-wc-ebanx-my-account.php'; include_once WC_EBANX_SERVICES_DIR . 'class-wc-ebanx-one-click.php'; + // Hooks/Filter + include_once WC_EBANX_SERVICES_DIR . 'class-wc-ebanx-cancel-order.php'; + // Controllers include_once WC_EBANX_CONTROLLERS_DIR . 'class-wc-ebanx-api-controller.php'; From 966320353f254d426f175eda1b4a52d63b5ca07b Mon Sep 17 00:00:00 2001 From: Anderson Campanha Date: Mon, 7 Aug 2017 18:18:31 -0300 Subject: [PATCH 21/22] Change license url --- woocommerce-gateway-ebanx/readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/woocommerce-gateway-ebanx/readme.txt b/woocommerce-gateway-ebanx/readme.txt index ddacc171..208da319 100644 --- a/woocommerce-gateway-ebanx/readme.txt +++ b/woocommerce-gateway-ebanx/readme.txt @@ -5,7 +5,7 @@ Requires at least: 4.0 Tested up to: 4.7 Stable tag: 1.17.0 License: Apache v2.0 -License URI: http://www.apache.org/licenses/ +License URI: http://www.apache.org/licenses/LICENSE-2.0 Offer Latin American local payment methods & increase your conversion rates with the solution used by AliExpress, AirBnB and Spotify in Brazil. From 3f4af0b43f6725c4bcaed8d8c9c03cf7b8aa1b19 Mon Sep 17 00:00:00 2001 From: Anderson Campanha Date: Mon, 7 Aug 2017 18:28:58 -0300 Subject: [PATCH 22/22] Improve change log --- CHANGELOG.md | 18 ++++++++---------- woocommerce-gateway-ebanx/readme.txt | 16 ++++++++-------- .../woocommerce-gateway-ebanx.php | 1 - 3 files changed, 16 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 224990bb..c156000c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,16 +1,14 @@ # CHANGELOG #1.17.0 - -= 1.17.0 = -* Feature - New thank you pages for credit card and boleto [#544](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/544) -* Feature - Added translation for "minimum amount for purchase" error [#547](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/547) -* Feature - Added Portuguese translation for settings page [#549](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/549) -* Improvement - Updated pay for order layout [#552](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/552) -* Fix - Changed IOF messages on admin [#545](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/545) -* Fix - Changed project license to Apache v2.0 [548](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/548) -* Fix - Error when paying with debitcard [#550](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/550) -* Fix - One click payment not completing [#551](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/551) +* Feature - New Thank You pages for Credit Card and Boleto [#544](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/544) +* Feature - Added translation for Minimum Amount for Purchase error on Colombia [#547](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/547) +* Feature - Added Portuguese translation for Settings Page [#549](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/549) +* Feature - Changed project license to Apache v2.0 [548](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/548) +* Fix - Changed IOF messages on Admin Dashboard [#545](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/545) +* Fix - Fixed Debit Card tokenize error [#550](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/550) +* Fix - Fixed One Click Payment not processing [#551](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/551) +* Fix - Updated pay for order layout [#552](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/552) # 1.16.0 * Feature - Pay for order(woocommerce native payment by link) [#531](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/531) diff --git a/woocommerce-gateway-ebanx/readme.txt b/woocommerce-gateway-ebanx/readme.txt index 208da319..2c4187e7 100644 --- a/woocommerce-gateway-ebanx/readme.txt +++ b/woocommerce-gateway-ebanx/readme.txt @@ -137,14 +137,14 @@ Yes, you can. == Changelog == = 1.17.0 = -* Feature - New thank you pages for credit card and boleto [#544](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/544) -* Feature - Added translation for "minimum amount for purchase" error [#547](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/547) -* Feature - Added Portuguese translation for settings page [#549](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/549) -* Improvement - Updated pay for order layout [#552](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/552) -* Fix - Changed IOF messages on admin [#545](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/545) -* Fix - Changed project license to Apache v2.0 [548](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/548) -* Fix - Error when paying with debitcard [#550](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/550) -* Fix - One click payment not completing [#551](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/551) +* Feature - New Thank You pages for Credit Card and Boleto [#544](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/544) +* Feature - Added translation for Minimum Amount for Purchase error on Colombia [#547](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/547) +* Feature - Added Portuguese translation for Settings Page [#549](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/549) +* Feature - Changed project license to Apache v2.0 [548](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/548) +* Fix - Changed IOF messages on Admin Dashboard [#545](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/545) +* Fix - Fixed Debit Card tokenize error [#550](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/550) +* Fix - Fixed One Click Payment not processing [#551](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/551) +* Fix - Updated pay for order layout [#552](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/552) = 1.16.0 = * Feature - Pay for order(woocommerce native payment by link) [#531](https://github.com/ebanx/woocommerce-gateway-ebanx/pull/531) diff --git a/woocommerce-gateway-ebanx/woocommerce-gateway-ebanx.php b/woocommerce-gateway-ebanx/woocommerce-gateway-ebanx.php index 5899b5c3..d69274e2 100644 --- a/woocommerce-gateway-ebanx/woocommerce-gateway-ebanx.php +++ b/woocommerce-gateway-ebanx/woocommerce-gateway-ebanx.php @@ -137,7 +137,6 @@ private function __construct() */ add_filter('woocommerce_payment_gateways', array($this, 'add_gateway')); add_filter('plugin_action_links_' . plugin_basename(__FILE__), array($this, 'plugin_action_links')); - add_filter('woocommerce_my_account_my_orders_actions', array(WC_EBANX_Cancel_Order::class, 'sv_add_my_account_order_actions')); } /**