Skip to content

Commit 082d90a

Browse files
committed
Merge branch 'develop' of https://github.com/pagarme/woocommerce into refactor
2 parents 26382ab + c83f4d3 commit 082d90a

File tree

5 files changed

+39
-10
lines changed

5 files changed

+39
-10
lines changed
526 Bytes
Binary file not shown.

languages/woo-pagarme-payments-pt_BR.po

+18-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ msgstr ""
55
"Project-Id-Version: WooCommerce Pagar.me Payments 1.0\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woo-pagarme-payments\n"
77
"POT-Creation-Date: 2018-06-22 13:58-0300\n"
8-
"PO-Revision-Date: 2024-05-08 14:11-0300\n"
8+
"PO-Revision-Date: 2024-05-08 14:18-0300\n"
99
"Last-Translator: Pagar.me\n"
1010
"Language-Team: \n"
1111
"Language: pt_BR\n"
@@ -472,8 +472,8 @@ msgid "Settings"
472472
msgstr "Configurações"
473473

474474
#. Plugin Name of the plugin/theme
475-
msgid "Pagar.me module for Woocommerce"
476-
msgstr "Pagar.me módulo para Woocommerce"
475+
msgid "Pagar.me for Woocommerce"
476+
msgstr "Pagar.me para Woocommerce"
477477

478478
#: src/Model/Gateway.php:85
479479
msgid "1x"
@@ -1353,3 +1353,18 @@ msgstr "Dados Inválidos"
13531353

13541354
msgid "Tokenization timeout."
13551355
msgstr "Timeout na tokenização."
1356+
1357+
msgid "The number field is not a valid number."
1358+
msgstr "O número do cartão não é válido."
1359+
1360+
msgid "The number field is required."
1361+
msgstr "O campo Número do Cartão é obrigatório."
1362+
1363+
msgid "The cvv field is not a valid number."
1364+
msgstr "O número do CVV não é válido."
1365+
1366+
msgid "The holder_name field is required."
1367+
msgstr "O campo Nome impresso no cartão é obrigatório."
1368+
1369+
msgid "The field exp_month must be between 1 and 12."
1370+
msgstr "O mês de expiração do cartão deve estar entre 01 e 12."

readme.txt

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
1-
=== Pagar.me módulo para WooCommerce ===
2-
Contributors: Pagar.me
3-
Tags: payments, pagarme, ecommerce, e-commerce, store, sales, sell, shop, cart, checkout, woocommerce, creditcard
1+
=== Pagar.me para WooCommerce ===
2+
Contributors: pagarme
3+
Tags: payment, pagarme, ecommerce, brasil, woocommerce
44
Requires at least: 4.1
55
Tested up to: 6.3
66
Requires PHP: 7.1
77
Stable tag: 3.2.2
88
License: MIT
99
License URI: https://github.com/pagarme/woocommerce/blob/master/LICENSE
1010

11-
Desenvolvemos um módulo que integra o Woocomerce a Pagar.me de forma prática e segura, assim não é preciso que seu time de tecnologia desenvolva nenhuma linha de código. Basta instalar e configurar o módulo para usar!
11+
Aceite diversos métodos de pagamento de forma simples e segura utilizando o Pagar.me!
12+
13+
== Description ==
14+
Desenvolvemos um plugin que integra o Woocomerce a Pagar.me de forma prática e segura, assim não é preciso que seu time de tecnologia desenvolva nenhuma linha de código. Basta instalar e configurar o módulo para usar!
1215

1316
== Installation ==
1417
Nosso processo de instalação é simples e bem detalhado:

src/Block/Checkout/Form/Card.php

+10
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ public static function getCardErrorsMessagesTranslated()
167167
return array(
168168
'exp_month: A value is required.' =>
169169
__('Expiration Date: The month is required.', 'woo-pagarme-payments'),
170+
'card.exp_month: The field exp_month must be between 1 and 12.' =>
171+
__('The field exp_month must be between 1 and 12.', 'woo-pagarme-payments'),
170172
'exp_month: The field exp_month must be between 1 and 12.' =>
171173
__('Expiration Date: The month must be between 1 and 12.', 'woo-pagarme-payments'),
172174
"exp_year: The value 'undefined' is not valid for exp_year." =>
@@ -177,18 +179,26 @@ public static function getCardErrorsMessagesTranslated()
177179
__('Expiration Date: Expired card.', 'woo-pagarme-payments'),
178180
'holder_name: The holder_name field is required.' =>
179181
__('The card holder name is required.', 'woo-pagarme-payments'),
182+
'card.holder_name: The holder_name field is required.' =>
183+
__('The holder_name field is required.', 'woo-pagarme-payments'),
180184
'number: The number field is required.' =>
181185
__('The card number is required.', 'woo-pagarme-payments'),
182186
'number: The number field is not a valid credit card number.' =>
183187
__(self::INVALID_CARD_ERROR_MESSAGE, 'woo-pagarme-payments'),
184188
'card: The number field is not a valid card number' =>
185189
__(self::INVALID_CARD_ERROR_MESSAGE, 'woo-pagarme-payments'),
190+
'card.number: The number field is required.' =>
191+
__('The number field is required.', 'woo-pagarme-payments'),
192+
'card.number: The number field is not a valid number.' =>
193+
__('The number field is not a valid number.', 'woo-pagarme-payments'),
186194
'card.number: The field number must be a string with a minimum length of 13 and a maximum length of 19.'
187195
=> __('The card number must be between 13 and 19 characters.', 'woo-pagarme-payments'),
188196
'card: Card expired.' =>
189197
__('The expiration date is expired.', 'woo-pagarme-payments'),
190198
'card.cvv: The field cvv must be a string with a minimum length of 3 and a maximum length of 4.'
191199
=> __('The card code must be between 3 and 4 characters.', 'woo-pagarme-payments'),
200+
'card.cvv: The cvv field is not a valid number.' =>
201+
__('The cvv field is not a valid number.', 'woo-pagarme-payments'),
192202
'card: Invalid data to change card brand' =>
193203
__(self::INVALID_CARD_ERROR_MESSAGE, 'woo-pagarme-payments'),
194204
'card: Tokenize timeout' =>

woo-pagarme-payments.php

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
<?php
22
/*
3-
* Plugin Name: Pagar.me module for Woocommerce
3+
* Plugin Name: Pagar.me for Woocommerce
44
* Version: 3.2.2
55
* Author: Pagar.me
66
* Author URI: https://pagar.me
77
* License: GPL2
88
* Description: Enable Pagar.me Gateway for WooCommerce
9-
* Requires at least: 4.1
9+
* Requires at least: 5.0
1010
* Tested up to: 6.3.1
1111
* WC requires at least: 3.9.0
12-
* WC tested up to: 8.2.0
12+
* WC tested up to: 8.8
1313
* Domain Path: /languages
14+
* Requires Plugins: woocommerce
1415
* Text Domain: woo-pagarme-payments
1516
*/
1617

0 commit comments

Comments
 (0)