Version Description
- Fix tax calculation in order total bug (WooCommerce 3.2+)
Download this release
Release Info
Developer | woothemes |
Plugin | WooCommerce Services |
Version | 1.8.3 |
Comparing to | |
See all releases |
Code changes from version 1.8.2 to 1.8.3
- classes/class-wc-connect-taxjar-integration.php +17 -0
- dist/woocommerce-services-banner.css +0 -0
- dist/woocommerce-services-banner.js +0 -0
- dist/woocommerce-services.css +0 -0
- dist/woocommerce-services.js +0 -0
- i18n/strings.php +210 -210
- readme.txt +5 -2
- woocommerce-services.php +1 -1
classes/class-wc-connect-taxjar-integration.php
CHANGED
@@ -51,6 +51,8 @@ class WC_Connect_TaxJar_Integration {
|
|
51 |
|
52 |
// Calculate Taxes at Cart / Checkout
|
53 |
add_action( 'woocommerce_calculate_totals', array( $this, 'calculate_totals' ), 20 );
|
|
|
|
|
54 |
|
55 |
// Calculate Taxes for Backend Orders (Woo 2.6+)
|
56 |
add_action( 'woocommerce_before_save_order_items', array( $this, 'calculate_backend_totals' ), 20 );
|
@@ -264,6 +266,21 @@ class WC_Connect_TaxJar_Integration {
|
|
264 |
}
|
265 |
}
|
266 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
267 |
/**
|
268 |
* Calculate tax / totals using TaxJar for backend orders
|
269 |
*
|
51 |
|
52 |
// Calculate Taxes at Cart / Checkout
|
53 |
add_action( 'woocommerce_calculate_totals', array( $this, 'calculate_totals' ), 20 );
|
54 |
+
// WC 3.2+ compatibility: filter taxes to collect in to the calculated total
|
55 |
+
add_filter( 'woocommerce_calculated_total', array( $this, 'calculated_total' ), 10, 2 );
|
56 |
|
57 |
// Calculate Taxes for Backend Orders (Woo 2.6+)
|
58 |
add_action( 'woocommerce_before_save_order_items', array( $this, 'calculate_backend_totals' ), 20 );
|
266 |
}
|
267 |
}
|
268 |
|
269 |
+
/**
|
270 |
+
* Modify total if missing tax for WooCommerce 3.2+
|
271 |
+
*
|
272 |
+
* @return float
|
273 |
+
*/
|
274 |
+
public function calculated_total( $total, $cart ) {
|
275 |
+
if ( method_exists( $cart, 'get_total_tax' ) ) { // Woo 3.2+
|
276 |
+
if ( $cart->get_total_tax() < $this->amount_to_collect && $this->amount_to_collect > 0 ) {
|
277 |
+
$total += $this->amount_to_collect;
|
278 |
+
}
|
279 |
+
}
|
280 |
+
|
281 |
+
return $total;
|
282 |
+
}
|
283 |
+
|
284 |
/**
|
285 |
* Calculate tax / totals using TaxJar for backend orders
|
286 |
*
|
dist/woocommerce-services-banner.css
CHANGED
File without changes
|
dist/woocommerce-services-banner.js
CHANGED
File without changes
|
dist/woocommerce-services.css
CHANGED
File without changes
|
dist/woocommerce-services.js
CHANGED
File without changes
|
i18n/strings.php
CHANGED
@@ -1,214 +1,214 @@
|
|
1 |
<?php
|
2 |
/* THIS IS A GENERATED FILE. DO NOT EDIT DIRECTLY. */
|
3 |
$i18nStrings = array(
|
4 |
-
__( "less than a minute ago", "woocommerce-services" ), //
|
5 |
-
_n( "a minute ago", "%(interval)d minutes ago", 1, "woocommerce-services" ), //
|
6 |
-
_n( "an hour ago", "%(interval)d hours ago", 1, "woocommerce-services" ), //
|
7 |
-
_n( "a day ago", "%(interval)d days ago", 1, "woocommerce-services" ), //
|
8 |
-
_n( "a month ago", "%(interval)d months ago", 1, "woocommerce-services" ), //
|
9 |
-
_n( "a year ago", "%(interval)d years ago", 1, "woocommerce-services" ), //
|
10 |
-
__( "Unexpected server error.", "woocommerce-services" ), //
|
11 |
-
__( "Unexpected server error.", "woocommerce-services" ), //
|
12 |
-
__( "Select one...", "woocommerce-services" ), //
|
13 |
-
__( "Okay", "woocommerce-services" ), //
|
14 |
-
__( "Create new label", "woocommerce-services" ), //
|
15 |
-
__( "Add a credit card", "woocommerce-services" ), //
|
16 |
-
__( "To purchase shipping labels, you will first need to add a credit card.", "woocommerce-services" ), //
|
17 |
-
__( "Select a credit card", "woocommerce-services" ), //
|
18 |
-
__( "To purchase shipping labels, you will first need to select a credit card.", "woocommerce-services" ), //
|
19 |
-
__( "Manage cards", "woocommerce-services" ), //
|
20 |
-
__( "Labels will be purchased using card ending: {{strong}}%(cardDigits)s.{{/strong}}", "woocommerce-services" ), //
|
21 |
-
__( "N/A", "woocommerce-services" ), //
|
22 |
-
__( "Cancel", "woocommerce-services" ), //
|
23 |
-
__( "Print", "woocommerce-services" ), //
|
24 |
-
__( "Paper size", "woocommerce-services" ), //
|
25 |
-
__( "NOTE: If you already used the label in a package, printing and using it again is a violation of our terms of service and may result in criminal charges.", "woocommerce-services" ), //
|
26 |
-
__( "If there was a printing error when you purchased the label, you can print it again.", "woocommerce-services" ), //
|
27 |
-
__( "Reprint shipping label", "woocommerce-services" ), //
|
28 |
-
__( "Cancel", "woocommerce-services" ), //
|
29 |
-
__( "Refund label (-%(amount)s)", "woocommerce-services" ), //
|
30 |
-
__( "Amount eligible for refund", "woocommerce-services" ), //
|
31 |
-
__( "Purchase date", "woocommerce-services" ), //
|
32 |
-
__( "You can request a refund for a shipping label that has not been used to ship a package. It will take at least 14 days to process.", "woocommerce-services" ), //
|
33 |
-
__( "Request a refund", "woocommerce-services" ), //
|
34 |
-
__( "Paper size", "woocommerce-services" ), //
|
35 |
-
__( "Select one...", "woocommerce-services" ), //
|
36 |
-
__( "Choose rate: %(pckg)s", "woocommerce-services" ), //
|
37 |
-
__( "Choose rate", "woocommerce-services" ), //
|
38 |
-
__( "The service and rate chosen by the customer at checkout is not available. Please choose another.", "woocommerce-services" ), //
|
39 |
-
__( "Rates", "woocommerce-services" ), //
|
40 |
-
__( "Total rate: %(currencySymbol)s%(total)s", "woocommerce-services" ), //
|
41 |
-
__( "%(serviceName)s: %(currencySymbol)s%(rate).2f", "woocommerce-services" ), //
|
42 |
-
__( "Unsaved changes made to packages", "woocommerce-services" ), //
|
43 |
-
__( "Total Weight", "woocommerce-services" ), //
|
44 |
-
__( "There are no items in this package.", "woocommerce-services" ), //
|
45 |
-
__( "Items to Ship", "woocommerce-services" ), //
|
46 |
-
__( "Please select a package", "woocommerce-services" ), //
|
47 |
-
__( "Shipping Package", "woocommerce-services" ), //
|
48 |
-
__( "Custom Packages", "woocommerce-services" ), //
|
49 |
-
__( "Item Dimensions", "woocommerce-services" ), //
|
50 |
-
__( "Individually Shipped Item", "woocommerce-services" ), //
|
51 |
-
__( "Add items", "woocommerce-services" ), //
|
52 |
-
__( "Cancel", "woocommerce-services" ), //
|
53 |
-
__( "Move", "woocommerce-services" ), //
|
54 |
-
__( "Ship in original packaging", "woocommerce-services" ), //
|
55 |
-
__( "Add to a New Package", "woocommerce-services" ), //
|
56 |
-
__( "Where would you like to move it?", "woocommerce-services" ), //
|
57 |
-
__( "Move item", "woocommerce-services" ), //
|
58 |
-
__( "{{itemLink/}} is currently in {{pckg/}}.", "woocommerce-services" ), //
|
59 |
-
__( "{{itemLink/}} is currently shipped in its original packaging.", "woocommerce-services" ), //
|
60 |
-
__( "{{itemLink/}} is currently saved for a later shipment.", "woocommerce-services" ), //
|
61 |
-
__( "Packages to be Shipped", "woocommerce-services" ), //
|
62 |
-
__( "Move", "woocommerce-services" ), //
|
63 |
-
__( "Use these packages", "woocommerce-services" ), //
|
64 |
-
__( "There are no packages or items associated with this order", "woocommerce-services" ), //
|
65 |
-
__( "There are no packages configured. The items have been packed individually. You can add or enable packages using the {{a}}Packaging Manager{{/a}}.", "woocommerce-services" ), //
|
66 |
-
__( "%(itemsCount)d items in %(packageCount)d packages: %(weight)f %(unit)s total", "woocommerce-services" ), //
|
67 |
-
__( "%(itemsCount)d items in 1 package: %(weight)f %(unit)s total", "woocommerce-services" ), //
|
68 |
-
__( "1 item in 1 package: %(weight)f %(unit)s total", "woocommerce-services" ), //
|
69 |
-
__( "Weight not entered", "woocommerce-services" ), //
|
70 |
-
__( "Please select a package type", "woocommerce-services" ), //
|
71 |
-
__( "No packages selected", "woocommerce-services" ), //
|
72 |
-
__( "Packages", "woocommerce-services" ), //
|
73 |
-
__( "Close", "woocommerce-services" ), //
|
74 |
-
__( "Add", "woocommerce-services" ), //
|
75 |
-
__( "Which items would you like to add to {{pckg/}}?", "woocommerce-services" ), //
|
76 |
-
__( "Add item", "woocommerce-services" ), //
|
77 |
-
__( "%(item)s from {{pckg/}}", "woocommerce-services" ), //
|
78 |
-
__( "Destination address", "woocommerce-services" ), //
|
79 |
-
__( "Origin address", "woocommerce-services" ), //
|
80 |
-
__( "Create shipping labels", "woocommerce-services" ), //
|
81 |
-
__( "Create shipping label", "woocommerce-services" ), //
|
82 |
-
__( "Cancel", "woocommerce-services" ), //
|
83 |
-
__( "Buy & Print", "woocommerce-services" ), //
|
84 |
-
__( "Buy", "woocommerce-services" ), //
|
85 |
-
__( "Buy & Print (%(currencySymbol)s%(ratesTotal)s)", "woocommerce-services" ), //
|
86 |
-
__( "Buy (%(currencySymbol)s%(ratesTotal)s)", "woocommerce-services" ), //
|
87 |
-
__( "Purchasing...", "woocommerce-services" ), //
|
88 |
-
__( "Print", "woocommerce-services" ), //
|
89 |
-
__( "Use selected address", "woocommerce-services" ), //
|
90 |
-
__( "Suggested address", "woocommerce-services" ), //
|
91 |
-
__( "Edit address", "woocommerce-services" ), //
|
92 |
-
__( "Address entered", "woocommerce-services" ), //
|
93 |
-
__( "We have slightly modified the address entered. If correct, please use the suggested address to ensure accurate delivery.", "woocommerce-services" ), //
|
94 |
-
__( "Invalid address", "woocommerce-services" ), //
|
95 |
-
__( "Validating address...", "woocommerce-services" ), //
|
96 |
-
__( "Use this address", "woocommerce-services" ), //
|
97 |
-
__( "Country", "woocommerce-services" ), //
|
98 |
-
__( "Postal code", "woocommerce-services" ), //
|
99 |
-
__( "State", "woocommerce-services" ), //
|
100 |
-
__( "City", "woocommerce-services" ), //
|
101 |
-
__( "Address", "woocommerce-services" ), //
|
102 |
-
__( "Phone", "woocommerce-services" ), //
|
103 |
-
__( "Company", "woocommerce-services" ), //
|
104 |
-
__( "Name", "woocommerce-services" ), //
|
105 |
-
__( "Tracking #: {{trackingLink/}}", "woocommerce-services" ), //
|
106 |
-
__( "{{labelDetails/}} purchased {{purchasedAt/}}", "woocommerce-services" ), //
|
107 |
-
__( "Label #%(labelNum)s", "woocommerce-services" ), //
|
108 |
-
__( "Reprint", "woocommerce-services" ), //
|
109 |
-
__( "Refund rejected", "woocommerce-services" ), //
|
110 |
-
__( "Refunded on %(date)s", "woocommerce-services" ), //
|
111 |
-
__( "Checking refund status", "woocommerce-services" ), //
|
112 |
-
__( "Refund pending", "woocommerce-services" ), //
|
113 |
-
__( "Request refund", "woocommerce-services" ), //
|
114 |
-
__( "Increase the rates calculated by the carrier to account for packaging and handling costs. You can also add a negative amount to save your customers money.", "woocommerce-services" ), //
|
115 |
-
__( "Price adjustment", "woocommerce-services" ), //
|
116 |
-
__( "Service", "woocommerce-services" ), //
|
117 |
-
__( "Expand Services", "woocommerce-services" ), //
|
118 |
-
_n( "%(numSelected)d service selected", "%(numSelected)d services selected", 1, "woocommerce-services" ), //
|
119 |
-
__( "All services selected", "woocommerce-services" ), //
|
120 |
-
__( "Add and edit saved packages using the {{a}}Packaging Manager{{/a}}.", "woocommerce-services" ), //
|
121 |
-
__( "Saved Packages", "woocommerce-services" ), //
|
122 |
-
__( "Now add your zip code and choose which services you want to offer your customers.", "woocommerce-services" ), //
|
123 |
-
__( "Print", "woocommerce-services" ), //
|
124 |
-
__( "Paper size", "woocommerce-services" ), //
|
125 |
-
__( "You can run a test print for shipping labels by selecting the paper size, then print.", "woocommerce-services" ), //
|
126 |
-
__( "Having trouble configuring your printer?", "woocommerce-services" ), //
|
127 |
-
__( "Print", "woocommerce-services" ), //
|
128 |
-
__( "Unable to get your settings. Please refresh the page to try again.", "woocommerce-services" ), //
|
129 |
-
__( "Predefined packages", "woocommerce-services" ), //
|
130 |
-
__( "Add a package", "woocommerce-services" ), //
|
131 |
-
__( "Custom packages", "woocommerce-services" ), //
|
132 |
-
__( "Save changes", "woocommerce-services" ), //
|
133 |
-
__( "Unable to save your packages. Please try again.", "woocommerce-services" ), //
|
134 |
-
__( "Your packages have been saved.", "woocommerce-services" ), //
|
135 |
-
__( "Expand Services", "woocommerce-services" ), //
|
136 |
-
_n( "%(selectedCount)d package selected", "%(selectedCount)d packages selected", 1, "woocommerce-services" ), //
|
137 |
-
__( "All packages selected", "woocommerce-services" ), //
|
138 |
-
__( "Untitled", "woocommerce-services" ), //
|
139 |
-
__( "(L x W x H)", "woocommerce-services" ), //
|
140 |
-
__( "Dimensions", "woocommerce-services" ), //
|
141 |
-
__( "Name", "woocommerce-services" ), //
|
142 |
-
__( "Type", "woocommerce-services" ), //
|
143 |
-
__( "Your packages will display here once they are added.", "woocommerce-services" ), //
|
144 |
-
__( "Type of package", "woocommerce-services" ), //
|
145 |
-
__( "Defines both the weight of the empty box and the max weight it can hold", "woocommerce-services" ), //
|
146 |
-
__( "Max weight", "woocommerce-services" ), //
|
147 |
-
__( "Max weight", "woocommerce-services" ), //
|
148 |
-
__( "Weight of box", "woocommerce-services" ), //
|
149 |
-
__( "Package weight", "woocommerce-services" ), //
|
150 |
-
__( "Outer Dimensions (L x W x H) %(dimensionUnit)s", "woocommerce-services" ), //
|
151 |
-
__( "Inner Dimensions (L x W x H) %(dimensionUnit)s", "woocommerce-services" ), //
|
152 |
-
__( "This field must be unique", "woocommerce-services" ), //
|
153 |
-
__( "The customer will see this during checkout", "woocommerce-services" ), //
|
154 |
-
__( "Package name", "woocommerce-services" ), //
|
155 |
-
__( "Add a package", "woocommerce-services" ), //
|
156 |
-
__( "Edit package", "woocommerce-services" ), //
|
157 |
-
__( "This field is required", "woocommerce-services" ), //
|
158 |
-
__( "Invalid value", "woocommerce-services" ), //
|
159 |
-
__( "View exterior dimensions", "woocommerce-services" ), //
|
160 |
-
__( "Cancel", "woocommerce-services" ), //
|
161 |
-
__( "Apply changes", "woocommerce-services" ), //
|
162 |
-
__( "Add package", "woocommerce-services" ), //
|
163 |
-
__( "Unable to get your settings. Please refresh the page to try again.", "woocommerce-services" ), //
|
164 |
-
__( "Save changes", "woocommerce-services" ), //
|
165 |
-
__( "Unable to save your shipping label settings. Please try again.", "woocommerce-services" ), //
|
166 |
-
__( "Your shipping label settings have been saved.", "woocommerce-services" ), //
|
167 |
-
_x( "Expires %(date)s", "date is of the form MM/YY", "woocommerce-services" ), //
|
168 |
-
__( "****%(digits)s", "woocommerce-services" ), //
|
169 |
-
__( "PayPal", "woocommerce-services" ), //
|
170 |
-
__( "VISA", "woocommerce-services" ), //
|
171 |
-
__( "MasterCard", "woocommerce-services" ), //
|
172 |
-
__( "Discover", "woocommerce-services" ), //
|
173 |
-
__( "American Express", "woocommerce-services" ), //
|
174 |
-
__( "Add another credit card", "woocommerce-services" ), //
|
175 |
-
__( "To purchase shipping labels, use your credit card on file or add a new one.", "woocommerce-services" ), //
|
176 |
-
__( "Credit card", "woocommerce-services" ), //
|
177 |
-
__( "Paper size", "woocommerce-services" ), //
|
178 |
-
__( "You have unsaved changes.", "woocommerce-services" ), //
|
179 |
-
__( "TEST LABEL 2", "woocommerce-services" ), //
|
180 |
-
__( "TEST LABEL 1", "woocommerce-services" ), //
|
181 |
-
__( "There was a problem saving your settings. Please try again after the page is reloaded.", "woocommerce-services" ), //
|
182 |
-
__( "More", "woocommerce-services" ), //
|
183 |
-
__( "Expand", "woocommerce-services" ), //
|
184 |
-
__( "There was a problem with one or more entries. Please fix the errors below and try saving again.", "woocommerce-services" ), //
|
185 |
-
__( "There was a problem with one or more entries. Please fix the errors below and try saving again.", "woocommerce-services" ), //
|
186 |
-
__( "Your changes have been saved.", "woocommerce-services" ), //
|
187 |
-
__( "Dismiss", "woocommerce-services" ), //
|
188 |
-
__( "Package %d", "woocommerce-services" ), //
|
189 |
-
__( "Package %d: %s", "woocommerce-services" ), //
|
190 |
-
__( "Envelope %d", "woocommerce-services" ), //
|
191 |
-
__( "Envelope %d: %s", "woocommerce-services" ), //
|
192 |
-
__( "Error while loading the settings. Please refresh the page to try again.", "woocommerce-services" ), //
|
193 |
-
__( "Save Settings", "woocommerce-services" ), //
|
194 |
-
__( "Saving…", "woocommerce-services" ), //
|
195 |
-
__( "Letter", "woocommerce-services" ), //
|
196 |
-
__( "Legal", "woocommerce-services" ), //
|
197 |
-
__( "Label (4\"x6\")", "woocommerce-services" ), //
|
198 |
-
__( "A4", "woocommerce-services" ), //
|
199 |
-
__( "This field is required", "woocommerce-services" ), //
|
200 |
-
__( "Please choose a rate", "woocommerce-services" ), //
|
201 |
-
__( "We couldn't get a rate for this package, please try again.", "woocommerce-services" ), //
|
202 |
-
__( "Invalid weight", "woocommerce-services" ), //
|
203 |
-
__( "Please select a package", "woocommerce-services" ), //
|
204 |
-
__( "This field is required", "woocommerce-services" ), //
|
205 |
-
__( "Invalid ZIP code format", "woocommerce-services" ), //
|
206 |
-
__( "Invalid phone number for %(country)s", "woocommerce-services" ), //
|
207 |
-
__( "This field is required", "woocommerce-services" ), //
|
208 |
-
__( "This address is not recognized. Please try another.", "woocommerce-services" ), //
|
209 |
-
__( "Required", "woocommerce-services" ), //
|
210 |
-
__( "The refund request has been sent successfully.", "woocommerce-services" ), //
|
211 |
-
_n( "Your shipping label was purchased successfully", "Your %(count)d shipping labels were purchased successfully", 1, "woocommerce-services" ), //
|
212 |
-
__( "PACKAGE %(num)d (OF %(total)d)", "woocommerce-services" ), //
|
213 |
);
|
214 |
-
/* THIS IS THE END OF THE GENERATED FILE */
|
1 |
<?php
|
2 |
/* THIS IS A GENERATED FILE. DO NOT EDIT DIRECTLY. */
|
3 |
$i18nStrings = array(
|
4 |
+
__( "less than a minute ago", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
5 |
+
_n( "a minute ago", "%(interval)d minutes ago", 1, "woocommerce-services" ), // dist/woocommerce-services.js:1
|
6 |
+
_n( "an hour ago", "%(interval)d hours ago", 1, "woocommerce-services" ), // dist/woocommerce-services.js:1
|
7 |
+
_n( "a day ago", "%(interval)d days ago", 1, "woocommerce-services" ), // dist/woocommerce-services.js:1
|
8 |
+
_n( "a month ago", "%(interval)d months ago", 1, "woocommerce-services" ), // dist/woocommerce-services.js:1
|
9 |
+
_n( "a year ago", "%(interval)d years ago", 1, "woocommerce-services" ), // dist/woocommerce-services.js:1
|
10 |
+
__( "Unexpected server error.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
11 |
+
__( "Unexpected server error.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
12 |
+
__( "Select one...", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
13 |
+
__( "Okay", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
14 |
+
__( "Create new label", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
15 |
+
__( "Add a credit card", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
16 |
+
__( "To purchase shipping labels, you will first need to add a credit card.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
17 |
+
__( "Select a credit card", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
18 |
+
__( "To purchase shipping labels, you will first need to select a credit card.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
19 |
+
__( "Manage cards", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
20 |
+
__( "Labels will be purchased using card ending: {{strong}}%(cardDigits)s.{{/strong}}", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
21 |
+
__( "N/A", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
22 |
+
__( "Cancel", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
23 |
+
__( "Print", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
24 |
+
__( "Paper size", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
25 |
+
__( "NOTE: If you already used the label in a package, printing and using it again is a violation of our terms of service and may result in criminal charges.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
26 |
+
__( "If there was a printing error when you purchased the label, you can print it again.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
27 |
+
__( "Reprint shipping label", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
28 |
+
__( "Cancel", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
29 |
+
__( "Refund label (-%(amount)s)", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
30 |
+
__( "Amount eligible for refund", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
31 |
+
__( "Purchase date", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
32 |
+
__( "You can request a refund for a shipping label that has not been used to ship a package. It will take at least 14 days to process.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
33 |
+
__( "Request a refund", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
34 |
+
__( "Paper size", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
35 |
+
__( "Select one...", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
36 |
+
__( "Choose rate: %(pckg)s", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
37 |
+
__( "Choose rate", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
38 |
+
__( "The service and rate chosen by the customer at checkout is not available. Please choose another.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
39 |
+
__( "Rates", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
40 |
+
__( "Total rate: %(currencySymbol)s%(total)s", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
41 |
+
__( "%(serviceName)s: %(currencySymbol)s%(rate).2f", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
42 |
+
__( "Unsaved changes made to packages", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
43 |
+
__( "Total Weight", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
44 |
+
__( "There are no items in this package.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
45 |
+
__( "Items to Ship", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
46 |
+
__( "Please select a package", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
47 |
+
__( "Shipping Package", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
48 |
+
__( "Custom Packages", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
49 |
+
__( "Item Dimensions", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
50 |
+
__( "Individually Shipped Item", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
51 |
+
__( "Add items", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
52 |
+
__( "Cancel", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
53 |
+
__( "Move", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
54 |
+
__( "Ship in original packaging", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
55 |
+
__( "Add to a New Package", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
56 |
+
__( "Where would you like to move it?", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
57 |
+
__( "Move item", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
58 |
+
__( "{{itemLink/}} is currently in {{pckg/}}.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
59 |
+
__( "{{itemLink/}} is currently shipped in its original packaging.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
60 |
+
__( "{{itemLink/}} is currently saved for a later shipment.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
61 |
+
__( "Packages to be Shipped", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
62 |
+
__( "Move", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
63 |
+
__( "Use these packages", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
64 |
+
__( "There are no packages or items associated with this order", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
65 |
+
__( "There are no packages configured. The items have been packed individually. You can add or enable packages using the {{a}}Packaging Manager{{/a}}.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
66 |
+
__( "%(itemsCount)d items in %(packageCount)d packages: %(weight)f %(unit)s total", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
67 |
+
__( "%(itemsCount)d items in 1 package: %(weight)f %(unit)s total", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
68 |
+
__( "1 item in 1 package: %(weight)f %(unit)s total", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
69 |
+
__( "Weight not entered", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
70 |
+
__( "Please select a package type", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
71 |
+
__( "No packages selected", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
72 |
+
__( "Packages", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
73 |
+
__( "Close", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
74 |
+
__( "Add", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
75 |
+
__( "Which items would you like to add to {{pckg/}}?", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
76 |
+
__( "Add item", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
77 |
+
__( "%(item)s from {{pckg/}}", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
78 |
+
__( "Destination address", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
79 |
+
__( "Origin address", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
80 |
+
__( "Create shipping labels", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
81 |
+
__( "Create shipping label", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
82 |
+
__( "Cancel", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
83 |
+
__( "Buy & Print", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
84 |
+
__( "Buy", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
85 |
+
__( "Buy & Print (%(currencySymbol)s%(ratesTotal)s)", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
86 |
+
__( "Buy (%(currencySymbol)s%(ratesTotal)s)", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
87 |
+
__( "Purchasing...", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
88 |
+
__( "Print", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
89 |
+
__( "Use selected address", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
90 |
+
__( "Suggested address", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
91 |
+
__( "Edit address", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
92 |
+
__( "Address entered", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
93 |
+
__( "We have slightly modified the address entered. If correct, please use the suggested address to ensure accurate delivery.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
94 |
+
__( "Invalid address", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
95 |
+
__( "Validating address...", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
96 |
+
__( "Use this address", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
97 |
+
__( "Country", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
98 |
+
__( "Postal code", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
99 |
+
__( "State", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
100 |
+
__( "City", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
101 |
+
__( "Address", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
102 |
+
__( "Phone", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
103 |
+
__( "Company", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
104 |
+
__( "Name", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
105 |
+
__( "Tracking #: {{trackingLink/}}", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
106 |
+
__( "{{labelDetails/}} purchased {{purchasedAt/}}", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
107 |
+
__( "Label #%(labelNum)s", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
108 |
+
__( "Reprint", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
109 |
+
__( "Refund rejected", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
110 |
+
__( "Refunded on %(date)s", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
111 |
+
__( "Checking refund status", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
112 |
+
__( "Refund pending", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
113 |
+
__( "Request refund", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
114 |
+
__( "Increase the rates calculated by the carrier to account for packaging and handling costs. You can also add a negative amount to save your customers money.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
115 |
+
__( "Price adjustment", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
116 |
+
__( "Service", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
117 |
+
__( "Expand Services", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
118 |
+
_n( "%(numSelected)d service selected", "%(numSelected)d services selected", 1, "woocommerce-services" ), // dist/woocommerce-services.js:1
|
119 |
+
__( "All services selected", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
120 |
+
__( "Add and edit saved packages using the {{a}}Packaging Manager{{/a}}.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
121 |
+
__( "Saved Packages", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
122 |
+
__( "Now add your zip code and choose which services you want to offer your customers.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
123 |
+
__( "Print", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
124 |
+
__( "Paper size", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
125 |
+
__( "You can run a test print for shipping labels by selecting the paper size, then print.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
126 |
+
__( "Having trouble configuring your printer?", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
127 |
+
__( "Print", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
128 |
+
__( "Unable to get your settings. Please refresh the page to try again.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
129 |
+
__( "Predefined packages", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
130 |
+
__( "Add a package", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
131 |
+
__( "Custom packages", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
132 |
+
__( "Save changes", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
133 |
+
__( "Unable to save your packages. Please try again.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
134 |
+
__( "Your packages have been saved.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
135 |
+
__( "Expand Services", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
136 |
+
_n( "%(selectedCount)d package selected", "%(selectedCount)d packages selected", 1, "woocommerce-services" ), // dist/woocommerce-services.js:1
|
137 |
+
__( "All packages selected", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
138 |
+
__( "Untitled", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
139 |
+
__( "(L x W x H)", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
140 |
+
__( "Dimensions", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
141 |
+
__( "Name", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
142 |
+
__( "Type", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
143 |
+
__( "Your packages will display here once they are added.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
144 |
+
__( "Type of package", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
145 |
+
__( "Defines both the weight of the empty box and the max weight it can hold", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
146 |
+
__( "Max weight", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
147 |
+
__( "Max weight", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
148 |
+
__( "Weight of box", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
149 |
+
__( "Package weight", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
150 |
+
__( "Outer Dimensions (L x W x H) %(dimensionUnit)s", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
151 |
+
__( "Inner Dimensions (L x W x H) %(dimensionUnit)s", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
152 |
+
__( "This field must be unique", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
153 |
+
__( "The customer will see this during checkout", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
154 |
+
__( "Package name", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
155 |
+
__( "Add a package", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
156 |
+
__( "Edit package", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
157 |
+
__( "This field is required", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
158 |
+
__( "Invalid value", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
159 |
+
__( "View exterior dimensions", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
160 |
+
__( "Cancel", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
161 |
+
__( "Apply changes", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
162 |
+
__( "Add package", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
163 |
+
__( "Unable to get your settings. Please refresh the page to try again.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
164 |
+
__( "Save changes", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
165 |
+
__( "Unable to save your shipping label settings. Please try again.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
166 |
+
__( "Your shipping label settings have been saved.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
167 |
+
_x( "Expires %(date)s", "date is of the form MM/YY", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
168 |
+
__( "****%(digits)s", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
169 |
+
__( "PayPal", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
170 |
+
__( "VISA", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
171 |
+
__( "MasterCard", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
172 |
+
__( "Discover", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
173 |
+
__( "American Express", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
174 |
+
__( "Add another credit card", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
175 |
+
__( "To purchase shipping labels, use your credit card on file or add a new one.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
176 |
+
__( "Credit card", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
177 |
+
__( "Paper size", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
178 |
+
__( "You have unsaved changes.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
179 |
+
__( "TEST LABEL 2", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
180 |
+
__( "TEST LABEL 1", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
181 |
+
__( "There was a problem saving your settings. Please try again after the page is reloaded.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
182 |
+
__( "More", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
183 |
+
__( "Expand", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
184 |
+
__( "There was a problem with one or more entries. Please fix the errors below and try saving again.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
185 |
+
__( "There was a problem with one or more entries. Please fix the errors below and try saving again.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
186 |
+
__( "Your changes have been saved.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
187 |
+
__( "Dismiss", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
188 |
+
__( "Package %d", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
189 |
+
__( "Package %d: %s", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
190 |
+
__( "Envelope %d", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
191 |
+
__( "Envelope %d: %s", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
192 |
+
__( "Error while loading the settings. Please refresh the page to try again.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
193 |
+
__( "Save Settings", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
194 |
+
__( "Saving…", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
195 |
+
__( "Letter", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
196 |
+
__( "Legal", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
197 |
+
__( "Label (4\"x6\")", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
198 |
+
__( "A4", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
199 |
+
__( "This field is required", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
200 |
+
__( "Please choose a rate", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
201 |
+
__( "We couldn't get a rate for this package, please try again.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
202 |
+
__( "Invalid weight", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
203 |
+
__( "Please select a package", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
204 |
+
__( "This field is required", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
205 |
+
__( "Invalid ZIP code format", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
206 |
+
__( "Invalid phone number for %(country)s", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
207 |
+
__( "This field is required", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
208 |
+
__( "This address is not recognized. Please try another.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
209 |
+
__( "Required", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
210 |
+
__( "The refund request has been sent successfully.", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
211 |
+
_n( "Your shipping label was purchased successfully", "Your %(count)d shipping labels were purchased successfully", 1, "woocommerce-services" ), // dist/woocommerce-services.js:1
|
212 |
+
__( "PACKAGE %(num)d (OF %(total)d)", "woocommerce-services" ), // dist/woocommerce-services.js:1
|
213 |
);
|
214 |
+
/* THIS IS THE END OF THE GENERATED FILE */
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: automattic, woothemes, allendav, kellychoffman, jkudish, jeffstieler, nabsul, robobot3000, danreylop, mikeyarce, shaunkuschel, orangesareorange, pauldechov
|
3 |
Tags: canada-post, shipping, stamps, usps, woocommerce, taxes, payment, stripe
|
4 |
Requires at least: 4.6
|
5 |
-
Tested up to: 4.8
|
6 |
-
Stable tag: 1.8.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -89,6 +89,9 @@ The source code is freely available [in GitHub](https://github.com/Automattic/wo
|
|
89 |
|
90 |
== Changelog ==
|
91 |
|
|
|
|
|
|
|
92 |
= 1.8.2 =
|
93 |
* Fix crash in the WooCommerce setup wizard when picking a supported country but an unsupported currency
|
94 |
|
2 |
Contributors: automattic, woothemes, allendav, kellychoffman, jkudish, jeffstieler, nabsul, robobot3000, danreylop, mikeyarce, shaunkuschel, orangesareorange, pauldechov
|
3 |
Tags: canada-post, shipping, stamps, usps, woocommerce, taxes, payment, stripe
|
4 |
Requires at least: 4.6
|
5 |
+
Tested up to: 4.8.3
|
6 |
+
Stable tag: 1.8.3
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
89 |
|
90 |
== Changelog ==
|
91 |
|
92 |
+
= 1.8.3 =
|
93 |
+
* Fix tax calculation in order total bug (WooCommerce 3.2+)
|
94 |
+
|
95 |
= 1.8.2 =
|
96 |
* Fix crash in the WooCommerce setup wizard when picking a supported country but an unsupported currency
|
97 |
|
woocommerce-services.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* Author URI: https://woocommerce.com/
|
8 |
* Text Domain: woocommerce-services
|
9 |
* Domain Path: /i18n/languages/
|
10 |
-
* Version: 1.8.
|
11 |
*
|
12 |
* Copyright (c) 2017 Automattic
|
13 |
*
|
7 |
* Author URI: https://woocommerce.com/
|
8 |
* Text Domain: woocommerce-services
|
9 |
* Domain Path: /i18n/languages/
|
10 |
+
* Version: 1.8.3
|
11 |
*
|
12 |
* Copyright (c) 2017 Automattic
|
13 |
*
|