Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: code review #428

Merged
merged 2 commits into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions assets/stylesheets/front/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.4);
}

Expand All @@ -165,7 +164,7 @@

#challengeIframe {
display: none;
width: 500px;
width: 500px;
height: 600px;
border: 0;
}
Expand Down
Binary file modified languages/woo-pagarme-payments-pt_BR.mo
Binary file not shown.
6 changes: 3 additions & 3 deletions languages/woo-pagarme-payments-pt_BR.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ msgstr ""
"Project-Id-Version: WooCommerce Pagar.me Payments 1.0\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woo-pagarme-payments\n"
"POT-Creation-Date: 2018-06-22 13:58-0300\n"
"PO-Revision-Date: 2024-05-07 10:10-0300\n"
"PO-Revision-Date: 2024-05-08 14:18-0300\n"
"Last-Translator: Pagar.me\n"
"Language-Team: \n"
"Language: pt_BR\n"
Expand Down Expand Up @@ -1312,8 +1312,8 @@ msgstr "Habilitar 3DS"
msgid "Minimum value for 3DS authentication"
msgstr "Valor mínimo para autenticação 3DS"

msgid "Failed to generate Token for 3ds, try again."
msgstr "Falha ao gerar Token para 3ds, tente novamente."
msgid "Failed to generate Token for 3DS, try again."
msgstr "Falha ao gerar Token para 3DS, tente novamente."

msgid "There was a problem finding the email."
msgstr "Ocorreu um problema ao encontrar o e-mail."
Expand Down
6 changes: 3 additions & 3 deletions src/Block/Checkout/Form/Card.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
class Card extends Gateway
{
const INVALID_CARD_ERROR_MESSAGE = 'This card number is invalid.';

/**
* @var string
*/
Expand Down Expand Up @@ -55,7 +55,7 @@ public function enqueue_scripts($scripts = null, $deps = [])
self::getLocalizeScriptArgs()
);
}

/**
* @param int $sequence
* @return $this
Expand Down Expand Up @@ -204,7 +204,7 @@ public static function getCardErrorsMessagesTranslated()
'card: Tokenize timeout' =>
__('Tokenization timeout.', 'woo-pagarme-payments'),
'fail_get_token' =>
__('Failed to generate Token for 3ds, try again.', 'woo-pagarme-payments'),
__('Failed to generate Token for 3DS, try again.', 'woo-pagarme-payments'),
'fail_get_email' =>
__('There was a problem finding the email.', 'woo-pagarme-payments'),
'fail_get_billing_address' =>
Expand Down
Loading
Loading