Version Description
2016/03/20 =
Corrigida as mascaras quando no esta preenchendo um endereo brasileiro.
Includos os campos de bairro e nmero no mtodo
WC_Order::get_order_address()
.
Download this release
Release Info
Developer | claudiosanches |
Plugin | WooCommerce Extra Checkout Fields for Brazil |
Version | 3.4.3 |
Comparing to | |
See all releases |
Code changes from version 3.4.2 to 3.4.3
assets/js/frontend/frontend.js
CHANGED
@@ -5,7 +5,7 @@ jQuery( function( $ ) {
|
|
5 |
/**
|
6 |
* Frontend actions
|
7 |
*/
|
8 |
-
var
|
9 |
|
10 |
/**
|
11 |
* Initialize frontend actions
|
@@ -18,7 +18,23 @@ jQuery( function( $ ) {
|
|
18 |
}
|
19 |
|
20 |
if ( 'yes' === wcbcf_public_params.maskedinput ) {
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
}
|
23 |
|
24 |
if ( 'yes' === wcbcf_public_params.mailcheck ) {
|
@@ -95,33 +111,45 @@ jQuery( function( $ ) {
|
|
95 |
}
|
96 |
},
|
97 |
|
98 |
-
|
99 |
-
|
100 |
-
|
|
|
|
|
|
|
|
|
101 |
|
102 |
-
|
103 |
-
$( '#
|
|
|
104 |
|
105 |
-
|
106 |
-
$( '#
|
107 |
-
|
108 |
-
element = $( this );
|
109 |
-
element.unmask();
|
110 |
-
phone = element.val().replace( /\D/g, '' );
|
111 |
-
|
112 |
-
if ( phone.length > 10 ) {
|
113 |
-
element.mask( '(99) 99999-999?9' );
|
114 |
-
} else {
|
115 |
-
element.mask( '(99) 9999-9999?9' );
|
116 |
-
}
|
117 |
-
}).trigger( 'focusout' );
|
118 |
|
119 |
-
|
120 |
-
$( '#
|
|
|
121 |
|
122 |
-
|
123 |
-
$( '#
|
124 |
-
$( '#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
},
|
126 |
|
127 |
emailCheck: function() {
|
@@ -192,10 +220,10 @@ jQuery( function( $ ) {
|
|
192 |
|
193 |
addressAutoCompleteOnChange: function( field ) {
|
194 |
$( '#' + field + '_postcode' ).on( 'blur', function () {
|
195 |
-
|
196 |
});
|
197 |
}
|
198 |
};
|
199 |
|
200 |
-
|
201 |
});
|
5 |
/**
|
6 |
* Frontend actions
|
7 |
*/
|
8 |
+
var wc_ecfb_frontend = {
|
9 |
|
10 |
/**
|
11 |
* Initialize frontend actions
|
18 |
}
|
19 |
|
20 |
if ( 'yes' === wcbcf_public_params.maskedinput ) {
|
21 |
+
$( document.body ).on( 'change', '#billing_country', function() {
|
22 |
+
if ( 'BR' === $( this ).val() ) {
|
23 |
+
wc_ecfb_frontend.maskBilling();
|
24 |
+
} else {
|
25 |
+
wc_ecfb_frontend.unmaskBilling();
|
26 |
+
}
|
27 |
+
});
|
28 |
+
|
29 |
+
$( document.body ).on( 'change', '#shipping_country', function() {
|
30 |
+
if ( 'BR' === $( this ).val() ) {
|
31 |
+
wc_ecfb_frontend.maskShipping();
|
32 |
+
} else {
|
33 |
+
wc_ecfb_frontend.unmaskShipping();
|
34 |
+
}
|
35 |
+
});
|
36 |
+
|
37 |
+
this.maskGeneral();
|
38 |
}
|
39 |
|
40 |
if ( 'yes' === wcbcf_public_params.mailcheck ) {
|
111 |
}
|
112 |
},
|
113 |
|
114 |
+
maskBilling: function() {
|
115 |
+
$( '#billing_phone, #billing_cellphone' )
|
116 |
+
.focusout( wc_ecfb_frontend.maskPhone )
|
117 |
+
.trigger( 'focusout' );
|
118 |
+
$( '#billing_birthdate' ).mask( '99/99/9999' );
|
119 |
+
$( '#billing_postcode' ).mask( '99999-999' );
|
120 |
+
},
|
121 |
|
122 |
+
unmaskBilling: function() {
|
123 |
+
$( '#billing_phone, #billing_cellphone, #billing_birthdate, #billing_postcode' ).unmask();
|
124 |
+
},
|
125 |
|
126 |
+
maskShipping: function() {
|
127 |
+
$( '#shipping_postcode' ).mask( '99999-999' );
|
128 |
+
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
129 |
|
130 |
+
unmaskShipping: function() {
|
131 |
+
$( '#shipping_postcode' ).unmask();
|
132 |
+
},
|
133 |
|
134 |
+
maskGeneral: function() {
|
135 |
+
$( '#billing_cpf, #credit-card-cpf' ).mask( '999.999.999-99' );
|
136 |
+
$( '#billing_cnpj' ).mask( '99.999.999/9999-99' );
|
137 |
+
$( '#credit-card-phone' )
|
138 |
+
.focusout( wc_ecfb_frontend.maskPhone )
|
139 |
+
.trigger( 'focusout' );
|
140 |
+
},
|
141 |
+
|
142 |
+
maskPhone: function() {
|
143 |
+
var phone, element;
|
144 |
+
element = $( this );
|
145 |
+
element.unmask();
|
146 |
+
phone = element.val().replace( /\D/g, '' );
|
147 |
+
|
148 |
+
if ( phone.length > 10 ) {
|
149 |
+
element.mask( '(99) 99999-999?9' );
|
150 |
+
} else {
|
151 |
+
element.mask( '(99) 9999-9999?9' );
|
152 |
+
}
|
153 |
},
|
154 |
|
155 |
emailCheck: function() {
|
220 |
|
221 |
addressAutoCompleteOnChange: function( field ) {
|
222 |
$( '#' + field + '_postcode' ).on( 'blur', function () {
|
223 |
+
wc_ecfb_frontend.addressAutoComplete( field );
|
224 |
});
|
225 |
}
|
226 |
};
|
227 |
|
228 |
+
wc_ecfb_frontend.init();
|
229 |
});
|
assets/js/frontend/frontend.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery(function(a){var b={init:function(){a(document.body).on("country_to_state_changing",this.country_to_state_changing),"0"!==wcbcf_public_params.person_type&&this.person_type_fields(),"yes"===wcbcf_public_params.maskedinput&&this.
|
1 |
+
jQuery(function(a){var b={init:function(){a(document.body).on("country_to_state_changing",this.country_to_state_changing),"0"!==wcbcf_public_params.person_type&&this.person_type_fields(),"yes"===wcbcf_public_params.maskedinput&&(a(document.body).on("change","#billing_country",function(){"BR"===a(this).val()?b.maskBilling():b.unmaskBilling()}),a(document.body).on("change","#shipping_country",function(){"BR"===a(this).val()?b.maskShipping():b.unmaskShipping()}),this.maskGeneral()),"yes"===wcbcf_public_params.mailcheck&&this.emailCheck(),"yes"===wcbcf_public_params.addresscomplete&&(this.addressAutoComplete("billing"),this.addressAutoCompleteOnChange("billing"),this.addressAutoComplete("shipping"),this.addressAutoCompleteOnChange("shipping"))},country_to_state_changing:function(){a("#billing_state_field label").html(wcbcf_public_params.state+' <abbr class="required" title="'+wcbcf_public_params.required+'">*</abbr>'),a("#billing_postcode_field").insertAfter("#billing_country_field"),a("#shipping_state_field").length&&(a("#shipping_state_field label").html(wcbcf_public_params.state+' <abbr class="required" title="'+wcbcf_public_params.required+'">*</abbr>'),a("#shipping_postcode_field").insertAfter("#shipping_country_field"))},person_type_fields:function(){"no"===wcbcf_public_params.only_brazil?(a(".person-type-field").addClass("validate-required"),a(".person-type-field label").append(' <abbr class="required" title="'+wcbcf_public_params.required+'">*</abbr>')):a("#billing_country").on("change",function(){var b=a(this).val();"BR"===b?(a(".person-type-field").addClass("validate-required"),a(".person-type-field label").append(' <abbr class="required" title="'+wcbcf_public_params.required+'">*</abbr>')):(a(".person-type-field").removeClass("validate-required"),a(".person-type-field label abbr").remove())}).change(),"1"===wcbcf_public_params.person_type&&a("#billing_persontype").on("change",function(){var b=a(this).val();a("#billing_cpf_field").hide(),a("#billing_rg_field").hide(),a("#billing_company_field").hide(),a("#billing_cnpj_field").hide(),a("#billing_ie_field").hide(),"1"===b&&(a("#billing_cpf_field").show(),a("#billing_rg_field").show()),"2"===b&&(a("#billing_company_field").show(),a("#billing_cnpj_field").show(),a("#billing_ie_field").show())}).change()},maskBilling:function(){a("#billing_phone, #billing_cellphone").focusout(b.maskPhone).trigger("focusout"),a("#billing_birthdate").mask("99/99/9999"),a("#billing_postcode").mask("99999-999")},unmaskBilling:function(){a("#billing_phone, #billing_cellphone, #billing_birthdate, #billing_postcode").unmask()},maskShipping:function(){a("#shipping_postcode").mask("99999-999")},unmaskShipping:function(){a("#shipping_postcode").unmask()},maskGeneral:function(){a("#billing_cpf, #credit-card-cpf").mask("999.999.999-99"),a("#billing_cnpj").mask("99.999.999/9999-99"),a("#credit-card-phone").focusout(b.maskPhone).trigger("focusout")},maskPhone:function(){var b,c;c=a(this),c.unmask(),b=c.val().replace(/\D/g,""),b.length>10?c.mask("(99) 99999-999?9"):c.mask("(99) 9999-9999?9")},emailCheck:function(){a("#wcbcf-mailsuggest").length<1&&a("#billing_email").after('<div id="wcbcf-mailsuggest"></div>'),a("#billing_email").on("blur",function(){a("#wcbcf-mailsuggest").html(""),a(this).mailcheck({suggested:function(b,c){a("#wcbcf-mailsuggest").html("Você quis dizer: "+c.full+"?")}})}),a("#wcbcf-mailsuggest").css({color:"#c00",fontSize:"small"})},addressAutoComplete:function(b){if(a("#"+b+"_postcode").length){var c=a("#"+b+"_postcode").val().replace(".","").replace("-",""),d=a("#"+b+"_country").val(),e=a("#"+b+"_address_1").val();""!==c&&8===c.length&&"BR"===d&&0===e.length&&a.ajax({type:"GET",url:"//correiosapi.apphb.com/cep/"+c,dataType:"jsonp",crossDomain:!0,contentType:"application/json",success:function(c){""!==c.tipoDeLogradouro?a("#"+b+"_address_1").val(c.tipoDeLogradouro+" "+c.logradouro).change():a("#"+b+"_address_1").val(c.logradouro).change(),a("#"+b+"_neighborhood").val(c.bairro).change(),a("#"+b+"_city").val(c.cidade).change(),a("#"+b+"_state option:selected").attr("selected",!1).change(),a("#"+b+'_state option[value="'+c.estado+'"]').attr("selected","selected").change(),a("#"+b+"_state").trigger("liszt:updated").trigger("chosen:updated")}})}},addressAutoCompleteOnChange:function(c){a("#"+c+"_postcode").on("blur",function(){b.addressAutoComplete(c)})}};b.init()});
|
includes/class-wc-ecfb-front-end.php
CHANGED
@@ -31,6 +31,9 @@ class Extra_Checkout_Fields_For_Brazil_Front_End {
|
|
31 |
add_filter( 'woocommerce_order_formatted_billing_address', array( $this, 'order_formatted_billing_address' ), 1, 2 );
|
32 |
add_filter( 'woocommerce_order_formatted_shipping_address', array( $this, 'order_formatted_shipping_address' ), 1, 2 );
|
33 |
add_filter( 'woocommerce_my_account_my_address_formatted_address', array( $this, 'my_account_my_address_formatted_address' ), 1, 3 );
|
|
|
|
|
|
|
34 |
}
|
35 |
|
36 |
/**
|
@@ -76,8 +79,8 @@ class Extra_Checkout_Fields_For_Brazil_Front_End {
|
|
76 |
|
77 |
// Get plugin settings.
|
78 |
$settings = get_option( 'wcbcf_settings' );
|
|
|
79 |
|
80 |
-
// Fix checkout fields.
|
81 |
wp_enqueue_script( 'woocommerce-extra-checkout-fields-for-brazil-front', plugins_url( 'assets/js/frontend/frontend' . $suffix . '.js', plugin_dir_path( __FILE__ ) ), array( 'jquery', 'jquery-maskedinput', 'mailcheck' ), Extra_Checkout_Fields_For_Brazil::VERSION, true );
|
82 |
wp_localize_script(
|
83 |
'woocommerce-extra-checkout-fields-for-brazil-front',
|
@@ -87,7 +90,7 @@ class Extra_Checkout_Fields_For_Brazil_Front_End {
|
|
87 |
'required' => esc_js( __( 'required', 'woocommerce-extra-checkout-fields-for-brazil' ) ),
|
88 |
'mailcheck' => isset( $settings['mailcheck'] ) ? 'yes' : 'no',
|
89 |
'maskedinput' => isset( $settings['maskedinput'] ) ? 'yes' : 'no',
|
90 |
-
'addresscomplete' =>
|
91 |
'person_type' => absint( $settings['person_type'] ),
|
92 |
'only_brazil' => isset( $settings['only_brazil'] ) ? 'yes' : 'no'
|
93 |
)
|
@@ -607,6 +610,24 @@ class Extra_Checkout_Fields_For_Brazil_Front_End {
|
|
607 |
|
608 |
return $address;
|
609 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
610 |
}
|
611 |
|
612 |
new Extra_Checkout_Fields_For_Brazil_Front_End();
|
31 |
add_filter( 'woocommerce_order_formatted_billing_address', array( $this, 'order_formatted_billing_address' ), 1, 2 );
|
32 |
add_filter( 'woocommerce_order_formatted_shipping_address', array( $this, 'order_formatted_shipping_address' ), 1, 2 );
|
33 |
add_filter( 'woocommerce_my_account_my_address_formatted_address', array( $this, 'my_account_my_address_formatted_address' ), 1, 3 );
|
34 |
+
|
35 |
+
// Orders.
|
36 |
+
add_filter( 'woocommerce_get_order_address', array( $this, 'order_address' ), 10, 3 );
|
37 |
}
|
38 |
|
39 |
/**
|
79 |
|
80 |
// Get plugin settings.
|
81 |
$settings = get_option( 'wcbcf_settings' );
|
82 |
+
$autofill = isset( $settings['addresscomplete'] ) ? 'yes' : 'no';
|
83 |
|
|
|
84 |
wp_enqueue_script( 'woocommerce-extra-checkout-fields-for-brazil-front', plugins_url( 'assets/js/frontend/frontend' . $suffix . '.js', plugin_dir_path( __FILE__ ) ), array( 'jquery', 'jquery-maskedinput', 'mailcheck' ), Extra_Checkout_Fields_For_Brazil::VERSION, true );
|
85 |
wp_localize_script(
|
86 |
'woocommerce-extra-checkout-fields-for-brazil-front',
|
90 |
'required' => esc_js( __( 'required', 'woocommerce-extra-checkout-fields-for-brazil' ) ),
|
91 |
'mailcheck' => isset( $settings['mailcheck'] ) ? 'yes' : 'no',
|
92 |
'maskedinput' => isset( $settings['maskedinput'] ) ? 'yes' : 'no',
|
93 |
+
'addresscomplete' => class_exists( 'WC_Autofill_Brazilian_Addresses' ) ? false : $autofill,
|
94 |
'person_type' => absint( $settings['person_type'] ),
|
95 |
'only_brazil' => isset( $settings['only_brazil'] ) ? 'yes' : 'no'
|
96 |
)
|
610 |
|
611 |
return $address;
|
612 |
}
|
613 |
+
|
614 |
+
/**
|
615 |
+
* Order address.
|
616 |
+
*
|
617 |
+
* @param array $address
|
618 |
+
* @param string $type
|
619 |
+
* @param WC_Order $order
|
620 |
+
* @return array
|
621 |
+
*/
|
622 |
+
public function order_address( $address, $type, $order ) {
|
623 |
+
$number = $type . '_number';
|
624 |
+
$neighborhood = $type . 'neighborhood';
|
625 |
+
|
626 |
+
$address['number'] = $this->$number;
|
627 |
+
$address['neighborhood'] = $this->$neighborhood;
|
628 |
+
|
629 |
+
return $address;
|
630 |
+
}
|
631 |
}
|
632 |
|
633 |
new Extra_Checkout_Fields_For_Brazil_Front_End();
|
languages/woocommerce-extra-checkout-fields-for-brazil.pot
CHANGED
@@ -2,11 +2,11 @@
|
|
2 |
# This file is distributed under the GPL-2.0+.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: WooCommerce Extra Checkout Fields for Brazil 3.4.
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/woocommerce-extra-checkout-fields-for-"
|
8 |
"brazil\n"
|
9 |
-
"POT-Creation-Date: 2016-
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=utf-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -30,50 +30,50 @@ msgstr ""
|
|
30 |
#: includes/admin/class-wc-ecfb-customer.php:40
|
31 |
#: includes/admin/class-wc-ecfb-order.php:58
|
32 |
#: includes/admin/class-wc-ecfb-order.php:266
|
33 |
-
#: includes/class-wc-ecfb-front-end.php:
|
34 |
-
#: includes/class-wc-ecfb-front-end.php:
|
35 |
-
#: includes/class-wc-ecfb-front-end.php:
|
36 |
-
#: includes/class-wc-ecfb-front-end.php:
|
37 |
msgid "CPF"
|
38 |
msgstr ""
|
39 |
|
40 |
#: includes/admin/class-wc-ecfb-customer.php:46
|
41 |
#: includes/admin/class-wc-ecfb-order.php:62
|
42 |
#: includes/admin/class-wc-ecfb-order.php:269
|
43 |
-
#: includes/class-wc-ecfb-front-end.php:
|
44 |
-
#: includes/class-wc-ecfb-front-end.php:
|
45 |
msgid "RG"
|
46 |
msgstr ""
|
47 |
|
48 |
#: includes/admin/class-wc-ecfb-customer.php:55
|
49 |
#: includes/admin/class-wc-ecfb-order.php:72
|
50 |
#: includes/admin/class-wc-ecfb-order.php:275
|
51 |
-
#: includes/class-wc-ecfb-front-end.php:
|
52 |
-
#: includes/class-wc-ecfb-front-end.php:
|
53 |
-
#: includes/class-wc-ecfb-front-end.php:
|
54 |
-
#: includes/class-wc-ecfb-front-end.php:
|
55 |
msgid "CNPJ"
|
56 |
msgstr ""
|
57 |
|
58 |
#: includes/admin/class-wc-ecfb-customer.php:61
|
59 |
#: includes/admin/class-wc-ecfb-order.php:76
|
60 |
#: includes/admin/class-wc-ecfb-order.php:278
|
61 |
-
#: includes/class-wc-ecfb-front-end.php:
|
62 |
-
#: includes/class-wc-ecfb-front-end.php:
|
63 |
msgid "State Registration"
|
64 |
msgstr ""
|
65 |
|
66 |
#: includes/admin/class-wc-ecfb-customer.php:72
|
67 |
#: includes/admin/class-wc-ecfb-order.php:90
|
68 |
#: includes/admin/class-wc-ecfb-order.php:288
|
69 |
-
#: includes/class-wc-ecfb-front-end.php:
|
70 |
msgid "Birthdate"
|
71 |
msgstr ""
|
72 |
|
73 |
#: includes/admin/class-wc-ecfb-customer.php:76
|
74 |
#: includes/admin/class-wc-ecfb-order.php:93
|
75 |
#: includes/admin/class-wc-ecfb-order.php:291
|
76 |
-
#: includes/class-wc-ecfb-front-end.php:
|
77 |
msgid "Sex"
|
78 |
msgstr ""
|
79 |
|
@@ -81,8 +81,8 @@ msgstr ""
|
|
81 |
#: includes/admin/class-wc-ecfb-customer.php:113
|
82 |
#: includes/admin/class-wc-ecfb-order.php:102
|
83 |
#: includes/admin/class-wc-ecfb-order.php:177
|
84 |
-
#: includes/class-wc-ecfb-front-end.php:
|
85 |
-
#: includes/class-wc-ecfb-front-end.php:
|
86 |
msgid "Number"
|
87 |
msgstr ""
|
88 |
|
@@ -90,15 +90,15 @@ msgstr ""
|
|
90 |
#: includes/admin/class-wc-ecfb-customer.php:118
|
91 |
#: includes/admin/class-wc-ecfb-order.php:110
|
92 |
#: includes/admin/class-wc-ecfb-order.php:185
|
93 |
-
#: includes/class-wc-ecfb-front-end.php:
|
94 |
-
#: includes/class-wc-ecfb-front-end.php:
|
95 |
msgid "Neighborhood"
|
96 |
msgstr ""
|
97 |
|
98 |
#: includes/admin/class-wc-ecfb-customer.php:99
|
99 |
#: includes/admin/class-wc-ecfb-order.php:140
|
100 |
#: includes/admin/class-wc-ecfb-order.php:298
|
101 |
-
#: includes/class-wc-ecfb-front-end.php:
|
102 |
msgid "Cell Phone"
|
103 |
msgstr ""
|
104 |
|
@@ -108,52 +108,52 @@ msgstr ""
|
|
108 |
|
109 |
#: includes/admin/class-wc-ecfb-order.php:35
|
110 |
#: includes/admin/class-wc-ecfb-order.php:161
|
111 |
-
#: includes/class-wc-ecfb-front-end.php:
|
112 |
-
#: includes/class-wc-ecfb-front-end.php:
|
113 |
msgid "First Name"
|
114 |
msgstr ""
|
115 |
|
116 |
#: includes/admin/class-wc-ecfb-order.php:39
|
117 |
#: includes/admin/class-wc-ecfb-order.php:165
|
118 |
-
#: includes/class-wc-ecfb-front-end.php:
|
119 |
-
#: includes/class-wc-ecfb-front-end.php:
|
120 |
msgid "Last Name"
|
121 |
msgstr ""
|
122 |
|
123 |
#: includes/admin/class-wc-ecfb-order.php:47
|
124 |
-
#: includes/class-wc-ecfb-front-end.php:
|
125 |
-
#: includes/class-wc-ecfb-front-end.php:
|
126 |
msgid "Person type"
|
127 |
msgstr ""
|
128 |
|
129 |
#: includes/admin/class-wc-ecfb-order.php:49
|
130 |
-
#: includes/class-wc-ecfb-front-end.php:
|
131 |
-
#: includes/class-wc-ecfb-front-end.php:
|
132 |
msgid "Select"
|
133 |
msgstr ""
|
134 |
|
135 |
#: includes/admin/class-wc-ecfb-order.php:50
|
136 |
-
#: includes/class-wc-ecfb-front-end.php:
|
137 |
msgid "Individuals"
|
138 |
msgstr ""
|
139 |
|
140 |
#: includes/admin/class-wc-ecfb-order.php:51
|
141 |
-
#: includes/class-wc-ecfb-front-end.php:
|
142 |
msgid "Legal Person"
|
143 |
msgstr ""
|
144 |
|
145 |
#: includes/admin/class-wc-ecfb-order.php:69
|
146 |
#: includes/admin/class-wc-ecfb-order.php:274
|
147 |
-
#: includes/class-wc-ecfb-front-end.php:
|
148 |
msgid "Company Name"
|
149 |
msgstr ""
|
150 |
|
151 |
#: includes/admin/class-wc-ecfb-order.php:83
|
152 |
#: includes/admin/class-wc-ecfb-order.php:169
|
153 |
#: includes/admin/class-wc-ecfb-order.php:282
|
154 |
-
#: includes/class-wc-ecfb-front-end.php:
|
155 |
-
#: includes/class-wc-ecfb-front-end.php:
|
156 |
-
#: includes/class-wc-ecfb-front-end.php:
|
157 |
msgid "Company"
|
158 |
msgstr ""
|
159 |
|
@@ -169,23 +169,23 @@ msgstr ""
|
|
169 |
|
170 |
#: includes/admin/class-wc-ecfb-order.php:114
|
171 |
#: includes/admin/class-wc-ecfb-order.php:189
|
172 |
-
#: includes/class-wc-ecfb-front-end.php:
|
173 |
-
#: includes/class-wc-ecfb-front-end.php:
|
174 |
msgid "City"
|
175 |
msgstr ""
|
176 |
|
177 |
#: includes/admin/class-wc-ecfb-order.php:118
|
178 |
#: includes/admin/class-wc-ecfb-order.php:193
|
179 |
-
#: includes/class-wc-ecfb-front-end.php:
|
180 |
-
#: includes/class-wc-ecfb-front-end.php:
|
181 |
-
#: includes/class-wc-ecfb-front-end.php:
|
182 |
msgid "State"
|
183 |
msgstr ""
|
184 |
|
185 |
#: includes/admin/class-wc-ecfb-order.php:122
|
186 |
#: includes/admin/class-wc-ecfb-order.php:197
|
187 |
-
#: includes/class-wc-ecfb-front-end.php:
|
188 |
-
#: includes/class-wc-ecfb-front-end.php:
|
189 |
msgid "Country"
|
190 |
msgstr ""
|
191 |
|
@@ -201,15 +201,15 @@ msgstr ""
|
|
201 |
|
202 |
#: includes/admin/class-wc-ecfb-order.php:135
|
203 |
#: includes/admin/class-wc-ecfb-order.php:294
|
204 |
-
#: includes/class-wc-ecfb-front-end.php:
|
205 |
-
#: includes/class-wc-ecfb-front-end.php:
|
206 |
msgid "Phone"
|
207 |
msgstr ""
|
208 |
|
209 |
#: includes/admin/class-wc-ecfb-order.php:145
|
210 |
#: includes/admin/class-wc-ecfb-order.php:301
|
211 |
-
#: includes/class-wc-ecfb-front-end.php:
|
212 |
-
#: includes/class-wc-ecfb-front-end.php:
|
213 |
msgid "Email"
|
214 |
msgstr ""
|
215 |
|
@@ -217,8 +217,8 @@ msgstr ""
|
|
217 |
#: includes/admin/class-wc-ecfb-order.php:253
|
218 |
#: includes/admin/class-wc-ecfb-order.php:327
|
219 |
#: includes/admin/class-wc-ecfb-order.php:330
|
220 |
-
#: includes/class-wc-ecfb-front-end.php:
|
221 |
-
#: includes/class-wc-ecfb-front-end.php:
|
222 |
msgid "Address"
|
223 |
msgstr ""
|
224 |
|
@@ -363,39 +363,39 @@ msgstr ""
|
|
363 |
msgid "Checks if the CNPJ is valid."
|
364 |
msgstr ""
|
365 |
|
366 |
-
#: includes/class-wc-ecfb-front-end.php:
|
367 |
msgid "required"
|
368 |
msgstr ""
|
369 |
|
370 |
-
#: includes/class-wc-ecfb-front-end.php:
|
371 |
msgid "Female"
|
372 |
msgstr ""
|
373 |
|
374 |
-
#: includes/class-wc-ecfb-front-end.php:
|
375 |
msgid "Male"
|
376 |
msgstr ""
|
377 |
|
378 |
-
#: includes/class-wc-ecfb-front-end.php:
|
379 |
-
#: includes/class-wc-ecfb-front-end.php:
|
380 |
msgid "Post Code"
|
381 |
msgstr ""
|
382 |
|
383 |
-
#: includes/class-wc-ecfb-front-end.php:
|
384 |
-
#: includes/class-wc-ecfb-front-end.php:
|
385 |
msgid "Address line 2"
|
386 |
msgstr ""
|
387 |
|
388 |
-
#: includes/class-wc-ecfb-front-end.php:
|
389 |
-
#: includes/class-wc-ecfb-front-end.php:
|
390 |
-
#: includes/class-wc-ecfb-front-end.php:
|
391 |
-
#: includes/class-wc-ecfb-front-end.php:
|
392 |
-
#: includes/class-wc-ecfb-front-end.php:
|
393 |
-
#: includes/class-wc-ecfb-front-end.php:
|
394 |
msgid "is a required field"
|
395 |
msgstr ""
|
396 |
|
397 |
-
#: includes/class-wc-ecfb-front-end.php:
|
398 |
-
#: includes/class-wc-ecfb-front-end.php:
|
399 |
msgid "is not valid"
|
400 |
msgstr ""
|
401 |
|
@@ -430,117 +430,117 @@ msgstr ""
|
|
430 |
msgid "http://claudiosmweb.com/"
|
431 |
msgstr ""
|
432 |
|
433 |
-
#: includes/class-wc-ecfb-front-end.php:
|
434 |
-
#: includes/class-wc-ecfb-front-end.php:
|
435 |
msgctxt "placeholder"
|
436 |
msgid "First Name"
|
437 |
msgstr ""
|
438 |
|
439 |
-
#: includes/class-wc-ecfb-front-end.php:
|
440 |
-
#: includes/class-wc-ecfb-front-end.php:
|
441 |
msgctxt "placeholder"
|
442 |
msgid "Last Name"
|
443 |
msgstr ""
|
444 |
|
445 |
-
#: includes/class-wc-ecfb-front-end.php:
|
446 |
-
#: includes/class-wc-ecfb-front-end.php:
|
447 |
msgctxt "placeholder"
|
448 |
msgid "CPF"
|
449 |
msgstr ""
|
450 |
|
451 |
-
#: includes/class-wc-ecfb-front-end.php:
|
452 |
msgctxt "placeholder"
|
453 |
msgid "RG"
|
454 |
msgstr ""
|
455 |
|
456 |
-
#: includes/class-wc-ecfb-front-end.php:
|
457 |
msgctxt "placeholder"
|
458 |
msgid "Company Name"
|
459 |
msgstr ""
|
460 |
|
461 |
-
#: includes/class-wc-ecfb-front-end.php:
|
462 |
-
#: includes/class-wc-ecfb-front-end.php:
|
463 |
msgctxt "placeholder"
|
464 |
msgid "CNPJ"
|
465 |
msgstr ""
|
466 |
|
467 |
-
#: includes/class-wc-ecfb-front-end.php:
|
468 |
msgctxt "placeholder"
|
469 |
msgid "State Registration"
|
470 |
msgstr ""
|
471 |
|
472 |
-
#: includes/class-wc-ecfb-front-end.php:
|
473 |
-
#: includes/class-wc-ecfb-front-end.php:
|
474 |
msgctxt "placeholder"
|
475 |
msgid "Company"
|
476 |
msgstr ""
|
477 |
|
478 |
-
#: includes/class-wc-ecfb-front-end.php:
|
479 |
msgctxt "placeholder"
|
480 |
msgid "Birthdate"
|
481 |
msgstr ""
|
482 |
|
483 |
-
#: includes/class-wc-ecfb-front-end.php:
|
484 |
-
#: includes/class-wc-ecfb-front-end.php:
|
485 |
msgctxt "placeholder"
|
486 |
msgid "Country"
|
487 |
msgstr ""
|
488 |
|
489 |
-
#: includes/class-wc-ecfb-front-end.php:
|
490 |
-
#: includes/class-wc-ecfb-front-end.php:
|
491 |
msgctxt "placeholder"
|
492 |
msgid "Post Code"
|
493 |
msgstr ""
|
494 |
|
495 |
-
#: includes/class-wc-ecfb-front-end.php:
|
496 |
-
#: includes/class-wc-ecfb-front-end.php:
|
497 |
msgctxt "placeholder"
|
498 |
msgid "Address"
|
499 |
msgstr ""
|
500 |
|
501 |
-
#: includes/class-wc-ecfb-front-end.php:
|
502 |
-
#: includes/class-wc-ecfb-front-end.php:
|
503 |
msgctxt "placeholder"
|
504 |
msgid "Number"
|
505 |
msgstr ""
|
506 |
|
507 |
-
#: includes/class-wc-ecfb-front-end.php:
|
508 |
-
#: includes/class-wc-ecfb-front-end.php:
|
509 |
msgctxt "placeholder"
|
510 |
msgid "Address line 2"
|
511 |
msgstr ""
|
512 |
|
513 |
-
#: includes/class-wc-ecfb-front-end.php:
|
514 |
-
#: includes/class-wc-ecfb-front-end.php:
|
515 |
msgctxt "placeholder"
|
516 |
msgid "Neighborhood"
|
517 |
msgstr ""
|
518 |
|
519 |
-
#: includes/class-wc-ecfb-front-end.php:
|
520 |
-
#: includes/class-wc-ecfb-front-end.php:
|
521 |
msgctxt "placeholder"
|
522 |
msgid "City"
|
523 |
msgstr ""
|
524 |
|
525 |
-
#: includes/class-wc-ecfb-front-end.php:
|
526 |
-
#: includes/class-wc-ecfb-front-end.php:
|
527 |
msgctxt "placeholder"
|
528 |
msgid "State"
|
529 |
msgstr ""
|
530 |
|
531 |
-
#: includes/class-wc-ecfb-front-end.php:
|
532 |
-
#: includes/class-wc-ecfb-front-end.php:
|
533 |
msgctxt "placeholder"
|
534 |
msgid "Phone"
|
535 |
msgstr ""
|
536 |
|
537 |
-
#: includes/class-wc-ecfb-front-end.php:
|
538 |
msgctxt "placeholder"
|
539 |
msgid "Cell Phone"
|
540 |
msgstr ""
|
541 |
|
542 |
-
#: includes/class-wc-ecfb-front-end.php:
|
543 |
-
#: includes/class-wc-ecfb-front-end.php:
|
544 |
msgctxt "placeholder"
|
545 |
msgid "Email"
|
546 |
msgstr ""
|
2 |
# This file is distributed under the GPL-2.0+.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: WooCommerce Extra Checkout Fields for Brazil 3.4.3\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/woocommerce-extra-checkout-fields-for-"
|
8 |
"brazil\n"
|
9 |
+
"POT-Creation-Date: 2016-03-21 02:56:41+00:00\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=utf-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
30 |
#: includes/admin/class-wc-ecfb-customer.php:40
|
31 |
#: includes/admin/class-wc-ecfb-order.php:58
|
32 |
#: includes/admin/class-wc-ecfb-order.php:266
|
33 |
+
#: includes/class-wc-ecfb-front-end.php:153
|
34 |
+
#: includes/class-wc-ecfb-front-end.php:169
|
35 |
+
#: includes/class-wc-ecfb-front-end.php:505
|
36 |
+
#: includes/class-wc-ecfb-front-end.php:509
|
37 |
msgid "CPF"
|
38 |
msgstr ""
|
39 |
|
40 |
#: includes/admin/class-wc-ecfb-customer.php:46
|
41 |
#: includes/admin/class-wc-ecfb-order.php:62
|
42 |
#: includes/admin/class-wc-ecfb-order.php:269
|
43 |
+
#: includes/class-wc-ecfb-front-end.php:161
|
44 |
+
#: includes/class-wc-ecfb-front-end.php:513
|
45 |
msgid "RG"
|
46 |
msgstr ""
|
47 |
|
48 |
#: includes/admin/class-wc-ecfb-customer.php:55
|
49 |
#: includes/admin/class-wc-ecfb-order.php:72
|
50 |
#: includes/admin/class-wc-ecfb-order.php:275
|
51 |
+
#: includes/class-wc-ecfb-front-end.php:190
|
52 |
+
#: includes/class-wc-ecfb-front-end.php:205
|
53 |
+
#: includes/class-wc-ecfb-front-end.php:524
|
54 |
+
#: includes/class-wc-ecfb-front-end.php:528
|
55 |
msgid "CNPJ"
|
56 |
msgstr ""
|
57 |
|
58 |
#: includes/admin/class-wc-ecfb-customer.php:61
|
59 |
#: includes/admin/class-wc-ecfb-order.php:76
|
60 |
#: includes/admin/class-wc-ecfb-order.php:278
|
61 |
+
#: includes/class-wc-ecfb-front-end.php:197
|
62 |
+
#: includes/class-wc-ecfb-front-end.php:532
|
63 |
msgid "State Registration"
|
64 |
msgstr ""
|
65 |
|
66 |
#: includes/admin/class-wc-ecfb-customer.php:72
|
67 |
#: includes/admin/class-wc-ecfb-order.php:90
|
68 |
#: includes/admin/class-wc-ecfb-order.php:288
|
69 |
+
#: includes/class-wc-ecfb-front-end.php:227
|
70 |
msgid "Birthdate"
|
71 |
msgstr ""
|
72 |
|
73 |
#: includes/admin/class-wc-ecfb-customer.php:76
|
74 |
#: includes/admin/class-wc-ecfb-order.php:93
|
75 |
#: includes/admin/class-wc-ecfb-order.php:291
|
76 |
+
#: includes/class-wc-ecfb-front-end.php:237
|
77 |
msgid "Sex"
|
78 |
msgstr ""
|
79 |
|
81 |
#: includes/admin/class-wc-ecfb-customer.php:113
|
82 |
#: includes/admin/class-wc-ecfb-order.php:102
|
83 |
#: includes/admin/class-wc-ecfb-order.php:177
|
84 |
+
#: includes/class-wc-ecfb-front-end.php:279
|
85 |
+
#: includes/class-wc-ecfb-front-end.php:436
|
86 |
msgid "Number"
|
87 |
msgstr ""
|
88 |
|
90 |
#: includes/admin/class-wc-ecfb-customer.php:118
|
91 |
#: includes/admin/class-wc-ecfb-order.php:110
|
92 |
#: includes/admin/class-wc-ecfb-order.php:185
|
93 |
+
#: includes/class-wc-ecfb-front-end.php:295
|
94 |
+
#: includes/class-wc-ecfb-front-end.php:452
|
95 |
msgid "Neighborhood"
|
96 |
msgstr ""
|
97 |
|
98 |
#: includes/admin/class-wc-ecfb-customer.php:99
|
99 |
#: includes/admin/class-wc-ecfb-order.php:140
|
100 |
#: includes/admin/class-wc-ecfb-order.php:298
|
101 |
+
#: includes/class-wc-ecfb-front-end.php:331
|
102 |
msgid "Cell Phone"
|
103 |
msgstr ""
|
104 |
|
108 |
|
109 |
#: includes/admin/class-wc-ecfb-order.php:35
|
110 |
#: includes/admin/class-wc-ecfb-order.php:161
|
111 |
+
#: includes/class-wc-ecfb-front-end.php:117
|
112 |
+
#: includes/class-wc-ecfb-front-end.php:386
|
113 |
msgid "First Name"
|
114 |
msgstr ""
|
115 |
|
116 |
#: includes/admin/class-wc-ecfb-order.php:39
|
117 |
#: includes/admin/class-wc-ecfb-order.php:165
|
118 |
+
#: includes/class-wc-ecfb-front-end.php:125
|
119 |
+
#: includes/class-wc-ecfb-front-end.php:394
|
120 |
msgid "Last Name"
|
121 |
msgstr ""
|
122 |
|
123 |
#: includes/admin/class-wc-ecfb-order.php:47
|
124 |
+
#: includes/class-wc-ecfb-front-end.php:138
|
125 |
+
#: includes/class-wc-ecfb-front-end.php:499
|
126 |
msgid "Person type"
|
127 |
msgstr ""
|
128 |
|
129 |
#: includes/admin/class-wc-ecfb-order.php:49
|
130 |
+
#: includes/class-wc-ecfb-front-end.php:142
|
131 |
+
#: includes/class-wc-ecfb-front-end.php:242
|
132 |
msgid "Select"
|
133 |
msgstr ""
|
134 |
|
135 |
#: includes/admin/class-wc-ecfb-order.php:50
|
136 |
+
#: includes/class-wc-ecfb-front-end.php:143
|
137 |
msgid "Individuals"
|
138 |
msgstr ""
|
139 |
|
140 |
#: includes/admin/class-wc-ecfb-order.php:51
|
141 |
+
#: includes/class-wc-ecfb-front-end.php:144
|
142 |
msgid "Legal Person"
|
143 |
msgstr ""
|
144 |
|
145 |
#: includes/admin/class-wc-ecfb-order.php:69
|
146 |
#: includes/admin/class-wc-ecfb-order.php:274
|
147 |
+
#: includes/class-wc-ecfb-front-end.php:180
|
148 |
msgid "Company Name"
|
149 |
msgstr ""
|
150 |
|
151 |
#: includes/admin/class-wc-ecfb-order.php:83
|
152 |
#: includes/admin/class-wc-ecfb-order.php:169
|
153 |
#: includes/admin/class-wc-ecfb-order.php:282
|
154 |
+
#: includes/class-wc-ecfb-front-end.php:216
|
155 |
+
#: includes/class-wc-ecfb-front-end.php:403
|
156 |
+
#: includes/class-wc-ecfb-front-end.php:520
|
157 |
msgid "Company"
|
158 |
msgstr ""
|
159 |
|
169 |
|
170 |
#: includes/admin/class-wc-ecfb-order.php:114
|
171 |
#: includes/admin/class-wc-ecfb-order.php:189
|
172 |
+
#: includes/class-wc-ecfb-front-end.php:303
|
173 |
+
#: includes/class-wc-ecfb-front-end.php:460
|
174 |
msgid "City"
|
175 |
msgstr ""
|
176 |
|
177 |
#: includes/admin/class-wc-ecfb-order.php:118
|
178 |
#: includes/admin/class-wc-ecfb-order.php:193
|
179 |
+
#: includes/class-wc-ecfb-front-end.php:89
|
180 |
+
#: includes/class-wc-ecfb-front-end.php:312
|
181 |
+
#: includes/class-wc-ecfb-front-end.php:469
|
182 |
msgid "State"
|
183 |
msgstr ""
|
184 |
|
185 |
#: includes/admin/class-wc-ecfb-order.php:122
|
186 |
#: includes/admin/class-wc-ecfb-order.php:197
|
187 |
+
#: includes/class-wc-ecfb-front-end.php:253
|
188 |
+
#: includes/class-wc-ecfb-front-end.php:411
|
189 |
msgid "Country"
|
190 |
msgstr ""
|
191 |
|
201 |
|
202 |
#: includes/admin/class-wc-ecfb-order.php:135
|
203 |
#: includes/admin/class-wc-ecfb-order.php:294
|
204 |
+
#: includes/class-wc-ecfb-front-end.php:323
|
205 |
+
#: includes/class-wc-ecfb-front-end.php:351
|
206 |
msgid "Phone"
|
207 |
msgstr ""
|
208 |
|
209 |
#: includes/admin/class-wc-ecfb-order.php:145
|
210 |
#: includes/admin/class-wc-ecfb-order.php:301
|
211 |
+
#: includes/class-wc-ecfb-front-end.php:339
|
212 |
+
#: includes/class-wc-ecfb-front-end.php:359
|
213 |
msgid "Email"
|
214 |
msgstr ""
|
215 |
|
217 |
#: includes/admin/class-wc-ecfb-order.php:253
|
218 |
#: includes/admin/class-wc-ecfb-order.php:327
|
219 |
#: includes/admin/class-wc-ecfb-order.php:330
|
220 |
+
#: includes/class-wc-ecfb-front-end.php:271
|
221 |
+
#: includes/class-wc-ecfb-front-end.php:428
|
222 |
msgid "Address"
|
223 |
msgstr ""
|
224 |
|
363 |
msgid "Checks if the CNPJ is valid."
|
364 |
msgstr ""
|
365 |
|
366 |
+
#: includes/class-wc-ecfb-front-end.php:90
|
367 |
msgid "required"
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: includes/class-wc-ecfb-front-end.php:243
|
371 |
msgid "Female"
|
372 |
msgstr ""
|
373 |
|
374 |
+
#: includes/class-wc-ecfb-front-end.php:244
|
375 |
msgid "Male"
|
376 |
msgstr ""
|
377 |
|
378 |
+
#: includes/class-wc-ecfb-front-end.php:262
|
379 |
+
#: includes/class-wc-ecfb-front-end.php:419
|
380 |
msgid "Post Code"
|
381 |
msgstr ""
|
382 |
|
383 |
+
#: includes/class-wc-ecfb-front-end.php:288
|
384 |
+
#: includes/class-wc-ecfb-front-end.php:445
|
385 |
msgid "Address line 2"
|
386 |
msgstr ""
|
387 |
|
388 |
+
#: includes/class-wc-ecfb-front-end.php:499
|
389 |
+
#: includes/class-wc-ecfb-front-end.php:505
|
390 |
+
#: includes/class-wc-ecfb-front-end.php:513
|
391 |
+
#: includes/class-wc-ecfb-front-end.php:520
|
392 |
+
#: includes/class-wc-ecfb-front-end.php:524
|
393 |
+
#: includes/class-wc-ecfb-front-end.php:532
|
394 |
msgid "is a required field"
|
395 |
msgstr ""
|
396 |
|
397 |
+
#: includes/class-wc-ecfb-front-end.php:509
|
398 |
+
#: includes/class-wc-ecfb-front-end.php:528
|
399 |
msgid "is not valid"
|
400 |
msgstr ""
|
401 |
|
430 |
msgid "http://claudiosmweb.com/"
|
431 |
msgstr ""
|
432 |
|
433 |
+
#: includes/class-wc-ecfb-front-end.php:118
|
434 |
+
#: includes/class-wc-ecfb-front-end.php:387
|
435 |
msgctxt "placeholder"
|
436 |
msgid "First Name"
|
437 |
msgstr ""
|
438 |
|
439 |
+
#: includes/class-wc-ecfb-front-end.php:126
|
440 |
+
#: includes/class-wc-ecfb-front-end.php:395
|
441 |
msgctxt "placeholder"
|
442 |
msgid "Last Name"
|
443 |
msgstr ""
|
444 |
|
445 |
+
#: includes/class-wc-ecfb-front-end.php:154
|
446 |
+
#: includes/class-wc-ecfb-front-end.php:170
|
447 |
msgctxt "placeholder"
|
448 |
msgid "CPF"
|
449 |
msgstr ""
|
450 |
|
451 |
+
#: includes/class-wc-ecfb-front-end.php:162
|
452 |
msgctxt "placeholder"
|
453 |
msgid "RG"
|
454 |
msgstr ""
|
455 |
|
456 |
+
#: includes/class-wc-ecfb-front-end.php:181
|
457 |
msgctxt "placeholder"
|
458 |
msgid "Company Name"
|
459 |
msgstr ""
|
460 |
|
461 |
+
#: includes/class-wc-ecfb-front-end.php:191
|
462 |
+
#: includes/class-wc-ecfb-front-end.php:206
|
463 |
msgctxt "placeholder"
|
464 |
msgid "CNPJ"
|
465 |
msgstr ""
|
466 |
|
467 |
+
#: includes/class-wc-ecfb-front-end.php:198
|
468 |
msgctxt "placeholder"
|
469 |
msgid "State Registration"
|
470 |
msgstr ""
|
471 |
|
472 |
+
#: includes/class-wc-ecfb-front-end.php:217
|
473 |
+
#: includes/class-wc-ecfb-front-end.php:404
|
474 |
msgctxt "placeholder"
|
475 |
msgid "Company"
|
476 |
msgstr ""
|
477 |
|
478 |
+
#: includes/class-wc-ecfb-front-end.php:228
|
479 |
msgctxt "placeholder"
|
480 |
msgid "Birthdate"
|
481 |
msgstr ""
|
482 |
|
483 |
+
#: includes/class-wc-ecfb-front-end.php:254
|
484 |
+
#: includes/class-wc-ecfb-front-end.php:412
|
485 |
msgctxt "placeholder"
|
486 |
msgid "Country"
|
487 |
msgstr ""
|
488 |
|
489 |
+
#: includes/class-wc-ecfb-front-end.php:263
|
490 |
+
#: includes/class-wc-ecfb-front-end.php:420
|
491 |
msgctxt "placeholder"
|
492 |
msgid "Post Code"
|
493 |
msgstr ""
|
494 |
|
495 |
+
#: includes/class-wc-ecfb-front-end.php:272
|
496 |
+
#: includes/class-wc-ecfb-front-end.php:429
|
497 |
msgctxt "placeholder"
|
498 |
msgid "Address"
|
499 |
msgstr ""
|
500 |
|
501 |
+
#: includes/class-wc-ecfb-front-end.php:280
|
502 |
+
#: includes/class-wc-ecfb-front-end.php:437
|
503 |
msgctxt "placeholder"
|
504 |
msgid "Number"
|
505 |
msgstr ""
|
506 |
|
507 |
+
#: includes/class-wc-ecfb-front-end.php:289
|
508 |
+
#: includes/class-wc-ecfb-front-end.php:446
|
509 |
msgctxt "placeholder"
|
510 |
msgid "Address line 2"
|
511 |
msgstr ""
|
512 |
|
513 |
+
#: includes/class-wc-ecfb-front-end.php:296
|
514 |
+
#: includes/class-wc-ecfb-front-end.php:453
|
515 |
msgctxt "placeholder"
|
516 |
msgid "Neighborhood"
|
517 |
msgstr ""
|
518 |
|
519 |
+
#: includes/class-wc-ecfb-front-end.php:304
|
520 |
+
#: includes/class-wc-ecfb-front-end.php:461
|
521 |
msgctxt "placeholder"
|
522 |
msgid "City"
|
523 |
msgstr ""
|
524 |
|
525 |
+
#: includes/class-wc-ecfb-front-end.php:313
|
526 |
+
#: includes/class-wc-ecfb-front-end.php:470
|
527 |
msgctxt "placeholder"
|
528 |
msgid "State"
|
529 |
msgstr ""
|
530 |
|
531 |
+
#: includes/class-wc-ecfb-front-end.php:324
|
532 |
+
#: includes/class-wc-ecfb-front-end.php:352
|
533 |
msgctxt "placeholder"
|
534 |
msgid "Phone"
|
535 |
msgstr ""
|
536 |
|
537 |
+
#: includes/class-wc-ecfb-front-end.php:332
|
538 |
msgctxt "placeholder"
|
539 |
msgid "Cell Phone"
|
540 |
msgstr ""
|
541 |
|
542 |
+
#: includes/class-wc-ecfb-front-end.php:340
|
543 |
+
#: includes/class-wc-ecfb-front-end.php:360
|
544 |
msgctxt "placeholder"
|
545 |
msgid "Email"
|
546 |
msgstr ""
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://claudiosmweb.com/doacoes/
|
|
4 |
Tags: woocommerce, checkout, brazil, cpf, cpnj, rg, ie
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.4
|
7 |
-
Stable tag: 3.4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -43,7 +43,7 @@ Foram utilizados os seguintes scripts/serviços de terceiros:
|
|
43 |
* [Masked Input jQuery](https://github.com/digitalBush/jquery.maskedinput).
|
44 |
* [Correios RESTful API por Emerson Soares](http://correiosapi.apphb.com/).
|
45 |
|
46 |
-
=
|
47 |
|
48 |
Você pode contribuir com código-fonte em nossa página no [GitHub](https://github.com/claudiosmweb/woocommerce-extra-checkout-fields-for-brazil).
|
49 |
|
@@ -77,6 +77,11 @@ Você pode contribuir com código-fonte em nossa página no [GitHub](https://git
|
|
77 |
|
78 |
== Changelog ==
|
79 |
|
|
|
|
|
|
|
|
|
|
|
80 |
= 3.4.2 - 2016/02/10 =
|
81 |
|
82 |
* Adicionado o filtro `wcbcf_disable_checkout_validation` para suportar o plugin [WooCommerce Digital Goods Checkout](https://wordpress.org/plugins/wc-digital-goods-checkout/).
|
@@ -94,6 +99,7 @@ Você pode contribuir com código-fonte em nossa página no [GitHub](https://git
|
|
94 |
|
95 |
== Upgrade Notice ==
|
96 |
|
97 |
-
= 3.4.
|
98 |
|
99 |
-
*
|
|
4 |
Tags: woocommerce, checkout, brazil, cpf, cpnj, rg, ie
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.4
|
7 |
+
Stable tag: 3.4.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
43 |
* [Masked Input jQuery](https://github.com/digitalBush/jquery.maskedinput).
|
44 |
* [Correios RESTful API por Emerson Soares](http://correiosapi.apphb.com/).
|
45 |
|
46 |
+
= Colaborar =
|
47 |
|
48 |
Você pode contribuir com código-fonte em nossa página no [GitHub](https://github.com/claudiosmweb/woocommerce-extra-checkout-fields-for-brazil).
|
49 |
|
77 |
|
78 |
== Changelog ==
|
79 |
|
80 |
+
= 3.4.3 - 2016/03/20 =
|
81 |
+
|
82 |
+
* Corrigida as mascaras quando não esta preenchendo um endereço brasileiro.
|
83 |
+
* Incluídos os campos de bairro e número no método `WC_Order::get_order_address()`.
|
84 |
+
|
85 |
= 3.4.2 - 2016/02/10 =
|
86 |
|
87 |
* Adicionado o filtro `wcbcf_disable_checkout_validation` para suportar o plugin [WooCommerce Digital Goods Checkout](https://wordpress.org/plugins/wc-digital-goods-checkout/).
|
99 |
|
100 |
== Upgrade Notice ==
|
101 |
|
102 |
+
= 3.4.3 =
|
103 |
|
104 |
+
* Corrigida as mascaras quando não esta preenchendo um endereço brasileiro.
|
105 |
+
* Incluídos os campos de bairro e número no método WC_Order::get_order_address().
|
woocommerce-extra-checkout-fields-for-brazil.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: WooCommerce Extra Checkout Fields for Brazil
|
4 |
* Plugin URI: https://github.com/claudiosmweb/woocommerce-extra-checkout-fields-for-brazil
|
5 |
* Description: Adiciona novos campos para Pessoa Física ou Jurídica, Data de Nascimento, Sexo, Número, Bairro e Celular. Além de máscaras em campos, aviso de e-mail incorreto e auto preenchimento dos campos de endereço pelo CEP.
|
6 |
-
* Version: 3.4.
|
7 |
* Author: Claudio Sanches
|
8 |
* Author URI: http://claudiosmweb.com/
|
9 |
* Text Domain: woocommerce-extra-checkout-fields-for-brazil
|
@@ -29,7 +29,7 @@ class Extra_Checkout_Fields_For_Brazil {
|
|
29 |
*
|
30 |
* @var string
|
31 |
*/
|
32 |
-
const VERSION = '3.4.
|
33 |
|
34 |
/**
|
35 |
* Instance of this class.
|
3 |
* Plugin Name: WooCommerce Extra Checkout Fields for Brazil
|
4 |
* Plugin URI: https://github.com/claudiosmweb/woocommerce-extra-checkout-fields-for-brazil
|
5 |
* Description: Adiciona novos campos para Pessoa Física ou Jurídica, Data de Nascimento, Sexo, Número, Bairro e Celular. Além de máscaras em campos, aviso de e-mail incorreto e auto preenchimento dos campos de endereço pelo CEP.
|
6 |
+
* Version: 3.4.3
|
7 |
* Author: Claudio Sanches
|
8 |
* Author URI: http://claudiosmweb.com/
|
9 |
* Text Domain: woocommerce-extra-checkout-fields-for-brazil
|
29 |
*
|
30 |
* @var string
|
31 |
*/
|
32 |
+
const VERSION = '3.4.3';
|
33 |
|
34 |
/**
|
35 |
* Instance of this class.
|