Version Description
2014/08/16 =
Adicionado suporte para a moeda
COP
, lembrando que depende da configurao do seu MercadoPago para isso funcionar.Adicionado suporte para tradues no Transifex.
Corrigido o nome do arquivo principal.
Corrigida as strings de traduo.
Corrigido o link de cancelamento.
Download this release
Release Info
Developer | claudiosanches |
Plugin | WooCommerce MercadoPago |
Version | 2.0.0 |
Comparing to | |
See all releases |
Code changes from version 1.9.0 to 2.0.0
- includes/class-wc-mercadopago-gateway.php +62 -72
- languages/woocommerce-mercadopago-es_AR.mo +0 -0
- languages/woocommerce-mercadopago-es_AR.po +172 -238
- languages/woocommerce-mercadopago-es_ES.mo +0 -0
- languages/woocommerce-mercadopago-es_ES.po +172 -238
- languages/woocommerce-mercadopago-pt_BR.mo +0 -0
- languages/woocommerce-mercadopago-pt_BR.po +171 -237
- languages/woocommerce-mercadopago.pot +276 -0
- readme.txt +57 -24
- screenshot-1.png +0 -0
- screenshot-2.png +0 -0
- wc-mercadopago.php +7 -183
- woocommerce-mercadopago.php +138 -0
includes/class-wc-mercadopago-gateway.php
CHANGED
@@ -14,11 +14,10 @@ class WC_MercadoPago_Gateway extends WC_Payment_Gateway {
|
|
14 |
public function __construct() {
|
15 |
|
16 |
// Standards.
|
17 |
-
$this->id =
|
18 |
-
$this->plugin_slug = WC_MercadoPago::get_plugin_slug();
|
19 |
$this->icon = apply_filters( 'woocommerce_mercadopago_icon', plugins_url( 'images/mercadopago.png', plugin_dir_path( __FILE__ ) ) );
|
20 |
$this->has_fields = false;
|
21 |
-
$this->method_title = __( 'MercadoPago',
|
22 |
|
23 |
// API URLs.
|
24 |
$this->payment_url = 'https://api.mercadolibre.com/checkout/preferences?access_token=';
|
@@ -74,24 +73,13 @@ class WC_MercadoPago_Gateway extends WC_Payment_Gateway {
|
|
74 |
}
|
75 |
}
|
76 |
|
77 |
-
/**
|
78 |
-
* Fix cURL to works with MercadoPago.
|
79 |
-
*
|
80 |
-
* @param $handle cURL handle.
|
81 |
-
*
|
82 |
-
* @return void
|
83 |
-
*/
|
84 |
-
public function fix_curl_to_mercadopago( $handle ) {
|
85 |
-
curl_setopt( $handle, CURLOPT_SSLVERSION, 3 );
|
86 |
-
}
|
87 |
-
|
88 |
/**
|
89 |
* Returns a bool that indicates if currency is amongst the supported ones.
|
90 |
*
|
91 |
* @return bool
|
92 |
*/
|
93 |
protected function using_supported_currency() {
|
94 |
-
return in_array( get_woocommerce_currency(), array( 'ARS', 'BRL', 'MXN', 'USD', 'VEF' ) );
|
95 |
}
|
96 |
|
97 |
/**
|
@@ -118,76 +106,84 @@ class WC_MercadoPago_Gateway extends WC_Payment_Gateway {
|
|
118 |
*/
|
119 |
public function init_form_fields() {
|
120 |
|
121 |
-
$api_secret_locale = sprintf(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
|
123 |
$this->form_fields = array(
|
124 |
'enabled' => array(
|
125 |
-
'title' => __( 'Enable/Disable',
|
126 |
'type' => 'checkbox',
|
127 |
-
'label' => __( 'Enable MercadoPago standard',
|
128 |
'default' => 'yes'
|
129 |
),
|
130 |
'title' => array(
|
131 |
-
'title' => __( 'Title',
|
132 |
'type' => 'text',
|
133 |
-
'description' => __( 'This controls the title which the user sees during checkout.',
|
134 |
'desc_tip' => true,
|
135 |
-
'default' => __( 'MercadoPago',
|
136 |
),
|
137 |
'description' => array(
|
138 |
-
'title' => __( 'Description',
|
139 |
'type' => 'textarea',
|
140 |
-
'description' => __( 'This controls the description which the user sees during checkout.',
|
141 |
-
'default' => __( 'Pay via MercadoPago',
|
142 |
),
|
143 |
'client_id' => array(
|
144 |
-
'title' => __( 'MercadoPago Client_id',
|
145 |
'type' => 'text',
|
146 |
-
'description' => __( 'Please enter your MercadoPago Client_id.',
|
147 |
'default' => ''
|
148 |
),
|
149 |
'client_secret' => array(
|
150 |
-
'title' => __( 'MercadoPago Client_secret',
|
151 |
'type' => 'text',
|
152 |
-
'description' => __( 'Please enter your MercadoPago Client_secret.',
|
153 |
'default' => ''
|
154 |
),
|
155 |
'invoice_prefix' => array(
|
156 |
-
'title' => __( 'Invoice Prefix',
|
157 |
'type' => 'text',
|
158 |
-
'description' => __( 'Please enter a prefix for your invoice numbers. If you use your MercadoPago account for multiple stores ensure this prefix is unqiue as MercadoPago will not allow orders with the same invoice number.',
|
159 |
'desc_tip' => true,
|
160 |
'default' => 'WC-'
|
161 |
),
|
162 |
'method' => array(
|
163 |
-
'title' => __( 'Integration method',
|
164 |
'type' => 'select',
|
165 |
-
'description' => __( 'Choose how the customer will interact with the MercadoPago. Modal Window (Inside your store) Redirect (Client goes to MercadoPago).',
|
166 |
'desc_tip' => true,
|
167 |
'default' => 'modal',
|
168 |
'options' => array(
|
169 |
-
'modal' => __( 'Modal Window',
|
170 |
-
'redirect' => __( 'Redirect',
|
171 |
)
|
172 |
),
|
173 |
'testing' => array(
|
174 |
-
'title' => __( 'Gateway Testing',
|
175 |
'type' => 'title',
|
176 |
'description' => '',
|
177 |
),
|
178 |
'sandbox' => array(
|
179 |
-
'title' => __( 'MercadoPago Sandbox',
|
180 |
'type' => 'checkbox',
|
181 |
-
'label' => __( 'Enable MercadoPago sandbox',
|
182 |
'default' => 'no',
|
183 |
-
'description' => __( 'MercadoPago sandbox can be used to test payments.',
|
184 |
),
|
185 |
'debug' => array(
|
186 |
-
'title' => __( 'Debug Log',
|
187 |
'type' => 'checkbox',
|
188 |
-
'label' => __( 'Enable logging',
|
189 |
'default' => 'no',
|
190 |
-
'description' => sprintf( __( 'Log MercadoPago events, such as API requests, inside %s',
|
191 |
)
|
192 |
);
|
193 |
}
|
@@ -204,7 +200,7 @@ class WC_MercadoPago_Gateway extends WC_Payment_Gateway {
|
|
204 |
$args = array(
|
205 |
'back_urls' => array(
|
206 |
'success' => esc_url( $this->get_return_url( $order ) ),
|
207 |
-
'failure' =>
|
208 |
'pending' => esc_url( $this->get_return_url( $order ) )
|
209 |
),
|
210 |
'payer' => array(
|
@@ -234,17 +230,17 @@ class WC_MercadoPago_Gateway extends WC_Payment_Gateway {
|
|
234 |
}
|
235 |
}
|
236 |
|
237 |
-
$args['items'][0]['title'] = sprintf( __( 'Order %s',
|
238 |
|
239 |
// Shipping Cost item.
|
240 |
-
if ( version_compare(
|
241 |
$shipping_total = $order->get_total_shipping();
|
242 |
} else {
|
243 |
$shipping_total = $order->get_shipping();
|
244 |
}
|
245 |
|
246 |
if ( $shipping_total > 0 ) {
|
247 |
-
$args['items'][0]['title'] .= ', ' . __( 'Shipping via',
|
248 |
}
|
249 |
|
250 |
$args = apply_filters( 'woocommerce_mercadopago_args', $args, $order );
|
@@ -279,9 +275,7 @@ class WC_MercadoPago_Gateway extends WC_Payment_Gateway {
|
|
279 |
)
|
280 |
);
|
281 |
|
282 |
-
add_action( 'http_api_curl', array( $this, 'fix_curl_to_mercadopago' ) );
|
283 |
$response = wp_remote_post( $url, $params );
|
284 |
-
remove_action( 'http_api_curl', array( $this, 'fix_curl_to_mercadopago' ) );
|
285 |
|
286 |
if ( ! is_wp_error( $response ) && $response['response']['code'] == 201 && ( strcmp( $response['response']['message'], 'Created' ) == 0 ) ) {
|
287 |
$checkout_info = json_decode( $response['body'] );
|
@@ -320,9 +314,9 @@ class WC_MercadoPago_Gateway extends WC_Payment_Gateway {
|
|
320 |
if ( $url ) {
|
321 |
|
322 |
// Display checkout.
|
323 |
-
$html = '<p>' . __( 'Thank you for your order, please click the button below to pay with MercadoPago.',
|
324 |
|
325 |
-
$html .= '<a id="submit-payment" href="' . $url . '" name="MP-Checkout" class="button alt" mp-mode="modal">' . __( 'Pay via MercadoPago',
|
326 |
|
327 |
// Add MercadoPago JS.
|
328 |
$html .= '<script type="text/javascript">(function(){function $MPBR_load(){window.$MPBR_loaded !== true && (function(){var s = document.createElement("script");s.type = "text/javascript";s.async = true;s.src = ("https:"==document.location.protocol?"https://www.mercadopago.com/org-img/jsapi/mptools/buttons/":"http://mp-tools.mlstatic.com/buttons/")+"render.js";var x = document.getElementsByTagName("script")[0];x.parentNode.insertBefore(s, x);window.$MPBR_loaded = true;})();}window.$MPBR_loaded !== true ? (window.attachEvent ? window.attachEvent("onload", $MPBR_load) : window.addEventListener("load", $MPBR_load, false)) : null;})();</script>';
|
@@ -330,9 +324,9 @@ class WC_MercadoPago_Gateway extends WC_Payment_Gateway {
|
|
330 |
return $html;
|
331 |
} else {
|
332 |
// Display message if a problem occurs.
|
333 |
-
$html = '<p>' . __( 'An error has occurred while processing your payment, please try again. Or contact us for assistance.',
|
334 |
|
335 |
-
$html .= '<a class="button cancel" href="' . esc_url( $order->get_cancel_order_url() ) . '">' . __( 'Click to try again',
|
336 |
|
337 |
return $html;
|
338 |
}
|
@@ -344,7 +338,7 @@ class WC_MercadoPago_Gateway extends WC_Payment_Gateway {
|
|
344 |
* @return string Styles.
|
345 |
*/
|
346 |
public function css() {
|
347 |
-
if ( version_compare(
|
348 |
$page_id = wc_get_page_id( 'checkout' );
|
349 |
} else {
|
350 |
$page_id = woocommerce_get_page_id( 'checkout' );
|
@@ -373,7 +367,7 @@ class WC_MercadoPago_Gateway extends WC_Payment_Gateway {
|
|
373 |
'redirect' => $this->get_mercadopago_url( $order )
|
374 |
);
|
375 |
} else {
|
376 |
-
if ( version_compare(
|
377 |
return array(
|
378 |
'result' => 'success',
|
379 |
'redirect' => $order->get_checkout_payment_url( true )
|
@@ -422,9 +416,7 @@ class WC_MercadoPago_Gateway extends WC_Payment_Gateway {
|
|
422 |
)
|
423 |
);
|
424 |
|
425 |
-
add_action( 'http_api_curl', array( $this, 'fix_curl_to_mercadopago' ) );
|
426 |
$response = wp_remote_post( $this->oauth_token, $params );
|
427 |
-
remove_action( 'http_api_curl', array( $this, 'fix_curl_to_mercadopago' ) );
|
428 |
|
429 |
// Check to see if the request was valid and return the token.
|
430 |
if ( ! is_wp_error( $response ) && $response['response']['code'] >= 200 && $response['response']['code'] < 300 && ( strcmp( $response['response']['message'], 'OK' ) == 0 ) ) {
|
@@ -481,9 +473,7 @@ class WC_MercadoPago_Gateway extends WC_Payment_Gateway {
|
|
481 |
);
|
482 |
|
483 |
// GET a response.
|
484 |
-
add_action( 'http_api_curl', array( $this, 'fix_curl_to_mercadopago' ) );
|
485 |
$response = wp_remote_get( $url, $params );
|
486 |
-
remove_action( 'http_api_curl', array( $this, 'fix_curl_to_mercadopago' ) );
|
487 |
|
488 |
if ( 'yes' == $this->debug ) {
|
489 |
$this->log->add( $this->id, 'IPN Response: ' . print_r( $response, true ) );
|
@@ -520,7 +510,7 @@ class WC_MercadoPago_Gateway extends WC_Payment_Gateway {
|
|
520 |
header( 'HTTP/1.1 200 OK' );
|
521 |
do_action( 'valid_mercadopago_ipn_request', $data );
|
522 |
} else {
|
523 |
-
wp_die( __( 'MercadoPago Request Failure',
|
524 |
}
|
525 |
}
|
526 |
|
@@ -556,52 +546,52 @@ class WC_MercadoPago_Gateway extends WC_Payment_Gateway {
|
|
556 |
if ( ! empty( $data->id ) ) {
|
557 |
update_post_meta(
|
558 |
$order_id,
|
559 |
-
__( 'MercadoPago Transaction ID',
|
560 |
$data->id
|
561 |
);
|
562 |
}
|
563 |
if ( ! empty( $data->payer->email ) ) {
|
564 |
update_post_meta(
|
565 |
$order_id,
|
566 |
-
__( 'Payer email',
|
567 |
$data->payer->email
|
568 |
);
|
569 |
}
|
570 |
if ( ! empty( $data->payment_type ) ) {
|
571 |
update_post_meta(
|
572 |
$order_id,
|
573 |
-
__( 'Payment type',
|
574 |
$data->payment_type
|
575 |
);
|
576 |
}
|
577 |
|
578 |
// Payment completed.
|
579 |
-
$order->add_order_note( __( 'MercadoPago: Payment approved.',
|
580 |
$order->payment_complete();
|
581 |
|
582 |
break;
|
583 |
case 'pending':
|
584 |
-
$order->add_order_note( __( 'MercadoPago: The user has not completed the payment process yet.',
|
585 |
|
586 |
break;
|
587 |
case 'in_process':
|
588 |
-
$order->update_status( 'on-hold', __( 'MercadoPago: Payment under review.',
|
589 |
|
590 |
break;
|
591 |
case 'rejected':
|
592 |
-
$order->add_order_note( __( 'MercadoPago: The payment was declined. The user can try again.',
|
593 |
|
594 |
break;
|
595 |
case 'refunded':
|
596 |
-
$order->update_status( 'refunded', __( 'MercadoPago: The payment was returned to the user.',
|
597 |
|
598 |
break;
|
599 |
case 'cancelled':
|
600 |
-
$order->update_status( 'cancelled', __( 'MercadoPago: Payment canceled.',
|
601 |
|
602 |
break;
|
603 |
case 'in_mediation':
|
604 |
-
$order->add_order_note( __( 'MercadoPago: It started a dispute for payment.',
|
605 |
|
606 |
break;
|
607 |
|
@@ -619,7 +609,7 @@ class WC_MercadoPago_Gateway extends WC_Payment_Gateway {
|
|
619 |
* @return string
|
620 |
*/
|
621 |
protected function admin_url() {
|
622 |
-
if ( version_compare(
|
623 |
return admin_url( 'admin.php?page=wc-settings&tab=checkout§ion=wc_mercadopago_gateway' );
|
624 |
}
|
625 |
|
@@ -632,7 +622,7 @@ class WC_MercadoPago_Gateway extends WC_Payment_Gateway {
|
|
632 |
* @return string Error Mensage.
|
633 |
*/
|
634 |
public function client_id_missing_message() {
|
635 |
-
echo '<div class="error"><p><strong>' . __( 'MercadoPago Disabled',
|
636 |
}
|
637 |
|
638 |
/**
|
@@ -641,7 +631,7 @@ class WC_MercadoPago_Gateway extends WC_Payment_Gateway {
|
|
641 |
* @return string Error Mensage.
|
642 |
*/
|
643 |
public function client_secret_missing_message() {
|
644 |
-
echo '<div class="error"><p><strong>' . __( 'MercadoPago Disabled',
|
645 |
}
|
646 |
|
647 |
/**
|
@@ -650,6 +640,6 @@ class WC_MercadoPago_Gateway extends WC_Payment_Gateway {
|
|
650 |
* @return string
|
651 |
*/
|
652 |
public function currency_not_supported_message() {
|
653 |
-
echo '<div class="error"><p><strong>' . __( 'MercadoPago Disabled',
|
654 |
}
|
655 |
}
|
14 |
public function __construct() {
|
15 |
|
16 |
// Standards.
|
17 |
+
$this->id = 'mercadopago';
|
|
|
18 |
$this->icon = apply_filters( 'woocommerce_mercadopago_icon', plugins_url( 'images/mercadopago.png', plugin_dir_path( __FILE__ ) ) );
|
19 |
$this->has_fields = false;
|
20 |
+
$this->method_title = __( 'MercadoPago', 'woocommerce-mercadopago' );
|
21 |
|
22 |
// API URLs.
|
23 |
$this->payment_url = 'https://api.mercadolibre.com/checkout/preferences?access_token=';
|
73 |
}
|
74 |
}
|
75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
/**
|
77 |
* Returns a bool that indicates if currency is amongst the supported ones.
|
78 |
*
|
79 |
* @return bool
|
80 |
*/
|
81 |
protected function using_supported_currency() {
|
82 |
+
return in_array( get_woocommerce_currency(), array( 'ARS', 'BRL', 'COP', 'MXN', 'USD', 'VEF' ) );
|
83 |
}
|
84 |
|
85 |
/**
|
106 |
*/
|
107 |
public function init_form_fields() {
|
108 |
|
109 |
+
$api_secret_locale = sprintf(
|
110 |
+
'<a href="https://www.mercadopago.com/mla/herramientas/aplicaciones" target="_blank">%s</a>, <a href="https://www.mercadopago.com/mlb/ferramentas/aplicacoes" target="_blank">%s</a>, <a href="https://www.mercadopago.com/mco/ferramentas/aplicacoes" target="_blank">%s</a>, <a href="https://www.mercadopago.com/mlm/herramientas/aplicaciones" target="_blank">%s</a> %s <a href="https://www.mercadopago.com/mlv/herramientas/aplicaciones" target="_blank">%s</a>',
|
111 |
+
__( 'Argentine', 'woocommerce-mercadopago' ),
|
112 |
+
__( 'Brazil', 'woocommerce-mercadopago' ),
|
113 |
+
__( 'Colombia', 'woocommerce-mercadopago' ),
|
114 |
+
__( 'Mexico', 'woocommerce-mercadopago' ),
|
115 |
+
__( 'or', 'woocommerce-mercadopago' ),
|
116 |
+
__( 'Venezuela', 'woocommerce-mercadopago' )
|
117 |
+
);
|
118 |
|
119 |
$this->form_fields = array(
|
120 |
'enabled' => array(
|
121 |
+
'title' => __( 'Enable/Disable', 'woocommerce-mercadopago' ),
|
122 |
'type' => 'checkbox',
|
123 |
+
'label' => __( 'Enable MercadoPago standard', 'woocommerce-mercadopago' ),
|
124 |
'default' => 'yes'
|
125 |
),
|
126 |
'title' => array(
|
127 |
+
'title' => __( 'Title', 'woocommerce-mercadopago' ),
|
128 |
'type' => 'text',
|
129 |
+
'description' => __( 'This controls the title which the user sees during checkout.', 'woocommerce-mercadopago' ),
|
130 |
'desc_tip' => true,
|
131 |
+
'default' => __( 'MercadoPago', 'woocommerce-mercadopago' )
|
132 |
),
|
133 |
'description' => array(
|
134 |
+
'title' => __( 'Description', 'woocommerce-mercadopago' ),
|
135 |
'type' => 'textarea',
|
136 |
+
'description' => __( 'This controls the description which the user sees during checkout.', 'woocommerce-mercadopago' ),
|
137 |
+
'default' => __( 'Pay via MercadoPago', 'woocommerce-mercadopago' )
|
138 |
),
|
139 |
'client_id' => array(
|
140 |
+
'title' => __( 'MercadoPago Client_id', 'woocommerce-mercadopago' ),
|
141 |
'type' => 'text',
|
142 |
+
'description' => __( 'Please enter your MercadoPago Client_id.', 'woocommerce-mercadopago' ) . ' ' . sprintf( __( 'You can to get this information in MercadoPago from %s.', 'woocommerce-mercadopago' ), $api_secret_locale ),
|
143 |
'default' => ''
|
144 |
),
|
145 |
'client_secret' => array(
|
146 |
+
'title' => __( 'MercadoPago Client_secret', 'woocommerce-mercadopago' ),
|
147 |
'type' => 'text',
|
148 |
+
'description' => __( 'Please enter your MercadoPago Client_secret.', 'woocommerce-mercadopago' ) . ' ' . sprintf( __( 'You can to get this information in MercadoPago from %s.', 'woocommerce-mercadopago' ), $api_secret_locale ),
|
149 |
'default' => ''
|
150 |
),
|
151 |
'invoice_prefix' => array(
|
152 |
+
'title' => __( 'Invoice Prefix', 'woocommerce-mercadopago' ),
|
153 |
'type' => 'text',
|
154 |
+
'description' => __( 'Please enter a prefix for your invoice numbers. If you use your MercadoPago account for multiple stores ensure this prefix is unqiue as MercadoPago will not allow orders with the same invoice number.', 'woocommerce-mercadopago' ),
|
155 |
'desc_tip' => true,
|
156 |
'default' => 'WC-'
|
157 |
),
|
158 |
'method' => array(
|
159 |
+
'title' => __( 'Integration method', 'woocommerce-mercadopago' ),
|
160 |
'type' => 'select',
|
161 |
+
'description' => __( 'Choose how the customer will interact with the MercadoPago. Modal Window (Inside your store) Redirect (Client goes to MercadoPago).', 'woocommerce-mercadopago' ),
|
162 |
'desc_tip' => true,
|
163 |
'default' => 'modal',
|
164 |
'options' => array(
|
165 |
+
'modal' => __( 'Modal Window', 'woocommerce-mercadopago' ),
|
166 |
+
'redirect' => __( 'Redirect', 'woocommerce-mercadopago' ),
|
167 |
)
|
168 |
),
|
169 |
'testing' => array(
|
170 |
+
'title' => __( 'Gateway Testing', 'woocommerce-mercadopago' ),
|
171 |
'type' => 'title',
|
172 |
'description' => '',
|
173 |
),
|
174 |
'sandbox' => array(
|
175 |
+
'title' => __( 'MercadoPago Sandbox', 'woocommerce-mercadopago' ),
|
176 |
'type' => 'checkbox',
|
177 |
+
'label' => __( 'Enable MercadoPago sandbox', 'woocommerce-mercadopago' ),
|
178 |
'default' => 'no',
|
179 |
+
'description' => __( 'MercadoPago sandbox can be used to test payments.', 'woocommerce-mercadopago' ),
|
180 |
),
|
181 |
'debug' => array(
|
182 |
+
'title' => __( 'Debug Log', 'woocommerce-mercadopago' ),
|
183 |
'type' => 'checkbox',
|
184 |
+
'label' => __( 'Enable logging', 'woocommerce-mercadopago' ),
|
185 |
'default' => 'no',
|
186 |
+
'description' => sprintf( __( 'Log MercadoPago events, such as API requests, inside %s', 'woocommerce-mercadopago' ), '<code>woocommerce/logs/' . $this->id . '-' . sanitize_file_name( wp_hash( $this->id ) ) . '.txt</code>' ),
|
187 |
)
|
188 |
);
|
189 |
}
|
200 |
$args = array(
|
201 |
'back_urls' => array(
|
202 |
'success' => esc_url( $this->get_return_url( $order ) ),
|
203 |
+
'failure' => str_replace( '&', '&', $order->get_cancel_order_url() ),
|
204 |
'pending' => esc_url( $this->get_return_url( $order ) )
|
205 |
),
|
206 |
'payer' => array(
|
230 |
}
|
231 |
}
|
232 |
|
233 |
+
$args['items'][0]['title'] = sprintf( __( 'Order %s', 'woocommerce-mercadopago' ), $order->get_order_number() ) . ' - ' . implode( ', ', $item_names );
|
234 |
|
235 |
// Shipping Cost item.
|
236 |
+
if ( defined( 'WC_VERSION' ) && version_compare( WC_VERSION, '2.1', '>=' ) ) {
|
237 |
$shipping_total = $order->get_total_shipping();
|
238 |
} else {
|
239 |
$shipping_total = $order->get_shipping();
|
240 |
}
|
241 |
|
242 |
if ( $shipping_total > 0 ) {
|
243 |
+
$args['items'][0]['title'] .= ', ' . __( 'Shipping via', 'woocommerce-mercadopago' ) . ' ' . ucwords( $order->shipping_method_title );
|
244 |
}
|
245 |
|
246 |
$args = apply_filters( 'woocommerce_mercadopago_args', $args, $order );
|
275 |
)
|
276 |
);
|
277 |
|
|
|
278 |
$response = wp_remote_post( $url, $params );
|
|
|
279 |
|
280 |
if ( ! is_wp_error( $response ) && $response['response']['code'] == 201 && ( strcmp( $response['response']['message'], 'Created' ) == 0 ) ) {
|
281 |
$checkout_info = json_decode( $response['body'] );
|
314 |
if ( $url ) {
|
315 |
|
316 |
// Display checkout.
|
317 |
+
$html = '<p>' . __( 'Thank you for your order, please click the button below to pay with MercadoPago.', 'woocommerce-mercadopago' ) . '</p>';
|
318 |
|
319 |
+
$html .= '<a id="submit-payment" href="' . $url . '" name="MP-Checkout" class="button alt" mp-mode="modal">' . __( 'Pay via MercadoPago', 'woocommerce-mercadopago' ) . '</a> <a class="button cancel" href="' . esc_url( $order->get_cancel_order_url() ) . '">' . __( 'Cancel order & restore cart', 'woocommerce-mercadopago' ) . '</a>';
|
320 |
|
321 |
// Add MercadoPago JS.
|
322 |
$html .= '<script type="text/javascript">(function(){function $MPBR_load(){window.$MPBR_loaded !== true && (function(){var s = document.createElement("script");s.type = "text/javascript";s.async = true;s.src = ("https:"==document.location.protocol?"https://www.mercadopago.com/org-img/jsapi/mptools/buttons/":"http://mp-tools.mlstatic.com/buttons/")+"render.js";var x = document.getElementsByTagName("script")[0];x.parentNode.insertBefore(s, x);window.$MPBR_loaded = true;})();}window.$MPBR_loaded !== true ? (window.attachEvent ? window.attachEvent("onload", $MPBR_load) : window.addEventListener("load", $MPBR_load, false)) : null;})();</script>';
|
324 |
return $html;
|
325 |
} else {
|
326 |
// Display message if a problem occurs.
|
327 |
+
$html = '<p>' . __( 'An error has occurred while processing your payment, please try again. Or contact us for assistance.', 'woocommerce-mercadopago' ) . '</p>';
|
328 |
|
329 |
+
$html .= '<a class="button cancel" href="' . esc_url( $order->get_cancel_order_url() ) . '">' . __( 'Click to try again', 'woocommerce-mercadopago' ) . '</a>';
|
330 |
|
331 |
return $html;
|
332 |
}
|
338 |
* @return string Styles.
|
339 |
*/
|
340 |
public function css() {
|
341 |
+
if ( defined( 'WC_VERSION' ) && version_compare( WC_VERSION, '2.1', '>=' ) ) {
|
342 |
$page_id = wc_get_page_id( 'checkout' );
|
343 |
} else {
|
344 |
$page_id = woocommerce_get_page_id( 'checkout' );
|
367 |
'redirect' => $this->get_mercadopago_url( $order )
|
368 |
);
|
369 |
} else {
|
370 |
+
if ( defined( 'WC_VERSION' ) && version_compare( WC_VERSION, '2.1', '>=' ) ) {
|
371 |
return array(
|
372 |
'result' => 'success',
|
373 |
'redirect' => $order->get_checkout_payment_url( true )
|
416 |
)
|
417 |
);
|
418 |
|
|
|
419 |
$response = wp_remote_post( $this->oauth_token, $params );
|
|
|
420 |
|
421 |
// Check to see if the request was valid and return the token.
|
422 |
if ( ! is_wp_error( $response ) && $response['response']['code'] >= 200 && $response['response']['code'] < 300 && ( strcmp( $response['response']['message'], 'OK' ) == 0 ) ) {
|
473 |
);
|
474 |
|
475 |
// GET a response.
|
|
|
476 |
$response = wp_remote_get( $url, $params );
|
|
|
477 |
|
478 |
if ( 'yes' == $this->debug ) {
|
479 |
$this->log->add( $this->id, 'IPN Response: ' . print_r( $response, true ) );
|
510 |
header( 'HTTP/1.1 200 OK' );
|
511 |
do_action( 'valid_mercadopago_ipn_request', $data );
|
512 |
} else {
|
513 |
+
wp_die( __( 'MercadoPago Request Failure', 'woocommerce-mercadopago' ) );
|
514 |
}
|
515 |
}
|
516 |
|
546 |
if ( ! empty( $data->id ) ) {
|
547 |
update_post_meta(
|
548 |
$order_id,
|
549 |
+
__( 'MercadoPago Transaction ID', 'woocommerce-mercadopago' ),
|
550 |
$data->id
|
551 |
);
|
552 |
}
|
553 |
if ( ! empty( $data->payer->email ) ) {
|
554 |
update_post_meta(
|
555 |
$order_id,
|
556 |
+
__( 'Payer email', 'woocommerce-mercadopago' ),
|
557 |
$data->payer->email
|
558 |
);
|
559 |
}
|
560 |
if ( ! empty( $data->payment_type ) ) {
|
561 |
update_post_meta(
|
562 |
$order_id,
|
563 |
+
__( 'Payment type', 'woocommerce-mercadopago' ),
|
564 |
$data->payment_type
|
565 |
);
|
566 |
}
|
567 |
|
568 |
// Payment completed.
|
569 |
+
$order->add_order_note( __( 'MercadoPago: Payment approved.', 'woocommerce-mercadopago' ) );
|
570 |
$order->payment_complete();
|
571 |
|
572 |
break;
|
573 |
case 'pending':
|
574 |
+
$order->add_order_note( __( 'MercadoPago: The user has not completed the payment process yet.', 'woocommerce-mercadopago' ) );
|
575 |
|
576 |
break;
|
577 |
case 'in_process':
|
578 |
+
$order->update_status( 'on-hold', __( 'MercadoPago: Payment under review.', 'woocommerce-mercadopago' ) );
|
579 |
|
580 |
break;
|
581 |
case 'rejected':
|
582 |
+
$order->add_order_note( __( 'MercadoPago: The payment was declined. The user can try again.', 'woocommerce-mercadopago' ) );
|
583 |
|
584 |
break;
|
585 |
case 'refunded':
|
586 |
+
$order->update_status( 'refunded', __( 'MercadoPago: The payment was returned to the user.', 'woocommerce-mercadopago' ) );
|
587 |
|
588 |
break;
|
589 |
case 'cancelled':
|
590 |
+
$order->update_status( 'cancelled', __( 'MercadoPago: Payment canceled.', 'woocommerce-mercadopago' ) );
|
591 |
|
592 |
break;
|
593 |
case 'in_mediation':
|
594 |
+
$order->add_order_note( __( 'MercadoPago: It started a dispute for payment.', 'woocommerce-mercadopago' ) );
|
595 |
|
596 |
break;
|
597 |
|
609 |
* @return string
|
610 |
*/
|
611 |
protected function admin_url() {
|
612 |
+
if ( defined( 'WC_VERSION' ) && version_compare( WC_VERSION, '2.1', '>=' ) ) {
|
613 |
return admin_url( 'admin.php?page=wc-settings&tab=checkout§ion=wc_mercadopago_gateway' );
|
614 |
}
|
615 |
|
622 |
* @return string Error Mensage.
|
623 |
*/
|
624 |
public function client_id_missing_message() {
|
625 |
+
echo '<div class="error"><p><strong>' . __( 'MercadoPago Disabled', 'woocommerce-mercadopago' ) . '</strong>: ' . sprintf( __( 'You should inform your Client_id. %s', 'woocommerce-mercadopago' ), '<a href="' . $this->admin_url() . '">' . __( 'Click here to configure!', 'woocommerce-mercadopago' ) . '</a>' ) . '</p></div>';
|
626 |
}
|
627 |
|
628 |
/**
|
631 |
* @return string Error Mensage.
|
632 |
*/
|
633 |
public function client_secret_missing_message() {
|
634 |
+
echo '<div class="error"><p><strong>' . __( 'MercadoPago Disabled', 'woocommerce-mercadopago' ) . '</strong>: ' . sprintf( __( 'You should inform your Client_secret. %s', 'woocommerce-mercadopago' ), '<a href="' . $this->admin_url() . '">' . __( 'Click here to configure!', 'woocommerce-mercadopago' ) . '</a>' ) . '</p></div>';
|
635 |
}
|
636 |
|
637 |
/**
|
640 |
* @return string
|
641 |
*/
|
642 |
public function currency_not_supported_message() {
|
643 |
+
echo '<div class="error"><p><strong>' . __( 'MercadoPago Disabled', 'woocommerce-mercadopago' ) . '</strong>: ' . sprintf( __( 'Currency <code>%s</code> is not supported. Please make sure that you use one of the following supported currencies: ARS, BRL, COP, MXN, USD or VEF.', 'woocommerce-mercadopago' ), get_woocommerce_currency() ) . '</p></div>';
|
644 |
}
|
645 |
}
|
languages/woocommerce-mercadopago-es_AR.mo
CHANGED
Binary file
|
languages/woocommerce-mercadopago-es_AR.po
CHANGED
@@ -1,346 +1,280 @@
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: WooCommerce MercadoPago
|
4 |
-
"Report-Msgid-Bugs-To:
|
5 |
-
"POT-Creation-Date: \n"
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"Last-Translator:
|
8 |
-
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"X-
|
15 |
-
"X-Poedit-Country: ARGENTINE\n"
|
16 |
-
"X-Poedit-SourceCharset: utf-8\n"
|
17 |
-
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
|
18 |
-
"X-Poedit-Basepath: ../\n"
|
19 |
-
"X-Poedit-Bookmarks: \n"
|
20 |
-
"X-Poedit-SearchPath-0: .\n"
|
21 |
-
"X-Textdomain-Support: yes"
|
22 |
-
|
23 |
-
#. translators: plugin header field 'Name'
|
24 |
-
#: wc-mercadopago.php:0
|
25 |
-
#@ woocommerce-mercadopago
|
26 |
-
msgid "WooCommerce MercadoPago"
|
27 |
-
msgstr "WooCommerce MercadoPago"
|
28 |
-
|
29 |
-
#. translators: plugin header field 'Author'
|
30 |
-
#: wc-mercadopago.php:0
|
31 |
-
#@ woocommerce-mercadopago
|
32 |
-
msgid "claudiosanches"
|
33 |
-
msgstr "claudiosanches"
|
34 |
|
35 |
-
#: class-wc-mercadopago-gateway.php:
|
36 |
-
#: class-wc-mercadopago-gateway.php:
|
37 |
-
#@ woocommerce-mercadopago
|
38 |
msgid "MercadoPago"
|
39 |
msgstr "MercadoPago"
|
40 |
|
41 |
-
#: class-wc-mercadopago-gateway.php:
|
42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
msgid "Enable/Disable"
|
44 |
msgstr "Habilita/Desabilita"
|
45 |
|
46 |
-
#: class-wc-mercadopago-gateway.php:
|
47 |
-
#@ woocommerce-mercadopago
|
48 |
msgid "Enable MercadoPago standard"
|
49 |
msgstr "Habilitar MercadoPago como estándar"
|
50 |
|
51 |
-
#: class-wc-mercadopago-gateway.php:
|
52 |
-
#@ woocommerce-mercadopago
|
53 |
msgid "Title"
|
54 |
msgstr "Título"
|
55 |
|
56 |
-
#: class-wc-mercadopago-gateway.php:
|
57 |
-
#@ woocommerce-mercadopago
|
58 |
msgid "This controls the title which the user sees during checkout."
|
59 |
msgstr "Controla el título que el usuario ve durante la comprobación."
|
60 |
|
61 |
-
#: class-wc-mercadopago-gateway.php:
|
62 |
-
#@ woocommerce-mercadopago
|
63 |
msgid "Description"
|
64 |
msgstr "Descripción"
|
65 |
|
66 |
-
#: class-wc-mercadopago-gateway.php:
|
67 |
-
#@ woocommerce-mercadopago
|
68 |
msgid "This controls the description which the user sees during checkout."
|
69 |
msgstr "Esto controla la descripción que el usuario ve durante la comprobación / checkout."
|
70 |
|
71 |
-
#: class-wc-mercadopago-gateway.php:
|
72 |
-
#: class-wc-mercadopago-gateway.php:
|
73 |
-
#@ woocommerce-mercadopago
|
74 |
msgid "Pay via MercadoPago"
|
75 |
msgstr "Pagar con MercadoPago"
|
76 |
|
77 |
-
#: class-wc-mercadopago-gateway.php:
|
78 |
-
#@ woocommerce-mercadopago
|
79 |
msgid "MercadoPago Client_id"
|
80 |
msgstr "Client_id de MercadoPago"
|
81 |
|
82 |
-
#: class-wc-mercadopago-gateway.php:
|
83 |
-
#@ woocommerce-mercadopago
|
84 |
msgid "Please enter your MercadoPago Client_id."
|
85 |
msgstr "Introduzca su client_id de MercadoPago."
|
86 |
|
87 |
-
#: class-wc-mercadopago-gateway.php:
|
88 |
-
|
|
|
|
|
|
|
|
|
89 |
msgid "MercadoPago Client_secret"
|
90 |
msgstr "Client_secret de MercadoPago"
|
91 |
|
92 |
-
#: class-wc-mercadopago-gateway.php:
|
93 |
-
#@ woocommerce-mercadopago
|
94 |
msgid "Please enter your MercadoPago Client_secret."
|
95 |
msgstr "Introduzca Client_secret de MercadoPago."
|
96 |
|
97 |
-
#: class-wc-mercadopago-gateway.php:
|
98 |
-
#@ woocommerce-mercadopago
|
99 |
msgid "Invoice Prefix"
|
100 |
msgstr "Prefijo factura"
|
101 |
|
102 |
-
#: class-wc-mercadopago-gateway.php:
|
103 |
-
|
104 |
-
|
|
|
|
|
105 |
msgstr "Por favor, introduzca un prefijo para los números de factura. Si usted utiliza su cuenta MercadoPago para múltiples tiendas asegurar este prefijo es unico, MercadoPago no permitirá que las órdenes con el mismo número de factura."
|
106 |
|
107 |
-
#: class-wc-mercadopago-gateway.php:
|
108 |
-
#, php-format
|
109 |
-
#@ woocommerce-mercadopago
|
110 |
-
msgid "Order %s"
|
111 |
-
msgstr "Pedido %s"
|
112 |
-
|
113 |
-
#: class-wc-mercadopago-gateway.php:224
|
114 |
-
#@ woocommerce-mercadopago
|
115 |
-
msgid "Shipping via"
|
116 |
-
msgstr "Entrega via"
|
117 |
-
|
118 |
-
#: class-wc-mercadopago-gateway.php:289
|
119 |
-
#@ woocommerce-mercadopago
|
120 |
-
msgid "Thank you for your order, please click the button below to pay with MercadoPago."
|
121 |
-
msgstr "Gracias por su pedido, por favor haga clic en el botón de abajo para pagar con MercadoPago."
|
122 |
-
|
123 |
-
#: class-wc-mercadopago-gateway.php:291
|
124 |
-
#@ woocommerce-mercadopago
|
125 |
-
msgid "Cancel order & restore cart"
|
126 |
-
msgstr "Cancelar pedido y restaurar el carro de compras"
|
127 |
-
|
128 |
-
#: class-wc-mercadopago-gateway.php:299
|
129 |
-
#@ woocommerce-mercadopago
|
130 |
-
msgid "An error has occurred while processing your payment, please try again. Or contact us for assistance."
|
131 |
-
msgstr "Se produjo un error al procesar su pago, por favor inténtelo de nuevo o póngase en contacto para obtener ayuda."
|
132 |
-
|
133 |
-
#: class-wc-mercadopago-gateway.php:301
|
134 |
-
#@ woocommerce-mercadopago
|
135 |
-
msgid "Click to try again"
|
136 |
-
msgstr "Haga clic para volver a intentarlo"
|
137 |
-
|
138 |
-
#: class-wc-mercadopago-gateway.php:497
|
139 |
-
#@ woocommerce-mercadopago
|
140 |
-
msgid "MercadoPago Transaction ID"
|
141 |
-
msgstr "MercadoPago: ID de la transacción"
|
142 |
-
|
143 |
-
#: class-wc-mercadopago-gateway.php:504
|
144 |
-
#@ woocommerce-mercadopago
|
145 |
-
msgid "Payer email"
|
146 |
-
msgstr "Correo electrónico del comprador"
|
147 |
-
|
148 |
-
#: class-wc-mercadopago-gateway.php:511
|
149 |
-
#@ woocommerce-mercadopago
|
150 |
-
msgid "Payment type"
|
151 |
-
msgstr "Forma de pago"
|
152 |
-
|
153 |
-
#: class-wc-mercadopago-gateway.php:158
|
154 |
-
#@ woocommerce-mercadopago
|
155 |
-
msgid "Gateway Testing"
|
156 |
-
msgstr "Test de Gateway"
|
157 |
-
|
158 |
-
#: class-wc-mercadopago-gateway.php:170
|
159 |
-
#@ woocommerce-mercadopago
|
160 |
-
msgid "Debug Log"
|
161 |
-
msgstr "Log de depuración"
|
162 |
-
|
163 |
-
#: class-wc-mercadopago-gateway.php:172
|
164 |
-
#@ woocommerce-mercadopago
|
165 |
-
msgid "Enable logging"
|
166 |
-
msgstr "Habilitar log"
|
167 |
-
|
168 |
-
#: class-wc-mercadopago-gateway.php:462
|
169 |
-
#@ woocommerce-mercadopago
|
170 |
-
msgid "MercadoPago Request Failure"
|
171 |
-
msgstr "MercadoPago falta de solicitud"
|
172 |
-
|
173 |
-
#: class-wc-mercadopago-gateway.php:105
|
174 |
-
#@ woocommerce-mercadopago
|
175 |
-
msgid "Argentine"
|
176 |
-
msgstr "Argentina"
|
177 |
-
|
178 |
-
#: class-wc-mercadopago-gateway.php:105
|
179 |
-
#@ woocommerce-mercadopago
|
180 |
-
msgid "Brazil"
|
181 |
-
msgstr "Brasil"
|
182 |
-
|
183 |
-
#: class-wc-mercadopago-gateway.php:105
|
184 |
-
#@ woocommerce-mercadopago
|
185 |
-
msgid "Mexico"
|
186 |
-
msgstr "México"
|
187 |
-
|
188 |
-
#: class-wc-mercadopago-gateway.php:105
|
189 |
-
#@ woocommerce-mercadopago
|
190 |
-
msgid "Venezuela"
|
191 |
-
msgstr "Venezuela"
|
192 |
-
|
193 |
-
#: class-wc-mercadopago-gateway.php:105
|
194 |
-
#@ woocommerce-mercadopago
|
195 |
-
msgid "or"
|
196 |
-
msgstr "o"
|
197 |
-
|
198 |
-
#: class-wc-mercadopago-gateway.php:130
|
199 |
-
#: class-wc-mercadopago-gateway.php:136
|
200 |
-
#, php-format
|
201 |
-
#@ woocommerce-mercadopago
|
202 |
-
msgid "You can to get this information in MercadoPago from %s."
|
203 |
-
msgstr "Usted puede obtener esta información en la MercadoPago de %s"
|
204 |
-
|
205 |
-
#: class-wc-mercadopago-gateway.php:147
|
206 |
-
#@ woocommerce-mercadopago
|
207 |
msgid "Integration method"
|
208 |
msgstr "Método de integración"
|
209 |
|
210 |
-
#: class-wc-mercadopago-gateway.php:
|
211 |
-
|
|
|
|
|
|
|
|
|
|
|
212 |
msgid "Modal Window"
|
213 |
msgstr "Ventana Modal"
|
214 |
|
215 |
-
#: class-wc-mercadopago-gateway.php:
|
216 |
-
#@ woocommerce-mercadopago
|
217 |
msgid "Redirect"
|
218 |
msgstr "Redireccionar"
|
219 |
|
220 |
-
#: class-wc-mercadopago-gateway.php:
|
221 |
-
|
|
|
|
|
|
|
222 |
msgid "MercadoPago Sandbox"
|
223 |
msgstr "MercadoPago Sandbox"
|
224 |
|
225 |
-
#: class-wc-mercadopago-gateway.php:
|
226 |
-
#@ woocommerce-mercadopago
|
227 |
msgid "Enable MercadoPago sandbox"
|
228 |
msgstr "Habilitar MercadoPago sandbox"
|
229 |
|
230 |
-
#: class-wc-mercadopago-gateway.php:
|
231 |
-
#@ woocommerce-mercadopago
|
232 |
msgid "MercadoPago sandbox can be used to test payments."
|
233 |
msgstr "MercadoPago sandbox puede ser utilizado para probar los pagos."
|
234 |
|
235 |
-
#: class-wc-mercadopago-gateway.php:
|
236 |
-
|
237 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
238 |
msgid "Log MercadoPago events, such as API requests, inside %s"
|
239 |
msgstr "Registrar los eventos MercadoPago, tales como solicitudes de la API, de% s"
|
240 |
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
msgid "https://github.com/claudiosmweb/woocommerce-mercadopago"
|
245 |
-
msgstr "https://github.com/claudiosmweb/woocommerce-mercadopago"
|
246 |
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
msgid "http://claudiosmweb.com/"
|
251 |
-
msgstr "http://claudiosmweb.com/"
|
252 |
|
253 |
-
#: wc-mercadopago.php:
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
msgstr "
|
258 |
|
259 |
-
#: wc-mercadopago.php:
|
260 |
-
|
261 |
-
|
262 |
-
msgstr "Configuración"
|
263 |
|
264 |
-
#: class-wc-mercadopago-gateway.php:
|
265 |
-
|
266 |
-
|
267 |
-
|
|
|
268 |
|
269 |
-
#: class-wc-mercadopago-gateway.php:
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
|
|
|
|
|
|
|
|
|
|
275 |
|
276 |
-
#: class-wc-mercadopago-gateway.php:
|
277 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
278 |
msgid "MercadoPago: Payment approved."
|
279 |
msgstr "MercadoPago: Aprobado el pago."
|
280 |
|
281 |
-
#: class-wc-mercadopago-gateway.php:
|
282 |
-
#@ woocommerce-mercadopago
|
283 |
msgid "MercadoPago: The user has not completed the payment process yet."
|
284 |
msgstr "MercadoPago: El usuario no ha completado el proceso de pago todavía."
|
285 |
|
286 |
-
#: class-wc-mercadopago-gateway.php:
|
287 |
-
#@ woocommerce-mercadopago
|
288 |
msgid "MercadoPago: Payment under review."
|
289 |
msgstr "MercadoPago: Pago en revisión."
|
290 |
|
291 |
-
#: class-wc-mercadopago-gateway.php:
|
292 |
-
#@ woocommerce-mercadopago
|
293 |
msgid "MercadoPago: The payment was declined. The user can try again."
|
294 |
msgstr "MercadoPago: El pago fue rechazado. El usuario puede volver a intentarlo."
|
295 |
|
296 |
-
#: class-wc-mercadopago-gateway.php:
|
297 |
-
#@ woocommerce-mercadopago
|
298 |
msgid "MercadoPago: The payment was returned to the user."
|
299 |
msgstr "MercadoPago: El pago se devolvió al usuario."
|
300 |
|
301 |
-
#: class-wc-mercadopago-gateway.php:
|
302 |
-
#@ woocommerce-mercadopago
|
303 |
msgid "MercadoPago: Payment canceled."
|
304 |
msgstr "MercadoPago: Pago cancelado."
|
305 |
|
306 |
-
#: class-wc-mercadopago-gateway.php:
|
307 |
-
#@ woocommerce-mercadopago
|
308 |
msgid "MercadoPago: It started a dispute for payment."
|
309 |
msgstr "MercadoPago: Se inició una disputa por el pago."
|
310 |
|
311 |
-
#: class-wc-mercadopago-gateway.php:
|
312 |
-
|
313 |
-
|
|
|
|
|
|
|
|
|
314 |
msgid "You should inform your Client_id. %s"
|
315 |
msgstr "Debe informar su Client_id. %s"
|
316 |
|
317 |
-
#: class-wc-mercadopago-gateway.php:
|
318 |
-
#: class-wc-mercadopago-gateway.php:
|
319 |
-
#@ woocommerce-mercadopago
|
320 |
msgid "Click here to configure!"
|
321 |
msgstr "Haga clic aquí para configurar!"
|
322 |
|
323 |
-
#: class-wc-mercadopago-gateway.php:
|
324 |
-
#, php-format
|
325 |
-
#@ woocommerce-mercadopago
|
326 |
msgid "You should inform your Client_secret. %s"
|
327 |
msgstr "Debe informar su Client_secret, %s"
|
328 |
|
329 |
-
|
330 |
-
|
331 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
332 |
msgid "MercadoPago gateway for Woocommerce."
|
333 |
msgstr "MercadoPago para WooCommerce."
|
334 |
|
335 |
-
#.
|
336 |
-
|
337 |
-
|
338 |
-
msgid "1.7.0"
|
339 |
-
msgstr "1.7.0"
|
340 |
-
|
341 |
-
#: class-wc-mercadopago-gateway.php:578
|
342 |
-
#, php-format
|
343 |
-
#@ woocommerce-mercadopago
|
344 |
-
msgid "Currency <code>%s</code> is not supported. Please make sure that you use one of the following supported currencies: ARS, BRL, MXN, USD or VEF."
|
345 |
-
msgstr "Moneda <code>%s</code> no es compatible. Por favor, asegúrese de que utiliza una de las siguientes monedas admitidas: ARS, BRL, MXN, USD o VEF."
|
346 |
|
|
|
|
|
|
1 |
+
# Copyright (C) 2014 claudiosanches
|
2 |
+
# This file is distributed under the GPLv2 or later.
|
3 |
+
# Translators:
|
4 |
+
# Claudio Sanches <contato@claudiosmweb.com>, 2014
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
+
"Project-Id-Version: WooCommerce MercadoPago\n"
|
8 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/woocommerce-mercadopago/\n"
|
9 |
+
"POT-Creation-Date: 2014-08-16 20:09:56+00:00\n"
|
10 |
+
"PO-Revision-Date: 2014-08-16 20:13+0000\n"
|
11 |
+
"Last-Translator: Claudio Sanches <contato@claudiosmweb.com>\n"
|
12 |
+
"Language-Team: Spanish (Argentina) (http://www.transifex.com/projects/p/woocommerce-mercadopago/language/es_AR/)\n"
|
13 |
"MIME-Version: 1.0\n"
|
14 |
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
"Content-Transfer-Encoding: 8bit\n"
|
16 |
+
"Language: es_AR\n"
|
17 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18 |
+
"X-Generator: grunt-wp-i18n 0.4.7\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
+
#: includes/class-wc-mercadopago-gateway.php:20
|
21 |
+
#: includes/class-wc-mercadopago-gateway.php:142
|
|
|
22 |
msgid "MercadoPago"
|
23 |
msgstr "MercadoPago"
|
24 |
|
25 |
+
#: includes/class-wc-mercadopago-gateway.php:122
|
26 |
+
msgid "Argentine"
|
27 |
+
msgstr "Argentina"
|
28 |
+
|
29 |
+
#: includes/class-wc-mercadopago-gateway.php:123
|
30 |
+
msgid "Brazil"
|
31 |
+
msgstr "Brasil"
|
32 |
+
|
33 |
+
#: includes/class-wc-mercadopago-gateway.php:124
|
34 |
+
msgid "Colombia"
|
35 |
+
msgstr "Colombia"
|
36 |
+
|
37 |
+
#: includes/class-wc-mercadopago-gateway.php:125
|
38 |
+
msgid "Mexico"
|
39 |
+
msgstr "México"
|
40 |
+
|
41 |
+
#: includes/class-wc-mercadopago-gateway.php:126
|
42 |
+
msgid "or"
|
43 |
+
msgstr "o"
|
44 |
+
|
45 |
+
#: includes/class-wc-mercadopago-gateway.php:127
|
46 |
+
msgid "Venezuela"
|
47 |
+
msgstr "Venezuela"
|
48 |
+
|
49 |
+
#: includes/class-wc-mercadopago-gateway.php:132
|
50 |
msgid "Enable/Disable"
|
51 |
msgstr "Habilita/Desabilita"
|
52 |
|
53 |
+
#: includes/class-wc-mercadopago-gateway.php:134
|
|
|
54 |
msgid "Enable MercadoPago standard"
|
55 |
msgstr "Habilitar MercadoPago como estándar"
|
56 |
|
57 |
+
#: includes/class-wc-mercadopago-gateway.php:138
|
|
|
58 |
msgid "Title"
|
59 |
msgstr "Título"
|
60 |
|
61 |
+
#: includes/class-wc-mercadopago-gateway.php:140
|
|
|
62 |
msgid "This controls the title which the user sees during checkout."
|
63 |
msgstr "Controla el título que el usuario ve durante la comprobación."
|
64 |
|
65 |
+
#: includes/class-wc-mercadopago-gateway.php:145
|
|
|
66 |
msgid "Description"
|
67 |
msgstr "Descripción"
|
68 |
|
69 |
+
#: includes/class-wc-mercadopago-gateway.php:147
|
|
|
70 |
msgid "This controls the description which the user sees during checkout."
|
71 |
msgstr "Esto controla la descripción que el usuario ve durante la comprobación / checkout."
|
72 |
|
73 |
+
#: includes/class-wc-mercadopago-gateway.php:148
|
74 |
+
#: includes/class-wc-mercadopago-gateway.php:332
|
|
|
75 |
msgid "Pay via MercadoPago"
|
76 |
msgstr "Pagar con MercadoPago"
|
77 |
|
78 |
+
#: includes/class-wc-mercadopago-gateway.php:151
|
|
|
79 |
msgid "MercadoPago Client_id"
|
80 |
msgstr "Client_id de MercadoPago"
|
81 |
|
82 |
+
#: includes/class-wc-mercadopago-gateway.php:153
|
|
|
83 |
msgid "Please enter your MercadoPago Client_id."
|
84 |
msgstr "Introduzca su client_id de MercadoPago."
|
85 |
|
86 |
+
#: includes/class-wc-mercadopago-gateway.php:153
|
87 |
+
#: includes/class-wc-mercadopago-gateway.php:159
|
88 |
+
msgid "You can to get this information in MercadoPago from %s."
|
89 |
+
msgstr "Usted puede obtener esta información en la MercadoPago de %s"
|
90 |
+
|
91 |
+
#: includes/class-wc-mercadopago-gateway.php:157
|
92 |
msgid "MercadoPago Client_secret"
|
93 |
msgstr "Client_secret de MercadoPago"
|
94 |
|
95 |
+
#: includes/class-wc-mercadopago-gateway.php:159
|
|
|
96 |
msgid "Please enter your MercadoPago Client_secret."
|
97 |
msgstr "Introduzca Client_secret de MercadoPago."
|
98 |
|
99 |
+
#: includes/class-wc-mercadopago-gateway.php:163
|
|
|
100 |
msgid "Invoice Prefix"
|
101 |
msgstr "Prefijo factura"
|
102 |
|
103 |
+
#: includes/class-wc-mercadopago-gateway.php:165
|
104 |
+
msgid ""
|
105 |
+
"Please enter a prefix for your invoice numbers. If you use your MercadoPago "
|
106 |
+
"account for multiple stores ensure this prefix is unqiue as MercadoPago will"
|
107 |
+
" not allow orders with the same invoice number."
|
108 |
msgstr "Por favor, introduzca un prefijo para los números de factura. Si usted utiliza su cuenta MercadoPago para múltiples tiendas asegurar este prefijo es unico, MercadoPago no permitirá que las órdenes con el mismo número de factura."
|
109 |
|
110 |
+
#: includes/class-wc-mercadopago-gateway.php:170
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
msgid "Integration method"
|
112 |
msgstr "Método de integración"
|
113 |
|
114 |
+
#: includes/class-wc-mercadopago-gateway.php:172
|
115 |
+
msgid ""
|
116 |
+
"Choose how the customer will interact with the MercadoPago. Modal Window "
|
117 |
+
"(Inside your store) Redirect (Client goes to MercadoPago)."
|
118 |
+
msgstr "Elige cómo el cliente va a interactuar con la MercadoPago. Ventana Modal (Dentro de su tienda) Redireccionar (Client va a MercadoPago)."
|
119 |
+
|
120 |
+
#: includes/class-wc-mercadopago-gateway.php:176
|
121 |
msgid "Modal Window"
|
122 |
msgstr "Ventana Modal"
|
123 |
|
124 |
+
#: includes/class-wc-mercadopago-gateway.php:177
|
|
|
125 |
msgid "Redirect"
|
126 |
msgstr "Redireccionar"
|
127 |
|
128 |
+
#: includes/class-wc-mercadopago-gateway.php:181
|
129 |
+
msgid "Gateway Testing"
|
130 |
+
msgstr "Test de Gateway"
|
131 |
+
|
132 |
+
#: includes/class-wc-mercadopago-gateway.php:186
|
133 |
msgid "MercadoPago Sandbox"
|
134 |
msgstr "MercadoPago Sandbox"
|
135 |
|
136 |
+
#: includes/class-wc-mercadopago-gateway.php:188
|
|
|
137 |
msgid "Enable MercadoPago sandbox"
|
138 |
msgstr "Habilitar MercadoPago sandbox"
|
139 |
|
140 |
+
#: includes/class-wc-mercadopago-gateway.php:190
|
|
|
141 |
msgid "MercadoPago sandbox can be used to test payments."
|
142 |
msgstr "MercadoPago sandbox puede ser utilizado para probar los pagos."
|
143 |
|
144 |
+
#: includes/class-wc-mercadopago-gateway.php:193
|
145 |
+
msgid "Debug Log"
|
146 |
+
msgstr "Log de depuración"
|
147 |
+
|
148 |
+
#: includes/class-wc-mercadopago-gateway.php:195
|
149 |
+
msgid "Enable logging"
|
150 |
+
msgstr "Habilitar log"
|
151 |
+
|
152 |
+
#: includes/class-wc-mercadopago-gateway.php:197
|
153 |
msgid "Log MercadoPago events, such as API requests, inside %s"
|
154 |
msgstr "Registrar los eventos MercadoPago, tales como solicitudes de la API, de% s"
|
155 |
|
156 |
+
#: includes/class-wc-mercadopago-gateway.php:244
|
157 |
+
msgid "Order %s"
|
158 |
+
msgstr "Pedido %s"
|
|
|
|
|
159 |
|
160 |
+
#: includes/class-wc-mercadopago-gateway.php:254
|
161 |
+
msgid "Shipping via"
|
162 |
+
msgstr "Entrega via"
|
|
|
|
|
163 |
|
164 |
+
#: includes/class-wc-mercadopago-gateway.php:330
|
165 |
+
msgid ""
|
166 |
+
"Thank you for your order, please click the button below to pay with "
|
167 |
+
"MercadoPago."
|
168 |
+
msgstr "Gracias por su pedido, por favor haga clic en el botón de abajo para pagar con MercadoPago."
|
169 |
|
170 |
+
#: includes/class-wc-mercadopago-gateway.php:332
|
171 |
+
msgid "Cancel order & restore cart"
|
172 |
+
msgstr "Cancelar pedido y restaurar el carro de compras"
|
|
|
173 |
|
174 |
+
#: includes/class-wc-mercadopago-gateway.php:340
|
175 |
+
msgid ""
|
176 |
+
"An error has occurred while processing your payment, please try again. Or "
|
177 |
+
"contact us for assistance."
|
178 |
+
msgstr "Se produjo un error al procesar su pago, por favor inténtelo de nuevo o póngase en contacto para obtener ayuda."
|
179 |
|
180 |
+
#: includes/class-wc-mercadopago-gateway.php:342
|
181 |
+
msgid "Click to try again"
|
182 |
+
msgstr "Haga clic para volver a intentarlo"
|
183 |
+
|
184 |
+
#: includes/class-wc-mercadopago-gateway.php:530
|
185 |
+
msgid "MercadoPago Request Failure"
|
186 |
+
msgstr "MercadoPago falta de solicitud"
|
187 |
+
|
188 |
+
#: includes/class-wc-mercadopago-gateway.php:566
|
189 |
+
msgid "MercadoPago Transaction ID"
|
190 |
+
msgstr "MercadoPago: ID de la transacción"
|
191 |
|
192 |
+
#: includes/class-wc-mercadopago-gateway.php:573
|
193 |
+
msgid "Payer email"
|
194 |
+
msgstr "Correo electrónico del comprador"
|
195 |
+
|
196 |
+
#: includes/class-wc-mercadopago-gateway.php:580
|
197 |
+
msgid "Payment type"
|
198 |
+
msgstr "Forma de pago"
|
199 |
+
|
200 |
+
#: includes/class-wc-mercadopago-gateway.php:586
|
201 |
msgid "MercadoPago: Payment approved."
|
202 |
msgstr "MercadoPago: Aprobado el pago."
|
203 |
|
204 |
+
#: includes/class-wc-mercadopago-gateway.php:591
|
|
|
205 |
msgid "MercadoPago: The user has not completed the payment process yet."
|
206 |
msgstr "MercadoPago: El usuario no ha completado el proceso de pago todavía."
|
207 |
|
208 |
+
#: includes/class-wc-mercadopago-gateway.php:595
|
|
|
209 |
msgid "MercadoPago: Payment under review."
|
210 |
msgstr "MercadoPago: Pago en revisión."
|
211 |
|
212 |
+
#: includes/class-wc-mercadopago-gateway.php:599
|
|
|
213 |
msgid "MercadoPago: The payment was declined. The user can try again."
|
214 |
msgstr "MercadoPago: El pago fue rechazado. El usuario puede volver a intentarlo."
|
215 |
|
216 |
+
#: includes/class-wc-mercadopago-gateway.php:603
|
|
|
217 |
msgid "MercadoPago: The payment was returned to the user."
|
218 |
msgstr "MercadoPago: El pago se devolvió al usuario."
|
219 |
|
220 |
+
#: includes/class-wc-mercadopago-gateway.php:607
|
|
|
221 |
msgid "MercadoPago: Payment canceled."
|
222 |
msgstr "MercadoPago: Pago cancelado."
|
223 |
|
224 |
+
#: includes/class-wc-mercadopago-gateway.php:611
|
|
|
225 |
msgid "MercadoPago: It started a dispute for payment."
|
226 |
msgstr "MercadoPago: Se inició una disputa por el pago."
|
227 |
|
228 |
+
#: includes/class-wc-mercadopago-gateway.php:642
|
229 |
+
#: includes/class-wc-mercadopago-gateway.php:651
|
230 |
+
#: includes/class-wc-mercadopago-gateway.php:660
|
231 |
+
msgid "MercadoPago Disabled"
|
232 |
+
msgstr "MercadoPago Deshabilitada"
|
233 |
+
|
234 |
+
#: includes/class-wc-mercadopago-gateway.php:642
|
235 |
msgid "You should inform your Client_id. %s"
|
236 |
msgstr "Debe informar su Client_id. %s"
|
237 |
|
238 |
+
#: includes/class-wc-mercadopago-gateway.php:642
|
239 |
+
#: includes/class-wc-mercadopago-gateway.php:651
|
|
|
240 |
msgid "Click here to configure!"
|
241 |
msgstr "Haga clic aquí para configurar!"
|
242 |
|
243 |
+
#: includes/class-wc-mercadopago-gateway.php:651
|
|
|
|
|
244 |
msgid "You should inform your Client_secret. %s"
|
245 |
msgstr "Debe informar su Client_secret, %s"
|
246 |
|
247 |
+
#: includes/class-wc-mercadopago-gateway.php:660
|
248 |
+
msgid ""
|
249 |
+
"Currency <code>%s</code> is not supported. Please make sure that you use one"
|
250 |
+
" of the following supported currencies: ARS, BRL, COP, MXN, USD or VEF."
|
251 |
+
msgstr "Moneda <code>%s</code> no es compatible. Por favor, asegúrese de que utiliza una de las siguientes monedas admitidas: ARS, BRL, COP, MXN, USD o VEF."
|
252 |
+
|
253 |
+
#: woocommerce-mercadopago.php:102
|
254 |
+
msgid ""
|
255 |
+
"WooCommerce MercadoPago Gateway depends on the last version of %s to work!"
|
256 |
+
msgstr "WooCommerce MercadoPago gateway depende de la última versión de %s para trabajar!"
|
257 |
+
|
258 |
+
#: woocommerce-mercadopago.php:102
|
259 |
+
msgid "WooCommerce"
|
260 |
+
msgstr "WooCommerce"
|
261 |
+
|
262 |
+
#. Plugin Name of the plugin/theme
|
263 |
+
msgid "WooCommerce MercadoPago"
|
264 |
+
msgstr "WooCommerce MercadoPago"
|
265 |
+
|
266 |
+
#. Plugin URI of the plugin/theme
|
267 |
+
msgid "https://github.com/claudiosmweb/woocommerce-mercadopago"
|
268 |
+
msgstr "https://github.com/claudiosmweb/woocommerce-mercadopago"
|
269 |
+
|
270 |
+
#. Description of the plugin/theme
|
271 |
msgid "MercadoPago gateway for Woocommerce."
|
272 |
msgstr "MercadoPago para WooCommerce."
|
273 |
|
274 |
+
#. Author of the plugin/theme
|
275 |
+
msgid "claudiosanches"
|
276 |
+
msgstr "claudiosanches"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
277 |
|
278 |
+
#. Author URI of the plugin/theme
|
279 |
+
msgid "http://claudiosmweb.com/"
|
280 |
+
msgstr "http://claudiosmweb.com/"
|
languages/woocommerce-mercadopago-es_ES.mo
CHANGED
Binary file
|
languages/woocommerce-mercadopago-es_ES.po
CHANGED
@@ -1,346 +1,280 @@
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: WooCommerce MercadoPago
|
4 |
-
"Report-Msgid-Bugs-To:
|
5 |
-
"POT-Creation-Date: \n"
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"Last-Translator:
|
8 |
-
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"X-
|
15 |
-
"X-Poedit-Country: \n"
|
16 |
-
"X-Poedit-SourceCharset: utf-8\n"
|
17 |
-
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
|
18 |
-
"X-Poedit-Basepath: ../\n"
|
19 |
-
"X-Poedit-Bookmarks: \n"
|
20 |
-
"X-Poedit-SearchPath-0: .\n"
|
21 |
-
"X-Textdomain-Support: yes"
|
22 |
-
|
23 |
-
#. translators: plugin header field 'Name'
|
24 |
-
#: wc-mercadopago.php:0
|
25 |
-
#@ woocommerce-mercadopago
|
26 |
-
msgid "WooCommerce MercadoPago"
|
27 |
-
msgstr "MercadoPago para WooCommerce"
|
28 |
-
|
29 |
-
#. translators: plugin header field 'Author'
|
30 |
-
#: wc-mercadopago.php:0
|
31 |
-
#@ woocommerce-mercadopago
|
32 |
-
msgid "claudiosanches"
|
33 |
-
msgstr "claudiosanches"
|
34 |
|
35 |
-
#: class-wc-mercadopago-gateway.php:
|
36 |
-
#: class-wc-mercadopago-gateway.php:
|
37 |
-
#@ woocommerce-mercadopago
|
38 |
msgid "MercadoPago"
|
39 |
msgstr "MercadoPago"
|
40 |
|
41 |
-
#: class-wc-mercadopago-gateway.php:
|
42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
msgid "Enable/Disable"
|
44 |
msgstr "Habilita/Deshabilita"
|
45 |
|
46 |
-
#: class-wc-mercadopago-gateway.php:
|
47 |
-
#@ woocommerce-mercadopago
|
48 |
msgid "Enable MercadoPago standard"
|
49 |
msgstr "Habilitar MercadoPago"
|
50 |
|
51 |
-
#: class-wc-mercadopago-gateway.php:
|
52 |
-
#@ woocommerce-mercadopago
|
53 |
msgid "Title"
|
54 |
msgstr "Título"
|
55 |
|
56 |
-
#: class-wc-mercadopago-gateway.php:
|
57 |
-
#@ woocommerce-mercadopago
|
58 |
msgid "This controls the title which the user sees during checkout."
|
59 |
msgstr "Esto controla el título que el usuario ve durante el proceso de compra."
|
60 |
|
61 |
-
#: class-wc-mercadopago-gateway.php:
|
62 |
-
#@ woocommerce-mercadopago
|
63 |
msgid "Description"
|
64 |
msgstr "Descripción"
|
65 |
|
66 |
-
#: class-wc-mercadopago-gateway.php:
|
67 |
-
#@ woocommerce-mercadopago
|
68 |
msgid "This controls the description which the user sees during checkout."
|
69 |
msgstr "Esto controla la descripción que el usuario ve durante el proceso de compra."
|
70 |
|
71 |
-
#: class-wc-mercadopago-gateway.php:
|
72 |
-
#: class-wc-mercadopago-gateway.php:
|
73 |
-
#@ woocommerce-mercadopago
|
74 |
msgid "Pay via MercadoPago"
|
75 |
msgstr "Pagar con MercadoPago"
|
76 |
|
77 |
-
#: class-wc-mercadopago-gateway.php:
|
78 |
-
#@ woocommerce-mercadopago
|
79 |
msgid "MercadoPago Client_id"
|
80 |
msgstr "Client_id de MercadoPago"
|
81 |
|
82 |
-
#: class-wc-mercadopago-gateway.php:
|
83 |
-
#@ woocommerce-mercadopago
|
84 |
msgid "Please enter your MercadoPago Client_id."
|
85 |
msgstr "Introduzca su Client_id de MercadoPago."
|
86 |
|
87 |
-
#: class-wc-mercadopago-gateway.php:
|
88 |
-
|
|
|
|
|
|
|
|
|
89 |
msgid "MercadoPago Client_secret"
|
90 |
msgstr "Client_secret de MercadoPago"
|
91 |
|
92 |
-
#: class-wc-mercadopago-gateway.php:
|
93 |
-
#@ woocommerce-mercadopago
|
94 |
msgid "Please enter your MercadoPago Client_secret."
|
95 |
msgstr "Introduzca su Client_secret de MercadoPago."
|
96 |
|
97 |
-
#: class-wc-mercadopago-gateway.php:
|
98 |
-
#@ woocommerce-mercadopago
|
99 |
msgid "Invoice Prefix"
|
100 |
msgstr "Prefijo de las facturas"
|
101 |
|
102 |
-
#: class-wc-mercadopago-gateway.php:
|
103 |
-
|
104 |
-
|
|
|
|
|
105 |
msgstr "Por favor, introduzca un prefijo para los números de factura. Si usted utiliza su cuenta de MercadoPago para múltiples tiendas, asegúrese de que este prefijo sea único, ya que MercadoPago no permitirá pedidos con el mismo número de factura."
|
106 |
|
107 |
-
#: class-wc-mercadopago-gateway.php:
|
108 |
-
#, php-format
|
109 |
-
#@ woocommerce-mercadopago
|
110 |
-
msgid "Order %s"
|
111 |
-
msgstr "Pedido %s"
|
112 |
-
|
113 |
-
#: class-wc-mercadopago-gateway.php:224
|
114 |
-
#@ woocommerce-mercadopago
|
115 |
-
msgid "Shipping via"
|
116 |
-
msgstr "Entrega via"
|
117 |
-
|
118 |
-
#: class-wc-mercadopago-gateway.php:289
|
119 |
-
#@ woocommerce-mercadopago
|
120 |
-
msgid "Thank you for your order, please click the button below to pay with MercadoPago."
|
121 |
-
msgstr "Gracias por su pedido, por favor haga clic en el siguiente botón para pagar con MercadoPago."
|
122 |
-
|
123 |
-
#: class-wc-mercadopago-gateway.php:291
|
124 |
-
#@ woocommerce-mercadopago
|
125 |
-
msgid "Cancel order & restore cart"
|
126 |
-
msgstr "Cancelar pedido y restaurar el carro de compras"
|
127 |
-
|
128 |
-
#: class-wc-mercadopago-gateway.php:299
|
129 |
-
#@ woocommerce-mercadopago
|
130 |
-
msgid "An error has occurred while processing your payment, please try again. Or contact us for assistance."
|
131 |
-
msgstr "Se produjo un error al procesar su pago, por favor inténtelo de nuevo o póngase en contacto para obtener ayuda."
|
132 |
-
|
133 |
-
#: class-wc-mercadopago-gateway.php:301
|
134 |
-
#@ woocommerce-mercadopago
|
135 |
-
msgid "Click to try again"
|
136 |
-
msgstr "Haga clic para volver a intentarlo"
|
137 |
-
|
138 |
-
#: class-wc-mercadopago-gateway.php:497
|
139 |
-
#@ woocommerce-mercadopago
|
140 |
-
msgid "MercadoPago Transaction ID"
|
141 |
-
msgstr "MercadoPago: ID de la transacción"
|
142 |
-
|
143 |
-
#: class-wc-mercadopago-gateway.php:504
|
144 |
-
#@ woocommerce-mercadopago
|
145 |
-
msgid "Payer email"
|
146 |
-
msgstr "Email del comprador"
|
147 |
-
|
148 |
-
#: class-wc-mercadopago-gateway.php:511
|
149 |
-
#@ woocommerce-mercadopago
|
150 |
-
msgid "Payment type"
|
151 |
-
msgstr "Forma de pago"
|
152 |
-
|
153 |
-
#: class-wc-mercadopago-gateway.php:158
|
154 |
-
#@ woocommerce-mercadopago
|
155 |
-
msgid "Gateway Testing"
|
156 |
-
msgstr "Test de Gateway"
|
157 |
-
|
158 |
-
#: class-wc-mercadopago-gateway.php:170
|
159 |
-
#@ woocommerce-mercadopago
|
160 |
-
msgid "Debug Log"
|
161 |
-
msgstr "Log de depuración"
|
162 |
-
|
163 |
-
#: class-wc-mercadopago-gateway.php:172
|
164 |
-
#@ woocommerce-mercadopago
|
165 |
-
msgid "Enable logging"
|
166 |
-
msgstr "Habilitar log"
|
167 |
-
|
168 |
-
#: class-wc-mercadopago-gateway.php:462
|
169 |
-
#@ woocommerce-mercadopago
|
170 |
-
msgid "MercadoPago Request Failure"
|
171 |
-
msgstr "Falta de Solicitud a MercadoPago"
|
172 |
-
|
173 |
-
#: class-wc-mercadopago-gateway.php:105
|
174 |
-
#@ woocommerce-mercadopago
|
175 |
-
msgid "Argentine"
|
176 |
-
msgstr "Argentina"
|
177 |
-
|
178 |
-
#: class-wc-mercadopago-gateway.php:105
|
179 |
-
#@ woocommerce-mercadopago
|
180 |
-
msgid "Brazil"
|
181 |
-
msgstr "Brasil"
|
182 |
-
|
183 |
-
#: class-wc-mercadopago-gateway.php:105
|
184 |
-
#@ woocommerce-mercadopago
|
185 |
-
msgid "Mexico"
|
186 |
-
msgstr "México"
|
187 |
-
|
188 |
-
#: class-wc-mercadopago-gateway.php:105
|
189 |
-
#@ woocommerce-mercadopago
|
190 |
-
msgid "Venezuela"
|
191 |
-
msgstr "Venezuela"
|
192 |
-
|
193 |
-
#: class-wc-mercadopago-gateway.php:105
|
194 |
-
#@ woocommerce-mercadopago
|
195 |
-
msgid "or"
|
196 |
-
msgstr "o"
|
197 |
-
|
198 |
-
#: class-wc-mercadopago-gateway.php:130
|
199 |
-
#: class-wc-mercadopago-gateway.php:136
|
200 |
-
#, php-format
|
201 |
-
#@ woocommerce-mercadopago
|
202 |
-
msgid "You can to get this information in MercadoPago from %s."
|
203 |
-
msgstr "Usted puede obtener esta información en MercadoPago de %s"
|
204 |
-
|
205 |
-
#: class-wc-mercadopago-gateway.php:147
|
206 |
-
#@ woocommerce-mercadopago
|
207 |
msgid "Integration method"
|
208 |
msgstr "Método de integración"
|
209 |
|
210 |
-
#: class-wc-mercadopago-gateway.php:
|
211 |
-
|
|
|
|
|
|
|
|
|
|
|
212 |
msgid "Modal Window"
|
213 |
msgstr "Ventana Modal"
|
214 |
|
215 |
-
#: class-wc-mercadopago-gateway.php:
|
216 |
-
#@ woocommerce-mercadopago
|
217 |
msgid "Redirect"
|
218 |
msgstr "Redireccionar"
|
219 |
|
220 |
-
#: class-wc-mercadopago-gateway.php:
|
221 |
-
|
|
|
|
|
|
|
222 |
msgid "MercadoPago Sandbox"
|
223 |
msgstr "Sandbox de MercadoPago"
|
224 |
|
225 |
-
#: class-wc-mercadopago-gateway.php:
|
226 |
-
#@ woocommerce-mercadopago
|
227 |
msgid "Enable MercadoPago sandbox"
|
228 |
msgstr "Habilitar sandbox de MercadoPago"
|
229 |
|
230 |
-
#: class-wc-mercadopago-gateway.php:
|
231 |
-
#@ woocommerce-mercadopago
|
232 |
msgid "MercadoPago sandbox can be used to test payments."
|
233 |
msgstr "La sandbox de MercadoPago puede utilizarse para probar los pagos."
|
234 |
|
235 |
-
#: class-wc-mercadopago-gateway.php:
|
236 |
-
|
237 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
238 |
msgid "Log MercadoPago events, such as API requests, inside %s"
|
239 |
msgstr "Registrar los eventos de MercadoPago, tales como solicitudes de la API, en %s"
|
240 |
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
msgid "https://github.com/claudiosmweb/woocommerce-mercadopago"
|
245 |
-
msgstr "https://github.com/claudiosmweb/woocommerce-mercadopago"
|
246 |
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
msgid "http://claudiosmweb.com/"
|
251 |
-
msgstr "http://claudiosmweb.com/"
|
252 |
|
253 |
-
#: wc-mercadopago.php:
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
msgstr "
|
258 |
|
259 |
-
#: wc-mercadopago.php:
|
260 |
-
|
261 |
-
|
262 |
-
msgstr "Configuración"
|
263 |
|
264 |
-
#: class-wc-mercadopago-gateway.php:
|
265 |
-
|
266 |
-
|
267 |
-
|
|
|
268 |
|
269 |
-
#: class-wc-mercadopago-gateway.php:
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
|
|
|
|
|
|
|
|
|
|
275 |
|
276 |
-
#: class-wc-mercadopago-gateway.php:
|
277 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
278 |
msgid "MercadoPago: Payment approved."
|
279 |
msgstr "MercadoPago: Aprobado el pago."
|
280 |
|
281 |
-
#: class-wc-mercadopago-gateway.php:
|
282 |
-
#@ woocommerce-mercadopago
|
283 |
msgid "MercadoPago: The user has not completed the payment process yet."
|
284 |
msgstr "MercadoPago: El usuario no ha completado el proceso de pago todavía."
|
285 |
|
286 |
-
#: class-wc-mercadopago-gateway.php:
|
287 |
-
#@ woocommerce-mercadopago
|
288 |
msgid "MercadoPago: Payment under review."
|
289 |
msgstr "MercadoPago: Pago en revisión."
|
290 |
|
291 |
-
#: class-wc-mercadopago-gateway.php:
|
292 |
-
#@ woocommerce-mercadopago
|
293 |
msgid "MercadoPago: The payment was declined. The user can try again."
|
294 |
msgstr "MercadoPago: El pago fue rechazado. El usuario puede volver a intentarlo."
|
295 |
|
296 |
-
#: class-wc-mercadopago-gateway.php:
|
297 |
-
#@ woocommerce-mercadopago
|
298 |
msgid "MercadoPago: The payment was returned to the user."
|
299 |
msgstr "MercadoPago: El pago se devolvió al usuario."
|
300 |
|
301 |
-
#: class-wc-mercadopago-gateway.php:
|
302 |
-
#@ woocommerce-mercadopago
|
303 |
msgid "MercadoPago: Payment canceled."
|
304 |
msgstr "MercadoPago: Pago cancelado."
|
305 |
|
306 |
-
#: class-wc-mercadopago-gateway.php:
|
307 |
-
#@ woocommerce-mercadopago
|
308 |
msgid "MercadoPago: It started a dispute for payment."
|
309 |
msgstr "MercadoPago: Se inició una disputa por el pago."
|
310 |
|
311 |
-
#: class-wc-mercadopago-gateway.php:
|
312 |
-
|
313 |
-
|
|
|
|
|
|
|
|
|
314 |
msgid "You should inform your Client_id. %s"
|
315 |
msgstr "Debe informar su Client_id. %s"
|
316 |
|
317 |
-
#: class-wc-mercadopago-gateway.php:
|
318 |
-
#: class-wc-mercadopago-gateway.php:
|
319 |
-
#@ woocommerce-mercadopago
|
320 |
msgid "Click here to configure!"
|
321 |
msgstr "Haga clic aquí para configurar!"
|
322 |
|
323 |
-
#: class-wc-mercadopago-gateway.php:
|
324 |
-
#, php-format
|
325 |
-
#@ woocommerce-mercadopago
|
326 |
msgid "You should inform your Client_secret. %s"
|
327 |
msgstr "Debe informar su Client_secret, %s"
|
328 |
|
329 |
-
|
330 |
-
|
331 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
332 |
msgid "MercadoPago gateway for Woocommerce."
|
333 |
msgstr "MercadoPago para WooCommerce."
|
334 |
|
335 |
-
#.
|
336 |
-
|
337 |
-
|
338 |
-
msgid "1.7.0"
|
339 |
-
msgstr "1.7.0"
|
340 |
-
|
341 |
-
#: class-wc-mercadopago-gateway.php:578
|
342 |
-
#, php-format
|
343 |
-
#@ woocommerce-mercadopago
|
344 |
-
msgid "Currency <code>%s</code> is not supported. Please make sure that you use one of the following supported currencies: ARS, BRL, MXN, USD or VEF."
|
345 |
-
msgstr "Moneda <code>%s</code> no es compatible. Por favor, asegúrese de que utiliza una de las siguientes monedas admitidas: ARS, BRL, MXN, USD o VEF."
|
346 |
|
|
|
|
|
|
1 |
+
# Copyright (C) 2014 claudiosanches
|
2 |
+
# This file is distributed under the GPLv2 or later.
|
3 |
+
# Translators:
|
4 |
+
# Claudio Sanches <contato@claudiosmweb.com>, 2014
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
+
"Project-Id-Version: WooCommerce MercadoPago\n"
|
8 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/woocommerce-mercadopago/\n"
|
9 |
+
"POT-Creation-Date: 2014-08-16 20:09:56+00:00\n"
|
10 |
+
"PO-Revision-Date: 2014-08-16 20:13+0000\n"
|
11 |
+
"Last-Translator: Claudio Sanches <contato@claudiosmweb.com>\n"
|
12 |
+
"Language-Team: Spanish (Spain) (http://www.transifex.com/projects/p/woocommerce-mercadopago/language/es_ES/)\n"
|
13 |
"MIME-Version: 1.0\n"
|
14 |
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
"Content-Transfer-Encoding: 8bit\n"
|
16 |
+
"Language: es_ES\n"
|
17 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18 |
+
"X-Generator: grunt-wp-i18n 0.4.7\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
+
#: includes/class-wc-mercadopago-gateway.php:20
|
21 |
+
#: includes/class-wc-mercadopago-gateway.php:142
|
|
|
22 |
msgid "MercadoPago"
|
23 |
msgstr "MercadoPago"
|
24 |
|
25 |
+
#: includes/class-wc-mercadopago-gateway.php:122
|
26 |
+
msgid "Argentine"
|
27 |
+
msgstr "Argentina"
|
28 |
+
|
29 |
+
#: includes/class-wc-mercadopago-gateway.php:123
|
30 |
+
msgid "Brazil"
|
31 |
+
msgstr "Brasil"
|
32 |
+
|
33 |
+
#: includes/class-wc-mercadopago-gateway.php:124
|
34 |
+
msgid "Colombia"
|
35 |
+
msgstr "Colombia"
|
36 |
+
|
37 |
+
#: includes/class-wc-mercadopago-gateway.php:125
|
38 |
+
msgid "Mexico"
|
39 |
+
msgstr "México"
|
40 |
+
|
41 |
+
#: includes/class-wc-mercadopago-gateway.php:126
|
42 |
+
msgid "or"
|
43 |
+
msgstr "o"
|
44 |
+
|
45 |
+
#: includes/class-wc-mercadopago-gateway.php:127
|
46 |
+
msgid "Venezuela"
|
47 |
+
msgstr "Venezuela"
|
48 |
+
|
49 |
+
#: includes/class-wc-mercadopago-gateway.php:132
|
50 |
msgid "Enable/Disable"
|
51 |
msgstr "Habilita/Deshabilita"
|
52 |
|
53 |
+
#: includes/class-wc-mercadopago-gateway.php:134
|
|
|
54 |
msgid "Enable MercadoPago standard"
|
55 |
msgstr "Habilitar MercadoPago"
|
56 |
|
57 |
+
#: includes/class-wc-mercadopago-gateway.php:138
|
|
|
58 |
msgid "Title"
|
59 |
msgstr "Título"
|
60 |
|
61 |
+
#: includes/class-wc-mercadopago-gateway.php:140
|
|
|
62 |
msgid "This controls the title which the user sees during checkout."
|
63 |
msgstr "Esto controla el título que el usuario ve durante el proceso de compra."
|
64 |
|
65 |
+
#: includes/class-wc-mercadopago-gateway.php:145
|
|
|
66 |
msgid "Description"
|
67 |
msgstr "Descripción"
|
68 |
|
69 |
+
#: includes/class-wc-mercadopago-gateway.php:147
|
|
|
70 |
msgid "This controls the description which the user sees during checkout."
|
71 |
msgstr "Esto controla la descripción que el usuario ve durante el proceso de compra."
|
72 |
|
73 |
+
#: includes/class-wc-mercadopago-gateway.php:148
|
74 |
+
#: includes/class-wc-mercadopago-gateway.php:332
|
|
|
75 |
msgid "Pay via MercadoPago"
|
76 |
msgstr "Pagar con MercadoPago"
|
77 |
|
78 |
+
#: includes/class-wc-mercadopago-gateway.php:151
|
|
|
79 |
msgid "MercadoPago Client_id"
|
80 |
msgstr "Client_id de MercadoPago"
|
81 |
|
82 |
+
#: includes/class-wc-mercadopago-gateway.php:153
|
|
|
83 |
msgid "Please enter your MercadoPago Client_id."
|
84 |
msgstr "Introduzca su Client_id de MercadoPago."
|
85 |
|
86 |
+
#: includes/class-wc-mercadopago-gateway.php:153
|
87 |
+
#: includes/class-wc-mercadopago-gateway.php:159
|
88 |
+
msgid "You can to get this information in MercadoPago from %s."
|
89 |
+
msgstr "Usted puede obtener esta información en MercadoPago de %s"
|
90 |
+
|
91 |
+
#: includes/class-wc-mercadopago-gateway.php:157
|
92 |
msgid "MercadoPago Client_secret"
|
93 |
msgstr "Client_secret de MercadoPago"
|
94 |
|
95 |
+
#: includes/class-wc-mercadopago-gateway.php:159
|
|
|
96 |
msgid "Please enter your MercadoPago Client_secret."
|
97 |
msgstr "Introduzca su Client_secret de MercadoPago."
|
98 |
|
99 |
+
#: includes/class-wc-mercadopago-gateway.php:163
|
|
|
100 |
msgid "Invoice Prefix"
|
101 |
msgstr "Prefijo de las facturas"
|
102 |
|
103 |
+
#: includes/class-wc-mercadopago-gateway.php:165
|
104 |
+
msgid ""
|
105 |
+
"Please enter a prefix for your invoice numbers. If you use your MercadoPago "
|
106 |
+
"account for multiple stores ensure this prefix is unqiue as MercadoPago will"
|
107 |
+
" not allow orders with the same invoice number."
|
108 |
msgstr "Por favor, introduzca un prefijo para los números de factura. Si usted utiliza su cuenta de MercadoPago para múltiples tiendas, asegúrese de que este prefijo sea único, ya que MercadoPago no permitirá pedidos con el mismo número de factura."
|
109 |
|
110 |
+
#: includes/class-wc-mercadopago-gateway.php:170
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
msgid "Integration method"
|
112 |
msgstr "Método de integración"
|
113 |
|
114 |
+
#: includes/class-wc-mercadopago-gateway.php:172
|
115 |
+
msgid ""
|
116 |
+
"Choose how the customer will interact with the MercadoPago. Modal Window "
|
117 |
+
"(Inside your store) Redirect (Client goes to MercadoPago)."
|
118 |
+
msgstr "Elige cómo el cliente va a interactuar con MercadoPago. Ventana Modal (Dentro de su tienda) o Redireccionar (el cliente va a la web de MercadoPago)."
|
119 |
+
|
120 |
+
#: includes/class-wc-mercadopago-gateway.php:176
|
121 |
msgid "Modal Window"
|
122 |
msgstr "Ventana Modal"
|
123 |
|
124 |
+
#: includes/class-wc-mercadopago-gateway.php:177
|
|
|
125 |
msgid "Redirect"
|
126 |
msgstr "Redireccionar"
|
127 |
|
128 |
+
#: includes/class-wc-mercadopago-gateway.php:181
|
129 |
+
msgid "Gateway Testing"
|
130 |
+
msgstr "Test de Gateway"
|
131 |
+
|
132 |
+
#: includes/class-wc-mercadopago-gateway.php:186
|
133 |
msgid "MercadoPago Sandbox"
|
134 |
msgstr "Sandbox de MercadoPago"
|
135 |
|
136 |
+
#: includes/class-wc-mercadopago-gateway.php:188
|
|
|
137 |
msgid "Enable MercadoPago sandbox"
|
138 |
msgstr "Habilitar sandbox de MercadoPago"
|
139 |
|
140 |
+
#: includes/class-wc-mercadopago-gateway.php:190
|
|
|
141 |
msgid "MercadoPago sandbox can be used to test payments."
|
142 |
msgstr "La sandbox de MercadoPago puede utilizarse para probar los pagos."
|
143 |
|
144 |
+
#: includes/class-wc-mercadopago-gateway.php:193
|
145 |
+
msgid "Debug Log"
|
146 |
+
msgstr "Log de depuración"
|
147 |
+
|
148 |
+
#: includes/class-wc-mercadopago-gateway.php:195
|
149 |
+
msgid "Enable logging"
|
150 |
+
msgstr "Habilitar log"
|
151 |
+
|
152 |
+
#: includes/class-wc-mercadopago-gateway.php:197
|
153 |
msgid "Log MercadoPago events, such as API requests, inside %s"
|
154 |
msgstr "Registrar los eventos de MercadoPago, tales como solicitudes de la API, en %s"
|
155 |
|
156 |
+
#: includes/class-wc-mercadopago-gateway.php:244
|
157 |
+
msgid "Order %s"
|
158 |
+
msgstr "Pedido %s"
|
|
|
|
|
159 |
|
160 |
+
#: includes/class-wc-mercadopago-gateway.php:254
|
161 |
+
msgid "Shipping via"
|
162 |
+
msgstr "Entrega via"
|
|
|
|
|
163 |
|
164 |
+
#: includes/class-wc-mercadopago-gateway.php:330
|
165 |
+
msgid ""
|
166 |
+
"Thank you for your order, please click the button below to pay with "
|
167 |
+
"MercadoPago."
|
168 |
+
msgstr "Gracias por su pedido, por favor haga clic en el siguiente botón para pagar con MercadoPago."
|
169 |
|
170 |
+
#: includes/class-wc-mercadopago-gateway.php:332
|
171 |
+
msgid "Cancel order & restore cart"
|
172 |
+
msgstr "Cancelar pedido y restaurar el carro de compras"
|
|
|
173 |
|
174 |
+
#: includes/class-wc-mercadopago-gateway.php:340
|
175 |
+
msgid ""
|
176 |
+
"An error has occurred while processing your payment, please try again. Or "
|
177 |
+
"contact us for assistance."
|
178 |
+
msgstr "Se produjo un error al procesar su pago, por favor inténtelo de nuevo o póngase en contacto para obtener ayuda."
|
179 |
|
180 |
+
#: includes/class-wc-mercadopago-gateway.php:342
|
181 |
+
msgid "Click to try again"
|
182 |
+
msgstr "Haga clic para volver a intentarlo"
|
183 |
+
|
184 |
+
#: includes/class-wc-mercadopago-gateway.php:530
|
185 |
+
msgid "MercadoPago Request Failure"
|
186 |
+
msgstr "Falta de Solicitud a MercadoPago"
|
187 |
+
|
188 |
+
#: includes/class-wc-mercadopago-gateway.php:566
|
189 |
+
msgid "MercadoPago Transaction ID"
|
190 |
+
msgstr "MercadoPago: ID de la transacción"
|
191 |
|
192 |
+
#: includes/class-wc-mercadopago-gateway.php:573
|
193 |
+
msgid "Payer email"
|
194 |
+
msgstr "Email del comprador"
|
195 |
+
|
196 |
+
#: includes/class-wc-mercadopago-gateway.php:580
|
197 |
+
msgid "Payment type"
|
198 |
+
msgstr "Forma de pago"
|
199 |
+
|
200 |
+
#: includes/class-wc-mercadopago-gateway.php:586
|
201 |
msgid "MercadoPago: Payment approved."
|
202 |
msgstr "MercadoPago: Aprobado el pago."
|
203 |
|
204 |
+
#: includes/class-wc-mercadopago-gateway.php:591
|
|
|
205 |
msgid "MercadoPago: The user has not completed the payment process yet."
|
206 |
msgstr "MercadoPago: El usuario no ha completado el proceso de pago todavía."
|
207 |
|
208 |
+
#: includes/class-wc-mercadopago-gateway.php:595
|
|
|
209 |
msgid "MercadoPago: Payment under review."
|
210 |
msgstr "MercadoPago: Pago en revisión."
|
211 |
|
212 |
+
#: includes/class-wc-mercadopago-gateway.php:599
|
|
|
213 |
msgid "MercadoPago: The payment was declined. The user can try again."
|
214 |
msgstr "MercadoPago: El pago fue rechazado. El usuario puede volver a intentarlo."
|
215 |
|
216 |
+
#: includes/class-wc-mercadopago-gateway.php:603
|
|
|
217 |
msgid "MercadoPago: The payment was returned to the user."
|
218 |
msgstr "MercadoPago: El pago se devolvió al usuario."
|
219 |
|
220 |
+
#: includes/class-wc-mercadopago-gateway.php:607
|
|
|
221 |
msgid "MercadoPago: Payment canceled."
|
222 |
msgstr "MercadoPago: Pago cancelado."
|
223 |
|
224 |
+
#: includes/class-wc-mercadopago-gateway.php:611
|
|
|
225 |
msgid "MercadoPago: It started a dispute for payment."
|
226 |
msgstr "MercadoPago: Se inició una disputa por el pago."
|
227 |
|
228 |
+
#: includes/class-wc-mercadopago-gateway.php:642
|
229 |
+
#: includes/class-wc-mercadopago-gateway.php:651
|
230 |
+
#: includes/class-wc-mercadopago-gateway.php:660
|
231 |
+
msgid "MercadoPago Disabled"
|
232 |
+
msgstr "MercadoPago Deshabilitada"
|
233 |
+
|
234 |
+
#: includes/class-wc-mercadopago-gateway.php:642
|
235 |
msgid "You should inform your Client_id. %s"
|
236 |
msgstr "Debe informar su Client_id. %s"
|
237 |
|
238 |
+
#: includes/class-wc-mercadopago-gateway.php:642
|
239 |
+
#: includes/class-wc-mercadopago-gateway.php:651
|
|
|
240 |
msgid "Click here to configure!"
|
241 |
msgstr "Haga clic aquí para configurar!"
|
242 |
|
243 |
+
#: includes/class-wc-mercadopago-gateway.php:651
|
|
|
|
|
244 |
msgid "You should inform your Client_secret. %s"
|
245 |
msgstr "Debe informar su Client_secret, %s"
|
246 |
|
247 |
+
#: includes/class-wc-mercadopago-gateway.php:660
|
248 |
+
msgid ""
|
249 |
+
"Currency <code>%s</code> is not supported. Please make sure that you use one"
|
250 |
+
" of the following supported currencies: ARS, BRL, COP, MXN, USD or VEF."
|
251 |
+
msgstr "Moneda <code>%s</code> no es compatible. Por favor, asegúrese de que utiliza una de las siguientes monedas admitidas: ARS, BRL, COP, MXN, USD o VEF."
|
252 |
+
|
253 |
+
#: woocommerce-mercadopago.php:102
|
254 |
+
msgid ""
|
255 |
+
"WooCommerce MercadoPago Gateway depends on the last version of %s to work!"
|
256 |
+
msgstr "MercadoPago para WooCommerce depende de la última versión de %s para funcionar!"
|
257 |
+
|
258 |
+
#: woocommerce-mercadopago.php:102
|
259 |
+
msgid "WooCommerce"
|
260 |
+
msgstr "WooCommerce"
|
261 |
+
|
262 |
+
#. Plugin Name of the plugin/theme
|
263 |
+
msgid "WooCommerce MercadoPago"
|
264 |
+
msgstr "MercadoPago para WooCommerce"
|
265 |
+
|
266 |
+
#. Plugin URI of the plugin/theme
|
267 |
+
msgid "https://github.com/claudiosmweb/woocommerce-mercadopago"
|
268 |
+
msgstr "https://github.com/claudiosmweb/woocommerce-mercadopago"
|
269 |
+
|
270 |
+
#. Description of the plugin/theme
|
271 |
msgid "MercadoPago gateway for Woocommerce."
|
272 |
msgstr "MercadoPago para WooCommerce."
|
273 |
|
274 |
+
#. Author of the plugin/theme
|
275 |
+
msgid "claudiosanches"
|
276 |
+
msgstr "claudiosanches"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
277 |
|
278 |
+
#. Author URI of the plugin/theme
|
279 |
+
msgid "http://claudiosmweb.com/"
|
280 |
+
msgstr "http://claudiosmweb.com/"
|
languages/woocommerce-mercadopago-pt_BR.mo
CHANGED
Binary file
|
languages/woocommerce-mercadopago-pt_BR.po
CHANGED
@@ -1,346 +1,280 @@
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: WooCommerce MercadoPago
|
4 |
-
"Report-Msgid-Bugs-To:
|
5 |
-
"POT-Creation-Date: \n"
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: Claudio Sanches <contato@claudiosmweb.com>\n"
|
8 |
-
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"X-
|
15 |
-
"X-Poedit-Country: BRAZIL\n"
|
16 |
-
"X-Poedit-SourceCharset: utf-8\n"
|
17 |
-
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
|
18 |
-
"X-Poedit-Basepath: ../\n"
|
19 |
-
"X-Poedit-Bookmarks: \n"
|
20 |
-
"X-Poedit-SearchPath-0: .\n"
|
21 |
-
"X-Textdomain-Support: yes"
|
22 |
-
|
23 |
-
#. translators: plugin header field 'Name'
|
24 |
-
#: wc-mercadopago.php:0
|
25 |
-
#@ woocommerce-mercadopago
|
26 |
-
msgid "WooCommerce MercadoPago"
|
27 |
-
msgstr "WooCommerce MercadoPago"
|
28 |
-
|
29 |
-
#. translators: plugin header field 'Author'
|
30 |
-
#: wc-mercadopago.php:0
|
31 |
-
#@ woocommerce-mercadopago
|
32 |
-
msgid "claudiosanches"
|
33 |
-
msgstr "claudiosanches"
|
34 |
|
35 |
-
#: class-wc-mercadopago-gateway.php:
|
36 |
-
#: class-wc-mercadopago-gateway.php:
|
37 |
-
#@ woocommerce-mercadopago
|
38 |
msgid "MercadoPago"
|
39 |
msgstr "MercadoPago"
|
40 |
|
41 |
-
#: class-wc-mercadopago-gateway.php:
|
42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
msgid "Enable/Disable"
|
44 |
msgstr "Habilita/Desabilita"
|
45 |
|
46 |
-
#: class-wc-mercadopago-gateway.php:
|
47 |
-
#@ woocommerce-mercadopago
|
48 |
msgid "Enable MercadoPago standard"
|
49 |
msgstr "Habilitar MercadoPago padrão"
|
50 |
|
51 |
-
#: class-wc-mercadopago-gateway.php:
|
52 |
-
#@ woocommerce-mercadopago
|
53 |
msgid "Title"
|
54 |
msgstr "Título"
|
55 |
|
56 |
-
#: class-wc-mercadopago-gateway.php:
|
57 |
-
#@ woocommerce-mercadopago
|
58 |
msgid "This controls the title which the user sees during checkout."
|
59 |
msgstr "Isto controla o título que o usuário vê durante o checkout."
|
60 |
|
61 |
-
#: class-wc-mercadopago-gateway.php:
|
62 |
-
#@ woocommerce-mercadopago
|
63 |
msgid "Description"
|
64 |
msgstr "Descrição"
|
65 |
|
66 |
-
#: class-wc-mercadopago-gateway.php:
|
67 |
-
#@ woocommerce-mercadopago
|
68 |
msgid "This controls the description which the user sees during checkout."
|
69 |
msgstr "Isso controla a descrição que o usuário vê durante o checkout."
|
70 |
|
71 |
-
#: class-wc-mercadopago-gateway.php:
|
72 |
-
#: class-wc-mercadopago-gateway.php:
|
73 |
-
#@ woocommerce-mercadopago
|
74 |
msgid "Pay via MercadoPago"
|
75 |
msgstr "Pagar com MercadoPago"
|
76 |
|
77 |
-
#: class-wc-mercadopago-gateway.php:
|
78 |
-
#@ woocommerce-mercadopago
|
79 |
msgid "MercadoPago Client_id"
|
80 |
msgstr "Client_id do MercadoPago"
|
81 |
|
82 |
-
#: class-wc-mercadopago-gateway.php:
|
83 |
-
#@ woocommerce-mercadopago
|
84 |
msgid "Please enter your MercadoPago Client_id."
|
85 |
msgstr "Por favor digite o seu Client_id do MercadoPago."
|
86 |
|
87 |
-
#: class-wc-mercadopago-gateway.php:
|
88 |
-
|
|
|
|
|
|
|
|
|
89 |
msgid "MercadoPago Client_secret"
|
90 |
msgstr "Client_secret do MercadoPago"
|
91 |
|
92 |
-
#: class-wc-mercadopago-gateway.php:
|
93 |
-
#@ woocommerce-mercadopago
|
94 |
msgid "Please enter your MercadoPago Client_secret."
|
95 |
msgstr "Por favor digite o seu Client_secret do MercadoPago."
|
96 |
|
97 |
-
#: class-wc-mercadopago-gateway.php:
|
98 |
-
#@ woocommerce-mercadopago
|
99 |
msgid "Invoice Prefix"
|
100 |
msgstr "Prefixo de pedido"
|
101 |
|
102 |
-
#: class-wc-mercadopago-gateway.php:
|
103 |
-
|
104 |
-
|
|
|
|
|
105 |
msgstr "Por favor informe um prefixo para utilizar com os números de pedidos. Caso você utilize sua conta do MercadoPago em mais de uma loja, procure utilizar um prefixo único para cada loja."
|
106 |
|
107 |
-
#: class-wc-mercadopago-gateway.php:
|
108 |
-
#, php-format
|
109 |
-
#@ woocommerce-mercadopago
|
110 |
-
msgid "Order %s"
|
111 |
-
msgstr "Pedido %s"
|
112 |
-
|
113 |
-
#: class-wc-mercadopago-gateway.php:224
|
114 |
-
#@ woocommerce-mercadopago
|
115 |
-
msgid "Shipping via"
|
116 |
-
msgstr "Entrega via"
|
117 |
-
|
118 |
-
#: class-wc-mercadopago-gateway.php:289
|
119 |
-
#@ woocommerce-mercadopago
|
120 |
-
msgid "Thank you for your order, please click the button below to pay with MercadoPago."
|
121 |
-
msgstr "Obrigado por seu pedido, por favor clique no botão abaixo para pagar com MercadoPago."
|
122 |
-
|
123 |
-
#: class-wc-mercadopago-gateway.php:291
|
124 |
-
#@ woocommerce-mercadopago
|
125 |
-
msgid "Cancel order & restore cart"
|
126 |
-
msgstr "Cancelar pedido e restaurar carrinho"
|
127 |
-
|
128 |
-
#: class-wc-mercadopago-gateway.php:299
|
129 |
-
#@ woocommerce-mercadopago
|
130 |
-
msgid "An error has occurred while processing your payment, please try again. Or contact us for assistance."
|
131 |
-
msgstr "Ocorreu um erro ao processar o seu pagamento, por favor tente novamente ou entre em contato para conseguir ajudar."
|
132 |
-
|
133 |
-
#: class-wc-mercadopago-gateway.php:301
|
134 |
-
#@ woocommerce-mercadopago
|
135 |
-
msgid "Click to try again"
|
136 |
-
msgstr "Clique para tentar novamente"
|
137 |
-
|
138 |
-
#: class-wc-mercadopago-gateway.php:497
|
139 |
-
#@ woocommerce-mercadopago
|
140 |
-
msgid "MercadoPago Transaction ID"
|
141 |
-
msgstr "MercadoPago: ID da transação"
|
142 |
-
|
143 |
-
#: class-wc-mercadopago-gateway.php:504
|
144 |
-
#@ woocommerce-mercadopago
|
145 |
-
msgid "Payer email"
|
146 |
-
msgstr "E-mail do comprador"
|
147 |
-
|
148 |
-
#: class-wc-mercadopago-gateway.php:511
|
149 |
-
#@ woocommerce-mercadopago
|
150 |
-
msgid "Payment type"
|
151 |
-
msgstr "Tipo de pagamento"
|
152 |
-
|
153 |
-
#: class-wc-mercadopago-gateway.php:158
|
154 |
-
#@ woocommerce-mercadopago
|
155 |
-
msgid "Gateway Testing"
|
156 |
-
msgstr "Teste de Gateway"
|
157 |
-
|
158 |
-
#: class-wc-mercadopago-gateway.php:170
|
159 |
-
#@ woocommerce-mercadopago
|
160 |
-
msgid "Debug Log"
|
161 |
-
msgstr "Log de depuração"
|
162 |
-
|
163 |
-
#: class-wc-mercadopago-gateway.php:172
|
164 |
-
#@ woocommerce-mercadopago
|
165 |
-
msgid "Enable logging"
|
166 |
-
msgstr "Habilitar log"
|
167 |
-
|
168 |
-
#: class-wc-mercadopago-gateway.php:462
|
169 |
-
#@ woocommerce-mercadopago
|
170 |
-
msgid "MercadoPago Request Failure"
|
171 |
-
msgstr "MercadoPago falha na requisição"
|
172 |
-
|
173 |
-
#: class-wc-mercadopago-gateway.php:105
|
174 |
-
#@ woocommerce-mercadopago
|
175 |
-
msgid "Argentine"
|
176 |
-
msgstr "Argentina"
|
177 |
-
|
178 |
-
#: class-wc-mercadopago-gateway.php:105
|
179 |
-
#@ woocommerce-mercadopago
|
180 |
-
msgid "Brazil"
|
181 |
-
msgstr "Brasil"
|
182 |
-
|
183 |
-
#: class-wc-mercadopago-gateway.php:105
|
184 |
-
#@ woocommerce-mercadopago
|
185 |
-
msgid "Mexico"
|
186 |
-
msgstr "México"
|
187 |
-
|
188 |
-
#: class-wc-mercadopago-gateway.php:105
|
189 |
-
#@ woocommerce-mercadopago
|
190 |
-
msgid "Venezuela"
|
191 |
-
msgstr "Venezuela"
|
192 |
-
|
193 |
-
#: class-wc-mercadopago-gateway.php:105
|
194 |
-
#@ woocommerce-mercadopago
|
195 |
-
msgid "or"
|
196 |
-
msgstr "ou"
|
197 |
-
|
198 |
-
#: class-wc-mercadopago-gateway.php:130
|
199 |
-
#: class-wc-mercadopago-gateway.php:136
|
200 |
-
#, php-format
|
201 |
-
#@ woocommerce-mercadopago
|
202 |
-
msgid "You can to get this information in MercadoPago from %s."
|
203 |
-
msgstr "Você pode obter esta informação através do MercadoPago da %s."
|
204 |
-
|
205 |
-
#: class-wc-mercadopago-gateway.php:147
|
206 |
-
#@ woocommerce-mercadopago
|
207 |
msgid "Integration method"
|
208 |
msgstr "Método de integração"
|
209 |
|
210 |
-
#: class-wc-mercadopago-gateway.php:
|
211 |
-
|
|
|
|
|
|
|
|
|
|
|
212 |
msgid "Modal Window"
|
213 |
msgstr "Janela Modal"
|
214 |
|
215 |
-
#: class-wc-mercadopago-gateway.php:
|
216 |
-
#@ woocommerce-mercadopago
|
217 |
msgid "Redirect"
|
218 |
msgstr "Redirecionar"
|
219 |
|
220 |
-
#: class-wc-mercadopago-gateway.php:
|
221 |
-
|
|
|
|
|
|
|
222 |
msgid "MercadoPago Sandbox"
|
223 |
msgstr "MercadoPago Sandbox"
|
224 |
|
225 |
-
#: class-wc-mercadopago-gateway.php:
|
226 |
-
#@ woocommerce-mercadopago
|
227 |
msgid "Enable MercadoPago sandbox"
|
228 |
msgstr "Habilitar sandbox do MercadoPago"
|
229 |
|
230 |
-
#: class-wc-mercadopago-gateway.php:
|
231 |
-
#@ woocommerce-mercadopago
|
232 |
msgid "MercadoPago sandbox can be used to test payments."
|
233 |
msgstr "MercadoPago sandbox pode ser utilizado para testar os pagamentos."
|
234 |
|
235 |
-
#: class-wc-mercadopago-gateway.php:
|
236 |
-
|
237 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
238 |
msgid "Log MercadoPago events, such as API requests, inside %s"
|
239 |
msgstr "Registra eventos do MercadoPago, tais como solicitações de API, dentro de %s"
|
240 |
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
msgid "http://claudiosmweb.com/"
|
245 |
-
msgstr "http://claudiosmweb.com/"
|
246 |
|
247 |
-
#: wc-mercadopago.php:
|
248 |
-
|
249 |
-
|
250 |
-
msgid "WooCommerce MercadoPago Gateway depends on the last version of %s to work!"
|
251 |
-
msgstr "WooCommerce MercadoPago Gateway depende da última versão do %s para funcionar!"
|
252 |
|
253 |
-
#: wc-mercadopago.php:
|
254 |
-
|
255 |
-
|
256 |
-
|
|
|
257 |
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
msgid "https://github.com/claudiosmweb/woocommerce-mercadopago"
|
262 |
-
msgstr "https://github.com/claudiosmweb/woocommerce-mercadopago"
|
263 |
|
264 |
-
#: class-wc-mercadopago-gateway.php:
|
265 |
-
|
266 |
-
|
267 |
-
|
|
|
268 |
|
269 |
-
#: class-wc-mercadopago-gateway.php:
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
|
|
|
|
|
|
|
|
|
|
275 |
|
276 |
-
#: class-wc-mercadopago-gateway.php:
|
277 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
278 |
msgid "MercadoPago: Payment approved."
|
279 |
msgstr "MercadoPago: Pagamento aprovado."
|
280 |
|
281 |
-
#: class-wc-mercadopago-gateway.php:
|
282 |
-
#@ woocommerce-mercadopago
|
283 |
msgid "MercadoPago: The user has not completed the payment process yet."
|
284 |
msgstr "MercadoPago: O cliente ainda não efetuou o pagamento."
|
285 |
|
286 |
-
#: class-wc-mercadopago-gateway.php:
|
287 |
-
#@ woocommerce-mercadopago
|
288 |
msgid "MercadoPago: Payment under review."
|
289 |
msgstr "MercadoPago: Pagamento em análise."
|
290 |
|
291 |
-
#: class-wc-mercadopago-gateway.php:
|
292 |
-
#@ woocommerce-mercadopago
|
293 |
msgid "MercadoPago: The payment was declined. The user can try again."
|
294 |
msgstr "MercadoPago: O pagamento foi recusado. O cliente pode tentar novamente."
|
295 |
|
296 |
-
#: class-wc-mercadopago-gateway.php:
|
297 |
-
#@ woocommerce-mercadopago
|
298 |
msgid "MercadoPago: The payment was returned to the user."
|
299 |
msgstr "MercadoPago: O pagamento foi devolvido ao cliente."
|
300 |
|
301 |
-
#: class-wc-mercadopago-gateway.php:
|
302 |
-
#@ woocommerce-mercadopago
|
303 |
msgid "MercadoPago: Payment canceled."
|
304 |
msgstr "MercadoPago: Pagamento cancelado."
|
305 |
|
306 |
-
#: class-wc-mercadopago-gateway.php:
|
307 |
-
#@ woocommerce-mercadopago
|
308 |
msgid "MercadoPago: It started a dispute for payment."
|
309 |
msgstr "MercadoPago: Foi iniciada uma disputa para o pagamento."
|
310 |
|
311 |
-
#: class-wc-mercadopago-gateway.php:
|
312 |
-
|
313 |
-
|
|
|
|
|
|
|
|
|
314 |
msgid "You should inform your Client_id. %s"
|
315 |
msgstr "Você deve informar o seu Client_id. %s"
|
316 |
|
317 |
-
#: class-wc-mercadopago-gateway.php:
|
318 |
-
#: class-wc-mercadopago-gateway.php:
|
319 |
-
#@ woocommerce-mercadopago
|
320 |
msgid "Click here to configure!"
|
321 |
msgstr "Clique aqui para configurar!"
|
322 |
|
323 |
-
#: class-wc-mercadopago-gateway.php:
|
324 |
-
#, php-format
|
325 |
-
#@ woocommerce-mercadopago
|
326 |
msgid "You should inform your Client_secret. %s"
|
327 |
msgstr "Você deve informar o seu Client_secret. %s."
|
328 |
|
329 |
-
|
330 |
-
|
331 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
332 |
msgid "MercadoPago gateway for Woocommerce."
|
333 |
msgstr "MercadoPago para WooCommerce."
|
334 |
|
335 |
-
#.
|
336 |
-
|
337 |
-
|
338 |
-
msgid "1.7.0"
|
339 |
-
msgstr "1.7.0"
|
340 |
-
|
341 |
-
#: class-wc-mercadopago-gateway.php:578
|
342 |
-
#, php-format
|
343 |
-
#@ woocommerce-mercadopago
|
344 |
-
msgid "Currency <code>%s</code> is not supported. Please make sure that you use one of the following supported currencies: ARS, BRL, MXN, USD or VEF."
|
345 |
-
msgstr "A moeda <code>%s</code> não é suportada. Por favor, certifique-se que você usa uma das seguintes moedas suportadas: ARS, BRL, MXN, USD ou VEF."
|
346 |
|
|
|
|
|
|
1 |
+
# Copyright (C) 2014 claudiosanches
|
2 |
+
# This file is distributed under the GPLv2 or later.
|
3 |
+
# Translators:
|
4 |
+
# Claudio Sanches <contato@claudiosmweb.com>, 2014
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
+
"Project-Id-Version: WooCommerce MercadoPago\n"
|
8 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/woocommerce-mercadopago/\n"
|
9 |
+
"POT-Creation-Date: 2014-08-16 20:09:56+00:00\n"
|
10 |
+
"PO-Revision-Date: 2014-08-16 20:11+0000\n"
|
11 |
"Last-Translator: Claudio Sanches <contato@claudiosmweb.com>\n"
|
12 |
+
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/woocommerce-mercadopago/language/pt_BR/)\n"
|
13 |
"MIME-Version: 1.0\n"
|
14 |
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
"Content-Transfer-Encoding: 8bit\n"
|
16 |
+
"Language: pt_BR\n"
|
17 |
+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
18 |
+
"X-Generator: grunt-wp-i18n 0.4.7\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
+
#: includes/class-wc-mercadopago-gateway.php:20
|
21 |
+
#: includes/class-wc-mercadopago-gateway.php:142
|
|
|
22 |
msgid "MercadoPago"
|
23 |
msgstr "MercadoPago"
|
24 |
|
25 |
+
#: includes/class-wc-mercadopago-gateway.php:122
|
26 |
+
msgid "Argentine"
|
27 |
+
msgstr "Argentina"
|
28 |
+
|
29 |
+
#: includes/class-wc-mercadopago-gateway.php:123
|
30 |
+
msgid "Brazil"
|
31 |
+
msgstr "Brasil"
|
32 |
+
|
33 |
+
#: includes/class-wc-mercadopago-gateway.php:124
|
34 |
+
msgid "Colombia"
|
35 |
+
msgstr "Colômbia"
|
36 |
+
|
37 |
+
#: includes/class-wc-mercadopago-gateway.php:125
|
38 |
+
msgid "Mexico"
|
39 |
+
msgstr "México"
|
40 |
+
|
41 |
+
#: includes/class-wc-mercadopago-gateway.php:126
|
42 |
+
msgid "or"
|
43 |
+
msgstr "ou"
|
44 |
+
|
45 |
+
#: includes/class-wc-mercadopago-gateway.php:127
|
46 |
+
msgid "Venezuela"
|
47 |
+
msgstr "Venezuela"
|
48 |
+
|
49 |
+
#: includes/class-wc-mercadopago-gateway.php:132
|
50 |
msgid "Enable/Disable"
|
51 |
msgstr "Habilita/Desabilita"
|
52 |
|
53 |
+
#: includes/class-wc-mercadopago-gateway.php:134
|
|
|
54 |
msgid "Enable MercadoPago standard"
|
55 |
msgstr "Habilitar MercadoPago padrão"
|
56 |
|
57 |
+
#: includes/class-wc-mercadopago-gateway.php:138
|
|
|
58 |
msgid "Title"
|
59 |
msgstr "Título"
|
60 |
|
61 |
+
#: includes/class-wc-mercadopago-gateway.php:140
|
|
|
62 |
msgid "This controls the title which the user sees during checkout."
|
63 |
msgstr "Isto controla o título que o usuário vê durante o checkout."
|
64 |
|
65 |
+
#: includes/class-wc-mercadopago-gateway.php:145
|
|
|
66 |
msgid "Description"
|
67 |
msgstr "Descrição"
|
68 |
|
69 |
+
#: includes/class-wc-mercadopago-gateway.php:147
|
|
|
70 |
msgid "This controls the description which the user sees during checkout."
|
71 |
msgstr "Isso controla a descrição que o usuário vê durante o checkout."
|
72 |
|
73 |
+
#: includes/class-wc-mercadopago-gateway.php:148
|
74 |
+
#: includes/class-wc-mercadopago-gateway.php:332
|
|
|
75 |
msgid "Pay via MercadoPago"
|
76 |
msgstr "Pagar com MercadoPago"
|
77 |
|
78 |
+
#: includes/class-wc-mercadopago-gateway.php:151
|
|
|
79 |
msgid "MercadoPago Client_id"
|
80 |
msgstr "Client_id do MercadoPago"
|
81 |
|
82 |
+
#: includes/class-wc-mercadopago-gateway.php:153
|
|
|
83 |
msgid "Please enter your MercadoPago Client_id."
|
84 |
msgstr "Por favor digite o seu Client_id do MercadoPago."
|
85 |
|
86 |
+
#: includes/class-wc-mercadopago-gateway.php:153
|
87 |
+
#: includes/class-wc-mercadopago-gateway.php:159
|
88 |
+
msgid "You can to get this information in MercadoPago from %s."
|
89 |
+
msgstr "Você pode obter esta informação através do MercadoPago da %s."
|
90 |
+
|
91 |
+
#: includes/class-wc-mercadopago-gateway.php:157
|
92 |
msgid "MercadoPago Client_secret"
|
93 |
msgstr "Client_secret do MercadoPago"
|
94 |
|
95 |
+
#: includes/class-wc-mercadopago-gateway.php:159
|
|
|
96 |
msgid "Please enter your MercadoPago Client_secret."
|
97 |
msgstr "Por favor digite o seu Client_secret do MercadoPago."
|
98 |
|
99 |
+
#: includes/class-wc-mercadopago-gateway.php:163
|
|
|
100 |
msgid "Invoice Prefix"
|
101 |
msgstr "Prefixo de pedido"
|
102 |
|
103 |
+
#: includes/class-wc-mercadopago-gateway.php:165
|
104 |
+
msgid ""
|
105 |
+
"Please enter a prefix for your invoice numbers. If you use your MercadoPago "
|
106 |
+
"account for multiple stores ensure this prefix is unqiue as MercadoPago will"
|
107 |
+
" not allow orders with the same invoice number."
|
108 |
msgstr "Por favor informe um prefixo para utilizar com os números de pedidos. Caso você utilize sua conta do MercadoPago em mais de uma loja, procure utilizar um prefixo único para cada loja."
|
109 |
|
110 |
+
#: includes/class-wc-mercadopago-gateway.php:170
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
msgid "Integration method"
|
112 |
msgstr "Método de integração"
|
113 |
|
114 |
+
#: includes/class-wc-mercadopago-gateway.php:172
|
115 |
+
msgid ""
|
116 |
+
"Choose how the customer will interact with the MercadoPago. Modal Window "
|
117 |
+
"(Inside your store) Redirect (Client goes to MercadoPago)."
|
118 |
+
msgstr "Escolha como o cliente vai interagir com o MercadoPago. Janela Modal (dentro de sua loja) redirecionamento (cliente vai para MercadoPago)."
|
119 |
+
|
120 |
+
#: includes/class-wc-mercadopago-gateway.php:176
|
121 |
msgid "Modal Window"
|
122 |
msgstr "Janela Modal"
|
123 |
|
124 |
+
#: includes/class-wc-mercadopago-gateway.php:177
|
|
|
125 |
msgid "Redirect"
|
126 |
msgstr "Redirecionar"
|
127 |
|
128 |
+
#: includes/class-wc-mercadopago-gateway.php:181
|
129 |
+
msgid "Gateway Testing"
|
130 |
+
msgstr "Teste de Gateway"
|
131 |
+
|
132 |
+
#: includes/class-wc-mercadopago-gateway.php:186
|
133 |
msgid "MercadoPago Sandbox"
|
134 |
msgstr "MercadoPago Sandbox"
|
135 |
|
136 |
+
#: includes/class-wc-mercadopago-gateway.php:188
|
|
|
137 |
msgid "Enable MercadoPago sandbox"
|
138 |
msgstr "Habilitar sandbox do MercadoPago"
|
139 |
|
140 |
+
#: includes/class-wc-mercadopago-gateway.php:190
|
|
|
141 |
msgid "MercadoPago sandbox can be used to test payments."
|
142 |
msgstr "MercadoPago sandbox pode ser utilizado para testar os pagamentos."
|
143 |
|
144 |
+
#: includes/class-wc-mercadopago-gateway.php:193
|
145 |
+
msgid "Debug Log"
|
146 |
+
msgstr "Log de depuração"
|
147 |
+
|
148 |
+
#: includes/class-wc-mercadopago-gateway.php:195
|
149 |
+
msgid "Enable logging"
|
150 |
+
msgstr "Habilitar log"
|
151 |
+
|
152 |
+
#: includes/class-wc-mercadopago-gateway.php:197
|
153 |
msgid "Log MercadoPago events, such as API requests, inside %s"
|
154 |
msgstr "Registra eventos do MercadoPago, tais como solicitações de API, dentro de %s"
|
155 |
|
156 |
+
#: includes/class-wc-mercadopago-gateway.php:244
|
157 |
+
msgid "Order %s"
|
158 |
+
msgstr "Pedido %s"
|
|
|
|
|
159 |
|
160 |
+
#: includes/class-wc-mercadopago-gateway.php:254
|
161 |
+
msgid "Shipping via"
|
162 |
+
msgstr "Entrega via"
|
|
|
|
|
163 |
|
164 |
+
#: includes/class-wc-mercadopago-gateway.php:330
|
165 |
+
msgid ""
|
166 |
+
"Thank you for your order, please click the button below to pay with "
|
167 |
+
"MercadoPago."
|
168 |
+
msgstr "Obrigado por seu pedido, por favor clique no botão abaixo para pagar com MercadoPago."
|
169 |
|
170 |
+
#: includes/class-wc-mercadopago-gateway.php:332
|
171 |
+
msgid "Cancel order & restore cart"
|
172 |
+
msgstr "Cancelar pedido e restaurar carrinho"
|
|
|
|
|
173 |
|
174 |
+
#: includes/class-wc-mercadopago-gateway.php:340
|
175 |
+
msgid ""
|
176 |
+
"An error has occurred while processing your payment, please try again. Or "
|
177 |
+
"contact us for assistance."
|
178 |
+
msgstr "Ocorreu um erro ao processar o seu pagamento, por favor tente novamente ou entre em contato para conseguir ajudar."
|
179 |
|
180 |
+
#: includes/class-wc-mercadopago-gateway.php:342
|
181 |
+
msgid "Click to try again"
|
182 |
+
msgstr "Clique para tentar novamente"
|
183 |
+
|
184 |
+
#: includes/class-wc-mercadopago-gateway.php:530
|
185 |
+
msgid "MercadoPago Request Failure"
|
186 |
+
msgstr "MercadoPago falha na requisição"
|
187 |
+
|
188 |
+
#: includes/class-wc-mercadopago-gateway.php:566
|
189 |
+
msgid "MercadoPago Transaction ID"
|
190 |
+
msgstr "MercadoPago: ID da transação"
|
191 |
|
192 |
+
#: includes/class-wc-mercadopago-gateway.php:573
|
193 |
+
msgid "Payer email"
|
194 |
+
msgstr "E-mail do comprador"
|
195 |
+
|
196 |
+
#: includes/class-wc-mercadopago-gateway.php:580
|
197 |
+
msgid "Payment type"
|
198 |
+
msgstr "Tipo de pagamento"
|
199 |
+
|
200 |
+
#: includes/class-wc-mercadopago-gateway.php:586
|
201 |
msgid "MercadoPago: Payment approved."
|
202 |
msgstr "MercadoPago: Pagamento aprovado."
|
203 |
|
204 |
+
#: includes/class-wc-mercadopago-gateway.php:591
|
|
|
205 |
msgid "MercadoPago: The user has not completed the payment process yet."
|
206 |
msgstr "MercadoPago: O cliente ainda não efetuou o pagamento."
|
207 |
|
208 |
+
#: includes/class-wc-mercadopago-gateway.php:595
|
|
|
209 |
msgid "MercadoPago: Payment under review."
|
210 |
msgstr "MercadoPago: Pagamento em análise."
|
211 |
|
212 |
+
#: includes/class-wc-mercadopago-gateway.php:599
|
|
|
213 |
msgid "MercadoPago: The payment was declined. The user can try again."
|
214 |
msgstr "MercadoPago: O pagamento foi recusado. O cliente pode tentar novamente."
|
215 |
|
216 |
+
#: includes/class-wc-mercadopago-gateway.php:603
|
|
|
217 |
msgid "MercadoPago: The payment was returned to the user."
|
218 |
msgstr "MercadoPago: O pagamento foi devolvido ao cliente."
|
219 |
|
220 |
+
#: includes/class-wc-mercadopago-gateway.php:607
|
|
|
221 |
msgid "MercadoPago: Payment canceled."
|
222 |
msgstr "MercadoPago: Pagamento cancelado."
|
223 |
|
224 |
+
#: includes/class-wc-mercadopago-gateway.php:611
|
|
|
225 |
msgid "MercadoPago: It started a dispute for payment."
|
226 |
msgstr "MercadoPago: Foi iniciada uma disputa para o pagamento."
|
227 |
|
228 |
+
#: includes/class-wc-mercadopago-gateway.php:642
|
229 |
+
#: includes/class-wc-mercadopago-gateway.php:651
|
230 |
+
#: includes/class-wc-mercadopago-gateway.php:660
|
231 |
+
msgid "MercadoPago Disabled"
|
232 |
+
msgstr "MercadoPago Desabilitado"
|
233 |
+
|
234 |
+
#: includes/class-wc-mercadopago-gateway.php:642
|
235 |
msgid "You should inform your Client_id. %s"
|
236 |
msgstr "Você deve informar o seu Client_id. %s"
|
237 |
|
238 |
+
#: includes/class-wc-mercadopago-gateway.php:642
|
239 |
+
#: includes/class-wc-mercadopago-gateway.php:651
|
|
|
240 |
msgid "Click here to configure!"
|
241 |
msgstr "Clique aqui para configurar!"
|
242 |
|
243 |
+
#: includes/class-wc-mercadopago-gateway.php:651
|
|
|
|
|
244 |
msgid "You should inform your Client_secret. %s"
|
245 |
msgstr "Você deve informar o seu Client_secret. %s."
|
246 |
|
247 |
+
#: includes/class-wc-mercadopago-gateway.php:660
|
248 |
+
msgid ""
|
249 |
+
"Currency <code>%s</code> is not supported. Please make sure that you use one"
|
250 |
+
" of the following supported currencies: ARS, BRL, COP, MXN, USD or VEF."
|
251 |
+
msgstr "A moeda <code>%s</code> não é suportada. Por favor, tenha certeza que esta utilizando uma das seguintes moedas que são suportadas: ARS, BRL, COP, MXN, USD ou VEF."
|
252 |
+
|
253 |
+
#: woocommerce-mercadopago.php:102
|
254 |
+
msgid ""
|
255 |
+
"WooCommerce MercadoPago Gateway depends on the last version of %s to work!"
|
256 |
+
msgstr "WooCommerce MercadoPago Gateway depende da última versão do %s para funcionar!"
|
257 |
+
|
258 |
+
#: woocommerce-mercadopago.php:102
|
259 |
+
msgid "WooCommerce"
|
260 |
+
msgstr "WooCommerce"
|
261 |
+
|
262 |
+
#. Plugin Name of the plugin/theme
|
263 |
+
msgid "WooCommerce MercadoPago"
|
264 |
+
msgstr "WooCommerce MercadoPago"
|
265 |
+
|
266 |
+
#. Plugin URI of the plugin/theme
|
267 |
+
msgid "https://github.com/claudiosmweb/woocommerce-mercadopago"
|
268 |
+
msgstr "https://github.com/claudiosmweb/woocommerce-mercadopago"
|
269 |
+
|
270 |
+
#. Description of the plugin/theme
|
271 |
msgid "MercadoPago gateway for Woocommerce."
|
272 |
msgstr "MercadoPago para WooCommerce."
|
273 |
|
274 |
+
#. Author of the plugin/theme
|
275 |
+
msgid "claudiosanches"
|
276 |
+
msgstr "claudiosanches"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
277 |
|
278 |
+
#. Author URI of the plugin/theme
|
279 |
+
msgid "http://claudiosmweb.com/"
|
280 |
+
msgstr "http://claudiosmweb.com/"
|
languages/woocommerce-mercadopago.pot
ADDED
@@ -0,0 +1,276 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2015 claudiosanches
|
2 |
+
# This file is distributed under the GPLv2 or later.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: WooCommerce MercadoPago 2.0.1\n"
|
6 |
+
"Report-Msgid-Bugs-To: "
|
7 |
+
"http://wordpress.org/support/plugin/woocommerce-mercadopago/\n"
|
8 |
+
"POT-Creation-Date: 2015-03-12 23:58:24+00:00\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
|
13 |
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
+
"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
|
15 |
+
"X-Generator: grunt-wp-i18n 0.4.9\n"
|
16 |
+
|
17 |
+
#: includes/class-wc-mercadopago-gateway.php:20
|
18 |
+
#: includes/class-wc-mercadopago-gateway.php:131
|
19 |
+
msgid "MercadoPago"
|
20 |
+
msgstr ""
|
21 |
+
|
22 |
+
#: includes/class-wc-mercadopago-gateway.php:111
|
23 |
+
msgid "Argentine"
|
24 |
+
msgstr ""
|
25 |
+
|
26 |
+
#: includes/class-wc-mercadopago-gateway.php:112
|
27 |
+
msgid "Brazil"
|
28 |
+
msgstr ""
|
29 |
+
|
30 |
+
#: includes/class-wc-mercadopago-gateway.php:113
|
31 |
+
msgid "Colombia"
|
32 |
+
msgstr ""
|
33 |
+
|
34 |
+
#: includes/class-wc-mercadopago-gateway.php:114
|
35 |
+
msgid "Mexico"
|
36 |
+
msgstr ""
|
37 |
+
|
38 |
+
#: includes/class-wc-mercadopago-gateway.php:115
|
39 |
+
msgid "or"
|
40 |
+
msgstr ""
|
41 |
+
|
42 |
+
#: includes/class-wc-mercadopago-gateway.php:116
|
43 |
+
msgid "Venezuela"
|
44 |
+
msgstr ""
|
45 |
+
|
46 |
+
#: includes/class-wc-mercadopago-gateway.php:121
|
47 |
+
msgid "Enable/Disable"
|
48 |
+
msgstr ""
|
49 |
+
|
50 |
+
#: includes/class-wc-mercadopago-gateway.php:123
|
51 |
+
msgid "Enable MercadoPago standard"
|
52 |
+
msgstr ""
|
53 |
+
|
54 |
+
#: includes/class-wc-mercadopago-gateway.php:127
|
55 |
+
msgid "Title"
|
56 |
+
msgstr ""
|
57 |
+
|
58 |
+
#: includes/class-wc-mercadopago-gateway.php:129
|
59 |
+
msgid "This controls the title which the user sees during checkout."
|
60 |
+
msgstr ""
|
61 |
+
|
62 |
+
#: includes/class-wc-mercadopago-gateway.php:134
|
63 |
+
msgid "Description"
|
64 |
+
msgstr ""
|
65 |
+
|
66 |
+
#: includes/class-wc-mercadopago-gateway.php:136
|
67 |
+
msgid "This controls the description which the user sees during checkout."
|
68 |
+
msgstr ""
|
69 |
+
|
70 |
+
#: includes/class-wc-mercadopago-gateway.php:137
|
71 |
+
#: includes/class-wc-mercadopago-gateway.php:319
|
72 |
+
msgid "Pay via MercadoPago"
|
73 |
+
msgstr ""
|
74 |
+
|
75 |
+
#: includes/class-wc-mercadopago-gateway.php:140
|
76 |
+
msgid "MercadoPago Client_id"
|
77 |
+
msgstr ""
|
78 |
+
|
79 |
+
#: includes/class-wc-mercadopago-gateway.php:142
|
80 |
+
msgid "Please enter your MercadoPago Client_id."
|
81 |
+
msgstr ""
|
82 |
+
|
83 |
+
#: includes/class-wc-mercadopago-gateway.php:142
|
84 |
+
#: includes/class-wc-mercadopago-gateway.php:148
|
85 |
+
msgid "You can to get this information in MercadoPago from %s."
|
86 |
+
msgstr ""
|
87 |
+
|
88 |
+
#: includes/class-wc-mercadopago-gateway.php:146
|
89 |
+
msgid "MercadoPago Client_secret"
|
90 |
+
msgstr ""
|
91 |
+
|
92 |
+
#: includes/class-wc-mercadopago-gateway.php:148
|
93 |
+
msgid "Please enter your MercadoPago Client_secret."
|
94 |
+
msgstr ""
|
95 |
+
|
96 |
+
#: includes/class-wc-mercadopago-gateway.php:152
|
97 |
+
msgid "Invoice Prefix"
|
98 |
+
msgstr ""
|
99 |
+
|
100 |
+
#: includes/class-wc-mercadopago-gateway.php:154
|
101 |
+
msgid ""
|
102 |
+
"Please enter a prefix for your invoice numbers. If you use your MercadoPago "
|
103 |
+
"account for multiple stores ensure this prefix is unqiue as MercadoPago "
|
104 |
+
"will not allow orders with the same invoice number."
|
105 |
+
msgstr ""
|
106 |
+
|
107 |
+
#: includes/class-wc-mercadopago-gateway.php:159
|
108 |
+
msgid "Integration method"
|
109 |
+
msgstr ""
|
110 |
+
|
111 |
+
#: includes/class-wc-mercadopago-gateway.php:161
|
112 |
+
msgid ""
|
113 |
+
"Choose how the customer will interact with the MercadoPago. Modal Window "
|
114 |
+
"(Inside your store) Redirect (Client goes to MercadoPago)."
|
115 |
+
msgstr ""
|
116 |
+
|
117 |
+
#: includes/class-wc-mercadopago-gateway.php:165
|
118 |
+
msgid "Modal Window"
|
119 |
+
msgstr ""
|
120 |
+
|
121 |
+
#: includes/class-wc-mercadopago-gateway.php:166
|
122 |
+
msgid "Redirect"
|
123 |
+
msgstr ""
|
124 |
+
|
125 |
+
#: includes/class-wc-mercadopago-gateway.php:170
|
126 |
+
msgid "Gateway Testing"
|
127 |
+
msgstr ""
|
128 |
+
|
129 |
+
#: includes/class-wc-mercadopago-gateway.php:175
|
130 |
+
msgid "MercadoPago Sandbox"
|
131 |
+
msgstr ""
|
132 |
+
|
133 |
+
#: includes/class-wc-mercadopago-gateway.php:177
|
134 |
+
msgid "Enable MercadoPago sandbox"
|
135 |
+
msgstr ""
|
136 |
+
|
137 |
+
#: includes/class-wc-mercadopago-gateway.php:179
|
138 |
+
msgid "MercadoPago sandbox can be used to test payments."
|
139 |
+
msgstr ""
|
140 |
+
|
141 |
+
#: includes/class-wc-mercadopago-gateway.php:182
|
142 |
+
msgid "Debug Log"
|
143 |
+
msgstr ""
|
144 |
+
|
145 |
+
#: includes/class-wc-mercadopago-gateway.php:184
|
146 |
+
msgid "Enable logging"
|
147 |
+
msgstr ""
|
148 |
+
|
149 |
+
#: includes/class-wc-mercadopago-gateway.php:186
|
150 |
+
msgid "Log MercadoPago events, such as API requests, inside %s"
|
151 |
+
msgstr ""
|
152 |
+
|
153 |
+
#: includes/class-wc-mercadopago-gateway.php:233
|
154 |
+
msgid "Order %s"
|
155 |
+
msgstr ""
|
156 |
+
|
157 |
+
#: includes/class-wc-mercadopago-gateway.php:243
|
158 |
+
msgid "Shipping via"
|
159 |
+
msgstr ""
|
160 |
+
|
161 |
+
#: includes/class-wc-mercadopago-gateway.php:317
|
162 |
+
msgid ""
|
163 |
+
"Thank you for your order, please click the button below to pay with "
|
164 |
+
"MercadoPago."
|
165 |
+
msgstr ""
|
166 |
+
|
167 |
+
#: includes/class-wc-mercadopago-gateway.php:319
|
168 |
+
msgid "Cancel order & restore cart"
|
169 |
+
msgstr ""
|
170 |
+
|
171 |
+
#: includes/class-wc-mercadopago-gateway.php:327
|
172 |
+
msgid ""
|
173 |
+
"An error has occurred while processing your payment, please try again. Or "
|
174 |
+
"contact us for assistance."
|
175 |
+
msgstr ""
|
176 |
+
|
177 |
+
#: includes/class-wc-mercadopago-gateway.php:329
|
178 |
+
msgid "Click to try again"
|
179 |
+
msgstr ""
|
180 |
+
|
181 |
+
#: includes/class-wc-mercadopago-gateway.php:513
|
182 |
+
msgid "MercadoPago Request Failure"
|
183 |
+
msgstr ""
|
184 |
+
|
185 |
+
#: includes/class-wc-mercadopago-gateway.php:549
|
186 |
+
msgid "MercadoPago Transaction ID"
|
187 |
+
msgstr ""
|
188 |
+
|
189 |
+
#: includes/class-wc-mercadopago-gateway.php:556
|
190 |
+
msgid "Payer email"
|
191 |
+
msgstr ""
|
192 |
+
|
193 |
+
#: includes/class-wc-mercadopago-gateway.php:563
|
194 |
+
msgid "Payment type"
|
195 |
+
msgstr ""
|
196 |
+
|
197 |
+
#: includes/class-wc-mercadopago-gateway.php:569
|
198 |
+
msgid "MercadoPago: Payment approved."
|
199 |
+
msgstr ""
|
200 |
+
|
201 |
+
#: includes/class-wc-mercadopago-gateway.php:574
|
202 |
+
msgid "MercadoPago: The user has not completed the payment process yet."
|
203 |
+
msgstr ""
|
204 |
+
|
205 |
+
#: includes/class-wc-mercadopago-gateway.php:578
|
206 |
+
msgid "MercadoPago: Payment under review."
|
207 |
+
msgstr ""
|
208 |
+
|
209 |
+
#: includes/class-wc-mercadopago-gateway.php:582
|
210 |
+
msgid "MercadoPago: The payment was declined. The user can try again."
|
211 |
+
msgstr ""
|
212 |
+
|
213 |
+
#: includes/class-wc-mercadopago-gateway.php:586
|
214 |
+
msgid "MercadoPago: The payment was returned to the user."
|
215 |
+
msgstr ""
|
216 |
+
|
217 |
+
#: includes/class-wc-mercadopago-gateway.php:590
|
218 |
+
msgid "MercadoPago: Payment canceled."
|
219 |
+
msgstr ""
|
220 |
+
|
221 |
+
#: includes/class-wc-mercadopago-gateway.php:594
|
222 |
+
msgid "MercadoPago: It started a dispute for payment."
|
223 |
+
msgstr ""
|
224 |
+
|
225 |
+
#: includes/class-wc-mercadopago-gateway.php:625
|
226 |
+
#: includes/class-wc-mercadopago-gateway.php:634
|
227 |
+
#: includes/class-wc-mercadopago-gateway.php:643
|
228 |
+
msgid "MercadoPago Disabled"
|
229 |
+
msgstr ""
|
230 |
+
|
231 |
+
#: includes/class-wc-mercadopago-gateway.php:625
|
232 |
+
msgid "You should inform your Client_id. %s"
|
233 |
+
msgstr ""
|
234 |
+
|
235 |
+
#: includes/class-wc-mercadopago-gateway.php:625
|
236 |
+
#: includes/class-wc-mercadopago-gateway.php:634
|
237 |
+
msgid "Click here to configure!"
|
238 |
+
msgstr ""
|
239 |
+
|
240 |
+
#: includes/class-wc-mercadopago-gateway.php:634
|
241 |
+
msgid "You should inform your Client_secret. %s"
|
242 |
+
msgstr ""
|
243 |
+
|
244 |
+
#: includes/class-wc-mercadopago-gateway.php:643
|
245 |
+
msgid ""
|
246 |
+
"Currency <code>%s</code> is not supported. Please make sure that you use "
|
247 |
+
"one of the following supported currencies: ARS, BRL, COP, MXN, USD or VEF."
|
248 |
+
msgstr ""
|
249 |
+
|
250 |
+
#: woocommerce-mercadopago.php:102
|
251 |
+
msgid "WooCommerce MercadoPago Gateway depends on the last version of %s to work!"
|
252 |
+
msgstr ""
|
253 |
+
|
254 |
+
#: woocommerce-mercadopago.php:102
|
255 |
+
msgid "WooCommerce"
|
256 |
+
msgstr ""
|
257 |
+
|
258 |
+
#. Plugin Name of the plugin/theme
|
259 |
+
msgid "WooCommerce MercadoPago"
|
260 |
+
msgstr ""
|
261 |
+
|
262 |
+
#. Plugin URI of the plugin/theme
|
263 |
+
msgid "https://github.com/claudiosmweb/woocommerce-mercadopago"
|
264 |
+
msgstr ""
|
265 |
+
|
266 |
+
#. Description of the plugin/theme
|
267 |
+
msgid "MercadoPago gateway for Woocommerce."
|
268 |
+
msgstr ""
|
269 |
+
|
270 |
+
#. Author of the plugin/theme
|
271 |
+
msgid "claudiosanches"
|
272 |
+
msgstr ""
|
273 |
+
|
274 |
+
#. Author URI of the plugin/theme
|
275 |
+
msgid "http://claudiosmweb.com/"
|
276 |
+
msgstr ""
|
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
Contributors: claudiosanches
|
3 |
Donate link: http://claudiosmweb.com/doacoes/
|
4 |
Tags: woocommerce, mercadopago, payment
|
5 |
-
Requires at least: 3.
|
6 |
-
Tested up to:
|
7 |
-
Stable tag:
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -22,6 +22,10 @@ Please notice that WooCommerce must be installed and active.
|
|
22 |
|
23 |
You can contribute to the source code in our [GitHub](https://github.com/claudiosmweb/woocommerce-mercadopago) page.
|
24 |
|
|
|
|
|
|
|
|
|
25 |
### Descrição em Português: ###
|
26 |
|
27 |
Adicione o MercadoPago como método de pagamento em sua loja WooCommerce.
|
@@ -34,7 +38,7 @@ Este plugin foi feito baseado na [documentação oficial do MercadoPago](http://
|
|
34 |
|
35 |
= Compatibilidade =
|
36 |
|
37 |
-
Compatível com as versões 2.
|
38 |
|
39 |
= Instalação: =
|
40 |
|
@@ -52,10 +56,9 @@ Você pode esclarecer suas dúvidas usando:
|
|
52 |
|
53 |
Você pode contribuir com código-fonte em nossa página no [GitHub](https://github.com/claudiosmweb/woocommerce-mercadopago).
|
54 |
|
55 |
-
|
56 |
|
57 |
-
|
58 |
-
* es_AR by [Gustavo Coronel](http://profiles.wordpress.org/gcoronel/)
|
59 |
|
60 |
== Installation ==
|
61 |
|
@@ -82,6 +85,7 @@ Você pode acessar as suas informações de Client_id e Client_secret em:
|
|
82 |
|
83 |
* [MercadoPago da Argentina](https://www.mercadopago.com/mla/herramientas/aplicaciones)
|
84 |
* [MercadoPago do Brasil](https://www.mercadopago.com/mlb/ferramentas/aplicacoes)
|
|
|
85 |
* [MercadoPago do México](https://www.mercadopago.com/mlm/herramientas/aplicaciones)
|
86 |
* [MercadoPago da Venezuela](https://www.mercadopago.com/mlv/herramientas/aplicaciones)
|
87 |
|
@@ -89,6 +93,7 @@ Você pode acessar as suas informações de Client_id e Client_secret em:
|
|
89 |
|
90 |
* [MercadoPago da Argentina](https://www.mercadopago.com/mla/herramientas/notificaciones)
|
91 |
* [MercadoPago do Brasil](https://www.mercadopago.com/mlb/ferramentas/notificacoes)
|
|
|
92 |
* [MercadoPago do México](https://www.mercadopago.com/mlm/herramientas/notificaciones)
|
93 |
* [MercadoPago da Venezuela](https://www.mercadopago.com/mlv/herramientas/notificaciones)
|
94 |
|
@@ -131,6 +136,10 @@ The plugin works with ARS and BRL.
|
|
131 |
|
132 |
Add ARS with [WooCommerce ARS Currency](http://wordpress.org/extend/plugins/woocommerce-ars-currency/) plugin.
|
133 |
|
|
|
|
|
|
|
|
|
134 |
### FAQ em Português: ###
|
135 |
|
136 |
= Qual é a licença do plugin? =
|
@@ -165,6 +174,14 @@ Consulte os meios de pagamento em "[Meios de pagamento e parcelamento](https://w
|
|
165 |
|
166 |
No momento é aceito **ARL** (Argentine peso ley) e **BRL** (Real Brasileiro).
|
167 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
168 |
= Quais são as taxas de transações que o MercadoPago cobra? =
|
169 |
|
170 |
Consulte a página "[Taxas do Mercado Pago](http://guia.mercadolivre.com.br/taxas-mercado-pago-12593-VGP)".
|
@@ -177,7 +194,11 @@ Fazemos a integração baseada na documentação oficial do MercadoPago que pode
|
|
177 |
|
178 |
Para resolver este problema vá até "WooCommerce" > "Configurações" > "Inventário" e limpe (deixe em branco) o valor da opção **Manter Estoque (minutos)**.
|
179 |
|
180 |
-
=
|
|
|
|
|
|
|
|
|
181 |
|
182 |
Entre em contato [clicando aqui](http://claudiosmweb.com/plugins/mercadopago-para-woocommerce/).
|
183 |
|
@@ -188,39 +209,51 @@ Entre em contato [clicando aqui](http://claudiosmweb.com/plugins/mercadopago-par
|
|
188 |
|
189 |
== Changelog ==
|
190 |
|
191 |
-
=
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
192 |
|
193 |
* Improved the plugin classes.
|
194 |
|
195 |
-
= 1.8.1 -
|
196 |
|
197 |
* Corrigido os parametros da conexão (cURL) que podiam gerar erro (`SSL connection timeout`) em alguns servidores.
|
198 |
|
199 |
-
= 1.8.0 -
|
200 |
|
201 |
* Corrigido padrões de código.
|
202 |
* Removida compatibilidade com versões 1.6.x ou inferiores do WooCommerce.
|
203 |
* Adicionada compatibilidade com WooCommerce 2.1 ou superior.
|
204 |
|
205 |
-
= 1.7.0 -
|
206 |
|
207 |
* Corrigido o textdomain para suportar o padrão do WordPress 3.7.
|
208 |
* Corrigida verificação que testa se o plugin esta pronto para funcionar ou não (créditos para daigo75).
|
209 |
* Adicionada compatibilidade com o plugin Currency Switcher for WooCommerce (créditos para daigo75).
|
210 |
|
211 |
-
= 1.6.0 -
|
212 |
|
213 |
* Melhoria nas mensagens de status do pedido.
|
214 |
* Melhoria no código do plugin.
|
215 |
|
216 |
-
= 1.5.0 -
|
217 |
|
218 |
* Adicionada tradução para es_ES por [Marcelo Pedra](http://profiles.wordpress.org/kent-brockman)
|
219 |
* Adicionado o filtro `woocommerce_mercadopago_icon` para a modificação do ícone durante o checkout.
|
220 |
* Adicionado parâmetro $order no filtro `woocommerce_mercadopago_args`.
|
221 |
* Melhorias no código.
|
222 |
|
223 |
-
= 1.4.0 -
|
224 |
|
225 |
* Melhoria no código.
|
226 |
* Adicionada opção para pagamento direto ou por janela modal.
|
@@ -228,32 +261,32 @@ Entre em contato [clicando aqui](http://claudiosmweb.com/plugins/mercadopago-par
|
|
228 |
* Adicionada compatibilidade com o WooCommerce 2.1 ou superior.
|
229 |
* Atualização das traduções em pt_BR e es_AR.
|
230 |
|
231 |
-
= 1.3.0 -
|
232 |
|
233 |
* Correção do retorno automático de dados na versão 2.0.0 ou superior do WooCommerce.
|
234 |
* Atualização das traduções em pt_BR e es_AR.
|
235 |
|
236 |
-
= 1.2.3 -
|
237 |
|
238 |
* Adicionada compatibilidade com as moedas: `MXN`, `USD` e `VEF`.
|
239 |
|
240 |
-
= 1.2.2 -
|
241 |
|
242 |
* Corrigida a compatibilidade com WooCommerce 2.0.0 ou mais recente.
|
243 |
|
244 |
-
= 1.2.1 -
|
245 |
|
246 |
* Corrigido o hook responsavel por salvar as opções para a versão 2.0 RC do WooCommerce.
|
247 |
|
248 |
-
= 1.2.0 -
|
249 |
|
250 |
* Adicionada tradução para es_AR por [Gustavo Coronel](http://profiles.wordpress.org/gcoronel/)
|
251 |
|
252 |
-
= 1.1.1 -
|
253 |
|
254 |
* Correção dos logs de erro.
|
255 |
|
256 |
-
= 1.1.0 -
|
257 |
|
258 |
* Adicionada opção para logs de erro.
|
259 |
|
@@ -263,9 +296,9 @@ Entre em contato [clicando aqui](http://claudiosmweb.com/plugins/mercadopago-par
|
|
263 |
|
264 |
== Upgrade Notice ==
|
265 |
|
266 |
-
=
|
267 |
|
268 |
-
*
|
269 |
|
270 |
== License ==
|
271 |
|
2 |
Contributors: claudiosanches
|
3 |
Donate link: http://claudiosmweb.com/doacoes/
|
4 |
Tags: woocommerce, mercadopago, payment
|
5 |
+
Requires at least: 3.9
|
6 |
+
Tested up to: 4.1.1
|
7 |
+
Stable tag: 2.0.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
22 |
|
23 |
You can contribute to the source code in our [GitHub](https://github.com/claudiosmweb/woocommerce-mercadopago) page.
|
24 |
|
25 |
+
= Translate =
|
26 |
+
|
27 |
+
Translate this plugin in [Transifex](https://www.transifex.com/projects/p/woocommerce-mercadopago/).
|
28 |
+
|
29 |
### Descrição em Português: ###
|
30 |
|
31 |
Adicione o MercadoPago como método de pagamento em sua loja WooCommerce.
|
38 |
|
39 |
= Compatibilidade =
|
40 |
|
41 |
+
Compatível com as versões 2.1.x, 2.2.x e 2.3.x do WooCommerce.
|
42 |
|
43 |
= Instalação: =
|
44 |
|
56 |
|
57 |
Você pode contribuir com código-fonte em nossa página no [GitHub](https://github.com/claudiosmweb/woocommerce-mercadopago).
|
58 |
|
59 |
+
= Traduzir =
|
60 |
|
61 |
+
Traduza este plugin no [Transifex](https://www.transifex.com/projects/p/woocommerce-mercadopago/)
|
|
|
62 |
|
63 |
== Installation ==
|
64 |
|
85 |
|
86 |
* [MercadoPago da Argentina](https://www.mercadopago.com/mla/herramientas/aplicaciones)
|
87 |
* [MercadoPago do Brasil](https://www.mercadopago.com/mlb/ferramentas/aplicacoes)
|
88 |
+
* [MercadoPago da Colômbia](https://www.mercadopago.com/mco/herramientas/aplicaciones)
|
89 |
* [MercadoPago do México](https://www.mercadopago.com/mlm/herramientas/aplicaciones)
|
90 |
* [MercadoPago da Venezuela](https://www.mercadopago.com/mlv/herramientas/aplicaciones)
|
91 |
|
93 |
|
94 |
* [MercadoPago da Argentina](https://www.mercadopago.com/mla/herramientas/notificaciones)
|
95 |
* [MercadoPago do Brasil](https://www.mercadopago.com/mlb/ferramentas/notificacoes)
|
96 |
+
* [MercadoPago da Colômbia](https://www.mercadopago.com/mco/herramientas/notificaciones)
|
97 |
* [MercadoPago do México](https://www.mercadopago.com/mlm/herramientas/notificaciones)
|
98 |
* [MercadoPago da Venezuela](https://www.mercadopago.com/mlv/herramientas/notificaciones)
|
99 |
|
136 |
|
137 |
Add ARS with [WooCommerce ARS Currency](http://wordpress.org/extend/plugins/woocommerce-ars-currency/) plugin.
|
138 |
|
139 |
+
= Is your site is not receiving the payment notifications? =
|
140 |
+
|
141 |
+
This can happen when you are using the **iThemes Security**, here's how to solve [here](http://tureseller.com.ar/solucion-al-problema-de-recibir-notificaciones-de-compra-desde-mercadopago-en-woocommerce-para-wordpress/).
|
142 |
+
|
143 |
### FAQ em Português: ###
|
144 |
|
145 |
= Qual é a licença do plugin? =
|
174 |
|
175 |
No momento é aceito **ARL** (Argentine peso ley) e **BRL** (Real Brasileiro).
|
176 |
|
177 |
+
= O pedido foi pago e ficou com o status de "processando" e não como "concluído", isto esta certo ? =
|
178 |
+
|
179 |
+
Sim, esta certo e significa que o plugin esta trabalhando como deveria.
|
180 |
+
|
181 |
+
Todo gateway de pagamentos no WooCommerce deve mudar o status do pedido para "processando" no momento que é confirmado o pagamento e nunca deve ser alterado sozinho para "concluído", pois o pedido deve ir apenas para o status "concluído" após ele ter sido entregue.
|
182 |
+
|
183 |
+
Para produtos baixáveis a configuração padrão do WooCommerce é permitir o acesso apenas quando o pedido tem o status "concluído", entretanto nas configurações do WooCommerce na aba *Produtos* é possível ativar a opção **"Conceder acesso para download do produto após o pagamento"** e assim liberar o download quando o status do pedido esta como "processando".
|
184 |
+
|
185 |
= Quais são as taxas de transações que o MercadoPago cobra? =
|
186 |
|
187 |
Consulte a página "[Taxas do Mercado Pago](http://guia.mercadolivre.com.br/taxas-mercado-pago-12593-VGP)".
|
194 |
|
195 |
Para resolver este problema vá até "WooCommerce" > "Configurações" > "Inventário" e limpe (deixe em branco) o valor da opção **Manter Estoque (minutos)**.
|
196 |
|
197 |
+
= Is your site is not receiving the payment notifications? =
|
198 |
+
|
199 |
+
Isso pode acontecer quando você esta utilizando o iThemes Security, veja como resolver [aqui](http://tureseller.com.ar/solucion-al-problema-de-recibir-notificaciones-de-compra-desde-mercadopago-en-woocommerce-para-wordpress/).
|
200 |
+
|
201 |
+
= O seu site não esta recebendo as notificações de pagamento? =
|
202 |
|
203 |
Entre em contato [clicando aqui](http://claudiosmweb.com/plugins/mercadopago-para-woocommerce/).
|
204 |
|
209 |
|
210 |
== Changelog ==
|
211 |
|
212 |
+
= 2.0.1 - 2015/03/12 =
|
213 |
+
|
214 |
+
* Removed the SSL verification for the new MercadoPago standards.
|
215 |
+
|
216 |
+
= 2.0.0 - 2014/08/16 =
|
217 |
+
|
218 |
+
* Adicionado suporte para a moeda `COP`, lembrando que depende da configuração do seu MercadoPago para isso funcionar.
|
219 |
+
* Adicionado suporte para traduções no Transifex.
|
220 |
+
* Corrigido o nome do arquivo principal.
|
221 |
+
* Corrigida as strings de tradução.
|
222 |
+
* Corrigido o link de cancelamento.
|
223 |
+
|
224 |
+
= 1.9.0 - 2014/05/17 =
|
225 |
|
226 |
* Improved the plugin classes.
|
227 |
|
228 |
+
= 1.8.1 - 2013/12/17 =
|
229 |
|
230 |
* Corrigido os parametros da conexão (cURL) que podiam gerar erro (`SSL connection timeout`) em alguns servidores.
|
231 |
|
232 |
+
= 1.8.0 - 2013/12/04 =
|
233 |
|
234 |
* Corrigido padrões de código.
|
235 |
* Removida compatibilidade com versões 1.6.x ou inferiores do WooCommerce.
|
236 |
* Adicionada compatibilidade com WooCommerce 2.1 ou superior.
|
237 |
|
238 |
+
= 1.7.0 - 2013/11/03 =
|
239 |
|
240 |
* Corrigido o textdomain para suportar o padrão do WordPress 3.7.
|
241 |
* Corrigida verificação que testa se o plugin esta pronto para funcionar ou não (créditos para daigo75).
|
242 |
* Adicionada compatibilidade com o plugin Currency Switcher for WooCommerce (créditos para daigo75).
|
243 |
|
244 |
+
= 1.6.0 - 2013/07/26 =
|
245 |
|
246 |
* Melhoria nas mensagens de status do pedido.
|
247 |
* Melhoria no código do plugin.
|
248 |
|
249 |
+
= 1.5.0 - 2013/07/26 =
|
250 |
|
251 |
* Adicionada tradução para es_ES por [Marcelo Pedra](http://profiles.wordpress.org/kent-brockman)
|
252 |
* Adicionado o filtro `woocommerce_mercadopago_icon` para a modificação do ícone durante o checkout.
|
253 |
* Adicionado parâmetro $order no filtro `woocommerce_mercadopago_args`.
|
254 |
* Melhorias no código.
|
255 |
|
256 |
+
= 1.4.0 - 2013/07/17 =
|
257 |
|
258 |
* Melhoria no código.
|
259 |
* Adicionada opção para pagamento direto ou por janela modal.
|
261 |
* Adicionada compatibilidade com o WooCommerce 2.1 ou superior.
|
262 |
* Atualização das traduções em pt_BR e es_AR.
|
263 |
|
264 |
+
= 1.3.0 - 2013/04/07 =
|
265 |
|
266 |
* Correção do retorno automático de dados na versão 2.0.0 ou superior do WooCommerce.
|
267 |
* Atualização das traduções em pt_BR e es_AR.
|
268 |
|
269 |
+
= 1.2.3 - 2013/03/11 =
|
270 |
|
271 |
* Adicionada compatibilidade com as moedas: `MXN`, `USD` e `VEF`.
|
272 |
|
273 |
+
= 1.2.2 - 2013/03/06 =
|
274 |
|
275 |
* Corrigida a compatibilidade com WooCommerce 2.0.0 ou mais recente.
|
276 |
|
277 |
+
= 1.2.1 - 2013/02/08 =
|
278 |
|
279 |
* Corrigido o hook responsavel por salvar as opções para a versão 2.0 RC do WooCommerce.
|
280 |
|
281 |
+
= 1.2.0 - 2012/12/01 =
|
282 |
|
283 |
* Adicionada tradução para es_AR por [Gustavo Coronel](http://profiles.wordpress.org/gcoronel/)
|
284 |
|
285 |
+
= 1.1.1 - 2012/11/30 =
|
286 |
|
287 |
* Correção dos logs de erro.
|
288 |
|
289 |
+
= 1.1.0 - 2012/11/30 =
|
290 |
|
291 |
* Adicionada opção para logs de erro.
|
292 |
|
296 |
|
297 |
== Upgrade Notice ==
|
298 |
|
299 |
+
= 2.0.1 =
|
300 |
|
301 |
+
* Removed the SSL verification for the new MercadoPago standards.
|
302 |
|
303 |
== License ==
|
304 |
|
screenshot-1.png
DELETED
Binary file
|
screenshot-2.png
DELETED
Binary file
|
wc-mercadopago.php
CHANGED
@@ -1,191 +1,15 @@
|
|
1 |
<?php
|
2 |
-
/**
|
3 |
-
* Plugin Name: WooCommerce MercadoPago
|
4 |
-
* Plugin URI: https://github.com/claudiosmweb/woocommerce-mercadopago
|
5 |
-
* Description: MercadoPago gateway for Woocommerce.
|
6 |
-
* Author: claudiosanches
|
7 |
-
* Author URI: http://claudiosmweb.com/
|
8 |
-
* Version: 1.9.0
|
9 |
-
* License: GPLv2 or later
|
10 |
-
* Text Domain: woocommerce-mercadopago
|
11 |
-
* Domain Path: /languages/
|
12 |
-
*/
|
13 |
-
|
14 |
if ( ! defined( 'ABSPATH' ) ) {
|
15 |
-
exit; // Exit if accessed directly
|
16 |
}
|
17 |
|
18 |
-
|
19 |
-
|
20 |
-
/**
|
21 |
-
* WooCommerce MercadoPago main class.
|
22 |
-
*/
|
23 |
-
class WC_MercadoPago {
|
24 |
-
|
25 |
-
/**
|
26 |
-
* Plugin version.
|
27 |
-
*
|
28 |
-
* @since 1.9.0
|
29 |
-
*
|
30 |
-
* @var string
|
31 |
-
*/
|
32 |
-
const VERSION = '1.9.0';
|
33 |
-
|
34 |
-
/**
|
35 |
-
* Integration id.
|
36 |
-
*
|
37 |
-
* @since 1.9.0
|
38 |
-
*
|
39 |
-
* @var string
|
40 |
-
*/
|
41 |
-
protected static $gateway_id = 'mercadopago';
|
42 |
-
|
43 |
-
/**
|
44 |
-
* Plugin slug.
|
45 |
-
*
|
46 |
-
* @since 1.9.0
|
47 |
-
*
|
48 |
-
* @var string
|
49 |
-
*/
|
50 |
-
protected static $plugin_slug = 'woocommerce-mercadopago';
|
51 |
-
|
52 |
-
/**
|
53 |
-
* Instance of this class.
|
54 |
-
*
|
55 |
-
* @since 1.9.0
|
56 |
-
*
|
57 |
-
* @var object
|
58 |
-
*/
|
59 |
-
protected static $instance = null;
|
60 |
-
|
61 |
-
/**
|
62 |
-
* Initialize the plugin.
|
63 |
-
*/
|
64 |
-
private function __construct() {
|
65 |
-
// Load plugin text domain
|
66 |
-
add_action( 'init', array( $this, 'load_plugin_textdomain' ) );
|
67 |
-
|
68 |
-
// Checks with WooCommerce is installed.
|
69 |
-
if ( class_exists( 'WC_Payment_Gateway' ) ) {
|
70 |
-
// Include the WC_MercadoPago_Gateway class.
|
71 |
-
include_once 'includes/class-wc-mercadopago-gateway.php';
|
72 |
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
}
|
77 |
-
}
|
78 |
-
|
79 |
-
/**
|
80 |
-
* Return an instance of this class.
|
81 |
-
*
|
82 |
-
* @since 1.9.0
|
83 |
-
*
|
84 |
-
* @return object A single instance of this class.
|
85 |
-
*/
|
86 |
-
public static function get_instance() {
|
87 |
-
// If the single instance hasn't been set, set it now.
|
88 |
-
if ( null == self::$instance ) {
|
89 |
-
self::$instance = new self;
|
90 |
-
}
|
91 |
-
|
92 |
-
return self::$instance;
|
93 |
-
}
|
94 |
-
|
95 |
-
/**
|
96 |
-
* Return the plugin slug.
|
97 |
-
*
|
98 |
-
* @since 1.9.0
|
99 |
-
*
|
100 |
-
* @return string Plugin slug variable.
|
101 |
-
*/
|
102 |
-
public static function get_plugin_slug() {
|
103 |
-
return self::$plugin_slug;
|
104 |
-
}
|
105 |
-
|
106 |
-
/**
|
107 |
-
* Return the gateway id/slug.
|
108 |
-
*
|
109 |
-
* @since 1.9.0
|
110 |
-
*
|
111 |
-
* @return string Gateway id/slug variable.
|
112 |
-
*/
|
113 |
-
public static function get_gateway_id() {
|
114 |
-
return self::$gateway_id;
|
115 |
-
}
|
116 |
-
|
117 |
-
/**
|
118 |
-
* Load the plugin text domain for translation.
|
119 |
-
*
|
120 |
-
* @since 1.9.0
|
121 |
-
*
|
122 |
-
* @return void
|
123 |
-
*/
|
124 |
-
public function load_plugin_textdomain() {
|
125 |
-
$domain = self::$plugin_slug;
|
126 |
-
$locale = apply_filters( 'plugin_locale', get_locale(), $domain );
|
127 |
-
|
128 |
-
load_textdomain( $domain, trailingslashit( WP_LANG_DIR ) . $domain . '/' . $domain . '-' . $locale . '.mo' );
|
129 |
-
load_plugin_textdomain( $domain, false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
130 |
-
}
|
131 |
-
|
132 |
-
/**
|
133 |
-
* Add the gateway to WooCommerce.
|
134 |
-
*
|
135 |
-
* @version 1.9.0
|
136 |
-
*
|
137 |
-
* @param array $methods WooCommerce payment methods.
|
138 |
-
*
|
139 |
-
* @return array Payment methods with MercadoPago.
|
140 |
-
*/
|
141 |
-
public function add_gateway( $methods ) {
|
142 |
-
$methods[] = 'WC_MercadoPago_Gateway';
|
143 |
-
|
144 |
-
return $methods;
|
145 |
-
}
|
146 |
-
|
147 |
-
/**
|
148 |
-
* WooCommerce fallback notice.
|
149 |
-
*
|
150 |
-
* @version 1.9.0
|
151 |
-
*
|
152 |
-
* @return string
|
153 |
-
*/
|
154 |
-
public function woocommerce_missing_notice() {
|
155 |
-
echo '<div class="error"><p>' . sprintf( __( 'WooCommerce MercadoPago Gateway depends on the last version of %s to work!', self::$plugin_slug ), '<a href="http://wordpress.org/extend/plugins/woocommerce/">' . __( 'WooCommerce', self::$plugin_slug ) . '</a>' ) . '</p></div>';
|
156 |
-
}
|
157 |
-
|
158 |
-
/**
|
159 |
-
* Backwards compatibility with version prior to 2.1.
|
160 |
-
*
|
161 |
-
* @return object Returns the main instance of WooCommerce class.
|
162 |
-
*/
|
163 |
-
public static function woocommerce_instance() {
|
164 |
-
if ( function_exists( 'WC' ) ) {
|
165 |
-
return WC();
|
166 |
-
} else {
|
167 |
-
global $woocommerce;
|
168 |
-
return $woocommerce;
|
169 |
-
}
|
170 |
}
|
171 |
}
|
172 |
|
173 |
-
|
174 |
-
|
175 |
-
/**
|
176 |
-
* Adds support to legacy IPN.
|
177 |
-
*
|
178 |
-
* @return void
|
179 |
-
*/
|
180 |
-
function wcmercadopago_legacy_ipn() {
|
181 |
-
if ( isset( $_GET['topic'] ) && ! isset( $_GET['wc-api'] ) ) {
|
182 |
-
$woocommerce = WC_MercadoPago::woocommerce_instance();
|
183 |
-
$woocommerce->payment_gateways();
|
184 |
-
|
185 |
-
do_action( 'woocommerce_api_wc_mercadopago_gateway' );
|
186 |
-
}
|
187 |
-
}
|
188 |
-
|
189 |
-
add_action( 'init', 'wcmercadopago_legacy_ipn' );
|
190 |
-
|
191 |
-
endif;
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
+
exit; // Exit if accessed directly
|
4 |
}
|
5 |
|
6 |
+
// Update the main file.
|
7 |
+
$active_plugins = get_option( 'active_plugins', array() );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
+
foreach ( $active_plugins as $key => $active_plugin ) {
|
10 |
+
if ( strstr( $active_plugin, '/wc-mercadopago.php' ) ) {
|
11 |
+
$active_plugins[ $key ] = str_replace( '/wc-mercadopago.php', '/woocommerce-mercadopago.php', $active_plugin );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
}
|
13 |
}
|
14 |
|
15 |
+
update_option( 'active_plugins', $active_plugins );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
woocommerce-mercadopago.php
ADDED
@@ -0,0 +1,138 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Plugin Name: WooCommerce MercadoPago
|
4 |
+
* Plugin URI: https://github.com/claudiosmweb/woocommerce-mercadopago
|
5 |
+
* Description: MercadoPago gateway for Woocommerce.
|
6 |
+
* Author: claudiosanches
|
7 |
+
* Author URI: http://claudiosmweb.com/
|
8 |
+
* Version: 2.0.1
|
9 |
+
* License: GPLv2 or later
|
10 |
+
* Text Domain: woocommerce-mercadopago
|
11 |
+
* Domain Path: /languages/
|
12 |
+
*/
|
13 |
+
|
14 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
15 |
+
exit; // Exit if accessed directly.
|
16 |
+
}
|
17 |
+
|
18 |
+
if ( ! class_exists( 'WC_MercadoPago' ) ) :
|
19 |
+
|
20 |
+
/**
|
21 |
+
* WooCommerce MercadoPago main class.
|
22 |
+
*/
|
23 |
+
class WC_MercadoPago {
|
24 |
+
|
25 |
+
/**
|
26 |
+
* Plugin version.
|
27 |
+
*
|
28 |
+
* @var string
|
29 |
+
*/
|
30 |
+
const VERSION = '2.0.1';
|
31 |
+
|
32 |
+
/**
|
33 |
+
* Instance of this class.
|
34 |
+
*
|
35 |
+
* @var object
|
36 |
+
*/
|
37 |
+
protected static $instance = null;
|
38 |
+
|
39 |
+
/**
|
40 |
+
* Initialize the plugin.
|
41 |
+
*/
|
42 |
+
private function __construct() {
|
43 |
+
// Load plugin text domain
|
44 |
+
add_action( 'init', array( $this, 'load_plugin_textdomain' ) );
|
45 |
+
|
46 |
+
// Checks with WooCommerce is installed.
|
47 |
+
if ( class_exists( 'WC_Payment_Gateway' ) ) {
|
48 |
+
// Include the WC_MercadoPago_Gateway class.
|
49 |
+
include_once 'includes/class-wc-mercadopago-gateway.php';
|
50 |
+
|
51 |
+
add_filter( 'woocommerce_payment_gateways', array( $this, 'add_gateway' ) );
|
52 |
+
} else {
|
53 |
+
add_action( 'admin_notices', array( $this, 'woocommerce_missing_notice' ) );
|
54 |
+
}
|
55 |
+
}
|
56 |
+
|
57 |
+
/**
|
58 |
+
* Return an instance of this class.
|
59 |
+
*
|
60 |
+
* @return object A single instance of this class.
|
61 |
+
*/
|
62 |
+
public static function get_instance() {
|
63 |
+
// If the single instance hasn't been set, set it now.
|
64 |
+
if ( null == self::$instance ) {
|
65 |
+
self::$instance = new self;
|
66 |
+
}
|
67 |
+
|
68 |
+
return self::$instance;
|
69 |
+
}
|
70 |
+
|
71 |
+
/**
|
72 |
+
* Load the plugin text domain for translation.
|
73 |
+
*
|
74 |
+
* @return void
|
75 |
+
*/
|
76 |
+
public function load_plugin_textdomain() {
|
77 |
+
$locale = apply_filters( 'plugin_locale', get_locale(), 'woocommerce-mercadopago' );
|
78 |
+
|
79 |
+
load_textdomain( 'woocommerce-mercadopago', trailingslashit( WP_LANG_DIR ) . 'woocommerce-mercadopago/woocommerce-mercadopago-' . $locale . '.mo' );
|
80 |
+
load_plugin_textdomain( 'woocommerce-mercadopago', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
81 |
+
}
|
82 |
+
|
83 |
+
/**
|
84 |
+
* Add the gateway to WooCommerce.
|
85 |
+
*
|
86 |
+
* @param array $methods WooCommerce payment methods.
|
87 |
+
*
|
88 |
+
* @return array Payment methods with MercadoPago.
|
89 |
+
*/
|
90 |
+
public function add_gateway( $methods ) {
|
91 |
+
$methods[] = 'WC_MercadoPago_Gateway';
|
92 |
+
|
93 |
+
return $methods;
|
94 |
+
}
|
95 |
+
|
96 |
+
/**
|
97 |
+
* WooCommerce fallback notice.
|
98 |
+
*
|
99 |
+
* @return string
|
100 |
+
*/
|
101 |
+
public function woocommerce_missing_notice() {
|
102 |
+
echo '<div class="error"><p>' . sprintf( __( 'WooCommerce MercadoPago Gateway depends on the last version of %s to work!', 'woocommerce-mercadopago' ), '<a href="http://wordpress.org/extend/plugins/woocommerce/">' . __( 'WooCommerce', 'woocommerce-mercadopago' ) . '</a>' ) . '</p></div>';
|
103 |
+
}
|
104 |
+
|
105 |
+
/**
|
106 |
+
* Backwards compatibility with version prior to 2.1.
|
107 |
+
*
|
108 |
+
* @return object Returns the main instance of WooCommerce class.
|
109 |
+
*/
|
110 |
+
public static function woocommerce_instance() {
|
111 |
+
if ( function_exists( 'WC' ) ) {
|
112 |
+
return WC();
|
113 |
+
} else {
|
114 |
+
global $woocommerce;
|
115 |
+
return $woocommerce;
|
116 |
+
}
|
117 |
+
}
|
118 |
+
}
|
119 |
+
|
120 |
+
add_action( 'plugins_loaded', array( 'WC_MercadoPago', 'get_instance' ), 0 );
|
121 |
+
|
122 |
+
/**
|
123 |
+
* Adds support to legacy IPN.
|
124 |
+
*
|
125 |
+
* @return void
|
126 |
+
*/
|
127 |
+
function wcmercadopago_legacy_ipn() {
|
128 |
+
if ( isset( $_GET['topic'] ) && ! isset( $_GET['wc-api'] ) ) {
|
129 |
+
$woocommerce = WC_MercadoPago::woocommerce_instance();
|
130 |
+
$woocommerce->payment_gateways();
|
131 |
+
|
132 |
+
do_action( 'woocommerce_api_wc_mercadopago_gateway' );
|
133 |
+
}
|
134 |
+
}
|
135 |
+
|
136 |
+
add_action( 'init', 'wcmercadopago_legacy_ipn' );
|
137 |
+
|
138 |
+
endif;
|