Changeset 3435070
- Timestamp:
- 01/08/2026 11:09:01 AM (2 months ago)
- Location:
- wc-dpd
- Files:
-
- 94 added
- 6 edited
-
tags/8.4.0 (added)
-
tags/8.4.0/includes (added)
-
tags/8.4.0/includes/.php-cs-fixer.dist.php (added)
-
tags/8.4.0/includes/Ajax.php (added)
-
tags/8.4.0/includes/Assets.php (added)
-
tags/8.4.0/includes/Blocks.php (added)
-
tags/8.4.0/includes/Client.php (added)
-
tags/8.4.0/includes/Core.php (added)
-
tags/8.4.0/includes/DpdExport.php (added)
-
tags/8.4.0/includes/DpdExportSettings.php (added)
-
tags/8.4.0/includes/DpdParcelShopShippingMethod.php (added)
-
tags/8.4.0/includes/Email.php (added)
-
tags/8.4.0/includes/Hooks.php (added)
-
tags/8.4.0/includes/Notice.php (added)
-
tags/8.4.0/includes/Order.php (added)
-
tags/8.4.0/includes/OrderList.php (added)
-
tags/8.4.0/includes/OrderMetabox.php (added)
-
tags/8.4.0/includes/Shipping.php (added)
-
tags/8.4.0/includes/helpers.php (added)
-
tags/8.4.0/index.php (added)
-
tags/8.4.0/languages (added)
-
tags/8.4.0/languages/wc-dpd-sk_SK.mo (added)
-
tags/8.4.0/languages/wc-dpd-sk_SK.po (added)
-
tags/8.4.0/languages/wc-dpd.pot (added)
-
tags/8.4.0/public (added)
-
tags/8.4.0/public/js (added)
-
tags/8.4.0/public/main.js (added)
-
tags/8.4.0/public/mix-manifest.json (added)
-
tags/8.4.0/public/scripts (added)
-
tags/8.4.0/public/scripts/dpd-export-settings-admin-repeater.js (added)
-
tags/8.4.0/public/scripts/dpd-export-settings-admin-repeater.js.map (added)
-
tags/8.4.0/public/scripts/dpd-export-settings-admin.js (added)
-
tags/8.4.0/public/scripts/dpd-export-settings-admin.js.map (added)
-
tags/8.4.0/public/scripts/dpd-parcelshop-block-shipping-method.js (added)
-
tags/8.4.0/public/scripts/dpd-parcelshop-block-shipping-method.js.map (added)
-
tags/8.4.0/public/scripts/dpd-parcelshop-map-widget.js (added)
-
tags/8.4.0/public/scripts/dpd-parcelshop-map-widget.js.map (added)
-
tags/8.4.0/public/scripts/dpd-parcelshop-popup.js (added)
-
tags/8.4.0/public/scripts/dpd-parcelshop-popup.js.map (added)
-
tags/8.4.0/public/scripts/dpd-parcelshop-shipping-method-admin-validation.js (added)
-
tags/8.4.0/public/scripts/dpd-parcelshop-shipping-method-admin-validation.js.map (added)
-
tags/8.4.0/public/scripts/dpd-parcelshop-shipping-method-weight-by-package-repeater.js (added)
-
tags/8.4.0/public/scripts/dpd-parcelshop-shipping-method-weight-by-package-repeater.js.map (added)
-
tags/8.4.0/public/scripts/dpd-parcelshop-widget.js (added)
-
tags/8.4.0/public/styles (added)
-
tags/8.4.0/public/styles/dpd-export-repeater-settings-field.css (added)
-
tags/8.4.0/public/styles/dpd-export-repeater-settings-field.css.map (added)
-
tags/8.4.0/public/styles/dpd-parcelshop-block-shipping-method.css (added)
-
tags/8.4.0/public/styles/dpd-parcelshop-block-shipping-method.css.map (added)
-
tags/8.4.0/public/styles/dpd-parcelshop-map-widget.css (added)
-
tags/8.4.0/public/styles/dpd-parcelshop-map-widget.css.map (added)
-
tags/8.4.0/public/styles/dpd-parcelshop-popup.css (added)
-
tags/8.4.0/public/styles/dpd-parcelshop-popup.css.map (added)
-
tags/8.4.0/public/styles/dpd-parcelshop-shipping-method-content.css (added)
-
tags/8.4.0/public/styles/dpd-parcelshop-shipping-method-content.css.map (added)
-
tags/8.4.0/public/styles/dpd-parcelshop-widget.css (added)
-
tags/8.4.0/readme.txt (added)
-
tags/8.4.0/templates (added)
-
tags/8.4.0/templates/chosen-parcelshop-order-data.php (added)
-
tags/8.4.0/templates/parcelshop-map-widget.php (added)
-
tags/8.4.0/templates/parcelshop-popup.php (added)
-
tags/8.4.0/templates/parcelshop-shipping-method-content.php (added)
-
tags/8.4.0/vendor (added)
-
tags/8.4.0/vendor/autoload.php (added)
-
tags/8.4.0/vendor/composer (added)
-
tags/8.4.0/vendor/composer/ClassLoader.php (added)
-
tags/8.4.0/vendor/composer/InstalledVersions.php (added)
-
tags/8.4.0/vendor/composer/LICENSE (added)
-
tags/8.4.0/vendor/composer/autoload_classmap.php (added)
-
tags/8.4.0/vendor/composer/autoload_files.php (added)
-
tags/8.4.0/vendor/composer/autoload_namespaces.php (added)
-
tags/8.4.0/vendor/composer/autoload_psr4.php (added)
-
tags/8.4.0/vendor/composer/autoload_real.php (added)
-
tags/8.4.0/vendor/composer/autoload_static.php (added)
-
tags/8.4.0/vendor/composer/installed.json (added)
-
tags/8.4.0/vendor/composer/installed.php (added)
-
tags/8.4.0/vendor/composer/platform_check.php (added)
-
tags/8.4.0/vendor/league (added)
-
tags/8.4.0/vendor/league/iso3166 (added)
-
tags/8.4.0/vendor/league/iso3166/.yamllint (added)
-
tags/8.4.0/vendor/league/iso3166/LICENSE (added)
-
tags/8.4.0/vendor/league/iso3166/composer.json (added)
-
tags/8.4.0/vendor/league/iso3166/src (added)
-
tags/8.4.0/vendor/league/iso3166/src/Exception (added)
-
tags/8.4.0/vendor/league/iso3166/src/Exception/DomainException.php (added)
-
tags/8.4.0/vendor/league/iso3166/src/Exception/ISO3166Exception.php (added)
-
tags/8.4.0/vendor/league/iso3166/src/Exception/OutOfBoundsException.php (added)
-
tags/8.4.0/vendor/league/iso3166/src/Guards.php (added)
-
tags/8.4.0/vendor/league/iso3166/src/ISO3166.php (added)
-
tags/8.4.0/vendor/league/iso3166/src/ISO3166DataProvider.php (added)
-
tags/8.4.0/vendor/league/iso3166/src/ISO3166DataValidator.php (added)
-
tags/8.4.0/vendor/league/iso3166/src/ISO3166WithAliases.php (added)
-
tags/8.4.0/wc-dpd.php (added)
-
trunk/includes/.php-cs-fixer.dist.php (added)
-
trunk/includes/DpdParcelShopShippingMethod.php (modified) (3 diffs)
-
trunk/languages/wc-dpd-sk_SK.mo (modified) (previous)
-
trunk/languages/wc-dpd-sk_SK.po (modified) (8 diffs)
-
trunk/languages/wc-dpd.pot (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/wc-dpd.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wc-dpd/trunk/includes/DpdParcelShopShippingMethod.php
r3394309 r3435070 10 10 public const SHIPPING_PRICE_TYPE_OPTION_KEY = 'wc_dpd_shipping_price_type'; 11 11 public const FREE_FIXED_SHIPPING_OPTION_KEY = 'wc_dpd_free_shipping_price'; 12 public const FREE_WEIGHT_BASED_SHIPPING_OPTION_KEY = 'wc_dpd_free_weight_based_shipping_price'; 12 13 public const DISALLOW_SHOPS_OPTION_KEY = 'wc_dpd_disallow_shops'; 13 14 public const DISALLOW_LOCKERS_OPTION_KEY = 'wc_dpd_disallow_lockers'; … … 214 215 'class' => 'js-dpd-weight-based-shipping-type' 215 216 ], 217 self::FREE_WEIGHT_BASED_SHIPPING_OPTION_KEY => [ 218 'title' => __('Free shipping from', 'wc-dpd'), 219 'type' => 'price', 220 'description' => __('Set minimum cart value for free shipping. Leave empty to disable free shipping entirely.', 'wc-dpd'), 221 'default' => '', 222 'desc_tip' => true, 223 'placeholder' => wc_format_localized_price(0), 224 'class' => 'js-dpd-weight-based-shipping-type' 225 ], 216 226 self::PACKAGE_WEIGHT_SHIPPING_LIMITS_OPTION_KEY => [ 217 227 'title' => __('Setting the weight limits for packages', 'wc-dpd'), … … 414 424 !empty($this->instance_settings[self::PRODUCTS_WEIGHT_SHIPPING_RATES_OPTION_KEY]) 415 425 ) { 416 $items_total_weight = self::getCartTotalWeight(); 417 $products_weight_based_rates = maybe_unserialize($this->instance_settings[self::PRODUCTS_WEIGHT_SHIPPING_RATES_OPTION_KEY]); 418 419 if (!empty($products_weight_based_rates)) { 420 foreach ($products_weight_based_rates as $products_weight_rate) { 421 $weight_rate_from = !empty($products_weight_rate['min']) ? (int) $products_weight_rate['min'] : 0; 422 $weight_rate_to = !empty($products_weight_rate['max']) ? (int) $products_weight_rate['max'] : 999; 423 424 if ($items_total_weight >= $weight_rate_from) { 425 $rate['cost'] = !empty($products_weight_rate['price']) ? number_format((float) $products_weight_rate['price'], wc_get_price_decimals(), '.', '') : 0; 426 } 427 428 if ($items_total_weight >= $weight_rate_from && $items_total_weight <= $weight_rate_to) { 429 $rate['cost'] = !empty($products_weight_rate['price']) ? number_format((float) $products_weight_rate['price'], wc_get_price_decimals(), '.', '') : 0; 426 // Check if free shipping threshold for weight-based is set 427 $free_weight_shipping_is_set = isset($this->instance_settings[self::FREE_WEIGHT_BASED_SHIPPING_OPTION_KEY]) && 428 $this->instance_settings[self::FREE_WEIGHT_BASED_SHIPPING_OPTION_KEY] !== '' && 429 $this->instance_settings[self::FREE_WEIGHT_BASED_SHIPPING_OPTION_KEY] !== null; 430 431 $free_weight_shipping = $free_weight_shipping_is_set ? (float) $this->instance_settings[self::FREE_WEIGHT_BASED_SHIPPING_OPTION_KEY] : false; 432 433 // Deduct tax from free shipping threshold if prices include tax 434 if ($free_weight_shipping_is_set && wc_prices_include_tax()) { 435 $tax_total = WC()->cart->get_cart_contents_tax(); 436 $free_weight_shipping -= $tax_total; 437 } 438 439 // Check if cart total qualifies for free shipping 440 if ($free_weight_shipping_is_set && $cart_total >= $free_weight_shipping) { 441 $rate['cost'] = 0; 442 } else { 443 // Calculate weight-based rate 444 $items_total_weight = self::getCartTotalWeight(); 445 $products_weight_based_rates = maybe_unserialize($this->instance_settings[self::PRODUCTS_WEIGHT_SHIPPING_RATES_OPTION_KEY]); 446 447 if (!empty($products_weight_based_rates)) { 448 foreach ($products_weight_based_rates as $products_weight_rate) { 449 $weight_rate_from = !empty($products_weight_rate['min']) ? (int) $products_weight_rate['min'] : 0; 450 $weight_rate_to = !empty($products_weight_rate['max']) ? (int) $products_weight_rate['max'] : 999; 451 452 if ($items_total_weight >= $weight_rate_from) { 453 $rate['cost'] = !empty($products_weight_rate['price']) ? number_format((float) $products_weight_rate['price'], wc_get_price_decimals(), '.', '') : 0; 454 } 455 456 if ($items_total_weight >= $weight_rate_from && $items_total_weight <= $weight_rate_to) { 457 $rate['cost'] = !empty($products_weight_rate['price']) ? number_format((float) $products_weight_rate['price'], wc_get_price_decimals(), '.', '') : 0; 458 } 430 459 } 431 460 } -
wc-dpd/trunk/languages/wc-dpd-sk_SK.po
r3394309 r3435070 3 3 "Project-Id-Version: DPD SK for WooCommerce - 8.3.0\n" 4 4 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wc-dpd\n" 5 "POT-Creation-Date: 202 5-11-12T12:18:50+00:00\n"6 "PO-Revision-Date: 202 5-11-12 13:19+0100\n"5 "POT-Creation-Date: 2026-01-08T11:04:52+00:00\n" 6 "PO-Revision-Date: 2026-01-08 12:05+0100\n" 7 7 "Last-Translator: \n" 8 8 "Language-Team: Slovenčina\n" … … 267 267 268 268 #: includes/DpdExportSettings.php:311 269 #: includes/DpdParcelShopShippingMethod.php: 591269 #: includes/DpdParcelShopShippingMethod.php:620 270 270 msgid "Remove" 271 271 msgstr "Odstrániť" … … 283 283 msgstr "ID Adresy" 284 284 285 #: includes/DpdParcelShopShippingMethod.php:6 3285 #: includes/DpdParcelShopShippingMethod.php:64 286 286 msgid "DPD parcelshop" 287 287 msgstr "DPD Pickup/Pickup Station" 288 288 289 #: includes/DpdParcelShopShippingMethod.php:6 4289 #: includes/DpdParcelShopShippingMethod.php:65 290 290 msgid "Allow customers to deliver to the DPD parcelshops." 291 291 msgstr "Umožnite zákazníkom doručovať zásielky do DPD Pickup/Pickup Station." 292 292 293 #: includes/DpdParcelShopShippingMethod.php:8 6293 #: includes/DpdParcelShopShippingMethod.php:87 294 294 msgid "DPD Pickup/Pickup Station" 295 295 msgstr "DPD Pickup/Pickup Station" 296 296 297 #: includes/DpdParcelShopShippingMethod.php:12 3298 #: includes/DpdParcelShopShippingMethod.php:6 62297 #: includes/DpdParcelShopShippingMethod.php:124 298 #: includes/DpdParcelShopShippingMethod.php:691 299 299 msgid "" 300 300 "At least one pickup point type must remain enabled. You cannot disable shops " … … 304 304 "obchody a všetky typy boxov súčasne." 305 305 306 #: includes/DpdParcelShopShippingMethod.php:1 39307 #: includes/DpdParcelShopShippingMethod.php:6 63306 #: includes/DpdParcelShopShippingMethod.php:140 307 #: includes/DpdParcelShopShippingMethod.php:692 308 308 msgid "" 309 309 "You cannot disable all lockers globally and also disable all individual " … … 313 313 "jednotlivé typy boxov. Táto konfigurácia je nadbytočná." 314 314 315 #: includes/DpdParcelShopShippingMethod.php:16 3315 #: includes/DpdParcelShopShippingMethod.php:164 316 316 msgid "Tax status" 317 317 msgstr "Zdaniteľnosť" 318 318 319 #: includes/DpdParcelShopShippingMethod.php:16 8319 #: includes/DpdParcelShopShippingMethod.php:169 320 320 msgctxt "Tax status" 321 321 msgid "None" 322 322 msgstr "Nezdaňuje sa" 323 323 324 #: includes/DpdParcelShopShippingMethod.php:1 69324 #: includes/DpdParcelShopShippingMethod.php:170 325 325 msgid "Taxable" 326 326 msgstr "Zdaniteľný" 327 327 328 #: includes/DpdParcelShopShippingMethod.php:17 3328 #: includes/DpdParcelShopShippingMethod.php:174 329 329 msgid "Shipping type" 330 330 msgstr "Typ dopravy" 331 331 332 #: includes/DpdParcelShopShippingMethod.php:17 6332 #: includes/DpdParcelShopShippingMethod.php:177 333 333 msgid "Fixed shipping price" 334 334 msgstr "Pevná cena dopravy" 335 335 336 #: includes/DpdParcelShopShippingMethod.php:17 7336 #: includes/DpdParcelShopShippingMethod.php:178 337 337 msgid "Products weight based shipping price" 338 338 msgstr "Sadzba dopravy podľa hmotnosti produktov" 339 339 340 #: includes/DpdParcelShopShippingMethod.php:1 79340 #: includes/DpdParcelShopShippingMethod.php:180 341 341 msgid "Choose type of the shipping." 342 342 msgstr "Vyberte typ dopravy." 343 343 344 #: includes/DpdParcelShopShippingMethod.php:18 4344 #: includes/DpdParcelShopShippingMethod.php:185 345 345 msgid "Delivery fee" 346 346 msgstr "Poplatok" 347 347 348 #: includes/DpdParcelShopShippingMethod.php:18 6348 #: includes/DpdParcelShopShippingMethod.php:187 349 349 msgid "What fee do you want to charge for shipping to the parcelshop." 350 350 msgstr "Aký poplatok chcete účtovať za prepravu do DPD Pickup/Pickup Station." 351 351 352 #: includes/DpdParcelShopShippingMethod.php:193 352 #: includes/DpdParcelShopShippingMethod.php:194 353 #: includes/DpdParcelShopShippingMethod.php:218 353 354 msgid "Free shipping from" 354 355 msgstr "Doprava zdarma od" 355 356 356 #: includes/DpdParcelShopShippingMethod.php:195 357 #: includes/DpdParcelShopShippingMethod.php:196 358 #: includes/DpdParcelShopShippingMethod.php:220 357 359 msgid "" 358 360 "Set minimum cart value for free shipping. Leave empty to disable free " … … 362 364 "zakázanie dopravy zdarma." 363 365 364 #: includes/DpdParcelShopShippingMethod.php:20 2366 #: includes/DpdParcelShopShippingMethod.php:203 365 367 msgid "Products weight based shipping rates" 366 368 msgstr "Sadzby dopravy podľa hmotnosti produktov" 367 369 368 #: includes/DpdParcelShopShippingMethod.php:20 4370 #: includes/DpdParcelShopShippingMethod.php:205 369 371 msgid "Add shipping rates based on the weight of products in the cart." 370 372 msgstr "Pridajte sadzby za dopravu na základe hmotnosti produktov v košíku." 371 373 372 #: includes/DpdParcelShopShippingMethod.php:20 6374 #: includes/DpdParcelShopShippingMethod.php:207 373 375 msgid "Shipping rate" 374 376 msgstr "Sadzba za prepravu" 375 377 376 #: includes/DpdParcelShopShippingMethod.php:20 7378 #: includes/DpdParcelShopShippingMethod.php:208 377 379 msgid "Min weight (%s)" 378 380 msgstr "Min. hmotnosť (%s)" 379 381 380 #: includes/DpdParcelShopShippingMethod.php:20 8382 #: includes/DpdParcelShopShippingMethod.php:209 381 383 msgid "Max weight (%s)" 382 384 msgstr "Max. hmotnosť (%s)" 383 385 384 #: includes/DpdParcelShopShippingMethod.php:2 09385 #: includes/DpdParcelShopShippingMethod.php:21 2386 #: includes/DpdParcelShopShippingMethod.php:210 387 #: includes/DpdParcelShopShippingMethod.php:213 386 388 msgid "Price" 387 389 msgstr "Cena" 388 390 389 #: includes/DpdParcelShopShippingMethod.php:2 09391 #: includes/DpdParcelShopShippingMethod.php:210 390 392 msgid "with" 391 393 msgstr "s" 392 394 393 #: includes/DpdParcelShopShippingMethod.php:2 09395 #: includes/DpdParcelShopShippingMethod.php:210 394 396 msgid "without" 395 397 msgstr "bez" 396 398 397 #: includes/DpdParcelShopShippingMethod.php:2 09399 #: includes/DpdParcelShopShippingMethod.php:210 398 400 msgid "tax" 399 401 msgstr "DPH" 400 402 401 #: includes/DpdParcelShopShippingMethod.php:21 0403 #: includes/DpdParcelShopShippingMethod.php:211 402 404 msgid "Min weight" 403 405 msgstr "Min. hmotnosť" 404 406 405 #: includes/DpdParcelShopShippingMethod.php:21 1407 #: includes/DpdParcelShopShippingMethod.php:212 406 408 msgid "Max weight" 407 409 msgstr "Max. hmotnosť" 408 410 409 #: includes/DpdParcelShopShippingMethod.php:21 3411 #: includes/DpdParcelShopShippingMethod.php:214 410 412 msgid "Add a shipping rate" 411 413 msgstr "Pridať sadzbu dopravy" 412 414 413 #: includes/DpdParcelShopShippingMethod.php:2 17415 #: includes/DpdParcelShopShippingMethod.php:227 414 416 msgid "Setting the weight limits for packages" 415 417 msgstr "Nastavenie hmotnostných limitov pre balíky" 416 418 417 #: includes/DpdParcelShopShippingMethod.php:2 18419 #: includes/DpdParcelShopShippingMethod.php:228 418 420 msgid "" 419 421 "If the shipment does not meet the conditions for delivery in a parcelbox, " … … 423 425 "dopravy sa nezobrazí." 424 426 425 #: includes/DpdParcelShopShippingMethod.php:2 25427 #: includes/DpdParcelShopShippingMethod.php:235 426 428 msgid "Maximum weight" 427 429 msgstr "Maximálna hmotnosť" 428 430 429 #: includes/DpdParcelShopShippingMethod.php:2 32431 #: includes/DpdParcelShopShippingMethod.php:242 430 432 msgid "Maximum weight for Alzabox" 431 433 msgstr "Maximálna hmotnosť pre Alzabox" 432 434 433 #: includes/DpdParcelShopShippingMethod.php:2 39435 #: includes/DpdParcelShopShippingMethod.php:249 434 436 msgid "Maximum weight for Slovenska Posta box" 435 437 msgstr "Maximálna hmotnosť pre box Slovenskej Pošty" 436 438 437 #: includes/DpdParcelShopShippingMethod.php:2 46439 #: includes/DpdParcelShopShippingMethod.php:256 438 440 msgid "Maximum weight for Z-Box (Packeta)" 439 441 msgstr "Maximálna hmotnosť pre Z-Box (Packeta)" 440 442 441 #: includes/DpdParcelShopShippingMethod.php:2 53443 #: includes/DpdParcelShopShippingMethod.php:263 442 444 msgid "Setting the dimension limits for packages" 443 445 msgstr "Nastavenie rozmerových limitov pre balíky" 444 446 445 #: includes/DpdParcelShopShippingMethod.php:2 54447 #: includes/DpdParcelShopShippingMethod.php:264 446 448 msgid "" 447 449 "If the shipment does not meet the conditions for delivery in a box, this " … … 451 453 "dopravy sa nezobrazí." 452 454 453 #: includes/DpdParcelShopShippingMethod.php:2 61455 #: includes/DpdParcelShopShippingMethod.php:271 454 456 msgid "Maximum width" 455 457 msgstr "Maximálna šírka" 456 458 457 #: includes/DpdParcelShopShippingMethod.php:2 66459 #: includes/DpdParcelShopShippingMethod.php:276 458 460 msgid "Maximum height" 459 461 msgstr "Maximálna výška" 460 462 461 #: includes/DpdParcelShopShippingMethod.php:2 71463 #: includes/DpdParcelShopShippingMethod.php:281 462 464 msgid "Maximum length" 463 465 msgstr "Maximálna dĺžka" 464 466 465 #: includes/DpdParcelShopShippingMethod.php:2 76467 #: includes/DpdParcelShopShippingMethod.php:286 466 468 msgid "Maximum width for Alzabox" 467 469 msgstr "Maximálna šírka pre Alzabox" 468 470 469 #: includes/DpdParcelShopShippingMethod.php:2 81471 #: includes/DpdParcelShopShippingMethod.php:291 470 472 msgid "Maximum height for Alzabox" 471 473 msgstr "Maximálna výška pre Alzabox" 472 474 473 #: includes/DpdParcelShopShippingMethod.php:2 86475 #: includes/DpdParcelShopShippingMethod.php:296 474 476 msgid "Maximum length for Alzabox" 475 477 msgstr "Maximálna dĺžka pre Alzabox" 476 478 477 #: includes/DpdParcelShopShippingMethod.php: 291479 #: includes/DpdParcelShopShippingMethod.php:301 478 480 msgid "Maximum width for Slovenska Posta box" 479 481 msgstr "Maximálna šírka pre box Slovenskej Pošty" 480 482 481 #: includes/DpdParcelShopShippingMethod.php: 296483 #: includes/DpdParcelShopShippingMethod.php:306 482 484 msgid "Maximum height for Slovenska Posta box" 483 485 msgstr "Maximálna výška pre box Slovenskej Pošty" 484 486 485 #: includes/DpdParcelShopShippingMethod.php:3 01487 #: includes/DpdParcelShopShippingMethod.php:311 486 488 msgid "Maximum length for Slovenska Posta box" 487 489 msgstr "Maximálna dĺžka pre box Slovenskej Pošty" 488 490 489 #: includes/DpdParcelShopShippingMethod.php:3 06491 #: includes/DpdParcelShopShippingMethod.php:316 490 492 msgid "Maximum width for Z-Box (Packeta)" 491 493 msgstr "Maximálna šírka pre Z-Box (Packeta)" 492 494 493 #: includes/DpdParcelShopShippingMethod.php:3 11495 #: includes/DpdParcelShopShippingMethod.php:321 494 496 msgid "Maximum height for Z-Box (Packeta)" 495 497 msgstr "Maximálna výška pre Z-Box (Packeta)" 496 498 497 #: includes/DpdParcelShopShippingMethod.php:3 16499 #: includes/DpdParcelShopShippingMethod.php:326 498 500 msgid "Maximum length for Z-Box (Packeta)" 499 501 msgstr "Maximálna dĺžka pre Z-Box (Packeta)" 500 502 501 #: includes/DpdParcelShopShippingMethod.php:3 21503 #: includes/DpdParcelShopShippingMethod.php:331 502 504 msgid "Disallow Shops" 503 505 msgstr "Zakázať odberné miesta" 504 506 505 #: includes/DpdParcelShopShippingMethod.php:3 25507 #: includes/DpdParcelShopShippingMethod.php:335 506 508 msgid "If checked, DPD Pickup shops will be disabled." 507 509 msgstr "Ak je začiarknuté, všetky DPD Pickup odberné miesta budú zakázané." 508 510 509 #: includes/DpdParcelShopShippingMethod.php:3 29511 #: includes/DpdParcelShopShippingMethod.php:339 510 512 msgid "Disallow Lockers" 511 513 msgstr "Zakázať samoobslužné boxy" 512 514 513 #: includes/DpdParcelShopShippingMethod.php:3 33515 #: includes/DpdParcelShopShippingMethod.php:343 514 516 msgid "If checked, all locker types will be disabled." 515 517 msgstr "Ak je začiarknuté, všetky samoobslužné boxy budú zakázané." 516 518 517 #: includes/DpdParcelShopShippingMethod.php:3 37519 #: includes/DpdParcelShopShippingMethod.php:347 518 520 msgid "Disallow DPD Pickup Stations" 519 521 msgstr "Zakázať DPD Pickup samoobslužné boxy" 520 522 521 #: includes/DpdParcelShopShippingMethod.php:3 41523 #: includes/DpdParcelShopShippingMethod.php:351 522 524 msgid "If checked, DPD Pickup Stations will be disabled." 523 525 msgstr "Ak je začiarknuté, samoobslužné boxy DPD Pickup budú zakázané." 524 526 525 #: includes/DpdParcelShopShippingMethod.php:3 45527 #: includes/DpdParcelShopShippingMethod.php:355 526 528 msgid "Disallow Slovenská Pošta Boxes" 527 529 msgstr "Zakázať samoobslužné boxy Slovenskej Pošty" 528 530 529 #: includes/DpdParcelShopShippingMethod.php:3 49531 #: includes/DpdParcelShopShippingMethod.php:359 530 532 msgid "If checked, Slovenská Pošta boxes will be disabled." 531 533 msgstr "Ak je začiarknuté, samoobslužné boxy Slovenskej Pošty budú zakázané." 532 534 533 #: includes/DpdParcelShopShippingMethod.php:3 53535 #: includes/DpdParcelShopShippingMethod.php:363 534 536 msgid "Disallow Alza Boxes" 535 537 msgstr "Zakázať Alza samoobslužné boxy" 536 538 537 #: includes/DpdParcelShopShippingMethod.php:3 57539 #: includes/DpdParcelShopShippingMethod.php:367 538 540 msgid "If checked, Alza Boxes will be disabled." 539 541 msgstr "Ak je začiarknuté, samoobslužné Alza boxy budú zakázané." 540 542 541 #: includes/DpdParcelShopShippingMethod.php:3 61543 #: includes/DpdParcelShopShippingMethod.php:371 542 544 msgid "Disallow Z-Box (Packeta)" 543 545 msgstr "Zakázať Z-Box (Packeta)" 544 546 545 #: includes/DpdParcelShopShippingMethod.php:3 65547 #: includes/DpdParcelShopShippingMethod.php:375 546 548 msgid "If checked, Z-Box (Packeta) will be disabled." 547 549 msgstr "Ak je začiarknuté, Z-Box (Packeta) budú zakázané." 548 550 549 #: includes/DpdParcelShopShippingMethod.php: 592551 #: includes/DpdParcelShopShippingMethod.php:621 550 552 msgid "Title" 551 553 msgstr "Názov" -
wc-dpd/trunk/languages/wc-dpd.pot
r3394309 r3435070 1 # Copyright (C) 202 5Webikon1 # Copyright (C) 2026 Webikon 2 2 # This file is distributed under the GPLv2. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: DPD SK for WooCommerce 8. 3.0\n"5 "Project-Id-Version: DPD SK for WooCommerce 8.4.0\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wc-dpd\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 202 5-11-12T12:18:50+00:00\n"12 "POT-Creation-Date: 2026-01-08T11:04:52+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.11.0\n" … … 250 250 251 251 #: includes/DpdExportSettings.php:311 252 #: includes/DpdParcelShopShippingMethod.php: 591252 #: includes/DpdParcelShopShippingMethod.php:620 253 253 msgid "Remove" 254 254 msgstr "" … … 266 266 msgstr "" 267 267 268 #: includes/DpdParcelShopShippingMethod.php:6 3268 #: includes/DpdParcelShopShippingMethod.php:64 269 269 msgid "DPD parcelshop" 270 270 msgstr "" 271 271 272 #: includes/DpdParcelShopShippingMethod.php:6 4272 #: includes/DpdParcelShopShippingMethod.php:65 273 273 msgid "Allow customers to deliver to the DPD parcelshops." 274 274 msgstr "" 275 275 276 #: includes/DpdParcelShopShippingMethod.php:8 6276 #: includes/DpdParcelShopShippingMethod.php:87 277 277 msgid "DPD Pickup/Pickup Station" 278 278 msgstr "" 279 279 280 #: includes/DpdParcelShopShippingMethod.php:12 3281 #: includes/DpdParcelShopShippingMethod.php:6 62280 #: includes/DpdParcelShopShippingMethod.php:124 281 #: includes/DpdParcelShopShippingMethod.php:691 282 282 msgid "At least one pickup point type must remain enabled. You cannot disable shops and all locker types at the same time." 283 283 msgstr "" 284 284 285 #: includes/DpdParcelShopShippingMethod.php:1 39286 #: includes/DpdParcelShopShippingMethod.php:6 63285 #: includes/DpdParcelShopShippingMethod.php:140 286 #: includes/DpdParcelShopShippingMethod.php:692 287 287 msgid "You cannot disable all lockers globally and also disable all individual locker types at the same time. This configuration is redundant." 288 288 msgstr "" 289 289 290 #: includes/DpdParcelShopShippingMethod.php:16 3290 #: includes/DpdParcelShopShippingMethod.php:164 291 291 msgid "Tax status" 292 292 msgstr "" 293 293 294 #: includes/DpdParcelShopShippingMethod.php:16 8294 #: includes/DpdParcelShopShippingMethod.php:169 295 295 msgctxt "Tax status" 296 296 msgid "None" 297 297 msgstr "" 298 298 299 #: includes/DpdParcelShopShippingMethod.php:1 69299 #: includes/DpdParcelShopShippingMethod.php:170 300 300 msgid "Taxable" 301 301 msgstr "" 302 302 303 #: includes/DpdParcelShopShippingMethod.php:17 3303 #: includes/DpdParcelShopShippingMethod.php:174 304 304 msgid "Shipping type" 305 305 msgstr "" 306 306 307 #: includes/DpdParcelShopShippingMethod.php:17 6307 #: includes/DpdParcelShopShippingMethod.php:177 308 308 msgid "Fixed shipping price" 309 309 msgstr "" 310 310 311 #: includes/DpdParcelShopShippingMethod.php:17 7311 #: includes/DpdParcelShopShippingMethod.php:178 312 312 msgid "Products weight based shipping price" 313 313 msgstr "" 314 314 315 #: includes/DpdParcelShopShippingMethod.php:1 79315 #: includes/DpdParcelShopShippingMethod.php:180 316 316 msgid "Choose type of the shipping." 317 317 msgstr "" 318 318 319 #: includes/DpdParcelShopShippingMethod.php:18 4319 #: includes/DpdParcelShopShippingMethod.php:185 320 320 msgid "Delivery fee" 321 321 msgstr "" 322 322 323 #: includes/DpdParcelShopShippingMethod.php:18 6323 #: includes/DpdParcelShopShippingMethod.php:187 324 324 msgid "What fee do you want to charge for shipping to the parcelshop." 325 325 msgstr "" 326 326 327 #: includes/DpdParcelShopShippingMethod.php:193 327 #: includes/DpdParcelShopShippingMethod.php:194 328 #: includes/DpdParcelShopShippingMethod.php:218 328 329 msgid "Free shipping from" 329 330 msgstr "" 330 331 331 #: includes/DpdParcelShopShippingMethod.php:195 332 #: includes/DpdParcelShopShippingMethod.php:196 333 #: includes/DpdParcelShopShippingMethod.php:220 332 334 msgid "Set minimum cart value for free shipping. Leave empty to disable free shipping entirely." 333 335 msgstr "" 334 336 335 #: includes/DpdParcelShopShippingMethod.php:20 2337 #: includes/DpdParcelShopShippingMethod.php:203 336 338 msgid "Products weight based shipping rates" 337 339 msgstr "" 338 340 339 #: includes/DpdParcelShopShippingMethod.php:20 4341 #: includes/DpdParcelShopShippingMethod.php:205 340 342 msgid "Add shipping rates based on the weight of products in the cart." 341 343 msgstr "" 342 344 343 #: includes/DpdParcelShopShippingMethod.php:20 6345 #: includes/DpdParcelShopShippingMethod.php:207 344 346 msgid "Shipping rate" 345 347 msgstr "" 346 348 347 #: includes/DpdParcelShopShippingMethod.php:20 7349 #: includes/DpdParcelShopShippingMethod.php:208 348 350 msgid "Min weight (%s)" 349 351 msgstr "" 350 352 351 #: includes/DpdParcelShopShippingMethod.php:20 8353 #: includes/DpdParcelShopShippingMethod.php:209 352 354 msgid "Max weight (%s)" 353 355 msgstr "" 354 356 355 #: includes/DpdParcelShopShippingMethod.php:209 357 #: includes/DpdParcelShopShippingMethod.php:210 358 #: includes/DpdParcelShopShippingMethod.php:213 359 msgid "Price" 360 msgstr "" 361 362 #: includes/DpdParcelShopShippingMethod.php:210 363 msgid "with" 364 msgstr "" 365 366 #: includes/DpdParcelShopShippingMethod.php:210 367 msgid "without" 368 msgstr "" 369 370 #: includes/DpdParcelShopShippingMethod.php:210 371 msgid "tax" 372 msgstr "" 373 374 #: includes/DpdParcelShopShippingMethod.php:211 375 msgid "Min weight" 376 msgstr "" 377 356 378 #: includes/DpdParcelShopShippingMethod.php:212 357 msgid "Price"358 msgstr ""359 360 #: includes/DpdParcelShopShippingMethod.php:209361 msgid "with"362 msgstr ""363 364 #: includes/DpdParcelShopShippingMethod.php:209365 msgid "without"366 msgstr ""367 368 #: includes/DpdParcelShopShippingMethod.php:209369 msgid "tax"370 msgstr ""371 372 #: includes/DpdParcelShopShippingMethod.php:210373 msgid "Min weight"374 msgstr ""375 376 #: includes/DpdParcelShopShippingMethod.php:211377 379 msgid "Max weight" 378 380 msgstr "" 379 381 380 #: includes/DpdParcelShopShippingMethod.php:21 3382 #: includes/DpdParcelShopShippingMethod.php:214 381 383 msgid "Add a shipping rate" 382 384 msgstr "" 383 385 384 #: includes/DpdParcelShopShippingMethod.php:2 17386 #: includes/DpdParcelShopShippingMethod.php:227 385 387 msgid "Setting the weight limits for packages" 386 388 msgstr "" 387 389 388 #: includes/DpdParcelShopShippingMethod.php:2 18390 #: includes/DpdParcelShopShippingMethod.php:228 389 391 msgid "If the shipment does not meet the conditions for delivery in a parcelbox, this shipping method will not be displayed." 390 392 msgstr "" 391 393 392 #: includes/DpdParcelShopShippingMethod.php:2 25394 #: includes/DpdParcelShopShippingMethod.php:235 393 395 msgid "Maximum weight" 394 396 msgstr "" 395 397 396 #: includes/DpdParcelShopShippingMethod.php:2 32398 #: includes/DpdParcelShopShippingMethod.php:242 397 399 msgid "Maximum weight for Alzabox" 398 400 msgstr "" 399 401 400 #: includes/DpdParcelShopShippingMethod.php:2 39402 #: includes/DpdParcelShopShippingMethod.php:249 401 403 msgid "Maximum weight for Slovenska Posta box" 402 404 msgstr "" 403 405 404 #: includes/DpdParcelShopShippingMethod.php:2 46406 #: includes/DpdParcelShopShippingMethod.php:256 405 407 msgid "Maximum weight for Z-Box (Packeta)" 406 408 msgstr "" 407 409 408 #: includes/DpdParcelShopShippingMethod.php:2 53410 #: includes/DpdParcelShopShippingMethod.php:263 409 411 msgid "Setting the dimension limits for packages" 410 412 msgstr "" 411 413 412 #: includes/DpdParcelShopShippingMethod.php:2 54414 #: includes/DpdParcelShopShippingMethod.php:264 413 415 msgid "If the shipment does not meet the conditions for delivery in a box, this shipping method will not be displayed." 414 416 msgstr "" 415 417 416 #: includes/DpdParcelShopShippingMethod.php:2 61418 #: includes/DpdParcelShopShippingMethod.php:271 417 419 msgid "Maximum width" 418 420 msgstr "" 419 421 420 #: includes/DpdParcelShopShippingMethod.php:2 66422 #: includes/DpdParcelShopShippingMethod.php:276 421 423 msgid "Maximum height" 422 424 msgstr "" 423 425 424 #: includes/DpdParcelShopShippingMethod.php:2 71426 #: includes/DpdParcelShopShippingMethod.php:281 425 427 msgid "Maximum length" 426 428 msgstr "" 427 429 428 #: includes/DpdParcelShopShippingMethod.php:2 76430 #: includes/DpdParcelShopShippingMethod.php:286 429 431 msgid "Maximum width for Alzabox" 430 432 msgstr "" 431 433 432 #: includes/DpdParcelShopShippingMethod.php:2 81434 #: includes/DpdParcelShopShippingMethod.php:291 433 435 msgid "Maximum height for Alzabox" 434 436 msgstr "" 435 437 436 #: includes/DpdParcelShopShippingMethod.php:2 86438 #: includes/DpdParcelShopShippingMethod.php:296 437 439 msgid "Maximum length for Alzabox" 438 440 msgstr "" 439 441 440 #: includes/DpdParcelShopShippingMethod.php: 291442 #: includes/DpdParcelShopShippingMethod.php:301 441 443 msgid "Maximum width for Slovenska Posta box" 442 444 msgstr "" 443 445 444 #: includes/DpdParcelShopShippingMethod.php: 296446 #: includes/DpdParcelShopShippingMethod.php:306 445 447 msgid "Maximum height for Slovenska Posta box" 446 448 msgstr "" 447 449 448 #: includes/DpdParcelShopShippingMethod.php:3 01450 #: includes/DpdParcelShopShippingMethod.php:311 449 451 msgid "Maximum length for Slovenska Posta box" 450 452 msgstr "" 451 453 452 #: includes/DpdParcelShopShippingMethod.php:3 06454 #: includes/DpdParcelShopShippingMethod.php:316 453 455 msgid "Maximum width for Z-Box (Packeta)" 454 456 msgstr "" 455 457 456 #: includes/DpdParcelShopShippingMethod.php:3 11458 #: includes/DpdParcelShopShippingMethod.php:321 457 459 msgid "Maximum height for Z-Box (Packeta)" 458 460 msgstr "" 459 461 460 #: includes/DpdParcelShopShippingMethod.php:3 16462 #: includes/DpdParcelShopShippingMethod.php:326 461 463 msgid "Maximum length for Z-Box (Packeta)" 462 464 msgstr "" 463 465 464 #: includes/DpdParcelShopShippingMethod.php:3 21466 #: includes/DpdParcelShopShippingMethod.php:331 465 467 msgid "Disallow Shops" 466 468 msgstr "" 467 469 468 #: includes/DpdParcelShopShippingMethod.php:3 25470 #: includes/DpdParcelShopShippingMethod.php:335 469 471 msgid "If checked, DPD Pickup shops will be disabled." 470 472 msgstr "" 471 473 472 #: includes/DpdParcelShopShippingMethod.php:3 29474 #: includes/DpdParcelShopShippingMethod.php:339 473 475 msgid "Disallow Lockers" 474 476 msgstr "" 475 477 476 #: includes/DpdParcelShopShippingMethod.php:3 33478 #: includes/DpdParcelShopShippingMethod.php:343 477 479 msgid "If checked, all locker types will be disabled." 478 480 msgstr "" 479 481 480 #: includes/DpdParcelShopShippingMethod.php:3 37482 #: includes/DpdParcelShopShippingMethod.php:347 481 483 msgid "Disallow DPD Pickup Stations" 482 484 msgstr "" 483 485 484 #: includes/DpdParcelShopShippingMethod.php:3 41486 #: includes/DpdParcelShopShippingMethod.php:351 485 487 msgid "If checked, DPD Pickup Stations will be disabled." 486 488 msgstr "" 487 489 488 #: includes/DpdParcelShopShippingMethod.php:3 45490 #: includes/DpdParcelShopShippingMethod.php:355 489 491 msgid "Disallow Slovenská Pošta Boxes" 490 492 msgstr "" 491 493 492 #: includes/DpdParcelShopShippingMethod.php:3 49494 #: includes/DpdParcelShopShippingMethod.php:359 493 495 msgid "If checked, Slovenská Pošta boxes will be disabled." 494 496 msgstr "" 495 497 496 #: includes/DpdParcelShopShippingMethod.php:3 53498 #: includes/DpdParcelShopShippingMethod.php:363 497 499 msgid "Disallow Alza Boxes" 498 500 msgstr "" 499 501 500 #: includes/DpdParcelShopShippingMethod.php:3 57502 #: includes/DpdParcelShopShippingMethod.php:367 501 503 msgid "If checked, Alza Boxes will be disabled." 502 504 msgstr "" 503 505 504 #: includes/DpdParcelShopShippingMethod.php:3 61506 #: includes/DpdParcelShopShippingMethod.php:371 505 507 msgid "Disallow Z-Box (Packeta)" 506 508 msgstr "" 507 509 508 #: includes/DpdParcelShopShippingMethod.php:3 65510 #: includes/DpdParcelShopShippingMethod.php:375 509 511 msgid "If checked, Z-Box (Packeta) will be disabled." 510 512 msgstr "" 511 513 512 #: includes/DpdParcelShopShippingMethod.php: 592514 #: includes/DpdParcelShopShippingMethod.php:621 513 515 msgid "Title" 514 516 msgstr "" -
wc-dpd/trunk/readme.txt
r3394309 r3435070 4 4 Donate link: https://platobnebrany.sk/ 5 5 Requires at least: 5.3 6 Tested up to: 6. 86 Tested up to: 6.9 7 7 Requires PHP: 7.4 8 Stable tag: 8. 3.08 Stable tag: 8.4.0 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 62 62 63 63 == Changelog == 64 65 = 8.4.0 = 66 * Added free shipping threshold option for weight-based shipping rates 64 67 65 68 = 8.3.0 = -
wc-dpd/trunk/wc-dpd.php
r3394309 r3435070 4 4 * Plugin Name: DPD SK for WooCommerce 5 5 * Description: DPD SK plugin for WooCommerce which exports orders to the DPD through their API 6 * Version: 8. 3.06 * Version: 8.4.0 7 7 * Author: Webikon 8 8 * Author URI: https://www.webikon.sk … … 12 12 * Domain Path: /languages 13 13 * Requires at least: 5.3 14 * Tested up to: 6. 814 * Tested up to: 6.9 15 15 * Requires PHP: 7.4 16 16 * WC requires at least: 7.0 17 * WC tested up to: 10. 317 * WC tested up to: 10.4.3 18 18 */ 19 19
Note: See TracChangeset
for help on using the changeset viewer.