Version Description
2017/01/05 =
Declara valor para os mtodos de sedex apenas se o total do pacote for mais do que 17 reais.
Adicionada opo manual para estimativa de entrega para os mtodos de Impresso e Carta Registrada.
Corrigida mensagens de alerta do plugin para serem exibidas apenas na pgina do carrinho.
Download this release
Release Info
Developer | claudiosanches |
Plugin | WooCommerce Correios |
Version | 3.1.6 |
Comparing to | |
See all releases |
Code changes from version 3.1.5 to 3.1.6
- includes/abstracts/abstract-wc-correios-shipping-carta.php +36 -8
- includes/abstracts/abstract-wc-correios-shipping-impresso.php +26 -8
- includes/abstracts/abstract-wc-correios-shipping.php +15 -3
- includes/shipping/class-wc-correios-shipping-legacy.php +1 -1
- includes/shipping/class-wc-correios-shipping-sedex-hoje.php +14 -0
- includes/shipping/class-wc-correios-shipping-sedex.php +14 -0
- includes/shipping/class-wc-correios-shipping-sedex10-envelope.php +14 -0
- includes/shipping/class-wc-correios-shipping-sedex10-pacote.php +14 -0
- includes/shipping/class-wc-correios-shipping-sedex12.php +14 -0
- languages/woocommerce-correios.pot +130 -114
- readme.txt +11 -5
- woocommerce-correios.php +2 -3
includes/abstracts/abstract-wc-correios-shipping-carta.php
CHANGED
@@ -33,13 +33,15 @@ abstract class WC_Correios_Shipping_Carta extends WC_Correios_Shipping {
|
|
33 |
$this->init_form_fields();
|
34 |
|
35 |
// Define user set variables.
|
36 |
-
$this->enabled
|
37 |
-
$this->title
|
38 |
-
$this->shipping_class
|
39 |
-
$this->
|
40 |
-
$this->
|
41 |
-
$this->
|
42 |
-
$this->
|
|
|
|
|
43 |
|
44 |
// Active logs.
|
45 |
if ( 'yes' === $this->debug ) {
|
@@ -100,6 +102,22 @@ abstract class WC_Correios_Shipping_Carta extends WC_Correios_Shipping {
|
|
100 |
'class' => 'wc-enhanced-select',
|
101 |
'options' => $this->get_shipping_classes_options(),
|
102 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
'fee' => array(
|
104 |
'title' => __( 'Handling Fee', 'woocommerce-correios' ),
|
105 |
'type' => 'price',
|
@@ -164,6 +182,16 @@ abstract class WC_Correios_Shipping_Carta extends WC_Correios_Shipping {
|
|
164 |
return 0;
|
165 |
}
|
166 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
/**
|
168 |
* Get package weight.
|
169 |
*
|
@@ -226,7 +254,7 @@ abstract class WC_Correios_Shipping_Carta extends WC_Correios_Shipping {
|
|
226 |
// Create the rate and apply filters.
|
227 |
$rate = apply_filters( 'woocommerce_correios_' . $this->id . '_rate', array(
|
228 |
'id' => $this->id . $this->instance_id,
|
229 |
-
'label' => $this->
|
230 |
'cost' => $cost + $fee,
|
231 |
), $this->instance_id, $package );
|
232 |
|
33 |
$this->init_form_fields();
|
34 |
|
35 |
// Define user set variables.
|
36 |
+
$this->enabled = $this->get_option( 'enabled' );
|
37 |
+
$this->title = $this->get_option( 'title' );
|
38 |
+
$this->shipping_class = $this->get_option( 'shipping_class' );
|
39 |
+
$this->show_delivery_time = $this->get_option( 'show_delivery_time' );
|
40 |
+
$this->additional_time = $this->get_option( 'additional_time' );
|
41 |
+
$this->fee = $this->get_option( 'fee' );
|
42 |
+
$this->receipt_notice = $this->get_option( 'receipt_notice' );
|
43 |
+
$this->own_hands = $this->get_option( 'own_hands' );
|
44 |
+
$this->debug = $this->get_option( 'debug' );
|
45 |
|
46 |
// Active logs.
|
47 |
if ( 'yes' === $this->debug ) {
|
102 |
'class' => 'wc-enhanced-select',
|
103 |
'options' => $this->get_shipping_classes_options(),
|
104 |
),
|
105 |
+
'show_delivery_time' => array(
|
106 |
+
'title' => __( 'Delivery Time', 'woocommerce-correios' ),
|
107 |
+
'type' => 'checkbox',
|
108 |
+
'label' => __( 'Show estimated delivery time', 'woocommerce-correios' ),
|
109 |
+
'description' => __( 'Display the estimated delivery time in working days.', 'woocommerce-correios' ),
|
110 |
+
'desc_tip' => true,
|
111 |
+
'default' => 'no',
|
112 |
+
),
|
113 |
+
'additional_time' => array(
|
114 |
+
'title' => __( 'Delivery Days', 'woocommerce-correios' ),
|
115 |
+
'type' => 'text',
|
116 |
+
'description' => __( 'Working days to the estimated delivery.', 'woocommerce-correios' ),
|
117 |
+
'desc_tip' => true,
|
118 |
+
'default' => '0',
|
119 |
+
'placeholder' => '0',
|
120 |
+
),
|
121 |
'fee' => array(
|
122 |
'title' => __( 'Handling Fee', 'woocommerce-correios' ),
|
123 |
'type' => 'price',
|
182 |
return 0;
|
183 |
}
|
184 |
|
185 |
+
/**
|
186 |
+
* Get shpping time.
|
187 |
+
*
|
188 |
+
* @param array $package Shipping package.
|
189 |
+
* @return int
|
190 |
+
*/
|
191 |
+
protected function get_shipping_time( $package ) {
|
192 |
+
return 0;
|
193 |
+
}
|
194 |
+
|
195 |
/**
|
196 |
* Get package weight.
|
197 |
*
|
254 |
// Create the rate and apply filters.
|
255 |
$rate = apply_filters( 'woocommerce_correios_' . $this->id . '_rate', array(
|
256 |
'id' => $this->id . $this->instance_id,
|
257 |
+
'label' => $this->get_shipping_method_label( (int) $this->get_shipping_time( $package ), $package ),
|
258 |
'cost' => $cost + $fee,
|
259 |
), $this->instance_id, $package );
|
260 |
|
includes/abstracts/abstract-wc-correios-shipping-impresso.php
CHANGED
@@ -85,14 +85,16 @@ abstract class WC_Correios_Shipping_Impresso extends WC_Correios_Shipping_Carta
|
|
85 |
$this->init_form_fields();
|
86 |
|
87 |
// Define user set variables.
|
88 |
-
$this->enabled
|
89 |
-
$this->title
|
90 |
-
$this->shipping_class
|
91 |
-
$this->registry_type
|
92 |
-
$this->
|
93 |
-
$this->
|
94 |
-
$this->
|
95 |
-
$this->
|
|
|
|
|
96 |
|
97 |
// Active logs.
|
98 |
if ( 'yes' === $this->debug ) {
|
@@ -149,6 +151,22 @@ abstract class WC_Correios_Shipping_Impresso extends WC_Correios_Shipping_Carta
|
|
149 |
),
|
150 |
'default' => 'RM',
|
151 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
'fee' => array(
|
153 |
'title' => __( 'Handling Fee', 'woocommerce-correios' ),
|
154 |
'type' => 'price',
|
85 |
$this->init_form_fields();
|
86 |
|
87 |
// Define user set variables.
|
88 |
+
$this->enabled = $this->get_option( 'enabled' );
|
89 |
+
$this->title = $this->get_option( 'title' );
|
90 |
+
$this->shipping_class = $this->get_option( 'shipping_class' );
|
91 |
+
$this->registry_type = $this->get_option( 'registry_type' );
|
92 |
+
$this->show_delivery_time = $this->get_option( 'show_delivery_time' );
|
93 |
+
$this->additional_time = $this->get_option( 'additional_time' );
|
94 |
+
$this->fee = $this->get_option( 'fee' );
|
95 |
+
$this->receipt_notice = $this->get_option( 'receipt_notice' );
|
96 |
+
$this->own_hands = $this->get_option( 'own_hands' );
|
97 |
+
$this->debug = $this->get_option( 'debug' );
|
98 |
|
99 |
// Active logs.
|
100 |
if ( 'yes' === $this->debug ) {
|
151 |
),
|
152 |
'default' => 'RM',
|
153 |
),
|
154 |
+
'show_delivery_time' => array(
|
155 |
+
'title' => __( 'Delivery Time', 'woocommerce-correios' ),
|
156 |
+
'type' => 'checkbox',
|
157 |
+
'label' => __( 'Show estimated delivery time', 'woocommerce-correios' ),
|
158 |
+
'description' => __( 'Display the estimated delivery time in working days.', 'woocommerce-correios' ),
|
159 |
+
'desc_tip' => true,
|
160 |
+
'default' => 'no',
|
161 |
+
),
|
162 |
+
'additional_time' => array(
|
163 |
+
'title' => __( 'Delivery Days', 'woocommerce-correios' ),
|
164 |
+
'type' => 'text',
|
165 |
+
'description' => __( 'Working days to the estimated delivery.', 'woocommerce-correios' ),
|
166 |
+
'desc_tip' => true,
|
167 |
+
'default' => '0',
|
168 |
+
'placeholder' => '0',
|
169 |
+
),
|
170 |
'fee' => array(
|
171 |
'title' => __( 'Handling Fee', 'woocommerce-correios' ),
|
172 |
'type' => 'price',
|
includes/abstracts/abstract-wc-correios-shipping.php
CHANGED
@@ -17,6 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
17 |
* This is a abstract method with default options for all methods.
|
18 |
*/
|
19 |
abstract class WC_Correios_Shipping extends WC_Shipping_Method {
|
|
|
20 |
/**
|
21 |
* Service code.
|
22 |
*
|
@@ -298,10 +299,21 @@ abstract class WC_Correios_Shipping extends WC_Shipping_Method {
|
|
298 |
return $this->is_corporate() ? $this->password : '';
|
299 |
}
|
300 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
301 |
/**
|
302 |
* Get shipping rate.
|
303 |
*
|
304 |
-
* @param array $package
|
305 |
*
|
306 |
* @return SimpleXMLElement
|
307 |
*/
|
@@ -314,7 +326,7 @@ abstract class WC_Correios_Shipping extends WC_Shipping_Method {
|
|
314 |
$api->set_destination_postcode( $package['destination']['postcode'] );
|
315 |
|
316 |
if ( 'yes' === $this->declare_value ) {
|
317 |
-
$api->set_declared_value( $package
|
318 |
}
|
319 |
|
320 |
$api->set_own_hands( 'yes' === $this->own_hands ? 'S' : 'N' );
|
@@ -397,7 +409,7 @@ abstract class WC_Correios_Shipping extends WC_Shipping_Method {
|
|
397 |
|
398 |
// Display Correios errors.
|
399 |
$error_message = wc_correios_get_error_message( $error_number );
|
400 |
-
if ( '' !== $error_message ) {
|
401 |
$notice_type = ( '010' === $error_number ) ? 'notice' : 'error';
|
402 |
$notice = '<strong>' . $this->title . ':</strong> ' . esc_html( $error_message );
|
403 |
wc_add_notice( $notice, $notice_type );
|
17 |
* This is a abstract method with default options for all methods.
|
18 |
*/
|
19 |
abstract class WC_Correios_Shipping extends WC_Shipping_Method {
|
20 |
+
|
21 |
/**
|
22 |
* Service code.
|
23 |
*
|
299 |
return $this->is_corporate() ? $this->password : '';
|
300 |
}
|
301 |
|
302 |
+
/**
|
303 |
+
* Get the declared value from the package.
|
304 |
+
*
|
305 |
+
* @param array $package Cart package.
|
306 |
+
*
|
307 |
+
* @return float
|
308 |
+
*/
|
309 |
+
protected function get_declared_value( $package ) {
|
310 |
+
return $package['contents_cost'];
|
311 |
+
}
|
312 |
+
|
313 |
/**
|
314 |
* Get shipping rate.
|
315 |
*
|
316 |
+
* @param array $package Cart package.
|
317 |
*
|
318 |
* @return SimpleXMLElement
|
319 |
*/
|
326 |
$api->set_destination_postcode( $package['destination']['postcode'] );
|
327 |
|
328 |
if ( 'yes' === $this->declare_value ) {
|
329 |
+
$api->set_declared_value( $this->get_declared_value( $package ) );
|
330 |
}
|
331 |
|
332 |
$api->set_own_hands( 'yes' === $this->own_hands ? 'S' : 'N' );
|
409 |
|
410 |
// Display Correios errors.
|
411 |
$error_message = wc_correios_get_error_message( $error_number );
|
412 |
+
if ( '' !== $error_message && is_cart() ) {
|
413 |
$notice_type = ( '010' === $error_number ) ? 'notice' : 'error';
|
414 |
$notice = '<strong>' . $this->title . ':</strong> ' . esc_html( $error_message );
|
415 |
wc_add_notice( $notice, $notice_type );
|
includes/shipping/class-wc-correios-shipping-legacy.php
CHANGED
@@ -419,7 +419,7 @@ class WC_Correios_Shipping_Legacy extends WC_Shipping_Method {
|
|
419 |
}
|
420 |
|
421 |
// Display correios errors.
|
422 |
-
if ( ! empty( $errors ) ) {
|
423 |
foreach ( $errors as $error ) {
|
424 |
if ( '' != $error['error'] ) {
|
425 |
$type = ( '010' == $error['number'] ) ? 'notice' : 'error';
|
419 |
}
|
420 |
|
421 |
// Display correios errors.
|
422 |
+
if ( ! empty( $errors ) && is_cart() ) {
|
423 |
foreach ( $errors as $error ) {
|
424 |
if ( '' != $error['error'] ) {
|
425 |
$type = ( '010' == $error['number'] ) ? 'notice' : 'error';
|
includes/shipping/class-wc-correios-shipping-sedex-hoje.php
CHANGED
@@ -36,4 +36,18 @@ class WC_Correios_Shipping_SEDEX_Hoje extends WC_Correios_Shipping {
|
|
36 |
|
37 |
parent::__construct( $instance_id );
|
38 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
}
|
36 |
|
37 |
parent::__construct( $instance_id );
|
38 |
}
|
39 |
+
|
40 |
+
/**
|
41 |
+
* Get the declared value from the package.
|
42 |
+
*
|
43 |
+
* @param array $package Cart package.
|
44 |
+
* @return float
|
45 |
+
*/
|
46 |
+
protected function get_declared_value( $package ) {
|
47 |
+
if ( 16 >= $package['contents_cost'] ) {
|
48 |
+
return 0;
|
49 |
+
}
|
50 |
+
|
51 |
+
return $package['contents_cost'];
|
52 |
+
}
|
53 |
}
|
includes/shipping/class-wc-correios-shipping-sedex.php
CHANGED
@@ -44,4 +44,18 @@ class WC_Correios_Shipping_SEDEX extends WC_Correios_Shipping {
|
|
44 |
|
45 |
parent::__construct( $instance_id );
|
46 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
}
|
44 |
|
45 |
parent::__construct( $instance_id );
|
46 |
}
|
47 |
+
|
48 |
+
/**
|
49 |
+
* Get the declared value from the package.
|
50 |
+
*
|
51 |
+
* @param array $package Cart package.
|
52 |
+
* @return float
|
53 |
+
*/
|
54 |
+
protected function get_declared_value( $package ) {
|
55 |
+
if ( 16 >= $package['contents_cost'] ) {
|
56 |
+
return 0;
|
57 |
+
}
|
58 |
+
|
59 |
+
return $package['contents_cost'];
|
60 |
+
}
|
61 |
}
|
includes/shipping/class-wc-correios-shipping-sedex10-envelope.php
CHANGED
@@ -36,4 +36,18 @@ class WC_Correios_Shipping_SEDEX_10_Envelope extends WC_Correios_Shipping {
|
|
36 |
|
37 |
parent::__construct( $instance_id );
|
38 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
}
|
36 |
|
37 |
parent::__construct( $instance_id );
|
38 |
}
|
39 |
+
|
40 |
+
/**
|
41 |
+
* Get the declared value from the package.
|
42 |
+
*
|
43 |
+
* @param array $package Cart package.
|
44 |
+
* @return float
|
45 |
+
*/
|
46 |
+
protected function get_declared_value( $package ) {
|
47 |
+
if ( 16 >= $package['contents_cost'] ) {
|
48 |
+
return 0;
|
49 |
+
}
|
50 |
+
|
51 |
+
return $package['contents_cost'];
|
52 |
+
}
|
53 |
}
|
includes/shipping/class-wc-correios-shipping-sedex10-pacote.php
CHANGED
@@ -36,4 +36,18 @@ class WC_Correios_Shipping_SEDEX_10_Pacote extends WC_Correios_Shipping {
|
|
36 |
|
37 |
parent::__construct( $instance_id );
|
38 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
}
|
36 |
|
37 |
parent::__construct( $instance_id );
|
38 |
}
|
39 |
+
|
40 |
+
/**
|
41 |
+
* Get the declared value from the package.
|
42 |
+
*
|
43 |
+
* @param array $package Cart package.
|
44 |
+
* @return float
|
45 |
+
*/
|
46 |
+
protected function get_declared_value( $package ) {
|
47 |
+
if ( 16 >= $package['contents_cost'] ) {
|
48 |
+
return 0;
|
49 |
+
}
|
50 |
+
|
51 |
+
return $package['contents_cost'];
|
52 |
+
}
|
53 |
}
|
includes/shipping/class-wc-correios-shipping-sedex12.php
CHANGED
@@ -36,4 +36,18 @@ class WC_Correios_Shipping_SEDEX_12 extends WC_Correios_Shipping {
|
|
36 |
|
37 |
parent::__construct( $instance_id );
|
38 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
}
|
36 |
|
37 |
parent::__construct( $instance_id );
|
38 |
}
|
39 |
+
|
40 |
+
/**
|
41 |
+
* Get the declared value from the package.
|
42 |
+
*
|
43 |
+
* @param array $package Cart package.
|
44 |
+
* @return float
|
45 |
+
*/
|
46 |
+
protected function get_declared_value( $package ) {
|
47 |
+
if ( 16 >= $package['contents_cost'] ) {
|
48 |
+
return 0;
|
49 |
+
}
|
50 |
+
|
51 |
+
return $package['contents_cost'];
|
52 |
+
}
|
53 |
}
|
languages/woocommerce-correios.pot
CHANGED
@@ -1,32 +1,32 @@
|
|
1 |
-
# Copyright (C)
|
2 |
# This file is distributed under the GPLv2 or later.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: WooCommerce Correios 3.1.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/plugins/woocommerce-domination/\n"
|
7 |
-
"POT-Creation-Date:
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"PO-Revision-Date:
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
|
14 |
"X-Generator: grunt-wp-i18n 0.5.4\n"
|
15 |
|
16 |
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:26
|
17 |
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:78
|
18 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
19 |
msgid "%s is a shipping method from Correios."
|
20 |
msgstr ""
|
21 |
|
22 |
-
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:
|
23 |
msgid "-- Select a shipping class --"
|
24 |
msgstr ""
|
25 |
|
26 |
-
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:
|
27 |
-
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:
|
28 |
#: includes/abstracts/abstract-wc-correios-shipping-international.php:56
|
29 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
30 |
#: includes/emails/class-wc-correios-tracking-email.php:50
|
31 |
#: includes/integrations/class-wc-correios-integration.php:78
|
32 |
#: includes/integrations/class-wc-correios-integration.php:96
|
@@ -34,167 +34,198 @@ msgstr ""
|
|
34 |
msgid "Enable/Disable"
|
35 |
msgstr ""
|
36 |
|
37 |
-
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:
|
38 |
-
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:
|
39 |
#: includes/abstracts/abstract-wc-correios-shipping-international.php:58
|
40 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
41 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:81
|
42 |
msgid "Enable this shipping method"
|
43 |
msgstr ""
|
44 |
|
45 |
-
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:
|
46 |
-
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:
|
47 |
#: includes/abstracts/abstract-wc-correios-shipping-international.php:62
|
48 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
49 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:85
|
50 |
msgid "Title"
|
51 |
msgstr ""
|
52 |
|
53 |
-
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:
|
54 |
-
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:
|
55 |
#: includes/abstracts/abstract-wc-correios-shipping-international.php:64
|
56 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
57 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:87
|
58 |
msgid "This controls the title which the user sees during checkout."
|
59 |
msgstr ""
|
60 |
|
61 |
-
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:
|
62 |
-
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:
|
63 |
#: includes/abstracts/abstract-wc-correios-shipping-international.php:69
|
64 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
65 |
msgid "Behavior Options"
|
66 |
msgstr ""
|
67 |
|
68 |
-
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:
|
69 |
-
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:
|
70 |
msgid "Shipping Class"
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:
|
74 |
-
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:
|
75 |
msgid "Select for which shipping class this method will be applied."
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:
|
79 |
-
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
#: includes/abstracts/abstract-wc-correios-shipping-international.php:103
|
81 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
82 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:123
|
83 |
msgid "Handling Fee"
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:
|
87 |
-
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:
|
88 |
#: includes/abstracts/abstract-wc-correios-shipping-international.php:105
|
89 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
90 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:125
|
91 |
msgid ""
|
92 |
"Enter an amount, e.g. 2.50, or a percentage, e.g. 5%. Leave blank to "
|
93 |
"disable."
|
94 |
msgstr ""
|
95 |
|
96 |
-
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:
|
97 |
-
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:
|
98 |
#: includes/abstracts/abstract-wc-correios-shipping-international.php:111
|
99 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
100 |
msgid "Optional Services"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:
|
104 |
-
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:
|
105 |
#: includes/abstracts/abstract-wc-correios-shipping-international.php:113
|
106 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
107 |
msgid "Use these options to add the value of each service provided by the Correios."
|
108 |
msgstr ""
|
109 |
|
110 |
-
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:
|
111 |
-
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:
|
112 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
113 |
msgid "Receipt Notice"
|
114 |
msgstr ""
|
115 |
|
116 |
-
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:
|
117 |
-
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:
|
118 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
119 |
msgid "Enable receipt notice"
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:
|
123 |
-
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:
|
124 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
125 |
msgid "This controls whether to add costs of the receipt notice service."
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:
|
129 |
-
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:
|
130 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
131 |
msgid "Own Hands"
|
132 |
msgstr ""
|
133 |
|
134 |
-
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:
|
135 |
-
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:
|
136 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
137 |
msgid "Enable own hands"
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:
|
141 |
-
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:
|
142 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
143 |
msgid "This controls whether to add costs of the own hands service"
|
144 |
msgstr ""
|
145 |
|
146 |
-
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:
|
147 |
-
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:
|
148 |
#: includes/abstracts/abstract-wc-correios-shipping-international.php:117
|
149 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
150 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:224
|
151 |
msgid "Testing"
|
152 |
msgstr ""
|
153 |
|
154 |
-
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:
|
155 |
-
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:
|
156 |
#: includes/abstracts/abstract-wc-correios-shipping-international.php:122
|
157 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
158 |
#: includes/integrations/class-wc-correios-integration.php:84
|
159 |
#: includes/integrations/class-wc-correios-integration.php:137
|
160 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:228
|
161 |
msgid "Debug Log"
|
162 |
msgstr ""
|
163 |
|
164 |
-
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:
|
165 |
-
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:
|
166 |
#: includes/abstracts/abstract-wc-correios-shipping-international.php:124
|
167 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
168 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:230
|
169 |
msgid "Enable logging"
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:
|
173 |
-
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:
|
174 |
#: includes/abstracts/abstract-wc-correios-shipping-international.php:126
|
175 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
176 |
#: includes/integrations/class-wc-correios-integration.php:88
|
177 |
#: includes/integrations/class-wc-correios-integration.php:141
|
178 |
msgid "Log %s events, such as WebServices requests."
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:
|
182 |
msgid "Registry Type"
|
183 |
msgstr ""
|
184 |
|
185 |
-
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:
|
186 |
msgid "Select for which registry type this method will be applied."
|
187 |
msgstr ""
|
188 |
|
189 |
-
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:
|
190 |
msgid "-- Select a registry type --"
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:
|
194 |
msgid "Registro Nacional"
|
195 |
msgstr ""
|
196 |
|
197 |
-
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:
|
198 |
msgid "Registro Módico"
|
199 |
msgstr ""
|
200 |
|
@@ -226,142 +257,127 @@ msgstr ""
|
|
226 |
msgid "Interior"
|
227 |
msgstr ""
|
228 |
|
229 |
-
#: includes/abstracts/abstract-wc-correios-shipping
|
230 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:116
|
231 |
-
msgid "Delivery Time"
|
232 |
-
msgstr ""
|
233 |
-
|
234 |
-
#: includes/abstracts/abstract-wc-correios-shipping-international.php:97
|
235 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:118
|
236 |
-
msgid "Show estimated delivery time"
|
237 |
-
msgstr ""
|
238 |
-
|
239 |
-
#: includes/abstracts/abstract-wc-correios-shipping-international.php:98
|
240 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:119
|
241 |
-
msgid "Display the estimated delivery time in working days."
|
242 |
-
msgstr ""
|
243 |
-
|
244 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:80
|
245 |
#: includes/integrations/class-wc-correios-integration.php:63
|
246 |
msgid "View logs."
|
247 |
msgstr ""
|
248 |
|
249 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
250 |
msgid "Origin Postcode"
|
251 |
msgstr ""
|
252 |
|
253 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
254 |
msgid "The postcode of the location your packages are delivered from."
|
255 |
msgstr ""
|
256 |
|
257 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
258 |
msgid "Additional Days"
|
259 |
msgstr ""
|
260 |
|
261 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
262 |
msgid "Additional working days to the estimated delivery."
|
263 |
msgstr ""
|
264 |
|
265 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
266 |
msgid "Declare Value for Insurance"
|
267 |
msgstr ""
|
268 |
|
269 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
270 |
msgid "Enable declared value"
|
271 |
msgstr ""
|
272 |
|
273 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
274 |
msgid ""
|
275 |
"This controls if the price of the package must be declared for insurance "
|
276 |
"purposes."
|
277 |
msgstr ""
|
278 |
|
279 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
280 |
msgid "Service Options"
|
281 |
msgstr ""
|
282 |
|
283 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
284 |
msgid "Service Code"
|
285 |
msgstr ""
|
286 |
|
287 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
288 |
msgid "Service code, use this for custom codes."
|
289 |
msgstr ""
|
290 |
|
291 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
292 |
#: includes/shipping/class-wc-correios-shipping-esedex.php:40
|
293 |
msgid "Service Type"
|
294 |
msgstr ""
|
295 |
|
296 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
297 |
#: includes/shipping/class-wc-correios-shipping-esedex.php:42
|
298 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:136
|
299 |
msgid "Choose between conventional or corporate service."
|
300 |
msgstr ""
|
301 |
|
302 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
303 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:140
|
304 |
msgid "Conventional"
|
305 |
msgstr ""
|
306 |
|
307 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
308 |
#: includes/shipping/class-wc-correios-shipping-esedex.php:47
|
309 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:141
|
310 |
msgid "Corporate"
|
311 |
msgstr ""
|
312 |
|
313 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
314 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:145
|
315 |
msgid "Administrative Code"
|
316 |
msgstr ""
|
317 |
|
318 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
319 |
msgid "Your Correios login. It's usually your CNPJ."
|
320 |
msgstr ""
|
321 |
|
322 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
323 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:151
|
324 |
msgid "Administrative Password"
|
325 |
msgstr ""
|
326 |
|
327 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
328 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:153
|
329 |
msgid "Your Correios password."
|
330 |
msgstr ""
|
331 |
|
332 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
333 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:197
|
334 |
msgid "Package Standard"
|
335 |
msgstr ""
|
336 |
|
337 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
338 |
msgid "Minimum measure for your shipping packages."
|
339 |
msgstr ""
|
340 |
|
341 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
342 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:203
|
343 |
msgid "Minimum Height"
|
344 |
msgstr ""
|
345 |
|
346 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
347 |
msgid "Minimum height of your shipping packages. Correios needs at least 2cm."
|
348 |
msgstr ""
|
349 |
|
350 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
351 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:210
|
352 |
msgid "Minimum Width"
|
353 |
msgstr ""
|
354 |
|
355 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
356 |
msgid "Minimum width of your shipping packages. Correios needs at least 11cm."
|
357 |
msgstr ""
|
358 |
|
359 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
360 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:217
|
361 |
msgid "Minimum Length"
|
362 |
msgstr ""
|
363 |
|
364 |
-
#: includes/abstracts/abstract-wc-correios-shipping.php:
|
365 |
msgid "Minimum length of your shipping packages. Correios needs at least 16cm."
|
366 |
msgstr ""
|
367 |
|
1 |
+
# Copyright (C) 2017 Claudio Sanches
|
2 |
# This file is distributed under the GPLv2 or later.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: WooCommerce Correios 3.1.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/plugins/woocommerce-domination/\n"
|
7 |
+
"POT-Creation-Date: 2017-01-05 04:25:53+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2017-MO-DA HO:MI+ZONE\n"
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
|
14 |
"X-Generator: grunt-wp-i18n 0.5.4\n"
|
15 |
|
16 |
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:26
|
17 |
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:78
|
18 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:42
|
19 |
msgid "%s is a shipping method from Correios."
|
20 |
msgstr ""
|
21 |
|
22 |
+
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:63
|
23 |
msgid "-- Select a shipping class --"
|
24 |
msgstr ""
|
25 |
|
26 |
+
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:79
|
27 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:114
|
28 |
#: includes/abstracts/abstract-wc-correios-shipping-international.php:56
|
29 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:91
|
30 |
#: includes/emails/class-wc-correios-tracking-email.php:50
|
31 |
#: includes/integrations/class-wc-correios-integration.php:78
|
32 |
#: includes/integrations/class-wc-correios-integration.php:96
|
34 |
msgid "Enable/Disable"
|
35 |
msgstr ""
|
36 |
|
37 |
+
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:81
|
38 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:116
|
39 |
#: includes/abstracts/abstract-wc-correios-shipping-international.php:58
|
40 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:93
|
41 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:81
|
42 |
msgid "Enable this shipping method"
|
43 |
msgstr ""
|
44 |
|
45 |
+
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:85
|
46 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:120
|
47 |
#: includes/abstracts/abstract-wc-correios-shipping-international.php:62
|
48 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:97
|
49 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:85
|
50 |
msgid "Title"
|
51 |
msgstr ""
|
52 |
|
53 |
+
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:87
|
54 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:122
|
55 |
#: includes/abstracts/abstract-wc-correios-shipping-international.php:64
|
56 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:99
|
57 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:87
|
58 |
msgid "This controls the title which the user sees during checkout."
|
59 |
msgstr ""
|
60 |
|
61 |
+
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:92
|
62 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:127
|
63 |
#: includes/abstracts/abstract-wc-correios-shipping-international.php:69
|
64 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:104
|
65 |
msgid "Behavior Options"
|
66 |
msgstr ""
|
67 |
|
68 |
+
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:97
|
69 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:132
|
70 |
msgid "Shipping Class"
|
71 |
msgstr ""
|
72 |
|
73 |
+
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:99
|
74 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:134
|
75 |
msgid "Select for which shipping class this method will be applied."
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:106
|
79 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:155
|
80 |
+
#: includes/abstracts/abstract-wc-correios-shipping-international.php:95
|
81 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:117
|
82 |
+
msgid "Delivery Time"
|
83 |
+
msgstr ""
|
84 |
+
|
85 |
+
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:108
|
86 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:157
|
87 |
+
#: includes/abstracts/abstract-wc-correios-shipping-international.php:97
|
88 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:119
|
89 |
+
msgid "Show estimated delivery time"
|
90 |
+
msgstr ""
|
91 |
+
|
92 |
+
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:109
|
93 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:158
|
94 |
+
#: includes/abstracts/abstract-wc-correios-shipping-international.php:98
|
95 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:120
|
96 |
+
msgid "Display the estimated delivery time in working days."
|
97 |
+
msgstr ""
|
98 |
+
|
99 |
+
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:114
|
100 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:163
|
101 |
+
msgid "Delivery Days"
|
102 |
+
msgstr ""
|
103 |
+
|
104 |
+
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:116
|
105 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:165
|
106 |
+
msgid "Working days to the estimated delivery."
|
107 |
+
msgstr ""
|
108 |
+
|
109 |
+
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:122
|
110 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:171
|
111 |
#: includes/abstracts/abstract-wc-correios-shipping-international.php:103
|
112 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:133
|
113 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:123
|
114 |
msgid "Handling Fee"
|
115 |
msgstr ""
|
116 |
|
117 |
+
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:124
|
118 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:173
|
119 |
#: includes/abstracts/abstract-wc-correios-shipping-international.php:105
|
120 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:135
|
121 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:125
|
122 |
msgid ""
|
123 |
"Enter an amount, e.g. 2.50, or a percentage, e.g. 5%. Leave blank to "
|
124 |
"disable."
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:130
|
128 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:179
|
129 |
#: includes/abstracts/abstract-wc-correios-shipping-international.php:111
|
130 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:141
|
131 |
msgid "Optional Services"
|
132 |
msgstr ""
|
133 |
|
134 |
+
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:132
|
135 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:181
|
136 |
#: includes/abstracts/abstract-wc-correios-shipping-international.php:113
|
137 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:143
|
138 |
msgid "Use these options to add the value of each service provided by the Correios."
|
139 |
msgstr ""
|
140 |
|
141 |
+
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:136
|
142 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:185
|
143 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:147
|
144 |
msgid "Receipt Notice"
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:138
|
148 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:187
|
149 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:149
|
150 |
msgid "Enable receipt notice"
|
151 |
msgstr ""
|
152 |
|
153 |
+
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:139
|
154 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:188
|
155 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:150
|
156 |
msgid "This controls whether to add costs of the receipt notice service."
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:144
|
160 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:193
|
161 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:155
|
162 |
msgid "Own Hands"
|
163 |
msgstr ""
|
164 |
|
165 |
+
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:146
|
166 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:195
|
167 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:157
|
168 |
msgid "Enable own hands"
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:147
|
172 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:196
|
173 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:158
|
174 |
msgid "This controls whether to add costs of the own hands service"
|
175 |
msgstr ""
|
176 |
|
177 |
+
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:152
|
178 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:201
|
179 |
#: includes/abstracts/abstract-wc-correios-shipping-international.php:117
|
180 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:237
|
181 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:224
|
182 |
msgid "Testing"
|
183 |
msgstr ""
|
184 |
|
185 |
+
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:157
|
186 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:206
|
187 |
#: includes/abstracts/abstract-wc-correios-shipping-international.php:122
|
188 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:242
|
189 |
#: includes/integrations/class-wc-correios-integration.php:84
|
190 |
#: includes/integrations/class-wc-correios-integration.php:137
|
191 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:228
|
192 |
msgid "Debug Log"
|
193 |
msgstr ""
|
194 |
|
195 |
+
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:159
|
196 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:208
|
197 |
#: includes/abstracts/abstract-wc-correios-shipping-international.php:124
|
198 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:244
|
199 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:230
|
200 |
msgid "Enable logging"
|
201 |
msgstr ""
|
202 |
|
203 |
+
#: includes/abstracts/abstract-wc-correios-shipping-carta.php:161
|
204 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:210
|
205 |
#: includes/abstracts/abstract-wc-correios-shipping-international.php:126
|
206 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:246
|
207 |
#: includes/integrations/class-wc-correios-integration.php:88
|
208 |
#: includes/integrations/class-wc-correios-integration.php:141
|
209 |
msgid "Log %s events, such as WebServices requests."
|
210 |
msgstr ""
|
211 |
|
212 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:141
|
213 |
msgid "Registry Type"
|
214 |
msgstr ""
|
215 |
|
216 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:143
|
217 |
msgid "Select for which registry type this method will be applied."
|
218 |
msgstr ""
|
219 |
|
220 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:148
|
221 |
msgid "-- Select a registry type --"
|
222 |
msgstr ""
|
223 |
|
224 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:149
|
225 |
msgid "Registro Nacional"
|
226 |
msgstr ""
|
227 |
|
228 |
+
#: includes/abstracts/abstract-wc-correios-shipping-impresso.php:150
|
229 |
msgid "Registro Módico"
|
230 |
msgstr ""
|
231 |
|
257 |
msgid "Interior"
|
258 |
msgstr ""
|
259 |
|
260 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:81
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
261 |
#: includes/integrations/class-wc-correios-integration.php:63
|
262 |
msgid "View logs."
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:109
|
266 |
msgid "Origin Postcode"
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:111
|
270 |
msgid "The postcode of the location your packages are delivered from."
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:125
|
274 |
msgid "Additional Days"
|
275 |
msgstr ""
|
276 |
|
277 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:127
|
278 |
msgid "Additional working days to the estimated delivery."
|
279 |
msgstr ""
|
280 |
|
281 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:163
|
282 |
msgid "Declare Value for Insurance"
|
283 |
msgstr ""
|
284 |
|
285 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:165
|
286 |
msgid "Enable declared value"
|
287 |
msgstr ""
|
288 |
|
289 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:166
|
290 |
msgid ""
|
291 |
"This controls if the price of the package must be declared for insurance "
|
292 |
"purposes."
|
293 |
msgstr ""
|
294 |
|
295 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:171
|
296 |
msgid "Service Options"
|
297 |
msgstr ""
|
298 |
|
299 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:176
|
300 |
msgid "Service Code"
|
301 |
msgstr ""
|
302 |
|
303 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:178
|
304 |
msgid "Service code, use this for custom codes."
|
305 |
msgstr ""
|
306 |
|
307 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:184
|
308 |
#: includes/shipping/class-wc-correios-shipping-esedex.php:40
|
309 |
msgid "Service Type"
|
310 |
msgstr ""
|
311 |
|
312 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:186
|
313 |
#: includes/shipping/class-wc-correios-shipping-esedex.php:42
|
314 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:136
|
315 |
msgid "Choose between conventional or corporate service."
|
316 |
msgstr ""
|
317 |
|
318 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:191
|
319 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:140
|
320 |
msgid "Conventional"
|
321 |
msgstr ""
|
322 |
|
323 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:192
|
324 |
#: includes/shipping/class-wc-correios-shipping-esedex.php:47
|
325 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:141
|
326 |
msgid "Corporate"
|
327 |
msgstr ""
|
328 |
|
329 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:196
|
330 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:145
|
331 |
msgid "Administrative Code"
|
332 |
msgstr ""
|
333 |
|
334 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:198
|
335 |
msgid "Your Correios login. It's usually your CNPJ."
|
336 |
msgstr ""
|
337 |
|
338 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:203
|
339 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:151
|
340 |
msgid "Administrative Password"
|
341 |
msgstr ""
|
342 |
|
343 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:205
|
344 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:153
|
345 |
msgid "Your Correios password."
|
346 |
msgstr ""
|
347 |
|
348 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:210
|
349 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:197
|
350 |
msgid "Package Standard"
|
351 |
msgstr ""
|
352 |
|
353 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:212
|
354 |
msgid "Minimum measure for your shipping packages."
|
355 |
msgstr ""
|
356 |
|
357 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:216
|
358 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:203
|
359 |
msgid "Minimum Height"
|
360 |
msgstr ""
|
361 |
|
362 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:218
|
363 |
msgid "Minimum height of your shipping packages. Correios needs at least 2cm."
|
364 |
msgstr ""
|
365 |
|
366 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:223
|
367 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:210
|
368 |
msgid "Minimum Width"
|
369 |
msgstr ""
|
370 |
|
371 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:225
|
372 |
msgid "Minimum width of your shipping packages. Correios needs at least 11cm."
|
373 |
msgstr ""
|
374 |
|
375 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:230
|
376 |
#: includes/shipping/class-wc-correios-shipping-legacy.php:217
|
377 |
msgid "Minimum Length"
|
378 |
msgstr ""
|
379 |
|
380 |
+
#: includes/abstracts/abstract-wc-correios-shipping.php:232
|
381 |
msgid "Minimum length of your shipping packages. Correios needs at least 16cm."
|
382 |
msgstr ""
|
383 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://claudiosmweb.com/doacoes/
|
|
4 |
Tags: shipping, delivery, woocommerce, correios
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.7
|
7 |
-
Stable tag: 3.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -203,6 +203,12 @@ Em caso de dúvidas, basta abrir um tópico no [fórum de suporte do plugin](htt
|
|
203 |
|
204 |
== Changelog ==
|
205 |
|
|
|
|
|
|
|
|
|
|
|
|
|
206 |
= 3.1.5 - 2016/12/31 =
|
207 |
|
208 |
- Adicionado link para a página de rastreio do pedido nas notas do pedido.
|
@@ -274,8 +280,8 @@ Em caso de dúvidas, basta abrir um tópico no [fórum de suporte do plugin](htt
|
|
274 |
|
275 |
== Upgrade Notice ==
|
276 |
|
277 |
-
= 3.1.
|
278 |
|
279 |
-
-
|
280 |
-
-
|
281 |
-
-
|
4 |
Tags: shipping, delivery, woocommerce, correios
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.7
|
7 |
+
Stable tag: 3.1.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
203 |
|
204 |
== Changelog ==
|
205 |
|
206 |
+
= 3.1.6 - 2017/01/05 =
|
207 |
+
|
208 |
+
- Declara valor para os métodos de sedex apenas se o total do pacote for mais do que 17 reais.
|
209 |
+
- Adicionada opção manual para estimativa de entrega para os métodos de Impresso e Carta Registrada.
|
210 |
+
- Corrigida mensagens de alerta do plugin para serem exibidas apenas na página do carrinho.
|
211 |
+
|
212 |
= 3.1.5 - 2016/12/31 =
|
213 |
|
214 |
- Adicionado link para a página de rastreio do pedido nas notas do pedido.
|
280 |
|
281 |
== Upgrade Notice ==
|
282 |
|
283 |
+
= 3.1.6 =
|
284 |
|
285 |
+
- Declara valor para os métodos de sedex apenas se o total do pacote for mais do que 17 reais.
|
286 |
+
- Adicionada opção manual para estimativa de entrega para os métodos de Impresso e Carta Registrada.
|
287 |
+
- Corrigida mensagens de alerta do plugin para serem exibidas apenas na página do carrinho.
|
woocommerce-correios.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Adds Correios shipping methods to your WooCommerce store.
|
6 |
* Author: Claudio Sanches
|
7 |
* Author URI: https://claudiosmweb.com
|
8 |
-
* Version: 3.1.
|
9 |
* License: GPLv2 or later
|
10 |
* Text Domain: woocommerce-correios
|
11 |
* Domain Path: /languages
|
@@ -27,7 +27,6 @@
|
|
27 |
* @package WooCommerce_Correios
|
28 |
*/
|
29 |
|
30 |
-
|
31 |
if ( ! defined( 'ABSPATH' ) ) {
|
32 |
exit; // Exit if accessed directly.
|
33 |
}
|
@@ -44,7 +43,7 @@ if ( ! class_exists( 'WC_Correios' ) ) :
|
|
44 |
*
|
45 |
* @var string
|
46 |
*/
|
47 |
-
const VERSION = '3.1.
|
48 |
|
49 |
/**
|
50 |
* Instance of this class.
|
5 |
* Description: Adds Correios shipping methods to your WooCommerce store.
|
6 |
* Author: Claudio Sanches
|
7 |
* Author URI: https://claudiosmweb.com
|
8 |
+
* Version: 3.1.6
|
9 |
* License: GPLv2 or later
|
10 |
* Text Domain: woocommerce-correios
|
11 |
* Domain Path: /languages
|
27 |
* @package WooCommerce_Correios
|
28 |
*/
|
29 |
|
|
|
30 |
if ( ! defined( 'ABSPATH' ) ) {
|
31 |
exit; // Exit if accessed directly.
|
32 |
}
|
43 |
*
|
44 |
* @var string
|
45 |
*/
|
46 |
+
const VERSION = '3.1.6';
|
47 |
|
48 |
/**
|
49 |
* Instance of this class.
|