Flexible Shipping for WooCommerce - Version 1.9.2

Version Description

  • 2017-06-07 =
  • Added compatibility with WooCommerce InPost 3.4
Download this release

Release Info

Developer wpdesk
Plugin Icon 128x128 Flexible Shipping for WooCommerce
Version 1.9.2
Comparing to
See all releases

Code changes from version 1.9.1 to 1.9.2

classes/bulk-actions.php CHANGED
@@ -357,21 +357,25 @@ if ( ! class_exists( 'WPDesk_Flexible_Shipping_Bulk_Actions' ) ) {
357
  }
358
  try {
359
  $integration = $shipment->get_integration();
 
 
 
 
360
  $manifest = null;
361
- if ( empty( $manifests[$integration] ) ) {
362
  if ( fs_manifest_integration_exists( $integration ) ) {
363
  $manifest = fs_create_manifest( $integration );
364
  }
365
  }
366
  else {
367
- $manifest = $manifests[$integration];
368
  }
369
  if ( $manifest != null ) {
370
  $manifest->add_shipments( $shipment );
371
  $manifest->save();
372
  $shipment->update_status('fs-manifest' );
373
  $shipment->save();
374
- $manifests[$integration] = $manifest;
375
  }
376
  }
377
  catch ( Exception $e ) {
357
  }
358
  try {
359
  $integration = $shipment->get_integration();
360
+ $manifest_name = $integration;
361
+ if ( method_exists( $shipment, 'get_manifest_name' ) ) {
362
+ $manifest_name = $shipment->get_manifest_name();
363
+ }
364
  $manifest = null;
365
+ if ( empty( $manifests[$manifest_name] ) ) {
366
  if ( fs_manifest_integration_exists( $integration ) ) {
367
  $manifest = fs_create_manifest( $integration );
368
  }
369
  }
370
  else {
371
+ $manifest = $manifests[$manifest_name];
372
  }
373
  if ( $manifest != null ) {
374
  $manifest->add_shipments( $shipment );
375
  $manifest->save();
376
  $shipment->update_status('fs-manifest' );
377
  $shipment->save();
378
+ $manifests[$manifest_name] = $manifest;
379
  }
380
  }
381
  catch ( Exception $e ) {
classes/order-add-shipping.php ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
4
+
5
+ if ( ! class_exists( 'WPDesk_Flexible_Shipping_Add_Shipping' ) ) {
6
+
7
+ class WPDesk_Flexible_Shipping_Add_Shipping {
8
+
9
+ private $shipping_added = false;
10
+
11
+ public function __construct() {
12
+ add_action( 'add_meta_boxes', array( $this, 'add_meta_boxes' ), 20, 2 );
13
+ add_action( 'admin_init', array( $this, 'admin_init' ) );
14
+ }
15
+
16
+ public function admin_init() {
17
+ if ( isset( $_GET['fs_add_shipping'] ) && isset( $_GET['post'] ) ) {
18
+ if ( isset( $_GET['_wpnonce'] ) ) {
19
+ if ( wp_verify_nonce( $_GET['_wpnonce'], 'fs_add_shipping' ) ) {
20
+ if ( class_exists( 'WPDesk_Flexible_Shipping_Shipment_' . $_GET['fs_add_shipping'] ) ) {
21
+ $order = wc_get_order( $_GET['post'] );
22
+ if ( $order ) {
23
+ if ( version_compare( WC_VERSION, '2.7', '<' ) ) {
24
+ $order_id = $order->id;
25
+ }
26
+ else {
27
+ $order_id = $order->get_id();
28
+ }
29
+ $integration = $_GET['fs_add_shipping'];
30
+ $post_title = sprintf( __( 'Shipment for order %s, %s', 'flexible-shipping' ), $order_id, $integration );
31
+ //$post_title = apply_filters( 'flexible_shipping_shipment_post_title_'. $integration, $post_title, $fs_method );
32
+ $shipment_post = array(
33
+ 'post_title' => $post_title,
34
+ 'post_type' => 'shipment',
35
+ 'post_status' => 'fs-new',
36
+ 'post_parent' => $order_id
37
+ );
38
+ $shipment_id = wp_insert_post( $shipment_post );
39
+ update_post_meta( $shipment_id, '_integration', $integration );
40
+ $shipment = fs_get_shipment( $shipment_id, $order );
41
+ if ( method_exists( $shipment, 'admin_add_shipment' ) ) {
42
+ $shipment->admin_add_shipment();
43
+ $shipment->save();
44
+ }
45
+ $this->shipping_added = true;
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+
53
+ public function add_meta_boxes( $post_type, $post ) {
54
+ if ( $post_type == 'shop_order' ) {
55
+ $add_metabox = false;
56
+ $order = wc_get_order( $post->ID );
57
+ if ( version_compare( WC_VERSION, '2.7', '<' ) ) {
58
+ $created_via = get_post_meta( $order->id, '_created_via', true );
59
+ }
60
+ else {
61
+ $created_via = $order->get_meta( '_created_via', true );
62
+ }
63
+ if ( $created_via != 'checkout' ) {
64
+ $add_metabox = true;
65
+ }
66
+ if ( !$add_metabox ) {
67
+ $order_shipping_methods = $order->get_shipping_methods();
68
+ $all_shipping_methods = flexible_shipping_get_all_shipping_methods();
69
+ $flexible_shipping = $all_shipping_methods['flexible_shipping'];
70
+ $flexible_shipping_rates = $flexible_shipping->get_all_rates();
71
+ foreach ( $order_shipping_methods as $order_shipping_method ) {
72
+ if ( isset( $flexible_shipping_rates[ $order_shipping_method['method_id'] ] ) ) {
73
+ $add_metabox = true;
74
+ }
75
+ }
76
+ }
77
+ $select_options = array();
78
+ $select_options = apply_filters( 'flexible_shipping_add_shipping_options', $select_options );
79
+ if ( $add_metabox && count( $select_options ) ) {
80
+ $select_options = array_merge(
81
+ array( '' => __( 'Select integration', 'flexible-shipping' ) ),
82
+ $select_options
83
+ );
84
+ $args = array(
85
+ 'select_options' => $select_options,
86
+ 'order_id' => $post->ID
87
+ );
88
+ add_meta_box(
89
+ 'add_shipping_meta_box',
90
+ __( 'Add shipping', 'flexible-shipping' ),
91
+ array( $this, 'order_metabox' ),
92
+ 'shop_order',
93
+ 'side',
94
+ 'default',
95
+ $args
96
+ );
97
+
98
+ }
99
+ }
100
+ }
101
+
102
+ public function order_metabox( $post, $args ) {
103
+ $select_options = $args['args']['select_options'];
104
+ $order_id = $args['args']['order_id'];
105
+ $add_shipping_url = admin_url( 'post.php?post=' . $order_id . '&action=edit' );
106
+ $add_shipping_url = wp_nonce_url( $add_shipping_url, 'fs_add_shipping' );
107
+ $add_shipping_url = str_replace( '&amp;', '&', $add_shipping_url );
108
+ include( 'views/html-order-add_shipping-metabox.php' );
109
+ }
110
+
111
+ }
112
+
113
+ }
classes/shipment/ajax.php CHANGED
@@ -47,7 +47,13 @@ if ( ! class_exists( 'WPDesk_Flexible_Shipping_Shipment_Ajax' ) ) {
47
  }
48
  else {
49
  $json['content'] = $ajax_request;
50
- $json['message'] = __('Saved', 'flexible-shipping');
 
 
 
 
 
 
51
  }
52
  $json['status'] = 'success';
53
  }
47
  }
48
  else {
49
  $json['content'] = $ajax_request;
50
+ $json['message'] = '';
51
+ if ( $action == 'save' ) {
52
+ $json['message'] = __( 'Saved', 'flexible-shipping' );
53
+ }
54
+ if ( $action == 'send' ) {
55
+ $json['message'] = __( 'Created', 'flexible-shipping' );
56
+ }
57
  }
58
  $json['status'] = 'success';
59
  }
classes/views/html-order-add_shipping-metabox.php ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
2
+ <?php
3
+
4
+ $params = array(
5
+ 'type' => 'select',
6
+ 'options' => $select_options,
7
+ 'class' => array('first','paczkomaty'),
8
+ //'label' => __( 'Integration ', 'flexible-shipping' ),
9
+ 'id' => 'fs_add_shipping',
10
+ );
11
+
12
+ woocommerce_form_field( 'fs_add_shipping', $params );
13
+
14
+ ?>
15
+ <button id="fs_add_shipping_button" class="button button-primary" href="" disabled="disabled"><?php _e( 'Add', 'flexible-shipping' ); ?></button>
16
+ <script type="text/javascript">
17
+ jQuery('#fs_add_shipping').change(function(){
18
+ if ( jQuery(this).val() != '' ) {
19
+ jQuery('#fs_add_shipping_button').attr( 'disabled', false );
20
+ }
21
+ else {
22
+ jQuery('#fs_add_shipping_button').attr( 'disabled', true );
23
+ }
24
+ })
25
+ jQuery('#fs_add_shipping_button').click(function(e){
26
+ e.preventDefault();
27
+ window.location.href = '<?php echo $add_shipping_url; ?>' + '&fs_add_shipping=' + jQuery('#fs_add_shipping').val();
28
+ });
29
+ if ( typeof window.history.pushState == 'function' ) {
30
+ var url = document.location.href;
31
+ var url2 = document.location.href;
32
+ url = fs_removeParam('_wpnonce', url);
33
+ url = fs_removeParam('fs_add_shipping', url);
34
+ url = fs_trimChar(url,'?');
35
+ if ( url != url2 ) {
36
+ window.history.pushState({}, "", url);
37
+ }
38
+ }
39
+ </script>
40
+
flexible-shipping.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Flexible Shipping
4
  Plugin URI: https://wordpress.org/plugins/flexible-shipping/
5
  Description: Create additional shipment methods in WooCommerce and enable pricing based on cart weight or total.
6
- Version: 1.9.1
7
  Author: WP Desk
8
  Author URI: https://www.wpdesk.net/
9
  Text Domain: flexible-shipping
@@ -97,6 +97,9 @@ if ( wpdesk_is_plugin_active( 'woocommerce/woocommerce.php' ) ) {
97
  require_once('classes/bulk-actions.php');
98
  new WPDesk_Flexible_Shipping_Bulk_Actions();
99
 
 
 
 
100
  require_once('classes/shipping_method.php');
101
  add_action( 'admin_enqueue_scripts', array($this, 'enqueue_admin_scripts'), 75 );
102
  add_action( 'admin_notices', array( $this, 'admin_notices' ) );
3
  Plugin Name: Flexible Shipping
4
  Plugin URI: https://wordpress.org/plugins/flexible-shipping/
5
  Description: Create additional shipment methods in WooCommerce and enable pricing based on cart weight or total.
6
+ Version: 1.9.2
7
  Author: WP Desk
8
  Author URI: https://www.wpdesk.net/
9
  Text Domain: flexible-shipping
97
  require_once('classes/bulk-actions.php');
98
  new WPDesk_Flexible_Shipping_Bulk_Actions();
99
 
100
+ require_once('classes/order-add-shipping.php');
101
+ new WPDesk_Flexible_Shipping_Add_Shipping();
102
+
103
  require_once('classes/shipping_method.php');
104
  add_action( 'admin_enqueue_scripts', array($this, 'enqueue_admin_scripts'), 75 );
105
  add_action( 'admin_notices', array( $this, 'admin_notices' ) );
inc/wpdesk-tracker/assets/css/tracker.min.css CHANGED
@@ -1 +1 @@
1
- #wpdesk_tracker_connect{margin-top:30px}#wpdesk_tracker_connect .wpdesk-logo{background-image:url(../images/logo.png);background-repeat:no-repeat;background-size:215px 62px;display:block;height:62px;margin:0 auto;width:215px}@media (-webkit-min-device-pixel-ratio: 2),(min-resolution: 192dpi){#wpdesk_tracker_connect .wpdesk-logo{background-image:url(../images/logo@2x.png);background-size:215px 62px}}#wpdesk_tracker_connect .message p{font-size:14px}#wpdesk_tracker_connect .plugin-card-bottom{border-bottom:1px solid #ddd;margin-bottom:10px}#wpdesk_tracker_connect .button-allow{float:right}#wpdesk_tracker_connect .permissions .trigger{display:block;font-size:.9em;text-align:center;margin-bottom:10px;text-decoration:none}#wpdesk_tracker_connect .permissions .permissions-details{height:0;overflow:hidden;margin:0}#wpdesk_tracker_connect .permissions.open .permissions-details{height:auto;padding:10px 20px}#wpdesk_tracker_connect .permissions ul{margin:0}#wpdesk_tracker_connect .permissions ul li{margin-bottom:12px}#wpdesk_tracker_connect .permissions ul li i.dashicons{float:left;font-size:40px;width:40px;height:40px}#wpdesk_tracker_connect .permissions ul li div{margin-left:55px}#wpdesk_tracker_connect .permissions ul li div span{font-weight:bold}#wpdesk_tracker_connect .permissions ul li div p{margin:2px 0 0 0}#wpdesk_tracker_connect .terms{font-size:.9em;padding:5px}#wpdesk_tracker_connect .terms a{color:#999}.wpdesk_tracker_deactivate .reason-input{display:none}.wpdesk_tracker_deactivate .reason-input input[type=text]{margin-left:25px;width:350px}
1
+ #wpdesk_tracker_connect{margin-top:30px}#wpdesk_tracker_connect .wpdesk-logo{background-image:url(../images/logo.png);background-repeat:no-repeat;background-size:215px 62px;display:block;height:62px;margin:0 auto;width:215px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#wpdesk_tracker_connect .wpdesk-logo{background-image:url(../images/logo@2x.png);background-size:215px 62px}}#wpdesk_tracker_connect .message p{font-size:14px}#wpdesk_tracker_connect .plugin-card-bottom{border-bottom:1px solid #ddd;margin-bottom:10px}#wpdesk_tracker_connect .button-allow{float:right}#wpdesk_tracker_connect .permissions .trigger{display:block;font-size:.9em;text-align:center;margin-bottom:10px;text-decoration:none}#wpdesk_tracker_connect .permissions .permissions-details{height:0;overflow:hidden;margin:0}#wpdesk_tracker_connect .permissions.open .permissions-details{height:auto;padding:10px 20px}#wpdesk_tracker_connect .permissions ul{margin:0}#wpdesk_tracker_connect .permissions ul li{margin-bottom:12px}#wpdesk_tracker_connect .permissions ul li i.dashicons{float:left;font-size:40px;width:40px;height:40px}#wpdesk_tracker_connect .permissions ul li div{margin-left:55px}#wpdesk_tracker_connect .permissions ul li div span{font-weight:bold}#wpdesk_tracker_connect .permissions ul li div p{margin:2px 0 0 0}#wpdesk_tracker_connect .terms{font-size:.9em;padding:5px}#wpdesk_tracker_connect .terms a{color:#999}.wpdesk_tracker_deactivate .reason-input{display:none}.wpdesk_tracker_deactivate .reason-input input[type=text]{margin-left:25px;width:350px}
languages/flexible-shipping-pl_PL.mo CHANGED
Binary file
languages/flexible-shipping-pl_PL.po CHANGED
@@ -1,15 +1,15 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Flexible Shipping\n"
4
- "POT-Creation-Date: 2017-05-29 14:07+0200\n"
5
- "PO-Revision-Date: 2017-05-29 14:20+0200\n"
6
- "Last-Translator: Maciej Swoboda <maciej.swoboda@gmail.com>\n"
7
  "Language-Team: Maciej Swoboda <maciej.swoboda@gmail.com>\n"
8
  "Language: pl_PL\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 2.0\n"
13
  "X-Poedit-Basepath: ..\n"
14
  "X-Poedit-WPHeader: flexible-shipping.php\n"
15
  "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
@@ -27,6 +27,7 @@ msgid "New"
27
  msgstr "Nowa"
28
 
29
  #: classes/bulk-actions.php:47 classes/bulk-actions.php:198
 
30
  msgid "Created"
31
  msgstr "Utworzona"
32
 
@@ -139,15 +140,15 @@ msgstr ""
139
  msgid "An unknown error occurred"
140
  msgstr "Wystąpił nieznany błąd"
141
 
142
- #: classes/inspire/plugin4.php:387 flexible-shipping.php:483
143
  msgid "Settings"
144
  msgstr "Ustawienia"
145
 
146
- #: classes/inspire/plugin4.php:388 flexible-shipping.php:484
147
  msgid "Docs"
148
  msgstr "Docs"
149
 
150
- #: classes/inspire/plugin4.php:389 flexible-shipping.php:485
151
  msgid "Support"
152
  msgstr "Wsparcie"
153
 
@@ -228,8 +229,8 @@ msgstr "Liczba przesyłek"
228
  msgid "Actions"
229
  msgstr "Akcje"
230
 
231
- #: classes/manifest/cpt-shipping-manifest.php:218
232
- #: classes/manifest/cpt-shipping-manifest.php:241
233
  #: classes/shipment/cpt-shipment.php:174
234
  msgid "Invalid nonce!"
235
  msgstr "Błąd weryfikacji nonce!"
@@ -240,6 +241,10 @@ msgid "Shipping manifest %s, %s"
240
  msgstr "Protokół nadania %s, %s"
241
 
242
  #: classes/manifest/views/column-actions.php:1
 
 
 
 
243
  msgid "Cancel"
244
  msgstr "Anuluj"
245
 
@@ -258,13 +263,26 @@ msgstr "Przesyłka"
258
  msgid "Order"
259
  msgstr "Zamówienie"
260
 
 
 
 
 
 
 
 
 
 
 
 
 
 
261
  #. Plugin Name of the plugin/theme
262
  #: classes/settings-flexible-shipping.php:14
263
  #: classes/settings-flexible-shipping.php:28
264
  #: classes/settings-shipping-method-form.php:39 classes/shipping_method.php:24
265
  #: classes/shipping_method.php:25 classes/shipping_method.php:43
266
- #: flexible-shipping.php:367 flexible-shipping.php:370
267
- #: flexible-shipping.php:373
268
  msgid "Flexible Shipping"
269
  msgstr "Flexible Shipping"
270
 
@@ -318,8 +336,8 @@ msgid ""
318
  "%sAdd integrations%s with DHL, Paczkomaty InPost, eNadawca Poczta Polska, "
319
  "Paczka w Ruchu."
320
  msgstr ""
321
- "%sDodaj integrację%s z DHL, Paczkomaty InPost, eNadawca Poczta Polska, "
322
- "Paczka w Ruchu."
323
 
324
  #: classes/settings-shipping-method-form.php:19 classes/shipping_method.php:785
325
  msgid "Free"
@@ -442,7 +460,7 @@ msgstr "Brak id przesyłki!"
442
  msgid "No data!"
443
  msgstr "Brak danych!"
444
 
445
- #: classes/shipment/ajax.php:50
446
  msgid "Saved"
447
  msgstr "Zapisano"
448
 
@@ -543,11 +561,6 @@ msgstr[2] "Błąd <span class=\"count\">(%s)</span>"
543
  msgid "Shipment data"
544
  msgstr "Dane przesyłki"
545
 
546
- #: classes/shipment/functions.php:23
547
- #, php-format
548
- msgid "Shipment for order %s, %s"
549
- msgstr "Przesyłka do zamówienia %s, %s"
550
-
551
  #: classes/shipping_method.php:40
552
  msgid "Shipping Title"
553
  msgstr "Tytuł"
@@ -645,11 +658,11 @@ msgstr "Metoda wysyłki nie znaleziona."
645
  msgid "Shipping method %s updated."
646
  msgstr "Metoda wysyłki zaktualizowana: %s."
647
 
648
- #: classes/tracker.php:175
649
  msgid "Opt-in"
650
  msgstr "Opt-in"
651
 
652
- #: classes/tracker.php:179
653
  msgid "Opt-out"
654
  msgstr "Opt-out"
655
 
@@ -691,6 +704,14 @@ msgstr "Pobierz etykietę dla "
691
  msgid "Track shipment for: "
692
  msgstr "Śledź przesyłkę "
693
 
 
 
 
 
 
 
 
 
694
  #: classes/views/html-orders-filter-form.php:4
695
  #: classes/views/html-orders-filter-form.php:12
696
  msgid "All shippings"
@@ -822,23 +843,23 @@ msgstr "Proszę wybrać metody wysyłki do usunięcia"
822
  msgid "Select file to import"
823
  msgstr "Wybierz plik do importu"
824
 
825
- #: flexible-shipping.php:407
826
  msgid ""
827
  "Flexible Shipping requires at least version 2.7 of Active Payments plugin."
828
  msgstr ""
829
  "Flexible Shipping wymaga wtyczki Aktywne płatności w wersji co najmniej 2.7."
830
 
831
- #: flexible-shipping.php:418
832
  msgid "Flexible Shipping requires at least version 1.2 of eNadawca plugin."
833
  msgstr "Flexible Shipping wymaga wtyczki eNadawca w wersji co najmniej 1.2."
834
 
835
- #: flexible-shipping.php:429
836
  msgid ""
837
  "Flexible Shipping requires at least version 1.1 of Paczka w Ruchu plugin."
838
  msgstr ""
839
  "Flexible Shipping wymaga wtyczki Paczka w Ruchu w wersji co najmniej 1.1."
840
 
841
- #: flexible-shipping.php:437
842
  #, php-format
843
  msgid ""
844
  "You are using WooCommerce Flexible Shipping below 1.4. Please deactivate it "
@@ -849,11 +870,11 @@ msgstr ""
849
  "Wyłącz go na %sstronie wtyczek%s. Przeczytaj o dużej zmianie we Flexible "
850
  "Shipping na %snaszym blogu →%s"
851
 
852
- #: flexible-shipping.php:492
853
  msgid "Upgrade"
854
  msgstr "Kup PRO"
855
 
856
- #: flexible-shipping.php:609
857
  #, php-format
858
  msgid "Redirecting. If page not redirects click %s here %s."
859
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Flexible Shipping\n"
4
+ "POT-Creation-Date: 2017-06-06 16:03+0200\n"
5
+ "PO-Revision-Date: 2017-06-06 16:05+0200\n"
6
+ "Last-Translator: Piotr Jabłonowski <piotr.jablonowski@wpdesk.net>\n"
7
  "Language-Team: Maciej Swoboda <maciej.swoboda@gmail.com>\n"
8
  "Language: pl_PL\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 2.0.2\n"
13
  "X-Poedit-Basepath: ..\n"
14
  "X-Poedit-WPHeader: flexible-shipping.php\n"
15
  "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
27
  msgstr "Nowa"
28
 
29
  #: classes/bulk-actions.php:47 classes/bulk-actions.php:198
30
+ #: classes/shipment/ajax.php:55
31
  msgid "Created"
32
  msgstr "Utworzona"
33
 
140
  msgid "An unknown error occurred"
141
  msgstr "Wystąpił nieznany błąd"
142
 
143
+ #: classes/inspire/plugin4.php:387 flexible-shipping.php:498
144
  msgid "Settings"
145
  msgstr "Ustawienia"
146
 
147
+ #: classes/inspire/plugin4.php:388 flexible-shipping.php:499
148
  msgid "Docs"
149
  msgstr "Docs"
150
 
151
+ #: classes/inspire/plugin4.php:389 flexible-shipping.php:500
152
  msgid "Support"
153
  msgstr "Wsparcie"
154
 
229
  msgid "Actions"
230
  msgstr "Akcje"
231
 
232
+ #: classes/manifest/cpt-shipping-manifest.php:219
233
+ #: classes/manifest/cpt-shipping-manifest.php:242
234
  #: classes/shipment/cpt-shipment.php:174
235
  msgid "Invalid nonce!"
236
  msgstr "Błąd weryfikacji nonce!"
241
  msgstr "Protokół nadania %s, %s"
242
 
243
  #: classes/manifest/views/column-actions.php:1
244
+ msgid "Download"
245
+ msgstr "Pobierz"
246
+
247
+ #: classes/manifest/views/column-actions.php:2
248
  msgid "Cancel"
249
  msgstr "Anuluj"
250
 
263
  msgid "Order"
264
  msgstr "Zamówienie"
265
 
266
+ #: classes/order-add-shipping.php:30 classes/shipment/functions.php:23
267
+ #, php-format
268
+ msgid "Shipment for order %s, %s"
269
+ msgstr "Przesyłka do zamówienia %s, %s"
270
+
271
+ #: classes/order-add-shipping.php:59
272
+ msgid "Select integration"
273
+ msgstr "Wybierz integrację"
274
+
275
+ #: classes/order-add-shipping.php:68
276
+ msgid "Add shipping"
277
+ msgstr "Dodaj przesyłkę"
278
+
279
  #. Plugin Name of the plugin/theme
280
  #: classes/settings-flexible-shipping.php:14
281
  #: classes/settings-flexible-shipping.php:28
282
  #: classes/settings-shipping-method-form.php:39 classes/shipping_method.php:24
283
  #: classes/shipping_method.php:25 classes/shipping_method.php:43
284
+ #: flexible-shipping.php:382 flexible-shipping.php:385
285
+ #: flexible-shipping.php:388
286
  msgid "Flexible Shipping"
287
  msgstr "Flexible Shipping"
288
 
336
  "%sAdd integrations%s with DHL, Paczkomaty InPost, eNadawca Poczta Polska, "
337
  "Paczka w Ruchu."
338
  msgstr ""
339
+ "%sDodaj integrację%s z DPD, DHL, InPost, eNadawca Poczta Polska, Paczka w "
340
+ "Ruchu."
341
 
342
  #: classes/settings-shipping-method-form.php:19 classes/shipping_method.php:785
343
  msgid "Free"
460
  msgid "No data!"
461
  msgstr "Brak danych!"
462
 
463
+ #: classes/shipment/ajax.php:52
464
  msgid "Saved"
465
  msgstr "Zapisano"
466
 
561
  msgid "Shipment data"
562
  msgstr "Dane przesyłki"
563
 
 
 
 
 
 
564
  #: classes/shipping_method.php:40
565
  msgid "Shipping Title"
566
  msgstr "Tytuł"
658
  msgid "Shipping method %s updated."
659
  msgstr "Metoda wysyłki zaktualizowana: %s."
660
 
661
+ #: classes/tracker.php:178
662
  msgid "Opt-in"
663
  msgstr "Opt-in"
664
 
665
+ #: classes/tracker.php:182
666
  msgid "Opt-out"
667
  msgstr "Opt-out"
668
 
704
  msgid "Track shipment for: "
705
  msgstr "Śledź przesyłkę "
706
 
707
+ #: classes/views/html-order-add_shipping-metabox.php:8
708
+ msgid "Integration "
709
+ msgstr "Integracja "
710
+
711
+ #: classes/views/html-order-add_shipping-metabox.php:15
712
+ msgid "Add"
713
+ msgstr "Dodaj"
714
+
715
  #: classes/views/html-orders-filter-form.php:4
716
  #: classes/views/html-orders-filter-form.php:12
717
  msgid "All shippings"
843
  msgid "Select file to import"
844
  msgstr "Wybierz plik do importu"
845
 
846
+ #: flexible-shipping.php:422
847
  msgid ""
848
  "Flexible Shipping requires at least version 2.7 of Active Payments plugin."
849
  msgstr ""
850
  "Flexible Shipping wymaga wtyczki Aktywne płatności w wersji co najmniej 2.7."
851
 
852
+ #: flexible-shipping.php:433
853
  msgid "Flexible Shipping requires at least version 1.2 of eNadawca plugin."
854
  msgstr "Flexible Shipping wymaga wtyczki eNadawca w wersji co najmniej 1.2."
855
 
856
+ #: flexible-shipping.php:444
857
  msgid ""
858
  "Flexible Shipping requires at least version 1.1 of Paczka w Ruchu plugin."
859
  msgstr ""
860
  "Flexible Shipping wymaga wtyczki Paczka w Ruchu w wersji co najmniej 1.1."
861
 
862
+ #: flexible-shipping.php:452
863
  #, php-format
864
  msgid ""
865
  "You are using WooCommerce Flexible Shipping below 1.4. Please deactivate it "
870
  "Wyłącz go na %sstronie wtyczek%s. Przeczytaj o dużej zmianie we Flexible "
871
  "Shipping na %snaszym blogu →%s"
872
 
873
+ #: flexible-shipping.php:507
874
  msgid "Upgrade"
875
  msgstr "Kup PRO"
876
 
877
+ #: flexible-shipping.php:624
878
  #, php-format
879
  msgid "Redirecting. If page not redirects click %s here %s."
880
  msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.wpdesk.net/products/flexible-shipping-pro-woocommerce/
4
  Tags: table rate, table rate shipping, woocommerce shipping, flexible shipping, woocommerce table rate shipping, cart based shipping, weight shipping, weight based shipping, totals based shipping, order based shipping, shipping zones, shipping classes
5
  Requires at least: 4.4
6
  Tested up to: 4.7.5
7
- Stable tag: 1.9.1
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -153,6 +153,9 @@ If you are upgrading from the old Flexible Shipping version (1.3.2, woo-flexible
153
 
154
  == Changelog ==
155
 
 
 
 
156
  = 1.9.1 - 2017-06-02 =
157
  * Added compatibility with WooCommerce InPost 3.3
158
 
4
  Tags: table rate, table rate shipping, woocommerce shipping, flexible shipping, woocommerce table rate shipping, cart based shipping, weight shipping, weight based shipping, totals based shipping, order based shipping, shipping zones, shipping classes
5
  Requires at least: 4.4
6
  Tested up to: 4.7.5
7
+ Stable tag: 1.9.2
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
153
 
154
  == Changelog ==
155
 
156
+ = 1.9.2 - 2017-06-07 =
157
+ * Added compatibility with WooCommerce InPost 3.4
158
+
159
  = 1.9.1 - 2017-06-02 =
160
  * Added compatibility with WooCommerce InPost 3.3
161