Printful Integration for WooCommerce - Version 2.1.15

Version Description

Fix translations

Download this release

Release Info

Developer printful
Plugin Icon 128x128 Printful Integration for WooCommerce
Version 2.1.15
Comparing to
See all releases

Code changes from version 2.1.14 to 2.1.15

assets/js/product-size-guide.js CHANGED
@@ -284,7 +284,9 @@ var Printful_Product_Size_Guide;
284
  var tableHeader = this.buildEl('thead'),
285
  tableHeaderRow = this.buildEl('tr');
286
 
287
- tableHeaderRow.appendChild(this.buildEl('td', null, {innerHTML: 'Size'}));
 
 
288
  rows.map((function (row) {
289
  tableHeaderRow.appendChild(this.buildEl('td', null, {innerHTML: row.title}));
290
  }).bind(this));
284
  var tableHeader = this.buildEl('thead'),
285
  tableHeaderRow = this.buildEl('tr');
286
 
287
+ var tableHeaderRowText = window.pfGlobal && window.pfGlobal.sg_table_header_size ? window.pfGlobal.sg_table_header_size : 'Size';
288
+
289
+ tableHeaderRow.appendChild(this.buildEl('td', null, {innerHTML: tableHeaderRowText}));
290
  rows.map((function (row) {
291
  tableHeaderRow.appendChild(this.buildEl('td', null, {innerHTML: row.title}));
292
  }).bind(this));
i18n/languages/printful.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: \n"
5
- "POT-Creation-Date: 2020-08-17 14:22+0300\n"
6
  "PO-Revision-Date: 2018-04-26 13:50+0300\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -465,6 +465,10 @@ msgstr ""
465
  msgid "Product measurements"
466
  msgstr ""
467
 
 
 
 
 
468
  #: includes/class-printful-taxes.php:160
469
  msgid "Sales Tax"
470
  msgstr ""
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: \n"
5
+ "POT-Creation-Date: 2020-09-07 18:56+0300\n"
6
  "PO-Revision-Date: 2018-04-26 13:50+0300\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
465
  msgid "Product measurements"
466
  msgstr ""
467
 
468
+ #: includes/class-printful-size-guide.php:53
469
+ msgid "Size"
470
+ msgstr ""
471
+
472
  #: includes/class-printful-taxes.php:160
473
  msgid "Sales Tax"
474
  msgstr ""
includes/class-printful-size-guide.php CHANGED
@@ -50,6 +50,7 @@ class Printful_Size_Guide {
50
  'sg_data_raw' => json_encode( $sizeGuideData ),
51
  'sg_tab_title_person' => __( 'Measure yourself', 'printful' ),
52
  'sg_tab_title_product' => __( 'Product measurements', 'printful' ),
 
53
  )
54
  );
55
  wp_register_style( $handle, plugins_url( '../assets/css/size-guide.css', __FILE__ ) );
50
  'sg_data_raw' => json_encode( $sizeGuideData ),
51
  'sg_tab_title_person' => __( 'Measure yourself', 'printful' ),
52
  'sg_tab_title_product' => __( 'Product measurements', 'printful' ),
53
+ 'sg_table_header_size' => __( 'Size', 'printful' ),
54
  )
55
  );
56
  wp_register_style( $handle, plugins_url( '../assets/css/size-guide.css', __FILE__ ) );
printful-shipping.php CHANGED
@@ -3,13 +3,13 @@
3
  Plugin Name: Printful Integration for WooCommerce
4
  Plugin URI: https://wordpress.org/plugins/printful-shipping-for-woocommerce/
5
  Description: Calculate correct shipping and tax rates for your Printful-Woocommerce integration.
6
- Version: 2.1.14
7
  Author: Printful
8
  Author URI: http://www.printful.com
9
  License: GPL2 http://www.gnu.org/licenses/gpl-2.0.html
10
  Text Domain: printful
11
  WC requires at least: 3.0.0
12
- WC tested up to: 4.4
13
  */
14
 
15
  if ( ! defined( 'ABSPATH' ) ) exit;
@@ -20,7 +20,7 @@ if ( ! defined( 'PF_PLUGIN_FILE' ) ) {
20
 
21
  class Printful_Base {
22
 
23
- const VERSION = '2.1.14';
24
  const PF_HOST = 'https://www.printful.com/';
25
  const PF_API_HOST = 'https://api.printful.com/';
26
 
3
  Plugin Name: Printful Integration for WooCommerce
4
  Plugin URI: https://wordpress.org/plugins/printful-shipping-for-woocommerce/
5
  Description: Calculate correct shipping and tax rates for your Printful-Woocommerce integration.
6
+ Version: 2.1.15
7
  Author: Printful
8
  Author URI: http://www.printful.com
9
  License: GPL2 http://www.gnu.org/licenses/gpl-2.0.html
10
  Text Domain: printful
11
  WC requires at least: 3.0.0
12
+ WC tested up to: 4.5
13
  */
14
 
15
  if ( ! defined( 'ABSPATH' ) ) exit;
20
 
21
  class Printful_Base {
22
 
23
+ const VERSION = '2.1.15';
24
  const PF_HOST = 'https://www.printful.com/';
25
  const PF_API_HOST = 'https://api.printful.com/';
26
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: woocommerce, printful, drop shipping, shipping, shipping rates, fulfillmen
4
  Requires at least: 4.9
5
  Tested up to: 5.5
6
  Requires PHP: 5.6
7
- Stable tag: 2.1.14
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -65,6 +65,9 @@ Go to https://www.printful.com/dashboard/store , select your WooCommerce store,
65
 
66
  == Upgrade Notice ==
67
 
 
 
 
68
  = 2.1.14 =
69
  Advanced size guide feature
70
 
@@ -184,8 +187,11 @@ First release
184
 
185
  == Changelog ==
186
 
 
 
 
187
  = 2.1.14 =
188
- Advanced size guide feature
189
 
190
  = 2.1.13 =
191
  * Improved support for WooCommerce 4.3
4
  Requires at least: 4.9
5
  Tested up to: 5.5
6
  Requires PHP: 5.6
7
+ Stable tag: 2.1.15
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
65
 
66
  == Upgrade Notice ==
67
 
68
+ = 2.1.15 =
69
+ Fix translations
70
+
71
  = 2.1.14 =
72
  Advanced size guide feature
73
 
187
 
188
  == Changelog ==
189
 
190
+ = 2.1.15 =
191
+ * Fix translations
192
+
193
  = 2.1.14 =
194
+ * Advanced size guide feature
195
 
196
  = 2.1.13 =
197
  * Improved support for WooCommerce 4.3