Version Description
- 2016-09-29 =
- Added support for Flexible Shipping Locations Add-On
- Fixed WooCommerce 2.3.x compatibility
Download this release
Release Info
Developer | wpdesk |
Plugin | Flexible Shipping for WooCommerce |
Version | 1.6 |
Comparing to | |
See all releases |
Code changes from version 1.5 to 1.6
- assets/css/admin.css +18 -5
- classes/settings-shipping-method-form.php +1 -1
- classes/shipping_method.php +23 -9
- classes/views/html-shipping-method-rules.php +9 -8
- flexible-shipping.php +2 -1
- languages/flexible-shipping-pl_PL.mo +0 -0
- languages/flexible-shipping-pl_PL.po +102 -82
- readme.txt +11 -1
assets/css/admin.css
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
@CHARSET "UTF-8";
|
2 |
|
3 |
-
table.flexible_shipping_method_rules td p,
|
4 |
-
table.flexible_shipping_method_rules td p input,
|
5 |
table.flexible_shipping_method_rules td p select {
|
6 |
margin: 0;
|
7 |
width: 100%;
|
@@ -17,6 +17,19 @@ table.flexible_shipping_method_rules td {
|
|
17 |
text-align: center;
|
18 |
}
|
19 |
|
20 |
-
table.flexible_shipping_method_rules th span.woocommerce-help-tip {
|
21 |
-
float: none
|
22 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
@CHARSET "UTF-8";
|
2 |
|
3 |
+
table.flexible_shipping_method_rules td p,
|
4 |
+
table.flexible_shipping_method_rules td p input,
|
5 |
table.flexible_shipping_method_rules td p select {
|
6 |
margin: 0;
|
7 |
width: 100%;
|
17 |
text-align: center;
|
18 |
}
|
19 |
|
20 |
+
.woocommerce table.form-table .flexible_shipping_method_rules th span.woocommerce-help-tip {
|
21 |
+
float: none;
|
22 |
+
}
|
23 |
+
|
24 |
+
.woocommerce table.form-table .flexible_shipping_method_rules .select2-container {
|
25 |
+
margin: 0;
|
26 |
+
}
|
27 |
+
|
28 |
+
/* Locations Add-On */
|
29 |
+
.woocommerce table.form-table .fs-locations-table .select2-container {
|
30 |
+
max-width: none;
|
31 |
+
}
|
32 |
+
|
33 |
+
.woocommerce table.form-table .fs-locations-table th .woocommerce-help-tip {
|
34 |
+
float: none;
|
35 |
+
}
|
classes/settings-shipping-method-form.php
CHANGED
@@ -12,7 +12,7 @@ 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( __( '
|
16 |
$integrations_tip = get_locale() === 'pl_PL' ? false : true;
|
17 |
|
18 |
$settings = array(
|
12 |
$shipping_classes[$shipping_class->term_id] = $shipping_class->name;
|
13 |
}
|
14 |
|
15 |
+
$integrations = get_locale() === 'pl_PL' ? sprintf( __( '%sAdd integrations%s with 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">', ' →</a>' ) : '';
|
16 |
$integrations_tip = get_locale() === 'pl_PL' ? false : true;
|
17 |
|
18 |
$settings = array(
|
classes/shipping_method.php
CHANGED
@@ -159,6 +159,12 @@ if ( ! class_exists( 'WPDesk_Flexible_Shipping' ) ) {
|
|
159 |
}
|
160 |
|
161 |
public function generate_shipping_rules_html( $key, $data ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
162 |
ob_start();
|
163 |
include ( 'views/html-shipping-method-rules.php' );
|
164 |
return ob_get_clean();
|
@@ -231,15 +237,17 @@ if ( ! class_exists( 'WPDesk_Flexible_Shipping' ) ) {
|
|
231 |
//
|
232 |
$count = 0;
|
233 |
$shipping_method['method_rules'] = array();
|
234 |
-
|
235 |
-
$
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
|
|
|
|
243 |
}
|
244 |
//
|
245 |
$shipping_methods[$method_id] = $shipping_method;
|
@@ -288,6 +296,7 @@ if ( ! class_exists( 'WPDesk_Flexible_Shipping' ) ) {
|
|
288 |
$shipping_methods = get_option( $this->shipping_methods_option, array() );
|
289 |
$shipping_method = array(
|
290 |
'method_title' => '',
|
|
|
291 |
'method_enabled' => 'no',
|
292 |
'method_shipping_zone' => '',
|
293 |
'method_calculation_method' => 'sum',
|
@@ -296,6 +305,7 @@ if ( ! class_exists( 'WPDesk_Flexible_Shipping' ) ) {
|
|
296 |
'method_default' => 'no',
|
297 |
'method_integration' => '',
|
298 |
);
|
|
|
299 |
if ( $action == 'edit' ) {
|
300 |
$method_id = $_GET['method_id'];
|
301 |
$shipping_method = $shipping_methods[$method_id];
|
@@ -511,6 +521,10 @@ if ( ! class_exists( 'WPDesk_Flexible_Shipping' ) ) {
|
|
511 |
$rule_triggered = true;
|
512 |
}
|
513 |
}
|
|
|
|
|
|
|
|
|
514 |
|
515 |
if ( $rule_triggered ) {
|
516 |
$rule_cost = array( 'cost' => floatval( $method_rule['cost_per_order'] ) );
|
159 |
}
|
160 |
|
161 |
public function generate_shipping_rules_html( $key, $data ) {
|
162 |
+
if ( ! function_exists( 'woocommerce_form_field' ) ) {
|
163 |
+
$wc_template_functions = trailingslashit( dirname( __FILE__) ) . '../../woocommerce/includes/wc-template-functions.php';
|
164 |
+
if ( file_exists( $wc_template_functions ) ) {
|
165 |
+
include_once( $wc_template_functions );
|
166 |
+
}
|
167 |
+
}
|
168 |
ob_start();
|
169 |
include ( 'views/html-shipping-method-rules.php' );
|
170 |
return ob_get_clean();
|
237 |
//
|
238 |
$count = 0;
|
239 |
$shipping_method['method_rules'] = array();
|
240 |
+
if ( $_POST['method_rules'] ) {
|
241 |
+
foreach ( $_POST['method_rules'] as $rule ) {
|
242 |
+
$count++;
|
243 |
+
$method_rule = array();
|
244 |
+
$method_rule['based_on'] = $rule['based_on'];
|
245 |
+
$method_rule['min'] = wc_format_decimal( $rule['min'] );
|
246 |
+
$method_rule['max'] = wc_format_decimal( $rule['max'] );
|
247 |
+
$method_rule['cost_per_order'] = wc_format_decimal( $rule['cost_per_order'] );
|
248 |
+
$method_rule = apply_filters( 'flexible_shipping_method_rule_save', $method_rule, $rule );
|
249 |
+
$shipping_method['method_rules'][$count] = $method_rule;
|
250 |
+
}
|
251 |
}
|
252 |
//
|
253 |
$shipping_methods[$method_id] = $shipping_method;
|
296 |
$shipping_methods = get_option( $this->shipping_methods_option, array() );
|
297 |
$shipping_method = array(
|
298 |
'method_title' => '',
|
299 |
+
'method_description' => '',
|
300 |
'method_enabled' => 'no',
|
301 |
'method_shipping_zone' => '',
|
302 |
'method_calculation_method' => 'sum',
|
305 |
'method_default' => 'no',
|
306 |
'method_integration' => '',
|
307 |
);
|
308 |
+
$method_id = '';
|
309 |
if ( $action == 'edit' ) {
|
310 |
$method_id = $_GET['method_id'];
|
311 |
$shipping_method = $shipping_methods[$method_id];
|
521 |
$rule_triggered = true;
|
522 |
}
|
523 |
}
|
524 |
+
|
525 |
+
if ( $rule_triggered ) {
|
526 |
+
$rule_triggered = apply_filters( 'flexible_shipping_rule_triggered', $rule_triggered, $method_rule, $package );
|
527 |
+
}
|
528 |
|
529 |
if ( $rule_triggered ) {
|
530 |
$rule_cost = array( 'cost' => floatval( $method_rule['cost_per_order'] ) );
|
classes/views/html-shipping-method-rules.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
3 |
|
4 |
-
$field = $this->get_field_key( $key );
|
5 |
|
6 |
$options_based_on = apply_filters( 'flexible_shipping_method_rule_options_based_on', array(
|
7 |
'none' => __( 'None', 'flexible-shipping' ),
|
@@ -58,7 +58,7 @@
|
|
58 |
|
59 |
if ( ! in_array( 'flexible-shipping-pro/flexible-shipping-pro.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ):
|
60 |
?>
|
61 |
-
<p><?php printf( __( '
|
62 |
<?php endif; ?>
|
63 |
</th>
|
64 |
</tr>
|
@@ -171,16 +171,16 @@
|
|
171 |
var code = '<tr class="new">\
|
172 |
<td class="sort"></td>\
|
173 |
<td class="based_on">\
|
174 |
-
<?php echo str_replace( "'", '"', str_replace( "\
|
175 |
</td>\
|
176 |
<td class="min">\
|
177 |
-
<?php echo str_replace( "'", '"', str_replace( "\
|
178 |
</td>\
|
179 |
<td class="max">\
|
180 |
-
<?php echo str_replace( "'", '"', str_replace( "\
|
181 |
</td>\
|
182 |
<td class="cost_per_order">\
|
183 |
-
<?php echo str_replace( "'", '"', str_replace( "\
|
184 |
</td>\
|
185 |
<?php do_action( 'flexible_shipping_method_rule_js', '' ); ?>
|
186 |
</tr>';
|
@@ -200,6 +200,7 @@
|
|
200 |
append_id = append_id+1;
|
201 |
append_row(append_id);
|
202 |
jQuery('#rules_'+append_id+'_min').focus();
|
|
|
203 |
return false;
|
204 |
});
|
205 |
jQuery('#remove_rules').click(function() {
|
@@ -240,10 +241,10 @@
|
|
240 |
$content .= __( 'Add New', 'flexible-shipping' );
|
241 |
}
|
242 |
?>
|
243 |
-
jQuery('#mainform h2').first().replaceWith( '<h2>' + '<?php echo $content; ?>' + '</h2>' );
|
244 |
</script>
|
245 |
<?php
|
246 |
}
|
247 |
-
?>
|
248 |
</td>
|
249 |
</tr>
|
1 |
<?php
|
2 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
3 |
|
4 |
+
$field = $this->get_field_key( $key );
|
5 |
|
6 |
$options_based_on = apply_filters( 'flexible_shipping_method_rule_options_based_on', array(
|
7 |
'none' => __( 'None', 'flexible-shipping' ),
|
58 |
|
59 |
if ( ! in_array( 'flexible-shipping-pro/flexible-shipping-pro.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ):
|
60 |
?>
|
61 |
+
<p><?php printf( __( 'Check %sFlexible Shipping PRO →%s to add advanced rules based on shipping classes, product/item count or additional handling fees/insurance.', 'flexible-shipping' ), '<a href="' . $fs_pro_link . '?utm_source=flexible-shipping-method&utm_medium=text-link&utm_campaign=flexible-shipping-pro" target="_blank">', '</a>' ); ?></p>
|
62 |
<?php endif; ?>
|
63 |
</th>
|
64 |
</tr>
|
171 |
var code = '<tr class="new">\
|
172 |
<td class="sort"></td>\
|
173 |
<td class="based_on">\
|
174 |
+
<?php echo str_replace( "'", '"', str_replace( "\r", "", str_replace( "\n", "", $field_based_on ) ) ); ?> \
|
175 |
</td>\
|
176 |
<td class="min">\
|
177 |
+
<?php echo str_replace( "'", '"', str_replace( "\r", "", str_replace( "\n", "", $field_min ) ) ); ?> \
|
178 |
</td>\
|
179 |
<td class="max">\
|
180 |
+
<?php echo str_replace( "'", '"', str_replace( "\r", "", str_replace( "\n", "", $field_max ) ) ); ?> \
|
181 |
</td>\
|
182 |
<td class="cost_per_order">\
|
183 |
+
<?php echo str_replace( "'", '"', str_replace( "\r", "", str_replace( "\n", "", $field_cost_per_order ) ) ); ?> \
|
184 |
</td>\
|
185 |
<?php do_action( 'flexible_shipping_method_rule_js', '' ); ?>
|
186 |
</tr>';
|
200 |
append_id = append_id+1;
|
201 |
append_row(append_id);
|
202 |
jQuery('#rules_'+append_id+'_min').focus();
|
203 |
+
jQuery('#insert_rule').trigger( 'insert_rule' , [append_id] );
|
204 |
return false;
|
205 |
});
|
206 |
jQuery('#remove_rules').click(function() {
|
241 |
$content .= __( 'Add New', 'flexible-shipping' );
|
242 |
}
|
243 |
?>
|
244 |
+
jQuery('#mainform h2').first().replaceWith( '<h2>' + '<?php echo $content; ?>' + '</h2>' );
|
245 |
</script>
|
246 |
<?php
|
247 |
}
|
248 |
+
?>
|
249 |
</td>
|
250 |
</tr>
|
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 shipping methods in WooCommerce and enable pricing based on cart weight or total.
|
6 |
-
Version: 1.
|
7 |
Author: WP Desk
|
8 |
Author URI: https://www.wpdesk.net/
|
9 |
Text Domain: flexible-shipping
|
@@ -47,6 +47,7 @@ if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', g
|
|
47 |
}
|
48 |
|
49 |
public function init_flexible_shipping() {
|
|
|
50 |
require_once('classes/shipping_method.php');
|
51 |
add_action( 'admin_enqueue_scripts', array($this, 'enqueue_admin_scripts'), 75 );
|
52 |
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 shipping methods in WooCommerce and enable pricing based on cart weight or total.
|
6 |
+
Version: 1.6
|
7 |
Author: WP Desk
|
8 |
Author URI: https://www.wpdesk.net/
|
9 |
Text Domain: flexible-shipping
|
47 |
}
|
48 |
|
49 |
public function init_flexible_shipping() {
|
50 |
+
|
51 |
require_once('classes/shipping_method.php');
|
52 |
add_action( 'admin_enqueue_scripts', array($this, 'enqueue_admin_scripts'), 75 );
|
53 |
add_action( 'admin_notices', array( $this, 'admin_notices' ) );
|
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: 2016-
|
5 |
-
"PO-Revision-Date: 2016-
|
6 |
-
"Last-Translator:
|
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 1.
|
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 "
|
@@ -18,55 +18,34 @@ msgstr ""
|
|
18 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
19 |
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
20 |
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
21 |
-
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
"X-Poedit-SearchPath-0: .\n"
|
|
|
23 |
|
24 |
-
#:
|
25 |
-
msgid ""
|
26 |
-
"Flexible Shipping requires at least version 2.7 of Active Payments plugin."
|
27 |
-
msgstr ""
|
28 |
-
"Flexible Shipping wymaga wtyczki Aktywne płatności w wersji co najmniej 2.7."
|
29 |
-
|
30 |
-
#: flexible-shipping.php:76
|
31 |
-
msgid "Flexible Shipping requires at least version 1.2 of eNadawca plugin."
|
32 |
-
msgstr "Flexible Shipping wymaga wtyczki eNadawca w wersji co najmniej 1.2."
|
33 |
-
|
34 |
-
#: flexible-shipping.php:87
|
35 |
msgid ""
|
36 |
-
"
|
|
|
37 |
msgstr ""
|
38 |
-
"
|
|
|
39 |
|
40 |
-
#:
|
41 |
-
|
42 |
-
|
43 |
-
"You are using WooCommerce Flexible Shipping below 1.4. Please deactivate it "
|
44 |
-
"on %splugins page%s. Read about big changes in Flexible Shipping on %sour "
|
45 |
-
"blog →%s"
|
46 |
-
msgstr ""
|
47 |
-
" Masz włączony WooCommerce Flexible Shipping w wersji starszej niż 1.4. "
|
48 |
-
"Wyłącz go na %sstronie wtyczek%s. Przeczytaj o dużej zmianie we Flexible "
|
49 |
-
"Shipping na %snaszym blogu →%s"
|
50 |
|
51 |
-
#:
|
52 |
msgid "Settings"
|
53 |
msgstr "Ustawienia"
|
54 |
|
55 |
-
#:
|
56 |
msgid "Docs"
|
57 |
msgstr "Docs"
|
58 |
|
59 |
-
#:
|
60 |
msgid "Support"
|
61 |
msgstr "Wsparcie"
|
62 |
|
63 |
-
|
64 |
-
#, php-format
|
65 |
-
msgid "Redirecting. If page not redirects click %s here %s."
|
66 |
-
msgstr ""
|
67 |
-
"Przekierowywanie. Jeśli strona nie przekierowuje cię automatycznie, kliknij "
|
68 |
-
"%s tu %s."
|
69 |
-
|
70 |
#: classes/settings-flexible-shipping.php:14
|
71 |
#: classes/settings-flexible-shipping.php:28
|
72 |
#: classes/settings-shipping-method-form.php:29 classes/shipping_method.php:24
|
@@ -121,11 +100,11 @@ msgstr "Wybierz klasę wysyłkową"
|
|
121 |
#: classes/settings-shipping-method-form.php:15
|
122 |
#, php-format
|
123 |
msgid ""
|
124 |
-
"
|
125 |
-
"
|
126 |
msgstr ""
|
127 |
-
"
|
128 |
-
"
|
129 |
|
130 |
#: classes/settings-shipping-method-form.php:23 classes/shipping_method.php:36
|
131 |
msgid "Enable this shipping method"
|
@@ -204,7 +183,7 @@ msgstr "Integracja"
|
|
204 |
|
205 |
#: classes/settings-shipping-method-form.php:72
|
206 |
msgid "Select integration. "
|
207 |
-
msgstr "Wybierz integrację."
|
208 |
|
209 |
#: classes/settings-shipping-method-form.php:75
|
210 |
#: classes/views/html-shipping-method-rules.php:7
|
@@ -229,49 +208,37 @@ msgid "Shipping Title"
|
|
229 |
msgstr "Tytuł"
|
230 |
|
231 |
#: classes/shipping_method.php:107
|
232 |
-
#: classes/views/html-shipping-method-rules.php:
|
233 |
msgid "Add New"
|
234 |
msgstr "Dodaj nową"
|
235 |
|
236 |
-
#: classes/shipping_method.php:
|
237 |
msgid "New Shipping Method"
|
238 |
msgstr "Nowa metoda wysyłki"
|
239 |
|
240 |
-
#: classes/shipping_method.php:
|
241 |
msgid "Edit Shipping Method"
|
242 |
msgstr "Edytuj metodę wysyłki"
|
243 |
|
244 |
-
#: classes/shipping_method.php:
|
245 |
#, php-format
|
246 |
msgid "Shipping method %s added."
|
247 |
msgstr "Metoda wysyłki dodana: %s."
|
248 |
|
249 |
-
#: classes/shipping_method.php:
|
250 |
#, php-format
|
251 |
msgid "Shipping method %s deleted."
|
252 |
msgstr "Metoda wysyłki usunięta: %s."
|
253 |
|
254 |
-
#: classes/shipping_method.php:
|
255 |
msgid "Shipping method not found."
|
256 |
msgstr "Metoda wysyłki nie znaleziona."
|
257 |
|
258 |
-
#: classes/shipping_method.php:
|
259 |
#, php-format
|
260 |
msgid "Shipping method %s updated."
|
261 |
msgstr "Metoda wysyłki zaktualizowana: %s."
|
262 |
|
263 |
-
#: classes/inspire/plugin4.php:218
|
264 |
-
msgid ""
|
265 |
-
"An Unexpected HTTP Error occurred during the API request. <a href=\"?\" "
|
266 |
-
"onclick=\"document.location.reload(); return false;\">Try again</a>"
|
267 |
-
msgstr ""
|
268 |
-
"Wystąpił nieoczekiwany błąd HTTP podczas zapytania API.</p> <p><a href=„?” "
|
269 |
-
"onclick=„document.location.reload(); return false;”>Spróbuj ponownie</a>"
|
270 |
-
|
271 |
-
#: classes/inspire/plugin4.php:223
|
272 |
-
msgid "An unknown error occurred"
|
273 |
-
msgstr "Wystąpił nieznany błąd"
|
274 |
-
|
275 |
#: classes/views/html-shipping-method-rules.php:8
|
276 |
msgid "Price"
|
277 |
msgstr "Cena"
|
@@ -283,13 +250,12 @@ msgstr "Waga"
|
|
283 |
#: classes/views/html-shipping-method-rules.php:61
|
284 |
#, php-format
|
285 |
msgid ""
|
286 |
-
"
|
287 |
-
"count or
|
288 |
-
"%sFlexible Shipping PRO →%s"
|
289 |
msgstr ""
|
290 |
-
"
|
291 |
-
"liczbę produktów/pozycji lub dodatkowe
|
292 |
-
"
|
293 |
|
294 |
#: classes/views/html-shipping-method-rules.php:73
|
295 |
msgid "Based on"
|
@@ -331,15 +297,15 @@ msgstr "Dodaj regułę"
|
|
331 |
msgid "Delete selected rules"
|
332 |
msgstr "Usuń wybrane reguły"
|
333 |
|
334 |
-
#: classes/views/html-shipping-method-rules.php:
|
335 |
msgid "No rows selected."
|
336 |
msgstr "Nie wybrano wierszy."
|
337 |
|
338 |
-
#: classes/views/html-shipping-method-rules.php:
|
339 |
msgid "Are you sure?"
|
340 |
msgstr "Na pewno?"
|
341 |
|
342 |
-
#: classes/views/html-shipping-method-rules.php:
|
343 |
#: classes/views/html-shipping-method-settings.php:96
|
344 |
msgid "Shipping Zones"
|
345 |
msgstr "Strefy wysyłki"
|
@@ -378,21 +344,75 @@ msgstr ""
|
|
378 |
"Przeciągnij i upuść metody wysyłki aby ustawić ich kolejność wyświetlania. "
|
379 |
"Potwierdź przez kliknięcie przycisku Zapisz zmiany poniżej."
|
380 |
|
381 |
-
|
382 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
383 |
|
384 |
#~ msgid ""
|
385 |
-
#~ "
|
386 |
-
#~ "
|
|
|
387 |
#~ msgstr ""
|
388 |
-
#~ "
|
389 |
-
#~ "
|
390 |
-
|
391 |
-
#~ msgid "WP Desk"
|
392 |
-
#~ msgstr "WP Desk"
|
393 |
|
394 |
-
#~ msgid "
|
395 |
-
#~
|
|
|
|
|
|
|
|
|
396 |
|
397 |
#~ msgid "Insert row"
|
398 |
#~ msgstr "Dodaj wiersz"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Flexible Shipping\n"
|
4 |
+
"POT-Creation-Date: 2016-09-27 17:23+0200\n"
|
5 |
+
"PO-Revision-Date: 2016-09-27 17:25+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 1.8.7\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 "
|
18 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
19 |
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
20 |
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
|
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
+
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
23 |
|
24 |
+
#: classes/inspire/plugin4.php:218
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
msgid ""
|
26 |
+
"An Unexpected HTTP Error occurred during the API request. <a href=\"?\" "
|
27 |
+
"onclick=\"document.location.reload(); return false;\">Try again</a>"
|
28 |
msgstr ""
|
29 |
+
"Wystąpił nieoczekiwany błąd HTTP podczas zapytania API.</p> <p><a href=„?” "
|
30 |
+
"onclick=„document.location.reload(); return false;”>Spróbuj ponownie</a>"
|
31 |
|
32 |
+
#: classes/inspire/plugin4.php:223
|
33 |
+
msgid "An unknown error occurred"
|
34 |
+
msgstr "Wystąpił nieznany błąd"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
|
36 |
+
#: classes/inspire/plugin4.php:387 flexible-shipping.php:147
|
37 |
msgid "Settings"
|
38 |
msgstr "Ustawienia"
|
39 |
|
40 |
+
#: classes/inspire/plugin4.php:388 flexible-shipping.php:148
|
41 |
msgid "Docs"
|
42 |
msgstr "Docs"
|
43 |
|
44 |
+
#: classes/inspire/plugin4.php:389 flexible-shipping.php:149
|
45 |
msgid "Support"
|
46 |
msgstr "Wsparcie"
|
47 |
|
48 |
+
#. Plugin Name of the plugin/theme
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
#: classes/settings-flexible-shipping.php:14
|
50 |
#: classes/settings-flexible-shipping.php:28
|
51 |
#: classes/settings-shipping-method-form.php:29 classes/shipping_method.php:24
|
100 |
#: classes/settings-shipping-method-form.php:15
|
101 |
#, php-format
|
102 |
msgid ""
|
103 |
+
"%sAdd integrations%s with Paczkomaty InPost, eNadawca Poczta Polska, Paczka "
|
104 |
+
"w Ruchu."
|
105 |
msgstr ""
|
106 |
+
"%sDodaj integracje%s z Paczkomaty InPost, eNadawca Poczta Polska, Paczka w "
|
107 |
+
"Ruchu."
|
108 |
|
109 |
#: classes/settings-shipping-method-form.php:23 classes/shipping_method.php:36
|
110 |
msgid "Enable this shipping method"
|
183 |
|
184 |
#: classes/settings-shipping-method-form.php:72
|
185 |
msgid "Select integration. "
|
186 |
+
msgstr "Wybierz integrację. "
|
187 |
|
188 |
#: classes/settings-shipping-method-form.php:75
|
189 |
#: classes/views/html-shipping-method-rules.php:7
|
208 |
msgstr "Tytuł"
|
209 |
|
210 |
#: classes/shipping_method.php:107
|
211 |
+
#: classes/views/html-shipping-method-rules.php:241
|
212 |
msgid "Add New"
|
213 |
msgstr "Dodaj nową"
|
214 |
|
215 |
+
#: classes/shipping_method.php:317
|
216 |
msgid "New Shipping Method"
|
217 |
msgstr "Nowa metoda wysyłki"
|
218 |
|
219 |
+
#: classes/shipping_method.php:320
|
220 |
msgid "Edit Shipping Method"
|
221 |
msgstr "Edytuj metodę wysyłki"
|
222 |
|
223 |
+
#: classes/shipping_method.php:330 classes/shipping_method.php:367
|
224 |
#, php-format
|
225 |
msgid "Shipping method %s added."
|
226 |
msgstr "Metoda wysyłki dodana: %s."
|
227 |
|
228 |
+
#: classes/shipping_method.php:351
|
229 |
#, php-format
|
230 |
msgid "Shipping method %s deleted."
|
231 |
msgstr "Metoda wysyłki usunięta: %s."
|
232 |
|
233 |
+
#: classes/shipping_method.php:354
|
234 |
msgid "Shipping method not found."
|
235 |
msgstr "Metoda wysyłki nie znaleziona."
|
236 |
|
237 |
+
#: classes/shipping_method.php:379
|
238 |
#, php-format
|
239 |
msgid "Shipping method %s updated."
|
240 |
msgstr "Metoda wysyłki zaktualizowana: %s."
|
241 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
242 |
#: classes/views/html-shipping-method-rules.php:8
|
243 |
msgid "Price"
|
244 |
msgstr "Cena"
|
250 |
#: classes/views/html-shipping-method-rules.php:61
|
251 |
#, php-format
|
252 |
msgid ""
|
253 |
+
"Check %sFlexible Shipping PRO →%s to add advanced rules based on "
|
254 |
+
"shipping classes, product/item count or additional handling fees/insurance."
|
|
|
255 |
msgstr ""
|
256 |
+
"Sprawdź %sFlexible Shipping PRO →%s, aby dodawać zaawansowane reguły "
|
257 |
+
"oparte o klasy wysyłkowe, liczbę produktów/pozycji lub naliczać dodatkowe "
|
258 |
+
"koszty obsługi/ubezpieczenia."
|
259 |
|
260 |
#: classes/views/html-shipping-method-rules.php:73
|
261 |
msgid "Based on"
|
297 |
msgid "Delete selected rules"
|
298 |
msgstr "Usuń wybrane reguły"
|
299 |
|
300 |
+
#: classes/views/html-shipping-method-rules.php:212
|
301 |
msgid "No rows selected."
|
302 |
msgstr "Nie wybrano wierszy."
|
303 |
|
304 |
+
#: classes/views/html-shipping-method-rules.php:217
|
305 |
msgid "Are you sure?"
|
306 |
msgstr "Na pewno?"
|
307 |
|
308 |
+
#: classes/views/html-shipping-method-rules.php:232
|
309 |
#: classes/views/html-shipping-method-settings.php:96
|
310 |
msgid "Shipping Zones"
|
311 |
msgstr "Strefy wysyłki"
|
344 |
"Przeciągnij i upuść metody wysyłki aby ustawić ich kolejność wyświetlania. "
|
345 |
"Potwierdź przez kliknięcie przycisku Zapisz zmiany poniżej."
|
346 |
|
347 |
+
#: flexible-shipping.php:80
|
348 |
+
msgid ""
|
349 |
+
"Flexible Shipping requires at least version 2.7 of Active Payments plugin."
|
350 |
+
msgstr ""
|
351 |
+
"Flexible Shipping wymaga wtyczki Aktywne płatności w wersji co najmniej 2.7."
|
352 |
+
|
353 |
+
#: flexible-shipping.php:91
|
354 |
+
msgid "Flexible Shipping requires at least version 1.2 of eNadawca plugin."
|
355 |
+
msgstr "Flexible Shipping wymaga wtyczki eNadawca w wersji co najmniej 1.2."
|
356 |
+
|
357 |
+
#: flexible-shipping.php:102
|
358 |
+
msgid ""
|
359 |
+
"Flexible Shipping requires at least version 1.1 of Paczka w Ruchu plugin."
|
360 |
+
msgstr ""
|
361 |
+
"Flexible Shipping wymaga wtyczki Paczka w Ruchu w wersji co najmniej 1.1."
|
362 |
+
|
363 |
+
#: flexible-shipping.php:110
|
364 |
+
#, php-format
|
365 |
+
msgid ""
|
366 |
+
"You are using WooCommerce Flexible Shipping below 1.4. Please deactivate it "
|
367 |
+
"on %splugins page%s. Read about big changes in Flexible Shipping on %sour "
|
368 |
+
"blog →%s"
|
369 |
+
msgstr ""
|
370 |
+
" Masz włączony WooCommerce Flexible Shipping w wersji starszej niż 1.4. "
|
371 |
+
"Wyłącz go na %sstronie wtyczek%s. Przeczytaj o dużej zmianie we Flexible "
|
372 |
+
"Shipping na %snaszym blogu →%s"
|
373 |
+
|
374 |
+
#: flexible-shipping.php:213
|
375 |
+
#, php-format
|
376 |
+
msgid "Redirecting. If page not redirects click %s here %s."
|
377 |
+
msgstr ""
|
378 |
+
"Przekierowywanie. Jeśli strona nie przekierowuje cię automatycznie, kliknij "
|
379 |
+
"%s tu %s."
|
380 |
+
|
381 |
+
#. Plugin URI of the plugin/theme
|
382 |
+
msgid "https://wordpress.org/plugins/flexible-shipping/"
|
383 |
+
msgstr "https://pl.wordpress.org/plugins/flexible-shipping/"
|
384 |
+
|
385 |
+
#. Description of the plugin/theme
|
386 |
+
msgid ""
|
387 |
+
"Create additional shipping methods in WooCommerce and enable pricing based "
|
388 |
+
"on cart weight or total."
|
389 |
+
msgstr ""
|
390 |
+
"Stwórz dodatkowe metody wysyłki w WooCommerce i włącz obliczanie kosztów w "
|
391 |
+
"oparciu o wagę lub wartość zamówienia."
|
392 |
+
|
393 |
+
#. Author of the plugin/theme
|
394 |
+
msgid "WP Desk"
|
395 |
+
msgstr "WP Desk"
|
396 |
+
|
397 |
+
#. Author URI of the plugin/theme
|
398 |
+
msgid "https://www.wpdesk.net/"
|
399 |
+
msgstr "https://www.wpdesk.pl/"
|
400 |
|
401 |
#~ msgid ""
|
402 |
+
#~ "If you need more advanced rules based on shipping classes, product/item "
|
403 |
+
#~ "count or adding additional handling/insurance fees make sure to check "
|
404 |
+
#~ "%sFlexible Shipping PRO →%s"
|
405 |
#~ msgstr ""
|
406 |
+
#~ "Jeśli potrzebujesz bardziej zaawansowanych reguł opartych o klasy "
|
407 |
+
#~ "wysyłkowe, liczbę produktów/pozycji lub dodatkowe koszty obsługi/"
|
408 |
+
#~ "ubezpieczenia, koniecznie sprawdź %sFlexible Shipping PRO →%s"
|
|
|
|
|
409 |
|
410 |
+
#~ msgid ""
|
411 |
+
#~ "You can add integrations with Paczkomaty InPost, eNadawca Poczta Polska, "
|
412 |
+
#~ "Paczka w Ruchu. %sView details%s"
|
413 |
+
#~ msgstr ""
|
414 |
+
#~ "Możesz dodać integracje z Paczkomaty InPost, eNadawca Poczta Polska, "
|
415 |
+
#~ "Paczka w Ruchu. %sSprawdź szczegóły%s"
|
416 |
|
417 |
#~ msgid "Insert row"
|
418 |
#~ msgstr "Dodaj wiersz"
|
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 total, weight shipping, weight based shipping, totals based shipping, order based shipping, shipping zones, shipping classes
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.6.1
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -56,6 +56,12 @@ These are just a few examples. The possibilities are probably endless ;) We desc
|
|
56 |
|
57 |
[Upgrade to PRO Now →](https://www.wpdesk.net/products/flexible-shipping-pro-woocommerce/)
|
58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
= WooCommerce Compatibility =
|
60 |
|
61 |
**WooCommerce 2.6 ready!** Flexible Shipping is compatible with WooCommerce Shipping Zones introduced in version 2.6. Read more about [WooCommerce Shipping Zones](https://www.wpdesk.net/blog/woocommerce-shipping-zones-explained/).
|
@@ -117,6 +123,10 @@ If you are upgrading from the old Flexible Shipping version (1.3.2, woo-flexible
|
|
117 |
|
118 |
== Changelog ==
|
119 |
|
|
|
|
|
|
|
|
|
120 |
= 1.5 - 2016-09-12 =
|
121 |
* Added support for currency switching: WPML, Aelia Currency Switcher, Multi Currency Store
|
122 |
* Added optional shipping method description
|
4 |
Tags: table rate, table rate shipping, woocommerce shipping, flexible shipping, woocommerce table rate shipping, cart total, weight shipping, weight based shipping, totals based shipping, order based shipping, shipping zones, shipping classes
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.6.1
|
7 |
+
Stable tag: 1.6
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
56 |
|
57 |
[Upgrade to PRO Now →](https://www.wpdesk.net/products/flexible-shipping-pro-woocommerce/)
|
58 |
|
59 |
+
= Locations Based Shipping Add-On =
|
60 |
+
|
61 |
+
The Location Based Shipping Add-On extends Flexible Shipping for WooCommerce with additional rules based on locations. Works with both the free and PRO versions, so you can buy it separately if you don’t need the PRO features.
|
62 |
+
|
63 |
+
[Buy Locations Add-On Now →](https://www.wpdesk.net/products/flexible-shipping-locations-woocommerce/)
|
64 |
+
|
65 |
= WooCommerce Compatibility =
|
66 |
|
67 |
**WooCommerce 2.6 ready!** Flexible Shipping is compatible with WooCommerce Shipping Zones introduced in version 2.6. Read more about [WooCommerce Shipping Zones](https://www.wpdesk.net/blog/woocommerce-shipping-zones-explained/).
|
123 |
|
124 |
== Changelog ==
|
125 |
|
126 |
+
= 1.6 - 2016-09-29 =
|
127 |
+
* Added support for Flexible Shipping Locations Add-On
|
128 |
+
* Fixed WooCommerce 2.3.x compatibility
|
129 |
+
|
130 |
= 1.5 - 2016-09-12 =
|
131 |
* Added support for currency switching: WPML, Aelia Currency Switcher, Multi Currency Store
|
132 |
* Added optional shipping method description
|