Plugin Directory

Changeset 3646761


Ignore:
Timestamp:
08/14/2026 06:46:46 AM (2 months ago)
Author:
rimosfafora
Message:

1.0.40

Location:
inpost-paczkomaty
Files:
28 added
9 edited

Legend:

Unmodified
Added
Removed
  • inpost-paczkomaty/trunk/admin/admin.php

    r3629758 r3646761  
    509509
    510510        $message = __( "Are you sure? This will overwrite your cart and checkout settings and change them to the classic cart and checkout. It is recommended to make a backup!", "inpost-paczkomaty" );
    511         wp_enqueue_script( 'save-checkout-script', plugin_dir_url( __FILE__ ) . 'js/save-checkout.js', array( 'jquery' ), '1.0.39', true );
     511        wp_enqueue_script( 'save-checkout-script', plugin_dir_url( __FILE__ ) . 'js/save-checkout.js', array( 'jquery' ), '1.0.40', true );
    512512        wp_localize_script( 'save-checkout-script', 'custom_ajax_object', array(
    513513                'ajax_url' => admin_url( 'admin-ajax.php' ),
    … …  
    696696                );
    697697                $update         = wp_update_post( $checkout_array );
    698                 wp_send_json_success( array( 'message' => __( 'Sukcess! sprawdź teraz swój koszyk oraz checkout', 'inpost-paczkomaty' ) ) );
     698                wp_send_json_success( array( 'message' => __( 'Sukces! Sprawdź teraz swój koszyk oraz checkout.', 'inpost-paczkomaty' ) ) );
    699699        }
    700700        wp_die();
  • inpost-paczkomaty/trunk/includes/checkout-blocks.php

    r3629758 r3646761  
    3333                INPOST_PACZKOMATY_PLUGIN_URL . '/js/paczkomat-blocks.js',
    3434                [ 'wp-element', 'wp-data', 'wp-plugins', 'wc-blocks-checkout', 'jquery', 'inpost-geowidget-sdk' ],
    35                 '1.0.39',
     35                '1.0.40',
    3636                true
    3737        );
  • inpost-paczkomaty/trunk/includes/checkout-classic.php

    r3629758 r3646761  
    7575
    7676                if ( $selected[0] === 'inpost_paczkomaty' && ( ! isset( $selected_name ) || empty( $selected_name ) ) ) {
    77                         wc_add_notice( __( 'Nie wybrano paczkomatu. Wybierz paczkomat lub zmień formę wysyłki.' ), 'error' );
     77                        wc_add_notice( __( 'Nie wybrano paczkomatu. Wybierz paczkomat lub zmień formę wysyłki.', 'inpost-paczkomaty' ), 'error' );
    7878                }
    7979        }
  • inpost-paczkomaty/trunk/includes/class-inpost-blocks-integration.php

    r3629758 r3646761  
    1818         * @var string
    1919         */
    20         private $version = '1.0.39';
     20        private $version = '1.0.40';
    2121
    2222        /**
  • inpost-paczkomaty/trunk/inpost-paczkomaty.php

    r3629758 r3646761  
    33 * Plugin Name: Inpost Paczkomaty
    44 * Description: Plugin do obsługi paczkomatów inpost w woocommerce.
    5  * Version: 1.0.39
     5 * Version: 1.0.40
    66 * Author: Damian Ziarnik
    77 * Author URI: https://grainsoft.pl/
    88 * Text Domain: inpost-paczkomaty
    99 * Domain Path: /languages
     10 * Requires at least: 5.3
     11 * Requires PHP: 7.4
     12 * Requires Plugins: woocommerce
     13 * License: GPLv2 or later
     14 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1015 **/
    1116
    … …  
    1621}
    1722
     23/**
     24 * Detect whether WooCommerce is active.
     25 *
     26 * Checks per-site active plugins as well as network-activated plugins on
     27 * multisite (they live in a separate option), and matches on the plugin file
     28 * name so non-standard directory names still resolve.
     29 *
     30 * @return bool
     31 */
     32function inpost_paczkomaty_is_woocommerce_active() {
     33        $active_plugins = (array) apply_filters( 'active_plugins', get_option( 'active_plugins', array() ) );
     34
     35        if ( is_multisite() ) {
     36                $active_plugins = array_merge(
     37                        $active_plugins,
     38                        array_keys( (array) get_site_option( 'active_sitewide_plugins', array() ) )
     39                );
     40        }
     41
     42        foreach ( $active_plugins as $plugin ) {
     43                if ( 'woocommerce.php' === basename( (string) $plugin ) ) {
     44                        return true;
     45                }
     46        }
     47
     48        // Fallback for setups loading WooCommerce by other means (e.g. mu-plugins).
     49        return class_exists( 'WooCommerce' );
     50}
     51
    1852/*
    1953 * Bootstrap only when WooCommerce is active.
    2054 */
    21 if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
     55if ( inpost_paczkomaty_is_woocommerce_active() ) {
    2256
    2357        // -------------------------------------------------------------------------
    … …  
    2761        define( 'INPOST_PACZKOMATY_PLUGIN_URL', plugins_url( '', __FILE__ ) );
    2862        define( 'INPOST_PACZKOMATY_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
     63
     64        // -------------------------------------------------------------------------
     65        // Declare WooCommerce feature compatibility.
     66        // Without this WooCommerce lists the plugin as incompatible and can block
     67        // enabling HPOS, even though the plugin fully supports it.
     68        // -------------------------------------------------------------------------
     69
     70        add_action(
     71                'before_woocommerce_init',
     72                function () {
     73                        if ( ! class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
     74                                return;
     75                        }
     76
     77                        // High-Performance Order Storage – order meta is written via CRUD.
     78                        \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility(
     79                                'custom_order_tables',
     80                                __FILE__,
     81                                true
     82                        );
     83
     84                        // Block-based cart and checkout – handled by includes/checkout-blocks.php.
     85                        \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility(
     86                                'cart_checkout_blocks',
     87                                __FILE__,
     88                                true
     89                        );
     90                }
     91        );
    2992
    3093        /**
    … …  
    674737                if ( $selected_method_id === 'inpost_paczkomaty' ) {
    675738                        $fields['meta_key'] = array(
    676                                 'label' => __( 'Paczkomat' ),
     739                                'label' => __( 'Paczkomat', 'inpost-paczkomaty' ),
    677740                                'value' => $order->get_meta( 'Wybrany paczkomat' ),
    678741                        );
  • inpost-paczkomaty/trunk/languages/inpost-paczkomaty-pl_PL.po

    r3557829 r3646761  
    11msgid ""
    22msgstr ""
    3 "Project-Id-Version: Inpost Paczkomaty\n"
     3"Project-Id-Version: Inpost Paczkomaty 1.0.40\n"
    44"Report-Msgid-Bugs-To: \n"
    5 "POT-Creation-Date: 2021-10-04 20:56+0000\n"
    6 "PO-Revision-Date: 2024-01-06 16:42+0000\n"
     5"POT-Creation-Date: 2026-08-02 11:46+0000\n"
     6"PO-Revision-Date: 2026-08-02 12:00+0000\n"
    77"Last-Translator: \n"
    88"Language-Team: Polski\n"
    … …  
    3838"zapasowej!"
    3939
     40#: admin/admin.php:679
     41msgid "Brak uprawnień."
     42msgstr "Brak uprawnień."
     43
    4044#. Author of the plugin
    4145msgid "Damian Ziarnik"
    … …  
    125129msgstr "Nie"
    126130
     131#: includes/checkout-blocks.php:116
     132#: includes/checkout-classic.php:77
     133msgid "Nie wybrano paczkomatu. Wybierz paczkomat lub zmień formę wysyłki."
     134msgstr "Nie wybrano paczkomatu. Wybierz paczkomat lub zmień formę wysyłki."
     135
     136#: inpost-paczkomaty.php:676
     137msgid "Paczkomat"
     138msgstr "Paczkomat"
     139
    127140#: includes/settings-inpost-paczkomaty.php:14
    128141msgid "Paczkomaty"
    … …  
    176189msgstr "Podziel na kilka paczek"
    177190
    178 #: admin/admin.php:513
    179 msgid "Sukcess! sprawdź teraz swój koszyk oraz checkout"
    180 msgstr ""
    181 
    182 #: admin/admin.php:489
    183 msgid ""
    184 "Thank you very much for using my plugin! If you like it and you're satisfied,"
    185 " please leave a review <a href='https://wordpress.org/support/plugin/inpost-"
    186 "paczkomaty/reviews/'>Here</a>. "
    187 msgstr ""
    188 "Dziękuję bardzo za to że używasz mojej wtyczki. Jeżeli podoba Ci się i "
    189 "jesteś usatysfakcjonowany, proszę pozostaw opinię <a href='https://wordpress."
    190 "org/support/plugin/inpost-paczkomaty/reviews/'>Tutaj </a>. "
     191#: admin/admin.php:698
     192msgid "Sukces! Sprawdź teraz swój koszyk oraz checkout."
     193msgstr "Sukces! Sprawdź teraz swój koszyk oraz checkout."
    191194
    192195#. Use $args' label_for to populate the id inside the callback.
    … …  
    210213
    211214#: admin/admin.php
    212 msgid "I want to use legacy (PHP) cart/checkout"
    213 msgstr "Chcę używać klasycznego (PHP) koszyka i checkoutu"
    214 
    215 #: admin/admin.php
    216 msgid "When checked, the plugin uses the classic PHP shortcode-based cart and checkout (woocommerce_cart / woocommerce_checkout shortcodes). When unchecked, the plugin integrates with the modern WooCommerce block-based cart and checkout."
    217 msgstr "Gdy zaznaczone, wtyczka używa klasycznego koszyka i checkoutu opartego na shortcode'ach ([woocommerce_cart] / [woocommerce_checkout]). Gdy odznaczone, wtyczka integruje się z nowoczesnym koszykiem i checkoutem blokowym WooCommerce."
    218 
    219 #: admin/admin.php
    220 msgid "Max weight (%s)"
    221 msgstr "Maksymalna waga (%s)"
    222 
    223 #: admin/admin.php
    224 msgid "Enter the value in %s – the same unit configured in WooCommerce settings. Current WooCommerce weight unit: %s."
    225 msgstr "Wpisz wartość w %s – tej samej jednostce co w ustawieniach WooCommerce. Aktualna jednostka wagi WooCommerce: %s."
    226 
    227 #: admin/admin.php
    228215msgid "Thank you for using my plugin"
    229216msgstr "Dziękuję za korzystanie z mojej wtyczki"
    … …  
    242229
    243230#: admin/admin.php
    244 msgid "Support further development"
    245 msgstr "Wesprzyj rozwój wtyczki"
    246 
    247 #: admin/admin.php
    248231msgid "Need help with setup? Paid support available."
    249232msgstr "Potrzebujesz pomocy z konfiguracją? Oferuję płatne wsparcie."
    250233
    251234#: admin/admin.php
    252 msgid "Need help configuring WooCommerce or this plugin? I offer paid support."
    253 msgstr "Potrzebujesz pomocy z konfiguracją WooCommerce lub tej wtyczki? Oferuję płatne wsparcie."
    254 
    255 #: admin/admin.php
    256235msgid "Checkout mode (auto-detected)"
    257236msgstr "Tryb checkout (wykryty automatycznie)"
    … …  
    259238#: admin/admin.php
    260239msgid "✅ Block checkout (WooCommerce Blocks)"
    261 msgstr "✅ Block checkout (WooCommerce Blocks)"
     240msgstr "✅ Checkout blokowy (WooCommerce Blocks)"
    262241
    263242#: admin/admin.php
    … …  
    267246#: admin/admin.php
    268247msgid "🔷 Classic checkout (shortcode)"
    269 msgstr "🔷 Classic checkout (shortcode)"
     248msgstr "🔷 Checkout klasyczny (shortcode)"
    270249
    271250#: admin/admin.php
    … …  
    277256"checkout."
    278257msgstr ""
    279 "Strony checkoutu i koszyka uzywaja klasycznych shortcode'ow "
     258"Strony checkoutu i koszyka używają klasycznych shortcode'ów "
    280259"([woocommerce_checkout] / [woocommerce_cart]). Selektor paczkomatu jest "
    281 "wstrzykiwany przez hooki PHP. Aby przelaczych na block checkout, zastap "
    282 "zawartosc strony blokami WooCommerce w edytorze lub uzyj przycisku "
    283 "\"Przywroc\" ponizej."
     260"wstrzykiwany przez hooki PHP. Aby przełączyć na checkout blokowy, zastąp "
     261"zawartość strony blokami WooCommerce w edytorze lub użyj przycisku "
     262"\"Przywróć\" poniżej."
    284263
    285264#: admin/admin.php
    … …  
    322301msgid "This setting is only active when a conflict is detected. Fix the conflict by making both pages use the same mode to remove the need for this override."
    323302msgstr "To ustawienie jest aktywne tylko gdy wykryto konflikt. Aby usunąć potrzebę ręcznego wyboru, ustaw obie strony (koszyk i checkout) w tym samym trybie."
    324 
  • inpost-paczkomaty/trunk/languages/inpost-paczkomaty.pot

    r3018238 r3646761  
    1 #, fuzzy
     1# Copyright (C) 2026 Damian Ziarnik
     2# This file is distributed under the GPLv2 or later.
    23msgid ""
    34msgstr ""
    4 "Project-Id-Version: Inpost Paczkomaty\n"
    5 "Report-Msgid-Bugs-To: \n"
    6 "POT-Creation-Date: 2024-01-06 16:41+0000\n"
    7 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
     5"Project-Id-Version: Inpost Paczkomaty 1.0.40\n"
     6"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/inpost-paczkomaty\n"
    87"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    9 "Language-Team: \n"
    10 "Language: \n"
    11 "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
     8"Language-Team: LANGUAGE <LL@li.org>\n"
    129"MIME-Version: 1.0\n"
    1310"Content-Type: text/plain; charset=UTF-8\n"
    1411"Content-Transfer-Encoding: 8bit\n"
    15 "X-Generator: Loco https://localise.biz/\n"
    16 "X-Loco-Version: 2.5.4; wp-5.8.1\n"
    17 "X-Domain: inpost-paczkomaty"
     12"POT-Creation-Date: 2026-08-14T06:40:10+00:00\n"
     13"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
     14"X-Generator: WP-CLI 2.12.0\n"
     15"X-Domain: inpost-paczkomaty\n"
     16
     17#. Plugin Name of the plugin
     18#: inpost-paczkomaty.php
     19#: inpost-paczkomaty.php:183
     20msgid "Inpost Paczkomaty"
     21msgstr ""
     22
     23#. Description of the plugin
     24#: inpost-paczkomaty.php
     25msgid "Plugin do obsługi paczkomatów inpost w woocommerce."
     26msgstr ""
     27
     28#. Author of the plugin
     29#: inpost-paczkomaty.php
     30msgid "Damian Ziarnik"
     31msgstr ""
     32
     33#. Author URI of the plugin
     34#: inpost-paczkomaty.php
     35msgid "https://grainsoft.pl/"
     36msgstr ""
     37
     38#: admin/admin.php:79
     39msgid "Settings"
     40msgstr ""
     41
     42#: admin/admin.php:86
     43msgid "Checkout mode (auto-detected)"
     44msgstr ""
     45
     46#: admin/admin.php:96
     47msgid "Save selected paczkomat as shipping address"
     48msgstr ""
     49
     50#: admin/admin.php:107
     51msgid "Show logo in cart and checkout"
     52msgstr ""
     53
     54#: admin/admin.php:117
     55msgid "Logo"
     56msgstr ""
     57
     58#: admin/admin.php:129
     59msgid "Weight limit"
     60msgstr ""
     61
     62#: admin/admin.php:141
     63msgid "Max weight (kg)"
     64msgstr ""
     65
     66#: admin/admin.php:152
     67msgid "Weight limit result"
     68msgstr ""
     69
     70#: admin/admin.php:164
     71msgid "Dimensions limit"
     72msgstr ""
     73
     74#: admin/admin.php:175
     75msgid "Max width (cm)"
     76msgstr ""
     77
     78#: admin/admin.php:186
     79msgid "Max height (cm)"
     80msgstr ""
     81
     82#: admin/admin.php:197
     83msgid "Max length (cm)"
     84msgstr ""
     85
     86#: admin/admin.php:208
     87msgid "Restore the classic view of the cart and checkout"
     88msgstr ""
     89
     90#: admin/admin.php:252
     91msgid "✅ Block checkout (WooCommerce Blocks)"
     92msgstr ""
     93
     94#: admin/admin.php:254
     95msgid "The checkout and/or cart page uses WooCommerce block editor blocks. The paczkomat selector will appear automatically in the shipping section when InPost Paczkomaty is selected."
     96msgstr ""
     97
     98#: admin/admin.php:259
     99msgid "🔷 Classic checkout (shortcode)"
     100msgstr ""
     101
     102#: admin/admin.php:261
     103msgid "The checkout and cart pages use classic shortcodes ([woocommerce_checkout] / [woocommerce_cart]). The paczkomat selector is injected via PHP hooks. To switch to block checkout, replace the page content with WooCommerce Blocks in the editor, or use the \"Restore\" button below to switch back to classic checkout."
     104msgstr ""
     105
     106#: admin/admin.php:269
     107#: admin/admin.php:272
     108msgid "Block"
     109msgstr ""
     110
     111#: admin/admin.php:270
     112#: admin/admin.php:273
     113msgid "Classic"
     114msgstr ""
     115
     116#: admin/admin.php:276
     117msgid "⚠️ Conflict detected"
     118msgstr ""
     119
     120#: admin/admin.php:280
     121msgid "Cart page"
     122msgstr ""
     123
     124#: admin/admin.php:283
     125msgid "Checkout page"
     126msgstr ""
     127
     128#: admin/admin.php:288
     129msgid "Your cart and checkout pages use different modes (one uses WooCommerce Blocks, the other uses classic shortcodes). Please select which mode you want the plugin to use, or make both pages consistent."
     130msgstr ""
     131
     132#: admin/admin.php:292
     133msgid "Manual override"
     134msgstr ""
     135
     136#: admin/admin.php:295
     137msgid "✅ Use block checkout mode (WooCommerce Blocks)"
     138msgstr ""
     139
     140#: admin/admin.php:299
     141msgid "🔷 Use classic checkout mode (shortcode)"
     142msgstr ""
     143
     144#: admin/admin.php:302
     145msgid "This setting is only active when a conflict is detected. Fix the conflict by making both pages use the same mode to remove the need for this override."
     146msgstr ""
     147
     148#: admin/admin.php:316
     149msgid "Inpost Paczkomaty settings"
     150msgstr ""
     151
     152#: admin/admin.php:328
     153#: admin/admin.php:413
     154#: admin/admin.php:458
     155#: admin/admin.php:491
     156msgid "No"
     157msgstr ""
     158
     159#: admin/admin.php:331
     160#: admin/admin.php:416
     161#: admin/admin.php:461
     162#: admin/admin.php:494
     163msgid "Yes"
     164msgstr ""
     165
     166#: admin/admin.php:336
     167msgid "If you select \"Yes\", shipping method will be influenced by dimensions."
     168msgstr ""
     169
     170#: admin/admin.php:391
     171msgid "Hide shipping method"
     172msgstr ""
     173
     174#: admin/admin.php:394
     175msgid "Split into few packages"
     176msgstr ""
     177
     178#: admin/admin.php:399
     179msgid "What to do if all items across weight limit"
     180msgstr ""
     181
     182#: admin/admin.php:421
     183msgid "If you select \"Yes\", shipping method will be influenced by weight."
     184msgstr ""
     185
     186#: admin/admin.php:466
     187msgid "If you select \"Yes\", logo will shown in cart and checkout."
     188msgstr ""
     189
     190#: admin/admin.php:499
     191msgid "If you select \"Yes\", when client make new order and choose Inpost Paczkomaty as shipping method, in his shipping address will be selected paczkomat."
     192msgstr ""
     193
     194#: admin/admin.php:508
     195msgid "Restore"
     196msgstr ""
     197
     198#: admin/admin.php:510
     199msgid "Are you sure? This will overwrite your cart and checkout settings and change them to the classic cart and checkout. It is recommended to make a backup!"
     200msgstr ""
     201
     202#: admin/admin.php:620
     203msgid "Settings Saved"
     204msgstr ""
     205
     206#: admin/admin.php:651
     207msgid "Thank you for using my plugin"
     208msgstr ""
     209
     210#: admin/admin.php:652
     211msgid "It is free and developed in my spare time."
     212msgstr ""
     213
     214#: admin/admin.php:656
     215msgid "Leave a review"
     216msgstr ""
     217
     218#: admin/admin.php:661
     219msgid "Support plugin development"
     220msgstr ""
     221
     222#: admin/admin.php:666
     223msgid "Need help with setup? Paid support available."
     224msgstr ""
     225
     226#: admin/admin.php:679
     227msgid "Brak uprawnień."
     228msgstr ""
     229
     230#: admin/admin.php:698
     231msgid "Sukces! Sprawdź teraz swój koszyk oraz checkout."
     232msgstr ""
     233
     234#: includes/checkout-blocks.php:116
     235#: includes/checkout-classic.php:77
     236msgid "Nie wybrano paczkomatu. Wybierz paczkomat lub zmień formę wysyłki."
     237msgstr ""
     238
     239#: includes/settings-inpost-paczkomaty.php:14
     240#: includes/settings-inpost-paczkomaty.php:16
     241#: includes/settings-inpost-paczkomaty.php:17
     242msgid "Paczkomaty"
     243msgstr ""
     244
     245#: includes/settings-inpost-paczkomaty.php:40
     246msgid "Show this shipping method when..."
     247msgstr ""
     248
     249#: includes/settings-inpost-paczkomaty.php:46
     250msgid "A minimum order amount"
     251msgstr ""
    18252
    19253#: includes/settings-inpost-paczkomaty.php:47
    … …  
    25259msgstr ""
    26260
    27 #: includes/settings-inpost-paczkomaty.php:46
    28 msgid "A minimum order amount"
    29 msgstr ""
    30 
    31 #: admin/admin.php:350
    32 msgid ""
    33 "Are you sure? This will overwrite your cart and checkout settings and change "
    34 "them to the classic cart and checkout. It is recommended to make a backup!"
    35 msgstr ""
    36 
    37 #. Author of the plugin
    38 msgid "Damian Ziarnik"
    39 msgstr ""
    40 
    41 #. Use $args' label_for to populate the id inside the callback.
    42 #: admin/admin.php:88
    43 msgid "Dimensions limit"
    44 msgstr ""
    45 
    46 #: admin/admin.php:231
    47 msgid "Hide shipping method"
    48 msgstr ""
    49 
    50 #. Author URI of the plugin
    51 msgid "https://grainsoft.pl/"
    52 msgstr ""
    53 
    54 #: admin/admin.php:306
    55 msgid "If you select \"Yes\", logo will shown in cart and checkout."
    56 msgstr ""
    57 
    58 #: admin/admin.php:176
    59 msgid ""
    60 "If you select \"Yes\", shipping method will be influenced by dimensions."
    61 msgstr ""
    62 
    63 #: admin/admin.php:261
    64 msgid "If you select \"Yes\", shipping method will be influenced by weight."
    65 msgstr ""
    66 
    67 #: admin/admin.php:339
    68 msgid ""
    69 "If you select \"Yes\", when client make new order and choose Inpost "
    70 "Paczkomaty as shipping method, in his shipping address will be selected "
    71 "paczkomat."
    72 msgstr ""
    73 
    74 #. Name of the plugin
    75 #: inpost-paczkomaty.php:85
    76 msgid "Inpost Paczkomaty"
    77 msgstr ""
    78 
    79 #: admin/admin.php:156
    80 msgid "Inpost Paczkomaty settings"
    81 msgstr ""
    82 
    83 #. Option ID
    84 #: admin/admin.php:41
    85 msgid "Logo"
    86 msgstr ""
    87 
    88 #. Use $args' label_for to populate the id inside the callback.
    89 #: admin/admin.php:110
    90 msgid "Max height (cm)"
    91 msgstr ""
    92 
    93 #. Use $args' label_for to populate the id inside the callback.
    94 #: admin/admin.php:121
    95 msgid "Max length (cm)"
    96 msgstr ""
    97 
    98 #. Use $args' label_for to populate the id inside the callback.
    99 #: admin/admin.php:65
    100 msgid "Max weight (kg)"
    101 msgstr ""
    102 
    103 #. Use $args' label_for to populate the id inside the callback.
    104 #: admin/admin.php:99
    105 msgid "Max width (cm)"
     261#: includes/settings-inpost-paczkomaty.php:52
     262msgid "Minimum order amount"
    106263msgstr ""
    107264
    … …  
    110267msgstr ""
    111268
    112 #: includes/settings-inpost-paczkomaty.php:52
    113 msgid "Minimum order amount"
    114 msgstr ""
    115 
    116 #: admin/admin.php:168 admin/admin.php:253 admin/admin.php:298
    117 #: admin/admin.php:331
    118 msgid "No"
    119 msgstr ""
    120 
    121 #: includes/settings-inpost-paczkomaty.php:14
    122 msgid "Paczkomaty"
    123 msgstr ""
    124 
    125 #: inpost-paczkomaty.php:86
     269#: inpost-paczkomaty.php:184
    126270msgid "Paczkomaty inpost shipping method"
    127271msgstr ""
    128272
    129 #. Description of the plugin
    130 msgid "Plugin do obsługi paczkomatów inpost w woocommerce."
    131 msgstr ""
    132 
    133 #: admin/admin.php:348
    134 msgid "Restore"
    135 msgstr ""
    136 
    137 #. Option ID
    138 #: admin/admin.php:132
    139 msgid "Restore the classic view of the cart and checkout"
    140 msgstr ""
    141 
    142 #. Use $args' label_for to populate the id inside the callback.
    143 #: admin/admin.php:20
    144 msgid "Save selected paczkomat as shipping address"
    145 msgstr ""
    146 
    147 #: inpost-paczkomaty.php:834
     273#: inpost-paczkomaty.php:716
    148274msgid "Selected Paczkomat"
    149275msgstr ""
    150276
    151 #: admin/admin.php:12
    152 msgid "Settings"
    153 msgstr ""
    154 
    155 #: admin/admin.php:459
    156 msgid "Settings Saved"
    157 msgstr ""
    158 
    159 #. Use $args' label_for to populate the id inside the callback.
    160 #: admin/admin.php:31
    161 msgid "Show logo in cart and checkout"
    162 msgstr ""
    163 
    164 #: includes/settings-inpost-paczkomaty.php:40
    165 msgid "Show this shipping method when..."
    166 msgstr ""
    167 
    168 #: admin/admin.php:234
    169 msgid "Split into few packages"
    170 msgstr ""
    171 
    172 #: admin/admin.php:513
    173 msgid "Sukcess! sprawdź teraz swój koszyk oraz checkout"
    174 msgstr ""
    175 
    176 #: admin/admin.php:489
    177 msgid ""
    178 "Thank you very much for using my plugin! If you like it and you're satisfied,"
    179 " please leave a review <a href='https://wordpress.org/support/plugin/inpost-"
    180 "paczkomaty/reviews/'>Here</a>. "
    181 msgstr ""
    182 
    183 #. Use $args' label_for to populate the id inside the callback.
    184 #: admin/admin.php:53
    185 msgid "Weight limit"
    186 msgstr ""
    187 
    188 #. Use $args' label_for to populate the id inside the callback.
    189 #: admin/admin.php:76
    190 msgid "Weight limit result"
    191 msgstr ""
    192 
    193 #: admin/admin.php:239
    194 msgid "What to do if all items across weight limit"
    195 msgstr ""
    196 
    197 #: admin/admin.php:171 admin/admin.php:256 admin/admin.php:301
    198 #: admin/admin.php:334
    199 msgid "Yes"
    200 msgstr ""
     277#: inpost-paczkomaty.php:739
     278msgid "Paczkomat"
     279msgstr ""
  • inpost-paczkomaty/trunk/readme.txt

    r3629817 r3646761  
    44Tags: inpost, paczkomaty, woocommerce, wysyłka, dostawa
    55Requires at least: 5.3
    6 Tested up to: 7.0.2
     6Tested up to: 7.1
    77Requires PHP: 7.4
    8 Stable tag: 1.0.39
     8Stable tag: 1.0.40
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
    … …  
    113113== Changelog ==
    114114
     115= 1.0.40 =
     116* Zgodność z WordPress 7.1 – przegląd wtyczki pod kątem zmian z tej wersji (iframowany edytor, client-side media processing, zmiany w @wordpress/components, trwały pasek narzędzi, aktualizacja jQuery UI do 1.14.2).
     117* Nowe: deklaracja kompatybilności z HPOS (custom_order_tables) oraz blokowym koszykiem/checkoutem (cart_checkout_blocks) – wcześniej WooCommerce oznaczał wtyczkę jako niekompatybilną i mógł blokować włączenie HPOS, mimo że wtyczka w pełni je obsługuje.
     118* Poprawka: wtyczka poprawnie wykrywa WooCommerce aktywowane sieciowo (network activated) na instalacjach multisite – wcześniej w takiej konfiguracji nie uruchamiała się w ogóle.
     119* Uzupełniono nagłówki wtyczki (Requires at least, Requires PHP, Requires Plugins, License) zgodnie z wymaganiami Plugin Check i mechanizmu zależności wtyczek z WordPress 6.5+.
     120* Poprawka: dodano brakującą domenę tłumaczenia (text domain) dla dwóch ciągów, które nigdy nie były tłumaczalne ("Paczkomat" w tabeli zamówienia oraz komunikat walidacji w checkoucie klasycznym).
     121* Poprawka: uzupełniono plik tłumaczenia pl_PL o 4 brakujące, wyświetlane dotąd po angielsku komunikaty (m.in. opisy pól "Ograniczenie wymiarów" i "Zapisz wybrany paczkomat jako adres wysyłki") oraz usunięto 8 nieużywanych wpisów po dawnej funkcji "legacy checkbox".
     122* Poprawka: naprawiono literówkę "Sukcess" -> "Sukces" oraz nieprzetłumaczone/zniekształcone frazy (brak polskich znaków) w pliku tłumaczenia.
     123* Zaktualizowano szablon tłumaczeń (.pot), który był nieaktualny od 2021 r. i nie zawierał ok. 20 nowszych ciągów – ułatwi to tworzenie tłumaczeń na inne języki.
     124
    115125= 1.0.39 =
    116126* Bezpieczeństwo: dodano weryfikację nonce (check_ajax_referer) dla endpointów AJAX zapisujących i odczytujących wybrany paczkomat (set_paczkomat, get_paczkomat_session) w obu trybach koszyka – blokowym i klasycznym.
    … …  
    121131* Poprawka: zabezpieczono przed błędem krytycznym w powiadomieniu admina, gdy get_current_screen() zwraca null.
    122132* Poprawka: usunięto niespójny text domain (inpost_paczkomaty -> inpost-paczkomaty) w opisie ustawienia kosztu wysyłki.
    123 * Potwierdzono zgodność z najnowszym WordPress 7.0.2.
     133* Potwierdzono zgodność z WordPress 7.0.2.
    124134* Poprawka: naprawiono błędne wywołanie _e() zamiast __() w odpowiedzi JSON endpointu przywracania koszyka/checkoutu.
    125135* Odświeżono opis wtyczki oraz sekcję FAQ w readme – usunięto nieaktualne informacje o dawnym checkboksie trybu koszyka, dodano opis wszystkich aktualnych funkcji.
Note: See TracChangeset for help on using the changeset viewer.