Flexible Shipping for WooCommerce - Version 1.9.8

Version Description

  • 2017-09-11 =
  • Added compatibility with WooCommerce DPD UK 1.0
Download this release

Release Info

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

Code changes from version 1.9.7 to 1.9.8

classes/manifest/cpt-shipping-manifest.php CHANGED
@@ -217,6 +217,7 @@ class WPDesk_Flexible_Shipping_Shipping_Manifest_CPT {
217
  $nonce = $_GET['nonce'];
218
  if ( !wp_verify_nonce( $nonce, 'flexible_shipping_cancel_manifest' ) ) {
219
  echo __( 'Invalid nonce!', 'flexible-shipping' );
 
220
  }
221
  $sendback = admin_url( 'edit.php?post_type=shipping_manifest' );
222
  try {
217
  $nonce = $_GET['nonce'];
218
  if ( !wp_verify_nonce( $nonce, 'flexible_shipping_cancel_manifest' ) ) {
219
  echo __( 'Invalid nonce!', 'flexible-shipping' );
220
+ exit;
221
  }
222
  $sendback = admin_url( 'edit.php?post_type=shipping_manifest' );
223
  try {
classes/settings-shipping-method-form.php CHANGED
@@ -12,8 +12,19 @@ foreach ( WC()->shipping->get_shipping_classes() as $shipping_class ) {
12
  $shipping_classes[$shipping_class->term_id] = $shipping_class->name;
13
  }
14
 
15
- $integrations = get_locale() === 'pl_PL' ? sprintf( __( '%sAdd integrations%s with DHL, Paczkomaty InPost, eNadawca Poczta Polska, Paczka w Ruchu.', 'flexible-shipping' ), '<a href="https://www.wpdesk.pl/kategoria-produktu/wysylka/?utm_source=flexible-shipping-method&utm_medium=text-link&utm_campaign=flexible-shipping-integrations" target="_blank">', ' &rarr;</a>' ) : '';
16
- $integrations_tip = get_locale() === 'pl_PL' ? false : true;
 
 
 
 
 
 
 
 
 
 
 
17
 
18
  if ( !isset( $shipping_method['method_free_shipping_label'] ) ) {
19
  $shipping_method['method_free_shipping_label'] = __( 'Free', 'flexible-shipping' );
12
  $shipping_classes[$shipping_class->term_id] = $shipping_class->name;
13
  }
14
 
15
+ switch ( wc_get_base_location()['country'] ) {
16
+ case 'PL':
17
+ $integrations = __( 'Integrate with DPD, DHL, InPost, eNadawca Poczta Polska, Paczka w Ruchu.', 'flexible-shipping' ) . '&nbsp;&nbsp;' . sprintf( __( '%sAdd integrations%s', 'flexible-shipping' ), '<a class="button button-primary" href="https://www.wpdesk.pl/kategoria-produktu/wysylka/?utm_source=flexible-shipping-method&utm_medium=button&utm_campaign=flexible-shipping-integrations" target="_blank">', ' &rarr;</a>' );
18
+ break;
19
+ case 'GB':
20
+ $integrations = __( 'Integrate with DPD.', 'flexible-shipping' ) . '&nbsp;&nbsp;' . sprintf( __( '%sAdd integration%s', 'flexible-shipping' ), '<a class="button button-primary" href="https://www.wpdesk.net/products/dpd-uk-woocommerce/?utm_source=flexible-shipping-method&utm_medium=button&utm_campaign=flexible-shipping-integrations" target="_blank">', ' &rarr;</a>' );
21
+ break;
22
+ default:
23
+ $integrations = '';
24
+
25
+ }
26
+
27
+ $integrations_tip = $integrations ? false : true;
28
 
29
  if ( !isset( $shipping_method['method_free_shipping_label'] ) ) {
30
  $shipping_method['method_free_shipping_label'] = __( 'Free', 'flexible-shipping' );
classes/shipment/cpt-shipment.php CHANGED
@@ -172,6 +172,7 @@ class WPDesk_Flexible_Shipping_Shipment_CPT {
172
  $nonce = $_GET['nonce'];
173
  if ( !wp_verify_nonce( $nonce, 'flexible_shipping_get_label' ) ) {
174
  echo __( 'Invalid nonce!', 'flexible-shipping' );
 
175
  }
176
  try {
177
  $shipment_id = $_GET['flexible_shipping_get_label'];
172
  $nonce = $_GET['nonce'];
173
  if ( !wp_verify_nonce( $nonce, 'flexible_shipping_get_label' ) ) {
174
  echo __( 'Invalid nonce!', 'flexible-shipping' );
175
+ exit;
176
  }
177
  try {
178
  $shipment_id = $_GET['flexible_shipping_get_label'];
classes/shipping_method.php CHANGED
@@ -567,6 +567,7 @@ if ( ! class_exists( 'WPDesk_Flexible_Shipping' ) ) {
567
  }
568
  WC_Admin_Settings::show_messages();
569
  }
 
570
  $this->generate_settings_html( $this->get_shipping_method_form($shipping_method) );
571
  }
572
  else if ( $action == 'delete' ) {
567
  }
568
  WC_Admin_Settings::show_messages();
569
  }
570
+ $shipping_method['woocommerce_method_instance_id'] = $this->instance_id;
571
  $this->generate_settings_html( $this->get_shipping_method_form($shipping_method) );
572
  }
573
  else if ( $action == 'delete' ) {
classes/tracker.php CHANGED
@@ -165,7 +165,7 @@ if ( ! class_exists( 'WPDesk_Flexible_Shipping_Tracker' ) ) {
165
  }
166
 
167
  public function plugin_action_links( $links ) {
168
- if ( !wpdesk_tracker_enabled() ) {
169
  return $links;
170
  }
171
  $options = get_option('wpdesk_helper_options', array() );
@@ -186,7 +186,7 @@ if ( ! class_exists( 'WPDesk_Flexible_Shipping_Tracker' ) ) {
186
 
187
 
188
  public function activated_plugin( $plugin, $network_wide ) {
189
- if ( wpdesk_tracker_enabled() && apply_filters( 'wpdesk_tracker_do_not_ask', false ) ) {
190
  return;
191
  }
192
  if ( $plugin == 'flexible-shipping/flexible-shipping.php' ) {
@@ -201,8 +201,10 @@ if ( ! class_exists( 'WPDesk_Flexible_Shipping_Tracker' ) ) {
201
  if ( $options['wpdesk_tracker_agree'] == '0' && $wpdesk_tracker_skip_plugin == '0' ) {
202
  update_option( 'wpdesk_tracker_notice', '1' );
203
  update_option( 'wpdesk_tracker_skip_flexible_shipping', '1' );
204
- wp_redirect( admin_url( 'admin.php?page=wpdesk_tracker&plugin=flexible-shipping/flexible-shipping.php' ) );
205
- exit;
 
 
206
  }
207
  }
208
  }
165
  }
166
 
167
  public function plugin_action_links( $links ) {
168
+ if ( !wpdesk_tracker_enabled() || apply_filters( 'wpdesk_tracker_do_not_ask', false ) ) {
169
  return $links;
170
  }
171
  $options = get_option('wpdesk_helper_options', array() );
186
 
187
 
188
  public function activated_plugin( $plugin, $network_wide ) {
189
+ if ( !wpdesk_tracker_enabled() ) {
190
  return;
191
  }
192
  if ( $plugin == 'flexible-shipping/flexible-shipping.php' ) {
201
  if ( $options['wpdesk_tracker_agree'] == '0' && $wpdesk_tracker_skip_plugin == '0' ) {
202
  update_option( 'wpdesk_tracker_notice', '1' );
203
  update_option( 'wpdesk_tracker_skip_flexible_shipping', '1' );
204
+ if ( !apply_filters( 'wpdesk_tracker_do_not_ask', false ) ) {
205
+ wp_redirect( admin_url( 'admin.php?page=wpdesk_tracker&plugin=flexible-shipping/flexible-shipping.php' ) );
206
+ exit;
207
+ }
208
  }
209
  }
210
  }
classes/views/html-shipping-method-rules.php CHANGED
@@ -75,11 +75,11 @@
75
  </th>
76
  <th class="min">
77
  <?php _e( 'Min', 'flexible-shipping' ); ?>
78
- <span class="woocommerce-help-tip" data-tip="<?php _e( 'Enter minimum value for the "Based on" parameter.', 'flexible-shipping' ); ?>"></span>
79
  </th>
80
  <th class="max">
81
  <?php _e( 'Max', 'flexible-shipping' ); ?>
82
- <span class="woocommerce-help-tip" data-tip="<?php _e( 'Enter maximum value for the "Based on" parameter.', 'flexible-shipping' ); ?>"></span>
83
  </th>
84
  <th class="cost_per_order">
85
  <?php _e( 'Cost per<br/>order', 'flexible-shipping' ); ?>
@@ -88,7 +88,6 @@
88
  <?php do_action( 'flexible_shipping_method_rule_thead', '' ); ?>
89
  </tr>
90
  </thead>
91
-
92
  <tbody>
93
  <?php if ( isset( $data['default'] ) ) : ?>
94
  <?php foreach ( $data['default'] as $key => $rule ) : $count_rules++; ?>
75
  </th>
76
  <th class="min">
77
  <?php _e( 'Min', 'flexible-shipping' ); ?>
78
+ <span class="woocommerce-help-tip" data-tip="<?php _e( 'Enter minimum value for the &quot;Based on&quot; parameter.', 'flexible-shipping' ); ?>"></span>
79
  </th>
80
  <th class="max">
81
  <?php _e( 'Max', 'flexible-shipping' ); ?>
82
+ <span class="woocommerce-help-tip" data-tip="<?php _e( 'Enter maximum value for the &quot;Based on&quot; parameter.', 'flexible-shipping' ); ?>"></span>
83
  </th>
84
  <th class="cost_per_order">
85
  <?php _e( 'Cost per<br/>order', 'flexible-shipping' ); ?>
88
  <?php do_action( 'flexible_shipping_method_rule_thead', '' ); ?>
89
  </tr>
90
  </thead>
 
91
  <tbody>
92
  <?php if ( isset( $data['default'] ) ) : ?>
93
  <?php foreach ( $data['default'] as $key => $rule ) : $count_rules++; ?>
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.7
7
  Author: WP Desk
8
  Author URI: https://www.wpdesk.net/
9
  Text Domain: flexible-shipping
@@ -687,12 +687,13 @@ if ( wpdesk_is_plugin_active( 'woocommerce/woocommerce.php' ) && !class_exists(
687
 
688
  $_GLOBALS['woocommerce_flexible_shipping'] = new WPDesk_Flexible_Shipping_Free_Plugin();
689
 
690
- add_action( 'plugins_loaded', 'flexible_shipping_plugins_loaded', 9 );
691
- function flexible_shipping_plugins_loaded() {
692
- if ( !class_exists( 'WPDesk_Tracker' ) ) {
693
- include( 'inc/wpdesk-tracker/class-wpdesk-tracker.php' );
694
- WPDesk_Tracker::init( basename( dirname( __FILE__ ) ) );
695
- }
696
- }
697
 
 
 
 
 
 
 
698
  }
 
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.8
7
  Author: WP Desk
8
  Author URI: https://www.wpdesk.net/
9
  Text Domain: flexible-shipping
687
 
688
  $_GLOBALS['woocommerce_flexible_shipping'] = new WPDesk_Flexible_Shipping_Free_Plugin();
689
 
690
+ }
 
 
 
 
 
 
691
 
692
+ add_action( 'plugins_loaded', 'flexible_shipping_plugins_loaded', 9 );
693
+ function flexible_shipping_plugins_loaded() {
694
+ if ( !class_exists( 'WPDesk_Tracker' ) ) {
695
+ include( 'inc/wpdesk-tracker/class-wpdesk-tracker.php' );
696
+ WPDesk_Tracker::init( basename( dirname( __FILE__ ) ) );
697
+ }
698
  }
699
+
languages/flexible-shipping-pl_PL.mo CHANGED
Binary file
languages/flexible-shipping-pl_PL.po CHANGED
@@ -1,9 +1,9 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Flexible Shipping\n"
4
- "POT-Creation-Date: 2017-07-27 10:16+0200\n"
5
- "PO-Revision-Date: 2017-07-27 10:17+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"
@@ -139,15 +139,15 @@ msgstr ""
139
  msgid "An unknown error occurred"
140
  msgstr "Wystąpił nieznany błąd"
141
 
142
- #: classes/inspire/plugin4.php:386 flexible-shipping.php:523
143
  msgid "Settings"
144
  msgstr "Ustawienia"
145
 
146
- #: classes/inspire/plugin4.php:387 flexible-shipping.php:524
147
  msgid "Docs"
148
  msgstr "Docs"
149
 
150
- #: classes/inspire/plugin4.php:388 flexible-shipping.php:525
151
  msgid "Support"
152
  msgstr "Wsparcie"
153
 
@@ -210,7 +210,7 @@ msgstr "Data"
210
 
211
  #: classes/manifest/cpt-shipping-manifest.php:161
212
  #: classes/manifest/views/filter-form.php:5
213
- #: classes/settings-shipping-method-form.php:102
214
  #: classes/views/html-orders-filter-form.php:5
215
  #: classes/views/html-shipping-method-settings.php:15
216
  msgid "Integration"
@@ -229,7 +229,7 @@ msgid "Actions"
229
  msgstr "Akcje"
230
 
231
  #: classes/manifest/cpt-shipping-manifest.php:219
232
- #: classes/manifest/cpt-shipping-manifest.php:242
233
  #: classes/shipment/cpt-shipment.php:174
234
  msgid "Invalid nonce!"
235
  msgstr "Błąd weryfikacji nonce!"
@@ -279,10 +279,10 @@ msgstr "Dodaj przesyłkę"
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:44 classes/shipping_method.php:24
283
  #: classes/shipping_method.php:25 classes/shipping_method.php:43
284
- #: flexible-shipping.php:407 flexible-shipping.php:410
285
- #: flexible-shipping.php:413
286
  msgid "Flexible Shipping"
287
  msgstr "Flexible Shipping"
288
 
@@ -292,7 +292,7 @@ msgid "See how to %sconfigure Flexible Shipping%s."
292
  msgstr "Zobacz jak %sskonfigurować Flexible Shipping%s."
293
 
294
  #: classes/settings-flexible-shipping.php:19
295
- #: classes/settings-shipping-method-form.php:35 classes/shipping_method.php:34
296
  msgid "Enable/Disable"
297
  msgstr "Włącz/Wyłącz"
298
 
@@ -330,44 +330,54 @@ msgstr "Metody wysyłki"
330
  msgid "Select shipment class"
331
  msgstr "Wybierz klasę wysyłkową"
332
 
333
- #: classes/settings-shipping-method-form.php:15
334
- #, php-format
335
  msgid ""
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:801
343
  msgid "Free"
344
  msgstr "Bezpłatnie"
345
 
346
- #: classes/settings-shipping-method-form.php:38 classes/shipping_method.php:36
347
  msgid "Enable this shipment method"
348
  msgstr "Włącz tę metodę wysyłki"
349
 
350
- #: classes/settings-shipping-method-form.php:41
351
  msgid "Method Title"
352
  msgstr "Tytuł metody"
353
 
354
- #: classes/settings-shipping-method-form.php:43 classes/shipping_method.php:42
355
  msgid "This controls the title which the user sees during checkout."
356
  msgstr "Tytuł, który widzi użytkownik podczas składania zamówienia."
357
 
358
- #: classes/settings-shipping-method-form.php:50
359
  msgid "Method Description"
360
  msgstr "Opis"
361
 
362
- #: classes/settings-shipping-method-form.php:52
363
  msgid "This controls method description which the user sees during checkout."
364
  msgstr "Opis, który widzi użytkownik podczas składania zamówienia."
365
 
366
- #: classes/settings-shipping-method-form.php:63
367
  msgid "Free Shipping"
368
  msgstr "Darmowa wysyłka"
369
 
370
- #: classes/settings-shipping-method-form.php:66
371
  msgid ""
372
  "Enter a minimum order amount for free shipment. This will override the costs "
373
  "configured below."
@@ -375,46 +385,46 @@ msgstr ""
375
  "Wpisz minimalną kwotę zamówienia dla bezpłatnej wysyłki. Spowoduje to "
376
  "zastąpienie reguł skonfigurowanych poniżej."
377
 
378
- #: classes/settings-shipping-method-form.php:70
379
  msgid "Free Shipping Label"
380
  msgstr "Etykieta darmowej wysyłki"
381
 
382
- #: classes/settings-shipping-method-form.php:73
383
  msgid "Enter additional label for shipment when free shipment available."
384
  msgstr ""
385
  "Wpisz dodatkową etykietę, która zostanie wyświetlona dla darmowej wysyłki."
386
 
387
- #: classes/settings-shipping-method-form.php:82
388
  msgid "Calculation Method"
389
  msgstr "Metoda obliczania"
390
 
391
- #: classes/settings-shipping-method-form.php:84
392
  msgid ""
393
  "Select how rules will be calculated. If you choose \"sum\" the rules order "
394
  "is important."
395
  msgstr ""
396
  "Wybierz jak będą obliczane reguły. Dla sumy, kolejność reguł ma znaczenie."
397
 
398
- #: classes/settings-shipping-method-form.php:87
399
  msgid "Sum"
400
  msgstr "Suma"
401
 
402
- #: classes/settings-shipping-method-form.php:90
403
  #: classes/views/html-shipping-method-settings.php:13
404
  msgid "Visibility"
405
  msgstr "Wyświetlanie"
406
 
407
- #: classes/settings-shipping-method-form.php:93
408
  #: classes/views/html-shipping-method-settings.php:46
409
  msgid "Show only for logged in users"
410
  msgstr "Pokaż tylko dla zalogowanych użytkowników"
411
 
412
- #: classes/settings-shipping-method-form.php:96
413
  #: classes/views/html-shipping-method-settings.php:14
414
  msgid "Default"
415
  msgstr "Domyślnie"
416
 
417
- #: classes/settings-shipping-method-form.php:99
418
  msgid ""
419
  "Check the box to set this option as the default selected choice on the cart "
420
  "page."
@@ -422,24 +432,24 @@ msgstr ""
422
  "Zaznacz, aby ustawić tę metodę wysyłki jako domyślną przy składaniu "
423
  "zamówienia."
424
 
425
- #: classes/settings-shipping-method-form.php:104
426
  msgid "Select integration. "
427
  msgstr "Wybierz integrację. "
428
 
429
- #: classes/settings-shipping-method-form.php:107
430
  #: classes/views/html-shipping-method-rules.php:7
431
  msgid "None"
432
  msgstr "Brak"
433
 
434
- #: classes/settings-shipping-method-form.php:118
435
  msgid "Rules"
436
  msgstr "Reguły"
437
 
438
- #: classes/settings-shipping-method-form.php:139
439
  msgid "Shipping Zone"
440
  msgstr "Strefa wysyłki"
441
 
442
- #: classes/settings-shipping-method-form.php:151
443
  #, php-format
444
  msgid "See how to %sconfigure shipment methods%s."
445
  msgstr "Zobacz jak %sskonfigurować metody wysyłki %s."
@@ -626,34 +636,34 @@ msgstr "Wartość Dodatkowy koszt %s jest niepoprawna. Numer wiersza %d."
626
  msgid "Value value %s is not valid number. Row number %d."
627
  msgstr "Wartość w polu Wartość %s jest niepoprawna. Numer wiersza %d."
628
 
629
- #: classes/shipping_method.php:484
630
  #, php-format
631
  msgid "Shipping method %s imported as %s."
632
  msgstr "Metoda wysyłki %s została zaimportowana jako %s."
633
 
634
- #: classes/shipping_method.php:544
635
  msgid "New Shipping Method"
636
  msgstr "Nowa metoda wysyłki"
637
 
638
- #: classes/shipping_method.php:547
639
  msgid "Edit Shipping Method"
640
  msgstr "Edytuj metodę wysyłki"
641
 
642
- #: classes/shipping_method.php:557 classes/shipping_method.php:598
643
  #, php-format
644
  msgid "Shipping method %s added."
645
  msgstr "Metoda wysyłki dodana: %s."
646
 
647
- #: classes/shipping_method.php:581
648
  #, php-format
649
  msgid "Shipping method %s deleted."
650
  msgstr "Metoda wysyłki usunięta: %s."
651
 
652
- #: classes/shipping_method.php:584
653
  msgid "Shipping method not found."
654
  msgstr "Metoda wysyłki nie znaleziona."
655
 
656
- #: classes/shipping_method.php:610
657
  #, php-format
658
  msgid "Shipping method %s updated."
659
  msgstr "Metoda wysyłki zaktualizowana: %s."
@@ -748,30 +758,30 @@ msgid "Min"
748
  msgstr "Min"
749
 
750
  #: classes/views/html-shipping-method-rules.php:78
751
- msgid "Enter minimum value for the \"Based on\" parameter."
752
- msgstr "Wpisz minimalną wartość dla parametru \"Oparte na\"."
753
 
754
  #: classes/views/html-shipping-method-rules.php:81
755
  msgid "Max"
756
  msgstr "Max"
757
 
758
  #: classes/views/html-shipping-method-rules.php:82
759
- msgid "Enter maximum value for the \"Based on\" parameter."
760
- msgstr "Wpisz maksymalną wartość dla parametru \"Oparte na\"."
761
 
762
  #: classes/views/html-shipping-method-rules.php:85
763
- msgid "Cost per order"
764
- msgstr "Koszt na zamówienie"
765
 
766
  #: classes/views/html-shipping-method-rules.php:86
767
  msgid "Enter shipment cost for this rule."
768
  msgstr "Wpisz koszt wysyłki dla tej reguły."
769
 
770
- #: classes/views/html-shipping-method-rules.php:162
771
  msgid "Insert rule"
772
  msgstr "Dodaj regułę"
773
 
774
- #: classes/views/html-shipping-method-rules.php:163
775
  msgid "Delete selected rules"
776
  msgstr "Usuń wybrane reguły"
777
 
@@ -839,23 +849,23 @@ msgstr "Proszę wybrać metody wysyłki do usunięcia"
839
  msgid "Select file to import"
840
  msgstr "Wybierz plik do importu"
841
 
842
- #: flexible-shipping.php:447
843
  msgid ""
844
  "Flexible Shipping requires at least version 2.7 of Active Payments plugin."
845
  msgstr ""
846
  "Flexible Shipping wymaga wtyczki Aktywne płatności w wersji co najmniej 2.7."
847
 
848
- #: flexible-shipping.php:458
849
  msgid "Flexible Shipping requires at least version 1.2 of eNadawca plugin."
850
  msgstr "Flexible Shipping wymaga wtyczki eNadawca w wersji co najmniej 1.2."
851
 
852
- #: flexible-shipping.php:469
853
  msgid ""
854
  "Flexible Shipping requires at least version 1.1 of Paczka w Ruchu plugin."
855
  msgstr ""
856
  "Flexible Shipping wymaga wtyczki Paczka w Ruchu w wersji co najmniej 1.1."
857
 
858
- #: flexible-shipping.php:477
859
  #, php-format
860
  msgid ""
861
  "You are using WooCommerce Flexible Shipping below 1.4. Please deactivate it "
@@ -866,11 +876,11 @@ msgstr ""
866
  "Wyłącz go na %sstronie wtyczek%s. Przeczytaj o dużej zmianie we Flexible "
867
  "Shipping na %snaszym blogu →%s"
868
 
869
- #: flexible-shipping.php:531
870
  msgid "Upgrade"
871
  msgstr "Kup PRO"
872
 
873
- #: flexible-shipping.php:647
874
  #, php-format
875
  msgid "Redirecting. If page not redirects click %s here %s."
876
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Flexible Shipping\n"
4
+ "POT-Creation-Date: 2017-09-11 11:57+0200\n"
5
+ "PO-Revision-Date: 2017-09-11 12:03+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"
139
  msgid "An unknown error occurred"
140
  msgstr "Wystąpił nieznany błąd"
141
 
142
+ #: classes/inspire/plugin4.php:386 flexible-shipping.php:532
143
  msgid "Settings"
144
  msgstr "Ustawienia"
145
 
146
+ #: classes/inspire/plugin4.php:387 flexible-shipping.php:533
147
  msgid "Docs"
148
  msgstr "Docs"
149
 
150
+ #: classes/inspire/plugin4.php:388 flexible-shipping.php:534
151
  msgid "Support"
152
  msgstr "Wsparcie"
153
 
210
 
211
  #: classes/manifest/cpt-shipping-manifest.php:161
212
  #: classes/manifest/views/filter-form.php:5
213
+ #: classes/settings-shipping-method-form.php:113
214
  #: classes/views/html-orders-filter-form.php:5
215
  #: classes/views/html-shipping-method-settings.php:15
216
  msgid "Integration"
229
  msgstr "Akcje"
230
 
231
  #: classes/manifest/cpt-shipping-manifest.php:219
232
+ #: classes/manifest/cpt-shipping-manifest.php:243
233
  #: classes/shipment/cpt-shipment.php:174
234
  msgid "Invalid nonce!"
235
  msgstr "Błąd weryfikacji nonce!"
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:55 classes/shipping_method.php:24
283
  #: classes/shipping_method.php:25 classes/shipping_method.php:43
284
+ #: flexible-shipping.php:416 flexible-shipping.php:419
285
+ #: flexible-shipping.php:422
286
  msgid "Flexible Shipping"
287
  msgstr "Flexible Shipping"
288
 
292
  msgstr "Zobacz jak %sskonfigurować Flexible Shipping%s."
293
 
294
  #: classes/settings-flexible-shipping.php:19
295
+ #: classes/settings-shipping-method-form.php:46 classes/shipping_method.php:34
296
  msgid "Enable/Disable"
297
  msgstr "Włącz/Wyłącz"
298
 
330
  msgid "Select shipment class"
331
  msgstr "Wybierz klasę wysyłkową"
332
 
333
+ #: classes/settings-shipping-method-form.php:17
 
334
  msgid ""
335
+ "Integrate with DPD, DHL, InPost, eNadawca Poczta Polska, Paczka w Ruchu."
336
+ msgstr "Zintegruj z DPD, DHL, InPost, eNadawca Poczta Polska, Paczka w Ruchu."
337
+
338
+ #: classes/settings-shipping-method-form.php:17
339
+ #, php-format
340
+ msgid "%sAdd integrations%s"
341
+ msgstr "%sDodaj integracje%s"
342
+
343
+ #: classes/settings-shipping-method-form.php:20
344
+ msgid "Integrate with DPD."
345
+ msgstr "Zintegruj z DPD."
346
+
347
+ #: classes/settings-shipping-method-form.php:20
348
+ #, php-format
349
+ msgid "%sAdd integration%s"
350
+ msgstr "%sDodaj integrację%s"
351
 
352
+ #: classes/settings-shipping-method-form.php:30 classes/shipping_method.php:809
353
  msgid "Free"
354
  msgstr "Bezpłatnie"
355
 
356
+ #: classes/settings-shipping-method-form.php:49 classes/shipping_method.php:36
357
  msgid "Enable this shipment method"
358
  msgstr "Włącz tę metodę wysyłki"
359
 
360
+ #: classes/settings-shipping-method-form.php:52
361
  msgid "Method Title"
362
  msgstr "Tytuł metody"
363
 
364
+ #: classes/settings-shipping-method-form.php:54 classes/shipping_method.php:42
365
  msgid "This controls the title which the user sees during checkout."
366
  msgstr "Tytuł, który widzi użytkownik podczas składania zamówienia."
367
 
368
+ #: classes/settings-shipping-method-form.php:61
369
  msgid "Method Description"
370
  msgstr "Opis"
371
 
372
+ #: classes/settings-shipping-method-form.php:63
373
  msgid "This controls method description which the user sees during checkout."
374
  msgstr "Opis, który widzi użytkownik podczas składania zamówienia."
375
 
376
+ #: classes/settings-shipping-method-form.php:74
377
  msgid "Free Shipping"
378
  msgstr "Darmowa wysyłka"
379
 
380
+ #: classes/settings-shipping-method-form.php:77
381
  msgid ""
382
  "Enter a minimum order amount for free shipment. This will override the costs "
383
  "configured below."
385
  "Wpisz minimalną kwotę zamówienia dla bezpłatnej wysyłki. Spowoduje to "
386
  "zastąpienie reguł skonfigurowanych poniżej."
387
 
388
+ #: classes/settings-shipping-method-form.php:81
389
  msgid "Free Shipping Label"
390
  msgstr "Etykieta darmowej wysyłki"
391
 
392
+ #: classes/settings-shipping-method-form.php:84
393
  msgid "Enter additional label for shipment when free shipment available."
394
  msgstr ""
395
  "Wpisz dodatkową etykietę, która zostanie wyświetlona dla darmowej wysyłki."
396
 
397
+ #: classes/settings-shipping-method-form.php:93
398
  msgid "Calculation Method"
399
  msgstr "Metoda obliczania"
400
 
401
+ #: classes/settings-shipping-method-form.php:95
402
  msgid ""
403
  "Select how rules will be calculated. If you choose \"sum\" the rules order "
404
  "is important."
405
  msgstr ""
406
  "Wybierz jak będą obliczane reguły. Dla sumy, kolejność reguł ma znaczenie."
407
 
408
+ #: classes/settings-shipping-method-form.php:98
409
  msgid "Sum"
410
  msgstr "Suma"
411
 
412
+ #: classes/settings-shipping-method-form.php:101
413
  #: classes/views/html-shipping-method-settings.php:13
414
  msgid "Visibility"
415
  msgstr "Wyświetlanie"
416
 
417
+ #: classes/settings-shipping-method-form.php:104
418
  #: classes/views/html-shipping-method-settings.php:46
419
  msgid "Show only for logged in users"
420
  msgstr "Pokaż tylko dla zalogowanych użytkowników"
421
 
422
+ #: classes/settings-shipping-method-form.php:107
423
  #: classes/views/html-shipping-method-settings.php:14
424
  msgid "Default"
425
  msgstr "Domyślnie"
426
 
427
+ #: classes/settings-shipping-method-form.php:110
428
  msgid ""
429
  "Check the box to set this option as the default selected choice on the cart "
430
  "page."
432
  "Zaznacz, aby ustawić tę metodę wysyłki jako domyślną przy składaniu "
433
  "zamówienia."
434
 
435
+ #: classes/settings-shipping-method-form.php:115
436
  msgid "Select integration. "
437
  msgstr "Wybierz integrację. "
438
 
439
+ #: classes/settings-shipping-method-form.php:118
440
  #: classes/views/html-shipping-method-rules.php:7
441
  msgid "None"
442
  msgstr "Brak"
443
 
444
+ #: classes/settings-shipping-method-form.php:129
445
  msgid "Rules"
446
  msgstr "Reguły"
447
 
448
+ #: classes/settings-shipping-method-form.php:150
449
  msgid "Shipping Zone"
450
  msgstr "Strefa wysyłki"
451
 
452
+ #: classes/settings-shipping-method-form.php:162
453
  #, php-format
454
  msgid "See how to %sconfigure shipment methods%s."
455
  msgstr "Zobacz jak %sskonfigurować metody wysyłki %s."
636
  msgid "Value value %s is not valid number. Row number %d."
637
  msgstr "Wartość w polu Wartość %s jest niepoprawna. Numer wiersza %d."
638
 
639
+ #: classes/shipping_method.php:491
640
  #, php-format
641
  msgid "Shipping method %s imported as %s."
642
  msgstr "Metoda wysyłki %s została zaimportowana jako %s."
643
 
644
+ #: classes/shipping_method.php:551
645
  msgid "New Shipping Method"
646
  msgstr "Nowa metoda wysyłki"
647
 
648
+ #: classes/shipping_method.php:554
649
  msgid "Edit Shipping Method"
650
  msgstr "Edytuj metodę wysyłki"
651
 
652
+ #: classes/shipping_method.php:564 classes/shipping_method.php:606
653
  #, php-format
654
  msgid "Shipping method %s added."
655
  msgstr "Metoda wysyłki dodana: %s."
656
 
657
+ #: classes/shipping_method.php:589
658
  #, php-format
659
  msgid "Shipping method %s deleted."
660
  msgstr "Metoda wysyłki usunięta: %s."
661
 
662
+ #: classes/shipping_method.php:592
663
  msgid "Shipping method not found."
664
  msgstr "Metoda wysyłki nie znaleziona."
665
 
666
+ #: classes/shipping_method.php:618
667
  #, php-format
668
  msgid "Shipping method %s updated."
669
  msgstr "Metoda wysyłki zaktualizowana: %s."
758
  msgstr "Min"
759
 
760
  #: classes/views/html-shipping-method-rules.php:78
761
+ msgid "Enter minimum value for the &quot;Based on&quot; parameter."
762
+ msgstr "Wpisz minimalną wartość dla parametru &quot;Oparte na&quot;."
763
 
764
  #: classes/views/html-shipping-method-rules.php:81
765
  msgid "Max"
766
  msgstr "Max"
767
 
768
  #: classes/views/html-shipping-method-rules.php:82
769
+ msgid "Enter maximum value for the &quot;Based on&quot; parameter."
770
+ msgstr "Wpisz maksymalną wartość dla parametru &quot;Oparte na&quot;."
771
 
772
  #: classes/views/html-shipping-method-rules.php:85
773
+ msgid "Cost per<br/>order"
774
+ msgstr "Koszt na<br/>zamówienie"
775
 
776
  #: classes/views/html-shipping-method-rules.php:86
777
  msgid "Enter shipment cost for this rule."
778
  msgstr "Wpisz koszt wysyłki dla tej reguły."
779
 
780
+ #: classes/views/html-shipping-method-rules.php:161
781
  msgid "Insert rule"
782
  msgstr "Dodaj regułę"
783
 
784
+ #: classes/views/html-shipping-method-rules.php:162
785
  msgid "Delete selected rules"
786
  msgstr "Usuń wybrane reguły"
787
 
849
  msgid "Select file to import"
850
  msgstr "Wybierz plik do importu"
851
 
852
+ #: flexible-shipping.php:456
853
  msgid ""
854
  "Flexible Shipping requires at least version 2.7 of Active Payments plugin."
855
  msgstr ""
856
  "Flexible Shipping wymaga wtyczki Aktywne płatności w wersji co najmniej 2.7."
857
 
858
+ #: flexible-shipping.php:467
859
  msgid "Flexible Shipping requires at least version 1.2 of eNadawca plugin."
860
  msgstr "Flexible Shipping wymaga wtyczki eNadawca w wersji co najmniej 1.2."
861
 
862
+ #: flexible-shipping.php:478
863
  msgid ""
864
  "Flexible Shipping requires at least version 1.1 of Paczka w Ruchu plugin."
865
  msgstr ""
866
  "Flexible Shipping wymaga wtyczki Paczka w Ruchu w wersji co najmniej 1.1."
867
 
868
+ #: flexible-shipping.php:486
869
  #, php-format
870
  msgid ""
871
  "You are using WooCommerce Flexible Shipping below 1.4. Please deactivate it "
876
  "Wyłącz go na %sstronie wtyczek%s. Przeczytaj o dużej zmianie we Flexible "
877
  "Shipping na %snaszym blogu →%s"
878
 
879
+ #: flexible-shipping.php:540
880
  msgid "Upgrade"
881
  msgstr "Kup PRO"
882
 
883
+ #: flexible-shipping.php:656
884
  #, php-format
885
  msgid "Redirecting. If page not redirects click %s here %s."
886
  msgstr ""
readme.txt CHANGED
@@ -4,7 +4,8 @@ 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.5
6
  Tested up to: 4.8.1
7
- Stable tag: 1.9.7
 
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -86,6 +87,12 @@ We provide a limited support for the free version in the [plugin Support Forum](
86
 
87
  = Integrations =
88
 
 
 
 
 
 
 
89
  There are several integrations that we provide for Flexible Shipping in Poland:
90
 
91
  * DPD - WooCommerce
@@ -158,6 +165,9 @@ If you are upgrading from the old Flexible Shipping version (1.3.2, woo-flexible
158
 
159
  == Changelog ==
160
 
 
 
 
161
  = 1.9.7 - 2017-08-09 =
162
  * Added compatibility with Flexible Shipping PRO 1.5
163
 
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.5
6
  Tested up to: 4.8.1
7
+ Stable tag: 1.9.8
8
+ Requires PHP: 5.3
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
87
 
88
  = Integrations =
89
 
90
+ **United Kingdom**
91
+
92
+ We created WooCommerce DPD UK integration for Flexible Shipping. [Check DPD UK for WooCommerce &rarr;](https://www.wpdesk.net/products/dpd-uk-woocommerce/)
93
+
94
+ **Poland**
95
+
96
  There are several integrations that we provide for Flexible Shipping in Poland:
97
 
98
  * DPD - WooCommerce
165
 
166
  == Changelog ==
167
 
168
+ = 1.9.8 - 2017-09-11 =
169
+ * Added compatibility with WooCommerce DPD UK 1.0
170
+
171
  = 1.9.7 - 2017-08-09 =
172
  * Added compatibility with Flexible Shipping PRO 1.5
173