WooCommerce Germanized - Version 3.0.6

Version Description

  • Feature: Manually add shipping providers with custom tracking data
  • Improvement: Improved shipping provider integration code base
  • Improvement: New filters to allow adding custom data to shipment item admin output
  • Improvement: DHL added minimum weight setting
  • Improvement: DHL SOAP API use DE timezone date
  • Improvement: DHL Make sure shipping method data gets refreshed within checkout
  • Improvement: Tax rate importing now supports translated tax classes
  • Improvement: Added differential taxation notices to mini cart if necessary
  • Fix: Re-added email shopmark settings screen
  • Fix: WPML product saving bug
  • Fix: Force some product data to be inherited from parent (e.g. free_shipping)
  • Fix: Shipment item meta deletion
Download this release

Release Info

Developer vendidero
Plugin Icon 128x128 WooCommerce Germanized
Version 3.0.6
Comparing to
See all releases

Code changes from version 3.0.5 to 3.0.6

Files changed (124) hide show
  1. assets/js/admin/settings.js +0 -13
  2. assets/js/admin/settings.min.js +1 -1
  3. i18n/languages/woocommerce-germanized-de_DE.mo +0 -0
  4. i18n/languages/woocommerce-germanized-de_DE.po +998 -706
  5. i18n/languages/woocommerce-germanized-de_DE_formal.mo +0 -0
  6. i18n/languages/woocommerce-germanized-de_DE_formal.po +999 -706
  7. includes/admin/class-wc-gzd-admin-legal-checkboxes.php +3 -0
  8. includes/admin/class-wc-gzd-admin.php +1 -1
  9. includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data.php +7 -7
  10. includes/admin/settings/abstract-wc-gzd-settings-tab.php +7 -1
  11. includes/admin/settings/class-wc-gzd-settings-tab-shipments.php +27 -2
  12. includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php +44 -0
  13. includes/class-wc-gzd-emails.php +1 -9
  14. includes/class-wc-gzd-install.php +54 -5
  15. includes/class-wc-gzd-product-variation.php +52 -0
  16. includes/gateways/direct-debit/assets/js/iban.min.js +1 -1
  17. includes/updates/woocommerce-gzd-update-3.0.6.php +28 -0
  18. includes/wc-gzd-cart-functions.php +17 -2
  19. includes/wc-gzd-core-functions.php +68 -3
  20. includes/wc-gzd-template-functions.php +16 -29
  21. includes/wc-gzd-template-hooks.php +0 -1
  22. packages/woocommerce-germanized-dhl/assets/css/admin.css +1 -79
  23. packages/woocommerce-germanized-dhl/assets/css/admin.min.css +1 -1
  24. packages/woocommerce-germanized-dhl/assets/css/admin.scss +0 -115
  25. packages/woocommerce-germanized-dhl/assets/js/admin-dhl-backbone.min.js +0 -1
  26. packages/woocommerce-germanized-dhl/assets/js/admin-dhl-shipping-method.js +0 -68
  27. packages/woocommerce-germanized-dhl/assets/js/admin-dhl-shipping-method.min.js +0 -1
  28. packages/woocommerce-germanized-dhl/assets/js/admin-dhl-table.js +0 -36
  29. packages/woocommerce-germanized-dhl/assets/js/admin-dhl-table.min.js +0 -1
  30. packages/woocommerce-germanized-dhl/assets/js/admin-dhl.js +0 -241
  31. packages/woocommerce-germanized-dhl/assets/js/admin-dhl.min.js +0 -1
  32. packages/woocommerce-germanized-dhl/assets/js/parcel-locator.js +19 -1
  33. packages/woocommerce-germanized-dhl/assets/js/parcel-locator.min.js +1 -1
  34. packages/woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php +1 -1
  35. packages/woocommerce-germanized-dhl/includes/admin/views/html-shipment-label.php +0 -36
  36. packages/woocommerce-germanized-dhl/includes/admin/views/html-shipment-return-label-backbone-form.php +1 -1
  37. packages/woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php +0 -14
  38. packages/woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php +39 -40
  39. packages/woocommerce-germanized-dhl/src/Admin/Admin.php +39 -167
  40. packages/woocommerce-germanized-dhl/src/Admin/MetaBox.php +0 -37
  41. packages/woocommerce-germanized-dhl/src/Admin/Settings.php +31 -2
  42. packages/woocommerce-germanized-dhl/src/Ajax.php +0 -217
  43. packages/woocommerce-germanized-dhl/src/Api/LabelSoap.php +4 -4
  44. packages/woocommerce-germanized-dhl/src/Api/Paket.php +6 -0
  45. packages/woocommerce-germanized-dhl/src/DataStores/Label.php +1 -1
  46. packages/woocommerce-germanized-dhl/src/DownloadHandler.php +0 -18
  47. packages/woocommerce-germanized-dhl/src/Label.php +31 -31
  48. packages/woocommerce-germanized-dhl/src/LabelQuery.php +1 -1
  49. packages/woocommerce-germanized-dhl/src/LabelWatcher.php +9 -15
  50. packages/woocommerce-germanized-dhl/src/Package.php +47 -56
  51. packages/woocommerce-germanized-dhl/src/ParcelLocator.php +46 -14
  52. packages/woocommerce-germanized-dhl/src/ReturnLabel.php +2 -1
  53. packages/woocommerce-germanized-dhl/src/ShipmentLabelWatcher.php +135 -0
  54. packages/woocommerce-germanized-dhl/src/ShippingMethodPlaceholder.php +0 -105
  55. packages/woocommerce-germanized-dhl/src/ShippingProviderDHL.php +61 -0
  56. packages/woocommerce-germanized-dhl/src/{ShippingMethod.php → ShippingProviderMethodDHL.php} +32 -49
  57. packages/woocommerce-germanized-dhl/woocommerce-germanized-dhl.php +1 -1
  58. packages/woocommerce-germanized-shipments/assets/css/admin.css +183 -18
  59. packages/woocommerce-germanized-shipments/assets/css/admin.min.css +1 -1
  60. packages/woocommerce-germanized-shipments/assets/css/admin.scss +201 -3
  61. packages/{woocommerce-germanized-dhl/assets/js/admin-dhl-backbone.js → woocommerce-germanized-shipments/assets/js/admin-shipment-label-backbone.js} +21 -18
  62. packages/woocommerce-germanized-shipments/assets/js/admin-shipment-label-backbone.min.js +1 -0
  63. packages/woocommerce-germanized-shipments/assets/js/admin-shipment.js +68 -0
  64. packages/woocommerce-germanized-shipments/assets/js/admin-shipment.min.js +1 -1
  65. packages/woocommerce-germanized-shipments/assets/js/admin-shipments-table.js +13 -1
  66. packages/woocommerce-germanized-shipments/assets/js/admin-shipments-table.min.js +1 -1
  67. packages/woocommerce-germanized-shipments/assets/js/admin-shipments.js +56 -6
  68. packages/woocommerce-germanized-shipments/assets/js/admin-shipments.min.js +1 -1
  69. packages/woocommerce-germanized-shipments/assets/js/admin-shipping-provider-method.js +79 -0
  70. packages/woocommerce-germanized-shipments/assets/js/admin-shipping-provider-method.min.js +1 -0
  71. packages/woocommerce-germanized-shipments/assets/js/admin-shipping-providers.js +174 -0
  72. packages/woocommerce-germanized-shipments/assets/js/admin-shipping-providers.min.js +1 -0
  73. packages/woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php +23 -13
  74. packages/woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-item.php +18 -2
  75. packages/woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php +57 -0
  76. packages/{woocommerce-germanized-dhl/includes/admin/views → woocommerce-germanized-shipments/includes/admin/views/label}/html-shipment-label-backbone.php +4 -8
  77. packages/woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php +49 -0
  78. packages/woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php +5 -3
  79. packages/woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php +158 -5
  80. packages/woocommerce-germanized-shipments/src/Admin/Admin.php +102 -5
  81. packages/woocommerce-germanized-shipments/src/Admin/BulkActionHandler.php +6 -2
  82. packages/{woocommerce-germanized-dhl → woocommerce-germanized-shipments}/src/Admin/BulkLabel.php +35 -26
  83. packages/woocommerce-germanized-shipments/src/Admin/DownloadHandler.php +72 -0
  84. packages/woocommerce-germanized-shipments/src/Admin/MetaBox.php +4 -0
  85. packages/woocommerce-germanized-shipments/src/Admin/ReturnTable.php +25 -1
  86. packages/woocommerce-germanized-shipments/src/Admin/Settings.php +141 -1
  87. packages/woocommerce-germanized-shipments/src/Admin/Table.php +95 -28
  88. packages/woocommerce-germanized-shipments/src/Ajax.php +302 -1
  89. packages/woocommerce-germanized-shipments/src/Automation.php +59 -6
  90. packages/woocommerce-germanized-shipments/src/DataStores/Shipment.php +2 -2
  91. packages/woocommerce-germanized-shipments/src/DataStores/ShippingProvider.php +425 -0
  92. packages/woocommerce-germanized-shipments/src/Install.php +36 -0
  93. packages/woocommerce-germanized-shipments/src/Interfaces/ShipmenReturnLabel.php +21 -0
  94. packages/woocommerce-germanized-shipments/src/Interfaces/ShipmentLabel.php +75 -0
  95. packages/{woocommerce-germanized-dhl → woocommerce-germanized-shipments}/src/PDFMerger.php +1 -1
  96. packages/{woocommerce-germanized-dhl → woocommerce-germanized-shipments}/src/PDFSplitter.php +1 -1
  97. packages/woocommerce-germanized-shipments/src/Package.php +190 -7
  98. packages/woocommerce-germanized-shipments/src/Shipment.php +338 -13
  99. packages/woocommerce-germanized-shipments/src/ShipmentQuery.php +1 -1
  100. packages/woocommerce-germanized-shipments/src/ShippingProvider.php +220 -18
  101. packages/woocommerce-germanized-shipments/src/ShippingProviderMethod.php +230 -0
  102. packages/woocommerce-germanized-shipments/src/ShippingProviderMethodPlaceholder.php +56 -0
  103. packages/woocommerce-germanized-shipments/src/ShippingProviders.php +168 -0
  104. packages/woocommerce-germanized-shipments/src/SimpleShipment.php +16 -32
  105. packages/woocommerce-germanized-shipments/woocommerce-germanized-shipments.php +1 -1
  106. phpcs.ruleset.xml +0 -193
  107. readme.txt +17 -3
  108. templates/cart/mini-cart-totals.php +5 -2
  109. vendor/autoload.php +1 -1
  110. vendor/autoload_packages.php +2 -2
  111. vendor/composer/autoload_classmap_package.php +556 -512
  112. vendor/composer/autoload_real.php +4 -4
  113. vendor/composer/autoload_static.php +4 -4
  114. vendor/composer/installed.json +25 -23
  115. vendor/composer/installers/src/Composer/Installers/DframeInstaller.php +10 -0
  116. vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php +12 -8
  117. vendor/composer/installers/src/Composer/Installers/Installer.php +4 -0
  118. vendor/composer/installers/src/Composer/Installers/KnownInstaller.php +11 -0
  119. vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php +54 -46
  120. vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php +1 -0
  121. vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php +10 -0
  122. vendor/composer/installers/src/Composer/Installers/TaoInstaller.php +12 -0
  123. vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php +12 -1
  124. woocommerce-germanized.php +2 -2
assets/js/admin/settings.js CHANGED
@@ -24,8 +24,6 @@ window.germanized = window.germanized || {};
24
  }
25
 
26
  $( document )
27
- .on( 'change', 'select#woocommerce_gzd_checkboxes_parcel_delivery_show_special', this.onParcelDeliveryShowSpecial )
28
- .on( 'change', 'input#woocommerce_gzd_order_pay_now_button', this.onChangePayNow )
29
  .on( 'change', 'input[name=woocommerce_gzd_dispute_resolution_type]', this.onChangeDisputeResolutionType )
30
  .on( 'click', 'a.woocommerce-gzd-input-toggle-trigger', this.onInputToogleClick )
31
  .on( 'change', '.wc-gzd-setting-tabs input.woocommerce-gzd-tab-status-checkbox', this.onChangeTabStatus )
@@ -36,9 +34,6 @@ window.germanized = window.germanized || {};
36
  .on( 'woocommerce_gzd_setting_field_invisible', this.onHideField );
37
 
38
  $( '.wc-gzd-admin-settings :input' ).trigger( 'change' );
39
-
40
- $( 'select#woocommerce_gzd_checkboxes_parcel_delivery_show_special' ).trigger( 'change' );
41
- $( 'input#woocommerce_gzd_order_pay_now_button' ).trigger( 'change' );
42
  $( 'input[name=woocommerce_gzd_dispute_resolution_type]:checked' ).trigger( 'change' );
43
 
44
  this.initMailSortable();
@@ -232,14 +227,6 @@ window.germanized = window.germanized || {};
232
  }
233
  },
234
 
235
- onChangePayNow: function() {
236
- if ( $( this ).is( ':checked' ) ) {
237
- $( 'select#woocommerce_gzd_order_pay_now_button_disabled_methods' ).parents( 'tr' ).show();
238
- } else {
239
- $( 'select#woocommerce_gzd_order_pay_now_button_disabled_methods' ).parents( 'tr' ).hide();
240
- }
241
- },
242
-
243
  onChangeDisputeResolutionType: function() {
244
  var val = $( this ).val();
245
  var text = $( '#woocommerce_gzd_alternative_complaints_text_' + val );
24
  }
25
 
26
  $( document )
 
 
27
  .on( 'change', 'input[name=woocommerce_gzd_dispute_resolution_type]', this.onChangeDisputeResolutionType )
28
  .on( 'click', 'a.woocommerce-gzd-input-toggle-trigger', this.onInputToogleClick )
29
  .on( 'change', '.wc-gzd-setting-tabs input.woocommerce-gzd-tab-status-checkbox', this.onChangeTabStatus )
34
  .on( 'woocommerce_gzd_setting_field_invisible', this.onHideField );
35
 
36
  $( '.wc-gzd-admin-settings :input' ).trigger( 'change' );
 
 
 
37
  $( 'input[name=woocommerce_gzd_dispute_resolution_type]:checked' ).trigger( 'change' );
38
 
39
  this.initMailSortable();
227
  }
228
  },
229
 
 
 
 
 
 
 
 
 
230
  onChangeDisputeResolutionType: function() {
231
  var val = $( this ).val();
232
  var text = $( '#woocommerce_gzd_alternative_complaints_text_' + val );
assets/js/admin/settings.min.js CHANGED
@@ -1 +1 @@
1
- window.germanized=window.germanized||{},function(d,c){c.settings={params:{},init:function(){var e=this;this.params=wc_gzd_admin_settings_params;try{d(document.body).on("wc-enhanced-select-init wc-gzd-enhanced-select-init",this.onEnhancedSelectInit).trigger("wc-gzd-enhanced-select-init")}catch(e){window.console.log(e)}d(document).on("change","select#woocommerce_gzd_checkboxes_parcel_delivery_show_special",this.onParcelDeliveryShowSpecial).on("change","input#woocommerce_gzd_order_pay_now_button",this.onChangePayNow).on("change","input[name=woocommerce_gzd_dispute_resolution_type]",this.onChangeDisputeResolutionType).on("click","a.woocommerce-gzd-input-toggle-trigger",this.onInputToogleClick).on("change",".wc-gzd-setting-tabs input.woocommerce-gzd-tab-status-checkbox",this.onChangeTabStatus).on("change",".wc-gzd-admin-settings :input",this.onChangeInput),d(document.body).on("woocommerce_gzd_setting_field_visible",this.onShowField).on("woocommerce_gzd_setting_field_invisible",this.onHideField),d(".wc-gzd-admin-settings :input").trigger("change"),d("select#woocommerce_gzd_checkboxes_parcel_delivery_show_special").trigger("change"),d("input#woocommerce_gzd_order_pay_now_button").trigger("change"),d("input[name=woocommerce_gzd_dispute_resolution_type]:checked").trigger("change"),this.initMailSortable(),d(document.body).on("init_tooltips",function(){e.initTipTips()}),e.initTipTip()},initTipTip:function(){d(".wc-gzd-setting-tab-actions a.button").tipTip({fadeIn:50,fadeOut:50,delay:200})},onChangeTabStatus:function(){var e=d(this),t=c.settings,i=e.data("tab"),o=e.parents("td").find(".woocommerce-gzd-input-toggle"),n=o.parents("a"),a=e.is(":checked")?"yes":"no",s={action:"woocommerce_gzd_toggle_tab_enabled",security:t.params.tab_toggle_nonce,enable:a,tab:i};return o.addClass("woocommerce-input-toggle--loading"),d.ajax({url:t.params.ajax_url,data:s,dataType:"json",type:"POST",success:function(e){!0===e.data?(o.removeClass("woocommerce-input-toggle--enabled, woocommerce-input-toggle--disabled"),o.addClass("woocommerce-input-toggle--enabled"),o.removeClass("woocommerce-input-toggle--loading")):!1===e.data?(o.removeClass("woocommerce-input-toggle--enabled, woocommerce-input-toggle--disabled"),o.addClass("woocommerce-input-toggle--disabled"),o.removeClass("woocommerce-input-toggle--loading")):"needs_setup"===e.data&&(window.location.href=n.attr("href"))}}),!1},onShowField:function(e,t,o,i){t.parents("table").find(":input[data-show_if_"+o+"]").each(function(){d(this).data("show_if_"+o);var e=d(this).val(),t=d(this).attr("name").replace(/[\[\]']+/g,""),i=d(this).parents("tr");i.removeClass("wc-gzd-setting-invisible"),i.addClass("wc-gzd-setting-visible"),d(document.body).trigger("woocommerce_gzd_setting_field_visible",[i,t,e])})},onHideField:function(e,t,o,i){t.parents("table").find(":input[data-show_if_"+o+"]").each(function(){d(this).data("show_if_"+o);var e=d(this).val(),t=d(this).attr("name").replace(/[\[\]']+/g,""),i=d(this).parents("tr");i.removeClass("wc-gzd-setting-visible"),i.addClass("wc-gzd-setting-invisible"),d(document.body).trigger("woocommerce_gzd_setting_field_invisible",[i,t,e])})},onChangeInput:function(){d(this).parents("tr").find(":input:not(.select2-focusser, .select2-input)").each(function(){var e=d(this),n=!1,t=d(this).attr("name");if((e.is(":checked")||e.is(":selected"))&&(n=!0),void 0!==t&&!1!==t){var a=t.replace(/[\[\]']+/g,""),s=e.val(),i=d(".wc-gzd-admin-settings").find(":input[data-show_if_"+a+"]");e.is(":checkbox")&&(s=e.is(":checked")?"yes":"no"),i.each(function(){var e=d(this).data("show_if_"+a),t=d(this).val(),i=d(this).attr("name").replace(/[\[\]']+/g,""),o=d(this).parents("tr");o.removeClass("wc-gzd-setting-visible wc-gzd-setting-invisible"),void 0!==e&&0<e.length?s===e?(o.addClass("wc-gzd-setting-visible"),d(document.body).trigger("woocommerce_gzd_setting_field_visible",[o,i,t])):(o.addClass("wc-gzd-setting-invisible"),d(document.body).trigger("woocommerce_gzd_setting_field_invisible",[o,i,t])):n?(o.addClass("wc-gzd-setting-visible"),d(document.body).trigger("woocommerce_gzd_setting_field_visible",[o,i,t])):(o.addClass("wc-gzd-setting-invisible"),d(document.body).trigger("woocommerce_gzd_setting_field_invisible",[o,i,t]))});var o=d(this).parents(".form-table"),c=!1;o.find("tr").each(function(){if(!d(this).hasClass("wc-gzd-setting-invisible"))return!(c=!0)}),c?o.show():o.hide()}})},onEnhancedSelectInit:function(){d(":input.wc-gzd-enhanced-tags").filter(":not(.enhanced)").each(function(){var e={minimumResultsForSearch:10,allowClear:!!d(this).data("allow_clear"),placeholder:d(this).data("placeholder"),tags:!0};d(this).selectWoo(e).addClass("enhanced")})},onParcelDeliveryShowSpecial:function(){"shipping_methods"===d(this).val()?d("select#woocommerce_gzd_checkboxes_parcel_delivery_show_shipping_methods").parents("tr").show():d("select#woocommerce_gzd_checkboxes_parcel_delivery_show_shipping_methods").parents("tr").hide()},onChangePayNow:function(){d(this).is(":checked")?d("select#woocommerce_gzd_order_pay_now_button_disabled_methods").parents("tr").show():d("select#woocommerce_gzd_order_pay_now_button_disabled_methods").parents("tr").hide()},onChangeDisputeResolutionType:function(){var e=d(this).val();d("#woocommerce_gzd_alternative_complaints_text_"+e);d("[id^=woocommerce_gzd_alternative_complaints_text_]").parents("tr").hide(),d("#woocommerce_gzd_alternative_complaints_text_"+e).parents("tr").show()},onInputToogleClick:function(){var e=d(this).find("span.woocommerce-gzd-input-toggle"),t=e.parents("fieldset").find("input[type=checkbox]"),i=e.hasClass("woocommerce-input-toggle--enabled");return e.removeClass("woocommerce-input-toggle--enabled"),e.removeClass("woocommerce-input-toggle--disabled"),i?(t.prop("checked",!1),e.addClass("woocommerce-input-toggle--disabled")):(t.prop("checked",!0),e.addClass("woocommerce-input-toggle--enabled")),t.trigger("change"),!1},initMailSortable:function(){if(0<d("#woocommerce_gzd_mail_attach_imprint").length){var o=d("#woocommerce_gzd_mail_attach_imprint").parents("table");d(o).find("tbody").sortable({items:"tr",cursor:"move",axis:"y",handle:"td, th",scrollSensitivity:40,helper:function(e,t){return t.children().each(function(){jQuery(this).width(jQuery(this).width())}),t.css("left","0"),t},start:function(e,t){t.item.css("background-color","#f6f6f6")},stop:function(e,t){t.item.removeAttr("style");var i=[];d(o).find("tr select").each(function(){i.push(d(this).attr("id").replace("woocommerce_gzd_mail_attach_",""))}),d("#woocommerce_gzd_mail_attach_order").val(i.join())}})}}},d(document).ready(function(){c.settings.init()})}(jQuery,window.germanized);
1
+ window.germanized=window.germanized||{},function(d,c){c.settings={params:{},init:function(){var e=this;this.params=wc_gzd_admin_settings_params;try{d(document.body).on("wc-enhanced-select-init wc-gzd-enhanced-select-init",this.onEnhancedSelectInit).trigger("wc-gzd-enhanced-select-init")}catch(e){window.console.log(e)}d(document).on("change","input[name=woocommerce_gzd_dispute_resolution_type]",this.onChangeDisputeResolutionType).on("click","a.woocommerce-gzd-input-toggle-trigger",this.onInputToogleClick).on("change",".wc-gzd-setting-tabs input.woocommerce-gzd-tab-status-checkbox",this.onChangeTabStatus).on("change",".wc-gzd-admin-settings :input",this.onChangeInput),d(document.body).on("woocommerce_gzd_setting_field_visible",this.onShowField).on("woocommerce_gzd_setting_field_invisible",this.onHideField),d(".wc-gzd-admin-settings :input").trigger("change"),d("input[name=woocommerce_gzd_dispute_resolution_type]:checked").trigger("change"),this.initMailSortable(),d(document.body).on("init_tooltips",function(){e.initTipTips()}),e.initTipTip()},initTipTip:function(){d(".wc-gzd-setting-tab-actions a.button").tipTip({fadeIn:50,fadeOut:50,delay:200})},onChangeTabStatus:function(){var e=d(this),t=c.settings,i=e.data("tab"),o=e.parents("td").find(".woocommerce-gzd-input-toggle"),n=o.parents("a"),a=e.is(":checked")?"yes":"no",s={action:"woocommerce_gzd_toggle_tab_enabled",security:t.params.tab_toggle_nonce,enable:a,tab:i};return o.addClass("woocommerce-input-toggle--loading"),d.ajax({url:t.params.ajax_url,data:s,dataType:"json",type:"POST",success:function(e){!0===e.data?(o.removeClass("woocommerce-input-toggle--enabled, woocommerce-input-toggle--disabled"),o.addClass("woocommerce-input-toggle--enabled"),o.removeClass("woocommerce-input-toggle--loading")):!1===e.data?(o.removeClass("woocommerce-input-toggle--enabled, woocommerce-input-toggle--disabled"),o.addClass("woocommerce-input-toggle--disabled"),o.removeClass("woocommerce-input-toggle--loading")):"needs_setup"===e.data&&(window.location.href=n.attr("href"))}}),!1},onShowField:function(e,t,o,i){t.parents("table").find(":input[data-show_if_"+o+"]").each(function(){d(this).data("show_if_"+o);var e=d(this).val(),t=d(this).attr("name").replace(/[\[\]']+/g,""),i=d(this).parents("tr");i.removeClass("wc-gzd-setting-invisible"),i.addClass("wc-gzd-setting-visible"),d(document.body).trigger("woocommerce_gzd_setting_field_visible",[i,t,e])})},onHideField:function(e,t,o,i){t.parents("table").find(":input[data-show_if_"+o+"]").each(function(){d(this).data("show_if_"+o);var e=d(this).val(),t=d(this).attr("name").replace(/[\[\]']+/g,""),i=d(this).parents("tr");i.removeClass("wc-gzd-setting-visible"),i.addClass("wc-gzd-setting-invisible"),d(document.body).trigger("woocommerce_gzd_setting_field_invisible",[i,t,e])})},onChangeInput:function(){d(this).parents("tr").find(":input:not(.select2-focusser, .select2-input)").each(function(){var e=d(this),n=!1,t=d(this).attr("name");if((e.is(":checked")||e.is(":selected"))&&(n=!0),void 0!==t&&!1!==t){var a=t.replace(/[\[\]']+/g,""),s=e.val(),i=d(".wc-gzd-admin-settings").find(":input[data-show_if_"+a+"]");e.is(":checkbox")&&(s=e.is(":checked")?"yes":"no"),i.each(function(){var e=d(this).data("show_if_"+a),t=d(this).val(),i=d(this).attr("name").replace(/[\[\]']+/g,""),o=d(this).parents("tr");o.removeClass("wc-gzd-setting-visible wc-gzd-setting-invisible"),void 0!==e&&0<e.length?s===e?(o.addClass("wc-gzd-setting-visible"),d(document.body).trigger("woocommerce_gzd_setting_field_visible",[o,i,t])):(o.addClass("wc-gzd-setting-invisible"),d(document.body).trigger("woocommerce_gzd_setting_field_invisible",[o,i,t])):n?(o.addClass("wc-gzd-setting-visible"),d(document.body).trigger("woocommerce_gzd_setting_field_visible",[o,i,t])):(o.addClass("wc-gzd-setting-invisible"),d(document.body).trigger("woocommerce_gzd_setting_field_invisible",[o,i,t]))});var o=d(this).parents(".form-table"),c=!1;o.find("tr").each(function(){if(!d(this).hasClass("wc-gzd-setting-invisible"))return!(c=!0)}),c?o.show():o.hide()}})},onEnhancedSelectInit:function(){d(":input.wc-gzd-enhanced-tags").filter(":not(.enhanced)").each(function(){var e={minimumResultsForSearch:10,allowClear:!!d(this).data("allow_clear"),placeholder:d(this).data("placeholder"),tags:!0};d(this).selectWoo(e).addClass("enhanced")})},onParcelDeliveryShowSpecial:function(){"shipping_methods"===d(this).val()?d("select#woocommerce_gzd_checkboxes_parcel_delivery_show_shipping_methods").parents("tr").show():d("select#woocommerce_gzd_checkboxes_parcel_delivery_show_shipping_methods").parents("tr").hide()},onChangeDisputeResolutionType:function(){var e=d(this).val();d("#woocommerce_gzd_alternative_complaints_text_"+e);d("[id^=woocommerce_gzd_alternative_complaints_text_]").parents("tr").hide(),d("#woocommerce_gzd_alternative_complaints_text_"+e).parents("tr").show()},onInputToogleClick:function(){var e=d(this).find("span.woocommerce-gzd-input-toggle"),t=e.parents("fieldset").find("input[type=checkbox]"),i=e.hasClass("woocommerce-input-toggle--enabled");return e.removeClass("woocommerce-input-toggle--enabled"),e.removeClass("woocommerce-input-toggle--disabled"),i?(t.prop("checked",!1),e.addClass("woocommerce-input-toggle--disabled")):(t.prop("checked",!0),e.addClass("woocommerce-input-toggle--enabled")),t.trigger("change"),!1},initMailSortable:function(){if(0<d("#woocommerce_gzd_mail_attach_imprint").length){var o=d("#woocommerce_gzd_mail_attach_imprint").parents("table");d(o).find("tbody").sortable({items:"tr",cursor:"move",axis:"y",handle:"td, th",scrollSensitivity:40,helper:function(e,t){return t.children().each(function(){jQuery(this).width(jQuery(this).width())}),t.css("left","0"),t},start:function(e,t){t.item.css("background-color","#f6f6f6")},stop:function(e,t){t.item.removeAttr("style");var i=[];d(o).find("tr select").each(function(){i.push(d(this).attr("id").replace("woocommerce_gzd_mail_attach_",""))}),d("#woocommerce_gzd_mail_attach_order").val(i.join())}})}}},d(document).ready(function(){c.settings.init()})}(jQuery,window.germanized);
i18n/languages/woocommerce-germanized-de_DE.mo CHANGED
Binary file
i18n/languages/woocommerce-germanized-de_DE.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Germanized\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2019-11-13 15:49+0100\n"
6
- "PO-Revision-Date: 2019-11-13 15:50+0100\n"
7
  "Last-Translator: holzhannes <holzhannes@posteo.de>\n"
8
  "Language-Team: \n"
9
  "Language: de_DE\n"
@@ -54,14 +54,14 @@ msgstr "Zollabgabe"
54
 
55
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:66
56
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:137
57
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:893
58
  #: woocommerce-germanized-dhl/src/ParcelServices.php:29
59
  msgctxt "dhl"
60
  msgid "Preferred Day"
61
  msgstr "Wunschtag"
62
 
63
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:75
64
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:913
65
  #: woocommerce-germanized-dhl/src/ParcelServices.php:36
66
  msgctxt "dhl"
67
  msgid "Preferred Time"
@@ -70,14 +70,14 @@ msgstr "Wunschzeit"
70
  # @ woocommerce-germanized
71
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:86
72
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:165
73
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:945
74
  #: woocommerce-germanized-dhl/src/ParcelServices.php:43
75
  msgctxt "dhl"
76
  msgid "Preferred Location"
77
  msgstr "Wunschort"
78
 
79
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:97
80
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:953
81
  #: woocommerce-germanized-dhl/src/ParcelServices.php:48
82
  msgctxt "dhl"
83
  msgid "Preferred Neighbor"
@@ -90,24 +90,24 @@ msgstr "Beilage-Retourenlabel erstellen"
90
 
91
  # @ woocommerce-germanized
92
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:120
93
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:680
94
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:749
95
  msgctxt "dhl"
96
  msgid "Name"
97
  msgstr "Name"
98
 
99
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:129
100
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:687
101
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:756
102
  msgctxt "dhl"
103
  msgid "Company"
104
  msgstr "Firma"
105
 
106
  # @ woocommerce-germanized
107
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:138
108
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:361
109
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:694
110
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:763
111
  msgctxt "dhl"
112
  msgid "Street"
113
  msgstr "Straße"
@@ -120,9 +120,9 @@ msgstr "Hausnummer"
120
 
121
  # @ woocommerce-germanized
122
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:158
123
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:362
124
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:715
125
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:784
126
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder.php:27
127
  msgctxt "dhl"
128
  msgid "Postcode"
@@ -130,25 +130,25 @@ msgstr "Postleitzahl"
130
 
131
  # @ woocommerce-germanized
132
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:167
133
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:363
134
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:708
135
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:777
136
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder.php:30
137
  msgctxt "dhl"
138
  msgid "City"
139
  msgstr "Stadt"
140
 
141
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:178
142
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:731
143
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:800
144
  msgctxt "dhl"
145
  msgid "Phone"
146
  msgstr "Telefon"
147
 
148
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:187
149
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:585
150
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:738
151
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:807
152
  msgctxt "dhl"
153
  msgid "Email"
154
  msgstr "E-Mail"
@@ -191,7 +191,7 @@ msgid "No neighbor"
191
  msgstr "Keine Nachbarschaftszustellung"
192
 
193
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:258
194
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:498
195
  msgctxt "dhl"
196
  msgid "Named person only"
197
  msgstr "Persönliche Übergabe"
@@ -218,50 +218,11 @@ msgid "Minimum age"
218
  msgstr "Mindestalter"
219
 
220
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:306
221
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:519
222
  msgctxt "dhl"
223
  msgid "Premium"
224
  msgstr "Premium"
225
 
226
- #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone.php:17
227
- #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label.php:30
228
- msgctxt "dhl"
229
- msgid "Create label"
230
- msgstr "Label erstellen"
231
-
232
- #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone.php:29
233
- msgctxt "dhl"
234
- msgid "Create"
235
- msgstr "Erstellen"
236
-
237
- #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label.php:13
238
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:275
239
- msgctxt "dhl"
240
- msgid "DHL Label"
241
- msgstr "DHL Label"
242
-
243
- #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label.php:20
244
- msgctxt "dhl"
245
- msgid "Download"
246
- msgstr "Download"
247
-
248
- # @ woocommerce-germanized
249
- #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label.php:23
250
- msgctxt "dhl"
251
- msgid "Send to customer"
252
- msgstr "An den Kunden senden"
253
-
254
- #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label.php:26
255
- msgctxt "dhl"
256
- msgid "Delete"
257
- msgstr "Löschen"
258
-
259
- #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label.php:30
260
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:414
261
- msgctxt "dhl"
262
- msgid "Create new DHL label"
263
- msgstr "Neues DHL Label erstellen"
264
-
265
  # @ woocommerce-germanized
266
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-return-label-backbone-form.php:18
267
  msgctxt "dhl"
@@ -269,39 +230,11 @@ msgid "Receiver"
269
  msgstr "Empfänger"
270
 
271
  #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:15
272
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:192
273
- #: woocommerce-germanized-dhl/src/Package.php:238
274
- msgctxt "dhl"
275
- msgid "DHL"
276
- msgstr "DHL"
277
-
278
- #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:19
279
- #, php-format
280
- msgctxt "dhl"
281
- msgid ""
282
- "Adjust DHL settings accordingly. <a href=\"%s\">Global settings</a> will be "
283
- "used as fallback."
284
- msgstr ""
285
- "DHL Einstellungen anpassen. <a href=\"%s\">Globale Einstellungen</a> werden "
286
- "als Standard verwendet."
287
-
288
- #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:22
289
- msgctxt "dhl"
290
- msgid "Ship via DHL"
291
- msgstr "Mit DHL versenden"
292
-
293
- # @ woocommerce-germanized
294
- #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:24
295
- msgctxt "dhl"
296
- msgid "Enables DHL features."
297
- msgstr "DHL Funktionen aktivieren."
298
-
299
- #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:29
300
  msgctxt "dhl"
301
  msgid "DHL Labels"
302
  msgstr "DHL Labels"
303
 
304
- #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:32
305
  #, php-format
306
  msgctxt "dhl"
307
  msgid ""
@@ -312,12 +245,12 @@ msgstr ""
312
  "\">globalen Einstellungen</a>."
313
 
314
  # @ woocommerce-germanized
315
- #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:42
316
  msgctxt "dhl"
317
  msgid "DHL Label Services"
318
  msgstr "DHL Services"
319
 
320
- #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:45
321
  #, php-format
322
  msgctxt "dhl"
323
  msgid ""
@@ -328,12 +261,12 @@ msgstr ""
328
  "\">globalen Einstellungen</a>."
329
 
330
  # @ woocommerce-germanized
331
- #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:55
332
  msgctxt "dhl"
333
  msgid "DHL Label Automation"
334
  msgstr "DHL Label Automatisierung"
335
 
336
- #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:58
337
  #, php-format
338
  msgctxt "dhl"
339
  msgid ""
@@ -343,12 +276,12 @@ msgstr ""
343
  "Automatisierung-Einstellungen für Label anpassen. Änderungen überschreiben "
344
  "die <a href=\"%s\">globalen Einstellungen</a>."
345
 
346
- #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:67
347
  msgctxt "dhl"
348
  msgid "DHL Preferred Services"
349
  msgstr "DHL Wunschpaket-Services"
350
 
351
- #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:70
352
  #, php-format
353
  msgctxt "dhl"
354
  msgid ""
@@ -358,12 +291,12 @@ msgstr ""
358
  "Wunschpaket-Services anpassen. Änderungen überschreiben die <a href=\"%s"
359
  "\">globalen Einstellungen</a>."
360
 
361
- #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:80
362
  msgctxt "dhl"
363
  msgid "DHL Pickup"
364
  msgstr "DHL Standorte"
365
 
366
- #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:83
367
  #, php-format
368
  msgctxt "dhl"
369
  msgid ""
@@ -399,140 +332,140 @@ msgid "DHL label for your order: #{order_number}"
399
  msgstr "DHL Label zu deiner Bestellung: #{order_number}"
400
 
401
  # @ woocommerce-germanized
402
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:36
403
- #: woocommerce-germanized-dhl/src/Api/Paket.php:279
404
  #: woocommerce-germanized-dhl/templates/checkout/dhl/preferred-services.php:81
405
  msgctxt "dhl time context"
406
  msgid "None"
407
  msgstr "Keine"
408
 
409
  # @ woocommerce-germanized
410
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:46
411
- #: woocommerce-germanized-dhl/src/Api/Paket.php:267
412
  msgctxt "dhl day context"
413
  msgid "None"
414
  msgstr "Keiner"
415
 
416
  # @ woocommerce-germanized
417
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:71
418
  msgctxt "dhl"
419
  msgid "Delivery Duty Unpaid"
420
  msgstr "Delivery Duty Unpaid"
421
 
422
  # @ woocommerce-germanized
423
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:72
424
  msgctxt "dhl"
425
  msgid "Delivery Duty Paid"
426
  msgstr "Delivery Duty Paid"
427
 
428
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:73
429
  msgctxt "dhl"
430
  msgid "Delivery Duty Paid (excl. VAT )"
431
  msgstr "Delivered Duty Paid (exkl. MwSt.)"
432
 
433
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:74
434
  msgctxt "dhl"
435
  msgid "Delivery Duty Paid (excl. Duties, taxes and VAT)"
436
  msgstr "Delivery Duty Paid (exkl. Zölle, Steuern und MwSt.)"
437
 
438
  # @ woocommerce-germanized
439
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:82
440
  msgctxt "age context"
441
  msgid "None"
442
  msgstr "Keine"
443
 
444
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:83
445
  msgctxt "dhl"
446
  msgid "Minimum age of 16"
447
  msgstr "Mindestens 16 Jahre"
448
 
449
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:84
450
  msgctxt "dhl"
451
  msgid "Minimum age of 18"
452
  msgstr "Mindestens 18 Jahre"
453
 
454
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:111
455
  msgctxt "dhl"
456
- msgid "Shipment #{shipment_id} to order #{order_id}"
457
- msgstr "Sendung #{shipment_id} zur Bestellung #{order_id}"
458
 
459
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:126
460
  msgctxt "dhl"
461
  msgid "Return #{shipment_id} to shipment #{original_shipment_id}"
462
  msgstr "Retoure #{shipment_id} zur Sendung #{original_shipment_id}"
463
 
464
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:140
465
  msgctxt "dhl"
466
  msgid "Return shipment #{shipment_id} to order #{order_id}"
467
  msgstr "Retourensendung #{shipment_id} zur Bestellung #{order_id}"
468
 
469
  # @ woocommerce-germanized
470
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:233
471
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:184
472
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:431
473
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:790
474
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder.php:38
475
  msgctxt "dhl"
476
  msgid "Packstation"
477
  msgstr "Packstation"
478
 
479
  # @ woocommerce-germanized
480
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:234
481
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:235
482
  msgctxt "dhl"
483
  msgid "Postfiliale"
484
  msgstr "Postfiliale"
485
 
486
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:304
487
  msgctxt "dhl"
488
  msgid "Receiver is missing or does not exist."
489
  msgstr "Empfänger fehlt oder existiert nicht."
490
 
491
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:337
492
  #, php-format
493
  msgctxt "dhl"
494
  msgid "Shipment order #%s does not exist"
495
  msgstr "Bestellung zur Sendung #%s existiert nicht"
496
 
497
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:368
498
  #, php-format
499
  msgctxt "dhl"
500
  msgid "%s of the return address is a mandatory field."
501
  msgstr "%s der Rücksendeadresse ist ein Pflichtfeld."
502
 
503
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:373
504
  msgctxt "dhl"
505
  msgid "Please either add a return company or name."
506
  msgstr ""
507
  "Bitte gib entweder einen Firmennamen oder Namen für die Rücksendeadresse an."
508
 
509
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:392
510
  msgctxt "dhl"
511
  msgid "Error while parsing preferred day."
512
  msgstr "Fehler beim Einlesen des Wunschtags."
513
 
514
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:403
515
  msgctxt "dhl"
516
  msgid "Error while parsing preferred time."
517
  msgstr "Fehler beim Einlesen der Wunschzeit."
518
 
519
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:427
520
  msgctxt "dhl"
521
  msgid "The visual min age check is invalid."
522
  msgstr "Das Alter der Alterssichtprüfung ist ungültig."
523
 
524
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:443
525
  msgctxt "dhl"
526
  msgid "The ident min age check is invalid."
527
  msgstr "Das Alter des Ident-Checks ist ungültig."
528
 
529
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:450
530
  msgctxt "dhl"
531
  msgid "There was an error parsing the date of birth for the identity check."
532
  msgstr ""
533
  "Beim Einlesen des Geburtsdatums für den Ident-Check trat ein Problem auf."
534
 
535
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:455
536
  msgctxt "dhl"
537
  msgid ""
538
  "Either a minimum age or a date of birth must be added to the ident check."
@@ -541,151 +474,151 @@ msgstr ""
541
  "hinzugefügt werden."
542
 
543
  # @ woocommerce-germanized
544
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:468
545
  #, php-format
546
  msgctxt "dhl"
547
  msgid "%s duties element does not exist."
548
  msgstr "%s Zollabgabe existiert nicht."
549
 
550
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:798
551
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:873
552
  msgctxt "dhl"
553
  msgid "Invalid shipment"
554
  msgstr "Ungültige Sendung"
555
 
556
  # @ woocommerce-germanized
557
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:802
558
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:877
559
  msgctxt "dhl"
560
  msgid "Order does not exist"
561
  msgstr "Bestellung existiert nicht"
562
 
563
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:825
564
  msgctxt "dhl"
565
  msgid "Error while creating the label instance"
566
  msgstr "Fehler beim Erstellen der Label-Instanz"
567
 
568
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:945
569
  msgctxt "dhl"
570
  msgid "Invalid label"
571
  msgstr "Ungültiges Label"
572
 
573
  # @ woocommerce-germanized
574
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1033
575
  msgctxt "dhl"
576
  msgid "DHL Retoure International A"
577
  msgstr "DHL Retoure International A"
578
 
579
  # @ woocommerce-germanized
580
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1034
581
  msgctxt "dhl"
582
  msgid "DHL Retoure International B"
583
  msgstr "DHL Retoure International B"
584
 
585
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1043
586
  msgctxt "dhl"
587
  msgid "DHL Retoure Online"
588
  msgstr "DHL Retoure Online"
589
 
590
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1054
591
  msgctxt "dhl"
592
  msgid "DHL Paket Connect"
593
  msgstr "DHL Paket Connect"
594
 
595
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1055
596
  msgctxt "dhl"
597
  msgid "DHL Europaket (B2B)"
598
  msgstr "DHL Europaket (B2B)"
599
 
600
  # @ woocommerce-germanized
601
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1056
602
  msgctxt "dhl"
603
  msgid "DHL Paket International"
604
  msgstr "DHL Paket International"
605
 
606
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1122
607
  msgctxt "dhl"
608
  msgid "DHL Paket"
609
  msgstr "DHL Paket"
610
 
611
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1123
612
  msgctxt "dhl"
613
  msgid "DHL Paket PRIO"
614
  msgstr "DHL Paket PRIO"
615
 
616
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1124
617
  msgctxt "dhl"
618
  msgid "DHL Paket Taggleich"
619
  msgstr "DHL Paket Taggleich"
620
 
621
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1211
622
  msgctxt "dhl"
623
  msgid "Error while uploading label."
624
  msgstr "Fehler beim Hochladen des Labels."
625
 
626
  # @ woocommerce-germanized
627
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:91
628
  msgctxt "dhl"
629
  msgid "Receiver Ids"
630
  msgstr "Empfänger IDs"
631
 
632
  # @ woocommerce-germanized
633
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:98
634
  msgctxt "dhl"
635
  msgid "Receiver Id"
636
  msgstr "Empfänger ID"
637
 
638
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:98
639
  msgctxt "dhl"
640
  msgid "Find your Receiver Ids within your DHL contract data."
641
  msgstr "Die Empfänger IDs findest du im DHL Geschäftskundenportal."
642
 
643
  # @ woocommerce-germanized
644
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:99
645
  msgctxt "dhl"
646
  msgid "Country Code"
647
  msgstr "Ländercode"
648
 
649
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:99
650
  msgctxt "dhl"
651
  msgid "Leave empty to use the Receiver Id as fallback."
652
  msgstr "Leer lassen, um diese Empfänger ID als Fallback zu verwenden."
653
 
654
  # @ woocommerce-germanized
655
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:119
656
  msgctxt "dhl"
657
  msgid "+ Add receiver"
658
  msgstr "+ Empfänger hinzufügen"
659
 
660
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:119
661
  msgctxt "dhl"
662
  msgid "Remove selected receiver(s)"
663
  msgstr "Ausgewählte Empfänger löschen"
664
 
665
  # @ woocommerce-germanized
666
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:155
667
  msgctxt "dhl"
668
  msgid "Select a country"
669
  msgstr "Land auswählen"
670
 
671
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:157
672
  msgctxt "dhl"
673
  msgid "Harmonized Tariff Schedule (DHL)"
674
  msgstr "Harmonized Tariff Schedule (DHL)"
675
 
676
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:157
677
  msgctxt "dhl"
678
  msgid "This code is needed for customs of international shipping."
679
  msgstr ""
680
  "Dieser Code wird für die Zollabwicklung bei internationalen Sendungen "
681
  "benötigt."
682
 
683
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:158
684
  msgctxt "dhl"
685
  msgid "Country of manufacture (DHL)"
686
  msgstr "Herstellungsland (DHL)"
687
 
688
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:158
689
  msgctxt "dhl"
690
  msgid ""
691
  "The country of manufacture is needed for customs of international shipping."
@@ -693,7 +626,7 @@ msgstr ""
693
  "Das Herstellungsland wird für die Zollabwicklung bei internationalen "
694
  "Sendungen benötigt."
695
 
696
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:185
697
  #, php-format
698
  msgctxt "dhl"
699
  msgid ""
@@ -703,36 +636,17 @@ msgstr ""
703
  "Das Verzeichnis zum Speichern von DHL Labels fehlt. Bitte erstelle den "
704
  "Ordner %s manuell und stelle sicher, dass der Ordner beschreibbar ist."
705
 
706
- # @ woocommerce-germanized
707
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:215
708
  msgctxt "dhl"
709
- msgid "Download labels"
710
- msgstr "Labels downloaden"
711
-
712
- # @ woocommerce-germanized
713
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:222
714
- msgctxt "dhl"
715
- msgid "Generate and download labels"
716
- msgstr "Labels erstellen und downloaden"
717
-
718
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:248
719
- #: woocommerce-germanized-dhl/src/Ajax.php:278
720
- msgctxt "dhl"
721
- msgid "Download DHL label"
722
- msgstr "DHL Label downloaden"
723
-
724
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:256
725
- msgctxt "dhl"
726
- msgid "Send DHL label to customer"
727
- msgstr "DHL Label dem Kunden zusenden"
728
 
729
- # @ woocommerce-germanized
730
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:263
731
  msgctxt "dhl"
732
- msgid "Generate DHL label"
733
- msgstr "DHL Label erstellen"
734
 
735
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:287
736
  msgctxt "dhl"
737
  msgid ""
738
  "This label has been generated by the DHL for WooCommerce Plugin and is shown "
@@ -742,45 +656,11 @@ msgstr ""
742
  "Kompatibilitäts-Gründen angezeigt."
743
 
744
  # @ woocommerce-germanized
745
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:288
746
- #: woocommerce-germanized-dhl/src/Ajax.php:278
747
  msgctxt "dhl"
748
  msgid "Download label"
749
  msgstr "Label downloaden"
750
 
751
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:413
752
- msgctxt "dhl"
753
- msgid "Do you really want to delete the label?"
754
- msgstr "Möchtest du das Label wirklich löschen?"
755
-
756
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:415
757
- msgctxt "dhl"
758
- msgid "Please save the shipment before creating a new label"
759
- msgstr "Bitte speichere die Sendung bevor du ein neues Label erzeugst"
760
-
761
- # @ woocommerce-germanized
762
- #: woocommerce-germanized-dhl/src/Admin/BulkLabel.php:31
763
- msgctxt "dhl"
764
- msgid "Generating labels..."
765
- msgstr "Labels werden erzeugt..."
766
-
767
- #: woocommerce-germanized-dhl/src/Admin/BulkLabel.php:74
768
- msgctxt "dhl"
769
- msgid "Successfully generated labels."
770
- msgstr "Labels erfolgreich erzeugt."
771
-
772
- #: woocommerce-germanized-dhl/src/Admin/BulkLabel.php:92
773
- #, php-format
774
- msgctxt "dhl"
775
- msgid "Error while creating label for %s: %s"
776
- msgstr "Fehler beim Erstellen des Labels für %s. %s"
777
-
778
- #: woocommerce-germanized-dhl/src/Admin/BulkLabel.php:92
779
- #, php-format
780
- msgctxt "dhl"
781
- msgid "shipment #%d"
782
- msgstr "Sendung #%d"
783
-
784
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:29
785
  msgctxt "dhl"
786
  msgid "Enable DHL"
@@ -825,7 +705,7 @@ msgstr ""
825
  "Geschäftskundenportal eingeben."
826
 
827
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:76
828
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:411
829
  msgctxt "dhl"
830
  msgid "Inlay Returns"
831
  msgstr "Beilageretouren"
@@ -840,8 +720,8 @@ msgstr ""
840
  "solltest du diese Funktion standardmäßig aktivieren."
841
 
842
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:90
843
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:642
844
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:872
845
  msgctxt "dhl"
846
  msgid "Retoure"
847
  msgstr "Retoure"
@@ -876,7 +756,7 @@ msgstr ""
876
 
877
  # @ woocommerce-germanized
878
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:118
879
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:666
880
  msgctxt "dhl"
881
  msgid "Automation"
882
  msgstr "Automatisierung"
@@ -902,8 +782,8 @@ msgstr ""
902
 
903
  # @ woocommerce-germanized
904
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:151
905
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:901
906
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:921
907
  msgctxt "dhl"
908
  msgid "Fee"
909
  msgstr "Gebühr"
@@ -936,7 +816,7 @@ msgstr ""
936
  "Folgenden konfiguriert) als Lieferadresse auswählen."
937
 
938
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:198
939
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1081
940
  msgctxt "dhl"
941
  msgid "Map"
942
  msgstr "Karte"
@@ -1173,7 +1053,21 @@ msgstr ""
1173
  "Wähle ein Standard Sendungsgewicht aus, das für Labels verwendet wird, für "
1174
  "die das Gewicht nicht automatisch bestimmt werden kann."
1175
 
1176
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:412
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1177
  msgctxt "dhl"
1178
  msgid ""
1179
  "Additionally create inlay return labels for shipments that support returns."
@@ -1181,76 +1075,105 @@ msgstr ""
1181
  "Erzeuge zusätzlich Beilage-Retourenlabels für Sendungen die Retouren "
1182
  "unterstützen."
1183
 
1184
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:432
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1185
  msgctxt "dhl"
1186
  msgid "Enable delivery to Packstation."
1187
  msgstr "Aktiviere den Versand an Packstationen."
1188
 
1189
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:433
1190
  msgctxt "dhl"
1191
  msgid "Let customers choose a Packstation as delivery address."
1192
  msgstr "Kunden eine Packstation als Lieferadresse auswählen lassen."
1193
 
1194
  # @ woocommerce-germanized
1195
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:440
1196
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder.php:50
1197
  msgctxt "dhl"
1198
  msgid "Postoffice"
1199
  msgstr "Postfiliale"
1200
 
1201
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:441
1202
  msgctxt "dhl"
1203
  msgid "Enable delivery to Post Offices."
1204
  msgstr "Aktiviere den Versand an Postfilialen."
1205
 
1206
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:442
1207
  msgctxt "dhl"
1208
  msgid "Let customers choose a Post Office as delivery address."
1209
  msgstr "Kunden eine Postfiliale als Lieferadresse auswählen lassen."
1210
 
1211
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:449
1212
  msgctxt "dhl"
1213
  msgid "Parcel Shop"
1214
  msgstr "Paketshop"
1215
 
1216
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:450
1217
  msgctxt "dhl"
1218
  msgid "Enable delivery to Parcel Shops."
1219
  msgstr "Lieferung an Paketshops aktivieren."
1220
 
1221
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:451
1222
  msgctxt "dhl"
1223
  msgid "Let customers choose a Parcel Shop as delivery address."
1224
  msgstr "Kunden einen Paketshop als Lieferadresse auswählen lassen."
1225
 
1226
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:469
1227
  msgctxt "dhl"
1228
  msgid "Visual minimum age"
1229
  msgstr "Alterssichtprüfung"
1230
 
1231
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:474
1232
  msgctxt "dhl"
1233
  msgid "Choose this option if you want to let DHL check your customer's age."
1234
  msgstr ""
1235
  "Wähle diese Option aus, wenn du das Alter durch DHL prüfen lassen möchtest."
1236
 
1237
  # @ woocommerce-germanized
1238
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:477
1239
  msgctxt "dhl"
1240
  msgid "Additional Insurance"
1241
  msgstr "Transportversicherung"
1242
 
1243
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:478
1244
  msgctxt "dhl"
1245
  msgid "Add an additional insurance to labels."
1246
  msgstr "Füge eine Transportversicherung zur Sendung hinzu."
1247
 
1248
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:484
1249
  msgctxt "dhl"
1250
  msgid "Retail Outlet Routing"
1251
  msgstr "Filialrouting"
1252
 
1253
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:485
1254
  msgctxt "dhl"
1255
  msgid ""
1256
  "Send undeliverable items to nearest retail outlet instead of immediate "
@@ -1259,46 +1182,46 @@ msgstr ""
1259
  "Sende unzustellbare Sendungen in die nächstgelegene Filiale zur Abholung "
1260
  "anstelle diese direkt zurückzusenden."
1261
 
1262
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:491
1263
  msgctxt "dhl"
1264
  msgid "No Neighbor"
1265
  msgstr "Keine Nachbarschaftszustellung"
1266
 
1267
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:492
1268
  msgctxt "dhl"
1269
  msgid "Do not deliver to neighbors."
1270
  msgstr "Schließe eine Ersatzzustellung beim Nachbarn aus."
1271
 
1272
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:499
1273
  msgctxt "dhl"
1274
  msgid "Do only delivery to named person."
1275
  msgstr ""
1276
  "Lasse Pakete nur an den Empfänger persönlich oder an eine bevollmächtigte "
1277
  "Person übergeben."
1278
 
1279
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:505
1280
  msgctxt "dhl"
1281
  msgid "Bulky Goods"
1282
  msgstr "Sperrgut"
1283
 
1284
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:506
1285
  msgctxt "dhl"
1286
  msgid "Deliver as bulky goods."
1287
  msgstr "Sende Pakete als Sperrgut."
1288
 
1289
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:512
1290
  msgctxt "dhl"
1291
  msgid "Age Verification"
1292
  msgstr "Alterssichtprüfung"
1293
 
1294
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:513
1295
  msgctxt "dhl"
1296
  msgid "Verify ages if shipment contains applicable items."
1297
  msgstr ""
1298
  "Aktiviere die Alterssichtprüfung, falls die Sendung zu prüfende Positionen "
1299
  "beinhaltet."
1300
 
1301
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:513
1302
  #, php-format
1303
  msgctxt "dhl"
1304
  msgid ""
@@ -1311,65 +1234,65 @@ msgstr ""
1311
  "Alterssichtprüfung automatisch aktiviert, falls eine Sendung zu prüfenden "
1312
  "Produkte beinhaltet."
1313
 
1314
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:513
1315
  msgctxt "dhl"
1316
  msgid "age verification checkbox"
1317
  msgstr "Checkbox zur Altersprüfung"
1318
 
1319
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:520
1320
  msgctxt "dhl"
1321
  msgid "Premium delivery for international shipments."
1322
  msgstr "Premium Lieferung für internationale Sendungen."
1323
 
1324
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:539
1325
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1132
1326
  msgctxt "dhl"
1327
  msgid "Labels"
1328
  msgstr "Labels"
1329
 
1330
  # @ woocommerce-germanized
1331
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:540
1332
  msgctxt "dhl"
1333
  msgid "Automatically create labels for shipments."
1334
  msgstr "Automatisch Labels zu Sendungen erstellen."
1335
 
1336
  # @ woocommerce-germanized
1337
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:547
1338
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:574
1339
  msgctxt "dhl"
1340
  msgid "Status"
1341
  msgstr "Status"
1342
 
1343
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:551
1344
  msgctxt "dhl"
1345
  msgid "Choose a shipment status which should trigger generation of a label."
1346
  msgstr ""
1347
  "Wähle einen Sendungsstatus aus, der die Erzeugung eines Labels auslösen soll."
1348
 
1349
  # @ woocommerce-germanized
1350
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:558
1351
  msgctxt "dhl"
1352
  msgid "Shipment Status"
1353
  msgstr "Sendungsstatus"
1354
 
1355
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:559
1356
  msgctxt "dhl"
1357
  msgid "Mark shipment as shipped after label has been created successfully."
1358
  msgstr ""
1359
  "Sendung als versandt markieren, sobald ein Label erfolgreich erstellt wurde."
1360
 
1361
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:566
1362
  msgctxt "dhl"
1363
  msgid "Returns"
1364
  msgstr "Retouren"
1365
 
1366
  # @ woocommerce-germanized
1367
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:567
1368
  msgctxt "dhl"
1369
  msgid "Automatically create labels for returns."
1370
  msgstr "Automatisch Retourenlabels zu Retourensendungen erstellen."
1371
 
1372
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:578
1373
  msgctxt "dhl"
1374
  msgid ""
1375
  "Choose a shipment status which should trigger generation of a return label."
@@ -1377,12 +1300,12 @@ msgstr ""
1377
  "Wähle einen Sendungsstatus aus, der die Erzeugung eines Retourenlabels "
1378
  "auslösen soll."
1379
 
1380
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:586
1381
  msgctxt "dhl"
1382
  msgid "Send the return label to the customer by email after creating it."
1383
  msgstr "Sende das Retourenlabel nach dem Erstellen per E-Mail an den Kunden."
1384
 
1385
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:632
1386
  #, php-format
1387
  msgctxt "dhl"
1388
  msgid ""
@@ -1393,12 +1316,12 @@ msgstr ""
1393
  "können von abweichenden Einstellungen der %s überschrieben werden."
1394
 
1395
  # @ woocommerce-germanized
1396
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:632
1397
  msgctxt "dhl"
1398
  msgid "shipping method"
1399
  msgstr "Versandmethode"
1400
 
1401
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:642
1402
  #, php-format
1403
  msgctxt "dhl"
1404
  msgid ""
@@ -1409,18 +1332,18 @@ msgstr ""
1409
  "an. Stelle sicher, dass dein %s DHL Retoure Online enthält."
1410
 
1411
  # @ woocommerce-germanized
1412
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:642
1413
  msgctxt "dhl"
1414
  msgid "contract"
1415
  msgstr "Vertrag"
1416
 
1417
  # @ woocommerce-germanized
1418
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:654
1419
  msgctxt "dhl"
1420
  msgid "Default Services"
1421
  msgstr "Standard-Services"
1422
 
1423
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:654
1424
  #, php-format
1425
  msgctxt "dhl"
1426
  msgid ""
@@ -1430,12 +1353,12 @@ msgstr ""
1430
  "Passe hier an, welche der Services als Standard für deine Labels gebucht "
1431
  "werden sollen. Finde mehr über diese %s heraus."
1432
 
1433
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:654
1434
  msgctxt "dhl"
1435
  msgid "nationwide services"
1436
  msgstr "nationalen Services"
1437
 
1438
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:666
1439
  msgctxt "dhl"
1440
  msgid ""
1441
  "Choose whether and under which conditions labels for your shipments shall be "
@@ -1445,38 +1368,38 @@ msgstr ""
1445
  "erzeugt werden sollen."
1446
 
1447
  # @ woocommerce-germanized
1448
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:677
1449
  msgctxt "dhl"
1450
  msgid "Shipper Address"
1451
  msgstr "Absenderadresse"
1452
 
1453
  # @ woocommerce-germanized
1454
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:701
1455
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:770
1456
  msgctxt "dhl"
1457
  msgid "Street Number"
1458
  msgstr "Hausnummer"
1459
 
1460
  # @ woocommerce-germanized
1461
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:722
1462
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:791
1463
  msgctxt "dhl"
1464
  msgid "Country"
1465
  msgstr "Land"
1466
 
1467
  # @ woocommerce-germanized
1468
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:746
1469
  msgctxt "dhl"
1470
  msgid "Inlay Return Address"
1471
  msgstr "Beilageretouren Adresse"
1472
 
1473
  # @ woocommerce-germanized
1474
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:815
1475
  msgctxt "dhl"
1476
  msgid "Bank Account"
1477
  msgstr "Bankkonto"
1478
 
1479
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:815
1480
  msgctxt "dhl"
1481
  msgid "Enter your bank details needed for services that use COD."
1482
  msgstr ""
@@ -1484,36 +1407,36 @@ msgstr ""
1484
  "werden sollen."
1485
 
1486
  # @ woocommerce-germanized
1487
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:818
1488
  msgctxt "dhl"
1489
  msgid "Holder"
1490
  msgstr "Kontoinhaber"
1491
 
1492
  # @ woocommerce-germanized
1493
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:825
1494
  msgctxt "dhl"
1495
  msgid "Bank Name"
1496
  msgstr "Name der Bank"
1497
 
1498
  # @ woocommerce-germanized
1499
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:832
1500
  msgctxt "dhl"
1501
  msgid "IBAN"
1502
  msgstr "IBAN"
1503
 
1504
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:839
1505
  msgctxt "dhl"
1506
  msgid "BIC"
1507
  msgstr "BIC"
1508
 
1509
  # @ woocommerce-germanized
1510
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:846
1511
  msgctxt "dhl"
1512
  msgid "Payment Reference"
1513
  msgstr "Zahlungsreferenz"
1514
 
1515
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:850
1516
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:859
1517
  #, php-format
1518
  msgctxt "dhl"
1519
  msgid ""
@@ -1524,18 +1447,18 @@ msgstr ""
1524
  "%s. Der Text ist auf 35 Zeichen begrenzt."
1525
 
1526
  # @ woocommerce-germanized
1527
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:855
1528
  msgctxt "dhl"
1529
  msgid "Payment Reference 2"
1530
  msgstr "Zahlungsreferenz 2"
1531
 
1532
  # @ woocommerce-germanized
1533
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:873
1534
  msgctxt "dhl"
1535
  msgid "Enable creating labels for return shipments."
1536
  msgstr "Automatisch Retourenlabels zu Retourensendungen erstellen."
1537
 
1538
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:873
1539
  msgctxt "dhl"
1540
  msgid ""
1541
  "By enabling this option you might generate retoure labels for return "
@@ -1544,12 +1467,12 @@ msgstr ""
1544
  "Mit der Aktivierung dieser Option kannst du Retourenlabels zu "
1545
  "Retourensendungen erstellen und diese per E-Mail an den Kunden weiterleiten."
1546
 
1547
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:894
1548
  msgctxt "dhl"
1549
  msgid "Enable preferred day delivery."
1550
  msgstr "Aktiviere die Lieferung am Wunschtag."
1551
 
1552
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:894
1553
  msgctxt "dhl"
1554
  msgid ""
1555
  "Enabling this option will display options for the user to select their "
@@ -1558,7 +1481,7 @@ msgstr ""
1558
  "Diese Option aktiviert die Auswahl eines Wunschtags durch den Kunden in der "
1559
  "Kasse."
1560
 
1561
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:903
1562
  msgctxt "dhl"
1563
  msgid ""
1564
  "Insert gross value as surcharge for preferred day delivery. Insert 0 to "
@@ -1567,12 +1490,12 @@ msgstr ""
1567
  "Füge einen Bruttopreis als Gebühr für die Lieferung am Wunschtag hinzu. "
1568
  "Setze den Wert auf 0 um den Service kostenlos anzubieten."
1569
 
1570
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:914
1571
  msgctxt "dhl"
1572
  msgid "Enable preferred time delivery."
1573
  msgstr "Aktiviere die Lieferung zur Wunschzeit."
1574
 
1575
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:914
1576
  msgctxt "dhl"
1577
  msgid ""
1578
  "Enabling this option will display options for the user to select their "
@@ -1581,7 +1504,7 @@ msgstr ""
1581
  "Diese Option aktiviert die Auswahl einer Wunschzeit durch den Kunden in der "
1582
  "Kasse."
1583
 
1584
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:923
1585
  msgctxt "dhl"
1586
  msgid ""
1587
  "Insert gross value as surcharge for preferred time delivery. Insert 0 to "
@@ -1590,12 +1513,12 @@ msgstr ""
1590
  "Füge einen Bruttopreis als Gebühr für die Lieferung zur Wunschzeit hinzu. "
1591
  "Setze den Wert auf 0 um den Service kostenlos anzubieten."
1592
 
1593
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:933
1594
  msgctxt "dhl"
1595
  msgid "Combined Fee"
1596
  msgstr "Kombinierte Gebühr"
1597
 
1598
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:935
1599
  msgctxt "dhl"
1600
  msgid ""
1601
  "Insert gross value as surcharge for the combination of preferred day and "
@@ -1606,12 +1529,12 @@ msgstr ""
1606
  "anzubieten."
1607
 
1608
  # @ woocommerce-germanized
1609
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:946
1610
  msgctxt "dhl"
1611
  msgid "Enable preferred location delivery."
1612
  msgstr "Lieferung an einen Wunschort aktivieren."
1613
 
1614
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:946
1615
  msgctxt "dhl"
1616
  msgid ""
1617
  "Enabling this option will display options for the user to select their "
@@ -1620,12 +1543,12 @@ msgstr ""
1620
  "Diese Option aktiviert die Auswahl eines Wunschorts durch den Kunden in der "
1621
  "Kasse ."
1622
 
1623
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:954
1624
  msgctxt "dhl"
1625
  msgid "Enable preferred neighbor delivery."
1626
  msgstr "Aktiviere die Lieferung an einen Wunschnachbarn."
1627
 
1628
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:954
1629
  msgctxt "dhl"
1630
  msgid ""
1631
  "Enabling this option will display options for the user to deliver to their "
@@ -1634,12 +1557,12 @@ msgstr ""
1634
  "Diese Option aktiviert die Auswahl eines Wunschnachbarn durch den Kunden in "
1635
  "der Kasse."
1636
 
1637
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:980
1638
  msgctxt "dhl"
1639
  msgid "Cut-off time"
1640
  msgstr "Cut-off-Zeit"
1641
 
1642
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:983
1643
  msgctxt "dhl"
1644
  msgid ""
1645
  "The cut-off time is the latest possible order time up to which the minimum "
@@ -1652,12 +1575,12 @@ msgstr ""
1652
  "Nach Überschreitung dieses Zeitpunktes, wird der früheste verfügbare "
1653
  "Wunschtag in der Kasse um einen Tag erhöht (Tag der Bestellung + 3 Werktage)."
1654
 
1655
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:989
1656
  msgctxt "dhl"
1657
  msgid "Preparation days"
1658
  msgstr "Bearbeitungstage"
1659
 
1660
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:992
1661
  msgctxt "dhl"
1662
  msgid ""
1663
  "If you need more time to prepare your shipments you might want to add a "
@@ -1668,71 +1591,71 @@ msgstr ""
1668
  "hier eine statische Anzahl an Tagen hinterlegen, die zum frühesten "
1669
  "auswählbaren Wunschtag hinzugefügt werden."
1670
 
1671
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:999
1672
  msgctxt "dhl"
1673
  msgid "Exclude days of transfer"
1674
  msgstr "Übergabetage ausschließen"
1675
 
1676
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1000
1677
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:31
1678
  msgctxt "dhl"
1679
  msgid "Monday"
1680
  msgstr "Montag"
1681
 
1682
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1001
1683
  msgctxt "dhl"
1684
  msgid "Exclude days from transferring shipments to DHL."
1685
  msgstr "Schließe bestimmte Wochentage für die Übergabe an DHL aus."
1686
 
1687
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1010
1688
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:32
1689
  msgctxt "dhl"
1690
  msgid "Tuesday"
1691
  msgstr "Dienstag"
1692
 
1693
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1019
1694
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:33
1695
  msgctxt "dhl"
1696
  msgid "Wednesday"
1697
  msgstr "Mittwoch"
1698
 
1699
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1028
1700
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:34
1701
  msgctxt "dhl"
1702
  msgid "Thursday"
1703
  msgstr "Donnerstag"
1704
 
1705
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1037
1706
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:35
1707
  msgctxt "dhl"
1708
  msgid "Friday"
1709
  msgstr "Freitag"
1710
 
1711
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1046
1712
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:36
1713
  msgctxt "dhl"
1714
  msgid "Saturday"
1715
  msgstr "Samstag"
1716
 
1717
  # @ woocommerce-germanized
1718
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1055
1719
  msgctxt "dhl"
1720
  msgid "Exclude gateways"
1721
  msgstr "Zahlungsarten ausschließen"
1722
 
1723
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1057
1724
  msgctxt "dhl"
1725
  msgid "Select payment gateways to be excluded from showing preferred services."
1726
  msgstr ""
1727
  "Wähle Zahlungsarten aus, für die die Wunschpaket-Services nicht zur "
1728
  "Verfügung stehen sollen."
1729
 
1730
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1082
1731
  msgctxt "dhl"
1732
  msgid "Let customers find a DHL location on a map."
1733
  msgstr "Lasse Kunden einen DHL Standort auf der Karte auswählen."
1734
 
1735
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1082
1736
  msgctxt "dhl"
1737
  msgid ""
1738
  "Enable this option to let your customers choose a pickup option from a map "
@@ -1743,12 +1666,12 @@ msgstr ""
1743
  "einer Karten in der Kasse zu ermöglichen. Wenn diese Option deaktiviert ist, "
1744
  "wird stattdessen auf die DHL Website verwiesen."
1745
 
1746
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1089
1747
  msgctxt "dhl"
1748
  msgid "Google Maps Key"
1749
  msgstr "Google Maps Schlüssel"
1750
 
1751
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1093
1752
  #, php-format
1753
  msgctxt "dhl"
1754
  msgid ""
@@ -1758,62 +1681,47 @@ msgstr ""
1758
  "Um eine Karte integrieren zu können, benötigst du einen gültigen API-"
1759
  "Schlüssel für Google Maps. Du kannst %s."
1760
 
1761
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1093
1762
  msgctxt "dhl"
1763
  msgid "retrieve a new one"
1764
  msgstr "hier einen neuen erstellen"
1765
 
1766
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1098
1767
  msgctxt "dhl"
1768
  msgid "Limit results"
1769
  msgstr "Suchergebnisse begrenzen"
1770
 
1771
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1102
1772
  msgctxt "dhl"
1773
  msgid "Limit the number of DHL locations shown on the map"
1774
  msgstr "Begrenzt die Anzahl der angezeigten DHL Standorte auf der Karte"
1775
 
1776
  # @ woocommerce-germanized
1777
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1131
1778
  msgctxt "dhl"
1779
  msgid "General"
1780
  msgstr "Allgemein"
1781
 
1782
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1133
1783
  msgctxt "dhl"
1784
  msgid "Preferred Services"
1785
  msgstr "Wunschpaket"
1786
 
1787
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1134
1788
  msgctxt "dhl"
1789
  msgid "Parcel Pickup"
1790
  msgstr "Standorte"
1791
 
1792
- #: woocommerce-germanized-dhl/src/Ajax.php:68
1793
  msgctxt "dhl"
1794
  msgid "Label successfully sent to customer."
1795
  msgstr "Label erfolgreich an den Kunden zugestellt."
1796
 
1797
- #: woocommerce-germanized-dhl/src/Ajax.php:75
1798
  msgctxt "dhl"
1799
  msgid "There was an error while sending the label."
1800
  msgstr "Beim Versendes des Labels ist ein Fehler aufgetreten."
1801
 
1802
- #: woocommerce-germanized-dhl/src/Ajax.php:94
1803
- msgctxt "dhl"
1804
- msgid "There was an error creating the label."
1805
- msgstr "Beim Erstellen des Labels ist ein Fehler aufgetreten."
1806
-
1807
- #: woocommerce-germanized-dhl/src/Ajax.php:138
1808
- msgctxt "dhl"
1809
- msgid "There was an error deleting the label."
1810
- msgstr "Beim Löschen des Labels ist ein Fehler aufgetreten."
1811
-
1812
- #: woocommerce-germanized-dhl/src/Ajax.php:183
1813
- msgctxt "dhl"
1814
- msgid "There was an error processing the label."
1815
- msgstr "Bei der Verarbeitung des Labels ist ein Fehler aufgetreten."
1816
-
1817
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:37
1818
  msgctxt "dhl"
1819
  msgid "Sunday"
@@ -1893,38 +1801,38 @@ msgctxt "dhl"
1893
  msgid "Parcel API not available"
1894
  msgstr "Paket API ist nicht erreichbar"
1895
 
1896
- #: woocommerce-germanized-dhl/src/Api/Paket.php:245
1897
  msgctxt "dhl"
1898
  msgid "Mon"
1899
  msgstr "Mo"
1900
 
1901
- #: woocommerce-germanized-dhl/src/Api/Paket.php:246
1902
  msgctxt "dhl"
1903
  msgid "Tue"
1904
  msgstr "Di"
1905
 
1906
- #: woocommerce-germanized-dhl/src/Api/Paket.php:247
1907
  msgctxt "dhl"
1908
  msgid "Wed"
1909
  msgstr "Mi"
1910
 
1911
- #: woocommerce-germanized-dhl/src/Api/Paket.php:248
1912
  msgctxt "dhl"
1913
  msgid "Thu"
1914
  msgstr "Do"
1915
 
1916
- #: woocommerce-germanized-dhl/src/Api/Paket.php:249
1917
  msgctxt "dhl"
1918
  msgid "Fri"
1919
  msgstr "Fr"
1920
 
1921
  # @ woocommerce-germanized
1922
- #: woocommerce-germanized-dhl/src/Api/Paket.php:250
1923
  msgctxt "dhl"
1924
  msgid "Sat"
1925
  msgstr "Sa"
1926
 
1927
- #: woocommerce-germanized-dhl/src/Api/Paket.php:251
1928
  msgctxt "dhl"
1929
  msgid "Sun"
1930
  msgstr "So"
@@ -2001,30 +1909,30 @@ msgid "%s-%s"
2001
  msgstr "%s-%s"
2002
 
2003
  # @ woocommerce-germanized
2004
- #: woocommerce-germanized-dhl/src/Package.php:644
2005
  msgctxt "dhl"
2006
  msgid "Germany"
2007
  msgstr "Deutschland"
2008
 
2009
  # @ woocommerce-germanized
2010
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:79
2011
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:803
2012
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:828
2013
  msgctxt "dhl"
2014
  msgid "Address Type"
2015
  msgstr "Adresstyp"
2016
 
2017
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:82
2018
  msgctxt "dhl"
2019
  msgid "Select whether delivery to DHL locations should be enabled."
2020
  msgstr "Wähle aus, ob die Lieferung an DHL Standorte aktiviert werden soll."
2021
 
2022
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:87
2023
  msgctxt "dhl"
2024
  msgid "Postnumber"
2025
  msgstr "Postnummer"
2026
 
2027
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:89
2028
  msgctxt "dhl"
2029
  msgid ""
2030
  "In case delivery to packstation is selected please fill in the corresponding "
@@ -2033,31 +1941,31 @@ msgstr ""
2033
  "Insofern die Lieferung an eine Packstation erfolgt, bitte die Postnummer "
2034
  "eintragen."
2035
 
2036
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:175
2037
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:533
2038
  msgctxt "dhl"
2039
  msgid "Invalid address type."
2040
  msgstr "Ungültiger Adresstyp."
2041
 
2042
  # @ woocommerce-germanized
2043
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:596
2044
  msgctxt "dhl"
2045
  msgid "Sorry, but delivery to packstation is not available."
2046
  msgstr ""
2047
  "Entschuldigung, die Lieferung an eine Packstation steht nicht zur Verfügung."
2048
 
2049
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:601
2050
  msgctxt "dhl"
2051
  msgid "Sorry, but delivery to parcel shops is not available."
2052
  msgstr ""
2053
  "Entschuldigung, die Lieferung an einen Paketshop steht nicht zur Verfügung."
2054
 
2055
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:605
2056
  msgctxt "dhl"
2057
  msgid "Sorry, but delivery to post offices is not available."
2058
  msgstr "Entschuldigung, die Lieferung an Postfilialen ist nicht verfügbar."
2059
 
2060
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:612
2061
  #, php-format
2062
  msgctxt "dhl"
2063
  msgid "Please indicate shipment to %s by one of the following values: %s."
@@ -2065,7 +1973,7 @@ msgstr ""
2065
  "Bitte identifiziere die Lieferung an %s durch die Eingabe einer der "
2066
  "folgenden Werte: %s."
2067
 
2068
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:620
2069
  msgctxt "dhl"
2070
  msgid ""
2071
  "Your DHL customer number (Post number) is needed to ship to a packstation."
@@ -2073,7 +1981,7 @@ msgstr ""
2073
  "Deine DHL Kundennummer (Postnummer) wird für den Versand an eine Packstation "
2074
  "benötigt."
2075
 
2076
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:622
2077
  msgctxt "dhl"
2078
  msgid ""
2079
  "Your DHL customer number (Post number) is not valid. Please check your "
@@ -2082,64 +1990,64 @@ msgstr ""
2082
  "Deine DHL Kundennummer (Postnummer) ist nicht gültig. Bitte überprüfe deine "
2083
  "Eingabe."
2084
 
2085
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:667
2086
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:794
2087
  msgctxt "dhl"
2088
  msgid "Branch"
2089
  msgstr "Filiale"
2090
 
2091
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:668
2092
  msgctxt "dhl"
2093
  msgid "Postnumber "
2094
  msgstr "Postnummer "
2095
 
2096
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:769
2097
  #, php-format
2098
  msgctxt "dhl"
2099
  msgid "e.g. %s 456"
2100
  msgstr "z.B. %s 456"
2101
 
2102
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:794
2103
  msgctxt "dhl"
2104
  msgid "Branches"
2105
  msgstr "Filialen"
2106
 
2107
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:810
2108
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:838
2109
  msgctxt "dhl"
2110
  msgid "DHL customer number (Post number)"
2111
  msgstr "DHL Kundennummer (Postnummer)"
2112
 
2113
  # @ woocommerce-germanized
2114
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:820
2115
  msgctxt "dhl"
2116
  msgid "Regular Address"
2117
  msgstr "Normale Adresse"
2118
 
2119
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:842
2120
  msgctxt "dhl"
2121
  msgid "Not yet a DHL customer?"
2122
  msgstr "Noch kein DHL Kunde?"
2123
 
2124
  # @ woocommerce-germanized
2125
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:842
2126
  msgctxt "dhl"
2127
  msgid "Register now"
2128
  msgstr "Jetzt registrieren"
2129
 
2130
  # @ woocommerce-germanized
2131
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:891
2132
  #, php-format
2133
  msgctxt "dhl"
2134
  msgid "Search %s"
2135
  msgstr "%s suchen"
2136
 
2137
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:987
2138
  msgctxt "dhl"
2139
  msgid "No DHL locations found"
2140
  msgstr "Keine DHL Standorte gefunden"
2141
 
2142
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:1002
2143
  #, php-format
2144
  msgctxt "dhl"
2145
  msgid ""
@@ -2150,12 +2058,12 @@ msgstr ""
2150
  "%s oder %s."
2151
 
2152
  # @ woocommerce-germanized
2153
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:1002
2154
  msgctxt "dhl"
2155
  msgid "DHL location"
2156
  msgstr "DHL Standort"
2157
 
2158
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:1002
2159
  msgctxt "dhl"
2160
  msgid "retry"
2161
  msgstr "Erneut versuchen"
@@ -2200,13 +2108,29 @@ msgctxt "dhl"
2200
  msgid "Please choose name and address of your preferred neighbor."
2201
  msgstr "Bitte wähle einen Namen und die Adresse deines Wunschnachbars."
2202
 
2203
- #: woocommerce-germanized-dhl/src/ReturnLabel.php:157
2204
  #: woocommerce-germanized-dhl/src/SimpleLabel.php:86
2205
  #, php-format
2206
  msgctxt "dhl full name"
2207
  msgid "%1$s"
2208
  msgstr "%1$s"
2209
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2210
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder-result.php:31
2211
  msgctxt "dhl"
2212
  msgid "Opening Times"
@@ -2450,41 +2374,40 @@ msgid "LxWxH in decimal form."
2450
  msgstr "LxBxH in dezimaler Form."
2451
 
2452
  # @ woocommerce-germanized
2453
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:59
2454
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:703
2455
- #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:23
2456
- #: woocommerce-germanized-shipments/src/Admin/Table.php:643
2457
  msgctxt "shipments"
2458
  msgid "Status"
2459
  msgstr "Status"
2460
 
2461
  # @ woocommerce-germanized
2462
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:69
2463
  msgctxt "shipments"
2464
  msgid "Shipping method"
2465
  msgstr "Versandmethode"
2466
 
2467
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:80
2468
  msgctxt "shipments"
2469
  msgid "Shipping provider"
2470
  msgstr "Versanddienstleister"
2471
 
2472
- # @ woocommerce-germanized
2473
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:82
2474
  msgctxt "shipments"
2475
- msgid "None"
2476
- msgstr "Keiner"
2477
 
2478
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:96
2479
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:152
2480
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:209
2481
  msgctxt "shipments"
2482
  msgid "Item"
2483
  msgstr "Position"
2484
 
2485
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:99
2486
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:153
2487
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:210
2488
  #: woocommerce-germanized-shipments/templates/emails/email-shipment-details.php:55
2489
  #: woocommerce-germanized-shipments/templates/shipment/shipment-details.php:50
2490
  msgctxt "shipments"
@@ -2492,48 +2415,48 @@ msgid "Quantity"
2492
  msgstr "Anzahl"
2493
 
2494
  # @ woocommerce-germanized
2495
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:102
2496
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:705
2497
- #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:27
2498
- #: woocommerce-germanized-shipments/src/Admin/Table.php:647
2499
  msgctxt "shipments"
2500
  msgid "Actions"
2501
  msgstr "Aktionen"
2502
 
2503
  # @ woocommerce-germanized
2504
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:116
2505
  msgctxt "shipments"
2506
  msgid "Add item"
2507
  msgstr "Position hinzufügen"
2508
 
2509
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:120
2510
  msgctxt "shipments"
2511
  msgid "Sync items"
2512
  msgstr "Positionen synchronisieren"
2513
 
2514
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:121
2515
  msgctxt "shipments"
2516
  msgid "Automatically adjust items and quantities based on order item data."
2517
  msgstr "Bestimmt Positionen und Anzahlen automatisch anhand der Bestelldaten."
2518
 
2519
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:142
2520
  msgctxt "shipments"
2521
  msgid "Add Item"
2522
  msgstr "Position hinzufügen"
2523
 
2524
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:171
2525
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:219
2526
  msgctxt "shipments"
2527
  msgid "Add"
2528
  msgstr "Hinzufügen"
2529
 
2530
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:199
2531
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:259
2532
  msgctxt "shipments"
2533
  msgid "Add Return"
2534
  msgstr "Retoure hinzufügen"
2535
 
2536
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:263
2537
  #, php-format
2538
  msgctxt "shipments"
2539
  msgid "Delete %s"
@@ -2548,7 +2471,9 @@ msgid_plural "%d of %d items"
2548
  msgstr[0] "%d von %d Position"
2549
  msgstr[1] "%d von %d Positionen"
2550
 
2551
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-item.php:21
 
 
2552
  msgctxt "shipments"
2553
  msgid "Delete"
2554
  msgstr "Löschen"
@@ -2561,11 +2486,11 @@ msgstr "%s #%s"
2561
 
2562
  # @ woocommerce-germanized
2563
  #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php:19
2564
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:63
2565
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:42
2566
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:111
2567
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:181
2568
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:248
2569
  #: woocommerce-germanized-shipments/templates/myaccount/order-shipments.php:35
2570
  msgctxt "shipments"
2571
  msgid "Shipments"
@@ -2581,6 +2506,85 @@ msgctxt "shipments"
2581
  msgid "Save"
2582
  msgstr "Speichern"
2583
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2584
  # @ woocommerce-germanized
2585
  #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:49
2586
  msgctxt "shipments"
@@ -2595,213 +2599,220 @@ msgstr ""
2595
  "Sendungsbenachrichtigungen werden an den Kunden verschickt, sobald eine "
2596
  "Sendung als verschickt markiert wurde."
2597
 
2598
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:81
2599
  msgctxt "shipments"
2600
  msgid "Your {site_title} order #{order_number} has been partially shipped"
2601
  msgstr ""
2602
  "Deine Bestellung #{order_number} bei {site_title} wurde teilweise verschickt"
2603
 
2604
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:83
2605
  msgctxt "shipments"
2606
  msgid "Your {site_title} order #{order_number} has been shipped"
2607
  msgstr "Deine Bestellung #{order_number} bei {site_title} wurde verschickt"
2608
 
2609
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:96
2610
  msgctxt "shipments"
2611
  msgid "Partial shipment to your order: {order_number}"
2612
  msgstr "Teilsendung zu deiner Bestellung {order_number}"
2613
 
2614
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:98
2615
  msgctxt "shipments"
2616
  msgid "Shipment to your order: {order_number}"
2617
  msgstr "Sendung zu deiner Bestellung {order_number}"
2618
 
2619
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:262
 
 
 
 
2620
  #, php-format
 
2621
  msgid "Available placeholders: %s"
2622
  msgstr "Verfügbare Platzhalter: %s"
2623
 
2624
  # @ woocommerce-germanized
2625
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:266
2626
  msgctxt "shipments"
2627
  msgid "Enable/Disable"
2628
  msgstr "Aktivieren/Deaktivieren"
2629
 
2630
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:268
2631
  msgctxt "shipments"
2632
  msgid "Enable this email notification"
2633
  msgstr "Aktiviere diese E-Mail-Benachrichtigung"
2634
 
2635
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:272
2636
  msgctxt "shipments"
2637
  msgid "Full shipment subject"
2638
  msgstr "Vollständige Sendung Betreff"
2639
 
2640
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:276
2641
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:285
2642
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:294
2643
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:303
2644
- #, php-format
2645
- msgctxt "shipments"
2646
- msgid "Available placeholders: %s"
2647
- msgstr "Verfügbare Platzhalter: %s"
2648
-
2649
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:281
2650
  msgctxt "shipments"
2651
  msgid "Partial shipment subject"
2652
  msgstr "Teilsendung Betreff"
2653
 
2654
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:290
2655
  msgctxt "shipments"
2656
  msgid "Full shipment email heading"
2657
  msgstr "Vollständige Sendung Kopfzeile"
2658
 
2659
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:299
2660
  msgctxt "shipments"
2661
  msgid "Partial shipment email heading"
2662
  msgstr "Teilsendung Kopfzeile"
2663
 
2664
  # @ woocommerce-germanized
2665
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:308
2666
  msgctxt "shipments"
2667
  msgid "Additional content"
2668
  msgstr "Zusätzlicher Inhalt"
2669
 
2670
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:309
2671
  msgctxt "shipments"
2672
  msgid "Text to appear below the main email content."
2673
  msgstr "Text der unterhalb des Inhalts der E-Mail angezeigt werden soll."
2674
 
2675
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:311
2676
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:639
2677
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:667
2678
  #: woocommerce-germanized-shipments/templates/shipment/shipment-details-address.php:28
2679
  msgctxt "shipments"
2680
  msgid "N/A"
2681
  msgstr "n.a."
2682
 
2683
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:317
2684
  msgctxt "shipments"
2685
  msgid "Email type"
2686
  msgstr "E-Mail-Typ"
2687
 
2688
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:319
2689
  msgctxt "shipments"
2690
  msgid "Choose which format of email to send."
2691
  msgstr "Format für E-Mail-Versand auswählen."
2692
 
2693
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:62
2694
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:701
2695
- #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:26
2696
  msgctxt "shipments"
2697
  msgid "Shipment"
2698
  msgstr "Sendung"
2699
 
2700
  # @ woocommerce-germanized
2701
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:69
2702
  msgctxt "shipments"
2703
  msgid "Return"
2704
  msgstr "Retoure"
2705
 
2706
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:70
2707
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:112
2708
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:215
2709
  msgctxt "shipments"
2710
  msgid "Returns"
2711
  msgstr "Retouren"
2712
 
2713
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:96
2714
  msgctxt "shipments"
2715
  msgid "Not shipped"
2716
  msgstr "Nicht versandt"
2717
 
2718
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:97
2719
  msgctxt "shipments"
2720
  msgid "Partially shipped"
2721
  msgstr "Teilweise versandt"
2722
 
2723
  # @ woocommerce-germanized
2724
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:98
2725
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:173
2726
- #: woocommerce-germanized-shipments/src/Admin/Table.php:788
2727
  msgctxt "shipments"
2728
  msgid "Shipped"
2729
  msgstr "Versandt"
2730
 
2731
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:171
2732
  msgctxt "shipments"
2733
  msgid "Draft"
2734
  msgstr "Entwurf"
2735
 
2736
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:172
2737
- #: woocommerce-germanized-shipments/src/Admin/Table.php:780
2738
  msgctxt "shipments"
2739
  msgid "Processing"
2740
  msgstr "In Bearbeitung"
2741
 
2742
  # @ woocommerce-germanized
2743
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:174
2744
- #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:41
2745
  msgctxt "shipments"
2746
  msgid "Delivered"
2747
  msgstr "Geliefert"
2748
 
2749
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:175
2750
  msgctxt "shipments"
2751
  msgid "Returned"
2752
  msgstr "Retourniert"
2753
 
2754
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:218
2755
  #: woocommerce-germanized-shipments/includes/wc-gzd-shipments-template-functions.php:101
2756
  #: woocommerce-germanized-shipments/src/DataStores/Shipment.php:343
2757
  msgctxt "shipments"
2758
  msgid "Invalid shipment."
2759
  msgstr "Ungültige Sendung."
2760
 
2761
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:222
2762
  msgctxt "shipments"
2763
  msgid "This shipment is already fully returned."
2764
  msgstr "Diese Sendung ist bereits vollständig retourniert."
2765
 
2766
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:233
2767
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:276
2768
  msgctxt "shipments"
2769
  msgid "Error while creating the shipment instance"
2770
  msgstr "Fehler beim Erstellen der Sendungsinstanz"
2771
 
2772
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:261
2773
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:265
2774
- #: woocommerce-germanized-shipments/src/SimpleShipment.php:150
2775
- #: woocommerce-germanized-shipments/src/SimpleShipment.php:226
2776
  msgctxt "shipments"
2777
  msgid "Invalid shipment order"
2778
  msgstr "Ungültige Bestellung zur Sendung"
2779
 
2780
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:295
2781
  msgctxt "shipments"
2782
  msgid "Invalid order item"
2783
  msgstr "Ungültige Bestellposition"
2784
 
2785
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:316
2786
  msgctxt "shipments"
2787
  msgid "Invalid shipment item"
2788
  msgstr "Ungültige Sendungsposition"
2789
 
2790
  # @ woocommerce-germanized
2791
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:702
2792
- #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:22
2793
- #: woocommerce-germanized-shipments/src/Admin/Table.php:642
 
 
 
 
 
 
 
 
 
 
 
2794
  msgctxt "shipments"
2795
  msgid "Date"
2796
  msgstr "Datum"
2797
 
2798
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:704
2799
  #: woocommerce-germanized-shipments/templates/shipment/shipment-details-tracking.php:23
2800
  msgctxt "shipments"
2801
  msgid "Tracking"
2802
  msgstr "Sendungsverfolgung"
2803
 
2804
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:729
2805
  msgctxt "shipments"
2806
  msgid "View"
2807
  msgstr "Anzeigen"
@@ -2813,59 +2824,106 @@ msgid "My account"
2813
  msgstr "Mein Konto"
2814
 
2815
  # @ woocommerce-germanized
2816
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:96
2817
  msgctxt "shipments"
2818
  msgid "Create shipments"
2819
  msgstr "Sendungen erstellen"
2820
 
2821
  # @ woocommerce-germanized
2822
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:193
2823
  msgctxt "shipments"
2824
  msgid "Search shipments"
2825
  msgstr "Sendungen suchen"
2826
 
2827
  # @ woocommerce-germanized
2828
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:227
2829
  msgctxt "shipments"
2830
  msgid "Search returns"
2831
  msgstr "Retouren suchen"
2832
 
2833
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:293
2834
  msgctxt "shipments"
2835
  msgid "Do you really want to delete the shipment?"
2836
  msgstr "Möchtest du die Sendung wirklich löschen?"
2837
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2838
  #: woocommerce-germanized-shipments/src/Admin/BulkActionHandler.php:80
2839
  msgctxt "shipments"
2840
  msgid "Successfully processed shipments."
2841
  msgstr "Sendungen erfolgreich verarbeitet."
2842
 
2843
  # @ woocommerce-germanized
2844
- # @ woocommerce
2845
- #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:21
2846
- #: woocommerce-germanized-shipments/src/Admin/Table.php:641
2847
  msgctxt "shipments"
2848
- msgid "Title"
2849
- msgstr "Titel"
2850
 
2851
- #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:24
2852
- #: woocommerce-germanized-shipments/src/Admin/Table.php:644
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2853
  msgctxt "shipments"
2854
  msgid "Items"
2855
  msgstr "Positionen"
2856
 
2857
- #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:25
2858
  msgctxt "shipments"
2859
  msgid "Sender"
2860
  msgstr "Absender"
2861
 
 
 
 
 
 
2862
  # @ woocommerce-germanized
2863
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:34
2864
  msgctxt "shipments"
2865
  msgid "Manage shipments"
2866
  msgstr "Sendungen verwalten"
2867
 
2868
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:35
2869
  msgctxt "shipments"
2870
  msgid ""
2871
  "To view all your existing shipments in a list you might follow this link or "
@@ -2875,12 +2933,12 @@ msgstr ""
2875
  "anzuzeigen, folge bitte diesem Link oder klicke im Untermenü von WooCommerce "
2876
  "auf den Sendungen-Link."
2877
 
2878
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:48
2879
  msgctxt "shipments"
2880
  msgid "E-Mail Notification"
2881
  msgstr "E-Mail-Benachrichtigung"
2882
 
2883
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:49
2884
  msgctxt "shipments"
2885
  msgid ""
2886
  "By enabling this option customers receive an email notification as soon as a "
@@ -2890,13 +2948,13 @@ msgstr ""
2890
  "Benachrichtigung, sobald die Sendung als versandt markiert wurde."
2891
 
2892
  # @ woocommerce-germanized
2893
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:62
2894
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:92
2895
  msgctxt "shipments"
2896
  msgid "Automation"
2897
  msgstr "Automatisierung"
2898
 
2899
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:63
2900
  msgctxt "shipments"
2901
  msgid ""
2902
  "Decide whether you want to automatically create shipments to orders reaching "
@@ -2908,17 +2966,17 @@ msgstr ""
2908
  "manuell anpassen, indem du die dazugehörige Bestellung bearbeitest."
2909
 
2910
  # @ woocommerce-germanized
2911
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:83
2912
  msgctxt "shipments"
2913
  msgid "Notify"
2914
  msgstr "Benachrichtigung"
2915
 
2916
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:84
2917
  msgctxt "shipments"
2918
  msgid "Notify customers about new shipments."
2919
  msgstr "Benachrichtige Kunden über neue Sendungen."
2920
 
2921
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:84
2922
  #, php-format
2923
  msgctxt "shipments"
2924
  msgid ""
@@ -2928,29 +2986,44 @@ msgstr ""
2928
  "Benachrichtige Kunden via E-Mail sobald eine Sendung als verschickt markiert "
2929
  "wurde. %s die E-Mail-Benachrichtigung."
2930
 
2931
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:84
2932
  msgctxt "shipments notification"
2933
  msgid "Manage"
2934
  msgstr "Verwalte"
2935
 
 
2936
  #: woocommerce-germanized-shipments/src/Admin/Settings.php:95
2937
  msgctxt "shipments"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2938
  msgid "Enable"
2939
  msgstr "Aktivieren"
2940
 
2941
  # @ woocommerce-germanized
2942
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:96
2943
  msgctxt "shipments"
2944
  msgid "Automatically create shipments for orders."
2945
  msgstr "Automatisch Sendungen zu Bestellungen erstellen."
2946
 
2947
  # @ woocommerce-germanized
2948
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:103
2949
  msgctxt "shipments"
2950
  msgid "Order statuses"
2951
  msgstr "Bestellstatus"
2952
 
2953
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:104
2954
  msgctxt "shipments"
2955
  msgid ""
2956
  "Create shipments as soon as the order reaches one of the following "
@@ -2960,18 +3033,18 @@ msgstr ""
2960
  "erreicht."
2961
 
2962
  # @ woocommerce-germanized
2963
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:112
2964
  msgctxt "shipments"
2965
  msgid "On new order creation"
2966
  msgstr "Beim Erstellen einer Bestellung"
2967
 
2968
  # @ woocommerce-germanized
2969
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:117
2970
  msgctxt "shipments"
2971
  msgid "Default status"
2972
  msgstr "Standardstatus"
2973
 
2974
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:118
2975
  msgctxt "shipments"
2976
  msgid "Choose a default status for the automatically created shipment."
2977
  msgstr ""
@@ -2979,18 +3052,18 @@ msgstr ""
2979
  "erhält."
2980
 
2981
  # @ woocommerce-germanized
2982
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:130
2983
  msgctxt "shipments"
2984
  msgid "Update status"
2985
  msgstr "Status"
2986
 
2987
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:131
2988
  msgctxt "shipments"
2989
  msgid "Mark order as completed after order is fully shipped."
2990
  msgstr ""
2991
  "Bestellung als fertiggestellt markieren sobald sie komplett versandt wurde."
2992
 
2993
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:131
2994
  msgctxt "shipments"
2995
  msgid ""
2996
  "This option will automatically update the order status to completed as soon "
@@ -3000,76 +3073,119 @@ msgstr ""
3000
  "fertiggestellt gesetzt wird, sobald alle notwendigen Sendungen einer "
3001
  "Bestellung versandt wurden."
3002
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3003
  # @ woocommerce-germanized
3004
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:139
3005
  msgctxt "shipments"
3006
  msgid "Customer Account"
3007
  msgstr "Kundenkonto"
3008
 
3009
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:142
3010
  msgctxt "shipments"
3011
  msgid "List"
3012
  msgstr "Liste"
3013
 
3014
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:143
3015
  msgctxt "shipments"
3016
  msgid "List shipments on customer account order screen."
3017
  msgstr "Liste Sendungen im Kundenkonto in den Bestelldetails auf."
3018
 
3019
  # @ woocommerce-germanized
3020
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:151
3021
  msgctxt "shipments"
3022
  msgid "Return Address"
3023
  msgstr "Retouren Adresse"
3024
 
3025
  # @ woocommerce-germanized
3026
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:154
3027
  msgctxt "shipments"
3028
  msgid "First Name"
3029
  msgstr "Vorname"
3030
 
3031
  # @ woocommerce-germanized
3032
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:161
3033
  msgctxt "shipments"
3034
  msgid "Last Name"
3035
  msgstr "Nachname"
3036
 
3037
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:168
3038
  msgctxt "shipments"
3039
  msgid "Company"
3040
  msgstr "Firma"
3041
 
3042
  # @ woocommerce-germanized
3043
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:175
3044
  msgctxt "shipments"
3045
  msgid "Address 1"
3046
  msgstr "Adresszeile 1"
3047
 
3048
  # @ woocommerce-germanized
3049
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:182
3050
  msgctxt "shipments"
3051
  msgid "Address 2"
3052
  msgstr "Adresszeile 2"
3053
 
3054
  # @ woocommerce-germanized
3055
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:189
3056
  msgctxt "shipments"
3057
  msgid "City"
3058
  msgstr "Stadt"
3059
 
3060
  # @ woocommerce-germanized
3061
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:196
3062
  msgctxt "shipments"
3063
  msgid "Country / State"
3064
  msgstr "Land / Bundesland"
3065
 
3066
  # @ woocommerce-germanized
3067
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:204
3068
  msgctxt "shipments"
3069
  msgid "Postcode"
3070
  msgstr "Postleitzahl"
3071
 
3072
- #: woocommerce-germanized-shipments/src/Admin/Table.php:161
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3073
  #, php-format
3074
  msgctxt "shipments"
3075
  msgid "%d shipment deleted."
@@ -3077,7 +3193,7 @@ msgid_plural "%d shipments deleted."
3077
  msgstr[0] "%d Sendung gelöscht."
3078
  msgstr[1] "%d Sendungen gelöscht."
3079
 
3080
- #: woocommerce-germanized-shipments/src/Admin/Table.php:171
3081
  #, php-format
3082
  msgctxt "shipments"
3083
  msgid "%d shipment status changed."
@@ -3085,12 +3201,12 @@ msgid_plural "%d shipment statuses changed."
3085
  msgstr[0] "%d Sendungsstatus geändert."
3086
  msgstr[1] "%d Sendungsstatus geändert."
3087
 
3088
- #: woocommerce-germanized-shipments/src/Admin/Table.php:328
3089
  msgctxt "shipments"
3090
  msgid "No shipments found"
3091
  msgstr "Keine Sendungen gefunden"
3092
 
3093
- #: woocommerce-germanized-shipments/src/Admin/Table.php:368
3094
  #, php-format
3095
  msgctxt "shipments"
3096
  msgid "All <span class=\"count\">(%s)</span>"
@@ -3098,7 +3214,7 @@ msgid_plural "All <span class=\"count\">(%s)</span>"
3098
  msgstr[0] "Alle <span class=\"count\">(%s)</span>"
3099
  msgstr[1] "Alle <span class=\"count\">(%s)</span>"
3100
 
3101
- #: woocommerce-germanized-shipments/src/Admin/Table.php:393
3102
  #, php-format
3103
  msgctxt "shipments"
3104
  msgid " <span class=\"count\">(%s)</span>"
@@ -3106,135 +3222,196 @@ msgid_plural " <span class=\"count\">(%s)</span>"
3106
  msgstr[0] " <span class=\"count\">(%s)</span>"
3107
  msgstr[1] " <span class=\"count\">(%s)</span>"
3108
 
3109
- #: woocommerce-germanized-shipments/src/Admin/Table.php:483
3110
  msgctxt "shipments"
3111
  msgid "Filter by date"
3112
  msgstr "Nach Datum filtern"
3113
 
3114
  # @ woocommerce-germanized
3115
- #: woocommerce-germanized-shipments/src/Admin/Table.php:485
3116
  msgctxt "shipments"
3117
  msgid "All dates"
3118
  msgstr "Alle Daten"
3119
 
3120
- #: woocommerce-germanized-shipments/src/Admin/Table.php:500
3121
  #, php-format
3122
  msgid "%1$s %2$d"
3123
  msgstr "%1$s %2$d"
3124
 
3125
- #: woocommerce-germanized-shipments/src/Admin/Table.php:521
3126
  msgctxt "shipments"
3127
  msgid "Processing bulk actions..."
3128
  msgstr "Bearbeite Mehrfachaktionen.."
3129
 
3130
- #: woocommerce-germanized-shipments/src/Admin/Table.php:603
3131
  msgctxt "shipments"
3132
  msgid "Filter"
3133
  msgstr "Filtern"
3134
 
3135
  # @ woocommerce-germanized
3136
- #: woocommerce-germanized-shipments/src/Admin/Table.php:619
3137
- #: woocommerce-germanized-shipments/src/Ajax.php:456
3138
  #, php-format
3139
  msgctxt "shipments"
3140
  msgid "Order #%s"
3141
  msgstr "Bestellung #%s"
3142
 
3143
  # @ woocommerce
3144
- #: woocommerce-germanized-shipments/src/Admin/Table.php:624
3145
  msgctxt "shipments"
3146
  msgid "Filter by order"
3147
  msgstr "Nach Bestellung filtern"
3148
 
3149
- #: woocommerce-germanized-shipments/src/Admin/Table.php:645
3150
  msgctxt "shipments"
3151
  msgid "Address"
3152
  msgstr "Adresse"
3153
 
3154
  # @ woocommerce-germanized
3155
- #: woocommerce-germanized-shipments/src/Admin/Table.php:646
3156
  msgctxt "shipments"
3157
  msgid "Order"
3158
  msgstr "Bestellung"
3159
 
3160
- #: woocommerce-germanized-shipments/src/Admin/Table.php:737
3161
  #: woocommerce-germanized-shipments/templates/myaccount/order-shipments.php:73
3162
  #, php-format
3163
  msgctxt "shipment title"
3164
  msgid "%s #%s"
3165
  msgstr "%s #%s"
3166
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3167
  # @ woocommerce-germanized
3168
- #: woocommerce-germanized-shipments/src/Admin/Table.php:835
3169
  #, php-format
3170
  msgctxt "shipments"
3171
  msgid "Select %s"
3172
  msgstr "Wähle %s"
3173
 
3174
- #: woocommerce-germanized-shipments/src/Admin/Table.php:862
3175
  msgctxt "shipments"
3176
  msgid "SKU:"
3177
  msgstr "Art.-Nr.:"
3178
 
3179
- #: woocommerce-germanized-shipments/src/Admin/Table.php:937
3180
  #, php-format
3181
  msgctxt "%s = human-readable time difference"
3182
  msgid "%s ago"
3183
  msgstr "vor %s"
3184
 
3185
- #: woocommerce-germanized-shipments/src/Admin/Table.php:949
3186
  msgctxt "shipments"
3187
  msgid "M j, Y"
3188
  msgstr "d.m.Y"
3189
 
3190
- #: woocommerce-germanized-shipments/src/Admin/Table.php:1006
3191
  msgctxt "shipments"
3192
  msgid "Delete Permanently"
3193
  msgstr "Unwiderruflich löschen"
3194
 
3195
- #: woocommerce-germanized-shipments/src/Admin/Table.php:1009
3196
  msgctxt "shipments"
3197
  msgid "Change status to processing"
3198
  msgstr "Status zu in Bearbeitung ändern"
3199
 
3200
- #: woocommerce-germanized-shipments/src/Admin/Table.php:1010
3201
  msgctxt "shipments"
3202
  msgid "Change status to shipped"
3203
  msgstr "Status zu versandt ändern"
3204
 
3205
- #: woocommerce-germanized-shipments/src/Admin/Table.php:1011
3206
  msgctxt "shipments"
3207
  msgid "Change status to delivered"
3208
  msgstr "Status zu geliefert ändern"
3209
 
3210
- #: woocommerce-germanized-shipments/src/Ajax.php:64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3211
  msgctxt "shipments"
3212
  msgid "There was an error while bulk processing shipments."
3213
  msgstr ""
3214
  "Bei der Verarbeitung der Mehrfachaktionen von Sendungen trat ein Fehler auf."
3215
 
3216
- #: woocommerce-germanized-shipments/src/Ajax.php:176
3217
- #: woocommerce-germanized-shipments/src/Ajax.php:274
3218
- #: woocommerce-germanized-shipments/src/Ajax.php:330
3219
- #: woocommerce-germanized-shipments/src/Ajax.php:367
3220
- #: woocommerce-germanized-shipments/src/Ajax.php:488
3221
- #: woocommerce-germanized-shipments/src/Ajax.php:554
3222
- #: woocommerce-germanized-shipments/src/Ajax.php:597
3223
- #: woocommerce-germanized-shipments/src/Ajax.php:648
3224
- #: woocommerce-germanized-shipments/src/Ajax.php:716
3225
- #: woocommerce-germanized-shipments/src/Ajax.php:761
3226
- #: woocommerce-germanized-shipments/src/Ajax.php:816
3227
- #: woocommerce-germanized-shipments/src/Ajax.php:860
3228
  msgctxt "shipments"
3229
  msgid "There was an error processing the shipment"
3230
  msgstr "Fehler bei der Verarbeitung der Sendung"
3231
 
3232
- #: woocommerce-germanized-shipments/src/Ajax.php:217
3233
  msgctxt "shipments"
3234
  msgid "There was an error while adding the shipment"
3235
  msgstr "Beim Hinzufügen der Sendung ist ein Fehler aufgetreten"
3236
 
3237
- #: woocommerce-germanized-shipments/src/Ajax.php:238
3238
  msgctxt "shipments"
3239
  msgid "This order contains enough shipments already."
3240
  msgstr "Diese Bestellung beinhaltet bereits genug Sendungen."
@@ -3431,7 +3608,7 @@ msgid "Quantity."
3431
  msgstr "Anzahl."
3432
 
3433
  # @ woocommerce-germanized
3434
- #: woocommerce-germanized-shipments/src/Automation.php:59
3435
  msgctxt "shipments"
3436
  msgid "Order is fully shipped."
3437
  msgstr "Bestellung ist vollständig versandt."
@@ -3441,8 +3618,13 @@ msgctxt "shipments"
3441
  msgid "Invalid shipment item."
3442
  msgstr "Ungültige Sendungsposition."
3443
 
 
 
 
 
 
3444
  #: woocommerce-germanized-shipments/src/ReturnShipment.php:366
3445
- #: woocommerce-germanized-shipments/src/Shipment.php:756
3446
  #, php-format
3447
  msgctxt "full name"
3448
  msgid "%1$s %2$s"
@@ -3454,20 +3636,86 @@ msgctxt "shipments"
3454
  msgid "Invalid shipment"
3455
  msgstr "Ungültige Sendung"
3456
 
3457
- #: woocommerce-germanized-shipments/src/Shipment.php:591
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3458
  #, php-format
3459
  msgctxt "shipments"
3460
  msgid ""
3461
- "Your shipment is being processed by %s. If you want to track the shipment, "
3462
- "please use the following tracking number: %s. Depending on the chosen "
3463
- "shipping method it is possible that the tracking data does not reflect the "
3464
- "current status when receiving this email."
3465
  msgstr ""
3466
- "Deine Sendung wurde mit %s versandt. Wenn du diese Sendung verfolgen "
3467
- "möchtest, benutze bitte diese Paketverfolgungsnummer: %s. Abhängig von der "
3468
- "gewählten Versandoption kann es sein, dass die Paketverfolgungsdaten zum "
3469
- "Zeitpunkt des Erhalts dieser E-Mail noch nicht den neuesten Stand "
3470
- "wiedergeben."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3471
 
3472
  #: woocommerce-germanized-shipments/templates/emails/customer-shipment.php:33
3473
  #: woocommerce-germanized-shipments/templates/emails/plain/customer-shipment.php:28
@@ -3642,7 +3890,7 @@ msgstr "l"
3642
  # @ woocommerce-germanized
3643
  #: woocommerce-germanized/includes/abstracts/abstract-wc-gzd-product.php:549
3644
  #: woocommerce-germanized/includes/abstracts/abstract-wc-gzd-product.php:559
3645
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:322
3646
  #: woocommerce-germanized/includes/wc-gzd-template-functions.php:546
3647
  msgid "incl. VAT"
3648
  msgstr "inkl. MwSt."
@@ -3654,7 +3902,7 @@ msgstr "exkl. MwSt."
3654
 
3655
  # @ woocommerce-germanized
3656
  #: woocommerce-germanized/includes/abstracts/abstract-wc-gzd-product.php:551
3657
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:322
3658
  #, php-format
3659
  msgid "incl. %s%% VAT"
3660
  msgstr "inkl. %s %% MwSt."
@@ -3773,20 +4021,20 @@ msgstr ""
3773
 
3774
  # @ woocommerce-germanized
3775
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-legal-checkboxes.php:122
3776
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:377
3777
  msgid "Downloadable Product"
3778
  msgstr "Herunterladbares Produkt"
3779
 
3780
  # @ woocommerce-germanized
3781
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-legal-checkboxes.php:123
3782
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:378
3783
  msgid "Virtual Product"
3784
  msgstr "Virtuelles Produkt"
3785
 
3786
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-legal-checkboxes.php:124
3787
  #: woocommerce-germanized/includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:46
3788
  #: woocommerce-germanized/includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data.php:150
3789
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:379
3790
  #: woocommerce-germanized/includes/class-wc-gzd-legal-checkbox-manager.php:140
3791
  msgid "Service"
3792
  msgstr "Dienstleistung"
@@ -3883,8 +4131,8 @@ msgstr "Gleiche wie übergeordnet"
3883
 
3884
  # @ woocommerce-germanized
3885
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-product-categories.php:82
3886
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:368
3887
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:471
3888
  msgid "None"
3889
  msgstr "Keine"
3890
 
@@ -3914,12 +4162,6 @@ msgstr "Erste Schritte"
3914
  msgid "Start tutorial"
3915
  msgstr "Tutorial starten"
3916
 
3917
- #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-setup-wizard.php:91
3918
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-dhl.php:33
3919
- #: woocommerce-germanized/includes/admin/views/setup/dhl.php:10
3920
- msgid "DHL"
3921
- msgstr "DHL"
3922
-
3923
  # @ woocommerce-germanized
3924
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-setup-wizard.php:99
3925
  msgid "Import settings"
@@ -4040,7 +4282,7 @@ msgstr "Zurück zu WP Admin"
4040
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-status.php:45
4041
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:53
4042
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:136
4043
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:198
4044
  msgid "Terms & Conditions"
4045
  msgstr "AGB"
4046
 
@@ -4054,7 +4296,7 @@ msgstr "Widerrufsbelehrung"
4054
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-status.php:47
4055
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:84
4056
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:136
4057
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:200
4058
  msgid "Imprint"
4059
  msgstr "Impressum"
4060
 
@@ -4066,7 +4308,7 @@ msgstr "Datenschutzerklärung"
4066
  # @ woocommerce-germanized
4067
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-status.php:49
4068
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:104
4069
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:205
4070
  msgid "Payment Methods"
4071
  msgstr "Zahlungarten"
4072
 
@@ -4158,7 +4400,7 @@ msgstr "Bestellung bezahlt manuell versenden"
4158
 
4159
  # @ woocommerce-germanized
4160
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin.php:423
4161
- #: woocommerce-germanized/includes/admin/settings/abstract-wc-gzd-settings-tab.php:106
4162
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-germanized.php:23
4163
  #: woocommerce-germanized/includes/admin/settings/views/html-admin-settings-tabs.php:9
4164
  #: woocommerce-germanized/includes/admin/views/html-page-status-germanized.php:27
@@ -4222,7 +4464,8 @@ msgstr "Angebotspreis Hinweis"
4222
  # @ woocommerce-germanized
4223
  #: woocommerce-germanized/includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:90
4224
  #: woocommerce-germanized/includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data.php:197
4225
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:225
 
4226
  #: woocommerce-germanized/includes/compatibility/elementor/widgets/class-wc-gzd-elementor-widget-product-units.php:10
4227
  msgid "Product Units"
4228
  msgstr "Produkteinheiten"
@@ -4425,7 +4668,7 @@ msgstr ""
4425
  msgid "Upgrade now"
4426
  msgstr "Jetzt upgraden"
4427
 
4428
- #: woocommerce-germanized/includes/admin/settings/abstract-wc-gzd-settings-tab.php:142
4429
  msgid "Learn more"
4430
  msgstr "Mehr erfahren"
4431
 
@@ -4882,7 +5125,7 @@ msgstr "Allgemein"
4882
  # @ woocommerce-germanized
4883
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-emails.php:31
4884
  msgid "Visibility"
4885
- msgstr "Sichtbarkeit"
4886
 
4887
  # @ woocommerce-germanized
4888
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-emails.php:32
@@ -5293,7 +5536,7 @@ msgstr ""
5293
 
5294
  # @ woocommerce-germanized
5295
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:219
5296
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:323
5297
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-taxes.php:154
5298
  msgid "Notice Text"
5299
  msgstr "Hinweistext"
@@ -5304,7 +5547,7 @@ msgid ""
5304
  msgstr "Passe hier, falls notwending, den Kleinunternehmer Hinweistext an."
5305
 
5306
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:227
5307
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:263
5308
  msgid ""
5309
  "Value added tax is not collected, as small businesses according to §19 (1) "
5310
  "UStG."
@@ -5422,7 +5665,7 @@ msgstr ""
5422
  "Platzhalter für den höchsten Preis."
5423
 
5424
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:304
5425
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:674
5426
  msgid "{min_price} &ndash; {max_price}"
5427
  msgstr "{min_price} &ndash; {max_price}"
5428
 
@@ -5557,11 +5800,6 @@ msgstr "Erstelle bequem und einfach (mehrere) Sendungen zu Bestellungen."
5557
  msgid "Shipments"
5558
  msgstr "Sendungen"
5559
 
5560
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shipments.php:44
5561
- msgctxt "shipments"
5562
- msgid "Manage"
5563
- msgstr "Verwalten"
5564
-
5565
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:20
5566
  msgid ""
5567
  "Adjust shopmark related settings. Choose which and where they shall be "
@@ -5587,15 +5825,21 @@ msgid "Price labels"
5587
  msgstr "Preishinweise"
5588
 
5589
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:44
5590
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:203
5591
  msgid "Widgets & Blocks"
5592
  msgstr "Widgets & Blöcke"
5593
 
5594
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:63
 
 
 
 
 
 
5595
  msgid "Shopmark Display"
5596
  msgstr "Preisauszeichnung"
5597
 
5598
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:64
5599
  msgid ""
5600
  "By adjusting the display settings you might determine where to show or hide "
5601
  "your shopmarks e.g. the tax notice on single product pages."
@@ -5605,12 +5849,12 @@ msgstr ""
5605
  "deaktivieren."
5606
 
5607
  # @ woocommerce-germanized
5608
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:82
5609
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:282
5610
  msgid "Location"
5611
  msgstr "Ort"
5612
 
5613
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:83
5614
  msgid ""
5615
  "Adjust the location of the shopmark by selecting a location from the list. "
5616
  "Some Themes might apply the locations at different positions that's why the "
@@ -5621,12 +5865,12 @@ msgstr ""
5621
  "unterschiedlichen Stellen aus, sodass das Ergebnis u.U. von Theme zu Theme "
5622
  "abweichen kann."
5623
 
5624
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:96
5625
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:297
5626
  msgid "Priority"
5627
  msgstr "Priorität"
5628
 
5629
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:97
5630
  msgid ""
5631
  "Many different information may be attached to the location selected. By "
5632
  "adjusting the priority you can choose whether the shopmark gets applied "
@@ -5638,12 +5882,12 @@ msgstr ""
5638
  "soll."
5639
 
5640
  # @ woocommerce-germanized
5641
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:115
5642
  #: woocommerce-germanized/includes/admin/views/html-page-status-germanized.php:50
5643
  msgid "Default Delivery Time"
5644
  msgstr "Standard-Lieferzeit"
5645
 
5646
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:116
5647
  msgid ""
5648
  "Choose a delivery time that serves as fallback in case no delivery time was "
5649
  "added to the product."
@@ -5651,13 +5895,13 @@ msgstr ""
5651
  "Wähle eine Lieferzeit aus, die verwendet wird, wenn dem Produkt keine "
5652
  "Lieferzeit zugeordnet wurde."
5653
 
5654
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:129
5655
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:397
5656
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:444
5657
  msgid "Format"
5658
  msgstr "Format"
5659
 
5660
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:130
5661
  msgid ""
5662
  "You may want to adjust the delivery time output format. You might use "
5663
  "{delivery_time} to output the current product's delivery time."
@@ -5666,11 +5910,11 @@ msgstr ""
5666
  "zur Ausgabe der Lieferzeit des Produktes."
5667
 
5668
  # @ woocommerce-germanized
5669
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:148
5670
  msgid "Default Sale Label"
5671
  msgstr "Streichpreis-Hinweis"
5672
 
5673
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:149
5674
  msgid ""
5675
  "Price labels are added to sale products to inform the customers of the "
5676
  "different prices' meaning. You may add a fallback label in case a product "
@@ -5681,11 +5925,11 @@ msgstr ""
5681
  "Hinweise, um sicherzustellen, dass für Produkte ohne abweichenden Hinweis im "
5682
  "Zweifel der Standard-Hinweis verwendet wird."
5683
 
5684
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:188
5685
  msgid "Adjust Product Widgets & Blocks visibility options."
5686
  msgstr "Passe die Anzeige in Widgets & Blöcken an."
5687
 
5688
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:192
5689
  #, php-format
5690
  msgid ""
5691
  "Adjust %s visibility options and choose which shopmarks to be displayed at "
@@ -5695,52 +5939,59 @@ msgstr ""
5695
  "Auszeichnungen an welchen Orten angezeigt werden sollen."
5696
 
5697
  # @ woocommerce-germanized
5698
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:204
5699
  msgid "Shipping Costs notice"
5700
  msgstr "Versandkosten-Hinweis"
5701
 
5702
  # @ woocommerce-germanized
5703
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:211
5704
  msgid "Tax Info"
5705
  msgstr "MwSt. Hinweis"
5706
 
5707
  # @ woocommerce-germanized
5708
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:218
 
5709
  msgid "Base Price"
5710
  msgstr "Grundpreis"
5711
 
5712
  # @ woocommerce-germanized
5713
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:232
 
5714
  msgid "Delivery Time Notice"
5715
  msgstr "Lieferzeiten-Hinweis"
5716
 
5717
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:255
 
 
 
 
 
5718
  #, php-format
5719
  msgid "Show %s shopmark"
5720
  msgstr "Preisauszeichnung „%s“ anzeigen"
5721
 
5722
  # @ woocommerce-germanized
5723
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:263
5724
  msgid "Tax"
5725
  msgstr "Steuer"
5726
 
5727
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:264
5728
  msgid "Show Tax shopmark"
5729
  msgstr "Preisauszeichnung „Steuer“ anzeigen"
5730
 
5731
  # @ woocommerce-germanized
5732
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:272
5733
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:317
5734
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:206
5735
  msgid "Shipping Costs"
5736
  msgstr "Versandkosten"
5737
 
5738
  # @ woocommerce-germanized
5739
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:273
5740
  msgid "Show Shipping Costs shopmark"
5741
  msgstr "Preisauszeichnung „Versandkosten“ anzeigen"
5742
 
5743
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:283
5744
  msgid ""
5745
  "Choose a location for the shopmark. Locations are mapped to specific "
5746
  "WooCommerce hooks and may differ from Theme to Theme."
@@ -5748,7 +5999,7 @@ msgstr ""
5748
  "Wähle einen Ort für die Preisauszeichnung aus. Orte werden in WooCommerce an "
5749
  "bestimmte Hooks gebunden und können sich von Theme zu Theme unterscheiden."
5750
 
5751
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:298
5752
  #, php-format
5753
  msgid ""
5754
  "Choose a priority by which the shopmark should be attached to the location. "
@@ -5760,7 +6011,7 @@ msgstr ""
5760
  "Preisauszeichnung hinzugefügt. Standard ist %d."
5761
 
5762
  # @ woocommerce-germanized
5763
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:324
5764
  msgid ""
5765
  "This text will be used to inform the customer about shipping costs. Use "
5766
  "{link}{/link} to insert link to shipping costs page."
@@ -5770,17 +6021,17 @@ msgstr ""
5770
  "zur Versandkosten-Seite einzufügen."
5771
 
5772
  # @ woocommerce-germanized
5773
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:329
5774
  msgid "plus {link}Shipping Costs{/link}"
5775
  msgstr "zzgl. {link}Versandkosten{/link}"
5776
 
5777
  # @ woocommerce-germanized
5778
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:332
5779
  msgid "Free Shipping Text"
5780
  msgstr "Kostenloser Versand Text"
5781
 
5782
  # @ woocommerce-germanized
5783
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:333
5784
  msgid ""
5785
  "This text will be used to inform the customer about free shipping. Leave "
5786
  "empty to disable notice. Use {link}{/link} to insert link to shipping costs "
@@ -5791,33 +6042,33 @@ msgstr ""
5791
  "Versandkosten-Seite einzufügen."
5792
 
5793
  # @ woocommerce-germanized
5794
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:343
5795
  msgid "Footer"
5796
  msgstr "Footer"
5797
 
5798
  # @ woocommerce-germanized
5799
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:346
5800
  msgid "Notice"
5801
  msgstr "Hinweis"
5802
 
5803
  # @ woocommerce-germanized
5804
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:347
5805
  msgid "Attach a global VAT notice to your footer."
5806
  msgstr "Einen seitenübergreifenden MwSt.-Hinweis im Footer einfügen."
5807
 
5808
  # @ woocommerce-germanized
5809
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:354
5810
  msgid "Attach a global sale price notice to your footer."
5811
  msgstr ""
5812
  "Einen seitenübergreifenden Hinweis zu reduzierten Preisen im Footer einfügen."
5813
 
5814
  # @ woocommerce-germanized
5815
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:386
5816
  msgid "Fallback"
5817
  msgstr "Fallback"
5818
 
5819
  # @ woocommerce-germanized
5820
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:387
5821
  msgid ""
5822
  "This delivery time will be added to every product if no delivery time has "
5823
  "been chosen individually"
@@ -5826,12 +6077,12 @@ msgstr ""
5826
  "zugeordnet wurde"
5827
 
5828
  # @ woocommerce-germanized
5829
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:394
5830
  msgid "Manage Delivery Times"
5831
  msgstr "Lieferzeiten verwalten"
5832
 
5833
  # @ woocommerce-germanized
5834
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:398
5835
  msgid ""
5836
  "This text will be used to indicate delivery time for products. Use "
5837
  "{delivery_time} as placeholder."
@@ -5840,15 +6091,15 @@ msgstr ""
5840
  "{delivery_time} als Platzhalter verwenden."
5841
 
5842
  # @ woocommerce-germanized
5843
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:402
5844
  msgid "Delivery time: {delivery_time}"
5845
  msgstr "Lieferzeit: {delivery_time}"
5846
 
5847
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:405
5848
  msgid "Digital text"
5849
  msgstr "Digitaler Text"
5850
 
5851
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:409
5852
  msgid ""
5853
  "Enter a text which will be shown as digital delivery time text (replacement "
5854
  "for default digital time on digital products)."
@@ -5858,29 +6109,29 @@ msgstr ""
5858
  "lassen."
5859
 
5860
  # @ woocommerce
5861
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:412
5862
  msgid "Backorder"
5863
  msgstr "Lieferrückstand"
5864
 
5865
  # @ woocommerce-germanized
5866
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:413
5867
  msgid "Hide delivery time if a product is on backorder."
5868
  msgstr "Lieferzeit ausblenden falls das Produkt im Lieferrückstand ist."
5869
 
5870
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:419
5871
  msgid "Not in Stock"
5872
  msgstr "Nicht auf Lager"
5873
 
5874
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:420
5875
  msgid "Hide delivery time if a product is not in stock."
5876
  msgstr "Lieferzeit ausblenden falls das Produkt nicht auf Lager ist."
5877
 
5878
  # @ woocommerce-germanized
5879
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:426
5880
  msgid "Hide Notice"
5881
  msgstr "Hinweis ausblenden"
5882
 
5883
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:427
5884
  msgid ""
5885
  "Select product types for which you might want to disable the delivery time "
5886
  "notice."
@@ -5889,7 +6140,7 @@ msgstr ""
5889
  "möchtest."
5890
 
5891
  # @ woocommerce-germanized
5892
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:445
5893
  msgid ""
5894
  "This text will be used to display the base price. Use {price} to insert the "
5895
  "price. If you want to specifically format base price output use {base}, "
@@ -5901,26 +6152,26 @@ msgstr ""
5901
  "{base_price} für die einzelnen Elemente."
5902
 
5903
  # @ woocommerce-germanized
5904
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:449
5905
  msgid "{price}"
5906
  msgstr "{price}"
5907
 
5908
  # @ woocommerce-germanized
5909
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:452
5910
  msgid "Variable Price"
5911
  msgstr "Variabler Preis"
5912
 
5913
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:453
5914
  msgid "Enable price range base prices for variable products."
5915
  msgstr "Aktiviere von-bis-Grundpreise für variable Produkte."
5916
 
5917
  # @ woocommerce-germanized
5918
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:459
5919
  msgid "Product units format"
5920
  msgstr "Produkteinheiten Format"
5921
 
5922
  # @ woocommerce-germanized
5923
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:460
5924
  msgid ""
5925
  "This text will be used to display the product units. Use {product_units} to "
5926
  "insert the amount of product units. Use {unit} to insert the unit. "
@@ -5932,21 +6183,21 @@ msgstr ""
5932
  "Grundpreis."
5933
 
5934
  # @ woocommerce-germanized
5935
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:464
5936
  msgid "Product contains: {product_units} {unit}"
5937
  msgstr "Produkt enthält: {product_units} {unit}"
5938
 
5939
  # @ woocommerce-germanized
5940
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:476
5941
  msgid "Fallback Sale Label"
5942
  msgstr "Standard-Streichpreis"
5943
 
5944
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:483
5945
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:493
5946
  msgid "Manage Price Labels"
5947
  msgstr "Preishinweise verwalten"
5948
 
5949
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:483
5950
  msgid ""
5951
  "Choose whether you would like to have a default sale price label to inform "
5952
  "the customer about the regular price (e.g. Recommended Retail Price)."
@@ -5955,11 +6206,11 @@ msgstr ""
5955
  "den Kunden auf den alten Preis (bei reduzierten Produkten, sog. "
5956
  "Streichpreis) hinweist (z.B. UVP)."
5957
 
5958
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:486
5959
  msgid "Fallback Regular Label"
5960
  msgstr "Standard-Angebotspreis"
5961
 
5962
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:493
5963
  msgid ""
5964
  "Choose whether you would like to have a default sale price regular label to "
5965
  "inform the customer about the sale price (e.g. New Price)."
@@ -5969,21 +6220,21 @@ msgstr ""
5969
  "hinweist (z.B. Unser neuer Preis)."
5970
 
5971
  # @ woocommerce-germanized
5972
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:497
5973
  #: woocommerce-germanized/src/Shopmarks.php:294
5974
  msgid "Single Product"
5975
  msgstr "Produktdetailseite"
5976
 
5977
  # @ woocommerce-germanized
5978
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:498
5979
  msgid "Show price labels on single product page."
5980
  msgstr "Zeige Preishinweise auf der Produktdetailseite."
5981
 
5982
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:505
5983
  msgid "Loop"
5984
  msgstr "Produktlisten"
5985
 
5986
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:506
5987
  msgid "Show price labels in product loops."
5988
  msgstr "Zeige Preishinweise in Produktlisten."
5989
 
@@ -7253,13 +7504,13 @@ msgid "Thanks for creating an account on %s."
7253
  msgstr "Danke, dass du ein Konto bei %s erstellt hast."
7254
 
7255
  # @ woocommerce-germanized
7256
- #: woocommerce-germanized/includes/class-wc-gzd-emails.php:1010
7257
  msgctxt "revocation-form"
7258
  msgid "Forward your Revocation online"
7259
  msgstr "Deinen Widerruf online erklären"
7260
 
7261
  # @ woocommerce-germanized
7262
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:147
7263
  #, php-format
7264
  msgid ""
7265
  "Please install <a href=\"%s\" target=\"_blank\">WooCommerce</a> before "
@@ -7268,74 +7519,85 @@ msgstr ""
7268
  "Bitte installiere <a href=\"%s\" target=\"_blank\">WooCommerce</a> bevor du "
7269
  "WooCommerce Germanized installierst. Vielen Dank!"
7270
 
 
 
 
 
 
 
 
 
 
 
 
7271
  # @ woocommerce-germanized
7272
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:538
7273
  msgctxt "Page slug"
7274
  msgid "data-security"
7275
  msgstr "datenschutzerklaerung"
7276
 
7277
  # @ woocommerce-germanized
7278
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:539
7279
  msgctxt "Page title"
7280
  msgid "Data Security Statement"
7281
  msgstr "Datenschutzerklärung"
7282
 
7283
  # @ woocommerce-germanized
7284
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:543
7285
  msgctxt "Page slug"
7286
  msgid "imprint"
7287
  msgstr "impressum"
7288
 
7289
  # @ woocommerce-germanized
7290
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:544
7291
  msgctxt "Page title"
7292
  msgid "Imprint"
7293
  msgstr "Impressum"
7294
 
7295
  # @ woocommerce-germanized
7296
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:548
7297
  msgctxt "Page slug"
7298
  msgid "terms"
7299
  msgstr "agb"
7300
 
7301
  # @ woocommerce-germanized
7302
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:549
7303
  msgctxt "Page title"
7304
  msgid "Terms & Conditions"
7305
  msgstr "AGB"
7306
 
7307
  # @ woocommerce-germanized
7308
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:553
7309
  msgctxt "Page slug"
7310
  msgid "revocation"
7311
  msgstr "widerrufsbelehrung"
7312
 
7313
  # @ woocommerce-germanized
7314
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:554
7315
  msgctxt "Page title"
7316
  msgid "Power of Revocation"
7317
  msgstr "Widerrufsbelehrung"
7318
 
7319
  # @ woocommerce-germanized
7320
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:558
7321
  msgctxt "Page slug"
7322
  msgid "shipping-methods"
7323
  msgstr "versandarten"
7324
 
7325
  # @ woocommerce-germanized
7326
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:559
7327
  msgctxt "Page title"
7328
  msgid "Shipping Methods"
7329
  msgstr "Versandarten"
7330
 
7331
  # @ woocommerce-germanized
7332
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:563
7333
  msgctxt "Page slug"
7334
  msgid "payment-methods"
7335
  msgstr "bezahlmoeglichkeiten"
7336
 
7337
  # @ woocommerce-germanized
7338
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:564
7339
  msgctxt "Page title"
7340
  msgid "Payment Methods"
7341
  msgstr "Zahlungsarten"
@@ -7901,14 +8163,14 @@ msgstr "Anrede"
7901
 
7902
  # @ woocommerce-germanized
7903
  #: woocommerce-germanized/includes/class-wc-gzd-revocation.php:52
7904
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:428
7905
  msgid "Mr."
7906
  msgstr "Herr"
7907
 
7908
  # @ woocommerce-germanized
7909
  #: woocommerce-germanized/includes/class-wc-gzd-revocation.php:53
7910
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:429
7911
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:446
7912
  msgid "Ms."
7913
  msgstr "Frau"
7914
 
@@ -8731,39 +8993,39 @@ msgstr ""
8731
  "Aktiviere die Zahlungsart nur dann, wenn der Kunde bereits eine Bestellung "
8732
  "erfolgreich abgeschlossen hat."
8733
 
8734
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:153
8735
  msgid ">= 12 years"
8736
  msgstr ">= 12 Jahre"
8737
 
8738
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:154
8739
  msgid ">= 16 years"
8740
  msgstr ">= 16 Jahre"
8741
 
8742
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:155
8743
  msgid ">= 18 years"
8744
  msgstr ">= 18 Jahre"
8745
 
8746
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:156
8747
  msgid ">= 21 years"
8748
  msgstr ">= 21 Jahre"
8749
 
8750
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:157
8751
  msgid ">= 25 years"
8752
  msgstr ">= 25 Jahre"
8753
 
8754
  # @ woocommerce-germanized
8755
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:162
8756
  msgctxt "age"
8757
  msgid "None"
8758
  msgstr "Keines"
8759
 
8760
  # @ woocommerce-germanized
8761
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:199
8762
  msgid "Right of Recission"
8763
  msgstr "Widerrufsrecht"
8764
 
8765
  # @ woocommerce-germanized
8766
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:201
8767
  msgid "Data Security"
8768
  msgstr "Datenschutzerklärung"
8769
 
@@ -10358,6 +10620,44 @@ msgstr "Vendidero"
10358
  msgid "https://vendidero.de"
10359
  msgstr "https://vendidero.de"
10360
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10361
  #~ msgctxt "dhl"
10362
  #~ msgid "API Key"
10363
  #~ msgstr "API-Schlüssel"
@@ -10685,10 +10985,6 @@ msgstr "https://vendidero.de"
10685
  #~ msgid "Invoices"
10686
  #~ msgstr "Rechnungen"
10687
 
10688
- # @ woocommerce-germanized
10689
- #~ msgid "E-Mails"
10690
- #~ msgstr "E-Mails"
10691
-
10692
  # @ woocommerce-germanized
10693
  #~ msgid "Email Display Options"
10694
  #~ msgstr "Darstellung"
@@ -10697,10 +10993,6 @@ msgstr "https://vendidero.de"
10697
  #~ msgid "Show within Emails"
10698
  #~ msgstr "In E-Mails anzeigen"
10699
 
10700
- # @ woocommerce-germanized
10701
- #~ msgid "Short Description"
10702
- #~ msgstr "Warenkorbkurzbeschreibung"
10703
-
10704
  # @ woocommerce-germanized
10705
  #~ msgid "Show within Product Listings"
10706
  #~ msgstr "In Produktlisten"
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Germanized\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2019-11-26 18:55+0100\n"
6
+ "PO-Revision-Date: 2019-11-26 18:57+0100\n"
7
  "Last-Translator: holzhannes <holzhannes@posteo.de>\n"
8
  "Language-Team: \n"
9
  "Language: de_DE\n"
54
 
55
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:66
56
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:137
57
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:922
58
  #: woocommerce-germanized-dhl/src/ParcelServices.php:29
59
  msgctxt "dhl"
60
  msgid "Preferred Day"
61
  msgstr "Wunschtag"
62
 
63
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:75
64
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:942
65
  #: woocommerce-germanized-dhl/src/ParcelServices.php:36
66
  msgctxt "dhl"
67
  msgid "Preferred Time"
70
  # @ woocommerce-germanized
71
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:86
72
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:165
73
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:974
74
  #: woocommerce-germanized-dhl/src/ParcelServices.php:43
75
  msgctxt "dhl"
76
  msgid "Preferred Location"
77
  msgstr "Wunschort"
78
 
79
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:97
80
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:982
81
  #: woocommerce-germanized-dhl/src/ParcelServices.php:48
82
  msgctxt "dhl"
83
  msgid "Preferred Neighbor"
90
 
91
  # @ woocommerce-germanized
92
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:120
93
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:709
94
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:778
95
  msgctxt "dhl"
96
  msgid "Name"
97
  msgstr "Name"
98
 
99
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:129
100
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:716
101
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:785
102
  msgctxt "dhl"
103
  msgid "Company"
104
  msgstr "Firma"
105
 
106
  # @ woocommerce-germanized
107
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:138
108
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:341
109
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:723
110
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:792
111
  msgctxt "dhl"
112
  msgid "Street"
113
  msgstr "Straße"
120
 
121
  # @ woocommerce-germanized
122
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:158
123
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:342
124
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:744
125
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:813
126
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder.php:27
127
  msgctxt "dhl"
128
  msgid "Postcode"
130
 
131
  # @ woocommerce-germanized
132
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:167
133
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:343
134
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:737
135
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:806
136
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder.php:30
137
  msgctxt "dhl"
138
  msgid "City"
139
  msgstr "Stadt"
140
 
141
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:178
142
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:760
143
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:829
144
  msgctxt "dhl"
145
  msgid "Phone"
146
  msgstr "Telefon"
147
 
148
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:187
149
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:614
150
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:767
151
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:836
152
  msgctxt "dhl"
153
  msgid "Email"
154
  msgstr "E-Mail"
191
  msgstr "Keine Nachbarschaftszustellung"
192
 
193
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:258
194
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:527
195
  msgctxt "dhl"
196
  msgid "Named person only"
197
  msgstr "Persönliche Übergabe"
218
  msgstr "Mindestalter"
219
 
220
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:306
221
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:548
222
  msgctxt "dhl"
223
  msgid "Premium"
224
  msgstr "Premium"
225
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
226
  # @ woocommerce-germanized
227
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-return-label-backbone-form.php:18
228
  msgctxt "dhl"
230
  msgstr "Empfänger"
231
 
232
  #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
233
  msgctxt "dhl"
234
  msgid "DHL Labels"
235
  msgstr "DHL Labels"
236
 
237
+ #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:18
238
  #, php-format
239
  msgctxt "dhl"
240
  msgid ""
245
  "\">globalen Einstellungen</a>."
246
 
247
  # @ woocommerce-germanized
248
+ #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:28
249
  msgctxt "dhl"
250
  msgid "DHL Label Services"
251
  msgstr "DHL Services"
252
 
253
+ #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:31
254
  #, php-format
255
  msgctxt "dhl"
256
  msgid ""
261
  "\">globalen Einstellungen</a>."
262
 
263
  # @ woocommerce-germanized
264
+ #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:41
265
  msgctxt "dhl"
266
  msgid "DHL Label Automation"
267
  msgstr "DHL Label Automatisierung"
268
 
269
+ #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:44
270
  #, php-format
271
  msgctxt "dhl"
272
  msgid ""
276
  "Automatisierung-Einstellungen für Label anpassen. Änderungen überschreiben "
277
  "die <a href=\"%s\">globalen Einstellungen</a>."
278
 
279
+ #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:53
280
  msgctxt "dhl"
281
  msgid "DHL Preferred Services"
282
  msgstr "DHL Wunschpaket-Services"
283
 
284
+ #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:56
285
  #, php-format
286
  msgctxt "dhl"
287
  msgid ""
291
  "Wunschpaket-Services anpassen. Änderungen überschreiben die <a href=\"%s"
292
  "\">globalen Einstellungen</a>."
293
 
294
+ #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:66
295
  msgctxt "dhl"
296
  msgid "DHL Pickup"
297
  msgstr "DHL Standorte"
298
 
299
+ #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:69
300
  #, php-format
301
  msgctxt "dhl"
302
  msgid ""
332
  msgstr "DHL Label zu deiner Bestellung: #{order_number}"
333
 
334
  # @ woocommerce-germanized
335
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:35
336
+ #: woocommerce-germanized-dhl/src/Api/Paket.php:285
337
  #: woocommerce-germanized-dhl/templates/checkout/dhl/preferred-services.php:81
338
  msgctxt "dhl time context"
339
  msgid "None"
340
  msgstr "Keine"
341
 
342
  # @ woocommerce-germanized
343
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:45
344
+ #: woocommerce-germanized-dhl/src/Api/Paket.php:273
345
  msgctxt "dhl day context"
346
  msgid "None"
347
  msgstr "Keiner"
348
 
349
  # @ woocommerce-germanized
350
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:70
351
  msgctxt "dhl"
352
  msgid "Delivery Duty Unpaid"
353
  msgstr "Delivery Duty Unpaid"
354
 
355
  # @ woocommerce-germanized
356
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:71
357
  msgctxt "dhl"
358
  msgid "Delivery Duty Paid"
359
  msgstr "Delivery Duty Paid"
360
 
361
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:72
362
  msgctxt "dhl"
363
  msgid "Delivery Duty Paid (excl. VAT )"
364
  msgstr "Delivered Duty Paid (exkl. MwSt.)"
365
 
366
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:73
367
  msgctxt "dhl"
368
  msgid "Delivery Duty Paid (excl. Duties, taxes and VAT)"
369
  msgstr "Delivery Duty Paid (exkl. Zölle, Steuern und MwSt.)"
370
 
371
  # @ woocommerce-germanized
372
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:91
373
  msgctxt "age context"
374
  msgid "None"
375
  msgstr "Keine"
376
 
377
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:92
378
  msgctxt "dhl"
379
  msgid "Minimum age of 16"
380
  msgstr "Mindestens 16 Jahre"
381
 
382
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:93
383
  msgctxt "dhl"
384
  msgid "Minimum age of 18"
385
  msgstr "Mindestens 18 Jahre"
386
 
387
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:120
388
  msgctxt "dhl"
389
+ msgid "Shipment #{shipment_id} to order {order_id}"
390
+ msgstr "Sendung #{shipment_id} zur Bestellung {order_id}"
391
 
392
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:135
393
  msgctxt "dhl"
394
  msgid "Return #{shipment_id} to shipment #{original_shipment_id}"
395
  msgstr "Retoure #{shipment_id} zur Sendung #{original_shipment_id}"
396
 
397
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:149
398
  msgctxt "dhl"
399
  msgid "Return shipment #{shipment_id} to order #{order_id}"
400
  msgstr "Retourensendung #{shipment_id} zur Bestellung #{order_id}"
401
 
402
  # @ woocommerce-germanized
403
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:213
404
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:184
405
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:460
406
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:813
407
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder.php:38
408
  msgctxt "dhl"
409
  msgid "Packstation"
410
  msgstr "Packstation"
411
 
412
  # @ woocommerce-germanized
413
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:214
414
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:215
415
  msgctxt "dhl"
416
  msgid "Postfiliale"
417
  msgstr "Postfiliale"
418
 
419
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:284
420
  msgctxt "dhl"
421
  msgid "Receiver is missing or does not exist."
422
  msgstr "Empfänger fehlt oder existiert nicht."
423
 
424
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:317
425
  #, php-format
426
  msgctxt "dhl"
427
  msgid "Shipment order #%s does not exist"
428
  msgstr "Bestellung zur Sendung #%s existiert nicht"
429
 
430
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:348
431
  #, php-format
432
  msgctxt "dhl"
433
  msgid "%s of the return address is a mandatory field."
434
  msgstr "%s der Rücksendeadresse ist ein Pflichtfeld."
435
 
436
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:353
437
  msgctxt "dhl"
438
  msgid "Please either add a return company or name."
439
  msgstr ""
440
  "Bitte gib entweder einen Firmennamen oder Namen für die Rücksendeadresse an."
441
 
442
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:372
443
  msgctxt "dhl"
444
  msgid "Error while parsing preferred day."
445
  msgstr "Fehler beim Einlesen des Wunschtags."
446
 
447
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:383
448
  msgctxt "dhl"
449
  msgid "Error while parsing preferred time."
450
  msgstr "Fehler beim Einlesen der Wunschzeit."
451
 
452
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:407
453
  msgctxt "dhl"
454
  msgid "The visual min age check is invalid."
455
  msgstr "Das Alter der Alterssichtprüfung ist ungültig."
456
 
457
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:423
458
  msgctxt "dhl"
459
  msgid "The ident min age check is invalid."
460
  msgstr "Das Alter des Ident-Checks ist ungültig."
461
 
462
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:430
463
  msgctxt "dhl"
464
  msgid "There was an error parsing the date of birth for the identity check."
465
  msgstr ""
466
  "Beim Einlesen des Geburtsdatums für den Ident-Check trat ein Problem auf."
467
 
468
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:435
469
  msgctxt "dhl"
470
  msgid ""
471
  "Either a minimum age or a date of birth must be added to the ident check."
474
  "hinzugefügt werden."
475
 
476
  # @ woocommerce-germanized
477
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:448
478
  #, php-format
479
  msgctxt "dhl"
480
  msgid "%s duties element does not exist."
481
  msgstr "%s Zollabgabe existiert nicht."
482
 
483
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:797
484
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:872
485
  msgctxt "dhl"
486
  msgid "Invalid shipment"
487
  msgstr "Ungültige Sendung"
488
 
489
  # @ woocommerce-germanized
490
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:801
491
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:876
492
  msgctxt "dhl"
493
  msgid "Order does not exist"
494
  msgstr "Bestellung existiert nicht"
495
 
496
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:824
497
  msgctxt "dhl"
498
  msgid "Error while creating the label instance"
499
  msgstr "Fehler beim Erstellen der Label-Instanz"
500
 
501
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:944
502
  msgctxt "dhl"
503
  msgid "Invalid label"
504
  msgstr "Ungültiges Label"
505
 
506
  # @ woocommerce-germanized
507
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1032
508
  msgctxt "dhl"
509
  msgid "DHL Retoure International A"
510
  msgstr "DHL Retoure International A"
511
 
512
  # @ woocommerce-germanized
513
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1033
514
  msgctxt "dhl"
515
  msgid "DHL Retoure International B"
516
  msgstr "DHL Retoure International B"
517
 
518
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1042
519
  msgctxt "dhl"
520
  msgid "DHL Retoure Online"
521
  msgstr "DHL Retoure Online"
522
 
523
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1053
524
  msgctxt "dhl"
525
  msgid "DHL Paket Connect"
526
  msgstr "DHL Paket Connect"
527
 
528
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1054
529
  msgctxt "dhl"
530
  msgid "DHL Europaket (B2B)"
531
  msgstr "DHL Europaket (B2B)"
532
 
533
  # @ woocommerce-germanized
534
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1055
535
  msgctxt "dhl"
536
  msgid "DHL Paket International"
537
  msgstr "DHL Paket International"
538
 
539
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1121
540
  msgctxt "dhl"
541
  msgid "DHL Paket"
542
  msgstr "DHL Paket"
543
 
544
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1122
545
  msgctxt "dhl"
546
  msgid "DHL Paket PRIO"
547
  msgstr "DHL Paket PRIO"
548
 
549
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1123
550
  msgctxt "dhl"
551
  msgid "DHL Paket Taggleich"
552
  msgstr "DHL Paket Taggleich"
553
 
554
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1210
555
  msgctxt "dhl"
556
  msgid "Error while uploading label."
557
  msgstr "Fehler beim Hochladen des Labels."
558
 
559
  # @ woocommerce-germanized
560
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:111
561
  msgctxt "dhl"
562
  msgid "Receiver Ids"
563
  msgstr "Empfänger IDs"
564
 
565
  # @ woocommerce-germanized
566
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:118
567
  msgctxt "dhl"
568
  msgid "Receiver Id"
569
  msgstr "Empfänger ID"
570
 
571
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:118
572
  msgctxt "dhl"
573
  msgid "Find your Receiver Ids within your DHL contract data."
574
  msgstr "Die Empfänger IDs findest du im DHL Geschäftskundenportal."
575
 
576
  # @ woocommerce-germanized
577
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:119
578
  msgctxt "dhl"
579
  msgid "Country Code"
580
  msgstr "Ländercode"
581
 
582
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:119
583
  msgctxt "dhl"
584
  msgid "Leave empty to use the Receiver Id as fallback."
585
  msgstr "Leer lassen, um diese Empfänger ID als Fallback zu verwenden."
586
 
587
  # @ woocommerce-germanized
588
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:139
589
  msgctxt "dhl"
590
  msgid "+ Add receiver"
591
  msgstr "+ Empfänger hinzufügen"
592
 
593
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:139
594
  msgctxt "dhl"
595
  msgid "Remove selected receiver(s)"
596
  msgstr "Ausgewählte Empfänger löschen"
597
 
598
  # @ woocommerce-germanized
599
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:175
600
  msgctxt "dhl"
601
  msgid "Select a country"
602
  msgstr "Land auswählen"
603
 
604
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:177
605
  msgctxt "dhl"
606
  msgid "Harmonized Tariff Schedule (DHL)"
607
  msgstr "Harmonized Tariff Schedule (DHL)"
608
 
609
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:177
610
  msgctxt "dhl"
611
  msgid "This code is needed for customs of international shipping."
612
  msgstr ""
613
  "Dieser Code wird für die Zollabwicklung bei internationalen Sendungen "
614
  "benötigt."
615
 
616
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:178
617
  msgctxt "dhl"
618
  msgid "Country of manufacture (DHL)"
619
  msgstr "Herstellungsland (DHL)"
620
 
621
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:178
622
  msgctxt "dhl"
623
  msgid ""
624
  "The country of manufacture is needed for customs of international shipping."
626
  "Das Herstellungsland wird für die Zollabwicklung bei internationalen "
627
  "Sendungen benötigt."
628
 
629
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:205
630
  #, php-format
631
  msgctxt "dhl"
632
  msgid ""
636
  "Das Verzeichnis zum Speichern von DHL Labels fehlt. Bitte erstelle den "
637
  "Ordner %s manuell und stelle sicher, dass der Ordner beschreibbar ist."
638
 
639
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:212
 
640
  msgctxt "dhl"
641
+ msgid "DHL"
642
+ msgstr "DHL"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
643
 
644
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:227
 
645
  msgctxt "dhl"
646
+ msgid "DHL Label"
647
+ msgstr "DHL Label"
648
 
649
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:239
650
  msgctxt "dhl"
651
  msgid ""
652
  "This label has been generated by the DHL for WooCommerce Plugin and is shown "
656
  "Kompatibilitäts-Gründen angezeigt."
657
 
658
  # @ woocommerce-germanized
659
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:240
 
660
  msgctxt "dhl"
661
  msgid "Download label"
662
  msgstr "Label downloaden"
663
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
664
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:29
665
  msgctxt "dhl"
666
  msgid "Enable DHL"
705
  "Geschäftskundenportal eingeben."
706
 
707
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:76
708
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:422
709
  msgctxt "dhl"
710
  msgid "Inlay Returns"
711
  msgstr "Beilageretouren"
720
  "solltest du diese Funktion standardmäßig aktivieren."
721
 
722
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:90
723
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:671
724
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:901
725
  msgctxt "dhl"
726
  msgid "Retoure"
727
  msgstr "Retoure"
756
 
757
  # @ woocommerce-germanized
758
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:118
759
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:695
760
  msgctxt "dhl"
761
  msgid "Automation"
762
  msgstr "Automatisierung"
782
 
783
  # @ woocommerce-germanized
784
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:151
785
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:930
786
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:950
787
  msgctxt "dhl"
788
  msgid "Fee"
789
  msgstr "Gebühr"
816
  "Folgenden konfiguriert) als Lieferadresse auswählen."
817
 
818
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:198
819
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1110
820
  msgctxt "dhl"
821
  msgid "Map"
822
  msgstr "Karte"
1053
  "Wähle ein Standard Sendungsgewicht aus, das für Labels verwendet wird, für "
1054
  "die das Gewicht nicht automatisch bestimmt werden kann."
1055
 
1056
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:408
1057
+ msgctxt "dhl"
1058
+ msgid "Minimum weight"
1059
+ msgstr "Mindestgewicht"
1060
+
1061
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:410
1062
+ msgctxt "dhl"
1063
+ msgid ""
1064
+ "Choose a minimum weight to be used for labels e.g. to prevent low shipment "
1065
+ "weight errors."
1066
+ msgstr ""
1067
+ "Wähle ein Mindestgewicht für Sendungen aus, um zu verhindern, dass DHL wegen "
1068
+ "eines zu geringen Gewichts Fehler zurückgibt."
1069
+
1070
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:423
1071
  msgctxt "dhl"
1072
  msgid ""
1073
  "Additionally create inlay return labels for shipments that support returns."
1075
  "Erzeuge zusätzlich Beilage-Retourenlabels für Sendungen die Retouren "
1076
  "unterstützen."
1077
 
1078
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:440
1079
+ msgctxt "dhl"
1080
+ msgid "Tracking"
1081
+ msgstr "Sendungsverfolgung"
1082
+
1083
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:441
1084
+ #, php-format
1085
+ msgctxt "dhl"
1086
+ msgid ""
1087
+ "Adjust the default instructions used to inform your customers about tracking "
1088
+ "a DHL shipment. You may use one of the following placeholders: %s"
1089
+ msgstr ""
1090
+ "Passe die Instruktionen an um Kunden über die DHL Sendungsverfolgung zu "
1091
+ "informieren. Du kannst einen der folgenden Platzhalter verwenden: %s"
1092
+
1093
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:443
1094
+ msgctxt "dhl"
1095
+ msgid ""
1096
+ "Your shipment is being processed by {shipping_provider}. If you want to "
1097
+ "track the shipment, please use the following tracking number: {tracking_id}. "
1098
+ "Depending on the chosen shipping method it is possible that the tracking "
1099
+ "data does not reflect the current status when receiving this email."
1100
+ msgstr ""
1101
+ "Deine Sendung wurde mit {shipping_provider} versandt. Wenn du diese Sendung "
1102
+ "verfolgen möchtest, benutze bitte diese Paketverfolgungsnummer: "
1103
+ "{tracking_id}. Abhängig von der gewählten Versandoption kann es sein, dass "
1104
+ "die Paketverfolgungsdaten zum Zeitpunkt des Erhalts dieser E-Mail noch nicht "
1105
+ "den neuesten Stand wiedergeben."
1106
+
1107
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:461
1108
  msgctxt "dhl"
1109
  msgid "Enable delivery to Packstation."
1110
  msgstr "Aktiviere den Versand an Packstationen."
1111
 
1112
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:462
1113
  msgctxt "dhl"
1114
  msgid "Let customers choose a Packstation as delivery address."
1115
  msgstr "Kunden eine Packstation als Lieferadresse auswählen lassen."
1116
 
1117
  # @ woocommerce-germanized
1118
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:469
1119
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder.php:50
1120
  msgctxt "dhl"
1121
  msgid "Postoffice"
1122
  msgstr "Postfiliale"
1123
 
1124
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:470
1125
  msgctxt "dhl"
1126
  msgid "Enable delivery to Post Offices."
1127
  msgstr "Aktiviere den Versand an Postfilialen."
1128
 
1129
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:471
1130
  msgctxt "dhl"
1131
  msgid "Let customers choose a Post Office as delivery address."
1132
  msgstr "Kunden eine Postfiliale als Lieferadresse auswählen lassen."
1133
 
1134
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:478
1135
  msgctxt "dhl"
1136
  msgid "Parcel Shop"
1137
  msgstr "Paketshop"
1138
 
1139
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:479
1140
  msgctxt "dhl"
1141
  msgid "Enable delivery to Parcel Shops."
1142
  msgstr "Lieferung an Paketshops aktivieren."
1143
 
1144
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:480
1145
  msgctxt "dhl"
1146
  msgid "Let customers choose a Parcel Shop as delivery address."
1147
  msgstr "Kunden einen Paketshop als Lieferadresse auswählen lassen."
1148
 
1149
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:498
1150
  msgctxt "dhl"
1151
  msgid "Visual minimum age"
1152
  msgstr "Alterssichtprüfung"
1153
 
1154
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:503
1155
  msgctxt "dhl"
1156
  msgid "Choose this option if you want to let DHL check your customer's age."
1157
  msgstr ""
1158
  "Wähle diese Option aus, wenn du das Alter durch DHL prüfen lassen möchtest."
1159
 
1160
  # @ woocommerce-germanized
1161
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:506
1162
  msgctxt "dhl"
1163
  msgid "Additional Insurance"
1164
  msgstr "Transportversicherung"
1165
 
1166
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:507
1167
  msgctxt "dhl"
1168
  msgid "Add an additional insurance to labels."
1169
  msgstr "Füge eine Transportversicherung zur Sendung hinzu."
1170
 
1171
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:513
1172
  msgctxt "dhl"
1173
  msgid "Retail Outlet Routing"
1174
  msgstr "Filialrouting"
1175
 
1176
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:514
1177
  msgctxt "dhl"
1178
  msgid ""
1179
  "Send undeliverable items to nearest retail outlet instead of immediate "
1182
  "Sende unzustellbare Sendungen in die nächstgelegene Filiale zur Abholung "
1183
  "anstelle diese direkt zurückzusenden."
1184
 
1185
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:520
1186
  msgctxt "dhl"
1187
  msgid "No Neighbor"
1188
  msgstr "Keine Nachbarschaftszustellung"
1189
 
1190
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:521
1191
  msgctxt "dhl"
1192
  msgid "Do not deliver to neighbors."
1193
  msgstr "Schließe eine Ersatzzustellung beim Nachbarn aus."
1194
 
1195
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:528
1196
  msgctxt "dhl"
1197
  msgid "Do only delivery to named person."
1198
  msgstr ""
1199
  "Lasse Pakete nur an den Empfänger persönlich oder an eine bevollmächtigte "
1200
  "Person übergeben."
1201
 
1202
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:534
1203
  msgctxt "dhl"
1204
  msgid "Bulky Goods"
1205
  msgstr "Sperrgut"
1206
 
1207
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:535
1208
  msgctxt "dhl"
1209
  msgid "Deliver as bulky goods."
1210
  msgstr "Sende Pakete als Sperrgut."
1211
 
1212
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:541
1213
  msgctxt "dhl"
1214
  msgid "Age Verification"
1215
  msgstr "Alterssichtprüfung"
1216
 
1217
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:542
1218
  msgctxt "dhl"
1219
  msgid "Verify ages if shipment contains applicable items."
1220
  msgstr ""
1221
  "Aktiviere die Alterssichtprüfung, falls die Sendung zu prüfende Positionen "
1222
  "beinhaltet."
1223
 
1224
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:542
1225
  #, php-format
1226
  msgctxt "dhl"
1227
  msgid ""
1234
  "Alterssichtprüfung automatisch aktiviert, falls eine Sendung zu prüfenden "
1235
  "Produkte beinhaltet."
1236
 
1237
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:542
1238
  msgctxt "dhl"
1239
  msgid "age verification checkbox"
1240
  msgstr "Checkbox zur Altersprüfung"
1241
 
1242
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:549
1243
  msgctxt "dhl"
1244
  msgid "Premium delivery for international shipments."
1245
  msgstr "Premium Lieferung für internationale Sendungen."
1246
 
1247
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:568
1248
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1161
1249
  msgctxt "dhl"
1250
  msgid "Labels"
1251
  msgstr "Labels"
1252
 
1253
  # @ woocommerce-germanized
1254
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:569
1255
  msgctxt "dhl"
1256
  msgid "Automatically create labels for shipments."
1257
  msgstr "Automatisch Labels zu Sendungen erstellen."
1258
 
1259
  # @ woocommerce-germanized
1260
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:576
1261
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:603
1262
  msgctxt "dhl"
1263
  msgid "Status"
1264
  msgstr "Status"
1265
 
1266
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:580
1267
  msgctxt "dhl"
1268
  msgid "Choose a shipment status which should trigger generation of a label."
1269
  msgstr ""
1270
  "Wähle einen Sendungsstatus aus, der die Erzeugung eines Labels auslösen soll."
1271
 
1272
  # @ woocommerce-germanized
1273
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:587
1274
  msgctxt "dhl"
1275
  msgid "Shipment Status"
1276
  msgstr "Sendungsstatus"
1277
 
1278
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:588
1279
  msgctxt "dhl"
1280
  msgid "Mark shipment as shipped after label has been created successfully."
1281
  msgstr ""
1282
  "Sendung als versandt markieren, sobald ein Label erfolgreich erstellt wurde."
1283
 
1284
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:595
1285
  msgctxt "dhl"
1286
  msgid "Returns"
1287
  msgstr "Retouren"
1288
 
1289
  # @ woocommerce-germanized
1290
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:596
1291
  msgctxt "dhl"
1292
  msgid "Automatically create labels for returns."
1293
  msgstr "Automatisch Retourenlabels zu Retourensendungen erstellen."
1294
 
1295
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:607
1296
  msgctxt "dhl"
1297
  msgid ""
1298
  "Choose a shipment status which should trigger generation of a return label."
1300
  "Wähle einen Sendungsstatus aus, der die Erzeugung eines Retourenlabels "
1301
  "auslösen soll."
1302
 
1303
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:615
1304
  msgctxt "dhl"
1305
  msgid "Send the return label to the customer by email after creating it."
1306
  msgstr "Sende das Retourenlabel nach dem Erstellen per E-Mail an den Kunden."
1307
 
1308
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:661
1309
  #, php-format
1310
  msgctxt "dhl"
1311
  msgid ""
1316
  "können von abweichenden Einstellungen der %s überschrieben werden."
1317
 
1318
  # @ woocommerce-germanized
1319
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:661
1320
  msgctxt "dhl"
1321
  msgid "shipping method"
1322
  msgstr "Versandmethode"
1323
 
1324
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:671
1325
  #, php-format
1326
  msgctxt "dhl"
1327
  msgid ""
1332
  "an. Stelle sicher, dass dein %s DHL Retoure Online enthält."
1333
 
1334
  # @ woocommerce-germanized
1335
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:671
1336
  msgctxt "dhl"
1337
  msgid "contract"
1338
  msgstr "Vertrag"
1339
 
1340
  # @ woocommerce-germanized
1341
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:683
1342
  msgctxt "dhl"
1343
  msgid "Default Services"
1344
  msgstr "Standard-Services"
1345
 
1346
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:683
1347
  #, php-format
1348
  msgctxt "dhl"
1349
  msgid ""
1353
  "Passe hier an, welche der Services als Standard für deine Labels gebucht "
1354
  "werden sollen. Finde mehr über diese %s heraus."
1355
 
1356
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:683
1357
  msgctxt "dhl"
1358
  msgid "nationwide services"
1359
  msgstr "nationalen Services"
1360
 
1361
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:695
1362
  msgctxt "dhl"
1363
  msgid ""
1364
  "Choose whether and under which conditions labels for your shipments shall be "
1368
  "erzeugt werden sollen."
1369
 
1370
  # @ woocommerce-germanized
1371
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:706
1372
  msgctxt "dhl"
1373
  msgid "Shipper Address"
1374
  msgstr "Absenderadresse"
1375
 
1376
  # @ woocommerce-germanized
1377
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:730
1378
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:799
1379
  msgctxt "dhl"
1380
  msgid "Street Number"
1381
  msgstr "Hausnummer"
1382
 
1383
  # @ woocommerce-germanized
1384
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:751
1385
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:820
1386
  msgctxt "dhl"
1387
  msgid "Country"
1388
  msgstr "Land"
1389
 
1390
  # @ woocommerce-germanized
1391
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:775
1392
  msgctxt "dhl"
1393
  msgid "Inlay Return Address"
1394
  msgstr "Beilageretouren Adresse"
1395
 
1396
  # @ woocommerce-germanized
1397
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:844
1398
  msgctxt "dhl"
1399
  msgid "Bank Account"
1400
  msgstr "Bankkonto"
1401
 
1402
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:844
1403
  msgctxt "dhl"
1404
  msgid "Enter your bank details needed for services that use COD."
1405
  msgstr ""
1407
  "werden sollen."
1408
 
1409
  # @ woocommerce-germanized
1410
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:847
1411
  msgctxt "dhl"
1412
  msgid "Holder"
1413
  msgstr "Kontoinhaber"
1414
 
1415
  # @ woocommerce-germanized
1416
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:854
1417
  msgctxt "dhl"
1418
  msgid "Bank Name"
1419
  msgstr "Name der Bank"
1420
 
1421
  # @ woocommerce-germanized
1422
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:861
1423
  msgctxt "dhl"
1424
  msgid "IBAN"
1425
  msgstr "IBAN"
1426
 
1427
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:868
1428
  msgctxt "dhl"
1429
  msgid "BIC"
1430
  msgstr "BIC"
1431
 
1432
  # @ woocommerce-germanized
1433
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:875
1434
  msgctxt "dhl"
1435
  msgid "Payment Reference"
1436
  msgstr "Zahlungsreferenz"
1437
 
1438
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:879
1439
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:888
1440
  #, php-format
1441
  msgctxt "dhl"
1442
  msgid ""
1447
  "%s. Der Text ist auf 35 Zeichen begrenzt."
1448
 
1449
  # @ woocommerce-germanized
1450
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:884
1451
  msgctxt "dhl"
1452
  msgid "Payment Reference 2"
1453
  msgstr "Zahlungsreferenz 2"
1454
 
1455
  # @ woocommerce-germanized
1456
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:902
1457
  msgctxt "dhl"
1458
  msgid "Enable creating labels for return shipments."
1459
  msgstr "Automatisch Retourenlabels zu Retourensendungen erstellen."
1460
 
1461
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:902
1462
  msgctxt "dhl"
1463
  msgid ""
1464
  "By enabling this option you might generate retoure labels for return "
1467
  "Mit der Aktivierung dieser Option kannst du Retourenlabels zu "
1468
  "Retourensendungen erstellen und diese per E-Mail an den Kunden weiterleiten."
1469
 
1470
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:923
1471
  msgctxt "dhl"
1472
  msgid "Enable preferred day delivery."
1473
  msgstr "Aktiviere die Lieferung am Wunschtag."
1474
 
1475
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:923
1476
  msgctxt "dhl"
1477
  msgid ""
1478
  "Enabling this option will display options for the user to select their "
1481
  "Diese Option aktiviert die Auswahl eines Wunschtags durch den Kunden in der "
1482
  "Kasse."
1483
 
1484
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:932
1485
  msgctxt "dhl"
1486
  msgid ""
1487
  "Insert gross value as surcharge for preferred day delivery. Insert 0 to "
1490
  "Füge einen Bruttopreis als Gebühr für die Lieferung am Wunschtag hinzu. "
1491
  "Setze den Wert auf 0 um den Service kostenlos anzubieten."
1492
 
1493
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:943
1494
  msgctxt "dhl"
1495
  msgid "Enable preferred time delivery."
1496
  msgstr "Aktiviere die Lieferung zur Wunschzeit."
1497
 
1498
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:943
1499
  msgctxt "dhl"
1500
  msgid ""
1501
  "Enabling this option will display options for the user to select their "
1504
  "Diese Option aktiviert die Auswahl einer Wunschzeit durch den Kunden in der "
1505
  "Kasse."
1506
 
1507
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:952
1508
  msgctxt "dhl"
1509
  msgid ""
1510
  "Insert gross value as surcharge for preferred time delivery. Insert 0 to "
1513
  "Füge einen Bruttopreis als Gebühr für die Lieferung zur Wunschzeit hinzu. "
1514
  "Setze den Wert auf 0 um den Service kostenlos anzubieten."
1515
 
1516
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:962
1517
  msgctxt "dhl"
1518
  msgid "Combined Fee"
1519
  msgstr "Kombinierte Gebühr"
1520
 
1521
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:964
1522
  msgctxt "dhl"
1523
  msgid ""
1524
  "Insert gross value as surcharge for the combination of preferred day and "
1529
  "anzubieten."
1530
 
1531
  # @ woocommerce-germanized
1532
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:975
1533
  msgctxt "dhl"
1534
  msgid "Enable preferred location delivery."
1535
  msgstr "Lieferung an einen Wunschort aktivieren."
1536
 
1537
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:975
1538
  msgctxt "dhl"
1539
  msgid ""
1540
  "Enabling this option will display options for the user to select their "
1543
  "Diese Option aktiviert die Auswahl eines Wunschorts durch den Kunden in der "
1544
  "Kasse ."
1545
 
1546
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:983
1547
  msgctxt "dhl"
1548
  msgid "Enable preferred neighbor delivery."
1549
  msgstr "Aktiviere die Lieferung an einen Wunschnachbarn."
1550
 
1551
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:983
1552
  msgctxt "dhl"
1553
  msgid ""
1554
  "Enabling this option will display options for the user to deliver to their "
1557
  "Diese Option aktiviert die Auswahl eines Wunschnachbarn durch den Kunden in "
1558
  "der Kasse."
1559
 
1560
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1009
1561
  msgctxt "dhl"
1562
  msgid "Cut-off time"
1563
  msgstr "Cut-off-Zeit"
1564
 
1565
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1012
1566
  msgctxt "dhl"
1567
  msgid ""
1568
  "The cut-off time is the latest possible order time up to which the minimum "
1575
  "Nach Überschreitung dieses Zeitpunktes, wird der früheste verfügbare "
1576
  "Wunschtag in der Kasse um einen Tag erhöht (Tag der Bestellung + 3 Werktage)."
1577
 
1578
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1018
1579
  msgctxt "dhl"
1580
  msgid "Preparation days"
1581
  msgstr "Bearbeitungstage"
1582
 
1583
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1021
1584
  msgctxt "dhl"
1585
  msgid ""
1586
  "If you need more time to prepare your shipments you might want to add a "
1591
  "hier eine statische Anzahl an Tagen hinterlegen, die zum frühesten "
1592
  "auswählbaren Wunschtag hinzugefügt werden."
1593
 
1594
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1028
1595
  msgctxt "dhl"
1596
  msgid "Exclude days of transfer"
1597
  msgstr "Übergabetage ausschließen"
1598
 
1599
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1029
1600
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:31
1601
  msgctxt "dhl"
1602
  msgid "Monday"
1603
  msgstr "Montag"
1604
 
1605
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1030
1606
  msgctxt "dhl"
1607
  msgid "Exclude days from transferring shipments to DHL."
1608
  msgstr "Schließe bestimmte Wochentage für die Übergabe an DHL aus."
1609
 
1610
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1039
1611
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:32
1612
  msgctxt "dhl"
1613
  msgid "Tuesday"
1614
  msgstr "Dienstag"
1615
 
1616
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1048
1617
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:33
1618
  msgctxt "dhl"
1619
  msgid "Wednesday"
1620
  msgstr "Mittwoch"
1621
 
1622
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1057
1623
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:34
1624
  msgctxt "dhl"
1625
  msgid "Thursday"
1626
  msgstr "Donnerstag"
1627
 
1628
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1066
1629
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:35
1630
  msgctxt "dhl"
1631
  msgid "Friday"
1632
  msgstr "Freitag"
1633
 
1634
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1075
1635
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:36
1636
  msgctxt "dhl"
1637
  msgid "Saturday"
1638
  msgstr "Samstag"
1639
 
1640
  # @ woocommerce-germanized
1641
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1084
1642
  msgctxt "dhl"
1643
  msgid "Exclude gateways"
1644
  msgstr "Zahlungsarten ausschließen"
1645
 
1646
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1086
1647
  msgctxt "dhl"
1648
  msgid "Select payment gateways to be excluded from showing preferred services."
1649
  msgstr ""
1650
  "Wähle Zahlungsarten aus, für die die Wunschpaket-Services nicht zur "
1651
  "Verfügung stehen sollen."
1652
 
1653
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1111
1654
  msgctxt "dhl"
1655
  msgid "Let customers find a DHL location on a map."
1656
  msgstr "Lasse Kunden einen DHL Standort auf der Karte auswählen."
1657
 
1658
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1111
1659
  msgctxt "dhl"
1660
  msgid ""
1661
  "Enable this option to let your customers choose a pickup option from a map "
1666
  "einer Karten in der Kasse zu ermöglichen. Wenn diese Option deaktiviert ist, "
1667
  "wird stattdessen auf die DHL Website verwiesen."
1668
 
1669
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1118
1670
  msgctxt "dhl"
1671
  msgid "Google Maps Key"
1672
  msgstr "Google Maps Schlüssel"
1673
 
1674
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1122
1675
  #, php-format
1676
  msgctxt "dhl"
1677
  msgid ""
1681
  "Um eine Karte integrieren zu können, benötigst du einen gültigen API-"
1682
  "Schlüssel für Google Maps. Du kannst %s."
1683
 
1684
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1122
1685
  msgctxt "dhl"
1686
  msgid "retrieve a new one"
1687
  msgstr "hier einen neuen erstellen"
1688
 
1689
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1127
1690
  msgctxt "dhl"
1691
  msgid "Limit results"
1692
  msgstr "Suchergebnisse begrenzen"
1693
 
1694
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1131
1695
  msgctxt "dhl"
1696
  msgid "Limit the number of DHL locations shown on the map"
1697
  msgstr "Begrenzt die Anzahl der angezeigten DHL Standorte auf der Karte"
1698
 
1699
  # @ woocommerce-germanized
1700
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1160
1701
  msgctxt "dhl"
1702
  msgid "General"
1703
  msgstr "Allgemein"
1704
 
1705
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1162
1706
  msgctxt "dhl"
1707
  msgid "Preferred Services"
1708
  msgstr "Wunschpaket"
1709
 
1710
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1163
1711
  msgctxt "dhl"
1712
  msgid "Parcel Pickup"
1713
  msgstr "Standorte"
1714
 
1715
+ #: woocommerce-germanized-dhl/src/Ajax.php:64
1716
  msgctxt "dhl"
1717
  msgid "Label successfully sent to customer."
1718
  msgstr "Label erfolgreich an den Kunden zugestellt."
1719
 
1720
+ #: woocommerce-germanized-dhl/src/Ajax.php:71
1721
  msgctxt "dhl"
1722
  msgid "There was an error while sending the label."
1723
  msgstr "Beim Versendes des Labels ist ein Fehler aufgetreten."
1724
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1725
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:37
1726
  msgctxt "dhl"
1727
  msgid "Sunday"
1801
  msgid "Parcel API not available"
1802
  msgstr "Paket API ist nicht erreichbar"
1803
 
1804
+ #: woocommerce-germanized-dhl/src/Api/Paket.php:251
1805
  msgctxt "dhl"
1806
  msgid "Mon"
1807
  msgstr "Mo"
1808
 
1809
+ #: woocommerce-germanized-dhl/src/Api/Paket.php:252
1810
  msgctxt "dhl"
1811
  msgid "Tue"
1812
  msgstr "Di"
1813
 
1814
+ #: woocommerce-germanized-dhl/src/Api/Paket.php:253
1815
  msgctxt "dhl"
1816
  msgid "Wed"
1817
  msgstr "Mi"
1818
 
1819
+ #: woocommerce-germanized-dhl/src/Api/Paket.php:254
1820
  msgctxt "dhl"
1821
  msgid "Thu"
1822
  msgstr "Do"
1823
 
1824
+ #: woocommerce-germanized-dhl/src/Api/Paket.php:255
1825
  msgctxt "dhl"
1826
  msgid "Fri"
1827
  msgstr "Fr"
1828
 
1829
  # @ woocommerce-germanized
1830
+ #: woocommerce-germanized-dhl/src/Api/Paket.php:256
1831
  msgctxt "dhl"
1832
  msgid "Sat"
1833
  msgstr "Sa"
1834
 
1835
+ #: woocommerce-germanized-dhl/src/Api/Paket.php:257
1836
  msgctxt "dhl"
1837
  msgid "Sun"
1838
  msgstr "So"
1909
  msgstr "%s-%s"
1910
 
1911
  # @ woocommerce-germanized
1912
+ #: woocommerce-germanized-dhl/src/Package.php:635
1913
  msgctxt "dhl"
1914
  msgid "Germany"
1915
  msgstr "Deutschland"
1916
 
1917
  # @ woocommerce-germanized
1918
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:88
1919
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:826
1920
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:851
1921
  msgctxt "dhl"
1922
  msgid "Address Type"
1923
  msgstr "Adresstyp"
1924
 
1925
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:91
1926
  msgctxt "dhl"
1927
  msgid "Select whether delivery to DHL locations should be enabled."
1928
  msgstr "Wähle aus, ob die Lieferung an DHL Standorte aktiviert werden soll."
1929
 
1930
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:96
1931
  msgctxt "dhl"
1932
  msgid "Postnumber"
1933
  msgstr "Postnummer"
1934
 
1935
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:98
1936
  msgctxt "dhl"
1937
  msgid ""
1938
  "In case delivery to packstation is selected please fill in the corresponding "
1941
  "Insofern die Lieferung an eine Packstation erfolgt, bitte die Postnummer "
1942
  "eintragen."
1943
 
1944
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:184
1945
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:555
1946
  msgctxt "dhl"
1947
  msgid "Invalid address type."
1948
  msgstr "Ungültiger Adresstyp."
1949
 
1950
  # @ woocommerce-germanized
1951
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:618
1952
  msgctxt "dhl"
1953
  msgid "Sorry, but delivery to packstation is not available."
1954
  msgstr ""
1955
  "Entschuldigung, die Lieferung an eine Packstation steht nicht zur Verfügung."
1956
 
1957
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:623
1958
  msgctxt "dhl"
1959
  msgid "Sorry, but delivery to parcel shops is not available."
1960
  msgstr ""
1961
  "Entschuldigung, die Lieferung an einen Paketshop steht nicht zur Verfügung."
1962
 
1963
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:627
1964
  msgctxt "dhl"
1965
  msgid "Sorry, but delivery to post offices is not available."
1966
  msgstr "Entschuldigung, die Lieferung an Postfilialen ist nicht verfügbar."
1967
 
1968
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:634
1969
  #, php-format
1970
  msgctxt "dhl"
1971
  msgid "Please indicate shipment to %s by one of the following values: %s."
1973
  "Bitte identifiziere die Lieferung an %s durch die Eingabe einer der "
1974
  "folgenden Werte: %s."
1975
 
1976
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:642
1977
  msgctxt "dhl"
1978
  msgid ""
1979
  "Your DHL customer number (Post number) is needed to ship to a packstation."
1981
  "Deine DHL Kundennummer (Postnummer) wird für den Versand an eine Packstation "
1982
  "benötigt."
1983
 
1984
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:644
1985
  msgctxt "dhl"
1986
  msgid ""
1987
  "Your DHL customer number (Post number) is not valid. Please check your "
1990
  "Deine DHL Kundennummer (Postnummer) ist nicht gültig. Bitte überprüfe deine "
1991
  "Eingabe."
1992
 
1993
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:690
1994
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:817
1995
  msgctxt "dhl"
1996
  msgid "Branch"
1997
  msgstr "Filiale"
1998
 
1999
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:691
2000
  msgctxt "dhl"
2001
  msgid "Postnumber "
2002
  msgstr "Postnummer "
2003
 
2004
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:792
2005
  #, php-format
2006
  msgctxt "dhl"
2007
  msgid "e.g. %s 456"
2008
  msgstr "z.B. %s 456"
2009
 
2010
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:817
2011
  msgctxt "dhl"
2012
  msgid "Branches"
2013
  msgstr "Filialen"
2014
 
2015
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:833
2016
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:861
2017
  msgctxt "dhl"
2018
  msgid "DHL customer number (Post number)"
2019
  msgstr "DHL Kundennummer (Postnummer)"
2020
 
2021
  # @ woocommerce-germanized
2022
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:843
2023
  msgctxt "dhl"
2024
  msgid "Regular Address"
2025
  msgstr "Normale Adresse"
2026
 
2027
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:865
2028
  msgctxt "dhl"
2029
  msgid "Not yet a DHL customer?"
2030
  msgstr "Noch kein DHL Kunde?"
2031
 
2032
  # @ woocommerce-germanized
2033
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:865
2034
  msgctxt "dhl"
2035
  msgid "Register now"
2036
  msgstr "Jetzt registrieren"
2037
 
2038
  # @ woocommerce-germanized
2039
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:914
2040
  #, php-format
2041
  msgctxt "dhl"
2042
  msgid "Search %s"
2043
  msgstr "%s suchen"
2044
 
2045
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:1019
2046
  msgctxt "dhl"
2047
  msgid "No DHL locations found"
2048
  msgstr "Keine DHL Standorte gefunden"
2049
 
2050
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:1034
2051
  #, php-format
2052
  msgctxt "dhl"
2053
  msgid ""
2058
  "%s oder %s."
2059
 
2060
  # @ woocommerce-germanized
2061
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:1034
2062
  msgctxt "dhl"
2063
  msgid "DHL location"
2064
  msgstr "DHL Standort"
2065
 
2066
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:1034
2067
  msgctxt "dhl"
2068
  msgid "retry"
2069
  msgstr "Erneut versuchen"
2108
  msgid "Please choose name and address of your preferred neighbor."
2109
  msgstr "Bitte wähle einen Namen und die Adresse deines Wunschnachbars."
2110
 
2111
+ #: woocommerce-germanized-dhl/src/ReturnLabel.php:158
2112
  #: woocommerce-germanized-dhl/src/SimpleLabel.php:86
2113
  #, php-format
2114
  msgctxt "dhl full name"
2115
  msgid "%1$s"
2116
  msgstr "%1$s"
2117
 
2118
+ #: woocommerce-germanized-dhl/src/ShippingProviderDHL.php:37
2119
+ #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-setup-wizard.php:91
2120
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-dhl.php:33
2121
+ #: woocommerce-germanized/includes/admin/views/setup/dhl.php:10
2122
+ msgid "DHL"
2123
+ msgstr "DHL"
2124
+
2125
+ #: woocommerce-germanized-dhl/src/ShippingProviderDHL.php:45
2126
+ msgctxt "dhl"
2127
+ msgid ""
2128
+ "Complete DHL integration supporting labels, preferred services and "
2129
+ "packstation delivery."
2130
+ msgstr ""
2131
+ "DHL Integration die das Erzeugen von Labels, Wunsch-Services und Lieferung "
2132
+ "an Packstationen unterstützt."
2133
+
2134
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder-result.php:31
2135
  msgctxt "dhl"
2136
  msgid "Opening Times"
2374
  msgstr "LxBxH in dezimaler Form."
2375
 
2376
  # @ woocommerce-germanized
2377
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:68
2378
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:856
2379
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:24
2380
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:648
2381
  msgctxt "shipments"
2382
  msgid "Status"
2383
  msgstr "Status"
2384
 
2385
  # @ woocommerce-germanized
2386
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:78
2387
  msgctxt "shipments"
2388
  msgid "Shipping method"
2389
  msgstr "Versandmethode"
2390
 
2391
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:88
2392
  msgctxt "shipments"
2393
  msgid "Shipping provider"
2394
  msgstr "Versanddienstleister"
2395
 
2396
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:99
 
2397
  msgctxt "shipments"
2398
+ msgid "Tracking Number"
2399
+ msgstr "Sendungsnummer"
2400
 
2401
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:108
2402
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:164
2403
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:221
2404
  msgctxt "shipments"
2405
  msgid "Item"
2406
  msgstr "Position"
2407
 
2408
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:111
2409
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:165
2410
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:222
2411
  #: woocommerce-germanized-shipments/templates/emails/email-shipment-details.php:55
2412
  #: woocommerce-germanized-shipments/templates/shipment/shipment-details.php:50
2413
  msgctxt "shipments"
2415
  msgstr "Anzahl"
2416
 
2417
  # @ woocommerce-germanized
2418
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:114
2419
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:858
2420
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:28
2421
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:652
2422
  msgctxt "shipments"
2423
  msgid "Actions"
2424
  msgstr "Aktionen"
2425
 
2426
  # @ woocommerce-germanized
2427
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:128
2428
  msgctxt "shipments"
2429
  msgid "Add item"
2430
  msgstr "Position hinzufügen"
2431
 
2432
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:132
2433
  msgctxt "shipments"
2434
  msgid "Sync items"
2435
  msgstr "Positionen synchronisieren"
2436
 
2437
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:133
2438
  msgctxt "shipments"
2439
  msgid "Automatically adjust items and quantities based on order item data."
2440
  msgstr "Bestimmt Positionen und Anzahlen automatisch anhand der Bestelldaten."
2441
 
2442
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:154
2443
  msgctxt "shipments"
2444
  msgid "Add Item"
2445
  msgstr "Position hinzufügen"
2446
 
2447
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:183
2448
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:231
2449
  msgctxt "shipments"
2450
  msgid "Add"
2451
  msgstr "Hinzufügen"
2452
 
2453
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:211
2454
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:271
2455
  msgctxt "shipments"
2456
  msgid "Add Return"
2457
  msgstr "Retoure hinzufügen"
2458
 
2459
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:275
2460
  #, php-format
2461
  msgctxt "shipments"
2462
  msgid "Delete %s"
2471
  msgstr[0] "%d von %d Position"
2472
  msgstr[1] "%d von %d Positionen"
2473
 
2474
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-item.php:37
2475
+ #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:26
2476
+ #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php:39
2477
  msgctxt "shipments"
2478
  msgid "Delete"
2479
  msgstr "Löschen"
2486
 
2487
  # @ woocommerce-germanized
2488
  #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php:19
2489
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:66
2490
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:74
2491
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:143
2492
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:231
2493
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:298
2494
  #: woocommerce-germanized-shipments/templates/myaccount/order-shipments.php:35
2495
  msgctxt "shipments"
2496
  msgid "Shipments"
2506
  msgid "Save"
2507
  msgstr "Speichern"
2508
 
2509
+ # @ woocommerce-germanized
2510
+ # @ woocommerce
2511
+ #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:11
2512
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:22
2513
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:646
2514
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:397
2515
+ msgctxt "shipments"
2516
+ msgid "Title"
2517
+ msgstr "Titel"
2518
+
2519
+ # @ woocommerce-germanized
2520
+ #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:12
2521
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:406
2522
+ msgctxt "shipments"
2523
+ msgid "Description"
2524
+ msgstr "Beschreibung"
2525
+
2526
+ #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:13
2527
+ msgctxt "shipments"
2528
+ msgid "Activated"
2529
+ msgstr "Aktiviert"
2530
+
2531
+ # @ woocommerce-germanized
2532
+ #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:23
2533
+ msgctxt "shipments"
2534
+ msgid "Edit"
2535
+ msgstr "Bearbeiten"
2536
+
2537
+ #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:35
2538
+ msgctxt "shipments"
2539
+ msgid "Yes"
2540
+ msgstr "Ja"
2541
+
2542
+ #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:50
2543
+ #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:51
2544
+ msgctxt "shipments"
2545
+ msgid "Manage shipping provider"
2546
+ msgstr "Versanddienstleister verwalten"
2547
+
2548
+ #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:52
2549
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shipments.php:69
2550
+ msgctxt "shipments"
2551
+ msgid "Manage"
2552
+ msgstr "Verwalten"
2553
+
2554
+ #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label-backbone.php:13
2555
+ #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php:43
2556
+ msgctxt "shipments"
2557
+ msgid "Create label"
2558
+ msgstr "Label erstellen"
2559
+
2560
+ #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label-backbone.php:25
2561
+ msgctxt "shipments"
2562
+ msgid "Create"
2563
+ msgstr "Erstellen"
2564
+
2565
+ #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php:15
2566
+ #, php-format
2567
+ msgctxt "shipments"
2568
+ msgid "%s Label"
2569
+ msgstr "%s Label"
2570
+
2571
+ #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php:21
2572
+ msgctxt "shipments"
2573
+ msgid "Download"
2574
+ msgstr "Download"
2575
+
2576
+ # @ woocommerce-germanized
2577
+ #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php:24
2578
+ msgctxt "shipments"
2579
+ msgid "Send to customer"
2580
+ msgstr "An den Kunden senden"
2581
+
2582
+ #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php:43
2583
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:355
2584
+ msgctxt "shipments"
2585
+ msgid "Create new label"
2586
+ msgstr "Neues Label erstellen"
2587
+
2588
  # @ woocommerce-germanized
2589
  #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:49
2590
  msgctxt "shipments"
2599
  "Sendungsbenachrichtigungen werden an den Kunden verschickt, sobald eine "
2600
  "Sendung als verschickt markiert wurde."
2601
 
2602
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:83
2603
  msgctxt "shipments"
2604
  msgid "Your {site_title} order #{order_number} has been partially shipped"
2605
  msgstr ""
2606
  "Deine Bestellung #{order_number} bei {site_title} wurde teilweise verschickt"
2607
 
2608
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:85
2609
  msgctxt "shipments"
2610
  msgid "Your {site_title} order #{order_number} has been shipped"
2611
  msgstr "Deine Bestellung #{order_number} bei {site_title} wurde verschickt"
2612
 
2613
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:98
2614
  msgctxt "shipments"
2615
  msgid "Partial shipment to your order: {order_number}"
2616
  msgstr "Teilsendung zu deiner Bestellung {order_number}"
2617
 
2618
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:100
2619
  msgctxt "shipments"
2620
  msgid "Shipment to your order: {order_number}"
2621
  msgstr "Sendung zu deiner Bestellung {order_number}"
2622
 
2623
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:264
2624
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:278
2625
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:287
2626
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:296
2627
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:305
2628
  #, php-format
2629
+ msgctxt "shipments"
2630
  msgid "Available placeholders: %s"
2631
  msgstr "Verfügbare Platzhalter: %s"
2632
 
2633
  # @ woocommerce-germanized
2634
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:268
2635
  msgctxt "shipments"
2636
  msgid "Enable/Disable"
2637
  msgstr "Aktivieren/Deaktivieren"
2638
 
2639
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:270
2640
  msgctxt "shipments"
2641
  msgid "Enable this email notification"
2642
  msgstr "Aktiviere diese E-Mail-Benachrichtigung"
2643
 
2644
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:274
2645
  msgctxt "shipments"
2646
  msgid "Full shipment subject"
2647
  msgstr "Vollständige Sendung Betreff"
2648
 
2649
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:283
 
 
 
 
 
 
 
 
 
2650
  msgctxt "shipments"
2651
  msgid "Partial shipment subject"
2652
  msgstr "Teilsendung Betreff"
2653
 
2654
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:292
2655
  msgctxt "shipments"
2656
  msgid "Full shipment email heading"
2657
  msgstr "Vollständige Sendung Kopfzeile"
2658
 
2659
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:301
2660
  msgctxt "shipments"
2661
  msgid "Partial shipment email heading"
2662
  msgstr "Teilsendung Kopfzeile"
2663
 
2664
  # @ woocommerce-germanized
2665
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:310
2666
  msgctxt "shipments"
2667
  msgid "Additional content"
2668
  msgstr "Zusätzlicher Inhalt"
2669
 
2670
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:311
2671
  msgctxt "shipments"
2672
  msgid "Text to appear below the main email content."
2673
  msgstr "Text der unterhalb des Inhalts der E-Mail angezeigt werden soll."
2674
 
2675
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:313
2676
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:792
2677
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:820
2678
  #: woocommerce-germanized-shipments/templates/shipment/shipment-details-address.php:28
2679
  msgctxt "shipments"
2680
  msgid "N/A"
2681
  msgstr "n.a."
2682
 
2683
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:319
2684
  msgctxt "shipments"
2685
  msgid "Email type"
2686
  msgstr "E-Mail-Typ"
2687
 
2688
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:321
2689
  msgctxt "shipments"
2690
  msgid "Choose which format of email to send."
2691
  msgstr "Format für E-Mail-Versand auswählen."
2692
 
2693
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:65
2694
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:854
2695
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:27
2696
  msgctxt "shipments"
2697
  msgid "Shipment"
2698
  msgstr "Sendung"
2699
 
2700
  # @ woocommerce-germanized
2701
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:72
2702
  msgctxt "shipments"
2703
  msgid "Return"
2704
  msgstr "Retoure"
2705
 
2706
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:73
2707
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:144
2708
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:265
2709
  msgctxt "shipments"
2710
  msgid "Returns"
2711
  msgstr "Retouren"
2712
 
2713
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:99
2714
  msgctxt "shipments"
2715
  msgid "Not shipped"
2716
  msgstr "Nicht versandt"
2717
 
2718
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:100
2719
  msgctxt "shipments"
2720
  msgid "Partially shipped"
2721
  msgstr "Teilweise versandt"
2722
 
2723
  # @ woocommerce-germanized
2724
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:101
2725
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:241
2726
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:812
2727
  msgctxt "shipments"
2728
  msgid "Shipped"
2729
  msgstr "Versandt"
2730
 
2731
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:239
2732
  msgctxt "shipments"
2733
  msgid "Draft"
2734
  msgstr "Entwurf"
2735
 
2736
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:240
2737
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:804
2738
  msgctxt "shipments"
2739
  msgid "Processing"
2740
  msgstr "In Bearbeitung"
2741
 
2742
  # @ woocommerce-germanized
2743
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:242
2744
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:48
2745
  msgctxt "shipments"
2746
  msgid "Delivered"
2747
  msgstr "Geliefert"
2748
 
2749
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:243
2750
  msgctxt "shipments"
2751
  msgid "Returned"
2752
  msgstr "Retourniert"
2753
 
2754
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:286
2755
  #: woocommerce-germanized-shipments/includes/wc-gzd-shipments-template-functions.php:101
2756
  #: woocommerce-germanized-shipments/src/DataStores/Shipment.php:343
2757
  msgctxt "shipments"
2758
  msgid "Invalid shipment."
2759
  msgstr "Ungültige Sendung."
2760
 
2761
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:290
2762
  msgctxt "shipments"
2763
  msgid "This shipment is already fully returned."
2764
  msgstr "Diese Sendung ist bereits vollständig retourniert."
2765
 
2766
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:301
2767
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:344
2768
  msgctxt "shipments"
2769
  msgid "Error while creating the shipment instance"
2770
  msgstr "Fehler beim Erstellen der Sendungsinstanz"
2771
 
2772
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:329
2773
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:333
2774
+ #: woocommerce-germanized-shipments/src/SimpleShipment.php:142
2775
+ #: woocommerce-germanized-shipments/src/SimpleShipment.php:225
2776
  msgctxt "shipments"
2777
  msgid "Invalid shipment order"
2778
  msgstr "Ungültige Bestellung zur Sendung"
2779
 
2780
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:363
2781
  msgctxt "shipments"
2782
  msgid "Invalid order item"
2783
  msgstr "Ungültige Bestellposition"
2784
 
2785
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:384
2786
  msgctxt "shipments"
2787
  msgid "Invalid shipment item"
2788
  msgstr "Ungültige Sendungsposition"
2789
 
2790
  # @ woocommerce-germanized
2791
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:457
2792
+ msgctxt "shipments"
2793
+ msgid "None"
2794
+ msgstr "Keiner"
2795
+
2796
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:530
2797
+ msgctxt "shipments"
2798
+ msgid "Error while uploading file."
2799
+ msgstr "Fehler beim Hochladen der Datei."
2800
+
2801
+ # @ woocommerce-germanized
2802
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:855
2803
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:23
2804
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:647
2805
  msgctxt "shipments"
2806
  msgid "Date"
2807
  msgstr "Datum"
2808
 
2809
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:857
2810
  #: woocommerce-germanized-shipments/templates/shipment/shipment-details-tracking.php:23
2811
  msgctxt "shipments"
2812
  msgid "Tracking"
2813
  msgstr "Sendungsverfolgung"
2814
 
2815
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:882
2816
  msgctxt "shipments"
2817
  msgid "View"
2818
  msgstr "Anzeigen"
2824
  msgstr "Mein Konto"
2825
 
2826
  # @ woocommerce-germanized
2827
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:128
2828
  msgctxt "shipments"
2829
  msgid "Create shipments"
2830
  msgstr "Sendungen erstellen"
2831
 
2832
  # @ woocommerce-germanized
2833
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:243
2834
  msgctxt "shipments"
2835
  msgid "Search shipments"
2836
  msgstr "Sendungen suchen"
2837
 
2838
  # @ woocommerce-germanized
2839
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:277
2840
  msgctxt "shipments"
2841
  msgid "Search returns"
2842
  msgstr "Retouren suchen"
2843
 
2844
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:350
2845
  msgctxt "shipments"
2846
  msgid "Do you really want to delete the shipment?"
2847
  msgstr "Möchtest du die Sendung wirklich löschen?"
2848
 
2849
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:354
2850
+ msgctxt "shipments"
2851
+ msgid "Do you really want to delete the label?"
2852
+ msgstr "Möchtest du das Label wirklich löschen?"
2853
+
2854
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:356
2855
+ msgctxt "shipments"
2856
+ msgid "Please save the shipment before creating a new label"
2857
+ msgstr "Bitte speichere die Sendung bevor du ein neues Label erzeugst"
2858
+
2859
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:406
2860
+ msgctxt "shipments"
2861
+ msgid ""
2862
+ "Do you really want to delete the shipping provider? Some of your existing "
2863
+ "shipments might be linked to that provider and might need adjustments."
2864
+ msgstr ""
2865
+ "Soll der Versanddienstleister wirklich gelöscht werden? Einige bestehende "
2866
+ "Sendungen könnten mit diesem Dienstleister verlinkt sein und benötigen im "
2867
+ "Anschluss einer Anpassung."
2868
+
2869
  #: woocommerce-germanized-shipments/src/Admin/BulkActionHandler.php:80
2870
  msgctxt "shipments"
2871
  msgid "Successfully processed shipments."
2872
  msgstr "Sendungen erfolgreich verarbeitet."
2873
 
2874
  # @ woocommerce-germanized
2875
+ #: woocommerce-germanized-shipments/src/Admin/BulkLabel.php:30
 
 
2876
  msgctxt "shipments"
2877
+ msgid "Generating labels..."
2878
+ msgstr "Labels werden erzeugt..."
2879
 
2880
+ # @ woocommerce-germanized
2881
+ #: woocommerce-germanized-shipments/src/Admin/BulkLabel.php:82
2882
+ msgctxt "shipments"
2883
+ msgid "Download labels"
2884
+ msgstr "Labels downloaden"
2885
+
2886
+ #: woocommerce-germanized-shipments/src/Admin/BulkLabel.php:85
2887
+ #, php-format
2888
+ msgctxt "shipments"
2889
+ msgid "Successfully generated labels. %s"
2890
+ msgstr "Labels erfolgreich erzeugt. %s"
2891
+
2892
+ #: woocommerce-germanized-shipments/src/Admin/BulkLabel.php:103
2893
+ #, php-format
2894
+ msgctxt "shipments"
2895
+ msgid "Error while creating label for %s: %s"
2896
+ msgstr "Fehler beim Erstellen des Labels für %s. %s"
2897
+
2898
+ #: woocommerce-germanized-shipments/src/Admin/BulkLabel.php:103
2899
+ #, php-format
2900
+ msgctxt "shipments"
2901
+ msgid "shipment #%d"
2902
+ msgstr "Sendung #%d"
2903
+
2904
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:25
2905
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:649
2906
  msgctxt "shipments"
2907
  msgid "Items"
2908
  msgstr "Positionen"
2909
 
2910
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:26
2911
  msgctxt "shipments"
2912
  msgid "Sender"
2913
  msgstr "Absender"
2914
 
2915
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:58
2916
+ msgctxt "shipments"
2917
+ msgid "Send label to customer"
2918
+ msgstr "Label dem Kunden zusenden"
2919
+
2920
  # @ woocommerce-germanized
2921
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:38
2922
  msgctxt "shipments"
2923
  msgid "Manage shipments"
2924
  msgstr "Sendungen verwalten"
2925
 
2926
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:39
2927
  msgctxt "shipments"
2928
  msgid ""
2929
  "To view all your existing shipments in a list you might follow this link or "
2933
  "anzuzeigen, folge bitte diesem Link oder klicke im Untermenü von WooCommerce "
2934
  "auf den Sendungen-Link."
2935
 
2936
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:52
2937
  msgctxt "shipments"
2938
  msgid "E-Mail Notification"
2939
  msgstr "E-Mail-Benachrichtigung"
2940
 
2941
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:53
2942
  msgctxt "shipments"
2943
  msgid ""
2944
  "By enabling this option customers receive an email notification as soon as a "
2948
  "Benachrichtigung, sobald die Sendung als versandt markiert wurde."
2949
 
2950
  # @ woocommerce-germanized
2951
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:66
2952
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:106
2953
  msgctxt "shipments"
2954
  msgid "Automation"
2955
  msgstr "Automatisierung"
2956
 
2957
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:67
2958
  msgctxt "shipments"
2959
  msgid ""
2960
  "Decide whether you want to automatically create shipments to orders reaching "
2966
  "manuell anpassen, indem du die dazugehörige Bestellung bearbeitest."
2967
 
2968
  # @ woocommerce-germanized
2969
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:87
2970
  msgctxt "shipments"
2971
  msgid "Notify"
2972
  msgstr "Benachrichtigung"
2973
 
2974
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:88
2975
  msgctxt "shipments"
2976
  msgid "Notify customers about new shipments."
2977
  msgstr "Benachrichtige Kunden über neue Sendungen."
2978
 
2979
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:88
2980
  #, php-format
2981
  msgctxt "shipments"
2982
  msgid ""
2986
  "Benachrichtige Kunden via E-Mail sobald eine Sendung als verschickt markiert "
2987
  "wurde. %s die E-Mail-Benachrichtigung."
2988
 
2989
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:88
2990
  msgctxt "shipments notification"
2991
  msgid "Manage"
2992
  msgstr "Verwalte"
2993
 
2994
+ # @ woocommerce-germanized
2995
  #: woocommerce-germanized-shipments/src/Admin/Settings.php:95
2996
  msgctxt "shipments"
2997
+ msgid "Default provider"
2998
+ msgstr "Standard-Dienstleister"
2999
+
3000
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:96
3001
+ msgctxt "shipments"
3002
+ msgid ""
3003
+ "Select a default shipping provider which will be selected by default in case "
3004
+ "no provider could be determined automatically."
3005
+ msgstr ""
3006
+ "Wähle einen Standard-Versanddienstleister aus der verwendet wird, falls kein "
3007
+ "Dienstleister automatisch bestimmt werden konnte."
3008
+
3009
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:109
3010
+ msgctxt "shipments"
3011
  msgid "Enable"
3012
  msgstr "Aktivieren"
3013
 
3014
  # @ woocommerce-germanized
3015
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:110
3016
  msgctxt "shipments"
3017
  msgid "Automatically create shipments for orders."
3018
  msgstr "Automatisch Sendungen zu Bestellungen erstellen."
3019
 
3020
  # @ woocommerce-germanized
3021
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:117
3022
  msgctxt "shipments"
3023
  msgid "Order statuses"
3024
  msgstr "Bestellstatus"
3025
 
3026
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:118
3027
  msgctxt "shipments"
3028
  msgid ""
3029
  "Create shipments as soon as the order reaches one of the following "
3033
  "erreicht."
3034
 
3035
  # @ woocommerce-germanized
3036
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:126
3037
  msgctxt "shipments"
3038
  msgid "On new order creation"
3039
  msgstr "Beim Erstellen einer Bestellung"
3040
 
3041
  # @ woocommerce-germanized
3042
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:131
3043
  msgctxt "shipments"
3044
  msgid "Default status"
3045
  msgstr "Standardstatus"
3046
 
3047
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:132
3048
  msgctxt "shipments"
3049
  msgid "Choose a default status for the automatically created shipment."
3050
  msgstr ""
3052
  "erhält."
3053
 
3054
  # @ woocommerce-germanized
3055
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:144
3056
  msgctxt "shipments"
3057
  msgid "Update status"
3058
  msgstr "Status"
3059
 
3060
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:145
3061
  msgctxt "shipments"
3062
  msgid "Mark order as completed after order is fully shipped."
3063
  msgstr ""
3064
  "Bestellung als fertiggestellt markieren sobald sie komplett versandt wurde."
3065
 
3066
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:145
3067
  msgctxt "shipments"
3068
  msgid ""
3069
  "This option will automatically update the order status to completed as soon "
3073
  "fertiggestellt gesetzt wird, sobald alle notwendigen Sendungen einer "
3074
  "Bestellung versandt wurden."
3075
 
3076
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:152
3077
+ msgctxt "shipments"
3078
+ msgid "Mark as shipped"
3079
+ msgstr "Als versandt markieren"
3080
+
3081
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:153
3082
+ msgctxt "shipments"
3083
+ msgid "Mark shipments as shipped after order completion."
3084
+ msgstr ""
3085
+ "Sendung als versandt markieren, sobald die Bestellung fertiggestellt wurde."
3086
+
3087
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:153
3088
+ msgctxt "shipments"
3089
+ msgid ""
3090
+ "This option will automatically update contained shipments to shipped (if "
3091
+ "possible, e.g. not yet delivered) as soon as the order was marked as "
3092
+ "completed."
3093
+ msgstr ""
3094
+ "Diese Option sorgt dafür, dass der Sendungsstatus automatisch auf versandt "
3095
+ "gesetzt wird, sobald die Bestellung als fertiggestellt markiert wurde."
3096
+
3097
  # @ woocommerce-germanized
3098
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:161
3099
  msgctxt "shipments"
3100
  msgid "Customer Account"
3101
  msgstr "Kundenkonto"
3102
 
3103
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:164
3104
  msgctxt "shipments"
3105
  msgid "List"
3106
  msgstr "Liste"
3107
 
3108
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:165
3109
  msgctxt "shipments"
3110
  msgid "List shipments on customer account order screen."
3111
  msgstr "Liste Sendungen im Kundenkonto in den Bestelldetails auf."
3112
 
3113
  # @ woocommerce-germanized
3114
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:173
3115
  msgctxt "shipments"
3116
  msgid "Return Address"
3117
  msgstr "Retouren Adresse"
3118
 
3119
  # @ woocommerce-germanized
3120
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:176
3121
  msgctxt "shipments"
3122
  msgid "First Name"
3123
  msgstr "Vorname"
3124
 
3125
  # @ woocommerce-germanized
3126
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:183
3127
  msgctxt "shipments"
3128
  msgid "Last Name"
3129
  msgstr "Nachname"
3130
 
3131
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:190
3132
  msgctxt "shipments"
3133
  msgid "Company"
3134
  msgstr "Firma"
3135
 
3136
  # @ woocommerce-germanized
3137
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:197
3138
  msgctxt "shipments"
3139
  msgid "Address 1"
3140
  msgstr "Adresszeile 1"
3141
 
3142
  # @ woocommerce-germanized
3143
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:204
3144
  msgctxt "shipments"
3145
  msgid "Address 2"
3146
  msgstr "Adresszeile 2"
3147
 
3148
  # @ woocommerce-germanized
3149
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:211
3150
  msgctxt "shipments"
3151
  msgid "City"
3152
  msgstr "Stadt"
3153
 
3154
  # @ woocommerce-germanized
3155
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:218
3156
  msgctxt "shipments"
3157
  msgid "Country / State"
3158
  msgstr "Land / Bundesland"
3159
 
3160
  # @ woocommerce-germanized
3161
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:226
3162
  msgctxt "shipments"
3163
  msgid "Postcode"
3164
  msgstr "Postleitzahl"
3165
 
3166
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:307
3167
+ msgctxt "shipments"
3168
+ msgid "New provider"
3169
+ msgstr "Neuer Dienstleister"
3170
+
3171
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:339
3172
+ msgctxt "shipments"
3173
+ msgid "Add provider"
3174
+ msgstr "Dienstleister hinzufügen"
3175
+
3176
+ # @ woocommerce-germanized
3177
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:347
3178
+ msgctxt "shipments"
3179
+ msgid "General"
3180
+ msgstr "Allgemein"
3181
+
3182
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:348
3183
+ #: woocommerce-germanized-shipments/src/ShippingProviderMethod.php:56
3184
+ msgctxt "shipments"
3185
+ msgid "Shipping Provider"
3186
+ msgstr "Versanddienstleister"
3187
+
3188
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:164
3189
  #, php-format
3190
  msgctxt "shipments"
3191
  msgid "%d shipment deleted."
3193
  msgstr[0] "%d Sendung gelöscht."
3194
  msgstr[1] "%d Sendungen gelöscht."
3195
 
3196
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:174
3197
  #, php-format
3198
  msgctxt "shipments"
3199
  msgid "%d shipment status changed."
3201
  msgstr[0] "%d Sendungsstatus geändert."
3202
  msgstr[1] "%d Sendungsstatus geändert."
3203
 
3204
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:331
3205
  msgctxt "shipments"
3206
  msgid "No shipments found"
3207
  msgstr "Keine Sendungen gefunden"
3208
 
3209
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:371
3210
  #, php-format
3211
  msgctxt "shipments"
3212
  msgid "All <span class=\"count\">(%s)</span>"
3214
  msgstr[0] "Alle <span class=\"count\">(%s)</span>"
3215
  msgstr[1] "Alle <span class=\"count\">(%s)</span>"
3216
 
3217
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:396
3218
  #, php-format
3219
  msgctxt "shipments"
3220
  msgid " <span class=\"count\">(%s)</span>"
3222
  msgstr[0] " <span class=\"count\">(%s)</span>"
3223
  msgstr[1] " <span class=\"count\">(%s)</span>"
3224
 
3225
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:486
3226
  msgctxt "shipments"
3227
  msgid "Filter by date"
3228
  msgstr "Nach Datum filtern"
3229
 
3230
  # @ woocommerce-germanized
3231
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:488
3232
  msgctxt "shipments"
3233
  msgid "All dates"
3234
  msgstr "Alle Daten"
3235
 
3236
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:503
3237
  #, php-format
3238
  msgid "%1$s %2$d"
3239
  msgstr "%1$s %2$d"
3240
 
3241
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:524
3242
  msgctxt "shipments"
3243
  msgid "Processing bulk actions..."
3244
  msgstr "Bearbeite Mehrfachaktionen.."
3245
 
3246
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:608
3247
  msgctxt "shipments"
3248
  msgid "Filter"
3249
  msgstr "Filtern"
3250
 
3251
  # @ woocommerce-germanized
3252
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:624
3253
+ #: woocommerce-germanized-shipments/src/Ajax.php:757
3254
  #, php-format
3255
  msgctxt "shipments"
3256
  msgid "Order #%s"
3257
  msgstr "Bestellung #%s"
3258
 
3259
  # @ woocommerce
3260
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:629
3261
  msgctxt "shipments"
3262
  msgid "Filter by order"
3263
  msgstr "Nach Bestellung filtern"
3264
 
3265
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:650
3266
  msgctxt "shipments"
3267
  msgid "Address"
3268
  msgstr "Adresse"
3269
 
3270
  # @ woocommerce-germanized
3271
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:651
3272
  msgctxt "shipments"
3273
  msgid "Order"
3274
  msgstr "Bestellung"
3275
 
3276
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:743
3277
  #: woocommerce-germanized-shipments/templates/myaccount/order-shipments.php:73
3278
  #, php-format
3279
  msgctxt "shipment title"
3280
  msgid "%s #%s"
3281
  msgstr "%s #%s"
3282
 
3283
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:756
3284
+ #, php-format
3285
+ msgctxt "shipments"
3286
+ msgid "via %s"
3287
+ msgstr "via %s"
3288
+
3289
+ # @ woocommerce-germanized
3290
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:823
3291
+ #: woocommerce-germanized-shipments/src/Ajax.php:282
3292
+ msgctxt "shipments"
3293
+ msgid "Download label"
3294
+ msgstr "Label downloaden"
3295
+
3296
+ # @ woocommerce-germanized
3297
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:832
3298
+ msgctxt "shipments"
3299
+ msgid "Generate label"
3300
+ msgstr "Label erstellen"
3301
+
3302
  # @ woocommerce-germanized
3303
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:882
3304
  #, php-format
3305
  msgctxt "shipments"
3306
  msgid "Select %s"
3307
  msgstr "Wähle %s"
3308
 
3309
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:909
3310
  msgctxt "shipments"
3311
  msgid "SKU:"
3312
  msgstr "Art.-Nr.:"
3313
 
3314
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1003
3315
  #, php-format
3316
  msgctxt "%s = human-readable time difference"
3317
  msgid "%s ago"
3318
  msgstr "vor %s"
3319
 
3320
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1015
3321
  msgctxt "shipments"
3322
  msgid "M j, Y"
3323
  msgstr "d.m.Y"
3324
 
3325
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1072
3326
  msgctxt "shipments"
3327
  msgid "Delete Permanently"
3328
  msgstr "Unwiderruflich löschen"
3329
 
3330
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1075
3331
  msgctxt "shipments"
3332
  msgid "Change status to processing"
3333
  msgstr "Status zu in Bearbeitung ändern"
3334
 
3335
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1076
3336
  msgctxt "shipments"
3337
  msgid "Change status to shipped"
3338
  msgstr "Status zu versandt ändern"
3339
 
3340
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1077
3341
  msgctxt "shipments"
3342
  msgid "Change status to delivered"
3343
  msgstr "Status zu geliefert ändern"
3344
 
3345
+ # @ woocommerce-germanized
3346
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1078
3347
+ msgctxt "shipments"
3348
+ msgid "Generate and download labels"
3349
+ msgstr "Labels erstellen und downloaden"
3350
+
3351
+ #: woocommerce-germanized-shipments/src/Ajax.php:93
3352
+ msgctxt "shipments"
3353
+ msgid "Label successfully sent to customer."
3354
+ msgstr "Label erfolgreich an den Kunden zugestellt."
3355
+
3356
+ #: woocommerce-germanized-shipments/src/Ajax.php:100
3357
+ msgctxt "shipments"
3358
+ msgid "There was an error while sending the label."
3359
+ msgstr "Beim Versendes des Labels ist ein Fehler aufgetreten."
3360
+
3361
+ #: woocommerce-germanized-shipments/src/Ajax.php:120
3362
+ msgctxt "shipments"
3363
+ msgid "There was an error creating the label."
3364
+ msgstr "Beim Erstellen des Labels ist ein Fehler aufgetreten."
3365
+
3366
+ #: woocommerce-germanized-shipments/src/Ajax.php:156
3367
+ msgctxt "shipments"
3368
+ msgid "There was an error deleting the label."
3369
+ msgstr "Beim Löschen des Labels ist ein Fehler aufgetreten."
3370
+
3371
+ #: woocommerce-germanized-shipments/src/Ajax.php:197
3372
+ msgctxt "shipments"
3373
+ msgid "There was an error processing the label."
3374
+ msgstr "Bei der Verarbeitung des Labels ist ein Fehler aufgetreten."
3375
+
3376
+ #: woocommerce-germanized-shipments/src/Ajax.php:294
3377
+ msgctxt "shipments"
3378
+ msgid "There was an error while trying to save the shipping provider status."
3379
+ msgstr ""
3380
+ "Beim Speichern des Status des Versanddienstleisters trat ein Fehler auf."
3381
+
3382
+ #: woocommerce-germanized-shipments/src/Ajax.php:332
3383
+ msgctxt "shipments"
3384
+ msgid "There was an error while trying to delete the shipping provider."
3385
+ msgstr "Beim Löschen des Versanddienstleisters trat ein Fehler auf."
3386
+
3387
+ #: woocommerce-germanized-shipments/src/Ajax.php:365
3388
  msgctxt "shipments"
3389
  msgid "There was an error while bulk processing shipments."
3390
  msgstr ""
3391
  "Bei der Verarbeitung der Mehrfachaktionen von Sendungen trat ein Fehler auf."
3392
 
3393
+ #: woocommerce-germanized-shipments/src/Ajax.php:477
3394
+ #: woocommerce-germanized-shipments/src/Ajax.php:575
3395
+ #: woocommerce-germanized-shipments/src/Ajax.php:631
3396
+ #: woocommerce-germanized-shipments/src/Ajax.php:668
3397
+ #: woocommerce-germanized-shipments/src/Ajax.php:789
3398
+ #: woocommerce-germanized-shipments/src/Ajax.php:855
3399
+ #: woocommerce-germanized-shipments/src/Ajax.php:898
3400
+ #: woocommerce-germanized-shipments/src/Ajax.php:949
3401
+ #: woocommerce-germanized-shipments/src/Ajax.php:1017
3402
+ #: woocommerce-germanized-shipments/src/Ajax.php:1062
3403
+ #: woocommerce-germanized-shipments/src/Ajax.php:1117
3404
+ #: woocommerce-germanized-shipments/src/Ajax.php:1161
3405
  msgctxt "shipments"
3406
  msgid "There was an error processing the shipment"
3407
  msgstr "Fehler bei der Verarbeitung der Sendung"
3408
 
3409
+ #: woocommerce-germanized-shipments/src/Ajax.php:518
3410
  msgctxt "shipments"
3411
  msgid "There was an error while adding the shipment"
3412
  msgstr "Beim Hinzufügen der Sendung ist ein Fehler aufgetreten"
3413
 
3414
+ #: woocommerce-germanized-shipments/src/Ajax.php:539
3415
  msgctxt "shipments"
3416
  msgid "This order contains enough shipments already."
3417
  msgstr "Diese Bestellung beinhaltet bereits genug Sendungen."
3608
  msgstr "Anzahl."
3609
 
3610
  # @ woocommerce-germanized
3611
+ #: woocommerce-germanized-shipments/src/Automation.php:112
3612
  msgctxt "shipments"
3613
  msgid "Order is fully shipped."
3614
  msgstr "Bestellung ist vollständig versandt."
3618
  msgid "Invalid shipment item."
3619
  msgstr "Ungültige Sendungsposition."
3620
 
3621
+ #: woocommerce-germanized-shipments/src/DataStores/ShippingProvider.php:250
3622
+ msgctxt "shipments"
3623
+ msgid "Invalid shipping provider."
3624
+ msgstr "Versanddienstleister nicht bekannt."
3625
+
3626
  #: woocommerce-germanized-shipments/src/ReturnShipment.php:366
3627
+ #: woocommerce-germanized-shipments/src/Shipment.php:842
3628
  #, php-format
3629
  msgctxt "full name"
3630
  msgid "%1$s %2$s"
3636
  msgid "Invalid shipment"
3637
  msgstr "Ungültige Sendung"
3638
 
3639
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:398
3640
+ msgctxt "shipments"
3641
+ msgid "Choose a title for the shipping provider."
3642
+ msgstr "Wähle einen Titel für den Versanddienstleister."
3643
+
3644
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:407
3645
+ msgctxt "shipments"
3646
+ msgid "Choose a description for the shipping provider."
3647
+ msgstr "Wähle eine Beschreibung für den Versanddienstleister."
3648
+
3649
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:416
3650
+ msgctxt "shipments"
3651
+ msgid "Tracking URL"
3652
+ msgstr "Sendungsverfolgung URL"
3653
+
3654
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:417
3655
+ #, php-format
3656
+ msgctxt "shipments"
3657
+ msgid ""
3658
+ "Adjust the placeholder used to construct the tracking URL for this shipping "
3659
+ "provider. You may use on of the following placeholders to insert the "
3660
+ "tracking id or other dynamic data: %s"
3661
+ msgstr ""
3662
+ "Passe den Platzhalter zur Konstruktion der URL zur Sendungsverfolgung für "
3663
+ "den Versanddienstleister an. Du kannst einen der folgenden Platzhalter "
3664
+ "verwenden um die Paketverfolgungsnummer oder andere dynamische Daten "
3665
+ "einzufügen: %s"
3666
+
3667
+ # @ woocommerce-germanized
3668
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:427
3669
+ msgctxt "shipments"
3670
+ msgid "Tracking description"
3671
+ msgstr "Sendungsverfolgung Hinweis"
3672
+
3673
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:428
3674
  #, php-format
3675
  msgctxt "shipments"
3676
  msgid ""
3677
+ "Adjust the placeholder used to construct the tracking description for this "
3678
+ "shipping provider (e.g. used within notification emails). You may use on of "
3679
+ "the following placeholders to insert the tracking id or other dynamic data: "
3680
+ "%s"
3681
  msgstr ""
3682
+ "Passe den Platzhalter zur Konstruktion des Hinweises zur Sendungsverfolgung "
3683
+ "für den Versanddienstleister an. Du kannst einen der folgenden Platzhalter "
3684
+ "verwenden um die Paketverfolgungsnummer oder andere dynamische Daten "
3685
+ "einzufügen: %s"
3686
+
3687
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:432
3688
+ msgctxt "shipments"
3689
+ msgid ""
3690
+ "Your shipment is being processed by {shipping_provider}. If you want to "
3691
+ "track the shipment, please use the following tracking number: {tracking_id}. "
3692
+ "Depending on the chosen shipping method it is possible that the tracking "
3693
+ "data does not reflect the current status when receiving this email."
3694
+ msgstr ""
3695
+ "Deine Sendung wurde mit {shipping_provider} versandt. Wenn du diese Sendung "
3696
+ "verfolgen möchtest, benutze bitte diese Paketverfolgungsnummer: "
3697
+ "{tracking_id}. Abhängig von der gewählten Versandoption kann es sein, dass "
3698
+ "die Paketverfolgungsdaten zum Zeitpunkt des Erhalts dieser E-Mail noch nicht "
3699
+ "den neuesten Stand wiedergeben."
3700
+
3701
+ #: woocommerce-germanized-shipments/src/ShippingProviderMethod.php:50
3702
+ msgctxt "shipments"
3703
+ msgid "Shipping Provider Settings"
3704
+ msgstr "Versanddienstleister Einstellungen"
3705
+
3706
+ #: woocommerce-germanized-shipments/src/ShippingProviderMethod.php:53
3707
+ msgctxt "shipments"
3708
+ msgid "Adjust shipping provider settings used for managing shipments."
3709
+ msgstr "Passe Einstellungen zu den Versanddienstleistern für Sendungen an."
3710
+
3711
+ #: woocommerce-germanized-shipments/src/ShippingProviderMethod.php:68
3712
+ msgctxt "shipments"
3713
+ msgid ""
3714
+ "Choose a shipping provider which will be selected by default for an eligible "
3715
+ "shipment."
3716
+ msgstr ""
3717
+ "Wähle einen Versanddienstleister aus, der standardmäßig für eine infrage "
3718
+ "kommende Sendung hinterlegt wird."
3719
 
3720
  #: woocommerce-germanized-shipments/templates/emails/customer-shipment.php:33
3721
  #: woocommerce-germanized-shipments/templates/emails/plain/customer-shipment.php:28
3890
  # @ woocommerce-germanized
3891
  #: woocommerce-germanized/includes/abstracts/abstract-wc-gzd-product.php:549
3892
  #: woocommerce-germanized/includes/abstracts/abstract-wc-gzd-product.php:559
3893
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:387
3894
  #: woocommerce-germanized/includes/wc-gzd-template-functions.php:546
3895
  msgid "incl. VAT"
3896
  msgstr "inkl. MwSt."
3902
 
3903
  # @ woocommerce-germanized
3904
  #: woocommerce-germanized/includes/abstracts/abstract-wc-gzd-product.php:551
3905
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:387
3906
  #, php-format
3907
  msgid "incl. %s%% VAT"
3908
  msgstr "inkl. %s %% MwSt."
4021
 
4022
  # @ woocommerce-germanized
4023
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-legal-checkboxes.php:122
4024
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:421
4025
  msgid "Downloadable Product"
4026
  msgstr "Herunterladbares Produkt"
4027
 
4028
  # @ woocommerce-germanized
4029
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-legal-checkboxes.php:123
4030
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:422
4031
  msgid "Virtual Product"
4032
  msgstr "Virtuelles Produkt"
4033
 
4034
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-legal-checkboxes.php:124
4035
  #: woocommerce-germanized/includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:46
4036
  #: woocommerce-germanized/includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data.php:150
4037
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:423
4038
  #: woocommerce-germanized/includes/class-wc-gzd-legal-checkbox-manager.php:140
4039
  msgid "Service"
4040
  msgstr "Dienstleistung"
4131
 
4132
  # @ woocommerce-germanized
4133
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-product-categories.php:82
4134
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:412
4135
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:515
4136
  msgid "None"
4137
  msgstr "Keine"
4138
 
4162
  msgid "Start tutorial"
4163
  msgstr "Tutorial starten"
4164
 
 
 
 
 
 
 
4165
  # @ woocommerce-germanized
4166
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-setup-wizard.php:99
4167
  msgid "Import settings"
4282
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-status.php:45
4283
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:53
4284
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:136
4285
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:237
4286
  msgid "Terms & Conditions"
4287
  msgstr "AGB"
4288
 
4296
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-status.php:47
4297
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:84
4298
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:136
4299
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:239
4300
  msgid "Imprint"
4301
  msgstr "Impressum"
4302
 
4308
  # @ woocommerce-germanized
4309
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-status.php:49
4310
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:104
4311
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:244
4312
  msgid "Payment Methods"
4313
  msgstr "Zahlungarten"
4314
 
4400
 
4401
  # @ woocommerce-germanized
4402
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin.php:423
4403
+ #: woocommerce-germanized/includes/admin/settings/abstract-wc-gzd-settings-tab.php:110
4404
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-germanized.php:23
4405
  #: woocommerce-germanized/includes/admin/settings/views/html-admin-settings-tabs.php:9
4406
  #: woocommerce-germanized/includes/admin/views/html-page-status-germanized.php:27
4464
  # @ woocommerce-germanized
4465
  #: woocommerce-germanized/includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:90
4466
  #: woocommerce-germanized/includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data.php:197
4467
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:228
4468
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:260
4469
  #: woocommerce-germanized/includes/compatibility/elementor/widgets/class-wc-gzd-elementor-widget-product-units.php:10
4470
  msgid "Product Units"
4471
  msgstr "Produkteinheiten"
4668
  msgid "Upgrade now"
4669
  msgstr "Jetzt upgraden"
4670
 
4671
+ #: woocommerce-germanized/includes/admin/settings/abstract-wc-gzd-settings-tab.php:148
4672
  msgid "Learn more"
4673
  msgstr "Mehr erfahren"
4674
 
5125
  # @ woocommerce-germanized
5126
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-emails.php:31
5127
  msgid "Visibility"
5128
+ msgstr "Darstellung"
5129
 
5130
  # @ woocommerce-germanized
5131
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-emails.php:32
5536
 
5537
  # @ woocommerce-germanized
5538
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:219
5539
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:367
5540
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-taxes.php:154
5541
  msgid "Notice Text"
5542
  msgstr "Hinweistext"
5547
  msgstr "Passe hier, falls notwending, den Kleinunternehmer Hinweistext an."
5548
 
5549
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:227
5550
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:302
5551
  msgid ""
5552
  "Value added tax is not collected, as small businesses according to §19 (1) "
5553
  "UStG."
5665
  "Platzhalter für den höchsten Preis."
5666
 
5667
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:304
5668
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:739
5669
  msgid "{min_price} &ndash; {max_price}"
5670
  msgstr "{min_price} &ndash; {max_price}"
5671
 
5800
  msgid "Shipments"
5801
  msgstr "Sendungen"
5802
 
 
 
 
 
 
5803
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:20
5804
  msgid ""
5805
  "Adjust shopmark related settings. Choose which and where they shall be "
5825
  msgstr "Preishinweise"
5826
 
5827
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:44
5828
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:206
5829
  msgid "Widgets & Blocks"
5830
  msgstr "Widgets & Blöcke"
5831
 
5832
+ # @ woocommerce-germanized
5833
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:45
5834
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:251
5835
+ msgid "E-Mails"
5836
+ msgstr "E-Mails"
5837
+
5838
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:64
5839
  msgid "Shopmark Display"
5840
  msgstr "Preisauszeichnung"
5841
 
5842
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:65
5843
  msgid ""
5844
  "By adjusting the display settings you might determine where to show or hide "
5845
  "your shopmarks e.g. the tax notice on single product pages."
5849
  "deaktivieren."
5850
 
5851
  # @ woocommerce-germanized
5852
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:83
5853
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:326
5854
  msgid "Location"
5855
  msgstr "Ort"
5856
 
5857
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:84
5858
  msgid ""
5859
  "Adjust the location of the shopmark by selecting a location from the list. "
5860
  "Some Themes might apply the locations at different positions that's why the "
5865
  "unterschiedlichen Stellen aus, sodass das Ergebnis u.U. von Theme zu Theme "
5866
  "abweichen kann."
5867
 
5868
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:97
5869
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:341
5870
  msgid "Priority"
5871
  msgstr "Priorität"
5872
 
5873
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:98
5874
  msgid ""
5875
  "Many different information may be attached to the location selected. By "
5876
  "adjusting the priority you can choose whether the shopmark gets applied "
5882
  "soll."
5883
 
5884
  # @ woocommerce-germanized
5885
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:116
5886
  #: woocommerce-germanized/includes/admin/views/html-page-status-germanized.php:50
5887
  msgid "Default Delivery Time"
5888
  msgstr "Standard-Lieferzeit"
5889
 
5890
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:117
5891
  msgid ""
5892
  "Choose a delivery time that serves as fallback in case no delivery time was "
5893
  "added to the product."
5895
  "Wähle eine Lieferzeit aus, die verwendet wird, wenn dem Produkt keine "
5896
  "Lieferzeit zugeordnet wurde."
5897
 
5898
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:130
5899
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:441
5900
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:488
5901
  msgid "Format"
5902
  msgstr "Format"
5903
 
5904
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:131
5905
  msgid ""
5906
  "You may want to adjust the delivery time output format. You might use "
5907
  "{delivery_time} to output the current product's delivery time."
5910
  "zur Ausgabe der Lieferzeit des Produktes."
5911
 
5912
  # @ woocommerce-germanized
5913
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:149
5914
  msgid "Default Sale Label"
5915
  msgstr "Streichpreis-Hinweis"
5916
 
5917
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:150
5918
  msgid ""
5919
  "Price labels are added to sale products to inform the customers of the "
5920
  "different prices' meaning. You may add a fallback label in case a product "
5925
  "Hinweise, um sicherzustellen, dass für Produkte ohne abweichenden Hinweis im "
5926
  "Zweifel der Standard-Hinweis verwendet wird."
5927
 
5928
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:191
5929
  msgid "Adjust Product Widgets & Blocks visibility options."
5930
  msgstr "Passe die Anzeige in Widgets & Blöcken an."
5931
 
5932
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:195
5933
  #, php-format
5934
  msgid ""
5935
  "Adjust %s visibility options and choose which shopmarks to be displayed at "
5939
  "Auszeichnungen an welchen Orten angezeigt werden sollen."
5940
 
5941
  # @ woocommerce-germanized
5942
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:207
5943
  msgid "Shipping Costs notice"
5944
  msgstr "Versandkosten-Hinweis"
5945
 
5946
  # @ woocommerce-germanized
5947
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:214
5948
  msgid "Tax Info"
5949
  msgstr "MwSt. Hinweis"
5950
 
5951
  # @ woocommerce-germanized
5952
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:221
5953
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:252
5954
  msgid "Base Price"
5955
  msgstr "Grundpreis"
5956
 
5957
  # @ woocommerce-germanized
5958
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:235
5959
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:268
5960
  msgid "Delivery Time Notice"
5961
  msgstr "Lieferzeiten-Hinweis"
5962
 
5963
+ # @ woocommerce-germanized
5964
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:276
5965
+ msgid "Short Description"
5966
+ msgstr "Warenkorbkurzbeschreibung"
5967
+
5968
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:299
5969
  #, php-format
5970
  msgid "Show %s shopmark"
5971
  msgstr "Preisauszeichnung „%s“ anzeigen"
5972
 
5973
  # @ woocommerce-germanized
5974
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:307
5975
  msgid "Tax"
5976
  msgstr "Steuer"
5977
 
5978
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:308
5979
  msgid "Show Tax shopmark"
5980
  msgstr "Preisauszeichnung „Steuer“ anzeigen"
5981
 
5982
  # @ woocommerce-germanized
5983
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:316
5984
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:361
5985
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:245
5986
  msgid "Shipping Costs"
5987
  msgstr "Versandkosten"
5988
 
5989
  # @ woocommerce-germanized
5990
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:317
5991
  msgid "Show Shipping Costs shopmark"
5992
  msgstr "Preisauszeichnung „Versandkosten“ anzeigen"
5993
 
5994
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:327
5995
  msgid ""
5996
  "Choose a location for the shopmark. Locations are mapped to specific "
5997
  "WooCommerce hooks and may differ from Theme to Theme."
5999
  "Wähle einen Ort für die Preisauszeichnung aus. Orte werden in WooCommerce an "
6000
  "bestimmte Hooks gebunden und können sich von Theme zu Theme unterscheiden."
6001
 
6002
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:342
6003
  #, php-format
6004
  msgid ""
6005
  "Choose a priority by which the shopmark should be attached to the location. "
6011
  "Preisauszeichnung hinzugefügt. Standard ist %d."
6012
 
6013
  # @ woocommerce-germanized
6014
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:368
6015
  msgid ""
6016
  "This text will be used to inform the customer about shipping costs. Use "
6017
  "{link}{/link} to insert link to shipping costs page."
6021
  "zur Versandkosten-Seite einzufügen."
6022
 
6023
  # @ woocommerce-germanized
6024
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:373
6025
  msgid "plus {link}Shipping Costs{/link}"
6026
  msgstr "zzgl. {link}Versandkosten{/link}"
6027
 
6028
  # @ woocommerce-germanized
6029
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:376
6030
  msgid "Free Shipping Text"
6031
  msgstr "Kostenloser Versand Text"
6032
 
6033
  # @ woocommerce-germanized
6034
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:377
6035
  msgid ""
6036
  "This text will be used to inform the customer about free shipping. Leave "
6037
  "empty to disable notice. Use {link}{/link} to insert link to shipping costs "
6042
  "Versandkosten-Seite einzufügen."
6043
 
6044
  # @ woocommerce-germanized
6045
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:387
6046
  msgid "Footer"
6047
  msgstr "Footer"
6048
 
6049
  # @ woocommerce-germanized
6050
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:390
6051
  msgid "Notice"
6052
  msgstr "Hinweis"
6053
 
6054
  # @ woocommerce-germanized
6055
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:391
6056
  msgid "Attach a global VAT notice to your footer."
6057
  msgstr "Einen seitenübergreifenden MwSt.-Hinweis im Footer einfügen."
6058
 
6059
  # @ woocommerce-germanized
6060
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:398
6061
  msgid "Attach a global sale price notice to your footer."
6062
  msgstr ""
6063
  "Einen seitenübergreifenden Hinweis zu reduzierten Preisen im Footer einfügen."
6064
 
6065
  # @ woocommerce-germanized
6066
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:430
6067
  msgid "Fallback"
6068
  msgstr "Fallback"
6069
 
6070
  # @ woocommerce-germanized
6071
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:431
6072
  msgid ""
6073
  "This delivery time will be added to every product if no delivery time has "
6074
  "been chosen individually"
6077
  "zugeordnet wurde"
6078
 
6079
  # @ woocommerce-germanized
6080
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:438
6081
  msgid "Manage Delivery Times"
6082
  msgstr "Lieferzeiten verwalten"
6083
 
6084
  # @ woocommerce-germanized
6085
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:442
6086
  msgid ""
6087
  "This text will be used to indicate delivery time for products. Use "
6088
  "{delivery_time} as placeholder."
6091
  "{delivery_time} als Platzhalter verwenden."
6092
 
6093
  # @ woocommerce-germanized
6094
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:446
6095
  msgid "Delivery time: {delivery_time}"
6096
  msgstr "Lieferzeit: {delivery_time}"
6097
 
6098
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:449
6099
  msgid "Digital text"
6100
  msgstr "Digitaler Text"
6101
 
6102
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:453
6103
  msgid ""
6104
  "Enter a text which will be shown as digital delivery time text (replacement "
6105
  "for default digital time on digital products)."
6109
  "lassen."
6110
 
6111
  # @ woocommerce
6112
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:456
6113
  msgid "Backorder"
6114
  msgstr "Lieferrückstand"
6115
 
6116
  # @ woocommerce-germanized
6117
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:457
6118
  msgid "Hide delivery time if a product is on backorder."
6119
  msgstr "Lieferzeit ausblenden falls das Produkt im Lieferrückstand ist."
6120
 
6121
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:463
6122
  msgid "Not in Stock"
6123
  msgstr "Nicht auf Lager"
6124
 
6125
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:464
6126
  msgid "Hide delivery time if a product is not in stock."
6127
  msgstr "Lieferzeit ausblenden falls das Produkt nicht auf Lager ist."
6128
 
6129
  # @ woocommerce-germanized
6130
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:470
6131
  msgid "Hide Notice"
6132
  msgstr "Hinweis ausblenden"
6133
 
6134
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:471
6135
  msgid ""
6136
  "Select product types for which you might want to disable the delivery time "
6137
  "notice."
6140
  "möchtest."
6141
 
6142
  # @ woocommerce-germanized
6143
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:489
6144
  msgid ""
6145
  "This text will be used to display the base price. Use {price} to insert the "
6146
  "price. If you want to specifically format base price output use {base}, "
6152
  "{base_price} für die einzelnen Elemente."
6153
 
6154
  # @ woocommerce-germanized
6155
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:493
6156
  msgid "{price}"
6157
  msgstr "{price}"
6158
 
6159
  # @ woocommerce-germanized
6160
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:496
6161
  msgid "Variable Price"
6162
  msgstr "Variabler Preis"
6163
 
6164
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:497
6165
  msgid "Enable price range base prices for variable products."
6166
  msgstr "Aktiviere von-bis-Grundpreise für variable Produkte."
6167
 
6168
  # @ woocommerce-germanized
6169
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:503
6170
  msgid "Product units format"
6171
  msgstr "Produkteinheiten Format"
6172
 
6173
  # @ woocommerce-germanized
6174
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:504
6175
  msgid ""
6176
  "This text will be used to display the product units. Use {product_units} to "
6177
  "insert the amount of product units. Use {unit} to insert the unit. "
6183
  "Grundpreis."
6184
 
6185
  # @ woocommerce-germanized
6186
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:508
6187
  msgid "Product contains: {product_units} {unit}"
6188
  msgstr "Produkt enthält: {product_units} {unit}"
6189
 
6190
  # @ woocommerce-germanized
6191
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:520
6192
  msgid "Fallback Sale Label"
6193
  msgstr "Standard-Streichpreis"
6194
 
6195
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:527
6196
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:537
6197
  msgid "Manage Price Labels"
6198
  msgstr "Preishinweise verwalten"
6199
 
6200
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:527
6201
  msgid ""
6202
  "Choose whether you would like to have a default sale price label to inform "
6203
  "the customer about the regular price (e.g. Recommended Retail Price)."
6206
  "den Kunden auf den alten Preis (bei reduzierten Produkten, sog. "
6207
  "Streichpreis) hinweist (z.B. UVP)."
6208
 
6209
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:530
6210
  msgid "Fallback Regular Label"
6211
  msgstr "Standard-Angebotspreis"
6212
 
6213
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:537
6214
  msgid ""
6215
  "Choose whether you would like to have a default sale price regular label to "
6216
  "inform the customer about the sale price (e.g. New Price)."
6220
  "hinweist (z.B. Unser neuer Preis)."
6221
 
6222
  # @ woocommerce-germanized
6223
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:541
6224
  #: woocommerce-germanized/src/Shopmarks.php:294
6225
  msgid "Single Product"
6226
  msgstr "Produktdetailseite"
6227
 
6228
  # @ woocommerce-germanized
6229
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:542
6230
  msgid "Show price labels on single product page."
6231
  msgstr "Zeige Preishinweise auf der Produktdetailseite."
6232
 
6233
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:549
6234
  msgid "Loop"
6235
  msgstr "Produktlisten"
6236
 
6237
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:550
6238
  msgid "Show price labels in product loops."
6239
  msgstr "Zeige Preishinweise in Produktlisten."
6240
 
7504
  msgstr "Danke, dass du ein Konto bei %s erstellt hast."
7505
 
7506
  # @ woocommerce-germanized
7507
+ #: woocommerce-germanized/includes/class-wc-gzd-emails.php:1002
7508
  msgctxt "revocation-form"
7509
  msgid "Forward your Revocation online"
7510
  msgstr "Deinen Widerruf online erklären"
7511
 
7512
  # @ woocommerce-germanized
7513
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:148
7514
  #, php-format
7515
  msgid ""
7516
  "Please install <a href=\"%s\" target=\"_blank\">WooCommerce</a> before "
7519
  "Bitte installiere <a href=\"%s\" target=\"_blank\">WooCommerce</a> bevor du "
7520
  "WooCommerce Germanized installierst. Vielen Dank!"
7521
 
7522
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:427
7523
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:441
7524
+ msgid "Reduced rate"
7525
+ msgstr "Ermäßigter Steuersatz"
7526
+
7527
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:483
7528
+ #, php-format
7529
+ msgctxt "vat-rate-import"
7530
+ msgid "VAT %s"
7531
+ msgstr "MwSt. %s"
7532
+
7533
  # @ woocommerce-germanized
7534
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:587
7535
  msgctxt "Page slug"
7536
  msgid "data-security"
7537
  msgstr "datenschutzerklaerung"
7538
 
7539
  # @ woocommerce-germanized
7540
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:588
7541
  msgctxt "Page title"
7542
  msgid "Data Security Statement"
7543
  msgstr "Datenschutzerklärung"
7544
 
7545
  # @ woocommerce-germanized
7546
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:592
7547
  msgctxt "Page slug"
7548
  msgid "imprint"
7549
  msgstr "impressum"
7550
 
7551
  # @ woocommerce-germanized
7552
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:593
7553
  msgctxt "Page title"
7554
  msgid "Imprint"
7555
  msgstr "Impressum"
7556
 
7557
  # @ woocommerce-germanized
7558
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:597
7559
  msgctxt "Page slug"
7560
  msgid "terms"
7561
  msgstr "agb"
7562
 
7563
  # @ woocommerce-germanized
7564
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:598
7565
  msgctxt "Page title"
7566
  msgid "Terms & Conditions"
7567
  msgstr "AGB"
7568
 
7569
  # @ woocommerce-germanized
7570
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:602
7571
  msgctxt "Page slug"
7572
  msgid "revocation"
7573
  msgstr "widerrufsbelehrung"
7574
 
7575
  # @ woocommerce-germanized
7576
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:603
7577
  msgctxt "Page title"
7578
  msgid "Power of Revocation"
7579
  msgstr "Widerrufsbelehrung"
7580
 
7581
  # @ woocommerce-germanized
7582
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:607
7583
  msgctxt "Page slug"
7584
  msgid "shipping-methods"
7585
  msgstr "versandarten"
7586
 
7587
  # @ woocommerce-germanized
7588
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:608
7589
  msgctxt "Page title"
7590
  msgid "Shipping Methods"
7591
  msgstr "Versandarten"
7592
 
7593
  # @ woocommerce-germanized
7594
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:612
7595
  msgctxt "Page slug"
7596
  msgid "payment-methods"
7597
  msgstr "bezahlmoeglichkeiten"
7598
 
7599
  # @ woocommerce-germanized
7600
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:613
7601
  msgctxt "Page title"
7602
  msgid "Payment Methods"
7603
  msgstr "Zahlungsarten"
8163
 
8164
  # @ woocommerce-germanized
8165
  #: woocommerce-germanized/includes/class-wc-gzd-revocation.php:52
8166
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:493
8167
  msgid "Mr."
8168
  msgstr "Herr"
8169
 
8170
  # @ woocommerce-germanized
8171
  #: woocommerce-germanized/includes/class-wc-gzd-revocation.php:53
8172
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:494
8173
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:511
8174
  msgid "Ms."
8175
  msgstr "Frau"
8176
 
8993
  "Aktiviere die Zahlungsart nur dann, wenn der Kunde bereits eine Bestellung "
8994
  "erfolgreich abgeschlossen hat."
8995
 
8996
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:192
8997
  msgid ">= 12 years"
8998
  msgstr ">= 12 Jahre"
8999
 
9000
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:193
9001
  msgid ">= 16 years"
9002
  msgstr ">= 16 Jahre"
9003
 
9004
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:194
9005
  msgid ">= 18 years"
9006
  msgstr ">= 18 Jahre"
9007
 
9008
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:195
9009
  msgid ">= 21 years"
9010
  msgstr ">= 21 Jahre"
9011
 
9012
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:196
9013
  msgid ">= 25 years"
9014
  msgstr ">= 25 Jahre"
9015
 
9016
  # @ woocommerce-germanized
9017
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:201
9018
  msgctxt "age"
9019
  msgid "None"
9020
  msgstr "Keines"
9021
 
9022
  # @ woocommerce-germanized
9023
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:238
9024
  msgid "Right of Recission"
9025
  msgstr "Widerrufsrecht"
9026
 
9027
  # @ woocommerce-germanized
9028
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:240
9029
  msgid "Data Security"
9030
  msgstr "Datenschutzerklärung"
9031
 
10620
  msgid "https://vendidero.de"
10621
  msgstr "https://vendidero.de"
10622
 
10623
+ #~ msgctxt "dhl"
10624
+ #~ msgid "Delete"
10625
+ #~ msgstr "Löschen"
10626
+
10627
+ #, php-format
10628
+ #~ msgctxt "dhl"
10629
+ #~ msgid ""
10630
+ #~ "Adjust DHL settings accordingly. <a href=\"%s\">Global settings</a> will "
10631
+ #~ "be used as fallback."
10632
+ #~ msgstr ""
10633
+ #~ "DHL Einstellungen anpassen. <a href=\"%s\">Globale Einstellungen</a> "
10634
+ #~ "werden als Standard verwendet."
10635
+
10636
+ #~ msgctxt "dhl"
10637
+ #~ msgid "Ship via DHL"
10638
+ #~ msgstr "Mit DHL versenden"
10639
+
10640
+ # @ woocommerce-germanized
10641
+ #~ msgctxt "dhl"
10642
+ #~ msgid "Enables DHL features."
10643
+ #~ msgstr "DHL Funktionen aktivieren."
10644
+
10645
+ #~ msgctxt "dhl"
10646
+ #~ msgid "Download DHL label"
10647
+ #~ msgstr "DHL Label downloaden"
10648
+
10649
+ #, php-format
10650
+ #~ msgid "Available placeholders: %s"
10651
+ #~ msgstr "Verfügbare Platzhalter: %s"
10652
+
10653
+ # @ woocommerce-germanized
10654
+ #~ msgid "Virtual rate"
10655
+ #~ msgstr "Virtueller Steuersatz"
10656
+
10657
+ # @ woocommerce-germanized
10658
+ #~ msgid "Virtual reduced rate"
10659
+ #~ msgstr "Virtueller ermäßigter Steuersatz"
10660
+
10661
  #~ msgctxt "dhl"
10662
  #~ msgid "API Key"
10663
  #~ msgstr "API-Schlüssel"
10985
  #~ msgid "Invoices"
10986
  #~ msgstr "Rechnungen"
10987
 
 
 
 
 
10988
  # @ woocommerce-germanized
10989
  #~ msgid "Email Display Options"
10990
  #~ msgstr "Darstellung"
10993
  #~ msgid "Show within Emails"
10994
  #~ msgstr "In E-Mails anzeigen"
10995
 
 
 
 
 
10996
  # @ woocommerce-germanized
10997
  #~ msgid "Show within Product Listings"
10998
  #~ msgstr "In Produktlisten"
i18n/languages/woocommerce-germanized-de_DE_formal.mo CHANGED
Binary file
i18n/languages/woocommerce-germanized-de_DE_formal.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Germanized\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2019-11-13 15:50+0100\n"
6
- "PO-Revision-Date: 2019-11-13 15:50+0100\n"
7
  "Last-Translator: holzhannes <holzhannes@posteo.de>\n"
8
  "Language-Team: \n"
9
  "Language: de_DE@formal\n"
@@ -54,14 +54,14 @@ msgstr "Zollabgabe"
54
 
55
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:66
56
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:137
57
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:893
58
  #: woocommerce-germanized-dhl/src/ParcelServices.php:29
59
  msgctxt "dhl"
60
  msgid "Preferred Day"
61
  msgstr "Wunschtag"
62
 
63
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:75
64
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:913
65
  #: woocommerce-germanized-dhl/src/ParcelServices.php:36
66
  msgctxt "dhl"
67
  msgid "Preferred Time"
@@ -70,14 +70,14 @@ msgstr "Wunschzeit"
70
  # @ woocommerce-germanized
71
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:86
72
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:165
73
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:945
74
  #: woocommerce-germanized-dhl/src/ParcelServices.php:43
75
  msgctxt "dhl"
76
  msgid "Preferred Location"
77
  msgstr "Wunschort"
78
 
79
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:97
80
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:953
81
  #: woocommerce-germanized-dhl/src/ParcelServices.php:48
82
  msgctxt "dhl"
83
  msgid "Preferred Neighbor"
@@ -90,24 +90,24 @@ msgstr "Beilage-Retourenlabel erstellen"
90
 
91
  # @ woocommerce-germanized
92
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:120
93
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:680
94
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:749
95
  msgctxt "dhl"
96
  msgid "Name"
97
  msgstr "Name"
98
 
99
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:129
100
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:687
101
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:756
102
  msgctxt "dhl"
103
  msgid "Company"
104
  msgstr "Firma"
105
 
106
  # @ woocommerce-germanized
107
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:138
108
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:361
109
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:694
110
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:763
111
  msgctxt "dhl"
112
  msgid "Street"
113
  msgstr "Straße"
@@ -120,9 +120,9 @@ msgstr "Hausnummer"
120
 
121
  # @ woocommerce-germanized
122
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:158
123
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:362
124
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:715
125
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:784
126
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder.php:27
127
  msgctxt "dhl"
128
  msgid "Postcode"
@@ -130,25 +130,25 @@ msgstr "Postleitzahl"
130
 
131
  # @ woocommerce-germanized
132
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:167
133
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:363
134
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:708
135
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:777
136
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder.php:30
137
  msgctxt "dhl"
138
  msgid "City"
139
  msgstr "Stadt"
140
 
141
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:178
142
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:731
143
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:800
144
  msgctxt "dhl"
145
  msgid "Phone"
146
  msgstr "Telefon"
147
 
148
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:187
149
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:585
150
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:738
151
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:807
152
  msgctxt "dhl"
153
  msgid "Email"
154
  msgstr "E-Mail"
@@ -191,7 +191,7 @@ msgid "No neighbor"
191
  msgstr "Keine Nachbarschaftszustellung"
192
 
193
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:258
194
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:498
195
  msgctxt "dhl"
196
  msgid "Named person only"
197
  msgstr "Persönliche Übergabe"
@@ -218,50 +218,11 @@ msgid "Minimum age"
218
  msgstr "Mindestalter"
219
 
220
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:306
221
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:519
222
  msgctxt "dhl"
223
  msgid "Premium"
224
  msgstr "Premium"
225
 
226
- #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone.php:17
227
- #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label.php:30
228
- msgctxt "dhl"
229
- msgid "Create label"
230
- msgstr "Label erstellen"
231
-
232
- #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone.php:29
233
- msgctxt "dhl"
234
- msgid "Create"
235
- msgstr "Erstellen"
236
-
237
- #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label.php:13
238
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:275
239
- msgctxt "dhl"
240
- msgid "DHL Label"
241
- msgstr "DHL Label"
242
-
243
- #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label.php:20
244
- msgctxt "dhl"
245
- msgid "Download"
246
- msgstr "Download"
247
-
248
- # @ woocommerce-germanized
249
- #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label.php:23
250
- msgctxt "dhl"
251
- msgid "Send to customer"
252
- msgstr "An den Kunden senden"
253
-
254
- #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label.php:26
255
- msgctxt "dhl"
256
- msgid "Delete"
257
- msgstr "Löschen"
258
-
259
- #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label.php:30
260
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:414
261
- msgctxt "dhl"
262
- msgid "Create new DHL label"
263
- msgstr "Neues DHL Label erstellen"
264
-
265
  # @ woocommerce-germanized
266
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-return-label-backbone-form.php:18
267
  msgctxt "dhl"
@@ -269,39 +230,11 @@ msgid "Receiver"
269
  msgstr "Empfänger"
270
 
271
  #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:15
272
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:192
273
- #: woocommerce-germanized-dhl/src/Package.php:238
274
- msgctxt "dhl"
275
- msgid "DHL"
276
- msgstr "DHL"
277
-
278
- #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:19
279
- #, php-format
280
- msgctxt "dhl"
281
- msgid ""
282
- "Adjust DHL settings accordingly. <a href=\"%s\">Global settings</a> will be "
283
- "used as fallback."
284
- msgstr ""
285
- "DHL Einstellungen anpassen. <a href=\"%s\">Globale Einstellungen</a> werden "
286
- "als Standard verwendet."
287
-
288
- #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:22
289
- msgctxt "dhl"
290
- msgid "Ship via DHL"
291
- msgstr "Mit DHL versenden"
292
-
293
- # @ woocommerce-germanized
294
- #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:24
295
- msgctxt "dhl"
296
- msgid "Enables DHL features."
297
- msgstr "DHL Funktionen aktivieren."
298
-
299
- #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:29
300
  msgctxt "dhl"
301
  msgid "DHL Labels"
302
  msgstr "DHL Labels"
303
 
304
- #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:32
305
  #, php-format
306
  msgctxt "dhl"
307
  msgid ""
@@ -312,12 +245,12 @@ msgstr ""
312
  "\">globalen Einstellungen</a>."
313
 
314
  # @ woocommerce-germanized
315
- #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:42
316
  msgctxt "dhl"
317
  msgid "DHL Label Services"
318
  msgstr "DHL Services"
319
 
320
- #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:45
321
  #, php-format
322
  msgctxt "dhl"
323
  msgid ""
@@ -328,12 +261,12 @@ msgstr ""
328
  "\">globalen Einstellungen</a>."
329
 
330
  # @ woocommerce-germanized
331
- #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:55
332
  msgctxt "dhl"
333
  msgid "DHL Label Automation"
334
  msgstr "DHL Label Automatisierung"
335
 
336
- #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:58
337
  #, php-format
338
  msgctxt "dhl"
339
  msgid ""
@@ -343,12 +276,12 @@ msgstr ""
343
  "Automatisierung-Einstellungen für Label anpassen. Änderungen überschreiben "
344
  "die <a href=\"%s\">globalen Einstellungen</a>."
345
 
346
- #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:67
347
  msgctxt "dhl"
348
  msgid "DHL Preferred Services"
349
  msgstr "DHL Wunschpaket-Services"
350
 
351
- #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:70
352
  #, php-format
353
  msgctxt "dhl"
354
  msgid ""
@@ -358,12 +291,12 @@ msgstr ""
358
  "Wunschpaket-Services anpassen. Änderungen überschreiben die <a href=\"%s"
359
  "\">globalen Einstellungen</a>."
360
 
361
- #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:80
362
  msgctxt "dhl"
363
  msgid "DHL Pickup"
364
  msgstr "DHL Standorte"
365
 
366
- #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:83
367
  #, php-format
368
  msgctxt "dhl"
369
  msgid ""
@@ -399,141 +332,141 @@ msgid "DHL label for your order: #{order_number}"
399
  msgstr "DHL Label zu Ihrer Bestellung: #{order_number}"
400
 
401
  # @ woocommerce-germanized
402
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:36
403
- #: woocommerce-germanized-dhl/src/Api/Paket.php:279
404
  #: woocommerce-germanized-dhl/templates/checkout/dhl/preferred-services.php:81
405
  msgctxt "dhl time context"
406
  msgid "None"
407
  msgstr "Keine"
408
 
409
  # @ woocommerce-germanized
410
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:46
411
- #: woocommerce-germanized-dhl/src/Api/Paket.php:267
412
  msgctxt "dhl day context"
413
  msgid "None"
414
  msgstr "Keiner"
415
 
416
  # @ woocommerce-germanized
417
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:71
418
  msgctxt "dhl"
419
  msgid "Delivery Duty Unpaid"
420
  msgstr "Delivery Duty Unpaid"
421
 
422
  # @ woocommerce-germanized
423
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:72
424
  msgctxt "dhl"
425
  msgid "Delivery Duty Paid"
426
  msgstr "Delivery Duty Paid"
427
 
428
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:73
429
  msgctxt "dhl"
430
  msgid "Delivery Duty Paid (excl. VAT )"
431
  msgstr "Delivered Duty Paid (exkl. MwSt.)"
432
 
433
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:74
434
  msgctxt "dhl"
435
  msgid "Delivery Duty Paid (excl. Duties, taxes and VAT)"
436
  msgstr "Delivery Duty Paid (exkl. Zölle, Steuern und MwSt.)"
437
 
438
  # @ woocommerce-germanized
439
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:82
440
  msgctxt "age context"
441
  msgid "None"
442
  msgstr "Keine"
443
 
444
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:83
445
  msgctxt "dhl"
446
  msgid "Minimum age of 16"
447
  msgstr "Mindestens 16 Jahre"
448
 
449
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:84
450
  msgctxt "dhl"
451
  msgid "Minimum age of 18"
452
  msgstr "Mindestens 18 Jahre"
453
 
454
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:111
455
  msgctxt "dhl"
456
- msgid "Shipment #{shipment_id} to order #{order_id}"
457
- msgstr "Sendung #{shipment_id} zur Bestellung #{order_id}"
458
 
459
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:126
460
  msgctxt "dhl"
461
  msgid "Return #{shipment_id} to shipment #{original_shipment_id}"
462
  msgstr "Retoure #{shipment_id} zur Sendung #{original_shipment_id}"
463
 
464
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:140
465
  msgctxt "dhl"
466
  msgid "Return shipment #{shipment_id} to order #{order_id}"
467
  msgstr "Retourensendung #{shipment_id} zur Bestellung #{order_id}"
468
 
469
  # @ woocommerce-germanized
470
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:233
471
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:184
472
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:431
473
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:790
474
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder.php:38
475
  msgctxt "dhl"
476
  msgid "Packstation"
477
  msgstr "Packstation"
478
 
479
  # @ woocommerce-germanized
480
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:234
481
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:235
482
  msgctxt "dhl"
483
  msgid "Postfiliale"
484
  msgstr "Postfiliale"
485
 
486
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:304
487
  msgctxt "dhl"
488
  msgid "Receiver is missing or does not exist."
489
  msgstr "Empfänger fehlt oder existiert nicht."
490
 
491
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:337
492
  #, php-format
493
  msgctxt "dhl"
494
  msgid "Shipment order #%s does not exist"
495
  msgstr "Bestellung zur Sendung #%s existiert nicht"
496
 
497
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:368
498
  #, php-format
499
  msgctxt "dhl"
500
  msgid "%s of the return address is a mandatory field."
501
  msgstr "%s der Rücksendeadresse ist ein Pflichtfeld."
502
 
503
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:373
504
  msgctxt "dhl"
505
  msgid "Please either add a return company or name."
506
  msgstr ""
507
  "Bitte geben Sie entweder einen Firmennamen oder Namen für die "
508
  "Rücksendeadresse an."
509
 
510
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:392
511
  msgctxt "dhl"
512
  msgid "Error while parsing preferred day."
513
  msgstr "Fehler beim Einlesen des Wunschtags."
514
 
515
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:403
516
  msgctxt "dhl"
517
  msgid "Error while parsing preferred time."
518
  msgstr "Fehler beim Einlesen der Wunschzeit."
519
 
520
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:427
521
  msgctxt "dhl"
522
  msgid "The visual min age check is invalid."
523
  msgstr "Das Alter der Alterssichtprüfung ist ungültig."
524
 
525
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:443
526
  msgctxt "dhl"
527
  msgid "The ident min age check is invalid."
528
  msgstr "Das Alter des Ident-Checks ist ungültig."
529
 
530
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:450
531
  msgctxt "dhl"
532
  msgid "There was an error parsing the date of birth for the identity check."
533
  msgstr ""
534
  "Beim Einlesen des Geburtsdatums für den Ident-Check trat ein Problem auf."
535
 
536
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:455
537
  msgctxt "dhl"
538
  msgid ""
539
  "Either a minimum age or a date of birth must be added to the ident check."
@@ -542,151 +475,151 @@ msgstr ""
542
  "hinzugefügt werden."
543
 
544
  # @ woocommerce-germanized
545
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:468
546
  #, php-format
547
  msgctxt "dhl"
548
  msgid "%s duties element does not exist."
549
  msgstr "%s Zollabgabe existiert nicht."
550
 
551
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:798
552
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:873
553
  msgctxt "dhl"
554
  msgid "Invalid shipment"
555
  msgstr "Ungültige Sendung"
556
 
557
  # @ woocommerce-germanized
558
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:802
559
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:877
560
  msgctxt "dhl"
561
  msgid "Order does not exist"
562
  msgstr "Bestellung existiert nicht"
563
 
564
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:825
565
  msgctxt "dhl"
566
  msgid "Error while creating the label instance"
567
  msgstr "Fehler beim Erstellen der Label-Instanz"
568
 
569
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:945
570
  msgctxt "dhl"
571
  msgid "Invalid label"
572
  msgstr "Ungültiges Label"
573
 
574
  # @ woocommerce-germanized
575
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1033
576
  msgctxt "dhl"
577
  msgid "DHL Retoure International A"
578
  msgstr "DHL Retoure International A"
579
 
580
  # @ woocommerce-germanized
581
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1034
582
  msgctxt "dhl"
583
  msgid "DHL Retoure International B"
584
  msgstr "DHL Retoure International B"
585
 
586
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1043
587
  msgctxt "dhl"
588
  msgid "DHL Retoure Online"
589
  msgstr "DHL Retoure Online"
590
 
591
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1054
592
  msgctxt "dhl"
593
  msgid "DHL Paket Connect"
594
  msgstr "DHL Paket Connect"
595
 
596
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1055
597
  msgctxt "dhl"
598
  msgid "DHL Europaket (B2B)"
599
  msgstr "DHL Europaket (B2B)"
600
 
601
  # @ woocommerce-germanized
602
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1056
603
  msgctxt "dhl"
604
  msgid "DHL Paket International"
605
  msgstr "DHL Paket International"
606
 
607
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1122
608
  msgctxt "dhl"
609
  msgid "DHL Paket"
610
  msgstr "DHL Paket"
611
 
612
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1123
613
  msgctxt "dhl"
614
  msgid "DHL Paket PRIO"
615
  msgstr "DHL Paket PRIO"
616
 
617
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1124
618
  msgctxt "dhl"
619
  msgid "DHL Paket Taggleich"
620
  msgstr "DHL Paket Taggleich"
621
 
622
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1211
623
  msgctxt "dhl"
624
  msgid "Error while uploading label."
625
  msgstr "Fehler beim Hochladen des Labels."
626
 
627
  # @ woocommerce-germanized
628
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:91
629
  msgctxt "dhl"
630
  msgid "Receiver Ids"
631
  msgstr "Empfänger IDs"
632
 
633
  # @ woocommerce-germanized
634
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:98
635
  msgctxt "dhl"
636
  msgid "Receiver Id"
637
  msgstr "Empfänger ID"
638
 
639
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:98
640
  msgctxt "dhl"
641
  msgid "Find your Receiver Ids within your DHL contract data."
642
  msgstr "Die Empfänger IDs finden Sie im DHL Geschäftskundenportal."
643
 
644
  # @ woocommerce-germanized
645
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:99
646
  msgctxt "dhl"
647
  msgid "Country Code"
648
  msgstr "Ländercode"
649
 
650
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:99
651
  msgctxt "dhl"
652
  msgid "Leave empty to use the Receiver Id as fallback."
653
  msgstr "Leer lassen, um diese Empfänger ID als Fallback zu verwenden."
654
 
655
  # @ woocommerce-germanized
656
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:119
657
  msgctxt "dhl"
658
  msgid "+ Add receiver"
659
  msgstr "+ Empfänger hinzufügen"
660
 
661
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:119
662
  msgctxt "dhl"
663
  msgid "Remove selected receiver(s)"
664
  msgstr "Ausgewählte Empfänger löschen"
665
 
666
  # @ woocommerce-germanized
667
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:155
668
  msgctxt "dhl"
669
  msgid "Select a country"
670
  msgstr "Land auswählen"
671
 
672
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:157
673
  msgctxt "dhl"
674
  msgid "Harmonized Tariff Schedule (DHL)"
675
  msgstr "Harmonized Tariff Schedule (DHL)"
676
 
677
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:157
678
  msgctxt "dhl"
679
  msgid "This code is needed for customs of international shipping."
680
  msgstr ""
681
  "Dieser Code wird für die Zollabwicklung bei internationalen Sendungen "
682
  "benötigt."
683
 
684
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:158
685
  msgctxt "dhl"
686
  msgid "Country of manufacture (DHL)"
687
  msgstr "Herstellungsland (DHL)"
688
 
689
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:158
690
  msgctxt "dhl"
691
  msgid ""
692
  "The country of manufacture is needed for customs of international shipping."
@@ -694,7 +627,7 @@ msgstr ""
694
  "Das Herstellungsland wird für die Zollabwicklung bei internationalen "
695
  "Sendungen benötigt."
696
 
697
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:185
698
  #, php-format
699
  msgctxt "dhl"
700
  msgid ""
@@ -704,36 +637,17 @@ msgstr ""
704
  "Das Verzeichnis zum Speichern von DHL Labels fehlt. Bitte erstellen Sie den "
705
  "Ordner %s manuell und stellen Sie sicher, dass der Ordner beschreibbar ist."
706
 
707
- # @ woocommerce-germanized
708
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:215
709
  msgctxt "dhl"
710
- msgid "Download labels"
711
- msgstr "Labels downloaden"
712
-
713
- # @ woocommerce-germanized
714
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:222
715
- msgctxt "dhl"
716
- msgid "Generate and download labels"
717
- msgstr "Labels erstellen und downloaden"
718
-
719
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:248
720
- #: woocommerce-germanized-dhl/src/Ajax.php:278
721
- msgctxt "dhl"
722
- msgid "Download DHL label"
723
- msgstr "DHL Label downloaden"
724
-
725
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:256
726
- msgctxt "dhl"
727
- msgid "Send DHL label to customer"
728
- msgstr "DHL Label dem Kunden zusenden"
729
 
730
- # @ woocommerce-germanized
731
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:263
732
  msgctxt "dhl"
733
- msgid "Generate DHL label"
734
- msgstr "DHL Label erstellen"
735
 
736
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:287
737
  msgctxt "dhl"
738
  msgid ""
739
  "This label has been generated by the DHL for WooCommerce Plugin and is shown "
@@ -743,45 +657,11 @@ msgstr ""
743
  "Kompatibilitäts-Gründen angezeigt."
744
 
745
  # @ woocommerce-germanized
746
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:288
747
- #: woocommerce-germanized-dhl/src/Ajax.php:278
748
  msgctxt "dhl"
749
  msgid "Download label"
750
  msgstr "Label downloaden"
751
 
752
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:413
753
- msgctxt "dhl"
754
- msgid "Do you really want to delete the label?"
755
- msgstr "Möchten Sie das Label wirklich löschen?"
756
-
757
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:415
758
- msgctxt "dhl"
759
- msgid "Please save the shipment before creating a new label"
760
- msgstr "Bitte speichern Sie die Sendung bevor Sie ein neues Label erstellen"
761
-
762
- # @ woocommerce-germanized
763
- #: woocommerce-germanized-dhl/src/Admin/BulkLabel.php:31
764
- msgctxt "dhl"
765
- msgid "Generating labels..."
766
- msgstr "Labels werden erzeugt..."
767
-
768
- #: woocommerce-germanized-dhl/src/Admin/BulkLabel.php:74
769
- msgctxt "dhl"
770
- msgid "Successfully generated labels."
771
- msgstr "Labels erfolgreich erzeugt."
772
-
773
- #: woocommerce-germanized-dhl/src/Admin/BulkLabel.php:92
774
- #, php-format
775
- msgctxt "dhl"
776
- msgid "Error while creating label for %s: %s"
777
- msgstr "Fehler beim Erstellen des Labels für %s. %s"
778
-
779
- #: woocommerce-germanized-dhl/src/Admin/BulkLabel.php:92
780
- #, php-format
781
- msgctxt "dhl"
782
- msgid "shipment #%d"
783
- msgstr "Sendung #%d"
784
-
785
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:29
786
  msgctxt "dhl"
787
  msgid "Enable DHL"
@@ -827,7 +707,7 @@ msgstr ""
827
  "Geschäftskundenportal eingeben."
828
 
829
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:76
830
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:411
831
  msgctxt "dhl"
832
  msgid "Inlay Returns"
833
  msgstr "Beilageretouren"
@@ -842,8 +722,8 @@ msgstr ""
842
  "sollten Sie diese Funktion standardmäßig aktivieren."
843
 
844
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:90
845
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:642
846
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:872
847
  msgctxt "dhl"
848
  msgid "Retoure"
849
  msgstr "Retoure"
@@ -878,7 +758,7 @@ msgstr ""
878
 
879
  # @ woocommerce-germanized
880
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:118
881
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:666
882
  msgctxt "dhl"
883
  msgid "Automation"
884
  msgstr "Automatisierung"
@@ -904,8 +784,8 @@ msgstr ""
904
 
905
  # @ woocommerce-germanized
906
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:151
907
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:901
908
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:921
909
  msgctxt "dhl"
910
  msgid "Fee"
911
  msgstr "Gebühr"
@@ -938,7 +818,7 @@ msgstr ""
938
  "im Folgenden konfiguriert) als Lieferadresse auswählen."
939
 
940
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:198
941
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1081
942
  msgctxt "dhl"
943
  msgid "Map"
944
  msgstr "Karte"
@@ -1175,7 +1055,21 @@ msgstr ""
1175
  "Wählen Sie ein Standard Sendungsgewicht aus das für Labels verwendet wird, "
1176
  "für die das Gewicht nicht automatisch bestimmt werden kann."
1177
 
1178
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:412
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1179
  msgctxt "dhl"
1180
  msgid ""
1181
  "Additionally create inlay return labels for shipments that support returns."
@@ -1183,54 +1077,83 @@ msgstr ""
1183
  "Erzeuge zusätzlich Beilage-Retourenlabels für Sendungen die Retouren "
1184
  "unterstützen."
1185
 
1186
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:432
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1187
  msgctxt "dhl"
1188
  msgid "Enable delivery to Packstation."
1189
  msgstr "Aktiviere den Versand an Packstationen."
1190
 
1191
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:433
1192
  msgctxt "dhl"
1193
  msgid "Let customers choose a Packstation as delivery address."
1194
  msgstr "Kunden eine Packstation als Lieferadresse auswählen lassen."
1195
 
1196
  # @ woocommerce-germanized
1197
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:440
1198
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder.php:50
1199
  msgctxt "dhl"
1200
  msgid "Postoffice"
1201
  msgstr "Postfiliale"
1202
 
1203
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:441
1204
  msgctxt "dhl"
1205
  msgid "Enable delivery to Post Offices."
1206
  msgstr "Aktiviere den Versand an Postfilialen."
1207
 
1208
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:442
1209
  msgctxt "dhl"
1210
  msgid "Let customers choose a Post Office as delivery address."
1211
  msgstr "Kunden eine Postfiliale als Lieferadresse auswählen lassen."
1212
 
1213
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:449
1214
  msgctxt "dhl"
1215
  msgid "Parcel Shop"
1216
  msgstr "Paketshop"
1217
 
1218
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:450
1219
  msgctxt "dhl"
1220
  msgid "Enable delivery to Parcel Shops."
1221
  msgstr "Lieferung an Paketshops aktivieren."
1222
 
1223
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:451
1224
  msgctxt "dhl"
1225
  msgid "Let customers choose a Parcel Shop as delivery address."
1226
  msgstr "Kunden einen Paketshop als Lieferadresse auswählen lassen."
1227
 
1228
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:469
1229
  msgctxt "dhl"
1230
  msgid "Visual minimum age"
1231
  msgstr "Alterssichtprüfung"
1232
 
1233
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:474
1234
  msgctxt "dhl"
1235
  msgid "Choose this option if you want to let DHL check your customer's age."
1236
  msgstr ""
@@ -1238,22 +1161,22 @@ msgstr ""
1238
  "möchten."
1239
 
1240
  # @ woocommerce-germanized
1241
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:477
1242
  msgctxt "dhl"
1243
  msgid "Additional Insurance"
1244
  msgstr "Transportversicherung"
1245
 
1246
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:478
1247
  msgctxt "dhl"
1248
  msgid "Add an additional insurance to labels."
1249
  msgstr "Füge eine Transportversicherung zur Sendung hinzu."
1250
 
1251
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:484
1252
  msgctxt "dhl"
1253
  msgid "Retail Outlet Routing"
1254
  msgstr "Filialrouting"
1255
 
1256
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:485
1257
  msgctxt "dhl"
1258
  msgid ""
1259
  "Send undeliverable items to nearest retail outlet instead of immediate "
@@ -1262,46 +1185,46 @@ msgstr ""
1262
  "Sende unzustellbare Sendungen in die nächstgelegene Filiale zur Abholung "
1263
  "anstelle diese direkt zurückzusenden."
1264
 
1265
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:491
1266
  msgctxt "dhl"
1267
  msgid "No Neighbor"
1268
  msgstr "Keine Nachbarschaftszustellung"
1269
 
1270
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:492
1271
  msgctxt "dhl"
1272
  msgid "Do not deliver to neighbors."
1273
  msgstr "Schließe eine Ersatzzustellung beim Nachbarn aus."
1274
 
1275
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:499
1276
  msgctxt "dhl"
1277
  msgid "Do only delivery to named person."
1278
  msgstr ""
1279
  "Lasse Pakete nur an den Empfänger persönlich oder an eine bevollmächtigte "
1280
  "Person übergeben."
1281
 
1282
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:505
1283
  msgctxt "dhl"
1284
  msgid "Bulky Goods"
1285
  msgstr "Sperrgut"
1286
 
1287
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:506
1288
  msgctxt "dhl"
1289
  msgid "Deliver as bulky goods."
1290
  msgstr "Sende Pakete als Sperrgut."
1291
 
1292
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:512
1293
  msgctxt "dhl"
1294
  msgid "Age Verification"
1295
  msgstr "Alterssichtprüfung"
1296
 
1297
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:513
1298
  msgctxt "dhl"
1299
  msgid "Verify ages if shipment contains applicable items."
1300
  msgstr ""
1301
  "Aktiviere die Alterssichtprüfung, falls die Sendung zu prüfende Positionen "
1302
  "beinhaltet."
1303
 
1304
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:513
1305
  #, php-format
1306
  msgctxt "dhl"
1307
  msgid ""
@@ -1314,36 +1237,36 @@ msgstr ""
1314
  "Alterssichtprüfung automatisch aktiviert, falls eine Sendung zu prüfenden "
1315
  "Produkte beinhaltet."
1316
 
1317
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:513
1318
  msgctxt "dhl"
1319
  msgid "age verification checkbox"
1320
  msgstr "Checkbox zur Altersprüfung"
1321
 
1322
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:520
1323
  msgctxt "dhl"
1324
  msgid "Premium delivery for international shipments."
1325
  msgstr "Premium Lieferung für internationale Sendungen."
1326
 
1327
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:539
1328
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1132
1329
  msgctxt "dhl"
1330
  msgid "Labels"
1331
  msgstr "Labels"
1332
 
1333
  # @ woocommerce-germanized
1334
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:540
1335
  msgctxt "dhl"
1336
  msgid "Automatically create labels for shipments."
1337
  msgstr "Automatisch Labels zu Sendungen erstellen."
1338
 
1339
  # @ woocommerce-germanized
1340
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:547
1341
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:574
1342
  msgctxt "dhl"
1343
  msgid "Status"
1344
  msgstr "Status"
1345
 
1346
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:551
1347
  msgctxt "dhl"
1348
  msgid "Choose a shipment status which should trigger generation of a label."
1349
  msgstr ""
@@ -1351,29 +1274,29 @@ msgstr ""
1351
  "soll."
1352
 
1353
  # @ woocommerce-germanized
1354
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:558
1355
  msgctxt "dhl"
1356
  msgid "Shipment Status"
1357
  msgstr "Sendungsstatus"
1358
 
1359
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:559
1360
  msgctxt "dhl"
1361
  msgid "Mark shipment as shipped after label has been created successfully."
1362
  msgstr ""
1363
  "Sendung als versandt markieren, sobald ein Label erfolgreich erstellt wurde."
1364
 
1365
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:566
1366
  msgctxt "dhl"
1367
  msgid "Returns"
1368
  msgstr "Retouren"
1369
 
1370
  # @ woocommerce-germanized
1371
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:567
1372
  msgctxt "dhl"
1373
  msgid "Automatically create labels for returns."
1374
  msgstr "Automatisch Retourenlabels zu Retourensendungen erstellen."
1375
 
1376
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:578
1377
  msgctxt "dhl"
1378
  msgid ""
1379
  "Choose a shipment status which should trigger generation of a return label."
@@ -1381,12 +1304,12 @@ msgstr ""
1381
  "Wählen Sie einen Sendungsstatus aus, der die Erzeugung eines Retourenlabels "
1382
  "auslösen soll."
1383
 
1384
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:586
1385
  msgctxt "dhl"
1386
  msgid "Send the return label to the customer by email after creating it."
1387
  msgstr "Sende das Retourenlabel nach dem Erstellen per E-Mail an den Kunden."
1388
 
1389
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:632
1390
  #, php-format
1391
  msgctxt "dhl"
1392
  msgid ""
@@ -1398,12 +1321,12 @@ msgstr ""
1398
  "werden."
1399
 
1400
  # @ woocommerce-germanized
1401
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:632
1402
  msgctxt "dhl"
1403
  msgid "shipping method"
1404
  msgstr "Versandmethode"
1405
 
1406
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:642
1407
  #, php-format
1408
  msgctxt "dhl"
1409
  msgid ""
@@ -1414,18 +1337,18 @@ msgstr ""
1414
  "API an. Stellen Sie sicher, dass Ihr %s DHL Retoure Online enthält."
1415
 
1416
  # @ woocommerce-germanized
1417
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:642
1418
  msgctxt "dhl"
1419
  msgid "contract"
1420
  msgstr "Vertrag"
1421
 
1422
  # @ woocommerce-germanized
1423
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:654
1424
  msgctxt "dhl"
1425
  msgid "Default Services"
1426
  msgstr "Standard-Services"
1427
 
1428
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:654
1429
  #, php-format
1430
  msgctxt "dhl"
1431
  msgid ""
@@ -1435,12 +1358,12 @@ msgstr ""
1435
  "Passen Sie hier an, welche der Services als Standard für Ihre Labels gebucht "
1436
  "werden sollen. Finden Sie mehr über diese %s heraus."
1437
 
1438
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:654
1439
  msgctxt "dhl"
1440
  msgid "nationwide services"
1441
  msgstr "nationalen Services"
1442
 
1443
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:666
1444
  msgctxt "dhl"
1445
  msgid ""
1446
  "Choose whether and under which conditions labels for your shipments shall be "
@@ -1450,38 +1373,38 @@ msgstr ""
1450
  "automatisch erzeugt werden sollen."
1451
 
1452
  # @ woocommerce-germanized
1453
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:677
1454
  msgctxt "dhl"
1455
  msgid "Shipper Address"
1456
  msgstr "Absenderadresse"
1457
 
1458
  # @ woocommerce-germanized
1459
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:701
1460
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:770
1461
  msgctxt "dhl"
1462
  msgid "Street Number"
1463
  msgstr "Hausnummer"
1464
 
1465
  # @ woocommerce-germanized
1466
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:722
1467
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:791
1468
  msgctxt "dhl"
1469
  msgid "Country"
1470
  msgstr "Land"
1471
 
1472
  # @ woocommerce-germanized
1473
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:746
1474
  msgctxt "dhl"
1475
  msgid "Inlay Return Address"
1476
  msgstr "Beilageretouren Adresse"
1477
 
1478
  # @ woocommerce-germanized
1479
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:815
1480
  msgctxt "dhl"
1481
  msgid "Bank Account"
1482
  msgstr "Bankkonto"
1483
 
1484
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:815
1485
  msgctxt "dhl"
1486
  msgid "Enter your bank details needed for services that use COD."
1487
  msgstr ""
@@ -1489,36 +1412,36 @@ msgstr ""
1489
  "verwendet werden sollen."
1490
 
1491
  # @ woocommerce-germanized
1492
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:818
1493
  msgctxt "dhl"
1494
  msgid "Holder"
1495
  msgstr "Kontoinhaber"
1496
 
1497
  # @ woocommerce-germanized
1498
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:825
1499
  msgctxt "dhl"
1500
  msgid "Bank Name"
1501
  msgstr "Name der Bank"
1502
 
1503
  # @ woocommerce-germanized
1504
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:832
1505
  msgctxt "dhl"
1506
  msgid "IBAN"
1507
  msgstr "IBAN"
1508
 
1509
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:839
1510
  msgctxt "dhl"
1511
  msgid "BIC"
1512
  msgstr "BIC"
1513
 
1514
  # @ woocommerce-germanized
1515
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:846
1516
  msgctxt "dhl"
1517
  msgid "Payment Reference"
1518
  msgstr "Zahlungsreferenz"
1519
 
1520
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:850
1521
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:859
1522
  #, php-format
1523
  msgctxt "dhl"
1524
  msgid ""
@@ -1529,18 +1452,18 @@ msgstr ""
1529
  "hinzufügen: %s. Der Text ist auf 35 Zeichen begrenzt."
1530
 
1531
  # @ woocommerce-germanized
1532
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:855
1533
  msgctxt "dhl"
1534
  msgid "Payment Reference 2"
1535
  msgstr "Zahlungsreferenz 2"
1536
 
1537
  # @ woocommerce-germanized
1538
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:873
1539
  msgctxt "dhl"
1540
  msgid "Enable creating labels for return shipments."
1541
  msgstr "Automatisch Retourenlabels zu Retourensendungen erstellen."
1542
 
1543
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:873
1544
  msgctxt "dhl"
1545
  msgid ""
1546
  "By enabling this option you might generate retoure labels for return "
@@ -1549,12 +1472,12 @@ msgstr ""
1549
  "Mit der Aktivierung dieser Option können Sie Retourenlabels zu "
1550
  "Retourensendungen erstellen und diese per E-Mail an den Kunden weiterleiten."
1551
 
1552
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:894
1553
  msgctxt "dhl"
1554
  msgid "Enable preferred day delivery."
1555
  msgstr "Aktiviere die Lieferung am Wunschtag."
1556
 
1557
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:894
1558
  msgctxt "dhl"
1559
  msgid ""
1560
  "Enabling this option will display options for the user to select their "
@@ -1563,7 +1486,7 @@ msgstr ""
1563
  "Diese Option aktiviert die Auswahl eines Wunschtags durch den Kunden in der "
1564
  "Kasse."
1565
 
1566
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:903
1567
  msgctxt "dhl"
1568
  msgid ""
1569
  "Insert gross value as surcharge for preferred day delivery. Insert 0 to "
@@ -1572,12 +1495,12 @@ msgstr ""
1572
  "Fügen Sie einen Bruttopreis als Gebühr für die Lieferung am Wunschtag hinzu. "
1573
  "Setzen Sie den Wert auf 0 um den Service kostenlos anzubieten."
1574
 
1575
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:914
1576
  msgctxt "dhl"
1577
  msgid "Enable preferred time delivery."
1578
  msgstr "Aktiviere die Lieferung zur Wunschzeit."
1579
 
1580
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:914
1581
  msgctxt "dhl"
1582
  msgid ""
1583
  "Enabling this option will display options for the user to select their "
@@ -1586,7 +1509,7 @@ msgstr ""
1586
  "Diese Option aktiviert die Auswahl einer Wunschzeit durch den Kunden in der "
1587
  "Kasse."
1588
 
1589
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:923
1590
  msgctxt "dhl"
1591
  msgid ""
1592
  "Insert gross value as surcharge for preferred time delivery. Insert 0 to "
@@ -1595,12 +1518,12 @@ msgstr ""
1595
  "Fügen Sie einen Bruttopreis als Gebühr für die Lieferung zur Wunschzeit "
1596
  "hinzu. Setzen Sie den Wert auf 0 um den Service kostenlos anzubieten."
1597
 
1598
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:933
1599
  msgctxt "dhl"
1600
  msgid "Combined Fee"
1601
  msgstr "Kombinierte Gebühr"
1602
 
1603
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:935
1604
  msgctxt "dhl"
1605
  msgid ""
1606
  "Insert gross value as surcharge for the combination of preferred day and "
@@ -1611,12 +1534,12 @@ msgstr ""
1611
  "kostenlos anzubieten."
1612
 
1613
  # @ woocommerce-germanized
1614
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:946
1615
  msgctxt "dhl"
1616
  msgid "Enable preferred location delivery."
1617
  msgstr "Lieferung an einen Wunschort aktivieren."
1618
 
1619
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:946
1620
  msgctxt "dhl"
1621
  msgid ""
1622
  "Enabling this option will display options for the user to select their "
@@ -1625,12 +1548,12 @@ msgstr ""
1625
  "Diese Option aktiviert die Auswahl eines Wunschorts durch den Kunden in der "
1626
  "Kasse ."
1627
 
1628
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:954
1629
  msgctxt "dhl"
1630
  msgid "Enable preferred neighbor delivery."
1631
  msgstr "Aktiviere die Lieferung an einen Wunschnachbarn."
1632
 
1633
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:954
1634
  msgctxt "dhl"
1635
  msgid ""
1636
  "Enabling this option will display options for the user to deliver to their "
@@ -1639,12 +1562,12 @@ msgstr ""
1639
  "Diese Option aktiviert die Auswahl eines Wunschnachbarn durch den Kunden in "
1640
  "der Kasse."
1641
 
1642
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:980
1643
  msgctxt "dhl"
1644
  msgid "Cut-off time"
1645
  msgstr "Cut-off-Zeit"
1646
 
1647
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:983
1648
  msgctxt "dhl"
1649
  msgid ""
1650
  "The cut-off time is the latest possible order time up to which the minimum "
@@ -1657,12 +1580,12 @@ msgstr ""
1657
  "Nach Überschreitung dieses Zeitpunktes, wird der früheste verfügbare "
1658
  "Wunschtag in der Kasse um einen Tag erhöht (Tag der Bestellung + 3 Werktage)."
1659
 
1660
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:989
1661
  msgctxt "dhl"
1662
  msgid "Preparation days"
1663
  msgstr "Bearbeitungstage"
1664
 
1665
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:992
1666
  msgctxt "dhl"
1667
  msgid ""
1668
  "If you need more time to prepare your shipments you might want to add a "
@@ -1673,71 +1596,71 @@ msgstr ""
1673
  "hier eine statische Anzahl an Tagen hinterlegen, die zum frühesten "
1674
  "auswählbaren Wunschtag hinzugefügt werden."
1675
 
1676
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:999
1677
  msgctxt "dhl"
1678
  msgid "Exclude days of transfer"
1679
  msgstr "Übergabetage ausschließen"
1680
 
1681
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1000
1682
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:31
1683
  msgctxt "dhl"
1684
  msgid "Monday"
1685
  msgstr "Montag"
1686
 
1687
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1001
1688
  msgctxt "dhl"
1689
  msgid "Exclude days from transferring shipments to DHL."
1690
  msgstr "Schließen Sie bestimmte Wochentage für die Übergabe an DHL aus."
1691
 
1692
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1010
1693
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:32
1694
  msgctxt "dhl"
1695
  msgid "Tuesday"
1696
  msgstr "Dienstag"
1697
 
1698
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1019
1699
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:33
1700
  msgctxt "dhl"
1701
  msgid "Wednesday"
1702
  msgstr "Mittwoch"
1703
 
1704
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1028
1705
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:34
1706
  msgctxt "dhl"
1707
  msgid "Thursday"
1708
  msgstr "Donnerstag"
1709
 
1710
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1037
1711
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:35
1712
  msgctxt "dhl"
1713
  msgid "Friday"
1714
  msgstr "Freitag"
1715
 
1716
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1046
1717
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:36
1718
  msgctxt "dhl"
1719
  msgid "Saturday"
1720
  msgstr "Samstag"
1721
 
1722
  # @ woocommerce-germanized
1723
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1055
1724
  msgctxt "dhl"
1725
  msgid "Exclude gateways"
1726
  msgstr "Zahlungsarten ausschließen"
1727
 
1728
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1057
1729
  msgctxt "dhl"
1730
  msgid "Select payment gateways to be excluded from showing preferred services."
1731
  msgstr ""
1732
  "Wählen Sie Zahlungsarten aus, für die die Wunschpaket-Services nicht zur "
1733
  "Verfügung stehen sollen."
1734
 
1735
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1082
1736
  msgctxt "dhl"
1737
  msgid "Let customers find a DHL location on a map."
1738
  msgstr "Lasse Kunden einen DHL Standort auf der Karte auswählen."
1739
 
1740
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1082
1741
  msgctxt "dhl"
1742
  msgid ""
1743
  "Enable this option to let your customers choose a pickup option from a map "
@@ -1748,12 +1671,12 @@ msgstr ""
1748
  "anhand einer Karten in der Kasse zu ermöglichen. Wenn diese Option "
1749
  "deaktiviert ist, wird stattdessen auf die DHL Website verwiesen."
1750
 
1751
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1089
1752
  msgctxt "dhl"
1753
  msgid "Google Maps Key"
1754
  msgstr "Google Maps Schlüssel"
1755
 
1756
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1093
1757
  #, php-format
1758
  msgctxt "dhl"
1759
  msgid ""
@@ -1763,62 +1686,47 @@ msgstr ""
1763
  "Um eine Karte integrieren zu können, benötigen Siee du einen gültigen API-"
1764
  "Schlüssel für Google Maps. Sie können %s."
1765
 
1766
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1093
1767
  msgctxt "dhl"
1768
  msgid "retrieve a new one"
1769
  msgstr "hier einen neuen erstellen"
1770
 
1771
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1098
1772
  msgctxt "dhl"
1773
  msgid "Limit results"
1774
  msgstr "Suchergebnisse begrenzen"
1775
 
1776
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1102
1777
  msgctxt "dhl"
1778
  msgid "Limit the number of DHL locations shown on the map"
1779
  msgstr "Begrenzt die Anzahl der angezeigten DHL Standorte auf der Karte"
1780
 
1781
  # @ woocommerce-germanized
1782
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1131
1783
  msgctxt "dhl"
1784
  msgid "General"
1785
  msgstr "Allgemein"
1786
 
1787
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1133
1788
  msgctxt "dhl"
1789
  msgid "Preferred Services"
1790
  msgstr "Wunschpaket"
1791
 
1792
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1134
1793
  msgctxt "dhl"
1794
  msgid "Parcel Pickup"
1795
  msgstr "Standorte"
1796
 
1797
- #: woocommerce-germanized-dhl/src/Ajax.php:68
1798
  msgctxt "dhl"
1799
  msgid "Label successfully sent to customer."
1800
  msgstr "Label erfolgreich an den Kunden zugestellt."
1801
 
1802
- #: woocommerce-germanized-dhl/src/Ajax.php:75
1803
  msgctxt "dhl"
1804
  msgid "There was an error while sending the label."
1805
  msgstr "Beim Versendes des Labels ist ein Fehler aufgetreten."
1806
 
1807
- #: woocommerce-germanized-dhl/src/Ajax.php:94
1808
- msgctxt "dhl"
1809
- msgid "There was an error creating the label."
1810
- msgstr "Beim Erstellen des Labels ist ein Fehler aufgetreten."
1811
-
1812
- #: woocommerce-germanized-dhl/src/Ajax.php:138
1813
- msgctxt "dhl"
1814
- msgid "There was an error deleting the label."
1815
- msgstr "Beim Löschen des Labels ist ein Fehler aufgetreten."
1816
-
1817
- #: woocommerce-germanized-dhl/src/Ajax.php:183
1818
- msgctxt "dhl"
1819
- msgid "There was an error processing the label."
1820
- msgstr "Bei der Verarbeitung des Labels ist ein Fehler aufgetreten."
1821
-
1822
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:37
1823
  msgctxt "dhl"
1824
  msgid "Sunday"
@@ -1899,38 +1807,38 @@ msgctxt "dhl"
1899
  msgid "Parcel API not available"
1900
  msgstr "Paket API ist nicht erreichbar"
1901
 
1902
- #: woocommerce-germanized-dhl/src/Api/Paket.php:245
1903
  msgctxt "dhl"
1904
  msgid "Mon"
1905
  msgstr "Mo"
1906
 
1907
- #: woocommerce-germanized-dhl/src/Api/Paket.php:246
1908
  msgctxt "dhl"
1909
  msgid "Tue"
1910
  msgstr "Di"
1911
 
1912
- #: woocommerce-germanized-dhl/src/Api/Paket.php:247
1913
  msgctxt "dhl"
1914
  msgid "Wed"
1915
  msgstr "Mi"
1916
 
1917
- #: woocommerce-germanized-dhl/src/Api/Paket.php:248
1918
  msgctxt "dhl"
1919
  msgid "Thu"
1920
  msgstr "Do"
1921
 
1922
- #: woocommerce-germanized-dhl/src/Api/Paket.php:249
1923
  msgctxt "dhl"
1924
  msgid "Fri"
1925
  msgstr "Fr"
1926
 
1927
  # @ woocommerce-germanized
1928
- #: woocommerce-germanized-dhl/src/Api/Paket.php:250
1929
  msgctxt "dhl"
1930
  msgid "Sat"
1931
  msgstr "Sa"
1932
 
1933
- #: woocommerce-germanized-dhl/src/Api/Paket.php:251
1934
  msgctxt "dhl"
1935
  msgid "Sun"
1936
  msgstr "So"
@@ -2007,31 +1915,31 @@ msgid "%s-%s"
2007
  msgstr "%s-%s"
2008
 
2009
  # @ woocommerce-germanized
2010
- #: woocommerce-germanized-dhl/src/Package.php:644
2011
  msgctxt "dhl"
2012
  msgid "Germany"
2013
  msgstr "Deutschland"
2014
 
2015
  # @ woocommerce-germanized
2016
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:79
2017
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:803
2018
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:828
2019
  msgctxt "dhl"
2020
  msgid "Address Type"
2021
  msgstr "Adresstyp"
2022
 
2023
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:82
2024
  msgctxt "dhl"
2025
  msgid "Select whether delivery to DHL locations should be enabled."
2026
  msgstr ""
2027
  "Wählen Sie aus, ob die Lieferung an DHL Standorte aktiviert werden soll."
2028
 
2029
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:87
2030
  msgctxt "dhl"
2031
  msgid "Postnumber"
2032
  msgstr "Postnummer"
2033
 
2034
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:89
2035
  msgctxt "dhl"
2036
  msgid ""
2037
  "In case delivery to packstation is selected please fill in the corresponding "
@@ -2040,31 +1948,31 @@ msgstr ""
2040
  "Insofern die Lieferung an eine Packstation erfolgt, bitte die Postnummer "
2041
  "eintragen."
2042
 
2043
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:175
2044
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:533
2045
  msgctxt "dhl"
2046
  msgid "Invalid address type."
2047
  msgstr "Ungültiger Adresstyp."
2048
 
2049
  # @ woocommerce-germanized
2050
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:596
2051
  msgctxt "dhl"
2052
  msgid "Sorry, but delivery to packstation is not available."
2053
  msgstr ""
2054
  "Entschuldigung, die Lieferung an eine Packstation steht nicht zur Verfügung."
2055
 
2056
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:601
2057
  msgctxt "dhl"
2058
  msgid "Sorry, but delivery to parcel shops is not available."
2059
  msgstr ""
2060
  "Entschuldigung, die Lieferung an einen Paketshop steht nicht zur Verfügung."
2061
 
2062
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:605
2063
  msgctxt "dhl"
2064
  msgid "Sorry, but delivery to post offices is not available."
2065
  msgstr "Entschuldigung, die Lieferung an Postfilialen ist nicht verfügbar."
2066
 
2067
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:612
2068
  #, php-format
2069
  msgctxt "dhl"
2070
  msgid "Please indicate shipment to %s by one of the following values: %s."
@@ -2072,7 +1980,7 @@ msgstr ""
2072
  "Bitte identifizieren Sie die Lieferung an %s durch die Eingabe einer der "
2073
  "folgenden Werte: %s."
2074
 
2075
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:620
2076
  msgctxt "dhl"
2077
  msgid ""
2078
  "Your DHL customer number (Post number) is needed to ship to a packstation."
@@ -2080,7 +1988,7 @@ msgstr ""
2080
  "Ihre DHL Kundennummer (Postnummer) wird für den Versand an eine Packstation "
2081
  "benötigt."
2082
 
2083
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:622
2084
  msgctxt "dhl"
2085
  msgid ""
2086
  "Your DHL customer number (Post number) is not valid. Please check your "
@@ -2089,64 +1997,64 @@ msgstr ""
2089
  "Ihre DHL Kundennummer (Postnummer) ist nicht gültig. Bitte überprüfen Sie "
2090
  "Ihre Eingabe."
2091
 
2092
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:667
2093
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:794
2094
  msgctxt "dhl"
2095
  msgid "Branch"
2096
  msgstr "Filiale"
2097
 
2098
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:668
2099
  msgctxt "dhl"
2100
  msgid "Postnumber "
2101
  msgstr "Postnummer "
2102
 
2103
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:769
2104
  #, php-format
2105
  msgctxt "dhl"
2106
  msgid "e.g. %s 456"
2107
  msgstr "z.B. %s 456"
2108
 
2109
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:794
2110
  msgctxt "dhl"
2111
  msgid "Branches"
2112
  msgstr "Filialen"
2113
 
2114
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:810
2115
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:838
2116
  msgctxt "dhl"
2117
  msgid "DHL customer number (Post number)"
2118
  msgstr "DHL Kundennummer (Postnummer)"
2119
 
2120
  # @ woocommerce-germanized
2121
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:820
2122
  msgctxt "dhl"
2123
  msgid "Regular Address"
2124
  msgstr "Normale Adresse"
2125
 
2126
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:842
2127
  msgctxt "dhl"
2128
  msgid "Not yet a DHL customer?"
2129
  msgstr "Noch kein DHL Kunde?"
2130
 
2131
  # @ woocommerce-germanized
2132
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:842
2133
  msgctxt "dhl"
2134
  msgid "Register now"
2135
  msgstr "Jetzt registrieren"
2136
 
2137
  # @ woocommerce-germanized
2138
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:891
2139
  #, php-format
2140
  msgctxt "dhl"
2141
  msgid "Search %s"
2142
  msgstr "%s suchen"
2143
 
2144
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:987
2145
  msgctxt "dhl"
2146
  msgid "No DHL locations found"
2147
  msgstr "Keine DHL Standorte gefunden"
2148
 
2149
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:1002
2150
  #, php-format
2151
  msgctxt "dhl"
2152
  msgid ""
@@ -2157,12 +2065,12 @@ msgstr ""
2157
  "einen %s oder %s."
2158
 
2159
  # @ woocommerce-germanized
2160
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:1002
2161
  msgctxt "dhl"
2162
  msgid "DHL location"
2163
  msgstr "DHL Standort"
2164
 
2165
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:1002
2166
  msgctxt "dhl"
2167
  msgid "retry"
2168
  msgstr "Erneut versuchen"
@@ -2207,13 +2115,29 @@ msgctxt "dhl"
2207
  msgid "Please choose name and address of your preferred neighbor."
2208
  msgstr "Bitte wählen Sie einen Namen und die Adresse Ihres Wunschnachbars."
2209
 
2210
- #: woocommerce-germanized-dhl/src/ReturnLabel.php:157
2211
  #: woocommerce-germanized-dhl/src/SimpleLabel.php:86
2212
  #, php-format
2213
  msgctxt "dhl full name"
2214
  msgid "%1$s"
2215
  msgstr "%1$s"
2216
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2217
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder-result.php:31
2218
  msgctxt "dhl"
2219
  msgid "Opening Times"
@@ -2457,41 +2381,40 @@ msgid "LxWxH in decimal form."
2457
  msgstr "LxBxH in dezimaler Form."
2458
 
2459
  # @ woocommerce-germanized
2460
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:59
2461
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:703
2462
- #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:23
2463
- #: woocommerce-germanized-shipments/src/Admin/Table.php:643
2464
  msgctxt "shipments"
2465
  msgid "Status"
2466
  msgstr "Status"
2467
 
2468
  # @ woocommerce-germanized
2469
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:69
2470
  msgctxt "shipments"
2471
  msgid "Shipping method"
2472
  msgstr "Versandmethode"
2473
 
2474
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:80
2475
  msgctxt "shipments"
2476
  msgid "Shipping provider"
2477
  msgstr "Versanddienstleister"
2478
 
2479
- # @ woocommerce-germanized
2480
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:82
2481
  msgctxt "shipments"
2482
- msgid "None"
2483
- msgstr "Keiner"
2484
 
2485
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:96
2486
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:152
2487
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:209
2488
  msgctxt "shipments"
2489
  msgid "Item"
2490
  msgstr "Position"
2491
 
2492
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:99
2493
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:153
2494
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:210
2495
  #: woocommerce-germanized-shipments/templates/emails/email-shipment-details.php:55
2496
  #: woocommerce-germanized-shipments/templates/shipment/shipment-details.php:50
2497
  msgctxt "shipments"
@@ -2499,48 +2422,48 @@ msgid "Quantity"
2499
  msgstr "Anzahl"
2500
 
2501
  # @ woocommerce-germanized
2502
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:102
2503
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:705
2504
- #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:27
2505
- #: woocommerce-germanized-shipments/src/Admin/Table.php:647
2506
  msgctxt "shipments"
2507
  msgid "Actions"
2508
  msgstr "Aktionen"
2509
 
2510
  # @ woocommerce-germanized
2511
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:116
2512
  msgctxt "shipments"
2513
  msgid "Add item"
2514
  msgstr "Position hinzufügen"
2515
 
2516
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:120
2517
  msgctxt "shipments"
2518
  msgid "Sync items"
2519
  msgstr "Positionen synchronisieren"
2520
 
2521
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:121
2522
  msgctxt "shipments"
2523
  msgid "Automatically adjust items and quantities based on order item data."
2524
  msgstr "Bestimmt Positionen und Anzahlen automatisch anhand der Bestelldaten."
2525
 
2526
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:142
2527
  msgctxt "shipments"
2528
  msgid "Add Item"
2529
  msgstr "Position hinzufügen"
2530
 
2531
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:171
2532
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:219
2533
  msgctxt "shipments"
2534
  msgid "Add"
2535
  msgstr "Hinzufügen"
2536
 
2537
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:199
2538
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:259
2539
  msgctxt "shipments"
2540
  msgid "Add Return"
2541
  msgstr "Retoure hinzufügen"
2542
 
2543
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:263
2544
  #, php-format
2545
  msgctxt "shipments"
2546
  msgid "Delete %s"
@@ -2554,7 +2477,9 @@ msgid_plural "%d of %d items"
2554
  msgstr[0] "%d von %d Position"
2555
  msgstr[1] "%d von %d Positionen"
2556
 
2557
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-item.php:21
 
 
2558
  msgctxt "shipments"
2559
  msgid "Delete"
2560
  msgstr "Löschen"
@@ -2567,11 +2492,11 @@ msgstr "%s #%s"
2567
 
2568
  # @ woocommerce-germanized
2569
  #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php:19
2570
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:63
2571
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:42
2572
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:111
2573
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:181
2574
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:248
2575
  #: woocommerce-germanized-shipments/templates/myaccount/order-shipments.php:35
2576
  msgctxt "shipments"
2577
  msgid "Shipments"
@@ -2587,6 +2512,85 @@ msgctxt "shipments"
2587
  msgid "Save"
2588
  msgstr "Speichern"
2589
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2590
  # @ woocommerce-germanized
2591
  #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:49
2592
  msgctxt "shipments"
@@ -2601,212 +2605,219 @@ msgstr ""
2601
  "Sendungsbenachrichtigungen werden an den Kunden verschickt, sobald eine "
2602
  "Sendung als verschickt markiert wurde."
2603
 
2604
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:81
2605
  msgctxt "shipments"
2606
  msgid "Your {site_title} order #{order_number} has been partially shipped"
2607
  msgstr ""
2608
  "Ihre Bestellung #{order_number} bei {site_title} wurde teilweise verschickt"
2609
 
2610
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:83
2611
  msgctxt "shipments"
2612
  msgid "Your {site_title} order #{order_number} has been shipped"
2613
  msgstr "Ihre Bestellung #{order_number} bei {site_title} wurde verschickt"
2614
 
2615
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:96
2616
  msgctxt "shipments"
2617
  msgid "Partial shipment to your order: {order_number}"
2618
  msgstr "Teilsendung zu Ihrer Bestellung {order_number}"
2619
 
2620
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:98
2621
  msgctxt "shipments"
2622
  msgid "Shipment to your order: {order_number}"
2623
  msgstr "Sendung zu Ihrer Bestellung {order_number}"
2624
 
2625
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:262
 
 
 
 
2626
  #, php-format
 
2627
  msgid "Available placeholders: %s"
2628
  msgstr "Verfügbare Platzhalter: %s"
2629
 
2630
  # @ woocommerce-germanized
2631
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:266
2632
  msgctxt "shipments"
2633
  msgid "Enable/Disable"
2634
  msgstr "Aktivieren/Deaktivieren"
2635
 
2636
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:268
2637
  msgctxt "shipments"
2638
  msgid "Enable this email notification"
2639
  msgstr "Aktiviere diese E-Mail-Benachrichtigung"
2640
 
2641
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:272
2642
  msgctxt "shipments"
2643
  msgid "Full shipment subject"
2644
  msgstr "Vollständige Sendung Betreff"
2645
 
2646
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:276
2647
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:285
2648
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:294
2649
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:303
2650
- #, php-format
2651
- msgctxt "shipments"
2652
- msgid "Available placeholders: %s"
2653
- msgstr "Verfügbare Platzhalter: %s"
2654
-
2655
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:281
2656
  msgctxt "shipments"
2657
  msgid "Partial shipment subject"
2658
  msgstr "Teilsendung Betreff"
2659
 
2660
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:290
2661
  msgctxt "shipments"
2662
  msgid "Full shipment email heading"
2663
  msgstr "Vollständige Sendung Kopfzeile"
2664
 
2665
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:299
2666
  msgctxt "shipments"
2667
  msgid "Partial shipment email heading"
2668
  msgstr "Teilsendung Kopfzeile"
2669
 
2670
  # @ woocommerce-germanized
2671
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:308
2672
  msgctxt "shipments"
2673
  msgid "Additional content"
2674
  msgstr "Zusätzlicher Inhalt"
2675
 
2676
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:309
2677
  msgctxt "shipments"
2678
  msgid "Text to appear below the main email content."
2679
  msgstr "Text der unterhalb des Inhalts der E-Mail angezeigt werden soll."
2680
 
2681
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:311
2682
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:639
2683
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:667
2684
  #: woocommerce-germanized-shipments/templates/shipment/shipment-details-address.php:28
2685
  msgctxt "shipments"
2686
  msgid "N/A"
2687
  msgstr "n.a."
2688
 
2689
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:317
2690
  msgctxt "shipments"
2691
  msgid "Email type"
2692
  msgstr "E-Mail-Typ"
2693
 
2694
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:319
2695
  msgctxt "shipments"
2696
  msgid "Choose which format of email to send."
2697
  msgstr "Format für E-Mail-Versand auswählen."
2698
 
2699
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:62
2700
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:701
2701
- #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:26
2702
  msgctxt "shipments"
2703
  msgid "Shipment"
2704
  msgstr "Sendung"
2705
 
2706
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:69
2707
  msgctxt "shipments"
2708
  msgid "Return"
2709
  msgstr "Retoure"
2710
 
2711
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:70
2712
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:112
2713
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:215
2714
  msgctxt "shipments"
2715
  msgid "Returns"
2716
  msgstr "Retouren"
2717
 
2718
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:96
2719
  msgctxt "shipments"
2720
  msgid "Not shipped"
2721
  msgstr "Nicht versandt"
2722
 
2723
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:97
2724
  msgctxt "shipments"
2725
  msgid "Partially shipped"
2726
  msgstr "Teilweise versandt"
2727
 
2728
  # @ woocommerce-germanized
2729
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:98
2730
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:173
2731
- #: woocommerce-germanized-shipments/src/Admin/Table.php:788
2732
  msgctxt "shipments"
2733
  msgid "Shipped"
2734
  msgstr "Versandt"
2735
 
2736
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:171
2737
  msgctxt "shipments"
2738
  msgid "Draft"
2739
  msgstr "Entwurf"
2740
 
2741
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:172
2742
- #: woocommerce-germanized-shipments/src/Admin/Table.php:780
2743
  msgctxt "shipments"
2744
  msgid "Processing"
2745
  msgstr "In Bearbeitung"
2746
 
2747
  # @ woocommerce-germanized
2748
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:174
2749
- #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:41
2750
  msgctxt "shipments"
2751
  msgid "Delivered"
2752
  msgstr "Geliefert"
2753
 
2754
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:175
2755
  msgctxt "shipments"
2756
  msgid "Returned"
2757
  msgstr "Retourniert"
2758
 
2759
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:218
2760
  #: woocommerce-germanized-shipments/includes/wc-gzd-shipments-template-functions.php:101
2761
  #: woocommerce-germanized-shipments/src/DataStores/Shipment.php:343
2762
  msgctxt "shipments"
2763
  msgid "Invalid shipment."
2764
  msgstr "Ungültige Sendung."
2765
 
2766
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:222
2767
  msgctxt "shipments"
2768
  msgid "This shipment is already fully returned."
2769
  msgstr "Diese Sendung ist bereits vollständig retourniert."
2770
 
2771
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:233
2772
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:276
2773
  msgctxt "shipments"
2774
  msgid "Error while creating the shipment instance"
2775
  msgstr "Fehler beim Erstellen der Sendungsinstanz"
2776
 
2777
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:261
2778
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:265
2779
- #: woocommerce-germanized-shipments/src/SimpleShipment.php:150
2780
- #: woocommerce-germanized-shipments/src/SimpleShipment.php:226
2781
  msgctxt "shipments"
2782
  msgid "Invalid shipment order"
2783
  msgstr "Ungültige Bestellung zur Sendung"
2784
 
2785
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:295
2786
  msgctxt "shipments"
2787
  msgid "Invalid order item"
2788
  msgstr "Ungültige Bestellposition"
2789
 
2790
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:316
2791
  msgctxt "shipments"
2792
  msgid "Invalid shipment item"
2793
  msgstr "Ungültige Sendungsposition"
2794
 
2795
  # @ woocommerce-germanized
2796
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:702
2797
- #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:22
2798
- #: woocommerce-germanized-shipments/src/Admin/Table.php:642
 
 
 
 
 
 
 
 
 
 
 
2799
  msgctxt "shipments"
2800
  msgid "Date"
2801
  msgstr "Datum"
2802
 
2803
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:704
2804
  #: woocommerce-germanized-shipments/templates/shipment/shipment-details-tracking.php:23
2805
  msgctxt "shipments"
2806
  msgid "Tracking"
2807
  msgstr "Sendungsverfolgung"
2808
 
2809
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:729
2810
  msgctxt "shipments"
2811
  msgid "View"
2812
  msgstr "Anzeigen"
@@ -2818,59 +2829,106 @@ msgid "My account"
2818
  msgstr "Mein Konto"
2819
 
2820
  # @ woocommerce-germanized
2821
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:96
2822
  msgctxt "shipments"
2823
  msgid "Create shipments"
2824
  msgstr "Sendungen erstellen"
2825
 
2826
  # @ woocommerce-germanized
2827
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:193
2828
  msgctxt "shipments"
2829
  msgid "Search shipments"
2830
  msgstr "Sendungen suchen"
2831
 
2832
  # @ woocommerce-germanized
2833
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:227
2834
  msgctxt "shipments"
2835
  msgid "Search returns"
2836
  msgstr "Retouren suchen"
2837
 
2838
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:293
2839
  msgctxt "shipments"
2840
  msgid "Do you really want to delete the shipment?"
2841
  msgstr "Möchten Sie die Sendung wirklich löschen?"
2842
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2843
  #: woocommerce-germanized-shipments/src/Admin/BulkActionHandler.php:80
2844
  msgctxt "shipments"
2845
  msgid "Successfully processed shipments."
2846
  msgstr "Sendungen erfolgreich verarbeitet."
2847
 
2848
  # @ woocommerce-germanized
2849
- # @ woocommerce
2850
- #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:21
2851
- #: woocommerce-germanized-shipments/src/Admin/Table.php:641
2852
  msgctxt "shipments"
2853
- msgid "Title"
2854
- msgstr "Titel"
2855
 
2856
- #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:24
2857
- #: woocommerce-germanized-shipments/src/Admin/Table.php:644
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2858
  msgctxt "shipments"
2859
  msgid "Items"
2860
  msgstr "Positionen"
2861
 
2862
- #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:25
2863
  msgctxt "shipments"
2864
  msgid "Sender"
2865
  msgstr "Absender"
2866
 
 
 
 
 
 
2867
  # @ woocommerce-germanized
2868
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:34
2869
  msgctxt "shipments"
2870
  msgid "Manage shipments"
2871
  msgstr "Sendungen verwalten"
2872
 
2873
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:35
2874
  msgctxt "shipments"
2875
  msgid ""
2876
  "To view all your existing shipments in a list you might follow this link or "
@@ -2880,12 +2938,12 @@ msgstr ""
2880
  "anzuzeigen, folgen Sie bitte diesem Link oder klicken Sie im Untermenü von "
2881
  "WooCommerce auf den Sendungen-Link."
2882
 
2883
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:48
2884
  msgctxt "shipments"
2885
  msgid "E-Mail Notification"
2886
  msgstr "E-Mail-Benachrichtigung"
2887
 
2888
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:49
2889
  msgctxt "shipments"
2890
  msgid ""
2891
  "By enabling this option customers receive an email notification as soon as a "
@@ -2895,13 +2953,13 @@ msgstr ""
2895
  "Benachrichtigung, sobald die Sendung als versandt markiert wurde."
2896
 
2897
  # @ woocommerce-germanized
2898
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:62
2899
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:92
2900
  msgctxt "shipments"
2901
  msgid "Automation"
2902
  msgstr "Automatisierung"
2903
 
2904
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:63
2905
  msgctxt "shipments"
2906
  msgid ""
2907
  "Decide whether you want to automatically create shipments to orders reaching "
@@ -2912,17 +2970,17 @@ msgstr ""
2912
  "bestimmten Status erreichen. Sie können die Sendungen anschließend einfach "
2913
  "manuell anpassen, indem Sie die dazugehörige Bestellung bearbeiten."
2914
 
2915
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:83
2916
  msgctxt "shipments"
2917
  msgid "Notify"
2918
  msgstr "Benachrichtigung"
2919
 
2920
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:84
2921
  msgctxt "shipments"
2922
  msgid "Notify customers about new shipments."
2923
  msgstr "Benachrichtige Kunden über neue Sendungen."
2924
 
2925
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:84
2926
  #, php-format
2927
  msgctxt "shipments"
2928
  msgid ""
@@ -2932,29 +2990,44 @@ msgstr ""
2932
  "Benachrichtige Kunden via E-Mail sobald eine Sendung als verschickt markiert "
2933
  "wurde. %s die E-Mail-Benachrichtigung."
2934
 
2935
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:84
2936
  msgctxt "shipments notification"
2937
  msgid "Manage"
2938
  msgstr "Verwalten Sie"
2939
 
 
2940
  #: woocommerce-germanized-shipments/src/Admin/Settings.php:95
2941
  msgctxt "shipments"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2942
  msgid "Enable"
2943
  msgstr "Aktivieren"
2944
 
2945
  # @ woocommerce-germanized
2946
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:96
2947
  msgctxt "shipments"
2948
  msgid "Automatically create shipments for orders."
2949
  msgstr "Automatisch Sendungen zu Bestellungen erstellen."
2950
 
2951
  # @ woocommerce-germanized
2952
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:103
2953
  msgctxt "shipments"
2954
  msgid "Order statuses"
2955
  msgstr "Bestellstatus"
2956
 
2957
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:104
2958
  msgctxt "shipments"
2959
  msgid ""
2960
  "Create shipments as soon as the order reaches one of the following "
@@ -2964,17 +3037,17 @@ msgstr ""
2964
  "erreicht."
2965
 
2966
  # @ woocommerce-germanized
2967
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:112
2968
  msgctxt "shipments"
2969
  msgid "On new order creation"
2970
  msgstr "Beim Erstellen einer Bestellung"
2971
 
2972
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:117
2973
  msgctxt "shipments"
2974
  msgid "Default status"
2975
  msgstr "Standardstatus"
2976
 
2977
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:118
2978
  msgctxt "shipments"
2979
  msgid "Choose a default status for the automatically created shipment."
2980
  msgstr ""
@@ -2982,18 +3055,18 @@ msgstr ""
2982
  "standardmäßig erhält."
2983
 
2984
  # @ woocommerce-germanized
2985
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:130
2986
  msgctxt "shipments"
2987
  msgid "Update status"
2988
  msgstr "Status"
2989
 
2990
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:131
2991
  msgctxt "shipments"
2992
  msgid "Mark order as completed after order is fully shipped."
2993
  msgstr ""
2994
  "Bestellung als fertiggestellt markieren sobald sie komplett versandt wurde."
2995
 
2996
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:131
2997
  msgctxt "shipments"
2998
  msgid ""
2999
  "This option will automatically update the order status to completed as soon "
@@ -3003,74 +3076,117 @@ msgstr ""
3003
  "fertiggestellt gesetzt wird, sobald alle notwendigen Sendungen einer "
3004
  "Bestellung versandt wurden."
3005
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3006
  # @ woocommerce-germanized
3007
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:139
3008
  msgctxt "shipments"
3009
  msgid "Customer Account"
3010
  msgstr "Kundenkonto"
3011
 
3012
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:142
3013
  msgctxt "shipments"
3014
  msgid "List"
3015
  msgstr "Liste"
3016
 
3017
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:143
3018
  msgctxt "shipments"
3019
  msgid "List shipments on customer account order screen."
3020
  msgstr "Liste Sendungen im Kundenkonto in den Bestelldetails auf."
3021
 
3022
  # @ woocommerce-germanized
3023
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:151
3024
  msgctxt "shipments"
3025
  msgid "Return Address"
3026
  msgstr "Retouren Adresse"
3027
 
3028
  # @ woocommerce-germanized
3029
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:154
3030
  msgctxt "shipments"
3031
  msgid "First Name"
3032
  msgstr "Vorname"
3033
 
3034
  # @ woocommerce-germanized
3035
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:161
3036
  msgctxt "shipments"
3037
  msgid "Last Name"
3038
  msgstr "Nachname"
3039
 
3040
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:168
3041
  msgctxt "shipments"
3042
  msgid "Company"
3043
  msgstr "Firma"
3044
 
3045
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:175
3046
  msgctxt "shipments"
3047
  msgid "Address 1"
3048
  msgstr "Adresszeile 1"
3049
 
3050
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:182
3051
  msgctxt "shipments"
3052
  msgid "Address 2"
3053
  msgstr "Adresszeile 2"
3054
 
3055
  # @ woocommerce-germanized
3056
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:189
3057
  msgctxt "shipments"
3058
  msgid "City"
3059
  msgstr "Stadt"
3060
 
3061
  # @ woocommerce-germanized
3062
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:196
3063
  msgctxt "shipments"
3064
  msgid "Country / State"
3065
  msgstr "Land / Bundesland"
3066
 
3067
  # @ woocommerce-germanized
3068
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:204
3069
  msgctxt "shipments"
3070
  msgid "Postcode"
3071
  msgstr "Postleitzahl"
3072
 
3073
- #: woocommerce-germanized-shipments/src/Admin/Table.php:161
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3074
  #, php-format
3075
  msgctxt "shipments"
3076
  msgid "%d shipment deleted."
@@ -3078,7 +3194,7 @@ msgid_plural "%d shipments deleted."
3078
  msgstr[0] "%d Sendung gelöscht."
3079
  msgstr[1] "%d Sendungen gelöscht."
3080
 
3081
- #: woocommerce-germanized-shipments/src/Admin/Table.php:171
3082
  #, php-format
3083
  msgctxt "shipments"
3084
  msgid "%d shipment status changed."
@@ -3086,12 +3202,12 @@ msgid_plural "%d shipment statuses changed."
3086
  msgstr[0] "%d Sendungsstatus geändert."
3087
  msgstr[1] "%d Sendungsstatus geändert."
3088
 
3089
- #: woocommerce-germanized-shipments/src/Admin/Table.php:328
3090
  msgctxt "shipments"
3091
  msgid "No shipments found"
3092
  msgstr "Keine Sendungen gefunden"
3093
 
3094
- #: woocommerce-germanized-shipments/src/Admin/Table.php:368
3095
  #, php-format
3096
  msgctxt "shipments"
3097
  msgid "All <span class=\"count\">(%s)</span>"
@@ -3099,7 +3215,7 @@ msgid_plural "All <span class=\"count\">(%s)</span>"
3099
  msgstr[0] "Alle <span class=\"count\">(%s)</span>"
3100
  msgstr[1] "Alle <span class=\"count\">(%s)</span>"
3101
 
3102
- #: woocommerce-germanized-shipments/src/Admin/Table.php:393
3103
  #, php-format
3104
  msgctxt "shipments"
3105
  msgid " <span class=\"count\">(%s)</span>"
@@ -3107,135 +3223,196 @@ msgid_plural " <span class=\"count\">(%s)</span>"
3107
  msgstr[0] " <span class=\"count\">(%s)</span>"
3108
  msgstr[1] " <span class=\"count\">(%s)</span>"
3109
 
3110
- #: woocommerce-germanized-shipments/src/Admin/Table.php:483
3111
  msgctxt "shipments"
3112
  msgid "Filter by date"
3113
  msgstr "Nach Datum filtern"
3114
 
3115
  # @ woocommerce-germanized
3116
- #: woocommerce-germanized-shipments/src/Admin/Table.php:485
3117
  msgctxt "shipments"
3118
  msgid "All dates"
3119
  msgstr "Alle Daten"
3120
 
3121
- #: woocommerce-germanized-shipments/src/Admin/Table.php:500
3122
  #, php-format
3123
  msgid "%1$s %2$d"
3124
  msgstr "%1$s %2$d"
3125
 
3126
- #: woocommerce-germanized-shipments/src/Admin/Table.php:521
3127
  msgctxt "shipments"
3128
  msgid "Processing bulk actions..."
3129
  msgstr "Bearbeite Mehrfachaktionen.."
3130
 
3131
- #: woocommerce-germanized-shipments/src/Admin/Table.php:603
3132
  msgctxt "shipments"
3133
  msgid "Filter"
3134
  msgstr "Filtern"
3135
 
3136
  # @ woocommerce-germanized
3137
- #: woocommerce-germanized-shipments/src/Admin/Table.php:619
3138
- #: woocommerce-germanized-shipments/src/Ajax.php:456
3139
  #, php-format
3140
  msgctxt "shipments"
3141
  msgid "Order #%s"
3142
  msgstr "Bestellung #%s"
3143
 
3144
  # @ woocommerce
3145
- #: woocommerce-germanized-shipments/src/Admin/Table.php:624
3146
  msgctxt "shipments"
3147
  msgid "Filter by order"
3148
  msgstr "Nach Bestellung filtern"
3149
 
3150
- #: woocommerce-germanized-shipments/src/Admin/Table.php:645
3151
  msgctxt "shipments"
3152
  msgid "Address"
3153
  msgstr "Adresse"
3154
 
3155
  # @ woocommerce-germanized
3156
- #: woocommerce-germanized-shipments/src/Admin/Table.php:646
3157
  msgctxt "shipments"
3158
  msgid "Order"
3159
  msgstr "Bestellung"
3160
 
3161
- #: woocommerce-germanized-shipments/src/Admin/Table.php:737
3162
  #: woocommerce-germanized-shipments/templates/myaccount/order-shipments.php:73
3163
  #, php-format
3164
  msgctxt "shipment title"
3165
  msgid "%s #%s"
3166
  msgstr "%s #%s"
3167
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3168
  # @ woocommerce-germanized
3169
- #: woocommerce-germanized-shipments/src/Admin/Table.php:835
3170
  #, php-format
3171
  msgctxt "shipments"
3172
  msgid "Select %s"
3173
  msgstr "Wähle %s"
3174
 
3175
- #: woocommerce-germanized-shipments/src/Admin/Table.php:862
3176
  msgctxt "shipments"
3177
  msgid "SKU:"
3178
  msgstr "Art.-Nr.:"
3179
 
3180
- #: woocommerce-germanized-shipments/src/Admin/Table.php:937
3181
  #, php-format
3182
  msgctxt "%s = human-readable time difference"
3183
  msgid "%s ago"
3184
  msgstr "vor %s"
3185
 
3186
- #: woocommerce-germanized-shipments/src/Admin/Table.php:949
3187
  msgctxt "shipments"
3188
  msgid "M j, Y"
3189
  msgstr "d.m.Y"
3190
 
3191
- #: woocommerce-germanized-shipments/src/Admin/Table.php:1006
3192
  msgctxt "shipments"
3193
  msgid "Delete Permanently"
3194
  msgstr "Unwiderruflich löschen"
3195
 
3196
- #: woocommerce-germanized-shipments/src/Admin/Table.php:1009
3197
  msgctxt "shipments"
3198
  msgid "Change status to processing"
3199
  msgstr "Status zu in Bearbeitung ändern"
3200
 
3201
- #: woocommerce-germanized-shipments/src/Admin/Table.php:1010
3202
  msgctxt "shipments"
3203
  msgid "Change status to shipped"
3204
  msgstr "Status zu versandt ändern"
3205
 
3206
- #: woocommerce-germanized-shipments/src/Admin/Table.php:1011
3207
  msgctxt "shipments"
3208
  msgid "Change status to delivered"
3209
  msgstr "Status zu geliefert ändern"
3210
 
3211
- #: woocommerce-germanized-shipments/src/Ajax.php:64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3212
  msgctxt "shipments"
3213
  msgid "There was an error while bulk processing shipments."
3214
  msgstr ""
3215
  "Bei der Verarbeitung der Mehrfachaktionen von Sendungen trat ein Fehler auf."
3216
 
3217
- #: woocommerce-germanized-shipments/src/Ajax.php:176
3218
- #: woocommerce-germanized-shipments/src/Ajax.php:274
3219
- #: woocommerce-germanized-shipments/src/Ajax.php:330
3220
- #: woocommerce-germanized-shipments/src/Ajax.php:367
3221
- #: woocommerce-germanized-shipments/src/Ajax.php:488
3222
- #: woocommerce-germanized-shipments/src/Ajax.php:554
3223
- #: woocommerce-germanized-shipments/src/Ajax.php:597
3224
- #: woocommerce-germanized-shipments/src/Ajax.php:648
3225
- #: woocommerce-germanized-shipments/src/Ajax.php:716
3226
- #: woocommerce-germanized-shipments/src/Ajax.php:761
3227
- #: woocommerce-germanized-shipments/src/Ajax.php:816
3228
- #: woocommerce-germanized-shipments/src/Ajax.php:860
3229
  msgctxt "shipments"
3230
  msgid "There was an error processing the shipment"
3231
  msgstr "Fehler bei der Verarbeitung der Sendung"
3232
 
3233
- #: woocommerce-germanized-shipments/src/Ajax.php:217
3234
  msgctxt "shipments"
3235
  msgid "There was an error while adding the shipment"
3236
  msgstr "Beim Hinzufügen der Sendung ist ein Fehler aufgetreten"
3237
 
3238
- #: woocommerce-germanized-shipments/src/Ajax.php:238
3239
  msgctxt "shipments"
3240
  msgid "This order contains enough shipments already."
3241
  msgstr "Diese Bestellung beinhaltet bereits genug Sendungen."
@@ -3422,7 +3599,7 @@ msgid "Quantity."
3422
  msgstr "Anzahl."
3423
 
3424
  # @ woocommerce-germanized
3425
- #: woocommerce-germanized-shipments/src/Automation.php:59
3426
  msgctxt "shipments"
3427
  msgid "Order is fully shipped."
3428
  msgstr "Bestellung ist vollständig versandt."
@@ -3432,8 +3609,13 @@ msgctxt "shipments"
3432
  msgid "Invalid shipment item."
3433
  msgstr "Ungültige Sendungsposition."
3434
 
 
 
 
 
 
3435
  #: woocommerce-germanized-shipments/src/ReturnShipment.php:366
3436
- #: woocommerce-germanized-shipments/src/Shipment.php:756
3437
  #, php-format
3438
  msgctxt "full name"
3439
  msgid "%1$s %2$s"
@@ -3445,20 +3627,87 @@ msgctxt "shipments"
3445
  msgid "Invalid shipment"
3446
  msgstr "Ungültige Sendung"
3447
 
3448
- #: woocommerce-germanized-shipments/src/Shipment.php:591
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3449
  #, php-format
3450
  msgctxt "shipments"
3451
  msgid ""
3452
- "Your shipment is being processed by %s. If you want to track the shipment, "
3453
- "please use the following tracking number: %s. Depending on the chosen "
3454
- "shipping method it is possible that the tracking data does not reflect the "
3455
- "current status when receiving this email."
3456
  msgstr ""
3457
- "Ihre Sendung wurde mit %s versandt. Wenn Sie diese Sendung verfolgen "
3458
- "möchten, benutzen Sie bitte diese Paketverfolgungsnummer: %s. Abhängig von "
3459
- "der gewählten Versandoption kann es sein, dass die Paketverfolgungsdaten zum "
3460
- "Zeitpunkt des Erhalts dieser E-Mail noch nicht den neuesten Stand "
3461
- "wiedergeben."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3462
 
3463
  #: woocommerce-germanized-shipments/templates/emails/customer-shipment.php:33
3464
  #: woocommerce-germanized-shipments/templates/emails/plain/customer-shipment.php:28
@@ -3631,7 +3880,7 @@ msgstr "l"
3631
  # @ woocommerce-germanized
3632
  #: woocommerce-germanized/includes/abstracts/abstract-wc-gzd-product.php:549
3633
  #: woocommerce-germanized/includes/abstracts/abstract-wc-gzd-product.php:559
3634
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:322
3635
  #: woocommerce-germanized/includes/wc-gzd-template-functions.php:546
3636
  msgid "incl. VAT"
3637
  msgstr "inkl. MwSt."
@@ -3643,7 +3892,7 @@ msgstr "exkl. MwSt."
3643
 
3644
  # @ woocommerce-germanized
3645
  #: woocommerce-germanized/includes/abstracts/abstract-wc-gzd-product.php:551
3646
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:322
3647
  #, php-format
3648
  msgid "incl. %s%% VAT"
3649
  msgstr "inkl. %s %% MwSt."
@@ -3762,20 +4011,20 @@ msgstr ""
3762
 
3763
  # @ woocommerce-germanized
3764
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-legal-checkboxes.php:122
3765
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:377
3766
  msgid "Downloadable Product"
3767
  msgstr "Herunterladbares Produkt"
3768
 
3769
  # @ woocommerce-germanized
3770
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-legal-checkboxes.php:123
3771
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:378
3772
  msgid "Virtual Product"
3773
  msgstr "Virtuelles Produkt"
3774
 
3775
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-legal-checkboxes.php:124
3776
  #: woocommerce-germanized/includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:46
3777
  #: woocommerce-germanized/includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data.php:150
3778
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:379
3779
  #: woocommerce-germanized/includes/class-wc-gzd-legal-checkbox-manager.php:140
3780
  msgid "Service"
3781
  msgstr "Dienstleistung"
@@ -3872,8 +4121,8 @@ msgstr "Gleiche wie übergeordnet"
3872
 
3873
  # @ woocommerce-germanized
3874
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-product-categories.php:82
3875
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:368
3876
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:471
3877
  msgid "None"
3878
  msgstr "Keine"
3879
 
@@ -3903,12 +4152,6 @@ msgstr "Erste Schritte"
3903
  msgid "Start tutorial"
3904
  msgstr "Tutorial starten"
3905
 
3906
- #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-setup-wizard.php:91
3907
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-dhl.php:33
3908
- #: woocommerce-germanized/includes/admin/views/setup/dhl.php:10
3909
- msgid "DHL"
3910
- msgstr "DHL"
3911
-
3912
  # @ woocommerce-germanized
3913
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-setup-wizard.php:99
3914
  msgid "Import settings"
@@ -4029,7 +4272,7 @@ msgstr "Zurück zu WP Admin"
4029
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-status.php:45
4030
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:53
4031
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:136
4032
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:198
4033
  msgid "Terms & Conditions"
4034
  msgstr "AGB"
4035
 
@@ -4043,7 +4286,7 @@ msgstr "Widerrufsbelehrung"
4043
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-status.php:47
4044
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:84
4045
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:136
4046
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:200
4047
  msgid "Imprint"
4048
  msgstr "Impressum"
4049
 
@@ -4055,7 +4298,7 @@ msgstr "Datenschutzerklärung"
4055
  # @ woocommerce-germanized
4056
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-status.php:49
4057
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:104
4058
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:205
4059
  msgid "Payment Methods"
4060
  msgstr "Zahlungarten"
4061
 
@@ -4148,7 +4391,7 @@ msgstr "Bestellung bezahlt manuell versenden"
4148
 
4149
  # @ woocommerce-germanized
4150
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin.php:423
4151
- #: woocommerce-germanized/includes/admin/settings/abstract-wc-gzd-settings-tab.php:106
4152
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-germanized.php:23
4153
  #: woocommerce-germanized/includes/admin/settings/views/html-admin-settings-tabs.php:9
4154
  #: woocommerce-germanized/includes/admin/views/html-page-status-germanized.php:27
@@ -4212,7 +4455,8 @@ msgstr "Neuer Preis Hinweis"
4212
  # @ woocommerce-germanized
4213
  #: woocommerce-germanized/includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:90
4214
  #: woocommerce-germanized/includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data.php:197
4215
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:225
 
4216
  #: woocommerce-germanized/includes/compatibility/elementor/widgets/class-wc-gzd-elementor-widget-product-units.php:10
4217
  msgid "Product Units"
4218
  msgstr "Produkteinheiten"
@@ -4415,7 +4659,7 @@ msgstr ""
4415
  msgid "Upgrade now"
4416
  msgstr "Jetzt upgraden"
4417
 
4418
- #: woocommerce-germanized/includes/admin/settings/abstract-wc-gzd-settings-tab.php:142
4419
  msgid "Learn more"
4420
  msgstr "Mehr erfahren"
4421
 
@@ -4872,7 +5116,7 @@ msgstr "Allgemein"
4872
  # @ woocommerce-germanized
4873
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-emails.php:31
4874
  msgid "Visibility"
4875
- msgstr "Sichtbarkeit"
4876
 
4877
  # @ woocommerce-germanized
4878
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-emails.php:32
@@ -5284,7 +5528,7 @@ msgstr ""
5284
 
5285
  # @ woocommerce-germanized
5286
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:219
5287
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:323
5288
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-taxes.php:154
5289
  msgid "Notice Text"
5290
  msgstr "Hinweistext"
@@ -5296,7 +5540,7 @@ msgstr ""
5296
  "Passen Sie hier, falls notwending, den Kleinunternehmer Hinweistext an."
5297
 
5298
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:227
5299
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:263
5300
  msgid ""
5301
  "Value added tax is not collected, as small businesses according to §19 (1) "
5302
  "UStG."
@@ -5414,7 +5658,7 @@ msgstr ""
5414
  "Platzhalter für den höchsten Preis."
5415
 
5416
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:304
5417
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:674
5418
  msgid "{min_price} &ndash; {max_price}"
5419
  msgstr "{min_price} &ndash; {max_price}"
5420
 
@@ -5549,11 +5793,6 @@ msgstr "Erstellen Sie bequem und einfach (mehrere) Sendungen zu Bestellungen."
5549
  msgid "Shipments"
5550
  msgstr "Sendungen"
5551
 
5552
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shipments.php:44
5553
- msgctxt "shipments"
5554
- msgid "Manage"
5555
- msgstr "Verwalten"
5556
-
5557
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:20
5558
  msgid ""
5559
  "Adjust shopmark related settings. Choose which and where they shall be "
@@ -5580,15 +5819,21 @@ msgid "Price labels"
5580
  msgstr "Preishinweise"
5581
 
5582
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:44
5583
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:203
5584
  msgid "Widgets & Blocks"
5585
  msgstr "Widgets & Blöcke"
5586
 
5587
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:63
 
 
 
 
 
 
5588
  msgid "Shopmark Display"
5589
  msgstr "Preisauszeichnung"
5590
 
5591
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:64
5592
  msgid ""
5593
  "By adjusting the display settings you might determine where to show or hide "
5594
  "your shopmarks e.g. the tax notice on single product pages."
@@ -5598,12 +5843,12 @@ msgstr ""
5598
  "aktivieren oder deaktivieren."
5599
 
5600
  # @ woocommerce-germanized
5601
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:82
5602
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:282
5603
  msgid "Location"
5604
  msgstr "Ort"
5605
 
5606
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:83
5607
  msgid ""
5608
  "Adjust the location of the shopmark by selecting a location from the list. "
5609
  "Some Themes might apply the locations at different positions that's why the "
@@ -5614,12 +5859,12 @@ msgstr ""
5614
  "an unterschiedlichen Stellen aus, sodass das Ergebnis u.U. von Theme zu "
5615
  "Theme abweichen kann."
5616
 
5617
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:96
5618
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:297
5619
  msgid "Priority"
5620
  msgstr "Priorität"
5621
 
5622
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:97
5623
  msgid ""
5624
  "Many different information may be attached to the location selected. By "
5625
  "adjusting the priority you can choose whether the shopmark gets applied "
@@ -5631,12 +5876,12 @@ msgstr ""
5631
  "soll."
5632
 
5633
  # @ woocommerce-germanized
5634
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:115
5635
  #: woocommerce-germanized/includes/admin/views/html-page-status-germanized.php:50
5636
  msgid "Default Delivery Time"
5637
  msgstr "Standard-Lieferzeit"
5638
 
5639
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:116
5640
  msgid ""
5641
  "Choose a delivery time that serves as fallback in case no delivery time was "
5642
  "added to the product."
@@ -5644,13 +5889,13 @@ msgstr ""
5644
  "Wählen Sie eine Lieferzeit, die verwendet wird, wenn dem Produkt keine "
5645
  "Lieferzeit zugeordnet wurde."
5646
 
5647
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:129
5648
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:397
5649
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:444
5650
  msgid "Format"
5651
  msgstr "Format"
5652
 
5653
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:130
5654
  msgid ""
5655
  "You may want to adjust the delivery time output format. You might use "
5656
  "{delivery_time} to output the current product's delivery time."
@@ -5659,11 +5904,11 @@ msgstr ""
5659
  "Platzhalter zur Ausgabe der Lieferzeit des Produktes."
5660
 
5661
  # @ woocommerce-germanized
5662
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:148
5663
  msgid "Default Sale Label"
5664
  msgstr "Standard-Streichpreis"
5665
 
5666
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:149
5667
  msgid ""
5668
  "Price labels are added to sale products to inform the customers of the "
5669
  "different prices' meaning. You may add a fallback label in case a product "
@@ -5674,11 +5919,11 @@ msgstr ""
5674
  "Standard-Hinweise, um sicherzustellen, dass für Produkte ohne abweichenden "
5675
  "Hinweis im Zweifel der Standard-Hinweis verwendet wird."
5676
 
5677
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:188
5678
  msgid "Adjust Product Widgets & Blocks visibility options."
5679
  msgstr "Passen Sie die Anzeige in Widgets & Blöcken an."
5680
 
5681
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:192
5682
  #, php-format
5683
  msgid ""
5684
  "Adjust %s visibility options and choose which shopmarks to be displayed at "
@@ -5688,52 +5933,59 @@ msgstr ""
5688
  "aus welche Auszeichnungen an welchen Orten angezeigt werden sollen."
5689
 
5690
  # @ woocommerce-germanized
5691
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:204
5692
  msgid "Shipping Costs notice"
5693
  msgstr "Versandkosten-Hinweis"
5694
 
5695
  # @ woocommerce-germanized
5696
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:211
5697
  msgid "Tax Info"
5698
  msgstr "MwSt. Hinweis"
5699
 
5700
  # @ woocommerce-germanized
5701
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:218
 
5702
  msgid "Base Price"
5703
  msgstr "Grundpreis"
5704
 
5705
  # @ woocommerce-germanized
5706
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:232
 
5707
  msgid "Delivery Time Notice"
5708
  msgstr "Lieferzeiten-Hinweis"
5709
 
5710
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:255
 
 
 
 
 
5711
  #, php-format
5712
  msgid "Show %s shopmark"
5713
  msgstr "Preisauszeichnung „%s“ anzeigen"
5714
 
5715
  # @ woocommerce-germanized
5716
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:263
5717
  msgid "Tax"
5718
  msgstr "Steuer"
5719
 
5720
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:264
5721
  msgid "Show Tax shopmark"
5722
  msgstr "Preisauszeichnung „Steuer“ anzeigen"
5723
 
5724
  # @ woocommerce-germanized
5725
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:272
5726
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:317
5727
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:206
5728
  msgid "Shipping Costs"
5729
  msgstr "Versandkosten"
5730
 
5731
  # @ woocommerce-germanized
5732
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:273
5733
  msgid "Show Shipping Costs shopmark"
5734
  msgstr "Preisauszeichnung „Versandkosten“ anzeigen"
5735
 
5736
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:283
5737
  msgid ""
5738
  "Choose a location for the shopmark. Locations are mapped to specific "
5739
  "WooCommerce hooks and may differ from Theme to Theme."
@@ -5742,7 +5994,7 @@ msgstr ""
5742
  "WooCommerce an bestimmte Hooks gebunden und können sich von Theme zu Theme "
5743
  "unterscheiden."
5744
 
5745
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:298
5746
  #, php-format
5747
  msgid ""
5748
  "Choose a priority by which the shopmark should be attached to the location. "
@@ -5754,7 +6006,7 @@ msgstr ""
5754
  "Preisauszeichnung hinzugefügt. Standard ist %d."
5755
 
5756
  # @ woocommerce-germanized
5757
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:324
5758
  msgid ""
5759
  "This text will be used to inform the customer about shipping costs. Use "
5760
  "{link}{/link} to insert link to shipping costs page."
@@ -5764,17 +6016,17 @@ msgstr ""
5764
  "Link zur Versandkosten-Seite einzufügen."
5765
 
5766
  # @ woocommerce-germanized
5767
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:329
5768
  msgid "plus {link}Shipping Costs{/link}"
5769
  msgstr "zzgl. {link}Versandkosten{/link}"
5770
 
5771
  # @ woocommerce-germanized
5772
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:332
5773
  msgid "Free Shipping Text"
5774
  msgstr "Kostenloser Versand Text"
5775
 
5776
  # @ woocommerce-germanized
5777
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:333
5778
  msgid ""
5779
  "This text will be used to inform the customer about free shipping. Leave "
5780
  "empty to disable notice. Use {link}{/link} to insert link to shipping costs "
@@ -5785,33 +6037,33 @@ msgstr ""
5785
  "zur Versandkosten-Seite einzufügen."
5786
 
5787
  # @ woocommerce-germanized
5788
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:343
5789
  msgid "Footer"
5790
  msgstr "Footer"
5791
 
5792
  # @ woocommerce-germanized
5793
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:346
5794
  msgid "Notice"
5795
  msgstr "Hinweis"
5796
 
5797
  # @ woocommerce-germanized
5798
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:347
5799
  msgid "Attach a global VAT notice to your footer."
5800
  msgstr "Einen seitenübergreifenden MwSt.-Hinweis im Footer einfügen."
5801
 
5802
  # @ woocommerce-germanized
5803
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:354
5804
  msgid "Attach a global sale price notice to your footer."
5805
  msgstr ""
5806
  "Einen seitenübergreifenden Hinweis zu reduzierten Preisen im Footer einfügen."
5807
 
5808
  # @ woocommerce-germanized
5809
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:386
5810
  msgid "Fallback"
5811
  msgstr "Fallback"
5812
 
5813
  # @ woocommerce-germanized
5814
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:387
5815
  msgid ""
5816
  "This delivery time will be added to every product if no delivery time has "
5817
  "been chosen individually"
@@ -5820,12 +6072,12 @@ msgstr ""
5820
  "zugeordnet wurde"
5821
 
5822
  # @ woocommerce-germanized
5823
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:394
5824
  msgid "Manage Delivery Times"
5825
  msgstr "Lieferzeiten verwalten"
5826
 
5827
  # @ woocommerce-germanized
5828
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:398
5829
  msgid ""
5830
  "This text will be used to indicate delivery time for products. Use "
5831
  "{delivery_time} as placeholder."
@@ -5834,15 +6086,15 @@ msgstr ""
5834
  "{delivery_time} als Platzhalter verwenden."
5835
 
5836
  # @ woocommerce-germanized
5837
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:402
5838
  msgid "Delivery time: {delivery_time}"
5839
  msgstr "Lieferzeit: {delivery_time}"
5840
 
5841
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:405
5842
  msgid "Digital text"
5843
  msgstr "Digitaler Text"
5844
 
5845
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:409
5846
  msgid ""
5847
  "Enter a text which will be shown as digital delivery time text (replacement "
5848
  "for default digital time on digital products)."
@@ -5852,29 +6104,29 @@ msgstr ""
5852
  "einfach leer lassen."
5853
 
5854
  # @ woocommerce
5855
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:412
5856
  msgid "Backorder"
5857
  msgstr "Lieferrückstand"
5858
 
5859
  # @ woocommerce-germanized
5860
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:413
5861
  msgid "Hide delivery time if a product is on backorder."
5862
  msgstr "Lieferzeit ausblenden falls das Produkt im Lieferrückstand ist."
5863
 
5864
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:419
5865
  msgid "Not in Stock"
5866
  msgstr "Nicht auf Lager"
5867
 
5868
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:420
5869
  msgid "Hide delivery time if a product is not in stock."
5870
  msgstr "Lieferzeit ausblenden falls das Produkt nicht auf Lager ist."
5871
 
5872
  # @ woocommerce-germanized
5873
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:426
5874
  msgid "Hide Notice"
5875
  msgstr "Hinweis ausblenden"
5876
 
5877
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:427
5878
  msgid ""
5879
  "Select product types for which you might want to disable the delivery time "
5880
  "notice."
@@ -5883,7 +6135,7 @@ msgstr ""
5883
  "deaktivieren möchten."
5884
 
5885
  # @ woocommerce-germanized
5886
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:445
5887
  msgid ""
5888
  "This text will be used to display the base price. Use {price} to insert the "
5889
  "price. If you want to specifically format base price output use {base}, "
@@ -5895,26 +6147,26 @@ msgstr ""
5895
  "{unit} und {base_price} für die einzelnen Elemente."
5896
 
5897
  # @ woocommerce-germanized
5898
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:449
5899
  msgid "{price}"
5900
  msgstr "{price}"
5901
 
5902
  # @ woocommerce-germanized
5903
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:452
5904
  msgid "Variable Price"
5905
  msgstr "Variabler Preis"
5906
 
5907
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:453
5908
  msgid "Enable price range base prices for variable products."
5909
  msgstr "Aktiviert von-bis-Grundpreise für variable Produkte."
5910
 
5911
  # @ woocommerce-germanized
5912
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:459
5913
  msgid "Product units format"
5914
  msgstr "Produkteinheiten Format"
5915
 
5916
  # @ woocommerce-germanized
5917
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:460
5918
  msgid ""
5919
  "This text will be used to display the product units. Use {product_units} to "
5920
  "insert the amount of product units. Use {unit} to insert the unit. "
@@ -5926,21 +6178,21 @@ msgstr ""
5926
  "formatierten Grundpreis."
5927
 
5928
  # @ woocommerce-germanized
5929
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:464
5930
  msgid "Product contains: {product_units} {unit}"
5931
  msgstr "Produkt enthält: {product_units} {unit}"
5932
 
5933
  # @ woocommerce-germanized
5934
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:476
5935
  msgid "Fallback Sale Label"
5936
  msgstr "Standard-Streichpreis-Hinweis"
5937
 
5938
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:483
5939
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:493
5940
  msgid "Manage Price Labels"
5941
  msgstr "Preishinweise verwalten"
5942
 
5943
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:483
5944
  msgid ""
5945
  "Choose whether you would like to have a default sale price label to inform "
5946
  "the customer about the regular price (e.g. Recommended Retail Price)."
@@ -5949,11 +6201,11 @@ msgstr ""
5949
  "Sie den Kunden auf den alten Preis (bei reduzierten Produkten, sog. "
5950
  "Streichpreis) hinweisen (z.B. UVP)."
5951
 
5952
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:486
5953
  msgid "Fallback Regular Label"
5954
  msgstr "Standard-Angebotspreis"
5955
 
5956
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:493
5957
  msgid ""
5958
  "Choose whether you would like to have a default sale price regular label to "
5959
  "inform the customer about the sale price (e.g. New Price)."
@@ -5963,21 +6215,21 @@ msgstr ""
5963
  "Angebotspreis) hinweisen (z.B. Unser neuer Preis)."
5964
 
5965
  # @ woocommerce-germanized
5966
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:497
5967
  #: woocommerce-germanized/src/Shopmarks.php:294
5968
  msgid "Single Product"
5969
  msgstr "Produktdetailseite"
5970
 
5971
  # @ woocommerce-germanized
5972
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:498
5973
  msgid "Show price labels on single product page."
5974
  msgstr "Zeige Preishinweise auf der Produktdetailseite."
5975
 
5976
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:505
5977
  msgid "Loop"
5978
  msgstr "Produktlisten"
5979
 
5980
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:506
5981
  msgid "Show price labels in product loops."
5982
  msgstr "Zeige Preishinweise in Produktlisten."
5983
 
@@ -7251,13 +7503,13 @@ msgid "Thanks for creating an account on %s."
7251
  msgstr "Danke, dass Sie ein Konto bei %s erstellt haben."
7252
 
7253
  # @ woocommerce-germanized
7254
- #: woocommerce-germanized/includes/class-wc-gzd-emails.php:1010
7255
  msgctxt "revocation-form"
7256
  msgid "Forward your Revocation online"
7257
  msgstr "Widerruf online erklären"
7258
 
7259
  # @ woocommerce-germanized
7260
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:147
7261
  #, php-format
7262
  msgid ""
7263
  "Please install <a href=\"%s\" target=\"_blank\">WooCommerce</a> before "
@@ -7266,74 +7518,85 @@ msgstr ""
7266
  "Bitte installieren Sie <a href=\"%s\" target=\"_blank\">WooCommerce</a> "
7267
  "bevor Sie WooCommerce Germanized installieren. Vielen Dank!"
7268
 
 
 
 
 
 
 
 
 
 
 
 
7269
  # @ woocommerce-germanized
7270
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:538
7271
  msgctxt "Page slug"
7272
  msgid "data-security"
7273
  msgstr "datenschutzerklaerung"
7274
 
7275
  # @ woocommerce-germanized
7276
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:539
7277
  msgctxt "Page title"
7278
  msgid "Data Security Statement"
7279
  msgstr "Datenschutzerklärung"
7280
 
7281
  # @ woocommerce-germanized
7282
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:543
7283
  msgctxt "Page slug"
7284
  msgid "imprint"
7285
  msgstr "impressum"
7286
 
7287
  # @ woocommerce-germanized
7288
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:544
7289
  msgctxt "Page title"
7290
  msgid "Imprint"
7291
  msgstr "Impressum"
7292
 
7293
  # @ woocommerce-germanized
7294
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:548
7295
  msgctxt "Page slug"
7296
  msgid "terms"
7297
  msgstr "agb"
7298
 
7299
  # @ woocommerce-germanized
7300
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:549
7301
  msgctxt "Page title"
7302
  msgid "Terms & Conditions"
7303
  msgstr "AGB"
7304
 
7305
  # @ woocommerce-germanized
7306
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:553
7307
  msgctxt "Page slug"
7308
  msgid "revocation"
7309
  msgstr "widerrufsbelehrung"
7310
 
7311
  # @ woocommerce-germanized
7312
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:554
7313
  msgctxt "Page title"
7314
  msgid "Power of Revocation"
7315
  msgstr "Widerrufsbelehrung"
7316
 
7317
  # @ woocommerce-germanized
7318
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:558
7319
  msgctxt "Page slug"
7320
  msgid "shipping-methods"
7321
  msgstr "versandarten"
7322
 
7323
  # @ woocommerce-germanized
7324
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:559
7325
  msgctxt "Page title"
7326
  msgid "Shipping Methods"
7327
  msgstr "Versandarten"
7328
 
7329
  # @ woocommerce-germanized
7330
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:563
7331
  msgctxt "Page slug"
7332
  msgid "payment-methods"
7333
  msgstr "bezahlmoeglichkeiten"
7334
 
7335
  # @ woocommerce-germanized
7336
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:564
7337
  msgctxt "Page title"
7338
  msgid "Payment Methods"
7339
  msgstr "Zahlungsarten"
@@ -7901,14 +8164,14 @@ msgstr "Anrede"
7901
 
7902
  # @ woocommerce-germanized
7903
  #: woocommerce-germanized/includes/class-wc-gzd-revocation.php:52
7904
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:428
7905
  msgid "Mr."
7906
  msgstr "Herr"
7907
 
7908
  # @ woocommerce-germanized
7909
  #: woocommerce-germanized/includes/class-wc-gzd-revocation.php:53
7910
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:429
7911
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:446
7912
  msgid "Ms."
7913
  msgstr "Frau"
7914
 
@@ -8733,39 +8996,39 @@ msgstr ""
8733
  "Aktiviert die Zahlungsart nur dann, wenn der Kunde bereits eine Bestellung "
8734
  "erfolgreich abgeschlossen hat."
8735
 
8736
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:153
8737
  msgid ">= 12 years"
8738
  msgstr ">= 12 Jahre"
8739
 
8740
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:154
8741
  msgid ">= 16 years"
8742
  msgstr ">= 16 Jahre"
8743
 
8744
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:155
8745
  msgid ">= 18 years"
8746
  msgstr ">= 18 Jahre"
8747
 
8748
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:156
8749
  msgid ">= 21 years"
8750
  msgstr ">= 21 Jahre"
8751
 
8752
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:157
8753
  msgid ">= 25 years"
8754
  msgstr ">= 25 Jahre"
8755
 
8756
  # @ woocommerce-germanized
8757
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:162
8758
  msgctxt "age"
8759
  msgid "None"
8760
  msgstr "Keines"
8761
 
8762
  # @ woocommerce-germanized
8763
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:199
8764
  msgid "Right of Recission"
8765
  msgstr "Widerrufsrecht"
8766
 
8767
  # @ woocommerce-germanized
8768
- #: woocommerce-germanized/includes/wc-gzd-core-functions.php:201
8769
  msgid "Data Security"
8770
  msgstr "Datenschutzerklärung"
8771
 
@@ -10367,6 +10630,44 @@ msgstr "Vendidero"
10367
  msgid "https://vendidero.de"
10368
  msgstr "https://vendidero.de"
10369
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10370
  #~ msgctxt "dhl"
10371
  #~ msgid "API Key"
10372
  #~ msgstr "API-Schlüssel"
@@ -10508,10 +10809,6 @@ msgstr "https://vendidero.de"
10508
  #~ msgid "Invoices"
10509
  #~ msgstr "Rechnungen"
10510
 
10511
- # @ woocommerce-germanized
10512
- #~ msgid "E-Mails"
10513
- #~ msgstr "E-Mails"
10514
-
10515
  # @ woocommerce-germanized
10516
  #~ msgid "Email Display Options"
10517
  #~ msgstr "Darstellung"
@@ -10520,10 +10817,6 @@ msgstr "https://vendidero.de"
10520
  #~ msgid "Show within Emails"
10521
  #~ msgstr "In E-Mails anzeigen"
10522
 
10523
- # @ woocommerce-germanized
10524
- #~ msgid "Short Description"
10525
- #~ msgstr "Warenkorbkurzbeschreibung"
10526
-
10527
  # @ woocommerce-germanized
10528
  #~ msgid "Show within Product Listings"
10529
  #~ msgstr "In Produktlisten"
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Germanized\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2019-11-26 18:57+0100\n"
6
+ "PO-Revision-Date: 2019-11-26 18:59+0100\n"
7
  "Last-Translator: holzhannes <holzhannes@posteo.de>\n"
8
  "Language-Team: \n"
9
  "Language: de_DE@formal\n"
54
 
55
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:66
56
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:137
57
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:922
58
  #: woocommerce-germanized-dhl/src/ParcelServices.php:29
59
  msgctxt "dhl"
60
  msgid "Preferred Day"
61
  msgstr "Wunschtag"
62
 
63
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:75
64
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:942
65
  #: woocommerce-germanized-dhl/src/ParcelServices.php:36
66
  msgctxt "dhl"
67
  msgid "Preferred Time"
70
  # @ woocommerce-germanized
71
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:86
72
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:165
73
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:974
74
  #: woocommerce-germanized-dhl/src/ParcelServices.php:43
75
  msgctxt "dhl"
76
  msgid "Preferred Location"
77
  msgstr "Wunschort"
78
 
79
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:97
80
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:982
81
  #: woocommerce-germanized-dhl/src/ParcelServices.php:48
82
  msgctxt "dhl"
83
  msgid "Preferred Neighbor"
90
 
91
  # @ woocommerce-germanized
92
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:120
93
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:709
94
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:778
95
  msgctxt "dhl"
96
  msgid "Name"
97
  msgstr "Name"
98
 
99
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:129
100
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:716
101
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:785
102
  msgctxt "dhl"
103
  msgid "Company"
104
  msgstr "Firma"
105
 
106
  # @ woocommerce-germanized
107
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:138
108
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:341
109
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:723
110
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:792
111
  msgctxt "dhl"
112
  msgid "Street"
113
  msgstr "Straße"
120
 
121
  # @ woocommerce-germanized
122
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:158
123
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:342
124
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:744
125
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:813
126
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder.php:27
127
  msgctxt "dhl"
128
  msgid "Postcode"
130
 
131
  # @ woocommerce-germanized
132
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:167
133
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:343
134
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:737
135
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:806
136
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder.php:30
137
  msgctxt "dhl"
138
  msgid "City"
139
  msgstr "Stadt"
140
 
141
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:178
142
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:760
143
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:829
144
  msgctxt "dhl"
145
  msgid "Phone"
146
  msgstr "Telefon"
147
 
148
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:187
149
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:614
150
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:767
151
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:836
152
  msgctxt "dhl"
153
  msgid "Email"
154
  msgstr "E-Mail"
191
  msgstr "Keine Nachbarschaftszustellung"
192
 
193
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:258
194
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:527
195
  msgctxt "dhl"
196
  msgid "Named person only"
197
  msgstr "Persönliche Übergabe"
218
  msgstr "Mindestalter"
219
 
220
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:306
221
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:548
222
  msgctxt "dhl"
223
  msgid "Premium"
224
  msgstr "Premium"
225
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
226
  # @ woocommerce-germanized
227
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-return-label-backbone-form.php:18
228
  msgctxt "dhl"
230
  msgstr "Empfänger"
231
 
232
  #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
233
  msgctxt "dhl"
234
  msgid "DHL Labels"
235
  msgstr "DHL Labels"
236
 
237
+ #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:18
238
  #, php-format
239
  msgctxt "dhl"
240
  msgid ""
245
  "\">globalen Einstellungen</a>."
246
 
247
  # @ woocommerce-germanized
248
+ #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:28
249
  msgctxt "dhl"
250
  msgid "DHL Label Services"
251
  msgstr "DHL Services"
252
 
253
+ #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:31
254
  #, php-format
255
  msgctxt "dhl"
256
  msgid ""
261
  "\">globalen Einstellungen</a>."
262
 
263
  # @ woocommerce-germanized
264
+ #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:41
265
  msgctxt "dhl"
266
  msgid "DHL Label Automation"
267
  msgstr "DHL Label Automatisierung"
268
 
269
+ #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:44
270
  #, php-format
271
  msgctxt "dhl"
272
  msgid ""
276
  "Automatisierung-Einstellungen für Label anpassen. Änderungen überschreiben "
277
  "die <a href=\"%s\">globalen Einstellungen</a>."
278
 
279
+ #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:53
280
  msgctxt "dhl"
281
  msgid "DHL Preferred Services"
282
  msgstr "DHL Wunschpaket-Services"
283
 
284
+ #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:56
285
  #, php-format
286
  msgctxt "dhl"
287
  msgid ""
291
  "Wunschpaket-Services anpassen. Änderungen überschreiben die <a href=\"%s"
292
  "\">globalen Einstellungen</a>."
293
 
294
+ #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:66
295
  msgctxt "dhl"
296
  msgid "DHL Pickup"
297
  msgstr "DHL Standorte"
298
 
299
+ #: woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php:69
300
  #, php-format
301
  msgctxt "dhl"
302
  msgid ""
332
  msgstr "DHL Label zu Ihrer Bestellung: #{order_number}"
333
 
334
  # @ woocommerce-germanized
335
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:35
336
+ #: woocommerce-germanized-dhl/src/Api/Paket.php:285
337
  #: woocommerce-germanized-dhl/templates/checkout/dhl/preferred-services.php:81
338
  msgctxt "dhl time context"
339
  msgid "None"
340
  msgstr "Keine"
341
 
342
  # @ woocommerce-germanized
343
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:45
344
+ #: woocommerce-germanized-dhl/src/Api/Paket.php:273
345
  msgctxt "dhl day context"
346
  msgid "None"
347
  msgstr "Keiner"
348
 
349
  # @ woocommerce-germanized
350
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:70
351
  msgctxt "dhl"
352
  msgid "Delivery Duty Unpaid"
353
  msgstr "Delivery Duty Unpaid"
354
 
355
  # @ woocommerce-germanized
356
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:71
357
  msgctxt "dhl"
358
  msgid "Delivery Duty Paid"
359
  msgstr "Delivery Duty Paid"
360
 
361
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:72
362
  msgctxt "dhl"
363
  msgid "Delivery Duty Paid (excl. VAT )"
364
  msgstr "Delivered Duty Paid (exkl. MwSt.)"
365
 
366
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:73
367
  msgctxt "dhl"
368
  msgid "Delivery Duty Paid (excl. Duties, taxes and VAT)"
369
  msgstr "Delivery Duty Paid (exkl. Zölle, Steuern und MwSt.)"
370
 
371
  # @ woocommerce-germanized
372
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:91
373
  msgctxt "age context"
374
  msgid "None"
375
  msgstr "Keine"
376
 
377
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:92
378
  msgctxt "dhl"
379
  msgid "Minimum age of 16"
380
  msgstr "Mindestens 16 Jahre"
381
 
382
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:93
383
  msgctxt "dhl"
384
  msgid "Minimum age of 18"
385
  msgstr "Mindestens 18 Jahre"
386
 
387
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:120
388
  msgctxt "dhl"
389
+ msgid "Shipment #{shipment_id} to order {order_id}"
390
+ msgstr "Sendung #{shipment_id} zur Bestellung {order_id}"
391
 
392
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:135
393
  msgctxt "dhl"
394
  msgid "Return #{shipment_id} to shipment #{original_shipment_id}"
395
  msgstr "Retoure #{shipment_id} zur Sendung #{original_shipment_id}"
396
 
397
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:149
398
  msgctxt "dhl"
399
  msgid "Return shipment #{shipment_id} to order #{order_id}"
400
  msgstr "Retourensendung #{shipment_id} zur Bestellung #{order_id}"
401
 
402
  # @ woocommerce-germanized
403
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:213
404
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:184
405
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:460
406
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:813
407
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder.php:38
408
  msgctxt "dhl"
409
  msgid "Packstation"
410
  msgstr "Packstation"
411
 
412
  # @ woocommerce-germanized
413
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:214
414
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:215
415
  msgctxt "dhl"
416
  msgid "Postfiliale"
417
  msgstr "Postfiliale"
418
 
419
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:284
420
  msgctxt "dhl"
421
  msgid "Receiver is missing or does not exist."
422
  msgstr "Empfänger fehlt oder existiert nicht."
423
 
424
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:317
425
  #, php-format
426
  msgctxt "dhl"
427
  msgid "Shipment order #%s does not exist"
428
  msgstr "Bestellung zur Sendung #%s existiert nicht"
429
 
430
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:348
431
  #, php-format
432
  msgctxt "dhl"
433
  msgid "%s of the return address is a mandatory field."
434
  msgstr "%s der Rücksendeadresse ist ein Pflichtfeld."
435
 
436
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:353
437
  msgctxt "dhl"
438
  msgid "Please either add a return company or name."
439
  msgstr ""
440
  "Bitte geben Sie entweder einen Firmennamen oder Namen für die "
441
  "Rücksendeadresse an."
442
 
443
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:372
444
  msgctxt "dhl"
445
  msgid "Error while parsing preferred day."
446
  msgstr "Fehler beim Einlesen des Wunschtags."
447
 
448
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:383
449
  msgctxt "dhl"
450
  msgid "Error while parsing preferred time."
451
  msgstr "Fehler beim Einlesen der Wunschzeit."
452
 
453
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:407
454
  msgctxt "dhl"
455
  msgid "The visual min age check is invalid."
456
  msgstr "Das Alter der Alterssichtprüfung ist ungültig."
457
 
458
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:423
459
  msgctxt "dhl"
460
  msgid "The ident min age check is invalid."
461
  msgstr "Das Alter des Ident-Checks ist ungültig."
462
 
463
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:430
464
  msgctxt "dhl"
465
  msgid "There was an error parsing the date of birth for the identity check."
466
  msgstr ""
467
  "Beim Einlesen des Geburtsdatums für den Ident-Check trat ein Problem auf."
468
 
469
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:435
470
  msgctxt "dhl"
471
  msgid ""
472
  "Either a minimum age or a date of birth must be added to the ident check."
475
  "hinzugefügt werden."
476
 
477
  # @ woocommerce-germanized
478
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:448
479
  #, php-format
480
  msgctxt "dhl"
481
  msgid "%s duties element does not exist."
482
  msgstr "%s Zollabgabe existiert nicht."
483
 
484
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:797
485
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:872
486
  msgctxt "dhl"
487
  msgid "Invalid shipment"
488
  msgstr "Ungültige Sendung"
489
 
490
  # @ woocommerce-germanized
491
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:801
492
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:876
493
  msgctxt "dhl"
494
  msgid "Order does not exist"
495
  msgstr "Bestellung existiert nicht"
496
 
497
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:824
498
  msgctxt "dhl"
499
  msgid "Error while creating the label instance"
500
  msgstr "Fehler beim Erstellen der Label-Instanz"
501
 
502
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:944
503
  msgctxt "dhl"
504
  msgid "Invalid label"
505
  msgstr "Ungültiges Label"
506
 
507
  # @ woocommerce-germanized
508
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1032
509
  msgctxt "dhl"
510
  msgid "DHL Retoure International A"
511
  msgstr "DHL Retoure International A"
512
 
513
  # @ woocommerce-germanized
514
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1033
515
  msgctxt "dhl"
516
  msgid "DHL Retoure International B"
517
  msgstr "DHL Retoure International B"
518
 
519
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1042
520
  msgctxt "dhl"
521
  msgid "DHL Retoure Online"
522
  msgstr "DHL Retoure Online"
523
 
524
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1053
525
  msgctxt "dhl"
526
  msgid "DHL Paket Connect"
527
  msgstr "DHL Paket Connect"
528
 
529
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1054
530
  msgctxt "dhl"
531
  msgid "DHL Europaket (B2B)"
532
  msgstr "DHL Europaket (B2B)"
533
 
534
  # @ woocommerce-germanized
535
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1055
536
  msgctxt "dhl"
537
  msgid "DHL Paket International"
538
  msgstr "DHL Paket International"
539
 
540
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1121
541
  msgctxt "dhl"
542
  msgid "DHL Paket"
543
  msgstr "DHL Paket"
544
 
545
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1122
546
  msgctxt "dhl"
547
  msgid "DHL Paket PRIO"
548
  msgstr "DHL Paket PRIO"
549
 
550
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1123
551
  msgctxt "dhl"
552
  msgid "DHL Paket Taggleich"
553
  msgstr "DHL Paket Taggleich"
554
 
555
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1210
556
  msgctxt "dhl"
557
  msgid "Error while uploading label."
558
  msgstr "Fehler beim Hochladen des Labels."
559
 
560
  # @ woocommerce-germanized
561
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:111
562
  msgctxt "dhl"
563
  msgid "Receiver Ids"
564
  msgstr "Empfänger IDs"
565
 
566
  # @ woocommerce-germanized
567
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:118
568
  msgctxt "dhl"
569
  msgid "Receiver Id"
570
  msgstr "Empfänger ID"
571
 
572
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:118
573
  msgctxt "dhl"
574
  msgid "Find your Receiver Ids within your DHL contract data."
575
  msgstr "Die Empfänger IDs finden Sie im DHL Geschäftskundenportal."
576
 
577
  # @ woocommerce-germanized
578
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:119
579
  msgctxt "dhl"
580
  msgid "Country Code"
581
  msgstr "Ländercode"
582
 
583
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:119
584
  msgctxt "dhl"
585
  msgid "Leave empty to use the Receiver Id as fallback."
586
  msgstr "Leer lassen, um diese Empfänger ID als Fallback zu verwenden."
587
 
588
  # @ woocommerce-germanized
589
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:139
590
  msgctxt "dhl"
591
  msgid "+ Add receiver"
592
  msgstr "+ Empfänger hinzufügen"
593
 
594
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:139
595
  msgctxt "dhl"
596
  msgid "Remove selected receiver(s)"
597
  msgstr "Ausgewählte Empfänger löschen"
598
 
599
  # @ woocommerce-germanized
600
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:175
601
  msgctxt "dhl"
602
  msgid "Select a country"
603
  msgstr "Land auswählen"
604
 
605
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:177
606
  msgctxt "dhl"
607
  msgid "Harmonized Tariff Schedule (DHL)"
608
  msgstr "Harmonized Tariff Schedule (DHL)"
609
 
610
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:177
611
  msgctxt "dhl"
612
  msgid "This code is needed for customs of international shipping."
613
  msgstr ""
614
  "Dieser Code wird für die Zollabwicklung bei internationalen Sendungen "
615
  "benötigt."
616
 
617
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:178
618
  msgctxt "dhl"
619
  msgid "Country of manufacture (DHL)"
620
  msgstr "Herstellungsland (DHL)"
621
 
622
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:178
623
  msgctxt "dhl"
624
  msgid ""
625
  "The country of manufacture is needed for customs of international shipping."
627
  "Das Herstellungsland wird für die Zollabwicklung bei internationalen "
628
  "Sendungen benötigt."
629
 
630
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:205
631
  #, php-format
632
  msgctxt "dhl"
633
  msgid ""
637
  "Das Verzeichnis zum Speichern von DHL Labels fehlt. Bitte erstellen Sie den "
638
  "Ordner %s manuell und stellen Sie sicher, dass der Ordner beschreibbar ist."
639
 
640
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:212
 
641
  msgctxt "dhl"
642
+ msgid "DHL"
643
+ msgstr "DHL"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
644
 
645
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:227
 
646
  msgctxt "dhl"
647
+ msgid "DHL Label"
648
+ msgstr "DHL Label"
649
 
650
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:239
651
  msgctxt "dhl"
652
  msgid ""
653
  "This label has been generated by the DHL for WooCommerce Plugin and is shown "
657
  "Kompatibilitäts-Gründen angezeigt."
658
 
659
  # @ woocommerce-germanized
660
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:240
 
661
  msgctxt "dhl"
662
  msgid "Download label"
663
  msgstr "Label downloaden"
664
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
665
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:29
666
  msgctxt "dhl"
667
  msgid "Enable DHL"
707
  "Geschäftskundenportal eingeben."
708
 
709
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:76
710
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:422
711
  msgctxt "dhl"
712
  msgid "Inlay Returns"
713
  msgstr "Beilageretouren"
722
  "sollten Sie diese Funktion standardmäßig aktivieren."
723
 
724
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:90
725
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:671
726
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:901
727
  msgctxt "dhl"
728
  msgid "Retoure"
729
  msgstr "Retoure"
758
 
759
  # @ woocommerce-germanized
760
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:118
761
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:695
762
  msgctxt "dhl"
763
  msgid "Automation"
764
  msgstr "Automatisierung"
784
 
785
  # @ woocommerce-germanized
786
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:151
787
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:930
788
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:950
789
  msgctxt "dhl"
790
  msgid "Fee"
791
  msgstr "Gebühr"
818
  "im Folgenden konfiguriert) als Lieferadresse auswählen."
819
 
820
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:198
821
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1110
822
  msgctxt "dhl"
823
  msgid "Map"
824
  msgstr "Karte"
1055
  "Wählen Sie ein Standard Sendungsgewicht aus das für Labels verwendet wird, "
1056
  "für die das Gewicht nicht automatisch bestimmt werden kann."
1057
 
1058
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:408
1059
+ msgctxt "dhl"
1060
+ msgid "Minimum weight"
1061
+ msgstr "Mindestgewicht"
1062
+
1063
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:410
1064
+ msgctxt "dhl"
1065
+ msgid ""
1066
+ "Choose a minimum weight to be used for labels e.g. to prevent low shipment "
1067
+ "weight errors."
1068
+ msgstr ""
1069
+ "Wählen Sie ein Mindestgewicht für Sendungen aus, um zu verhindern, dass DHL "
1070
+ "wegen eines zu geringen Gewichts Fehler zurückgibt."
1071
+
1072
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:423
1073
  msgctxt "dhl"
1074
  msgid ""
1075
  "Additionally create inlay return labels for shipments that support returns."
1077
  "Erzeuge zusätzlich Beilage-Retourenlabels für Sendungen die Retouren "
1078
  "unterstützen."
1079
 
1080
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:440
1081
+ msgctxt "dhl"
1082
+ msgid "Tracking"
1083
+ msgstr "Sendungsverfolgung"
1084
+
1085
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:441
1086
+ #, php-format
1087
+ msgctxt "dhl"
1088
+ msgid ""
1089
+ "Adjust the default instructions used to inform your customers about tracking "
1090
+ "a DHL shipment. You may use one of the following placeholders: %s"
1091
+ msgstr ""
1092
+ "Passen Sie die Instruktionen an um Kunden über die DHL Sendungsverfolgung zu "
1093
+ "informieren. Sie können einen der folgenden Platzhalter verwenden: %s"
1094
+
1095
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:443
1096
+ msgctxt "dhl"
1097
+ msgid ""
1098
+ "Your shipment is being processed by {shipping_provider}. If you want to "
1099
+ "track the shipment, please use the following tracking number: {tracking_id}. "
1100
+ "Depending on the chosen shipping method it is possible that the tracking "
1101
+ "data does not reflect the current status when receiving this email."
1102
+ msgstr ""
1103
+ "Ihre Sendung wurde mit {shipping_provider} versandt. Wenn Sie diese Sendung "
1104
+ "verfolgen möchten, benutzen Sie bitte diese Paketverfolgungsnummer: "
1105
+ "{tracking_id}. Abhängig von der gewählten Versandoption kann es sein, dass "
1106
+ "die Paketverfolgungsdaten zum Zeitpunkt des Erhalts dieser E-Mail noch nicht "
1107
+ "den neuesten Stand wiedergeben."
1108
+
1109
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:461
1110
  msgctxt "dhl"
1111
  msgid "Enable delivery to Packstation."
1112
  msgstr "Aktiviere den Versand an Packstationen."
1113
 
1114
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:462
1115
  msgctxt "dhl"
1116
  msgid "Let customers choose a Packstation as delivery address."
1117
  msgstr "Kunden eine Packstation als Lieferadresse auswählen lassen."
1118
 
1119
  # @ woocommerce-germanized
1120
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:469
1121
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder.php:50
1122
  msgctxt "dhl"
1123
  msgid "Postoffice"
1124
  msgstr "Postfiliale"
1125
 
1126
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:470
1127
  msgctxt "dhl"
1128
  msgid "Enable delivery to Post Offices."
1129
  msgstr "Aktiviere den Versand an Postfilialen."
1130
 
1131
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:471
1132
  msgctxt "dhl"
1133
  msgid "Let customers choose a Post Office as delivery address."
1134
  msgstr "Kunden eine Postfiliale als Lieferadresse auswählen lassen."
1135
 
1136
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:478
1137
  msgctxt "dhl"
1138
  msgid "Parcel Shop"
1139
  msgstr "Paketshop"
1140
 
1141
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:479
1142
  msgctxt "dhl"
1143
  msgid "Enable delivery to Parcel Shops."
1144
  msgstr "Lieferung an Paketshops aktivieren."
1145
 
1146
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:480
1147
  msgctxt "dhl"
1148
  msgid "Let customers choose a Parcel Shop as delivery address."
1149
  msgstr "Kunden einen Paketshop als Lieferadresse auswählen lassen."
1150
 
1151
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:498
1152
  msgctxt "dhl"
1153
  msgid "Visual minimum age"
1154
  msgstr "Alterssichtprüfung"
1155
 
1156
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:503
1157
  msgctxt "dhl"
1158
  msgid "Choose this option if you want to let DHL check your customer's age."
1159
  msgstr ""
1161
  "möchten."
1162
 
1163
  # @ woocommerce-germanized
1164
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:506
1165
  msgctxt "dhl"
1166
  msgid "Additional Insurance"
1167
  msgstr "Transportversicherung"
1168
 
1169
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:507
1170
  msgctxt "dhl"
1171
  msgid "Add an additional insurance to labels."
1172
  msgstr "Füge eine Transportversicherung zur Sendung hinzu."
1173
 
1174
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:513
1175
  msgctxt "dhl"
1176
  msgid "Retail Outlet Routing"
1177
  msgstr "Filialrouting"
1178
 
1179
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:514
1180
  msgctxt "dhl"
1181
  msgid ""
1182
  "Send undeliverable items to nearest retail outlet instead of immediate "
1185
  "Sende unzustellbare Sendungen in die nächstgelegene Filiale zur Abholung "
1186
  "anstelle diese direkt zurückzusenden."
1187
 
1188
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:520
1189
  msgctxt "dhl"
1190
  msgid "No Neighbor"
1191
  msgstr "Keine Nachbarschaftszustellung"
1192
 
1193
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:521
1194
  msgctxt "dhl"
1195
  msgid "Do not deliver to neighbors."
1196
  msgstr "Schließe eine Ersatzzustellung beim Nachbarn aus."
1197
 
1198
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:528
1199
  msgctxt "dhl"
1200
  msgid "Do only delivery to named person."
1201
  msgstr ""
1202
  "Lasse Pakete nur an den Empfänger persönlich oder an eine bevollmächtigte "
1203
  "Person übergeben."
1204
 
1205
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:534
1206
  msgctxt "dhl"
1207
  msgid "Bulky Goods"
1208
  msgstr "Sperrgut"
1209
 
1210
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:535
1211
  msgctxt "dhl"
1212
  msgid "Deliver as bulky goods."
1213
  msgstr "Sende Pakete als Sperrgut."
1214
 
1215
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:541
1216
  msgctxt "dhl"
1217
  msgid "Age Verification"
1218
  msgstr "Alterssichtprüfung"
1219
 
1220
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:542
1221
  msgctxt "dhl"
1222
  msgid "Verify ages if shipment contains applicable items."
1223
  msgstr ""
1224
  "Aktiviere die Alterssichtprüfung, falls die Sendung zu prüfende Positionen "
1225
  "beinhaltet."
1226
 
1227
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:542
1228
  #, php-format
1229
  msgctxt "dhl"
1230
  msgid ""
1237
  "Alterssichtprüfung automatisch aktiviert, falls eine Sendung zu prüfenden "
1238
  "Produkte beinhaltet."
1239
 
1240
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:542
1241
  msgctxt "dhl"
1242
  msgid "age verification checkbox"
1243
  msgstr "Checkbox zur Altersprüfung"
1244
 
1245
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:549
1246
  msgctxt "dhl"
1247
  msgid "Premium delivery for international shipments."
1248
  msgstr "Premium Lieferung für internationale Sendungen."
1249
 
1250
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:568
1251
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1161
1252
  msgctxt "dhl"
1253
  msgid "Labels"
1254
  msgstr "Labels"
1255
 
1256
  # @ woocommerce-germanized
1257
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:569
1258
  msgctxt "dhl"
1259
  msgid "Automatically create labels for shipments."
1260
  msgstr "Automatisch Labels zu Sendungen erstellen."
1261
 
1262
  # @ woocommerce-germanized
1263
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:576
1264
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:603
1265
  msgctxt "dhl"
1266
  msgid "Status"
1267
  msgstr "Status"
1268
 
1269
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:580
1270
  msgctxt "dhl"
1271
  msgid "Choose a shipment status which should trigger generation of a label."
1272
  msgstr ""
1274
  "soll."
1275
 
1276
  # @ woocommerce-germanized
1277
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:587
1278
  msgctxt "dhl"
1279
  msgid "Shipment Status"
1280
  msgstr "Sendungsstatus"
1281
 
1282
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:588
1283
  msgctxt "dhl"
1284
  msgid "Mark shipment as shipped after label has been created successfully."
1285
  msgstr ""
1286
  "Sendung als versandt markieren, sobald ein Label erfolgreich erstellt wurde."
1287
 
1288
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:595
1289
  msgctxt "dhl"
1290
  msgid "Returns"
1291
  msgstr "Retouren"
1292
 
1293
  # @ woocommerce-germanized
1294
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:596
1295
  msgctxt "dhl"
1296
  msgid "Automatically create labels for returns."
1297
  msgstr "Automatisch Retourenlabels zu Retourensendungen erstellen."
1298
 
1299
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:607
1300
  msgctxt "dhl"
1301
  msgid ""
1302
  "Choose a shipment status which should trigger generation of a return label."
1304
  "Wählen Sie einen Sendungsstatus aus, der die Erzeugung eines Retourenlabels "
1305
  "auslösen soll."
1306
 
1307
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:615
1308
  msgctxt "dhl"
1309
  msgid "Send the return label to the customer by email after creating it."
1310
  msgstr "Sende das Retourenlabel nach dem Erstellen per E-Mail an den Kunden."
1311
 
1312
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:661
1313
  #, php-format
1314
  msgctxt "dhl"
1315
  msgid ""
1321
  "werden."
1322
 
1323
  # @ woocommerce-germanized
1324
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:661
1325
  msgctxt "dhl"
1326
  msgid "shipping method"
1327
  msgstr "Versandmethode"
1328
 
1329
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:671
1330
  #, php-format
1331
  msgctxt "dhl"
1332
  msgid ""
1337
  "API an. Stellen Sie sicher, dass Ihr %s DHL Retoure Online enthält."
1338
 
1339
  # @ woocommerce-germanized
1340
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:671
1341
  msgctxt "dhl"
1342
  msgid "contract"
1343
  msgstr "Vertrag"
1344
 
1345
  # @ woocommerce-germanized
1346
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:683
1347
  msgctxt "dhl"
1348
  msgid "Default Services"
1349
  msgstr "Standard-Services"
1350
 
1351
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:683
1352
  #, php-format
1353
  msgctxt "dhl"
1354
  msgid ""
1358
  "Passen Sie hier an, welche der Services als Standard für Ihre Labels gebucht "
1359
  "werden sollen. Finden Sie mehr über diese %s heraus."
1360
 
1361
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:683
1362
  msgctxt "dhl"
1363
  msgid "nationwide services"
1364
  msgstr "nationalen Services"
1365
 
1366
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:695
1367
  msgctxt "dhl"
1368
  msgid ""
1369
  "Choose whether and under which conditions labels for your shipments shall be "
1373
  "automatisch erzeugt werden sollen."
1374
 
1375
  # @ woocommerce-germanized
1376
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:706
1377
  msgctxt "dhl"
1378
  msgid "Shipper Address"
1379
  msgstr "Absenderadresse"
1380
 
1381
  # @ woocommerce-germanized
1382
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:730
1383
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:799
1384
  msgctxt "dhl"
1385
  msgid "Street Number"
1386
  msgstr "Hausnummer"
1387
 
1388
  # @ woocommerce-germanized
1389
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:751
1390
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:820
1391
  msgctxt "dhl"
1392
  msgid "Country"
1393
  msgstr "Land"
1394
 
1395
  # @ woocommerce-germanized
1396
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:775
1397
  msgctxt "dhl"
1398
  msgid "Inlay Return Address"
1399
  msgstr "Beilageretouren Adresse"
1400
 
1401
  # @ woocommerce-germanized
1402
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:844
1403
  msgctxt "dhl"
1404
  msgid "Bank Account"
1405
  msgstr "Bankkonto"
1406
 
1407
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:844
1408
  msgctxt "dhl"
1409
  msgid "Enter your bank details needed for services that use COD."
1410
  msgstr ""
1412
  "verwendet werden sollen."
1413
 
1414
  # @ woocommerce-germanized
1415
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:847
1416
  msgctxt "dhl"
1417
  msgid "Holder"
1418
  msgstr "Kontoinhaber"
1419
 
1420
  # @ woocommerce-germanized
1421
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:854
1422
  msgctxt "dhl"
1423
  msgid "Bank Name"
1424
  msgstr "Name der Bank"
1425
 
1426
  # @ woocommerce-germanized
1427
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:861
1428
  msgctxt "dhl"
1429
  msgid "IBAN"
1430
  msgstr "IBAN"
1431
 
1432
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:868
1433
  msgctxt "dhl"
1434
  msgid "BIC"
1435
  msgstr "BIC"
1436
 
1437
  # @ woocommerce-germanized
1438
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:875
1439
  msgctxt "dhl"
1440
  msgid "Payment Reference"
1441
  msgstr "Zahlungsreferenz"
1442
 
1443
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:879
1444
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:888
1445
  #, php-format
1446
  msgctxt "dhl"
1447
  msgid ""
1452
  "hinzufügen: %s. Der Text ist auf 35 Zeichen begrenzt."
1453
 
1454
  # @ woocommerce-germanized
1455
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:884
1456
  msgctxt "dhl"
1457
  msgid "Payment Reference 2"
1458
  msgstr "Zahlungsreferenz 2"
1459
 
1460
  # @ woocommerce-germanized
1461
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:902
1462
  msgctxt "dhl"
1463
  msgid "Enable creating labels for return shipments."
1464
  msgstr "Automatisch Retourenlabels zu Retourensendungen erstellen."
1465
 
1466
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:902
1467
  msgctxt "dhl"
1468
  msgid ""
1469
  "By enabling this option you might generate retoure labels for return "
1472
  "Mit der Aktivierung dieser Option können Sie Retourenlabels zu "
1473
  "Retourensendungen erstellen und diese per E-Mail an den Kunden weiterleiten."
1474
 
1475
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:923
1476
  msgctxt "dhl"
1477
  msgid "Enable preferred day delivery."
1478
  msgstr "Aktiviere die Lieferung am Wunschtag."
1479
 
1480
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:923
1481
  msgctxt "dhl"
1482
  msgid ""
1483
  "Enabling this option will display options for the user to select their "
1486
  "Diese Option aktiviert die Auswahl eines Wunschtags durch den Kunden in der "
1487
  "Kasse."
1488
 
1489
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:932
1490
  msgctxt "dhl"
1491
  msgid ""
1492
  "Insert gross value as surcharge for preferred day delivery. Insert 0 to "
1495
  "Fügen Sie einen Bruttopreis als Gebühr für die Lieferung am Wunschtag hinzu. "
1496
  "Setzen Sie den Wert auf 0 um den Service kostenlos anzubieten."
1497
 
1498
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:943
1499
  msgctxt "dhl"
1500
  msgid "Enable preferred time delivery."
1501
  msgstr "Aktiviere die Lieferung zur Wunschzeit."
1502
 
1503
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:943
1504
  msgctxt "dhl"
1505
  msgid ""
1506
  "Enabling this option will display options for the user to select their "
1509
  "Diese Option aktiviert die Auswahl einer Wunschzeit durch den Kunden in der "
1510
  "Kasse."
1511
 
1512
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:952
1513
  msgctxt "dhl"
1514
  msgid ""
1515
  "Insert gross value as surcharge for preferred time delivery. Insert 0 to "
1518
  "Fügen Sie einen Bruttopreis als Gebühr für die Lieferung zur Wunschzeit "
1519
  "hinzu. Setzen Sie den Wert auf 0 um den Service kostenlos anzubieten."
1520
 
1521
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:962
1522
  msgctxt "dhl"
1523
  msgid "Combined Fee"
1524
  msgstr "Kombinierte Gebühr"
1525
 
1526
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:964
1527
  msgctxt "dhl"
1528
  msgid ""
1529
  "Insert gross value as surcharge for the combination of preferred day and "
1534
  "kostenlos anzubieten."
1535
 
1536
  # @ woocommerce-germanized
1537
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:975
1538
  msgctxt "dhl"
1539
  msgid "Enable preferred location delivery."
1540
  msgstr "Lieferung an einen Wunschort aktivieren."
1541
 
1542
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:975
1543
  msgctxt "dhl"
1544
  msgid ""
1545
  "Enabling this option will display options for the user to select their "
1548
  "Diese Option aktiviert die Auswahl eines Wunschorts durch den Kunden in der "
1549
  "Kasse ."
1550
 
1551
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:983
1552
  msgctxt "dhl"
1553
  msgid "Enable preferred neighbor delivery."
1554
  msgstr "Aktiviere die Lieferung an einen Wunschnachbarn."
1555
 
1556
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:983
1557
  msgctxt "dhl"
1558
  msgid ""
1559
  "Enabling this option will display options for the user to deliver to their "
1562
  "Diese Option aktiviert die Auswahl eines Wunschnachbarn durch den Kunden in "
1563
  "der Kasse."
1564
 
1565
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1009
1566
  msgctxt "dhl"
1567
  msgid "Cut-off time"
1568
  msgstr "Cut-off-Zeit"
1569
 
1570
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1012
1571
  msgctxt "dhl"
1572
  msgid ""
1573
  "The cut-off time is the latest possible order time up to which the minimum "
1580
  "Nach Überschreitung dieses Zeitpunktes, wird der früheste verfügbare "
1581
  "Wunschtag in der Kasse um einen Tag erhöht (Tag der Bestellung + 3 Werktage)."
1582
 
1583
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1018
1584
  msgctxt "dhl"
1585
  msgid "Preparation days"
1586
  msgstr "Bearbeitungstage"
1587
 
1588
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1021
1589
  msgctxt "dhl"
1590
  msgid ""
1591
  "If you need more time to prepare your shipments you might want to add a "
1596
  "hier eine statische Anzahl an Tagen hinterlegen, die zum frühesten "
1597
  "auswählbaren Wunschtag hinzugefügt werden."
1598
 
1599
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1028
1600
  msgctxt "dhl"
1601
  msgid "Exclude days of transfer"
1602
  msgstr "Übergabetage ausschließen"
1603
 
1604
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1029
1605
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:31
1606
  msgctxt "dhl"
1607
  msgid "Monday"
1608
  msgstr "Montag"
1609
 
1610
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1030
1611
  msgctxt "dhl"
1612
  msgid "Exclude days from transferring shipments to DHL."
1613
  msgstr "Schließen Sie bestimmte Wochentage für die Übergabe an DHL aus."
1614
 
1615
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1039
1616
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:32
1617
  msgctxt "dhl"
1618
  msgid "Tuesday"
1619
  msgstr "Dienstag"
1620
 
1621
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1048
1622
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:33
1623
  msgctxt "dhl"
1624
  msgid "Wednesday"
1625
  msgstr "Mittwoch"
1626
 
1627
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1057
1628
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:34
1629
  msgctxt "dhl"
1630
  msgid "Thursday"
1631
  msgstr "Donnerstag"
1632
 
1633
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1066
1634
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:35
1635
  msgctxt "dhl"
1636
  msgid "Friday"
1637
  msgstr "Freitag"
1638
 
1639
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1075
1640
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:36
1641
  msgctxt "dhl"
1642
  msgid "Saturday"
1643
  msgstr "Samstag"
1644
 
1645
  # @ woocommerce-germanized
1646
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1084
1647
  msgctxt "dhl"
1648
  msgid "Exclude gateways"
1649
  msgstr "Zahlungsarten ausschließen"
1650
 
1651
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1086
1652
  msgctxt "dhl"
1653
  msgid "Select payment gateways to be excluded from showing preferred services."
1654
  msgstr ""
1655
  "Wählen Sie Zahlungsarten aus, für die die Wunschpaket-Services nicht zur "
1656
  "Verfügung stehen sollen."
1657
 
1658
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1111
1659
  msgctxt "dhl"
1660
  msgid "Let customers find a DHL location on a map."
1661
  msgstr "Lasse Kunden einen DHL Standort auf der Karte auswählen."
1662
 
1663
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1111
1664
  msgctxt "dhl"
1665
  msgid ""
1666
  "Enable this option to let your customers choose a pickup option from a map "
1671
  "anhand einer Karten in der Kasse zu ermöglichen. Wenn diese Option "
1672
  "deaktiviert ist, wird stattdessen auf die DHL Website verwiesen."
1673
 
1674
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1118
1675
  msgctxt "dhl"
1676
  msgid "Google Maps Key"
1677
  msgstr "Google Maps Schlüssel"
1678
 
1679
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1122
1680
  #, php-format
1681
  msgctxt "dhl"
1682
  msgid ""
1686
  "Um eine Karte integrieren zu können, benötigen Siee du einen gültigen API-"
1687
  "Schlüssel für Google Maps. Sie können %s."
1688
 
1689
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1122
1690
  msgctxt "dhl"
1691
  msgid "retrieve a new one"
1692
  msgstr "hier einen neuen erstellen"
1693
 
1694
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1127
1695
  msgctxt "dhl"
1696
  msgid "Limit results"
1697
  msgstr "Suchergebnisse begrenzen"
1698
 
1699
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1131
1700
  msgctxt "dhl"
1701
  msgid "Limit the number of DHL locations shown on the map"
1702
  msgstr "Begrenzt die Anzahl der angezeigten DHL Standorte auf der Karte"
1703
 
1704
  # @ woocommerce-germanized
1705
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1160
1706
  msgctxt "dhl"
1707
  msgid "General"
1708
  msgstr "Allgemein"
1709
 
1710
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1162
1711
  msgctxt "dhl"
1712
  msgid "Preferred Services"
1713
  msgstr "Wunschpaket"
1714
 
1715
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1163
1716
  msgctxt "dhl"
1717
  msgid "Parcel Pickup"
1718
  msgstr "Standorte"
1719
 
1720
+ #: woocommerce-germanized-dhl/src/Ajax.php:64
1721
  msgctxt "dhl"
1722
  msgid "Label successfully sent to customer."
1723
  msgstr "Label erfolgreich an den Kunden zugestellt."
1724
 
1725
+ #: woocommerce-germanized-dhl/src/Ajax.php:71
1726
  msgctxt "dhl"
1727
  msgid "There was an error while sending the label."
1728
  msgstr "Beim Versendes des Labels ist ein Fehler aufgetreten."
1729
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1730
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:37
1731
  msgctxt "dhl"
1732
  msgid "Sunday"
1807
  msgid "Parcel API not available"
1808
  msgstr "Paket API ist nicht erreichbar"
1809
 
1810
+ #: woocommerce-germanized-dhl/src/Api/Paket.php:251
1811
  msgctxt "dhl"
1812
  msgid "Mon"
1813
  msgstr "Mo"
1814
 
1815
+ #: woocommerce-germanized-dhl/src/Api/Paket.php:252
1816
  msgctxt "dhl"
1817
  msgid "Tue"
1818
  msgstr "Di"
1819
 
1820
+ #: woocommerce-germanized-dhl/src/Api/Paket.php:253
1821
  msgctxt "dhl"
1822
  msgid "Wed"
1823
  msgstr "Mi"
1824
 
1825
+ #: woocommerce-germanized-dhl/src/Api/Paket.php:254
1826
  msgctxt "dhl"
1827
  msgid "Thu"
1828
  msgstr "Do"
1829
 
1830
+ #: woocommerce-germanized-dhl/src/Api/Paket.php:255
1831
  msgctxt "dhl"
1832
  msgid "Fri"
1833
  msgstr "Fr"
1834
 
1835
  # @ woocommerce-germanized
1836
+ #: woocommerce-germanized-dhl/src/Api/Paket.php:256
1837
  msgctxt "dhl"
1838
  msgid "Sat"
1839
  msgstr "Sa"
1840
 
1841
+ #: woocommerce-germanized-dhl/src/Api/Paket.php:257
1842
  msgctxt "dhl"
1843
  msgid "Sun"
1844
  msgstr "So"
1915
  msgstr "%s-%s"
1916
 
1917
  # @ woocommerce-germanized
1918
+ #: woocommerce-germanized-dhl/src/Package.php:635
1919
  msgctxt "dhl"
1920
  msgid "Germany"
1921
  msgstr "Deutschland"
1922
 
1923
  # @ woocommerce-germanized
1924
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:88
1925
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:826
1926
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:851
1927
  msgctxt "dhl"
1928
  msgid "Address Type"
1929
  msgstr "Adresstyp"
1930
 
1931
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:91
1932
  msgctxt "dhl"
1933
  msgid "Select whether delivery to DHL locations should be enabled."
1934
  msgstr ""
1935
  "Wählen Sie aus, ob die Lieferung an DHL Standorte aktiviert werden soll."
1936
 
1937
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:96
1938
  msgctxt "dhl"
1939
  msgid "Postnumber"
1940
  msgstr "Postnummer"
1941
 
1942
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:98
1943
  msgctxt "dhl"
1944
  msgid ""
1945
  "In case delivery to packstation is selected please fill in the corresponding "
1948
  "Insofern die Lieferung an eine Packstation erfolgt, bitte die Postnummer "
1949
  "eintragen."
1950
 
1951
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:184
1952
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:555
1953
  msgctxt "dhl"
1954
  msgid "Invalid address type."
1955
  msgstr "Ungültiger Adresstyp."
1956
 
1957
  # @ woocommerce-germanized
1958
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:618
1959
  msgctxt "dhl"
1960
  msgid "Sorry, but delivery to packstation is not available."
1961
  msgstr ""
1962
  "Entschuldigung, die Lieferung an eine Packstation steht nicht zur Verfügung."
1963
 
1964
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:623
1965
  msgctxt "dhl"
1966
  msgid "Sorry, but delivery to parcel shops is not available."
1967
  msgstr ""
1968
  "Entschuldigung, die Lieferung an einen Paketshop steht nicht zur Verfügung."
1969
 
1970
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:627
1971
  msgctxt "dhl"
1972
  msgid "Sorry, but delivery to post offices is not available."
1973
  msgstr "Entschuldigung, die Lieferung an Postfilialen ist nicht verfügbar."
1974
 
1975
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:634
1976
  #, php-format
1977
  msgctxt "dhl"
1978
  msgid "Please indicate shipment to %s by one of the following values: %s."
1980
  "Bitte identifizieren Sie die Lieferung an %s durch die Eingabe einer der "
1981
  "folgenden Werte: %s."
1982
 
1983
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:642
1984
  msgctxt "dhl"
1985
  msgid ""
1986
  "Your DHL customer number (Post number) is needed to ship to a packstation."
1988
  "Ihre DHL Kundennummer (Postnummer) wird für den Versand an eine Packstation "
1989
  "benötigt."
1990
 
1991
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:644
1992
  msgctxt "dhl"
1993
  msgid ""
1994
  "Your DHL customer number (Post number) is not valid. Please check your "
1997
  "Ihre DHL Kundennummer (Postnummer) ist nicht gültig. Bitte überprüfen Sie "
1998
  "Ihre Eingabe."
1999
 
2000
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:690
2001
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:817
2002
  msgctxt "dhl"
2003
  msgid "Branch"
2004
  msgstr "Filiale"
2005
 
2006
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:691
2007
  msgctxt "dhl"
2008
  msgid "Postnumber "
2009
  msgstr "Postnummer "
2010
 
2011
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:792
2012
  #, php-format
2013
  msgctxt "dhl"
2014
  msgid "e.g. %s 456"
2015
  msgstr "z.B. %s 456"
2016
 
2017
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:817
2018
  msgctxt "dhl"
2019
  msgid "Branches"
2020
  msgstr "Filialen"
2021
 
2022
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:833
2023
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:861
2024
  msgctxt "dhl"
2025
  msgid "DHL customer number (Post number)"
2026
  msgstr "DHL Kundennummer (Postnummer)"
2027
 
2028
  # @ woocommerce-germanized
2029
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:843
2030
  msgctxt "dhl"
2031
  msgid "Regular Address"
2032
  msgstr "Normale Adresse"
2033
 
2034
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:865
2035
  msgctxt "dhl"
2036
  msgid "Not yet a DHL customer?"
2037
  msgstr "Noch kein DHL Kunde?"
2038
 
2039
  # @ woocommerce-germanized
2040
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:865
2041
  msgctxt "dhl"
2042
  msgid "Register now"
2043
  msgstr "Jetzt registrieren"
2044
 
2045
  # @ woocommerce-germanized
2046
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:914
2047
  #, php-format
2048
  msgctxt "dhl"
2049
  msgid "Search %s"
2050
  msgstr "%s suchen"
2051
 
2052
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:1019
2053
  msgctxt "dhl"
2054
  msgid "No DHL locations found"
2055
  msgstr "Keine DHL Standorte gefunden"
2056
 
2057
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:1034
2058
  #, php-format
2059
  msgctxt "dhl"
2060
  msgid ""
2065
  "einen %s oder %s."
2066
 
2067
  # @ woocommerce-germanized
2068
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:1034
2069
  msgctxt "dhl"
2070
  msgid "DHL location"
2071
  msgstr "DHL Standort"
2072
 
2073
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:1034
2074
  msgctxt "dhl"
2075
  msgid "retry"
2076
  msgstr "Erneut versuchen"
2115
  msgid "Please choose name and address of your preferred neighbor."
2116
  msgstr "Bitte wählen Sie einen Namen und die Adresse Ihres Wunschnachbars."
2117
 
2118
+ #: woocommerce-germanized-dhl/src/ReturnLabel.php:158
2119
  #: woocommerce-germanized-dhl/src/SimpleLabel.php:86
2120
  #, php-format
2121
  msgctxt "dhl full name"
2122
  msgid "%1$s"
2123
  msgstr "%1$s"
2124
 
2125
+ #: woocommerce-germanized-dhl/src/ShippingProviderDHL.php:37
2126
+ #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-setup-wizard.php:91
2127
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-dhl.php:33
2128
+ #: woocommerce-germanized/includes/admin/views/setup/dhl.php:10
2129
+ msgid "DHL"
2130
+ msgstr "DHL"
2131
+
2132
+ #: woocommerce-germanized-dhl/src/ShippingProviderDHL.php:45
2133
+ msgctxt "dhl"
2134
+ msgid ""
2135
+ "Complete DHL integration supporting labels, preferred services and "
2136
+ "packstation delivery."
2137
+ msgstr ""
2138
+ "DHL Integration die das Erzeugen von Labels, Wunsch-Services und Lieferung "
2139
+ "an Packstationen unterstützt."
2140
+
2141
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder-result.php:31
2142
  msgctxt "dhl"
2143
  msgid "Opening Times"
2381
  msgstr "LxBxH in dezimaler Form."
2382
 
2383
  # @ woocommerce-germanized
2384
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:68
2385
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:856
2386
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:24
2387
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:648
2388
  msgctxt "shipments"
2389
  msgid "Status"
2390
  msgstr "Status"
2391
 
2392
  # @ woocommerce-germanized
2393
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:78
2394
  msgctxt "shipments"
2395
  msgid "Shipping method"
2396
  msgstr "Versandmethode"
2397
 
2398
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:88
2399
  msgctxt "shipments"
2400
  msgid "Shipping provider"
2401
  msgstr "Versanddienstleister"
2402
 
2403
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:99
 
2404
  msgctxt "shipments"
2405
+ msgid "Tracking Number"
2406
+ msgstr "Sendungsnummer"
2407
 
2408
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:108
2409
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:164
2410
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:221
2411
  msgctxt "shipments"
2412
  msgid "Item"
2413
  msgstr "Position"
2414
 
2415
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:111
2416
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:165
2417
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:222
2418
  #: woocommerce-germanized-shipments/templates/emails/email-shipment-details.php:55
2419
  #: woocommerce-germanized-shipments/templates/shipment/shipment-details.php:50
2420
  msgctxt "shipments"
2422
  msgstr "Anzahl"
2423
 
2424
  # @ woocommerce-germanized
2425
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:114
2426
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:858
2427
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:28
2428
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:652
2429
  msgctxt "shipments"
2430
  msgid "Actions"
2431
  msgstr "Aktionen"
2432
 
2433
  # @ woocommerce-germanized
2434
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:128
2435
  msgctxt "shipments"
2436
  msgid "Add item"
2437
  msgstr "Position hinzufügen"
2438
 
2439
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:132
2440
  msgctxt "shipments"
2441
  msgid "Sync items"
2442
  msgstr "Positionen synchronisieren"
2443
 
2444
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:133
2445
  msgctxt "shipments"
2446
  msgid "Automatically adjust items and quantities based on order item data."
2447
  msgstr "Bestimmt Positionen und Anzahlen automatisch anhand der Bestelldaten."
2448
 
2449
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:154
2450
  msgctxt "shipments"
2451
  msgid "Add Item"
2452
  msgstr "Position hinzufügen"
2453
 
2454
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:183
2455
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:231
2456
  msgctxt "shipments"
2457
  msgid "Add"
2458
  msgstr "Hinzufügen"
2459
 
2460
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:211
2461
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:271
2462
  msgctxt "shipments"
2463
  msgid "Add Return"
2464
  msgstr "Retoure hinzufügen"
2465
 
2466
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:275
2467
  #, php-format
2468
  msgctxt "shipments"
2469
  msgid "Delete %s"
2477
  msgstr[0] "%d von %d Position"
2478
  msgstr[1] "%d von %d Positionen"
2479
 
2480
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-item.php:37
2481
+ #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:26
2482
+ #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php:39
2483
  msgctxt "shipments"
2484
  msgid "Delete"
2485
  msgstr "Löschen"
2492
 
2493
  # @ woocommerce-germanized
2494
  #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php:19
2495
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:66
2496
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:74
2497
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:143
2498
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:231
2499
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:298
2500
  #: woocommerce-germanized-shipments/templates/myaccount/order-shipments.php:35
2501
  msgctxt "shipments"
2502
  msgid "Shipments"
2512
  msgid "Save"
2513
  msgstr "Speichern"
2514
 
2515
+ # @ woocommerce-germanized
2516
+ # @ woocommerce
2517
+ #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:11
2518
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:22
2519
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:646
2520
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:397
2521
+ msgctxt "shipments"
2522
+ msgid "Title"
2523
+ msgstr "Titel"
2524
+
2525
+ # @ woocommerce-germanized
2526
+ #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:12
2527
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:406
2528
+ msgctxt "shipments"
2529
+ msgid "Description"
2530
+ msgstr "Beschreibung"
2531
+
2532
+ #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:13
2533
+ msgctxt "shipments"
2534
+ msgid "Activated"
2535
+ msgstr "Aktiviert"
2536
+
2537
+ # @ woocommerce-germanized
2538
+ #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:23
2539
+ msgctxt "shipments"
2540
+ msgid "Edit"
2541
+ msgstr "Bearbeiten"
2542
+
2543
+ #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:35
2544
+ msgctxt "shipments"
2545
+ msgid "Yes"
2546
+ msgstr "Ja"
2547
+
2548
+ #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:50
2549
+ #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:51
2550
+ msgctxt "shipments"
2551
+ msgid "Manage shipping provider"
2552
+ msgstr "Versanddienstleister verwalten"
2553
+
2554
+ #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:52
2555
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shipments.php:69
2556
+ msgctxt "shipments"
2557
+ msgid "Manage"
2558
+ msgstr "Verwalten"
2559
+
2560
+ #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label-backbone.php:13
2561
+ #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php:43
2562
+ msgctxt "shipments"
2563
+ msgid "Create label"
2564
+ msgstr "Label erstellen"
2565
+
2566
+ #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label-backbone.php:25
2567
+ msgctxt "shipments"
2568
+ msgid "Create"
2569
+ msgstr "Erstellen"
2570
+
2571
+ #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php:15
2572
+ #, php-format
2573
+ msgctxt "shipments"
2574
+ msgid "%s Label"
2575
+ msgstr "%s Label"
2576
+
2577
+ #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php:21
2578
+ msgctxt "shipments"
2579
+ msgid "Download"
2580
+ msgstr "Download"
2581
+
2582
+ # @ woocommerce-germanized
2583
+ #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php:24
2584
+ msgctxt "shipments"
2585
+ msgid "Send to customer"
2586
+ msgstr "An den Kunden senden"
2587
+
2588
+ #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php:43
2589
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:355
2590
+ msgctxt "shipments"
2591
+ msgid "Create new label"
2592
+ msgstr "Neues Label erstellen"
2593
+
2594
  # @ woocommerce-germanized
2595
  #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:49
2596
  msgctxt "shipments"
2605
  "Sendungsbenachrichtigungen werden an den Kunden verschickt, sobald eine "
2606
  "Sendung als verschickt markiert wurde."
2607
 
2608
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:83
2609
  msgctxt "shipments"
2610
  msgid "Your {site_title} order #{order_number} has been partially shipped"
2611
  msgstr ""
2612
  "Ihre Bestellung #{order_number} bei {site_title} wurde teilweise verschickt"
2613
 
2614
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:85
2615
  msgctxt "shipments"
2616
  msgid "Your {site_title} order #{order_number} has been shipped"
2617
  msgstr "Ihre Bestellung #{order_number} bei {site_title} wurde verschickt"
2618
 
2619
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:98
2620
  msgctxt "shipments"
2621
  msgid "Partial shipment to your order: {order_number}"
2622
  msgstr "Teilsendung zu Ihrer Bestellung {order_number}"
2623
 
2624
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:100
2625
  msgctxt "shipments"
2626
  msgid "Shipment to your order: {order_number}"
2627
  msgstr "Sendung zu Ihrer Bestellung {order_number}"
2628
 
2629
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:264
2630
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:278
2631
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:287
2632
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:296
2633
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:305
2634
  #, php-format
2635
+ msgctxt "shipments"
2636
  msgid "Available placeholders: %s"
2637
  msgstr "Verfügbare Platzhalter: %s"
2638
 
2639
  # @ woocommerce-germanized
2640
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:268
2641
  msgctxt "shipments"
2642
  msgid "Enable/Disable"
2643
  msgstr "Aktivieren/Deaktivieren"
2644
 
2645
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:270
2646
  msgctxt "shipments"
2647
  msgid "Enable this email notification"
2648
  msgstr "Aktiviere diese E-Mail-Benachrichtigung"
2649
 
2650
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:274
2651
  msgctxt "shipments"
2652
  msgid "Full shipment subject"
2653
  msgstr "Vollständige Sendung Betreff"
2654
 
2655
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:283
 
 
 
 
 
 
 
 
 
2656
  msgctxt "shipments"
2657
  msgid "Partial shipment subject"
2658
  msgstr "Teilsendung Betreff"
2659
 
2660
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:292
2661
  msgctxt "shipments"
2662
  msgid "Full shipment email heading"
2663
  msgstr "Vollständige Sendung Kopfzeile"
2664
 
2665
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:301
2666
  msgctxt "shipments"
2667
  msgid "Partial shipment email heading"
2668
  msgstr "Teilsendung Kopfzeile"
2669
 
2670
  # @ woocommerce-germanized
2671
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:310
2672
  msgctxt "shipments"
2673
  msgid "Additional content"
2674
  msgstr "Zusätzlicher Inhalt"
2675
 
2676
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:311
2677
  msgctxt "shipments"
2678
  msgid "Text to appear below the main email content."
2679
  msgstr "Text der unterhalb des Inhalts der E-Mail angezeigt werden soll."
2680
 
2681
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:313
2682
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:792
2683
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:820
2684
  #: woocommerce-germanized-shipments/templates/shipment/shipment-details-address.php:28
2685
  msgctxt "shipments"
2686
  msgid "N/A"
2687
  msgstr "n.a."
2688
 
2689
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:319
2690
  msgctxt "shipments"
2691
  msgid "Email type"
2692
  msgstr "E-Mail-Typ"
2693
 
2694
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:321
2695
  msgctxt "shipments"
2696
  msgid "Choose which format of email to send."
2697
  msgstr "Format für E-Mail-Versand auswählen."
2698
 
2699
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:65
2700
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:854
2701
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:27
2702
  msgctxt "shipments"
2703
  msgid "Shipment"
2704
  msgstr "Sendung"
2705
 
2706
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:72
2707
  msgctxt "shipments"
2708
  msgid "Return"
2709
  msgstr "Retoure"
2710
 
2711
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:73
2712
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:144
2713
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:265
2714
  msgctxt "shipments"
2715
  msgid "Returns"
2716
  msgstr "Retouren"
2717
 
2718
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:99
2719
  msgctxt "shipments"
2720
  msgid "Not shipped"
2721
  msgstr "Nicht versandt"
2722
 
2723
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:100
2724
  msgctxt "shipments"
2725
  msgid "Partially shipped"
2726
  msgstr "Teilweise versandt"
2727
 
2728
  # @ woocommerce-germanized
2729
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:101
2730
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:241
2731
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:812
2732
  msgctxt "shipments"
2733
  msgid "Shipped"
2734
  msgstr "Versandt"
2735
 
2736
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:239
2737
  msgctxt "shipments"
2738
  msgid "Draft"
2739
  msgstr "Entwurf"
2740
 
2741
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:240
2742
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:804
2743
  msgctxt "shipments"
2744
  msgid "Processing"
2745
  msgstr "In Bearbeitung"
2746
 
2747
  # @ woocommerce-germanized
2748
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:242
2749
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:48
2750
  msgctxt "shipments"
2751
  msgid "Delivered"
2752
  msgstr "Geliefert"
2753
 
2754
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:243
2755
  msgctxt "shipments"
2756
  msgid "Returned"
2757
  msgstr "Retourniert"
2758
 
2759
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:286
2760
  #: woocommerce-germanized-shipments/includes/wc-gzd-shipments-template-functions.php:101
2761
  #: woocommerce-germanized-shipments/src/DataStores/Shipment.php:343
2762
  msgctxt "shipments"
2763
  msgid "Invalid shipment."
2764
  msgstr "Ungültige Sendung."
2765
 
2766
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:290
2767
  msgctxt "shipments"
2768
  msgid "This shipment is already fully returned."
2769
  msgstr "Diese Sendung ist bereits vollständig retourniert."
2770
 
2771
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:301
2772
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:344
2773
  msgctxt "shipments"
2774
  msgid "Error while creating the shipment instance"
2775
  msgstr "Fehler beim Erstellen der Sendungsinstanz"
2776
 
2777
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:329
2778
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:333
2779
+ #: woocommerce-germanized-shipments/src/SimpleShipment.php:142
2780
+ #: woocommerce-germanized-shipments/src/SimpleShipment.php:225
2781
  msgctxt "shipments"
2782
  msgid "Invalid shipment order"
2783
  msgstr "Ungültige Bestellung zur Sendung"
2784
 
2785
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:363
2786
  msgctxt "shipments"
2787
  msgid "Invalid order item"
2788
  msgstr "Ungültige Bestellposition"
2789
 
2790
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:384
2791
  msgctxt "shipments"
2792
  msgid "Invalid shipment item"
2793
  msgstr "Ungültige Sendungsposition"
2794
 
2795
  # @ woocommerce-germanized
2796
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:457
2797
+ msgctxt "shipments"
2798
+ msgid "None"
2799
+ msgstr "Keiner"
2800
+
2801
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:530
2802
+ msgctxt "shipments"
2803
+ msgid "Error while uploading file."
2804
+ msgstr "Fehler beim Hochladen der Datei."
2805
+
2806
+ # @ woocommerce-germanized
2807
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:855
2808
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:23
2809
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:647
2810
  msgctxt "shipments"
2811
  msgid "Date"
2812
  msgstr "Datum"
2813
 
2814
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:857
2815
  #: woocommerce-germanized-shipments/templates/shipment/shipment-details-tracking.php:23
2816
  msgctxt "shipments"
2817
  msgid "Tracking"
2818
  msgstr "Sendungsverfolgung"
2819
 
2820
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:882
2821
  msgctxt "shipments"
2822
  msgid "View"
2823
  msgstr "Anzeigen"
2829
  msgstr "Mein Konto"
2830
 
2831
  # @ woocommerce-germanized
2832
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:128
2833
  msgctxt "shipments"
2834
  msgid "Create shipments"
2835
  msgstr "Sendungen erstellen"
2836
 
2837
  # @ woocommerce-germanized
2838
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:243
2839
  msgctxt "shipments"
2840
  msgid "Search shipments"
2841
  msgstr "Sendungen suchen"
2842
 
2843
  # @ woocommerce-germanized
2844
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:277
2845
  msgctxt "shipments"
2846
  msgid "Search returns"
2847
  msgstr "Retouren suchen"
2848
 
2849
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:350
2850
  msgctxt "shipments"
2851
  msgid "Do you really want to delete the shipment?"
2852
  msgstr "Möchten Sie die Sendung wirklich löschen?"
2853
 
2854
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:354
2855
+ msgctxt "shipments"
2856
+ msgid "Do you really want to delete the label?"
2857
+ msgstr "Möchten Sie das Label wirklich löschen?"
2858
+
2859
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:356
2860
+ msgctxt "shipments"
2861
+ msgid "Please save the shipment before creating a new label"
2862
+ msgstr "Bitte speichern Sie die Sendung bevor Sie ein neues Label erstellen"
2863
+
2864
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:406
2865
+ msgctxt "shipments"
2866
+ msgid ""
2867
+ "Do you really want to delete the shipping provider? Some of your existing "
2868
+ "shipments might be linked to that provider and might need adjustments."
2869
+ msgstr ""
2870
+ "Soll der Versanddienstleister wirklich gelöscht werden? Einige bestehende "
2871
+ "Sendungen könnten mit diesem Dienstleister verlinkt sein und benötigen im "
2872
+ "Anschluss einer Anpassung."
2873
+
2874
  #: woocommerce-germanized-shipments/src/Admin/BulkActionHandler.php:80
2875
  msgctxt "shipments"
2876
  msgid "Successfully processed shipments."
2877
  msgstr "Sendungen erfolgreich verarbeitet."
2878
 
2879
  # @ woocommerce-germanized
2880
+ #: woocommerce-germanized-shipments/src/Admin/BulkLabel.php:30
 
 
2881
  msgctxt "shipments"
2882
+ msgid "Generating labels..."
2883
+ msgstr "Labels werden erzeugt..."
2884
 
2885
+ # @ woocommerce-germanized
2886
+ #: woocommerce-germanized-shipments/src/Admin/BulkLabel.php:82
2887
+ msgctxt "shipments"
2888
+ msgid "Download labels"
2889
+ msgstr "Labels downloaden"
2890
+
2891
+ #: woocommerce-germanized-shipments/src/Admin/BulkLabel.php:85
2892
+ #, php-format
2893
+ msgctxt "shipments"
2894
+ msgid "Successfully generated labels. %s"
2895
+ msgstr "Labels erfolgreich erzeugt. %s"
2896
+
2897
+ #: woocommerce-germanized-shipments/src/Admin/BulkLabel.php:103
2898
+ #, php-format
2899
+ msgctxt "shipments"
2900
+ msgid "Error while creating label for %s: %s"
2901
+ msgstr "Fehler beim Erstellen des Labels für %s. %s"
2902
+
2903
+ #: woocommerce-germanized-shipments/src/Admin/BulkLabel.php:103
2904
+ #, php-format
2905
+ msgctxt "shipments"
2906
+ msgid "shipment #%d"
2907
+ msgstr "Sendung #%d"
2908
+
2909
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:25
2910
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:649
2911
  msgctxt "shipments"
2912
  msgid "Items"
2913
  msgstr "Positionen"
2914
 
2915
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:26
2916
  msgctxt "shipments"
2917
  msgid "Sender"
2918
  msgstr "Absender"
2919
 
2920
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:58
2921
+ msgctxt "shipments"
2922
+ msgid "Send label to customer"
2923
+ msgstr "Label dem Kunden zusenden"
2924
+
2925
  # @ woocommerce-germanized
2926
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:38
2927
  msgctxt "shipments"
2928
  msgid "Manage shipments"
2929
  msgstr "Sendungen verwalten"
2930
 
2931
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:39
2932
  msgctxt "shipments"
2933
  msgid ""
2934
  "To view all your existing shipments in a list you might follow this link or "
2938
  "anzuzeigen, folgen Sie bitte diesem Link oder klicken Sie im Untermenü von "
2939
  "WooCommerce auf den Sendungen-Link."
2940
 
2941
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:52
2942
  msgctxt "shipments"
2943
  msgid "E-Mail Notification"
2944
  msgstr "E-Mail-Benachrichtigung"
2945
 
2946
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:53
2947
  msgctxt "shipments"
2948
  msgid ""
2949
  "By enabling this option customers receive an email notification as soon as a "
2953
  "Benachrichtigung, sobald die Sendung als versandt markiert wurde."
2954
 
2955
  # @ woocommerce-germanized
2956
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:66
2957
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:106
2958
  msgctxt "shipments"
2959
  msgid "Automation"
2960
  msgstr "Automatisierung"
2961
 
2962
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:67
2963
  msgctxt "shipments"
2964
  msgid ""
2965
  "Decide whether you want to automatically create shipments to orders reaching "
2970
  "bestimmten Status erreichen. Sie können die Sendungen anschließend einfach "
2971
  "manuell anpassen, indem Sie die dazugehörige Bestellung bearbeiten."
2972
 
2973
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:87
2974
  msgctxt "shipments"
2975
  msgid "Notify"
2976
  msgstr "Benachrichtigung"
2977
 
2978
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:88
2979
  msgctxt "shipments"
2980
  msgid "Notify customers about new shipments."
2981
  msgstr "Benachrichtige Kunden über neue Sendungen."
2982
 
2983
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:88
2984
  #, php-format
2985
  msgctxt "shipments"
2986
  msgid ""
2990
  "Benachrichtige Kunden via E-Mail sobald eine Sendung als verschickt markiert "
2991
  "wurde. %s die E-Mail-Benachrichtigung."
2992
 
2993
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:88
2994
  msgctxt "shipments notification"
2995
  msgid "Manage"
2996
  msgstr "Verwalten Sie"
2997
 
2998
+ # @ woocommerce-germanized
2999
  #: woocommerce-germanized-shipments/src/Admin/Settings.php:95
3000
  msgctxt "shipments"
3001
+ msgid "Default provider"
3002
+ msgstr "Standard-Dienstleister"
3003
+
3004
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:96
3005
+ msgctxt "shipments"
3006
+ msgid ""
3007
+ "Select a default shipping provider which will be selected by default in case "
3008
+ "no provider could be determined automatically."
3009
+ msgstr ""
3010
+ "Wählen Sie einen Standard-Versanddienstleister aus der verwendet wird, falls "
3011
+ "kein Dienstleister automatisch bestimmt werden konnte."
3012
+
3013
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:109
3014
+ msgctxt "shipments"
3015
  msgid "Enable"
3016
  msgstr "Aktivieren"
3017
 
3018
  # @ woocommerce-germanized
3019
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:110
3020
  msgctxt "shipments"
3021
  msgid "Automatically create shipments for orders."
3022
  msgstr "Automatisch Sendungen zu Bestellungen erstellen."
3023
 
3024
  # @ woocommerce-germanized
3025
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:117
3026
  msgctxt "shipments"
3027
  msgid "Order statuses"
3028
  msgstr "Bestellstatus"
3029
 
3030
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:118
3031
  msgctxt "shipments"
3032
  msgid ""
3033
  "Create shipments as soon as the order reaches one of the following "
3037
  "erreicht."
3038
 
3039
  # @ woocommerce-germanized
3040
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:126
3041
  msgctxt "shipments"
3042
  msgid "On new order creation"
3043
  msgstr "Beim Erstellen einer Bestellung"
3044
 
3045
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:131
3046
  msgctxt "shipments"
3047
  msgid "Default status"
3048
  msgstr "Standardstatus"
3049
 
3050
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:132
3051
  msgctxt "shipments"
3052
  msgid "Choose a default status for the automatically created shipment."
3053
  msgstr ""
3055
  "standardmäßig erhält."
3056
 
3057
  # @ woocommerce-germanized
3058
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:144
3059
  msgctxt "shipments"
3060
  msgid "Update status"
3061
  msgstr "Status"
3062
 
3063
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:145
3064
  msgctxt "shipments"
3065
  msgid "Mark order as completed after order is fully shipped."
3066
  msgstr ""
3067
  "Bestellung als fertiggestellt markieren sobald sie komplett versandt wurde."
3068
 
3069
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:145
3070
  msgctxt "shipments"
3071
  msgid ""
3072
  "This option will automatically update the order status to completed as soon "
3076
  "fertiggestellt gesetzt wird, sobald alle notwendigen Sendungen einer "
3077
  "Bestellung versandt wurden."
3078
 
3079
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:152
3080
+ msgctxt "shipments"
3081
+ msgid "Mark as shipped"
3082
+ msgstr "Als versandt markieren"
3083
+
3084
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:153
3085
+ msgctxt "shipments"
3086
+ msgid "Mark shipments as shipped after order completion."
3087
+ msgstr ""
3088
+ "Sendung als versandt markieren, sobald die Bestellung fertiggestellt wurde."
3089
+
3090
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:153
3091
+ msgctxt "shipments"
3092
+ msgid ""
3093
+ "This option will automatically update contained shipments to shipped (if "
3094
+ "possible, e.g. not yet delivered) as soon as the order was marked as "
3095
+ "completed."
3096
+ msgstr ""
3097
+ "Diese Option sorgt dafür, dass der Sendungsstatus automatisch auf versandt "
3098
+ "gesetzt wird, sobald die Bestellung als fertiggestellt markiert wurde."
3099
+
3100
  # @ woocommerce-germanized
3101
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:161
3102
  msgctxt "shipments"
3103
  msgid "Customer Account"
3104
  msgstr "Kundenkonto"
3105
 
3106
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:164
3107
  msgctxt "shipments"
3108
  msgid "List"
3109
  msgstr "Liste"
3110
 
3111
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:165
3112
  msgctxt "shipments"
3113
  msgid "List shipments on customer account order screen."
3114
  msgstr "Liste Sendungen im Kundenkonto in den Bestelldetails auf."
3115
 
3116
  # @ woocommerce-germanized
3117
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:173
3118
  msgctxt "shipments"
3119
  msgid "Return Address"
3120
  msgstr "Retouren Adresse"
3121
 
3122
  # @ woocommerce-germanized
3123
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:176
3124
  msgctxt "shipments"
3125
  msgid "First Name"
3126
  msgstr "Vorname"
3127
 
3128
  # @ woocommerce-germanized
3129
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:183
3130
  msgctxt "shipments"
3131
  msgid "Last Name"
3132
  msgstr "Nachname"
3133
 
3134
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:190
3135
  msgctxt "shipments"
3136
  msgid "Company"
3137
  msgstr "Firma"
3138
 
3139
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:197
3140
  msgctxt "shipments"
3141
  msgid "Address 1"
3142
  msgstr "Adresszeile 1"
3143
 
3144
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:204
3145
  msgctxt "shipments"
3146
  msgid "Address 2"
3147
  msgstr "Adresszeile 2"
3148
 
3149
  # @ woocommerce-germanized
3150
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:211
3151
  msgctxt "shipments"
3152
  msgid "City"
3153
  msgstr "Stadt"
3154
 
3155
  # @ woocommerce-germanized
3156
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:218
3157
  msgctxt "shipments"
3158
  msgid "Country / State"
3159
  msgstr "Land / Bundesland"
3160
 
3161
  # @ woocommerce-germanized
3162
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:226
3163
  msgctxt "shipments"
3164
  msgid "Postcode"
3165
  msgstr "Postleitzahl"
3166
 
3167
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:307
3168
+ msgctxt "shipments"
3169
+ msgid "New provider"
3170
+ msgstr "Neuer Dienstleister"
3171
+
3172
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:339
3173
+ msgctxt "shipments"
3174
+ msgid "Add provider"
3175
+ msgstr "Dienstleister hinzufügen"
3176
+
3177
+ # @ woocommerce-germanized
3178
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:347
3179
+ msgctxt "shipments"
3180
+ msgid "General"
3181
+ msgstr "Allgemein"
3182
+
3183
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:348
3184
+ #: woocommerce-germanized-shipments/src/ShippingProviderMethod.php:56
3185
+ msgctxt "shipments"
3186
+ msgid "Shipping Provider"
3187
+ msgstr "Versanddienstleister"
3188
+
3189
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:164
3190
  #, php-format
3191
  msgctxt "shipments"
3192
  msgid "%d shipment deleted."
3194
  msgstr[0] "%d Sendung gelöscht."
3195
  msgstr[1] "%d Sendungen gelöscht."
3196
 
3197
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:174
3198
  #, php-format
3199
  msgctxt "shipments"
3200
  msgid "%d shipment status changed."
3202
  msgstr[0] "%d Sendungsstatus geändert."
3203
  msgstr[1] "%d Sendungsstatus geändert."
3204
 
3205
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:331
3206
  msgctxt "shipments"
3207
  msgid "No shipments found"
3208
  msgstr "Keine Sendungen gefunden"
3209
 
3210
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:371
3211
  #, php-format
3212
  msgctxt "shipments"
3213
  msgid "All <span class=\"count\">(%s)</span>"
3215
  msgstr[0] "Alle <span class=\"count\">(%s)</span>"
3216
  msgstr[1] "Alle <span class=\"count\">(%s)</span>"
3217
 
3218
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:396
3219
  #, php-format
3220
  msgctxt "shipments"
3221
  msgid " <span class=\"count\">(%s)</span>"
3223
  msgstr[0] " <span class=\"count\">(%s)</span>"
3224
  msgstr[1] " <span class=\"count\">(%s)</span>"
3225
 
3226
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:486
3227
  msgctxt "shipments"
3228
  msgid "Filter by date"
3229
  msgstr "Nach Datum filtern"
3230
 
3231
  # @ woocommerce-germanized
3232
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:488
3233
  msgctxt "shipments"
3234
  msgid "All dates"
3235
  msgstr "Alle Daten"
3236
 
3237
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:503
3238
  #, php-format
3239
  msgid "%1$s %2$d"
3240
  msgstr "%1$s %2$d"
3241
 
3242
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:524
3243
  msgctxt "shipments"
3244
  msgid "Processing bulk actions..."
3245
  msgstr "Bearbeite Mehrfachaktionen.."
3246
 
3247
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:608
3248
  msgctxt "shipments"
3249
  msgid "Filter"
3250
  msgstr "Filtern"
3251
 
3252
  # @ woocommerce-germanized
3253
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:624
3254
+ #: woocommerce-germanized-shipments/src/Ajax.php:757
3255
  #, php-format
3256
  msgctxt "shipments"
3257
  msgid "Order #%s"
3258
  msgstr "Bestellung #%s"
3259
 
3260
  # @ woocommerce
3261
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:629
3262
  msgctxt "shipments"
3263
  msgid "Filter by order"
3264
  msgstr "Nach Bestellung filtern"
3265
 
3266
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:650
3267
  msgctxt "shipments"
3268
  msgid "Address"
3269
  msgstr "Adresse"
3270
 
3271
  # @ woocommerce-germanized
3272
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:651
3273
  msgctxt "shipments"
3274
  msgid "Order"
3275
  msgstr "Bestellung"
3276
 
3277
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:743
3278
  #: woocommerce-germanized-shipments/templates/myaccount/order-shipments.php:73
3279
  #, php-format
3280
  msgctxt "shipment title"
3281
  msgid "%s #%s"
3282
  msgstr "%s #%s"
3283
 
3284
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:756
3285
+ #, php-format
3286
+ msgctxt "shipments"
3287
+ msgid "via %s"
3288
+ msgstr "via %s"
3289
+
3290
+ # @ woocommerce-germanized
3291
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:823
3292
+ #: woocommerce-germanized-shipments/src/Ajax.php:282
3293
+ msgctxt "shipments"
3294
+ msgid "Download label"
3295
+ msgstr "Label downloaden"
3296
+
3297
+ # @ woocommerce-germanized
3298
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:832
3299
+ msgctxt "shipments"
3300
+ msgid "Generate label"
3301
+ msgstr "Label erstellen"
3302
+
3303
  # @ woocommerce-germanized
3304
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:882
3305
  #, php-format
3306
  msgctxt "shipments"
3307
  msgid "Select %s"
3308
  msgstr "Wähle %s"
3309
 
3310
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:909
3311
  msgctxt "shipments"
3312
  msgid "SKU:"
3313
  msgstr "Art.-Nr.:"
3314
 
3315
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1003
3316
  #, php-format
3317
  msgctxt "%s = human-readable time difference"
3318
  msgid "%s ago"
3319
  msgstr "vor %s"
3320
 
3321
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1015
3322
  msgctxt "shipments"
3323
  msgid "M j, Y"
3324
  msgstr "d.m.Y"
3325
 
3326
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1072
3327
  msgctxt "shipments"
3328
  msgid "Delete Permanently"
3329
  msgstr "Unwiderruflich löschen"
3330
 
3331
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1075
3332
  msgctxt "shipments"
3333
  msgid "Change status to processing"
3334
  msgstr "Status zu in Bearbeitung ändern"
3335
 
3336
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1076
3337
  msgctxt "shipments"
3338
  msgid "Change status to shipped"
3339
  msgstr "Status zu versandt ändern"
3340
 
3341
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1077
3342
  msgctxt "shipments"
3343
  msgid "Change status to delivered"
3344
  msgstr "Status zu geliefert ändern"
3345
 
3346
+ # @ woocommerce-germanized
3347
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1078
3348
+ msgctxt "shipments"
3349
+ msgid "Generate and download labels"
3350
+ msgstr "Labels erstellen und downloaden"
3351
+
3352
+ #: woocommerce-germanized-shipments/src/Ajax.php:93
3353
+ msgctxt "shipments"
3354
+ msgid "Label successfully sent to customer."
3355
+ msgstr "Label erfolgreich an den Kunden zugestellt."
3356
+
3357
+ #: woocommerce-germanized-shipments/src/Ajax.php:100
3358
+ msgctxt "shipments"
3359
+ msgid "There was an error while sending the label."
3360
+ msgstr "Beim Versendes des Labels ist ein Fehler aufgetreten."
3361
+
3362
+ #: woocommerce-germanized-shipments/src/Ajax.php:120
3363
+ msgctxt "shipments"
3364
+ msgid "There was an error creating the label."
3365
+ msgstr "Beim Erstellen des Labels ist ein Fehler aufgetreten."
3366
+
3367
+ #: woocommerce-germanized-shipments/src/Ajax.php:156
3368
+ msgctxt "shipments"
3369
+ msgid "There was an error deleting the label."
3370
+ msgstr "Beim Löschen des Labels ist ein Fehler aufgetreten."
3371
+
3372
+ #: woocommerce-germanized-shipments/src/Ajax.php:197
3373
+ msgctxt "shipments"
3374
+ msgid "There was an error processing the label."
3375
+ msgstr "Bei der Verarbeitung des Labels ist ein Fehler aufgetreten."
3376
+
3377
+ #: woocommerce-germanized-shipments/src/Ajax.php:294
3378
+ msgctxt "shipments"
3379
+ msgid "There was an error while trying to save the shipping provider status."
3380
+ msgstr ""
3381
+ "Beim Speichern des Status des Versanddienstleisters trat ein Fehler auf."
3382
+
3383
+ #: woocommerce-germanized-shipments/src/Ajax.php:332
3384
+ msgctxt "shipments"
3385
+ msgid "There was an error while trying to delete the shipping provider."
3386
+ msgstr "Beim Löschen des Versanddienstleisters trat ein Fehler auf."
3387
+
3388
+ #: woocommerce-germanized-shipments/src/Ajax.php:365
3389
  msgctxt "shipments"
3390
  msgid "There was an error while bulk processing shipments."
3391
  msgstr ""
3392
  "Bei der Verarbeitung der Mehrfachaktionen von Sendungen trat ein Fehler auf."
3393
 
3394
+ #: woocommerce-germanized-shipments/src/Ajax.php:477
3395
+ #: woocommerce-germanized-shipments/src/Ajax.php:575
3396
+ #: woocommerce-germanized-shipments/src/Ajax.php:631
3397
+ #: woocommerce-germanized-shipments/src/Ajax.php:668
3398
+ #: woocommerce-germanized-shipments/src/Ajax.php:789
3399
+ #: woocommerce-germanized-shipments/src/Ajax.php:855
3400
+ #: woocommerce-germanized-shipments/src/Ajax.php:898
3401
+ #: woocommerce-germanized-shipments/src/Ajax.php:949
3402
+ #: woocommerce-germanized-shipments/src/Ajax.php:1017
3403
+ #: woocommerce-germanized-shipments/src/Ajax.php:1062
3404
+ #: woocommerce-germanized-shipments/src/Ajax.php:1117
3405
+ #: woocommerce-germanized-shipments/src/Ajax.php:1161
3406
  msgctxt "shipments"
3407
  msgid "There was an error processing the shipment"
3408
  msgstr "Fehler bei der Verarbeitung der Sendung"
3409
 
3410
+ #: woocommerce-germanized-shipments/src/Ajax.php:518
3411
  msgctxt "shipments"
3412
  msgid "There was an error while adding the shipment"
3413
  msgstr "Beim Hinzufügen der Sendung ist ein Fehler aufgetreten"
3414
 
3415
+ #: woocommerce-germanized-shipments/src/Ajax.php:539
3416
  msgctxt "shipments"
3417
  msgid "This order contains enough shipments already."
3418
  msgstr "Diese Bestellung beinhaltet bereits genug Sendungen."
3599
  msgstr "Anzahl."
3600
 
3601
  # @ woocommerce-germanized
3602
+ #: woocommerce-germanized-shipments/src/Automation.php:112
3603
  msgctxt "shipments"
3604
  msgid "Order is fully shipped."
3605
  msgstr "Bestellung ist vollständig versandt."
3609
  msgid "Invalid shipment item."
3610
  msgstr "Ungültige Sendungsposition."
3611
 
3612
+ #: woocommerce-germanized-shipments/src/DataStores/ShippingProvider.php:250
3613
+ msgctxt "shipments"
3614
+ msgid "Invalid shipping provider."
3615
+ msgstr "Versanddienstleister nicht bekannt."
3616
+
3617
  #: woocommerce-germanized-shipments/src/ReturnShipment.php:366
3618
+ #: woocommerce-germanized-shipments/src/Shipment.php:842
3619
  #, php-format
3620
  msgctxt "full name"
3621
  msgid "%1$s %2$s"
3627
  msgid "Invalid shipment"
3628
  msgstr "Ungültige Sendung"
3629
 
3630
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:398
3631
+ msgctxt "shipments"
3632
+ msgid "Choose a title for the shipping provider."
3633
+ msgstr "Wählen Sie einen Titel für den Versanddienstleister."
3634
+
3635
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:407
3636
+ msgctxt "shipments"
3637
+ msgid "Choose a description for the shipping provider."
3638
+ msgstr "Wählen Sie eine Beschreibung für den Versanddienstleister."
3639
+
3640
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:416
3641
+ msgctxt "shipments"
3642
+ msgid "Tracking URL"
3643
+ msgstr "Sendungsverfolgung URL"
3644
+
3645
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:417
3646
+ #, php-format
3647
+ msgctxt "shipments"
3648
+ msgid ""
3649
+ "Adjust the placeholder used to construct the tracking URL for this shipping "
3650
+ "provider. You may use on of the following placeholders to insert the "
3651
+ "tracking id or other dynamic data: %s"
3652
+ msgstr ""
3653
+ "Passen Sie den Platzhalter zur Konstruktion der URL zur Sendungsverfolgung "
3654
+ "für den Versanddienstleister an. Sie können einen der folgenden Platzhalter "
3655
+ "verwenden um die Paketverfolgungsnummer oder andere dynamische Daten "
3656
+ "einzufügen: %s"
3657
+
3658
+ # @ woocommerce-germanized
3659
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:427
3660
+ msgctxt "shipments"
3661
+ msgid "Tracking description"
3662
+ msgstr "Sendungsverfolgung Hinweis"
3663
+
3664
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:428
3665
  #, php-format
3666
  msgctxt "shipments"
3667
  msgid ""
3668
+ "Adjust the placeholder used to construct the tracking description for this "
3669
+ "shipping provider (e.g. used within notification emails). You may use on of "
3670
+ "the following placeholders to insert the tracking id or other dynamic data: "
3671
+ "%s"
3672
  msgstr ""
3673
+ "Passen Sie den Platzhalter zur Konstruktion des Hinweises zur "
3674
+ "Sendungsverfolgung für den Versanddienstleister an. Sie können einen der "
3675
+ "folgenden Platzhalter verwenden um die Paketverfolgungsnummer oder andere "
3676
+ "dynamische Daten einzufügen: %s"
3677
+
3678
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:432
3679
+ msgctxt "shipments"
3680
+ msgid ""
3681
+ "Your shipment is being processed by {shipping_provider}. If you want to "
3682
+ "track the shipment, please use the following tracking number: {tracking_id}. "
3683
+ "Depending on the chosen shipping method it is possible that the tracking "
3684
+ "data does not reflect the current status when receiving this email."
3685
+ msgstr ""
3686
+ "Ihre Sendung wurde mit {shipping_provider} versandt. Wenn Sie diese Sendung "
3687
+ "verfolgen möchten, benutzen Sie bitte diese Paketverfolgungsnummer: "
3688
+ "{tracking_id}. Abhängig von der gewählten Versandoption kann es sein, dass "
3689
+ "die Paketverfolgungsdaten zum Zeitpunkt des Erhalts dieser E-Mail noch nicht "
3690
+ "den neuesten Stand wiedergeben."
3691
+
3692
+ #: woocommerce-germanized-shipments/src/ShippingProviderMethod.php:50
3693
+ msgctxt "shipments"
3694
+ msgid "Shipping Provider Settings"
3695
+ msgstr "Versanddienstleister Einstellungen"
3696
+
3697
+ #: woocommerce-germanized-shipments/src/ShippingProviderMethod.php:53
3698
+ msgctxt "shipments"
3699
+ msgid "Adjust shipping provider settings used for managing shipments."
3700
+ msgstr ""
3701
+ "Passen Sie Einstellungen zu den Versanddienstleistern für Sendungen an."
3702
+
3703
+ #: woocommerce-germanized-shipments/src/ShippingProviderMethod.php:68
3704
+ msgctxt "shipments"
3705
+ msgid ""
3706
+ "Choose a shipping provider which will be selected by default for an eligible "
3707
+ "shipment."
3708
+ msgstr ""
3709
+ "Wählen Sie einen Versanddienstleister aus, der standardmäßig für eine "
3710
+ "infrage kommende Sendung hinterlegt wird."
3711
 
3712
  #: woocommerce-germanized-shipments/templates/emails/customer-shipment.php:33
3713
  #: woocommerce-germanized-shipments/templates/emails/plain/customer-shipment.php:28
3880
  # @ woocommerce-germanized
3881
  #: woocommerce-germanized/includes/abstracts/abstract-wc-gzd-product.php:549
3882
  #: woocommerce-germanized/includes/abstracts/abstract-wc-gzd-product.php:559
3883
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:387
3884
  #: woocommerce-germanized/includes/wc-gzd-template-functions.php:546
3885
  msgid "incl. VAT"
3886
  msgstr "inkl. MwSt."
3892
 
3893
  # @ woocommerce-germanized
3894
  #: woocommerce-germanized/includes/abstracts/abstract-wc-gzd-product.php:551
3895
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:387
3896
  #, php-format
3897
  msgid "incl. %s%% VAT"
3898
  msgstr "inkl. %s %% MwSt."
4011
 
4012
  # @ woocommerce-germanized
4013
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-legal-checkboxes.php:122
4014
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:421
4015
  msgid "Downloadable Product"
4016
  msgstr "Herunterladbares Produkt"
4017
 
4018
  # @ woocommerce-germanized
4019
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-legal-checkboxes.php:123
4020
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:422
4021
  msgid "Virtual Product"
4022
  msgstr "Virtuelles Produkt"
4023
 
4024
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-legal-checkboxes.php:124
4025
  #: woocommerce-germanized/includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:46
4026
  #: woocommerce-germanized/includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data.php:150
4027
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:423
4028
  #: woocommerce-germanized/includes/class-wc-gzd-legal-checkbox-manager.php:140
4029
  msgid "Service"
4030
  msgstr "Dienstleistung"
4121
 
4122
  # @ woocommerce-germanized
4123
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-product-categories.php:82
4124
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:412
4125
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:515
4126
  msgid "None"
4127
  msgstr "Keine"
4128
 
4152
  msgid "Start tutorial"
4153
  msgstr "Tutorial starten"
4154
 
 
 
 
 
 
 
4155
  # @ woocommerce-germanized
4156
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-setup-wizard.php:99
4157
  msgid "Import settings"
4272
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-status.php:45
4273
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:53
4274
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:136
4275
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:237
4276
  msgid "Terms & Conditions"
4277
  msgstr "AGB"
4278
 
4286
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-status.php:47
4287
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:84
4288
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:136
4289
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:239
4290
  msgid "Imprint"
4291
  msgstr "Impressum"
4292
 
4298
  # @ woocommerce-germanized
4299
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-status.php:49
4300
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:104
4301
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:244
4302
  msgid "Payment Methods"
4303
  msgstr "Zahlungarten"
4304
 
4391
 
4392
  # @ woocommerce-germanized
4393
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin.php:423
4394
+ #: woocommerce-germanized/includes/admin/settings/abstract-wc-gzd-settings-tab.php:110
4395
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-germanized.php:23
4396
  #: woocommerce-germanized/includes/admin/settings/views/html-admin-settings-tabs.php:9
4397
  #: woocommerce-germanized/includes/admin/views/html-page-status-germanized.php:27
4455
  # @ woocommerce-germanized
4456
  #: woocommerce-germanized/includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:90
4457
  #: woocommerce-germanized/includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data.php:197
4458
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:228
4459
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:260
4460
  #: woocommerce-germanized/includes/compatibility/elementor/widgets/class-wc-gzd-elementor-widget-product-units.php:10
4461
  msgid "Product Units"
4462
  msgstr "Produkteinheiten"
4659
  msgid "Upgrade now"
4660
  msgstr "Jetzt upgraden"
4661
 
4662
+ #: woocommerce-germanized/includes/admin/settings/abstract-wc-gzd-settings-tab.php:148
4663
  msgid "Learn more"
4664
  msgstr "Mehr erfahren"
4665
 
5116
  # @ woocommerce-germanized
5117
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-emails.php:31
5118
  msgid "Visibility"
5119
+ msgstr "Darstellung"
5120
 
5121
  # @ woocommerce-germanized
5122
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-emails.php:32
5528
 
5529
  # @ woocommerce-germanized
5530
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:219
5531
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:367
5532
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-taxes.php:154
5533
  msgid "Notice Text"
5534
  msgstr "Hinweistext"
5540
  "Passen Sie hier, falls notwending, den Kleinunternehmer Hinweistext an."
5541
 
5542
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:227
5543
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:302
5544
  msgid ""
5545
  "Value added tax is not collected, as small businesses according to §19 (1) "
5546
  "UStG."
5658
  "Platzhalter für den höchsten Preis."
5659
 
5660
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-general.php:304
5661
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:739
5662
  msgid "{min_price} &ndash; {max_price}"
5663
  msgstr "{min_price} &ndash; {max_price}"
5664
 
5793
  msgid "Shipments"
5794
  msgstr "Sendungen"
5795
 
 
 
 
 
 
5796
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:20
5797
  msgid ""
5798
  "Adjust shopmark related settings. Choose which and where they shall be "
5819
  msgstr "Preishinweise"
5820
 
5821
  #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:44
5822
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:206
5823
  msgid "Widgets & Blocks"
5824
  msgstr "Widgets & Blöcke"
5825
 
5826
+ # @ woocommerce-germanized
5827
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:45
5828
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:251
5829
+ msgid "E-Mails"
5830
+ msgstr "E-Mails"
5831
+
5832
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:64
5833
  msgid "Shopmark Display"
5834
  msgstr "Preisauszeichnung"
5835
 
5836
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:65
5837
  msgid ""
5838
  "By adjusting the display settings you might determine where to show or hide "
5839
  "your shopmarks e.g. the tax notice on single product pages."
5843
  "aktivieren oder deaktivieren."
5844
 
5845
  # @ woocommerce-germanized
5846
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:83
5847
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:326
5848
  msgid "Location"
5849
  msgstr "Ort"
5850
 
5851
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:84
5852
  msgid ""
5853
  "Adjust the location of the shopmark by selecting a location from the list. "
5854
  "Some Themes might apply the locations at different positions that's why the "
5859
  "an unterschiedlichen Stellen aus, sodass das Ergebnis u.U. von Theme zu "
5860
  "Theme abweichen kann."
5861
 
5862
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:97
5863
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:341
5864
  msgid "Priority"
5865
  msgstr "Priorität"
5866
 
5867
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:98
5868
  msgid ""
5869
  "Many different information may be attached to the location selected. By "
5870
  "adjusting the priority you can choose whether the shopmark gets applied "
5876
  "soll."
5877
 
5878
  # @ woocommerce-germanized
5879
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:116
5880
  #: woocommerce-germanized/includes/admin/views/html-page-status-germanized.php:50
5881
  msgid "Default Delivery Time"
5882
  msgstr "Standard-Lieferzeit"
5883
 
5884
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:117
5885
  msgid ""
5886
  "Choose a delivery time that serves as fallback in case no delivery time was "
5887
  "added to the product."
5889
  "Wählen Sie eine Lieferzeit, die verwendet wird, wenn dem Produkt keine "
5890
  "Lieferzeit zugeordnet wurde."
5891
 
5892
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:130
5893
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:441
5894
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:488
5895
  msgid "Format"
5896
  msgstr "Format"
5897
 
5898
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:131
5899
  msgid ""
5900
  "You may want to adjust the delivery time output format. You might use "
5901
  "{delivery_time} to output the current product's delivery time."
5904
  "Platzhalter zur Ausgabe der Lieferzeit des Produktes."
5905
 
5906
  # @ woocommerce-germanized
5907
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:149
5908
  msgid "Default Sale Label"
5909
  msgstr "Standard-Streichpreis"
5910
 
5911
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:150
5912
  msgid ""
5913
  "Price labels are added to sale products to inform the customers of the "
5914
  "different prices' meaning. You may add a fallback label in case a product "
5919
  "Standard-Hinweise, um sicherzustellen, dass für Produkte ohne abweichenden "
5920
  "Hinweis im Zweifel der Standard-Hinweis verwendet wird."
5921
 
5922
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:191
5923
  msgid "Adjust Product Widgets & Blocks visibility options."
5924
  msgstr "Passen Sie die Anzeige in Widgets & Blöcken an."
5925
 
5926
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:195
5927
  #, php-format
5928
  msgid ""
5929
  "Adjust %s visibility options and choose which shopmarks to be displayed at "
5933
  "aus welche Auszeichnungen an welchen Orten angezeigt werden sollen."
5934
 
5935
  # @ woocommerce-germanized
5936
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:207
5937
  msgid "Shipping Costs notice"
5938
  msgstr "Versandkosten-Hinweis"
5939
 
5940
  # @ woocommerce-germanized
5941
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:214
5942
  msgid "Tax Info"
5943
  msgstr "MwSt. Hinweis"
5944
 
5945
  # @ woocommerce-germanized
5946
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:221
5947
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:252
5948
  msgid "Base Price"
5949
  msgstr "Grundpreis"
5950
 
5951
  # @ woocommerce-germanized
5952
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:235
5953
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:268
5954
  msgid "Delivery Time Notice"
5955
  msgstr "Lieferzeiten-Hinweis"
5956
 
5957
+ # @ woocommerce-germanized
5958
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:276
5959
+ msgid "Short Description"
5960
+ msgstr "Warenkorbkurzbeschreibung"
5961
+
5962
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:299
5963
  #, php-format
5964
  msgid "Show %s shopmark"
5965
  msgstr "Preisauszeichnung „%s“ anzeigen"
5966
 
5967
  # @ woocommerce-germanized
5968
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:307
5969
  msgid "Tax"
5970
  msgstr "Steuer"
5971
 
5972
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:308
5973
  msgid "Show Tax shopmark"
5974
  msgstr "Preisauszeichnung „Steuer“ anzeigen"
5975
 
5976
  # @ woocommerce-germanized
5977
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:316
5978
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:361
5979
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:245
5980
  msgid "Shipping Costs"
5981
  msgstr "Versandkosten"
5982
 
5983
  # @ woocommerce-germanized
5984
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:317
5985
  msgid "Show Shipping Costs shopmark"
5986
  msgstr "Preisauszeichnung „Versandkosten“ anzeigen"
5987
 
5988
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:327
5989
  msgid ""
5990
  "Choose a location for the shopmark. Locations are mapped to specific "
5991
  "WooCommerce hooks and may differ from Theme to Theme."
5994
  "WooCommerce an bestimmte Hooks gebunden und können sich von Theme zu Theme "
5995
  "unterscheiden."
5996
 
5997
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:342
5998
  #, php-format
5999
  msgid ""
6000
  "Choose a priority by which the shopmark should be attached to the location. "
6006
  "Preisauszeichnung hinzugefügt. Standard ist %d."
6007
 
6008
  # @ woocommerce-germanized
6009
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:368
6010
  msgid ""
6011
  "This text will be used to inform the customer about shipping costs. Use "
6012
  "{link}{/link} to insert link to shipping costs page."
6016
  "Link zur Versandkosten-Seite einzufügen."
6017
 
6018
  # @ woocommerce-germanized
6019
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:373
6020
  msgid "plus {link}Shipping Costs{/link}"
6021
  msgstr "zzgl. {link}Versandkosten{/link}"
6022
 
6023
  # @ woocommerce-germanized
6024
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:376
6025
  msgid "Free Shipping Text"
6026
  msgstr "Kostenloser Versand Text"
6027
 
6028
  # @ woocommerce-germanized
6029
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:377
6030
  msgid ""
6031
  "This text will be used to inform the customer about free shipping. Leave "
6032
  "empty to disable notice. Use {link}{/link} to insert link to shipping costs "
6037
  "zur Versandkosten-Seite einzufügen."
6038
 
6039
  # @ woocommerce-germanized
6040
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:387
6041
  msgid "Footer"
6042
  msgstr "Footer"
6043
 
6044
  # @ woocommerce-germanized
6045
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:390
6046
  msgid "Notice"
6047
  msgstr "Hinweis"
6048
 
6049
  # @ woocommerce-germanized
6050
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:391
6051
  msgid "Attach a global VAT notice to your footer."
6052
  msgstr "Einen seitenübergreifenden MwSt.-Hinweis im Footer einfügen."
6053
 
6054
  # @ woocommerce-germanized
6055
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:398
6056
  msgid "Attach a global sale price notice to your footer."
6057
  msgstr ""
6058
  "Einen seitenübergreifenden Hinweis zu reduzierten Preisen im Footer einfügen."
6059
 
6060
  # @ woocommerce-germanized
6061
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:430
6062
  msgid "Fallback"
6063
  msgstr "Fallback"
6064
 
6065
  # @ woocommerce-germanized
6066
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:431
6067
  msgid ""
6068
  "This delivery time will be added to every product if no delivery time has "
6069
  "been chosen individually"
6072
  "zugeordnet wurde"
6073
 
6074
  # @ woocommerce-germanized
6075
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:438
6076
  msgid "Manage Delivery Times"
6077
  msgstr "Lieferzeiten verwalten"
6078
 
6079
  # @ woocommerce-germanized
6080
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:442
6081
  msgid ""
6082
  "This text will be used to indicate delivery time for products. Use "
6083
  "{delivery_time} as placeholder."
6086
  "{delivery_time} als Platzhalter verwenden."
6087
 
6088
  # @ woocommerce-germanized
6089
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:446
6090
  msgid "Delivery time: {delivery_time}"
6091
  msgstr "Lieferzeit: {delivery_time}"
6092
 
6093
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:449
6094
  msgid "Digital text"
6095
  msgstr "Digitaler Text"
6096
 
6097
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:453
6098
  msgid ""
6099
  "Enter a text which will be shown as digital delivery time text (replacement "
6100
  "for default digital time on digital products)."
6104
  "einfach leer lassen."
6105
 
6106
  # @ woocommerce
6107
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:456
6108
  msgid "Backorder"
6109
  msgstr "Lieferrückstand"
6110
 
6111
  # @ woocommerce-germanized
6112
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:457
6113
  msgid "Hide delivery time if a product is on backorder."
6114
  msgstr "Lieferzeit ausblenden falls das Produkt im Lieferrückstand ist."
6115
 
6116
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:463
6117
  msgid "Not in Stock"
6118
  msgstr "Nicht auf Lager"
6119
 
6120
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:464
6121
  msgid "Hide delivery time if a product is not in stock."
6122
  msgstr "Lieferzeit ausblenden falls das Produkt nicht auf Lager ist."
6123
 
6124
  # @ woocommerce-germanized
6125
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:470
6126
  msgid "Hide Notice"
6127
  msgstr "Hinweis ausblenden"
6128
 
6129
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:471
6130
  msgid ""
6131
  "Select product types for which you might want to disable the delivery time "
6132
  "notice."
6135
  "deaktivieren möchten."
6136
 
6137
  # @ woocommerce-germanized
6138
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:489
6139
  msgid ""
6140
  "This text will be used to display the base price. Use {price} to insert the "
6141
  "price. If you want to specifically format base price output use {base}, "
6147
  "{unit} und {base_price} für die einzelnen Elemente."
6148
 
6149
  # @ woocommerce-germanized
6150
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:493
6151
  msgid "{price}"
6152
  msgstr "{price}"
6153
 
6154
  # @ woocommerce-germanized
6155
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:496
6156
  msgid "Variable Price"
6157
  msgstr "Variabler Preis"
6158
 
6159
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:497
6160
  msgid "Enable price range base prices for variable products."
6161
  msgstr "Aktiviert von-bis-Grundpreise für variable Produkte."
6162
 
6163
  # @ woocommerce-germanized
6164
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:503
6165
  msgid "Product units format"
6166
  msgstr "Produkteinheiten Format"
6167
 
6168
  # @ woocommerce-germanized
6169
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:504
6170
  msgid ""
6171
  "This text will be used to display the product units. Use {product_units} to "
6172
  "insert the amount of product units. Use {unit} to insert the unit. "
6178
  "formatierten Grundpreis."
6179
 
6180
  # @ woocommerce-germanized
6181
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:508
6182
  msgid "Product contains: {product_units} {unit}"
6183
  msgstr "Produkt enthält: {product_units} {unit}"
6184
 
6185
  # @ woocommerce-germanized
6186
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:520
6187
  msgid "Fallback Sale Label"
6188
  msgstr "Standard-Streichpreis-Hinweis"
6189
 
6190
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:527
6191
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:537
6192
  msgid "Manage Price Labels"
6193
  msgstr "Preishinweise verwalten"
6194
 
6195
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:527
6196
  msgid ""
6197
  "Choose whether you would like to have a default sale price label to inform "
6198
  "the customer about the regular price (e.g. Recommended Retail Price)."
6201
  "Sie den Kunden auf den alten Preis (bei reduzierten Produkten, sog. "
6202
  "Streichpreis) hinweisen (z.B. UVP)."
6203
 
6204
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:530
6205
  msgid "Fallback Regular Label"
6206
  msgstr "Standard-Angebotspreis"
6207
 
6208
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:537
6209
  msgid ""
6210
  "Choose whether you would like to have a default sale price regular label to "
6211
  "inform the customer about the sale price (e.g. New Price)."
6215
  "Angebotspreis) hinweisen (z.B. Unser neuer Preis)."
6216
 
6217
  # @ woocommerce-germanized
6218
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:541
6219
  #: woocommerce-germanized/src/Shopmarks.php:294
6220
  msgid "Single Product"
6221
  msgstr "Produktdetailseite"
6222
 
6223
  # @ woocommerce-germanized
6224
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:542
6225
  msgid "Show price labels on single product page."
6226
  msgstr "Zeige Preishinweise auf der Produktdetailseite."
6227
 
6228
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:549
6229
  msgid "Loop"
6230
  msgstr "Produktlisten"
6231
 
6232
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php:550
6233
  msgid "Show price labels in product loops."
6234
  msgstr "Zeige Preishinweise in Produktlisten."
6235
 
7503
  msgstr "Danke, dass Sie ein Konto bei %s erstellt haben."
7504
 
7505
  # @ woocommerce-germanized
7506
+ #: woocommerce-germanized/includes/class-wc-gzd-emails.php:1002
7507
  msgctxt "revocation-form"
7508
  msgid "Forward your Revocation online"
7509
  msgstr "Widerruf online erklären"
7510
 
7511
  # @ woocommerce-germanized
7512
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:148
7513
  #, php-format
7514
  msgid ""
7515
  "Please install <a href=\"%s\" target=\"_blank\">WooCommerce</a> before "
7518
  "Bitte installieren Sie <a href=\"%s\" target=\"_blank\">WooCommerce</a> "
7519
  "bevor Sie WooCommerce Germanized installieren. Vielen Dank!"
7520
 
7521
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:427
7522
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:441
7523
+ msgid "Reduced rate"
7524
+ msgstr "Ermäßigter Steuersatz"
7525
+
7526
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:483
7527
+ #, php-format
7528
+ msgctxt "vat-rate-import"
7529
+ msgid "VAT %s"
7530
+ msgstr "MwSt. %s"
7531
+
7532
  # @ woocommerce-germanized
7533
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:587
7534
  msgctxt "Page slug"
7535
  msgid "data-security"
7536
  msgstr "datenschutzerklaerung"
7537
 
7538
  # @ woocommerce-germanized
7539
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:588
7540
  msgctxt "Page title"
7541
  msgid "Data Security Statement"
7542
  msgstr "Datenschutzerklärung"
7543
 
7544
  # @ woocommerce-germanized
7545
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:592
7546
  msgctxt "Page slug"
7547
  msgid "imprint"
7548
  msgstr "impressum"
7549
 
7550
  # @ woocommerce-germanized
7551
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:593
7552
  msgctxt "Page title"
7553
  msgid "Imprint"
7554
  msgstr "Impressum"
7555
 
7556
  # @ woocommerce-germanized
7557
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:597
7558
  msgctxt "Page slug"
7559
  msgid "terms"
7560
  msgstr "agb"
7561
 
7562
  # @ woocommerce-germanized
7563
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:598
7564
  msgctxt "Page title"
7565
  msgid "Terms & Conditions"
7566
  msgstr "AGB"
7567
 
7568
  # @ woocommerce-germanized
7569
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:602
7570
  msgctxt "Page slug"
7571
  msgid "revocation"
7572
  msgstr "widerrufsbelehrung"
7573
 
7574
  # @ woocommerce-germanized
7575
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:603
7576
  msgctxt "Page title"
7577
  msgid "Power of Revocation"
7578
  msgstr "Widerrufsbelehrung"
7579
 
7580
  # @ woocommerce-germanized
7581
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:607
7582
  msgctxt "Page slug"
7583
  msgid "shipping-methods"
7584
  msgstr "versandarten"
7585
 
7586
  # @ woocommerce-germanized
7587
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:608
7588
  msgctxt "Page title"
7589
  msgid "Shipping Methods"
7590
  msgstr "Versandarten"
7591
 
7592
  # @ woocommerce-germanized
7593
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:612
7594
  msgctxt "Page slug"
7595
  msgid "payment-methods"
7596
  msgstr "bezahlmoeglichkeiten"
7597
 
7598
  # @ woocommerce-germanized
7599
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:613
7600
  msgctxt "Page title"
7601
  msgid "Payment Methods"
7602
  msgstr "Zahlungsarten"
8164
 
8165
  # @ woocommerce-germanized
8166
  #: woocommerce-germanized/includes/class-wc-gzd-revocation.php:52
8167
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:493
8168
  msgid "Mr."
8169
  msgstr "Herr"
8170
 
8171
  # @ woocommerce-germanized
8172
  #: woocommerce-germanized/includes/class-wc-gzd-revocation.php:53
8173
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:494
8174
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:511
8175
  msgid "Ms."
8176
  msgstr "Frau"
8177
 
8996
  "Aktiviert die Zahlungsart nur dann, wenn der Kunde bereits eine Bestellung "
8997
  "erfolgreich abgeschlossen hat."
8998
 
8999
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:192
9000
  msgid ">= 12 years"
9001
  msgstr ">= 12 Jahre"
9002
 
9003
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:193
9004
  msgid ">= 16 years"
9005
  msgstr ">= 16 Jahre"
9006
 
9007
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:194
9008
  msgid ">= 18 years"
9009
  msgstr ">= 18 Jahre"
9010
 
9011
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:195
9012
  msgid ">= 21 years"
9013
  msgstr ">= 21 Jahre"
9014
 
9015
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:196
9016
  msgid ">= 25 years"
9017
  msgstr ">= 25 Jahre"
9018
 
9019
  # @ woocommerce-germanized
9020
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:201
9021
  msgctxt "age"
9022
  msgid "None"
9023
  msgstr "Keines"
9024
 
9025
  # @ woocommerce-germanized
9026
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:238
9027
  msgid "Right of Recission"
9028
  msgstr "Widerrufsrecht"
9029
 
9030
  # @ woocommerce-germanized
9031
+ #: woocommerce-germanized/includes/wc-gzd-core-functions.php:240
9032
  msgid "Data Security"
9033
  msgstr "Datenschutzerklärung"
9034
 
10630
  msgid "https://vendidero.de"
10631
  msgstr "https://vendidero.de"
10632
 
10633
+ #~ msgctxt "dhl"
10634
+ #~ msgid "Delete"
10635
+ #~ msgstr "Löschen"
10636
+
10637
+ #, php-format
10638
+ #~ msgctxt "dhl"
10639
+ #~ msgid ""
10640
+ #~ "Adjust DHL settings accordingly. <a href=\"%s\">Global settings</a> will "
10641
+ #~ "be used as fallback."
10642
+ #~ msgstr ""
10643
+ #~ "DHL Einstellungen anpassen. <a href=\"%s\">Globale Einstellungen</a> "
10644
+ #~ "werden als Standard verwendet."
10645
+
10646
+ #~ msgctxt "dhl"
10647
+ #~ msgid "Ship via DHL"
10648
+ #~ msgstr "Mit DHL versenden"
10649
+
10650
+ # @ woocommerce-germanized
10651
+ #~ msgctxt "dhl"
10652
+ #~ msgid "Enables DHL features."
10653
+ #~ msgstr "DHL Funktionen aktivieren."
10654
+
10655
+ #~ msgctxt "dhl"
10656
+ #~ msgid "Download DHL label"
10657
+ #~ msgstr "DHL Label downloaden"
10658
+
10659
+ #, php-format
10660
+ #~ msgid "Available placeholders: %s"
10661
+ #~ msgstr "Verfügbare Platzhalter: %s"
10662
+
10663
+ # @ woocommerce-germanized
10664
+ #~ msgid "Virtual rate"
10665
+ #~ msgstr "Virtueller Steuersatz"
10666
+
10667
+ # @ woocommerce-germanized
10668
+ #~ msgid "Virtual reduced rate"
10669
+ #~ msgstr "Virtueller ermäßigter Steuersatz"
10670
+
10671
  #~ msgctxt "dhl"
10672
  #~ msgid "API Key"
10673
  #~ msgstr "API-Schlüssel"
10809
  #~ msgid "Invoices"
10810
  #~ msgstr "Rechnungen"
10811
 
 
 
 
 
10812
  # @ woocommerce-germanized
10813
  #~ msgid "Email Display Options"
10814
  #~ msgstr "Darstellung"
10817
  #~ msgid "Show within Emails"
10818
  #~ msgstr "In E-Mails anzeigen"
10819
 
 
 
 
 
10820
  # @ woocommerce-germanized
10821
  #~ msgid "Show within Product Listings"
10822
  #~ msgstr "In Produktlisten"
includes/admin/class-wc-gzd-admin-legal-checkboxes.php CHANGED
@@ -173,6 +173,9 @@ class WC_GZD_Admin_Legal_Checkboxes {
173
  'id' => $checkbox->get_form_field_id( 'show_shipping_methods' ),
174
  'default' => array(),
175
  'class' => 'chosen_select',
 
 
 
176
  'options' => $shipping_methods_options,
177
  'type' => 'multiselect',
178
  ),
173
  'id' => $checkbox->get_form_field_id( 'show_shipping_methods' ),
174
  'default' => array(),
175
  'class' => 'chosen_select',
176
+ 'custom_attributes' => array(
177
+ 'data-show_if_' . $checkbox->get_form_field_id( 'show_special' ) => 'shipping_methods',
178
+ ),
179
  'options' => $shipping_methods_options,
180
  'type' => 'multiselect',
181
  ),
includes/admin/class-wc-gzd-admin.php CHANGED
@@ -486,7 +486,7 @@ class WC_GZD_Admin {
486
 
487
  wp_register_script( 'wc-gzd-admin-settings', $assets_path . 'js/admin/settings' . $suffix . '.js', array(
488
  'jquery',
489
- 'woocommerce_settings'
490
  ), WC_GERMANIZED_VERSION, true );
491
 
492
  wp_localize_script(
486
 
487
  wp_register_script( 'wc-gzd-admin-settings', $assets_path . 'js/admin/settings' . $suffix . '.js', array(
488
  'jquery',
489
+ 'woocommerce_admin'
490
  ), WC_GERMANIZED_VERSION, true );
491
 
492
  wp_localize_script(
includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data.php CHANGED
@@ -38,11 +38,11 @@ class WC_Germanized_Meta_Box_Product_Data {
38
  /**
39
  * Listen to product updates to actually transform term meta data to term relationships e.g. for product delivery time.
40
  */
41
- add_action( 'woocommerce_update_product', array( __CLASS__, 'update_after_save' ), 10, 1 );
42
- add_action( 'woocommerce_create_product', array( __CLASS__, 'update_after_save' ), 10, 1 );
43
 
44
- add_action( 'woocommerce_update_product_variation', array( __CLASS__, 'update_after_save' ), 10, 1 );
45
- add_action( 'woocommerce_new_product_variation', array( __CLASS__, 'update_after_save' ), 10, 1 );
46
 
47
  /**
48
  * Product duplication
@@ -71,14 +71,14 @@ class WC_Germanized_Meta_Box_Product_Data {
71
  *
72
  * @param $product_id
73
  */
74
- public static function update_after_save( $product_id ) {
75
 
76
  // Do not update products on checkout - seems to cause problems with WPML
77
  if ( function_exists( 'is_checkout' ) && is_checkout() ) {
78
  return;
79
  }
80
 
81
- $product = wc_get_product( $product_id );
82
  $gzd_product = wc_gzd_get_product( $product );
83
 
84
  if ( $product && $product->get_id() > 0 ) {
@@ -540,7 +540,7 @@ class WC_Germanized_Meta_Box_Product_Data {
540
  // Applies to differential taxation?
541
  $gzd_product->set_differential_taxation( isset( $data['_differential_taxation'] ) ? 'yes' : 'no' );
542
 
543
- if ( isset( $data['_differential_taxation'] ) ) {
544
  $product->set_tax_status( 'shipping' );
545
  }
546
 
38
  /**
39
  * Listen to product updates to actually transform term meta data to term relationships e.g. for product delivery time.
40
  */
41
+ add_action( 'woocommerce_update_product', array( __CLASS__, 'update_after_save' ), 10, 2 );
42
+ add_action( 'woocommerce_create_product', array( __CLASS__, 'update_after_save' ), 10, 2 );
43
 
44
+ add_action( 'woocommerce_update_product_variation', array( __CLASS__, 'update_after_save' ), 10, 2 );
45
+ add_action( 'woocommerce_new_product_variation', array( __CLASS__, 'update_after_save' ), 10, 2 );
46
 
47
  /**
48
  * Product duplication
71
  *
72
  * @param $product_id
73
  */
74
+ public static function update_after_save( $product_id, $product = null ) {
75
 
76
  // Do not update products on checkout - seems to cause problems with WPML
77
  if ( function_exists( 'is_checkout' ) && is_checkout() ) {
78
  return;
79
  }
80
 
81
+ $product = ( ! is_null( $product) ) ? $product : wc_get_product( $product_id );
82
  $gzd_product = wc_gzd_get_product( $product );
83
 
84
  if ( $product && $product->get_id() > 0 ) {
540
  // Applies to differential taxation?
541
  $gzd_product->set_differential_taxation( isset( $data['_differential_taxation'] ) ? 'yes' : 'no' );
542
 
543
+ if ( $gzd_product->is_differential_taxed() ) {
544
  $product->set_tax_status( 'shipping' );
545
  }
546
 
includes/admin/settings/abstract-wc-gzd-settings-tab.php CHANGED
@@ -94,6 +94,10 @@ abstract class WC_GZD_Settings_Tab extends WC_Settings_Page {
94
  }
95
  }
96
 
 
 
 
 
97
  protected function get_breadcrumb() {
98
  $sections = $this->get_sections();
99
  $current_section = $this->get_current_section();
@@ -110,7 +114,7 @@ abstract class WC_GZD_Settings_Tab extends WC_Settings_Page {
110
  $breadcrumb[] = array(
111
  'class' => 'tab',
112
  'href' => ! empty( $current_section ) ? $this->get_link() : '',
113
- 'title' => $this->get_breadcrumb_label( $this->get_label() )
114
  );
115
 
116
  if ( ! empty( $current_section ) ) {
@@ -121,6 +125,8 @@ abstract class WC_GZD_Settings_Tab extends WC_Settings_Page {
121
  );
122
  }
123
 
 
 
124
  /**
125
  * Filter to adjust the breadcrumb items for a certain settings tab.
126
  *
94
  }
95
  }
96
 
97
+ protected function get_additional_breadcrumb_items( $breadcrumb ) {
98
+ return $breadcrumb;
99
+ }
100
+
101
  protected function get_breadcrumb() {
102
  $sections = $this->get_sections();
103
  $current_section = $this->get_current_section();
114
  $breadcrumb[] = array(
115
  'class' => 'tab',
116
  'href' => ! empty( $current_section ) ? $this->get_link() : '',
117
+ 'title' => empty( $current_section ) ? $this->get_breadcrumb_label( $this->get_label() ) : $this->get_label()
118
  );
119
 
120
  if ( ! empty( $current_section ) ) {
125
  );
126
  }
127
 
128
+ $breadcrumb = $this->get_additional_breadcrumb_items( $breadcrumb );
129
+
130
  /**
131
  * Filter to adjust the breadcrumb items for a certain settings tab.
132
  *
includes/admin/settings/class-wc-gzd-settings-tab-shipments.php CHANGED
@@ -35,6 +35,31 @@ class WC_GZD_Settings_Tab_Shipments extends WC_GZD_Settings_Tab {
35
  return Settings::get_sections();
36
  }
37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  protected function get_breadcrumb_label( $label ) {
39
  $current_section = $this->get_current_section();
40
 
@@ -42,9 +67,9 @@ class WC_GZD_Settings_Tab_Shipments extends WC_GZD_Settings_Tab {
42
 
43
  if ( empty( $current_section ) ) {
44
  return $label . '<a href="' . admin_url( 'admin.php?page=wc-gzd-shipments' ) . '" class="page-title-action" target="_blank">' . _x( 'Manage', 'shipments', 'woocommerce-germanized' ) . '</a>';
 
 
45
  }
46
-
47
- return $label;
48
  }
49
 
50
  public function get_pointers() {
35
  return Settings::get_sections();
36
  }
37
 
38
+ public function save() {
39
+ global $current_section;
40
+
41
+ if ( 'provider' === $current_section && isset( $_GET['provider'] ) ) {
42
+ $provider = wc_clean( wp_unslash( $_REQUEST['provider'] ) );
43
+ Settings::save_provider( $provider );
44
+ } else {
45
+ parent::save();
46
+ }
47
+ }
48
+
49
+ public function output() {
50
+ $current_section = $this->get_current_section();
51
+
52
+ if ( 'provider' === $current_section && ! isset( $_GET['provider'] ) ) {
53
+ Settings::output_providers();
54
+ } else {
55
+ parent::output();
56
+ }
57
+ }
58
+
59
+ protected function get_additional_breadcrumb_items( $breadcrumb ) {
60
+ return Settings::get_additional_breadcrumb_items( $breadcrumb );
61
+ }
62
+
63
  protected function get_breadcrumb_label( $label ) {
64
  $current_section = $this->get_current_section();
65
 
67
 
68
  if ( empty( $current_section ) ) {
69
  return $label . '<a href="' . admin_url( 'admin.php?page=wc-gzd-shipments' ) . '" class="page-title-action" target="_blank">' . _x( 'Manage', 'shipments', 'woocommerce-germanized' ) . '</a>';
70
+ } else {
71
+ return $label . Settings::get_section_title_link( $current_section );
72
  }
 
 
73
  }
74
 
75
  public function get_pointers() {
includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php CHANGED
@@ -42,6 +42,7 @@ class WC_GZD_Settings_Tab_Shopmarks extends WC_GZD_Settings_Tab {
42
 
43
  $sections = array_merge( $sections, array(
44
  'product_widgets' => __( 'Widgets & Blocks', 'woocommerce-germanized' ),
 
45
  ) );
46
 
47
  return $sections;
@@ -174,6 +175,8 @@ class WC_GZD_Settings_Tab_Shopmarks extends WC_GZD_Settings_Tab {
174
  $settings = $this->get_price_label_settings();
175
  } elseif ( 'product_widgets' === $current_section ) {
176
  $settings = $this->get_product_widget_settings();
 
 
177
  } elseif ( array_key_exists( $current_section, $display_sections ) ) {
178
  $settings = $this->get_display_settings( $current_section );
179
  }
@@ -240,6 +243,47 @@ class WC_GZD_Settings_Tab_Shopmarks extends WC_GZD_Settings_Tab {
240
  );
241
  }
242
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
243
  protected function get_display_settings( $location ) {
244
  $title = Shopmarks::get_location_title( $location );
245
  $visibility = array(
42
 
43
  $sections = array_merge( $sections, array(
44
  'product_widgets' => __( 'Widgets & Blocks', 'woocommerce-germanized' ),
45
+ 'emails' => __( 'E-Mails', 'woocommerce-germanized' ),
46
  ) );
47
 
48
  return $sections;
175
  $settings = $this->get_price_label_settings();
176
  } elseif ( 'product_widgets' === $current_section ) {
177
  $settings = $this->get_product_widget_settings();
178
+ } elseif ( 'emails' === $current_section ) {
179
+ $settings = $this->get_email_settings();
180
  } elseif ( array_key_exists( $current_section, $display_sections ) ) {
181
  $settings = $this->get_display_settings( $current_section );
182
  }
243
  );
244
  }
245
 
246
+ protected function get_email_settings() {
247
+ return array(
248
+ array( 'title' => '', 'type' => 'title', 'id' => 'email_visibility_options' ),
249
+
250
+ array(
251
+ 'title' => __( 'E-Mails', 'woocommerce-germanized' ),
252
+ 'desc' => __( 'Base Price', 'woocommerce-germanized' ),
253
+ 'id' => 'woocommerce_gzd_display_emails_unit_price',
254
+ 'type' => 'gzd_toggle',
255
+ 'default' => 'yes',
256
+ 'checkboxgroup' => 'start',
257
+ ),
258
+
259
+ array(
260
+ 'desc' => __( 'Product Units', 'woocommerce-germanized' ),
261
+ 'id' => 'woocommerce_gzd_display_emails_product_units',
262
+ 'type' => 'gzd_toggle',
263
+ 'default' => 'yes',
264
+ 'checkboxgroup' => '',
265
+ ),
266
+
267
+ array(
268
+ 'desc' => __( 'Delivery Time Notice', 'woocommerce-germanized' ),
269
+ 'id' => 'woocommerce_gzd_display_emails_delivery_time',
270
+ 'type' => 'gzd_toggle',
271
+ 'default' => 'yes',
272
+ 'checkboxgroup' => '',
273
+ ),
274
+
275
+ array(
276
+ 'desc' => __( 'Short Description', 'woocommerce-germanized' ),
277
+ 'id' => 'woocommerce_gzd_display_emails_product_item_desc',
278
+ 'type' => 'gzd_toggle',
279
+ 'default' => 'yes',
280
+ 'checkboxgroup' => 'end',
281
+ ),
282
+
283
+ array( 'type' => 'sectionend', 'id' => 'email_visibility_options' )
284
+ );
285
+ }
286
+
287
  protected function get_display_settings( $location ) {
288
  $title = Shopmarks::get_location_title( $location );
289
  $visibility = array(
includes/class-wc-gzd-emails.php CHANGED
@@ -614,15 +614,7 @@ class WC_GZD_Emails {
614
 
615
  if ( get_option( 'woocommerce_gzd_differential_taxation_checkout_notices' ) === 'yes' && $is_differential_taxed && apply_filters( 'woocommerce_gzd_show_differential_taxation_in_emails', true, $type ) ) {
616
 
617
- /**
618
- * Filters the general differential taxation notice mark.
619
- *
620
- * @param string $notice The notice mark, e.g. `*`.
621
- *
622
- * @since 1.5.0
623
- *
624
- */
625
- $mark = apply_filters( 'woocommerce_gzd_differential_taxation_notice_text_mark', '** ' );
626
 
627
  /**
628
  * Filters the differential taxation notice text for emails.
614
 
615
  if ( get_option( 'woocommerce_gzd_differential_taxation_checkout_notices' ) === 'yes' && $is_differential_taxed && apply_filters( 'woocommerce_gzd_show_differential_taxation_in_emails', true, $type ) ) {
616
 
617
+ $mark = wc_gzd_get_differential_taxation_mark();
 
 
 
 
 
 
 
 
618
 
619
  /**
620
  * Filters the differential taxation notice text for emails.
includes/class-wc-gzd-install.php CHANGED
@@ -32,7 +32,8 @@ if ( ! class_exists( 'WC_GZD_Install' ) ) :
32
  '2.2.5' => 'updates/woocommerce-gzd-update-2.2.5.php',
33
  '2.3.0' => 'updates/woocommerce-gzd-update-2.3.0.php',
34
  '3.0.0' => 'updates/woocommerce-gzd-update-3.0.0.php',
35
- '3.0.1' => 'updates/woocommerce-gzd-update-3.0.1.php'
 
36
  );
37
 
38
  /**
@@ -164,15 +165,15 @@ if ( ! class_exists( 'WC_GZD_Install' ) ) :
164
  if ( ! in_array( 'virtual-rate', $tax_classes ) || ! in_array( 'virtual-reduced-rate', $tax_classes ) ) {
165
 
166
  if ( ! in_array( 'virtual-rate', $tax_classes ) ) {
167
- array_push( $new_tax_classes, 'Virtual Rate' );
168
  }
169
 
170
  if ( ! in_array( 'virtual-reduced-rate', $tax_classes ) ) {
171
- array_push( $new_tax_classes, 'Virtual Reduced Rate' );
172
  }
173
 
174
  foreach ( $new_tax_classes as $new_tax_class ) {
175
- WC_Tax::create_tax_class( $new_tax_class );
176
  }
177
  }
178
 
@@ -416,11 +417,59 @@ if ( ! class_exists( 'WC_GZD_Install' ) ) :
416
  );
417
 
418
  self::import_rates( $rates, 'virtual-rate' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
419
  }
420
 
421
  private static function import_rates( $rates = array(), $type = '' ) {
422
  global $wpdb;
423
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
424
  if ( ! empty( $rates ) ) {
425
  // Delete rates
426
  $wpdb->delete( $wpdb->prefix . 'woocommerce_tax_rates', array( 'tax_rate_class' => $type ), array( '%s' ) );
@@ -431,7 +480,7 @@ if ( ! class_exists( 'WC_GZD_Install' ) ) :
431
  'tax_rate_country' => $iso,
432
  'tax_rate_state' => '',
433
  'tax_rate' => (string) number_format( (double) wc_clean( $rate ), 4, '.', '' ),
434
- 'tax_rate_name' => 'MwSt. ' . $iso . ( ! empty( $type ) ? ' ' . $type : '' ),
435
  'tax_rate_priority' => 1,
436
  'tax_rate_compound' => 0,
437
  'tax_rate_shipping' => ( strpos( $type, 'virtual' ) !== false ? 0 : 1 ),
32
  '2.2.5' => 'updates/woocommerce-gzd-update-2.2.5.php',
33
  '2.3.0' => 'updates/woocommerce-gzd-update-2.3.0.php',
34
  '3.0.0' => 'updates/woocommerce-gzd-update-3.0.0.php',
35
+ '3.0.1' => 'updates/woocommerce-gzd-update-3.0.1.php',
36
+ '3.0.6' => 'updates/woocommerce-gzd-update-3.0.6.php'
37
  );
38
 
39
  /**
165
  if ( ! in_array( 'virtual-rate', $tax_classes ) || ! in_array( 'virtual-reduced-rate', $tax_classes ) ) {
166
 
167
  if ( ! in_array( 'virtual-rate', $tax_classes ) ) {
168
+ array_push( $new_tax_classes, 'virtual-rate' );
169
  }
170
 
171
  if ( ! in_array( 'virtual-reduced-rate', $tax_classes ) ) {
172
+ array_push( $new_tax_classes, 'virtual-reduced-rate' );
173
  }
174
 
175
  foreach ( $new_tax_classes as $new_tax_class ) {
176
+ WC_Tax::create_tax_class( self::get_tax_class_name( $new_tax_class ), $new_tax_class );
177
  }
178
  }
179
 
417
  );
418
 
419
  self::import_rates( $rates, 'virtual-rate' );
420
+ self::import_rates( array(), 'virtual-reduced-rate' );
421
+ }
422
+
423
+ protected static function get_tax_class_name( $class ) {
424
+ $name = $class;
425
+
426
+ if ( 'reduced-rate' === $class ) {
427
+ $name = __( 'Reduced rate', 'woocommerce' );
428
+ } elseif( 'virtual-rate' === $class ) {
429
+ $name = 'Virtual rate';
430
+ } elseif( 'virtual-reduced-rate' === $class ) {
431
+ $name = 'Virtual reduced rate';
432
+ }
433
+
434
+ return $name;
435
+ }
436
+
437
+ protected static function maybe_find_tax_class( $class, $name = '' ) {
438
+ $names = WC_Tax::get_tax_classes();
439
+
440
+ if ( 'reduced-rate' === $class ) {
441
+ $find = array( 'Reduced rate', __( 'Reduced rate', 'woocommerce' ) );
442
+ } else {
443
+ $find = array( self::get_tax_class_name( $name ) );
444
+ }
445
+
446
+ foreach( $names as $name ) {
447
+
448
+ if ( in_array( $name, $find ) ) {
449
+ return $name;
450
+ }
451
+ }
452
+
453
+ return false;
454
  }
455
 
456
  private static function import_rates( $rates = array(), $type = '' ) {
457
  global $wpdb;
458
 
459
+ if ( ! empty( $type ) ) {
460
+ // Only import if we were able to find the right class slug
461
+ if ( $class_name = self::maybe_find_tax_class( $type ) ) {
462
+ $class_data = WC_Tax::get_tax_class_by( 'name', $class_name );
463
+
464
+ if ( isset( $class_data['slug'] ) ) {
465
+ $type = $class_data['slug'];
466
+ }
467
+ } else {
468
+ // Create tax class first
469
+ WC_Tax::create_tax_class( self::get_tax_class_name( $type ), $type );
470
+ }
471
+ }
472
+
473
  if ( ! empty( $rates ) ) {
474
  // Delete rates
475
  $wpdb->delete( $wpdb->prefix . 'woocommerce_tax_rates', array( 'tax_rate_class' => $type ), array( '%s' ) );
480
  'tax_rate_country' => $iso,
481
  'tax_rate_state' => '',
482
  'tax_rate' => (string) number_format( (double) wc_clean( $rate ), 4, '.', '' ),
483
+ 'tax_rate_name' => sprintf( _x( 'VAT %s', 'vat-rate-import', 'woocommerce-germanized' ), ( $iso . ( ! empty( $type ) ? ' ' . $type : '' ) ) ),
484
  'tax_rate_priority' => 1,
485
  'tax_rate_compound' => 0,
486
  'tax_rate_shipping' => ( strpos( $type, 'virtual' ) !== false ? 0 : 1 ),
includes/class-wc-gzd-product-variation.php CHANGED
@@ -38,6 +38,13 @@ class WC_GZD_Product_Variation extends WC_GZD_Product {
38
  'min_age'
39
  );
40
 
 
 
 
 
 
 
 
41
  public function get_gzd_parent() {
42
  if ( is_null( $this->parent ) ) {
43
  $this->parent = wc_gzd_get_product( $this->child->get_parent_id() );
@@ -46,6 +53,10 @@ class WC_GZD_Product_Variation extends WC_GZD_Product {
46
  return $this->parent;
47
  }
48
 
 
 
 
 
49
  public function get_prop( $prop, $context = 'view' ) {
50
  $meta_key = substr( $prop, 0, 1 ) !== '_' ? '_' . $prop : $prop;
51
 
@@ -59,6 +70,11 @@ class WC_GZD_Product_Variation extends WC_GZD_Product {
59
  } elseif ( in_array( $prop, $this->gzd_variation_inherited_meta_data ) ) {
60
  $value = $this->child->get_meta( $meta_key, true, $context ) ? $this->child->get_meta( $meta_key, true, $context ) : '';
61
 
 
 
 
 
 
62
  // Handle meta data keys which can be empty at variation level to cause inheritance
63
  if ( 'view' === $context && ( ! $value || '' === $value ) ) {
64
  if ( $parent = $this->get_gzd_parent() ) {
@@ -94,4 +110,40 @@ class WC_GZD_Product_Variation extends WC_GZD_Product {
94
  /** This filter is documented in includes/class-wc-gzd-product-variation.php */
95
  return apply_filters( "woocommerce_gzd_get_product_variation_unit", $unit, $this, $this->child );
96
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  }
38
  'min_age'
39
  );
40
 
41
+ protected $gzd_variation_forced_inherited_meta_data = array(
42
+ 'unit',
43
+ 'unit_base',
44
+ 'free_shipping',
45
+ 'differential_taxation',
46
+ );
47
+
48
  public function get_gzd_parent() {
49
  if ( is_null( $this->parent ) ) {
50
  $this->parent = wc_gzd_get_product( $this->child->get_parent_id() );
53
  return $this->parent;
54
  }
55
 
56
+ public function get_forced_inherited_props() {
57
+ return $this->gzd_variation_forced_inherited_meta_data;
58
+ }
59
+
60
  public function get_prop( $prop, $context = 'view' ) {
61
  $meta_key = substr( $prop, 0, 1 ) !== '_' ? '_' . $prop : $prop;
62
 
70
  } elseif ( in_array( $prop, $this->gzd_variation_inherited_meta_data ) ) {
71
  $value = $this->child->get_meta( $meta_key, true, $context ) ? $this->child->get_meta( $meta_key, true, $context ) : '';
72
 
73
+ // Make sure forced inherited meta data (e.g. not choosable from admin view) is rejected if available
74
+ if ( in_array( $prop, $this->gzd_variation_forced_inherited_meta_data ) ) {
75
+ $value = '';
76
+ }
77
+
78
  // Handle meta data keys which can be empty at variation level to cause inheritance
79
  if ( 'view' === $context && ( ! $value || '' === $value ) ) {
80
  if ( $parent = $this->get_gzd_parent() ) {
110
  /** This filter is documented in includes/class-wc-gzd-product-variation.php */
111
  return apply_filters( "woocommerce_gzd_get_product_variation_unit", $unit, $this, $this->child );
112
  }
113
+
114
+ /**
115
+ * Data is being handled by parent product.
116
+ *
117
+ * @param $unit
118
+ */
119
+ public function set_unit( $unit ) {
120
+ parent::set_unit( '' );
121
+ }
122
+
123
+ /**
124
+ * Data is being handled by parent product.
125
+ *
126
+ * @param $base
127
+ */
128
+ public function set_unit_base( $base ) {
129
+ parent::set_unit_base( '' );
130
+ }
131
+
132
+ /**
133
+ * Data is being handled by parent product.
134
+ *
135
+ * @param $free_shipping
136
+ */
137
+ public function set_free_shipping( $free_shipping ) {
138
+ $this->set_prop( 'free_shipping', '' );
139
+ }
140
+
141
+ /**
142
+ * Data is being handled by parent product.
143
+ *
144
+ * @param $diff_taxation
145
+ */
146
+ public function set_differential_taxation( $diff_taxation ) {
147
+ $this->set_prop( 'differential_taxation', '' );
148
+ }
149
  }
includes/gateways/direct-debit/assets/js/iban.min.js CHANGED
@@ -1 +1 @@
1
- !function(e){Array.prototype.map||(Array.prototype.map=function(e){"use strict";if(null==this)throw new TypeError;var n=Object(this),F=n.length>>>0;if("function"!=typeof e)throw new TypeError;for(var t=new Array(F),r=2<=arguments.length?arguments[1]:void 0,A=0;A<F;A++)A in n&&(t[A]=e.call(r,n[A],A,n));return t});var F="A".charCodeAt(0),t="Z".charCodeAt(0);function r(e){return(e=(e=e.toUpperCase()).substr(4)+e.substr(0,4)).split("").map(function(e){var n=e.charCodeAt(0);return F<=n&&n<=t?n-F+10:e}).join("")}function A(e){for(var n,F=e;2<F.length;)n=F.slice(0,9),F=parseInt(n,10)%97+F.slice(n.length);return parseInt(F,10)%97}function n(e,n,F,t){this.countryCode=e,this.length=n,this.structure=F,this.example=t}n.prototype._regex=function(){return this._cachedRegex||(this._cachedRegex=function(e){var n=e.match(/(.{3})/g).map(function(e){var n,F=e.slice(0,1),t=parseInt(e.slice(1),10);switch(F){case"A":n="0-9A-Za-z";break;case"B":n="0-9A-Z";break;case"C":n="A-Za-z";break;case"F":n="0-9";break;case"L":n="a-z";break;case"U":n="A-Z";break;case"W":n="0-9a-z"}return"(["+n+"]{"+t+"})"});return new RegExp("^"+n.join("")+"$")}(this.structure))},n.prototype.isValid=function(e){return this.length==e.length&&this.countryCode===e.slice(0,2)&&this._regex().test(e.slice(4))&&1==A(r(e))},n.prototype.toBBAN=function(e,n){return this._regex().exec(e.slice(4)).slice(1).join(n)},n.prototype.fromBBAN=function(e){if(!this.isValidBBAN(e))throw new Error("Invalid BBAN");var n=("0"+(98-A(r(this.countryCode+"00"+e)))).slice(-2);return this.countryCode+n+e},n.prototype.isValidBBAN=function(e){return this.length-4==e.length&&this._regex().test(e)};var i={};function o(e){i[e.countryCode]=e}o(new n("AD",24,"F04F04A12","AD1200012030200359100100")),o(new n("AE",23,"F03F16","AE070331234567890123456")),o(new n("AL",28,"F08A16","AL47212110090000000235698741")),o(new n("AT",20,"F05F11","AT611904300234573201")),o(new n("AZ",28,"U04A20","AZ21NABZ00000000137010001944")),o(new n("BA",20,"F03F03F08F02","BA391290079401028494")),o(new n("BE",16,"F03F07F02","BE68539007547034")),o(new n("BG",22,"U04F04F02A08","BG80BNBG96611020345678")),o(new n("BH",22,"U04A14","BH67BMAG00001299123456")),o(new n("BR",29,"F08F05F10U01A01","BR9700360305000010009795493P1")),o(new n("CH",21,"F05A12","CH9300762011623852957")),o(new n("CR",21,"F03F14","CR0515202001026284066")),o(new n("CY",28,"F03F05A16","CY17002001280000001200527600")),o(new n("CZ",24,"F04F06F10","CZ6508000000192000145399")),o(new n("DE",22,"F08F10","DE89370400440532013000")),o(new n("DK",18,"F04F09F01","DK5000400440116243")),o(new n("DO",28,"U04F20","DO28BAGR00000001212453611324")),o(new n("EE",20,"F02F02F11F01","EE382200221020145685")),o(new n("ES",24,"F04F04F01F01F10","ES9121000418450200051332")),o(new n("FI",18,"F06F07F01","FI2112345600000785")),o(new n("FO",18,"F04F09F01","FO6264600001631634")),o(new n("FR",27,"F05F05A11F02","FR1420041010050500013M02606")),o(new n("GB",22,"U04F06F08","GB29NWBK60161331926819")),o(new n("GE",22,"U02F16","GE29NB0000000101904917")),o(new n("GI",23,"U04A15","GI75NWBK000000007099453")),o(new n("GL",18,"F04F09F01","GL8964710001000206")),o(new n("GR",27,"F03F04A16","GR1601101250000000012300695")),o(new n("GT",28,"A04A20","GT82TRAJ01020000001210029690")),o(new n("HR",21,"F07F10","HR1210010051863000160")),o(new n("HU",28,"F03F04F01F15F01","HU42117730161111101800000000")),o(new n("IE",22,"U04F06F08","IE29AIBK93115212345678")),o(new n("IL",23,"F03F03F13","IL620108000000099999999")),o(new n("IS",26,"F04F02F06F10","IS140159260076545510730339")),o(new n("IT",27,"U01F05F05A12","IT60X0542811101000000123456")),o(new n("KW",30,"U04A22","KW81CBKU0000000000001234560101")),o(new n("KZ",20,"F03A13","KZ86125KZT5004100100")),o(new n("LB",28,"F04A20","LB62099900000001001901229114")),o(new n("LI",21,"F05A12","LI21088100002324013AA")),o(new n("LT",20,"F05F11","LT121000011101001000")),o(new n("LU",20,"F03A13","LU280019400644750000")),o(new n("LV",21,"U04A13","LV80BANK0000435195001")),o(new n("MC",27,"F05F05A11F02","MC5811222000010123456789030")),o(new n("MD",24,"U02F18","MD24AG000225100013104168")),o(new n("ME",22,"F03F13F02","ME25505000012345678951")),o(new n("MK",19,"F03A10F02","MK07250120000058984")),o(new n("MR",27,"F05F05F11F02","MR1300020001010000123456753")),o(new n("MT",31,"U04F05A18","MT84MALT011000012345MTLCAST001S")),o(new n("MU",30,"U04F02F02F12F03U03","MU17BOMM0101101030300200000MUR")),o(new n("NL",18,"U04F10","NL91ABNA0417164300")),o(new n("NO",15,"F04F06F01","NO9386011117947")),o(new n("PK",24,"U04A16","PK36SCBL0000001123456702")),o(new n("PL",28,"F08F16","PL61109010140000071219812874")),o(new n("PS",29,"U04A21","PS92PALS000000000400123456702")),o(new n("PT",25,"F04F04F11F02","PT50000201231234567890154")),o(new n("RO",24,"U04A16","RO49AAAA1B31007593840000")),o(new n("RS",22,"F03F13F02","RS35260005601001611379")),o(new n("SA",24,"F02A18","SA0380000000608010167519")),o(new n("SE",24,"F03F16F01","SE4550000000058398257466")),o(new n("SI",19,"F05F08F02","SI56263300012039086")),o(new n("SK",24,"F04F06F10","SK3112000000198742637541")),o(new n("SM",27,"U01F05F05A12","SM86U0322509800000000270100")),o(new n("TN",24,"F02F03F13F02","TN5910006035183598478831")),o(new n("TR",26,"F05A01A16","TR330006100519786457841326")),o(new n("VG",24,"U04F16","VG96VPVG0000012345678901")),o(new n("AO",25,"F21","AO69123456789012345678901")),o(new n("BF",27,"F23","BF2312345678901234567890123")),o(new n("BI",16,"F12","BI41123456789012")),o(new n("BJ",28,"F24","BJ39123456789012345678901234")),o(new n("CI",28,"U01F23","CI17A12345678901234567890123")),o(new n("CM",27,"F23","CM9012345678901234567890123")),o(new n("CV",25,"F21","CV30123456789012345678901")),o(new n("DZ",24,"F20","DZ8612345678901234567890")),o(new n("IR",26,"F22","IR861234568790123456789012")),o(new n("JO",30,"A04F22","JO15AAAA1234567890123456789012")),o(new n("MG",27,"F23","MG1812345678901234567890123")),o(new n("ML",28,"U01F23","ML15A12345678901234567890123")),o(new n("MZ",25,"F21","MZ25123456789012345678901")),o(new n("QA",29,"U04A21","QA30AAAA123456789012345678901")),o(new n("SN",28,"U01F23","SN52A12345678901234567890123")),o(new n("UA",29,"F25","UA511234567890123456789012345"));var w=/[^a-zA-Z0-9]/g,c=/(.{4})(?!$)/g;function s(e){return"string"==typeof e||e instanceof String}e.isValid=function(e){if(!s(e))return!1;e=this.electronicFormat(e);var n=i[e.slice(0,2)];return!!n&&n.isValid(e)},e.toBBAN=function(e,n){void 0===n&&(n=" "),e=this.electronicFormat(e);var F=i[e.slice(0,2)];if(!F)throw new Error("No country with code "+e.slice(0,2));return F.toBBAN(e,n)},e.fromBBAN=function(e,n){var F=i[e];if(!F)throw new Error("No country with code "+e);return F.fromBBAN(this.electronicFormat(n))},e.isValidBBAN=function(e,n){if(!s(n))return!1;var F=i[e];return F&&F.isValidBBAN(this.electronicFormat(n))},e.printFormat=function(e,n){return void 0===n&&(n=" "),this.electronicFormat(e).replace(c,"$1"+n)},e.electronicFormat=function(e){return e.replace(w,"").toUpperCase()},e.countries=i}("undefined"==typeof exports?this.IBAN={}:exports);
1
+ !function(e){Array.prototype.map||(Array.prototype.map=function(e){"use strict";if(null==this)throw new TypeError;var n=Object(this),F=n.length>>>0;if("function"!=typeof e)throw new TypeError;for(var t=new Array(F),r=2<=arguments.length?arguments[1]:void 0,A=0;A<F;A++)A in n&&(t[A]=e.call(r,n[A],A,n));return t});var F="A".charCodeAt(0),t="Z".charCodeAt(0);function r(e){return(e=(e=e.toUpperCase()).substr(4)+e.substr(0,4)).split("").map(function(e){var n=e.charCodeAt(0);return F<=n&&n<=t?n-F+10:e}).join("")}function A(e){for(var n,F=e;2<F.length;)n=F.slice(0,9),F=parseInt(n,10)%97+F.slice(n.length);return parseInt(F,10)%97}function n(e,n,F,t){this.countryCode=e,this.length=n,this.structure=F,this.example=t}n.prototype._regex=function(){return this._cachedRegex||(this._cachedRegex=(e=this.structure,n=e.match(/(.{3})/g).map(function(e){var n,F=e.slice(0,1),t=parseInt(e.slice(1),10);switch(F){case"A":n="0-9A-Za-z";break;case"B":n="0-9A-Z";break;case"C":n="A-Za-z";break;case"F":n="0-9";break;case"L":n="a-z";break;case"U":n="A-Z";break;case"W":n="0-9a-z"}return"(["+n+"]{"+t+"})"}),new RegExp("^"+n.join("")+"$")));var e,n},n.prototype.isValid=function(e){return this.length==e.length&&this.countryCode===e.slice(0,2)&&this._regex().test(e.slice(4))&&1==A(r(e))},n.prototype.toBBAN=function(e,n){return this._regex().exec(e.slice(4)).slice(1).join(n)},n.prototype.fromBBAN=function(e){if(!this.isValidBBAN(e))throw new Error("Invalid BBAN");var n=("0"+(98-A(r(this.countryCode+"00"+e)))).slice(-2);return this.countryCode+n+e},n.prototype.isValidBBAN=function(e){return this.length-4==e.length&&this._regex().test(e)};var i={};function o(e){i[e.countryCode]=e}o(new n("AD",24,"F04F04A12","AD1200012030200359100100")),o(new n("AE",23,"F03F16","AE070331234567890123456")),o(new n("AL",28,"F08A16","AL47212110090000000235698741")),o(new n("AT",20,"F05F11","AT611904300234573201")),o(new n("AZ",28,"U04A20","AZ21NABZ00000000137010001944")),o(new n("BA",20,"F03F03F08F02","BA391290079401028494")),o(new n("BE",16,"F03F07F02","BE68539007547034")),o(new n("BG",22,"U04F04F02A08","BG80BNBG96611020345678")),o(new n("BH",22,"U04A14","BH67BMAG00001299123456")),o(new n("BR",29,"F08F05F10U01A01","BR9700360305000010009795493P1")),o(new n("CH",21,"F05A12","CH9300762011623852957")),o(new n("CR",21,"F03F14","CR0515202001026284066")),o(new n("CY",28,"F03F05A16","CY17002001280000001200527600")),o(new n("CZ",24,"F04F06F10","CZ6508000000192000145399")),o(new n("DE",22,"F08F10","DE89370400440532013000")),o(new n("DK",18,"F04F09F01","DK5000400440116243")),o(new n("DO",28,"U04F20","DO28BAGR00000001212453611324")),o(new n("EE",20,"F02F02F11F01","EE382200221020145685")),o(new n("ES",24,"F04F04F01F01F10","ES9121000418450200051332")),o(new n("FI",18,"F06F07F01","FI2112345600000785")),o(new n("FO",18,"F04F09F01","FO6264600001631634")),o(new n("FR",27,"F05F05A11F02","FR1420041010050500013M02606")),o(new n("GB",22,"U04F06F08","GB29NWBK60161331926819")),o(new n("GE",22,"U02F16","GE29NB0000000101904917")),o(new n("GI",23,"U04A15","GI75NWBK000000007099453")),o(new n("GL",18,"F04F09F01","GL8964710001000206")),o(new n("GR",27,"F03F04A16","GR1601101250000000012300695")),o(new n("GT",28,"A04A20","GT82TRAJ01020000001210029690")),o(new n("HR",21,"F07F10","HR1210010051863000160")),o(new n("HU",28,"F03F04F01F15F01","HU42117730161111101800000000")),o(new n("IE",22,"U04F06F08","IE29AIBK93115212345678")),o(new n("IL",23,"F03F03F13","IL620108000000099999999")),o(new n("IS",26,"F04F02F06F10","IS140159260076545510730339")),o(new n("IT",27,"U01F05F05A12","IT60X0542811101000000123456")),o(new n("KW",30,"U04A22","KW81CBKU0000000000001234560101")),o(new n("KZ",20,"F03A13","KZ86125KZT5004100100")),o(new n("LB",28,"F04A20","LB62099900000001001901229114")),o(new n("LI",21,"F05A12","LI21088100002324013AA")),o(new n("LT",20,"F05F11","LT121000011101001000")),o(new n("LU",20,"F03A13","LU280019400644750000")),o(new n("LV",21,"U04A13","LV80BANK0000435195001")),o(new n("MC",27,"F05F05A11F02","MC5811222000010123456789030")),o(new n("MD",24,"U02F18","MD24AG000225100013104168")),o(new n("ME",22,"F03F13F02","ME25505000012345678951")),o(new n("MK",19,"F03A10F02","MK07250120000058984")),o(new n("MR",27,"F05F05F11F02","MR1300020001010000123456753")),o(new n("MT",31,"U04F05A18","MT84MALT011000012345MTLCAST001S")),o(new n("MU",30,"U04F02F02F12F03U03","MU17BOMM0101101030300200000MUR")),o(new n("NL",18,"U04F10","NL91ABNA0417164300")),o(new n("NO",15,"F04F06F01","NO9386011117947")),o(new n("PK",24,"U04A16","PK36SCBL0000001123456702")),o(new n("PL",28,"F08F16","PL61109010140000071219812874")),o(new n("PS",29,"U04A21","PS92PALS000000000400123456702")),o(new n("PT",25,"F04F04F11F02","PT50000201231234567890154")),o(new n("RO",24,"U04A16","RO49AAAA1B31007593840000")),o(new n("RS",22,"F03F13F02","RS35260005601001611379")),o(new n("SA",24,"F02A18","SA0380000000608010167519")),o(new n("SE",24,"F03F16F01","SE4550000000058398257466")),o(new n("SI",19,"F05F08F02","SI56263300012039086")),o(new n("SK",24,"F04F06F10","SK3112000000198742637541")),o(new n("SM",27,"U01F05F05A12","SM86U0322509800000000270100")),o(new n("TN",24,"F02F03F13F02","TN5910006035183598478831")),o(new n("TR",26,"F05A01A16","TR330006100519786457841326")),o(new n("VG",24,"U04F16","VG96VPVG0000012345678901")),o(new n("AO",25,"F21","AO69123456789012345678901")),o(new n("BF",27,"F23","BF2312345678901234567890123")),o(new n("BI",16,"F12","BI41123456789012")),o(new n("BJ",28,"F24","BJ39123456789012345678901234")),o(new n("CI",28,"U01F23","CI17A12345678901234567890123")),o(new n("CM",27,"F23","CM9012345678901234567890123")),o(new n("CV",25,"F21","CV30123456789012345678901")),o(new n("DZ",24,"F20","DZ8612345678901234567890")),o(new n("IR",26,"F22","IR861234568790123456789012")),o(new n("JO",30,"A04F22","JO15AAAA1234567890123456789012")),o(new n("MG",27,"F23","MG1812345678901234567890123")),o(new n("ML",28,"U01F23","ML15A12345678901234567890123")),o(new n("MZ",25,"F21","MZ25123456789012345678901")),o(new n("QA",29,"U04A21","QA30AAAA123456789012345678901")),o(new n("SN",28,"U01F23","SN52A12345678901234567890123")),o(new n("UA",29,"F25","UA511234567890123456789012345"));var w=/[^a-zA-Z0-9]/g,c=/(.{4})(?!$)/g;function s(e){return"string"==typeof e||e instanceof String}e.isValid=function(e){if(!s(e))return!1;e=this.electronicFormat(e);var n=i[e.slice(0,2)];return!!n&&n.isValid(e)},e.toBBAN=function(e,n){void 0===n&&(n=" "),e=this.electronicFormat(e);var F=i[e.slice(0,2)];if(!F)throw new Error("No country with code "+e.slice(0,2));return F.toBBAN(e,n)},e.fromBBAN=function(e,n){var F=i[e];if(!F)throw new Error("No country with code "+e);return F.fromBBAN(this.electronicFormat(n))},e.isValidBBAN=function(e,n){if(!s(n))return!1;var F=i[e];return F&&F.isValidBBAN(this.electronicFormat(n))},e.printFormat=function(e,n){return void 0===n&&(n=" "),this.electronicFormat(e).replace(c,"$1"+n)},e.electronicFormat=function(e){return e.replace(w,"").toUpperCase()},e.countries=i}("undefined"==typeof exports?this.IBAN={}:exports);
includes/updates/woocommerce-gzd-update-3.0.6.php ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ use Vendidero\Germanized\DHL\Package;
4
+
5
+ if ( ! defined( 'ABSPATH' ) ) {
6
+ exit;
7
+ }
8
+
9
+ // Update shipping provider to DHL if available
10
+ if ( Package::has_dependencies() && Package::is_enabled() ) {
11
+
12
+ // Make sure shipping zones are loaded
13
+ include_once WC_ABSPATH . 'includes/class-wc-shipping-zones.php';
14
+
15
+ foreach( WC_Shipping_Zones::get_zones() as $zone ) {
16
+
17
+ foreach( $zone['shipping_methods'] as $method ) {
18
+
19
+ $instance_settings = get_option( $method->get_instance_option_key() );
20
+ $has_dhl = wc_string_to_bool( isset( $instance_settings['enable_dhl'] ) ? $instance_settings['enable_dhl'] : 'yes' );
21
+
22
+ if ( is_array( $instance_settings ) && $has_dhl ) {
23
+ $instance_settings['shipping_provider'] = 'dhl';
24
+ update_option( $method->get_instance_option_key(), $instance_settings, 'yes' );
25
+ }
26
+ }
27
+ }
28
+ }
includes/wc-gzd-cart-functions.php CHANGED
@@ -44,9 +44,8 @@ function wc_gzd_cart_product_differential_taxation_mark( $title, $cart_item, $ca
44
  * @param string $html The differential mark e.g. `*`.
45
  *
46
  * @since 1.9.1
47
- *
48
  */
49
- $product_mark = apply_filters( 'woocommerce_gzd_differential_taxation_cart_item_mark', ' **' );
50
  }
51
  }
52
 
@@ -57,6 +56,22 @@ function wc_gzd_cart_product_differential_taxation_mark( $title, $cart_item, $ca
57
  return $title;
58
  }
59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  /**
61
  * Appends product item desc live data (while checkout) or order meta to product name
62
  *
44
  * @param string $html The differential mark e.g. `*`.
45
  *
46
  * @since 1.9.1
 
47
  */
48
+ $product_mark = apply_filters( 'woocommerce_gzd_differential_taxation_cart_item_mark', wc_gzd_get_differential_taxation_mark() );
49
  }
50
  }
51
 
56
  return $title;
57
  }
58
 
59
+ function wc_gzd_cart_contains_differential_taxed_product() {
60
+ $cart = WC()->cart;
61
+ $contains_differentail_taxation = false;
62
+
63
+ foreach ( $cart->get_cart() as $cart_item_key => $values ) {
64
+ $_product = $values['data'];
65
+
66
+ if ( wc_gzd_get_product( $_product )->is_differential_taxed() ) {
67
+ $contains_differentail_taxation = true;
68
+ break;
69
+ }
70
+ }
71
+
72
+ return $contains_differentail_taxation;
73
+ }
74
+
75
  /**
76
  * Appends product item desc live data (while checkout) or order meta to product name
77
  *
includes/wc-gzd-core-functions.php CHANGED
@@ -12,6 +12,7 @@ if ( ! defined( 'ABSPATH' ) ) {
12
  exit;
13
  } // Exit if accessed directly
14
 
 
15
  use Vendidero\Germanized\Shopmarks;
16
 
17
  require WC_GERMANIZED_ABSPATH . 'includes/wc-gzd-product-functions.php';
@@ -59,21 +60,59 @@ function wc_gzd_get_product_loop_shopmarks() {
59
  * @return Vendidero\Germanized\Shopmark[]
60
  */
61
  function wc_gzd_get_cart_shopmarks() {
62
- return Shopmarks::get( 'cart' );
 
 
 
 
 
 
 
 
 
63
  }
64
 
65
  /**
66
  * @return Vendidero\Germanized\Shopmark[]
67
  */
68
  function wc_gzd_get_mini_cart_shopmarks() {
69
- return Shopmarks::get( 'mini_cart' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  }
71
 
72
  /**
73
  * @return Vendidero\Germanized\Shopmark[]
74
  */
75
  function wc_gzd_get_checkout_shopmarks() {
76
- return Shopmarks::get( 'checkout' );
 
 
 
 
 
 
 
 
77
  }
78
 
79
  /**
@@ -263,6 +302,32 @@ function wc_gzd_get_small_business_notice() {
263
  return apply_filters( 'woocommerce_gzd_small_business_notice', get_option( 'woocommerce_gzd_small_enterprise_text', __( 'Value added tax is not collected, as small businesses according to §19 (1) UStG.', 'woocommerce-germanized' ) ) );
264
  }
265
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
266
  function wc_gzd_is_parcel_delivery_data_transfer_checkbox_enabled( $rate_ids = array() ) {
267
  $return = false;
268
 
12
  exit;
13
  } // Exit if accessed directly
14
 
15
+ use Vendidero\Germanized\Shopmark;
16
  use Vendidero\Germanized\Shopmarks;
17
 
18
  require WC_GERMANIZED_ABSPATH . 'includes/wc-gzd-product-functions.php';
60
  * @return Vendidero\Germanized\Shopmark[]
61
  */
62
  function wc_gzd_get_cart_shopmarks() {
63
+
64
+ $cart = Shopmarks::get( 'cart' );
65
+
66
+ if ( 'yes' === get_option( 'woocommerce_gzd_differential_taxation_checkout_notices' ) ) {
67
+ $shopmark = _wc_gzd_get_differential_taxation_shopmark( 'cart' );
68
+
69
+ $cart[] = $shopmark;
70
+ }
71
+
72
+ return $cart;
73
  }
74
 
75
  /**
76
  * @return Vendidero\Germanized\Shopmark[]
77
  */
78
  function wc_gzd_get_mini_cart_shopmarks() {
79
+ $mini_cart = Shopmarks::get( 'mini_cart' );
80
+
81
+ if ( 'yes' === get_option( 'woocommerce_gzd_differential_taxation_checkout_notices' ) ) {
82
+ $shopmark = _wc_gzd_get_differential_taxation_shopmark( 'mini_cart' );
83
+
84
+ $mini_cart[] = $shopmark;
85
+ }
86
+
87
+ return $mini_cart;
88
+ }
89
+
90
+ function _wc_gzd_get_differential_taxation_shopmark( $location ) {
91
+ $shopmark = new Shopmark( array(
92
+ 'default_priority' => wc_gzd_get_hook_priority( 'cart_product_differential_taxation' ),
93
+ 'callback' => 'wc_gzd_cart_product_differential_taxation_mark',
94
+ 'default_filter' => 'woocommerce_cart_item_name',
95
+ 'location' => $location,
96
+ 'type' => 'differential_taxation',
97
+ 'default_enabled' => true,
98
+ ) );
99
+
100
+ return $shopmark;
101
  }
102
 
103
  /**
104
  * @return Vendidero\Germanized\Shopmark[]
105
  */
106
  function wc_gzd_get_checkout_shopmarks() {
107
+ $checkout = Shopmarks::get( 'checkout' );
108
+
109
+ if ( 'yes' === get_option( 'woocommerce_gzd_differential_taxation_checkout_notices' ) ) {
110
+ $shopmark = _wc_gzd_get_differential_taxation_shopmark( 'checkout' );
111
+
112
+ $checkout[] = $shopmark;
113
+ }
114
+
115
+ return $checkout;
116
  }
117
 
118
  /**
302
  return apply_filters( 'woocommerce_gzd_small_business_notice', get_option( 'woocommerce_gzd_small_enterprise_text', __( 'Value added tax is not collected, as small businesses according to §19 (1) UStG.', 'woocommerce-germanized' ) ) );
303
  }
304
 
305
+ function wc_gzd_get_differential_taxation_mark() {
306
+ /**
307
+ * Filters the general differential taxation notice mark.
308
+ *
309
+ * @param string $notice The notice mark, e.g. `*`.
310
+ *
311
+ * @since 1.5.0
312
+ */
313
+ return apply_filters( 'woocommerce_gzd_differential_taxation_notice_text_mark', '** ' );
314
+ }
315
+
316
+ function wc_gzd_get_differential_taxation_checkout_notice() {
317
+ $mark = wc_gzd_get_differential_taxation_mark();
318
+
319
+ /**
320
+ * Filter to adjust the differential taxation notice text during checkout.
321
+ *
322
+ * @param string $html The notice.
323
+ *
324
+ * @since 1.9.3
325
+ */
326
+ $notice = apply_filters( 'woocommerce_gzd_differential_taxation_notice_text_checkout', $mark . wc_gzd_get_differential_taxation_notice_text() );
327
+
328
+ return $notice;
329
+ }
330
+
331
  function wc_gzd_is_parcel_delivery_data_transfer_checkbox_enabled( $rate_ids = array() ) {
332
  $return = false;
333
 
includes/wc-gzd-template-functions.php CHANGED
@@ -551,34 +551,10 @@ if ( ! function_exists( 'woocommerce_gzd_template_small_business_total_vat_notic
551
  if ( ! function_exists( 'woocommerce_gzd_template_differential_taxation_notice_cart' ) ) {
552
 
553
  function woocommerce_gzd_template_differential_taxation_notice_cart() {
554
- $cart = WC()->cart;
555
- $contains_differentail_taxation = false;
556
-
557
- foreach ( $cart->get_cart() as $cart_item_key => $values ) {
558
- $_product = $values['data'];
559
-
560
- if ( wc_gzd_get_product( $_product )->is_differential_taxed() ) {
561
- $contains_differentail_taxation = true;
562
- break;
563
- }
564
- }
565
 
566
  if ( $contains_differentail_taxation ) {
567
-
568
- /** This filter is documented in includes/class-wc-gzd-emails.php */
569
- $mark = apply_filters( 'woocommerce_gzd_differential_taxation_notice_text_mark', '** ' );
570
-
571
- /**
572
- * Filter to adjust the differential taxation notice text during checkout.
573
- *
574
- * @param string $html The notice.
575
- *
576
- * @since 1.9.3
577
- *
578
- */
579
- $notice = apply_filters( 'woocommerce_gzd_differential_taxation_notice_text_checkout', $mark . wc_gzd_get_differential_taxation_notice_text() );
580
-
581
- wc_get_template( 'checkout/differential-taxation-notice.php', array( 'notice' => $notice ) );
582
  }
583
  }
584
  }
@@ -595,8 +571,9 @@ if ( ! function_exists( 'woocommerce_gzd_template_order_item_hooks' ) ) {
595
  if ( ! function_exists( 'woocommerce_gzd_template_mini_cart_taxes' ) ) {
596
 
597
  function woocommerce_gzd_template_mini_cart_taxes() {
598
- $hidden_for_types = get_option( 'woocommerce_gzd_display_shipping_costs_hidden_types', array() );
599
- $show_shipping = empty( $hidden_for_types ) ? true : false;
 
600
 
601
  foreach ( WC()->cart->get_cart() as $cart_item_key => $cart_item ) {
602
  if ( $_product = $cart_item['data'] ) {
@@ -632,7 +609,17 @@ if ( ! function_exists( 'woocommerce_gzd_template_mini_cart_taxes' ) ) {
632
  * @since 2.0.2
633
  *
634
  */
635
- 'shipping_costs_info' => ( apply_filters( 'woocommerce_gzd_show_mini_cart_totals_shipping_costs_notice', $show_shipping ) ) ? wc_gzd_get_shipping_costs_text() : ''
 
 
 
 
 
 
 
 
 
 
636
  )
637
  );
638
  }
551
  if ( ! function_exists( 'woocommerce_gzd_template_differential_taxation_notice_cart' ) ) {
552
 
553
  function woocommerce_gzd_template_differential_taxation_notice_cart() {
554
+ $contains_differentail_taxation = wc_gzd_cart_contains_differential_taxed_product();
 
 
 
 
 
 
 
 
 
 
555
 
556
  if ( $contains_differentail_taxation ) {
557
+ wc_get_template( 'checkout/differential-taxation-notice.php', array( 'notice' => wc_gzd_get_differential_taxation_checkout_notice() ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
558
  }
559
  }
560
  }
571
  if ( ! function_exists( 'woocommerce_gzd_template_mini_cart_taxes' ) ) {
572
 
573
  function woocommerce_gzd_template_mini_cart_taxes() {
574
+ $hidden_for_types = get_option( 'woocommerce_gzd_display_shipping_costs_hidden_types', array() );
575
+ $show_shipping = empty( $hidden_for_types ) ? true : false;
576
+ $show_differential_taxation = ( 'yes' === get_option( 'woocommerce_gzd_differential_taxation_checkout_notices' ) ? true : false );
577
 
578
  foreach ( WC()->cart->get_cart() as $cart_item_key => $cart_item ) {
579
  if ( $_product = $cart_item['data'] ) {
609
  * @since 2.0.2
610
  *
611
  */
612
+ 'shipping_costs_info' => ( apply_filters( 'woocommerce_gzd_show_mini_cart_totals_shipping_costs_notice', $show_shipping ) ) ? wc_gzd_get_shipping_costs_text() : '',
613
+
614
+ /**
615
+ * Filter that allows disabling differential taxation notice within mini cart.
616
+ *
617
+ * @param bool $enable Whether to enable or not.
618
+ *
619
+ * @since 2.0.2
620
+ *
621
+ */
622
+ 'differential_taxation_info' => ( apply_filters( 'woocommerce_gzd_show_mini_cart_totals_differential_taxation_notice', $show_differential_taxation ) ) ? wc_gzd_get_differential_taxation_checkout_notice() : ''
623
  )
624
  );
625
  }
includes/wc-gzd-template-hooks.php CHANGED
@@ -109,7 +109,6 @@ if ( get_option( 'woocommerce_gzd_small_enterprise' ) === 'yes' ) {
109
  // Differential Taxation
110
  if ( get_option( 'woocommerce_gzd_differential_taxation_checkout_notices' ) === 'yes' ) {
111
  add_action( 'woocommerce_after_cart_totals', 'woocommerce_gzd_template_differential_taxation_notice_cart', wc_gzd_get_hook_priority( 'cart_small_business_info' ) );
112
- add_filter( 'woocommerce_cart_item_name', 'wc_gzd_cart_product_differential_taxation_mark', wc_gzd_get_hook_priority( 'cart_product_differential_taxation' ), 3 );
113
  }
114
 
115
  /**
109
  // Differential Taxation
110
  if ( get_option( 'woocommerce_gzd_differential_taxation_checkout_notices' ) === 'yes' ) {
111
  add_action( 'woocommerce_after_cart_totals', 'woocommerce_gzd_template_differential_taxation_notice_cart', wc_gzd_get_hook_priority( 'cart_small_business_info' ) );
 
112
  }
113
 
114
  /**
packages/woocommerce-germanized-dhl/assets/css/admin.css CHANGED
@@ -15,32 +15,6 @@
15
  font-size: 13px;
16
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); }
17
 
18
- .germanized-create-label .notice-wrapper .notice {
19
- margin: 0;
20
- margin-bottom: 1em; }
21
- .germanized-create-label .notice-wrapper .notice p {
22
- margin: 0.5em 0 !important;
23
- padding: 2px !important;
24
- font-size: 13px;
25
- line-height: 1.5; }
26
-
27
- .germanized-create-label p.form-field {
28
- display: inline-block;
29
- width: 100%;
30
- margin-bottom: 5px !important;
31
- margin-top: 5px !important; }
32
- .germanized-create-label p.form-field:first-child, .germanized-create-label p.form-field:last-child {
33
- margin-bottom: 5px !important;
34
- margin-top: 5px !important; }
35
-
36
- .germanized-create-label .columns {
37
- margin-left: -.5rem !important;
38
- margin-right: -.5rem !important; }
39
-
40
- .germanized-create-label .column {
41
- padding-left: .5rem !important;
42
- padding-right: .5rem !important; }
43
-
44
  .germanized-create-label .show-services-trigger {
45
  font-weight: bold;
46
  margin-top: 15px;
@@ -48,56 +22,4 @@
48
  display: block;
49
  text-align: right; }
50
  .germanized-create-label .show-services-trigger a {
51
- text-decoration: none; }
52
-
53
- .germanized-create-label .show-if, .germanized-create-label .hide-default {
54
- display: none; }
55
-
56
- .germanized-create-label .show-if label {
57
- color: #777; }
58
-
59
- .germanized-create-label p.form-field label {
60
- width: 100%;
61
- display: block;
62
- margin-bottom: 5px; }
63
-
64
- .germanized-create-label p.form-field select, .germanized-create-label p.form-field input[type=text], .germanized-create-label p.form-field input[type=email] {
65
- width: 100%;
66
- max-width: 100%; }
67
-
68
- .germanized-create-label p.form-field.form-field-checkbox {
69
- display: flex;
70
- flex-wrap: wrap;
71
- flex-direction: row;
72
- justify-content: flex-start;
73
- margin-top: 10px !important;
74
- margin-bottom: 10px !important;
75
- align-items: center; }
76
- .germanized-create-label p.form-field.form-field-checkbox label {
77
- width: auto;
78
- margin-left: .5em;
79
- order: 2;
80
- margin-bottom: 0; }
81
- .germanized-create-label p.form-field.form-field-checkbox input[type=checkbox] {
82
- order: 1; }
83
- .germanized-create-label p.form-field.form-field-checkbox .woocommerce-help-tip {
84
- order: 3;
85
- margin-left: 3px; }
86
- .germanized-create-label p.form-field.form-field-checkbox .description {
87
- width: 100%;
88
- margin-top: 5px;
89
- color: #777;
90
- order: 4;
91
- font-style: normal; }
92
-
93
- .wc-gzd-shipment-dhl-label h4 {
94
- margin-top: 0; }
95
-
96
- .wc-gzd-shipment-dhl-label .shipment-dhl-label-actions .shipment-dhl-label-actions-wrapper {
97
- display: flex;
98
- flex-wrap: wrap;
99
- justify-content: flex-start;
100
- margin-bottom: 1em;
101
- align-items: center; }
102
- .wc-gzd-shipment-dhl-label .shipment-dhl-label-actions .shipment-dhl-label-actions-wrapper a {
103
- margin-right: 1em; }
15
  font-size: 13px;
16
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); }
17
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  .germanized-create-label .show-services-trigger {
19
  font-weight: bold;
20
  margin-top: 15px;
22
  display: block;
23
  text-align: right; }
24
  .germanized-create-label .show-services-trigger a {
25
+ text-decoration: none; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
packages/woocommerce-germanized-dhl/assets/css/admin.min.css CHANGED
@@ -1 +1 @@
1
- #posts-filter .wc-gzd-dhl-bulk-downloads{clear:both;float:left;margin:1em 0}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.email::after{content:"\f465"}.wc-modal-shipping-method-settings .form-table td .wc-gzd-additional-desc{margin-top:1em;line-height:1.5em;background:#efefef;padding:.5em;font-style:normal;font-size:13px;box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.germanized-create-label .notice-wrapper .notice{margin:0;margin-bottom:1em}.germanized-create-label .notice-wrapper .notice p{margin:.5em 0!important;padding:2px!important;font-size:13px;line-height:1.5}.germanized-create-label p.form-field{display:inline-block;width:100%;margin-bottom:5px!important;margin-top:5px!important}.germanized-create-label p.form-field:first-child,.germanized-create-label p.form-field:last-child{margin-bottom:5px!important;margin-top:5px!important}.germanized-create-label .columns{margin-left:-.5rem!important;margin-right:-.5rem!important}.germanized-create-label .column{padding-left:.5rem!important;padding-right:.5rem!important}.germanized-create-label .show-services-trigger{font-weight:700;margin-top:15px;margin-bottom:0;display:block;text-align:right}.germanized-create-label .show-services-trigger a{text-decoration:none}.germanized-create-label .hide-default,.germanized-create-label .show-if{display:none}.germanized-create-label .show-if label{color:#777}.germanized-create-label p.form-field label{width:100%;display:block;margin-bottom:5px}.germanized-create-label p.form-field input[type=email],.germanized-create-label p.form-field input[type=text],.germanized-create-label p.form-field select{width:100%;max-width:100%}.germanized-create-label p.form-field.form-field-checkbox{display:flex;flex-wrap:wrap;flex-direction:row;justify-content:flex-start;margin-top:10px!important;margin-bottom:10px!important;align-items:center}.germanized-create-label p.form-field.form-field-checkbox label{width:auto;margin-left:.5em;order:2;margin-bottom:0}.germanized-create-label p.form-field.form-field-checkbox input[type=checkbox]{order:1}.germanized-create-label p.form-field.form-field-checkbox .woocommerce-help-tip{order:3;margin-left:3px}.germanized-create-label p.form-field.form-field-checkbox .description{width:100%;margin-top:5px;color:#777;order:4;font-style:normal}.wc-gzd-shipment-dhl-label h4{margin-top:0}.wc-gzd-shipment-dhl-label .shipment-dhl-label-actions .shipment-dhl-label-actions-wrapper{display:flex;flex-wrap:wrap;justify-content:flex-start;margin-bottom:1em;align-items:center}.wc-gzd-shipment-dhl-label .shipment-dhl-label-actions .shipment-dhl-label-actions-wrapper a{margin-right:1em}
1
+ #posts-filter .wc-gzd-dhl-bulk-downloads{clear:both;float:left;margin:1em 0}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.email::after{content:"\f465"}.wc-modal-shipping-method-settings .form-table td .wc-gzd-additional-desc{margin-top:1em;line-height:1.5em;background:#efefef;padding:.5em;font-style:normal;font-size:13px;box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.germanized-create-label .show-services-trigger{font-weight:700;margin-top:15px;margin-bottom:0;display:block;text-align:right}.germanized-create-label .show-services-trigger a{text-decoration:none}
packages/woocommerce-germanized-dhl/assets/css/admin.scss CHANGED
@@ -21,41 +21,6 @@
21
  }
22
 
23
  .germanized-create-label {
24
- .notice-wrapper {
25
- .notice {
26
- margin: 0;
27
- margin-bottom: 1em;
28
-
29
- p {
30
- margin: 0.5em 0 !important;
31
- padding: 2px !important;
32
- font-size: 13px;
33
- line-height: 1.5;
34
- }
35
- }
36
- }
37
-
38
- p.form-field {
39
- &:first-child, &:last-child {
40
- margin-bottom: 5px !important;
41
- margin-top: 5px !important;
42
- }
43
- display: inline-block;
44
- width: 100%;
45
- margin-bottom: 5px !important;
46
- margin-top: 5px !important;
47
- }
48
-
49
- .columns {
50
- margin-left: -.5rem !important;
51
- margin-right: -.5rem !important;
52
- }
53
-
54
- .column {
55
- padding-left: .5rem !important;
56
- padding-right: .5rem !important;
57
- }
58
-
59
  .show-services-trigger {
60
  font-weight: bold;
61
  margin-top: 15px;
@@ -66,85 +31,5 @@
66
  a {
67
  text-decoration: none;
68
  }
69
-
70
- .dashicons {
71
-
72
- }
73
- }
74
-
75
- .show-if, .hide-default {
76
- display: none;
77
- }
78
-
79
- .show-if {
80
- label {
81
- color: #777;
82
- }
83
- }
84
-
85
- p.form-field {
86
- label {
87
- width: 100%;
88
- display: block;
89
- margin-bottom: 5px;
90
- }
91
- select, input[type=text], input[type=email] {
92
- width: 100%;
93
- max-width: 100%;
94
- }
95
-
96
- &.form-field-checkbox {
97
- display: flex;
98
- flex-wrap: wrap;
99
- flex-direction: row;
100
- justify-content: flex-start;
101
- margin-top: 10px !important;
102
- margin-bottom: 10px !important;
103
- align-items: center;
104
-
105
- label {
106
- width: auto;
107
- margin-left: .5em;
108
- order: 2;
109
- margin-bottom: 0;
110
- }
111
-
112
- input[type=checkbox] {
113
- order: 1;
114
- }
115
-
116
- .woocommerce-help-tip {
117
- order: 3;
118
- margin-left: 3px;
119
- }
120
-
121
- .description {
122
- width: 100%;
123
- margin-top: 5px;
124
- color: #777;
125
- order: 4;
126
- font-style: normal;
127
- }
128
- }
129
- }
130
- }
131
-
132
- .wc-gzd-shipment-dhl-label {
133
- h4 {
134
- margin-top: 0;
135
- }
136
-
137
- .shipment-dhl-label-actions {
138
- .shipment-dhl-label-actions-wrapper {
139
- display: flex;
140
- flex-wrap: wrap;
141
- justify-content: flex-start;
142
- margin-bottom: 1em;
143
- align-items: center;
144
-
145
- a {
146
- margin-right: 1em;
147
- }
148
- }
149
  }
150
  }
21
  }
22
 
23
  .germanized-create-label {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  .show-services-trigger {
25
  font-weight: bold;
26
  margin-top: 15px;
31
  a {
32
  text-decoration: none;
33
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  }
35
  }
packages/woocommerce-germanized-dhl/assets/js/admin-dhl-backbone.min.js DELETED
@@ -1 +0,0 @@
1
- window.germanized=window.germanized||{},window.germanized.admin=window.germanized.admin||{},function(t){window.germanized.admin.dhl_backbone={params:{},init:function(){var e=germanized.admin.dhl_backbone;e.params=wc_gzd_admin_dhl_backbone_params,t(document).on("click",".germanized-create-label .show-further-services",e.onExpandServices).on("click",".germanized-create-label .show-fewer-services",e.onHideServices).on("change",".germanized-create-label input.show-if-trigger",e.onShowIf).on("click",".germanized-create-label .notice .notice-dismiss",e.onRemoveNotice),t(document.body).on("wc_backbone_modal_loaded",e.backbone.init).on("wc_backbone_modal_response",e.backbone.response)},onRemoveNotice:function(){t(this).parents(".notice").slideUp(150,function(){t(this).remove()})},onShowIf:function(){var e=t(this).parents(".germanized-create-label").find(t(this).data("show-if")),n=t(this);0<e.length&&(n.is(":checked")?e.show():e.hide())},onExpandServices:function(){var e=t(this).parents(".germanized-create-label").find(".show-if-further-services"),n=t(this).parents(".show-services-trigger");return e.show(),n.find(".show-further-services").hide(),n.find(".show-fewer-services").show(),!1},onHideServices:function(){var e=t(this).parents(".germanized-create-label").find(".show-if-further-services"),n=t(this).parents(".show-services-trigger");return e.hide(),n.find(".show-further-services").show(),n.find(".show-fewer-services").hide(),!1},backbone:{getShipmentId:function(e){return e.replace(/^\D+/g,"")},init:function(e,n){if(-1!==n.indexOf("wc-gzd-modal-create-shipment-label")){var a=germanized.admin.dhl_backbone.backbone,i=germanized.admin.dhl_backbone,o=t(".germanized-create-label").parents(".wc-backbone-modal-content"),r={action:"woocommerce_gzd_dhl_create_label_form",shipment_id:a.getShipmentId(n),security:i.params.create_label_form_nonce};a.doAjax(r,o,a.onInitForm)}},onAjaxSuccess:function(e){},onAjaxError:function(e){},doAjax:function(e,n,a,i){var o=germanized.admin.dhl_backbone.backbone,r=germanized.admin.dhl_backbone,c=n.find(".germanized-create-label");a=a||o.onAjaxSuccess,i=i||o.onAjaxError,n.block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),n.find(".notice-wrapper").empty(),t.ajax({type:"POST",url:r.params.ajax_url,data:e,success:function(e){e.success?(e.fragments&&t.each(e.fragments,function(e,n){t(e).replaceWith(n)}),n.unblock(),a.apply(c,[e])):(n.unblock(),i.apply(c,[e]),t.each(e.messages,function(e,n){o.addNotice(n,"error",c)}),c.animate({scrollTop:0},500))},error:function(e){},dataType:"json"})},onInitForm:function(e){var n=germanized.admin.dhl_backbone.backbone,a=e.shipment_id,i=t(".germanized-create-label");t(document.body).trigger("wc-enhanced-select-init"),t(document.body).trigger("wc-init-datepickers"),i.find("input.show-if-trigger").trigger("change"),i.parents(".wc-backbone-modal").on("click","#btn-ok",{shipmentId:a},n.onSubmit)},getFormData:function(e){var a={};return t.each(e.serializeArray(),function(e,n){-1!==n.name.indexOf("[]")?(n.name=n.name.replace("[]",""),a[n.name]=t.makeArray(a[n.name]),a[n.name].push(n.value)):a[n.name]=n.value}),a},onSubmitSuccess:function(e){germanized.admin.dhl_backbone.backbone;t(this).parents(".wc-backbone-modal-content").find(".modal-close").trigger("click")},onSubmit:function(e){var n=germanized.admin.dhl_backbone.backbone,a=germanized.admin.dhl_backbone,i=t(this).parents(".wc-backbone-modal-content"),o=i.find(".germanized-create-label").find("form"),r=n.getFormData(o);r.security=a.params.create_label_nonce,r.shipment_id=e.data.shipmentId,r.action="woocommerce_gzd_create_dhl_label",n.doAjax(r,i,n.onSubmitSuccess),e.preventDefault(),e.stopPropagation()},addNotice:function(e,n,a){a.find(".notice-wrapper").append('<div class="notice is-dismissible notice-'+n+'"><p>'+e+'</p><button type="button" class="notice-dismiss"></button></div>')},response:function(e,n,a){n.indexOf("wc-gzd-modal-create-shipment-label")}}},t(document).ready(function(){germanized.admin.dhl_backbone.init()})}(jQuery);
 
packages/woocommerce-germanized-dhl/assets/js/admin-dhl-shipping-method.js DELETED
@@ -1,68 +0,0 @@
1
- window.germanized = window.germanized || {};
2
- window.germanized.admin = window.germanized.admin || {};
3
-
4
- ( function( $, admin ) {
5
-
6
- /**
7
- * Core
8
- */
9
- admin.dhl_shipping_method = {
10
-
11
- params: {},
12
-
13
- init: function () {
14
- var self = germanized.admin.dhl_shipping_method;
15
-
16
- $( document ).on( 'change', 'input[id$=dhl_enable]', self.showOrHideAll );
17
- $( document.body ).on( 'wc_backbone_modal_loaded', self.onShippingMethodOpen );
18
- },
19
-
20
- onShippingMethodOpen: function( e, t ) {
21
- if ( 'wc-modal-shipping-method-settings' === t ) {
22
- if ( $( 'input[id$=dhl_enable]' ).length > 0 ) {
23
- $( 'input[id$=dhl_enable]' ).trigger( 'change' );
24
- }
25
- }
26
- },
27
-
28
- showOrHideAll: function() {
29
- var self = germanized.admin.dhl_shipping_method,
30
- $input = $( this ),
31
- $form = $input.parents( 'form' );
32
-
33
- if ( ! $input.is( ':checked' ) ) {
34
- $form.find( 'table.form-table' ).each( function() {
35
- if ( $( this ).find( 'input[id*=_dhl_]' ).length > 0 ) {
36
- self.hideTable( $( this ) );
37
- }
38
- });
39
- } else {
40
- $form.find( 'table.form-table' ).each( function() {
41
- if ( $( this ).find( 'input[id*=_dhl_]' ).length > 0 ) {
42
- self.showTable( $( this ) );
43
- }
44
- });
45
- }
46
- },
47
-
48
- hideTable: function( $table ) {
49
-
50
- if ( $table.find( 'input[id$=dhl_enable]' ).length > 0 ) {
51
- return false;
52
- }
53
-
54
- $table.prevUntil( 'table.form-table' ).hide();
55
- $table.hide();
56
- },
57
-
58
- showTable: function( $table ) {
59
- $table.prevUntil( 'table.form-table' ).show();
60
- $table.show();
61
- }
62
- };
63
-
64
- $( document ).ready( function() {
65
- germanized.admin.dhl_shipping_method.init();
66
- });
67
-
68
- })( jQuery, window.germanized.admin );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
packages/woocommerce-germanized-dhl/assets/js/admin-dhl-shipping-method.min.js DELETED
@@ -1 +0,0 @@
1
- window.germanized=window.germanized||{},window.germanized.admin=window.germanized.admin||{},function(d){window.germanized.admin.dhl_shipping_method={params:{},init:function(){var n=germanized.admin.dhl_shipping_method;d(document).on("change","input[id$=dhl_enable]",n.showOrHideAll),d(document.body).on("wc_backbone_modal_loaded",n.onShippingMethodOpen)},onShippingMethodOpen:function(n,i){"wc-modal-shipping-method-settings"===i&&0<d("input[id$=dhl_enable]").length&&d("input[id$=dhl_enable]").trigger("change")},showOrHideAll:function(){var n=germanized.admin.dhl_shipping_method,i=d(this),e=i.parents("form");i.is(":checked")?e.find("table.form-table").each(function(){0<d(this).find("input[id*=_dhl_]").length&&n.showTable(d(this))}):e.find("table.form-table").each(function(){0<d(this).find("input[id*=_dhl_]").length&&n.hideTable(d(this))})},hideTable:function(n){if(0<n.find("input[id$=dhl_enable]").length)return!1;n.prevUntil("table.form-table").hide(),n.hide()},showTable:function(n){n.prevUntil("table.form-table").show(),n.show()}},d(document).ready(function(){germanized.admin.dhl_shipping_method.init()})}(jQuery);
 
packages/woocommerce-germanized-dhl/assets/js/admin-dhl-table.js DELETED
@@ -1,36 +0,0 @@
1
- window.germanized = window.germanized || {};
2
- window.germanized.admin = window.germanized.admin || {};
3
-
4
- ( function( $, admin ) {
5
-
6
- /**
7
- * Core
8
- */
9
- admin.dhl_table = {
10
-
11
- params: {},
12
-
13
- init: function () {
14
- var self = germanized.admin.dhl_table;
15
-
16
- $( document )
17
- .on( 'click', '.wc-gzd-shipment-action-button-generate-dhl-label', self.onCreateLabel )
18
- },
19
-
20
- onCreateLabel: function() {
21
- var self = germanized.admin.dhl_table,
22
- shipmentId = $( this ).parents( 'tr' ).find( 'th.check-column input' ).val();
23
-
24
- $( this ).parents( 'td' ).WCBackboneModal({
25
- template: 'wc-gzd-modal-create-shipment-label-' + shipmentId
26
- });
27
-
28
- return false;
29
- }
30
- };
31
-
32
- $( document ).ready( function() {
33
- germanized.admin.dhl_table.init();
34
- });
35
-
36
- })( jQuery, window.germanized.admin );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
packages/woocommerce-germanized-dhl/assets/js/admin-dhl-table.min.js DELETED
@@ -1 +0,0 @@
1
- window.germanized=window.germanized||{},window.germanized.admin=window.germanized.admin||{},function(n){window.germanized.admin.dhl_table={params:{},init:function(){var e=germanized.admin.dhl_table;n(document).on("click",".wc-gzd-shipment-action-button-generate-dhl-label",e.onCreateLabel)},onCreateLabel:function(){germanized.admin.dhl_table;var e=n(this).parents("tr").find("th.check-column input").val();return n(this).parents("td").WCBackboneModal({template:"wc-gzd-modal-create-shipment-label-"+e}),!1}},n(document).ready(function(){germanized.admin.dhl_table.init()})}(jQuery);
 
packages/woocommerce-germanized-dhl/assets/js/admin-dhl.js DELETED
@@ -1,241 +0,0 @@
1
- window.germanized = window.germanized || {};
2
- window.germanized.admin = window.germanized.admin || {};
3
-
4
- ( function( $, admin ) {
5
-
6
- /**
7
- * Core
8
- */
9
- admin.dhl = {
10
-
11
- params: {},
12
-
13
- init: function () {
14
- var self = germanized.admin.dhl;
15
- self.params = wc_gzd_admin_dhl_params;
16
-
17
- $( document )
18
- .on( 'click', '#panel-order-shipments .create-shipment-label:not(.disabled)', self.onCreateLabel )
19
- .on( 'click', '#panel-order-shipments .remove-shipment-label', self.onRemoveLabel )
20
- .on( 'click', '#panel-order-shipments .send-shipment-label', self.onSendLabel );
21
-
22
- $( document.body )
23
- .on( 'woocommerce_gzd_shipments_needs_saving', self.onShipmentsNeedsSavingChange )
24
- .on( 'init_tooltips', self.initTip );
25
-
26
- self.initTip();
27
- },
28
-
29
- initTip: function() {
30
- $( '.create-shipment-label' ).tipTip( {
31
- 'fadeIn': 50,
32
- 'fadeOut': 50,
33
- 'delay': 200
34
- } );
35
- },
36
-
37
- onShipmentsNeedsSavingChange: function( e, needsSaving, currentShipmentId ) {
38
- var self = germanized.admin.dhl,
39
- $shipment = self.getShipment( currentShipmentId );
40
-
41
- if ( needsSaving ) {
42
- self.disableCreateLabel( $shipment );
43
- } else {
44
- self.enableCreateLabel( $shipment );
45
- }
46
- },
47
-
48
- disableCreateLabel: function( $shipment ) {
49
- var self = germanized.admin.dhl,
50
- $button = $shipment.find( '.create-shipment-label' );
51
-
52
- $button.addClass( 'disabled button-disabled' );
53
- $button.prop( 'title', self.params.i18n_create_label_disabled );
54
-
55
- // Tooltips
56
- $( document.body ).trigger( 'init_tooltips' );
57
- },
58
-
59
- enableCreateLabel: function( $shipment ) {
60
- var self = germanized.admin.dhl,
61
- $button = $shipment.find( '.create-shipment-label' );
62
-
63
- $button.removeClass( 'disabled button-disabled' );
64
- $button.prop( 'title', self.params.i18n_create_label_enabled );
65
-
66
- // Tooltips
67
- $( document.body ).trigger( 'init_tooltips' );
68
- },
69
-
70
- getShipmentWrapperByLabel: function( labelId ) {
71
- var self = germanized.admin.dhl,
72
- $wrapper = $( '.wc-gzd-shipment-dhl-label[data-label="' + labelId + '"]' );
73
-
74
- if ( $wrapper.length > 0 ) {
75
- return $wrapper.parents( '.order-shipment:first' );
76
- }
77
-
78
- return false;
79
- },
80
-
81
- getShipmentIdByLabel: function( labelId ) {
82
- var self = germanized.admin.dhl,
83
- $wrapper = $( '.wc-gzd-shipment-dhl-label[data-label="' + labelId + '"]' );
84
-
85
- if ( $wrapper.length > 0 ) {
86
- return $wrapper.parents( '.order-shipment' ).data( 'shipment' );
87
- }
88
-
89
- return false;
90
- },
91
-
92
- removeLabel: function( labelId ) {
93
- var self = germanized.admin.dhl,
94
- $wrapper = self.getShipmentWrapperByLabel( labelId );
95
-
96
- var params = {
97
- 'action' : 'woocommerce_gzd_remove_dhl_label',
98
- 'label_id': labelId,
99
- 'security': self.params.remove_label_nonce
100
- };
101
-
102
- if ( $wrapper ) {
103
- self.doAjax( params, $wrapper );
104
- }
105
- },
106
-
107
- onRemoveLabel: function() {
108
- var self = germanized.admin.dhl,
109
- labelId = $( this ).data( 'label' );
110
-
111
- var answer = window.confirm( self.params.i18n_remove_label_notice );
112
-
113
- if ( answer ) {
114
- self.removeLabel( labelId );
115
- }
116
-
117
- return false;
118
- },
119
-
120
- sendLabel: function( labelId ) {
121
- var self = germanized.admin.dhl,
122
- $wrapper = self.getShipmentWrapperByLabel( labelId );
123
-
124
- var params = {
125
- 'action' : 'woocommerce_gzd_dhl_email_return_label',
126
- 'label_id': labelId,
127
- 'security': self.params.send_label_nonce
128
- };
129
-
130
- if ( $wrapper ) {
131
- self.doAjax( params, $wrapper, self.onSendLabelSuccess );
132
- }
133
- },
134
-
135
- onSendLabelSuccess: function( data ) {
136
- var shipments = germanized.admin.shipments;
137
-
138
- $.each( data.messages, function( i, message ) {
139
- shipments.addNotice( message, 'success' );
140
- });
141
- },
142
-
143
- onSendLabel: function() {
144
- var self = germanized.admin.dhl,
145
- labelId = $( this ).data( 'label' );
146
-
147
- self.sendLabel( labelId );
148
-
149
- return false;
150
- },
151
-
152
- doAjax: function( params, $wrapper, cSuccess, cError ) {
153
- var self = germanized.admin.dhl,
154
- shipments = germanized.admin.shipments,
155
- $shipment = $wrapper.hasClass( 'order-shipment' ) ? $wrapper : $wrapper.parents( '.order-shipment:first' ),
156
- shipmentId = $shipment.data( 'shipment' );
157
-
158
- cSuccess = cSuccess || self.onAjaxSuccess;
159
- cError = cError || self.onAjaxError;
160
-
161
- if ( ! params.hasOwnProperty( 'security' ) ) {
162
- params['security'] = self.params.edit_label_nonce;
163
- }
164
-
165
- if ( ! params.hasOwnProperty( 'shipment_id' ) ) {
166
- params['shipment_id'] = shipmentId;
167
- }
168
-
169
- $shipment.block({
170
- message: null,
171
- overlayCSS: {
172
- background: '#fff',
173
- opacity: 0.6
174
- }
175
- });
176
-
177
- $shipment.find( '.notice-wrapper' ).empty();
178
-
179
- $.ajax({
180
- type: "POST",
181
- url: self.params.ajax_url,
182
- data: params,
183
- success: function( data ) {
184
- if ( data.success ) {
185
- $shipment.unblock();
186
-
187
- if ( data.fragments ) {
188
- $.each( data.fragments, function ( key, value ) {
189
- $( key ).replaceWith( value );
190
- });
191
- }
192
-
193
- cSuccess.apply( $shipment, [ data ] );
194
- } else {
195
- cError.apply( $shipment, [ data ] );
196
-
197
- $shipment.unblock();
198
-
199
- if ( data.hasOwnProperty( 'message' ) ) {
200
- shipments.addNotice( data.message, 'error' );
201
- } else if( data.hasOwnProperty( 'messages' ) ) {
202
- $.each( data.messages, function( i, message ) {
203
- shipments.addNotice( message, 'error' );
204
- });
205
- }
206
- }
207
- },
208
- error: function( data ) {},
209
- dataType: 'json'
210
- });
211
- },
212
-
213
- onAjaxSuccess: function( data ) {
214
-
215
- },
216
-
217
- onAjaxError: function( data ) {
218
-
219
- },
220
-
221
- getShipment: function( id ) {
222
- return $( '#panel-order-shipments' ).find( '#shipment-' + id );
223
- },
224
-
225
- onCreateLabel: function() {
226
- var self = germanized.admin.dhl,
227
- shipmentId = $( this ).parents( '.order-shipment' ).data( 'shipment' );
228
-
229
- self.getShipment( shipmentId ).WCBackboneModal({
230
- template: 'wc-gzd-modal-create-shipment-label-' + shipmentId
231
- });
232
-
233
- return false;
234
- }
235
- };
236
-
237
- $( document ).ready( function() {
238
- germanized.admin.dhl.init();
239
- });
240
-
241
- })( jQuery, window.germanized.admin );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
packages/woocommerce-germanized-dhl/assets/js/admin-dhl.min.js DELETED
@@ -1 +0,0 @@
1
- window.germanized=window.germanized||{},window.germanized.admin=window.germanized.admin||{},function(o){window.germanized.admin.dhl={params:{},init:function(){var e=germanized.admin.dhl;e.params=wc_gzd_admin_dhl_params,o(document).on("click","#panel-order-shipments .create-shipment-label:not(.disabled)",e.onCreateLabel).on("click","#panel-order-shipments .remove-shipment-label",e.onRemoveLabel).on("click","#panel-order-shipments .send-shipment-label",e.onSendLabel),o(document.body).on("woocommerce_gzd_shipments_needs_saving",e.onShipmentsNeedsSavingChange).on("init_tooltips",e.initTip),e.initTip()},initTip:function(){o(".create-shipment-label").tipTip({fadeIn:50,fadeOut:50,delay:200})},onShipmentsNeedsSavingChange:function(e,n,a){var i=germanized.admin.dhl,t=i.getShipment(a);n?i.disableCreateLabel(t):i.enableCreateLabel(t)},disableCreateLabel:function(e){var n=germanized.admin.dhl,a=e.find(".create-shipment-label");a.addClass("disabled button-disabled"),a.prop("title",n.params.i18n_create_label_disabled),o(document.body).trigger("init_tooltips")},enableCreateLabel:function(e){var n=germanized.admin.dhl,a=e.find(".create-shipment-label");a.removeClass("disabled button-disabled"),a.prop("title",n.params.i18n_create_label_enabled),o(document.body).trigger("init_tooltips")},getShipmentWrapperByLabel:function(e){germanized.admin.dhl;var n=o('.wc-gzd-shipment-dhl-label[data-label="'+e+'"]');return 0<n.length&&n.parents(".order-shipment:first")},getShipmentIdByLabel:function(e){germanized.admin.dhl;var n=o('.wc-gzd-shipment-dhl-label[data-label="'+e+'"]');return 0<n.length&&n.parents(".order-shipment").data("shipment")},removeLabel:function(e){var n=germanized.admin.dhl,a=n.getShipmentWrapperByLabel(e),i={action:"woocommerce_gzd_remove_dhl_label",label_id:e,security:n.params.remove_label_nonce};a&&n.doAjax(i,a)},onRemoveLabel:function(){var e=germanized.admin.dhl,n=o(this).data("label");return window.confirm(e.params.i18n_remove_label_notice)&&e.removeLabel(n),!1},sendLabel:function(e){var n=germanized.admin.dhl,a=n.getShipmentWrapperByLabel(e),i={action:"woocommerce_gzd_dhl_email_return_label",label_id:e,security:n.params.send_label_nonce};a&&n.doAjax(i,a,n.onSendLabelSuccess)},onSendLabelSuccess:function(e){var a=germanized.admin.shipments;o.each(e.messages,function(e,n){a.addNotice(n,"success")})},onSendLabel:function(){var e=germanized.admin.dhl,n=o(this).data("label");return e.sendLabel(n),!1},doAjax:function(e,n,a,i){var t=germanized.admin.dhl,r=germanized.admin.shipments,d=n.hasClass("order-shipment")?n:n.parents(".order-shipment:first"),l=d.data("shipment");a=a||t.onAjaxSuccess,i=i||t.onAjaxError,e.hasOwnProperty("security")||(e.security=t.params.edit_label_nonce),e.hasOwnProperty("shipment_id")||(e.shipment_id=l),d.block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),d.find(".notice-wrapper").empty(),o.ajax({type:"POST",url:t.params.ajax_url,data:e,success:function(e){e.success?(d.unblock(),e.fragments&&o.each(e.fragments,function(e,n){o(e).replaceWith(n)}),a.apply(d,[e])):(i.apply(d,[e]),d.unblock(),e.hasOwnProperty("message")?r.addNotice(e.message,"error"):e.hasOwnProperty("messages")&&o.each(e.messages,function(e,n){r.addNotice(n,"error")}))},error:function(e){},dataType:"json"})},onAjaxSuccess:function(e){},onAjaxError:function(e){},getShipment:function(e){return o("#panel-order-shipments").find("#shipment-"+e)},onCreateLabel:function(){var e=germanized.admin.dhl,n=o(this).parents(".order-shipment").data("shipment");return e.getShipment(n).WCBackboneModal({template:"wc-gzd-modal-create-shipment-label-"+n}),!1}},o(document).ready(function(){germanized.admin.dhl.init()})}(jQuery);
 
packages/woocommerce-germanized-dhl/assets/js/parcel-locator.js CHANGED
@@ -39,7 +39,25 @@ window.germanized.dhl_parcel_locator = window.germanized.dhl_parcel_locator || {
39
  afterRefreshCheckout: function() {
40
  var self = germanized.dhl_parcel_locator;
41
 
42
- self.refreshAvailability();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  },
44
 
45
  refreshAvailability: function() {
39
  afterRefreshCheckout: function() {
40
  var self = germanized.dhl_parcel_locator;
41
 
42
+ var params = {
43
+ 'security': self.params.parcel_locator_data_nonce,
44
+ 'action' : 'woocommerce_gzd_dhl_parcel_locator_refresh_shipping_data'
45
+ };
46
+
47
+ $.ajax({
48
+ type: "POST",
49
+ url: self.params.ajax_url,
50
+ data: params,
51
+ success: function( data ) {
52
+ // Update shipping method data from session
53
+ self.params['methods'] = data.methods;
54
+ self.refreshAvailability();
55
+ },
56
+ error: function( data ) {
57
+ self.refreshAvailability();
58
+ },
59
+ dataType: 'json'
60
+ });
61
  },
62
 
63
  refreshAvailability: function() {
packages/woocommerce-germanized-dhl/assets/js/parcel-locator.min.js CHANGED
@@ -1 +1 @@
1
- window.germanized=window.germanized||{},window.germanized.dhl_parcel_locator=window.germanized.dhl_parcel_locator||{},function(s,t){t.dhl_parcel_locator={params:{},parcelShops:[],wrapper:"",init:function(){var e=t.dhl_parcel_locator;e.params=wc_gzd_dhl_parcel_locator_params,e.wrapper=e.params.wrapper,s(document).on("change.dhl",e.wrapper+" #shipping_address_type",e.refreshAddressType).on("change.dhl",e.wrapper+" #shipping_address_1",e.onChangeAddress).on("change.dhl",e.wrapper+" #ship-to-different-address-checkbox",e.onChangeShipping).on("change.dhl",e.wrapper+" #shipping_country",e.refreshAvailability),s(document.body).on("updated_checkout",e.afterRefreshCheckout),e.refreshAvailability(),e.refreshAddressType()},isCheckout:function(){return t.dhl_parcel_locator.params.is_checkout},afterRefreshCheckout:function(){t.dhl_parcel_locator.refreshAvailability()},refreshAvailability:function(){var e=t.dhl_parcel_locator,a=e.getShippingMethod(),r=e.getShippingMethodData(a);if(e.isAvailable()){var d=s(e.wrapper+" #shipping_address_type"),p=d.val();e.isCheckout()&&(d.html(""),r&&(s.each(r.address_type_options,function(e,a){d.append(s("<option/>",{value:e,text:a}))}),0<d.find('option[value="'+p+'"]').length&&d.find('option[value="'+p+'"]').prop("selected",!0),d.trigger("change"))),0<d.find("option").length?s(e.wrapper+" #shipping_address_type_field").show():s(e.wrapper+" #shipping_address_type_field").hide(),s(document.body).trigger("woocommerce_gzd_dhl_location_available_pickup_types_changed")}else s(e.wrapper+" #shipping_address_type").val("regular").trigger("change"),s(e.wrapper+" #shipping_address_type_field").hide()},onChangeShipping:function(){var e=t.dhl_parcel_locator;s(this).is(":checked")&&(e.refreshAvailability(),e.isEnabled()&&e.refreshAddressType())},onChangeAddress:function(){var e=t.dhl_parcel_locator;e.isEnabled()&&e.formatAddress()},formatAddress:function(){var e=!1,a=t.dhl_parcel_locator,r=s(a.wrapper+" #shipping_address_1"),d=r.val();0<d.length&&(s.isNumeric(d)?e=!0:a.addressIsPackstation()||a.addressIsPostOffice()||a.addressIsParcelShop()||r.val("")),e&&a.validateAddress(d),a.refreshCustomerNumberStatus()},addressIsPackstation:function(){var e=t.dhl_parcel_locator;return 0<=s(e.wrapper+" #shipping_address_1").val().toLowerCase().indexOf(e.params.i18n.packstation.toLowerCase())},addressIsPostOffice:function(){var e=t.dhl_parcel_locator;return 0<=s(e.wrapper+" #shipping_address_1").val().toLowerCase().indexOf(e.params.i18n.postoffice.toLowerCase())},addressIsParcelShop:function(){var e=t.dhl_parcel_locator;return 0<=s(e.wrapper+" #shipping_address_1").val().toLowerCase().indexOf(e.params.i18n.parcelshop.toLowerCase())},shippingMethodSupportsPickupType:function(e,a){var r=t.dhl_parcel_locator.getShippingMethodData(e),d=!1;return r&&-1!==s.inArray(a,r.supports)&&(d=!0),d},customerNumberIsMandatory:function(){var e=t.dhl_parcel_locator;return!!e.isEnabled()&&(!!e.addressIsPackstation()||(e.addressIsParcelShop()||e.addressIsPostOffice(),!1))},refreshCustomerNumberStatus:function(){var e=t.dhl_parcel_locator,a=s(e.wrapper+" #shipping_dhl_postnumber_field");e.customerNumberIsMandatory()?(a.find("label span").length&&a.find("label span").hasClass("required")||a.find("label").append(' <span class="required">*</span>'),a.find("label span.optional").hide(),a.addClass("validate-required")):(a.find("label span.required").remove(),a.find("label span.optional").show(),a.removeClass("validate-required woocommerce-invalid woocommerce-invalid-required-field"))},validateAddress:function(e){var a=t.dhl_parcel_locator,r={action:"woocommerce_gzd_dhl_parcel_locator_validate_address",address:e,security:a.params.parcel_locator_nonce};s.ajax({type:"POST",url:a.params.ajax_url,data:r,success:function(e){e.valid?(s(a.wrapper+" #shipping_address_1").val(e.address),a.refreshCustomerNumberStatus()):s(a.wrapper+" #shipping_address_1").val("")},error:function(e){},dataType:"json"})},getShippingMethodData:function(e){var a=t.dhl_parcel_locator;return!!a.params.methods.hasOwnProperty(e)&&a.params.methods[e]},refreshAddressType:function(){var e,a=t.dhl_parcel_locator,r=s(a.wrapper+" #shipping_address_1_field"),d=s(a.wrapper+" #shipping_address_1"),p=a.getShippingMethod(),l=a.getShippingMethodData(p),i=d.val();a.isEnabled()?(l&&(d.data("label-dhl",l.street_label),d.data("placeholder-dhl",l.street_placeholder),d.data("desc-dhl",l.finder_button)),s(a.wrapper+" #shipping_dhl_postnumber_field").show(),d.data("label-dhl")&&(e=r.find("label span, label abbr"),r.find("label").html(d.data("label-dhl")+" "),r.find("label").append(e)),d.data("placeholder-dhl")&&d.attr("placeholder",d.data("placeholder-dhl")),d.data("desc-dhl")&&(r.find(".dhl-desc").remove(),r.find(".woocommerce-input-wrapper").after('<p class="desc dhl-desc">'+d.data("desc-dhl")+"</p>")),0<i.length&&a.formatAddress()):(s(a.wrapper+" #shipping_dhl_postnumber_field").hide(),d.data("label-regular")&&(e=r.find("label span, label abbr"),r.find("label").html(d.data("label-regular")+" "),r.find("label").append(e)),d.data("placeholder-regular")&&d.attr("placeholder",d.data("placeholder-regular")),r.find(".dhl-desc").remove())},isEnabled:function(){var e=t.dhl_parcel_locator;return e.isAvailable()&&"dhl"===s(e.wrapper+" #shipping_address_type").val()},getShippingMethod:function(e){var a="",r=e||!0;if(0<s("select.shipping_method").length?a=s("select.shipping_method").val():0<s('input[name^="shipping_method"]:checked').length?a=s('input[name^="shipping_method"]:checked').val():0<s('input[name^="shipping_method"][type="hidden"]').length&&(a=s('input[name^="shipping_method"][type="hidden"]').val()),!r&&void 0!==a&&0<a.length){var d=a.split(":");0<d.length&&(a=d[0])}return a},pickupTypeIsAvailable:function(e){var a=t.dhl_parcel_locator,r=a.getShippingMethod(),d=!0;return a.shippingMethodSupportsPickupType(r,e)||(d=!1),d},isAvailable:function(){var e=t.dhl_parcel_locator,a=s(e.wrapper+" #shipping_country").val(),r=e.getShippingMethod(),d=e.getShippingMethodData(r),p=!0;return-1===s.inArray(a,e.params.supported_countries)&&(p=!1),e.isCheckout()&&(d&&0!==d.supports.length||(p=!1)),p}},s(document).ready(function(){t.dhl_parcel_locator.init()})}(jQuery,window.germanized);
1
+ window.germanized=window.germanized||{},window.germanized.dhl_parcel_locator=window.germanized.dhl_parcel_locator||{},function(s,i){i.dhl_parcel_locator={params:{},parcelShops:[],wrapper:"",init:function(){var e=i.dhl_parcel_locator;e.params=wc_gzd_dhl_parcel_locator_params,e.wrapper=e.params.wrapper,s(document).on("change.dhl",e.wrapper+" #shipping_address_type",e.refreshAddressType).on("change.dhl",e.wrapper+" #shipping_address_1",e.onChangeAddress).on("change.dhl",e.wrapper+" #ship-to-different-address-checkbox",e.onChangeShipping).on("change.dhl",e.wrapper+" #shipping_country",e.refreshAvailability),s(document.body).on("updated_checkout",e.afterRefreshCheckout),e.refreshAvailability(),e.refreshAddressType()},isCheckout:function(){return i.dhl_parcel_locator.params.is_checkout},afterRefreshCheckout:function(){var a=i.dhl_parcel_locator,e={security:a.params.parcel_locator_data_nonce,action:"woocommerce_gzd_dhl_parcel_locator_refresh_shipping_data"};s.ajax({type:"POST",url:a.params.ajax_url,data:e,success:function(e){a.params.methods=e.methods,a.refreshAvailability()},error:function(e){a.refreshAvailability()},dataType:"json"})},refreshAvailability:function(){var e=i.dhl_parcel_locator,a=e.getShippingMethod(),r=e.getShippingMethodData(a);if(e.isAvailable()){var d=s(e.wrapper+" #shipping_address_type"),p=d.val();e.isCheckout()&&(d.html(""),r&&(s.each(r.address_type_options,function(e,a){d.append(s("<option/>",{value:e,text:a}))}),0<d.find('option[value="'+p+'"]').length&&d.find('option[value="'+p+'"]').prop("selected",!0),d.trigger("change"))),0<d.find("option").length?s(e.wrapper+" #shipping_address_type_field").show():s(e.wrapper+" #shipping_address_type_field").hide(),s(document.body).trigger("woocommerce_gzd_dhl_location_available_pickup_types_changed")}else s(e.wrapper+" #shipping_address_type").val("regular").trigger("change"),s(e.wrapper+" #shipping_address_type_field").hide()},onChangeShipping:function(){var e=i.dhl_parcel_locator;s(this).is(":checked")&&(e.refreshAvailability(),e.isEnabled()&&e.refreshAddressType())},onChangeAddress:function(){var e=i.dhl_parcel_locator;e.isEnabled()&&e.formatAddress()},formatAddress:function(){var e=!1,a=i.dhl_parcel_locator,r=s(a.wrapper+" #shipping_address_1"),d=r.val();0<d.length&&(s.isNumeric(d)?e=!0:a.addressIsPackstation()||a.addressIsPostOffice()||a.addressIsParcelShop()||r.val("")),e&&a.validateAddress(d),a.refreshCustomerNumberStatus()},addressIsPackstation:function(){var e=i.dhl_parcel_locator;return 0<=s(e.wrapper+" #shipping_address_1").val().toLowerCase().indexOf(e.params.i18n.packstation.toLowerCase())},addressIsPostOffice:function(){var e=i.dhl_parcel_locator;return 0<=s(e.wrapper+" #shipping_address_1").val().toLowerCase().indexOf(e.params.i18n.postoffice.toLowerCase())},addressIsParcelShop:function(){var e=i.dhl_parcel_locator;return 0<=s(e.wrapper+" #shipping_address_1").val().toLowerCase().indexOf(e.params.i18n.parcelshop.toLowerCase())},shippingMethodSupportsPickupType:function(e,a){var r=i.dhl_parcel_locator.getShippingMethodData(e),d=!1;return r&&-1!==s.inArray(a,r.supports)&&(d=!0),d},customerNumberIsMandatory:function(){var e=i.dhl_parcel_locator;return!!e.isEnabled()&&(!!e.addressIsPackstation()||(e.addressIsParcelShop()||e.addressIsPostOffice(),!1))},refreshCustomerNumberStatus:function(){var e=i.dhl_parcel_locator,a=s(e.wrapper+" #shipping_dhl_postnumber_field");e.customerNumberIsMandatory()?(a.find("label span").length&&a.find("label span").hasClass("required")||a.find("label").append(' <span class="required">*</span>'),a.find("label span.optional").hide(),a.addClass("validate-required")):(a.find("label span.required").remove(),a.find("label span.optional").show(),a.removeClass("validate-required woocommerce-invalid woocommerce-invalid-required-field"))},validateAddress:function(e){var a=i.dhl_parcel_locator,r={action:"woocommerce_gzd_dhl_parcel_locator_validate_address",address:e,security:a.params.parcel_locator_nonce};s.ajax({type:"POST",url:a.params.ajax_url,data:r,success:function(e){e.valid?(s(a.wrapper+" #shipping_address_1").val(e.address),a.refreshCustomerNumberStatus()):s(a.wrapper+" #shipping_address_1").val("")},error:function(e){},dataType:"json"})},getShippingMethodData:function(e){var a=i.dhl_parcel_locator;return!!a.params.methods.hasOwnProperty(e)&&a.params.methods[e]},refreshAddressType:function(){var e,a=i.dhl_parcel_locator,r=s(a.wrapper+" #shipping_address_1_field"),d=s(a.wrapper+" #shipping_address_1"),p=a.getShippingMethod(),t=a.getShippingMethodData(p),l=d.val();a.isEnabled()?(t&&(d.data("label-dhl",t.street_label),d.data("placeholder-dhl",t.street_placeholder),d.data("desc-dhl",t.finder_button)),s(a.wrapper+" #shipping_dhl_postnumber_field").show(),d.data("label-dhl")&&(e=r.find("label span, label abbr"),r.find("label").html(d.data("label-dhl")+" "),r.find("label").append(e)),d.data("placeholder-dhl")&&d.attr("placeholder",d.data("placeholder-dhl")),d.data("desc-dhl")&&(r.find(".dhl-desc").remove(),r.find(".woocommerce-input-wrapper").after('<p class="desc dhl-desc">'+d.data("desc-dhl")+"</p>")),0<l.length&&a.formatAddress()):(s(a.wrapper+" #shipping_dhl_postnumber_field").hide(),d.data("label-regular")&&(e=r.find("label span, label abbr"),r.find("label").html(d.data("label-regular")+" "),r.find("label").append(e)),d.data("placeholder-regular")&&d.attr("placeholder",d.data("placeholder-regular")),r.find(".dhl-desc").remove())},isEnabled:function(){var e=i.dhl_parcel_locator;return e.isAvailable()&&"dhl"===s(e.wrapper+" #shipping_address_type").val()},getShippingMethod:function(e){var a="",r=e||!0;if(0<s("select.shipping_method").length?a=s("select.shipping_method").val():0<s('input[name^="shipping_method"]:checked').length?a=s('input[name^="shipping_method"]:checked').val():0<s('input[name^="shipping_method"][type="hidden"]').length&&(a=s('input[name^="shipping_method"][type="hidden"]').val()),!r&&void 0!==a&&0<a.length){var d=a.split(":");0<d.length&&(a=d[0])}return a},pickupTypeIsAvailable:function(e){var a=i.dhl_parcel_locator,r=a.getShippingMethod(),d=!0;return a.shippingMethodSupportsPickupType(r,e)||(d=!1),d},isAvailable:function(){var e=i.dhl_parcel_locator,a=s(e.wrapper+" #shipping_country").val(),r=e.getShippingMethod(),d=e.getShippingMethodData(r),p=!0;return-1===s.inArray(a,e.params.supported_countries)&&(p=!1),e.isCheckout()&&(d&&0!==d.supports.length||(p=!1)),p}},s(document).ready(function(){i.dhl_parcel_locator.init()})}(jQuery,window.germanized);
packages/woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php CHANGED
@@ -11,7 +11,7 @@ use Vendidero\Germanized\DHL\Package;
11
  $default_args = wc_gzd_dhl_get_label_default_args( $dhl_order, $shipment );
12
  ?>
13
 
14
- <form action="" method="post" class="wc-gzd-dhl-create-label-form">
15
 
16
  <?php woocommerce_wp_select( array(
17
  'id' => 'dhl_label_dhl_product',
11
  $default_args = wc_gzd_dhl_get_label_default_args( $dhl_order, $shipment );
12
  ?>
13
 
14
+ <form action="" method="post" class="wc-gzd-create-shipment-label-form">
15
 
16
  <?php woocommerce_wp_select( array(
17
  'id' => 'dhl_label_dhl_product',
packages/woocommerce-germanized-dhl/includes/admin/views/html-shipment-label.php DELETED
@@ -1,36 +0,0 @@
1
- <?php
2
- /**
3
- * Shipment label HTML for meta box.
4
- *
5
- * @package WooCommerce_Germanized/DHL/Admin
6
- */
7
- defined( 'ABSPATH' ) || exit;
8
-
9
- use Vendidero\Germanized\DHL\Package;
10
- ?>
11
-
12
- <div class="wc-gzd-shipment-dhl-label column column-spaced col-12" data-label="<?php echo ( $dhl_label ? esc_attr( $dhl_label->get_id() ) : '' ); ?>">
13
- <h4><?php _ex( 'DHL Label', 'dhl', 'woocommerce-germanized' ); ?> <?php echo ( $dhl_label ? '<a class="shipment-tracking-number" href="' . $dhl_label->get_tracking_url() . '" target="_blank">' . $dhl_label->get_number() . '</a>' : '' ); ?></h4>
14
-
15
- <div class="wc-gzd-shipment-dhl-label-content">
16
- <div class="shipment-dhl-label-actions">
17
- <?php if ( $dhl_label ) : ?>
18
- <div class="shipment-dhl-label-actions-wrapper shipment-dhl-label-actions-download">
19
-
20
- <a class="button button-secondary download-shipment-label" href="<?php echo $dhl_label->get_download_url(); ?>" target="_blank"><?php _ex( 'Download', 'dhl', 'woocommerce-germanized' ); ?></a>
21
-
22
- <?php if ( 'return' === $dhl_label->get_type() ) : ?>
23
- <a class="send-shipment-label email" href="#" data-label="<?php echo esc_attr( $dhl_label->get_id() ); ?>"><?php _ex( 'Send to customer', 'dhl', 'woocommerce-germanized' ); ?></a>
24
- <?php endif; ?>
25
-
26
- <a class="remove-shipment-label delete" data-label="<?php echo esc_attr( $dhl_label->get_id() ); ?>" href="#"><?php _ex( 'Delete', 'dhl', 'woocommerce-germanized' ); ?></a>
27
- </div>
28
- <?php else: ?>
29
- <div class="shipment-dhl-label-actions-wrapper shipment-dhl-label-actions-create">
30
- <a class="button button-secondary create-shipment-label" href="#" title="<?php _ex( 'Create new DHL label', 'dhl', 'woocommerce-germanized' ); ?>"><?php _ex( 'Create label', 'dhl', 'woocommerce-germanized' ); ?></a>
31
- <?php include( 'html-shipment-label-backbone.php' ); ?>
32
- </div>
33
- <?php endif; ?>
34
- </div>
35
- </div>
36
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
packages/woocommerce-germanized-dhl/includes/admin/views/html-shipment-return-label-backbone-form.php CHANGED
@@ -11,7 +11,7 @@ use Vendidero\Germanized\DHL\Package;
11
  $default_args = wc_gzd_dhl_get_return_label_default_args( $dhl_order, $shipment );
12
  ?>
13
 
14
- <form action="" method="post" class="wc-gzd-dhl-create-label-form">
15
 
16
  <?php woocommerce_wp_select( array(
17
  'id' => 'dhl_label_receiver_slug',
11
  $default_args = wc_gzd_dhl_get_return_label_default_args( $dhl_order, $shipment );
12
  ?>
13
 
14
+ <form action="" method="post" class="wc-gzd-create-shipment-label-form">
15
 
16
  <?php woocommerce_wp_select( array(
17
  'id' => 'dhl_label_receiver_slug',
packages/woocommerce-germanized-dhl/includes/admin/views/settings-shipping-method.php CHANGED
@@ -11,20 +11,6 @@ use \Vendidero\Germanized\DHL\Admin\Settings;
11
  use \Vendidero\Germanized\DHL\ParcelLocator;
12
 
13
  $settings = array(
14
- 'dhl_title' => array(
15
- 'title' => _x( 'DHL', 'dhl', 'woocommerce-germanized' ),
16
- 'type' => 'title',
17
- 'default' => '',
18
- /* translators: %s: URL for link. */
19
- 'description' => sprintf( _x( 'Adjust DHL settings accordingly. <a href="%s">Global settings</a> will be used as fallback.', 'dhl', 'woocommerce-germanized' ), admin_url( 'admin.php?page=wc-settings&tab=germanized-dhl' ) ),
20
- ),
21
- 'dhl_enable' => array(
22
- 'title' => _x( 'Ship via DHL', 'dhl', 'woocommerce-germanized' ),
23
- 'type' => 'checkbox',
24
- 'description' => _x( 'Enables DHL features.', 'dhl', 'woocommerce-germanized' ),
25
- 'default' => 'yes',
26
- 'desc_tip' => true,
27
- ),
28
  'dhl_label_title' => array(
29
  'title' => _x( 'DHL Labels', 'dhl', 'woocommerce-germanized' ),
30
  'type' => 'title',
11
  use \Vendidero\Germanized\DHL\ParcelLocator;
12
 
13
  $settings = array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  'dhl_label_title' => array(
15
  'title' => _x( 'DHL Labels', 'dhl', 'woocommerce-germanized' ),
16
  'type' => 'title',
packages/woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php CHANGED
@@ -13,8 +13,7 @@ use Vendidero\Germanized\DHL\LabelQuery;
13
  use Vendidero\Germanized\DHL\Order;
14
  use Vendidero\Germanized\DHL\Package;
15
  use Vendidero\Germanized\DHL\ParcelLocator;
16
- use Vendidero\Germanized\DHL\ShippingMethod;
17
- use Vendidero\Germanized\DHL\ShippingMethodPlaceholder;
18
  use Vendidero\Germanized\DHL\ParcelServices;
19
  use Vendidero\Germanized\DHL\LabelFactory;
20
  use Vendidero\Germanized\DHL\SimpleLabel;
@@ -77,6 +76,16 @@ function wc_gzd_dhl_get_duties() {
77
  return $duties;
78
  }
79
 
 
 
 
 
 
 
 
 
 
 
80
  function wc_gzd_dhl_get_visual_min_ages() {
81
  $visual_age = array(
82
  '0' => _x( 'None', 'age context', 'woocommerce-germanized' ),
@@ -108,7 +117,7 @@ function wc_gzd_dhl_get_label_customer_reference( $label, $shipment ) {
108
  * @since 3.0.0
109
  * @package Vendidero/Germanized/DHL
110
  */
111
- return apply_filters( 'woocommerce_gzd_dhl_label_customer_reference', wc_gzd_dhl_get_label_reference( _x( 'Shipment #{shipment_id} to order #{order_id}', 'dhl', 'woocommerce-germanized' ), array( '{shipment_id}' => $shipment->get_id(), '{order_id}' => $shipment->get_order_number() ) ), $label, $shipment );
112
  }
113
 
114
  function wc_gzd_dhl_get_return_label_customer_reference( $label, $shipment, $parent_shipment ) {
@@ -185,38 +194,9 @@ function wc_gzd_dhl_get_services() {
185
  }
186
 
187
  function wc_gzd_dhl_get_shipping_method( $instance_id ) {
 
188
 
189
- $original_id = $instance_id;
190
-
191
- if ( ! is_numeric( $instance_id ) ) {
192
- $expl = explode( ':', $instance_id );
193
- $instance_id = ( ( ! empty( $expl ) && sizeof( $expl ) > 1 ) ? (int) $expl[1] : $instance_id );
194
- }
195
-
196
- if ( ! empty( $instance_id ) ) {
197
- // Make sure shipping zones are loaded
198
- include_once WC_ABSPATH . 'includes/class-wc-shipping-zones.php';
199
-
200
- if ( $method = WC_Shipping_Zones::get_shipping_method( $instance_id ) ) {
201
- return new ShippingMethod( $method );
202
- }
203
- }
204
-
205
- // Load placeholder
206
- $placeholder = new ShippingMethodPlaceholder( $original_id );
207
-
208
- /**
209
- * Filter to adjust the fallback shipping method to be loaded if no real
210
- * shipping method was able to be constructed (e.g. a custom plugin is being used which
211
- * replaces the default Woo shipping zones integration).
212
- *
213
- * @param ShippingMethod $placeholder The placeholder impl.
214
- * @param string $original_id The shipping method id.
215
- *
216
- * @since 3.0.0
217
- * @package Vendidero/Germanized/DHL
218
- */
219
- return apply_filters( 'woocommerce_gzd_dhl_shipping_method_fallback', $placeholder, $original_id );
220
  }
221
 
222
  function wc_gzd_dhl_get_preferred_services() {
@@ -420,10 +400,10 @@ function wc_gzd_dhl_validate_label_args( $shipment, $args = array() ) {
420
  $args['services'] = array_diff( $args['services'], array( 'PreferredNeighbour' ) );
421
  }
422
 
423
- if ( ! empty( $args['visual_min_age'] ) && array_key_exists( $args['visual_min_age'], wc_gzd_dhl_get_visual_min_ages() ) ) {
424
  $args['services'] = array_merge( $args['services'], array( 'VisualCheckOfAge' ) );
425
  } else {
426
- if ( ! empty( $args['visual_min_age'] ) && ! array_key_exists( $args['visual_min_age'], wc_gzd_dhl_get_visual_min_ages() ) ) {
427
  $error->add( 500, _x( 'The visual min age check is invalid.', 'dhl', 'woocommerce-germanized' ) );
428
  }
429
 
@@ -613,7 +593,7 @@ function wc_gzd_dhl_get_label_default_args( $dhl_order, $shipment ) {
613
  'dhl_product' => wc_gzd_dhl_get_default_product( $shipment->get_country(), $dhl_shipping_method ),
614
  'services' => array(),
615
  'codeable_address_only' => Package::get_setting( 'label_address_codeable_only', $dhl_shipping_method ),
616
- 'weight' => empty( $shipment_weight ) ? Package::get_setting( 'label_default_shipment_weight', $dhl_shipping_method ) : wc_get_weight( $shipment_weight, 'kg', $shipment->get_weight_unit() ),
617
  );
618
 
619
  if ( $dhl_order->supports_email_notification() ) {
@@ -674,7 +654,7 @@ function wc_gzd_dhl_get_label_default_args( $dhl_order, $shipment ) {
674
 
675
  $visual_min_age = Package::get_setting( 'label_visual_min_age', $dhl_shipping_method );
676
 
677
- if ( ! empty( $visual_min_age ) ) {
678
  $defaults['services'][] = 'VisualCheckOfAge';
679
  $defaults['visual_min_age'] = $visual_min_age;
680
  }
@@ -761,6 +741,26 @@ function wc_gzd_dhl_get_custom_label_format( $label, $type = '' ) {
761
  return $format;
762
  }
763
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
764
  /**
765
  * @param Order $dhl_order
766
  * @param ReturnShipment $shipment
@@ -769,12 +769,11 @@ function wc_gzd_dhl_get_return_label_default_args( $dhl_order, $shipment ) {
769
 
770
  $shipping_method = $shipment->get_shipping_method();
771
  $dhl_shipping_method = wc_gzd_dhl_get_shipping_method( $shipping_method );
772
- $shipment_weight = $shipment->get_weight();
773
 
774
  $defaults = array(
775
  'services' => array(),
776
  'receiver_slug' => wc_gzd_dhl_get_default_return_receiver_slug( $shipment->get_sender_country(), $dhl_shipping_method ),
777
- 'weight' => empty( $shipment_weight ) ? Package::get_setting( 'label_default_shipment_weight', $dhl_shipping_method ) : wc_get_weight( $shipment_weight, 'kg', $shipment->get_weight_unit() ),
778
  'sender_address' => $shipment->get_sender_address(),
779
  );
780
 
13
  use Vendidero\Germanized\DHL\Order;
14
  use Vendidero\Germanized\DHL\Package;
15
  use Vendidero\Germanized\DHL\ParcelLocator;
16
+ use Vendidero\Germanized\DHL\ShippingProviderMethodDHL;
 
17
  use Vendidero\Germanized\DHL\ParcelServices;
18
  use Vendidero\Germanized\DHL\LabelFactory;
19
  use Vendidero\Germanized\DHL\SimpleLabel;
76
  return $duties;
77
  }
78
 
79
+ function wc_gzd_dhl_is_valid_visual_min_age( $min_age ) {
80
+ $ages = wc_gzd_dhl_get_visual_min_ages();
81
+
82
+ if ( empty( $min_age ) || ( ! array_key_exists( $min_age, $ages ) && ! in_array( $min_age, $ages ) ) ) {
83
+ return false;
84
+ }
85
+
86
+ return true;
87
+ }
88
+
89
  function wc_gzd_dhl_get_visual_min_ages() {
90
  $visual_age = array(
91
  '0' => _x( 'None', 'age context', 'woocommerce-germanized' ),
117
  * @since 3.0.0
118
  * @package Vendidero/Germanized/DHL
119
  */
120
+ return apply_filters( 'woocommerce_gzd_dhl_label_customer_reference', wc_gzd_dhl_get_label_reference( _x( 'Shipment #{shipment_id} to order {order_id}', 'dhl', 'woocommerce-germanized' ), array( '{shipment_id}' => $shipment->get_id(), '{order_id}' => $shipment->get_order_number() ) ), $label, $shipment );
121
  }
122
 
123
  function wc_gzd_dhl_get_return_label_customer_reference( $label, $shipment, $parent_shipment ) {
194
  }
195
 
196
  function wc_gzd_dhl_get_shipping_method( $instance_id ) {
197
+ $method = wc_gzd_get_shipping_provider_method( $instance_id );
198
 
199
+ return new ShippingProviderMethodDHL( $method );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
200
  }
201
 
202
  function wc_gzd_dhl_get_preferred_services() {
400
  $args['services'] = array_diff( $args['services'], array( 'PreferredNeighbour' ) );
401
  }
402
 
403
+ if ( ! empty( $args['visual_min_age'] ) && wc_gzd_dhl_is_valid_visual_min_age( $args['visual_min_age'] ) ) {
404
  $args['services'] = array_merge( $args['services'], array( 'VisualCheckOfAge' ) );
405
  } else {
406
+ if ( ! empty( $args['visual_min_age'] ) && ! wc_gzd_dhl_is_valid_visual_min_age( $args['visual_min_age'] ) ) {
407
  $error->add( 500, _x( 'The visual min age check is invalid.', 'dhl', 'woocommerce-germanized' ) );
408
  }
409
 
593
  'dhl_product' => wc_gzd_dhl_get_default_product( $shipment->get_country(), $dhl_shipping_method ),
594
  'services' => array(),
595
  'codeable_address_only' => Package::get_setting( 'label_address_codeable_only', $dhl_shipping_method ),
596
+ 'weight' => wc_gzd_dhl_get_shipment_weight( $shipment ),
597
  );
598
 
599
  if ( $dhl_order->supports_email_notification() ) {
654
 
655
  $visual_min_age = Package::get_setting( 'label_visual_min_age', $dhl_shipping_method );
656
 
657
+ if ( wc_gzd_dhl_is_valid_visual_min_age( $visual_min_age ) ) {
658
  $defaults['services'][] = 'VisualCheckOfAge';
659
  $defaults['visual_min_age'] = $visual_min_age;
660
  }
741
  return $format;
742
  }
743
 
744
+ /**
745
+ * @param Shipment $shipment
746
+ * @param string $unit
747
+ *
748
+ * @return float
749
+ */
750
+ function wc_gzd_dhl_get_shipment_weight( $shipment, $unit = 'kg' ) {
751
+ $shipping_method = $shipment->get_shipping_method();
752
+ $shipment_weight = $shipment->get_weight();
753
+ $dhl_shipping_method = wc_gzd_dhl_get_shipping_method( $shipping_method );
754
+ $min_weight = wc_get_weight( Package::get_setting( 'label_minimum_shipment_weight', $dhl_shipping_method ), $unit, 'kg' );
755
+ $weight = empty( $shipment_weight ) ? wc_get_weight( Package::get_setting( 'label_default_shipment_weight', $dhl_shipping_method ), $unit, 'kg' ) : wc_get_weight( $shipment_weight, $unit, $shipment->get_weight_unit() );
756
+
757
+ if ( $weight < $min_weight ) {
758
+ $weight = $min_weight;
759
+ }
760
+
761
+ return $weight;
762
+ }
763
+
764
  /**
765
  * @param Order $dhl_order
766
  * @param ReturnShipment $shipment
769
 
770
  $shipping_method = $shipment->get_shipping_method();
771
  $dhl_shipping_method = wc_gzd_dhl_get_shipping_method( $shipping_method );
 
772
 
773
  $defaults = array(
774
  'services' => array(),
775
  'receiver_slug' => wc_gzd_dhl_get_default_return_receiver_slug( $shipment->get_sender_country(), $dhl_shipping_method ),
776
+ 'weight' => wc_gzd_dhl_get_shipment_weight( $shipment ),
777
  'sender_address' => $shipment->get_sender_address(),
778
  );
779
 
packages/woocommerce-germanized-dhl/src/Admin/Admin.php CHANGED
@@ -2,8 +2,8 @@
2
 
3
  namespace Vendidero\Germanized\DHL\Admin;
4
  use Vendidero\Germanized\DHL\Package;
5
- use Vendidero\Germanized\DHL\ShippingMethod;
6
  use Vendidero\Germanized\Shipments\Shipment;
 
7
 
8
  defined( 'ABSPATH' ) || exit;
9
 
@@ -17,28 +17,14 @@ class Admin {
17
  */
18
  public static function init() {
19
  add_action( 'admin_enqueue_scripts', array( __CLASS__, 'admin_styles' ) );
20
- add_action( 'admin_enqueue_scripts', array( __CLASS__, 'admin_scripts' ) );
21
-
22
  add_action( 'admin_init', array( __CLASS__, 'download_label' ) );
23
- add_action( 'woocommerce_gzd_shipments_meta_box_shipment_after_right_column', array( 'Vendidero\Germanized\DHL\Admin\MetaBox', 'output' ), 10, 1 );
24
 
25
  // Legacy meta box
26
  add_action( 'add_meta_boxes', array( __CLASS__, 'add_legacy_meta_box' ), 20 );
27
 
28
- // Shipments
29
- add_filter( 'woocommerce_gzd_shipments_table_actions', array( __CLASS__, 'table_label_download' ), 10, 2 );
30
- add_action( 'woocommerce_gzd_shipments_table_actions_end', array( __CLASS__, 'table_label_generate' ), 10, 1 );
31
- add_filter( 'woocommerce_gzd_shipments_table_bulk_actions', array( __CLASS__, 'table_bulk_actions' ), 10, 1 );
32
-
33
- // Returns
34
- add_filter( 'woocommerce_gzd_return_shipments_table_actions', array( __CLASS__, 'table_label_download' ), 10, 2 );
35
- add_action( 'woocommerce_gzd_return_shipments_table_actions_end', array( __CLASS__, 'table_label_generate' ), 10, 1 );
36
- add_filter( 'woocommerce_gzd_return_shipments_table_bulk_actions', array( __CLASS__, 'table_bulk_actions' ), 10, 1 );
37
-
38
- // Bulk Labels
39
- add_filter( 'woocommerce_gzd_shipments_table_bulk_action_handlers', array( __CLASS__, 'register_bulk_handler' ) );
40
- add_action( 'woocommerce_gzd_shipments_table_bulk_action_labels_handled', array( __CLASS__, 'add_bulk_download' ), 10, 1 );
41
- add_action( 'woocommerce_gzd_return_shipments_table_bulk_action_labels_handled', array( __CLASS__, 'add_bulk_download' ), 10, 1 );
42
 
43
  // Template check
44
  add_filter( 'woocommerce_gzd_template_check', array( __CLASS__, 'add_template_check' ), 10, 1 );
@@ -59,6 +45,40 @@ class Admin {
59
  add_action( 'woocommerce_gzd_admin_settings_after_save_dhl_labels', array( __CLASS__, 'save_receiver_ids' ) );
60
  }
61
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  public static function save_receiver_ids() {
63
  $receiver = array();
64
 
@@ -200,74 +220,6 @@ class Admin {
200
  return $check;
201
  }
202
 
203
- /**
204
- * @param BulkLabel $handler
205
- */
206
- public static function add_bulk_download( $handler ) {
207
- if ( ( $path = $handler->get_file() ) && file_exists( $path ) ) {
208
-
209
- $download_url = add_query_arg( array(
210
- 'action' => 'wc-gzd-dhl-download-export-label',
211
- 'force' => 'no'
212
- ), wp_nonce_url( admin_url(), 'dhl-download-export-label' ) );
213
- ?>
214
- <div class="wc-gzd-dhl-bulk-downloads">
215
- <a class="button button-primary" href="<?php echo $download_url; ?>" target="_blank"><?php _ex( 'Download labels', 'dhl', 'woocommerce-germanized' ); ?></a>
216
- </div>
217
- <?php
218
- }
219
- }
220
-
221
- public static function table_bulk_actions( $actions ) {
222
- $actions['labels'] = _x( 'Generate and download labels', 'dhl', 'woocommerce-germanized' );
223
-
224
- return $actions;
225
- }
226
-
227
- public static function register_bulk_handler( $handlers ) {
228
- $handlers['labels'] = '\Vendidero\Germanized\DHL\Admin\BulkLabel';
229
-
230
- return $handlers;
231
- }
232
-
233
- public static function table_label_generate( $shipment ) {
234
-
235
- if ( wc_gzd_dhl_shipment_needs_label( $shipment ) ) {
236
- include Package::get_path() . '/includes/admin/views/html-shipment-label-backbone.php';
237
- }
238
- }
239
-
240
- /**
241
- * @param array $actions
242
- * @param Shipment $shipment
243
- */
244
- public static function table_label_download( $actions, $shipment ) {
245
- if ( $label = wc_gzd_dhl_get_shipment_label( $shipment ) ) {
246
- $actions['download_dhl_label'] = array(
247
- 'url' => $label->get_download_url(),
248
- 'name' => _x( 'Download DHL label', 'dhl', 'woocommerce-germanized' ),
249
- 'action' => 'download-dhl-label download',
250
- 'target' => '_blank'
251
- );
252
-
253
- if ( 'return' === $label->get_type() ) {
254
- $actions['email_dhl_label'] = array(
255
- 'url' => wp_nonce_url( admin_url( 'admin-ajax.php?action=woocommerce_gzd_dhl_email_return_label&label_id=' . $label->get_id() ), 'email-dhl-label' ),
256
- 'name' => _x( 'Send DHL label to customer', 'dhl', 'woocommerce-germanized' ),
257
- 'action' => 'email-send-dhl-label email',
258
- );
259
- }
260
- } elseif ( wc_gzd_dhl_shipment_needs_label( $shipment ) ) {
261
- $actions['generate_dhl_label'] = array(
262
- 'url' => '#',
263
- 'name' => _x( 'Generate DHL label', 'dhl', 'woocommerce-germanized' ),
264
- 'action' => 'generate-dhl-label generate',
265
- );
266
- }
267
-
268
- return $actions;
269
- }
270
-
271
  public static function add_legacy_meta_box() {
272
  global $post;
273
 
@@ -296,19 +248,7 @@ class Admin {
296
  }
297
 
298
  public static function download_label() {
299
- if ( isset( $_GET['action'] ) && 'wc-gzd-dhl-download-label' === $_GET['action'] ) {
300
- if ( isset( $_GET['label_id'] ) && wp_verify_nonce( $_REQUEST['_wpnonce'], 'dhl-download-label' ) ) {
301
-
302
- $label_id = absint( $_GET['label_id'] );
303
- $args = wp_parse_args( $_GET, array(
304
- 'force' => 'no',
305
- 'print' => 'no',
306
- 'path' => '',
307
- ) );
308
-
309
- DownloadHandler::download_label( $label_id, $args );
310
- }
311
- } elseif( isset( $_GET['action'] ) && 'wc-gzd-dhl-download-legacy-label' === $_GET['action'] ) {
312
  if ( isset( $_GET['order_id'] ) && wp_verify_nonce( $_REQUEST['_wpnonce'], 'dhl-download-legacy-label' ) ) {
313
 
314
  $order_id = absint( $_GET['order_id'] );
@@ -319,16 +259,6 @@ class Admin {
319
 
320
  DownloadHandler::download_legacy_label( $order_id, $args );
321
  }
322
- } elseif( isset( $_GET['action'] ) && 'wc-gzd-dhl-download-export-label' === $_GET['action'] ) {
323
- if ( wp_verify_nonce( $_REQUEST['_wpnonce'], 'dhl-download-export-label' ) ) {
324
-
325
- $args = wp_parse_args( $_GET, array(
326
- 'force' => 'no',
327
- 'print' => 'no',
328
- ) );
329
-
330
- DownloadHandler::download_export( $args );
331
- }
332
  }
333
  }
334
 
@@ -360,64 +290,6 @@ class Admin {
360
  );
361
  }
362
 
363
- public static function admin_scripts() {
364
- global $post;
365
-
366
- $screen = get_current_screen();
367
- $screen_id = $screen ? $screen->id : '';
368
- $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
369
-
370
- wp_register_script( 'wc-gzd-admin-dhl-backbone', Package::get_assets_url() . '/js/admin-dhl-backbone' . $suffix . '.js', array( 'jquery', 'woocommerce_admin', 'wc-backbone-modal' ), Package::get_version(), true );
371
- wp_register_script( 'wc-gzd-admin-dhl', Package::get_assets_url() . '/js/admin-dhl' . $suffix . '.js', array( 'wc-gzd-admin-shipments', 'wc-gzd-admin-dhl-backbone' ), Package::get_version(), true );
372
- wp_register_script( 'wc-gzd-admin-dhl-table', Package::get_assets_url() . '/js/admin-dhl-table' . $suffix . '.js', array( 'wc-gzd-admin-dhl-backbone' ), Package::get_version(), true );
373
- wp_register_script( 'wc-gzd-admin-dhl-shipping-method', Package::get_assets_url() . '/js/admin-dhl-shipping-method' . $suffix . '.js', array( 'jquery' ), Package::get_version(), true );
374
-
375
- // Orders.
376
- $is_edit_order = in_array( str_replace( 'edit-', '', $screen_id ), wc_get_order_types( 'order-meta-boxes' ) );
377
-
378
- // Table
379
- if ( $is_edit_order || in_array( $screen_id, self::get_table_screen_ids() ) ) {
380
- wp_enqueue_script( 'wc-gzd-admin-dhl-backbone' );
381
-
382
- wp_localize_script(
383
- 'wc-gzd-admin-dhl-backbone',
384
- 'wc_gzd_admin_dhl_backbone_params',
385
- array(
386
- 'ajax_url' => admin_url( 'admin-ajax.php' ),
387
- 'create_label_form_nonce' => wp_create_nonce( 'create-dhl-label-form' ),
388
- 'create_label_nonce' => wp_create_nonce( 'create-dhl-label' ),
389
- )
390
- );
391
- }
392
-
393
- // Shipping zone methods
394
- if ( 'woocommerce_page_wc-settings' === $screen_id && isset( $_GET['tab'] ) && 'shipping' === $_GET['tab'] && isset( $_GET['zone_id'] ) ) {
395
- wp_enqueue_script( 'wc-gzd-admin-dhl-shipping-method' );
396
- }
397
-
398
- if ( in_array( $screen_id, self::get_table_screen_ids() ) ) {
399
- wp_enqueue_script( 'wc-gzd-admin-dhl-table' );
400
- }
401
-
402
- if ( $is_edit_order ) {
403
- wp_enqueue_script( 'wc-gzd-admin-dhl' );
404
-
405
- wp_localize_script(
406
- 'wc-gzd-admin-dhl',
407
- 'wc_gzd_admin_dhl_params',
408
- array(
409
- 'ajax_url' => admin_url( 'admin-ajax.php' ),
410
- 'remove_label_nonce' => wp_create_nonce( 'remove-dhl-label' ),
411
- 'edit_label_nonce' => wp_create_nonce( 'edit-dhl-label' ),
412
- 'send_label_nonce' => wp_create_nonce( 'email-dhl-label' ),
413
- 'i18n_remove_label_notice' => _x( 'Do you really want to delete the label?', 'dhl', 'woocommerce-germanized' ),
414
- 'i18n_create_label_enabled' => _x( 'Create new DHL label', 'dhl', 'woocommerce-germanized' ),
415
- 'i18n_create_label_disabled' => _x( 'Please save the shipment before creating a new label', 'dhl', 'woocommerce-germanized' ),
416
- )
417
- );
418
- }
419
- }
420
-
421
  public static function get_screen_ids() {
422
  $screen_ids = self::get_table_screen_ids();
423
 
2
 
3
  namespace Vendidero\Germanized\DHL\Admin;
4
  use Vendidero\Germanized\DHL\Package;
 
5
  use Vendidero\Germanized\Shipments\Shipment;
6
+ use Vendidero\Germanized\Shipments\ReturnShipment;
7
 
8
  defined( 'ABSPATH' ) || exit;
9
 
17
  */
18
  public static function init() {
19
  add_action( 'admin_enqueue_scripts', array( __CLASS__, 'admin_styles' ) );
 
 
20
  add_action( 'admin_init', array( __CLASS__, 'download_label' ) );
 
21
 
22
  // Legacy meta box
23
  add_action( 'add_meta_boxes', array( __CLASS__, 'add_legacy_meta_box' ), 20 );
24
 
25
+ // Label settings
26
+ add_action( 'woocommerce_gzd_shipment_print_dhl_label_admin_fields', array( __CLASS__, 'label_fields' ), 10, 1 );
27
+ add_action( 'woocommerce_gzd_return_shipment_print_dhl_label_admin_fields', array( __CLASS__, 'return_label_fields' ), 10, 1 );
 
 
 
 
 
 
 
 
 
 
 
28
 
29
  // Template check
30
  add_filter( 'woocommerce_gzd_template_check', array( __CLASS__, 'add_template_check' ), 10, 1 );
45
  add_action( 'woocommerce_gzd_admin_settings_after_save_dhl_labels', array( __CLASS__, 'save_receiver_ids' ) );
46
  }
47
 
48
+ /**
49
+ * Output label admin settings.
50
+ *
51
+ * @param Shipment $p_shipment
52
+ */
53
+ public static function label_fields( $p_shipment ) {
54
+ $shipment = $p_shipment;
55
+
56
+ if ( ! $dhl_order = wc_gzd_dhl_get_order( $shipment->get_order() ) ) {
57
+ return;
58
+ }
59
+
60
+ $path = Package::get_path() . '/includes/admin/views/html-shipment-label-backbone-form.php';
61
+
62
+ include $path;
63
+ }
64
+
65
+ /**
66
+ * Output label admin settings.
67
+ *
68
+ * @param ReturnShipment $p_shipment
69
+ */
70
+ public static function return_label_fields( $p_shipment ) {
71
+ $shipment = $p_shipment;
72
+
73
+ if ( ! $dhl_order = wc_gzd_dhl_get_order( $shipment->get_order() ) ) {
74
+ return;
75
+ }
76
+
77
+ $path = Package::get_path() . '/includes/admin/views/html-shipment-return-label-backbone-form.php';
78
+
79
+ include $path;
80
+ }
81
+
82
  public static function save_receiver_ids() {
83
  $receiver = array();
84
 
220
  return $check;
221
  }
222
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
223
  public static function add_legacy_meta_box() {
224
  global $post;
225
 
248
  }
249
 
250
  public static function download_label() {
251
+ if( isset( $_GET['action'] ) && 'wc-gzd-dhl-download-legacy-label' === $_GET['action'] ) {
 
 
 
 
 
 
 
 
 
 
 
 
252
  if ( isset( $_GET['order_id'] ) && wp_verify_nonce( $_REQUEST['_wpnonce'], 'dhl-download-legacy-label' ) ) {
253
 
254
  $order_id = absint( $_GET['order_id'] );
259
 
260
  DownloadHandler::download_legacy_label( $order_id, $args );
261
  }
 
 
 
 
 
 
 
 
 
 
262
  }
263
  }
264
 
290
  );
291
  }
292
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
293
  public static function get_screen_ids() {
294
  $screen_ids = self::get_table_screen_ids();
295
 
packages/woocommerce-germanized-dhl/src/Admin/MetaBox.php DELETED
@@ -1,37 +0,0 @@
1
- <?php
2
-
3
- namespace Vendidero\Germanized\DHL\Admin;
4
- use Vendidero\Germanized\DHL\Package;
5
- use Vendidero\Germanized\Shipments\Shipment;
6
-
7
- defined( 'ABSPATH' ) || exit;
8
-
9
- /**
10
- * WC_Meta_Box_Order_Items Class.
11
- */
12
- class MetaBox {
13
-
14
- /**
15
- * Output the metabox.
16
- *
17
- * @param Shipment $shipment
18
- */
19
- public static function output( $the_shipment, $the_label = false ) {
20
- $shipment = $the_shipment;
21
-
22
- if ( $the_label ) {
23
- $dhl_label = $the_label;
24
- } else {
25
- $dhl_label = wc_gzd_dhl_get_shipment_label( $the_shipment );
26
- }
27
-
28
- $dhl_order = wc_gzd_dhl_get_order( $shipment->get_order() );
29
-
30
- // Do not enable label generation if shipment is not shipped via DHL
31
- if ( ! $dhl_label && ! wc_gzd_dhl_shipment_needs_label( $shipment ) ) {
32
- return;
33
- }
34
-
35
- include Package::get_path() . '/includes/admin/views/html-shipment-label.php';
36
- }
37
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
packages/woocommerce-germanized-dhl/src/Admin/Settings.php CHANGED
@@ -403,6 +403,17 @@ class Settings {
403
  'css' => 'max-width: 60px;',
404
  'class' => 'wc_input_decimal',
405
  ),
 
 
 
 
 
 
 
 
 
 
 
406
  );
407
 
408
  if ( Package::base_country_supports( 'returns' ) ) {
@@ -413,7 +424,25 @@ class Settings {
413
  'id' => 'woocommerce_gzd_dhl_label_auto_inlay_return_label',
414
  'default' => 'no',
415
  'type' => 'gzd_toggle',
416
- 'custom_attributes' => array( 'data-show_if_woocommerce_gzd_dhl_label_auto_enable' => '' )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
417
  ),
418
  ) );
419
  }
@@ -469,7 +498,7 @@ class Settings {
469
  'title' => _x( 'Visual minimum age', 'dhl', 'woocommerce-germanized' ),
470
  'id' => 'woocommerce_gzd_dhl_label_visual_min_age',
471
  'type' => 'select',
472
- 'default' => 'none',
473
  'options' => wc_gzd_dhl_get_visual_min_ages(),
474
  'desc_tip' => _x( 'Choose this option if you want to let DHL check your customer\'s age.', 'dhl', 'woocommerce-germanized' ),
475
  ),
403
  'css' => 'max-width: 60px;',
404
  'class' => 'wc_input_decimal',
405
  ),
406
+
407
+ array(
408
+ 'title' => _x( 'Minimum weight', 'dhl', 'woocommerce-germanized' ),
409
+ 'type' => 'text',
410
+ 'desc' => _x( 'Choose a minimum weight to be used for labels e.g. to prevent low shipment weight errors.', 'dhl', 'woocommerce-germanized' ),
411
+ 'desc_tip' => true,
412
+ 'id' => 'woocommerce_gzd_dhl_label_minimum_shipment_weight',
413
+ 'default' => '0.5',
414
+ 'css' => 'max-width: 60px;',
415
+ 'class' => 'wc_input_decimal',
416
+ ),
417
  );
418
 
419
  if ( Package::base_country_supports( 'returns' ) ) {
424
  'id' => 'woocommerce_gzd_dhl_label_auto_inlay_return_label',
425
  'default' => 'no',
426
  'type' => 'gzd_toggle',
427
+ ),
428
+ ) );
429
+ }
430
+
431
+ if ( ! $for_shipping_method ) {
432
+ $placeholders = array();
433
+
434
+ if ( $provider = wc_gzd_get_shipping_provider( 'dhl' ) ) {
435
+ $placeholders = $provider->get_tracking_placeholders();
436
+ }
437
+
438
+ $settings = array_merge( $settings, array(
439
+ array(
440
+ 'title' => _x( 'Tracking', 'dhl', 'woocommerce-germanized' ),
441
+ 'desc' => '<div class="wc-gzd-additional-desc">' . sprintf( _x( 'Adjust the default instructions used to inform your customers about tracking a DHL shipment. You may use one of the following placeholders: %s', 'dhl', 'woocommerce-germanized' ), '<code>' . implode( ', ', array_keys( $placeholders ) ) . '</code>' ) . '</div>',
442
+ 'id' => 'woocommerce_gzd_dhl_label_tracking_desc',
443
+ 'default' => _x( 'Your shipment is being processed by {shipping_provider}. If you want to track the shipment, please use the following tracking number: {tracking_id}. Depending on the chosen shipping method it is possible that the tracking data does not reflect the current status when receiving this email.', 'dhl', 'woocommerce-germanized' ),
444
+ 'type' => 'textarea',
445
+ 'css' => 'width: 100%; min-height: 60px; margin-top: 1em;',
446
  ),
447
  ) );
448
  }
498
  'title' => _x( 'Visual minimum age', 'dhl', 'woocommerce-germanized' ),
499
  'id' => 'woocommerce_gzd_dhl_label_visual_min_age',
500
  'type' => 'select',
501
+ 'default' => '0',
502
  'options' => wc_gzd_dhl_get_visual_min_ages(),
503
  'desc_tip' => _x( 'Choose this option if you want to let DHL check your customer\'s age.', 'dhl', 'woocommerce-germanized' ),
504
  ),
packages/woocommerce-germanized-dhl/src/Ajax.php CHANGED
@@ -3,7 +3,6 @@
3
  namespace Vendidero\Germanized\DHL;
4
 
5
  use Exception;
6
- use Vendidero\Germanized\DHL\Admin\MetaBox;
7
  use Vendidero\Germanized\DHL\Package;
8
  use WP_Error;
9
 
@@ -24,9 +23,6 @@ class Ajax {
24
  */
25
  public static function add_ajax_events() {
26
  $ajax_events = array(
27
- 'create_dhl_label',
28
- 'remove_dhl_label',
29
- 'dhl_create_label_form',
30
  'dhl_email_return_label'
31
  );
32
 
@@ -78,217 +74,4 @@ class Ajax {
78
  }
79
  }
80
  }
81
-
82
- public static function dhl_create_label_form() {
83
- check_ajax_referer( 'create-dhl-label-form', 'security' );
84
-
85
- if ( ! current_user_can( 'edit_shop_orders' ) || ! isset( $_POST['shipment_id'] ) ) {
86
- wp_die( -1 );
87
- }
88
-
89
- $shipment_id = absint( $_POST['shipment_id'] );
90
- $response = array();
91
- $response_error = array(
92
- 'success' => false,
93
- 'messages' => array(
94
- _x( 'There was an error creating the label.', 'dhl', 'woocommerce-germanized' )
95
- ),
96
- );
97
-
98
- if ( ! $shipment = wc_gzd_get_shipment( $shipment_id ) ) {
99
- wp_send_json( $response_error );
100
- }
101
-
102
- if ( ! $dhl_order = wc_gzd_dhl_get_order( $shipment->get_order() ) ) {
103
- wp_send_json( $response_error );
104
- }
105
-
106
- $path = Package::get_path() . '/includes/admin/views/html-shipment-label-backbone-form.php';
107
-
108
- if ( 'return' === $shipment->get_type() ) {
109
- $path = Package::get_path() . '/includes/admin/views/html-shipment-return-label-backbone-form.php';
110
- }
111
-
112
- ob_start();
113
- include $path;
114
- $html = ob_get_clean();
115
-
116
- $response = array(
117
- 'fragments' => array(
118
- '.wc-gzd-dhl-create-label' => '<div class="wc-gzd-dhl-create-label">' . $html . '</div>',
119
- ),
120
- 'shipment_id' => $shipment_id,
121
- 'success' => true,
122
- );
123
-
124
- wp_send_json( $response );
125
- }
126
-
127
- public static function remove_dhl_label() {
128
- check_ajax_referer( 'remove-dhl-label', 'security' );
129
-
130
- if ( ! current_user_can( 'edit_shop_orders' ) || ! isset( $_POST['shipment_id'] ) || ! isset( $_POST['label_id'] ) ) {
131
- wp_die( -1 );
132
- }
133
-
134
- $response = array();
135
- $response_error = array(
136
- 'success' => false,
137
- 'messages' => array(
138
- _x( 'There was an error deleting the label.', 'dhl', 'woocommerce-germanized' )
139
- ),
140
- );
141
-
142
- $shipment_id = absint( $_POST['shipment_id'] );
143
- $label_id = absint( $_POST['label_id'] );
144
-
145
- if ( ! $shipment = wc_gzd_get_shipment( $shipment_id ) ) {
146
- wp_send_json( $response_error );
147
- }
148
-
149
- if ( ! $label = wc_gzd_dhl_get_label( $label_id ) ) {
150
- wp_send_json( $response_error );
151
- }
152
-
153
- if ( (int) $label->get_shipment_id() !== $shipment_id ) {
154
- wp_send_json( $response_error );
155
- }
156
-
157
- if ( $label->delete( true ) ) {
158
- $response = array(
159
- 'success' => true,
160
- 'label_id' => $label->get_id(),
161
- 'fragments' => array(
162
- '#shipment-' . $shipment_id . ' .wc-gzd-shipment-dhl-label:first' => self::refresh_label_html( $shipment )
163
- ),
164
- );
165
- } else {
166
- wp_send_json( $response_error );
167
- }
168
-
169
- wp_send_json( $response );
170
- }
171
-
172
- public static function create_dhl_label() {
173
- check_ajax_referer( 'create-dhl-label', 'security' );
174
-
175
- if ( ! current_user_can( 'edit_shop_orders' ) || ! isset( $_POST['shipment_id'] ) ) {
176
- wp_die( -1 );
177
- }
178
-
179
- $response = array();
180
- $response_error = array(
181
- 'success' => false,
182
- 'messages' => array(
183
- _x( 'There was an error processing the label.', 'dhl', 'woocommerce-germanized' )
184
- ),
185
- );
186
-
187
- $shipment_id = absint( $_POST['shipment_id'] );
188
-
189
- if ( ! $shipment = wc_gzd_get_shipment( $shipment_id ) ) {
190
- wp_send_json( $response_error );
191
- }
192
-
193
- $services = array();
194
- $props = array(
195
- 'has_inlay_return' => 'no',
196
- 'codeable_address_only' => 'no',
197
- );
198
-
199
- if ( 'return' === $shipment->get_type() ) {
200
- $props = array();
201
- }
202
-
203
- foreach( $_POST as $key => $value ) {
204
- if ( substr( $key, 0, strlen( 'dhl_label_service_' ) ) === 'dhl_label_service_' ) {
205
- $new_key = substr( $key, ( strlen( 'dhl_label_service_' ) ) );
206
-
207
- if ( 'yes' === $value && in_array( $new_key, wc_gzd_dhl_get_services() ) ) {
208
- $services[] = $new_key;
209
- }
210
-
211
- } elseif ( substr( $key, 0, strlen( 'dhl_label_' ) ) === 'dhl_label_' ) {
212
- $new_key = substr( $key, ( strlen( 'dhl_label_' ) ) );
213
- $props[ $new_key ] = wc_clean( wp_unslash( $value ) );
214
- }
215
- }
216
-
217
- if ( isset( $props['preferred_time'] ) && ! empty( $props['preferred_time'] ) ) {
218
- $preferred_time = explode( '-', wc_clean( wp_unslash( $props['preferred_time'] ) ) );
219
-
220
- if ( sizeof( $preferred_time ) === 2 ) {
221
- $props['preferred_time_start'] = $preferred_time[0];
222
- $props['preferred_time_end'] = $preferred_time[1];
223
- }
224
-
225
- unset( $props['preferred_time'] );
226
- }
227
-
228
- $props['services'] = $services;
229
-
230
- if ( $label = wc_gzd_dhl_get_shipment_label( $shipment ) ) {
231
- $label = wc_gzd_dhl_update_label( $label, $props );
232
- } else {
233
- $label = wc_gzd_dhl_create_label( $shipment, $props );
234
- }
235
-
236
- if ( is_wp_error( $label ) ) {
237
- $response = array(
238
- 'success' => false,
239
- 'messages' => $label->get_error_messages(),
240
- );
241
- } else {
242
-
243
- $response = array(
244
- 'success' => true,
245
- 'label_id' => $label->get_id(),
246
- 'fragments' => array(
247
- '#shipment-' . $shipment_id . ' .wc-gzd-shipment-dhl-label:first' => self::refresh_label_html( $shipment, $label ),
248
- 'tr#shipment-' . $shipment_id . ' td.actions .wc-gzd-shipment-action-button-generate-dhl-label' => self::label_download_button_html( $label ),
249
- ),
250
- );
251
-
252
- if ( 'simple' === $shipment->get_type() && 'yes' === Package::get_setting( 'label_auto_shipment_status_shipped' ) ) {
253
-
254
- $is_active = true;
255
-
256
- ob_start();
257
- include( \Vendidero\Germanized\Shipments\Package::get_path() . '/includes/admin/views/html-order-shipment.php' );
258
- $html = ob_get_clean();
259
-
260
- // Needs refresh
261
- $response['fragments']['div#shipment-' . $shipment_id] = $html;
262
-
263
- if ( $order_shipment = wc_gzd_get_shipment_order( $shipment->get_order() ) ) {
264
- $response['fragments']['.order-shipping-status'] = '<span class="order-shipping-status status-' . esc_attr( $order_shipment->get_shipping_status() ) . '">' . wc_gzd_get_shipment_order_shipping_status_name( $order_shipment->get_shipping_status() ) . '</span>';
265
- }
266
- }
267
- }
268
-
269
- wp_send_json( $response );
270
- }
271
-
272
- /**
273
- * @param Label $label
274
- *
275
- * @return string
276
- */
277
- protected static function label_download_button_html( $label ) {
278
- return '<a class="button wc-gzd-shipment-action-button wc-gzd-shipment-action-button-download-dhl-label download" href="' . $label->get_download_url() .'" target="_blank" title="' . _x( 'Download DHL label', 'dhl', 'woocommerce-germanized' ) . '">' . _x( 'Download label', 'dhl', 'woocommerce-germanized' ) . '</a>';
279
- }
280
-
281
- protected static function refresh_label_html( $p_shipment, $p_label = false ) {
282
- $shipment = $p_shipment;
283
-
284
- if ( $p_label ) {
285
- $dhl_label = $p_label;
286
- }
287
-
288
- ob_start();
289
- MetaBox::output( $shipment, $dhl_label );
290
- $html = ob_get_clean();
291
-
292
- return $html;
293
- }
294
  }
3
  namespace Vendidero\Germanized\DHL;
4
 
5
  use Exception;
 
6
  use Vendidero\Germanized\DHL\Package;
7
  use WP_Error;
8
 
23
  */
24
  public static function add_ajax_events() {
25
  $ajax_events = array(
 
 
 
26
  'dhl_email_return_label'
27
  );
28
 
74
  }
75
  }
76
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
  }
packages/woocommerce-germanized-dhl/src/Api/LabelSoap.php CHANGED
@@ -5,8 +5,8 @@ namespace Vendidero\Germanized\DHL\Api;
5
  use Exception;
6
  use Vendidero\Germanized\DHL\Package;
7
  use Vendidero\Germanized\DHL\Label;
8
- use Vendidero\Germanized\DHL\PDFMerger;
9
- use Vendidero\Germanized\DHL\PDFSplitter;
10
  use Vendidero\Germanized\DHL\SimpleLabel;
11
  use Vendidero\Germanized\DHL\ReturnLabel;
12
  use Vendidero\Germanized\DHL\ParcelLocator;
@@ -434,7 +434,7 @@ class LabelSoap extends Soap {
434
  'product' => $label->get_dhl_product(),
435
  'accountNumber' => self::get_account_number( $label->get_dhl_product() ),
436
  'customerReference' => wc_gzd_dhl_get_label_customer_reference( $label, $shipment ),
437
- 'shipmentDate' => date('Y-m-d' ),
438
  'ShipmentItem' => array(
439
  'weightInKG' => $label->get_weight(),
440
  'lengthInCM' => $shipment->has_dimensions() ? wc_get_dimension( $shipment->get_length(), 'cm', $shipment->get_dimension_unit() ) : '',
@@ -443,7 +443,7 @@ class LabelSoap extends Soap {
443
  ),
444
  'Service' => $services,
445
  'Notification' => $label->has_email_notification() ? array( 'recipientEmailAddress' => $shipment->get_email() ) : array(),
446
- 'BankData' => array(),
447
  ),
448
  'Receiver' => array(
449
  'name1' => $shipment->get_company() ? $shipment->get_company() : $shipment->get_formatted_full_name(),
5
  use Exception;
6
  use Vendidero\Germanized\DHL\Package;
7
  use Vendidero\Germanized\DHL\Label;
8
+ use Vendidero\Germanized\Shipments\PDFMerger;
9
+ use Vendidero\Germanized\Shipments\PDFSplitter;
10
  use Vendidero\Germanized\DHL\SimpleLabel;
11
  use Vendidero\Germanized\DHL\ReturnLabel;
12
  use Vendidero\Germanized\DHL\ParcelLocator;
434
  'product' => $label->get_dhl_product(),
435
  'accountNumber' => self::get_account_number( $label->get_dhl_product() ),
436
  'customerReference' => wc_gzd_dhl_get_label_customer_reference( $label, $shipment ),
437
+ 'shipmentDate' => Package::get_date_de_timezone( 'Y-m-d' ),
438
  'ShipmentItem' => array(
439
  'weightInKG' => $label->get_weight(),
440
  'lengthInCM' => $shipment->has_dimensions() ? wc_get_dimension( $shipment->get_length(), 'cm', $shipment->get_dimension_unit() ) : '',
443
  ),
444
  'Service' => $services,
445
  'Notification' => $label->has_email_notification() ? array( 'recipientEmailAddress' => $shipment->get_email() ) : array(),
446
+ 'BankData' => $bank_data,
447
  ),
448
  'Receiver' => array(
449
  'name1' => $shipment->get_company() ? $shipment->get_company() : $shipment->get_formatted_full_name(),
packages/woocommerce-germanized-dhl/src/Api/Paket.php CHANGED
@@ -172,9 +172,15 @@ class Paket {
172
  */
173
  public function get_preferred_day_time( $postcode, $cutoff_time = '' ) {
174
  $exclude_working_days = wc_gzd_dhl_get_excluded_working_days();
 
175
  // Always exclude Sunday
176
  $exclude_working_days = array_merge( $exclude_working_days, array( 'sun' ) );
177
 
 
 
 
 
 
178
  $preparation_days = ParcelServices::get_preferred_day_preparation_days();
179
  $cutoff_time = empty( $cutoff_time ) ? ParcelServices::get_preferred_day_cutoff_time() : $cutoff_time;
180
  $account_num = Package::get_setting( 'account_number' );
172
  */
173
  public function get_preferred_day_time( $postcode, $cutoff_time = '' ) {
174
  $exclude_working_days = wc_gzd_dhl_get_excluded_working_days();
175
+
176
  // Always exclude Sunday
177
  $exclude_working_days = array_merge( $exclude_working_days, array( 'sun' ) );
178
 
179
+ // Check if every day is excluded -> prevent infinite loops
180
+ if ( sizeof( $exclude_working_days ) >= 7 ) {
181
+ return array();
182
+ }
183
+
184
  $preparation_days = ParcelServices::get_preferred_day_preparation_days();
185
  $cutoff_time = empty( $cutoff_time ) ? ParcelServices::get_preferred_day_cutoff_time() : $cutoff_time;
186
  $account_num = Package::get_setting( 'account_number' );
packages/woocommerce-germanized-dhl/src/DataStores/Label.php CHANGED
@@ -452,7 +452,7 @@ class Label extends WC_Data_Store_WP implements WC_Object_Data_Store_Interface {
452
  /**
453
  * Get valid WP_Query args from a WC_Order_Query's query variables.
454
  *
455
- * @since 3.1.0
456
  * @param array $query_vars query vars from a WC_Order_Query.
457
  * @return array
458
  */
452
  /**
453
  * Get valid WP_Query args from a WC_Order_Query's query variables.
454
  *
455
+ * @since 3.0.6
456
  * @param array $query_vars query vars from a WC_Order_Query.
457
  * @return array
458
  */
packages/woocommerce-germanized-dhl/src/DownloadHandler.php CHANGED
@@ -50,24 +50,6 @@ class DownloadHandler {
50
  }
51
  }
52
 
53
- public static function download_export( $args = array() ) {
54
- $args = self::parse_args( $args );
55
-
56
- if ( current_user_can( 'edit_shop_orders' ) ) {
57
- $handler = new BulkLabel();
58
-
59
- if ( $path = $handler->get_file() ) {
60
- $filename = $handler->get_filename();
61
-
62
- if ( $args['force'] ) {
63
- WC_Download_Handler::download_file_force( $path, $filename );
64
- } else {
65
- self::embed( $path, $filename );
66
- }
67
- }
68
- }
69
- }
70
-
71
  public static function download_legacy_label( $order_id, $args = array() ) {
72
  $args = self::parse_args( $args );
73
 
50
  }
51
  }
52
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  public static function download_legacy_label( $order_id, $args = array() ) {
54
  $args = self::parse_args( $args );
55
 
packages/woocommerce-germanized-dhl/src/Label.php CHANGED
@@ -2,7 +2,10 @@
2
 
3
  namespace Vendidero\Germanized\DHL;
4
  use DateTimeZone;
 
 
5
  use Vendidero\Germanized\Shipments\Shipment;
 
6
  use WC_Data;
7
  use WC_Data_Store;
8
  use Exception;
@@ -13,7 +16,7 @@ defined( 'ABSPATH' ) || exit;
13
  /**
14
  * DHL Shipment class.
15
  */
16
- abstract class Label extends WC_Data {
17
 
18
  /**
19
  * This is the name of this object type.
@@ -147,33 +150,24 @@ abstract class Label extends WC_Data {
147
  return $this->get_prop( 'number', $context );
148
  }
149
 
150
- public function get_weight( $context = 'view' ) {
 
 
 
 
 
 
151
  return $this->get_prop( 'weight', $context );
152
  }
153
 
154
  public function get_tracking_url() {
155
- $url = '';
156
 
157
- if ( $this->get_number() ) {
158
- $url = 'https://www.dhl.de/de/privatkunden/pakete-empfangen/verfolgen.html?lang=de&idc=' . $this->get_number() . '&rfn=&extendedSearch=true';
159
  }
160
 
161
- /**
162
- * Filter to adjust the tracking URL for a certain DHL label.
163
- *
164
- * The dynamic portion of the hook name, `$this->get_hook_prefix()` constructs an individual
165
- * hook name which uses `woocommerce_gzd_dhl_label_get_` as a prefix.
166
- *
167
- * Example hook name: `woocommerce_gzd_dhl_label_get_tracking_url`
168
- *
169
- * @param string $url The tracking URL.
170
- * @param Label $label The label object.
171
- *
172
- * @since 3.0.0
173
- * @package Vendidero/Germanized/DHL
174
- */
175
- return apply_filters( "{$this->get_hook_prefix()}tracking_url", $url, $this );
176
- }
177
 
178
  public function get_path( $context = 'view' ) {
179
  return $this->get_prop( 'path', $context );
@@ -183,16 +177,6 @@ abstract class Label extends WC_Data {
183
  return $this->get_prop( 'default_path', $context );
184
  }
185
 
186
- /**
187
- * @param bool $force Whether to force file download or show stream in browser
188
- * @param string $path E.g. default or export
189
- *
190
- * @return string
191
- */
192
- public function get_download_url( $force = false, $path = '' ) {
193
- return add_query_arg( array( 'action' => 'wc-gzd-dhl-download-label', 'label_id' => $this->get_id(), 'path' => $path, 'force' => wc_bool_to_string( $force ) ), wp_nonce_url( admin_url(), 'dhl-download-label' ) );
194
- }
195
-
196
  public function get_export_path( $context = 'view' ) {
197
  return $this->get_prop( 'export_path', $context );
198
  }
@@ -417,4 +401,20 @@ abstract class Label extends WC_Data {
417
 
418
  $this->set_prop( 'shipment_id', absint( $shipment->get_id() ) );
419
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
420
  }
2
 
3
  namespace Vendidero\Germanized\DHL;
4
  use DateTimeZone;
5
+ use Vendidero\Germanized\DHL\Admin\DownloadHandler;
6
+ use Vendidero\Germanized\Shipments\PDFMerger;
7
  use Vendidero\Germanized\Shipments\Shipment;
8
+ use Vendidero\Germanized\Shipments\Interfaces\ShipmentLabel;
9
  use WC_Data;
10
  use WC_Data_Store;
11
  use Exception;
16
  /**
17
  * DHL Shipment class.
18
  */
19
+ abstract class Label extends WC_Data implements ShipmentLabel {
20
 
21
  /**
22
  * This is the name of this object type.
150
  return $this->get_prop( 'number', $context );
151
  }
152
 
153
+ public function has_number() {
154
+ $number = $this->get_number();
155
+
156
+ return empty( $number ) ? false : true;
157
+ }
158
+
159
+ public function get_weight( $context = 'view' ) {
160
  return $this->get_prop( 'weight', $context );
161
  }
162
 
163
  public function get_tracking_url() {
 
164
 
165
+ if ( $shipment = $this->get_shipment() ) {
166
+ return $shipment->get_tracking_url();
167
  }
168
 
169
+ return '';
170
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
171
 
172
  public function get_path( $context = 'view' ) {
173
  return $this->get_prop( 'path', $context );
177
  return $this->get_prop( 'default_path', $context );
178
  }
179
 
 
 
 
 
 
 
 
 
 
 
180
  public function get_export_path( $context = 'view' ) {
181
  return $this->get_prop( 'export_path', $context );
182
  }
401
 
402
  $this->set_prop( 'shipment_id', absint( $shipment->get_id() ) );
403
  }
404
+
405
+ public function download( $args = array() ) {
406
+ DownloadHandler::download_label( $this->get_id(), $args );
407
+ }
408
+
409
+ public function merge( PDFMerger &$pdf ) {
410
+ $file = $this->get_file();
411
+
412
+ if ( ! $file || ! file_exists( $file ) ) {
413
+ return;
414
+ }
415
+
416
+ if ( $file ) {
417
+ $pdf->add( $file );
418
+ }
419
+ }
420
  }
packages/woocommerce-germanized-dhl/src/LabelQuery.php CHANGED
@@ -387,7 +387,7 @@ class LabelQuery extends WC_Object_Query {
387
  /**
388
  * Used internally to generate an SQL string for searching across multiple columns
389
  *
390
- * @since 3.1.0
391
  *
392
  * @global wpdb $wpdb WordPress database abstraction object.
393
  *
387
  /**
388
  * Used internally to generate an SQL string for searching across multiple columns
389
  *
390
+ * @since 3.0.6
391
  *
392
  * @global wpdb $wpdb WordPress database abstraction object.
393
  *
packages/woocommerce-germanized-dhl/src/LabelWatcher.php CHANGED
@@ -33,29 +33,23 @@ class LabelWatcher {
33
  add_action( 'woocommerce_gzd_shipment_deleted', array( __CLASS__, 'deleted_shipment' ), 10, 2 );
34
  add_action( 'woocommerce_gzd_return_shipment_deleted', array( __CLASS__, 'deleted_shipment' ), 10, 2 );
35
 
 
 
 
 
36
  // Sync shipment items
37
  add_action( 'woocommerce_gzd_shipment_item_synced', array( __CLASS__, 'sync_item_meta' ), 10, 3 );
38
-
39
- // Add shipment tracking url
40
- add_filter( 'woocommerce_gzd_shipment_get_tracking_url', array( __CLASS__, 'add_tracking_url' ), 10, 2 );
41
- add_filter( 'woocommerce_gzd_return_shipment_get_tracking_url', array( __CLASS__, 'add_tracking_url' ), 10, 2 );
42
-
43
- add_action( 'woocommerce_gzd_shipment_synced', array( __CLASS__, 'maybe_set_shipping_provider' ), 10, 3 );
44
  }
45
 
46
  /**
 
47
  * @param Shipment $shipment
48
- * @param \Vendidero\Germanized\Shipments\Order $order_shipment
49
- * @param array $args
50
  */
51
- public static function maybe_set_shipping_provider( $shipment, $order_shipment, $args ) {
52
- if ( $shipping_method = $shipment->get_shipping_method() ) {
53
-
54
- if ( $dhl_shipping_method = wc_gzd_dhl_get_shipping_method( $shipping_method ) ) {
55
 
56
- if ( $dhl_shipping_method->is_dhl_enabled() ) {
57
- $shipment->set_shipping_provider( 'dhl' );
58
- }
59
  }
60
  }
61
  }
33
  add_action( 'woocommerce_gzd_shipment_deleted', array( __CLASS__, 'deleted_shipment' ), 10, 2 );
34
  add_action( 'woocommerce_gzd_return_shipment_deleted', array( __CLASS__, 'deleted_shipment' ), 10, 2 );
35
 
36
+ // Delete the label if dhl is no longer the shipping provider selected
37
+ add_action( 'woocommerce_gzd_shipment_updated', array( __CLASS__, 'maybe_delete_label' ), 10, 2 );
38
+ add_action( 'woocommerce_gzd_return_shipment_updated', array( __CLASS__, 'maybe_delete_label' ), 10, 2 );
39
+
40
  // Sync shipment items
41
  add_action( 'woocommerce_gzd_shipment_item_synced', array( __CLASS__, 'sync_item_meta' ), 10, 3 );
 
 
 
 
 
 
42
  }
43
 
44
  /**
45
+ * @param $shipment_id
46
  * @param Shipment $shipment
 
 
47
  */
48
+ public static function maybe_delete_label( $shipment_id, $shipment ) {
49
+ if ( 'dhl' !== $shipment->get_shipping_provider() ) {
 
 
50
 
51
+ if ( $label = wc_gzd_dhl_get_shipment_label( $shipment ) ) {
52
+ $label->delete( true );
 
53
  }
54
  }
55
  }
packages/woocommerce-germanized-dhl/src/Package.php CHANGED
@@ -2,9 +2,10 @@
2
 
3
  namespace Vendidero\Germanized\DHL;
4
 
 
 
5
  use Exception;
6
  use Vendidero\Germanized\DHL\Api\Paket;
7
- use WC_Shipping;
8
 
9
  defined( 'ABSPATH' ) || exit;
10
 
@@ -18,7 +19,7 @@ class Package {
18
  *
19
  * @var string
20
  */
21
- const VERSION = '1.0.5';
22
 
23
  public static $upload_dir_suffix = '';
24
 
@@ -45,6 +46,9 @@ class Package {
45
  self::define_tables();
46
  self::maybe_set_upload_dir();
47
 
 
 
 
48
  if ( self::is_enabled() ) {
49
  self::init_hooks();
50
  }
@@ -74,6 +78,30 @@ class Package {
74
  return false;
75
  }
76
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
  public static function get_holidays( $country = 'DE' ) {
78
  if ( empty( self::$holidays ) ) {
79
  self::$holidays = include self::get_path() . '/i18n/holidays.php';
@@ -161,6 +189,7 @@ class Package {
161
 
162
  Ajax::init();
163
  Emails::init();
 
164
  LabelWatcher::init();
165
  Automation::init();
166
  }
@@ -169,11 +198,8 @@ class Package {
169
  public static function init_hooks() {
170
  add_filter( 'woocommerce_data_stores', array( __CLASS__, 'register_data_stores' ), 10, 1 );
171
 
172
- // Add shipping provider
173
- add_filter( 'woocommerce_gzd_shipping_providers', array( __CLASS__, 'add_shipping_providers' ), 10, 1 );
174
-
175
- add_action( 'woocommerce_load_shipping_methods', array( __CLASS__, 'load_shipping_methods' ), 5, 1 );
176
- add_filter( 'woocommerce_shipping_methods', array( __CLASS__, 'set_method_filters' ), 200, 1 );
177
 
178
  // Filter email templates
179
  add_filter( 'woocommerce_gzd_default_plugin_template', array( __CLASS__, 'filter_templates' ), 10, 3 );
@@ -188,29 +214,16 @@ class Package {
188
  return $path;
189
  }
190
 
191
- public static function set_method_filters( $methods ) {
192
-
193
- foreach ( $methods as $method => $class ) {
194
- add_filter( 'woocommerce_shipping_instance_form_fields_' . $method, array( __CLASS__, 'add_method_settings' ), 10, 1 );
195
- add_filter( 'woocommerce_shipping_' . $method . '_instance_settings_values', array( __CLASS__, 'filter_method_settings' ), 10, 2 );
196
- }
197
-
198
- return $methods;
199
- }
200
-
201
- protected static function get_method_settings() {
202
- if ( is_null( self::$method_settings ) ) {
203
- self::$method_settings = include Package::get_path() . '/includes/admin/views/settings-shipping-method.php';
204
- }
205
-
206
- return self::$method_settings;
207
  }
208
 
209
- public static function filter_method_settings( $p_settings, $method ) {
210
- $dhl_settings = self::get_method_settings();
211
 
212
  foreach( $p_settings as $setting => $value ) {
213
- if ( array_key_exists( $setting, $dhl_settings ) ) {
 
214
  if ( self::get_setting( $setting ) === $value ) {
215
  unset( $p_settings[ $setting ] );
216
  }
@@ -220,22 +233,16 @@ class Package {
220
  return $p_settings;
221
  }
222
 
223
- public static function add_method_settings( $p_settings ) {
224
- $dhl_settings = self::get_method_settings();
225
-
226
- return array_merge( $p_settings, $dhl_settings );
227
- }
228
-
229
- public static function load_shipping_methods( $package ) {
230
- $shipping = WC_Shipping::instance();
231
 
232
- foreach( $shipping->shipping_methods as $key => $method ) {
233
- $dhl_method = new ShippingMethod( $method );
234
- }
235
  }
236
 
237
- public static function add_shipping_providers( $providers ) {
238
- $providers['dhl'] = _x( 'DHL', 'dhl', 'woocommerce-germanized' );
239
 
240
  return $providers;
241
  }
@@ -525,22 +532,6 @@ class Package {
525
  remove_filter( 'upload_dir', array( __CLASS__, "filter_upload_dir" ), 150 );
526
  }
527
 
528
- public static function create_upload_folder() {
529
- $dir = self::get_upload_dir();
530
-
531
- if ( ! @is_dir( $dir['basedir'] ) ) {
532
- @mkdir( $dir['basedir'] );
533
- }
534
-
535
- if ( ! file_exists( trailingslashit( $dir['basedir'] ) . '.htaccess' ) ) {
536
- @file_put_contents( trailingslashit( $dir['basedir'] ) . '.htaccess', 'deny from all' );
537
- }
538
-
539
- if ( ! file_exists( trailingslashit( $dir['basedir'] ) . 'index.php' ) ) {
540
- @touch( trailingslashit( $dir['basedir'] ) . 'index.php' );
541
- }
542
- }
543
-
544
  public static function filter_upload_dir( $args ) {
545
  $upload_base = trailingslashit( $args['basedir'] );
546
  $upload_url = trailingslashit( $args['baseurl'] );
@@ -578,7 +569,7 @@ class Package {
578
 
579
  /**
580
  * @param $name
581
- * @param bool|ShippingMethod $method
582
  *
583
  * @return mixed|void
584
  */
2
 
3
  namespace Vendidero\Germanized\DHL;
4
 
5
+ use DateTime;
6
+ use DateTimeZone;
7
  use Exception;
8
  use Vendidero\Germanized\DHL\Api\Paket;
 
9
 
10
  defined( 'ABSPATH' ) || exit;
11
 
19
  *
20
  * @var string
21
  */
22
+ const VERSION = '1.1.0';
23
 
24
  public static $upload_dir_suffix = '';
25
 
46
  self::define_tables();
47
  self::maybe_set_upload_dir();
48
 
49
+ // Add shipping provider
50
+ add_filter( 'woocommerce_gzd_shipping_providers', array( __CLASS__, 'add_shipping_provider' ), 10, 1 );
51
+
52
  if ( self::is_enabled() ) {
53
  self::init_hooks();
54
  }
78
  return false;
79
  }
80
 
81
+ public static function get_date_de_timezone( $format = 'Y-m-d', $reset_timezone = true ) {
82
+ try {
83
+ // Get existing timezone to reset afterwards
84
+ $current_timzone = date_default_timezone_get();
85
+
86
+ // Always set and get DE timezone and check against it.
87
+ date_default_timezone_set( 'Europe/Berlin' );
88
+
89
+ $tz_obj = new DateTimeZone( 'Europe/Berlin' );
90
+ $current_date = new DateTime( "now", $tz_obj );
91
+
92
+ $date_formatted = $current_date->format( $format );
93
+
94
+ if ( $reset_timezone ) {
95
+ // Reset timezone to not affect any other plugins
96
+ date_default_timezone_set( $current_timzone );
97
+ }
98
+
99
+ return $date_formatted;
100
+ } catch( Exception $e ) {
101
+ return date( $format );
102
+ }
103
+ }
104
+
105
  public static function get_holidays( $country = 'DE' ) {
106
  if ( empty( self::$holidays ) ) {
107
  self::$holidays = include self::get_path() . '/i18n/holidays.php';
189
 
190
  Ajax::init();
191
  Emails::init();
192
+ ShipmentLabelWatcher::init();
193
  LabelWatcher::init();
194
  Automation::init();
195
  }
198
  public static function init_hooks() {
199
  add_filter( 'woocommerce_data_stores', array( __CLASS__, 'register_data_stores' ), 10, 1 );
200
 
201
+ add_filter( 'woocommerce_gzd_shipping_provider_method_admin_settings', array( __CLASS__, 'add_shipping_provider_settings' ), 10, 1 );
202
+ add_filter( 'woocommerce_gzd_shipping_provider_method_clean_settings', array( __CLASS__, 'clean_shipping_provider_settings' ), 10, 2 );
 
 
 
203
 
204
  // Filter email templates
205
  add_filter( 'woocommerce_gzd_default_plugin_template', array( __CLASS__, 'filter_templates' ), 10, 3 );
214
  return $path;
215
  }
216
 
217
+ public static function add_shipping_provider_settings( $settings ) {
218
+ return array_merge( $settings, self::get_method_settings() );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
219
  }
220
 
221
+ public static function clean_shipping_provider_settings( $p_settings, $method ) {
222
+ $shipping_provider_settings = self::get_method_settings();
223
 
224
  foreach( $p_settings as $setting => $value ) {
225
+
226
+ if ( array_key_exists( $setting, $shipping_provider_settings ) ) {
227
  if ( self::get_setting( $setting ) === $value ) {
228
  unset( $p_settings[ $setting ] );
229
  }
233
  return $p_settings;
234
  }
235
 
236
+ protected static function get_method_settings() {
237
+ if ( is_null( self::$method_settings ) ) {
238
+ self::$method_settings = include Package::get_path() . '/includes/admin/views/settings-shipping-method.php';
239
+ }
 
 
 
 
240
 
241
+ return self::$method_settings;
 
 
242
  }
243
 
244
+ public static function add_shipping_provider( $providers ) {
245
+ $providers['dhl'] = '\Vendidero\Germanized\DHL\ShippingProviderDHL';
246
 
247
  return $providers;
248
  }
532
  remove_filter( 'upload_dir', array( __CLASS__, "filter_upload_dir" ), 150 );
533
  }
534
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
535
  public static function filter_upload_dir( $args ) {
536
  $upload_base = trailingslashit( $args['basedir'] );
537
  $upload_url = trailingslashit( $args['baseurl'] );
569
 
570
  /**
571
  * @param $name
572
+ * @param bool|ShippingProviderMethodDHL $method
573
  *
574
  * @return mixed|void
575
  */
packages/woocommerce-germanized-dhl/src/ParcelLocator.php CHANGED
@@ -33,6 +33,9 @@ class ParcelLocator {
33
  add_action( 'woocommerce_checkout_process', array( __CLASS__, 'validate_checkout' ), 20 );
34
  add_action( 'woocommerce_checkout_create_order', array( __CLASS__, 'maybe_remove_order_data' ), 10, 2 );
35
  add_filter( 'woocommerce_get_order_address', array( __CLASS__, 'add_order_address_data' ), 10, 3 );
 
 
 
36
 
37
  // Shipment Pickup
38
  add_filter( 'woocommerce_gzd_shipment_send_to_external_pickup', array( __CLASS__, 'shipment_has_pickup' ), 10, 3 );
@@ -69,6 +72,12 @@ class ParcelLocator {
69
  }
70
  }
71
 
 
 
 
 
 
 
72
  public static function admin_profile_fields( $fields ) {
73
 
74
  if ( ! self::is_available() ) {
@@ -474,7 +483,16 @@ class ParcelLocator {
474
  return $fields;
475
  }
476
 
477
- protected static function get_shipping_method_data() {
 
 
 
 
 
 
 
 
 
478
  $packages = WC()->shipping()->get_packages();
479
  $data = array();
480
 
@@ -503,6 +521,10 @@ class ParcelLocator {
503
  }
504
  }
505
 
 
 
 
 
506
  return $data;
507
  }
508
 
@@ -641,14 +663,15 @@ class ParcelLocator {
641
  self::$localized_scripts[] = 'wc-gzd-parcel-locator-dhl';
642
 
643
  wp_localize_script( 'wc-gzd-parcel-locator-dhl', 'wc_gzd_dhl_parcel_locator_params', array(
644
- 'ajax_url' => admin_url( 'admin-ajax.php' ),
645
- 'parcel_locator_nonce' => wp_create_nonce('dhl-parcel-locator' ),
646
- 'supported_countries' => self::get_supported_countries(),
647
- 'methods' => is_checkout() ? self::get_shipping_method_data() : array(),
648
- 'is_checkout' => is_checkout(),
649
- 'pickup_types' => wc_gzd_dhl_get_pickup_types(),
650
- 'i18n' => array_merge( wc_gzd_dhl_get_pickup_types(), array() ),
651
- 'wrapper' => is_checkout() ? '.woocommerce-checkout' : '.woocommerce-address-fields',
 
652
  ) );
653
  }
654
 
@@ -775,7 +798,7 @@ class ParcelLocator {
775
  /**
776
  * @param string $sep
777
  * @param bool $plural
778
- * @param bool|ShippingMethod $method
779
  *
780
  * @return string
781
  */
@@ -860,8 +883,8 @@ class ParcelLocator {
860
  * Filter to adjust the pickup type address label added
861
  * to the address field when a certain pickup type was chosen.
862
  *
863
- * @param string $pickup_type_text The pickup type text.
864
- * @param boolean|ShippingMethod $method The shipping method object if available.
865
  *
866
  * @since 3.0.0
867
  * @package Vendidero/Germanized/DHL
@@ -874,8 +897,8 @@ class ParcelLocator {
874
  * Filter to adjust the pickup type address placeholder added
875
  * to the address field when a certain pickup type was chosen.
876
  *
877
- * @param string $pickup_type_text The pickup type placeholder text.
878
- * @param boolean|ShippingMethod $method The shipping method object if available.
879
  *
880
  * @since 3.0.0
881
  * @package Vendidero/Germanized/DHL
@@ -929,6 +952,15 @@ class ParcelLocator {
929
  wc_get_template( 'checkout/dhl/parcel-finder.php', $args, Package::get_template_path(), Package::get_path() . '/templates/' );
930
  }
931
 
 
 
 
 
 
 
 
 
 
932
  public static function ajax_validate_address() {
933
 
934
  check_ajax_referer( 'dhl-parcel-locator', 'security' );
33
  add_action( 'woocommerce_checkout_process', array( __CLASS__, 'validate_checkout' ), 20 );
34
  add_action( 'woocommerce_checkout_create_order', array( __CLASS__, 'maybe_remove_order_data' ), 10, 2 );
35
  add_filter( 'woocommerce_get_order_address', array( __CLASS__, 'add_order_address_data' ), 10, 3 );
36
+ add_filter( 'woocommerce_update_order_review_fragments', array( __CLASS__, 'refresh_shipping_data_session' ), 10 );
37
+ add_action( 'wp_ajax_nopriv_woocommerce_gzd_dhl_parcel_locator_refresh_shipping_data', array( __CLASS__, 'ajax_refresh_shipping_data' ) );
38
+ add_action( 'wp_ajax_woocommerce_gzd_dhl_parcel_locator_refresh_shipping_data', array( __CLASS__, 'ajax_refresh_shipping_data' ) );
39
 
40
  // Shipment Pickup
41
  add_filter( 'woocommerce_gzd_shipment_send_to_external_pickup', array( __CLASS__, 'shipment_has_pickup' ), 10, 3 );
72
  }
73
  }
74
 
75
+ public static function refresh_shipping_data_session( $fragments ) {
76
+ self::get_shipping_method_data();
77
+
78
+ return $fragments;
79
+ }
80
+
81
  public static function admin_profile_fields( $fields ) {
82
 
83
  if ( ! self::is_available() ) {
483
  return $fields;
484
  }
485
 
486
+ public static function get_shipping_method_data( $from_session = false ) {
487
+
488
+ if ( $from_session ) {
489
+ return WC()->session->get( 'dhl_shipping_method_data', array() );
490
+ }
491
+
492
+ if ( WC()->session ) {
493
+ unset( WC()->session->dhl_shipping_method_data );
494
+ }
495
+
496
  $packages = WC()->shipping()->get_packages();
497
  $data = array();
498
 
521
  }
522
  }
523
 
524
+ if ( WC()->session ) {
525
+ WC()->session->set( 'dhl_shipping_method_data', $data );
526
+ }
527
+
528
  return $data;
529
  }
530
 
663
  self::$localized_scripts[] = 'wc-gzd-parcel-locator-dhl';
664
 
665
  wp_localize_script( 'wc-gzd-parcel-locator-dhl', 'wc_gzd_dhl_parcel_locator_params', array(
666
+ 'ajax_url' => admin_url( 'admin-ajax.php' ),
667
+ 'parcel_locator_nonce' => wp_create_nonce('dhl-parcel-locator' ),
668
+ 'parcel_locator_data_nonce' => wp_create_nonce('dhl-parcel-locator-shipping-data' ),
669
+ 'supported_countries' => self::get_supported_countries(),
670
+ 'methods' => is_checkout() ? self::get_shipping_method_data() : array(),
671
+ 'is_checkout' => is_checkout(),
672
+ 'pickup_types' => wc_gzd_dhl_get_pickup_types(),
673
+ 'i18n' => array_merge( wc_gzd_dhl_get_pickup_types(), array() ),
674
+ 'wrapper' => is_checkout() ? '.woocommerce-checkout' : '.woocommerce-address-fields',
675
  ) );
676
  }
677
 
798
  /**
799
  * @param string $sep
800
  * @param bool $plural
801
+ * @param bool|ShippingProviderMethodDHL $method
802
  *
803
  * @return string
804
  */
883
  * Filter to adjust the pickup type address label added
884
  * to the address field when a certain pickup type was chosen.
885
  *
886
+ * @param string $pickup_type_text The pickup type text.
887
+ * @param boolean|ShippingProviderMethodDHL $method The shipping method object if available.
888
  *
889
  * @since 3.0.0
890
  * @package Vendidero/Germanized/DHL
897
  * Filter to adjust the pickup type address placeholder added
898
  * to the address field when a certain pickup type was chosen.
899
  *
900
+ * @param string $pickup_type_text The pickup type placeholder text.
901
+ * @param boolean|ShippingProviderMethodDHL $method The shipping method object if available.
902
  *
903
  * @since 3.0.0
904
  * @package Vendidero/Germanized/DHL
952
  wc_get_template( 'checkout/dhl/parcel-finder.php', $args, Package::get_template_path(), Package::get_path() . '/templates/' );
953
  }
954
 
955
+ public static function ajax_refresh_shipping_data() {
956
+ check_ajax_referer( 'dhl-parcel-locator-shipping-data', 'security' );
957
+
958
+ wp_send_json( array(
959
+ 'methods' => self::get_shipping_method_data( true ),
960
+ 'success' => true,
961
+ ) );
962
+ }
963
+
964
  public static function ajax_validate_address() {
965
 
966
  check_ajax_referer( 'dhl-parcel-locator', 'security' );
packages/woocommerce-germanized-dhl/src/ReturnLabel.php CHANGED
@@ -3,6 +3,7 @@
3
  namespace Vendidero\Germanized\DHL;
4
  use DateTimeZone;
5
  use Vendidero\Germanized\Shipments\Shipment;
 
6
  use WC_Data;
7
  use WC_Data_Store;
8
  use Exception;
@@ -13,7 +14,7 @@ defined( 'ABSPATH' ) || exit;
13
  /**
14
  * DHL ReturnLabel class.
15
  */
16
- class ReturnLabel extends Label {
17
 
18
  /**
19
  * Stores product data.
3
  namespace Vendidero\Germanized\DHL;
4
  use DateTimeZone;
5
  use Vendidero\Germanized\Shipments\Shipment;
6
+ use Vendidero\Germanized\Shipments\Interfaces\ShipmentReturnLabel;
7
  use WC_Data;
8
  use WC_Data_Store;
9
  use Exception;
14
  /**
15
  * DHL ReturnLabel class.
16
  */
17
+ class ReturnLabel extends Label implements ShipmentReturnLabel {
18
 
19
  /**
20
  * Stores product data.
packages/woocommerce-germanized-dhl/src/ShipmentLabelWatcher.php ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Vendidero\Germanized\DHL;
4
+ use Exception;
5
+ use Vendidero\Germanized\Shipments\Shipment;
6
+ use Vendidero\Germanized\Shipments\ReturnShipment;
7
+ use Vendidero\Germanized\Shipments\ShipmentItem;
8
+ use Vendidero\Germanized\Shipments\ShippingProviderMethodPlaceholder;
9
+ use WC_Order_Item;
10
+ use WP_Error;
11
+
12
+ defined( 'ABSPATH' ) || exit;
13
+
14
+ /**
15
+ * Main package class.
16
+ */
17
+ class ShipmentLabelWatcher {
18
+
19
+ public static function init() {
20
+ // Listen to shipments requiring label creation or deletion
21
+ add_action( 'woocommerce_gzd_shipment_create_dhl_label', array( __CLASS__, 'create_shipment_label' ), 10, 4 );
22
+ add_action( 'woocommerce_gzd_return_shipment_create_dhl_label', array( __CLASS__, 'create_return_shipment_label' ), 10, 4 );
23
+
24
+ // Return the DHL label for a shipment if available
25
+ add_filter( 'woocommerce_gzd_shipment_get_dhl_label', array( __CLASS__, 'get_shipment_label' ), 10, 2 );
26
+ add_filter( 'woocommerce_gzd_return_shipment_get_dhl_label', array( __CLASS__, 'get_shipment_label' ), 10, 2 );
27
+
28
+ // Legacy ShippingProviderMethod hook support
29
+ add_filter( 'woocommerce_gzd_shipping_provider_method_provider', array( __CLASS__, 'legacy_provider_hook_support' ), 10, 3 );
30
+ }
31
+
32
+ public static function legacy_provider_hook_support( $provider, $method_id, $shipping_provider_method ) {
33
+
34
+ if ( is_a( $shipping_provider_method, '\Vendidero\Germanized\Shipments\ShippingProviderMethodPlaceholder' ) ) {
35
+ /**
36
+ * Filter to adjust the whether a certain (possibly unknown) shipping method
37
+ * supports DHL and it's features or not. You should better use the
38
+ * `woocommerce_gzd_shipping_provider_method_placeholder_provider` filter directly.
39
+ *
40
+ * @param boolean $enable Whether to enable DHL or not.
41
+ * @param string $id The method id e.g. advanced_flat_rate_shipping.
42
+ * @param ShippingProviderMethodPlaceholder $placeholder The shipping method instance.
43
+ *
44
+ * @since 3.0.6
45
+ * @package Vendidero/Germanized/DHL
46
+ */
47
+ $has_dhl = apply_filters( 'woocommerce_gzd_dhl_enable_placeholder_shipping_method', false, $method_id, $shipping_provider_method );
48
+
49
+ if ( $has_dhl ) {
50
+ $provider = 'dhl';
51
+ }
52
+ }
53
+
54
+ return $provider;
55
+ }
56
+
57
+ /**
58
+ * @param boolean $label
59
+ * @param Shipment $shipment
60
+ *
61
+ * @return bool|Label
62
+ */
63
+ public static function get_shipment_label( $label, $shipment ) {
64
+
65
+ if ( $dhl_label = wc_gzd_dhl_get_shipment_label( $shipment ) ) {
66
+ return $dhl_label;
67
+ }
68
+
69
+ return $label;
70
+ }
71
+
72
+ /**
73
+ * @param array $data
74
+ * @param WP_Error $error
75
+ * @param ReturnShipment $shipment
76
+ * @param array $raw_data
77
+ */
78
+ public static function create_return_shipment_label( $data, $error, $shipment, $raw_data ) {
79
+ $label = wc_gzd_dhl_create_label( $shipment, $data );
80
+
81
+ if ( is_wp_error( $label ) ) {
82
+ foreach( $label->get_error_messages() as $message ) {
83
+ $error->add( 'error', $message );
84
+ }
85
+ }
86
+ }
87
+
88
+ /**
89
+ * @param array $data
90
+ * @param WP_Error $error
91
+ * @param Shipment $shipment
92
+ * @param array $raw_data
93
+ */
94
+ public static function create_shipment_label( $data, $error, $shipment, $raw_data ) {
95
+ $services = array();
96
+ $props = array(
97
+ 'has_inlay_return' => 'no',
98
+ 'codeable_address_only' => 'no',
99
+ );
100
+
101
+ foreach( $data as $key => $value ) {
102
+ // Check if it is a service
103
+ if ( substr( $key, 0, strlen( 'service_' ) ) === 'service_' ) {
104
+ $new_key = substr( $key, ( strlen( 'service_' ) ) );
105
+
106
+ if ( 'yes' === $value && in_array( $new_key, wc_gzd_dhl_get_services() ) ) {
107
+ $services[] = $new_key;
108
+ }
109
+ } else {
110
+ $props[ $key ] = $value;
111
+ }
112
+ }
113
+
114
+ if ( isset( $props['preferred_time'] ) && ! empty( $props['preferred_time'] ) ) {
115
+ $preferred_time = explode( '-', wc_clean( wp_unslash( $props['preferred_time'] ) ) );
116
+
117
+ if ( sizeof( $preferred_time ) === 2 ) {
118
+ $props['preferred_time_start'] = $preferred_time[0];
119
+ $props['preferred_time_end'] = $preferred_time[1];
120
+ }
121
+
122
+ unset( $props['preferred_time'] );
123
+ }
124
+
125
+ $props['services'] = $services;
126
+
127
+ $label = wc_gzd_dhl_create_label( $shipment, $props );
128
+
129
+ if ( is_wp_error( $label ) ) {
130
+ foreach( $label->get_error_messages() as $message ) {
131
+ $error->add( 'error', $message );
132
+ }
133
+ }
134
+ }
135
+ }
packages/woocommerce-germanized-dhl/src/ShippingMethodPlaceholder.php DELETED
@@ -1,105 +0,0 @@
1
- <?php
2
-
3
- namespace Vendidero\Germanized\DHL;
4
- use Exception;
5
- use WC_Order;
6
- use WC_Customer;
7
- use WC_DateTime;
8
- use WC_Shipping_Method;
9
-
10
- defined( 'ABSPATH' ) || exit;
11
-
12
- /**
13
- * Shipment Order
14
- *
15
- * @class WC_GZD_Shipment_Order
16
- * @version 1.0.0
17
- * @author Vendidero
18
- */
19
- class ShippingMethodPlaceholder extends ShippingMethod {
20
-
21
- protected $id = '';
22
-
23
- protected $instance_id = '';
24
-
25
- public function __construct( $id ) {
26
- $this->id = $id;
27
-
28
- if ( ! is_numeric( $id ) ) {
29
- $expl = explode( ':', $id );
30
- $instance_id = ( ( ! empty( $expl ) && sizeof( $expl ) > 1 ) ? (int) $expl[1] : $id );
31
- } else {
32
- $instance_id = $id;
33
- }
34
-
35
- $this->instance_id = $instance_id;
36
- }
37
-
38
- public function get_id() {
39
- return $this->id;
40
- }
41
-
42
- public function get_instance_id() {
43
- return $this->instance_id;
44
- }
45
-
46
- protected function maybe_prefix_key( $key ) {
47
- return $key;
48
- }
49
-
50
- public function get_option( $key ) {
51
- $key = $this->maybe_prefix_key( $key );
52
- $option_value = Package::get_setting( $key );
53
-
54
- if ( strpos( $key, 'enable' ) !== false ) {
55
- if ( 'yes' === $option_value && ! $this->is_dhl_enabled() ) {
56
- $option_value = 'no';
57
- }
58
- }
59
-
60
- return $option_value;
61
- }
62
-
63
- public function is_dhl_enabled() {
64
- /**
65
- * Filter to adjust the whether a certain (possibly unknown) shipping method
66
- * supports DHL and it's feature or not. By default, shipping methods that are not
67
- * registered via the Woo shipping zones are not supported and need to be activated
68
- * manually by using this filter.
69
- *
70
- * @param boolean $enable Whether to enable DHL or not.
71
- * @param string $id The method id e.g. advanced_flat_rate_shipping.
72
- * @param ShippingMethodPlaceholder $placeholder The shipping method instance.
73
- *
74
- * @since 3.0.6
75
- * @package Vendidero/Germanized/DHL
76
- */
77
- return apply_filters( 'woocommerce_gzd_dhl_enable_placeholder_shipping_method', false, $this->get_id(), $this );
78
- }
79
-
80
- public function get_enabled_preferred_services() {
81
- if ( is_null( $this->preferred_services ) ) {
82
- $services = wc_gzd_dhl_get_services();
83
- $this->preferred_services = array();
84
-
85
- foreach ( $services as $service ) {
86
-
87
- if ( strpos( $service, 'Preferred' ) === false ) {
88
- continue;
89
- }
90
-
91
- if ( $this->get_option( $service . '_enable' ) === 'yes' ) {
92
- $this->preferred_services[] = $service;
93
- }
94
- }
95
- }
96
-
97
- return $this->preferred_services;
98
- }
99
-
100
- public function is_preferred_service_enabled( $service ) {
101
- $services = $this->get_enabled_preferred_services();
102
-
103
- return in_array( $service, $services ) && $this->is_dhl_enabled();
104
- }
105
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
packages/woocommerce-germanized-dhl/src/ShippingProviderDHL.php ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * ShippingProvider impl.
4
+ *
5
+ * @package WooCommerce/Blocks
6
+ */
7
+ namespace Vendidero\Germanized\DHL;
8
+
9
+ use Vendidero\Germanized\Shipments\ShippingProvider;
10
+
11
+ defined( 'ABSPATH' ) || exit;
12
+
13
+ class ShippingProviderDHL extends ShippingProvider {
14
+
15
+ public function is_manual_integration() {
16
+ return false;
17
+ }
18
+
19
+ public function supports_labels( $label_type ) {
20
+ return in_array( $label_type, array(
21
+ 'simple',
22
+ 'return'
23
+ ) );
24
+ }
25
+
26
+ public function get_edit_link() {
27
+ return admin_url( 'admin.php?page=wc-settings&tab=germanized-dhl' );
28
+ }
29
+
30
+ public function is_activated() {
31
+ return Package::is_enabled();
32
+ }
33
+
34
+ public function get_title( $context = 'view' ) {
35
+ return __( 'DHL', 'dhl', 'woocommerce-germanized' );
36
+ }
37
+
38
+ public function get_name( $context = 'view' ) {
39
+ return 'dhl';
40
+ }
41
+
42
+ public function get_description( $context = 'view' ) {
43
+ return _x( 'Complete DHL integration supporting labels, preferred services and packstation delivery.', 'dhl', 'woocommerce-germanized' );
44
+ }
45
+
46
+ public function get_tracking_url_placeholder( $context = 'view' ) {
47
+ return 'https://www.dhl.de/de/privatkunden/pakete-empfangen/verfolgen.html?lang=de&idc={tracking_id}&rfn=&extendedSearch=true';
48
+ }
49
+
50
+ public function get_tracking_desc_placeholder( $context = 'view' ) {
51
+ return Package::get_setting( 'label_tracking_desc' );
52
+ }
53
+
54
+ public function deactivate() {
55
+ update_option( 'woocommerce_gzd_dhl_enable', 'no' );
56
+ }
57
+
58
+ public function activate() {
59
+ update_option( 'woocommerce_gzd_dhl_enable', 'yes' );
60
+ }
61
+ }
packages/woocommerce-germanized-dhl/src/{ShippingMethod.php → ShippingProviderMethodDHL.php} RENAMED
@@ -1,6 +1,8 @@
1
  <?php
2
 
3
  namespace Vendidero\Germanized\DHL;
 
 
4
  use Exception;
5
  use WC_Order;
6
  use WC_Customer;
@@ -16,52 +18,22 @@ defined( 'ABSPATH' ) || exit;
16
  * @version 1.0.0
17
  * @author Vendidero
18
  */
19
- class ShippingMethod {
20
 
21
  /**
22
- * The actual method object
23
- *
24
- * @var WC_Shipping_Method
25
  */
26
- protected $method;
27
-
28
- protected $instance_form_fields = array();
29
 
30
  protected $preferred_services = null;
31
 
32
  /**
33
- * @param WC_Customer $customer
 
 
34
  */
35
  public function __construct( $method ) {
36
  $this->method = $method;
37
-
38
- $this->init();
39
- }
40
-
41
- protected function init() {
42
- $this->instance_form_fields = include Package::get_path() . '/includes/admin/views/settings-shipping-method.php';
43
-
44
- $this->get_method()->instance_form_fields = array_merge( $this->get_method()->instance_form_fields, $this->instance_form_fields );
45
- }
46
-
47
- /**
48
- * Returns the Woo WC_Shipping_Method original object
49
- *
50
- * @return object|WC_Shipping_Method
51
- */
52
- public function get_method() {
53
- return $this->method;
54
- }
55
-
56
- public function get_id() {
57
- return $this->method->id;
58
- }
59
-
60
- public function has_option( $key ) {
61
- $fields = $this->instance_form_fields;
62
- $key = $this->maybe_prefix_key( $key );
63
-
64
- return array_key_exists( $key, $fields ) ? true : false;
65
  }
66
 
67
  protected function maybe_prefix_key( $key ) {
@@ -72,33 +44,44 @@ class ShippingMethod {
72
  return $key;
73
  }
74
 
 
 
 
 
 
 
75
  public function get_option( $key ) {
76
- $key = $this->maybe_prefix_key( $key );
77
- $option_value = $this->method->get_option( $key );
 
 
78
 
79
- if ( strpos( $key, 'enable' ) !== false ) {
80
- if ( 'yes' === $option_value && ! $this->is_dhl_enabled() ) {
81
- $option_value = 'no';
 
82
  }
 
 
83
  }
84
 
85
  return $option_value;
86
  }
87
 
 
 
 
 
88
  public function is_packstation_enabled() {
89
- return $this->get_option( 'parcel_pickup_packstation_enable' ) === 'yes' ? true : false;
90
  }
91
 
92
  public function is_postoffice_enabled() {
93
- return $this->get_option( 'parcel_pickup_postoffice_enable' ) === 'yes' ? true : false;
94
  }
95
 
96
  public function is_parcelshop_enabled() {
97
- return $this->get_option( 'parcel_pickup_parcelshop_enable' ) === 'yes' ? true : false;
98
- }
99
-
100
- public function is_dhl_enabled() {
101
- return $this->method->get_option( 'dhl_enable' ) === 'yes' ? true : false;
102
  }
103
 
104
  public function get_enabled_preferred_services() {
@@ -112,7 +95,7 @@ class ShippingMethod {
112
  continue;
113
  }
114
 
115
- if ( $this->get_option( $service . '_enable' ) === 'yes' ) {
116
  $this->preferred_services[] = $service;
117
  }
118
  }
1
  <?php
2
 
3
  namespace Vendidero\Germanized\DHL;
4
+
5
+ use Vendidero\Germanized\Shipments\ShippingProviderMethod;
6
  use Exception;
7
  use WC_Order;
8
  use WC_Customer;
18
  * @version 1.0.0
19
  * @author Vendidero
20
  */
21
+ class ShippingProviderMethodDHL {
22
 
23
  /**
24
+ * @var ShippingProviderMethod|null
 
 
25
  */
26
+ protected $method = null;
 
 
27
 
28
  protected $preferred_services = null;
29
 
30
  /**
31
+ * ShippingProviderMethodDHL constructor.
32
+ *
33
+ * @param ShippingProviderMethod $method
34
  */
35
  public function __construct( $method ) {
36
  $this->method = $method;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  }
38
 
39
  protected function maybe_prefix_key( $key ) {
44
  return $key;
45
  }
46
 
47
+ public function has_option( $key ) {
48
+ $dhl_key = $this->maybe_prefix_key( $key );
49
+
50
+ return $this->method->has_option( $dhl_key );
51
+ }
52
+
53
  public function get_option( $key ) {
54
+ $dhl_key = $this->maybe_prefix_key( $key );
55
+
56
+ if ( $this->method->has_option( $dhl_key ) ) {
57
+ $option_value = $this->method->get_option( $dhl_key );
58
 
59
+ if ( strpos( $key, 'enable' ) !== false ) {
60
+ if ( 'yes' === $option_value && ! $this->is_dhl_enabled() ) {
61
+ $option_value = 'no';
62
+ }
63
  }
64
+ } else {
65
+ $option_value = $this->method->get_option( $key );
66
  }
67
 
68
  return $option_value;
69
  }
70
 
71
+ public function is_dhl_enabled() {
72
+ return $this->method->is_enabled( 'dhl' );
73
+ }
74
+
75
  public function is_packstation_enabled() {
76
+ return $this->method->get_option( 'dhl_parcel_pickup_packstation_enable' ) === 'yes' ? true : false;
77
  }
78
 
79
  public function is_postoffice_enabled() {
80
+ return $this->method->get_option( 'dhl_parcel_pickup_postoffice_enable' ) === 'yes' ? true : false;
81
  }
82
 
83
  public function is_parcelshop_enabled() {
84
+ return $this->method->get_option( 'dhl_parcel_pickup_parcelshop_enable' ) === 'yes' ? true : false;
 
 
 
 
85
  }
86
 
87
  public function get_enabled_preferred_services() {
95
  continue;
96
  }
97
 
98
+ if ( $this->method->get_option( 'dhl_' . $service . '_enable' ) === 'yes' ) {
99
  $this->preferred_services[] = $service;
100
  }
101
  }
packages/woocommerce-germanized-dhl/woocommerce-germanized-dhl.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: The Germanized DHL integration, installed as a feature plugin for development and testing purposes.
6
  * Author: vendidero
7
  * Author URI: https://vendidero.de
8
- * Version: 1.0.5
9
  * Requires PHP: 5.6
10
  * License: GPLv3
11
  *
5
  * Description: The Germanized DHL integration, installed as a feature plugin for development and testing purposes.
6
  * Author: vendidero
7
  * Author URI: https://vendidero.de
8
+ * Version: 1.1.0
9
  * Requires PHP: 5.6
10
  * License: GPLv3
11
  *
packages/woocommerce-germanized-shipments/assets/css/admin.css CHANGED
@@ -1,3 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  .shipment-status, .order-shipping-status {
2
  background: #eee;
3
  padding: .2em .5em;
@@ -69,19 +178,23 @@
69
  border-radius: 3px;
70
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.4);
71
  background: #a46497;
 
72
  background: linear-gradient(to bottom, #a46497, #66405f), #a46497;
 
73
  transition: width 1s ease; }
74
  .woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper progress::-moz-progress-bar, .woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper progress::-moz-progress-bar {
75
  border-radius: 3px;
76
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.4);
77
  background: #a46497;
78
  background: linear-gradient(to bottom, #a46497, #66405f), #a46497;
 
79
  transition: width 1s ease; }
80
  .woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper progress::-ms-fill, .woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper progress::-ms-fill {
81
  border-radius: 3px;
82
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.4);
83
  background: #a46497;
84
  background: linear-gradient(to bottom, #a46497, #66405f), #a46497;
 
85
  transition: width 1s ease; }
86
 
87
  .woocommerce_page_wc-gzd-shipments #posts-filter.bulk-action-processing .bulk-action-wrapper, .woocommerce_page_wc-gzd-return-shipments #posts-filter.bulk-action-processing .bulk-action-wrapper {
@@ -109,8 +222,22 @@
109
  margin: 1px 0; }
110
  .woocommerce_page_wc-gzd-shipments .wp-list-table td.column-title, .woocommerce_page_wc-gzd-return-shipments .wp-list-table td.column-title {
111
  font-weight: bold; }
112
- .woocommerce_page_wc-gzd-shipments .wp-list-table .column-status, .woocommerce_page_wc-gzd-shipments .wp-list-table .column-date, .woocommerce_page_wc-gzd-shipments .wp-list-table .column-title, .woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-status, .woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-date, .woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-title {
113
- width: 15ch; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
  .woocommerce_page_wc-gzd-shipments .wp-list-table .shipment-status, .woocommerce_page_wc-gzd-return-shipments .wp-list-table .shipment-status {
115
  font-size: 1em; }
116
  .woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions, .woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions {
@@ -154,7 +281,7 @@
154
  .woocommerce_page_wc-gzd-shipments .wp-list-table .column-address, .woocommerce_page_wc-gzd-shipments .wp-list-table .column-sender, .woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-address, .woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-sender {
155
  width: 20ch; }
156
  .woocommerce_page_wc-gzd-shipments .wp-list-table .column-items, .woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-items {
157
- width: 25ch; }
158
  .woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview, .woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview {
159
  font-size: .9em;
160
  border-spacing: 0; }
@@ -208,9 +335,11 @@
208
  border-top: 1px solid #dfdfdf;
209
  display: none; }
210
  .germanized-shipments #panel-order-shipments .panel-footer .order-shipments-actions {
 
211
  display: flex;
212
  flex-wrap: nowrap;
213
- justify-content: space-between; }
 
214
  .germanized-shipments #panel-order-shipments .panel-footer #order-shipments-save {
215
  display: none; }
216
  .germanized-shipments #panel-order-shipments #order-shipment-add {
@@ -233,6 +362,21 @@
233
  height: auto; }
234
  .germanized-shipments #panel-order-shipments .order-shipment .handlediv .toggle-indicator::before {
235
  content: "\f140"; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
236
  .germanized-shipments #panel-order-shipments .order-shipment.active > .shipment-content-wrapper {
237
  display: block; }
238
  .germanized-shipments #panel-order-shipments .order-shipment.active > .shipment-header > .right > .handlediv .toggle-indicator::before {
@@ -240,9 +384,11 @@
240
  .germanized-shipments #panel-order-shipments .order-shipment .item-count {
241
  margin-right: 1em; }
242
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-footer {
 
243
  display: flex;
244
  flex-wrap: nowrap;
245
- justify-content: flex-end; }
 
246
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-header {
247
  color: #999;
248
  background: #f8f8f8;
@@ -293,7 +439,9 @@
293
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-action {
294
  text-align: right; }
295
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-quantity input {
296
- width: 100%; }
 
 
297
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-heading {
298
  padding: .5em;
299
  color: #999;
@@ -301,8 +449,10 @@
301
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item {
302
  padding: .7em .5em; }
303
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item .columns {
304
- align-items: center; }
 
305
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-item-actions {
 
306
  display: flex;
307
  padding: .7em .5em;
308
  flex-wrap: nowrap;
@@ -328,6 +478,7 @@
328
  display: block; }
329
  .germanized-shipments #panel-order-shipments .form-row .wrap {
330
  margin: 0;
 
331
  display: flex;
332
  flex-wrap: nowrap; }
333
  .germanized-shipments #panel-order-shipments .form-row .wrap input {
@@ -336,13 +487,18 @@
336
  margin-right: 0; }
337
 
338
  .germanized-shipments .title-spread {
 
339
  display: flex;
340
  flex-wrap: nowrap;
341
- justify-content: space-between;
342
- align-items: center; }
 
 
343
  .germanized-shipments .title-spread .right, .germanized-shipments .title-spread .left {
 
344
  display: inline-flex;
345
- align-items: center; }
 
346
 
347
  .germanized-shipments .show-xs,
348
  .germanized-shipments .show-sm,
@@ -352,6 +508,7 @@
352
  display: none !important; }
353
 
354
  .germanized-shipments .columns {
 
355
  display: flex;
356
  flex-wrap: wrap;
357
  margin-left: -1rem;
@@ -367,12 +524,14 @@
367
  overflow-x: auto; }
368
 
369
  .germanized-shipments .column {
370
- flex: 1;
 
371
  max-width: 100%;
372
  padding-left: 1rem;
373
  padding-right: 1rem; }
374
  .germanized-shipments .column.col-12, .germanized-shipments .column.col-11, .germanized-shipments .column.col-10, .germanized-shipments .column.col-9, .germanized-shipments .column.col-8, .germanized-shipments .column.col-7, .germanized-shipments .column.col-6, .germanized-shipments .column.col-5, .germanized-shipments .column.col-4, .germanized-shipments .column.col-3, .germanized-shipments .column.col-2, .germanized-shipments .column.col-1, .germanized-shipments .column.col-auto {
375
- flex: none; }
 
376
 
377
  .germanized-shipments .col-12 {
378
  width: 100%; }
@@ -411,7 +570,8 @@
411
  width: 8.33333333%; }
412
 
413
  .germanized-shipments .col-auto {
414
- flex: 0 0 auto;
 
415
  max-width: none;
416
  width: auto; }
417
 
@@ -439,7 +599,8 @@
439
  .germanized-shipments .col-xl-2,
440
  .germanized-shipments .col-xl-1,
441
  .germanized-shipments .col-xl-auto {
442
- flex: none; }
 
443
  .germanized-shipments .col-xl-12 {
444
  width: 100%; }
445
  .germanized-shipments .col-xl-11 {
@@ -485,7 +646,8 @@
485
  .germanized-shipments .col-lg-2,
486
  .germanized-shipments .col-lg-1,
487
  .germanized-shipments .col-lg-auto {
488
- flex: none; }
 
489
  .germanized-shipments .col-lg-12 {
490
  width: 100%; }
491
  .germanized-shipments .col-lg-11 {
@@ -531,7 +693,8 @@
531
  .germanized-shipments .col-md-2,
532
  .germanized-shipments .col-md-1,
533
  .germanized-shipments .col-md-auto {
534
- flex: none; }
 
535
  .germanized-shipments .col-md-12 {
536
  width: 100%; }
537
  .germanized-shipments .col-md-11 {
@@ -577,7 +740,8 @@
577
  .germanized-shipments .col-sm-2,
578
  .germanized-shipments .col-sm-1,
579
  .germanized-shipments .col-sm-auto {
580
- flex: none; }
 
581
  .germanized-shipments .col-sm-12 {
582
  width: 100%; }
583
  .germanized-shipments .col-sm-11 {
@@ -623,7 +787,8 @@
623
  .germanized-shipments .col-xs-2,
624
  .germanized-shipments .col-xs-1,
625
  .germanized-shipments .col-xs-auto {
626
- flex: none; }
 
627
  .germanized-shipments .col-xs-12 {
628
  width: 100%; }
629
  .germanized-shipments .col-xs-11 {
1
+ .germanized-create-label .notice-wrapper .notice {
2
+ margin: 0;
3
+ margin-bottom: 1em; }
4
+ .germanized-create-label .notice-wrapper .notice p {
5
+ margin: 0.5em 0 !important;
6
+ padding: 2px !important;
7
+ font-size: 13px;
8
+ line-height: 1.5; }
9
+
10
+ .germanized-create-label p.form-field {
11
+ display: inline-block;
12
+ width: 100%;
13
+ margin-bottom: 5px !important;
14
+ margin-top: 5px !important; }
15
+ .germanized-create-label p.form-field:first-child, .germanized-create-label p.form-field:last-child {
16
+ margin-bottom: 5px !important;
17
+ margin-top: 5px !important; }
18
+
19
+ .germanized-create-label .columns {
20
+ margin-left: -.5rem !important;
21
+ margin-right: -.5rem !important; }
22
+
23
+ .germanized-create-label .column {
24
+ padding-left: .5rem !important;
25
+ padding-right: .5rem !important; }
26
+
27
+ .germanized-create-label .show-if, .germanized-create-label .hide-default {
28
+ display: none; }
29
+
30
+ .germanized-create-label .show-if label {
31
+ color: #777; }
32
+
33
+ .germanized-create-label p.form-field label {
34
+ width: 100%;
35
+ display: block;
36
+ margin-bottom: 5px; }
37
+
38
+ .germanized-create-label p.form-field select, .germanized-create-label p.form-field input[type=text], .germanized-create-label p.form-field input[type=email] {
39
+ width: 100%;
40
+ max-width: 100%; }
41
+
42
+ .germanized-create-label p.form-field.form-field-checkbox {
43
+ display: -webkit-box;
44
+ display: flex;
45
+ flex-wrap: wrap;
46
+ -webkit-box-orient: horizontal;
47
+ -webkit-box-direction: normal;
48
+ flex-direction: row;
49
+ -webkit-box-pack: start;
50
+ justify-content: flex-start;
51
+ margin-top: 10px !important;
52
+ margin-bottom: 10px !important;
53
+ -webkit-box-align: center;
54
+ align-items: center; }
55
+ .germanized-create-label p.form-field.form-field-checkbox label {
56
+ width: auto;
57
+ margin-left: .5em;
58
+ -webkit-box-ordinal-group: 3;
59
+ order: 2;
60
+ margin-bottom: 0; }
61
+ .germanized-create-label p.form-field.form-field-checkbox input[type=checkbox] {
62
+ -webkit-box-ordinal-group: 2;
63
+ order: 1; }
64
+ .germanized-create-label p.form-field.form-field-checkbox .woocommerce-help-tip {
65
+ -webkit-box-ordinal-group: 4;
66
+ order: 3;
67
+ margin-left: 3px; }
68
+ .germanized-create-label p.form-field.form-field-checkbox .description {
69
+ width: 100%;
70
+ margin-top: 5px;
71
+ color: #777;
72
+ -webkit-box-ordinal-group: 5;
73
+ order: 4;
74
+ font-style: normal; }
75
+
76
+ table.wc-gzd-shipping-providers {
77
+ margin-top: 1.5em; }
78
+ table.wc-gzd-shipping-providers th, table.wc-gzd-shipping-providers td {
79
+ display: table-cell !important;
80
+ padding: 1em !important;
81
+ vertical-align: top;
82
+ line-height: 1.75em;
83
+ font-size: 14px; }
84
+ table.wc-gzd-shipping-providers th {
85
+ font-weight: 600; }
86
+ table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-activated, table.wc-gzd-shipping-providers th.wc-gzd-shipping-provider-activated {
87
+ width: 1%;
88
+ text-align: center; }
89
+ table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-activated .status-disabled, table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-activated .status-enabled, table.wc-gzd-shipping-providers th.wc-gzd-shipping-provider-activated .status-disabled, table.wc-gzd-shipping-providers th.wc-gzd-shipping-provider-activated .status-enabled {
90
+ display: inline-block;
91
+ margin-top: 3px; }
92
+ table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-actions, table.wc-gzd-shipping-providers th.wc-gzd-shipping-provider-actions {
93
+ width: 15%;
94
+ text-align: right; }
95
+ table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-actions {
96
+ display: -webkit-box;
97
+ display: flex;
98
+ -webkit-box-pack: end;
99
+ justify-content: flex-end;
100
+ flex-wrap: wrap; }
101
+ table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-actions .button {
102
+ margin-right: 5px; }
103
+ table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-actions .button:last-child {
104
+ margin-right: 0; }
105
+ table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-title, table.wc-gzd-shipping-providers th.wc-gzd-shipping-provider-title {
106
+ width: 30ch; }
107
+ table.wc-gzd-shipping-providers tr:nth-child(odd) td {
108
+ background: #f9f9f9; }
109
+
110
  .shipment-status, .order-shipping-status {
111
  background: #eee;
112
  padding: .2em .5em;
178
  border-radius: 3px;
179
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.4);
180
  background: #a46497;
181
+ background: -webkit-gradient(linear, left top, left bottom, from(#a46497), to(#66405f)), #a46497;
182
  background: linear-gradient(to bottom, #a46497, #66405f), #a46497;
183
+ -webkit-transition: width 1s ease;
184
  transition: width 1s ease; }
185
  .woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper progress::-moz-progress-bar, .woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper progress::-moz-progress-bar {
186
  border-radius: 3px;
187
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.4);
188
  background: #a46497;
189
  background: linear-gradient(to bottom, #a46497, #66405f), #a46497;
190
+ -webkit-transition: width 1s ease;
191
  transition: width 1s ease; }
192
  .woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper progress::-ms-fill, .woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper progress::-ms-fill {
193
  border-radius: 3px;
194
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.4);
195
  background: #a46497;
196
  background: linear-gradient(to bottom, #a46497, #66405f), #a46497;
197
+ -webkit-transition: width 1s ease;
198
  transition: width 1s ease; }
199
 
200
  .woocommerce_page_wc-gzd-shipments #posts-filter.bulk-action-processing .bulk-action-wrapper, .woocommerce_page_wc-gzd-return-shipments #posts-filter.bulk-action-processing .bulk-action-wrapper {
222
  margin: 1px 0; }
223
  .woocommerce_page_wc-gzd-shipments .wp-list-table td.column-title, .woocommerce_page_wc-gzd-return-shipments .wp-list-table td.column-title {
224
  font-weight: bold; }
225
+ .woocommerce_page_wc-gzd-shipments .wp-list-table td.column-title .shipment-title-meta, .woocommerce_page_wc-gzd-return-shipments .wp-list-table td.column-title .shipment-title-meta {
226
+ margin-top: 0;
227
+ font-weight: normal;
228
+ color: #999;
229
+ font-style: italic; }
230
+ .woocommerce_page_wc-gzd-shipments .wp-list-table td.column-title .shipment-title-meta .shipment-tracking-id, .woocommerce_page_wc-gzd-return-shipments .wp-list-table td.column-title .shipment-title-meta .shipment-tracking-id {
231
+ color: #999;
232
+ display: block; }
233
+ .woocommerce_page_wc-gzd-shipments .wp-list-table .column-title, .woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-title {
234
+ width: 20ch; }
235
+ .woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions, .woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions {
236
+ width: 10ch; }
237
+ .woocommerce_page_wc-gzd-shipments .wp-list-table .column-order, .woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-order {
238
+ width: 10ch; }
239
+ .woocommerce_page_wc-gzd-shipments .wp-list-table .column-address a, .woocommerce_page_wc-gzd-shipments .wp-list-table .column-sender a, .woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-address a, .woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-sender a {
240
+ color: #32373c; }
241
  .woocommerce_page_wc-gzd-shipments .wp-list-table .shipment-status, .woocommerce_page_wc-gzd-return-shipments .wp-list-table .shipment-status {
242
  font-size: 1em; }
243
  .woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions, .woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions {
281
  .woocommerce_page_wc-gzd-shipments .wp-list-table .column-address, .woocommerce_page_wc-gzd-shipments .wp-list-table .column-sender, .woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-address, .woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-sender {
282
  width: 20ch; }
283
  .woocommerce_page_wc-gzd-shipments .wp-list-table .column-items, .woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-items {
284
+ width: 20ch; }
285
  .woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview, .woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview {
286
  font-size: .9em;
287
  border-spacing: 0; }
335
  border-top: 1px solid #dfdfdf;
336
  display: none; }
337
  .germanized-shipments #panel-order-shipments .panel-footer .order-shipments-actions {
338
+ display: -webkit-box;
339
  display: flex;
340
  flex-wrap: nowrap;
341
+ -webkit-box-pack: justify;
342
+ justify-content: space-between; }
343
  .germanized-shipments #panel-order-shipments .panel-footer #order-shipments-save {
344
  display: none; }
345
  .germanized-shipments #panel-order-shipments #order-shipment-add {
362
  height: auto; }
363
  .germanized-shipments #panel-order-shipments .order-shipment .handlediv .toggle-indicator::before {
364
  content: "\f140"; }
365
+ .germanized-shipments #panel-order-shipments .order-shipment .wc-gzd-shipment-label h4 {
366
+ margin-top: 0; }
367
+ .germanized-shipments #panel-order-shipments .order-shipment .wc-gzd-shipment-label .shipment-label-actions .shipment-label-actions-wrapper {
368
+ display: -webkit-box;
369
+ display: flex;
370
+ flex-wrap: wrap;
371
+ -webkit-box-pack: start;
372
+ justify-content: flex-start;
373
+ margin-bottom: 1em;
374
+ -webkit-box-align: center;
375
+ align-items: center; }
376
+ .germanized-shipments #panel-order-shipments .order-shipment .wc-gzd-shipment-label .shipment-label-actions .shipment-label-actions-wrapper a {
377
+ margin-right: 1em; }
378
+ .germanized-shipments #panel-order-shipments .order-shipment .show-if {
379
+ display: none; }
380
  .germanized-shipments #panel-order-shipments .order-shipment.active > .shipment-content-wrapper {
381
  display: block; }
382
  .germanized-shipments #panel-order-shipments .order-shipment.active > .shipment-header > .right > .handlediv .toggle-indicator::before {
384
  .germanized-shipments #panel-order-shipments .order-shipment .item-count {
385
  margin-right: 1em; }
386
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-footer {
387
+ display: -webkit-box;
388
  display: flex;
389
  flex-wrap: nowrap;
390
+ -webkit-box-pack: end;
391
+ justify-content: flex-end; }
392
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-header {
393
  color: #999;
394
  background: #f8f8f8;
439
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-action {
440
  text-align: right; }
441
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-quantity input {
442
+ width: 100%;
443
+ text-align: center;
444
+ padding: 0 4px; }
445
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-heading {
446
  padding: .5em;
447
  color: #999;
449
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item {
450
  padding: .7em .5em; }
451
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item .columns {
452
+ -webkit-box-align: center;
453
+ align-items: center; }
454
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-item-actions {
455
+ display: -webkit-box;
456
  display: flex;
457
  padding: .7em .5em;
458
  flex-wrap: nowrap;
478
  display: block; }
479
  .germanized-shipments #panel-order-shipments .form-row .wrap {
480
  margin: 0;
481
+ display: -webkit-box;
482
  display: flex;
483
  flex-wrap: nowrap; }
484
  .germanized-shipments #panel-order-shipments .form-row .wrap input {
487
  margin-right: 0; }
488
 
489
  .germanized-shipments .title-spread {
490
+ display: -webkit-box;
491
  display: flex;
492
  flex-wrap: nowrap;
493
+ -webkit-box-pack: justify;
494
+ justify-content: space-between;
495
+ -webkit-box-align: center;
496
+ align-items: center; }
497
  .germanized-shipments .title-spread .right, .germanized-shipments .title-spread .left {
498
+ display: -webkit-inline-box;
499
  display: inline-flex;
500
+ -webkit-box-align: center;
501
+ align-items: center; }
502
 
503
  .germanized-shipments .show-xs,
504
  .germanized-shipments .show-sm,
508
  display: none !important; }
509
 
510
  .germanized-shipments .columns {
511
+ display: -webkit-box;
512
  display: flex;
513
  flex-wrap: wrap;
514
  margin-left: -1rem;
524
  overflow-x: auto; }
525
 
526
  .germanized-shipments .column {
527
+ -webkit-box-flex: 1;
528
+ flex: 1;
529
  max-width: 100%;
530
  padding-left: 1rem;
531
  padding-right: 1rem; }
532
  .germanized-shipments .column.col-12, .germanized-shipments .column.col-11, .germanized-shipments .column.col-10, .germanized-shipments .column.col-9, .germanized-shipments .column.col-8, .germanized-shipments .column.col-7, .germanized-shipments .column.col-6, .germanized-shipments .column.col-5, .germanized-shipments .column.col-4, .germanized-shipments .column.col-3, .germanized-shipments .column.col-2, .germanized-shipments .column.col-1, .germanized-shipments .column.col-auto {
533
+ -webkit-box-flex: 0;
534
+ flex: none; }
535
 
536
  .germanized-shipments .col-12 {
537
  width: 100%; }
570
  width: 8.33333333%; }
571
 
572
  .germanized-shipments .col-auto {
573
+ -webkit-box-flex: 0;
574
+ flex: 0 0 auto;
575
  max-width: none;
576
  width: auto; }
577
 
599
  .germanized-shipments .col-xl-2,
600
  .germanized-shipments .col-xl-1,
601
  .germanized-shipments .col-xl-auto {
602
+ -webkit-box-flex: 0;
603
+ flex: none; }
604
  .germanized-shipments .col-xl-12 {
605
  width: 100%; }
606
  .germanized-shipments .col-xl-11 {
646
  .germanized-shipments .col-lg-2,
647
  .germanized-shipments .col-lg-1,
648
  .germanized-shipments .col-lg-auto {
649
+ -webkit-box-flex: 0;
650
+ flex: none; }
651
  .germanized-shipments .col-lg-12 {
652
  width: 100%; }
653
  .germanized-shipments .col-lg-11 {
693
  .germanized-shipments .col-md-2,
694
  .germanized-shipments .col-md-1,
695
  .germanized-shipments .col-md-auto {
696
+ -webkit-box-flex: 0;
697
+ flex: none; }
698
  .germanized-shipments .col-md-12 {
699
  width: 100%; }
700
  .germanized-shipments .col-md-11 {
740
  .germanized-shipments .col-sm-2,
741
  .germanized-shipments .col-sm-1,
742
  .germanized-shipments .col-sm-auto {
743
+ -webkit-box-flex: 0;
744
+ flex: none; }
745
  .germanized-shipments .col-sm-12 {
746
  width: 100%; }
747
  .germanized-shipments .col-sm-11 {
787
  .germanized-shipments .col-xs-2,
788
  .germanized-shipments .col-xs-1,
789
  .germanized-shipments .col-xs-auto {
790
+ -webkit-box-flex: 0;
791
+ flex: none; }
792
  .germanized-shipments .col-xs-12 {
793
  width: 100%; }
794
  .germanized-shipments .col-xs-11 {
packages/woocommerce-germanized-shipments/assets/css/admin.min.css CHANGED
@@ -1 +1 @@
1
- .order-shipping-status,.shipment-status{background:#eee;padding:.2em .5em;font-size:.9em;border-radius:3px}.order-shipping-status.status-draft,.order-shipping-status.status-partially-shipped,.order-shipping-status.status-processing,.shipment-status.status-draft,.shipment-status.status-partially-shipped,.shipment-status.status-processing{background:#f8dda7;color:#94660c}.order-shipping-status.status-not-shipped,.shipment-status.status-not-shipped{background:#eba3a3;color:#761919}.order-shipping-status.status-delivered,.order-shipping-status.status-shipped,.shipment-status.status-delivered,.shipment-status.status-shipped{background:#c6e1c6;color:#5b841b}.woocommerce_page_wc-gzd-return-shipments .tablenav .actions,.woocommerce_page_wc-gzd-shipments .tablenav .actions{overflow:visible}.woocommerce_page_wc-gzd-return-shipments .tablenav .select2-container,.woocommerce_page_wc-gzd-shipments .tablenav .select2-container{float:left;width:240px!important;font-size:14px;vertical-align:middle;margin:1px 6px 4px 1px}.woocommerce_page_wc-gzd-return-shipments .tablenav .select2-container .select2-selection--single,.woocommerce_page_wc-gzd-shipments .tablenav .select2-container .select2-selection--single{height:32px}.woocommerce_page_wc-gzd-return-shipments .tablenav .select2-container .select2-selection--single .select2-selection__rendered,.woocommerce_page_wc-gzd-shipments .tablenav .select2-container .select2-selection--single .select2-selection__rendered{line-height:29px}.woocommerce_page_wc-gzd-return-shipments .tablenav .select2-container .select2-selection--single .select2-selection__arrow,.woocommerce_page_wc-gzd-shipments .tablenav .select2-container .select2-selection--single .select2-selection__arrow{height:30px}.woocommerce_page_wc-gzd-return-shipments .tablenav input,.woocommerce_page_wc-gzd-return-shipments .tablenav select,.woocommerce_page_wc-gzd-shipments .tablenav input,.woocommerce_page_wc-gzd-shipments .tablenav select{line-height:1;height:32px}.woocommerce_page_wc-gzd-return-shipments .tablenav input,.woocommerce_page_wc-gzd-shipments .tablenav input{height:31px}.woocommerce_page_wc-gzd-return-shipments .tablenav #shipment-query-submit,.woocommerce_page_wc-gzd-shipments .tablenav #shipment-query-submit{margin:1px 8px 0 0}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper{display:none;clear:both;margin:1em 0;float:left;width:50%}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper h4,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper h4{margin-top:0}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper progress,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper progress{width:100%;height:42px;margin:0 auto;display:block;-webkit-appearance:none;border:none;background:#f5f5f5;border:2px solid #eee;border-radius:4px;padding:0;box-shadow:0 1px 0 0 rgba(255,255,255,.2)}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper progress::-webkit-progress-bar,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper progress::-webkit-progress-bar{background:transparent none;border:0;border-radius:4px;padding:0;box-shadow:none}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper progress::-webkit-progress-value,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper progress::-webkit-progress-value{border-radius:3px;box-shadow:inset 0 1px 1px 0 rgba(255,255,255,.4);background:#a46497;background:linear-gradient(to bottom,#a46497,#66405f),#a46497;transition:width 1s ease}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper progress::-moz-progress-bar,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper progress::-moz-progress-bar{border-radius:3px;box-shadow:inset 0 1px 1px 0 rgba(255,255,255,.4);background:#a46497;background:linear-gradient(to bottom,#a46497,#66405f),#a46497;transition:width 1s ease}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper progress::-ms-fill,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper progress::-ms-fill{border-radius:3px;box-shadow:inset 0 1px 1px 0 rgba(255,255,255,.4);background:#a46497;background:linear-gradient(to bottom,#a46497,#66405f),#a46497;transition:width 1s ease}.woocommerce_page_wc-gzd-return-shipments #posts-filter.bulk-action-processing .bulk-action-wrapper,.woocommerce_page_wc-gzd-shipments #posts-filter.bulk-action-processing .bulk-action-wrapper{display:block}.woocommerce_page_wc-gzd-return-shipments .wp-list-table,.woocommerce_page_wc-gzd-shipments .wp-list-table{margin-top:1em}.woocommerce_page_wc-gzd-return-shipments .wp-list-table td,.woocommerce_page_wc-gzd-return-shipments .wp-list-table th,.woocommerce_page_wc-gzd-shipments .wp-list-table td,.woocommerce_page_wc-gzd-shipments .wp-list-table th{padding:.5em 1em;width:10ch;vertical-align:middle}.woocommerce_page_wc-gzd-return-shipments .wp-list-table tbody th,.woocommerce_page_wc-gzd-return-shipments .wp-list-table td,.woocommerce_page_wc-gzd-shipments .wp-list-table tbody th,.woocommerce_page_wc-gzd-shipments .wp-list-table td{line-height:26px}.woocommerce_page_wc-gzd-return-shipments .wp-list-table thead th,.woocommerce_page_wc-gzd-shipments .wp-list-table thead th{padding:.5em 1em}.woocommerce_page_wc-gzd-return-shipments .wp-list-table thead th:last-child,.woocommerce_page_wc-gzd-shipments .wp-list-table thead th:last-child{padding-right:2em}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .check-column,.woocommerce_page_wc-gzd-shipments .wp-list-table .check-column{width:16px;white-space:nowrap;padding:1em 1em 1em 1em!important;vertical-align:middle}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .check-column input,.woocommerce_page_wc-gzd-shipments .wp-list-table .check-column input{vertical-align:text-top;margin:1px 0}.woocommerce_page_wc-gzd-return-shipments .wp-list-table td.column-title,.woocommerce_page_wc-gzd-shipments .wp-list-table td.column-title{font-weight:700}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-date,.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-status,.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-title,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-date,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-status,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-title{width:15ch}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .shipment-status,.woocommerce_page_wc-gzd-shipments .wp-list-table .shipment-status{font-size:1em}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions{text-align:right}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button{text-indent:9999px;margin:2px 0 2px 4px;position:relative;display:inline-block;padding:0;height:2em;width:2em;overflow:hidden;vertical-align:middle}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button::after,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button::after{font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;line-height:1.85}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.processing::after,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.processing::after{font-family:WooCommerce;content:"\e00f"}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.shipped::after,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.shipped::after{content:"\f147"}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.delivered::after,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.delivered::after{content:"\f147"}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.generate::after,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.generate::after{content:"\f502"}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.download::after,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.download::after{content:"\f103"}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-address,.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-sender,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-address,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-sender{width:20ch}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-items,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-items{width:25ch}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview{font-size:.9em;border-spacing:0}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview thead th,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview thead th{color:#adadad;padding-top:0;font-size:1.1em}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview tr td,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview tr td{border-bottom:1px solid #ccc!important}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview tr:last-child td,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview tr:last-child td{border-bottom:none!important}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview td,.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview th,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview td,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview th{padding:.3em 0;vertical-align:top;line-height:20px}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview td.wc-gzd-shipment-item-column-name,.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview th.wc-gzd-shipment-item-column-name,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview td.wc-gzd-shipment-item-column-name,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview th.wc-gzd-shipment-item-column-name{width:70%}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview td.wc-gzd-shipment-item-column-quantity,.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview th.wc-gzd-shipment-item-column-quantity,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview td.wc-gzd-shipment-item-column-quantity,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview th.wc-gzd-shipment-item-column-quantity{text-align:right;padding-right:.5em}#woocommerce-gzd-order-shipments .inside{margin:0;padding:0;display:block!important}#woocommerce-gzd-order-shipments .handlediv,#woocommerce-gzd-order-shipments .hndle{display:none}.germanized-shipments *{box-sizing:border-box}.germanized-shipments #panel-order-shipments{padding:23px 0 0}.germanized-shipments #panel-order-shipments .panel-inner{padding:0 24px}.germanized-shipments #panel-order-shipments .panel-title{margin-bottom:1.5em}.germanized-shipments #panel-order-shipments .panel-title h2{margin:0;font-family:HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",sans-serif;font-size:21px;font-weight:400;line-height:1.2;text-shadow:1px 1px 1px #fff;padding:0}.germanized-shipments #panel-order-shipments .panel-footer{background:#f8f8f8;padding-top:1em;padding-bottom:1em;border-top:1px solid #dfdfdf;display:none}.germanized-shipments #panel-order-shipments .panel-footer .order-shipments-actions{display:flex;flex-wrap:nowrap;justify-content:space-between}.germanized-shipments #panel-order-shipments .panel-footer #order-shipments-save{display:none}.germanized-shipments #panel-order-shipments #order-shipment-add{display:none}.germanized-shipments #panel-order-shipments.needs-shipments .panel-footer{display:block}.germanized-shipments #panel-order-shipments.needs-shipments #order-shipment-add{display:block}.germanized-shipments #panel-order-shipments #order-shipments-list{margin-bottom:1.5em}.germanized-shipments #panel-order-shipments .delete{color:#a00}.germanized-shipments #panel-order-shipments .delete:hover{color:#dc3232;border:none}.germanized-shipments #panel-order-shipments .order-shipment .handlediv{display:inline-block;float:none;width:auto;height:auto}.germanized-shipments #panel-order-shipments .order-shipment .handlediv .toggle-indicator::before{content:"\f140"}.germanized-shipments #panel-order-shipments .order-shipment.active>.shipment-content-wrapper{display:block}.germanized-shipments #panel-order-shipments .order-shipment.active>.shipment-header>.right>.handlediv .toggle-indicator::before{content:"\f142"}.germanized-shipments #panel-order-shipments .order-shipment .item-count{margin-right:1em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-footer{display:flex;flex-wrap:nowrap;justify-content:flex-end}.germanized-shipments #panel-order-shipments .order-shipment .shipment-header{color:#999;background:#f8f8f8;margin:1.5em 0;padding:.5em 1em;cursor:pointer}.germanized-shipments #panel-order-shipments .order-shipment .shipment-header .shipment-status{margin-left:1em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-header h3{margin:0}.germanized-shipments #panel-order-shipments .order-shipment:first-child .shipment-header{margin-top:0}.germanized-shipments #panel-order-shipments .order-shipment .shipment-header:hover,.germanized-shipments #panel-order-shipments .order-shipment.active>.shipment-header{background:#f3f3f3}.germanized-shipments #panel-order-shipments .order-shipment .shipment-content-wrapper{display:none}.germanized-shipments #panel-order-shipments .order-shipment .shipment-content{padding:1em;margin-top:-2.5em;padding-bottom:0}.germanized-shipments #panel-order-shipments .order-shipment .add-shipment-return{display:none}.germanized-shipments #panel-order-shipments .order-shipment.is-returnable .add-shipment-return{display:block}.germanized-shipments #panel-order-shipments .order-shipment p.form-row{margin-bottom:1.5em}.germanized-shipments #panel-order-shipments .order-shipment p.form-row input[type=email],.germanized-shipments #panel-order-shipments .order-shipment p.form-row input[type=number],.germanized-shipments #panel-order-shipments .order-shipment p.form-row input[type=text]{height:30px}.germanized-shipments #panel-order-shipments .order-shipment p.form-row select{line-height:30px;height:30px;padding-top:0;padding-bottom:0}.germanized-shipments #panel-order-shipments .order-shipment p.form-row label{color:#999}.germanized-shipments #panel-order-shipments .order-shipment p.form-row label .woocommerce-help-tip{float:none}.germanized-shipments #panel-order-shipments .order-shipment .columns .column.column-spaced{margin:5px 0}.germanized-shipments #panel-order-shipments .order-shipment .columns .column h4{margin-bottom:.7em;text-transform:uppercase;color:#999;font-size:.9em}.germanized-shipments #panel-order-shipments .order-shipment .columns .column h4 a{color:#999;text-decoration:none}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-action{text-align:right}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-quantity input{width:100%}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-heading{padding:.5em;color:#999;background:#f8f8f8}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item{padding:.7em .5em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item .columns{align-items:center}.germanized-shipments #panel-order-shipments .order-shipment .shipment-item-actions{display:flex;padding:.7em .5em;flex-wrap:nowrap;border-top:1px solid #dfdfdf}.germanized-shipments #panel-order-shipments .order-shipment .shipment-item-actions .add-items{margin-right:1em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-item-actions .woocommerce-help-tip{margin-left:0}.germanized-shipments #panel-order-shipments .order-shipment .add-items{display:none}.germanized-shipments #panel-order-shipments .order-shipment .shipment-returns{margin-top:.5em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-returns .shipment-return .shipment-header{background:0 0;border-bottom:1px solid #dfdfdf;padding-left:0;padding-right:0}.germanized-shipments #panel-order-shipments .order-shipment .shipment-returns .shipment-return .shipment-header h3{font-size:1.1em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-returns .shipment-return .shipment-content{padding:1em 0}.germanized-shipments #panel-order-shipments .order-shipment.needs-items .add-items{display:block}.germanized-shipments #panel-order-shipments .form-row .wrap{margin:0;display:flex;flex-wrap:nowrap}.germanized-shipments #panel-order-shipments .form-row .wrap input{margin-right:1em}.germanized-shipments #panel-order-shipments .form-row .wrap input:last-child{margin-right:0}.germanized-shipments .title-spread{display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:center}.germanized-shipments .title-spread .left,.germanized-shipments .title-spread .right{display:inline-flex;align-items:center}.germanized-shipments .show-lg,.germanized-shipments .show-md,.germanized-shipments .show-sm,.germanized-shipments .show-xl,.germanized-shipments .show-xs{display:none!important}.germanized-shipments .columns{display:flex;flex-wrap:wrap;margin-left:-1rem;margin-right:-1rem}.germanized-shipments .columns.col-gapless{margin-left:0;margin-right:0}.germanized-shipments .columns.col-gapless>.column{padding-left:0;padding-right:0}.germanized-shipments .columns.col-oneline{flex-wrap:nowrap;overflow-x:auto}.germanized-shipments .column{flex:1;max-width:100%;padding-left:1rem;padding-right:1rem}.germanized-shipments .column.col-1,.germanized-shipments .column.col-10,.germanized-shipments .column.col-11,.germanized-shipments .column.col-12,.germanized-shipments .column.col-2,.germanized-shipments .column.col-3,.germanized-shipments .column.col-4,.germanized-shipments .column.col-5,.germanized-shipments .column.col-6,.germanized-shipments .column.col-7,.germanized-shipments .column.col-8,.germanized-shipments .column.col-9,.germanized-shipments .column.col-auto{flex:none}.germanized-shipments .col-12{width:100%}.germanized-shipments .col-11{width:91.66666667%}.germanized-shipments .col-10{width:83.33333333%}.germanized-shipments .col-9{width:75%}.germanized-shipments .col-8{width:66.66666667%}.germanized-shipments .col-7{width:58.33333333%}.germanized-shipments .col-6{width:50%}.germanized-shipments .col-5{width:41.66666667%}.germanized-shipments .col-4{width:33.33333333%}.germanized-shipments .col-3{width:25%}.germanized-shipments .col-2{width:16.66666667%}.germanized-shipments .col-1{width:8.33333333%}.germanized-shipments .col-auto{flex:0 0 auto;max-width:none;width:auto}.germanized-shipments .col-mx-auto{margin-left:auto;margin-right:auto}.germanized-shipments .col-ml-auto{margin-left:auto}.germanized-shipments .col-mr-auto{margin-right:auto}@media (max-width:1280px){.germanized-shipments .col-xl-1,.germanized-shipments .col-xl-10,.germanized-shipments .col-xl-11,.germanized-shipments .col-xl-12,.germanized-shipments .col-xl-2,.germanized-shipments .col-xl-3,.germanized-shipments .col-xl-4,.germanized-shipments .col-xl-5,.germanized-shipments .col-xl-6,.germanized-shipments .col-xl-7,.germanized-shipments .col-xl-8,.germanized-shipments .col-xl-9,.germanized-shipments .col-xl-auto{flex:none}.germanized-shipments .col-xl-12{width:100%}.germanized-shipments .col-xl-11{width:91.66666667%}.germanized-shipments .col-xl-10{width:83.33333333%}.germanized-shipments .col-xl-9{width:75%}.germanized-shipments .col-xl-8{width:66.66666667%}.germanized-shipments .col-xl-7{width:58.33333333%}.germanized-shipments .col-xl-6{width:50%}.germanized-shipments .col-xl-5{width:41.66666667%}.germanized-shipments .col-xl-4{width:33.33333333%}.germanized-shipments .col-xl-3{width:25%}.germanized-shipments .col-xl-2{width:16.66666667%}.germanized-shipments .col-xl-1{width:8.33333333%}.germanized-shipments .col-xl-auto{width:auto}.germanized-shipments .hide-xl{display:none!important}.germanized-shipments .show-xl{display:block!important}}@media (max-width:960px){.germanized-shipments .col-lg-1,.germanized-shipments .col-lg-10,.germanized-shipments .col-lg-11,.germanized-shipments .col-lg-12,.germanized-shipments .col-lg-2,.germanized-shipments .col-lg-3,.germanized-shipments .col-lg-4,.germanized-shipments .col-lg-5,.germanized-shipments .col-lg-6,.germanized-shipments .col-lg-7,.germanized-shipments .col-lg-8,.germanized-shipments .col-lg-9,.germanized-shipments .col-lg-auto{flex:none}.germanized-shipments .col-lg-12{width:100%}.germanized-shipments .col-lg-11{width:91.66666667%}.germanized-shipments .col-lg-10{width:83.33333333%}.germanized-shipments .col-lg-9{width:75%}.germanized-shipments .col-lg-8{width:66.66666667%}.germanized-shipments .col-lg-7{width:58.33333333%}.germanized-shipments .col-lg-6{width:50%}.germanized-shipments .col-lg-5{width:41.66666667%}.germanized-shipments .col-lg-4{width:33.33333333%}.germanized-shipments .col-lg-3{width:25%}.germanized-shipments .col-lg-2{width:16.66666667%}.germanized-shipments .col-lg-1{width:8.33333333%}.germanized-shipments .col-lg-auto{width:auto}.germanized-shipments .hide-lg{display:none!important}.germanized-shipments .show-lg{display:block!important}}@media (max-width:840px){.germanized-shipments .col-md-1,.germanized-shipments .col-md-10,.germanized-shipments .col-md-11,.germanized-shipments .col-md-12,.germanized-shipments .col-md-2,.germanized-shipments .col-md-3,.germanized-shipments .col-md-4,.germanized-shipments .col-md-5,.germanized-shipments .col-md-6,.germanized-shipments .col-md-7,.germanized-shipments .col-md-8,.germanized-shipments .col-md-9,.germanized-shipments .col-md-auto{flex:none}.germanized-shipments .col-md-12{width:100%}.germanized-shipments .col-md-11{width:91.66666667%}.germanized-shipments .col-md-10{width:83.33333333%}.germanized-shipments .col-md-9{width:75%}.germanized-shipments .col-md-8{width:66.66666667%}.germanized-shipments .col-md-7{width:58.33333333%}.germanized-shipments .col-md-6{width:50%}.germanized-shipments .col-md-5{width:41.66666667%}.germanized-shipments .col-md-4{width:33.33333333%}.germanized-shipments .col-md-3{width:25%}.germanized-shipments .col-md-2{width:16.66666667%}.germanized-shipments .col-md-1{width:8.33333333%}.germanized-shipments .col-md-auto{width:auto}.germanized-shipments .hide-md{display:none!important}.germanized-shipments .show-md{display:block!important}}@media (max-width:600px){.germanized-shipments .col-sm-1,.germanized-shipments .col-sm-10,.germanized-shipments .col-sm-11,.germanized-shipments .col-sm-12,.germanized-shipments .col-sm-2,.germanized-shipments .col-sm-3,.germanized-shipments .col-sm-4,.germanized-shipments .col-sm-5,.germanized-shipments .col-sm-6,.germanized-shipments .col-sm-7,.germanized-shipments .col-sm-8,.germanized-shipments .col-sm-9,.germanized-shipments .col-sm-auto{flex:none}.germanized-shipments .col-sm-12{width:100%}.germanized-shipments .col-sm-11{width:91.66666667%}.germanized-shipments .col-sm-10{width:83.33333333%}.germanized-shipments .col-sm-9{width:75%}.germanized-shipments .col-sm-8{width:66.66666667%}.germanized-shipments .col-sm-7{width:58.33333333%}.germanized-shipments .col-sm-6{width:50%}.germanized-shipments .col-sm-5{width:41.66666667%}.germanized-shipments .col-sm-4{width:33.33333333%}.germanized-shipments .col-sm-3{width:25%}.germanized-shipments .col-sm-2{width:16.66666667%}.germanized-shipments .col-sm-1{width:8.33333333%}.germanized-shipments .col-sm-auto{width:auto}.germanized-shipments .hide-sm{display:none!important}.germanized-shipments .show-sm{display:block!important}}@media (max-width:480px){.germanized-shipments .col-xs-1,.germanized-shipments .col-xs-10,.germanized-shipments .col-xs-11,.germanized-shipments .col-xs-12,.germanized-shipments .col-xs-2,.germanized-shipments .col-xs-3,.germanized-shipments .col-xs-4,.germanized-shipments .col-xs-5,.germanized-shipments .col-xs-6,.germanized-shipments .col-xs-7,.germanized-shipments .col-xs-8,.germanized-shipments .col-xs-9,.germanized-shipments .col-xs-auto{flex:none}.germanized-shipments .col-xs-12{width:100%}.germanized-shipments .col-xs-11{width:91.66666667%}.germanized-shipments .col-xs-10{width:83.33333333%}.germanized-shipments .col-xs-9{width:75%}.germanized-shipments .col-xs-8{width:66.66666667%}.germanized-shipments .col-xs-7{width:58.33333333%}.germanized-shipments .col-xs-6{width:50%}.germanized-shipments .col-xs-5{width:41.66666667%}.germanized-shipments .col-xs-4{width:33.33333333%}.germanized-shipments .col-xs-3{width:25%}.germanized-shipments .col-xs-2{width:16.66666667%}.germanized-shipments .col-xs-1{width:8.33333333%}.germanized-shipments .col-xs-auto{width:auto}.germanized-shipments .hide-xs{display:none!important}.germanized-shipments .show-xs{display:block!important}}
1
+ .germanized-create-label .notice-wrapper .notice{margin:0;margin-bottom:1em}.germanized-create-label .notice-wrapper .notice p{margin:.5em 0!important;padding:2px!important;font-size:13px;line-height:1.5}.germanized-create-label p.form-field{display:inline-block;width:100%;margin-bottom:5px!important;margin-top:5px!important}.germanized-create-label p.form-field:first-child,.germanized-create-label p.form-field:last-child{margin-bottom:5px!important;margin-top:5px!important}.germanized-create-label .columns{margin-left:-.5rem!important;margin-right:-.5rem!important}.germanized-create-label .column{padding-left:.5rem!important;padding-right:.5rem!important}.germanized-create-label .hide-default,.germanized-create-label .show-if{display:none}.germanized-create-label .show-if label{color:#777}.germanized-create-label p.form-field label{width:100%;display:block;margin-bottom:5px}.germanized-create-label p.form-field input[type=email],.germanized-create-label p.form-field input[type=text],.germanized-create-label p.form-field select{width:100%;max-width:100%}.germanized-create-label p.form-field.form-field-checkbox{display:-webkit-box;display:flex;flex-wrap:wrap;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-box-pack:start;justify-content:flex-start;margin-top:10px!important;margin-bottom:10px!important;-webkit-box-align:center;align-items:center}.germanized-create-label p.form-field.form-field-checkbox label{width:auto;margin-left:.5em;-webkit-box-ordinal-group:3;order:2;margin-bottom:0}.germanized-create-label p.form-field.form-field-checkbox input[type=checkbox]{-webkit-box-ordinal-group:2;order:1}.germanized-create-label p.form-field.form-field-checkbox .woocommerce-help-tip{-webkit-box-ordinal-group:4;order:3;margin-left:3px}.germanized-create-label p.form-field.form-field-checkbox .description{width:100%;margin-top:5px;color:#777;-webkit-box-ordinal-group:5;order:4;font-style:normal}table.wc-gzd-shipping-providers{margin-top:1.5em}table.wc-gzd-shipping-providers td,table.wc-gzd-shipping-providers th{display:table-cell!important;padding:1em!important;vertical-align:top;line-height:1.75em;font-size:14px}table.wc-gzd-shipping-providers th{font-weight:600}table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-activated,table.wc-gzd-shipping-providers th.wc-gzd-shipping-provider-activated{width:1%;text-align:center}table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-activated .status-disabled,table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-activated .status-enabled,table.wc-gzd-shipping-providers th.wc-gzd-shipping-provider-activated .status-disabled,table.wc-gzd-shipping-providers th.wc-gzd-shipping-provider-activated .status-enabled{display:inline-block;margin-top:3px}table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-actions,table.wc-gzd-shipping-providers th.wc-gzd-shipping-provider-actions{width:15%;text-align:right}table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-actions{display:-webkit-box;display:flex;-webkit-box-pack:end;justify-content:flex-end;flex-wrap:wrap}table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-actions .button{margin-right:5px}table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-actions .button:last-child{margin-right:0}table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-title,table.wc-gzd-shipping-providers th.wc-gzd-shipping-provider-title{width:30ch}table.wc-gzd-shipping-providers tr:nth-child(odd) td{background:#f9f9f9}.order-shipping-status,.shipment-status{background:#eee;padding:.2em .5em;font-size:.9em;border-radius:3px}.order-shipping-status.status-draft,.order-shipping-status.status-partially-shipped,.order-shipping-status.status-processing,.shipment-status.status-draft,.shipment-status.status-partially-shipped,.shipment-status.status-processing{background:#f8dda7;color:#94660c}.order-shipping-status.status-not-shipped,.shipment-status.status-not-shipped{background:#eba3a3;color:#761919}.order-shipping-status.status-delivered,.order-shipping-status.status-shipped,.shipment-status.status-delivered,.shipment-status.status-shipped{background:#c6e1c6;color:#5b841b}.woocommerce_page_wc-gzd-return-shipments .tablenav .actions,.woocommerce_page_wc-gzd-shipments .tablenav .actions{overflow:visible}.woocommerce_page_wc-gzd-return-shipments .tablenav .select2-container,.woocommerce_page_wc-gzd-shipments .tablenav .select2-container{float:left;width:240px!important;font-size:14px;vertical-align:middle;margin:1px 6px 4px 1px}.woocommerce_page_wc-gzd-return-shipments .tablenav .select2-container .select2-selection--single,.woocommerce_page_wc-gzd-shipments .tablenav .select2-container .select2-selection--single{height:32px}.woocommerce_page_wc-gzd-return-shipments .tablenav .select2-container .select2-selection--single .select2-selection__rendered,.woocommerce_page_wc-gzd-shipments .tablenav .select2-container .select2-selection--single .select2-selection__rendered{line-height:29px}.woocommerce_page_wc-gzd-return-shipments .tablenav .select2-container .select2-selection--single .select2-selection__arrow,.woocommerce_page_wc-gzd-shipments .tablenav .select2-container .select2-selection--single .select2-selection__arrow{height:30px}.woocommerce_page_wc-gzd-return-shipments .tablenav input,.woocommerce_page_wc-gzd-return-shipments .tablenav select,.woocommerce_page_wc-gzd-shipments .tablenav input,.woocommerce_page_wc-gzd-shipments .tablenav select{line-height:1;height:32px}.woocommerce_page_wc-gzd-return-shipments .tablenav input,.woocommerce_page_wc-gzd-shipments .tablenav input{height:31px}.woocommerce_page_wc-gzd-return-shipments .tablenav #shipment-query-submit,.woocommerce_page_wc-gzd-shipments .tablenav #shipment-query-submit{margin:1px 8px 0 0}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper{display:none;clear:both;margin:1em 0;float:left;width:50%}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper h4,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper h4{margin-top:0}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper progress,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper progress{width:100%;height:42px;margin:0 auto;display:block;-webkit-appearance:none;border:none;background:#f5f5f5;border:2px solid #eee;border-radius:4px;padding:0;box-shadow:0 1px 0 0 rgba(255,255,255,.2)}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper progress::-webkit-progress-bar,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper progress::-webkit-progress-bar{background:transparent none;border:0;border-radius:4px;padding:0;box-shadow:none}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper progress::-webkit-progress-value,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper progress::-webkit-progress-value{border-radius:3px;box-shadow:inset 0 1px 1px 0 rgba(255,255,255,.4);background:#a46497;background:-webkit-gradient(linear,left top,left bottom,from(#a46497),to(#66405f)),#a46497;background:linear-gradient(to bottom,#a46497,#66405f),#a46497;-webkit-transition:width 1s ease;transition:width 1s ease}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper progress::-moz-progress-bar,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper progress::-moz-progress-bar{border-radius:3px;box-shadow:inset 0 1px 1px 0 rgba(255,255,255,.4);background:#a46497;background:linear-gradient(to bottom,#a46497,#66405f),#a46497;-webkit-transition:width 1s ease;transition:width 1s ease}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper progress::-ms-fill,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper progress::-ms-fill{border-radius:3px;box-shadow:inset 0 1px 1px 0 rgba(255,255,255,.4);background:#a46497;background:linear-gradient(to bottom,#a46497,#66405f),#a46497;-webkit-transition:width 1s ease;transition:width 1s ease}.woocommerce_page_wc-gzd-return-shipments #posts-filter.bulk-action-processing .bulk-action-wrapper,.woocommerce_page_wc-gzd-shipments #posts-filter.bulk-action-processing .bulk-action-wrapper{display:block}.woocommerce_page_wc-gzd-return-shipments .wp-list-table,.woocommerce_page_wc-gzd-shipments .wp-list-table{margin-top:1em}.woocommerce_page_wc-gzd-return-shipments .wp-list-table td,.woocommerce_page_wc-gzd-return-shipments .wp-list-table th,.woocommerce_page_wc-gzd-shipments .wp-list-table td,.woocommerce_page_wc-gzd-shipments .wp-list-table th{padding:.5em 1em;width:10ch;vertical-align:middle}.woocommerce_page_wc-gzd-return-shipments .wp-list-table tbody th,.woocommerce_page_wc-gzd-return-shipments .wp-list-table td,.woocommerce_page_wc-gzd-shipments .wp-list-table tbody th,.woocommerce_page_wc-gzd-shipments .wp-list-table td{line-height:26px}.woocommerce_page_wc-gzd-return-shipments .wp-list-table thead th,.woocommerce_page_wc-gzd-shipments .wp-list-table thead th{padding:.5em 1em}.woocommerce_page_wc-gzd-return-shipments .wp-list-table thead th:last-child,.woocommerce_page_wc-gzd-shipments .wp-list-table thead th:last-child{padding-right:2em}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .check-column,.woocommerce_page_wc-gzd-shipments .wp-list-table .check-column{width:16px;white-space:nowrap;padding:1em 1em 1em 1em!important;vertical-align:middle}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .check-column input,.woocommerce_page_wc-gzd-shipments .wp-list-table .check-column input{vertical-align:text-top;margin:1px 0}.woocommerce_page_wc-gzd-return-shipments .wp-list-table td.column-title,.woocommerce_page_wc-gzd-shipments .wp-list-table td.column-title{font-weight:700}.woocommerce_page_wc-gzd-return-shipments .wp-list-table td.column-title .shipment-title-meta,.woocommerce_page_wc-gzd-shipments .wp-list-table td.column-title .shipment-title-meta{margin-top:0;font-weight:400;color:#999;font-style:italic}.woocommerce_page_wc-gzd-return-shipments .wp-list-table td.column-title .shipment-title-meta .shipment-tracking-id,.woocommerce_page_wc-gzd-shipments .wp-list-table td.column-title .shipment-title-meta .shipment-tracking-id{color:#999;display:block}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-title,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-title{width:20ch}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions{width:10ch}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-order,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-order{width:10ch}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-address a,.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-sender a,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-address a,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-sender a{color:#32373c}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .shipment-status,.woocommerce_page_wc-gzd-shipments .wp-list-table .shipment-status{font-size:1em}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions{text-align:right}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button{text-indent:9999px;margin:2px 0 2px 4px;position:relative;display:inline-block;padding:0;height:2em;width:2em;overflow:hidden;vertical-align:middle}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button::after,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button::after{font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;line-height:1.85}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.processing::after,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.processing::after{font-family:WooCommerce;content:"\e00f"}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.shipped::after,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.shipped::after{content:"\f147"}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.delivered::after,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.delivered::after{content:"\f147"}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.generate::after,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.generate::after{content:"\f502"}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.download::after,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.download::after{content:"\f103"}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-address,.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-sender,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-address,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-sender{width:20ch}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-items,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-items{width:20ch}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview{font-size:.9em;border-spacing:0}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview thead th,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview thead th{color:#adadad;padding-top:0;font-size:1.1em}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview tr td,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview tr td{border-bottom:1px solid #ccc!important}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview tr:last-child td,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview tr:last-child td{border-bottom:none!important}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview td,.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview th,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview td,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview th{padding:.3em 0;vertical-align:top;line-height:20px}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview td.wc-gzd-shipment-item-column-name,.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview th.wc-gzd-shipment-item-column-name,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview td.wc-gzd-shipment-item-column-name,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview th.wc-gzd-shipment-item-column-name{width:70%}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview td.wc-gzd-shipment-item-column-quantity,.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview th.wc-gzd-shipment-item-column-quantity,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview td.wc-gzd-shipment-item-column-quantity,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview th.wc-gzd-shipment-item-column-quantity{text-align:right;padding-right:.5em}#woocommerce-gzd-order-shipments .inside{margin:0;padding:0;display:block!important}#woocommerce-gzd-order-shipments .handlediv,#woocommerce-gzd-order-shipments .hndle{display:none}.germanized-shipments *{box-sizing:border-box}.germanized-shipments #panel-order-shipments{padding:23px 0 0}.germanized-shipments #panel-order-shipments .panel-inner{padding:0 24px}.germanized-shipments #panel-order-shipments .panel-title{margin-bottom:1.5em}.germanized-shipments #panel-order-shipments .panel-title h2{margin:0;font-family:HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",sans-serif;font-size:21px;font-weight:400;line-height:1.2;text-shadow:1px 1px 1px #fff;padding:0}.germanized-shipments #panel-order-shipments .panel-footer{background:#f8f8f8;padding-top:1em;padding-bottom:1em;border-top:1px solid #dfdfdf;display:none}.germanized-shipments #panel-order-shipments .panel-footer .order-shipments-actions{display:-webkit-box;display:flex;flex-wrap:nowrap;-webkit-box-pack:justify;justify-content:space-between}.germanized-shipments #panel-order-shipments .panel-footer #order-shipments-save{display:none}.germanized-shipments #panel-order-shipments #order-shipment-add{display:none}.germanized-shipments #panel-order-shipments.needs-shipments .panel-footer{display:block}.germanized-shipments #panel-order-shipments.needs-shipments #order-shipment-add{display:block}.germanized-shipments #panel-order-shipments #order-shipments-list{margin-bottom:1.5em}.germanized-shipments #panel-order-shipments .delete{color:#a00}.germanized-shipments #panel-order-shipments .delete:hover{color:#dc3232;border:none}.germanized-shipments #panel-order-shipments .order-shipment .handlediv{display:inline-block;float:none;width:auto;height:auto}.germanized-shipments #panel-order-shipments .order-shipment .handlediv .toggle-indicator::before{content:"\f140"}.germanized-shipments #panel-order-shipments .order-shipment .wc-gzd-shipment-label h4{margin-top:0}.germanized-shipments #panel-order-shipments .order-shipment .wc-gzd-shipment-label .shipment-label-actions .shipment-label-actions-wrapper{display:-webkit-box;display:flex;flex-wrap:wrap;-webkit-box-pack:start;justify-content:flex-start;margin-bottom:1em;-webkit-box-align:center;align-items:center}.germanized-shipments #panel-order-shipments .order-shipment .wc-gzd-shipment-label .shipment-label-actions .shipment-label-actions-wrapper a{margin-right:1em}.germanized-shipments #panel-order-shipments .order-shipment .show-if{display:none}.germanized-shipments #panel-order-shipments .order-shipment.active>.shipment-content-wrapper{display:block}.germanized-shipments #panel-order-shipments .order-shipment.active>.shipment-header>.right>.handlediv .toggle-indicator::before{content:"\f142"}.germanized-shipments #panel-order-shipments .order-shipment .item-count{margin-right:1em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-footer{display:-webkit-box;display:flex;flex-wrap:nowrap;-webkit-box-pack:end;justify-content:flex-end}.germanized-shipments #panel-order-shipments .order-shipment .shipment-header{color:#999;background:#f8f8f8;margin:1.5em 0;padding:.5em 1em;cursor:pointer}.germanized-shipments #panel-order-shipments .order-shipment .shipment-header .shipment-status{margin-left:1em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-header h3{margin:0}.germanized-shipments #panel-order-shipments .order-shipment:first-child .shipment-header{margin-top:0}.germanized-shipments #panel-order-shipments .order-shipment .shipment-header:hover,.germanized-shipments #panel-order-shipments .order-shipment.active>.shipment-header{background:#f3f3f3}.germanized-shipments #panel-order-shipments .order-shipment .shipment-content-wrapper{display:none}.germanized-shipments #panel-order-shipments .order-shipment .shipment-content{padding:1em;margin-top:-2.5em;padding-bottom:0}.germanized-shipments #panel-order-shipments .order-shipment .add-shipment-return{display:none}.germanized-shipments #panel-order-shipments .order-shipment.is-returnable .add-shipment-return{display:block}.germanized-shipments #panel-order-shipments .order-shipment p.form-row{margin-bottom:1.5em}.germanized-shipments #panel-order-shipments .order-shipment p.form-row input[type=email],.germanized-shipments #panel-order-shipments .order-shipment p.form-row input[type=number],.germanized-shipments #panel-order-shipments .order-shipment p.form-row input[type=text]{height:30px}.germanized-shipments #panel-order-shipments .order-shipment p.form-row select{line-height:30px;height:30px;padding-top:0;padding-bottom:0}.germanized-shipments #panel-order-shipments .order-shipment p.form-row label{color:#999}.germanized-shipments #panel-order-shipments .order-shipment p.form-row label .woocommerce-help-tip{float:none}.germanized-shipments #panel-order-shipments .order-shipment .columns .column.column-spaced{margin:5px 0}.germanized-shipments #panel-order-shipments .order-shipment .columns .column h4{margin-bottom:.7em;text-transform:uppercase;color:#999;font-size:.9em}.germanized-shipments #panel-order-shipments .order-shipment .columns .column h4 a{color:#999;text-decoration:none}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-action{text-align:right}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-quantity input{width:100%;text-align:center;padding:0 4px}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-heading{padding:.5em;color:#999;background:#f8f8f8}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item{padding:.7em .5em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item .columns{-webkit-box-align:center;align-items:center}.germanized-shipments #panel-order-shipments .order-shipment .shipment-item-actions{display:-webkit-box;display:flex;padding:.7em .5em;flex-wrap:nowrap;border-top:1px solid #dfdfdf}.germanized-shipments #panel-order-shipments .order-shipment .shipment-item-actions .add-items{margin-right:1em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-item-actions .woocommerce-help-tip{margin-left:0}.germanized-shipments #panel-order-shipments .order-shipment .add-items{display:none}.germanized-shipments #panel-order-shipments .order-shipment .shipment-returns{margin-top:.5em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-returns .shipment-return .shipment-header{background:0 0;border-bottom:1px solid #dfdfdf;padding-left:0;padding-right:0}.germanized-shipments #panel-order-shipments .order-shipment .shipment-returns .shipment-return .shipment-header h3{font-size:1.1em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-returns .shipment-return .shipment-content{padding:1em 0}.germanized-shipments #panel-order-shipments .order-shipment.needs-items .add-items{display:block}.germanized-shipments #panel-order-shipments .form-row .wrap{margin:0;display:-webkit-box;display:flex;flex-wrap:nowrap}.germanized-shipments #panel-order-shipments .form-row .wrap input{margin-right:1em}.germanized-shipments #panel-order-shipments .form-row .wrap input:last-child{margin-right:0}.germanized-shipments .title-spread{display:-webkit-box;display:flex;flex-wrap:nowrap;-webkit-box-pack:justify;justify-content:space-between;-webkit-box-align:center;align-items:center}.germanized-shipments .title-spread .left,.germanized-shipments .title-spread .right{display:-webkit-inline-box;display:inline-flex;-webkit-box-align:center;align-items:center}.germanized-shipments .show-lg,.germanized-shipments .show-md,.germanized-shipments .show-sm,.germanized-shipments .show-xl,.germanized-shipments .show-xs{display:none!important}.germanized-shipments .columns{display:-webkit-box;display:flex;flex-wrap:wrap;margin-left:-1rem;margin-right:-1rem}.germanized-shipments .columns.col-gapless{margin-left:0;margin-right:0}.germanized-shipments .columns.col-gapless>.column{padding-left:0;padding-right:0}.germanized-shipments .columns.col-oneline{flex-wrap:nowrap;overflow-x:auto}.germanized-shipments .column{-webkit-box-flex:1;flex:1;max-width:100%;padding-left:1rem;padding-right:1rem}.germanized-shipments .column.col-1,.germanized-shipments .column.col-10,.germanized-shipments .column.col-11,.germanized-shipments .column.col-12,.germanized-shipments .column.col-2,.germanized-shipments .column.col-3,.germanized-shipments .column.col-4,.germanized-shipments .column.col-5,.germanized-shipments .column.col-6,.germanized-shipments .column.col-7,.germanized-shipments .column.col-8,.germanized-shipments .column.col-9,.germanized-shipments .column.col-auto{-webkit-box-flex:0;flex:none}.germanized-shipments .col-12{width:100%}.germanized-shipments .col-11{width:91.66666667%}.germanized-shipments .col-10{width:83.33333333%}.germanized-shipments .col-9{width:75%}.germanized-shipments .col-8{width:66.66666667%}.germanized-shipments .col-7{width:58.33333333%}.germanized-shipments .col-6{width:50%}.germanized-shipments .col-5{width:41.66666667%}.germanized-shipments .col-4{width:33.33333333%}.germanized-shipments .col-3{width:25%}.germanized-shipments .col-2{width:16.66666667%}.germanized-shipments .col-1{width:8.33333333%}.germanized-shipments .col-auto{-webkit-box-flex:0;flex:0 0 auto;max-width:none;width:auto}.germanized-shipments .col-mx-auto{margin-left:auto;margin-right:auto}.germanized-shipments .col-ml-auto{margin-left:auto}.germanized-shipments .col-mr-auto{margin-right:auto}@media (max-width:1280px){.germanized-shipments .col-xl-1,.germanized-shipments .col-xl-10,.germanized-shipments .col-xl-11,.germanized-shipments .col-xl-12,.germanized-shipments .col-xl-2,.germanized-shipments .col-xl-3,.germanized-shipments .col-xl-4,.germanized-shipments .col-xl-5,.germanized-shipments .col-xl-6,.germanized-shipments .col-xl-7,.germanized-shipments .col-xl-8,.germanized-shipments .col-xl-9,.germanized-shipments .col-xl-auto{-webkit-box-flex:0;flex:none}.germanized-shipments .col-xl-12{width:100%}.germanized-shipments .col-xl-11{width:91.66666667%}.germanized-shipments .col-xl-10{width:83.33333333%}.germanized-shipments .col-xl-9{width:75%}.germanized-shipments .col-xl-8{width:66.66666667%}.germanized-shipments .col-xl-7{width:58.33333333%}.germanized-shipments .col-xl-6{width:50%}.germanized-shipments .col-xl-5{width:41.66666667%}.germanized-shipments .col-xl-4{width:33.33333333%}.germanized-shipments .col-xl-3{width:25%}.germanized-shipments .col-xl-2{width:16.66666667%}.germanized-shipments .col-xl-1{width:8.33333333%}.germanized-shipments .col-xl-auto{width:auto}.germanized-shipments .hide-xl{display:none!important}.germanized-shipments .show-xl{display:block!important}}@media (max-width:960px){.germanized-shipments .col-lg-1,.germanized-shipments .col-lg-10,.germanized-shipments .col-lg-11,.germanized-shipments .col-lg-12,.germanized-shipments .col-lg-2,.germanized-shipments .col-lg-3,.germanized-shipments .col-lg-4,.germanized-shipments .col-lg-5,.germanized-shipments .col-lg-6,.germanized-shipments .col-lg-7,.germanized-shipments .col-lg-8,.germanized-shipments .col-lg-9,.germanized-shipments .col-lg-auto{-webkit-box-flex:0;flex:none}.germanized-shipments .col-lg-12{width:100%}.germanized-shipments .col-lg-11{width:91.66666667%}.germanized-shipments .col-lg-10{width:83.33333333%}.germanized-shipments .col-lg-9{width:75%}.germanized-shipments .col-lg-8{width:66.66666667%}.germanized-shipments .col-lg-7{width:58.33333333%}.germanized-shipments .col-lg-6{width:50%}.germanized-shipments .col-lg-5{width:41.66666667%}.germanized-shipments .col-lg-4{width:33.33333333%}.germanized-shipments .col-lg-3{width:25%}.germanized-shipments .col-lg-2{width:16.66666667%}.germanized-shipments .col-lg-1{width:8.33333333%}.germanized-shipments .col-lg-auto{width:auto}.germanized-shipments .hide-lg{display:none!important}.germanized-shipments .show-lg{display:block!important}}@media (max-width:840px){.germanized-shipments .col-md-1,.germanized-shipments .col-md-10,.germanized-shipments .col-md-11,.germanized-shipments .col-md-12,.germanized-shipments .col-md-2,.germanized-shipments .col-md-3,.germanized-shipments .col-md-4,.germanized-shipments .col-md-5,.germanized-shipments .col-md-6,.germanized-shipments .col-md-7,.germanized-shipments .col-md-8,.germanized-shipments .col-md-9,.germanized-shipments .col-md-auto{-webkit-box-flex:0;flex:none}.germanized-shipments .col-md-12{width:100%}.germanized-shipments .col-md-11{width:91.66666667%}.germanized-shipments .col-md-10{width:83.33333333%}.germanized-shipments .col-md-9{width:75%}.germanized-shipments .col-md-8{width:66.66666667%}.germanized-shipments .col-md-7{width:58.33333333%}.germanized-shipments .col-md-6{width:50%}.germanized-shipments .col-md-5{width:41.66666667%}.germanized-shipments .col-md-4{width:33.33333333%}.germanized-shipments .col-md-3{width:25%}.germanized-shipments .col-md-2{width:16.66666667%}.germanized-shipments .col-md-1{width:8.33333333%}.germanized-shipments .col-md-auto{width:auto}.germanized-shipments .hide-md{display:none!important}.germanized-shipments .show-md{display:block!important}}@media (max-width:600px){.germanized-shipments .col-sm-1,.germanized-shipments .col-sm-10,.germanized-shipments .col-sm-11,.germanized-shipments .col-sm-12,.germanized-shipments .col-sm-2,.germanized-shipments .col-sm-3,.germanized-shipments .col-sm-4,.germanized-shipments .col-sm-5,.germanized-shipments .col-sm-6,.germanized-shipments .col-sm-7,.germanized-shipments .col-sm-8,.germanized-shipments .col-sm-9,.germanized-shipments .col-sm-auto{-webkit-box-flex:0;flex:none}.germanized-shipments .col-sm-12{width:100%}.germanized-shipments .col-sm-11{width:91.66666667%}.germanized-shipments .col-sm-10{width:83.33333333%}.germanized-shipments .col-sm-9{width:75%}.germanized-shipments .col-sm-8{width:66.66666667%}.germanized-shipments .col-sm-7{width:58.33333333%}.germanized-shipments .col-sm-6{width:50%}.germanized-shipments .col-sm-5{width:41.66666667%}.germanized-shipments .col-sm-4{width:33.33333333%}.germanized-shipments .col-sm-3{width:25%}.germanized-shipments .col-sm-2{width:16.66666667%}.germanized-shipments .col-sm-1{width:8.33333333%}.germanized-shipments .col-sm-auto{width:auto}.germanized-shipments .hide-sm{display:none!important}.germanized-shipments .show-sm{display:block!important}}@media (max-width:480px){.germanized-shipments .col-xs-1,.germanized-shipments .col-xs-10,.germanized-shipments .col-xs-11,.germanized-shipments .col-xs-12,.germanized-shipments .col-xs-2,.germanized-shipments .col-xs-3,.germanized-shipments .col-xs-4,.germanized-shipments .col-xs-5,.germanized-shipments .col-xs-6,.germanized-shipments .col-xs-7,.germanized-shipments .col-xs-8,.germanized-shipments .col-xs-9,.germanized-shipments .col-xs-auto{-webkit-box-flex:0;flex:none}.germanized-shipments .col-xs-12{width:100%}.germanized-shipments .col-xs-11{width:91.66666667%}.germanized-shipments .col-xs-10{width:83.33333333%}.germanized-shipments .col-xs-9{width:75%}.germanized-shipments .col-xs-8{width:66.66666667%}.germanized-shipments .col-xs-7{width:58.33333333%}.germanized-shipments .col-xs-6{width:50%}.germanized-shipments .col-xs-5{width:41.66666667%}.germanized-shipments .col-xs-4{width:33.33333333%}.germanized-shipments .col-xs-3{width:25%}.germanized-shipments .col-xs-2{width:16.66666667%}.germanized-shipments .col-xs-1{width:8.33333333%}.germanized-shipments .col-xs-auto{width:auto}.germanized-shipments .hide-xs{display:none!important}.germanized-shipments .show-xs{display:block!important}}
packages/woocommerce-germanized-shipments/assets/css/admin.scss CHANGED
@@ -2,6 +2,152 @@
2
 
3
  $layout-spacing: 1rem;
4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  .shipment-status, .order-shipping-status {
6
  background: #eee;
7
  padding: .2em .5em;
@@ -168,10 +314,36 @@ $layout-spacing: 1rem;
168
 
169
  td.column-title {
170
  font-weight: bold;
 
 
 
 
 
 
 
 
 
 
 
 
171
  }
172
 
173
- .column-status, .column-date, .column-title {
174
- width: 15ch;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
175
  }
176
 
177
  .shipment-status {
@@ -237,7 +409,7 @@ $layout-spacing: 1rem;
237
  }
238
 
239
  .column-items {
240
- width: 25ch;
241
  }
242
 
243
  #the-list {
@@ -381,6 +553,30 @@ $layout-spacing: 1rem;
381
  }
382
  }
383
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
384
  &.active {
385
  > .shipment-content-wrapper {
386
  display: block;
@@ -501,6 +697,8 @@ $layout-spacing: 1rem;
501
  .shipment-item-quantity {
502
  input {
503
  width: 100%;
 
 
504
  }
505
  }
506
 
2
 
3
  $layout-spacing: 1rem;
4
 
5
+ .germanized-create-label {
6
+ .notice-wrapper {
7
+ .notice {
8
+ margin: 0;
9
+ margin-bottom: 1em;
10
+
11
+ p {
12
+ margin: 0.5em 0 !important;
13
+ padding: 2px !important;
14
+ font-size: 13px;
15
+ line-height: 1.5;
16
+ }
17
+ }
18
+ }
19
+
20
+ p.form-field {
21
+ &:first-child, &:last-child {
22
+ margin-bottom: 5px !important;
23
+ margin-top: 5px !important;
24
+ }
25
+ display: inline-block;
26
+ width: 100%;
27
+ margin-bottom: 5px !important;
28
+ margin-top: 5px !important;
29
+ }
30
+
31
+ .columns {
32
+ margin-left: -.5rem !important;
33
+ margin-right: -.5rem !important;
34
+ }
35
+
36
+ .column {
37
+ padding-left: .5rem !important;
38
+ padding-right: .5rem !important;
39
+ }
40
+
41
+ .show-if, .hide-default {
42
+ display: none;
43
+ }
44
+
45
+ .show-if {
46
+ label {
47
+ color: #777;
48
+ }
49
+ }
50
+
51
+ p.form-field {
52
+ label {
53
+ width: 100%;
54
+ display: block;
55
+ margin-bottom: 5px;
56
+ }
57
+ select, input[type=text], input[type=email] {
58
+ width: 100%;
59
+ max-width: 100%;
60
+ }
61
+
62
+ &.form-field-checkbox {
63
+ display: flex;
64
+ flex-wrap: wrap;
65
+ flex-direction: row;
66
+ justify-content: flex-start;
67
+ margin-top: 10px !important;
68
+ margin-bottom: 10px !important;
69
+ align-items: center;
70
+
71
+ label {
72
+ width: auto;
73
+ margin-left: .5em;
74
+ order: 2;
75
+ margin-bottom: 0;
76
+ }
77
+
78
+ input[type=checkbox] {
79
+ order: 1;
80
+ }
81
+
82
+ .woocommerce-help-tip {
83
+ order: 3;
84
+ margin-left: 3px;
85
+ }
86
+
87
+ .description {
88
+ width: 100%;
89
+ margin-top: 5px;
90
+ color: #777;
91
+ order: 4;
92
+ font-style: normal;
93
+ }
94
+ }
95
+ }
96
+ }
97
+
98
+ table.wc-gzd-shipping-providers {
99
+ margin-top: 1.5em;
100
+
101
+ th, td {
102
+ display: table-cell !important;
103
+ padding: 1em !important;
104
+ vertical-align: top;
105
+ line-height: 1.75em;
106
+ font-size: 14px;
107
+ }
108
+
109
+ th {
110
+ font-weight: 600;
111
+ }
112
+
113
+ td.wc-gzd-shipping-provider-activated, th.wc-gzd-shipping-provider-activated {
114
+ width: 1%;
115
+ text-align: center;
116
+
117
+ .status-disabled, .status-enabled {
118
+ display: inline-block;
119
+ margin-top: 3px;
120
+ }
121
+ }
122
+
123
+ td.wc-gzd-shipping-provider-actions, th.wc-gzd-shipping-provider-actions {
124
+ width: 15%;
125
+ text-align: right;
126
+ }
127
+
128
+ td.wc-gzd-shipping-provider-actions {
129
+ display: flex;
130
+ justify-content: flex-end;
131
+ flex-wrap: wrap;
132
+
133
+ .button {
134
+ margin-right: 5px;
135
+
136
+ &:last-child {
137
+ margin-right: 0;
138
+ }
139
+ }
140
+ }
141
+
142
+ td.wc-gzd-shipping-provider-title, th.wc-gzd-shipping-provider-title {
143
+ width: 30ch;
144
+ }
145
+
146
+ tr:nth-child(odd) td {
147
+ background: #f9f9f9;
148
+ }
149
+ }
150
+
151
  .shipment-status, .order-shipping-status {
152
  background: #eee;
153
  padding: .2em .5em;
314
 
315
  td.column-title {
316
  font-weight: bold;
317
+
318
+ .shipment-title-meta {
319
+ margin-top: 0;
320
+ font-weight: normal;
321
+ color: #999;
322
+ font-style: italic;
323
+
324
+ .shipment-tracking-id {
325
+ color: #999;
326
+ display: block;
327
+ }
328
+ }
329
  }
330
 
331
+ .column-title {
332
+ width: 20ch;
333
+ }
334
+
335
+ .column-actions {
336
+ width: 10ch;
337
+ }
338
+
339
+ .column-order {
340
+ width: 10ch;
341
+ }
342
+
343
+ .column-address, .column-sender {
344
+ a {
345
+ color: #32373c;
346
+ }
347
  }
348
 
349
  .shipment-status {
409
  }
410
 
411
  .column-items {
412
+ width: 20ch;
413
  }
414
 
415
  #the-list {
553
  }
554
  }
555
 
556
+ .wc-gzd-shipment-label {
557
+ h4 {
558
+ margin-top: 0;
559
+ }
560
+
561
+ .shipment-label-actions {
562
+ .shipment-label-actions-wrapper {
563
+ display: flex;
564
+ flex-wrap: wrap;
565
+ justify-content: flex-start;
566
+ margin-bottom: 1em;
567
+ align-items: center;
568
+
569
+ a {
570
+ margin-right: 1em;
571
+ }
572
+ }
573
+ }
574
+ }
575
+
576
+ .show-if {
577
+ display: none;
578
+ }
579
+
580
  &.active {
581
  > .shipment-content-wrapper {
582
  display: block;
697
  .shipment-item-quantity {
698
  input {
699
  width: 100%;
700
+ text-align: center;
701
+ padding: 0 4px;
702
  }
703
  }
704
 
packages/{woocommerce-germanized-dhl/assets/js/admin-dhl-backbone.js → woocommerce-germanized-shipments/assets/js/admin-shipment-label-backbone.js} RENAMED
@@ -6,13 +6,13 @@ window.germanized.admin = window.germanized.admin || {};
6
  /**
7
  * Core
8
  */
9
- admin.dhl_backbone = {
10
 
11
  params: {},
12
 
13
  init: function () {
14
- var self = germanized.admin.dhl_backbone;
15
- self.params = wc_gzd_admin_dhl_backbone_params;
16
 
17
  $( document )
18
  .on( 'click', '.germanized-create-label .show-further-services', self.onExpandServices )
@@ -77,12 +77,12 @@ window.germanized.admin = window.germanized.admin || {};
77
 
78
  init: function( e, target ) {
79
  if ( target.indexOf( 'wc-gzd-modal-create-shipment-label' ) !== -1 ) {
80
- var self = germanized.admin.dhl_backbone.backbone,
81
- backbone = germanized.admin.dhl_backbone,
82
  $modal = $( '.germanized-create-label' ).parents( '.wc-backbone-modal-content' ),
83
  shipmentId = self.getShipmentId( target ),
84
  params = {
85
- 'action' : 'woocommerce_gzd_dhl_create_label_form',
86
  'shipment_id': shipmentId,
87
  'security' : backbone.params.create_label_form_nonce
88
  };
@@ -100,8 +100,8 @@ window.germanized.admin = window.germanized.admin || {};
100
  },
101
 
102
  doAjax: function( params, $wrapper, cSuccess, cError ) {
103
- var self = germanized.admin.dhl_backbone.backbone,
104
- backbone = germanized.admin.dhl_backbone,
105
  $content = $wrapper.find( '.germanized-create-label' );
106
 
107
  cSuccess = cSuccess || self.onAjaxSuccess;
@@ -150,7 +150,7 @@ window.germanized.admin = window.germanized.admin || {};
150
  },
151
 
152
  onInitForm: function( data ) {
153
- var self = germanized.admin.dhl_backbone.backbone,
154
  shipmentId = data['shipment_id'],
155
  $modal = $( '.germanized-create-label' );
156
 
@@ -178,15 +178,20 @@ window.germanized.admin = window.germanized.admin || {};
178
  },
179
 
180
  onSubmitSuccess: function( data ) {
181
- var self = germanized.admin.dhl_backbone.backbone,
182
- $modal = $( this ).parents( '.wc-backbone-modal-content' );
 
183
 
184
  $modal.find( '.modal-close' ).trigger( 'click' );
 
 
 
 
185
  },
186
 
187
  onSubmit: function( e ) {
188
- var self = germanized.admin.dhl_backbone.backbone,
189
- backbone = germanized.admin.dhl_backbone,
190
  $modal = $( this ).parents( '.wc-backbone-modal-content' ),
191
  $content = $modal.find( '.germanized-create-label' ),
192
  $form = $content.find( 'form' ),
@@ -194,7 +199,7 @@ window.germanized.admin = window.germanized.admin || {};
194
 
195
  params['security'] = backbone.params.create_label_nonce;
196
  params['shipment_id'] = e.data.shipmentId;
197
- params['action'] = 'woocommerce_gzd_create_dhl_label';
198
 
199
  self.doAjax( params, $modal, self.onSubmitSuccess );
200
 
@@ -207,15 +212,13 @@ window.germanized.admin = window.germanized.admin || {};
207
  },
208
 
209
  response: function( e, target, data ) {
210
- if ( target.indexOf( 'wc-gzd-modal-create-shipment-label' ) !== -1 ) {
211
-
212
- }
213
  }
214
  }
215
  };
216
 
217
  $( document ).ready( function() {
218
- germanized.admin.dhl_backbone.init();
219
  });
220
 
221
  })( jQuery, window.germanized.admin );
6
  /**
7
  * Core
8
  */
9
+ admin.shipment_label_backbone = {
10
 
11
  params: {},
12
 
13
  init: function () {
14
+ var self = germanized.admin.shipment_label_backbone;
15
+ self.params = wc_gzd_admin_shipment_label_backbone_params;
16
 
17
  $( document )
18
  .on( 'click', '.germanized-create-label .show-further-services', self.onExpandServices )
77
 
78
  init: function( e, target ) {
79
  if ( target.indexOf( 'wc-gzd-modal-create-shipment-label' ) !== -1 ) {
80
+ var self = germanized.admin.shipment_label_backbone.backbone,
81
+ backbone = germanized.admin.shipment_label_backbone,
82
  $modal = $( '.germanized-create-label' ).parents( '.wc-backbone-modal-content' ),
83
  shipmentId = self.getShipmentId( target ),
84
  params = {
85
+ 'action' : 'woocommerce_gzd_create_shipment_label_form',
86
  'shipment_id': shipmentId,
87
  'security' : backbone.params.create_label_form_nonce
88
  };
100
  },
101
 
102
  doAjax: function( params, $wrapper, cSuccess, cError ) {
103
+ var self = germanized.admin.shipment_label_backbone.backbone,
104
+ backbone = germanized.admin.shipment_label_backbone,
105
  $content = $wrapper.find( '.germanized-create-label' );
106
 
107
  cSuccess = cSuccess || self.onAjaxSuccess;
150
  },
151
 
152
  onInitForm: function( data ) {
153
+ var self = germanized.admin.shipment_label_backbone.backbone,
154
  shipmentId = data['shipment_id'],
155
  $modal = $( '.germanized-create-label' );
156
 
178
  },
179
 
180
  onSubmitSuccess: function( data ) {
181
+ var self = germanized.admin.shipment_label_backbone.backbone,
182
+ $modal = $( this ).parents( '.wc-backbone-modal-content' ),
183
+ shipmentId = data['shipment_id'];
184
 
185
  $modal.find( '.modal-close' ).trigger( 'click' );
186
+
187
+ if ( $( 'div#shipment-' + shipmentId ).length > 0 ) {
188
+ germanized.admin.shipments.initShipment( shipmentId );
189
+ }
190
  },
191
 
192
  onSubmit: function( e ) {
193
+ var self = germanized.admin.shipment_label_backbone.backbone,
194
+ backbone = germanized.admin.shipment_label_backbone,
195
  $modal = $( this ).parents( '.wc-backbone-modal-content' ),
196
  $content = $modal.find( '.germanized-create-label' ),
197
  $form = $content.find( 'form' ),
199
 
200
  params['security'] = backbone.params.create_label_nonce;
201
  params['shipment_id'] = e.data.shipmentId;
202
+ params['action'] = 'woocommerce_gzd_create_shipment_label';
203
 
204
  self.doAjax( params, $modal, self.onSubmitSuccess );
205
 
212
  },
213
 
214
  response: function( e, target, data ) {
215
+ if ( target.indexOf( 'wc-gzd-modal-create-shipment-label' ) !== -1 ) {}
 
 
216
  }
217
  }
218
  };
219
 
220
  $( document ).ready( function() {
221
+ germanized.admin.shipment_label_backbone.init();
222
  });
223
 
224
  })( jQuery, window.germanized.admin );
packages/woocommerce-germanized-shipments/assets/js/admin-shipment-label-backbone.min.js ADDED
@@ -0,0 +1 @@
 
1
+ window.germanized=window.germanized||{},window.germanized.admin=window.germanized.admin||{},function(c){window.germanized.admin.shipment_label_backbone={params:{},init:function(){var e=germanized.admin.shipment_label_backbone;e.params=wc_gzd_admin_shipment_label_backbone_params,c(document).on("click",".germanized-create-label .show-further-services",e.onExpandServices).on("click",".germanized-create-label .show-fewer-services",e.onHideServices).on("change",".germanized-create-label input.show-if-trigger",e.onShowIf).on("click",".germanized-create-label .notice .notice-dismiss",e.onRemoveNotice),c(document.body).on("wc_backbone_modal_loaded",e.backbone.init).on("wc_backbone_modal_response",e.backbone.response)},onRemoveNotice:function(){c(this).parents(".notice").slideUp(150,function(){c(this).remove()})},onShowIf:function(){var e=c(this).parents(".germanized-create-label").find(c(this).data("show-if")),n=c(this);0<e.length&&(n.is(":checked")?e.show():e.hide())},onExpandServices:function(){var e=c(this).parents(".germanized-create-label").find(".show-if-further-services"),n=c(this).parents(".show-services-trigger");return e.show(),n.find(".show-further-services").hide(),n.find(".show-fewer-services").show(),!1},onHideServices:function(){var e=c(this).parents(".germanized-create-label").find(".show-if-further-services"),n=c(this).parents(".show-services-trigger");return e.hide(),n.find(".show-further-services").show(),n.find(".show-fewer-services").hide(),!1},backbone:{getShipmentId:function(e){return e.replace(/^\D+/g,"")},init:function(e,n){if(-1!==n.indexOf("wc-gzd-modal-create-shipment-label")){var a=germanized.admin.shipment_label_backbone.backbone,i=germanized.admin.shipment_label_backbone,t=c(".germanized-create-label").parents(".wc-backbone-modal-content"),o={action:"woocommerce_gzd_create_shipment_label_form",shipment_id:a.getShipmentId(n),security:i.params.create_label_form_nonce};a.doAjax(o,t,a.onInitForm)}},onAjaxSuccess:function(e){},onAjaxError:function(e){},doAjax:function(e,n,a,i){var t=germanized.admin.shipment_label_backbone.backbone,o=germanized.admin.shipment_label_backbone,r=n.find(".germanized-create-label");a=a||t.onAjaxSuccess,i=i||t.onAjaxError,n.block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),n.find(".notice-wrapper").empty(),c.ajax({type:"POST",url:o.params.ajax_url,data:e,success:function(e){e.success?(e.fragments&&c.each(e.fragments,function(e,n){c(e).replaceWith(n)}),n.unblock(),a.apply(r,[e])):(n.unblock(),i.apply(r,[e]),c.each(e.messages,function(e,n){t.addNotice(n,"error",r)}),r.animate({scrollTop:0},500))},error:function(e){},dataType:"json"})},onInitForm:function(e){var n=germanized.admin.shipment_label_backbone.backbone,a=e.shipment_id,i=c(".germanized-create-label");c(document.body).trigger("wc-enhanced-select-init"),c(document.body).trigger("wc-init-datepickers"),i.find("input.show-if-trigger").trigger("change"),i.parents(".wc-backbone-modal").on("click","#btn-ok",{shipmentId:a},n.onSubmit)},getFormData:function(e){var a={};return c.each(e.serializeArray(),function(e,n){-1!==n.name.indexOf("[]")?(n.name=n.name.replace("[]",""),a[n.name]=c.makeArray(a[n.name]),a[n.name].push(n.value)):a[n.name]=n.value}),a},onSubmitSuccess:function(e){germanized.admin.shipment_label_backbone.backbone;var n=c(this).parents(".wc-backbone-modal-content"),a=e.shipment_id;n.find(".modal-close").trigger("click"),0<c("div#shipment-"+a).length&&germanized.admin.shipments.initShipment(a)},onSubmit:function(e){var n=germanized.admin.shipment_label_backbone.backbone,a=germanized.admin.shipment_label_backbone,i=c(this).parents(".wc-backbone-modal-content"),t=i.find(".germanized-create-label").find("form"),o=n.getFormData(t);o.security=a.params.create_label_nonce,o.shipment_id=e.data.shipmentId,o.action="woocommerce_gzd_create_shipment_label",n.doAjax(o,i,n.onSubmitSuccess),e.preventDefault(),e.stopPropagation()},addNotice:function(e,n,a){a.find(".notice-wrapper").append('<div class="notice is-dismissible notice-'+n+'"><p>'+e+'</p><button type="button" class="notice-dismiss"></button></div>')},response:function(e,n,a){n.indexOf("wc-gzd-modal-create-shipment-label")}}},c(document).ready(function(){germanized.admin.shipment_label_backbone.init()})}(jQuery);
packages/woocommerce-germanized-shipments/assets/js/admin-shipment.js CHANGED
@@ -45,9 +45,14 @@ window.germanized.admin = window.germanized.admin || {};
45
  this.setNeedsItems( this.vars.$shipment.hasClass( 'needs-items' ) );
46
  this.setIsEditable( this.vars.$shipment.hasClass( 'is-editable' ) );
47
  this.setIsReturnable( this.vars.$shipment.hasClass( 'is-returnable' ) );
 
48
 
49
  $( '#shipment-' + this.vars.id + ' #shipment-items-' + this.vars.id ).off();
50
  $( '#shipment-' + this.vars.id + ' #shipment-footer-' + this.vars.id ).off();
 
 
 
 
51
 
52
  $( '#shipment-' + this.vars.id + ' #shipment-items-' + this.vars.id )
53
  .on( 'change', '.item-quantity', this.onChangeQuantity.bind( this ) )
@@ -57,6 +62,69 @@ window.germanized.admin = window.germanized.admin || {};
57
 
58
  $( '#shipment-' + this.vars.id + ' #shipment-footer-' + this.vars.id )
59
  .on( 'click', 'a.add-shipment-return', this.onAddReturn.bind( this ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  };
61
 
62
  this.getShipment = function() {
45
  this.setNeedsItems( this.vars.$shipment.hasClass( 'needs-items' ) );
46
  this.setIsEditable( this.vars.$shipment.hasClass( 'is-editable' ) );
47
  this.setIsReturnable( this.vars.$shipment.hasClass( 'is-returnable' ) );
48
+ this.onChangeProvider();
49
 
50
  $( '#shipment-' + this.vars.id + ' #shipment-items-' + this.vars.id ).off();
51
  $( '#shipment-' + this.vars.id + ' #shipment-footer-' + this.vars.id ).off();
52
+ $( '#shipment-' + this.vars.id + ' #shipment-shipping-provider-' + this.vars.id ).off();
53
+ $( '#shipment-' + this.vars.id + ' .wc-gzd-shipment-label' ).off();
54
+
55
+ $( '#shipment-' + this.vars.id + ' #shipment-shipping-provider-' + this.vars.id ).on( 'change', this.onChangeProvider.bind( this ) );
56
 
57
  $( '#shipment-' + this.vars.id + ' #shipment-items-' + this.vars.id )
58
  .on( 'change', '.item-quantity', this.onChangeQuantity.bind( this ) )
62
 
63
  $( '#shipment-' + this.vars.id + ' #shipment-footer-' + this.vars.id )
64
  .on( 'click', 'a.add-shipment-return', this.onAddReturn.bind( this ) );
65
+
66
+ $( '#shipment-' + this.vars.id + ' .wc-gzd-shipment-label' )
67
+ .on( 'click', '.create-shipment-label:not(.disabled)', this.onCreateLabel.bind( this ) )
68
+ .on( 'click', '.send-shipment-label', this.onSendLabel.bind( this ) )
69
+ .on( 'click', '.remove-shipment-label', this.onRemoveLabel.bind( this ) );
70
+ };
71
+
72
+ this.onSendLabel = function() {
73
+ var params = {
74
+ 'action' : 'woocommerce_gzd_send_shipment_return_label_email',
75
+ 'shipment_id' : this.getId(),
76
+ 'security' : germanized.admin.shipments.getParams().send_label_nonce
77
+ };
78
+
79
+ this.block();
80
+ germanized.admin.shipments.doAjax( params, this.unblock.bind( this ), this.unblock.bind( this ) );
81
+
82
+ return false;
83
+ };
84
+
85
+ this.onRemoveLabel = function() {
86
+ var answer = window.confirm( germanized.admin.shipments.getParams().i18n_remove_label_notice );
87
+
88
+ if ( answer ) {
89
+ this.removeLabel();
90
+ }
91
+
92
+ return false;
93
+ };
94
+
95
+ this.removeLabel = function() {
96
+ var params = {
97
+ 'action' : 'woocommerce_gzd_remove_shipment_label',
98
+ 'shipment_id' : this.getId(),
99
+ 'security' : germanized.admin.shipments.getParams().remove_label_nonce
100
+ };
101
+
102
+ this.block();
103
+ germanized.admin.shipments.doAjax( params, this.unblock.bind( this ), this.unblock.bind( this ) );
104
+ };
105
+
106
+ this.onCreateLabel = function() {
107
+ var $shipment = this.getShipment();
108
+
109
+ $shipment.WCBackboneModal({
110
+ template: 'wc-gzd-modal-create-shipment-label-' + this.getId()
111
+ });
112
+
113
+ return false;
114
+ };
115
+
116
+ this.onChangeProvider = function() {
117
+ var $shipment = this.getShipment(),
118
+ $select = $shipment.find( '#shipment-shipping-provider-' + this.getId() ),
119
+ $selected = $select.find( 'option:selected' );
120
+
121
+ $shipment.find( '.show-if-provider' ).hide();
122
+
123
+ if ( $selected.length > 0 && $selected.data( 'is-manual' ) && 'yes' === $selected.data( 'is-manual' ) ) {
124
+ $shipment.find( '.show-if-provider-is-manual' ).show();
125
+ }
126
+
127
+ $shipment.find( '.show-if-provider-' + $select.val() ).show();
128
  };
129
 
130
  this.getShipment = function() {
packages/woocommerce-germanized-shipments/assets/js/admin-shipment.min.js CHANGED
@@ -1 +1 @@
1
- window.germanized=window.germanized||{},window.germanized.admin=window.germanized.admin||{},function(h){h.GermanizedShipment=function(t){this.vars={$shipment:!1,params:{},id:"",isEditable:!0,isReturnable:!0,needsItems:!0},(this.root=this).construct=function(t){this.vars.id=t,this.vars.params=germanized.admin.shipments.getParams(),this.refreshDom(),h(document.body).on("wc_backbone_modal_loaded",this.backbone.init.bind(this)).on("wc_backbone_modal_response",this.backbone.response.bind(this))},this.refreshDom=function(){this.vars.$shipment=h("#order-shipments-list").find("#shipment-"+this.getId()),this.setNeedsItems(this.vars.$shipment.hasClass("needs-items")),this.setIsEditable(this.vars.$shipment.hasClass("is-editable")),this.setIsReturnable(this.vars.$shipment.hasClass("is-returnable")),h("#shipment-"+this.vars.id+" #shipment-items-"+this.vars.id).off(),h("#shipment-"+this.vars.id+" #shipment-footer-"+this.vars.id).off(),h("#shipment-"+this.vars.id+" #shipment-items-"+this.vars.id).on("change",".item-quantity",this.onChangeQuantity.bind(this)).on("click","a.remove-shipment-item",this.onRemoveItem.bind(this)).on("click","a.add-shipment-item",this.onAddItem.bind(this)).on("click","a.sync-shipment-items",this.onSyncItems.bind(this)),h("#shipment-"+this.vars.id+" #shipment-footer-"+this.vars.id).on("click","a.add-shipment-return",this.onAddReturn.bind(this))},this.getShipment=function(){return this.vars.$shipment},this.getShipmentContent=function(){return this.vars.$shipment.find("> .shipment-content-wrapper > .shipment-content > .columns > div:not(.shipment-returns-data)")},this.onChangeQuantity=function(t){var i=h(t.target),e=i.parents(".shipment-item").data("id"),n=i.val();this.blockItems();var s={action:"woocommerce_gzd_limit_shipment_item_quantity",shipment_id:this.getId(),item_id:e,quantity:n};germanized.admin.shipments.doAjax(s,this.onChangeQuantitySuccess.bind(this))},this.onChangeQuantitySuccess=function(t){var i=this.getShipment().find('.shipment-item[data-id="'+t.item_id+'"]'),e=i.find(".item-quantity").val(),n=t.max_quantity;n<e?i.find(".item-quantity").val(n):e<=0&&i.find(".item-quantity").val(1),this.refreshDom(),this.unblockItems()},this.setWeight=function(t){this.getShipment().find("#shipment-weight-"+this.getId()).attr("placeholder",t)},this.setLength=function(t){this.getShipment().find("#shipment-length-"+this.getId()).attr("placeholder",t)},this.setWidth=function(t){this.getShipment().find("#shipment-width-"+this.getId()).attr("placeholder",t)},this.setHeight=function(t){this.getShipment().find("#shipment-height-"+this.getId()).attr("placeholder",t)},this.setIsReturnable=function(t){"boolean"!=typeof t&&(t=!0),this.vars.isReturnable=!0===t,this.vars.isReturnable?this.getShipment().addClass("is-returnable"):this.getShipment().removeClass("is-returnable")},this.setIsEditable=function(t){var e=this;"boolean"!=typeof t&&(t=!0),this.vars.isEditable=!0===t,this.vars.isEditable?(this.getShipment().addClass("is-editable"),this.getShipment().removeClass("is-locked"),this.getShipmentContent().find(".remove-shipment-item ").show(),this.getShipmentContent().find(".shipment-item-actions").show(),this.getShipmentContent().find(":input:not([type=hidden])").prop("disabled",!1)):(this.getShipment().removeClass("is-editable"),this.getShipment().addClass("is-locked"),this.getShipmentContent().find(".remove-shipment-item ").hide(),this.getShipmentContent().find(".shipment-item-actions").hide(),this.getShipmentContent().find(":input:not([type=hidden])").prop("disabled",!0),h.each(this.vars.params.shipment_locked_excluded_fields,function(t,i){e.getShipmentContent().find(":input[name^=shipment_"+i+"]").prop("disabled",!1)}))},this.setNeedsItems=function(t){"boolean"!=typeof t&&(t=!0),this.vars.needsItems=!0===t,this.vars.needsItems?this.getShipment().addClass("needs-items"):this.getShipment().removeClass("needs-items")},this.onSyncItems=function(){return this.syncItems(),!1},this.syncItems=function(){this.blockItems();var t={action:"woocommerce_gzd_sync_shipment_items",shipment_id:this.getId()};germanized.admin.shipments.doAjax(t,this.onSyncItemsSuccess.bind(this),this.onSyncItemsError.bind(this))},this.onSyncItemsSuccess=function(t){this.unblockItems()},this.onSyncItemsError=function(t){this.unblockItems()},this.onAddItem=function(){return this.getShipment().WCBackboneModal({template:"wc-gzd-modal-add-shipment-item-"+this.getId()}),!1},this.onAddReturn=function(){return this.getShipment().WCBackboneModal({template:"wc-gzd-modal-add-shipment-return-"+this.getId()}),!1},this.addItem=function(t,i){i=i||1,this.blockItems();var e={action:"woocommerce_gzd_add_shipment_item",shipment_id:this.getId(),original_item_id:t,quantity:i};germanized.admin.shipments.doAjax(e,this.onAddItemSuccess.bind(this),this.onAddItemError.bind(this))},this.addReturn=function(t){this.block();var i={action:"woocommerce_gzd_add_shipment_return",shipment_id:this.getId()};h.extend(i,t),germanized.admin.shipments.doAjax(i,this.onAddReturnSuccess.bind(this),this.onAddReturnError.bind(this))},this.onAddReturnSuccess=function(t){this.getShipment().find(".shipment-return-list").append(t.new_shipment),this.refreshDom(),germanized.admin.shipments.initShipments(),this.unblock()},this.onAddReturnError=function(t){this.unblock()},this.onAddItemError=function(t){this.unblockItems()},this.onAddItemSuccess=function(t){this.getShipmentContent().find(".shipment-item-list").append(t.new_item),this.refreshDom(),this.unblockItems()},this.onRemoveItem=function(t){var i=h(t.target).parents(".shipment-item"),e=i.data("id");return 0<i.length&&this.removeItem(e),!1},this.blockItems=function(){this.getShipmentContent().find(".shipment-items").block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},this.block=function(){this.getShipment().block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},this.unblockItems=function(){this.getShipmentContent().find(".shipment-items").unblock()},this.unblock=function(){this.getShipment().unblock()},this.removeItem=function(t){this.getShipment().find('.shipment-item[data-id="'+t+'"]');var i={action:"woocommerce_gzd_remove_shipment_item",shipment_id:this.getId(),item_id:t};this.blockItems(),germanized.admin.shipments.doAjax(i,this.onRemoveItemSuccess.bind(this))},this.onRemoveItemSuccess=function(t){var i=this.getShipment().find('.shipment-item[data-id="'+t.item_id+'"]');0<i.length&&i.slideUp(150,function(){h(this).remove()}),this.unblockItems()},this.getId=function(){return this.vars.id},this.backbone={onAddItemSuccess:function(t){$select=h("select#wc-gzd-shipment-add-items-select"),$quantity=h("input#wc-gzd-shipment-add-items-quantity"),$quantity.val(1),h.each(t.items,function(t,i){$select.append('<option value="'+t+'">'+i.name+"</option>"),$quantity.data("max-quantity-"+t,i.max_quantity)}),h(".wc-backbone-modal-content article").unblock(),h(document.body).on("change","input#wc-gzd-shipment-add-items-quantity",function(){var t=$select.val(),i=h(this).val();if($quantity.data("max-quantity-"+t)){var e=$quantity.data("max-quantity-"+t);e<i&&$quantity.val(e)}})},onAddReturnSuccess:function(t){h("#wc-gzd-return-shipment-items").html(t.html),h(".wc-backbone-modal-content article").unblock(),h(document.body).on("change","input.wc-gzd-shipment-add-return-item-quantity",function(){var t=$select.val(),i=h(this).val();if($quantity.data("max-quantity-"+t)){var e=$quantity.data("max-quantity-"+t);e<i&&$quantity.val(e)}})},init:function(t,i){var e=this.getId();return"wc-gzd-modal-add-shipment-item-"+e===i?(h(".wc-backbone-modal-content article").block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),germanized.admin.shipments.doAjax({action:"woocommerce_gzd_get_shipment_available_items",shipment_id:e},this.backbone.onAddItemSuccess.bind(this)),!1):"wc-gzd-modal-add-shipment-return-"+e===i?(h(".wc-backbone-modal-content article").block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),germanized.admin.shipments.doAjax({action:"woocommerce_gzd_get_shipment_available_return_items",shipment_id:e},this.backbone.onAddReturnSuccess.bind(this)),!1):void 0},response:function(t,i,e){var n=this.getId();"wc-gzd-modal-add-shipment-item-"+n===i?this.addItem(e.item_id,e.item_qty):"wc-gzd-modal-add-shipment-return-"+n===i&&this.addReturn(e)}},this.construct(t)}}(jQuery,window.germanized.admin);
1
+ window.germanized=window.germanized||{},window.germanized.admin=window.germanized.admin||{},function(h){h.GermanizedShipment=function(t){this.vars={$shipment:!1,params:{},id:"",isEditable:!0,isReturnable:!0,needsItems:!0},(this.root=this).construct=function(t){this.vars.id=t,this.vars.params=germanized.admin.shipments.getParams(),this.refreshDom(),h(document.body).on("wc_backbone_modal_loaded",this.backbone.init.bind(this)).on("wc_backbone_modal_response",this.backbone.response.bind(this))},this.refreshDom=function(){this.vars.$shipment=h("#order-shipments-list").find("#shipment-"+this.getId()),this.setNeedsItems(this.vars.$shipment.hasClass("needs-items")),this.setIsEditable(this.vars.$shipment.hasClass("is-editable")),this.setIsReturnable(this.vars.$shipment.hasClass("is-returnable")),this.onChangeProvider(),h("#shipment-"+this.vars.id+" #shipment-items-"+this.vars.id).off(),h("#shipment-"+this.vars.id+" #shipment-footer-"+this.vars.id).off(),h("#shipment-"+this.vars.id+" #shipment-shipping-provider-"+this.vars.id).off(),h("#shipment-"+this.vars.id+" .wc-gzd-shipment-label").off(),h("#shipment-"+this.vars.id+" #shipment-shipping-provider-"+this.vars.id).on("change",this.onChangeProvider.bind(this)),h("#shipment-"+this.vars.id+" #shipment-items-"+this.vars.id).on("change",".item-quantity",this.onChangeQuantity.bind(this)).on("click","a.remove-shipment-item",this.onRemoveItem.bind(this)).on("click","a.add-shipment-item",this.onAddItem.bind(this)).on("click","a.sync-shipment-items",this.onSyncItems.bind(this)),h("#shipment-"+this.vars.id+" #shipment-footer-"+this.vars.id).on("click","a.add-shipment-return",this.onAddReturn.bind(this)),h("#shipment-"+this.vars.id+" .wc-gzd-shipment-label").on("click",".create-shipment-label:not(.disabled)",this.onCreateLabel.bind(this)).on("click",".send-shipment-label",this.onSendLabel.bind(this)).on("click",".remove-shipment-label",this.onRemoveLabel.bind(this))},this.onSendLabel=function(){var t={action:"woocommerce_gzd_send_shipment_return_label_email",shipment_id:this.getId(),security:germanized.admin.shipments.getParams().send_label_nonce};return this.block(),germanized.admin.shipments.doAjax(t,this.unblock.bind(this),this.unblock.bind(this)),!1},this.onRemoveLabel=function(){return window.confirm(germanized.admin.shipments.getParams().i18n_remove_label_notice)&&this.removeLabel(),!1},this.removeLabel=function(){var t={action:"woocommerce_gzd_remove_shipment_label",shipment_id:this.getId(),security:germanized.admin.shipments.getParams().remove_label_nonce};this.block(),germanized.admin.shipments.doAjax(t,this.unblock.bind(this),this.unblock.bind(this))},this.onCreateLabel=function(){return this.getShipment().WCBackboneModal({template:"wc-gzd-modal-create-shipment-label-"+this.getId()}),!1},this.onChangeProvider=function(){var t=this.getShipment(),i=t.find("#shipment-shipping-provider-"+this.getId()),e=i.find("option:selected");t.find(".show-if-provider").hide(),0<e.length&&e.data("is-manual")&&"yes"===e.data("is-manual")&&t.find(".show-if-provider-is-manual").show(),t.find(".show-if-provider-"+i.val()).show()},this.getShipment=function(){return this.vars.$shipment},this.getShipmentContent=function(){return this.vars.$shipment.find("> .shipment-content-wrapper > .shipment-content > .columns > div:not(.shipment-returns-data)")},this.onChangeQuantity=function(t){var i=h(t.target),e=i.parents(".shipment-item").data("id"),n=i.val();this.blockItems();var s={action:"woocommerce_gzd_limit_shipment_item_quantity",shipment_id:this.getId(),item_id:e,quantity:n};germanized.admin.shipments.doAjax(s,this.onChangeQuantitySuccess.bind(this))},this.onChangeQuantitySuccess=function(t){var i=this.getShipment().find('.shipment-item[data-id="'+t.item_id+'"]'),e=i.find(".item-quantity").val(),n=t.max_quantity;n<e?i.find(".item-quantity").val(n):e<=0&&i.find(".item-quantity").val(1),this.refreshDom(),this.unblockItems()},this.setWeight=function(t){this.getShipment().find("#shipment-weight-"+this.getId()).attr("placeholder",t)},this.setLength=function(t){this.getShipment().find("#shipment-length-"+this.getId()).attr("placeholder",t)},this.setWidth=function(t){this.getShipment().find("#shipment-width-"+this.getId()).attr("placeholder",t)},this.setHeight=function(t){this.getShipment().find("#shipment-height-"+this.getId()).attr("placeholder",t)},this.setIsReturnable=function(t){"boolean"!=typeof t&&(t=!0),this.vars.isReturnable=!0===t,this.vars.isReturnable?this.getShipment().addClass("is-returnable"):this.getShipment().removeClass("is-returnable")},this.setIsEditable=function(t){var e=this;"boolean"!=typeof t&&(t=!0),this.vars.isEditable=!0===t,this.vars.isEditable?(this.getShipment().addClass("is-editable"),this.getShipment().removeClass("is-locked"),this.getShipmentContent().find(".remove-shipment-item ").show(),this.getShipmentContent().find(".shipment-item-actions").show(),this.getShipmentContent().find(":input:not([type=hidden])").prop("disabled",!1)):(this.getShipment().removeClass("is-editable"),this.getShipment().addClass("is-locked"),this.getShipmentContent().find(".remove-shipment-item ").hide(),this.getShipmentContent().find(".shipment-item-actions").hide(),this.getShipmentContent().find(":input:not([type=hidden])").prop("disabled",!0),h.each(this.vars.params.shipment_locked_excluded_fields,function(t,i){e.getShipmentContent().find(":input[name^=shipment_"+i+"]").prop("disabled",!1)}))},this.setNeedsItems=function(t){"boolean"!=typeof t&&(t=!0),this.vars.needsItems=!0===t,this.vars.needsItems?this.getShipment().addClass("needs-items"):this.getShipment().removeClass("needs-items")},this.onSyncItems=function(){return this.syncItems(),!1},this.syncItems=function(){this.blockItems();var t={action:"woocommerce_gzd_sync_shipment_items",shipment_id:this.getId()};germanized.admin.shipments.doAjax(t,this.onSyncItemsSuccess.bind(this),this.onSyncItemsError.bind(this))},this.onSyncItemsSuccess=function(t){this.unblockItems()},this.onSyncItemsError=function(t){this.unblockItems()},this.onAddItem=function(){return this.getShipment().WCBackboneModal({template:"wc-gzd-modal-add-shipment-item-"+this.getId()}),!1},this.onAddReturn=function(){return this.getShipment().WCBackboneModal({template:"wc-gzd-modal-add-shipment-return-"+this.getId()}),!1},this.addItem=function(t,i){i=i||1,this.blockItems();var e={action:"woocommerce_gzd_add_shipment_item",shipment_id:this.getId(),original_item_id:t,quantity:i};germanized.admin.shipments.doAjax(e,this.onAddItemSuccess.bind(this),this.onAddItemError.bind(this))},this.addReturn=function(t){this.block();var i={action:"woocommerce_gzd_add_shipment_return",shipment_id:this.getId()};h.extend(i,t),germanized.admin.shipments.doAjax(i,this.onAddReturnSuccess.bind(this),this.onAddReturnError.bind(this))},this.onAddReturnSuccess=function(t){this.getShipment().find(".shipment-return-list").append(t.new_shipment),this.refreshDom(),germanized.admin.shipments.initShipments(),this.unblock()},this.onAddReturnError=function(t){this.unblock()},this.onAddItemError=function(t){this.unblockItems()},this.onAddItemSuccess=function(t){this.getShipmentContent().find(".shipment-item-list").append(t.new_item),this.refreshDom(),this.unblockItems()},this.onRemoveItem=function(t){var i=h(t.target).parents(".shipment-item"),e=i.data("id");return 0<i.length&&this.removeItem(e),!1},this.blockItems=function(){this.getShipmentContent().find(".shipment-items").block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},this.block=function(){this.getShipment().block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},this.unblockItems=function(){this.getShipmentContent().find(".shipment-items").unblock()},this.unblock=function(){this.getShipment().unblock()},this.removeItem=function(t){this.getShipment().find('.shipment-item[data-id="'+t+'"]');var i={action:"woocommerce_gzd_remove_shipment_item",shipment_id:this.getId(),item_id:t};this.blockItems(),germanized.admin.shipments.doAjax(i,this.onRemoveItemSuccess.bind(this))},this.onRemoveItemSuccess=function(t){var i=this.getShipment().find('.shipment-item[data-id="'+t.item_id+'"]');0<i.length&&i.slideUp(150,function(){h(this).remove()}),this.unblockItems()},this.getId=function(){return this.vars.id},this.backbone={onAddItemSuccess:function(t){$select=h("select#wc-gzd-shipment-add-items-select"),$quantity=h("input#wc-gzd-shipment-add-items-quantity"),$quantity.val(1),h.each(t.items,function(t,i){$select.append('<option value="'+t+'">'+i.name+"</option>"),$quantity.data("max-quantity-"+t,i.max_quantity)}),h(".wc-backbone-modal-content article").unblock(),h(document.body).on("change","input#wc-gzd-shipment-add-items-quantity",function(){var t=$select.val(),i=h(this).val();if($quantity.data("max-quantity-"+t)){var e=$quantity.data("max-quantity-"+t);e<i&&$quantity.val(e)}})},onAddReturnSuccess:function(t){h("#wc-gzd-return-shipment-items").html(t.html),h(".wc-backbone-modal-content article").unblock(),h(document.body).on("change","input.wc-gzd-shipment-add-return-item-quantity",function(){var t=$select.val(),i=h(this).val();if($quantity.data("max-quantity-"+t)){var e=$quantity.data("max-quantity-"+t);e<i&&$quantity.val(e)}})},init:function(t,i){var e=this.getId();return"wc-gzd-modal-add-shipment-item-"+e===i?(h(".wc-backbone-modal-content article").block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),germanized.admin.shipments.doAjax({action:"woocommerce_gzd_get_shipment_available_items",shipment_id:e},this.backbone.onAddItemSuccess.bind(this)),!1):"wc-gzd-modal-add-shipment-return-"+e===i?(h(".wc-backbone-modal-content article").block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),germanized.admin.shipments.doAjax({action:"woocommerce_gzd_get_shipment_available_return_items",shipment_id:e},this.backbone.onAddReturnSuccess.bind(this)),!1):void 0},response:function(t,i,e){var n=this.getId();"wc-gzd-modal-add-shipment-item-"+n===i?this.addItem(e.item_id,e.item_qty):"wc-gzd-modal-add-shipment-return-"+n===i&&this.addReturn(e)}},this.construct(t)}}(jQuery,window.germanized.admin);
packages/woocommerce-germanized-shipments/assets/js/admin-shipments-table.js CHANGED
@@ -17,7 +17,8 @@ window.germanized.admin = window.germanized.admin || {};
17
  self.initEnhanced();
18
 
19
  $( document )
20
- .on( 'click', '#doaction, #doaction2', self.onBulkSubmit );
 
21
 
22
  $( document.body ).on( 'init_tooltips', function() {
23
  self.initTipTip();
@@ -26,6 +27,17 @@ window.germanized.admin = window.germanized.admin || {};
26
  self.initTipTip();
27
  },
28
 
 
 
 
 
 
 
 
 
 
 
 
29
  onBulkSubmit: function() {
30
  var self = germanized.admin.shipments_table,
31
  action = $( this ).parents( '.bulkactions' ).find( 'select[name=action]' ).val(),
17
  self.initEnhanced();
18
 
19
  $( document )
20
+ .on( 'click', '#doaction, #doaction2', self.onBulkSubmit )
21
+ .on( 'click', '.wc-gzd-shipment-action-button-generate-label', self.onCreateLabel );
22
 
23
  $( document.body ).on( 'init_tooltips', function() {
24
  self.initTipTip();
27
  self.initTipTip();
28
  },
29
 
30
+ onCreateLabel: function() {
31
+ var self = germanized.admin.shipments_table,
32
+ shipmentId = $( this ).parents( 'tr' ).find( 'th.check-column input' ).val();
33
+
34
+ $( this ).parents( 'td' ).WCBackboneModal({
35
+ template: 'wc-gzd-modal-create-shipment-label-' + shipmentId
36
+ });
37
+
38
+ return false;
39
+ },
40
+
41
  onBulkSubmit: function() {
42
  var self = germanized.admin.shipments_table,
43
  action = $( this ).parents( '.bulkactions' ).find( 'select[name=action]' ).val(),
packages/woocommerce-germanized-shipments/assets/js/admin-shipments-table.min.js CHANGED
@@ -1 +1 @@
1
- window.germanized=window.germanized||{},window.germanized.admin=window.germanized.admin||{},function(s){window.germanized.admin.shipments_table={params:{},init:function(){var n=germanized.admin.shipments_table;n.params=wc_gzd_admin_shipments_table_params,n.initEnhanced(),s(document).on("click","#doaction, #doaction2",n.onBulkSubmit),s(document.body).on("init_tooltips",function(){n.initTipTip()}),n.initTipTip()},onBulkSubmit:function(){var n=germanized.admin.shipments_table,t=s(this).parents(".bulkactions").find("select[name=action]").val(),e=s(this).parents("#posts-filter").find("input.shipment_type").val(),a=[];if(s("#posts-filter").find('input[name="shipment[]"]:checked').each(function(){a.push(s(this).val())}),n.params.bulk_actions.hasOwnProperty(t)&&0<a.length){var i=n.params.bulk_actions[t];return s(".bulk-action-wrapper").find(".bulk-title").text(i.title),s("#posts-filter").addClass("bulk-action-processing"),s("#posts-filter").find(".bulkactions button").prop("disabled",!0),n.handleBulkAction(t,1,a,e),!1}},handleBulkAction:function(t,n,e,a){var i=germanized.admin.shipments_table,o=i.params.bulk_actions[t];s.ajax({type:"POST",url:i.params.ajax_url,data:{action:"woocommerce_gzd_shipments_bulk_action_handle",bulk_action:t,step:n,type:a,ids:e,security:o.nonce},dataType:"json",success:function(n){n.success&&("done"===n.data.step?(s(".bulk-action-wrapper").find(".woocommerce-shimpents-bulk-progress").val(n.data.percentage),window.location=n.data.url,setTimeout(function(){s("#posts-filter").removeClass("bulk-action-processing"),s("#posts-filter").find(".bulkactions button").prop("disabled",!1)},2e3)):(s(".bulk-action-wrapper").find(".woocommerce-shimpents-bulk-progress").val(n.data.percentage),i.handleBulkAction(t,parseInt(n.data.step,10),n.data.ids,n.data.type)))}}).fail(function(n){window.console.log(n)})},initTipTip:function(){s(".column-actions .wc-gzd-shipment-action-button").tipTip({fadeIn:50,fadeOut:50,delay:200})},initEnhanced:function(){try{s(document.body).on("wc-enhanced-select-init",function(){s(":input.wc-gzd-order-search").filter(":not(.enhanced)").each(function(){var n={allowClear:!!s(this).data("allow_clear"),placeholder:s(this).data("placeholder"),minimumInputLength:s(this).data("minimum_input_length")?s(this).data("minimum_input_length"):"1",escapeMarkup:function(n){return n},ajax:{url:wc_gzd_admin_shipments_table_params.ajax_url,dataType:"json",delay:1e3,data:function(n){return{term:n.term,action:"woocommerce_gzd_json_search_orders",security:wc_gzd_admin_shipments_table_params.search_orders_nonce,exclude:s(this).data("exclude")}},processResults:function(n){var e=[];return n&&s.each(n,function(n,t){e.push({id:n,text:t})}),{results:e}},cache:!0}};s(this).selectWoo(n).addClass("enhanced")})}),s("html").on("click",function(n){this===n.target&&s(":input.wc-gzd-order-search").filter(".select2-hidden-accessible").selectWoo("close")})}catch(n){window.console.log(n)}}},s(document).ready(function(){germanized.admin.shipments_table.init()})}(jQuery);
1
+ window.germanized=window.germanized||{},window.germanized.admin=window.germanized.admin||{},function(s){window.germanized.admin.shipments_table={params:{},init:function(){var n=germanized.admin.shipments_table;n.params=wc_gzd_admin_shipments_table_params,n.initEnhanced(),s(document).on("click","#doaction, #doaction2",n.onBulkSubmit).on("click",".wc-gzd-shipment-action-button-generate-label",n.onCreateLabel),s(document.body).on("init_tooltips",function(){n.initTipTip()}),n.initTipTip()},onCreateLabel:function(){germanized.admin.shipments_table;var n=s(this).parents("tr").find("th.check-column input").val();return s(this).parents("td").WCBackboneModal({template:"wc-gzd-modal-create-shipment-label-"+n}),!1},onBulkSubmit:function(){var n=germanized.admin.shipments_table,t=s(this).parents(".bulkactions").find("select[name=action]").val(),e=s(this).parents("#posts-filter").find("input.shipment_type").val(),a=[];if(s("#posts-filter").find('input[name="shipment[]"]:checked').each(function(){a.push(s(this).val())}),n.params.bulk_actions.hasOwnProperty(t)&&0<a.length){var i=n.params.bulk_actions[t];return s(".bulk-action-wrapper").find(".bulk-title").text(i.title),s("#posts-filter").addClass("bulk-action-processing"),s("#posts-filter").find(".bulkactions button").prop("disabled",!0),n.handleBulkAction(t,1,a,e),!1}},handleBulkAction:function(t,n,e,a){var i=germanized.admin.shipments_table,o=i.params.bulk_actions[t];s.ajax({type:"POST",url:i.params.ajax_url,data:{action:"woocommerce_gzd_shipments_bulk_action_handle",bulk_action:t,step:n,type:a,ids:e,security:o.nonce},dataType:"json",success:function(n){n.success&&("done"===n.data.step?(s(".bulk-action-wrapper").find(".woocommerce-shimpents-bulk-progress").val(n.data.percentage),window.location=n.data.url,setTimeout(function(){s("#posts-filter").removeClass("bulk-action-processing"),s("#posts-filter").find(".bulkactions button").prop("disabled",!1)},2e3)):(s(".bulk-action-wrapper").find(".woocommerce-shimpents-bulk-progress").val(n.data.percentage),i.handleBulkAction(t,parseInt(n.data.step,10),n.data.ids,n.data.type)))}}).fail(function(n){window.console.log(n)})},initTipTip:function(){s(".column-actions .wc-gzd-shipment-action-button").tipTip({fadeIn:50,fadeOut:50,delay:200})},initEnhanced:function(){try{s(document.body).on("wc-enhanced-select-init",function(){s(":input.wc-gzd-order-search").filter(":not(.enhanced)").each(function(){var n={allowClear:!!s(this).data("allow_clear"),placeholder:s(this).data("placeholder"),minimumInputLength:s(this).data("minimum_input_length")?s(this).data("minimum_input_length"):"1",escapeMarkup:function(n){return n},ajax:{url:wc_gzd_admin_shipments_table_params.ajax_url,dataType:"json",delay:1e3,data:function(n){return{term:n.term,action:"woocommerce_gzd_json_search_orders",security:wc_gzd_admin_shipments_table_params.search_orders_nonce,exclude:s(this).data("exclude")}},processResults:function(n){var e=[];return n&&s.each(n,function(n,t){e.push({id:n,text:t})}),{results:e}},cache:!0}};s(this).selectWoo(n).addClass("enhanced")})}),s("html").on("click",function(n){this===n.target&&s(":input.wc-gzd-order-search").filter(".select2-hidden-accessible").selectWoo("close")})}catch(n){window.console.log(n)}}},s(document).ready(function(){germanized.admin.shipments_table.init()})}(jQuery);
packages/woocommerce-germanized-shipments/assets/js/admin-shipments.js CHANGED
@@ -111,6 +111,16 @@ window.germanized.admin = window.germanized.admin || {};
111
  self.doAjax( params, self.onSaveSuccess );
112
  },
113
 
 
 
 
 
 
 
 
 
 
 
114
  onSaveSuccess: function( data ) {
115
  var self = germanized.admin.shipments;
116
 
@@ -234,6 +244,10 @@ window.germanized.admin = window.germanized.admin || {};
234
  }
235
  });
236
 
 
 
 
 
237
  } else {
238
  cError.apply( $wrapper, [ data ] );
239
  self.unblock();
@@ -381,7 +395,11 @@ window.germanized.admin = window.germanized.admin || {};
381
  },
382
 
383
  setNeedsSaving: function( needsSaving ) {
384
- var self = germanized.admin.shipments;
 
 
 
 
385
 
386
  if ( typeof needsSaving !== "boolean" ) {
387
  needsSaving = true;
@@ -395,9 +413,39 @@ window.germanized.admin = window.germanized.admin || {};
395
  self.$wrapper.find( '#order-shipments-save' ).hide();
396
  }
397
 
 
 
 
 
 
 
 
 
398
  self.hideOrShowFooter();
399
 
400
  $( document.body ).trigger( 'woocommerce_gzd_shipments_needs_saving', [ self.needsSaving, self.getActiveShipmentId() ] );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
401
  },
402
 
403
  setNeedsShipments: function( needsShipments ) {
@@ -470,11 +518,7 @@ window.germanized.admin = window.germanized.admin || {};
470
  self.$wrapper.find( '.order-shipment' ).each( function() {
471
  var id = $( this ).data( 'shipment' );
472
 
473
- if ( ! self.shipments.hasOwnProperty( id ) ) {
474
- self.shipments[ id ] = new $.GermanizedShipment( id );
475
- } else {
476
- self.shipments[ id ].refreshDom();
477
- }
478
  });
479
  },
480
 
@@ -519,6 +563,12 @@ window.germanized.admin = window.germanized.admin || {};
519
  'fadeOut': 50,
520
  'delay': 200
521
  });
 
 
 
 
 
 
522
  }
523
  };
524
 
111
  self.doAjax( params, self.onSaveSuccess );
112
  },
113
 
114
+ initShipment: function( id ) {
115
+ var self = germanized.admin.shipments;
116
+
117
+ if ( ! self.shipments.hasOwnProperty( id ) ) {
118
+ self.shipments[ id ] = new $.GermanizedShipment( id );
119
+ } else {
120
+ self.shipments[ id ].refreshDom();
121
+ }
122
+ },
123
+
124
  onSaveSuccess: function( data ) {
125
  var self = germanized.admin.shipments;
126
 
244
  }
245
  });
246
 
247
+ if ( data.hasOwnProperty( 'needs_refresh' ) && data.hasOwnProperty( 'shipment_id' ) ) {
248
+ self.initShipment( data.shipment_id );
249
+ }
250
+
251
  } else {
252
  cError.apply( $wrapper, [ data ] );
253
  self.unblock();
395
  },
396
 
397
  setNeedsSaving: function( needsSaving ) {
398
+ var self = germanized.admin.shipments,
399
+ $shipment = self.getShipment( self.getActiveShipmentId() ).getShipment();
400
+
401
+ console.log( needsSaving );
402
+ console.log( $( this ) );
403
 
404
  if ( typeof needsSaving !== "boolean" ) {
405
  needsSaving = true;
413
  self.$wrapper.find( '#order-shipments-save' ).hide();
414
  }
415
 
416
+ console.log(self.needsSaving);
417
+
418
+ if ( self.needsSaving ) {
419
+ self.disableCreateLabel( $shipment );
420
+ } else {
421
+ self.enableCreateLabel( $shipment );
422
+ }
423
+
424
  self.hideOrShowFooter();
425
 
426
  $( document.body ).trigger( 'woocommerce_gzd_shipments_needs_saving', [ self.needsSaving, self.getActiveShipmentId() ] );
427
+
428
+ self.initTiptip();
429
+ },
430
+
431
+ disableCreateLabel: function( $shipment ) {
432
+ var self = germanized.admin.shipments,
433
+ $button = $shipment.find( '.create-shipment-label' );
434
+
435
+ if ( $button.length > 0 ) {
436
+ $button.addClass( 'disabled button-disabled' );
437
+ $button.prop( 'title', self.params.i18n_create_label_disabled );
438
+ }
439
+ },
440
+
441
+ enableCreateLabel: function( $shipment ) {
442
+ var self = germanized.admin.shipments,
443
+ $button = $shipment.find( '.create-shipment-label' );
444
+
445
+ if ( $button.length > 0 ) {
446
+ $button.removeClass( 'disabled button-disabled' );
447
+ $button.prop( 'title', self.params.i18n_create_label_enabled );
448
+ }
449
  },
450
 
451
  setNeedsShipments: function( needsShipments ) {
518
  self.$wrapper.find( '.order-shipment' ).each( function() {
519
  var id = $( this ).data( 'shipment' );
520
 
521
+ self.initShipment( id );
 
 
 
 
522
  });
523
  },
524
 
563
  'fadeOut': 50,
564
  'delay': 200
565
  });
566
+
567
+ self.$wrapper.find( '.create-shipment-label' ).tipTip( {
568
+ 'fadeIn': 50,
569
+ 'fadeOut': 50,
570
+ 'delay': 200
571
+ } );
572
  }
573
  };
574
 
packages/woocommerce-germanized-shipments/assets/js/admin-shipments.min.js CHANGED
@@ -1 +1 @@
1
- window.germanized=window.germanized||{},window.germanized.admin=window.germanized.admin||{},function(m){window.germanized.admin.shipments={params:{},shipments:{},$wrapper:!1,needsSaving:!1,needsShipments:!0,init:function(){var e=germanized.admin.shipments;e.params=wc_gzd_admin_shipments_params,e.$wrapper=m("#panel-order-shipments"),e.needsShipments=e.$wrapper.find("#order-shipment-add").is(":visible"),e.initShipments(),m(document).ajaxComplete(e.onAjaxComplete),m(document).on("click","#order-shipments-list .shipment-header",e.onToggleShipment).on("change","#order-shipments-list :input:visible",e.setNeedsSaving).on("click","#panel-order-shipments #order-shipment-add",e.onAddShipment).on("click","#panel-order-shipments .remove-shipment",e.onRemoveShipment).on("click","#panel-order-shipments button#order-shipments-save",e.onSave).on("click","#panel-order-shipments .notice-dismiss",e.onRemoveNotice)},onAjaxComplete:function(e,n,i){var t=germanized.admin.shipments;if(null!=n&&i.hasOwnProperty("data")){var s=i.data,r=!1;try{r=JSON.parse('{"'+s.replace(/&/g,'","').replace(/=/g,'":"')+'"}',function(e,n){return""===e?n:decodeURIComponent(n)})}catch(e){r=!1}if(r&&r.hasOwnProperty("action")){var a=r.action;"woocommerce_save_order_items"!==a&&"woocommerce_remove_order_item"!==a&&"woocommerce_add_order_item"!==a&&"woocommerce_delete_refund"!==a||t.syncItemQuantities()}}},syncItemQuantities:function(){var e=germanized.admin.shipments;e.block();var n={action:"woocommerce_gzd_validate_shipment_item_quantities",active:e.getActiveShipmentId()};e.doAjax(n,e.onSyncSuccess)},onSyncSuccess:function(e){var n=germanized.admin.shipments;n.unblock(),n.initShipments(),n.initTiptip()},onSave:function(e){var n=germanized.admin.shipments;return e.preventDefault(),n.save(),!1},save:function(){var e=germanized.admin.shipments;e.block();var n={action:"woocommerce_gzd_save_shipments",active:e.getActiveShipmentId()};e.doAjax(n,e.onSaveSuccess)},onSaveSuccess:function(e){var n=germanized.admin.shipments;n.initShipments(),n.setNeedsSaving(!1),n.unblock(),n.initTiptip()},getActiveShipmentId:function(){var e=germanized.admin.shipments.$wrapper.find(".order-shipment.active");return 0<e.length&&e.data("shipment")},block:function(){germanized.admin.shipments.$wrapper.block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},unblock:function(){germanized.admin.shipments.$wrapper.unblock()},getData:function(e){var n=germanized.admin.shipments,i={};return e=e||{},m.each(n.$wrapper.find(":input[name]").serializeArray(),function(e,n){-1!==n.name.indexOf("[]")?(n.name=n.name.replace("[]",""),i[n.name]=m.makeArray(i[n.name]),i[n.name].push(n.value)):i[n.name]=n.value}),m.extend(i,e),i},doAjax:function(e,n,t){var s=germanized.admin.shipments,i=s.params.ajax_url,r=s.$wrapper,a=!0;r.find(".notice-wrapper").empty(),n=n||s.onAjaxSuccess,t=t||s.onAjaxError,e.hasOwnProperty("refresh_fragments")&&(a=e.refresh_fragments),e.hasOwnProperty("security")||(e.security=s.params.edit_shipments_nonce),e.hasOwnProperty("order_id")||(e.order_id=s.params.order_id),e=s.getData(e),m.ajax({type:"POST",url:i,data:e,success:function(e){if(e.success){a&&e.fragments&&m.each(e.fragments,function(e,n){m(e).replaceWith(n),m(e).unblock()}),n.apply(r,[e]),e.hasOwnProperty("order_needs_new_shipments")&&s.setNeedsShipments(e.order_needs_new_shipments);var i=e.hasOwnProperty("shipments")?e.shipments:{};m.each(s.getShipments(),function(e,n){i.hasOwnProperty(e)&&(n.setIsEditable(i[e].is_editable),n.setIsReturnable(i[e].is_returnable),n.setNeedsItems(i[e].needs_items),n.setWeight(i[e].weight),n.setLength(i[e].length),n.setWidth(i[e].width),n.setHeight(i[e].height))})}else t.apply(r,[e]),s.unblock(),e.hasOwnProperty("message")?s.addNotice(e.message,"error"):e.hasOwnProperty("messages")&&m.each(e.messages,function(e,n){s.addNotice(n,"error")})},error:function(e){t.apply(r,[e])},dataType:"json"})},onAjaxError:function(e){},onAjaxSuccess:function(e){},onRemoveNotice:function(){m(this).parents(".notice").slideUp(150,function(){m(this).remove()})},addNotice:function(e,n){germanized.admin.shipments.$wrapper.find(".notice-wrapper").append('<div class="notice is-dismissible notice-'+n+'"><p>'+e+'</p><button type="button" class="notice-dismiss"></button></div>')},getParams:function(){return germanized.admin.shipments.params},onRemoveShipment:function(){var e=germanized.admin.shipments,n=m(this).parents(".order-shipment").data("shipment");return window.confirm(e.getParams().i18n_remove_shipment_notice)&&e.removeShipment(n),!1},removeShipment:function(e){var n=germanized.admin.shipments,i={action:"woocommerce_gzd_remove_shipment",shipment_id:e};n.block(),n.doAjax(i,n.onRemoveShipmentSuccess,n.onRemoveShipmentError)},onRemoveShipmentSuccess:function(e){var n=germanized.admin.shipments,i=n.$wrapper.find("#shipment-"+e.shipment_id);0<i.length&&(i.hasClass("active")?i.find(".shipment-content-wrapper").slideUp(300,function(){i.removeClass("active"),i.remove()}):i.remove()),n.initShipments(),n.unblock()},onRemoveShipmentError:function(e){germanized.admin.shipments.unblock()},onAddShipment:function(){return germanized.admin.shipments.addShipment(),!1},addShipment:function(){var e=germanized.admin.shipments;e.block(),e.doAjax({action:"woocommerce_gzd_add_shipment"},e.onAddShipmentSuccess,e.onAddShipmentError)},onAddShipmentSuccess:function(e){var n=germanized.admin.shipments;0<n.$wrapper.find(".order-shipment.active").length?n.$wrapper.find(".order-shipment.active").find(".shipment-content-wrapper").slideUp(300,function(){n.$wrapper.find(".order-shipment.active").removeClass("active"),n.$wrapper.find("#order-shipments-list").append(e.new_shipment),n.initShipments(),n.initTiptip(),n.unblock()}):(n.$wrapper.find("#order-shipments-list").append(e.new_shipment),n.initShipments(),n.initTiptip(),n.unblock())},onAddShipmentError:function(e){},setNeedsSaving:function(e){var n=germanized.admin.shipments;"boolean"!=typeof e&&(e=!0),n.needsSaving=!0===e,n.needsSaving?n.$wrapper.find("#order-shipments-save").show():n.$wrapper.find("#order-shipments-save").hide(),n.hideOrShowFooter(),m(document.body).trigger("woocommerce_gzd_shipments_needs_saving",[n.needsSaving,n.getActiveShipmentId()])},setNeedsShipments:function(e){var n=germanized.admin.shipments;"boolean"!=typeof e&&(e=!0),n.needsShipments=!0===e,n.needsShipments?(n.$wrapper.addClass("needs-shipments"),n.$wrapper.find("#order-shipment-add").show()):(n.$wrapper.removeClass("needs-shipments"),n.$wrapper.find("#order-shipment-add").hide()),n.hideOrShowFooter()},hideOrShowFooter:function(){var e=germanized.admin.shipments;e.needsSaving||e.needsShipments?e.$wrapper.find(".panel-footer").slideDown(300):e.$wrapper.find(".panel-footer").slideUp(300)},onToggleShipment:function(){var e=germanized.admin.shipments,n=m(this).parents(".order-shipment:first"),i=n.hasClass("active");n.hasClass("shipment-return")?e.closeReturns(n.parents(".shipment-return-list")):e.closeShipments(),i||n.find("> .shipment-content-wrapper").slideDown(300,function(){n.addClass("active")})},closeReturns:function(e){germanized.admin.shipments;e.find(".order-shipment.active .shipment-content-wrapper").slideUp(300,function(){e.find(".order-shipment.active").removeClass("active")})},closeShipments:function(){var e=germanized.admin.shipments;e.$wrapper.find(".order-shipment.active .shipment-content-wrapper").slideUp(300,function(){e.$wrapper.find(".order-shipment.active").removeClass("active")})},initShipments:function(){var n=germanized.admin.shipments;n.$wrapper.find(".order-shipment").each(function(){var e=m(this).data("shipment");n.shipments.hasOwnProperty(e)?n.shipments[e].refreshDom():n.shipments[e]=new m.GermanizedShipment(e)})},getShipments:function(){return germanized.admin.shipments.shipments},getShipment:function(e){var n=germanized.admin.shipments.getShipments();return!!n.hasOwnProperty(e)&&n[e]},refresh:function(e){},refreshItems:function(e){},addItem:function(){},initTiptip:function(){var e=germanized.admin.shipments;m(document.body).trigger("init_tooltips"),e.$wrapper.find(".woocommerce-help-tip").tipTip({attribute:"data-tip",fadeIn:50,fadeOut:50,delay:200})}},m(document).ready(function(){germanized.admin.shipments.init()})}(jQuery);
1
+ window.germanized=window.germanized||{},window.germanized.admin=window.germanized.admin||{},function(m){window.germanized.admin.shipments={params:{},shipments:{},$wrapper:!1,needsSaving:!1,needsShipments:!0,init:function(){var e=germanized.admin.shipments;e.params=wc_gzd_admin_shipments_params,e.$wrapper=m("#panel-order-shipments"),e.needsShipments=e.$wrapper.find("#order-shipment-add").is(":visible"),e.initShipments(),m(document).ajaxComplete(e.onAjaxComplete),m(document).on("click","#order-shipments-list .shipment-header",e.onToggleShipment).on("change","#order-shipments-list :input:visible",e.setNeedsSaving).on("click","#panel-order-shipments #order-shipment-add",e.onAddShipment).on("click","#panel-order-shipments .remove-shipment",e.onRemoveShipment).on("click","#panel-order-shipments button#order-shipments-save",e.onSave).on("click","#panel-order-shipments .notice-dismiss",e.onRemoveNotice)},onAjaxComplete:function(e,n,i){var t=germanized.admin.shipments;if(null!=n&&i.hasOwnProperty("data")){var s=i.data,a=!1;try{a=JSON.parse('{"'+s.replace(/&/g,'","').replace(/=/g,'":"')+'"}',function(e,n){return""===e?n:decodeURIComponent(n)})}catch(e){a=!1}if(a&&a.hasOwnProperty("action")){var r=a.action;"woocommerce_save_order_items"!==r&&"woocommerce_remove_order_item"!==r&&"woocommerce_add_order_item"!==r&&"woocommerce_delete_refund"!==r||t.syncItemQuantities()}}},syncItemQuantities:function(){var e=germanized.admin.shipments;e.block();var n={action:"woocommerce_gzd_validate_shipment_item_quantities",active:e.getActiveShipmentId()};e.doAjax(n,e.onSyncSuccess)},onSyncSuccess:function(e){var n=germanized.admin.shipments;n.unblock(),n.initShipments(),n.initTiptip()},onSave:function(e){var n=germanized.admin.shipments;return e.preventDefault(),n.save(),!1},save:function(){var e=germanized.admin.shipments;e.block();var n={action:"woocommerce_gzd_save_shipments",active:e.getActiveShipmentId()};e.doAjax(n,e.onSaveSuccess)},initShipment:function(e){var n=germanized.admin.shipments;n.shipments.hasOwnProperty(e)?n.shipments[e].refreshDom():n.shipments[e]=new m.GermanizedShipment(e)},onSaveSuccess:function(e){var n=germanized.admin.shipments;n.initShipments(),n.setNeedsSaving(!1),n.unblock(),n.initTiptip()},getActiveShipmentId:function(){var e=germanized.admin.shipments.$wrapper.find(".order-shipment.active");return 0<e.length&&e.data("shipment")},block:function(){germanized.admin.shipments.$wrapper.block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},unblock:function(){germanized.admin.shipments.$wrapper.unblock()},getData:function(e){var n=germanized.admin.shipments,i={};return e=e||{},m.each(n.$wrapper.find(":input[name]").serializeArray(),function(e,n){-1!==n.name.indexOf("[]")?(n.name=n.name.replace("[]",""),i[n.name]=m.makeArray(i[n.name]),i[n.name].push(n.value)):i[n.name]=n.value}),m.extend(i,e),i},doAjax:function(e,n,t){var s=germanized.admin.shipments,i=s.params.ajax_url,a=s.$wrapper,r=!0;a.find(".notice-wrapper").empty(),n=n||s.onAjaxSuccess,t=t||s.onAjaxError,e.hasOwnProperty("refresh_fragments")&&(r=e.refresh_fragments),e.hasOwnProperty("security")||(e.security=s.params.edit_shipments_nonce),e.hasOwnProperty("order_id")||(e.order_id=s.params.order_id),e=s.getData(e),m.ajax({type:"POST",url:i,data:e,success:function(e){if(e.success){r&&e.fragments&&m.each(e.fragments,function(e,n){m(e).replaceWith(n),m(e).unblock()}),n.apply(a,[e]),e.hasOwnProperty("order_needs_new_shipments")&&s.setNeedsShipments(e.order_needs_new_shipments);var i=e.hasOwnProperty("shipments")?e.shipments:{};m.each(s.getShipments(),function(e,n){i.hasOwnProperty(e)&&(n.setIsEditable(i[e].is_editable),n.setIsReturnable(i[e].is_returnable),n.setNeedsItems(i[e].needs_items),n.setWeight(i[e].weight),n.setLength(i[e].length),n.setWidth(i[e].width),n.setHeight(i[e].height))}),e.hasOwnProperty("needs_refresh")&&e.hasOwnProperty("shipment_id")&&s.initShipment(e.shipment_id)}else t.apply(a,[e]),s.unblock(),e.hasOwnProperty("message")?s.addNotice(e.message,"error"):e.hasOwnProperty("messages")&&m.each(e.messages,function(e,n){s.addNotice(n,"error")})},error:function(e){t.apply(a,[e])},dataType:"json"})},onAjaxError:function(e){},onAjaxSuccess:function(e){},onRemoveNotice:function(){m(this).parents(".notice").slideUp(150,function(){m(this).remove()})},addNotice:function(e,n){germanized.admin.shipments.$wrapper.find(".notice-wrapper").append('<div class="notice is-dismissible notice-'+n+'"><p>'+e+'</p><button type="button" class="notice-dismiss"></button></div>')},getParams:function(){return germanized.admin.shipments.params},onRemoveShipment:function(){var e=germanized.admin.shipments,n=m(this).parents(".order-shipment").data("shipment");return window.confirm(e.getParams().i18n_remove_shipment_notice)&&e.removeShipment(n),!1},removeShipment:function(e){var n=germanized.admin.shipments,i={action:"woocommerce_gzd_remove_shipment",shipment_id:e};n.block(),n.doAjax(i,n.onRemoveShipmentSuccess,n.onRemoveShipmentError)},onRemoveShipmentSuccess:function(e){var n=germanized.admin.shipments,i=n.$wrapper.find("#shipment-"+e.shipment_id);0<i.length&&(i.hasClass("active")?i.find(".shipment-content-wrapper").slideUp(300,function(){i.removeClass("active"),i.remove()}):i.remove()),n.initShipments(),n.unblock()},onRemoveShipmentError:function(e){germanized.admin.shipments.unblock()},onAddShipment:function(){return germanized.admin.shipments.addShipment(),!1},addShipment:function(){var e=germanized.admin.shipments;e.block(),e.doAjax({action:"woocommerce_gzd_add_shipment"},e.onAddShipmentSuccess,e.onAddShipmentError)},onAddShipmentSuccess:function(e){var n=germanized.admin.shipments;0<n.$wrapper.find(".order-shipment.active").length?n.$wrapper.find(".order-shipment.active").find(".shipment-content-wrapper").slideUp(300,function(){n.$wrapper.find(".order-shipment.active").removeClass("active"),n.$wrapper.find("#order-shipments-list").append(e.new_shipment),n.initShipments(),n.initTiptip(),n.unblock()}):(n.$wrapper.find("#order-shipments-list").append(e.new_shipment),n.initShipments(),n.initTiptip(),n.unblock())},onAddShipmentError:function(e){},setNeedsSaving:function(e){var n=germanized.admin.shipments,i=n.getShipment(n.getActiveShipmentId()).getShipment();console.log(e),console.log(m(this)),"boolean"!=typeof e&&(e=!0),n.needsSaving=!0===e,n.needsSaving?n.$wrapper.find("#order-shipments-save").show():n.$wrapper.find("#order-shipments-save").hide(),console.log(n.needsSaving),n.needsSaving?n.disableCreateLabel(i):n.enableCreateLabel(i),n.hideOrShowFooter(),m(document.body).trigger("woocommerce_gzd_shipments_needs_saving",[n.needsSaving,n.getActiveShipmentId()]),n.initTiptip()},disableCreateLabel:function(e){var n=germanized.admin.shipments,i=e.find(".create-shipment-label");0<i.length&&(i.addClass("disabled button-disabled"),i.prop("title",n.params.i18n_create_label_disabled))},enableCreateLabel:function(e){var n=germanized.admin.shipments,i=e.find(".create-shipment-label");0<i.length&&(i.removeClass("disabled button-disabled"),i.prop("title",n.params.i18n_create_label_enabled))},setNeedsShipments:function(e){var n=germanized.admin.shipments;"boolean"!=typeof e&&(e=!0),n.needsShipments=!0===e,n.needsShipments?(n.$wrapper.addClass("needs-shipments"),n.$wrapper.find("#order-shipment-add").show()):(n.$wrapper.removeClass("needs-shipments"),n.$wrapper.find("#order-shipment-add").hide()),n.hideOrShowFooter()},hideOrShowFooter:function(){var e=germanized.admin.shipments;e.needsSaving||e.needsShipments?e.$wrapper.find(".panel-footer").slideDown(300):e.$wrapper.find(".panel-footer").slideUp(300)},onToggleShipment:function(){var e=germanized.admin.shipments,n=m(this).parents(".order-shipment:first"),i=n.hasClass("active");n.hasClass("shipment-return")?e.closeReturns(n.parents(".shipment-return-list")):e.closeShipments(),i||n.find("> .shipment-content-wrapper").slideDown(300,function(){n.addClass("active")})},closeReturns:function(e){germanized.admin.shipments;e.find(".order-shipment.active .shipment-content-wrapper").slideUp(300,function(){e.find(".order-shipment.active").removeClass("active")})},closeShipments:function(){var e=germanized.admin.shipments;e.$wrapper.find(".order-shipment.active .shipment-content-wrapper").slideUp(300,function(){e.$wrapper.find(".order-shipment.active").removeClass("active")})},initShipments:function(){var n=germanized.admin.shipments;n.$wrapper.find(".order-shipment").each(function(){var e=m(this).data("shipment");n.initShipment(e)})},getShipments:function(){return germanized.admin.shipments.shipments},getShipment:function(e){var n=germanized.admin.shipments.getShipments();return!!n.hasOwnProperty(e)&&n[e]},refresh:function(e){},refreshItems:function(e){},addItem:function(){},initTiptip:function(){var e=germanized.admin.shipments;m(document.body).trigger("init_tooltips"),e.$wrapper.find(".woocommerce-help-tip").tipTip({attribute:"data-tip",fadeIn:50,fadeOut:50,delay:200}),e.$wrapper.find(".create-shipment-label").tipTip({fadeIn:50,fadeOut:50,delay:200})}},m(document).ready(function(){germanized.admin.shipments.init()})}(jQuery);
packages/woocommerce-germanized-shipments/assets/js/admin-shipping-provider-method.js ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ window.germanized = window.germanized || {};
2
+ window.germanized.admin = window.germanized.admin || {};
3
+
4
+ ( function( $, admin ) {
5
+
6
+ /**
7
+ * Core
8
+ */
9
+ admin.shipping_provider_method = {
10
+
11
+ params: {},
12
+ currentProvider: '',
13
+
14
+ init: function () {
15
+ var self = germanized.admin.shipping_provider_method;
16
+
17
+ $( document ).on( 'change', 'select[id$=shipping_provider]', self.showOrHideAll );
18
+ $( document.body ).on( 'wc_backbone_modal_loaded', self.onShippingMethodOpen );
19
+ },
20
+
21
+ onShippingMethodOpen: function( e, t ) {
22
+ if ( 'wc-modal-shipping-method-settings' === t ) {
23
+ if ( $( 'select[id$=shipping_provider]' ).length > 0 ) {
24
+ $( 'select[id$=shipping_provider]' ).trigger( 'change' );
25
+ }
26
+ }
27
+ },
28
+
29
+ showOrHideAll: function() {
30
+ var self = germanized.admin.shipping_provider_method,
31
+ $select = $( this ),
32
+ $providers = $select.find( 'option' ),
33
+ $form = $select.parents( 'form' );
34
+
35
+ self.currentProvider = $select.val();
36
+
37
+ $providers.each( function() {
38
+ var $provider = $( this ),
39
+ provider_setting_prefix = $provider.val();
40
+
41
+ if ( provider_setting_prefix.length > 0 ) {
42
+ $form.find( 'table.form-table' ).each( function() {
43
+ if ( $( this ).find( 'input[id*=_' + provider_setting_prefix + '_]' ).length > 0 ) {
44
+ self.hideTable( $( this ) );
45
+ }
46
+ });
47
+ }
48
+ });
49
+
50
+ if ( self.currentProvider.length > 0 ) {
51
+ $form.find( 'table.form-table' ).each( function() {
52
+ if ( $( this ).find( 'input[id*=_' + self.currentProvider + '_]' ).length > 0 ) {
53
+ self.showTable( $( this ) );
54
+ }
55
+ });
56
+ }
57
+ },
58
+
59
+ hideTable: function( $table ) {
60
+
61
+ if ( $table.find( 'select[id$=shipping_provider]' ).length > 0 ) {
62
+ return false;
63
+ }
64
+
65
+ $table.prevUntil( 'table.form-table' ).hide();
66
+ $table.hide();
67
+ },
68
+
69
+ showTable: function( $table ) {
70
+ $table.prevUntil( 'table.form-table' ).show();
71
+ $table.show();
72
+ }
73
+ };
74
+
75
+ $( document ).ready( function() {
76
+ germanized.admin.shipping_provider_method.init();
77
+ });
78
+
79
+ })( jQuery, window.germanized.admin );
packages/woocommerce-germanized-shipments/assets/js/admin-shipping-provider-method.min.js ADDED
@@ -0,0 +1 @@
 
1
+ window.germanized=window.germanized||{},window.germanized.admin=window.germanized.admin||{},function(r){window.germanized.admin.shipping_provider_method={params:{},currentProvider:"",init:function(){var i=germanized.admin.shipping_provider_method;r(document).on("change","select[id$=shipping_provider]",i.showOrHideAll),r(document.body).on("wc_backbone_modal_loaded",i.onShippingMethodOpen)},onShippingMethodOpen:function(i,e){"wc-modal-shipping-method-settings"===e&&0<r("select[id$=shipping_provider]").length&&r("select[id$=shipping_provider]").trigger("change")},showOrHideAll:function(){var e=germanized.admin.shipping_provider_method,i=r(this),n=i.find("option"),d=i.parents("form");e.currentProvider=i.val(),n.each(function(){var i=r(this).val();0<i.length&&d.find("table.form-table").each(function(){0<r(this).find("input[id*=_"+i+"_]").length&&e.hideTable(r(this))})}),0<e.currentProvider.length&&d.find("table.form-table").each(function(){0<r(this).find("input[id*=_"+e.currentProvider+"_]").length&&e.showTable(r(this))})},hideTable:function(i){if(0<i.find("select[id$=shipping_provider]").length)return!1;i.prevUntil("table.form-table").hide(),i.hide()},showTable:function(i){i.prevUntil("table.form-table").show(),i.show()}},r(document).ready(function(){germanized.admin.shipping_provider_method.init()})}(jQuery);
packages/woocommerce-germanized-shipments/assets/js/admin-shipping-providers.js ADDED
@@ -0,0 +1,174 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ window.germanized = window.germanized || {};
2
+ window.germanized.admin = window.germanized.admin || {};
3
+
4
+ ( function( $, admin ) {
5
+
6
+ /**
7
+ * Core
8
+ */
9
+ admin.shipping_providers = {
10
+
11
+ params: {},
12
+ $wrapper: '',
13
+
14
+ init: function() {
15
+ var self = germanized.admin.shipping_providers;
16
+ self.params = wc_gzd_admin_shipping_providers_params;
17
+ self.$wrapper = $( '.wc-gzd-shipping-providers' );
18
+
19
+ $( document )
20
+ .on( 'click', '.wc-gzd-shipping-provider-delete', self.onRemoveProvider )
21
+ .on( 'change', '.wc-gzd-shipping-providers input.wc-gzd-shipping-provider-activated-checkbox', this.onChangeProviderStatus )
22
+ },
23
+
24
+ onChangeProviderStatus: function() {
25
+ var self = germanized.admin.shipping_providers,
26
+ $checkbox = $( this ),
27
+ provider = self.getProviderName( $checkbox ),
28
+ $toggle = $checkbox.parents( 'td' ).find( '.woocommerce-gzd-input-toggle' ),
29
+ isEnabled = $checkbox.is( ':checked' ) ? 'yes' : 'no';
30
+
31
+ var params = {
32
+ action : 'woocommerce_gzd_edit_shipping_provider_status',
33
+ enable : isEnabled,
34
+ provider : provider
35
+ };
36
+
37
+ $toggle.addClass( 'woocommerce-input-toggle--loading' );
38
+
39
+ self.doAjax( params, self.onChangeProviderStatusSucess );
40
+ },
41
+
42
+ onChangeProviderStatusSucess: function( data ) {
43
+ var self = germanized.admin.shipping_providers,
44
+ $provider = self.$wrapper.find( 'tr[data-shipping-provider="' + data['provider'] + '"]' ),
45
+ $toggle = $provider.find( '.woocommerce-gzd-input-toggle' );
46
+
47
+ $toggle.removeClass( 'woocommerce-input-toggle--loading' );
48
+ $toggle.removeClass( 'woocommerce-input-toggle--enabled, woocommerce-input-toggle--disabled' );
49
+
50
+ if ( 'yes' === data['activated'] ) {
51
+ $toggle.addClass( 'woocommerce-input-toggle--enabled' );
52
+ } else {
53
+ $toggle.addClass( 'woocommerce-input-toggle--disabled' );
54
+ }
55
+ },
56
+
57
+ getProviderName: function( $element ) {
58
+ var self = germanized.admin.shipping_providers;
59
+
60
+ if ( $element.data( 'shipping-provider' ) ) {
61
+ return $element.data( 'shipping-provider' );
62
+ } else if ( $element.parents( 'tr' ).length > 0 ) {
63
+ return $element.parents( 'tr' ).data( 'shipping-provider' );
64
+ }
65
+
66
+ return false;
67
+ },
68
+
69
+ onRemoveProvider: function() {
70
+ var self = germanized.admin.shipping_providers,
71
+ provider = self.getProviderName( $( this ) );
72
+
73
+ if ( provider ) {
74
+ var answer = window.confirm( self.getParams().i18n_remove_shipping_provider_notice );
75
+
76
+ if ( answer ) {
77
+ self.removeProvider( provider );
78
+ }
79
+ }
80
+
81
+ return false;
82
+ },
83
+
84
+ removeProvider: function( id ) {
85
+ var self = germanized.admin.shipping_providers,
86
+ params = {
87
+ 'action' : 'woocommerce_gzd_remove_shipping_provider',
88
+ 'provider': id,
89
+ 'security': self.getParams().remove_shipping_provider_nonce
90
+ };
91
+
92
+ self.block();
93
+ self.doAjax( params, self.onRemoveProviderSuccess );
94
+ },
95
+
96
+ onRemoveProviderSuccess: function( data ) {
97
+ var self = germanized.admin.shipping_providers,
98
+ $provider = self.$wrapper.find( 'tr[data-shipping-provider="' + data['provider'] + '"]' );
99
+
100
+ if ( $provider.length > 0 ) {
101
+ $provider.remove();
102
+ }
103
+ },
104
+
105
+ block: function() {
106
+ var self = germanized.admin.shipping_providers;
107
+
108
+ self.$wrapper.block({
109
+ message: null,
110
+ overlayCSS: {
111
+ background: '#fff',
112
+ opacity: 0.6
113
+ }
114
+ });
115
+ },
116
+
117
+ unblock: function() {
118
+ var self = germanized.admin.shipping_providers;
119
+
120
+ self.$wrapper.unblock();
121
+ },
122
+
123
+ doAjax: function( params, cSuccess, cError ) {
124
+ var self = germanized.admin.shipping_providers,
125
+ url = self.params.ajax_url,
126
+ $wrapper = self.$wrapper;
127
+
128
+ cSuccess = cSuccess || self.onAjaxSuccess;
129
+ cError = cError || self.onAjaxError;
130
+
131
+ if ( ! params.hasOwnProperty( 'security' ) ) {
132
+ params['security'] = self.params.edit_shipping_providers_nonce;
133
+ }
134
+
135
+ $.ajax({
136
+ type: "POST",
137
+ url: url,
138
+ data: params,
139
+ success: function( data ) {
140
+ if ( data.success ) {
141
+ cSuccess.apply( $wrapper, [ data ] );
142
+ self.unblock();
143
+ } else {
144
+ cError.apply( $wrapper, [ data ] );
145
+ self.unblock();
146
+ }
147
+ },
148
+ error: function( data ) {
149
+ cError.apply( $wrapper, [ data ] );
150
+ },
151
+ dataType: 'json'
152
+ });
153
+ },
154
+
155
+ onAjaxError: function( data ) {
156
+
157
+ },
158
+
159
+ onAjaxSuccess: function( data ) {
160
+
161
+ },
162
+
163
+ getParams: function() {
164
+ var self = germanized.admin.shipping_providers;
165
+
166
+ return self.params;
167
+ }
168
+ };
169
+
170
+ $( document ).ready( function() {
171
+ germanized.admin.shipping_providers.init();
172
+ });
173
+
174
+ })( jQuery, window.germanized.admin );
packages/woocommerce-germanized-shipments/assets/js/admin-shipping-providers.min.js ADDED
@@ -0,0 +1 @@
 
1
+ window.germanized=window.germanized||{},window.germanized.admin=window.germanized.admin||{},function(d){window.germanized.admin.shipping_providers={params:{},$wrapper:"",init:function(){var e=germanized.admin.shipping_providers;e.params=wc_gzd_admin_shipping_providers_params,e.$wrapper=d(".wc-gzd-shipping-providers"),d(document).on("click",".wc-gzd-shipping-provider-delete",e.onRemoveProvider).on("change",".wc-gzd-shipping-providers input.wc-gzd-shipping-provider-activated-checkbox",this.onChangeProviderStatus)},onChangeProviderStatus:function(){var e=germanized.admin.shipping_providers,i=d(this),r=e.getProviderName(i),n=i.parents("td").find(".woocommerce-gzd-input-toggle"),o={action:"woocommerce_gzd_edit_shipping_provider_status",enable:i.is(":checked")?"yes":"no",provider:r};n.addClass("woocommerce-input-toggle--loading"),e.doAjax(o,e.onChangeProviderStatusSucess)},onChangeProviderStatusSucess:function(e){var i=germanized.admin.shipping_providers.$wrapper.find('tr[data-shipping-provider="'+e.provider+'"]').find(".woocommerce-gzd-input-toggle");i.removeClass("woocommerce-input-toggle--loading"),i.removeClass("woocommerce-input-toggle--enabled, woocommerce-input-toggle--disabled"),"yes"===e.activated?i.addClass("woocommerce-input-toggle--enabled"):i.addClass("woocommerce-input-toggle--disabled")},getProviderName:function(e){germanized.admin.shipping_providers;return e.data("shipping-provider")?e.data("shipping-provider"):0<e.parents("tr").length&&e.parents("tr").data("shipping-provider")},onRemoveProvider:function(){var e=germanized.admin.shipping_providers,i=e.getProviderName(d(this));i&&window.confirm(e.getParams().i18n_remove_shipping_provider_notice)&&e.removeProvider(i);return!1},removeProvider:function(e){var i=germanized.admin.shipping_providers,r={action:"woocommerce_gzd_remove_shipping_provider",provider:e,security:i.getParams().remove_shipping_provider_nonce};i.block(),i.doAjax(r,i.onRemoveProviderSuccess)},onRemoveProviderSuccess:function(e){var i=germanized.admin.shipping_providers.$wrapper.find('tr[data-shipping-provider="'+e.provider+'"]');0<i.length&&i.remove()},block:function(){germanized.admin.shipping_providers.$wrapper.block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},unblock:function(){germanized.admin.shipping_providers.$wrapper.unblock()},doAjax:function(e,i,r){var n=germanized.admin.shipping_providers,o=n.params.ajax_url,a=n.$wrapper;i=i||n.onAjaxSuccess,r=r||n.onAjaxError,e.hasOwnProperty("security")||(e.security=n.params.edit_shipping_providers_nonce),d.ajax({type:"POST",url:o,data:e,success:function(e){e.success?i.apply(a,[e]):r.apply(a,[e]),n.unblock()},error:function(e){r.apply(a,[e])},dataType:"json"})},onAjaxError:function(e){},onAjaxSuccess:function(e){},getParams:function(){return germanized.admin.shipping_providers.params}},d(document).ready(function(){germanized.admin.shipping_providers.init()})}(jQuery);
packages/woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php CHANGED
@@ -42,6 +42,13 @@ defined( 'ABSPATH' ) || exit;
42
 
43
  <div class="columns">
44
  <?php
 
 
 
 
 
 
 
45
  /**
46
  * Action that fires after the right column of a Shipment's meta box admin view.
47
  *
@@ -75,27 +82,30 @@ defined( 'ABSPATH' ) || exit;
75
  </p>
76
  <?php endif; ?>
77
 
78
- <?php if( $shipment->needs_shipping_provider_select() ) : ?>
79
- <p class="form-row">
80
- <label for="shipment-shipping-provider-<?php echo esc_attr( $shipment->get_id() ); ?>"><?php echo _x( 'Shipping provider', 'shipments', 'woocommerce-germanized' ); ?></label>
81
- <select class="shipment-shipping-method-select" id="shipment-shipping-method-<?php echo esc_attr( $shipment->get_id() ); ?>" name="shipment_shipping_provider[<?php echo esc_attr( $shipment->get_id() ); ?>]">
82
- <option value=""><?php echo _x( 'None', 'shipments', 'woocommerce-germanized' ); ?></option>
 
 
 
 
 
83
 
84
- <?php foreach( wc_gzd_get_shipping_providers() as $provider => $title ) : ?>
85
- <option value="<?php echo esc_attr( $provider ); ?>" <?php selected( $provider, $shipment->get_shipping_provider(), true ); ?>><?php echo $title; ?></option>
86
- <?php endforeach; ?>
87
- </select>
88
- </p>
89
- <?php endif; ?>
90
 
91
  <div class="shipment-items" id="shipment-items-<?php echo esc_attr( $shipment->get_id() ); ?>">
92
  <div class="shipment-item-list-wrapper">
93
  <div class="shipment-item-heading">
94
  <div class="columns">
95
- <div class="column col-6 shipment-item-name">
96
  <?php echo _x( 'Item', 'shipments', 'woocommerce-germanized' ); ?>
97
  </div>
98
- <div class="column col-3 shipment-item-quantity">
99
  <?php echo _x( 'Quantity', 'shipments', 'woocommerce-germanized' ); ?>
100
  </div>
101
  <div class="column col-3 shipment-item-action">
42
 
43
  <div class="columns">
44
  <?php
45
+
46
+ if ( $shipment->supports_label() && ( ( $label = $shipment->get_label() ) || $shipment->needs_label() ) ) :
47
+ include 'label/html-shipment-label.php';
48
+ endif;
49
+ ?>
50
+
51
+ <?php
52
  /**
53
  * Action that fires after the right column of a Shipment's meta box admin view.
54
  *
82
  </p>
83
  <?php endif; ?>
84
 
85
+ <p class="form-row">
86
+ <label for="shipment-shipping-provider-<?php echo esc_attr( $shipment->get_id() ); ?>"><?php echo _x( 'Shipping provider', 'shipments', 'woocommerce-germanized' ); ?></label>
87
+ <select class="shipment-shipping-provider-select" id="shipment-shipping-provider-<?php echo esc_attr( $shipment->get_id() ); ?>" name="shipment_shipping_provider[<?php echo esc_attr( $shipment->get_id() ); ?>]">
88
+ <?php foreach( wc_gzd_get_shipping_provider_select() as $provider => $title ) :
89
+ $provider_instance = wc_gzd_get_shipping_provider( $provider );
90
+ ?>
91
+ <option data-is-manual="<?php echo ( ( $provider_instance && $provider_instance->is_manual_integration() ) ? 'yes' : 'no' ); ?>" value="<?php echo esc_attr( $provider ); ?>" <?php selected( $provider, $shipment->get_shipping_provider(), true ); ?>><?php echo $title; ?></option>
92
+ <?php endforeach; ?>
93
+ </select>
94
+ </p>
95
 
96
+ <p class="form-row show-if show-if-provider show-if-provider-is-manual">
97
+ <label for="shipment-tracking-id-<?php echo esc_attr( $shipment->get_id() ); ?>"><?php echo _x( 'Tracking Number', 'shipments', 'woocommerce-germanized' ); ?></label>
98
+ <input type="text" value="<?php echo esc_attr( $shipment->get_tracking_id() ); ?>" name="shipment_tracking_id[<?php echo esc_attr( $shipment->get_id() ); ?>]" id="shipment-tracking-id-<?php echo esc_attr( $shipment->get_id() ); ?>" />
99
+ </p>
 
 
100
 
101
  <div class="shipment-items" id="shipment-items-<?php echo esc_attr( $shipment->get_id() ); ?>">
102
  <div class="shipment-item-list-wrapper">
103
  <div class="shipment-item-heading">
104
  <div class="columns">
105
+ <div class="column col-7 shipment-item-name">
106
  <?php echo _x( 'Item', 'shipments', 'woocommerce-germanized' ); ?>
107
  </div>
108
+ <div class="column col-2 shipment-item-quantity">
109
  <?php echo _x( 'Quantity', 'shipments', 'woocommerce-germanized' ); ?>
110
  </div>
111
  <div class="column col-3 shipment-item-action">
packages/woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-item.php CHANGED
@@ -5,16 +5,32 @@
5
  * @package WooCommerce_Germanized/DHL/Admin
6
  */
7
 
 
 
 
8
  defined( 'ABSPATH' ) || exit;
9
 
10
  ?>
11
 
12
  <div class="shipment-item" data-id="<?php echo esc_attr( $item->get_id() ); ?>">
13
  <div class="columns">
14
- <div class="column col-6 shipment-item-name">
15
  <?php echo wp_kses_post( $item->get_name() ); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  </div>
17
- <div class="column col-3 shipment-item-quantity">
18
  <input type="number" size="6" step="1" name="shipment_item[<?php echo esc_attr( $shipment->get_id() ); ?>][quantity][<?php echo esc_attr( $item->get_id() ); ?>]" class="item-quantity" data-original-value="<?php echo esc_attr( $item->get_quantity() ); ?>" value="<?php echo esc_attr( $item->get_quantity() ); ?>" />
19
  </div>
20
  <div class="column col-3 shipment-item-action">
5
  * @package WooCommerce_Germanized/DHL/Admin
6
  */
7
 
8
+ use Vendidero\Germanized\Shipments\Shipment;
9
+ use Vendidero\Germanized\Shipments\ShipmentItem;
10
+
11
  defined( 'ABSPATH' ) || exit;
12
 
13
  ?>
14
 
15
  <div class="shipment-item" data-id="<?php echo esc_attr( $item->get_id() ); ?>">
16
  <div class="columns">
17
+ <div class="column col-7 shipment-item-name">
18
  <?php echo wp_kses_post( $item->get_name() ); ?>
19
+
20
+ <?php
21
+ /**
22
+ * Action that fires after outputting the shipment item name in admin meta box.
23
+ *
24
+ * @param integer $item_id The shipment item id.
25
+ * @param ShipmentItem $shipment_item The shipment item instance.
26
+ * @param Shipment $shipment The shipment instance.
27
+ *
28
+ * @since 3.0.6
29
+ * @package Vendidero/Germanized/Shipments
30
+ */
31
+ do_action( 'woocommerce_gzd_shipments_meta_box_shipment_item_after_name', $item->get_id(), $item, $shipment ); ?>
32
  </div>
33
+ <div class="column col-2 shipment-item-quantity">
34
  <input type="number" size="6" step="1" name="shipment_item[<?php echo esc_attr( $shipment->get_id() ); ?>][quantity][<?php echo esc_attr( $item->get_id() ); ?>]" class="item-quantity" data-original-value="<?php echo esc_attr( $item->get_quantity() ); ?>" value="<?php echo esc_attr( $item->get_quantity() ); ?>" />
35
  </div>
36
  <div class="column col-3 shipment-item-action">
packages/woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Admin View: Shipping providers
4
+ */
5
+ defined( 'ABSPATH' ) || exit;
6
+ ?>
7
+
8
+ <table class="wc-gzd-shipping-providers widefat">
9
+ <thead>
10
+ <tr>
11
+ <th class="wc-gzd-shipping-provider-title"><?php echo esc_html_x( 'Title', 'shipments', 'woocommerce-germanized' ); ?></th>
12
+ <th class="wc-gzd-shipping-provider-desc"><?php echo esc_html_x( 'Description', 'shipments', 'woocommerce-germanized' ); ?></th>
13
+ <th class="wc-gzd-shipping-provider-activated"><?php echo esc_html_x( 'Activated', 'shipments', 'woocommerce-germanized' ); ?></th>
14
+ <th class="wc-gzd-shipping-provider-actions"></th>
15
+ </tr>
16
+ </thead>
17
+ <tbody class="wc-gzd-setting-tab-rows">
18
+ <?php foreach ( $providers as $provider_name => $provider ) : ?>
19
+ <tr data-shipping-provider="<?php echo esc_attr( $provider->get_name() ); ?>">
20
+ <td class="wc-gzd-shipping-provider-title" id="wc-gzd-shipping-provider-title-<?php echo esc_attr( $provider->get_name() ); ?>">
21
+ <a href="<?php echo esc_url( $provider->get_edit_link() ); ?>" class="wc-gzd-shipping-provider-edit-link"><?php echo $provider->get_title(); ?></a>
22
+ <div class="row-actions">
23
+ <a href="<?php echo esc_url( $provider->get_edit_link() ); ?>"><?php _ex( 'Edit', 'shipments', 'woocommerce-germanized' ); ?></a>
24
+ <?php if ( $provider->is_manual_integration() ) : ?>
25
+ <span class="sep">|</span>
26
+ <a class="wc-gzd-shipping-provider-delete" href="#"><?php _ex( 'Delete', 'shipments', 'woocommerce-germanized' ); ?></a>
27
+ <?php endif; ?>
28
+ </div>
29
+ </td>
30
+ <td class="wc-gzd-shipping-provider-description" id="wc-gzd-shipping-provider-description-<?php echo esc_attr( $provider->get_name() ); ?>">
31
+ <p><?php echo $provider->get_description(); ?></p>
32
+ </td>
33
+ <td class="wc-gzd-shipping-provider-activated" id="wc-gzd-shipping-provider-activated-<?php echo esc_attr( $provider->get_name() ); ?>">
34
+ <fieldset>
35
+ <a class="woocommerce-gzd-input-toggle-trigger" href="#"><span class="woocommerce-gzd-input-toggle woocommerce-input-toggle woocommerce-input-toggle--<?php echo( $provider->is_activated() ? 'enabled' : 'disabled' ); ?>"><?php echo esc_attr_x( 'Yes', 'shipments', 'woocommerce-germanized' ); ?></span></a>
36
+ <input
37
+ name="shipping_provider_activated_<?php echo esc_attr( $provider->get_name() ); ?>"
38
+ id="wc-gzd-shipping-provider-activated-<?php echo esc_attr( $provider->get_name() ); ?>"
39
+ type="checkbox"
40
+ data-shipping-provider="<?php echo esc_attr( $provider->get_name() ); ?>"
41
+ style="display: none;"
42
+ value="1"
43
+ class="wc-gzd-shipping-provider-activated-checkbox"
44
+ <?php checked( $provider->is_activated() ? 'yes' : 'no', 'yes' ); ?>
45
+ />
46
+ </fieldset>
47
+ </td>
48
+ <td class="wc-gzd-shipping-provider-actions">
49
+ <a class="button button-secondary wc-gzd-dash-button"
50
+ aria-label="<?php echo esc_attr_x( 'Manage shipping provider', 'shipments', 'woocommerce-germanized' ); ?>"
51
+ title="<?php echo esc_attr_x( 'Manage shipping provider', 'shipments', 'woocommerce-germanized' ); ?>"
52
+ href="<?php echo $provider->get_edit_link(); ?>"><?php _ex( 'Manage', 'shipments', 'woocommerce-germanized' ); ?></a>
53
+ </td>
54
+ </tr>
55
+ <?php endforeach; ?>
56
+ </tbody>
57
+ </table>
packages/{woocommerce-germanized-dhl/includes/admin/views → woocommerce-germanized-shipments/includes/admin/views/label}/html-shipment-label-backbone.php RENAMED
@@ -1,20 +1,16 @@
1
  <?php
2
  /**
3
  * Shipment label HTML for meta box.
4
- *
5
- * @package WooCommerce_Germanized/DHL/Admin
6
  */
7
  defined( 'ABSPATH' ) || exit;
8
-
9
- use Vendidero\Germanized\DHL\Package;
10
  ?>
11
 
12
- <script type="text/template" id="tmpl-wc-gzd-modal-create-shipment-label-<?php echo esc_attr( $shipment->get_id() ); ?>" class="wc-gzd-dhl-shipment-label-<?php echo esc_attr( $shipment->get_type() ); ?>">
13
  <div class="wc-backbone-modal">
14
  <div class="wc-backbone-modal-content">
15
  <section class="wc-backbone-modal-main" role="main">
16
  <header class="wc-backbone-modal-header">
17
- <h1><?php echo esc_html_x( 'Create label', 'dhl', 'woocommerce-germanized' ); ?></h1>
18
  <button class="modal-close modal-close-link dashicons dashicons-no-alt">
19
  <span class="screen-reader-text">Close modal panel</span>
20
  </button>
@@ -22,11 +18,11 @@ use Vendidero\Germanized\DHL\Package;
22
  <article class="germanized-shipments germanized-create-label" data-shipment-type="<?php echo esc_attr( $shipment->get_type() ); ?>">
23
  <div class="notice-wrapper"></div>
24
 
25
- <div class="wc-gzd-dhl-create-label"></div>
26
  </article>
27
  <footer>
28
  <div class="inner">
29
- <button id="btn-ok" class="button button-primary button-large"><?php echo esc_html_x( 'Create' ,'dhl', 'woocommerce-germanized' ); ?></button>
30
  </div>
31
  </footer>
32
  </section>
1
  <?php
2
  /**
3
  * Shipment label HTML for meta box.
 
 
4
  */
5
  defined( 'ABSPATH' ) || exit;
 
 
6
  ?>
7
 
8
+ <script type="text/template" id="tmpl-wc-gzd-modal-create-shipment-label-<?php echo esc_attr( $shipment->get_id() ); ?>" class="wc-gzd-shipment-label-<?php echo esc_attr( $shipment->get_type() ); ?>">
9
  <div class="wc-backbone-modal">
10
  <div class="wc-backbone-modal-content">
11
  <section class="wc-backbone-modal-main" role="main">
12
  <header class="wc-backbone-modal-header">
13
+ <h1><?php echo esc_html_x( 'Create label', 'shipments', 'woocommerce-germanized' ); ?></h1>
14
  <button class="modal-close modal-close-link dashicons dashicons-no-alt">
15
  <span class="screen-reader-text">Close modal panel</span>
16
  </button>
18
  <article class="germanized-shipments germanized-create-label" data-shipment-type="<?php echo esc_attr( $shipment->get_type() ); ?>">
19
  <div class="notice-wrapper"></div>
20
 
21
+ <div class="wc-gzd-shipment-create-label"></div>
22
  </article>
23
  <footer>
24
  <div class="inner">
25
+ <button id="btn-ok" class="button button-primary button-large"><?php echo esc_html_x( 'Create' ,'shipments', 'woocommerce-germanized' ); ?></button>
26
  </div>
27
  </footer>
28
  </section>
packages/woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Shipment label HTML for meta box.
4
+ */
5
+ defined( 'ABSPATH' ) || exit;
6
+
7
+ use Vendidero\Germanized\Shipments\Interfaces\ShipmentLabel;
8
+ use Vendidero\Germanized\Shipments\Package;
9
+ use Vendidero\Germanized\Shipments\Admin\Admin;
10
+ use Vendidero\Germanized\Shipments\Shipment;
11
+
12
+ ?>
13
+
14
+ <div class="wc-gzd-shipment-label column column-spaced col-12 show-if show-if-provider show-if-provider-<?php echo esc_attr( $shipment->get_shipping_provider() ); ?>" data-shipment="<?php echo $shipment->get_id(); ?>">
15
+ <h4><?php printf( _x( '%s Label', 'shipments', 'woocommerce-germanized' ), wc_gzd_get_shipping_provider_title( $shipment->get_shipping_provider() ) ); ?> <?php echo ( ( $shipment->has_label() && $shipment->get_tracking_id() ) ? Admin::get_shipment_tracking_html( $shipment ) : '' ); ?></h4>
16
+
17
+ <div class="wc-gzd-shipment-label-content">
18
+ <div class="shipment-label-actions">
19
+ <?php if ( $label ) : ?>
20
+ <div class="shipment-label-actions-wrapper shipment-label-actions-download">
21
+ <a class="button button-secondary download-shipment-label" href="<?php echo $shipment->get_label_download_url(); ?>" target="_blank"><?php _ex( 'Download', 'shipments', 'woocommerce-germanized' ); ?></a>
22
+
23
+ <?php if ( 'return' === $label->get_type() ) : ?>
24
+ <a class="send-shipment-label email" href="#"><?php _ex( 'Send to customer', 'shipments', 'woocommerce-germanized' ); ?></a>
25
+ <?php endif; ?>
26
+
27
+ <?php
28
+ /**
29
+ * Action that fires after the label download link of a shipment label was outputted.
30
+ *
31
+ * @param ShipmentLabel $label The label object.
32
+ * @param Shipment $shipment The shipment object.
33
+ *
34
+ * @since 3.0.6
35
+ * @package Vendidero/Germanized/Shipments
36
+ */
37
+ do_action( 'woocommerce_gzd_shipment_label_admin_after_download', $label, $shipment ); ?>
38
+
39
+ <a class="remove-shipment-label delete" data-shipment="<?php echo esc_attr( $shipment->get_id() ); ?>" href="#"><?php _ex( 'Delete', 'shipments', 'woocommerce-germanized' ); ?></a>
40
+ </div>
41
+ <?php else: ?>
42
+ <div class="shipment-label-actions-wrapper shipment-label-actions-create">
43
+ <a class="button button-secondary create-shipment-label" href="#" title="<?php _ex( 'Create new label', 'shipments', 'woocommerce-germanized' ); ?>"><?php _ex( 'Create label', 'shipments', 'woocommerce-germanized' ); ?></a>
44
+ <?php include( 'html-shipment-label-backbone.php' ); ?>
45
+ </div>
46
+ <?php endif; ?>
47
+ </div>
48
+ </div>
49
+ </div>
packages/woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php CHANGED
@@ -62,8 +62,10 @@ if ( ! class_exists( 'WC_GZD_Email_Customer_Shipment', false ) ) :
62
  );
63
 
64
  // Triggers for this email.
65
- add_action( 'woocommerce_gzd_shipment_status_draft_to_shipped_notification', array( $this, 'trigger' ), 10 );
66
- add_action( 'woocommerce_gzd_shipment_status_processing_to_shipped_notification', array( $this, 'trigger' ), 10 );
 
 
67
 
68
  // Call parent constructor.
69
  parent::__construct();
@@ -259,7 +261,7 @@ if ( ! class_exists( 'WC_GZD_Email_Customer_Shipment', false ) ) :
259
  */
260
  public function init_form_fields() {
261
  /* translators: %s: list of placeholders */
262
- $placeholder_text = sprintf( __( 'Available placeholders: %s', 'shipments', 'woocommerce-germanized' ), '<code>' . esc_html( implode( '</code>, <code>', array_keys( $this->placeholders ) ) ) . '</code>' );
263
 
264
  $this->form_fields = array(
265
  'enabled' => array(
62
  );
63
 
64
  // Triggers for this email.
65
+ if ( 'yes' === Package::get_setting( 'notify_enable' ) ) {
66
+ add_action( 'woocommerce_gzd_shipment_status_draft_to_shipped_notification', array( $this, 'trigger' ), 10 );
67
+ add_action( 'woocommerce_gzd_shipment_status_processing_to_shipped_notification', array( $this, 'trigger' ), 10 );
68
+ }
69
 
70
  // Call parent constructor.
71
  parent::__construct();
261
  */
262
  public function init_form_fields() {
263
  /* translators: %s: list of placeholders */
264
+ $placeholder_text = sprintf( _x( 'Available placeholders: %s', 'shipments', 'woocommerce-germanized' ), '<code>' . esc_html( implode( '</code>, <code>', array_keys( $this->placeholders ) ) ) . '</code>' );
265
 
266
  $this->form_fields = array(
267
  'enabled' => array(
packages/woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php CHANGED
@@ -15,6 +15,9 @@ use Vendidero\Germanized\Shipments\ShipmentFactory;
15
  use Vendidero\Germanized\Shipments\ShipmentItem;
16
  use Vendidero\Germanized\Shipments\SimpleShipment;
17
  use Vendidero\Germanized\Shipments\ReturnShipment;
 
 
 
18
  use Vendidero\Germanized\Shipments\Package;
19
 
20
  defined( 'ABSPATH' ) || exit;
@@ -110,6 +113,71 @@ function wc_gzd_get_shipment_order_shipping_statuses() {
110
  return apply_filters( 'woocommerce_gzd_order_shipping_statuses', $shipment_statuses );
111
  }
112
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113
  function wc_gzd_get_shipment_order_shipping_status_name( $status ) {
114
  if ( 'gzd-' !== substr( $status, 0, 4 ) ) {
115
  $status = 'gzd-' . $status;
@@ -361,22 +429,49 @@ function wc_gzd_split_shipment_street( $streetStr ) {
361
  }
362
 
363
  function wc_gzd_get_shipping_providers() {
 
 
 
 
 
 
 
 
 
 
364
  /**
365
- * Filter that allows third-parties to add custom shipping providers (e.g. DHL) to Shipments.
 
366
  *
367
- * @param array $providers Array containing key => value pairs of providers and their title or description.
368
  *
369
- * @since 3.0.0
370
  * @package Vendidero/Germanized/Shipments
371
  */
372
- return apply_filters( 'woocommerce_gzd_shipping_providers', array() );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
373
  }
374
 
375
  function wc_gzd_get_shipping_provider_title( $slug ) {
376
  $providers = wc_gzd_get_shipping_providers();
377
 
378
  if ( array_key_exists( $slug, $providers ) ) {
379
- $title = $providers[ $slug ];
380
  } else {
381
  $title = $slug;
382
  }
@@ -407,6 +502,38 @@ function wc_gzd_get_shipping_provider_slug( $provider ) {
407
  return $slug;
408
  }
409
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
410
  /**
411
  * @param SimpleShipment $parent_shipment
412
  *
@@ -432,6 +559,32 @@ function wc_gzd_get_shipment_return_address( $parent_shipment ) {
432
  return $address;
433
  }
434
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
435
  /**
436
  * @param WC_Order $order
437
  */
15
  use Vendidero\Germanized\Shipments\ShipmentItem;
16
  use Vendidero\Germanized\Shipments\SimpleShipment;
17
  use Vendidero\Germanized\Shipments\ReturnShipment;
18
+ use Vendidero\Germanized\Shipments\ShippingProviders;
19
+ use Vendidero\Germanized\Shipments\ShippingProviderMethod;
20
+ use Vendidero\Germanized\Shipments\ShippingProviderMethodPlaceholder;
21
  use Vendidero\Germanized\Shipments\Package;
22
 
23
  defined( 'ABSPATH' ) || exit;
113
  return apply_filters( 'woocommerce_gzd_order_shipping_statuses', $shipment_statuses );
114
  }
115
 
116
+ /**
117
+ * @param $instance_id
118
+ *
119
+ * @return ShippingProviderMethod
120
+ */
121
+ function wc_gzd_get_shipping_provider_method( $instance_id ) {
122
+
123
+ $original_id = $instance_id;
124
+
125
+ if ( ! is_numeric( $instance_id ) ) {
126
+ $expl = explode( ':', $instance_id );
127
+ $instance_id = ( ( ! empty( $expl ) && sizeof( $expl ) > 1 ) ? (int) $expl[1] : $instance_id );
128
+ }
129
+
130
+ if ( ! empty( $instance_id ) ) {
131
+ // Make sure shipping zones are loaded
132
+ include_once WC_ABSPATH . 'includes/class-wc-shipping-zones.php';
133
+
134
+ if ( $method = WC_Shipping_Zones::get_shipping_method( $instance_id ) ) {
135
+
136
+ /**
137
+ * Filter to adjust the classname used to construct the shipping provider method
138
+ * which contains additional provider related settings useful for shipments.
139
+ *
140
+ * @param string $classname The classname.
141
+ * @param WC_Shipping_Method $method The shipping method instance.
142
+ *
143
+ * @since 3.0.6
144
+ * @package Vendidero/Germanized/Shipments
145
+ */
146
+ $classname = apply_filters( 'woocommerce_gzd_shipping_provider_method_classname', 'Vendidero\Germanized\Shipments\ShippingProviderMethod', $method );
147
+
148
+ return new $classname( $method );
149
+ }
150
+ }
151
+
152
+ // Load placeholder
153
+ $placeholder = new ShippingProviderMethodPlaceholder( $original_id );
154
+
155
+ /**
156
+ * Filter to adjust the fallback shipping method to be loaded if no real
157
+ * shipping method was able to be constructed (e.g. a custom plugin is being used which
158
+ * replaces the default Woo shipping zones integration).
159
+ *
160
+ * @param ShippingProviderMethod $placeholder The placeholder impl.
161
+ * @param string $original_id The shipping method id.
162
+ *
163
+ * @since 3.0.6
164
+ * @package Vendidero/Germanized/Shipments
165
+ */
166
+ return apply_filters( 'woocommerce_gzd_shipping_provider_method_fallback', $placeholder, $original_id );
167
+ }
168
+
169
+ function wc_gzd_get_current_shipping_provider_method() {
170
+ $chosen_shipping_methods = WC()->session ? WC()->session->get( 'chosen_shipping_methods' ) : array();
171
+
172
+ if ( ! empty( $chosen_shipping_methods ) ) {
173
+ $method = wc_gzd_get_shipping_provider_method( $chosen_shipping_methods[0] );
174
+
175
+ return $method;
176
+ }
177
+
178
+ return false;
179
+ }
180
+
181
  function wc_gzd_get_shipment_order_shipping_status_name( $status ) {
182
  if ( 'gzd-' !== substr( $status, 0, 4 ) ) {
183
  $status = 'gzd-' . $status;
429
  }
430
 
431
  function wc_gzd_get_shipping_providers() {
432
+ return ShippingProviders::instance()->get_shipping_providers();
433
+ }
434
+
435
+ function wc_gzd_get_shipping_provider( $name ) {
436
+ return ShippingProviders::instance()->get_shipping_provider( $name );
437
+ }
438
+
439
+ function wc_gzd_get_default_shipping_provider() {
440
+ $default = Package::get_setting( 'default_shipping_provider' );
441
+
442
  /**
443
+ * Filter to adjust the default shipping provider used as a fallback for shipments
444
+ * for which no provider could be determined automatically (e.g. by the chosen shipping methid).
445
  *
446
+ * @param string $title The shipping provider slug.
447
  *
448
+ * @since 3.0.6
449
  * @package Vendidero/Germanized/Shipments
450
  */
451
+ return apply_filters( 'woocommerce_gzd_default_shipping_provider', $default );
452
+ }
453
+
454
+ function wc_gzd_get_shipping_provider_select() {
455
+ $providers = wc_gzd_get_shipping_providers();
456
+ $select = array(
457
+ '' => _x( 'None', 'shipments', 'woocommerce-germanized' ),
458
+ );
459
+
460
+ foreach( $providers as $provider ) {
461
+ if ( ! $provider->is_activated() ) {
462
+ continue;
463
+ }
464
+ $select[ $provider->get_name() ] = $provider->get_title();
465
+ }
466
+
467
+ return $select;
468
  }
469
 
470
  function wc_gzd_get_shipping_provider_title( $slug ) {
471
  $providers = wc_gzd_get_shipping_providers();
472
 
473
  if ( array_key_exists( $slug, $providers ) ) {
474
+ $title = $providers[ $slug ]->get_title();
475
  } else {
476
  $title = $slug;
477
  }
502
  return $slug;
503
  }
504
 
505
+ function _wc_gzd_shipments_keep_force_filename( $new_filename ) {
506
+ return isset( $GLOBALS['gzd_shipments_unique_filename'] ) ? $GLOBALS['gzd_shipments_unique_filename'] : $new_filename;
507
+ }
508
+
509
+ function wc_gzd_shipments_upload_data( $filename, $bits, $relative = true ) {
510
+ try {
511
+ Package::set_upload_dir_filter();
512
+ $GLOBALS['gzd_shipments_unique_filename'] = $filename;
513
+ add_filter( 'wp_unique_filename', '_wc_gzd_shipments_keep_force_filename', 10, 1 );
514
+
515
+ $tmp = wp_upload_bits( $filename,null, $bits );
516
+
517
+ unset( $GLOBALS['gzd_shipments_unique_filename'] );
518
+ remove_filter( 'wp_unique_filename', '_wc_gzd_shipments_keep_force_filename', 10 );
519
+ Package::unset_upload_dir_filter();
520
+
521
+ if ( isset( $tmp['file'] ) ) {
522
+ $path = $tmp['file'];
523
+
524
+ if ( $relative ) {
525
+ $path = Package::get_relative_upload_dir( $path );
526
+ }
527
+
528
+ return $path;
529
+ } else {
530
+ throw new Exception( _x( 'Error while uploading file.', 'shipments', 'woocommerce-germanized' ) );
531
+ }
532
+ } catch ( Exception $e ) {
533
+ return false;
534
+ }
535
+ }
536
+
537
  /**
538
  * @param SimpleShipment $parent_shipment
539
  *
559
  return $address;
560
  }
561
 
562
+ /**
563
+ * @param WC_Order $order
564
+ */
565
+ function wc_gzd_get_shipment_shipping_provider( $order ) {
566
+ $method_id = wc_gzd_get_shipment_order_shipping_method_id( $order );
567
+ $shipping_provider = '';
568
+
569
+ if ( $shipping_method = wc_gzd_get_shipping_provider_method( $method_id ) ) {
570
+
571
+ if ( $provider = $shipping_method->get_provider() ) {
572
+ $shipping_provider = $provider;
573
+ }
574
+ }
575
+
576
+ /**
577
+ * Allows adjusting the shipping provider chosen for a shipment belonging to a certain order.
578
+ *
579
+ * @param string $name The shipping provider name e.g. dhl.
580
+ * @param WC_Order $order The order object.
581
+ *
582
+ * @since 3.0.6
583
+ * @package Vendidero/Germanized/Shipments
584
+ */
585
+ return apply_filters( 'woocommerce_gzd_shipment_order_shipping_provider', $shipping_provider, $order );
586
+ }
587
+
588
  /**
589
  * @param WC_Order $order
590
  */
packages/woocommerce-germanized-shipments/src/Admin/Admin.php CHANGED
@@ -2,6 +2,7 @@
2
 
3
  namespace Vendidero\Germanized\Shipments\Admin;
4
  use Vendidero\Germanized\Shipments\Package;
 
5
  use Vendidero\Germanized\Shipments\Automation;
6
 
7
  defined( 'ABSPATH' ) || exit;
@@ -20,8 +21,10 @@ class Admin {
20
  add_action( 'admin_enqueue_scripts', array( __CLASS__, 'admin_styles' ) );
21
  add_action( 'admin_enqueue_scripts', array( __CLASS__, 'admin_scripts' ) );
22
 
 
 
23
  add_action( 'add_meta_boxes', array( __CLASS__, 'add_meta_boxes' ), 35 );
24
- add_action( 'woocommerce_process_shop_order_meta', 'Vendidero\Germanized\Shipments\Admin\MetaBox::save', 50, 2 );
25
 
26
  add_action( 'admin_menu', array( __CLASS__, 'shipments_menu' ), 15 );
27
  add_action( 'load-woocommerce_page_wc-gzd-shipments', array( __CLASS__, 'setup_shipments_table' ), 0 );
@@ -37,6 +40,35 @@ class Admin {
37
  add_filter( 'woocommerce_gzd_template_check', array( __CLASS__, 'add_template_check' ), 10, 1 );
38
  }
39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  public static function add_template_check( $check ) {
41
  $check['shipments'] = array(
42
  'title' => _x( 'Shipments', 'shipments', 'woocommerce-germanized' ),
@@ -112,6 +144,24 @@ class Admin {
112
  add_submenu_page( 'woocommerce', _x( 'Returns', 'shipments', 'woocommerce-germanized' ), _x( 'Returns', 'shipments', 'woocommerce-germanized' ), 'manage_woocommerce', 'wc-gzd-return-shipments', array( __CLASS__, 'returns_page' ) );
113
  }
114
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
  /**
116
  * @param Table $table
117
  */
@@ -263,6 +313,10 @@ class Admin {
263
  if ( in_array( $screen_id, self::get_screen_ids() ) ) {
264
  wp_enqueue_style( 'woocommerce_gzd_shipments_admin' );
265
  }
 
 
 
 
266
  }
267
 
268
  public static function admin_scripts() {
@@ -272,9 +326,12 @@ class Admin {
272
  $screen_id = $screen ? $screen->id : '';
273
  $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
274
 
275
- wp_register_script( 'wc-gzd-admin-shipment', Package::get_assets_url() . '/js/admin-shipment' . $suffix . '.js', array( 'jquery' ), Package::get_version() );
 
276
  wp_register_script( 'wc-gzd-admin-shipments', Package::get_assets_url() . '/js/admin-shipments' . $suffix . '.js', array( 'wc-admin-order-meta-boxes', 'wc-gzd-admin-shipment' ), Package::get_version() );
277
- wp_register_script( 'wc-gzd-admin-shipments-table', Package::get_assets_url() . '/js/admin-shipments-table' . $suffix . '.js', array( 'woocommerce_admin' ), Package::get_version() );
 
 
278
 
279
  // Orders.
280
  if ( in_array( str_replace( 'edit-', '', $screen_id ), wc_get_order_types( 'order-meta-boxes' ) ) ) {
@@ -291,6 +348,12 @@ class Admin {
291
  'order_id' => isset( $post->ID ) ? $post->ID : '',
292
  'shipment_locked_excluded_fields' => array( 'status' ),
293
  'i18n_remove_shipment_notice' => _x( 'Do you really want to delete the shipment?', 'shipments', 'woocommerce-germanized' ),
 
 
 
 
 
 
294
  )
295
  );
296
  }
@@ -318,6 +381,37 @@ class Admin {
318
  )
319
  );
320
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
321
  }
322
 
323
  /**
@@ -336,7 +430,9 @@ class Admin {
336
  * @since 3.0.0
337
  * @package Vendidero/Germanized/Shipments
338
  */
339
- $handlers = apply_filters( 'woocommerce_gzd_shipments_table_bulk_action_handlers', array() );
 
 
340
 
341
  foreach( $handlers as $key => $handler ) {
342
  self::$bulk_handlers[ $key ] = new $handler();
@@ -353,9 +449,10 @@ class Admin {
353
  }
354
 
355
  public static function get_screen_ids() {
 
356
  $screen_ids = array(
357
  'woocommerce_page_wc-gzd-shipments',
358
- 'woocommerce_page_wc-gzd-return-shipments'
359
  );
360
 
361
  foreach ( wc_get_order_types() as $type ) {
2
 
3
  namespace Vendidero\Germanized\Shipments\Admin;
4
  use Vendidero\Germanized\Shipments\Package;
5
+ use Vendidero\Germanized\Shipments\Shipment;
6
  use Vendidero\Germanized\Shipments\Automation;
7
 
8
  defined( 'ABSPATH' ) || exit;
21
  add_action( 'admin_enqueue_scripts', array( __CLASS__, 'admin_styles' ) );
22
  add_action( 'admin_enqueue_scripts', array( __CLASS__, 'admin_scripts' ) );
23
 
24
+ add_action( 'admin_init', array( __CLASS__, 'download_label' ) );
25
+
26
  add_action( 'add_meta_boxes', array( __CLASS__, 'add_meta_boxes' ), 35 );
27
+ add_action( 'woocommerce_process_shop_order_meta', 'Vendidero\Germanized\Shipments\Admin\MetaBox::save', 60, 2 );
28
 
29
  add_action( 'admin_menu', array( __CLASS__, 'shipments_menu' ), 15 );
30
  add_action( 'load-woocommerce_page_wc-gzd-shipments', array( __CLASS__, 'setup_shipments_table' ), 0 );
40
  add_filter( 'woocommerce_gzd_template_check', array( __CLASS__, 'add_template_check' ), 10, 1 );
41
  }
42
 
43
+ public static function download_label() {
44
+ if ( isset( $_GET['action'] ) && 'wc-gzd-download-shipment-label' === $_GET['action'] ) {
45
+ if ( isset( $_GET['shipment_id'] ) && wp_verify_nonce( $_REQUEST['_wpnonce'], 'download-shipment-label' ) ) {
46
+
47
+ $shipment_id = absint( $_GET['shipment_id'] );
48
+ $args = wp_parse_args( $_GET, array(
49
+ 'force' => 'no',
50
+ ) );
51
+
52
+ if ( $shipment = wc_gzd_get_shipment( $shipment_id ) ) {
53
+
54
+ if ( $shipment->has_label() ) {
55
+ $shipment->get_label()->download( $args );
56
+ }
57
+ }
58
+ }
59
+ } elseif( isset( $_GET['action'] ) && 'wc-gzd-download-export-shipment-label' === $_GET['action'] ) {
60
+ if ( wp_verify_nonce( $_REQUEST['_wpnonce'], 'download-export-shipment-label' ) ) {
61
+
62
+ $args = wp_parse_args( $_GET, array(
63
+ 'force' => 'no',
64
+ 'print' => 'no',
65
+ ) );
66
+
67
+ DownloadHandler::download_export( $args );
68
+ }
69
+ }
70
+ }
71
+
72
  public static function add_template_check( $check ) {
73
  $check['shipments'] = array(
74
  'title' => _x( 'Shipments', 'shipments', 'woocommerce-germanized' ),
144
  add_submenu_page( 'woocommerce', _x( 'Returns', 'shipments', 'woocommerce-germanized' ), _x( 'Returns', 'shipments', 'woocommerce-germanized' ), 'manage_woocommerce', 'wc-gzd-return-shipments', array( __CLASS__, 'returns_page' ) );
145
  }
146
 
147
+ /**
148
+ * @param Shipment $shipment
149
+ */
150
+ public static function get_shipment_tracking_html( $shipment ) {
151
+ $tracking_html = '';
152
+
153
+ if ( $tracking_id = $shipment->get_tracking_id() ) {
154
+
155
+ if ( $tracking_url = $shipment->get_tracking_url() ) {
156
+ $tracking_html = '<a class="shipment-tracking-number" href="' . esc_url( $tracking_url ) . '" target="_blank">' . $tracking_id . '</a>';
157
+ } else {
158
+ $tracking_html = '<span class="shipment-tracking-number">' . $tracking_id . '</span>';
159
+ }
160
+ }
161
+
162
+ return $tracking_html;
163
+ }
164
+
165
  /**
166
  * @param Table $table
167
  */
313
  if ( in_array( $screen_id, self::get_screen_ids() ) ) {
314
  wp_enqueue_style( 'woocommerce_gzd_shipments_admin' );
315
  }
316
+
317
+ if ( 'woocommerce_page_wc-settings' === $screen_id && isset( $_GET['tab'] ) && 'germanized-shipments' === $_GET['tab'] ) {
318
+ wp_enqueue_style( 'woocommerce_gzd_shipments_admin' );
319
+ }
320
  }
321
 
322
  public static function admin_scripts() {
326
  $screen_id = $screen ? $screen->id : '';
327
  $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
328
 
329
+ wp_register_script( 'wc-gzd-admin-shipment-label-backbone', Package::get_assets_url() . '/js/admin-shipment-label-backbone' . $suffix . '.js', array( 'jquery', 'woocommerce_admin', 'wc-backbone-modal' ), Package::get_version() );
330
+ wp_register_script( 'wc-gzd-admin-shipment', Package::get_assets_url() . '/js/admin-shipment' . $suffix . '.js', array( 'wc-gzd-admin-shipment-label-backbone' ), Package::get_version() );
331
  wp_register_script( 'wc-gzd-admin-shipments', Package::get_assets_url() . '/js/admin-shipments' . $suffix . '.js', array( 'wc-admin-order-meta-boxes', 'wc-gzd-admin-shipment' ), Package::get_version() );
332
+ wp_register_script( 'wc-gzd-admin-shipments-table', Package::get_assets_url() . '/js/admin-shipments-table' . $suffix . '.js', array( 'woocommerce_admin', 'wc-gzd-admin-shipment-label-backbone' ), Package::get_version() );
333
+ wp_register_script( 'wc-gzd-admin-shipping-providers', Package::get_assets_url() . '/js/admin-shipping-providers' . $suffix . '.js', array( 'jquery' ), Package::get_version() );
334
+ wp_register_script( 'wc-gzd-admin-shipping-provider-method', Package::get_assets_url() . '/js/admin-shipping-provider-method' . $suffix . '.js', array( 'jquery' ), Package::get_version() );
335
 
336
  // Orders.
337
  if ( in_array( str_replace( 'edit-', '', $screen_id ), wc_get_order_types( 'order-meta-boxes' ) ) ) {
348
  'order_id' => isset( $post->ID ) ? $post->ID : '',
349
  'shipment_locked_excluded_fields' => array( 'status' ),
350
  'i18n_remove_shipment_notice' => _x( 'Do you really want to delete the shipment?', 'shipments', 'woocommerce-germanized' ),
351
+ 'remove_label_nonce' => wp_create_nonce( 'remove-shipment-label' ),
352
+ 'edit_label_nonce' => wp_create_nonce( 'edit-shipment-label' ),
353
+ 'send_label_nonce' => wp_create_nonce( 'send-shipment-return-label' ),
354
+ 'i18n_remove_label_notice' => _x( 'Do you really want to delete the label?', 'shipments', 'woocommerce-germanized' ),
355
+ 'i18n_create_label_enabled' => _x( 'Create new label', 'shipments', 'woocommerce-germanized' ),
356
+ 'i18n_create_label_disabled' => _x( 'Please save the shipment before creating a new label', 'shipments', 'woocommerce-germanized' ),
357
  )
358
  );
359
  }
381
  )
382
  );
383
  }
384
+
385
+ wp_localize_script(
386
+ 'wc-gzd-admin-shipment-label-backbone',
387
+ 'wc_gzd_admin_shipment_label_backbone_params',
388
+ array(
389
+ 'ajax_url' => admin_url( 'admin-ajax.php' ),
390
+ 'create_label_form_nonce' => wp_create_nonce( 'create-shipment-label-form' ),
391
+ 'create_label_nonce' => wp_create_nonce( 'create-shipment-label' ),
392
+ )
393
+ );
394
+
395
+ // Shipping provider settings
396
+ if ( 'woocommerce_page_wc-settings' === $screen_id && isset( $_GET['tab'] ) && 'germanized-shipments' === $_GET['tab'] && isset( $_GET['section'] ) && 'provider' === $_GET['section'] ) {
397
+ wp_enqueue_script( 'wc-gzd-admin-shipping-providers' );
398
+
399
+ wp_localize_script(
400
+ 'wc-gzd-admin-shipping-providers',
401
+ 'wc_gzd_admin_shipping_providers_params',
402
+ array(
403
+ 'ajax_url' => admin_url( 'admin-ajax.php' ),
404
+ 'edit_shipping_providers_nonce' => wp_create_nonce( 'edit-shipping-providers' ),
405
+ 'remove_shipping_provider_nonce' => wp_create_nonce( 'remove-shipping-provider' ),
406
+ 'i18n_remove_shipping_provider_notice' => _x( 'Do you really want to delete the shipping provider? Some of your existing shipments might be linked to that provider and might need adjustments.', 'shipments', 'woocommerce-germanized' ),
407
+ )
408
+ );
409
+ }
410
+
411
+ // Shipping provider method
412
+ if ( 'woocommerce_page_wc-settings' === $screen_id && isset( $_GET['tab'] ) && 'shipping' === $_GET['tab'] && isset( $_GET['zone_id'] ) ) {
413
+ wp_enqueue_script( 'wc-gzd-admin-shipping-provider-method' );
414
+ }
415
  }
416
 
417
  /**
430
  * @since 3.0.0
431
  * @package Vendidero/Germanized/Shipments
432
  */
433
+ $handlers = apply_filters( 'woocommerce_gzd_shipments_table_bulk_action_handlers', array(
434
+ 'labels' => '\Vendidero\Germanized\Shipments\Admin\BulkLabel'
435
+ ) );
436
 
437
  foreach( $handlers as $key => $handler ) {
438
  self::$bulk_handlers[ $key ] = new $handler();
449
  }
450
 
451
  public static function get_screen_ids() {
452
+
453
  $screen_ids = array(
454
  'woocommerce_page_wc-gzd-shipments',
455
+ 'woocommerce_page_wc-gzd-return-shipments',
456
  );
457
 
458
  foreach ( wc_get_order_types() as $type ) {
packages/woocommerce-germanized-shipments/src/Admin/BulkActionHandler.php CHANGED
@@ -80,6 +80,10 @@ abstract class BulkActionHandler {
80
  return _x( 'Successfully processed shipments.', 'shipments', 'woocommerce-germanized' );
81
  }
82
 
 
 
 
 
83
  public function add_notice( $notice, $type = 'error' ) {
84
  if ( ! isset( $this->notices[ $type ] ) ) {
85
  $this->notices[ $type ] = array();
@@ -125,7 +129,7 @@ abstract class BulkActionHandler {
125
  /**
126
  * Get count of records exported.
127
  *
128
- * @since 3.1.0
129
  * @return int
130
  */
131
  public function get_total_processed() {
@@ -135,7 +139,7 @@ abstract class BulkActionHandler {
135
  /**
136
  * Get total % complete.
137
  *
138
- * @since 3.1.0
139
  * @return int
140
  */
141
  public function get_percent_complete() {
80
  return _x( 'Successfully processed shipments.', 'shipments', 'woocommerce-germanized' );
81
  }
82
 
83
+ public function admin_handled() {
84
+
85
+ }
86
+
87
  public function add_notice( $notice, $type = 'error' ) {
88
  if ( ! isset( $this->notices[ $type ] ) ) {
89
  $this->notices[ $type ] = array();
129
  /**
130
  * Get count of records exported.
131
  *
132
+ * @since 3.0.6
133
  * @return int
134
  */
135
  public function get_total_processed() {
139
  /**
140
  * Get total % complete.
141
  *
142
+ * @since 3.0.6
143
  * @return int
144
  */
145
  public function get_percent_complete() {
packages/{woocommerce-germanized-dhl → woocommerce-germanized-shipments}/src/Admin/BulkLabel.php RENAMED
@@ -1,10 +1,9 @@
1
  <?php
2
 
3
- namespace Vendidero\Germanized\DHL\Admin;
4
  use Exception;
5
- use Vendidero\Germanized\DHL\Package;
6
- use Vendidero\Germanized\DHL\PDFMerger;
7
- use Vendidero\Germanized\Shipments\Admin\BulkActionHandler;
8
 
9
  defined( 'ABSPATH' ) || exit;
10
 
@@ -28,7 +27,7 @@ class BulkLabel extends BulkActionHandler {
28
  }
29
 
30
  public function get_title() {
31
- return _x( 'Generating labels...', 'dhl', 'woocommerce-germanized' );
32
  }
33
 
34
  public function get_file() {
@@ -71,7 +70,19 @@ class BulkLabel extends BulkActionHandler {
71
  }
72
 
73
  public function get_success_message() {
74
- return _x( 'Successfully generated labels.', 'dhl', 'woocommerce-germanized' );
 
 
 
 
 
 
 
 
 
 
 
 
75
  }
76
 
77
  public function handle() {
@@ -79,58 +90,56 @@ class BulkLabel extends BulkActionHandler {
79
 
80
  if ( ! empty( $current ) ) {
81
  foreach( $current as $shipment_id ) {
82
- $label = wc_gzd_dhl_get_shipment_label( $shipment_id );
83
 
84
- if ( ! $label ) {
85
- if ( $shipment = wc_gzd_get_shipment( $shipment_id ) ) {
86
 
87
- // Do only generate label for shipments that support DHL
88
- if ( wc_gzd_dhl_shipment_needs_label( $shipment ) ) {
89
- $response = wc_gzd_dhl_create_label( $shipment );
90
 
91
- if ( is_wp_error( $response ) ) {
92
- $this->add_notice( sprintf( _x( 'Error while creating label for %s: %s', 'dhl', 'woocommerce-germanized' ), '<a href="' . $shipment->get_edit_shipment_url() .'" target="_blank">' . sprintf( _x( 'shipment #%d', 'dhl', 'woocommerce-germanized' ), $shipment_id ) . '</a>', $response->get_error_message() ), 'error' );
 
 
 
93
  } else {
94
- $label = $response;
95
  }
 
 
96
  }
97
  }
98
  }
99
 
100
  // Merge to bulk print/download
101
  if ( $label ) {
 
102
  try {
103
  $path = $this->get_file();
104
  $filename = $this->get_filename();
105
  $pdf = new PDFMerger();
106
- $file = $label->get_file();
107
-
108
- if ( ! $file || ! file_exists( $file ) ) {
109
- continue;
110
- }
111
 
112
  if ( $path ) {
113
  $pdf->add( $path );
114
  }
115
 
116
- $pdf->add( $file );
117
 
118
  if ( ! $path ) {
119
  /**
120
- * Filter to adjust the default filename chosen for bulk exporting DHL labels.
121
  *
122
- * @param string $filename The filename.
123
  * @param BulkLabel $this The `BulkLabel instance.
124
  *
125
  * @since 3.0.0
126
- * @package Vendidero/Germanized/DHL
127
  */
128
- $filename = apply_filters( 'woocommerce_gzd_dhl_label_bulk_filename', 'export.pdf', $this );
129
  }
130
 
131
  $file = $pdf->output( $filename, 'S' );
132
 
133
- if ( $path = wc_gzd_dhl_upload_data( $filename, $file ) ) {
134
  $this->update_file( $path );
135
  }
136
  } catch( Exception $e ) {}
1
  <?php
2
 
3
+ namespace Vendidero\Germanized\Shipments\Admin;
4
  use Exception;
5
+ use Vendidero\Germanized\Shipments\Package;
6
+ use Vendidero\Germanized\Shipments\PDFMerger;
 
7
 
8
  defined( 'ABSPATH' ) || exit;
9
 
27
  }
28
 
29
  public function get_title() {
30
+ return _x( 'Generating labels...', 'shipments', 'woocommerce-germanized' );
31
  }
32
 
33
  public function get_file() {
70
  }
71
 
72
  public function get_success_message() {
73
+ $download_button = '';
74
+
75
+ if ( ( $path = $this->get_file() ) && file_exists( $path ) ) {
76
+
77
+ $download_url = add_query_arg( array(
78
+ 'action' => 'wc-gzd-download-export-shipment-label',
79
+ 'force' => 'no'
80
+ ), wp_nonce_url( admin_url(), 'download-export-shipment-label' ) );
81
+
82
+ $download_button = '<a class="button button-primary" style="margin-left: 1em;" href="' . $download_url . '" target="_blank">' . _x( 'Download labels', 'shipments', 'woocommerce-germanized' ) . '</a>';
83
+ }
84
+
85
+ return sprintf( _x( 'Successfully generated labels. %s', 'shipments', 'woocommerce-germanized' ), $download_button );
86
  }
87
 
88
  public function handle() {
90
 
91
  if ( ! empty( $current ) ) {
92
  foreach( $current as $shipment_id ) {
93
+ $label = false;
94
 
95
+ if ( $shipment = wc_gzd_get_shipment( $shipment_id ) ) {
 
96
 
97
+ if ( $shipment->supports_label() ) {
 
 
98
 
99
+ if ( $shipment->needs_label() ) {
100
+ $result = $shipment->create_label();
101
+
102
+ if ( is_wp_error( $result ) ) {
103
+ $this->add_notice( sprintf( _x( 'Error while creating label for %s: %s', 'shipments', 'woocommerce-germanized' ), '<a href="' . $shipment->get_edit_shipment_url() .'" target="_blank">' . sprintf( _x( 'shipment #%d', 'shipments', 'woocommerce-germanized' ), $shipment_id ) . '</a>', $result->get_error_message() ), 'error' );
104
  } else {
105
+ $label = $shipment->get_label();
106
  }
107
+ } else {
108
+ $label = $shipment->get_label();
109
  }
110
  }
111
  }
112
 
113
  // Merge to bulk print/download
114
  if ( $label ) {
115
+
116
  try {
117
  $path = $this->get_file();
118
  $filename = $this->get_filename();
119
  $pdf = new PDFMerger();
 
 
 
 
 
120
 
121
  if ( $path ) {
122
  $pdf->add( $path );
123
  }
124
 
125
+ $label->merge( $pdf );
126
 
127
  if ( ! $path ) {
128
  /**
129
+ * Filter to adjust the default filename chosen for bulk exporting shipment labels.
130
  *
131
+ * @param string $filename The filename.
132
  * @param BulkLabel $this The `BulkLabel instance.
133
  *
134
  * @since 3.0.0
135
+ * @package Vendidero/Germanized/shipments
136
  */
137
+ $filename = apply_filters( 'woocommerce_gzd_shipment_labels_bulk_filename', 'export.pdf', $this );
138
  }
139
 
140
  $file = $pdf->output( $filename, 'S' );
141
 
142
+ if ( $path = wc_gzd_shipments_upload_data( $filename, $file ) ) {
143
  $this->update_file( $path );
144
  }
145
  } catch( Exception $e ) {}
packages/woocommerce-germanized-shipments/src/Admin/DownloadHandler.php ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Vendidero\Germanized\Shipments\Admin;
4
+ use Vendidero\Germanized\Shipments\Package;
5
+ use WC_Download_Handler;
6
+
7
+ defined( 'ABSPATH' ) || exit;
8
+
9
+ /**
10
+ * WC_Admin class.
11
+ */
12
+ class DownloadHandler {
13
+
14
+ protected static function parse_args( $args = array() ) {
15
+ $args = wp_parse_args( $args, array(
16
+ 'force' => false,
17
+ 'path' => '',
18
+ ) );
19
+
20
+ $args['force'] = wc_string_to_bool( $args['force'] );
21
+
22
+ return $args;
23
+ }
24
+
25
+ public static function download_export( $args = array() ) {
26
+ $args = self::parse_args( $args );
27
+
28
+ if ( current_user_can( 'edit_shop_orders' ) ) {
29
+ $handler = new BulkLabel();
30
+
31
+ if ( $path = $handler->get_file() ) {
32
+ $filename = $handler->get_filename();
33
+
34
+ if ( $args['force'] ) {
35
+ WC_Download_Handler::download_file_force( $path, $filename );
36
+ } else {
37
+ self::embed( $path, $filename );
38
+ }
39
+ }
40
+ }
41
+ }
42
+
43
+ private static function embed( $file_path, $filename ) {
44
+ if ( ob_get_level() ) {
45
+ $levels = ob_get_level();
46
+ for ( $i = 0; $i < $levels; $i++ ) {
47
+ @ob_end_clean(); // phpcs:ignore Generic.PHP.NoSilencedErrors.Discouraged
48
+ }
49
+ } else {
50
+ @ob_end_clean(); // phpcs:ignore Generic.PHP.NoSilencedErrors.Discouraged
51
+ }
52
+
53
+ wc_nocache_headers();
54
+
55
+ header( 'X-Robots-Tag: noindex, nofollow', true );
56
+ header( 'Content-type: application/pdf' );
57
+ header( 'Content-Description: File Transfer' );
58
+ header( 'Content-Disposition: inline; filename="' . $filename . '";' );
59
+ header( 'Content-Transfer-Encoding: binary' );
60
+
61
+ $file_size = @filesize( $file_path ); // phpcs:ignore Generic.PHP.NoSilencedErrors.Discouraged
62
+
63
+ if ( ! $file_size ) {
64
+ return;
65
+ }
66
+
67
+ header( 'Content-Length: ' . $file_size );
68
+
69
+ @readfile( $file_path );
70
+ exit();
71
+ }
72
+ }
packages/woocommerce-germanized-shipments/src/Admin/MetaBox.php CHANGED
@@ -46,6 +46,10 @@ class MetaBox {
46
  $props['shipping_method'] = wc_clean( wp_unslash( $_POST['shipment_shipping_method'][ $id ] ) );
47
  }
48
 
 
 
 
 
49
  if ( isset( $_POST['shipment_shipping_provider'][ $id ] ) ) {
50
  $provider = wc_clean( wp_unslash( $_POST['shipment_shipping_provider'][ $id ] ) );
51
  $providers = wc_gzd_get_shipping_providers();
46
  $props['shipping_method'] = wc_clean( wp_unslash( $_POST['shipment_shipping_method'][ $id ] ) );
47
  }
48
 
49
+ if ( isset( $_POST['shipment_tracking_id'][ $id ] ) ) {
50
+ $props['tracking_id'] = wc_clean( wp_unslash( $_POST['shipment_tracking_id'][ $id ] ) );
51
+ }
52
+
53
  if ( isset( $_POST['shipment_shipping_provider'][ $id ] ) ) {
54
  $provider = wc_clean( wp_unslash( $_POST['shipment_shipping_provider'][ $id ] ) );
55
  $providers = wc_gzd_get_shipping_providers();
packages/woocommerce-germanized-shipments/src/Admin/ReturnTable.php CHANGED
@@ -1,6 +1,7 @@
1
  <?php
2
 
3
  namespace Vendidero\Germanized\Shipments\Admin;
 
4
  use Vendidero\Germanized\Shipments\Shipment;
5
  use Vendidero\Germanized\Shipments\ReturnShipment;
6
  use WP_List_Table;
@@ -29,6 +30,12 @@ class ReturnTable extends Table {
29
  return $columns;
30
  }
31
 
 
 
 
 
 
 
32
  protected function get_custom_actions( $shipment, $actions ) {
33
 
34
  if ( isset( $actions['shipped'] ) ) {
@@ -43,6 +50,17 @@ class ReturnTable extends Table {
43
  );
44
  }
45
 
 
 
 
 
 
 
 
 
 
 
 
46
  return $actions;
47
  }
48
 
@@ -62,7 +80,13 @@ class ReturnTable extends Table {
62
  * @param ReturnShipment $shipment The current shipment object.
63
  */
64
  public function column_sender( $shipment ) {
65
- echo '<address>' . $shipment->get_formatted_sender_address() . '</address>';
 
 
 
 
 
 
66
  }
67
 
68
  /**
1
  <?php
2
 
3
  namespace Vendidero\Germanized\Shipments\Admin;
4
+ use Vendidero\Germanized\Shipments\Package;
5
  use Vendidero\Germanized\Shipments\Shipment;
6
  use Vendidero\Germanized\Shipments\ReturnShipment;
7
  use WP_List_Table;
30
  return $columns;
31
  }
32
 
33
+ /**
34
+ * @param ReturnShipment $shipment
35
+ * @param $actions
36
+ *
37
+ * @return mixed
38
+ */
39
  protected function get_custom_actions( $shipment, $actions ) {
40
 
41
  if ( isset( $actions['shipped'] ) ) {
50
  );
51
  }
52
 
53
+ if ( $shipment->supports_label() ) {
54
+
55
+ if ( $shipment->has_label() ) {
56
+ $actions['email_label'] = array(
57
+ 'url' => wp_nonce_url( admin_url( 'admin-ajax.php?action=woocommerce_gzd_send_shipment_return_label_email&shipment_id=' . $shipment->get_id() ), 'send-shipment-return-label' ),
58
+ 'name' => _x( 'Send label to customer', 'shipments', 'woocommerce-germanized' ),
59
+ 'action' => 'send-label email',
60
+ );
61
+ }
62
+ }
63
+
64
  return $actions;
65
  }
66
 
80
  * @param ReturnShipment $shipment The current shipment object.
81
  */
82
  public function column_sender( $shipment ) {
83
+ $address = $shipment->get_formatted_sender_address();
84
+
85
+ if ( $address ) {
86
+ echo '<a target="_blank" href="' . esc_url( $shipment->get_address_map_url( $shipment->get_sender_address() ) ) . '">' . esc_html( preg_replace( '#<br\s*/?>#i', ', ', $address ) ) . '</a>';
87
+ } else {
88
+ echo '&ndash;';
89
+ }
90
  }
91
 
92
  /**
packages/woocommerce-germanized-shipments/src/Admin/Settings.php CHANGED
@@ -1,7 +1,11 @@
1
  <?php
2
 
3
  namespace Vendidero\Germanized\Shipments\Admin;
 
4
  use Vendidero\Germanized\Shipments\Package;
 
 
 
5
 
6
  defined( 'ABSPATH' ) || exit;
7
 
@@ -87,6 +91,16 @@ class Settings {
87
  'type' => 'gzd_toggle',
88
  ),
89
 
 
 
 
 
 
 
 
 
 
 
90
  array( 'type' => 'sectionend', 'id' => 'shipments_options' ),
91
 
92
  array( 'title' => _x( 'Automation', 'shipments', 'woocommerce-germanized' ), 'type' => 'title', 'id' => 'shipments_auto_options' ),
@@ -134,6 +148,14 @@ class Settings {
134
  'type' => 'gzd_toggle',
135
  ),
136
 
 
 
 
 
 
 
 
 
137
  array( 'type' => 'sectionend', 'id' => 'shipments_auto_options' ),
138
 
139
  array( 'title' => _x( 'Customer Account', 'shipments', 'woocommerce-germanized' ), 'type' => 'title', 'id' => 'shipments_customer_options' ),
@@ -213,17 +235,135 @@ class Settings {
213
  return $settings;
214
  }
215
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
216
  public static function get_settings( $current_section = '' ) {
217
  $settings = array();
218
 
219
  if ( '' === $current_section ) {
220
  $settings = self::get_general_settings();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
221
  }
222
 
223
  return $settings;
224
  }
225
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
226
  public static function get_sections() {
227
- return array();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
228
  }
229
  }
1
  <?php
2
 
3
  namespace Vendidero\Germanized\Shipments\Admin;
4
+ use Exception;
5
  use Vendidero\Germanized\Shipments\Package;
6
+ use Vendidero\Germanized\Shipments\ShippingProvider;
7
+ use Vendidero\Germanized\Shipments\ShippingProviders;
8
+ use WC_Admin_Settings;
9
 
10
  defined( 'ABSPATH' ) || exit;
11
 
91
  'type' => 'gzd_toggle',
92
  ),
93
 
94
+ array(
95
+ 'title' => _x( 'Default provider', 'shipments', 'woocommerce-germanized' ),
96
+ 'desc_tip' => _x( 'Select a default shipping provider which will be selected by default in case no provider could be determined automatically.', 'shipments', 'woocommerce-germanized' ),
97
+ 'id' => 'woocommerce_gzd_shipments_default_shipping_provider',
98
+ 'default' => '',
99
+ 'type' => 'select',
100
+ 'options' => wc_gzd_get_shipping_provider_select(),
101
+ 'class' => 'wc-enhanced-select',
102
+ ),
103
+
104
  array( 'type' => 'sectionend', 'id' => 'shipments_options' ),
105
 
106
  array( 'title' => _x( 'Automation', 'shipments', 'woocommerce-germanized' ), 'type' => 'title', 'id' => 'shipments_auto_options' ),
148
  'type' => 'gzd_toggle',
149
  ),
150
 
151
+ array(
152
+ 'title' => _x( 'Mark as shipped', 'shipments', 'woocommerce-germanized' ),
153
+ 'desc' => _x( 'Mark shipments as shipped after order completion.', 'shipments', 'woocommerce-germanized' ) . '<div class="wc-gzd-additional-desc">' . _x( 'This option will automatically update contained shipments to shipped (if possible, e.g. not yet delivered) as soon as the order was marked as completed.', 'shipments', 'woocommerce-germanized' ) . '</div>',
154
+ 'id' => 'woocommerce_gzd_shipments_auto_order_completed_shipped_enable',
155
+ 'default' => 'no',
156
+ 'type' => 'gzd_toggle',
157
+ ),
158
+
159
  array( 'type' => 'sectionend', 'id' => 'shipments_auto_options' ),
160
 
161
  array( 'title' => _x( 'Customer Account', 'shipments', 'woocommerce-germanized' ), 'type' => 'title', 'id' => 'shipments_customer_options' ),
235
  return $settings;
236
  }
237
 
238
+ public static function save_provider( $provider_name = '' ) {
239
+ $helper = ShippingProviders::instance();
240
+
241
+ $helper->load_shipping_providers();
242
+
243
+ if ( ! empty( $provider_name ) && 'new' !== $provider_name ) {
244
+ $provider = $helper->get_shipping_provider( $provider_name );
245
+ } else {
246
+ $provider = new ShippingProvider();
247
+ }
248
+
249
+ $settings = $provider->get_settings();
250
+
251
+ foreach ( $settings as $setting ) {
252
+
253
+ if ( ! isset( $setting['id'] ) || empty( $setting['id'] ) ) {
254
+ continue;
255
+ }
256
+
257
+ add_filter( 'woocommerce_admin_settings_sanitize_option_' . $setting['id'], function( $value, $option, $raw_value ) use( &$provider ) {
258
+ $option_name = str_replace( 'shipping_provider_', '', $option['id'] );
259
+ $setter = 'set_' . $option_name;
260
+
261
+ try {
262
+ if ( is_callable( array( $provider, $setter ) ) ) {
263
+ $provider->{$setter}( $value );
264
+ }
265
+ } catch( Exception $e ) {}
266
+
267
+ return null;
268
+ }, 10, 3 );
269
+ }
270
+
271
+ WC_Admin_Settings::save_fields( $settings );
272
+ $provider->save();
273
+
274
+ if ( 'new' === $provider_name ) {
275
+ $url = admin_url( 'admin.php?page=wc-settings&tab=germanized-shipments&section=provider&provider=' . $provider->get_name() );
276
+ wp_safe_redirect( $url );
277
+ }
278
+ }
279
+
280
  public static function get_settings( $current_section = '' ) {
281
  $settings = array();
282
 
283
  if ( '' === $current_section ) {
284
  $settings = self::get_general_settings();
285
+ } elseif( 'provider' === $current_section && isset( $_GET['provider'] ) ) {
286
+
287
+ $provider_name = wc_clean( wp_unslash( $_GET['provider'] ) );
288
+ $helper = ShippingProviders::instance();
289
+
290
+ $helper->get_shipping_providers();
291
+
292
+ if ( ! empty( $provider_name ) && 'new' !== $provider_name ) {
293
+ $provider = $helper->get_shipping_provider( $provider_name );
294
+ } else {
295
+ $provider = new ShippingProvider();
296
+ }
297
+
298
+ $settings = $provider->get_settings();
299
  }
300
 
301
  return $settings;
302
  }
303
 
304
+ public static function get_additional_breadcrumb_items( $breadcrumb ) {
305
+ if ( isset( $_GET['section'] ) && 'provider' === $_GET['section'] && isset( $_GET['provider'] ) ) {
306
+ $provider_name = wc_clean( wp_unslash( $_GET['provider'] ) );
307
+ $title = 'new' === $provider_name ? _x( 'New provider', 'shipments', 'woocommerce-germanized' ) : '';
308
+ $helper = ShippingProviders::instance();
309
+
310
+ $helper->get_shipping_providers();
311
+
312
+ if ( ! empty( $provider_name ) && 'new' !== $provider_name ) {
313
+ if ( $provider = $helper->get_shipping_provider( $provider_name ) ) {
314
+ $title = $provider->get_title();
315
+ }
316
+ }
317
+
318
+ if ( ! empty( $title ) ) {
319
+
320
+ foreach( $breadcrumb as $key => $breadcrumb_item ) {
321
+ if ( 'section' === $breadcrumb_item['class'] ) {
322
+ $breadcrumb[ $key ]['href'] = admin_url( 'admin.php?page=wc-settings&tab=germanized-shipments&section=provider' );
323
+ }
324
+ }
325
+
326
+ $breadcrumb[] = array(
327
+ 'class' => 'provider',
328
+ 'href' => '',
329
+ 'title' => $title,
330
+ );
331
+ }
332
+ }
333
+
334
+ return $breadcrumb;
335
+ }
336
+
337
+ public static function get_section_title_link( $section ) {
338
+ if ( 'provider' === $section && ! isset( $_GET['provider'] ) ) {
339
+ return '<a href="' . admin_url( 'admin.php?page=wc-settings&tab=germanized-shipments&section=provider&provider=new' ) . '" class="page-title-action">' . _x( 'Add provider', 'shipments', 'woocommerce-germanized' ) . '</a>';
340
+ }
341
+
342
+ return '';
343
+ }
344
+
345
  public static function get_sections() {
346
+ return array(
347
+ '' => _x( 'General', 'shipments', 'woocommerce-germanized' ),
348
+ 'provider' => _x( 'Shipping Provider', 'shipments', 'woocommerce-germanized' )
349
+ );
350
+ }
351
+
352
+ /**
353
+ * Handles output of the shipping zones page in admin.
354
+ */
355
+ public static function output_providers() {
356
+ global $hide_save_button;
357
+
358
+ $hide_save_button = true;
359
+ self::provider_screen();
360
+ }
361
+
362
+ protected static function provider_screen() {
363
+
364
+ $helper = ShippingProviders::instance();
365
+ $providers = $helper->get_shipping_providers();
366
+
367
+ include_once Package::get_path() . '/includes/admin/views/html-settings-provider-list.php';
368
  }
369
  }
packages/woocommerce-germanized-shipments/src/Admin/Table.php CHANGED
@@ -2,8 +2,11 @@
2
 
3
  namespace Vendidero\Germanized\Shipments\Admin;
4
  use Vendidero\Germanized\Shipments\Shipment;
 
 
5
  use WP_List_Table;
6
  use Vendidero\Germanized\Shipments\ShipmentQuery;
 
7
 
8
  defined( 'ABSPATH' ) || exit;
9
 
@@ -26,7 +29,7 @@ class Table extends WP_List_Table {
26
  /**
27
  * Constructor.
28
  *
29
- * @since 3.1.0
30
  *
31
  * @see WP_List_Table::__construct() for more information on default arguments.
32
  *
@@ -215,10 +218,10 @@ class Table extends WP_List_Table {
215
  }
216
 
217
  /**
218
- * @global array $avail_post_stati
219
  * @global WP_Query $wp_query
220
- * @global int $per_page
221
- * @global string $mode
222
  */
223
  public function prepare_items() {
224
  global $per_page;
@@ -448,7 +451,7 @@ class Table extends WP_List_Table {
448
  /**
449
  * Display a monthly dropdown for filtering items
450
  *
451
- * @since 3.1.0
452
  *
453
  * @global wpdb $wpdb
454
  * @global WP_Locale $wp_locale
@@ -508,7 +511,7 @@ class Table extends WP_List_Table {
508
  /**
509
  * Generate the table navigation above or below the table
510
  *
511
- * @since 3.1.0
512
  * @param string $which
513
  */
514
  protected function display_tablenav( $which ) {
@@ -536,27 +539,29 @@ class Table extends WP_List_Table {
536
  <div class="updated">
537
  <p><?php echo $handler->get_success_message(); ?></p>
538
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
539
  <?php endif; ?>
540
 
541
- <?php
542
- /**
543
- * Action that fires after a certain bulk action result has been rendered.
544
- *
545
- * The dynamic portion of this hook, `$this->get_hook_prefix()` is used to construct a
546
- * unique hook for a shipment type e.g. return. In case of simple shipments the type is omitted.
547
- * `$bulk_action` refers to the bulk action handled.
548
- *
549
- * Example hook name: woocommerce_gzd_return_shipments_table_mark_processing_handled
550
- *
551
- * @param BulkActionHandler $bulk_action_handler The bulk action handler.
552
- * @param string $bulk_action The bulk action.
553
- *
554
- * @since 3.0.0
555
- * @package Vendidero/Germanized/Shipments
556
- */
557
- do_action( "{$this->get_hook_prefix()}bulk_action_{$bulk_action}_handled", $handler, $bulk_action );
558
- $handler->reset();
559
- ?>
560
  <?php endif; ?>
561
  <?php
562
  }
@@ -734,13 +739,32 @@ class Table extends WP_List_Table {
734
  * @param Shipment $shipment The current shipment object.
735
  */
736
  public function column_title( $shipment ) {
 
737
  $title = sprintf( _x( '%s #%s', 'shipment title', 'woocommerce-germanized' ), wc_gzd_get_shipment_label( $shipment->get_type() ), $shipment->get_id() );
738
 
739
  if ( $order = $shipment->get_order() ) {
740
- echo '<a href="' . $shipment->get_edit_shipment_url() . '">' . $title . '</a>';
741
  } else {
742
- echo $title;
743
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
744
  }
745
 
746
  protected function get_custom_actions( $shipment, $actions ) {
@@ -790,6 +814,29 @@ class Table extends WP_List_Table {
790
  );
791
  }
792
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
793
  $actions = $this->get_custom_actions( $shipment, $actions );
794
 
795
  /**
@@ -860,6 +907,19 @@ class Table extends WP_List_Table {
860
  <?php endif; ?>
861
 
862
  <?php echo ( $item->get_sku() ? '<br/><small>' . esc_html_x( 'SKU:', 'shipments', 'woocommerce-germanized' ) . ' ' . esc_html( $item->get_sku() ) . '</small>' : '' ); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
863
  </td>
864
  <td class="wc-gzd-shipment-item-column-quantity">
865
  <?php echo $item->get_quantity(); ?>x
@@ -879,7 +939,13 @@ class Table extends WP_List_Table {
879
  * @param Shipment $shipment The current shipment object.
880
  */
881
  public function column_address( $shipment ) {
882
- echo '<address>' . $shipment->get_formatted_address() . '</address>';
 
 
 
 
 
 
883
  }
884
 
885
  /**
@@ -1009,6 +1075,7 @@ class Table extends WP_List_Table {
1009
  $actions['mark_processing'] = _x( 'Change status to processing', 'shipments', 'woocommerce-germanized' );
1010
  $actions['mark_shipped'] = _x( 'Change status to shipped', 'shipments', 'woocommerce-germanized' );
1011
  $actions['mark_delivered'] = _x( 'Change status to delivered', 'shipments', 'woocommerce-germanized' );
 
1012
 
1013
  $actions = $this->get_custom_bulk_actions( $actions );
1014
 
2
 
3
  namespace Vendidero\Germanized\Shipments\Admin;
4
  use Vendidero\Germanized\Shipments\Shipment;
5
+ use Vendidero\Germanized\Shipments\Package;
6
+ use Vendidero\Germanized\Shipments\ShipmentItem;
7
  use WP_List_Table;
8
  use Vendidero\Germanized\Shipments\ShipmentQuery;
9
+ use WP_Query;
10
 
11
  defined( 'ABSPATH' ) || exit;
12
 
29
  /**
30
  * Constructor.
31
  *
32
+ * @since 3.0.6
33
  *
34
  * @see WP_List_Table::__construct() for more information on default arguments.
35
  *
218
  }
219
 
220
  /**
221
+ * @global array $avail_post_stati
222
  * @global WP_Query $wp_query
223
+ * @global int $per_page
224
+ * @global string $mode
225
  */
226
  public function prepare_items() {
227
  global $per_page;
451
  /**
452
  * Display a monthly dropdown for filtering items
453
  *
454
+ * @since 3.0.6
455
  *
456
  * @global wpdb $wpdb
457
  * @global WP_Locale $wp_locale
511
  /**
512
  * Generate the table navigation above or below the table
513
  *
514
+ * @since 3.0.6
515
  * @param string $which
516
  */
517
  protected function display_tablenav( $which ) {
539
  <div class="updated">
540
  <p><?php echo $handler->get_success_message(); ?></p>
541
  </div>
542
+
543
+ <?php
544
+ $handler->admin_handled();
545
+ /**
546
+ * Action that fires after a certain bulk action result has been rendered.
547
+ *
548
+ * The dynamic portion of this hook, `$this->get_hook_prefix()` is used to construct a
549
+ * unique hook for a shipment type e.g. return. In case of simple shipments the type is omitted.
550
+ * `$bulk_action` refers to the bulk action handled.
551
+ *
552
+ * Example hook name: woocommerce_gzd_return_shipments_table_mark_processing_handled
553
+ *
554
+ * @param BulkActionHandler $bulk_action_handler The bulk action handler.
555
+ * @param string $bulk_action The bulk action.
556
+ *
557
+ * @since 3.0.0
558
+ * @package Vendidero/Germanized/Shipments
559
+ */
560
+ do_action( "{$this->get_hook_prefix()}bulk_action_{$bulk_action}_handled", $handler, $bulk_action );
561
+ ?>
562
  <?php endif; ?>
563
 
564
+ <?php $handler->reset(); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
565
  <?php endif; ?>
566
  <?php
567
  }
739
  * @param Shipment $shipment The current shipment object.
740
  */
741
  public function column_title( $shipment ) {
742
+
743
  $title = sprintf( _x( '%s #%s', 'shipment title', 'woocommerce-germanized' ), wc_gzd_get_shipment_label( $shipment->get_type() ), $shipment->get_id() );
744
 
745
  if ( $order = $shipment->get_order() ) {
746
+ echo '<a href="' . $shipment->get_edit_shipment_url() . '">' . $title . '</a> ';
747
  } else {
748
+ echo $title . ' ';
749
  }
750
+
751
+ echo '<p class="shipment-title-meta">';
752
+
753
+ $provider = $shipment->get_shipping_provider();
754
+
755
+ if ( ! empty( $provider ) ) {
756
+ echo '<span class="shipment-shipping-provider">' . sprintf( _x( 'via %s', 'shipments', 'woocommerce-germanized' ), wc_gzd_get_shipping_provider_title( $provider ) ) . '</span> ';
757
+ }
758
+
759
+ if ( $tracking_id = $shipment->get_tracking_id() ) {
760
+ if ( $tracking_url = $shipment->get_tracking_url() ) {
761
+ echo '<a class="shipment-tracking-id" href="' . esc_url( $tracking_url ) . '">' . $tracking_id . '</a>';
762
+ } else {
763
+ echo '<span class="shipment-tracking-id">' . $tracking_id . '</span>';
764
+ }
765
+ }
766
+
767
+ echo '</p>';
768
  }
769
 
770
  protected function get_custom_actions( $shipment, $actions ) {
814
  );
815
  }
816
 
817
+ if ( $shipment->supports_label() ) {
818
+
819
+ if ( $shipment->has_label() ) {
820
+
821
+ $actions['download_label'] = array(
822
+ 'url' => $shipment->get_label_download_url(),
823
+ 'name' => _x( 'Download label', 'shipments', 'woocommerce-germanized' ),
824
+ 'action' => 'download-label download',
825
+ 'target' => '_blank'
826
+ );
827
+
828
+ } elseif( $shipment->needs_label() ) {
829
+
830
+ $actions['generate_label'] = array(
831
+ 'url' => '#',
832
+ 'name' => _x( 'Generate label', 'shipments', 'woocommerce-germanized' ),
833
+ 'action' => 'generate-label generate',
834
+ );
835
+
836
+ include Package::get_path() . '/includes/admin/views/label/html-shipment-label-backbone.php';
837
+ }
838
+ }
839
+
840
  $actions = $this->get_custom_actions( $shipment, $actions );
841
 
842
  /**
907
  <?php endif; ?>
908
 
909
  <?php echo ( $item->get_sku() ? '<br/><small>' . esc_html_x( 'SKU:', 'shipments', 'woocommerce-germanized' ) . ' ' . esc_html( $item->get_sku() ) . '</small>' : '' ); ?>
910
+
911
+ <?php
912
+ /**
913
+ * Action that fires after outputting the shipment item data in admin table view.
914
+ *
915
+ * @param integer $item_id The shipment item id.
916
+ * @param ShipmentItem $shipment_item The shipment item instance.
917
+ * @param Shipment $shipment The shipment instance.
918
+ *
919
+ * @since 3.0.6
920
+ * @package Vendidero/Germanized/Shipments
921
+ */
922
+ do_action( "{$this->get_hook_prefix()}item_after_name", $item->get_id(), $item, $shipment ); ?>
923
  </td>
924
  <td class="wc-gzd-shipment-item-column-quantity">
925
  <?php echo $item->get_quantity(); ?>x
939
  * @param Shipment $shipment The current shipment object.
940
  */
941
  public function column_address( $shipment ) {
942
+ $address = $shipment->get_formatted_address();
943
+
944
+ if ( $address ) {
945
+ echo '<a target="_blank" href="' . esc_url( $shipment->get_address_map_url( $shipment->get_address() ) ) . '">' . esc_html( preg_replace( '#<br\s*/?>#i', ', ', $address ) ) . '</a>';
946
+ } else {
947
+ echo '&ndash;';
948
+ }
949
  }
950
 
951
  /**
1075
  $actions['mark_processing'] = _x( 'Change status to processing', 'shipments', 'woocommerce-germanized' );
1076
  $actions['mark_shipped'] = _x( 'Change status to shipped', 'shipments', 'woocommerce-germanized' );
1077
  $actions['mark_delivered'] = _x( 'Change status to delivered', 'shipments', 'woocommerce-germanized' );
1078
+ $actions['labels'] = _x( 'Generate and download labels', 'shipments', 'woocommerce-germanized' );
1079
 
1080
  $actions = $this->get_custom_bulk_actions( $actions );
1081
 
packages/woocommerce-germanized-shipments/src/Ajax.php CHANGED
@@ -41,7 +41,13 @@ class Ajax {
41
  'validate_shipment_item_quantities',
42
  'json_search_orders',
43
  'update_shipment_status',
44
- 'shipments_bulk_action_handle'
 
 
 
 
 
 
45
  );
46
 
47
  foreach ( $ajax_events as $ajax_event ) {
@@ -49,6 +55,301 @@ class Ajax {
49
  }
50
  }
51
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
  public static function shipments_bulk_action_handle() {
53
  $action = isset( $_POST['bulk_action'] ) ? wc_clean( $_POST['bulk_action'] ) : '';
54
  $type = isset( $_POST['type'] ) ? wc_clean( $_POST['type'] ) : 'simple';
41
  'validate_shipment_item_quantities',
42
  'json_search_orders',
43
  'update_shipment_status',
44
+ 'shipments_bulk_action_handle',
45
+ 'remove_shipping_provider',
46
+ 'edit_shipping_provider_status',
47
+ 'create_shipment_label_form',
48
+ 'create_shipment_label',
49
+ 'remove_shipment_label',
50
+ 'send_shipment_return_label_email'
51
  );
52
 
53
  foreach ( $ajax_events as $ajax_event ) {
55
  }
56
  }
57
 
58
+ public static function send_shipment_return_label_email() {
59
+ $success = false;
60
+
61
+ if ( current_user_can( 'edit_shop_orders' ) && isset( $_REQUEST['shipment_id'] ) ) {
62
+
63
+ if ( isset( $_GET['shipment_id'] ) ) {
64
+ $referrer = check_admin_referer( 'send-shipment-return-label' );
65
+ } else {
66
+ $referrer = check_ajax_referer( 'send-shipment-return-label', 'security' );
67
+ }
68
+
69
+ if ( $referrer ) {
70
+ $shipment_id = absint( wp_unslash( $_REQUEST['shipment_id'] ) );
71
+
72
+ if ( $shipment = wc_gzd_get_shipment( $shipment_id ) ) {
73
+ if ( 'return' === $shipment->get_type() && $shipment->has_label() ) {
74
+ $label = $shipment->get_label();
75
+
76
+ if ( 'return' === $label->get_type() ) {
77
+ if ( $label->send_to_customer( true ) ) {
78
+ $success = true;
79
+ }
80
+ }
81
+ }
82
+ }
83
+ }
84
+
85
+ if ( isset( $_GET['shipment_id'] ) ) {
86
+ wp_safe_redirect( wp_get_referer() ? wp_get_referer() : admin_url( 'admin.php?page=wc-gzd-return-shipments' ) );
87
+ exit;
88
+ } else {
89
+ if ( $success ) {
90
+ wp_send_json( array(
91
+ 'success' => true,
92
+ 'messages' => array(
93
+ _x( 'Label successfully sent to customer.', 'shipments', 'woocommerce-germanized' )
94
+ ),
95
+ ) );
96
+ } else {
97
+ wp_send_json( array(
98
+ 'success' => false,
99
+ 'messages' => array(
100
+ _x( 'There was an error while sending the label.', 'shipments', 'woocommerce-germanized' )
101
+ ),
102
+ ) );
103
+ }
104
+ }
105
+ }
106
+ }
107
+
108
+ public static function create_shipment_label_form() {
109
+ check_ajax_referer( 'create-shipment-label-form', 'security' );
110
+
111
+ if ( ! current_user_can( 'edit_shop_orders' ) || ! isset( $_POST['shipment_id'] ) ) {
112
+ wp_die( -1 );
113
+ }
114
+
115
+ $shipment_id = absint( $_POST['shipment_id'] );
116
+ $response = array();
117
+ $response_error = array(
118
+ 'success' => false,
119
+ 'messages' => array(
120
+ _x( 'There was an error creating the label.', 'shipments', 'woocommerce-germanized' )
121
+ ),
122
+ );
123
+
124
+ if ( ! $shipment = wc_gzd_get_shipment( $shipment_id ) ) {
125
+ wp_send_json( $response_error );
126
+ }
127
+
128
+ if ( $shipment->supports_label() && $shipment->needs_label() ) {
129
+ ob_start();
130
+ $shipment->print_label_admin_fields();
131
+ $html = ob_get_clean();
132
+ }
133
+
134
+ $response = array(
135
+ 'fragments' => array(
136
+ '.wc-gzd-shipment-create-label' => '<div class="wc-gzd-shipment-create-label">' . $html . '</div>',
137
+ ),
138
+ 'shipment_id' => $shipment_id,
139
+ 'success' => true,
140
+ );
141
+
142
+ wp_send_json( $response );
143
+ }
144
+
145
+ public static function remove_shipment_label() {
146
+ check_ajax_referer( 'remove-shipment-label', 'security' );
147
+
148
+ if ( ! current_user_can( 'edit_shop_orders' ) || ! isset( $_POST['shipment_id'] ) ) {
149
+ wp_die( -1 );
150
+ }
151
+
152
+ $response = array();
153
+ $response_error = array(
154
+ 'success' => false,
155
+ 'messages' => array(
156
+ _x( 'There was an error deleting the label.', 'shipments', 'woocommerce-germanized' )
157
+ ),
158
+ );
159
+
160
+ $shipment_id = absint( $_POST['shipment_id'] );
161
+
162
+ if ( ! $shipment = wc_gzd_get_shipment( $shipment_id ) ) {
163
+ wp_send_json( $response_error );
164
+ }
165
+
166
+ if ( ! $label = $shipment->get_label() ) {
167
+ wp_send_json( $response_error );
168
+ }
169
+
170
+ if ( $label->delete( true ) ) {
171
+ $response = array(
172
+ 'success' => true,
173
+ 'shipment_id' => $shipment->get_id(),
174
+ 'needs_refresh' => true,
175
+ 'fragments' => array(
176
+ 'div#shipment-' . $shipment_id => self::get_shipment_html( $shipment ),
177
+ ),
178
+ );
179
+ } else {
180
+ wp_send_json( $response_error );
181
+ }
182
+
183
+ wp_send_json( $response );
184
+ }
185
+
186
+ public static function create_shipment_label() {
187
+ check_ajax_referer( 'create-shipment-label', 'security' );
188
+
189
+ if ( ! current_user_can( 'edit_shop_orders' ) || ! isset( $_POST['shipment_id'] ) ) {
190
+ wp_die( -1 );
191
+ }
192
+
193
+ $response = array();
194
+ $response_error = array(
195
+ 'success' => false,
196
+ 'messages' => array(
197
+ _x( 'There was an error processing the label.', 'shipments', 'woocommerce-germanized' )
198
+ ),
199
+ );
200
+
201
+ $shipment_id = absint( $_POST['shipment_id'] );
202
+ $result = false;
203
+
204
+ if ( ! $shipment = wc_gzd_get_shipment( $shipment_id ) ) {
205
+ wp_send_json( $response_error );
206
+ }
207
+
208
+ if ( $shipment->supports_label() && $shipment->needs_label() ) {
209
+
210
+ $data = array();
211
+ $raw_data = $_POST;
212
+ $prefix = "{$shipment->get_shipping_provider()}_label_";
213
+
214
+ foreach( $_POST as $key => $value ) {
215
+ if ( substr( $key, 0, strlen( $prefix ) ) === $prefix ) {
216
+ $new_key = substr( $key, ( strlen( $prefix ) ) );
217
+ $data[ $new_key ] = wc_clean( wp_unslash( $value ) );
218
+ }
219
+ }
220
+
221
+ $result = $shipment->create_label( $data, $raw_data );
222
+ }
223
+
224
+ if ( is_wp_error( $result ) ) {
225
+ $response = array(
226
+ 'success' => false,
227
+ 'messages' => $result->get_error_messages(),
228
+ );
229
+ } elseif ( $label = $shipment->get_label() ) {
230
+
231
+ $order_shipment = wc_gzd_get_shipment_order( $shipment->get_order() );
232
+
233
+ $response = array(
234
+ 'success' => true,
235
+ 'label_id' => $label->get_id(),
236
+ 'shipment_id' => $shipment_id,
237
+ 'needs_refresh' => true,
238
+ 'fragments' => array(
239
+ 'div#shipment-' . $shipment_id => self::get_shipment_html( $shipment ),
240
+ '.order-shipping-status' => $order_shipment ? self::get_order_status_html( $order_shipment ) : '',
241
+ 'tr#shipment-' . $shipment_id . ' td.actions .wc-gzd-shipment-action-button-generate-label' => self::label_download_button_html( $shipment ),
242
+ ),
243
+ );
244
+ } else {
245
+ $response = $response_error;
246
+ }
247
+
248
+ wp_send_json( $response );
249
+ }
250
+
251
+ protected static function get_shipment_html( $p_shipment, $p_is_active = true ) {
252
+ $is_active = $p_is_active;
253
+ $shipment = $p_shipment;
254
+
255
+ ob_start();
256
+ include( Package::get_path() . '/includes/admin/views/html-order-shipment.php' );
257
+ $html = ob_get_clean();
258
+
259
+ return $html;
260
+ }
261
+
262
+ protected static function get_label_html( $p_shipment, $p_label = false ) {
263
+ $shipment = $p_shipment;
264
+
265
+ if ( $p_label ) {
266
+ $label = $p_label;
267
+ }
268
+
269
+ ob_start();
270
+ include( Package::get_path() . '/includes/admin/views/label/html-shipment-label.php' );
271
+ $html = ob_get_clean();
272
+
273
+ return $html;
274
+ }
275
+
276
+ /**
277
+ * @param Shipment $shipment
278
+ *
279
+ * @return string
280
+ */
281
+ protected static function label_download_button_html( $shipment ) {
282
+ return '<a class="button wc-gzd-shipment-action-button wc-gzd-shipment-action-button-download-label download" href="' . $shipment->get_label_download_url() .'" target="_blank" title="' . _x( 'Download label', 'shipments', 'woocommerce-germanized' ) . '">' . _x( 'Download label', 'shipments', 'woocommerce-germanized' ) . '</a>';
283
+ }
284
+
285
+ public static function edit_shipping_provider_status() {
286
+ check_ajax_referer( 'edit-shipping-providers', 'security' );
287
+
288
+ if ( ! current_user_can( 'edit_shop_orders' ) || ! isset( $_POST['provider'] ) || ! isset( $_POST['enable'] ) ) {
289
+ wp_die( -1 );
290
+ }
291
+
292
+ $response_error = array(
293
+ 'success' => false,
294
+ 'message' => _x( 'There was an error while trying to save the shipping provider status.', 'shipments', 'woocommerce-germanized' ),
295
+ );
296
+
297
+ $provider = sanitize_key( wc_clean( $_POST['provider'] ) );
298
+ $enable = wc_clean( $_POST['enable'] );
299
+ $helper = ShippingProviders::instance();
300
+ $response = array(
301
+ 'success' => true,
302
+ 'provider' => $provider,
303
+ 'message' => '',
304
+ );
305
+
306
+ $helper->load_shipping_providers();
307
+
308
+ if ( $shipping_provider = $helper->get_shipping_provider( $provider ) ) {
309
+ if ( 'yes' === $enable ) {
310
+ $response['activated'] = 'yes';
311
+ $shipping_provider->activate();
312
+ } else {
313
+ $response['activated'] = 'no';
314
+ $shipping_provider->deactivate();
315
+ }
316
+
317
+ wp_send_json( $response );
318
+ } else {
319
+ wp_send_json( $response_error );
320
+ }
321
+ }
322
+
323
+ public static function remove_shipping_provider() {
324
+ check_ajax_referer( 'remove-shipping-provider', 'security' );
325
+
326
+ if ( ! current_user_can( 'edit_shop_orders' ) || ! isset( $_POST['provider'] ) ) {
327
+ wp_die( -1 );
328
+ }
329
+
330
+ $response_error = array(
331
+ 'success' => false,
332
+ 'message' => _x( 'There was an error while trying to delete the shipping provider.', 'shipments', 'woocommerce-germanized' ),
333
+ );
334
+
335
+ $provider = sanitize_key( wc_clean( $_POST['provider'] ) );
336
+ $helper = ShippingProviders::instance();
337
+ $response = array(
338
+ 'success' => true,
339
+ 'provider' => $provider,
340
+ 'message' => '',
341
+ );
342
+
343
+ $helper->load_shipping_providers();
344
+
345
+ if ( $shipping_provider = $helper->get_shipping_provider( $provider ) ) {
346
+ $shipping_provider->delete();
347
+ wp_send_json( $response );
348
+ } else {
349
+ wp_send_json( $response_error );
350
+ }
351
+ }
352
+
353
  public static function shipments_bulk_action_handle() {
354
  $action = isset( $_POST['bulk_action'] ) ? wc_clean( $_POST['bulk_action'] ) : '';
355
  $type = isset( $_POST['type'] ) ? wc_clean( $_POST['type'] ) : 'simple';
packages/woocommerce-germanized-shipments/src/Automation.php CHANGED
@@ -7,6 +7,7 @@
7
  namespace Vendidero\Germanized\Shipments;
8
 
9
  use Vendidero\Germanized\Shipments\Admin\MetaBox;
 
10
 
11
  defined( 'ABSPATH' ) || exit;
12
 
@@ -30,6 +31,58 @@ class Automation {
30
  if ( 'yes' === Package::get_setting( 'auto_order_shipped_completed_enable' ) ) {
31
  add_action( 'woocommerce_gzd_shipment_status_changed', array( __CLASS__, 'maybe_mark_order_completed' ), 150, 4 );
32
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  }
34
 
35
  /**
@@ -46,11 +99,11 @@ class Automation {
46
 
47
  if ( 'shipped' === $shipment_order->get_shipping_status() ) {
48
  /**
49
- * Filter to adjust the status of an order after all it's required
50
- * shipments has been marked as shipped. Does only take effect if the automation option has been set
51
  * within the shipment settings.
52
  *
53
- * @param boolean $status The order status to be used.
54
  * @param integer $shipment_id The shipment id.
55
  *
56
  * @since 3.0.5
@@ -73,10 +126,10 @@ class Automation {
73
  $shipments = $order_shipment->get_simple_shipments();
74
 
75
  foreach( $shipments as $shipment ) {
76
- if ( $shipment->is_editable() ) {
 
77
  $shipment->sync();
78
  $shipment->sync_items();
79
- $shipment->set_status( $shipment_status );
80
  $shipment->save();
81
  }
82
  }
@@ -94,7 +147,7 @@ class Automation {
94
  public static function maybe_create_shipments( $order_id ) {
95
 
96
  // Make sure that MetaBox is saved before we process automation
97
- if ( isset( $_POST['action'] ) && 'editpost' === $_POST['action'] && isset( $_POST['post_type'] ) && 'shop_order' === $_POST['post_type'] ) {
98
  add_action( 'woocommerce_process_shop_order_meta', array( __CLASS__, 'create_shipments' ), 70 );
99
  } else {
100
  self::create_shipments( $order_id );
7
  namespace Vendidero\Germanized\Shipments;
8
 
9
  use Vendidero\Germanized\Shipments\Admin\MetaBox;
10
+ use WC_Order;
11
 
12
  defined( 'ABSPATH' ) || exit;
13
 
31
  if ( 'yes' === Package::get_setting( 'auto_order_shipped_completed_enable' ) ) {
32
  add_action( 'woocommerce_gzd_shipment_status_changed', array( __CLASS__, 'maybe_mark_order_completed' ), 150, 4 );
33
  }
34
+
35
+ if ( 'yes' === Package::get_setting( 'auto_order_completed_shipped_enable' ) ) {
36
+ add_action( 'woocommerce_order_status_changed', array( __CLASS__, 'maybe_mark_shipments_shipped' ), 150, 4 );
37
+ }
38
+ }
39
+
40
+ /**
41
+ * @param $order_id
42
+ * @param $old_status
43
+ * @param $new_status
44
+ * @param WC_Order $order
45
+ */
46
+ public static function maybe_mark_shipments_shipped( $order_id, $old_status, $new_status, $order ) {
47
+
48
+ /**
49
+ * Filter to decide which order status is used to determine if a order
50
+ * is completed or not to update contained shipment statuses to shipped.
51
+ * Does only take effect if the automation option has been set within the shipment settings.
52
+ *
53
+ * @param string $status The current order status.
54
+ * @param integer $order_id The order id.
55
+ *
56
+ * @since 3.0.5
57
+ * @package Vendidero/Germanized/Shipments
58
+ */
59
+ if ( apply_filters( 'woocommerce_gzd_shipments_order_completed_status', 'completed', $order_id ) === $new_status ) {
60
+
61
+ // Make sure that MetaBox is saved before we process automation
62
+ if ( self::is_admin_edit_order_request() ) {
63
+ add_action( 'woocommerce_process_shop_order_meta', array( __CLASS__, 'mark_shipments_shipped' ), 70 );
64
+ } else {
65
+ self::mark_shipments_shipped( $order_id );
66
+ }
67
+ }
68
+ }
69
+
70
+ private static function is_admin_edit_order_request() {
71
+ return ( isset( $_POST['action'] ) && 'editpost' === $_POST['action'] && isset( $_POST['post_type'] ) && 'shop_order' === $_POST['post_type'] );
72
+ }
73
+
74
+ public static function mark_shipments_shipped( $order_id ) {
75
+
76
+ if ( $order = wc_get_order( $order_id ) ) {
77
+ if ( $shipment_order = wc_gzd_get_shipment_order( $order ) ) {
78
+ foreach( $shipment_order->get_simple_shipments() as $shipment ) {
79
+
80
+ if ( ! $shipment->has_status( array( 'shipped', 'delivered', 'returned' ) ) ) {
81
+ $shipment->update_status( 'shipped' );
82
+ }
83
+ }
84
+ }
85
+ }
86
  }
87
 
88
  /**
99
 
100
  if ( 'shipped' === $shipment_order->get_shipping_status() ) {
101
  /**
102
+ * Filter to adjust the new status of an order after all it's required
103
+ * shipments have been marked as shipped. Does only take effect if the automation option has been set
104
  * within the shipment settings.
105
  *
106
+ * @param string $status The order status to be used.
107
  * @param integer $shipment_id The shipment id.
108
  *
109
  * @since 3.0.5
126
  $shipments = $order_shipment->get_simple_shipments();
127
 
128
  foreach( $shipments as $shipment ) {
129
+
130
+ if ( $shipment->is_editable() ) {
131
  $shipment->sync();
132
  $shipment->sync_items();
 
133
  $shipment->save();
134
  }
135
  }
147
  public static function maybe_create_shipments( $order_id ) {
148
 
149
  // Make sure that MetaBox is saved before we process automation
150
+ if ( self::is_admin_edit_order_request() ) {
151
  add_action( 'woocommerce_process_shop_order_meta', array( __CLASS__, 'create_shipments' ), 70 );
152
  } else {
153
  self::create_shipments( $order_id );
packages/woocommerce-germanized-shipments/src/DataStores/Shipment.php CHANGED
@@ -522,7 +522,7 @@ class Shipment extends WC_Data_Store_WP implements WC_Object_Data_Store_Interfac
522
  public function delete_items( $shipment ) {
523
  global $wpdb;
524
 
525
- $wpdb->query( $wpdb->prepare( "DELETE FROM itemmeta USING {$wpdb->gzd_shipment_itemmeta} itemmeta INNER JOIN {$wpdb->gzd_shipment_items} items WHERE itemmeta.shipment_item_id = items.shipment_item_id and items.shipment_id = %d", $shipment->get_id() ) );
526
  $wpdb->query( $wpdb->prepare( "DELETE FROM {$wpdb->gzd_shipment_items} WHERE shipment_id = %d", $shipment->get_id() ) );
527
 
528
  $this->clear_caches( $shipment );
@@ -531,7 +531,7 @@ class Shipment extends WC_Data_Store_WP implements WC_Object_Data_Store_Interfac
531
  /**
532
  * Get valid WP_Query args from a WC_Order_Query's query variables.
533
  *
534
- * @since 3.1.0
535
  * @param array $query_vars query vars from a WC_Order_Query.
536
  * @return array
537
  */
522
  public function delete_items( $shipment ) {
523
  global $wpdb;
524
 
525
+ $wpdb->query( $wpdb->prepare( "DELETE FROM itemmeta USING {$wpdb->gzd_shipment_itemmeta} itemmeta INNER JOIN {$wpdb->gzd_shipment_items} items WHERE itemmeta.gzd_shipment_item_id = items.shipment_item_id and items.shipment_id = %d", $shipment->get_id() ) );
526
  $wpdb->query( $wpdb->prepare( "DELETE FROM {$wpdb->gzd_shipment_items} WHERE shipment_id = %d", $shipment->get_id() ) );
527
 
528
  $this->clear_caches( $shipment );
531
  /**
532
  * Get valid WP_Query args from a WC_Order_Query's query variables.
533
  *
534
+ * @since 3.0.6
535
  * @param array $query_vars query vars from a WC_Order_Query.
536
  * @return array
537
  */
packages/woocommerce-germanized-shipments/src/DataStores/ShippingProvider.php ADDED
@@ -0,0 +1,425 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Vendidero\Germanized\Shipments\DataStores;
4
+ use WC_Data_Store_WP;
5
+ use WC_Object_Data_Store_Interface;
6
+ use Exception;
7
+ use WC_Data;
8
+
9
+ defined( 'ABSPATH' ) || exit;
10
+
11
+ /**
12
+ * Abstract Shipping Provider Data Store.
13
+ *
14
+ * @version 3.0.0
15
+ */
16
+ class ShippingProvider extends WC_Data_Store_WP implements WC_Object_Data_Store_Interface {
17
+
18
+ /**
19
+ * Internal meta type used to store order data.
20
+ *
21
+ * @var string
22
+ */
23
+ protected $meta_type = 'gzd_shipping_provider';
24
+
25
+ /**
26
+ * Data stored in meta keys, but not considered "meta" for an order.
27
+ *
28
+ * @since 3.0.0
29
+ * @var array
30
+ */
31
+ protected $internal_meta_keys = array(
32
+ '_tracking_url_placeholder',
33
+ '_tracking_desc_placeholder',
34
+ '_description',
35
+ );
36
+
37
+ protected $core_props = array(
38
+ 'activated',
39
+ 'title',
40
+ 'name',
41
+ );
42
+
43
+ /*
44
+ |--------------------------------------------------------------------------
45
+ | CRUD Methods
46
+ |--------------------------------------------------------------------------
47
+ */
48
+
49
+ /**
50
+ * Method to create a new provider in the database.
51
+ *
52
+ * @param \Vendidero\Germanized\Shipments\ShippingProvider $provider Shipping provider object.
53
+ */
54
+ public function create( &$provider ) {
55
+ global $wpdb;
56
+
57
+ $provider->set_name( $this->get_unqiue_name( $provider ) );
58
+
59
+ $data = array(
60
+ 'shipping_provider_activated' => $provider->is_activated() ? 1 : 0,
61
+ 'shipping_provider_name' => $provider->get_name( 'edit' ),
62
+ 'shipping_provider_title' => $provider->get_title( 'edit' ),
63
+ );
64
+
65
+ $wpdb->insert(
66
+ $wpdb->gzd_shipping_provider,
67
+ $data
68
+ );
69
+
70
+ $provider_id = $wpdb->insert_id;
71
+
72
+ if ( $provider_id ) {
73
+ $provider->set_id( $provider_id );
74
+
75
+ $this->save_provider_data( $provider );
76
+
77
+ $provider->save_meta_data();
78
+ $provider->apply_changes();
79
+
80
+ $this->clear_caches( $provider );
81
+
82
+ /**
83
+ * Action that indicates that a new Shipping Provider has been created in the DB.
84
+ *
85
+ * @param integer $provider_id The provider id.
86
+ *
87
+ * @since 3.0.0
88
+ * @package Vendidero/Germanized/Shipments
89
+ */
90
+ do_action( "woocommerce_gzd_new_shipping_provider", $provider_id );
91
+ }
92
+ }
93
+
94
+ /**
95
+ * Generate a unique name to save to the object.
96
+ *
97
+ * @since 3.6.0
98
+ * @param \Vendidero\Germanized\Shipments\ShippingProvider $provider Shipping provider object.
99
+ * @return string
100
+ */
101
+ protected function get_unqiue_name( $provider ) {
102
+ global $wpdb;
103
+
104
+ $slug = sanitize_key( $provider->get_title() );
105
+
106
+ // Post slugs must be unique across all posts.
107
+ $check_sql = "SELECT shipping_provider_name FROM $wpdb->gzd_shipping_provider WHERE shipping_provider_name = %s AND shipping_provider_id != %d LIMIT 1";
108
+ $provider_name_check = $wpdb->get_var( $wpdb->prepare( $check_sql, $slug, $provider->get_id() ) );
109
+
110
+ if ( $provider_name_check ) {
111
+ $suffix = 2;
112
+ do {
113
+ $alt_provider_name = _truncate_post_slug( $slug, 200 - ( strlen( $suffix ) + 1 ) ) . "-$suffix";
114
+ $provider_name_check = $wpdb->get_var( $wpdb->prepare( $check_sql, $alt_provider_name, $provider->get_id() ) );
115
+ $suffix++;
116
+ } while ( $provider_name_check );
117
+ $slug = $alt_provider_name;
118
+ }
119
+
120
+ return $slug;
121
+ }
122
+
123
+ /**
124
+ * Method to update a shipping provider in the database.
125
+ *
126
+ * @param \Vendidero\Germanized\Shipments\ShippingProvider $provider Shipping provider object.
127
+ */
128
+ public function update( &$provider ) {
129
+ global $wpdb;
130
+
131
+ $updated_props = array();
132
+ $core_props = $this->core_props;
133
+ $changed_props = array_keys( $provider->get_changes() );
134
+ $provider_data = array();
135
+
136
+ foreach ( $changed_props as $prop ) {
137
+
138
+ if ( ! in_array( $prop, $core_props, true ) ) {
139
+ continue;
140
+ }
141
+
142
+ switch( $prop ) {
143
+ case "activated":
144
+ $provider_data[ 'shipping_provider_' . $prop ] = $provider->is_activated() ? 1 : 0;
145
+ break;
146
+ default:
147
+ if ( is_callable( array( $provider, 'get_' . $prop ) ) ) {
148
+ $provider_data[ 'shipping_provider_' . $prop ] = $provider->{'get_' . $prop}( 'edit' );
149
+ }
150
+ break;
151
+ }
152
+ }
153
+
154
+ if ( ! empty( $provider_data ) ) {
155
+ $wpdb->update(
156
+ $wpdb->gzd_shipping_provider,
157
+ $provider_data,
158
+ array( 'shipping_provider_id' => $provider->get_id() )
159
+ );
160
+ }
161
+
162
+ $this->save_provider_data( $provider );
163
+
164
+ $provider->save_meta_data();
165
+ $provider->apply_changes();
166
+
167
+ $this->clear_caches( $provider );
168
+
169
+ /**
170
+ * Action that indicates that a shipping provider has been updated in the DB.
171
+ *
172
+ * @param integer $shipping_provider_id The shipping provider id.
173
+ *
174
+ * @since 3.0.0
175
+ * @package Vendidero/Germanized/Shipments
176
+ */
177
+ do_action( "woocommerce_gzd_shipping_provider_updated", $provider->get_id() );
178
+ }
179
+
180
+ /**
181
+ * Remove a shipping provider from the database.
182
+ *
183
+ * @since 3.0.0
184
+ * @param \Vendidero\Germanized\Shipments\ShippingProvider $provider Shipping provider object.
185
+ * @param bool $force_delete Unused param.
186
+ */
187
+ public function delete( &$provider, $force_delete = false ) {
188
+ global $wpdb;
189
+
190
+ $wpdb->delete( $wpdb->gzd_shipping_provider, array( 'shipping_provider_id' => $provider->get_id() ), array( '%d' ) );
191
+ $wpdb->delete( $wpdb->gzd_shipping_providermeta, array( 'gzd_shipping_provider_id' => $provider->get_id() ), array( '%d' ) );
192
+
193
+ $this->clear_caches( $provider );
194
+
195
+ /**
196
+ * Action that indicates that a shipping provider has been deleted from the DB.
197
+ *
198
+ * @param integer $shipping_provider_id The shipping provider id.
199
+ * @param \Vendidero\Germanized\Shipments\ShippingProvider $provider The shipping provider object.
200
+ *
201
+ * @since 3.0.0
202
+ * @package Vendidero/Germanized/Shipments
203
+ */
204
+ do_action( "woocommerce_gzd_shipping_provider_deleted", $provider->get_id(), $provider );
205
+ }
206
+
207
+ /**
208
+ * Read a shipping provider from the database.
209
+ *
210
+ * @since 3.0.0
211
+ *
212
+ * @param \Vendidero\Germanized\Shipments\ShippingProvider $provider Shipping provider object.
213
+ *
214
+ * @throws Exception Throw exception if invalid shipping provider.
215
+ */
216
+ public function read( &$provider ) {
217
+ global $wpdb;
218
+
219
+ $data = $wpdb->get_row(
220
+ $wpdb->prepare(
221
+ "SELECT * FROM {$wpdb->gzd_shipping_provider} WHERE shipping_provider_id = %d LIMIT 1",
222
+ $provider->get_id()
223
+ )
224
+ );
225
+
226
+ if ( $data ) {
227
+ $provider->set_props(
228
+ array(
229
+ 'name' => $data->shipping_provider_name,
230
+ 'title' => $data->shipping_provider_title,
231
+ 'activated' => $data->shipping_provider_activated,
232
+ )
233
+ );
234
+
235
+ $this->read_provider_data( $provider );
236
+
237
+ $provider->read_meta_data();
238
+ $provider->set_object_read( true );
239
+
240
+ /**
241
+ * Action that indicates that a shipping provider has been loaded from DB.
242
+ *
243
+ * @param \Vendidero\Germanized\Shipments\ShippingProvider $provider The shipping provider object.
244
+ *
245
+ * @since 3.0.0
246
+ * @package Vendidero/Germanized/Shipments
247
+ */
248
+ do_action( "woocommerce_gzd_shipping_provider_loaded", $provider );
249
+ } else {
250
+ throw new Exception( _x( 'Invalid shipping provider.', 'shipments', 'woocommerce-germanized' ) );
251
+ }
252
+ }
253
+
254
+ /**
255
+ * Clear any caches.
256
+ *
257
+ * @param \Vendidero\Germanized\Shipments\ShippingProvider $provider Shipping provider object.
258
+ * @since 3.0.0
259
+ */
260
+ protected function clear_caches( &$provider ) {
261
+ wp_cache_delete( $provider->get_id(), $this->meta_type . '_meta' );
262
+ }
263
+
264
+ /*
265
+ |--------------------------------------------------------------------------
266
+ | Additional Methods
267
+ |--------------------------------------------------------------------------
268
+ */
269
+
270
+ /**
271
+ * Read extra data associated with the shipping provider.
272
+ *
273
+ * @param \Vendidero\Germanized\Shipments\ShippingProvider $provider Shipping provider object.
274
+ * @since 3.0.0
275
+ */
276
+ protected function read_provider_data( &$provider ) {
277
+ $props = array();
278
+
279
+ foreach( $this->internal_meta_keys as $meta_key ) {
280
+ $props[ substr( $meta_key, 1 ) ] = get_metadata( 'gzd_shipping_provider', $provider->get_id(), $meta_key, true );
281
+ }
282
+
283
+ $provider->set_props( $props );
284
+ }
285
+
286
+ /**
287
+ * Save shipping provider data.
288
+ *
289
+ * @param \Vendidero\Germanized\Shipments\ShippingProvider $provider Shipping provider object.
290
+ */
291
+ protected function save_provider_data( &$provider ) {
292
+ $updated_props = array();
293
+ $meta_key_to_props = array();
294
+
295
+ foreach( $this->internal_meta_keys as $meta_key ) {
296
+ $prop_name = substr( $meta_key, 1 );
297
+
298
+ if ( in_array( $prop_name, $this->core_props ) ) {
299
+ continue;
300
+ }
301
+
302
+ $meta_key_to_props[ $meta_key ] = $prop_name;
303
+ }
304
+
305
+ $props_to_update = $this->get_props_to_update( $provider, $meta_key_to_props, 'gzd_shipping_provider' );
306
+
307
+ foreach ( $props_to_update as $meta_key => $prop ) {
308
+
309
+ if ( ! is_callable( array( $provider, "get_$prop" ) ) ) {
310
+ continue;
311
+ }
312
+
313
+ $value = $provider->{"get_$prop"}( 'edit' );
314
+ $value = is_string( $value ) ? wp_slash( $value ) : $value;
315
+
316
+ switch ( $prop ) {}
317
+
318
+ $updated = $this->update_or_delete_meta( $provider, $meta_key, $value );
319
+
320
+ if ( $updated ) {
321
+ $updated_props[] = $prop;
322
+ }
323
+ }
324
+
325
+ /**
326
+ * Action that fires after updating a shipping providers' properties.
327
+ *
328
+ * @param \Vendidero\Germanized\Shipments\ShippingProvider $provider The shipping provider object.
329
+ * @param array $changed_props The updated properties.
330
+ *
331
+ * @since 3.0.0
332
+ * @package Vendidero/Germanized/Shipments
333
+ */
334
+ do_action( 'woocommerce_gzd_shipping_provider_object_updated_props', $provider, $updated_props );
335
+ }
336
+
337
+ /**
338
+ * Update meta data in, or delete it from, the database.
339
+ *
340
+ * Avoids storing meta when it's either an empty string or empty array.
341
+ * Other empty values such as numeric 0 and null should still be stored.
342
+ * Data-stores can force meta to exist using `must_exist_meta_keys`.
343
+ *
344
+ * Note: WordPress `get_metadata` function returns an empty string when meta data does not exist.
345
+ *
346
+ * @param WC_Data $object The WP_Data object (WC_Coupon for coupons, etc).
347
+ * @param string $meta_key Meta key to update.
348
+ * @param mixed $meta_value Value to save.
349
+ *
350
+ * @since 3.6.0 Added to prevent empty meta being stored unless required.
351
+ *
352
+ * @return bool True if updated/deleted.
353
+ */
354
+ protected function update_or_delete_meta( $object, $meta_key, $meta_value ) {
355
+ if ( in_array( $meta_value, array( array(), '' ), true ) && ! in_array( $meta_key, $this->must_exist_meta_keys, true ) ) {
356
+ $updated = delete_metadata( 'gzd_shipping_provider', $object->get_id(), $meta_key );
357
+ } else {
358
+ $updated = update_metadata( 'gzd_shipping_provider', $object->get_id(), $meta_key, $meta_value );
359
+ }
360
+
361
+ return (bool) $updated;
362
+ }
363
+
364
+ /**
365
+ * Table structure is slightly different between meta types, this function will return what we need to know.
366
+ *
367
+ * @since 3.0.0
368
+ * @return array Array elements: table, object_id_field, meta_id_field
369
+ */
370
+ protected function get_db_info() {
371
+ global $wpdb;
372
+
373
+ $meta_id_field = 'meta_id'; // for some reason users calls this umeta_id so we need to track this as well.
374
+ $table = $wpdb->gzd_shipping_providermeta;
375
+ $object_id_field = $this->meta_type . '_id';
376
+
377
+ if ( ! empty( $this->object_id_field_for_meta ) ) {
378
+ $object_id_field = $this->object_id_field_for_meta;
379
+ }
380
+
381
+ return array(
382
+ 'table' => $table,
383
+ 'object_id_field' => $object_id_field,
384
+ 'meta_id_field' => $meta_id_field,
385
+ );
386
+ }
387
+
388
+ public function get_shipping_provider_count() {
389
+ global $wpdb;
390
+
391
+ return absint( $wpdb->get_var( "SELECT COUNT( * ) FROM {$wpdb->gzd_shipping_provider}" ) );
392
+ }
393
+
394
+ public function get_shipping_provider_name( $provider_id ) {
395
+ global $wpdb;
396
+
397
+ $provider_name_check = $wpdb->get_row( $wpdb->prepare( "SELECT shipping_provider_name FROM $wpdb->gzd_shipping_provider WHERE shipping_provider_id = %d LIMIT 1", $provider_id ) );
398
+
399
+ if ( ! empty( $provider_name_check ) ) {
400
+ return $provider_name_check->shipping_provider_name;
401
+ }
402
+
403
+ return false;
404
+ }
405
+
406
+ public function get_shipping_providers() {
407
+ global $wpdb;
408
+
409
+ $providers = $wpdb->get_results( "SELECT shipping_provider_id FROM $wpdb->gzd_shipping_provider" );
410
+ $shipping_providers = array();
411
+
412
+ foreach( $providers as $provider ) {
413
+ try {
414
+
415
+ $provider = new \Vendidero\Germanized\Shipments\ShippingProvider( $provider->shipping_provider_id );
416
+ $shipping_providers[ $provider->get_name() ] = $provider;
417
+
418
+ } catch( Exception $e ) {
419
+ continue;
420
+ }
421
+ }
422
+
423
+ return $shipping_providers;
424
+ }
425
+ }
packages/woocommerce-germanized-shipments/src/Install.php CHANGED
@@ -10,6 +10,8 @@ defined( 'ABSPATH' ) || exit;
10
  class Install {
11
 
12
  public static function install() {
 
 
13
  global $wpdb;
14
 
15
  $wpdb->hide_errors();
@@ -17,6 +19,24 @@ class Install {
17
  dbDelta( self::get_schema() );
18
  }
19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  private static function get_schema() {
21
  global $wpdb;
22
 
@@ -78,6 +98,22 @@ CREATE TABLE {$wpdb->prefix}woocommerce_gzd_shipmentmeta (
78
  PRIMARY KEY (meta_id),
79
  KEY gzd_shipment_id (gzd_shipment_id),
80
  KEY meta_key (meta_key(32))
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  ) $collate;";
82
 
83
  return $tables;
10
  class Install {
11
 
12
  public static function install() {
13
+ self::create_upload_dir();
14
+
15
  global $wpdb;
16
 
17
  $wpdb->hide_errors();
19
  dbDelta( self::get_schema() );
20
  }
21
 
22
+ private static function create_upload_dir() {
23
+ Package::maybe_set_upload_dir();
24
+
25
+ $dir = Package::get_upload_dir();
26
+
27
+ if ( ! @is_dir( $dir['basedir'] ) ) {
28
+ @mkdir( $dir['basedir'] );
29
+ }
30
+
31
+ if ( ! file_exists( trailingslashit( $dir['basedir'] ) . '.htaccess' ) ) {
32
+ @file_put_contents( trailingslashit( $dir['basedir'] ) . '.htaccess', 'deny from all' );
33
+ }
34
+
35
+ if ( ! file_exists( trailingslashit( $dir['basedir'] ) . 'index.php' ) ) {
36
+ @touch( trailingslashit( $dir['basedir'] ) . 'index.php' );
37
+ }
38
+ }
39
+
40
  private static function get_schema() {
41
  global $wpdb;
42
 
98
  PRIMARY KEY (meta_id),
99
  KEY gzd_shipment_id (gzd_shipment_id),
100
  KEY meta_key (meta_key(32))
101
+ ) $collate;
102
+ CREATE TABLE {$wpdb->prefix}woocommerce_gzd_shipping_provider (
103
+ shipping_provider_id BIGINT UNSIGNED NOT NULL auto_increment,
104
+ shipping_provider_activated TINYINT(1) NOT NULL default 1,
105
+ shipping_provider_title varchar(200) NOT NULL DEFAULT '',
106
+ shipping_provider_name varchar(200) NOT NULL DEFAULT '',
107
+ PRIMARY KEY (shipping_provider_id)
108
+ ) $collate;
109
+ CREATE TABLE {$wpdb->prefix}woocommerce_gzd_shipping_providermeta (
110
+ meta_id BIGINT UNSIGNED NOT NULL auto_increment,
111
+ gzd_shipping_provider_id BIGINT UNSIGNED NOT NULL,
112
+ meta_key varchar(255) default NULL,
113
+ meta_value longtext NULL,
114
+ PRIMARY KEY (meta_id),
115
+ KEY gzd_shipping_provider_id (gzd_shipping_provider_id),
116
+ KEY meta_key (meta_key(32))
117
  ) $collate;";
118
 
119
  return $tables;
packages/woocommerce-germanized-shipments/src/Interfaces/ShipmenReturnLabel.php ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Vendidero\Germanized\Shipments\Interfaces;
4
+
5
+ /**
6
+ * Shipment Return Label Interface
7
+ *
8
+ * @package Germanized/Shipments/Interfaces
9
+ * @version 3.1.0
10
+ */
11
+ if ( ! defined( 'ABSPATH' ) ) {
12
+ exit;
13
+ }
14
+
15
+ /**
16
+ * ShipmentLabel class.
17
+ */
18
+ interface ShipmentReturnLabel extends ShipmentLabel {
19
+
20
+ public function send_to_customer( $force = false );
21
+ }
packages/woocommerce-germanized-shipments/src/Interfaces/ShipmentLabel.php ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Vendidero\Germanized\Shipments\Interfaces;
4
+
5
+ use Vendidero\Germanized\Shipments\PDFMerger;
6
+
7
+ /**
8
+ * Shipment Label Interface
9
+ *
10
+ * @package Germanized/Shipments/Interfaces
11
+ * @version 3.1.0
12
+ */
13
+ if ( ! defined( 'ABSPATH' ) ) {
14
+ exit;
15
+ }
16
+
17
+ /**
18
+ * ShipmentLabel class.
19
+ */
20
+ interface ShipmentLabel {
21
+
22
+ /**
23
+ * Return the unique identifier for the label
24
+ *
25
+ * @return mixed
26
+ */
27
+ public function get_id();
28
+
29
+ /**
30
+ * Downloads the label by either forcing a download or embedding the file within the browser.
31
+ *
32
+ * @param array $args Array containing additional arguments, e.g. the force parameter.
33
+ *
34
+ * @return mixed
35
+ */
36
+ public function download( $args = array() );
37
+
38
+ /**
39
+ * Merges the label into an existing document for export purposes.
40
+ *
41
+ * @param PDFMerger $merger The merger instance as reference.
42
+ */
43
+ public function merge( PDFMerger &$pdf );
44
+
45
+ /**
46
+ * Returns the label number which is used as a tracking id for the corresponding shipment.
47
+ *
48
+ * @return string
49
+ */
50
+ public function get_number();
51
+
52
+ /**
53
+ * Checks whether the label already has a valid number or not.
54
+ *
55
+ * @return boolean
56
+ */
57
+ public function has_number();
58
+
59
+ /**
60
+ * Returns the label shipment type, e.g. simple or return.
61
+ *
62
+ * @return string
63
+ */
64
+ public function get_type();
65
+
66
+ /**
67
+ * Saves the label to DB.
68
+ */
69
+ public function save();
70
+
71
+ /**
72
+ * Delete the label from DB.
73
+ */
74
+ public function delete( $force = false );
75
+ }
packages/{woocommerce-germanized-dhl → woocommerce-germanized-shipments}/src/PDFMerger.php RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- namespace Vendidero\Germanized\DHL;
4
 
5
  use setasign\Fpdi\Fpdi;
6
  use setasign\Fpdi\PdfReader\PdfReaderException;
1
  <?php
2
 
3
+ namespace Vendidero\Germanized\Shipments;
4
 
5
  use setasign\Fpdi\Fpdi;
6
  use setasign\Fpdi\PdfReader\PdfReaderException;
packages/{woocommerce-germanized-dhl → woocommerce-germanized-shipments}/src/PDFSplitter.php RENAMED
@@ -1,5 +1,5 @@
1
  <?php
2
- namespace Vendidero\Germanized\DHL;
3
 
4
  use Exception;
5
  use setasign\Fpdi\Fpdi;
1
  <?php
2
+ namespace Vendidero\Germanized\Shipments;
3
 
4
  use Exception;
5
  use setasign\Fpdi\Fpdi;
packages/woocommerce-germanized-shipments/src/Package.php CHANGED
@@ -2,6 +2,9 @@
2
 
3
  namespace Vendidero\Germanized\Shipments;
4
 
 
 
 
5
  defined( 'ABSPATH' ) || exit;
6
 
7
  /**
@@ -13,7 +16,12 @@ class Package {
13
  *
14
  * @var string
15
  */
16
- const VERSION = '1.0.5';
 
 
 
 
 
17
 
18
  /**
19
  * Init the package - load the REST API Server class.
@@ -24,6 +32,7 @@ class Package {
24
  }
25
 
26
  self::define_tables();
 
27
  self::init_hooks();
28
  self::includes();
29
  }
@@ -36,8 +45,70 @@ class Package {
36
  add_filter( 'woocommerce_gzd_default_plugin_template', array( __CLASS__, 'filter_templates' ), 10, 3 );
37
 
38
  add_filter( 'woocommerce_get_query_vars', array( __CLASS__, 'register_endpoints' ), 10, 1 );
 
 
 
39
  }
40
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  public static function register_endpoints( $query_vars ) {
42
  $query_vars['view-shipment'] = get_option( 'woocommerce_myaccount_view_shipment_endpoint', 'view-shipment' );
43
 
@@ -50,9 +121,118 @@ class Package {
50
  }
51
 
52
  public static function install_integration() {
 
53
  self::install();
54
  }
55
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  public static function has_dependencies() {
57
  return class_exists( 'WooCommerce' );
58
  }
@@ -104,10 +284,12 @@ class Package {
104
 
105
  // List of tables without prefixes.
106
  $tables = array(
107
- 'gzd_shipment_itemmeta' => 'woocommerce_gzd_shipment_itemmeta',
108
- 'gzd_shipmentmeta' => 'woocommerce_gzd_shipmentmeta',
109
- 'gzd_shipments' => 'woocommerce_gzd_shipments',
110
- 'gzd_shipment_items' => 'woocommerce_gzd_shipment_items',
 
 
111
  );
112
 
113
  foreach ( $tables as $name => $table ) {
@@ -117,8 +299,9 @@ class Package {
117
  }
118
 
119
  public static function register_data_stores( $stores ) {
120
- $stores['shipment'] = 'Vendidero\Germanized\Shipments\DataStores\Shipment';
121
- $stores['shipment-item'] = 'Vendidero\Germanized\Shipments\DataStores\ShipmentItem';
 
122
 
123
  return $stores;
124
  }
2
 
3
  namespace Vendidero\Germanized\Shipments;
4
 
5
+ use WC_Shipping;
6
+ use WC_Shipping_Method;
7
+
8
  defined( 'ABSPATH' ) || exit;
9
 
10
  /**
16
  *
17
  * @var string
18
  */
19
+
20
+ const VERSION = '1.1.0';
21
+
22
+ public static $upload_dir_suffix = '';
23
+
24
+ protected static $method_settings = null;
25
 
26
  /**
27
  * Init the package - load the REST API Server class.
32
  }
33
 
34
  self::define_tables();
35
+ self::maybe_set_upload_dir();
36
  self::init_hooks();
37
  self::includes();
38
  }
45
  add_filter( 'woocommerce_gzd_default_plugin_template', array( __CLASS__, 'filter_templates' ), 10, 3 );
46
 
47
  add_filter( 'woocommerce_get_query_vars', array( __CLASS__, 'register_endpoints' ), 10, 1 );
48
+
49
+ add_action( 'woocommerce_load_shipping_methods', array( __CLASS__, 'load_shipping_methods' ), 5, 1 );
50
+ add_filter( 'woocommerce_shipping_methods', array( __CLASS__, 'set_method_filters' ), 200, 1 );
51
  }
52
 
53
+ public static function set_method_filters( $methods ) {
54
+
55
+ foreach ( $methods as $method => $class ) {
56
+ add_filter( 'woocommerce_shipping_instance_form_fields_' . $method, array( __CLASS__, 'add_method_settings' ), 10, 1 );
57
+ add_filter( 'woocommerce_shipping_' . $method . '_instance_settings_values', array( __CLASS__, 'filter_method_settings' ), 10, 2 );
58
+ }
59
+
60
+ return $methods;
61
+ }
62
+
63
+ protected static function get_method_settings() {
64
+
65
+ if ( is_null( self::$method_settings ) ) {
66
+ self::$method_settings = ShippingProviderMethod::get_admin_settings();
67
+ }
68
+
69
+ return self::$method_settings;
70
+ }
71
+
72
+ public static function filter_method_settings( $p_settings, $method ) {
73
+ $shipping_provider_settings = self::get_method_settings();
74
+
75
+ foreach( $p_settings as $setting => $value ) {
76
+
77
+ if ( array_key_exists( $setting, $shipping_provider_settings ) ) {
78
+ if ( self::get_setting( $setting ) === $value ) {
79
+ unset( $p_settings[ $setting ] );
80
+ }
81
+ }
82
+ }
83
+
84
+ /**
85
+ * Filter that returns shipping method settings cleaned from global shipping provider method settings.
86
+ * This filter might be useful to remove some default setting values from
87
+ * shipping provider method settings e.g. DHL settings.
88
+ *
89
+ * @param array $p_settings The settings
90
+ * @param WC_Shipping_Method $method The shipping method instance
91
+ *
92
+ * @since 3.0.6
93
+ * @package Vendidero/Germanized/Shipments
94
+ */
95
+ return apply_filters( 'woocommerce_gzd_shipping_provider_method_clean_settings', $p_settings, $method );
96
+ }
97
+
98
+ public static function add_method_settings( $p_settings ) {
99
+ $shipping_provider_settings = self::get_method_settings();
100
+
101
+ return array_merge( $p_settings, $shipping_provider_settings );
102
+ }
103
+
104
+ public static function load_shipping_methods( $package ) {
105
+ $shipping = WC_Shipping::instance();
106
+
107
+ foreach( $shipping->shipping_methods as $key => $method ) {
108
+ $shipping_provider_method = new ShippingProviderMethod( $method );
109
+ }
110
+ }
111
+
112
  public static function register_endpoints( $query_vars ) {
113
  $query_vars['view-shipment'] = get_option( 'woocommerce_myaccount_view_shipment_endpoint', 'view-shipment' );
114
 
121
  }
122
 
123
  public static function install_integration() {
124
+ self::init();
125
  self::install();
126
  }
127
 
128
+ public static function maybe_set_upload_dir() {
129
+ // Create a dir suffix
130
+ if ( ! get_option( 'woocommerce_gzd_shipments_upload_dir_suffix', false ) ) {
131
+ self::$upload_dir_suffix = substr( self::generate_key(), 0, 10 );
132
+ update_option( 'woocommerce_gzd_shipments_upload_dir_suffix', self::$upload_dir_suffix );
133
+ } else {
134
+ self::$upload_dir_suffix = get_option( 'woocommerce_gzd_shipments_upload_dir_suffix' );
135
+ }
136
+ }
137
+
138
+ /**
139
+ * Generate a unique key.
140
+ *
141
+ * @return string
142
+ */
143
+ protected static function generate_key() {
144
+ $key = array( ABSPATH, time() );
145
+ $constants = array( 'AUTH_KEY', 'SECURE_AUTH_KEY', 'LOGGED_IN_KEY', 'NONCE_KEY', 'AUTH_SALT', 'SECURE_AUTH_SALT', 'LOGGED_IN_SALT', 'NONCE_SALT', 'SECRET_KEY' );
146
+
147
+ foreach ( $constants as $constant ) {
148
+ if ( defined( $constant ) ) {
149
+ $key[] = constant( $constant );
150
+ }
151
+ }
152
+
153
+ shuffle( $key );
154
+
155
+ return md5( serialize( $key ) );
156
+ }
157
+
158
+ public static function get_upload_dir_suffix() {
159
+ return self::$upload_dir_suffix;
160
+ }
161
+
162
+ public static function get_upload_dir() {
163
+
164
+ self::set_upload_dir_filter();
165
+ $upload_dir = wp_upload_dir();
166
+ self::unset_upload_dir_filter();
167
+
168
+ /**
169
+ * Filter to adjust the upload directory used to store shipment related files. By default
170
+ * files are stored in a custom directory under wp-content/uploads.
171
+ *
172
+ * @param array $upload_dir Array containing `wp_upload_dir` data.
173
+ *
174
+ * @since 3.0.1
175
+ * @package Vendidero/Germanized/Shipments
176
+ */
177
+ return apply_filters( 'woocommerce_gzd_shipments_upload_dir', $upload_dir );
178
+ }
179
+
180
+ public static function get_relative_upload_dir( $path ) {
181
+
182
+ self::set_upload_dir_filter();
183
+ $path = _wp_relative_upload_path( $path );
184
+ self::unset_upload_dir_filter();
185
+
186
+ /**
187
+ * Filter to retrieve the relative upload path used for storing shipment related files.
188
+ *
189
+ * @param array $path Relative path.
190
+ *
191
+ * @since 3.0.1
192
+ * @package Vendidero/Germanized/Shipments
193
+ */
194
+ return apply_filters( 'woocommerce_gzd_shipments_relative_upload_dir', $path );
195
+ }
196
+
197
+ public static function set_upload_dir_filter() {
198
+ add_filter( 'upload_dir', array( __CLASS__, "filter_upload_dir" ), 150, 1 );
199
+ }
200
+
201
+ public static function unset_upload_dir_filter() {
202
+ remove_filter( 'upload_dir', array( __CLASS__, "filter_upload_dir" ), 150 );
203
+ }
204
+
205
+ public static function filter_upload_dir( $args ) {
206
+ $upload_base = trailingslashit( $args['basedir'] );
207
+ $upload_url = trailingslashit( $args['baseurl'] );
208
+
209
+ /**
210
+ * Filter to adjust the upload path used to store shipment related files. By default
211
+ * files are stored in a custom directory under wp-content/uploads.
212
+ *
213
+ * @param string $path Path to the upload directory.
214
+ *
215
+ * @since 3.0.6
216
+ * @package Vendidero/Germanized/Shipments
217
+ */
218
+ $args['basedir'] = apply_filters( 'woocommerce_gzd_shipments_upload_path', $upload_base . 'wc-gzd-shipments-' . self::get_upload_dir_suffix() );
219
+ /**
220
+ * Filter to adjust the upload URL used to retrieve shipment related files. By default
221
+ * files are stored in a custom directory under wp-content/uploads.
222
+ *
223
+ * @param string $url URL to the upload directory.
224
+ *
225
+ * @since 3.0.6
226
+ * @package Vendidero/Germanized/Shipments
227
+ */
228
+ $args['baseurl'] = apply_filters( 'woocommerce_gzd_shipments_upload_url', $upload_url . 'wc-gzd-shipments-' . self::get_upload_dir_suffix() );
229
+
230
+ $args['path'] = $args['basedir'] . $args['subdir'];
231
+ $args['url'] = $args['baseurl'] . $args['subdir'];
232
+
233
+ return $args;
234
+ }
235
+
236
  public static function has_dependencies() {
237
  return class_exists( 'WooCommerce' );
238
  }
284
 
285
  // List of tables without prefixes.
286
  $tables = array(
287
+ 'gzd_shipment_itemmeta' => 'woocommerce_gzd_shipment_itemmeta',
288
+ 'gzd_shipmentmeta' => 'woocommerce_gzd_shipmentmeta',
289
+ 'gzd_shipments' => 'woocommerce_gzd_shipments',
290
+ 'gzd_shipment_items' => 'woocommerce_gzd_shipment_items',
291
+ 'gzd_shipping_provider' => 'woocommerce_gzd_shipping_provider',
292
+ 'gzd_shipping_providermeta' => 'woocommerce_gzd_shipping_providermeta',
293
  );
294
 
295
  foreach ( $tables as $name => $table ) {
299
  }
300
 
301
  public static function register_data_stores( $stores ) {
302
+ $stores['shipment'] = 'Vendidero\Germanized\Shipments\DataStores\Shipment';
303
+ $stores['shipment-item'] = 'Vendidero\Germanized\Shipments\DataStores\ShipmentItem';
304
+ $stores['shipping-provider'] = 'Vendidero\Germanized\Shipments\DataStores\ShippingProvider';
305
 
306
  return $stores;
307
  }
packages/woocommerce-germanized-shipments/src/Shipment.php CHANGED
@@ -6,12 +6,15 @@
6
  * @version 1.0.0
7
  */
8
  namespace Vendidero\Germanized\Shipments;
 
 
9
  use WC_Data;
10
  use WC_Data_Store;
11
  use Exception;
12
  use WC_Data_Store_WP;
13
  use WC_DateTime;
14
  use WC_Order;
 
15
 
16
  defined( 'ABSPATH' ) || exit;
17
 
@@ -562,6 +565,12 @@ abstract class Shipment extends WC_Data {
562
  * @return string
563
  */
564
  public function get_tracking_url() {
 
 
 
 
 
 
565
  /**
566
  * Filter to adjust a Shipment's tracking URL.
567
  *
@@ -570,13 +579,13 @@ abstract class Shipment extends WC_Data {
570
  *
571
  * Example hook name: woocommerce_gzd_shipment_get_tracking_url
572
  *
573
- * @param string $tracking_url The tracking URL.
574
- * @param Shipment $this The shipment object.
575
  *
576
  * @since 3.0.0
577
  * @package Vendidero/Germanized/Shipments
578
  */
579
- return apply_filters( "{$this->get_hook_prefix()}tracking_url", '', $this );
580
  }
581
 
582
  /**
@@ -587,8 +596,9 @@ abstract class Shipment extends WC_Data {
587
  public function get_tracking_instruction() {
588
  $instruction = '';
589
 
590
- if ( $this->get_shipping_provider() && $this->get_tracking_id() ) {
591
- $instruction = sprintf( _x( 'Your shipment is being processed by %s. If you want to track the shipment, please use the following tracking number: %s. Depending on the chosen shipping method it is possible that the tracking data does not reflect the current status when receiving this email.', 'shipments', 'woocommerce-germanized' ), wc_gzd_get_shipping_provider_title( $this->get_shipping_provider() ), $this->get_tracking_id() );
 
592
  }
593
 
594
  /**
@@ -629,9 +639,15 @@ abstract class Shipment extends WC_Data {
629
  return $this->get_prop( 'shipping_provider', $context );
630
  }
631
 
632
- public function needs_shipping_provider_select() {
633
- return false;
634
- }
 
 
 
 
 
 
635
 
636
  /**
637
  * Returns the formatted shipping address.
@@ -645,6 +661,49 @@ abstract class Shipment extends WC_Data {
645
  return $address ? $address : $empty_content;
646
  }
647
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
648
  /**
649
  * Returns the shipment address phone number.
650
  *
@@ -695,7 +754,16 @@ abstract class Shipment extends WC_Data {
695
  public function get_address_street_number( $type = 'address_1' ) {
696
  $split = wc_gzd_split_shipment_street( $this->{"get_$type"}() );
697
 
698
- return $split['number'];
 
 
 
 
 
 
 
 
 
699
  }
700
 
701
  /**
@@ -708,13 +776,31 @@ abstract class Shipment extends WC_Data {
708
  public function get_address_street( $type = 'address_1' ) {
709
  $split = wc_gzd_split_shipment_street( $this->{"get_$type"}() );
710
 
711
- return $split['street'];
 
 
 
 
 
 
 
 
 
712
  }
713
 
714
  public function get_address_street_addition( $type = 'address_1' ) {
715
  $split = wc_gzd_split_shipment_street( $this->{"get_$type"}() );
716
 
717
- return $split['addition'];
 
 
 
 
 
 
 
 
 
718
  }
719
 
720
  /**
@@ -1442,8 +1528,21 @@ abstract class Shipment extends WC_Data {
1442
  *
1443
  * @return bool|WC_Order|null
1444
  */
1445
- public function get_order() {
1446
- return false;
 
 
 
 
 
 
 
 
 
 
 
 
 
1447
  }
1448
 
1449
  /**
@@ -1523,6 +1622,232 @@ abstract class Shipment extends WC_Data {
1523
  return false;
1524
  }
1525
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1526
  /**
1527
  * Returns whether the Shipment contains an item with a certain parent id.
1528
  *
6
  * @version 1.0.0
7
  */
8
  namespace Vendidero\Germanized\Shipments;
9
+ use Vendidero\Germanized\Shipments\Interfaces\ShipmentLabel;
10
+ use Vendidero\Germanized\Shipments\Interfaces\ShipmentReturnLabel;
11
  use WC_Data;
12
  use WC_Data_Store;
13
  use Exception;
14
  use WC_Data_Store_WP;
15
  use WC_DateTime;
16
  use WC_Order;
17
+ use WP_Error;
18
 
19
  defined( 'ABSPATH' ) || exit;
20
 
565
  * @return string
566
  */
567
  public function get_tracking_url() {
568
+ $tracking_url = '';
569
+
570
+ if ( $provider = $this->get_shipping_provider_instance() ) {
571
+ $tracking_url = $provider->get_tracking_url( $this );
572
+ }
573
+
574
  /**
575
  * Filter to adjust a Shipment's tracking URL.
576
  *
579
  *
580
  * Example hook name: woocommerce_gzd_shipment_get_tracking_url
581
  *
582
+ * @param string $tracking_url The tracking URL.
583
+ * @param Shipment $shipment The shipment object.
584
  *
585
  * @since 3.0.0
586
  * @package Vendidero/Germanized/Shipments
587
  */
588
+ return apply_filters( "{$this->get_hook_prefix()}tracking_url", $tracking_url, $this );
589
  }
590
 
591
  /**
596
  public function get_tracking_instruction() {
597
  $instruction = '';
598
 
599
+ if ( $provider = $this->get_shipping_provider_instance() ) {
600
+ // $instruction = sprintf( _x( 'Your shipment is being processed by %s. If you want to track the shipment, please use the following tracking number: %s. Depending on the chosen shipping method it is possible that the tracking data does not reflect the current status when receiving this email.', 'shipments', 'woocommerce-germanized' ), wc_gzd_get_shipping_provider_title( $this->get_shipping_provider() ), $this->get_tracking_id() );
601
+ $instruction = $provider->get_tracking_desc( $this );
602
  }
603
 
604
  /**
639
  return $this->get_prop( 'shipping_provider', $context );
640
  }
641
 
642
+ public function get_shipping_provider_instance() {
643
+ $provider = $this->get_shipping_provider();
644
+
645
+ if ( ! empty( $provider ) ) {
646
+ return wc_gzd_get_shipping_provider( $provider );
647
+ }
648
+
649
+ return false;
650
+ }
651
 
652
  /**
653
  * Returns the formatted shipping address.
661
  return $address ? $address : $empty_content;
662
  }
663
 
664
+ /**
665
+ * Get a formatted shipping address for the order.
666
+ *
667
+ * @return string
668
+ */
669
+ public function get_address_map_url( $address ) {
670
+ // Remove name and company before generate the Google Maps URL.
671
+ unset( $address['first_name'], $address['last_name'], $address['company'], $address['email'], $address['phone'], $address['title'] );
672
+
673
+ /**
674
+ * Filter to adjust a Shipment's address parts used for constructing the Google maps URL.
675
+ *
676
+ * The dynamic portion of this hook, `$this->get_hook_prefix()` is used to construct a
677
+ * unique hook for a shipment type.
678
+ *
679
+ * Example hook name: woocommerce_gzd_shipment_get_address_map_url_parts
680
+ *
681
+ * @param string[] $address The address parts used.
682
+ * @param Shipment $this The shipment object.
683
+ *
684
+ * @since 3.0.6
685
+ * @package Vendidero/Germanized/Shipments
686
+ */
687
+ $address = apply_filters( "{$this->get_hook_prefix()}address_map_url_parts", $address, $this );
688
+ $address = array_filter( $address );
689
+
690
+ /**
691
+ * Filter to adjust a Shipment's address Google maps URL.
692
+ *
693
+ * The dynamic portion of this hook, `$this->get_hook_prefix()` is used to construct a
694
+ * unique hook for a shipment type.
695
+ *
696
+ * Example hook name: woocommerce_gzd_shipment_get_address_map_url
697
+ *
698
+ * @param string $url The address url.
699
+ * @param Shipment $this The shipment object.
700
+ *
701
+ * @since 3.0.6
702
+ * @package Vendidero/Germanized/Shipments
703
+ */
704
+ return apply_filters( "{$this->get_hook_prefix()}address_map_url", 'https://maps.google.com/maps?&q=' . rawurlencode( implode( ', ', $address ) ) . '&z=16', $this );
705
+ }
706
+
707
  /**
708
  * Returns the shipment address phone number.
709
  *
754
  public function get_address_street_number( $type = 'address_1' ) {
755
  $split = wc_gzd_split_shipment_street( $this->{"get_$type"}() );
756
 
757
+ /**
758
+ * Filter to adjust the shipment address street number.
759
+ *
760
+ * @param string $number The shipment address street number.
761
+ * @param Shipment $shipment The shipment object.
762
+ *
763
+ * @since 3.0.6
764
+ * @package Vendidero/Germanized/Shipments
765
+ */
766
+ return apply_filters( 'woocommerce_gzd_get_shipment_address_street_number', $split['number'], $this );
767
  }
768
 
769
  /**
776
  public function get_address_street( $type = 'address_1' ) {
777
  $split = wc_gzd_split_shipment_street( $this->{"get_$type"}() );
778
 
779
+ /**
780
+ * Filter to adjust the shipment address street.
781
+ *
782
+ * @param string $street The shipment address street without street number.
783
+ * @param Shipment $shipment The shipment object.
784
+ *
785
+ * @since 3.0.6
786
+ * @package Vendidero/Germanized/Shipments
787
+ */
788
+ return apply_filters( 'woocommerce_gzd_get_shipment_address_street', $split['street'], $this );
789
  }
790
 
791
  public function get_address_street_addition( $type = 'address_1' ) {
792
  $split = wc_gzd_split_shipment_street( $this->{"get_$type"}() );
793
 
794
+ /**
795
+ * Filter to adjust the shipment address street addition.
796
+ *
797
+ * @param string $addition The shipment address street addition e.g. EG14.
798
+ * @param Shipment $shipment The shipment object.
799
+ *
800
+ * @since 3.0.6
801
+ * @package Vendidero/Germanized/Shipments
802
+ */
803
+ return apply_filters( 'woocommerce_gzd_get_shipment_address_street_addition', $split['addition'], $this );
804
  }
805
 
806
  /**
1528
  *
1529
  * @return bool|WC_Order|null
1530
  */
1531
+ abstract public function get_order();
1532
+
1533
+ abstract public function get_order_id();
1534
+
1535
+ /**
1536
+ * Returns the formatted order number.
1537
+ *
1538
+ * @return string
1539
+ */
1540
+ public function get_order_number() {
1541
+ if ( $order = $this->get_order() ) {
1542
+ return $order->get_order_number();
1543
+ }
1544
+
1545
+ return $this->get_order_id();
1546
  }
1547
 
1548
  /**
1622
  return false;
1623
  }
1624
 
1625
+ /**
1626
+ * Returns a label
1627
+ *
1628
+ * @return boolean|ShipmentLabel|ShipmentReturnLabel
1629
+ */
1630
+ public function get_label() {
1631
+
1632
+ $provider = $this->get_shipping_provider();
1633
+
1634
+ if ( ! empty( $provider ) ) {
1635
+ $provider = $provider . '_';
1636
+ }
1637
+
1638
+ /**
1639
+ * Filter for shipping providers to retrieve the `ShipmentLabel` corresponding to a certain shipment.
1640
+ *
1641
+ * The dynamic portion of this hook, `$this->get_hook_prefix()` is used to construct a
1642
+ * unique hook for a shipment type. `$provider` is related to the current shipping provider
1643
+ * for the shipment (slug).
1644
+ *
1645
+ * Example hook name: `woocommerce_gzd_return_shipment_get_dhl_label`
1646
+ *
1647
+ * @param boolean|ShipmentLabel $label The label instance.
1648
+ * @param Shipment $shipment The current shipment instance.
1649
+ *
1650
+ * @since 3.0.6
1651
+ * @package Vendidero/Germanized/Shipments
1652
+ */
1653
+ return apply_filters( "{$this->get_hook_prefix()}{$provider}label", false, $this );
1654
+ }
1655
+
1656
+ /**
1657
+ * Output label admin fields.
1658
+ */
1659
+ public function print_label_admin_fields() {
1660
+
1661
+ $provider = $this->get_shipping_provider();
1662
+ // Cut away _get from prefix
1663
+ $hook_prefix = substr( $this->get_hook_prefix(), 0, -4 );
1664
+
1665
+ if ( ! empty( $provider ) ) {
1666
+ $provider = $provider . '_';
1667
+ }
1668
+
1669
+ /**
1670
+ * Action for shipping providers to output available admin settings while creating a label.
1671
+ *
1672
+ * The dynamic portion of this hook, `$hook_prefix` is used to construct a
1673
+ * unique hook for a shipment type. `$provider` is related to the current shipping provider
1674
+ * for the shipment (slug).
1675
+ *
1676
+ * Example hook name: `woocommerce_gzd_return_shipment_print_dhl_label_admin_fields`
1677
+ *
1678
+ * @param Shipment $shipment The current shipment instance.
1679
+ *
1680
+ * @since 3.0.6
1681
+ * @package Vendidero/Germanized/Shipments
1682
+ */
1683
+ do_action( "{$hook_prefix}print_{$provider}label_admin_fields", $this );
1684
+ }
1685
+
1686
+ public function create_label( $props = array(), $raw_data = array() ) {
1687
+ $provider = $this->get_shipping_provider();
1688
+ // Cut away _get from prefix
1689
+ $hook_prefix = substr( $this->get_hook_prefix(), 0, -4 );
1690
+
1691
+ if ( ! empty( $provider ) ) {
1692
+ $provider = $provider . '_';
1693
+ }
1694
+
1695
+ $error = new WP_Error();
1696
+
1697
+ /**
1698
+ * Action for shipping providers to create the `ShipmentLabel` corresponding to a certain shipment.
1699
+ *
1700
+ * The dynamic portion of this hook, `$hook_prefix` is used to construct a
1701
+ * unique hook for a shipment type. `$provider` is related to the current shipping provider
1702
+ * for the shipment (slug).
1703
+ *
1704
+ * Example hook name: `woocommerce_gzd_return_shipment_create_dhl_label`
1705
+ *
1706
+ * @param array $props Array containing props extracted from post data (if created manually) and sanitized via `wc_clean`.
1707
+ * @param WP_Error $error An WP_Error instance useful for returning errors while creating the label.
1708
+ * @param Shipment $shipment The current shipment instance.
1709
+ * @param array $raw_data Raw post data unsanitized.
1710
+ *
1711
+ * @since 3.0.6
1712
+ * @package Vendidero/Germanized/Shipments
1713
+ */
1714
+ do_action( "{$hook_prefix}create_{$provider}label", $props, $error, $this, $raw_data );
1715
+
1716
+ if ( $error->has_errors() ) {
1717
+ return $error;
1718
+ } else {
1719
+ return true;
1720
+ }
1721
+ }
1722
+
1723
+ /**
1724
+ * Whether or not the current shipments supports labels or not.
1725
+ *
1726
+ * @return bool
1727
+ */
1728
+ public function supports_label() {
1729
+ if ( $provider = $this->get_shipping_provider_instance() ) {
1730
+
1731
+ if ( $provider->supports_labels( $this->get_type() ) ) {
1732
+ return true;
1733
+ }
1734
+ }
1735
+
1736
+ return false;
1737
+ }
1738
+
1739
+ /**
1740
+ * Whether or not the current shipments needs a label or not.
1741
+ *
1742
+ * @return bool
1743
+ */
1744
+ public function needs_label( $check_status = true ) {
1745
+ $needs_label = true;
1746
+ $provider = $this->get_shipping_provider();
1747
+ // Cut away _get from prefix
1748
+ $hook_prefix = substr( $this->get_hook_prefix(), 0, -4 );
1749
+
1750
+ if ( ! empty( $provider ) ) {
1751
+ $provider = $provider . '_';
1752
+ }
1753
+
1754
+ if ( $this->has_label() ) {
1755
+ $needs_label = false;
1756
+ }
1757
+
1758
+ if ( ! $this->supports_label() ) {
1759
+ $needs_label = false;
1760
+ }
1761
+
1762
+ // If shipment is already delivered
1763
+ if ( $check_status && $this->has_status( array( 'delivered', 'shipped', 'returned' ) ) ) {
1764
+ $needs_label = false;
1765
+ }
1766
+
1767
+ /**
1768
+ * Filter for shipping providers to decide whether the shipment needs a label or not.
1769
+ *
1770
+ * The dynamic portion of this hook, `$hook_prefix` is used to construct a
1771
+ * unique hook for a shipment type. `$provider` is related to the current shipping provider
1772
+ * for the shipment (slug).
1773
+ *
1774
+ * Example hook name: `woocommerce_gzd_return_shipment_needs_dhl_label`
1775
+ *
1776
+ * @param boolean $needs_label Whether or not the shipment needs a label.
1777
+ * @param boolean $check_status Whether or not checking the shipment status is needed.
1778
+ * @param Shipment $shipment The current shipment instance.
1779
+ *
1780
+ * @since 3.0.6
1781
+ * @package Vendidero/Germanized/Shipments
1782
+ */
1783
+ return apply_filters( "{$hook_prefix}needs_{$provider}label", $needs_label, $check_status, $this );
1784
+ }
1785
+
1786
+ /**
1787
+ * Whether or not the current shipment has a valid label or not.
1788
+ *
1789
+ * @return bool
1790
+ */
1791
+ public function has_label() {
1792
+ $label = $this->get_label();
1793
+
1794
+ if ( $label && is_a( $label, '\Vendidero\Germanized\Shipments\Interfaces\ShipmentLabel' ) ) {
1795
+
1796
+ if ( 'return' === $label->get_type() ) {
1797
+ if ( ! is_a( $label, '\Vendidero\Germanized\Shipments\Interfaces\ShipmentReturnLabel' ) ) {
1798
+ return false;
1799
+ }
1800
+ }
1801
+
1802
+ return true;
1803
+ } else {
1804
+ return false;
1805
+ }
1806
+ }
1807
+
1808
+ public function get_label_download_url( $args = array() ) {
1809
+ $provider = $this->get_shipping_provider();
1810
+
1811
+ if ( ! empty( $provider ) ) {
1812
+ $provider = $provider . '_';
1813
+ }
1814
+
1815
+ $download_url = add_query_arg( array( 'action' => 'wc-gzd-download-shipment-label', 'shipment_id' => $this->get_id() ), wp_nonce_url( admin_url(), 'download-shipment-label' ) );
1816
+
1817
+ foreach( $args as $arg => $val ) {
1818
+ if ( is_bool( $val ) ) {
1819
+ $args[ $arg ] = wc_bool_to_string( $val );
1820
+ }
1821
+ }
1822
+
1823
+ $download_url = add_query_arg( $args, $download_url );
1824
+
1825
+ /**
1826
+ * Filter for shipping providers to adjust the label download URL.
1827
+ *
1828
+ * The dynamic portion of this hook, `$this->get_hook_prefix()` is used to construct a
1829
+ * unique hook for a shipment type. `$provider` is related to the current shipping provider
1830
+ * for the shipment (slug).
1831
+ *
1832
+ * Example hook name: `woocommerce_gzd_return_shipment_get_dhl_label_download_url`
1833
+ *
1834
+ * @param string $url The download URL.
1835
+ * @param Shipment $shipment The current shipment instance.
1836
+ *
1837
+ * @since 3.0.6
1838
+ * @package Vendidero/Germanized/Shipments
1839
+ */
1840
+ return apply_filters( "{$this->get_hook_prefix()}{$provider}label_download_url", $download_url, $this );
1841
+ }
1842
+
1843
+ public function add_note( $note, $added_by_user = false ) {
1844
+ if ( $order = $this->get_order() ) {
1845
+ if ( is_callable( array( $order, 'add_order_note' ) ) ) {
1846
+ $order->add_order_note( $note, 0, $added_by_user );
1847
+ }
1848
+ }
1849
+ }
1850
+
1851
  /**
1852
  * Returns whether the Shipment contains an item with a certain parent id.
1853
  *
packages/woocommerce-germanized-shipments/src/ShipmentQuery.php CHANGED
@@ -430,7 +430,7 @@ class ShipmentQuery extends WC_Object_Query {
430
  /**
431
  * Used internally to generate an SQL string for searching across multiple columns
432
  *
433
- * @since 3.1.0
434
  *
435
  * @global wpdb $wpdb WordPress database abstraction object.
436
  *
430
  /**
431
  * Used internally to generate an SQL string for searching across multiple columns
432
  *
433
+ * @since 3.0.6
434
  *
435
  * @global wpdb $wpdb WordPress database abstraction object.
436
  *
packages/woocommerce-germanized-shipments/src/ShippingProvider.php CHANGED
@@ -12,7 +12,7 @@ use WC_Data_Store;
12
 
13
  defined( 'ABSPATH' ) || exit;
14
 
15
- abstract class ShippingProvider extends WC_Data {
16
 
17
  /**
18
  * This is the name of this object type.
@@ -45,9 +45,10 @@ abstract class ShippingProvider extends WC_Data {
45
  * @var array
46
  */
47
  protected $data = array(
48
- 'is_activated' => true,
49
  'title' => '',
50
  'name' => '',
 
51
  'tracking_url_placeholder' => '',
52
  'tracking_desc_placeholder' => '',
53
  );
@@ -93,13 +94,28 @@ abstract class ShippingProvider extends WC_Data {
93
  return true;
94
  }
95
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  /**
97
  * Returns whether the shipping provider is active for usage or not.
98
  *
99
  * @return bool
100
  */
101
  public function is_activated() {
102
- return $this->get_is_activated() === true;
103
  }
104
 
105
  /**
@@ -124,6 +140,29 @@ abstract class ShippingProvider extends WC_Data {
124
  return $this->get_prop( 'name', $context );
125
  }
126
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
127
  /**
128
  * Returns whether the shipping provider is activated or not.
129
  *
@@ -131,8 +170,8 @@ abstract class ShippingProvider extends WC_Data {
131
  *
132
  * @return string
133
  */
134
- public function get_is_activated( $context = 'view' ) {
135
- return $this->get_prop( 'is_activated', $context );
136
  }
137
 
138
  /**
@@ -164,8 +203,69 @@ abstract class ShippingProvider extends WC_Data {
164
  *
165
  * @param bool $is_activated
166
  */
167
- public function set_is_activated( $is_activated ) {
168
- $this->set_prop( 'is_activated', wc_string_to_bool( $is_activated ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
169
  }
170
 
171
  /**
@@ -178,24 +278,26 @@ abstract class ShippingProvider extends WC_Data {
178
  public function get_tracking_url( $shipment ) {
179
 
180
  $tracking_url = '';
 
181
 
182
- if ( '' !== $this->get_tracking_url_placeholder() ) {
183
- $tracking_url = str_replace( '{shipment_number}', $shipment->get_shipment_number(), $this->get_tracking_url_placeholder() );
 
184
  }
185
 
186
  /**
187
  * This filter returns the tracking url provided by the shipping provider for a certain shipment.
188
  *
189
  * The dynamic portion of the hook `$this->get_hook_prefix()` refers to the
190
- * current implementation.
191
  *
192
- * Example hook name: woocommerce_gzd_shipping_provider_get_tracking_url
193
  *
194
  * @param string $tracking_url The tracking url.
195
  * @param Shipment $shipment The shipment used to build the url.
196
  * @param ShippingProvider $provider The shipping provider.
197
  *
198
- * @since 3.1.0
199
  * @package Vendidero/Germanized/Shipments
200
  */
201
  return apply_filters( $this->get_hook_prefix() . 'tracking_url', $tracking_url, $shipment, $this );
@@ -211,24 +313,26 @@ abstract class ShippingProvider extends WC_Data {
211
  public function get_tracking_desc( $shipment ) {
212
 
213
  $tracking_desc = '';
 
214
 
215
- if ( '' !== $this->get_tracking_desc_placeholder() ) {
216
- $tracking_desc = str_replace( '{shipment_number}', $shipment->get_shipment_number(), $this->get_tracking_desc_placeholder() );
 
217
  }
218
 
219
  /**
220
  * This filter returns the tracking description provided by the shipping provider for a certain shipment.
221
  *
222
  * The dynamic portion of the hook `$this->get_hook_prefix()` refers to the
223
- * current implementation.
224
  *
225
- * Example hook name: woocommerce_gzd_shipping_provider_get_tracking_description
226
  *
227
  * @param string $tracking_url The tracking description.
228
  * @param Shipment $shipment The shipment used to build the url.
229
  * @param ShippingProvider $provider The shipping provider.
230
  *
231
- * @since 3.1.0
232
  * @package Vendidero/Germanized/Shipments
233
  */
234
  return apply_filters( $this->get_hook_prefix() . 'tracking_desc', $tracking_desc, $shipment, $this );
@@ -242,6 +346,36 @@ abstract class ShippingProvider extends WC_Data {
242
  parent::set_prop( $prop, $value );
243
  }
244
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
245
  /**
246
  * Prefix for action and filter hooks on data.
247
  *
@@ -249,7 +383,75 @@ abstract class ShippingProvider extends WC_Data {
249
  * @return string
250
  */
251
  protected function get_hook_prefix() {
252
- return 'woocommerce_gzd_shipping_provider_get_';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
253
  }
254
 
255
  public function save() {
12
 
13
  defined( 'ABSPATH' ) || exit;
14
 
15
+ class ShippingProvider extends WC_Data {
16
 
17
  /**
18
  * This is the name of this object type.
45
  * @var array
46
  */
47
  protected $data = array(
48
+ 'activated' => true,
49
  'title' => '',
50
  'name' => '',
51
+ 'description' => '',
52
  'tracking_url_placeholder' => '',
53
  'tracking_desc_placeholder' => '',
54
  );
94
  return true;
95
  }
96
 
97
+ /**
98
+ * Whether or not this instance supports a certain label type.
99
+ *
100
+ * @param string $label_type The label type e.g. simple or return.
101
+ *
102
+ * @return bool
103
+ */
104
+ public function supports_labels( $label_type ) {
105
+ return false;
106
+ }
107
+
108
+ public function get_edit_link() {
109
+ return $this->get_id() > 0 ? admin_url( 'admin.php?page=wc-settings&tab=germanized-shipments&section=provider&provider=' . esc_attr( $this->get_name() ) ) : '';
110
+ }
111
+
112
  /**
113
  * Returns whether the shipping provider is active for usage or not.
114
  *
115
  * @return bool
116
  */
117
  public function is_activated() {
118
+ return $this->get_activated() === true;
119
  }
120
 
121
  /**
140
  return $this->get_prop( 'name', $context );
141
  }
142
 
143
+ protected function get_hook_name() {
144
+ $name = isset( $this->data['name'] ) ? $this->data['name'] : '';
145
+
146
+ return $name;
147
+ }
148
+
149
+ /**
150
+ * Returns a description for the provider.
151
+ *
152
+ * @param string $context
153
+ *
154
+ * @return string
155
+ */
156
+ public function get_description( $context = 'view' ) {
157
+ $desc = $this->get_prop( 'description', $context );
158
+
159
+ if ( 'view' === $context && empty( $desc ) ) {
160
+ return '-';
161
+ }
162
+
163
+ return $desc;
164
+ }
165
+
166
  /**
167
  * Returns whether the shipping provider is activated or not.
168
  *
170
  *
171
  * @return string
172
  */
173
+ public function get_activated( $context = 'view' ) {
174
+ return $this->get_prop( 'activated', $context );
175
  }
176
 
177
  /**
203
  *
204
  * @param bool $is_activated
205
  */
206
+ public function set_activated( $is_activated ) {
207
+ $this->set_prop( 'activated', wc_string_to_bool( $is_activated ) );
208
+ }
209
+
210
+ /**
211
+ * Activate current ShippingProvider instance.
212
+ */
213
+ public function activate() {
214
+ $this->set_activated( true );
215
+ $this->save();
216
+ }
217
+
218
+ /**
219
+ * Deactivate current ShippingProvider instance.
220
+ */
221
+ public function deactivate() {
222
+ $this->set_activated( false );
223
+ $this->save();
224
+ }
225
+
226
+ /**
227
+ * Set the name of the current shipping provider.
228
+ *
229
+ * @param string $name
230
+ */
231
+ public function set_name( $name ) {
232
+ $this->set_prop( 'name', $name );
233
+ }
234
+
235
+ /**
236
+ * Set the title of the current shipping provider.
237
+ *
238
+ * @param string $title
239
+ */
240
+ public function set_title( $title ) {
241
+ $this->set_prop( 'title', $title );
242
+ }
243
+
244
+ /**
245
+ * Set the description of the current shipping provider.
246
+ *
247
+ * @param string $title
248
+ */
249
+ public function set_description( $description ) {
250
+ $this->set_prop( 'description', $description );
251
+ }
252
+
253
+ /**
254
+ * Set the tracking url placeholder of the current shipping provider.
255
+ *
256
+ * @param string $placeholder
257
+ */
258
+ public function set_tracking_url_placeholder( $placeholder ) {
259
+ $this->set_prop( 'tracking_url_placeholder', $placeholder );
260
+ }
261
+
262
+ /**
263
+ * Set the tracking description placeholder of the current shipping provider.
264
+ *
265
+ * @param string $placeholder
266
+ */
267
+ public function set_tracking_desc_placeholder( $placeholder ) {
268
+ $this->set_prop( 'tracking_desc_placeholder', $placeholder );
269
  }
270
 
271
  /**
278
  public function get_tracking_url( $shipment ) {
279
 
280
  $tracking_url = '';
281
+ $tracking_id = $shipment->get_tracking_id();
282
 
283
+ if ( '' !== $this->get_tracking_url_placeholder() && ! empty( $tracking_id ) ) {
284
+ $placeholders = $this->get_tracking_placeholders( $shipment );
285
+ $tracking_url = str_replace( array_keys( $placeholders ), array_values( $placeholders ), $this->get_tracking_url_placeholder() );
286
  }
287
 
288
  /**
289
  * This filter returns the tracking url provided by the shipping provider for a certain shipment.
290
  *
291
  * The dynamic portion of the hook `$this->get_hook_prefix()` refers to the
292
+ * current provider name.
293
  *
294
+ * Example hook name: woocommerce_gzd_shipping_provider_dhl_get_tracking_url
295
  *
296
  * @param string $tracking_url The tracking url.
297
  * @param Shipment $shipment The shipment used to build the url.
298
  * @param ShippingProvider $provider The shipping provider.
299
  *
300
+ * @since 3.0.6
301
  * @package Vendidero/Germanized/Shipments
302
  */
303
  return apply_filters( $this->get_hook_prefix() . 'tracking_url', $tracking_url, $shipment, $this );
313
  public function get_tracking_desc( $shipment ) {
314
 
315
  $tracking_desc = '';
316
+ $tracking_id = $shipment->get_tracking_id();
317
 
318
+ if ( '' !== $this->get_tracking_desc_placeholder() && ! empty( $tracking_id ) ) {
319
+ $placeholders = $this->get_tracking_placeholders( $shipment );
320
+ $tracking_desc = str_replace( array_keys( $placeholders ), array_values( $placeholders ), $this->get_tracking_desc_placeholder() );
321
  }
322
 
323
  /**
324
  * This filter returns the tracking description provided by the shipping provider for a certain shipment.
325
  *
326
  * The dynamic portion of the hook `$this->get_hook_prefix()` refers to the
327
+ * current provider name.
328
  *
329
+ * Example hook name: woocommerce_gzd_shipping_provider_dhl_get_tracking_description
330
  *
331
  * @param string $tracking_url The tracking description.
332
  * @param Shipment $shipment The shipment used to build the url.
333
  * @param ShippingProvider $provider The shipping provider.
334
  *
335
+ * @since 3.0.6
336
  * @package Vendidero/Germanized/Shipments
337
  */
338
  return apply_filters( $this->get_hook_prefix() . 'tracking_desc', $tracking_desc, $shipment, $this );
346
  parent::set_prop( $prop, $value );
347
  }
348
 
349
+ /**
350
+ * @param bool|Shipment $shipment
351
+ *
352
+ * @return array
353
+ */
354
+ public function get_tracking_placeholders( $shipment = false ) {
355
+ /**
356
+ * This filter may be used to add or manipulate tracking placeholder data
357
+ * for a certain shipping provider.
358
+ *
359
+ * The dynamic portion of the hook `$this->get_hook_prefix()` refers to the
360
+ * current provider name.
361
+ *
362
+ * Example hook name: woocommerce_gzd_shipping_provider_dhl_get_tracking_placeholders
363
+ *
364
+ * @param array $placeholders Placeholders in key => value pairs.
365
+ * @param ShippingProvider $provider The shipping provider.
366
+ * @param Shipment|bool $shipment The shipment instance if available.
367
+ *
368
+ * @since 3.0.6
369
+ * @package Vendidero/Germanized/Shipments
370
+ */
371
+ return apply_filters( "{$this->get_hook_prefix()}tracking_placeholders", array(
372
+ '{shipment_number}' => $shipment ? $shipment->get_shipment_number() : '',
373
+ '{order_number}' => $shipment ? $shipment->get_order_number() : '',
374
+ '{tracking_id}' => $shipment ? $shipment->get_tracking_id() : '',
375
+ '{shipping_provider}' => $this->get_title()
376
+ ), $this, $shipment );
377
+ }
378
+
379
  /**
380
  * Prefix for action and filter hooks on data.
381
  *
383
  * @return string
384
  */
385
  protected function get_hook_prefix() {
386
+ $name = $this->get_hook_name();
387
+ $suffix = ( ! empty( $name ) ? $name . '_' : '' );
388
+
389
+ return "woocommerce_gzd_shipping_provider_{$suffix}get_";
390
+ }
391
+
392
+ public function get_settings() {
393
+ $settings = array(
394
+ array( 'title' => '', 'type' => 'title', 'id' => 'shipping_provider_options' ),
395
+
396
+ array(
397
+ 'title' => _x( 'Title', 'shipments', 'woocommerce-germanized' ),
398
+ 'desc_tip' => _x( 'Choose a title for the shipping provider.', 'shipments', 'woocommerce-germanized' ),
399
+ 'id' => 'shipping_provider_title',
400
+ 'value' => $this->get_title( 'edit' ),
401
+ 'default' => '',
402
+ 'type' => 'text',
403
+ ),
404
+
405
+ array(
406
+ 'title' => _x( 'Description', 'shipments', 'woocommerce-germanized' ),
407
+ 'desc_tip' => _x( 'Choose a description for the shipping provider.', 'shipments', 'woocommerce-germanized' ),
408
+ 'id' => 'shipping_provider_description',
409
+ 'value' => $this->get_description( 'edit' ),
410
+ 'default' => '',
411
+ 'type' => 'textarea',
412
+ 'css' => 'width: 100%;',
413
+ ),
414
+
415
+ array(
416
+ 'title' => _x( 'Tracking URL', 'shipments', 'woocommerce-germanized' ),
417
+ 'desc' => '<div class="wc-gzd-additional-desc">' . sprintf( _x( 'Adjust the placeholder used to construct the tracking URL for this shipping provider. You may use on of the following placeholders to insert the tracking id or other dynamic data: %s', 'shipments', 'woocommerce-germanized' ), '<code>' . implode( ', ', array_keys( $this->get_tracking_placeholders() ) ) . '</code>' ) . '</div>',
418
+ 'id' => 'shipping_provider_tracking_url_placeholder',
419
+ 'placeholder' => 'https://www.dhl.de/privatkunden/pakete-empfangen/verfolgen.html?idc={tracking_id}',
420
+ 'value' => $this->get_tracking_url_placeholder( 'edit' ),
421
+ 'default' => '',
422
+ 'type' => 'text',
423
+ 'css' => 'width: 100%;',
424
+ ),
425
+
426
+ array(
427
+ 'title' => _x( 'Tracking description', 'shipments', 'woocommerce-germanized' ),
428
+ 'desc' => '<div class="wc-gzd-additional-desc">' . sprintf( _x( 'Adjust the placeholder used to construct the tracking description for this shipping provider (e.g. used within notification emails). You may use on of the following placeholders to insert the tracking id or other dynamic data: %s', 'shipments', 'woocommerce-germanized' ), '<code>' . implode( ', ', array_keys( $this->get_tracking_placeholders() ) ) . '</code>' ) . '</div>',
429
+ 'id' => 'shipping_provider_tracking_desc_placeholder',
430
+ 'placeholder' => '',
431
+ 'value' => $this->get_tracking_desc_placeholder( 'edit' ),
432
+ 'default' => _x( 'Your shipment is being processed by {shipping_provider}. If you want to track the shipment, please use the following tracking number: {tracking_id}. Depending on the chosen shipping method it is possible that the tracking data does not reflect the current status when receiving this email.', 'shipments', 'woocommerce-germanized' ),
433
+ 'type' => 'textarea',
434
+ 'css' => 'width: 100%; min-height: 60px; margin-top: 1em;',
435
+ ),
436
+
437
+ array( 'type' => 'sectionend', 'id' => 'shipping_provider_options' ),
438
+ );
439
+
440
+ /**
441
+ * This filter returns the admin settings available for a certain shipping provider.
442
+ *
443
+ * The dynamic portion of the hook `$this->get_hook_prefix()` refers to the
444
+ * current provider name.
445
+ *
446
+ * Example hook name: woocommerce_gzd_shipping_provider_dhl_get_settings
447
+ *
448
+ * @param array $settings Available settings.
449
+ * @param ShippingProvider $provider The shipping provider.
450
+ *
451
+ * @since 3.0.6
452
+ * @package Vendidero/Germanized/Shipments
453
+ */
454
+ return apply_filters( $this->get_hook_prefix() . 'settings', $settings, $this );
455
  }
456
 
457
  public function save() {
packages/woocommerce-germanized-shipments/src/ShippingProviderMethod.php ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Vendidero\Germanized\Shipments;
4
+ use Exception;
5
+ use WC_Order;
6
+ use WC_Customer;
7
+ use WC_DateTime;
8
+ use WC_Shipping_Method;
9
+
10
+ defined( 'ABSPATH' ) || exit;
11
+
12
+ /**
13
+ * Shipment Order
14
+ *
15
+ * @class WC_GZD_Shipment_Order
16
+ * @version 1.0.0
17
+ * @author Vendidero
18
+ */
19
+ class ShippingProviderMethod {
20
+
21
+ /**
22
+ * The actual method object
23
+ *
24
+ * @var WC_Shipping_Method
25
+ */
26
+ protected $method = false;
27
+
28
+ protected $instance_form_fields = array();
29
+
30
+ /**
31
+ * @param WC_Customer $customer
32
+ */
33
+ public function __construct( $method ) {
34
+ $this->method = $method;
35
+
36
+ $this->init();
37
+ }
38
+
39
+ public static function get_admin_settings() {
40
+ /**
41
+ * Filter to adjust admin settings added to the shipment method instance specifically for shipping providers.
42
+ *
43
+ * @param array $settings Admin setting fields.
44
+ *
45
+ * @since 3.0.6
46
+ * @package Vendidero/Germanized/Shipments
47
+ */
48
+ return apply_filters( 'woocommerce_gzd_shipping_provider_method_admin_settings', array(
49
+ 'shipping_provider_title' => array(
50
+ 'title' => _x( 'Shipping Provider Settings', 'shipments', 'woocommerce-germanized' ),
51
+ 'type' => 'title',
52
+ 'default' => '',
53
+ 'description' => _x( 'Adjust shipping provider settings used for managing shipments.', 'shipments', 'woocommerce-germanized' ),
54
+ ),
55
+ 'shipping_provider' => array(
56
+ 'title' => _x( 'Shipping Provider', 'shipments', 'woocommerce-germanized' ),
57
+ 'type' => 'select',
58
+ /**
59
+ * Filter to adjust default shipping provider pre-selected within shipping provider method settings.
60
+ *
61
+ * @param string $provider_name The shipping provider name e.g. dhl.
62
+ *
63
+ * @since 3.0.6
64
+ * @package Vendidero/Germanized/Shipments
65
+ */
66
+ 'default' => apply_filters( 'woocommerce_gzd_shipping_provider_method_default_provider', '' ),
67
+ 'options' => wc_gzd_get_shipping_provider_select(),
68
+ 'description' => _x( 'Choose a shipping provider which will be selected by default for an eligible shipment.', 'shipments', 'woocommerce-germanized' ),
69
+ ),
70
+ ) );
71
+ }
72
+
73
+ protected function init() {
74
+ $this->instance_form_fields = $this->get_admin_settings();
75
+ $this->get_method()->instance_form_fields = array_merge( $this->get_method()->instance_form_fields, $this->instance_form_fields );
76
+ }
77
+
78
+ /**
79
+ * Returns the Woo WC_Shipping_Method original object
80
+ *
81
+ * @return object|WC_Shipping_Method
82
+ */
83
+ public function get_method() {
84
+ return $this->method;
85
+ }
86
+
87
+ public function get_id() {
88
+ return $this->method->id;
89
+ }
90
+
91
+ public function get_instance_id() {
92
+ return $this->method->get_instance_id();
93
+ }
94
+
95
+ public function has_option( $key ) {
96
+ $fields = $this->instance_form_fields;
97
+ $key = $this->maybe_prefix_key( $key );
98
+ $has_option = array_key_exists( $key, $fields ) ? true : false;
99
+
100
+ /**
101
+ * Filter that allows checking whether a shipping provider method has a specific option or not.
102
+ *
103
+ * @param boolean $has_option Whether or not the option exists.
104
+ * @param string $key The setting key.
105
+ * @param ShippingProviderMethod $method The method instance.
106
+ *
107
+ * @since 3.0.6
108
+ * @package Vendidero/Germanized/Shipments
109
+ */
110
+ return apply_filters( 'woocommerce_gzd_shipping_provider_method_setting_prefix', $has_option, $key, $this );
111
+ }
112
+
113
+ public function is_enabled( $provider ) {
114
+ return ( $this->get_provider() === $provider ) ? true : false;
115
+ }
116
+
117
+ public function get_provider() {
118
+ $provider_slug = $this->method ? $this->method->get_option( 'shipping_provider' ) : '';
119
+ $id = sanitize_key( $this->get_id() );
120
+
121
+ if ( ! empty( $provider_slug ) ) {
122
+ if ( $provider = wc_gzd_get_shipping_provider( $provider_slug ) ) {
123
+
124
+ if ( ! $provider->is_activated() ) {
125
+ $provider_slug = '';
126
+ }
127
+ }
128
+ }
129
+
130
+ if ( empty( $provider_slug ) ) {
131
+ $provider_slug = wc_gzd_get_default_shipping_provider();
132
+ }
133
+
134
+ /**
135
+ * Filter that allows adjusting the shipping provider chosen for a specific shipping method.
136
+ *
137
+ * @param string $provider_slug The shipping provider.
138
+ * @param string $method_id The shipping method id.
139
+ * @param ShippingProviderMethod $method The method instance.
140
+ *
141
+ * @since 3.0.6
142
+ * @package Vendidero/Germanized/Shipments
143
+ */
144
+ $provider_slug = apply_filters( 'woocommerce_gzd_shipping_provider_method_provider', $provider_slug, $this->get_id(), $this );
145
+
146
+ /**
147
+ * Filter that allows choosing a shipping provider for a specific shipping method.
148
+ *
149
+ * The dynamic portion of this hook, `$id` refers to the shipping method id.
150
+ *
151
+ * Example hook name: `woocommerce_gzd_shipping_provider_method_flat_rate_provider`
152
+ *
153
+ * @param string $provider_slug The shipping provider name to be used.
154
+ * @param ShippingProviderMethod $method The method instance.
155
+ *
156
+ * @since 3.0.6
157
+ * @package Vendidero/Germanized/Shipments
158
+ */
159
+ return apply_filters( "woocommerce_gzd_shipping_provider_method_{$id}_provider", $provider_slug, $this );
160
+ }
161
+
162
+ public function get_provider_instance() {
163
+ $provider_slug = $this->get_provider();
164
+
165
+ if ( ! empty( $provider_slug ) ) {
166
+ return wc_gzd_get_shipping_provider( $provider_slug );
167
+ }
168
+
169
+ return false;
170
+ }
171
+
172
+ protected function maybe_prefix_key( $key ) {
173
+ $fields = $this->instance_form_fields;
174
+ $prefix = 'shipping_provider_';
175
+ $new_key = $key;
176
+
177
+ // Do only prefix if the key does not yet exist.
178
+ if ( ! array_key_exists( $new_key, $fields ) ) {
179
+ if ( substr( $key, 0, ( strlen( $prefix ) - 1 ) ) !== $prefix ) {
180
+ $new_key = $prefix . $key;
181
+ }
182
+ }
183
+
184
+ /**
185
+ * Filter that allows prefixing the setting key used for a shipping provider method.
186
+ *
187
+ * @param string $new_key The prefixed setting key.
188
+ * @param string $key The original setting key.
189
+ * @param ShippingProviderMethod $method The method instance.
190
+ *
191
+ * @since 3.0.6
192
+ * @package Vendidero/Germanized/Shipments
193
+ */
194
+ return apply_filters( 'woocommerce_gzd_shipping_provider_method_setting_prefix', $new_key, $key, $this );
195
+ }
196
+
197
+ public function get_option( $key ) {
198
+ $key = $this->maybe_prefix_key( $key );
199
+ $option_value = $this->method->get_option( $key );
200
+
201
+ /**
202
+ * Filter that allows adjusting the setting value belonging to a certain shipping provider method.
203
+ *
204
+ * @param mixed $option_value The option value.
205
+ * @param string $key The prefixed setting key.
206
+ * @param ShippingProviderMethod $method The method instance.
207
+ *
208
+ * @since 3.0.6
209
+ * @package Vendidero/Germanized/Shipments
210
+ */
211
+ return apply_filters( 'woocommerce_gzd_shipping_provider_method_setting_value', $option_value, $key, $this );
212
+ }
213
+
214
+ /**
215
+ * Call child methods if the method does not exist.
216
+ *
217
+ * @param $method
218
+ * @param $args
219
+ *
220
+ * @return bool|mixed
221
+ */
222
+ public function __call( $method, $args ) {
223
+
224
+ if ( method_exists( $this->method, $method ) ) {
225
+ return call_user_func_array( array( $this->method, $method ), $args );
226
+ }
227
+
228
+ return false;
229
+ }
230
+ }
packages/woocommerce-germanized-shipments/src/ShippingProviderMethodPlaceholder.php ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Vendidero\Germanized\Shipments;
4
+ use Exception;
5
+ use WC_Order;
6
+ use WC_Customer;
7
+ use WC_DateTime;
8
+ use WC_Shipping_Method;
9
+
10
+ defined( 'ABSPATH' ) || exit;
11
+
12
+ /**
13
+ * Shipment Order
14
+ *
15
+ * @class WC_GZD_Shipment_Order
16
+ * @version 1.0.0
17
+ * @author Vendidero
18
+ */
19
+ class ShippingProviderMethodPlaceholder extends ShippingProviderMethod {
20
+
21
+ protected $id = '';
22
+
23
+ protected $instance_id = '';
24
+
25
+ public function __construct( $id ) {
26
+
27
+ if ( ! is_numeric( $id ) ) {
28
+ $expl = explode( ':', $id );
29
+ $instance_id = ( ( ! empty( $expl ) && sizeof( $expl ) > 1 ) ? $expl[1] : $id );
30
+ $id = ( ( ! empty( $expl ) && sizeof( $expl ) > 1 ) ? $expl[0] : $id );
31
+ } else {
32
+ $instance_id = $id;
33
+ }
34
+
35
+ $this->id = $id;
36
+ $this->instance_id = $instance_id;
37
+ }
38
+
39
+ public function get_id() {
40
+ return $this->id;
41
+ }
42
+
43
+ public function get_instance_id() {
44
+ return $this->instance_id;
45
+ }
46
+
47
+ public function get_option( $key ) {
48
+ $key = $this->maybe_prefix_key( $key );
49
+ $option_value = '';
50
+
51
+ /**
52
+ * This filter is documented in src/shipping-provider-method.php
53
+ */
54
+ return apply_filters( 'woocommerce_gzd_shipping_provider_method_setting_value', $option_value, $key, $this );
55
+ }
56
+ }
packages/woocommerce-germanized-shipments/src/ShippingProviders.php ADDED
@@ -0,0 +1,168 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Vendidero\Germanized\Shipments;
4
+
5
+ use PHPUnit\Runner\Exception;
6
+ use WC_Data_Store;
7
+
8
+ defined( 'ABSPATH' ) || exit;
9
+
10
+ class ShippingProviders {
11
+
12
+ /**
13
+ * The single instance of the class
14
+ *
15
+ * @var ShippingProviders
16
+ * @since 1.0.5
17
+ */
18
+ protected static $_instance = null;
19
+
20
+ /**
21
+ * Stores shipping providers loaded.
22
+ *
23
+ * @var ShippingProvider[]|null
24
+ */
25
+ public $shipping_providers = null;
26
+
27
+ /**
28
+ * Main ShippingProviders Instance.
29
+ *
30
+ * Ensures only one instance of ShippingProviders is loaded or can be loaded.
31
+ *
32
+ * @since 1.0.5
33
+ * @return ShippingProviders Main instance
34
+ */
35
+ public static function instance() {
36
+ if ( is_null( self::$_instance ) ) {
37
+ self::$_instance = new self();
38
+ }
39
+ return self::$_instance;
40
+ }
41
+
42
+ /**
43
+ * Cloning is forbidden.
44
+ *
45
+ * @since 2.1
46
+ */
47
+ public function __clone() {
48
+ wc_doing_it_wrong( __FUNCTION__, 'Cloning is forbidden.', '1.0.5' );
49
+ }
50
+
51
+ /**
52
+ * Unserializing instances of this class is forbidden.
53
+ *
54
+ * @since 2.1
55
+ */
56
+ public function __wakeup() {
57
+ wc_doing_it_wrong( __FUNCTION__, 'Unserializing instances of this class is forbidden.', '1.0.5' );
58
+ }
59
+
60
+ /**
61
+ * Initialize.
62
+ */
63
+ public function __construct() {
64
+ /**
65
+ * This action fires as soon as the shipping provider wrapper instance is loaded.
66
+ *
67
+ * @since 1.0.5
68
+ * @package Vendidero/Germanized/Shipments
69
+ */
70
+ do_action( 'woocommerce_gzd_shipping_providers_init' );
71
+ }
72
+
73
+ /**
74
+ * Register a shipping provider.
75
+ *
76
+ * @param ShippingProvider|string $provider Either the name of the provider's class, or an instance of the provider's class.
77
+ *
78
+ * @return bool|void
79
+ */
80
+ public function register_shipping_provider( $provider ) {
81
+ if ( ! is_object( $provider ) ) {
82
+
83
+ if ( ! class_exists( $provider ) ) {
84
+ return false;
85
+ }
86
+
87
+ $provider = new $provider();
88
+ }
89
+
90
+ if ( ! $provider || ! is_a( $provider, 'Vendidero\Germanized\Shipments\ShippingProvider' ) ) {
91
+ return false;
92
+ }
93
+
94
+ if ( is_null( $this->shipping_providers ) ) {
95
+ $this->shipping_providers = array();
96
+ }
97
+
98
+ $this->shipping_providers[ $provider->get_name() ] = $provider;
99
+ }
100
+
101
+ /**
102
+ * Shipping providers register themselves by returning their main class name through the woocommerce_gzd_shipping_provider_integrations filter.
103
+ *
104
+ * @return array
105
+ */
106
+ public function get_shipping_provider_class_names() {
107
+ // Unique provider name => provider class name.
108
+ $shipping_providers = WC_Data_Store::load( 'shipping-provider' )->get_shipping_providers();
109
+
110
+ /**
111
+ * This filter may be used to register additional shipping providers
112
+ * by adding a unique name as key and the classname to be loaded as value of the array.
113
+ *
114
+ * @param array $shipping_providers The shipping provider array
115
+ *
116
+ * @since 1.0.5
117
+ * @package Vendidero/Germanized/Shipments
118
+ */
119
+ return apply_filters( 'woocommerce_gzd_shipping_providers', $shipping_providers );
120
+ }
121
+
122
+ /**
123
+ * Loads all shipping providers which are hooked in.
124
+ *
125
+ * @return ShippingProvider[]
126
+ */
127
+ public function load_shipping_providers() {
128
+ $this->shipping_providers = array();
129
+
130
+ // For the settings in the backend, and for non-shipping zone methods, we still need to load any registered classes here.
131
+ foreach ( $this->get_shipping_provider_class_names() as $provider_name => $provider_class ) {
132
+ $this->register_shipping_provider( $provider_class );
133
+ }
134
+
135
+ /**
136
+ * This hook fires as soon as shipping providers are loaded.
137
+ * Additional shipping provider may be registered manually afterwards.
138
+ *
139
+ * @param ShippingProviders $providers The shipping providers instance
140
+ *
141
+ * @since 3.0.6
142
+ * @package Vendidero/Germanized/Shipments
143
+ */
144
+ do_action( 'woocommerce_gzd_load_shipping_providers', $this );
145
+
146
+ // Return loaded methods.
147
+ return $this->get_shipping_providers();
148
+ }
149
+
150
+ /**
151
+ * Returns all registered shipping providers for usage.
152
+ *
153
+ * @return ShippingProvider[]
154
+ */
155
+ public function get_shipping_providers() {
156
+ if ( is_null( $this->shipping_providers ) ) {
157
+ $this->load_shipping_providers();
158
+ }
159
+
160
+ return $this->shipping_providers;
161
+ }
162
+
163
+ public function get_shipping_provider( $name ) {
164
+ $providers = $this->get_shipping_providers();
165
+
166
+ return ( array_key_exists( $name, $providers ) ? $providers[ $name ] : false );
167
+ }
168
+ }
packages/woocommerce-germanized-shipments/src/SimpleShipment.php CHANGED
@@ -78,14 +78,6 @@ class SimpleShipment extends Shipment {
78
  return $this->get_prop( 'order_id', $context );
79
  }
80
 
81
- public function get_order_number() {
82
- if ( $order = $this->get_order() ) {
83
- return $order->get_order_number();
84
- }
85
-
86
- return $this->get_order_id();
87
- }
88
-
89
  /**
90
  * Set shipment order id.
91
  *
@@ -158,17 +150,24 @@ class SimpleShipment extends Shipment {
158
  wc_gzd_remove_class_filter( 'woocommerce_order_get_items', 'WCML_Orders', 'woocommerce_order_get_items', 10 );
159
  }
160
 
161
- $order = $order_shipment->get_order();
 
 
 
 
 
 
162
 
163
  $args = wp_parse_args( $args, array(
164
- 'order_id' => $order->get_id(),
165
- 'country' => $order->get_shipping_country(),
166
- 'shipping_method' => wc_gzd_get_shipment_order_shipping_method_id( $order ),
167
- 'address' => array_merge( $order->get_address( 'shipping' ), array( 'email' => $order->get_billing_email(), 'phone' => $order->get_billing_phone() ) ),
168
- 'weight' => $this->get_weight( 'edit' ),
169
- 'length' => $this->get_length( 'edit' ),
170
- 'width' => $this->get_width( 'edit' ),
171
- 'height' => $this->get_height( 'edit' ),
 
172
  'additional_total' => $this->calculate_additional_total( $order ),
173
  ) );
174
 
@@ -310,21 +309,6 @@ class SimpleShipment extends Shipment {
310
  return $methods;
311
  }
312
 
313
- public function needs_shipping_provider_select() {
314
- $shipping_method = $this->get_shipping_method();
315
-
316
- if ( ! empty( $shipping_method ) ) {
317
- $expl = explode( ':', $shipping_method );
318
-
319
- // If no instance id is availabe - show selection
320
- if ( sizeof( $expl ) === 2 && empty( $expl[1] ) ) {
321
- return true;
322
- }
323
- }
324
-
325
- return false;
326
- }
327
-
328
  /**
329
  * Returns available items for return.
330
  *
78
  return $this->get_prop( 'order_id', $context );
79
  }
80
 
 
 
 
 
 
 
 
 
81
  /**
82
  * Set shipment order id.
83
  *
150
  wc_gzd_remove_class_filter( 'woocommerce_order_get_items', 'WCML_Orders', 'woocommerce_order_get_items', 10 );
151
  }
152
 
153
+ $order = $order_shipment->get_order();
154
+
155
+ /**
156
+ * Make sure that manually adjusted providers are not overridden by syncing.
157
+ */
158
+ $default_provider = wc_gzd_get_shipment_shipping_provider( $order );
159
+ $provider = $this->get_shipping_provider( 'edit' );
160
 
161
  $args = wp_parse_args( $args, array(
162
+ 'order_id' => $order->get_id(),
163
+ 'country' => $order->get_shipping_country(),
164
+ 'shipping_method' => wc_gzd_get_shipment_order_shipping_method_id( $order ),
165
+ 'shipping_provider' => ( ! empty( $provider ) ) ? $provider : $default_provider,
166
+ 'address' => array_merge( $order->get_address( 'shipping' ), array( 'email' => $order->get_billing_email(), 'phone' => $order->get_billing_phone() ) ),
167
+ 'weight' => $this->get_weight( 'edit' ),
168
+ 'length' => $this->get_length( 'edit' ),
169
+ 'width' => $this->get_width( 'edit' ),
170
+ 'height' => $this->get_height( 'edit' ),
171
  'additional_total' => $this->calculate_additional_total( $order ),
172
  ) );
173
 
309
  return $methods;
310
  }
311
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
312
  /**
313
  * Returns available items for return.
314
  *
packages/woocommerce-germanized-shipments/woocommerce-germanized-shipments.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: The Germanized Shipments integration, installed as a feature plugin for development and testing purposes.
6
  * Author: vendidero
7
  * Author URI: https://vendidero.de
8
- * Version: 1.0.5
9
  * Requires PHP: 5.6
10
  * License: GPLv3
11
  *
5
  * Description: The Germanized Shipments integration, installed as a feature plugin for development and testing purposes.
6
  * Author: vendidero
7
  * Author URI: https://vendidero.de
8
+ * Version: 1.1.0
9
  * Requires PHP: 5.6
10
  * License: GPLv3
11
  *
phpcs.ruleset.xml DELETED
@@ -1,193 +0,0 @@
1
- <?xml version="1.0"?>
2
- <ruleset name="WordPress Coding Standards">
3
- <!-- See https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml -->
4
- <!-- See https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/develop/WordPress-Core/ruleset.xml -->
5
-
6
- <!-- Set a description for this ruleset. -->
7
- <description>A custom set of code standard rules to check for WordPress themes and plugins.</description>
8
-
9
- <!-- Include the WordPress ruleset, with exclusions. -->
10
- <rule ref="WordPress">
11
- <exclude name="Generic.CodeAnalysis.EmptyStatement.DetectedCATCH" />
12
- <exclude name="Generic.CodeAnalysis.EmptyStatement.DetectedIF" />
13
- <exclude name="Generic.CodeAnalysis.EmptyStatement.DetectedELSE" />
14
- <exclude name="Generic.CodeAnalysis.ForLoopWithTestFunctionalCall.NotAllowed" />
15
- <exclude name="Generic.Commenting.DocComment.LongNotCapital" />
16
- <exclude name="Generic.Commenting.DocComment.MissingShort" />
17
- <exclude name="Generic.Commenting.DocComment.ShortNotCapital" />
18
- <exclude name="Generic.Commenting.DocComment.SpacingAfter" />
19
- <exclude name="Generic.Commenting.DocComment.SpacingBeforeTags" />
20
- <exclude name="Generic.ControlStructures.InlineControlStructure.NotAllowed" />
21
- <!-- <exclude name="Generic.Files.EndFileNewline.NotFound" /> -->
22
- <exclude name="Generic.Files.LineEndings.InvalidEOLChar" />
23
- <exclude name="Generic.Files.LowercasedFilename.NotFound" />
24
- <!-- <exclude name="Generic.Formatting.DisallowMultipleStatements.SameLine" /> -->
25
- <!-- <exclude name="Generic.Formatting.SpaceAfterCast.NoSpace" /> -->
26
- <exclude name="Generic.Functions.OpeningFunctionBraceKernighanRitchie.BraceOnNewLine" />
27
- <exclude name="Generic.Functions.OpeningFunctionBraceKernighanRitchie.ContentAfterBrace" />
28
- <exclude name="Generic.Functions.OpeningFunctionBraceKernighanRitchie.SpaceBeforeBrace" />
29
- <exclude name="Generic.PHP.DeprecatedFunctions.Deprecated" />
30
- <exclude name="Generic.PHP.ForbiddenFunctions.FoundWithAlternative" />
31
- <exclude name="Generic.PHP.LowerCaseKeyword.Found" />
32
- <exclude name="Generic.PHP.NoSilencedErrors.Discouraged" />
33
- <exclude name="Generic.Strings.UnnecessaryStringConcat.Found" />
34
- <exclude name="Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed" />
35
- <exclude name="Generic.WhiteSpace.ScopeIndent.Incorrect" />
36
- <exclude name="Generic.WhiteSpace.ScopeIndent.IncorrectExact" />
37
- <exclude name="PEAR.Functions.FunctionCallSignature.Indent" />
38
- <!-- <exclude name="PEAR.Functions.FunctionCallSignature.SpaceAfterCloseBracket" /> -->
39
- <!-- <exclude name="PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket" /> -->
40
- <!-- <exclude name="PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket" /> -->
41
- <!-- <exclude name="PEAR.Functions.FunctionCallSignature.SpaceBeforeOpenBracket" /> -->
42
- <!-- <exclude name="Squiz.Commenting.BlockComment.NoEmptyLineBefore" /> -->
43
- <!-- <exclude name="Squiz.Commenting.BlockComment.NoNewLine" /> -->
44
- <exclude name="Squiz.Commenting.BlockComment.WrongEnd" />
45
- <exclude name="Squiz.Commenting.ClassComment.SpacingAfter" />
46
- <exclude name="Squiz.Commenting.ClassComment.Missing" />
47
- <exclude name="Squiz.Commenting.ClosingDeclarationComment.Abstract" />
48
- <!-- <exclude name="Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar" /> -->
49
- <exclude name="Squiz.Commenting.EmptyCatchComment.Missing" />
50
- <exclude name="Squiz.Commenting.FileComment.Missing" />
51
- <exclude name="Squiz.Commenting.FileComment.MissingPackageTag" />
52
- <exclude name="Squiz.Commenting.FileComment.SpacingAfterComment" />
53
- <exclude name="Squiz.Commenting.FileComment.SpacingAfterOpen" />
54
- <exclude name="Squiz.Commenting.FileComment.WrongStyle" />
55
- <exclude name="Squiz.Commenting.FunctionComment.EmptyThrows" />
56
- <exclude name="Squiz.Commenting.FunctionComment.ExtraParamComment" />
57
- <exclude name="Squiz.Commenting.FunctionComment.InvalidNoReturn" />
58
- <exclude name="Squiz.Commenting.FunctionComment.InvalidReturnVoid" />
59
- <exclude name="Squiz.Commenting.FunctionComment.Missing" />
60
- <exclude name="Squiz.Commenting.FunctionComment.MissingParamComment" />
61
- <exclude name="Squiz.Commenting.FunctionComment.MissingParamName" />
62
- <exclude name="Squiz.Commenting.FunctionComment.MissingParamTag" />
63
- <exclude name="Squiz.Commenting.FunctionComment.ParamCommentFullStop" />
64
- <exclude name="Squiz.Commenting.FunctionComment.ParamNameNoCaseMatch" />
65
- <exclude name="Squiz.Commenting.FunctionComment.ParamNameNoMatch" />
66
- <exclude name="Squiz.Commenting.FunctionComment.ScalarTypeHintMissing" />
67
- <!-- <exclude name="Squiz.Commenting.FunctionComment.SpacingAfter" /> -->
68
- <exclude name="Squiz.Commenting.FunctionComment.SpacingAfterParamType" />
69
- <exclude name="Squiz.Commenting.FunctionComment.ThrowsNoFullStop" />
70
- <exclude name="Squiz.Commenting.FunctionComment.ThrowsNotCapital" />
71
- <exclude name="Squiz.Commenting.FunctionCommentThrowTag.Missing" />
72
- <exclude name="Squiz.Commenting.FunctionCommentThrowTag.WrongNumber" />
73
- <exclude name="Squiz.Commenting.FunctionComment.WrongStyle" />
74
- <exclude name="Squiz.Commenting.InlineComment.Empty" />
75
- <exclude name="Squiz.Commenting.InlineComment.InvalidEndChar" />
76
- <!-- <exclude name="Squiz.Commenting.InlineComment.NoSpaceBefore" /> -->
77
- <exclude name="Squiz.Commenting.InlineComment.NotCapital" />
78
- <!-- <exclude name="Squiz.Commenting.InlineComment.SpacingAfter" /> -->
79
- <!-- <exclude name="Squiz.Commenting.InlineComment.SpacingBefore" /> -->
80
- <exclude name="Squiz.Commenting.InlineComment.WrongStyle" />
81
- <exclude name="Squiz.Commenting.VariableComment.Missing" />
82
- <exclude name="Squiz.Commenting.VariableComment.MissingVar" />
83
- <exclude name="Squiz.Commenting.VariableComment.WrongStyle" />
84
- <!-- <exclude name="Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace" /> -->
85
- <!-- <exclude name="Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis" /> -->
86
- <exclude name="Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword" />
87
- <exclude name="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpaceAfterDefault" />
88
- <exclude name="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen" />
89
- <exclude name="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpenHint" />
90
- <exclude name="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpaceBeforeEquals" />
91
- <exclude name="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose" />
92
- <exclude name="Squiz.PHP.CommentedOutCode.Found" />
93
- <exclude name="Squiz.Strings.DoubleQuoteUsage.NotRequired" />
94
- <!-- <exclude name="Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines" /> -->
95
- <!-- <exclude name="Squiz.WhiteSpace.SuperfluousWhitespace.EndLine" /> -->
96
- <!-- <exclude name="WordPress.Arrays.ArrayDeclaration.CloseBraceNewLine" /> -->
97
- <!-- <exclude name="WordPress.Arrays.ArrayDeclaration.FirstIndexNoNewline" /> -->
98
- <!-- <exclude name="WordPress.Arrays.ArrayDeclaration.FirstValueNoNewline" /> -->
99
- <!-- <exclude name="WordPress.Arrays.ArrayDeclaration.IndexNoNewline" /> -->
100
- <!-- <exclude name="WordPress.Arrays.ArrayDeclaration.NoComma" /> -->
101
- <!-- <exclude name="WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast" /> -->
102
- <!-- <exclude name="WordPress.Arrays.ArrayDeclaration.NoSpaceAfterComma" /> -->
103
- <!-- <exclude name="WordPress.Arrays.ArrayDeclaration.NoSpaceAfterDoubleArrow" /> -->
104
- <!-- <exclude name="WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis" /> -->
105
- <!-- <exclude name="WordPress.Arrays.ArrayDeclaration.NoSpaceBeforeDoubleArrow" /> -->
106
- <!-- <exclude name="WordPress.Arrays.ArrayDeclaration.SpaceAfterArrayOpener" /> -->
107
- <!-- <exclude name="WordPress.Arrays.ArrayDeclaration.SpaceAfterDoubleArrow" /> -->
108
- <!-- <exclude name="WordPress.Arrays.ArrayDeclaration.SpaceAfterKeyword" /> -->
109
- <!-- <exclude name="WordPress.Arrays.ArrayDeclaration.SpaceBeforeComma" /> -->
110
- <!-- <exclude name="WordPress.Arrays.ArrayDeclaration.SpaceInEmptyArray" /> -->
111
- <!-- <exclude name="WordPress.Arrays.ArrayDeclaration.ValueNoNewline" /> -->
112
- <!-- <exclude name="WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys" /> -->
113
- <!-- <exclude name="WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys" /> -->
114
- <exclude name="WordPress.Classes.ClassOpeningStatement.BraceOnNewLine" />
115
- <exclude name="WordPress.CSRF.NonceVerification.NoNonceVerification" />
116
- <exclude name="WordPress.DB.RestrictedFunctions.mysql" />
117
- <exclude name="WordPress.Files.FileName.UnderscoresNotAllowed" />
118
- <exclude name="WordPress.Functions.DontExtract.extract" />
119
- <exclude name="WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid" />
120
- <exclude name="WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid" />
121
- <exclude name="WordPress.NamingConventions.ValidHookName.UseUnderscores" />
122
- <exclude name="WordPress.NamingConventions.ValidVariableName.MemberNotSnakeCase" />
123
- <exclude name="WordPress.NamingConventions.ValidVariableName.NotSnakeCase" />
124
- <exclude name="WordPress.NamingConventions.ValidVariableName.NotSnakeCaseMemberVar" />
125
- <exclude name="WordPress.NamingConventions.ValidVariableName.StringNotSnakeCase" />
126
- <exclude name="WordPress.PHP.DiscouragedFunctions.Discouraged" />
127
- <exclude name="WordPress.PHP.DiscouragedFunctions.DiscouragedWithAlternative" />
128
- <exclude name="WordPress.PHP.StrictComparisons.LooseComparison" />
129
- <exclude name="WordPress.PHP.StrictInArray.MissingTrueStrict" />
130
- <!-- <exclude name="WordPress.PHP.YodaConditions.NotYoda" /> -->
131
- <exclude name="WordPress.VIP.AdminBarRemoval.RemovalDetected" />
132
- <exclude name="WordPress.VIP.CronInterval.ChangeDetected" />
133
- <exclude name="WordPress.VIP.DirectDatabaseQuery.DirectQuery" />
134
- <exclude name="WordPress.VIP.DirectDatabaseQuery.NoCaching" />
135
- <exclude name="WordPress.VIP.DirectDatabaseQuery.SchemaChange" />
136
- <exclude name="WordPress.VIP.FileSystemWritesDisallow.FileWriteDetected" />
137
- <exclude name="WordPress.VIP.OrderByRand.orderby" />
138
- <exclude name="WordPress.VIP.PostsPerPage.posts_per_page" />
139
- <exclude name="WordPress.VIP.RestrictedFunctions.count_user_posts" />
140
- <exclude name="WordPress.VIP.RestrictedFunctions.custom_role" />
141
- <exclude name="WordPress.VIP.RestrictedFunctions.cookies" />
142
- <exclude name="WordPress.VIP.RestrictedFunctions.curl" />
143
- <exclude name="WordPress.VIP.RestrictedFunctions.error_log" />
144
- <exclude name="WordPress.VIP.RestrictedFunctions.extract" />
145
- <exclude name="WordPress.VIP.RestrictedFunctions.file_get_contents" />
146
- <exclude name="WordPress.VIP.RestrictedFunctions.get_pages" />
147
- <exclude name="WordPress.VIP.RestrictedFunctions.get_posts" />
148
- <exclude name="WordPress.VIP.RestrictedFunctions.get_term_by" />
149
- <exclude name="WordPress.VIP.RestrictedFunctions.get_term_link" />
150
- <exclude name="WordPress.VIP.RestrictedFunctions.parse_url" />
151
- <exclude name="WordPress.VIP.RestrictedFunctions.prevent_path_disclosure" />
152
- <exclude name="WordPress.VIP.RestrictedFunctions.runtime_configuration" />
153
- <exclude name="WordPress.VIP.RestrictedFunctions.serialize" />
154
- <exclude name="WordPress.VIP.RestrictedFunctions.urlencode" />
155
- <exclude name="WordPress.VIP.RestrictedFunctions.url_to_postid" />
156
- <exclude name="WordPress.VIP.RestrictedFunctions.user_meta" />
157
- <!-- <exclude name="WordPress.VIP.RestrictedFunctions.wp_get_post_terms" /> -->
158
- <exclude name="WordPress.VIP.RestrictedFunctions.wp_redirect" />
159
- <exclude name="WordPress.VIP.RestrictedFunctions.wp_remote_get" />
160
- <exclude name="WordPress.VIP.RestrictedVariables.user_meta" />
161
- <exclude name="WordPress.VIP.RestrictedVariables.cache_constraints" />
162
- <exclude name="WordPress.VIP.SessionFunctionsUsage.session_write_close" />
163
- <exclude name="WordPress.VIP.SlowDBQuery.slow_db_query" />
164
- <exclude name="WordPress.VIP.SuperGlobalInputUsage.AccessDetected" />
165
- <exclude name="WordPress.VIP.ValidatedSanitizedInput.InputNotSanitized" />
166
- <exclude name="WordPress.VIP.ValidatedSanitizedInput.InputNotValidated" />
167
- <exclude name="WordPress.VIP.ValidatedSanitizedInput.MissingUnslash" />
168
- <exclude name="WordPress.Variables.GlobalVariables.OverrideProhibited" />
169
- <exclude name="WordPress.WP.EnqueuedResources.NonEnqueuedScript" />
170
- <exclude name="WordPress.WP.I18n.MissingSingularPlaceholder" />
171
- <exclude name="WordPress.WP.I18n.MismatchedPlaceholders" />
172
- <exclude name="WordPress.WP.I18n.NonSingularStringLiteralPlural" />
173
- <exclude name="WordPress.WP.I18n.NonSingularStringLiteralText" />
174
- <exclude name="WordPress.WP.EnqueuedResources.NonEnqueuedStylesheet" />
175
- <exclude name="WordPress.WP.PreparedSQL.NotPrepared" />
176
- <!-- <exclude name="WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd" /> -->
177
- <!-- <exclude name="WordPress.WhiteSpace.ControlStructureSpacing.ExtraSpaceAfterCloseParenthesis" /> -->
178
- <!-- <exclude name="WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterCloseParenthesis" /> -->
179
- <!-- <exclude name="WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis" /> -->
180
- <!-- <exclude name="WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterStructureOpen" /> -->
181
- <!-- <exclude name="WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBetweenStructureColon" /> -->
182
- <!-- <exclude name="WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis" /> -->
183
- <!-- <exclude name="WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis" /> -->
184
- <!-- <exclude name="WordPress.WhiteSpace.ControlStructureSpacing.OpenBraceNotSameLine" /> -->
185
- <!-- <exclude name="WordPress.WhiteSpace.ControlStructureSpacing.SpaceBeforeFunctionOpenParenthesis" /> -->
186
- <!-- <exclude name="WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter" /> -->
187
- <!-- <exclude name="WordPress.WhiteSpace.OperatorSpacing.NoSpaceBefore" /> -->
188
- <!-- <exclude name="WordPress.WhiteSpace.OperatorSpacing.SpacingAfter" /> -->
189
- <!-- <exclude name="WordPress.WhiteSpace.OperatorSpacing.SpacingBefore" /> -->
190
- <exclude name="WordPress.XSS.EscapeOutput.OutputNotEscaped" />
191
- <exclude name="WordPress.XSS.EscapeOutput.UnsafePrintingFunction" />
192
- </rule>
193
- </ruleset>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Requires at least: 4.9
5
  Tested up to: 5.3
6
  WC requires at least: 3.4
7
  WC tested up to: 3.8
8
- Stable tag: 3.0.5
9
  Requires PHP: 5.6
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -67,8 +67,8 @@ Furthermore you may attach legally relevant pages (e.g. Terms & Conditions) as P
67
 
68
  = Shipments =
69
  Germanized adds a new abstraction layer to WooCommerce to make it easier for you to send your parcels to your customers. With Germanized you'll be able to generate (multiple) shipments to an order.
70
- You can then manage your shipments and it's statuses independently from your orders. Let your customers receive a notification email as soon as a shipment has been marked as shipped.
71
- Learn more about our [Shipments for WooCommerce](https://vendidero.de/woocommerce-germanized/features#shipments "Shipments for WooCommerce") integration and find out how to automate your shipping process.
72
 
73
  = DHL Integration =
74
  With the help of our built-in DHL integration you can easily create labels for your shipments and add tracking information to the notification emails.
@@ -188,6 +188,20 @@ Bug reports may be filed via our [GitHub repository](https://github.com/vendider
188
 
189
  == Changelog ==
190
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
191
  = 3.0.5 =
192
  * Improvement: Admin assets localization
193
  * Improvement: Use Woo order address filter to add custom title
5
  Tested up to: 5.3
6
  WC requires at least: 3.4
7
  WC tested up to: 3.8
8
+ Stable tag: 3.0.6
9
  Requires PHP: 5.6
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
67
 
68
  = Shipments =
69
  Germanized adds a new abstraction layer to WooCommerce to make it easier for you to send your parcels to your customers. With Germanized you'll be able to generate (multiple) shipments to an order.
70
+ You can then manage your shipments and it's statuses independently from your orders. Let your customers receive a notification email as soon as a shipment has been marked as shipped including tracking information
71
+ from a built-in or manually added shipping provider. Learn more about our [Shipments for WooCommerce](https://vendidero.de/woocommerce-germanized/features#shipments "Shipments for WooCommerce") integration and find out how to automate your shipping process.
72
 
73
  = DHL Integration =
74
  With the help of our built-in DHL integration you can easily create labels for your shipments and add tracking information to the notification emails.
188
 
189
  == Changelog ==
190
 
191
+ = 3.0.6 =
192
+ * Feature: Manually add shipping providers with custom tracking data
193
+ * Improvement: Improved shipping provider integration code base
194
+ * Improvement: New filters to allow adding custom data to shipment item admin output
195
+ * Improvement: DHL added minimum weight setting
196
+ * Improvement: DHL SOAP API use DE timezone date
197
+ * Improvement: DHL Make sure shipping method data gets refreshed within checkout
198
+ * Improvement: Tax rate importing now supports translated tax classes
199
+ * Improvement: Added differential taxation notices to mini cart if necessary
200
+ * Fix: Re-added email shopmark settings screen
201
+ * Fix: WPML product saving bug
202
+ * Fix: Force some product data to be inherited from parent (e.g. free_shipping)
203
+ * Fix: Shipment item meta deletion
204
+
205
  = 3.0.5 =
206
  * Improvement: Admin assets localization
207
  * Improvement: Use Woo order address filter to add custom title
templates/cart/mini-cart-totals.php CHANGED
@@ -12,15 +12,18 @@
12
  *
13
  * @see https://github.com/vendidero/woocommerce-germanized/wiki/Overriding-Germanized-Templates
14
  * @package Germanized/Templates
15
- * @version 1.0.0
16
  */
17
 
18
  if ( ! defined( 'ABSPATH' ) ) {
19
  exit;
20
  } // Exit if accessed directly
21
-
22
  ?>
23
 
 
 
 
 
24
  <?php foreach ( $taxes as $tax ) : ?>
25
  <p class="total total-cart-tax wc-gzd-total-mini-cart"><?php echo wc_gzd_get_tax_rate_label( $tax['tax']->rate ); ?>
26
  : <?php echo wc_price( $tax['amount'] ); ?></p>
12
  *
13
  * @see https://github.com/vendidero/woocommerce-germanized/wiki/Overriding-Germanized-Templates
14
  * @package Germanized/Templates
15
+ * @version 1.1.0
16
  */
17
 
18
  if ( ! defined( 'ABSPATH' ) ) {
19
  exit;
20
  } // Exit if accessed directly
 
21
  ?>
22
 
23
+ <?php if ( ! empty( $differential_taxation_info ) ) : ?>
24
+ <p class="total differential-taxation-notice wc-gzd-total-mini-cart"><?php echo $differential_taxation_info; ?></p>
25
+ <?php endif; ?>
26
+
27
  <?php foreach ( $taxes as $tax ) : ?>
28
  <p class="total total-cart-tax wc-gzd-total-mini-cart"><?php echo wc_gzd_get_tax_rate_label( $tax['tax']->rate ); ?>
29
  : <?php echo wc_price( $tax['amount'] ); ?></p>
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitb1b906e5e4b477ff0ba9aeabc3f95cc3::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitb50342d773088863bc8465424d6c9f79::getLoader();
vendor/autoload_packages.php CHANGED
@@ -120,10 +120,10 @@ if ( ! function_exists( __NAMESPACE__ . '\autoloader' ) ) {
120
  /**
121
  * Prepare all the classes for autoloading.
122
  */
123
- function enqueue_packages_a66ec70bc0c9cfd5c5b842f80dba15d1() {
124
  $class_map = require_once dirname( __FILE__ ) . '/composer/autoload_classmap_package.php';
125
  foreach ( $class_map as $class_name => $class_info ) {
126
  enqueue_package_class( $class_name, $class_info['version'], $class_info['path'] );
127
  }
128
  }
129
- enqueue_packages_a66ec70bc0c9cfd5c5b842f80dba15d1();
120
  /**
121
  * Prepare all the classes for autoloading.
122
  */
123
+ function enqueue_packages_ab16015d0049f15c6849cbc505b01d9a() {
124
  $class_map = require_once dirname( __FILE__ ) . '/composer/autoload_classmap_package.php';
125
  foreach ( $class_map as $class_name => $class_info ) {
126
  enqueue_package_class( $class_name, $class_info['version'], $class_info['path'] );
127
  }
128
  }
129
+ enqueue_packages_ab16015d0049f15c6849cbc505b01d9a();
vendor/composer/autoload_classmap_package.php CHANGED
@@ -6,806 +6,850 @@ $vendorDir = dirname(__DIR__);
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
9
- 'setasign\\Fpdi\\FpdfTpl' => array(
10
  'version' => '2.2.0.0',
11
- 'path' => $vendorDir . '/setasign/fpdi/src/FpdfTpl.php'
12
  ),
13
- 'setasign\\Fpdi\\FpdfTplTrait' => array(
14
  'version' => '2.2.0.0',
15
- 'path' => $vendorDir . '/setasign/fpdi/src/FpdfTplTrait.php'
 
 
 
 
16
  ),
17
  'setasign\\Fpdi\\Fpdi' => array(
18
  'version' => '2.2.0.0',
19
  'path' => $vendorDir . '/setasign/fpdi/src/Fpdi.php'
20
  ),
21
- 'setasign\\Fpdi\\FpdiException' => array(
22
  'version' => '2.2.0.0',
23
- 'path' => $vendorDir . '/setasign/fpdi/src/FpdiException.php'
24
  ),
25
  'setasign\\Fpdi\\FpdiTrait' => array(
26
  'version' => '2.2.0.0',
27
  'path' => $vendorDir . '/setasign/fpdi/src/FpdiTrait.php'
28
  ),
29
- 'setasign\\Fpdi\\PdfParser\\CrossReference\\AbstractReader' => array(
30
  'version' => '2.2.0.0',
31
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/CrossReference/AbstractReader.php'
32
  ),
33
- 'setasign\\Fpdi\\PdfParser\\CrossReference\\CrossReference' => array(
34
  'version' => '2.2.0.0',
35
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/CrossReference/CrossReference.php'
36
  ),
37
- 'setasign\\Fpdi\\PdfParser\\CrossReference\\CrossReferenceException' => array(
38
  'version' => '2.2.0.0',
39
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/CrossReference/CrossReferenceException.php'
40
  ),
41
- 'setasign\\Fpdi\\PdfParser\\CrossReference\\FixedReader' => array(
42
  'version' => '2.2.0.0',
43
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/CrossReference/FixedReader.php'
 
 
 
 
44
  ),
45
  'setasign\\Fpdi\\PdfParser\\CrossReference\\LineReader' => array(
46
  'version' => '2.2.0.0',
47
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/CrossReference/LineReader.php'
48
  ),
49
- 'setasign\\Fpdi\\PdfParser\\CrossReference\\ReaderInterface' => array(
50
  'version' => '2.2.0.0',
51
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/CrossReference/ReaderInterface.php'
52
  ),
53
- 'setasign\\Fpdi\\PdfParser\\Filter\\Ascii85' => array(
54
  'version' => '2.2.0.0',
55
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/Ascii85.php'
56
  ),
57
- 'setasign\\Fpdi\\PdfParser\\Filter\\Ascii85Exception' => array(
58
  'version' => '2.2.0.0',
59
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/Ascii85Exception.php'
60
  ),
61
- 'setasign\\Fpdi\\PdfParser\\Filter\\AsciiHex' => array(
62
  'version' => '2.2.0.0',
63
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/AsciiHex.php'
64
  ),
65
- 'setasign\\Fpdi\\PdfParser\\Filter\\FilterException' => array(
66
  'version' => '2.2.0.0',
67
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/FilterException.php'
68
  ),
69
- 'setasign\\Fpdi\\PdfParser\\Filter\\FilterInterface' => array(
70
  'version' => '2.2.0.0',
71
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/FilterInterface.php'
72
  ),
73
- 'setasign\\Fpdi\\PdfParser\\Filter\\Flate' => array(
74
  'version' => '2.2.0.0',
75
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/Flate.php'
76
  ),
77
- 'setasign\\Fpdi\\PdfParser\\Filter\\FlateException' => array(
78
  'version' => '2.2.0.0',
79
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/FlateException.php'
80
  ),
81
- 'setasign\\Fpdi\\PdfParser\\Filter\\Lzw' => array(
82
  'version' => '2.2.0.0',
83
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/Lzw.php'
84
  ),
85
- 'setasign\\Fpdi\\PdfParser\\Filter\\LzwException' => array(
86
  'version' => '2.2.0.0',
87
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/LzwException.php'
88
  ),
89
- 'setasign\\Fpdi\\PdfParser\\PdfParser' => array(
90
  'version' => '2.2.0.0',
91
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/PdfParser.php'
92
  ),
93
- 'setasign\\Fpdi\\PdfParser\\PdfParserException' => array(
94
  'version' => '2.2.0.0',
95
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/PdfParserException.php'
96
  ),
97
- 'setasign\\Fpdi\\PdfParser\\StreamReader' => array(
98
  'version' => '2.2.0.0',
99
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/StreamReader.php'
100
  ),
101
- 'setasign\\Fpdi\\PdfParser\\Tokenizer' => array(
102
  'version' => '2.2.0.0',
103
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Tokenizer.php'
104
  ),
105
- 'setasign\\Fpdi\\PdfParser\\Type\\PdfArray' => array(
106
  'version' => '2.2.0.0',
107
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfArray.php'
108
  ),
109
- 'setasign\\Fpdi\\PdfParser\\Type\\PdfBoolean' => array(
110
  'version' => '2.2.0.0',
111
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfBoolean.php'
112
  ),
113
  'setasign\\Fpdi\\PdfParser\\Type\\PdfDictionary' => array(
114
  'version' => '2.2.0.0',
115
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfDictionary.php'
116
  ),
117
- 'setasign\\Fpdi\\PdfParser\\Type\\PdfHexString' => array(
118
- 'version' => '2.2.0.0',
119
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfHexString.php'
120
- ),
121
  'setasign\\Fpdi\\PdfParser\\Type\\PdfIndirectObject' => array(
122
  'version' => '2.2.0.0',
123
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfIndirectObject.php'
124
  ),
125
- 'setasign\\Fpdi\\PdfParser\\Type\\PdfIndirectObjectReference' => array(
126
- 'version' => '2.2.0.0',
127
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfIndirectObjectReference.php'
128
- ),
129
- 'setasign\\Fpdi\\PdfParser\\Type\\PdfName' => array(
130
  'version' => '2.2.0.0',
131
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfName.php'
132
  ),
133
- 'setasign\\Fpdi\\PdfParser\\Type\\PdfNull' => array(
134
  'version' => '2.2.0.0',
135
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfNull.php'
136
  ),
137
- 'setasign\\Fpdi\\PdfParser\\Type\\PdfNumeric' => array(
138
  'version' => '2.2.0.0',
139
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfNumeric.php'
140
  ),
141
- 'setasign\\Fpdi\\PdfParser\\Type\\PdfStream' => array(
142
  'version' => '2.2.0.0',
143
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfStream.php'
144
  ),
145
- 'setasign\\Fpdi\\PdfParser\\Type\\PdfString' => array(
146
  'version' => '2.2.0.0',
147
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfString.php'
148
  ),
149
- 'setasign\\Fpdi\\PdfParser\\Type\\PdfToken' => array(
150
  'version' => '2.2.0.0',
151
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfToken.php'
152
  ),
153
- 'setasign\\Fpdi\\PdfParser\\Type\\PdfType' => array(
154
  'version' => '2.2.0.0',
155
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfType.php'
156
  ),
157
- 'setasign\\Fpdi\\PdfParser\\Type\\PdfTypeException' => array(
158
  'version' => '2.2.0.0',
159
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfTypeException.php'
160
  ),
161
- 'setasign\\Fpdi\\PdfReader\\DataStructure\\Rectangle' => array(
162
  'version' => '2.2.0.0',
163
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfReader/DataStructure/Rectangle.php'
164
  ),
165
- 'setasign\\Fpdi\\PdfReader\\Page' => array(
166
  'version' => '2.2.0.0',
167
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfReader/Page.php'
168
  ),
169
- 'setasign\\Fpdi\\PdfReader\\PageBoundaries' => array(
170
  'version' => '2.2.0.0',
171
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfReader/PageBoundaries.php'
172
  ),
173
  'setasign\\Fpdi\\PdfReader\\PdfReader' => array(
174
  'version' => '2.2.0.0',
175
  'path' => $vendorDir . '/setasign/fpdi/src/PdfReader/PdfReader.php'
176
  ),
177
- 'setasign\\Fpdi\\PdfReader\\PdfReaderException' => array(
178
  'version' => '2.2.0.0',
179
- 'path' => $vendorDir . '/setasign/fpdi/src/PdfReader/PdfReaderException.php'
180
  ),
181
- 'setasign\\Fpdi\\Tcpdf\\Fpdi' => array(
182
  'version' => '2.2.0.0',
183
- 'path' => $vendorDir . '/setasign/fpdi/src/Tcpdf/Fpdi.php'
184
  ),
185
- 'setasign\\Fpdi\\TcpdfFpdi' => array(
186
  'version' => '2.2.0.0',
187
- 'path' => $vendorDir . '/setasign/fpdi/src/TcpdfFpdi.php'
188
  ),
189
- 'setasign\\Fpdi\\Tfpdf\\FpdfTpl' => array(
190
  'version' => '2.2.0.0',
191
- 'path' => $vendorDir . '/setasign/fpdi/src/Tfpdf/FpdfTpl.php'
192
  ),
193
- 'setasign\\Fpdi\\Tfpdf\\Fpdi' => array(
194
  'version' => '2.2.0.0',
195
- 'path' => $vendorDir . '/setasign/fpdi/src/Tfpdf/Fpdi.php'
196
  ),
197
  'Vendidero\\TrustedShops\\Package' => array(
198
  'version' => '4.0.2.0',
199
  'path' => $baseDir . '/packages/woocommerce-trusted-shops/src/Package.php'
200
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
201
  'Vendidero\\Germanized\\Shipments\\AddressSplitter' => array(
202
- 'version' => '1.0.5.0',
203
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/AddressSplitter.php'
204
  ),
205
- 'Vendidero\\Germanized\\Shipments\\Admin\\Admin' => array(
206
- 'version' => '1.0.5.0',
207
- 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/Admin.php'
208
  ),
209
- 'Vendidero\\Germanized\\Shipments\\Admin\\BulkActionHandler' => array(
210
- 'version' => '1.0.5.0',
211
- 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/BulkActionHandler.php'
212
  ),
213
  'Vendidero\\Germanized\\Shipments\\Admin\\MetaBox' => array(
214
- 'version' => '1.0.5.0',
215
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/MetaBox.php'
216
  ),
 
 
 
 
217
  'Vendidero\\Germanized\\Shipments\\Admin\\ReturnTable' => array(
218
- 'version' => '1.0.5.0',
219
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/ReturnTable.php'
220
  ),
221
- 'Vendidero\\Germanized\\Shipments\\Admin\\Settings' => array(
222
- 'version' => '1.0.5.0',
223
- 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/Settings.php'
 
 
 
 
224
  ),
225
  'Vendidero\\Germanized\\Shipments\\Admin\\Table' => array(
226
- 'version' => '1.0.5.0',
227
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/Table.php'
228
  ),
229
- 'Vendidero\\Germanized\\Shipments\\Ajax' => array(
230
- 'version' => '1.0.5.0',
231
- 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Ajax.php'
232
  ),
233
- 'Vendidero\\Germanized\\Shipments\\Api' => array(
234
- 'version' => '1.0.5.0',
235
- 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Api.php'
 
 
 
 
 
 
 
 
236
  ),
237
  'Vendidero\\Germanized\\Shipments\\Automation' => array(
238
- 'version' => '1.0.5.0',
239
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Automation.php'
240
  ),
241
- 'Vendidero\\Germanized\\Shipments\\DataStores\\Shipment' => array(
242
- 'version' => '1.0.5.0',
243
- 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/DataStores/Shipment.php'
244
  ),
245
- 'Vendidero\\Germanized\\Shipments\\DataStores\\ShipmentItem' => array(
246
- 'version' => '1.0.5.0',
247
- 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/DataStores/ShipmentItem.php'
 
 
 
 
 
 
 
 
248
  ),
249
  'Vendidero\\Germanized\\Shipments\\Emails' => array(
250
- 'version' => '1.0.5.0',
251
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Emails.php'
252
  ),
253
- 'Vendidero\\Germanized\\Shipments\\Install' => array(
254
- 'version' => '1.0.5.0',
255
- 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Install.php'
256
  ),
257
- 'Vendidero\\Germanized\\Shipments\\Order' => array(
258
- 'version' => '1.0.5.0',
259
- 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Order.php'
260
  ),
261
- 'Vendidero\\Germanized\\Shipments\\Package' => array(
262
- 'version' => '1.0.5.0',
263
- 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Package.php'
264
  ),
265
- 'Vendidero\\Germanized\\Shipments\\ReturnShipment' => array(
266
- 'version' => '1.0.5.0',
267
- 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ReturnShipment.php'
268
  ),
269
- 'Vendidero\\Germanized\\Shipments\\Shipment' => array(
270
- 'version' => '1.0.5.0',
271
- 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Shipment.php'
272
  ),
273
- 'Vendidero\\Germanized\\Shipments\\ShipmentFactory' => array(
274
- 'version' => '1.0.5.0',
275
- 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentFactory.php'
276
  ),
277
- 'Vendidero\\Germanized\\Shipments\\ShipmentItem' => array(
278
- 'version' => '1.0.5.0',
279
- 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentItem.php'
280
  ),
281
- 'Vendidero\\Germanized\\Shipments\\ShipmentQuery' => array(
282
- 'version' => '1.0.5.0',
283
- 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentQuery.php'
284
  ),
285
- 'Vendidero\\Germanized\\Shipments\\ShippingProvider' => array(
286
- 'version' => '1.0.5.0',
287
- 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProvider.php'
288
  ),
289
- 'Vendidero\\Germanized\\Shipments\\SimpleShipment' => array(
290
- 'version' => '1.0.5.0',
291
- 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/SimpleShipment.php'
292
  ),
293
- 'Vendidero\\Germanized\\Shipments\\Validation' => array(
294
- 'version' => '1.0.5.0',
295
- 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Validation.php'
296
  ),
297
- 'Vendidero\\Germanized\\DHL\\Admin\\Admin' => array(
298
- 'version' => '1.0.5.0',
299
- 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Admin.php'
 
 
 
 
300
  ),
301
- 'Vendidero\\Germanized\\DHL\\Admin\\BulkLabel' => array(
302
- 'version' => '1.0.5.0',
303
- 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/BulkLabel.php'
 
 
 
 
304
  ),
305
  'Vendidero\\Germanized\\DHL\\Admin\\Importer' => array(
306
- 'version' => '1.0.5.0',
307
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Importer.php'
308
  ),
309
- 'Vendidero\\Germanized\\DHL\\Admin\\MetaBox' => array(
310
- 'version' => '1.0.5.0',
311
- 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/MetaBox.php'
312
- ),
313
  'Vendidero\\Germanized\\DHL\\Admin\\Settings' => array(
314
- 'version' => '1.0.5.0',
315
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Settings.php'
316
  ),
317
- 'Vendidero\\Germanized\\DHL\\Ajax' => array(
318
- 'version' => '1.0.5.0',
319
- 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Ajax.php'
320
  ),
321
- 'Vendidero\\Germanized\\DHL\\Api\\AuthSoap' => array(
322
- 'version' => '1.0.5.0',
323
- 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/AuthSoap.php'
324
  ),
325
- 'Vendidero\\Germanized\\DHL\\Api\\FinderSoap' => array(
326
- 'version' => '1.0.5.0',
327
- 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/FinderSoap.php'
328
  ),
329
- 'Vendidero\\Germanized\\DHL\\Api\\LabelSoap' => array(
330
- 'version' => '1.0.5.0',
331
- 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/LabelSoap.php'
 
 
 
 
 
 
 
 
332
  ),
333
  'Vendidero\\Germanized\\DHL\\Api\\Paket' => array(
334
- 'version' => '1.0.5.0',
335
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Paket.php'
336
  ),
 
 
 
 
 
 
 
 
337
  'Vendidero\\Germanized\\DHL\\Api\\ParcelRest' => array(
338
- 'version' => '1.0.5.0',
339
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ParcelRest.php'
340
  ),
 
 
 
 
341
  'Vendidero\\Germanized\\DHL\\Api\\Rest' => array(
342
- 'version' => '1.0.5.0',
343
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Rest.php'
344
  ),
345
- 'Vendidero\\Germanized\\DHL\\Api\\ReturnRest' => array(
346
- 'version' => '1.0.5.0',
347
- 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ReturnRest.php'
348
- ),
349
- 'Vendidero\\Germanized\\DHL\\Api\\Soap' => array(
350
- 'version' => '1.0.5.0',
351
- 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Soap.php'
352
  ),
353
  'Vendidero\\Germanized\\DHL\\Automation' => array(
354
- 'version' => '1.0.5.0',
355
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Automation.php'
356
  ),
357
- 'Vendidero\\Germanized\\DHL\\DataStores\\Label' => array(
358
- 'version' => '1.0.5.0',
359
- 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/DataStores/Label.php'
360
- ),
361
- 'Vendidero\\Germanized\\DHL\\Admin\\DownloadHandler' => array(
362
- 'version' => '1.0.5.0',
363
- 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/DownloadHandler.php'
364
- ),
365
  'Vendidero\\Germanized\\DHL\\Emails' => array(
366
- 'version' => '1.0.5.0',
367
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Emails.php'
368
  ),
369
- 'Vendidero\\Germanized\\DHL\\Install' => array(
370
- 'version' => '1.0.5.0',
371
- 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Install.php'
372
- ),
373
- 'Vendidero\\Germanized\\DHL\\Label' => array(
374
- 'version' => '1.0.5.0',
375
- 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label.php'
376
- ),
377
  'Vendidero\\Germanized\\DHL\\LabelFactory' => array(
378
- 'version' => '1.0.5.0',
379
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/LabelFactory.php'
380
  ),
381
- 'Vendidero\\Germanized\\DHL\\LabelQuery' => array(
382
- 'version' => '1.0.5.0',
383
- 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/LabelQuery.php'
384
- ),
385
  'Vendidero\\Germanized\\DHL\\LabelWatcher' => array(
386
- 'version' => '1.0.5.0',
387
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/LabelWatcher.php'
388
  ),
389
- 'Vendidero\\Germanized\\DHL\\Order' => array(
390
- 'version' => '1.0.5.0',
391
- 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Order.php'
392
- ),
393
- 'Vendidero\\Germanized\\DHL\\Package' => array(
394
- 'version' => '1.0.5.0',
395
- 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Package.php'
396
- ),
397
- 'Vendidero\\Germanized\\DHL\\ParcelLocator' => array(
398
- 'version' => '1.0.5.0',
399
- 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ParcelLocator.php'
400
- ),
401
- 'Vendidero\\Germanized\\DHL\\ParcelServices' => array(
402
- 'version' => '1.0.5.0',
403
- 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ParcelServices.php'
404
- ),
405
- 'Vendidero\\Germanized\\DHL\\PDFMerger' => array(
406
- 'version' => '1.0.5.0',
407
- 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/PDFMerger.php'
408
- ),
409
- 'Vendidero\\Germanized\\DHL\\PDFSplitter' => array(
410
- 'version' => '1.0.5.0',
411
- 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/PDFSplitter.php'
412
- ),
413
- 'Vendidero\\Germanized\\DHL\\Product' => array(
414
- 'version' => '1.0.5.0',
415
- 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Product.php'
416
- ),
417
- 'Vendidero\\Germanized\\DHL\\ReturnLabel' => array(
418
- 'version' => '1.0.5.0',
419
- 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ReturnLabel.php'
420
- ),
421
- 'Vendidero\\Germanized\\DHL\\ShippingMethod' => array(
422
- 'version' => '1.0.5.0',
423
- 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShippingMethod.php'
424
- ),
425
- 'Vendidero\\Germanized\\DHL\\ShippingMethodPlaceholder' => array(
426
- 'version' => '1.0.5.0',
427
- 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShippingMethodPlaceholder.php'
428
- ),
429
- 'Vendidero\\Germanized\\DHL\\SimpleLabel' => array(
430
- 'version' => '1.0.5.0',
431
- 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/SimpleLabel.php'
432
- ),
433
- 'Vendidero\\Germanized\\Autoloader' => array(
434
  'version' => '9999999-dev',
435
- 'path' => $baseDir . '/src/Autoloader.php'
436
  ),
437
  'Vendidero\\Germanized\\Packages' => array(
438
  'version' => '9999999-dev',
439
  'path' => $baseDir . '/src/Packages.php'
440
  ),
441
- 'Vendidero\\Germanized\\Shopmark' => array(
442
- 'version' => '9999999-dev',
443
- 'path' => $baseDir . '/src/Shopmark.php'
444
- ),
445
  'Vendidero\\Germanized\\Shopmarks' => array(
446
  'version' => '9999999-dev',
447
  'path' => $baseDir . '/src/Shopmarks.php'
448
  ),
449
- 'Composer\\Installers\\AglInstaller' => array(
450
- 'version' => '1.6.0.0',
451
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/AglInstaller.php'
452
- ),
453
- 'Composer\\Installers\\AimeosInstaller' => array(
454
- 'version' => '1.6.0.0',
455
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/AimeosInstaller.php'
456
- ),
457
- 'Composer\\Installers\\AnnotateCmsInstaller' => array(
458
- 'version' => '1.6.0.0',
459
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php'
460
  ),
461
- 'Composer\\Installers\\AsgardInstaller' => array(
462
- 'version' => '1.6.0.0',
463
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/AsgardInstaller.php'
464
  ),
465
  'Composer\\Installers\\AttogramInstaller' => array(
466
- 'version' => '1.6.0.0',
467
  'path' => $vendorDir . '/composer/installers/src/Composer/Installers/AttogramInstaller.php'
468
  ),
469
- 'Composer\\Installers\\BaseInstaller' => array(
470
- 'version' => '1.6.0.0',
471
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/BaseInstaller.php'
472
- ),
473
- 'Composer\\Installers\\BitrixInstaller' => array(
474
- 'version' => '1.6.0.0',
475
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/BitrixInstaller.php'
476
- ),
477
- 'Composer\\Installers\\BonefishInstaller' => array(
478
- 'version' => '1.6.0.0',
479
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/BonefishInstaller.php'
480
- ),
481
- 'Composer\\Installers\\CakePHPInstaller' => array(
482
- 'version' => '1.6.0.0',
483
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/CakePHPInstaller.php'
484
  ),
485
- 'Composer\\Installers\\ChefInstaller' => array(
486
- 'version' => '1.6.0.0',
487
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/ChefInstaller.php'
488
  ),
489
  'Composer\\Installers\\CiviCrmInstaller' => array(
490
- 'version' => '1.6.0.0',
491
  'path' => $vendorDir . '/composer/installers/src/Composer/Installers/CiviCrmInstaller.php'
492
  ),
493
- 'Composer\\Installers\\ClanCatsFrameworkInstaller' => array(
494
- 'version' => '1.6.0.0',
495
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php'
496
- ),
497
- 'Composer\\Installers\\CockpitInstaller' => array(
498
- 'version' => '1.6.0.0',
499
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/CockpitInstaller.php'
500
- ),
501
- 'Composer\\Installers\\CodeIgniterInstaller' => array(
502
- 'version' => '1.6.0.0',
503
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php'
504
  ),
505
- 'Composer\\Installers\\Concrete5Installer' => array(
506
- 'version' => '1.6.0.0',
507
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/Concrete5Installer.php'
508
  ),
509
- 'Composer\\Installers\\CraftInstaller' => array(
510
- 'version' => '1.6.0.0',
511
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/CraftInstaller.php'
512
  ),
513
- 'Composer\\Installers\\CroogoInstaller' => array(
514
- 'version' => '1.6.0.0',
515
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/CroogoInstaller.php'
516
  ),
517
- 'Composer\\Installers\\DecibelInstaller' => array(
518
- 'version' => '1.6.0.0',
519
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/DecibelInstaller.php'
520
  ),
521
  'Composer\\Installers\\DokuWikiInstaller' => array(
522
- 'version' => '1.6.0.0',
523
  'path' => $vendorDir . '/composer/installers/src/Composer/Installers/DokuWikiInstaller.php'
524
  ),
525
- 'Composer\\Installers\\DolibarrInstaller' => array(
526
- 'version' => '1.6.0.0',
527
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/DolibarrInstaller.php'
528
  ),
529
- 'Composer\\Installers\\DrupalInstaller' => array(
530
- 'version' => '1.6.0.0',
531
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/DrupalInstaller.php'
 
 
 
 
532
  ),
533
  'Composer\\Installers\\ElggInstaller' => array(
534
- 'version' => '1.6.0.0',
535
  'path' => $vendorDir . '/composer/installers/src/Composer/Installers/ElggInstaller.php'
536
  ),
537
- 'Composer\\Installers\\EliasisInstaller' => array(
538
- 'version' => '1.6.0.0',
539
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/EliasisInstaller.php'
540
  ),
541
- 'Composer\\Installers\\ExpressionEngineInstaller' => array(
542
- 'version' => '1.6.0.0',
543
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php'
544
  ),
545
- 'Composer\\Installers\\EzPlatformInstaller' => array(
546
- 'version' => '1.6.0.0',
547
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/EzPlatformInstaller.php'
548
  ),
549
- 'Composer\\Installers\\FuelInstaller' => array(
550
- 'version' => '1.6.0.0',
551
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/FuelInstaller.php'
552
  ),
553
- 'Composer\\Installers\\FuelphpInstaller' => array(
554
- 'version' => '1.6.0.0',
555
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/FuelphpInstaller.php'
556
  ),
557
- 'Composer\\Installers\\GravInstaller' => array(
558
- 'version' => '1.6.0.0',
559
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/GravInstaller.php'
560
  ),
561
- 'Composer\\Installers\\HuradInstaller' => array(
562
- 'version' => '1.6.0.0',
563
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/HuradInstaller.php'
564
  ),
565
- 'Composer\\Installers\\ImageCMSInstaller' => array(
566
- 'version' => '1.6.0.0',
567
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/ImageCMSInstaller.php'
568
  ),
569
- 'Composer\\Installers\\Installer' => array(
570
- 'version' => '1.6.0.0',
571
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/Installer.php'
572
  ),
573
- 'Composer\\Installers\\ItopInstaller' => array(
574
- 'version' => '1.6.0.0',
575
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/ItopInstaller.php'
576
  ),
577
- 'Composer\\Installers\\JoomlaInstaller' => array(
578
- 'version' => '1.6.0.0',
579
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/JoomlaInstaller.php'
580
  ),
581
- 'Composer\\Installers\\KanboardInstaller' => array(
582
- 'version' => '1.6.0.0',
583
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/KanboardInstaller.php'
584
  ),
585
- 'Composer\\Installers\\KirbyInstaller' => array(
586
- 'version' => '1.6.0.0',
587
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/KirbyInstaller.php'
588
  ),
589
- 'Composer\\Installers\\KodiCMSInstaller' => array(
590
- 'version' => '1.6.0.0',
591
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/KodiCMSInstaller.php'
 
 
 
 
592
  ),
593
  'Composer\\Installers\\KohanaInstaller' => array(
594
- 'version' => '1.6.0.0',
595
  'path' => $vendorDir . '/composer/installers/src/Composer/Installers/KohanaInstaller.php'
596
  ),
597
- 'Composer\\Installers\\LanManagementSystemInstaller' => array(
598
- 'version' => '1.6.0.0',
599
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php'
600
  ),
601
- 'Composer\\Installers\\LaravelInstaller' => array(
602
- 'version' => '1.6.0.0',
603
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/LaravelInstaller.php'
604
  ),
605
- 'Composer\\Installers\\LavaLiteInstaller' => array(
606
- 'version' => '1.6.0.0',
607
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/LavaLiteInstaller.php'
 
 
 
 
608
  ),
609
  'Composer\\Installers\\LithiumInstaller' => array(
610
- 'version' => '1.6.0.0',
611
  'path' => $vendorDir . '/composer/installers/src/Composer/Installers/LithiumInstaller.php'
612
  ),
613
- 'Composer\\Installers\\MagentoInstaller' => array(
614
- 'version' => '1.6.0.0',
615
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/MagentoInstaller.php'
616
- ),
617
- 'Composer\\Installers\\MajimaInstaller' => array(
618
- 'version' => '1.6.0.0',
619
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/MajimaInstaller.php'
620
  ),
621
- 'Composer\\Installers\\MakoInstaller' => array(
622
- 'version' => '1.6.0.0',
623
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/MakoInstaller.php'
624
  ),
625
- 'Composer\\Installers\\MauticInstaller' => array(
626
- 'version' => '1.6.0.0',
627
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/MauticInstaller.php'
628
  ),
629
- 'Composer\\Installers\\MayaInstaller' => array(
630
- 'version' => '1.6.0.0',
631
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/MayaInstaller.php'
632
  ),
633
- 'Composer\\Installers\\MediaWikiInstaller' => array(
634
- 'version' => '1.6.0.0',
635
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/MediaWikiInstaller.php'
636
  ),
637
- 'Composer\\Installers\\MicroweberInstaller' => array(
638
- 'version' => '1.6.0.0',
639
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/MicroweberInstaller.php'
640
  ),
641
- 'Composer\\Installers\\MODULEWorkInstaller' => array(
642
- 'version' => '1.6.0.0',
643
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php'
644
  ),
645
- 'Composer\\Installers\\MODXEvoInstaller' => array(
646
- 'version' => '1.6.0.0',
647
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/MODXEvoInstaller.php'
648
  ),
649
  'Composer\\Installers\\ModxInstaller' => array(
650
- 'version' => '1.6.0.0',
651
  'path' => $vendorDir . '/composer/installers/src/Composer/Installers/ModxInstaller.php'
652
  ),
653
- 'Composer\\Installers\\MoodleInstaller' => array(
654
- 'version' => '1.6.0.0',
655
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/MoodleInstaller.php'
656
  ),
657
- 'Composer\\Installers\\OctoberInstaller' => array(
658
- 'version' => '1.6.0.0',
659
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/OctoberInstaller.php'
660
  ),
661
- 'Composer\\Installers\\OntoWikiInstaller' => array(
662
- 'version' => '1.6.0.0',
663
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/OntoWikiInstaller.php'
664
  ),
665
- 'Composer\\Installers\\OsclassInstaller' => array(
666
- 'version' => '1.6.0.0',
667
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/OsclassInstaller.php'
 
 
 
 
 
 
 
 
668
  ),
669
  'Composer\\Installers\\OxidInstaller' => array(
670
- 'version' => '1.6.0.0',
671
  'path' => $vendorDir . '/composer/installers/src/Composer/Installers/OxidInstaller.php'
672
  ),
673
- 'Composer\\Installers\\PhiftyInstaller' => array(
674
- 'version' => '1.6.0.0',
675
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/PhiftyInstaller.php'
676
  ),
677
- 'Composer\\Installers\\PhpBBInstaller' => array(
678
- 'version' => '1.6.0.0',
679
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/PhpBBInstaller.php'
 
 
 
 
 
 
 
 
 
 
 
 
680
  ),
681
  'Composer\\Installers\\PimcoreInstaller' => array(
682
- 'version' => '1.6.0.0',
683
  'path' => $vendorDir . '/composer/installers/src/Composer/Installers/PimcoreInstaller.php'
684
  ),
685
- 'Composer\\Installers\\PiwikInstaller' => array(
686
- 'version' => '1.6.0.0',
687
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/PiwikInstaller.php'
688
  ),
689
- 'Composer\\Installers\\PlentymarketsInstaller' => array(
690
- 'version' => '1.6.0.0',
691
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php'
692
  ),
693
- 'Composer\\Installers\\Plugin' => array(
694
- 'version' => '1.6.0.0',
695
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/Plugin.php'
696
  ),
697
- 'Composer\\Installers\\PortoInstaller' => array(
698
- 'version' => '1.6.0.0',
699
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/PortoInstaller.php'
700
  ),
701
- 'Composer\\Installers\\PPIInstaller' => array(
702
- 'version' => '1.6.0.0',
703
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/PPIInstaller.php'
704
  ),
705
- 'Composer\\Installers\\PrestashopInstaller' => array(
706
- 'version' => '1.6.0.0',
707
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/PrestashopInstaller.php'
708
  ),
709
- 'Composer\\Installers\\PuppetInstaller' => array(
710
- 'version' => '1.6.0.0',
711
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/PuppetInstaller.php'
712
  ),
713
- 'Composer\\Installers\\PxcmsInstaller' => array(
714
- 'version' => '1.6.0.0',
715
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/PxcmsInstaller.php'
716
  ),
717
- 'Composer\\Installers\\RadPHPInstaller' => array(
718
- 'version' => '1.6.0.0',
719
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/RadPHPInstaller.php'
720
  ),
721
- 'Composer\\Installers\\RedaxoInstaller' => array(
722
- 'version' => '1.6.0.0',
723
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/RedaxoInstaller.php'
724
  ),
725
- 'Composer\\Installers\\ReIndexInstaller' => array(
726
- 'version' => '1.6.0.0',
727
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/ReIndexInstaller.php'
728
  ),
729
- 'Composer\\Installers\\RoundcubeInstaller' => array(
730
- 'version' => '1.6.0.0',
731
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/RoundcubeInstaller.php'
732
  ),
733
- 'Composer\\Installers\\ShopwareInstaller' => array(
734
- 'version' => '1.6.0.0',
735
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/ShopwareInstaller.php'
736
  ),
737
- 'Composer\\Installers\\SilverStripeInstaller' => array(
738
- 'version' => '1.6.0.0',
739
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/SilverStripeInstaller.php'
740
  ),
741
- 'Composer\\Installers\\SiteDirectInstaller' => array(
742
- 'version' => '1.6.0.0',
743
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/SiteDirectInstaller.php'
744
  ),
745
- 'Composer\\Installers\\SMFInstaller' => array(
746
- 'version' => '1.6.0.0',
747
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/SMFInstaller.php'
748
  ),
749
- 'Composer\\Installers\\SyDESInstaller' => array(
750
- 'version' => '1.6.0.0',
751
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/SyDESInstaller.php'
752
  ),
753
- 'Composer\\Installers\\Symfony1Installer' => array(
754
- 'version' => '1.6.0.0',
755
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/Symfony1Installer.php'
756
  ),
757
- 'Composer\\Installers\\TheliaInstaller' => array(
758
- 'version' => '1.6.0.0',
759
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/TheliaInstaller.php'
760
  ),
761
- 'Composer\\Installers\\TuskInstaller' => array(
762
- 'version' => '1.6.0.0',
763
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/TuskInstaller.php'
764
  ),
765
- 'Composer\\Installers\\TYPO3CmsInstaller' => array(
766
- 'version' => '1.6.0.0',
767
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php'
768
  ),
769
- 'Composer\\Installers\\TYPO3FlowInstaller' => array(
770
- 'version' => '1.6.0.0',
771
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php'
772
  ),
773
- 'Composer\\Installers\\UserFrostingInstaller' => array(
774
- 'version' => '1.6.0.0',
775
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/UserFrostingInstaller.php'
776
  ),
777
- 'Composer\\Installers\\VanillaInstaller' => array(
778
- 'version' => '1.6.0.0',
779
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/VanillaInstaller.php'
780
  ),
781
- 'Composer\\Installers\\VgmcpInstaller' => array(
782
- 'version' => '1.6.0.0',
783
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/VgmcpInstaller.php'
784
  ),
785
- 'Composer\\Installers\\WHMCSInstaller' => array(
786
- 'version' => '1.6.0.0',
787
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/WHMCSInstaller.php'
788
  ),
789
- 'Composer\\Installers\\WolfCMSInstaller' => array(
790
- 'version' => '1.6.0.0',
791
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/WolfCMSInstaller.php'
792
  ),
793
- 'Composer\\Installers\\WordPressInstaller' => array(
794
- 'version' => '1.6.0.0',
795
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/WordPressInstaller.php'
796
  ),
797
- 'Composer\\Installers\\YawikInstaller' => array(
798
- 'version' => '1.6.0.0',
799
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/YawikInstaller.php'
800
  ),
801
- 'Composer\\Installers\\ZendInstaller' => array(
802
- 'version' => '1.6.0.0',
803
- 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/ZendInstaller.php'
 
 
 
 
 
 
 
 
 
 
 
 
804
  ),
805
  'Composer\\Installers\\ZikulaInstaller' => array(
806
- 'version' => '1.6.0.0',
807
  'path' => $vendorDir . '/composer/installers/src/Composer/Installers/ZikulaInstaller.php'
808
  ),
 
 
 
 
 
 
 
 
809
  'Automattic\\Jetpack\\Autoloader\\AutoloadGenerator' => array(
810
  'version' => '1.2.0.0',
811
  'path' => $vendorDir . '/automattic/jetpack-autoloader/src/AutoloadGenerator.php'
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
9
+ 'setasign\\Fpdi\\Tcpdf\\Fpdi' => array(
10
  'version' => '2.2.0.0',
11
+ 'path' => $vendorDir . '/setasign/fpdi/src/Tcpdf/Fpdi.php'
12
  ),
13
+ 'setasign\\Fpdi\\Tfpdf\\Fpdi' => array(
14
  'version' => '2.2.0.0',
15
+ 'path' => $vendorDir . '/setasign/fpdi/src/Tfpdf/Fpdi.php'
16
+ ),
17
+ 'setasign\\Fpdi\\Tfpdf\\FpdfTpl' => array(
18
+ 'version' => '2.2.0.0',
19
+ 'path' => $vendorDir . '/setasign/fpdi/src/Tfpdf/FpdfTpl.php'
20
  ),
21
  'setasign\\Fpdi\\Fpdi' => array(
22
  'version' => '2.2.0.0',
23
  'path' => $vendorDir . '/setasign/fpdi/src/Fpdi.php'
24
  ),
25
+ 'setasign\\Fpdi\\FpdfTplTrait' => array(
26
  'version' => '2.2.0.0',
27
+ 'path' => $vendorDir . '/setasign/fpdi/src/FpdfTplTrait.php'
28
  ),
29
  'setasign\\Fpdi\\FpdiTrait' => array(
30
  'version' => '2.2.0.0',
31
  'path' => $vendorDir . '/setasign/fpdi/src/FpdiTrait.php'
32
  ),
33
+ 'setasign\\Fpdi\\TcpdfFpdi' => array(
34
  'version' => '2.2.0.0',
35
+ 'path' => $vendorDir . '/setasign/fpdi/src/TcpdfFpdi.php'
36
  ),
37
+ 'setasign\\Fpdi\\PdfParser\\StreamReader' => array(
38
  'version' => '2.2.0.0',
39
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/StreamReader.php'
40
  ),
41
+ 'setasign\\Fpdi\\PdfParser\\PdfParserException' => array(
42
  'version' => '2.2.0.0',
43
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/PdfParserException.php'
44
  ),
45
+ 'setasign\\Fpdi\\PdfParser\\CrossReference\\ReaderInterface' => array(
46
  'version' => '2.2.0.0',
47
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/CrossReference/ReaderInterface.php'
48
+ ),
49
+ 'setasign\\Fpdi\\PdfParser\\CrossReference\\CrossReferenceException' => array(
50
+ 'version' => '2.2.0.0',
51
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/CrossReference/CrossReferenceException.php'
52
  ),
53
  'setasign\\Fpdi\\PdfParser\\CrossReference\\LineReader' => array(
54
  'version' => '2.2.0.0',
55
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/CrossReference/LineReader.php'
56
  ),
57
+ 'setasign\\Fpdi\\PdfParser\\CrossReference\\AbstractReader' => array(
58
  'version' => '2.2.0.0',
59
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/CrossReference/AbstractReader.php'
60
  ),
61
+ 'setasign\\Fpdi\\PdfParser\\CrossReference\\CrossReference' => array(
62
  'version' => '2.2.0.0',
63
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/CrossReference/CrossReference.php'
64
  ),
65
+ 'setasign\\Fpdi\\PdfParser\\CrossReference\\FixedReader' => array(
66
  'version' => '2.2.0.0',
67
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/CrossReference/FixedReader.php'
68
  ),
69
+ 'setasign\\Fpdi\\PdfParser\\PdfParser' => array(
70
  'version' => '2.2.0.0',
71
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/PdfParser.php'
72
  ),
73
+ 'setasign\\Fpdi\\PdfParser\\Type\\PdfStream' => array(
74
  'version' => '2.2.0.0',
75
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfStream.php'
76
  ),
77
+ 'setasign\\Fpdi\\PdfParser\\Type\\PdfIndirectObjectReference' => array(
78
  'version' => '2.2.0.0',
79
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfIndirectObjectReference.php'
80
  ),
81
+ 'setasign\\Fpdi\\PdfParser\\Type\\PdfHexString' => array(
82
  'version' => '2.2.0.0',
83
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfHexString.php'
84
  ),
85
+ 'setasign\\Fpdi\\PdfParser\\Type\\PdfBoolean' => array(
86
  'version' => '2.2.0.0',
87
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfBoolean.php'
88
  ),
89
+ 'setasign\\Fpdi\\PdfParser\\Type\\PdfType' => array(
90
  'version' => '2.2.0.0',
91
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfType.php'
92
  ),
93
+ 'setasign\\Fpdi\\PdfParser\\Type\\PdfNumeric' => array(
94
  'version' => '2.2.0.0',
95
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfNumeric.php'
96
  ),
97
+ 'setasign\\Fpdi\\PdfParser\\Type\\PdfArray' => array(
98
  'version' => '2.2.0.0',
99
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfArray.php'
100
  ),
101
+ 'setasign\\Fpdi\\PdfParser\\Type\\PdfName' => array(
102
  'version' => '2.2.0.0',
103
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfName.php'
104
  ),
105
+ 'setasign\\Fpdi\\PdfParser\\Type\\PdfTypeException' => array(
106
  'version' => '2.2.0.0',
107
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfTypeException.php'
108
  ),
109
+ 'setasign\\Fpdi\\PdfParser\\Type\\PdfString' => array(
110
  'version' => '2.2.0.0',
111
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfString.php'
112
  ),
113
+ 'setasign\\Fpdi\\PdfParser\\Type\\PdfNull' => array(
114
  'version' => '2.2.0.0',
115
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfNull.php'
116
  ),
117
+ 'setasign\\Fpdi\\PdfParser\\Type\\PdfToken' => array(
118
  'version' => '2.2.0.0',
119
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfToken.php'
120
  ),
121
  'setasign\\Fpdi\\PdfParser\\Type\\PdfDictionary' => array(
122
  'version' => '2.2.0.0',
123
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfDictionary.php'
124
  ),
 
 
 
 
125
  'setasign\\Fpdi\\PdfParser\\Type\\PdfIndirectObject' => array(
126
  'version' => '2.2.0.0',
127
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfIndirectObject.php'
128
  ),
129
+ 'setasign\\Fpdi\\PdfParser\\Tokenizer' => array(
 
 
 
 
130
  'version' => '2.2.0.0',
131
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Tokenizer.php'
132
  ),
133
+ 'setasign\\Fpdi\\PdfParser\\Filter\\FilterInterface' => array(
134
  'version' => '2.2.0.0',
135
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/FilterInterface.php'
136
  ),
137
+ 'setasign\\Fpdi\\PdfParser\\Filter\\Ascii85Exception' => array(
138
  'version' => '2.2.0.0',
139
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/Ascii85Exception.php'
140
  ),
141
+ 'setasign\\Fpdi\\PdfParser\\Filter\\FlateException' => array(
142
  'version' => '2.2.0.0',
143
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/FlateException.php'
144
  ),
145
+ 'setasign\\Fpdi\\PdfParser\\Filter\\Flate' => array(
146
  'version' => '2.2.0.0',
147
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/Flate.php'
148
  ),
149
+ 'setasign\\Fpdi\\PdfParser\\Filter\\FilterException' => array(
150
  'version' => '2.2.0.0',
151
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/FilterException.php'
152
  ),
153
+ 'setasign\\Fpdi\\PdfParser\\Filter\\Ascii85' => array(
154
  'version' => '2.2.0.0',
155
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/Ascii85.php'
156
  ),
157
+ 'setasign\\Fpdi\\PdfParser\\Filter\\LzwException' => array(
158
  'version' => '2.2.0.0',
159
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/LzwException.php'
160
  ),
161
+ 'setasign\\Fpdi\\PdfParser\\Filter\\AsciiHex' => array(
162
  'version' => '2.2.0.0',
163
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/AsciiHex.php'
164
  ),
165
+ 'setasign\\Fpdi\\PdfParser\\Filter\\Lzw' => array(
166
  'version' => '2.2.0.0',
167
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/Lzw.php'
168
  ),
169
+ 'setasign\\Fpdi\\FpdiException' => array(
170
  'version' => '2.2.0.0',
171
+ 'path' => $vendorDir . '/setasign/fpdi/src/FpdiException.php'
172
  ),
173
  'setasign\\Fpdi\\PdfReader\\PdfReader' => array(
174
  'version' => '2.2.0.0',
175
  'path' => $vendorDir . '/setasign/fpdi/src/PdfReader/PdfReader.php'
176
  ),
177
+ 'setasign\\Fpdi\\PdfReader\\PageBoundaries' => array(
178
  'version' => '2.2.0.0',
179
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfReader/PageBoundaries.php'
180
  ),
181
+ 'setasign\\Fpdi\\PdfReader\\DataStructure\\Rectangle' => array(
182
  'version' => '2.2.0.0',
183
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfReader/DataStructure/Rectangle.php'
184
  ),
185
+ 'setasign\\Fpdi\\PdfReader\\PdfReaderException' => array(
186
  'version' => '2.2.0.0',
187
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfReader/PdfReaderException.php'
188
  ),
189
+ 'setasign\\Fpdi\\PdfReader\\Page' => array(
190
  'version' => '2.2.0.0',
191
+ 'path' => $vendorDir . '/setasign/fpdi/src/PdfReader/Page.php'
192
  ),
193
+ 'setasign\\Fpdi\\FpdfTpl' => array(
194
  'version' => '2.2.0.0',
195
+ 'path' => $vendorDir . '/setasign/fpdi/src/FpdfTpl.php'
196
  ),
197
  'Vendidero\\TrustedShops\\Package' => array(
198
  'version' => '4.0.2.0',
199
  'path' => $baseDir . '/packages/woocommerce-trusted-shops/src/Package.php'
200
  ),
201
+ 'Vendidero\\Germanized\\Shipments\\Shipment' => array(
202
+ 'version' => '1.1.0.0',
203
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Shipment.php'
204
+ ),
205
+ 'Vendidero\\Germanized\\Shipments\\Install' => array(
206
+ 'version' => '1.1.0.0',
207
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Install.php'
208
+ ),
209
+ 'Vendidero\\Germanized\\Shipments\\SimpleShipment' => array(
210
+ 'version' => '1.1.0.0',
211
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/SimpleShipment.php'
212
+ ),
213
+ 'Vendidero\\Germanized\\Shipments\\ShippingProviderMethod' => array(
214
+ 'version' => '1.1.0.0',
215
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProviderMethod.php'
216
+ ),
217
+ 'Vendidero\\Germanized\\Shipments\\Package' => array(
218
+ 'version' => '1.1.0.0',
219
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Package.php'
220
+ ),
221
+ 'Vendidero\\Germanized\\Shipments\\Order' => array(
222
+ 'version' => '1.1.0.0',
223
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Order.php'
224
+ ),
225
+ 'Vendidero\\Germanized\\Shipments\\DataStores\\Shipment' => array(
226
+ 'version' => '1.1.0.0',
227
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/DataStores/Shipment.php'
228
+ ),
229
+ 'Vendidero\\Germanized\\Shipments\\DataStores\\ShippingProvider' => array(
230
+ 'version' => '1.1.0.0',
231
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/DataStores/ShippingProvider.php'
232
+ ),
233
+ 'Vendidero\\Germanized\\Shipments\\DataStores\\ShipmentItem' => array(
234
+ 'version' => '1.1.0.0',
235
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/DataStores/ShipmentItem.php'
236
+ ),
237
+ 'Vendidero\\Germanized\\Shipments\\Ajax' => array(
238
+ 'version' => '1.1.0.0',
239
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Ajax.php'
240
+ ),
241
+ 'Vendidero\\Germanized\\Shipments\\ReturnShipment' => array(
242
+ 'version' => '1.1.0.0',
243
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ReturnShipment.php'
244
+ ),
245
+ 'Vendidero\\Germanized\\Shipments\\ShippingProvider' => array(
246
+ 'version' => '1.1.0.0',
247
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProvider.php'
248
+ ),
249
  'Vendidero\\Germanized\\Shipments\\AddressSplitter' => array(
250
+ 'version' => '1.1.0.0',
251
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/AddressSplitter.php'
252
  ),
253
+ 'Vendidero\\Germanized\\Shipments\\Admin\\BulkLabel' => array(
254
+ 'version' => '1.1.0.0',
255
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/BulkLabel.php'
256
  ),
257
+ 'Vendidero\\Germanized\\Shipments\\Admin\\Settings' => array(
258
+ 'version' => '1.1.0.0',
259
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/Settings.php'
260
  ),
261
  'Vendidero\\Germanized\\Shipments\\Admin\\MetaBox' => array(
262
+ 'version' => '1.1.0.0',
263
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/MetaBox.php'
264
  ),
265
+ 'Vendidero\\Germanized\\Shipments\\Admin\\DownloadHandler' => array(
266
+ 'version' => '1.1.0.0',
267
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/DownloadHandler.php'
268
+ ),
269
  'Vendidero\\Germanized\\Shipments\\Admin\\ReturnTable' => array(
270
+ 'version' => '1.1.0.0',
271
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/ReturnTable.php'
272
  ),
273
+ 'Vendidero\\Germanized\\Shipments\\Admin\\BulkActionHandler' => array(
274
+ 'version' => '1.1.0.0',
275
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/BulkActionHandler.php'
276
+ ),
277
+ 'Vendidero\\Germanized\\Shipments\\Admin\\Admin' => array(
278
+ 'version' => '1.1.0.0',
279
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/Admin.php'
280
  ),
281
  'Vendidero\\Germanized\\Shipments\\Admin\\Table' => array(
282
+ 'version' => '1.1.0.0',
283
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/Table.php'
284
  ),
285
+ 'Vendidero\\Germanized\\Shipments\\ShipmentQuery' => array(
286
+ 'version' => '1.1.0.0',
287
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentQuery.php'
288
  ),
289
+ 'Vendidero\\Germanized\\Shipments\\PDFMerger' => array(
290
+ 'version' => '1.1.0.0',
291
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/PDFMerger.php'
292
+ ),
293
+ 'Vendidero\\Germanized\\Shipments\\ShipmentFactory' => array(
294
+ 'version' => '1.1.0.0',
295
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentFactory.php'
296
+ ),
297
+ 'Vendidero\\Germanized\\Shipments\\ShippingProviderMethodPlaceholder' => array(
298
+ 'version' => '1.1.0.0',
299
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProviderMethodPlaceholder.php'
300
  ),
301
  'Vendidero\\Germanized\\Shipments\\Automation' => array(
302
+ 'version' => '1.1.0.0',
303
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Automation.php'
304
  ),
305
+ 'Vendidero\\Germanized\\Shipments\\ShippingProviders' => array(
306
+ 'version' => '1.1.0.0',
307
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProviders.php'
308
  ),
309
+ 'Vendidero\\Germanized\\Shipments\\Api' => array(
310
+ 'version' => '1.1.0.0',
311
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Api.php'
312
+ ),
313
+ 'Vendidero\\Germanized\\Shipments\\ShipmentItem' => array(
314
+ 'version' => '1.1.0.0',
315
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentItem.php'
316
+ ),
317
+ 'Vendidero\\Germanized\\Shipments\\Validation' => array(
318
+ 'version' => '1.1.0.0',
319
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Validation.php'
320
  ),
321
  'Vendidero\\Germanized\\Shipments\\Emails' => array(
322
+ 'version' => '1.1.0.0',
323
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Emails.php'
324
  ),
325
+ 'Vendidero\\Germanized\\Shipments\\PDFSplitter' => array(
326
+ 'version' => '1.1.0.0',
327
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/PDFSplitter.php'
328
  ),
329
+ 'Vendidero\\Germanized\\Shipments\\Interfaces\\ShipmentReturnLabel' => array(
330
+ 'version' => '1.1.0.0',
331
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Interfaces/ShipmenReturnLabel.php'
332
  ),
333
+ 'Vendidero\\Germanized\\Shipments\\Interfaces\\ShipmentLabel' => array(
334
+ 'version' => '1.1.0.0',
335
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Interfaces/ShipmentLabel.php'
336
  ),
337
+ 'Vendidero\\Germanized\\DHL\\ShippingProviderDHL' => array(
338
+ 'version' => '1.1.0.0',
339
+ 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShippingProviderDHL.php'
340
  ),
341
+ 'Vendidero\\Germanized\\DHL\\ShippingProviderMethodDHL' => array(
342
+ 'version' => '1.1.0.0',
343
+ 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShippingProviderMethodDHL.php'
344
  ),
345
+ 'Vendidero\\Germanized\\DHL\\Install' => array(
346
+ 'version' => '1.1.0.0',
347
+ 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Install.php'
348
  ),
349
+ 'Vendidero\\Germanized\\DHL\\LabelQuery' => array(
350
+ 'version' => '1.1.0.0',
351
+ 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/LabelQuery.php'
352
  ),
353
+ 'Vendidero\\Germanized\\DHL\\ShipmentLabelWatcher' => array(
354
+ 'version' => '1.1.0.0',
355
+ 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShipmentLabelWatcher.php'
356
  ),
357
+ 'Vendidero\\Germanized\\DHL\\Package' => array(
358
+ 'version' => '1.1.0.0',
359
+ 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Package.php'
360
  ),
361
+ 'Vendidero\\Germanized\\DHL\\Product' => array(
362
+ 'version' => '1.1.0.0',
363
+ 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Product.php'
364
  ),
365
+ 'Vendidero\\Germanized\\DHL\\Order' => array(
366
+ 'version' => '1.1.0.0',
367
+ 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Order.php'
368
  ),
369
+ 'Vendidero\\Germanized\\DHL\\DataStores\\Label' => array(
370
+ 'version' => '1.1.0.0',
371
+ 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/DataStores/Label.php'
372
+ ),
373
+ 'Vendidero\\Germanized\\DHL\\Ajax' => array(
374
+ 'version' => '1.1.0.0',
375
+ 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Ajax.php'
376
  ),
377
+ 'Vendidero\\Germanized\\DHL\\Label' => array(
378
+ 'version' => '1.1.0.0',
379
+ 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label.php'
380
+ ),
381
+ 'Vendidero\\Germanized\\DHL\\ParcelServices' => array(
382
+ 'version' => '1.1.0.0',
383
+ 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ParcelServices.php'
384
  ),
385
  'Vendidero\\Germanized\\DHL\\Admin\\Importer' => array(
386
+ 'version' => '1.1.0.0',
387
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Importer.php'
388
  ),
 
 
 
 
389
  'Vendidero\\Germanized\\DHL\\Admin\\Settings' => array(
390
+ 'version' => '1.1.0.0',
391
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Settings.php'
392
  ),
393
+ 'Vendidero\\Germanized\\DHL\\Admin\\Admin' => array(
394
+ 'version' => '1.1.0.0',
395
+ 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Admin.php'
396
  ),
397
+ 'Vendidero\\Germanized\\DHL\\ReturnLabel' => array(
398
+ 'version' => '1.1.0.0',
399
+ 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ReturnLabel.php'
400
  ),
401
+ 'Vendidero\\Germanized\\DHL\\ParcelLocator' => array(
402
+ 'version' => '1.1.0.0',
403
+ 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ParcelLocator.php'
404
  ),
405
+ 'Vendidero\\Germanized\\DHL\\SimpleLabel' => array(
406
+ 'version' => '1.1.0.0',
407
+ 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/SimpleLabel.php'
408
+ ),
409
+ 'Vendidero\\Germanized\\DHL\\Admin\\DownloadHandler' => array(
410
+ 'version' => '1.1.0.0',
411
+ 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/DownloadHandler.php'
412
+ ),
413
+ 'Vendidero\\Germanized\\DHL\\Api\\ReturnRest' => array(
414
+ 'version' => '1.1.0.0',
415
+ 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ReturnRest.php'
416
  ),
417
  'Vendidero\\Germanized\\DHL\\Api\\Paket' => array(
418
+ 'version' => '1.1.0.0',
419
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Paket.php'
420
  ),
421
+ 'Vendidero\\Germanized\\DHL\\Api\\LabelSoap' => array(
422
+ 'version' => '1.1.0.0',
423
+ 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/LabelSoap.php'
424
+ ),
425
+ 'Vendidero\\Germanized\\DHL\\Api\\AuthSoap' => array(
426
+ 'version' => '1.1.0.0',
427
+ 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/AuthSoap.php'
428
+ ),
429
  'Vendidero\\Germanized\\DHL\\Api\\ParcelRest' => array(
430
+ 'version' => '1.1.0.0',
431
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ParcelRest.php'
432
  ),
433
+ 'Vendidero\\Germanized\\DHL\\Api\\Soap' => array(
434
+ 'version' => '1.1.0.0',
435
+ 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Soap.php'
436
+ ),
437
  'Vendidero\\Germanized\\DHL\\Api\\Rest' => array(
438
+ 'version' => '1.1.0.0',
439
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Rest.php'
440
  ),
441
+ 'Vendidero\\Germanized\\DHL\\Api\\FinderSoap' => array(
442
+ 'version' => '1.1.0.0',
443
+ 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/FinderSoap.php'
 
 
 
 
444
  ),
445
  'Vendidero\\Germanized\\DHL\\Automation' => array(
446
+ 'version' => '1.1.0.0',
447
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Automation.php'
448
  ),
 
 
 
 
 
 
 
 
449
  'Vendidero\\Germanized\\DHL\\Emails' => array(
450
+ 'version' => '1.1.0.0',
451
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Emails.php'
452
  ),
 
 
 
 
 
 
 
 
453
  'Vendidero\\Germanized\\DHL\\LabelFactory' => array(
454
+ 'version' => '1.1.0.0',
455
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/LabelFactory.php'
456
  ),
 
 
 
 
457
  'Vendidero\\Germanized\\DHL\\LabelWatcher' => array(
458
+ 'version' => '1.1.0.0',
459
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/LabelWatcher.php'
460
  ),
461
+ 'Vendidero\\Germanized\\Shopmark' => array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
462
  'version' => '9999999-dev',
463
+ 'path' => $baseDir . '/src/Shopmark.php'
464
  ),
465
  'Vendidero\\Germanized\\Packages' => array(
466
  'version' => '9999999-dev',
467
  'path' => $baseDir . '/src/Packages.php'
468
  ),
 
 
 
 
469
  'Vendidero\\Germanized\\Shopmarks' => array(
470
  'version' => '9999999-dev',
471
  'path' => $baseDir . '/src/Shopmarks.php'
472
  ),
473
+ 'Vendidero\\Germanized\\Autoloader' => array(
474
+ 'version' => '9999999-dev',
475
+ 'path' => $baseDir . '/src/Autoloader.php'
 
 
 
 
 
 
 
 
476
  ),
477
+ 'Composer\\Installers\\GravInstaller' => array(
478
+ 'version' => '1.7.0.0',
479
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/GravInstaller.php'
480
  ),
481
  'Composer\\Installers\\AttogramInstaller' => array(
482
+ 'version' => '1.7.0.0',
483
  'path' => $vendorDir . '/composer/installers/src/Composer/Installers/AttogramInstaller.php'
484
  ),
485
+ 'Composer\\Installers\\DrupalInstaller' => array(
486
+ 'version' => '1.7.0.0',
487
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/DrupalInstaller.php'
 
 
 
 
 
 
 
 
 
 
 
 
488
  ),
489
+ 'Composer\\Installers\\CraftInstaller' => array(
490
+ 'version' => '1.7.0.0',
491
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/CraftInstaller.php'
492
  ),
493
  'Composer\\Installers\\CiviCrmInstaller' => array(
494
+ 'version' => '1.7.0.0',
495
  'path' => $vendorDir . '/composer/installers/src/Composer/Installers/CiviCrmInstaller.php'
496
  ),
497
+ 'Composer\\Installers\\ItopInstaller' => array(
498
+ 'version' => '1.7.0.0',
499
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/ItopInstaller.php'
 
 
 
 
 
 
 
 
500
  ),
501
+ 'Composer\\Installers\\ReIndexInstaller' => array(
502
+ 'version' => '1.7.0.0',
503
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/ReIndexInstaller.php'
504
  ),
505
+ 'Composer\\Installers\\TheliaInstaller' => array(
506
+ 'version' => '1.7.0.0',
507
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/TheliaInstaller.php'
508
  ),
509
+ 'Composer\\Installers\\SilverStripeInstaller' => array(
510
+ 'version' => '1.7.0.0',
511
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/SilverStripeInstaller.php'
512
  ),
513
+ 'Composer\\Installers\\ShopwareInstaller' => array(
514
+ 'version' => '1.7.0.0',
515
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/ShopwareInstaller.php'
516
  ),
517
  'Composer\\Installers\\DokuWikiInstaller' => array(
518
+ 'version' => '1.7.0.0',
519
  'path' => $vendorDir . '/composer/installers/src/Composer/Installers/DokuWikiInstaller.php'
520
  ),
521
+ 'Composer\\Installers\\PPIInstaller' => array(
522
+ 'version' => '1.7.0.0',
523
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/PPIInstaller.php'
524
  ),
525
+ 'Composer\\Installers\\KirbyInstaller' => array(
526
+ 'version' => '1.7.0.0',
527
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/KirbyInstaller.php'
528
+ ),
529
+ 'Composer\\Installers\\LaravelInstaller' => array(
530
+ 'version' => '1.7.0.0',
531
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/LaravelInstaller.php'
532
  ),
533
  'Composer\\Installers\\ElggInstaller' => array(
534
+ 'version' => '1.7.0.0',
535
  'path' => $vendorDir . '/composer/installers/src/Composer/Installers/ElggInstaller.php'
536
  ),
537
+ 'Composer\\Installers\\VanillaInstaller' => array(
538
+ 'version' => '1.7.0.0',
539
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/VanillaInstaller.php'
540
  ),
541
+ 'Composer\\Installers\\YawikInstaller' => array(
542
+ 'version' => '1.7.0.0',
543
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/YawikInstaller.php'
544
  ),
545
+ 'Composer\\Installers\\RoundcubeInstaller' => array(
546
+ 'version' => '1.7.0.0',
547
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/RoundcubeInstaller.php'
548
  ),
549
+ 'Composer\\Installers\\VgmcpInstaller' => array(
550
+ 'version' => '1.7.0.0',
551
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/VgmcpInstaller.php'
552
  ),
553
+ 'Composer\\Installers\\UserFrostingInstaller' => array(
554
+ 'version' => '1.7.0.0',
555
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/UserFrostingInstaller.php'
556
  ),
557
+ 'Composer\\Installers\\RadPHPInstaller' => array(
558
+ 'version' => '1.7.0.0',
559
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/RadPHPInstaller.php'
560
  ),
561
+ 'Composer\\Installers\\KnownInstaller' => array(
562
+ 'version' => '1.7.0.0',
563
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/KnownInstaller.php'
564
  ),
565
+ 'Composer\\Installers\\SMFInstaller' => array(
566
+ 'version' => '1.7.0.0',
567
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/SMFInstaller.php'
568
  ),
569
+ 'Composer\\Installers\\PhiftyInstaller' => array(
570
+ 'version' => '1.7.0.0',
571
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/PhiftyInstaller.php'
572
  ),
573
+ 'Composer\\Installers\\MakoInstaller' => array(
574
+ 'version' => '1.7.0.0',
575
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/MakoInstaller.php'
576
  ),
577
+ 'Composer\\Installers\\TYPO3CmsInstaller' => array(
578
+ 'version' => '1.7.0.0',
579
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php'
580
  ),
581
+ 'Composer\\Installers\\CockpitInstaller' => array(
582
+ 'version' => '1.7.0.0',
583
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/CockpitInstaller.php'
584
  ),
585
+ 'Composer\\Installers\\CodeIgniterInstaller' => array(
586
+ 'version' => '1.7.0.0',
587
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php'
588
  ),
589
+ 'Composer\\Installers\\TaoInstaller' => array(
590
+ 'version' => '1.7.0.0',
591
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/TaoInstaller.php'
592
+ ),
593
+ 'Composer\\Installers\\AimeosInstaller' => array(
594
+ 'version' => '1.7.0.0',
595
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/AimeosInstaller.php'
596
  ),
597
  'Composer\\Installers\\KohanaInstaller' => array(
598
+ 'version' => '1.7.0.0',
599
  'path' => $vendorDir . '/composer/installers/src/Composer/Installers/KohanaInstaller.php'
600
  ),
601
+ 'Composer\\Installers\\Plugin' => array(
602
+ 'version' => '1.7.0.0',
603
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/Plugin.php'
604
  ),
605
+ 'Composer\\Installers\\ExpressionEngineInstaller' => array(
606
+ 'version' => '1.7.0.0',
607
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php'
608
  ),
609
+ 'Composer\\Installers\\OctoberInstaller' => array(
610
+ 'version' => '1.7.0.0',
611
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/OctoberInstaller.php'
612
+ ),
613
+ 'Composer\\Installers\\WolfCMSInstaller' => array(
614
+ 'version' => '1.7.0.0',
615
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/WolfCMSInstaller.php'
616
  ),
617
  'Composer\\Installers\\LithiumInstaller' => array(
618
+ 'version' => '1.7.0.0',
619
  'path' => $vendorDir . '/composer/installers/src/Composer/Installers/LithiumInstaller.php'
620
  ),
621
+ 'Composer\\Installers\\ZendInstaller' => array(
622
+ 'version' => '1.7.0.0',
623
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/ZendInstaller.php'
 
 
 
 
624
  ),
625
+ 'Composer\\Installers\\Symfony1Installer' => array(
626
+ 'version' => '1.7.0.0',
627
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/Symfony1Installer.php'
628
  ),
629
+ 'Composer\\Installers\\LavaLiteInstaller' => array(
630
+ 'version' => '1.7.0.0',
631
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/LavaLiteInstaller.php'
632
  ),
633
+ 'Composer\\Installers\\MoodleInstaller' => array(
634
+ 'version' => '1.7.0.0',
635
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/MoodleInstaller.php'
636
  ),
637
+ 'Composer\\Installers\\HuradInstaller' => array(
638
+ 'version' => '1.7.0.0',
639
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/HuradInstaller.php'
640
  ),
641
+ 'Composer\\Installers\\BaseInstaller' => array(
642
+ 'version' => '1.7.0.0',
643
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/BaseInstaller.php'
644
  ),
645
+ 'Composer\\Installers\\CakePHPInstaller' => array(
646
+ 'version' => '1.7.0.0',
647
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/CakePHPInstaller.php'
648
  ),
649
+ 'Composer\\Installers\\RedaxoInstaller' => array(
650
+ 'version' => '1.7.0.0',
651
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/RedaxoInstaller.php'
652
  ),
653
  'Composer\\Installers\\ModxInstaller' => array(
654
+ 'version' => '1.7.0.0',
655
  'path' => $vendorDir . '/composer/installers/src/Composer/Installers/ModxInstaller.php'
656
  ),
657
+ 'Composer\\Installers\\MauticInstaller' => array(
658
+ 'version' => '1.7.0.0',
659
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/MauticInstaller.php'
660
  ),
661
+ 'Composer\\Installers\\MagentoInstaller' => array(
662
+ 'version' => '1.7.0.0',
663
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/MagentoInstaller.php'
664
  ),
665
+ 'Composer\\Installers\\Concrete5Installer' => array(
666
+ 'version' => '1.7.0.0',
667
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/Concrete5Installer.php'
668
  ),
669
+ 'Composer\\Installers\\FuelphpInstaller' => array(
670
+ 'version' => '1.7.0.0',
671
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/FuelphpInstaller.php'
672
+ ),
673
+ 'Composer\\Installers\\FuelInstaller' => array(
674
+ 'version' => '1.7.0.0',
675
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/FuelInstaller.php'
676
+ ),
677
+ 'Composer\\Installers\\PrestashopInstaller' => array(
678
+ 'version' => '1.7.0.0',
679
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/PrestashopInstaller.php'
680
  ),
681
  'Composer\\Installers\\OxidInstaller' => array(
682
+ 'version' => '1.7.0.0',
683
  'path' => $vendorDir . '/composer/installers/src/Composer/Installers/OxidInstaller.php'
684
  ),
685
+ 'Composer\\Installers\\TuskInstaller' => array(
686
+ 'version' => '1.7.0.0',
687
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/TuskInstaller.php'
688
  ),
689
+ 'Composer\\Installers\\TYPO3FlowInstaller' => array(
690
+ 'version' => '1.7.0.0',
691
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php'
692
+ ),
693
+ 'Composer\\Installers\\PiwikInstaller' => array(
694
+ 'version' => '1.7.0.0',
695
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/PiwikInstaller.php'
696
+ ),
697
+ 'Composer\\Installers\\PuppetInstaller' => array(
698
+ 'version' => '1.7.0.0',
699
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/PuppetInstaller.php'
700
+ ),
701
+ 'Composer\\Installers\\AglInstaller' => array(
702
+ 'version' => '1.7.0.0',
703
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/AglInstaller.php'
704
  ),
705
  'Composer\\Installers\\PimcoreInstaller' => array(
706
+ 'version' => '1.7.0.0',
707
  'path' => $vendorDir . '/composer/installers/src/Composer/Installers/PimcoreInstaller.php'
708
  ),
709
+ 'Composer\\Installers\\EliasisInstaller' => array(
710
+ 'version' => '1.7.0.0',
711
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/EliasisInstaller.php'
712
  ),
713
+ 'Composer\\Installers\\Redaxo5Installer' => array(
714
+ 'version' => '1.7.0.0',
715
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/Redaxo5Installer.php'
716
  ),
717
+ 'Composer\\Installers\\BitrixInstaller' => array(
718
+ 'version' => '1.7.0.0',
719
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/BitrixInstaller.php'
720
  ),
721
+ 'Composer\\Installers\\AsgardInstaller' => array(
722
+ 'version' => '1.7.0.0',
723
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/AsgardInstaller.php'
724
  ),
725
+ 'Composer\\Installers\\WHMCSInstaller' => array(
726
+ 'version' => '1.7.0.0',
727
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/WHMCSInstaller.php'
728
  ),
729
+ 'Composer\\Installers\\KanboardInstaller' => array(
730
+ 'version' => '1.7.0.0',
731
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/KanboardInstaller.php'
732
  ),
733
+ 'Composer\\Installers\\WordPressInstaller' => array(
734
+ 'version' => '1.7.0.0',
735
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/WordPressInstaller.php'
736
  ),
737
+ 'Composer\\Installers\\MajimaInstaller' => array(
738
+ 'version' => '1.7.0.0',
739
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/MajimaInstaller.php'
740
  ),
741
+ 'Composer\\Installers\\DframeInstaller' => array(
742
+ 'version' => '1.7.0.0',
743
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/DframeInstaller.php'
744
  ),
745
+ 'Composer\\Installers\\PlentymarketsInstaller' => array(
746
+ 'version' => '1.7.0.0',
747
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php'
748
  ),
749
+ 'Composer\\Installers\\EzPlatformInstaller' => array(
750
+ 'version' => '1.7.0.0',
751
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/EzPlatformInstaller.php'
752
  ),
753
+ 'Composer\\Installers\\MODXEvoInstaller' => array(
754
+ 'version' => '1.7.0.0',
755
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/MODXEvoInstaller.php'
756
  ),
757
+ 'Composer\\Installers\\OntoWikiInstaller' => array(
758
+ 'version' => '1.7.0.0',
759
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/OntoWikiInstaller.php'
760
  ),
761
+ 'Composer\\Installers\\AnnotateCmsInstaller' => array(
762
+ 'version' => '1.7.0.0',
763
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php'
764
  ),
765
+ 'Composer\\Installers\\MODULEWorkInstaller' => array(
766
+ 'version' => '1.7.0.0',
767
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php'
768
  ),
769
+ 'Composer\\Installers\\OsclassInstaller' => array(
770
+ 'version' => '1.7.0.0',
771
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/OsclassInstaller.php'
772
  ),
773
+ 'Composer\\Installers\\ChefInstaller' => array(
774
+ 'version' => '1.7.0.0',
775
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/ChefInstaller.php'
776
  ),
777
+ 'Composer\\Installers\\JoomlaInstaller' => array(
778
+ 'version' => '1.7.0.0',
779
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/JoomlaInstaller.php'
780
  ),
781
+ 'Composer\\Installers\\Installer' => array(
782
+ 'version' => '1.7.0.0',
783
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/Installer.php'
784
  ),
785
+ 'Composer\\Installers\\KodiCMSInstaller' => array(
786
+ 'version' => '1.7.0.0',
787
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/KodiCMSInstaller.php'
788
  ),
789
+ 'Composer\\Installers\\PhpBBInstaller' => array(
790
+ 'version' => '1.7.0.0',
791
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/PhpBBInstaller.php'
792
  ),
793
+ 'Composer\\Installers\\MediaWikiInstaller' => array(
794
+ 'version' => '1.7.0.0',
795
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/MediaWikiInstaller.php'
796
  ),
797
+ 'Composer\\Installers\\ImageCMSInstaller' => array(
798
+ 'version' => '1.7.0.0',
799
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/ImageCMSInstaller.php'
800
  ),
801
+ 'Composer\\Installers\\PortoInstaller' => array(
802
+ 'version' => '1.7.0.0',
803
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/PortoInstaller.php'
804
  ),
805
+ 'Composer\\Installers\\DolibarrInstaller' => array(
806
+ 'version' => '1.7.0.0',
807
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/DolibarrInstaller.php'
808
  ),
809
+ 'Composer\\Installers\\BonefishInstaller' => array(
810
+ 'version' => '1.7.0.0',
811
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/BonefishInstaller.php'
812
  ),
813
+ 'Composer\\Installers\\MayaInstaller' => array(
814
+ 'version' => '1.7.0.0',
815
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/MayaInstaller.php'
816
  ),
817
+ 'Composer\\Installers\\CroogoInstaller' => array(
818
+ 'version' => '1.7.0.0',
819
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/CroogoInstaller.php'
820
  ),
821
+ 'Composer\\Installers\\PxcmsInstaller' => array(
822
+ 'version' => '1.7.0.0',
823
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/PxcmsInstaller.php'
824
  ),
825
+ 'Composer\\Installers\\DecibelInstaller' => array(
826
+ 'version' => '1.7.0.0',
827
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/DecibelInstaller.php'
828
+ ),
829
+ 'Composer\\Installers\\SyDESInstaller' => array(
830
+ 'version' => '1.7.0.0',
831
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/SyDESInstaller.php'
832
+ ),
833
+ 'Composer\\Installers\\LanManagementSystemInstaller' => array(
834
+ 'version' => '1.7.0.0',
835
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php'
836
+ ),
837
+ 'Composer\\Installers\\ClanCatsFrameworkInstaller' => array(
838
+ 'version' => '1.7.0.0',
839
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php'
840
  ),
841
  'Composer\\Installers\\ZikulaInstaller' => array(
842
+ 'version' => '1.7.0.0',
843
  'path' => $vendorDir . '/composer/installers/src/Composer/Installers/ZikulaInstaller.php'
844
  ),
845
+ 'Composer\\Installers\\SiteDirectInstaller' => array(
846
+ 'version' => '1.7.0.0',
847
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/SiteDirectInstaller.php'
848
+ ),
849
+ 'Composer\\Installers\\MicroweberInstaller' => array(
850
+ 'version' => '1.7.0.0',
851
+ 'path' => $vendorDir . '/composer/installers/src/Composer/Installers/MicroweberInstaller.php'
852
+ ),
853
  'Automattic\\Jetpack\\Autoloader\\AutoloadGenerator' => array(
854
  'version' => '1.2.0.0',
855
  'path' => $vendorDir . '/automattic/jetpack-autoloader/src/AutoloadGenerator.php'
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitb1b906e5e4b477ff0ba9aeabc3f95cc3
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInitb1b906e5e4b477ff0ba9aeabc3f95cc3
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitb1b906e5e4b477ff0ba9aeabc3f95cc3', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitb1b906e5e4b477ff0ba9aeabc3f95cc3', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInitb1b906e5e4b477ff0ba9aeabc3f95cc3::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInitb50342d773088863bc8465424d6c9f79
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitb50342d773088863bc8465424d6c9f79', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitb50342d773088863bc8465424d6c9f79', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInitb50342d773088863bc8465424d6c9f79::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitb1b906e5e4b477ff0ba9aeabc3f95cc3
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  's' =>
@@ -66,9 +66,9 @@ class ComposerStaticInitb1b906e5e4b477ff0ba9aeabc3f95cc3
66
  public static function getInitializer(ClassLoader $loader)
67
  {
68
  return \Closure::bind(function () use ($loader) {
69
- $loader->prefixLengthsPsr4 = ComposerStaticInitb1b906e5e4b477ff0ba9aeabc3f95cc3::$prefixLengthsPsr4;
70
- $loader->prefixDirsPsr4 = ComposerStaticInitb1b906e5e4b477ff0ba9aeabc3f95cc3::$prefixDirsPsr4;
71
- $loader->classMap = ComposerStaticInitb1b906e5e4b477ff0ba9aeabc3f95cc3::$classMap;
72
 
73
  }, null, ClassLoader::class);
74
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitb50342d773088863bc8465424d6c9f79
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  's' =>
66
  public static function getInitializer(ClassLoader $loader)
67
  {
68
  return \Closure::bind(function () use ($loader) {
69
+ $loader->prefixLengthsPsr4 = ComposerStaticInitb50342d773088863bc8465424d6c9f79::$prefixLengthsPsr4;
70
+ $loader->prefixDirsPsr4 = ComposerStaticInitb50342d773088863bc8465424d6c9f79::$prefixDirsPsr4;
71
+ $loader->classMap = ComposerStaticInitb50342d773088863bc8465424d6c9f79::$classMap;
72
 
73
  }, null, ClassLoader::class);
74
  }
vendor/composer/installed.json CHANGED
@@ -39,17 +39,17 @@
39
  },
40
  {
41
  "name": "composer/installers",
42
- "version": "v1.6.0",
43
- "version_normalized": "1.6.0.0",
44
  "source": {
45
  "type": "git",
46
  "url": "https://github.com/composer/installers.git",
47
- "reference": "cfcca6b1b60bc4974324efb5783c13dca6932b5b"
48
  },
49
  "dist": {
50
  "type": "zip",
51
- "url": "https://api.github.com/repos/composer/installers/zipball/cfcca6b1b60bc4974324efb5783c13dca6932b5b",
52
- "reference": "cfcca6b1b60bc4974324efb5783c13dca6932b5b",
53
  "shasum": ""
54
  },
55
  "require": {
@@ -63,7 +63,7 @@
63
  "composer/composer": "1.0.*@dev",
64
  "phpunit/phpunit": "^4.8.36"
65
  },
66
- "time": "2018-08-27T06:10:37+00:00",
67
  "type": "composer-plugin",
68
  "extra": {
69
  "class": "Composer\\Installers\\Plugin",
@@ -107,6 +107,7 @@
107
  "RadPHP",
108
  "SMF",
109
  "Thelia",
 
110
  "WolfCMS",
111
  "agl",
112
  "aimeos",
@@ -129,6 +130,7 @@
129
  "installer",
130
  "itop",
131
  "joomla",
 
132
  "kohana",
133
  "laravel",
134
  "lavalite",
@@ -306,28 +308,27 @@
306
  },
307
  {
308
  "name": "vendidero/woocommerce-germanized-dhl",
309
- "version": "v1.0.5",
310
- "version_normalized": "1.0.5.0",
311
  "source": {
312
  "type": "git",
313
  "url": "https://github.com/vendidero/woocommerce-germanized-dhl.git",
314
- "reference": "45e578b1b0d622a8d517c29d9f5147224a30ded5"
315
  },
316
  "dist": {
317
  "type": "zip",
318
- "url": "https://api.github.com/repos/vendidero/woocommerce-germanized-dhl/zipball/45e578b1b0d622a8d517c29d9f5147224a30ded5",
319
- "reference": "45e578b1b0d622a8d517c29d9f5147224a30ded5",
320
  "shasum": ""
321
  },
322
  "require": {
323
- "automattic/jetpack-autoloader": "1.2.0",
324
- "setasign/fpdi-fpdf": "^2.0"
325
  },
326
  "require-dev": {
327
  "phpunit/phpunit": "6.5.14",
328
  "woocommerce/woocommerce-sniffs": "0.0.6"
329
  },
330
- "time": "2019-11-13T14:44:23+00:00",
331
  "type": "wordpress-plugin",
332
  "installation-source": "dist",
333
  "autoload": {
@@ -351,33 +352,34 @@
351
  "description": "The Germanized DHL implementation.",
352
  "homepage": "https://github.com/vendidero/woocommerce-germanized-dhl",
353
  "support": {
354
- "source": "https://github.com/vendidero/woocommerce-germanized-dhl/tree/v1.0.5",
355
  "issues": "https://github.com/vendidero/woocommerce-germanized-dhl/issues"
356
  }
357
  },
358
  {
359
  "name": "vendidero/woocommerce-germanized-shipments",
360
- "version": "v1.0.5",
361
- "version_normalized": "1.0.5.0",
362
  "source": {
363
  "type": "git",
364
  "url": "https://github.com/vendidero/woocommerce-germanized-shipments.git",
365
- "reference": "0b5beb73a60f7d1a5d26113e78e32d67c5550df9"
366
  },
367
  "dist": {
368
  "type": "zip",
369
- "url": "https://api.github.com/repos/vendidero/woocommerce-germanized-shipments/zipball/0b5beb73a60f7d1a5d26113e78e32d67c5550df9",
370
- "reference": "0b5beb73a60f7d1a5d26113e78e32d67c5550df9",
371
  "shasum": ""
372
  },
373
  "require": {
374
- "automattic/jetpack-autoloader": "1.2.0"
 
375
  },
376
  "require-dev": {
377
  "phpunit/phpunit": "6.5.14",
378
  "woocommerce/woocommerce-sniffs": "0.0.6"
379
  },
380
- "time": "2019-11-13T14:45:41+00:00",
381
  "type": "wordpress-plugin",
382
  "installation-source": "dist",
383
  "autoload": {
@@ -399,7 +401,7 @@
399
  "description": "The Germanized Shipments implementation.",
400
  "homepage": "https://github.com/vendidero/woocommerce-germanized-shipments",
401
  "support": {
402
- "source": "https://github.com/vendidero/woocommerce-germanized-shipments/tree/v1.0.5",
403
  "issues": "https://github.com/vendidero/woocommerce-germanized-shipments/issues"
404
  }
405
  },
39
  },
40
  {
41
  "name": "composer/installers",
42
+ "version": "v1.7.0",
43
+ "version_normalized": "1.7.0.0",
44
  "source": {
45
  "type": "git",
46
  "url": "https://github.com/composer/installers.git",
47
+ "reference": "141b272484481432cda342727a427dc1e206bfa0"
48
  },
49
  "dist": {
50
  "type": "zip",
51
+ "url": "https://api.github.com/repos/composer/installers/zipball/141b272484481432cda342727a427dc1e206bfa0",
52
+ "reference": "141b272484481432cda342727a427dc1e206bfa0",
53
  "shasum": ""
54
  },
55
  "require": {
63
  "composer/composer": "1.0.*@dev",
64
  "phpunit/phpunit": "^4.8.36"
65
  },
66
+ "time": "2019-08-12T15:00:31+00:00",
67
  "type": "composer-plugin",
68
  "extra": {
69
  "class": "Composer\\Installers\\Plugin",
107
  "RadPHP",
108
  "SMF",
109
  "Thelia",
110
+ "Whmcs",
111
  "WolfCMS",
112
  "agl",
113
  "aimeos",
130
  "installer",
131
  "itop",
132
  "joomla",
133
+ "known",
134
  "kohana",
135
  "laravel",
136
  "lavalite",
308
  },
309
  {
310
  "name": "vendidero/woocommerce-germanized-dhl",
311
+ "version": "v1.1.0",
312
+ "version_normalized": "1.1.0.0",
313
  "source": {
314
  "type": "git",
315
  "url": "https://github.com/vendidero/woocommerce-germanized-dhl.git",
316
+ "reference": "3823e9b460cb9a2e545bfc8968f5235d135722e1"
317
  },
318
  "dist": {
319
  "type": "zip",
320
+ "url": "https://api.github.com/repos/vendidero/woocommerce-germanized-dhl/zipball/3823e9b460cb9a2e545bfc8968f5235d135722e1",
321
+ "reference": "3823e9b460cb9a2e545bfc8968f5235d135722e1",
322
  "shasum": ""
323
  },
324
  "require": {
325
+ "automattic/jetpack-autoloader": "1.2.0"
 
326
  },
327
  "require-dev": {
328
  "phpunit/phpunit": "6.5.14",
329
  "woocommerce/woocommerce-sniffs": "0.0.6"
330
  },
331
+ "time": "2019-11-27T11:41:36+00:00",
332
  "type": "wordpress-plugin",
333
  "installation-source": "dist",
334
  "autoload": {
352
  "description": "The Germanized DHL implementation.",
353
  "homepage": "https://github.com/vendidero/woocommerce-germanized-dhl",
354
  "support": {
355
+ "source": "https://github.com/vendidero/woocommerce-germanized-dhl/tree/v1.1.0",
356
  "issues": "https://github.com/vendidero/woocommerce-germanized-dhl/issues"
357
  }
358
  },
359
  {
360
  "name": "vendidero/woocommerce-germanized-shipments",
361
+ "version": "v1.1.0",
362
+ "version_normalized": "1.1.0.0",
363
  "source": {
364
  "type": "git",
365
  "url": "https://github.com/vendidero/woocommerce-germanized-shipments.git",
366
+ "reference": "c4ab55a9705365f8cf12a44acfa0e11a0b73af27"
367
  },
368
  "dist": {
369
  "type": "zip",
370
+ "url": "https://api.github.com/repos/vendidero/woocommerce-germanized-shipments/zipball/c4ab55a9705365f8cf12a44acfa0e11a0b73af27",
371
+ "reference": "c4ab55a9705365f8cf12a44acfa0e11a0b73af27",
372
  "shasum": ""
373
  },
374
  "require": {
375
+ "automattic/jetpack-autoloader": "1.2.0",
376
+ "setasign/fpdi-fpdf": "^2.0"
377
  },
378
  "require-dev": {
379
  "phpunit/phpunit": "6.5.14",
380
  "woocommerce/woocommerce-sniffs": "0.0.6"
381
  },
382
+ "time": "2019-11-27T11:41:03+00:00",
383
  "type": "wordpress-plugin",
384
  "installation-source": "dist",
385
  "autoload": {
401
  "description": "The Germanized Shipments implementation.",
402
  "homepage": "https://github.com/vendidero/woocommerce-germanized-shipments",
403
  "support": {
404
+ "source": "https://github.com/vendidero/woocommerce-germanized-shipments/tree/v1.1.0",
405
  "issues": "https://github.com/vendidero/woocommerce-germanized-shipments/issues"
406
  }
407
  },
vendor/composer/installers/src/Composer/Installers/DframeInstaller.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Composer\Installers;
4
+
5
+ class DframeInstaller extends BaseInstaller
6
+ {
7
+ protected $locations = array(
8
+ 'module' => 'modules/{$vendor}/{$name}/',
9
+ );
10
+ }
vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php CHANGED
@@ -4,13 +4,17 @@ namespace Composer\Installers;
4
  class DrupalInstaller extends BaseInstaller
5
  {
6
  protected $locations = array(
7
- 'core' => 'core/',
8
- 'module' => 'modules/{$name}/',
9
- 'theme' => 'themes/{$name}/',
10
- 'library' => 'libraries/{$name}/',
11
- 'profile' => 'profiles/{$name}/',
12
- 'drush' => 'drush/{$name}/',
13
- 'custom-theme' => 'themes/custom/{$name}/',
14
- 'custom-module' => 'modules/custom/{$name}/',
 
 
 
 
15
  );
16
  }
4
  class DrupalInstaller extends BaseInstaller
5
  {
6
  protected $locations = array(
7
+ 'core' => 'core/',
8
+ 'module' => 'modules/{$name}/',
9
+ 'theme' => 'themes/{$name}/',
10
+ 'library' => 'libraries/{$name}/',
11
+ 'profile' => 'profiles/{$name}/',
12
+ 'drush' => 'drush/{$name}/',
13
+ 'custom-theme' => 'themes/custom/{$name}/',
14
+ 'custom-module' => 'modules/custom/{$name}/',
15
+ 'custom-profile' => 'profiles/custom/{$name}/',
16
+ 'drupal-multisite' => 'sites/{$name}/',
17
+ 'console' => 'console/{$name}/',
18
+ 'console-language' => 'console/language/{$name}/',
19
  );
20
  }
vendor/composer/installers/src/Composer/Installers/Installer.php CHANGED
@@ -35,6 +35,7 @@ class Installer extends LibraryInstaller
35
  'concrete5' => 'Concrete5Installer',
36
  'craft' => 'CraftInstaller',
37
  'croogo' => 'CroogoInstaller',
 
38
  'dokuwiki' => 'DokuWikiInstaller',
39
  'dolibarr' => 'DolibarrInstaller',
40
  'decibel' => 'DecibelInstaller',
@@ -53,6 +54,7 @@ class Installer extends LibraryInstaller
53
  'joomla' => 'JoomlaInstaller',
54
  'kanboard' => 'KanboardInstaller',
55
  'kirby' => 'KirbyInstaller',
 
56
  'kodicms' => 'KodiCMSInstaller',
57
  'kohana' => 'KohanaInstaller',
58
  'lms' => 'LanManagementSystemInstaller',
@@ -85,6 +87,7 @@ class Installer extends LibraryInstaller
85
  'phifty' => 'PhiftyInstaller',
86
  'porto' => 'PortoInstaller',
87
  'redaxo' => 'RedaxoInstaller',
 
88
  'reindex' => 'ReIndexInstaller',
89
  'roundcube' => 'RoundcubeInstaller',
90
  'shopware' => 'ShopwareInstaller',
@@ -93,6 +96,7 @@ class Installer extends LibraryInstaller
93
  'smf' => 'SMFInstaller',
94
  'sydes' => 'SyDESInstaller',
95
  'symfony1' => 'Symfony1Installer',
 
96
  'thelia' => 'TheliaInstaller',
97
  'tusk' => 'TuskInstaller',
98
  'typo3-cms' => 'TYPO3CmsInstaller',
35
  'concrete5' => 'Concrete5Installer',
36
  'craft' => 'CraftInstaller',
37
  'croogo' => 'CroogoInstaller',
38
+ 'dframe' => 'DframeInstaller',
39
  'dokuwiki' => 'DokuWikiInstaller',
40
  'dolibarr' => 'DolibarrInstaller',
41
  'decibel' => 'DecibelInstaller',
54
  'joomla' => 'JoomlaInstaller',
55
  'kanboard' => 'KanboardInstaller',
56
  'kirby' => 'KirbyInstaller',
57
+ 'known' => 'KnownInstaller',
58
  'kodicms' => 'KodiCMSInstaller',
59
  'kohana' => 'KohanaInstaller',
60
  'lms' => 'LanManagementSystemInstaller',
87
  'phifty' => 'PhiftyInstaller',
88
  'porto' => 'PortoInstaller',
89
  'redaxo' => 'RedaxoInstaller',
90
+ 'redaxo5' => 'Redaxo5Installer',
91
  'reindex' => 'ReIndexInstaller',
92
  'roundcube' => 'RoundcubeInstaller',
93
  'shopware' => 'ShopwareInstaller',
96
  'smf' => 'SMFInstaller',
97
  'sydes' => 'SyDESInstaller',
98
  'symfony1' => 'Symfony1Installer',
99
+ 'tao' => 'TaoInstaller',
100
  'thelia' => 'TheliaInstaller',
101
  'tusk' => 'TuskInstaller',
102
  'typo3-cms' => 'TYPO3CmsInstaller',
vendor/composer/installers/src/Composer/Installers/KnownInstaller.php ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Composer\Installers;
3
+
4
+ class KnownInstaller extends BaseInstaller
5
+ {
6
+ protected $locations = array(
7
+ 'plugin' => 'IdnoPlugins/{$name}/',
8
+ 'theme' => 'Themes/{$name}/',
9
+ 'console' => 'ConsolePlugins/{$name}/',
10
+ );
11
+ }
vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php CHANGED
@@ -4,12 +4,12 @@ namespace Composer\Installers;
4
  class MicroweberInstaller extends BaseInstaller
5
  {
6
  protected $locations = array(
7
- 'module' => 'userfiles/modules/{$name}/',
8
- 'module-skin' => 'userfiles/modules/{$name}/templates/',
9
- 'template' => 'userfiles/templates/{$name}/',
10
- 'element' => 'userfiles/elements/{$name}/',
11
- 'vendor' => 'vendor/{$name}/',
12
- 'components' => 'components/{$name}/'
13
  );
14
 
15
  /**
@@ -22,89 +22,97 @@ class MicroweberInstaller extends BaseInstaller
22
  */
23
  public function inflectPackageVars($vars)
24
  {
25
- if ($vars['type'] === 'microweber-template') {
26
- return $this->inflectTemplateVars($vars);
27
- }
28
- if ($vars['type'] === 'microweber-templates') {
29
- return $this->inflectTemplatesVars($vars);
30
- }
31
- if ($vars['type'] === 'microweber-core') {
32
- return $this->inflectCoreVars($vars);
33
- }
34
- if ($vars['type'] === 'microweber-adapter') {
35
- return $this->inflectCoreVars($vars);
36
- }
37
- if ($vars['type'] === 'microweber-module') {
38
- return $this->inflectModuleVars($vars);
39
- }
40
- if ($vars['type'] === 'microweber-modules') {
41
- return $this->inflectModulesVars($vars);
42
- }
43
- if ($vars['type'] === 'microweber-skin') {
44
- return $this->inflectSkinVars($vars);
45
- }
46
- if ($vars['type'] === 'microweber-element' or $vars['type'] === 'microweber-elements') {
47
- return $this->inflectElementVars($vars);
 
 
 
 
 
 
 
48
  }
49
 
 
50
  return $vars;
51
  }
52
 
53
  protected function inflectTemplateVars($vars)
54
  {
55
- $vars['name'] = preg_replace('/-template$/', '', $vars['name']);
56
- $vars['name'] = preg_replace('/template-$/', '', $vars['name']);
57
 
58
  return $vars;
59
  }
60
 
61
  protected function inflectTemplatesVars($vars)
62
  {
63
- $vars['name'] = preg_replace('/-templates$/', '', $vars['name']);
64
- $vars['name'] = preg_replace('/templates-$/', '', $vars['name']);
65
 
66
  return $vars;
67
  }
68
 
69
  protected function inflectCoreVars($vars)
70
  {
71
- $vars['name'] = preg_replace('/-providers$/', '', $vars['name']);
72
- $vars['name'] = preg_replace('/-provider$/', '', $vars['name']);
73
- $vars['name'] = preg_replace('/-adapter$/', '', $vars['name']);
74
 
75
  return $vars;
76
  }
77
 
78
  protected function inflectModuleVars($vars)
79
  {
80
- $vars['name'] = preg_replace('/-module$/', '', $vars['name']);
81
- $vars['name'] = preg_replace('/module-$/', '', $vars['name']);
82
 
83
  return $vars;
84
  }
85
 
86
  protected function inflectModulesVars($vars)
87
  {
88
- $vars['name'] = preg_replace('/-modules$/', '', $vars['name']);
89
- $vars['name'] = preg_replace('/modules-$/', '', $vars['name']);
90
 
91
  return $vars;
92
  }
93
 
94
  protected function inflectSkinVars($vars)
95
  {
96
- $vars['name'] = preg_replace('/-skin$/', '', $vars['name']);
97
- $vars['name'] = preg_replace('/skin-$/', '', $vars['name']);
98
 
99
  return $vars;
100
  }
101
 
102
  protected function inflectElementVars($vars)
103
  {
104
- $vars['name'] = preg_replace('/-elements$/', '', $vars['name']);
105
- $vars['name'] = preg_replace('/elements-$/', '', $vars['name']);
106
- $vars['name'] = preg_replace('/-element$/', '', $vars['name']);
107
- $vars['name'] = preg_replace('/element-$/', '', $vars['name']);
108
 
109
  return $vars;
110
  }
4
  class MicroweberInstaller extends BaseInstaller
5
  {
6
  protected $locations = array(
7
+ 'module' => 'userfiles/modules/{$install_item_dir}/',
8
+ 'module-skin' => 'userfiles/modules/{$install_item_dir}/templates/',
9
+ 'template' => 'userfiles/templates/{$install_item_dir}/',
10
+ 'element' => 'userfiles/elements/{$install_item_dir}/',
11
+ 'vendor' => 'vendor/{$install_item_dir}/',
12
+ 'components' => 'components/{$install_item_dir}/'
13
  );
14
 
15
  /**
22
  */
23
  public function inflectPackageVars($vars)
24
  {
25
+
26
+
27
+ if ($this->package->getTargetDir()) {
28
+ $vars['install_item_dir'] = $this->package->getTargetDir();
29
+ } else {
30
+ $vars['install_item_dir'] = $vars['name'];
31
+ if ($vars['type'] === 'microweber-template') {
32
+ return $this->inflectTemplateVars($vars);
33
+ }
34
+ if ($vars['type'] === 'microweber-templates') {
35
+ return $this->inflectTemplatesVars($vars);
36
+ }
37
+ if ($vars['type'] === 'microweber-core') {
38
+ return $this->inflectCoreVars($vars);
39
+ }
40
+ if ($vars['type'] === 'microweber-adapter') {
41
+ return $this->inflectCoreVars($vars);
42
+ }
43
+ if ($vars['type'] === 'microweber-module') {
44
+ return $this->inflectModuleVars($vars);
45
+ }
46
+ if ($vars['type'] === 'microweber-modules') {
47
+ return $this->inflectModulesVars($vars);
48
+ }
49
+ if ($vars['type'] === 'microweber-skin') {
50
+ return $this->inflectSkinVars($vars);
51
+ }
52
+ if ($vars['type'] === 'microweber-element' or $vars['type'] === 'microweber-elements') {
53
+ return $this->inflectElementVars($vars);
54
+ }
55
  }
56
 
57
+
58
  return $vars;
59
  }
60
 
61
  protected function inflectTemplateVars($vars)
62
  {
63
+ $vars['install_item_dir'] = preg_replace('/-template$/', '', $vars['install_item_dir']);
64
+ $vars['install_item_dir'] = preg_replace('/template-$/', '', $vars['install_item_dir']);
65
 
66
  return $vars;
67
  }
68
 
69
  protected function inflectTemplatesVars($vars)
70
  {
71
+ $vars['install_item_dir'] = preg_replace('/-templates$/', '', $vars['install_item_dir']);
72
+ $vars['install_item_dir'] = preg_replace('/templates-$/', '', $vars['install_item_dir']);
73
 
74
  return $vars;
75
  }
76
 
77
  protected function inflectCoreVars($vars)
78
  {
79
+ $vars['install_item_dir'] = preg_replace('/-providers$/', '', $vars['install_item_dir']);
80
+ $vars['install_item_dir'] = preg_replace('/-provider$/', '', $vars['install_item_dir']);
81
+ $vars['install_item_dir'] = preg_replace('/-adapter$/', '', $vars['install_item_dir']);
82
 
83
  return $vars;
84
  }
85
 
86
  protected function inflectModuleVars($vars)
87
  {
88
+ $vars['install_item_dir'] = preg_replace('/-module$/', '', $vars['install_item_dir']);
89
+ $vars['install_item_dir'] = preg_replace('/module-$/', '', $vars['install_item_dir']);
90
 
91
  return $vars;
92
  }
93
 
94
  protected function inflectModulesVars($vars)
95
  {
96
+ $vars['install_item_dir'] = preg_replace('/-modules$/', '', $vars['install_item_dir']);
97
+ $vars['install_item_dir'] = preg_replace('/modules-$/', '', $vars['install_item_dir']);
98
 
99
  return $vars;
100
  }
101
 
102
  protected function inflectSkinVars($vars)
103
  {
104
+ $vars['install_item_dir'] = preg_replace('/-skin$/', '', $vars['install_item_dir']);
105
+ $vars['install_item_dir'] = preg_replace('/skin-$/', '', $vars['install_item_dir']);
106
 
107
  return $vars;
108
  }
109
 
110
  protected function inflectElementVars($vars)
111
  {
112
+ $vars['install_item_dir'] = preg_replace('/-elements$/', '', $vars['install_item_dir']);
113
+ $vars['install_item_dir'] = preg_replace('/elements-$/', '', $vars['install_item_dir']);
114
+ $vars['install_item_dir'] = preg_replace('/-element$/', '', $vars['install_item_dir']);
115
+ $vars['install_item_dir'] = preg_replace('/element-$/', '', $vars['install_item_dir']);
116
 
117
  return $vars;
118
  }
vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php CHANGED
@@ -20,6 +20,7 @@ class MoodleInstaller extends BaseInstaller
20
  'calendartype' => 'calendar/type/{$name}/',
21
  'format' => 'course/format/{$name}/',
22
  'coursereport' => 'course/report/{$name}/',
 
23
  'datafield' => 'mod/data/field/{$name}/',
24
  'datapreset' => 'mod/data/preset/{$name}/',
25
  'editor' => 'lib/editor/{$name}/',
20
  'calendartype' => 'calendar/type/{$name}/',
21
  'format' => 'course/format/{$name}/',
22
  'coursereport' => 'course/report/{$name}/',
23
+ 'customcertelement' => 'mod/customcert/element/{$name}/',
24
  'datafield' => 'mod/data/field/{$name}/',
25
  'datapreset' => 'mod/data/preset/{$name}/',
26
  'editor' => 'lib/editor/{$name}/',
vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Composer\Installers;
3
+
4
+ class Redaxo5Installer extends BaseInstaller
5
+ {
6
+ protected $locations = array(
7
+ 'addon' => 'redaxo/src/addons/{$name}/',
8
+ 'bestyle-plugin' => 'redaxo/src/addons/be_style/plugins/{$name}/'
9
+ );
10
+ }
vendor/composer/installers/src/Composer/Installers/TaoInstaller.php ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Composer\Installers;
3
+
4
+ /**
5
+ * An installer to handle TAO extensions.
6
+ */
7
+ class TaoInstaller extends BaseInstaller
8
+ {
9
+ protected $locations = array(
10
+ 'extension' => '{$name}'
11
+ );
12
+ }
vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php CHANGED
@@ -5,6 +5,17 @@ namespace Composer\Installers;
5
  class WHMCSInstaller extends BaseInstaller
6
  {
7
  protected $locations = array(
8
- 'gateway' => 'modules/gateways/{$name}/',
 
 
 
 
 
 
 
 
 
 
 
9
  );
10
  }
5
  class WHMCSInstaller extends BaseInstaller
6
  {
7
  protected $locations = array(
8
+ 'addons' => 'modules/addons/{$vendor}_{$name}/',
9
+ 'fraud' => 'modules/fraud/{$vendor}_{$name}/',
10
+ 'gateways' => 'modules/gateways/{$vendor}_{$name}/',
11
+ 'notifications' => 'modules/notifications/{$vendor}_{$name}/',
12
+ 'registrars' => 'modules/registrars/{$vendor}_{$name}/',
13
+ 'reports' => 'modules/reports/{$vendor}_{$name}/',
14
+ 'security' => 'modules/security/{$vendor}_{$name}/',
15
+ 'servers' => 'modules/servers/{$vendor}_{$name}/',
16
+ 'social' => 'modules/social/{$vendor}_{$name}/',
17
+ 'support' => 'modules/support/{$vendor}_{$name}/',
18
+ 'templates' => 'templates/{$vendor}_{$name}/',
19
+ 'includes' => 'includes/{$vendor}_{$name}/'
20
  );
21
  }
woocommerce-germanized.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Germanized for WooCommerce
4
  * Plugin URI: https://www.vendidero.de/woocommerce-germanized
5
  * Description: Germanized for WooCommerce extends WooCommerce to become a legally compliant store in the german market.
6
- * Version: 3.0.5
7
  * Author: Vendidero
8
  * Author URI: https://vendidero.de
9
  * Requires at least: 4.9
@@ -63,7 +63,7 @@ if ( ! class_exists( 'WooCommerce_Germanized' ) ) :
63
  *
64
  * @var string
65
  */
66
- public $version = '3.0.5';
67
 
68
  /**
69
  * @var WooCommerce_Germanized $instance of the plugin
3
  * Plugin Name: Germanized for WooCommerce
4
  * Plugin URI: https://www.vendidero.de/woocommerce-germanized
5
  * Description: Germanized for WooCommerce extends WooCommerce to become a legally compliant store in the german market.
6
+ * Version: 3.0.6
7
  * Author: Vendidero
8
  * Author URI: https://vendidero.de
9
  * Requires at least: 4.9
63
  *
64
  * @var string
65
  */
66
+ public $version = '3.0.6';
67
 
68
  /**
69
  * @var WooCommerce_Germanized $instance of the plugin