PluginProbe
Packeta / 2.0.9
Packeta v2.0.9
2.3.2 2.3.1 trunk 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.3.0 1.3.1 1.3.2 1.4 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 All 56 releases
← All changes | src/Packetery/Module/Log/Page.php +3 -6 trunk2.0.9 View file →
@@ -11,9 +11,8 @@
11 11
12 12 use Packetery\Core\Log\ILogger;
13 13 use Packetery\Core\Log\Record;
14 14 use Packetery\Latte\Engine;
15 -use Packetery\Module\Dashboard\DashboardPage;
16 15 use Packetery\Module\ModuleHelper;
17 16 use Packetery\Module\Views\UrlBuilder;
18 17 use Packetery\Nette\Http\Request;
19 18
@@ -80,9 +79,9 @@
80 79 * Registers Page.
81 80 */
82 81 public function register(): void {
83 82 add_submenu_page(
84 - DashboardPage::SLUG,
83 + \Packetery\Module\Options\Page::SLUG,
85 84 __( 'Log', 'packeta' ),
86 85 __( 'Log', 'packeta' ),
87 86 'manage_woocommerce',
88 87 self::SLUG,
@@ -96,11 +95,10 @@
96 95 public function render(): void {
97 96 $translatedActions = [
98 97 Record::ACTION_PACKET_SENDING => __( 'Packet sending', 'packeta' ),
99 98 Record::ACTION_PACKET_CLAIM_SENDING => __( 'Packet claim sending', 'packeta' ),
100 - Record::ACTION_CARRIER_LABEL_PRINT => __( 'Carrier label printing', 'packeta' ),
101 - Record::ACTION_LABEL_PRINT => __( 'Label printing', 'packeta' ),
102 - Record::ACTION_CLAIM_LABEL_PRINT => __( 'Claim assistant label printing', 'packeta' ),
99 + Record::ACTION_CARRIER_LABEL_PRINT => __( 'Carrier label print', 'packeta' ),
100 + Record::ACTION_LABEL_PRINT => __( 'Label print', 'packeta' ),
103 101 Record::ACTION_CARRIER_LIST_UPDATE => __( 'Carrier list update', 'packeta' ),
104 102 Record::ACTION_CARRIER_NUMBER_RETRIEVING => __( 'Getting external carrier tracking number', 'packeta' ),
105 103 Record::ACTION_CARRIER_TABLE_NOT_CREATED => __( 'Database carrier table was not created.', 'packeta' ),
106 104 Record::ACTION_ORDER_TABLE_NOT_CREATED => __( 'Database order table was not created.', 'packeta' ),
@@ -105,9 +103,8 @@
105 103 Record::ACTION_CARRIER_TABLE_NOT_CREATED => __( 'Database carrier table was not created.', 'packeta' ),
106 104 Record::ACTION_ORDER_TABLE_NOT_CREATED => __( 'Database order table was not created.', 'packeta' ),
107 105 Record::ACTION_SENDER_VALIDATION => __( 'Sender validation', 'packeta' ),
108 106 Record::ACTION_PACKET_STATUS_SYNC => __( 'Packet status synchronization', 'packeta' ),
109 - Record::ACTION_PACKET_INFO => __( 'Packet info', 'packeta' ),
110 107 Record::ACTION_PACKET_CANCEL => __( 'Packet cancel', 'packeta' ),
111 108 Record::ACTION_PICKUP_POINT_VALIDATE => __( 'Pickup point validation', 'packeta' ),
112 109 Record::ACTION_ORDER_STATUS_CHANGE => __( 'Order status change', 'packeta' ),
113 110 ];