Skip to content

Commit e4f0c81

Browse files
PES-1361: version 1.5.2 release prepared (#397)
1 parent 7ca9b51 commit e4f0c81

File tree

5 files changed

+38
-28
lines changed

5 files changed

+38
-28
lines changed

languages/packeta.pot

Lines changed: 29 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
# This file is distributed under the GNU General Public License v3.0.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: Packeta 1.5.1\n"
5+
"Project-Id-Version: Packeta 1.5.2\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/packeta\n"
77
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
88
"Language-Team: LANGUAGE <[email protected]>\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
12-
"POT-Creation-Date: 2023-04-25T14:01:51+02:00\n"
12+
"POT-Creation-Date: 2023-04-26T14:19:31+02:00\n"
1313
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1414
"X-Generator: WP-CLI 2.5.0\n"
1515
"X-Domain: packeta\n"
@@ -29,7 +29,7 @@ msgstr ""
2929
#: src/Packetery/Module/Options/Page.php:129
3030
#: src/Packetery/Module/Options/Page.php:130
3131
#: src/Packetery/Module/Options/Page.php:711
32-
#: src/Packetery/Module/Order/GridExtender.php:361
32+
#: src/Packetery/Module/Order/GridExtender.php:360
3333
#: src/Packetery/Module/Order/LabelPrint.php:187
3434
#: src/Packetery/Module/Order/Metabox.php:187
3535
#: src/Packetery/Module/Plugin.php:531
@@ -440,7 +440,7 @@ msgid "Address validation is out of order"
440440
msgstr ""
441441

442442
#: src/Packetery/Module/Checkout.php:290
443-
#: src/Packetery/Module/Order/Metabox.php:473
443+
#: src/Packetery/Module/Order/Metabox.php:493
444444
msgid "The selected country does not correspond to the destination country."
445445
msgstr ""
446446

@@ -633,7 +633,7 @@ msgid "Total row count: %1$d. Number of displayed rows: %2$d."
633633
msgstr ""
634634

635635
#. translators: 1: documentation link start 2: link end 3: dismiss link start 4: link end.
636-
#: src/Packetery/Module/Options/FeatureFlagManager.php:211
636+
#: src/Packetery/Module/Options/FeatureFlagManager.php:209
637637
msgid "We have just enabled new options for setting Packeta pickup points. You can now choose a different price for Z-Box and pickup points in the carrier settings. More information can be found in %1$sthe plugin documentation%2$s. %3$sDismiss this message%4$s"
638638
msgstr ""
639639

@@ -964,7 +964,7 @@ msgid "Order number"
964964
msgstr ""
965965

966966
#: src/Packetery/Module/Order/CollectionPrint.php:191
967-
#: src/Packetery/Module/Order/GridExtender.php:362
967+
#: src/Packetery/Module/Order/GridExtender.php:361
968968
msgid "Barcode"
969969
msgstr ""
970970

@@ -981,7 +981,7 @@ msgid "C.O.D."
981981
msgstr ""
982982

983983
#: src/Packetery/Module/Order/CollectionPrint.php:195
984-
#: src/Packetery/Module/Order/GridExtender.php:364
984+
#: src/Packetery/Module/Order/GridExtender.php:363
985985
msgid "Pickup point or carrier"
986986
msgstr ""
987987

@@ -1022,7 +1022,7 @@ msgid "Set additional packet information"
10221022
msgstr ""
10231023

10241024
#: src/Packetery/Module/Order/GridExtender.php:327
1025-
#: src/Packetery/Module/Order/Metabox.php:328
1025+
#: src/Packetery/Module/Order/Metabox.php:348
10261026
msgid "Submit to packeta"
10271027
msgstr ""
10281028

@@ -1049,12 +1049,12 @@ msgstr ""
10491049
msgid "Last error from Packeta API"
10501050
msgstr ""
10511051

1052-
#: src/Packetery/Module/Order/GridExtender.php:360
1052+
#: src/Packetery/Module/Order/GridExtender.php:359
10531053
#: src/Packetery/Module/Order/Modal.php:95
10541054
msgid "Weight"
10551055
msgstr ""
10561056

1057-
#: src/Packetery/Module/Order/GridExtender.php:363
1057+
#: src/Packetery/Module/Order/GridExtender.php:362
10581058
msgid "Packeta packet status"
10591059
msgstr ""
10601060

@@ -1175,27 +1175,32 @@ msgid "Packet tracking online"
11751175
msgstr ""
11761176

11771177
#: src/Packetery/Module/Order/Metabox.php:275
1178-
#: src/Packetery/Module/Order/Metabox.php:326
1178+
#: src/Packetery/Module/Order/Metabox.php:346
11791179
msgid "Show logs"
11801180
msgstr ""
11811181

1182-
#: src/Packetery/Module/Order/Metabox.php:327
1182+
#. translators: %s is country code.
1183+
#: src/Packetery/Module/Order/Metabox.php:320
1184+
msgid "The pickup point cannot be changed because the selected carrier does not deliver to country \"%s\". First, change the country of delivery in the shipping address."
1185+
msgstr ""
1186+
1187+
#: src/Packetery/Module/Order/Metabox.php:347
11831188
msgid "Weight is manually set. To calculate weight remove field content and save."
11841189
msgstr ""
11851190

1186-
#: src/Packetery/Module/Order/Metabox.php:354
1191+
#: src/Packetery/Module/Order/Metabox.php:374
11871192
msgid "Packeta: entered data is not valid!"
11881193
msgstr ""
11891194

1190-
#: src/Packetery/Module/Order/Metabox.php:362
1195+
#: src/Packetery/Module/Order/Metabox.php:382
11911196
msgid "Session has expired! Please try again."
11921197
msgstr ""
11931198

1194-
#: src/Packetery/Module/Order/Metabox.php:368
1199+
#: src/Packetery/Module/Order/Metabox.php:388
11951200
msgid "You do not have sufficient rights to make changes!"
11961201
msgstr ""
11971202

1198-
#: src/Packetery/Module/Order/Metabox.php:472
1203+
#: src/Packetery/Module/Order/Metabox.php:492
11991204
msgid "Address validation is out of order."
12001205
msgstr ""
12011206

@@ -1266,40 +1271,40 @@ msgid "Packet was successfully created."
12661271
msgstr ""
12671272

12681273
#. translators: 1: link start 2: link end.
1269-
#: src/Packetery/Module/Order/PacketSubmitter.php:350
1274+
#: src/Packetery/Module/Order/PacketSubmitter.php:356
12701275
msgid "Shipments were submitted successfully. %1$sShow logs%2$s"
12711276
msgstr ""
12721277

1273-
#: src/Packetery/Module/Order/PacketSubmitter.php:355
1278+
#: src/Packetery/Module/Order/PacketSubmitter.php:361
12741279
msgid "Shipments were submitted successfully."
12751280
msgstr ""
12761281

12771282
#. translators: 1: total number of shipments 2: link start 3: link end.
1278-
#: src/Packetery/Module/Order/PacketSubmitter.php:362
1283+
#: src/Packetery/Module/Order/PacketSubmitter.php:368
12791284
msgid "Some shipments (%1$s in total) were not submitted (these were submitted already or are not Packeta orders). %2$sShow logs%3$s"
12801285
msgstr ""
12811286

12821287
#. translators: %s is count.
1283-
#: src/Packetery/Module/Order/PacketSubmitter.php:369
1288+
#: src/Packetery/Module/Order/PacketSubmitter.php:375
12841289
msgid "Some shipments (%s in total) were not submitted (these were submitted already or are not Packeta orders)."
12851290
msgstr ""
12861291

12871292
#. translators: 1: total number of shipments 2: link start 3: link end.
1288-
#: src/Packetery/Module/Order/PacketSubmitter.php:378
1293+
#: src/Packetery/Module/Order/PacketSubmitter.php:384
12891294
msgid "Some shipments (%1$s in total) failed to be submitted to Packeta. %2$sShow logs%3$s"
12901295
msgstr ""
12911296

12921297
#. translators: %s is count.
1293-
#: src/Packetery/Module/Order/PacketSubmitter.php:385
1298+
#: src/Packetery/Module/Order/PacketSubmitter.php:391
12941299
msgid "Some shipments (%s in total) failed to be submitted to Packeta."
12951300
msgstr ""
12961301

1297-
#: src/Packetery/Module/Order/PacketSubmitter.php:394
1302+
#: src/Packetery/Module/Order/PacketSubmitter.php:400
12981303
msgid "Some order statuses have not been automatically changed."
12991304
msgstr ""
13001305

13011306
#. translators: %s represents unknown order status.
1302-
#: src/Packetery/Module/Order/PacketSubmitter.php:422
1307+
#: src/Packetery/Module/Order/PacketSubmitter.php:428
13031308
msgid "Order status has not been changed, status \"%s\" doesn't exist."
13041309
msgstr ""
13051310

packeta.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* Plugin Name: Packeta
1010
* Description: This is the official plugin, that allows you to choose pickup points of Packeta and its external carriers in all of Europe, or utilize address delivery to 25 countries in the European Union, straight from the cart in your e-shop. Furthermore, you can also submit all your orders to Packeta with just one click.
11-
* Version: 1.5.1
11+
* Version: 1.5.2
1212
* Author: Zásilkovna s.r.o.
1313
* Author URI: https://www.zasilkovna.cz/
1414
* Text Domain: packeta

readme.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: packeta
33
Tags: WooCommerce, shipping
44
Requires at least: 5.3
55
Tested up to: 6.2
6-
Stable tag: 1.5.1
6+
Stable tag: 1.5.2
77
Requires PHP: 7.2
88
WC requires at least: 4.5
99
WC tested up to: 7.6.0
@@ -61,6 +61,12 @@ We are constantly working on adding new features. You can find a list of feature
6161
Please contact us at [email protected] .
6262

6363
== Changelog ==
64+
= 1.5.2 =
65+
Fixed: Displaying an order with a shipping method that doesn't have coupons enabled, with free shipping, and with a coupon used now doesn't throw an error.
66+
Fixed: For international shipping, the wrong shipping currency was being passed to the widget.
67+
Fixed: The plugin stopped working if the delivery country was changed in the order detail to a country not supported by the selected shipping method.
68+
Fixed: Failed communication with the Packeta's internal API will no longer result in an error.
69+
6470
= 1.5.1 =
6571
Updated: Viewing the log and printing labels is now possible with the manage_woocommerce permission, which is part of the "Shop Manager" role.
6672
Updated: We are extending the packeta_shipping_price filter with another parameter (carrier ID, free shipping limit, prices for individual weight limits). Using this filter, you can set a new shipping price, for example, according to the price of the order.

src/Packetery/Module/Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
*/
2929
class Plugin {
3030

31-
public const VERSION = '1.5.1';
31+
public const VERSION = '1.5.2';
3232
public const DOMAIN = 'packeta';
3333
public const MIN_LISTENER_PRIORITY = - 9998;
3434
public const PARAM_PACKETERY_ACTION = 'packetery_action';

src/Packetery/Module/RateCalculator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
use Packetery\Module\Carrier;
1313
use WC_Cart;
1414
use WC_Order;
15-
use function method_exists;
1615

1716
/**
1817
* Class RateCalculator. Calculates cost for WooCommerce shipping rate.

0 commit comments

Comments
 (0)