Skip to content

Commit

Permalink
Release v4.0.7 (#230)
Browse files Browse the repository at this point in the history
* Fix changelog.log and readme.txt to publish

* new parameter on the header (#2)

* New header (#3)

* new parameter on the header

* change internal by metadata

* Release v4.0.7

* Fix changelog.log and readme.txt to publish (#225)

Muy bueno

* creat a new woocommerce-mercadopago.pot with wp-cli

* translate for english

* translate for english fixed

* language changed to english

* New file .pot created with translation english

* New base files to  translate es_ES.po and pt_BR.po

* new pt_BR.po generated

* Translate pt_BR

* Translate pt_BR

* pt_BR.po finished

* pt_BR.po finished

* es_ES.po started

* translate spanish

* created translate to woocommerce-mercadopago-es_ES.po woocommerce-mercadopago-pt_BR.po

* new translates

* all files were translated

* Fix contents in spanish

* Release v4.0.6

* translate v4.0.6

* fix version readme and trasnlation file

* Translation hook updated

* Fixed query_vars of non-object, Undefined index: code description and Undefined index settings[enabled]

* css fixed

* fix checkout custom

* css and ticket payment due fixed

* translations fixed

* error card input

* Release 4.0.7

* fixed css custom checkout

* update change log

* analytics

* remake translate

* Fix version MP.php
  • Loading branch information
omegafl authored and Henrique Leite committed Sep 12, 2019
1 parent cdf923d commit 7cedf1e
Show file tree
Hide file tree
Showing 44 changed files with 428 additions and 504 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
</a></p>

<p align="center">
<img src="https://img.shields.io/badge/plugin-V4.0.6-blue" alt="version">
<img src="https://img.shields.io/badge/plugin-V4.0.7-blue" alt="version">
<img src="https://img.shields.io/wordpress/plugin/dt/woocommerce-mercadopago" alt="download">
<img src="https://img.shields.io/github/license/mercadopago/cart-woocommerce" alt="license">
</p>
Expand Down
24 changes: 16 additions & 8 deletions assets/css/basic_checkout_mercadopago.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
padding-top: 5px !important;
}


.mp-pt-15 {
padding-top: 15px !important;
}
Expand Down Expand Up @@ -51,6 +50,14 @@
margin-top: 5px !important;
}

.mp-mt-03rem{
margin-top: 0.3rem !important;
}

.mp-mt-06rem{
margin-top: 0.6rem !important;
}

.mp-mb-0 {
margin-bottom: 0px !important;
}
Expand Down Expand Up @@ -257,7 +264,7 @@

.mp-panel-custom-checkout {
background-color: #fff;
padding: 10px 15px 0px;
padding: 20px 15px 0px;
}

.mp-subtitle-custom-checkout {
Expand All @@ -270,7 +277,7 @@
}

.mp-subtitle-ticket-checkout {
font-size: 17px !important;
font-size: 16px !important;
font-family: sans-serif !important;
color: #04204c;
font-weight: 600;
Expand All @@ -282,20 +289,21 @@
.mp-form-control {
font-family: sans-serif !important;
width: 100%;
height: 40px;
height: 40px !important;
border-radius: 5px !important;
font-size: 13px !important;
padding: 0 10px !important;
background-color: #fff !important;
border: 1px solid #d1d1d1 !important;
margin-bottom: 0 !important;
}

.mp-form-control-error {
border: 2px solid #f04449 !important;
}

.mp-form-control-check {
margin: 5px 10px 0 0 !important;
margin: 0px 10px 0 0 !important;
font-family: sans-serif !important;
border-radius: 5px !important;
font-size: 13px !important;
Expand Down Expand Up @@ -361,13 +369,13 @@

.mp-label-form {
font-family: sans-serif !important;
font-size: 14px !important;
font-size: 13px !important;
font-weight: normal !important;
font-style: normal;
font-stretch: normal;
line-height: 1;
letter-spacing: normal;
color: rgba(0, 0, 0, 0.45) !important;
color: rgba(0, 0, 0, 0.7) !important;
}

.mp-label-form em {
Expand Down Expand Up @@ -473,7 +481,7 @@
}

.mp-subtitle-ticket-checkout {
font-size: 17px !important;
font-size: 16px !important;
font-family: sans-serif !important;
color: #04204c;
font-weight: 600;
Expand Down
18 changes: 9 additions & 9 deletions assets/css/config_mercadopago.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.px-20 {
.mp-px-20 {
padding-left: 20px !important;
padding-right: 20px !important;
}
Expand All @@ -7,15 +7,15 @@
padding-top: 10px !important;
}

.pb-10 {
.mp-pb-10 {
padding-bottom: 10px !important;
}

.mp-pb-20 {
padding-bottom: 20px !important;
}

.mt--10 {
.mp-mt--10 {
margin-top: -10px !important;
}

Expand All @@ -27,19 +27,19 @@
margin-bottom: 0px !important;
}

.mg-0 {
.mp-mg-0 {
margin: 0px !important;
}

.fw-400 {
.mp-fw-400 {
font-weight: 400 !important;
}

.mp-text-center {
text-align: center !important;
}

.row {
.mp-row {
width: 100%;
display: inline-block;
}
Expand All @@ -60,7 +60,7 @@
float: left;
}

.mouse_pointe {
.mp-mouse_pointer {
cursor: pointer;
}

Expand All @@ -75,7 +75,7 @@
color: #555555 !important;
}

#input_payments {
#mp_input_payments {
border: 1px solid #ccc;
padding: 15px;
width: 365px;
Expand All @@ -84,7 +84,7 @@
margin-bottom: 37px !important;
}

#input_payments_mt {
#mp_input_payments_mt {
border: 1px solid #ccc;
padding: 15px;
width: 365px;
Expand Down
12 changes: 6 additions & 6 deletions assets/js/basic_config_mercadopago.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ window.onload = function () {

//payment methods
var tablePayments = document.querySelector("#woocommerce_woo-mercado-pago-basic_checkout_payments_description").nextElementSibling.getAttribute('class');
var input_payments = document.querySelectorAll('.' + tablePayments + ' td.forminp label');
for (i = 0; i < input_payments.length; i++) {
input_payments[i].id = "input_payments_mt";
var mp_input_payments = document.querySelectorAll('.' + tablePayments + ' td.forminp label');
for (i = 0; i < mp_input_payments.length; i++) {
mp_input_payments[i].id = "mp_input_payments_mt";
}

//online payments
Expand All @@ -119,7 +119,7 @@ window.onload = function () {
for (var ion = 0; ion < onlineInputs.length; ion++) {
if (ion == 0) {
var checkbox_online_prepend = "<div class='all_checkbox'>\
<label for='checkmeon' id='input_payments'>\
<label for='checkmeon' id='mp_input_payments'>\
<input type='checkbox' name='checkmeon' id='checkmeon' "+ onlineChecked + " onclick='completeOnlineCheckbox()'>\
"+ online_payment_translate + "\
</label>\
Expand Down Expand Up @@ -147,7 +147,7 @@ window.onload = function () {
for (var ideb = 0; ideb < debitInputs.length; ideb++) {
if (ideb == 0) {
var checkbox_debit_prepend = "<div class='all_checkbox'>\
<label for='checkmedeb' id='input_payments'>\
<label for='checkmedeb' id='mp_input_payments'>\
<input type='checkbox' name='checkmedeb' id='checkmedeb' "+ debitChecked + " onclick='completeDebitCheckbox()'>\
"+ debit_payment_translate + "\
</label>\
Expand Down Expand Up @@ -175,7 +175,7 @@ window.onload = function () {
for (ioff = 0; ioff < offlineInputs.length; ioff++) {
if (ioff == 0) {
var checkbox_offline_prepend = "<div class='all_checkbox'>\
<label for='checkmeoff' id='input_payments' style='margin-bottom: 37px !important;'>\
<label for='checkmeoff' id='mp_input_payments' style='margin-bottom: 37px !important;'>\
<input type='checkbox' name='checkmeoff' id='checkmeoff' "+ offlineChecked + " onclick='completeOfflineCheckbox()'>\
"+ offline_payment_translate + "\
</label>\
Expand Down
8 changes: 4 additions & 4 deletions assets/js/ticket_config_mercadopago.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ document.getElementById("woocommerce_woo-mercado-pago-ticket_checkout_payments_a

//payment methods
var tablePayments = document.querySelector("#woocommerce_woo-mercado-pago-ticket_checkout_payments_description").nextElementSibling.getAttribute('class');
var input_payments = document.querySelectorAll( '.'+ tablePayments + ' td.forminp label');
for (i = 0; i < input_payments.length; i++) {
input_payments[i].id = "input_payments_mt";
var mp_input_payments = document.querySelectorAll( '.'+ tablePayments + ' td.forminp label');
for (i = 0; i < mp_input_payments.length; i++) {
mp_input_payments[i].id = "mp_input_payments_mt";
}

//offline payments configuration form
Expand All @@ -118,7 +118,7 @@ document.getElementById("woocommerce_woo-mercado-pago-ticket_checkout_payments_a
for (ioff = 0; ioff < offlineInputs.length; ioff++) {
if (ioff == 0) {
var checkbox_offline_prepend = "<div class='all_checkbox'>\
<label for='checkmeoff' id='input_payments' style='margin-bottom: 37px !important;'>\
<label for='checkmeoff' id='mp_input_payments' style='margin-bottom: 37px !important;'>\
<input type='checkbox' name='checkmeoff' id='checkmeoff' "+ offlineChecked + " onclick='completeOfflineCheckbox()'>\
"+ offline_payment_translate + "\
</label>\
Expand Down
9 changes: 8 additions & 1 deletion changelog.log
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
CHANGELOG:
= v4.0.6 (06/09/2019) =
= v4.0.7 (12/09/2019) =
* Bug fixes
- Fixed layout incompatibility
- Fixed process to validate card at custom checkout
- Fixed payment due at ticket
- Fixed spanish translation

= v4.0.6 (09/09/2019) =
* Bug fixes
- Problem with all translations fixed

Expand Down
Binary file modified i18n/languages/woocommerce-mercadopago-es_AR.mo
Binary file not shown.
16 changes: 6 additions & 10 deletions i18n/languages/woocommerce-mercadopago-es_AR.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# This file is distributed under the same license as the WooCommerce Mercado Pago plugin.
msgid ""
msgstr ""
"Project-Id-Version: WooCommerce Mercado Pago 4.0.6\n"
"Project-Id-Version: WooCommerce Mercado Pago 4.0.7\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2019-09-05T23:48:06-04:00\n"
"PO-Revision-Date: 2019-09-06 19:19-0300\n"
"PO-Revision-Date: 2019-09-12 17:56-0300\n"
"X-Generator: Poedit 2.2.3\n"
"X-Domain: woocommerce-mercadopago\n"
"Last-Translator: \n"
Expand Down Expand Up @@ -992,12 +992,8 @@ msgid "Everything set up? Go to your store in Sandbox mode"
msgstr "¿Todo configurado? Ve a tu tienda en modo Sandbox"

#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1122
msgid ""
"Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,<br> bring your customers and increase your sales with the best online "
"shopping experience.."
msgstr ""
"Visita tu tienda como si fueras uno de tus clientes y revisa que todo esté bien. Si ya saliste a Producción,<br> trae a tus clientes y aumenta tus ventas con la mejor experiencia de compra "
"online."
msgid "You already went to Production. You just need your best customers <br> to arrive at your store to live the best online shopping experience with Mercado Pago."
msgstr "Ya saliste a Producción. Solo falta que tus mejores clientes <br> lleguen a tu tienda para vivir la mejor experiencia de compra online com Mercado Pago."

#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1124
msgid ""
Expand Down Expand Up @@ -1242,7 +1238,7 @@ msgstr "Seleccione el número de cotas"

#: templates/checkout/custom_checkout.php:192
msgid "Enter your document number"
msgstr "Enter your document number"
msgstr "Ingrese su número de documento"

#: templates/checkout/custom_checkout.php:196
msgid "Type"
Expand Down Expand Up @@ -1378,7 +1374,7 @@ msgstr "Estado"

#: templates/checkout/ticket_checkout.php:96
msgid "Select state\""
msgstr "Seleccione estado"
msgstr "Seleccione"

#: templates/checkout/ticket_checkout.php:125
msgid "You must inform your status"
Expand Down
Binary file modified i18n/languages/woocommerce-mercadopago-es_CL.mo
Binary file not shown.
16 changes: 6 additions & 10 deletions i18n/languages/woocommerce-mercadopago-es_CL.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# This file is distributed under the same license as the WooCommerce Mercado Pago plugin.
msgid ""
msgstr ""
"Project-Id-Version: WooCommerce Mercado Pago 4.0.6\n"
"Project-Id-Version: WooCommerce Mercado Pago 4.0.7\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2019-09-05T23:48:06-04:00\n"
"PO-Revision-Date: 2019-09-06 19:19-0300\n"
"PO-Revision-Date: 2019-09-12 17:56-0300\n"
"X-Generator: Poedit 2.2.3\n"
"X-Domain: woocommerce-mercadopago\n"
"Last-Translator: \n"
Expand Down Expand Up @@ -992,12 +992,8 @@ msgid "Everything set up? Go to your store in Sandbox mode"
msgstr "¿Todo configurado? Ve a tu tienda en modo Sandbox"

#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1122
msgid ""
"Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,<br> bring your customers and increase your sales with the best online "
"shopping experience.."
msgstr ""
"Visita tu tienda como si fueras uno de tus clientes y revisa que todo esté bien. Si ya saliste a Producción,<br> trae a tus clientes y aumenta tus ventas con la mejor experiencia de compra "
"online."
msgid "You already went to Production. You just need your best customers <br> to arrive at your store to live the best online shopping experience with Mercado Pago."
msgstr "Ya saliste a Producción. Solo falta que tus mejores clientes <br> lleguen a tu tienda para vivir la mejor experiencia de compra online com Mercado Pago."

#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1124
msgid ""
Expand Down Expand Up @@ -1242,7 +1238,7 @@ msgstr "Seleccione el número de cotas"

#: templates/checkout/custom_checkout.php:192
msgid "Enter your document number"
msgstr "Enter your document number"
msgstr "Ingrese su número de documento"

#: templates/checkout/custom_checkout.php:196
msgid "Type"
Expand Down Expand Up @@ -1378,7 +1374,7 @@ msgstr "Estado"

#: templates/checkout/ticket_checkout.php:96
msgid "Select state\""
msgstr "Seleccione estado"
msgstr "Seleccione"

#: templates/checkout/ticket_checkout.php:125
msgid "You must inform your status"
Expand Down
Binary file modified i18n/languages/woocommerce-mercadopago-es_CO.mo
Binary file not shown.
16 changes: 6 additions & 10 deletions i18n/languages/woocommerce-mercadopago-es_CO.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# This file is distributed under the same license as the WooCommerce Mercado Pago plugin.
msgid ""
msgstr ""
"Project-Id-Version: WooCommerce Mercado Pago 4.0.6\n"
"Project-Id-Version: WooCommerce Mercado Pago 4.0.7\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2019-09-05T23:48:06-04:00\n"
"PO-Revision-Date: 2019-09-06 19:19-0300\n"
"PO-Revision-Date: 2019-09-12 17:57-0300\n"
"X-Generator: Poedit 2.2.3\n"
"X-Domain: woocommerce-mercadopago\n"
"Last-Translator: \n"
Expand Down Expand Up @@ -992,12 +992,8 @@ msgid "Everything set up? Go to your store in Sandbox mode"
msgstr "¿Todo configurado? Ve a tu tienda en modo Sandbox"

#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1122
msgid ""
"Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,<br> bring your customers and increase your sales with the best online "
"shopping experience.."
msgstr ""
"Visita tu tienda como si fueras uno de tus clientes y revisa que todo esté bien. Si ya saliste a Producción,<br> trae a tus clientes y aumenta tus ventas con la mejor experiencia de compra "
"online."
msgid "You already went to Production. You just need your best customers <br> to arrive at your store to live the best online shopping experience with Mercado Pago."
msgstr "Ya saliste a Producción. Solo falta que tus mejores clientes <br> lleguen a tu tienda para vivir la mejor experiencia de compra online com Mercado Pago."

#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1124
msgid ""
Expand Down Expand Up @@ -1242,7 +1238,7 @@ msgstr "Seleccione el número de cotas"

#: templates/checkout/custom_checkout.php:192
msgid "Enter your document number"
msgstr "Enter your document number"
msgstr "Ingrese su número de documento"

#: templates/checkout/custom_checkout.php:196
msgid "Type"
Expand Down Expand Up @@ -1378,7 +1374,7 @@ msgstr "Estado"

#: templates/checkout/ticket_checkout.php:96
msgid "Select state\""
msgstr "Seleccione estado"
msgstr "Seleccione"

#: templates/checkout/ticket_checkout.php:125
msgid "You must inform your status"
Expand Down
Binary file modified i18n/languages/woocommerce-mercadopago-es_ES.mo
Binary file not shown.
Loading

0 comments on commit 7cedf1e

Please sign in to comment.