WooCommerce Germanized - Version 3.1.0

Version Description

  • Feature: Optionally let customers create return requests, see https://vendidero.de/dokument/retouren-konfigurieren-und-verwalten
  • Improvement: Create returns to orders instead to shipments
  • Improvement: New email notification as soon as a return is marked as delivered
  • Improvement: Optionally choose a return reason for each item returned
  • Improvement: DHL use 0 as placeholder street number in case it is a non-domestic shipment
  • Improvement: DHL reference sanitizing
  • Improvement: DHL parcel locator shipping method fallback handling
  • Improvement: Replace data for non-purchasable variations as well
  • Improvement: Order completed date check in direct debit SEPA XML exporter
  • Improvement: Restore WPML email language to the language chosen before
  • Fix: Free shipping auto select session handling
Download this release

Release Info

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

Code changes from version 3.0.8 to 3.1.0

Files changed (106) hide show
  1. assets/images/add-return-request.png +0 -0
  2. assets/js/add-to-cart-variation.js +2 -6
  3. assets/js/add-to-cart-variation.min.js +1 -1
  4. i18n/languages/woocommerce-germanized-de_DE.mo +0 -0
  5. i18n/languages/woocommerce-germanized-de_DE.po +1396 -835
  6. i18n/languages/woocommerce-germanized-de_DE_formal.mo +0 -0
  7. i18n/languages/woocommerce-germanized-de_DE_formal.po +1371 -802
  8. includes/admin/class-wc-gzd-admin-welcome.php +39 -3
  9. includes/admin/views/html-notice-dhl.php +2 -1
  10. includes/class-wc-gzd-checkout.php +14 -1
  11. includes/class-wc-gzd-install.php +3 -1
  12. includes/compatibility/class-wc-gzd-compatibility-wpml.php +17 -3
  13. includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php +13 -6
  14. includes/gateways/direct-debit/views/html-export.php +3 -3
  15. includes/updates/woocommerce-gzd-update-1.6.3.php +2 -2
  16. packages/woocommerce-germanized-dhl/assets/js/parcel-locator.js +9 -0
  17. packages/woocommerce-germanized-dhl/assets/js/parcel-locator.min.js +1 -1
  18. packages/woocommerce-germanized-dhl/i18n/holidays.php +21 -21
  19. packages/woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php +2 -2
  20. packages/woocommerce-germanized-dhl/includes/emails/class-wc-gzd-dhl-email-customer-return-shipment-label.php +0 -196
  21. packages/woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php +10 -15
  22. packages/woocommerce-germanized-dhl/src/Admin/Settings.php +2 -10
  23. packages/woocommerce-germanized-dhl/src/Ajax.php +0 -77
  24. packages/woocommerce-germanized-dhl/src/Api/ReturnRest.php +4 -11
  25. packages/woocommerce-germanized-dhl/src/Automation.php +26 -14
  26. packages/woocommerce-germanized-dhl/src/DataStores/Label.php +0 -2
  27. packages/woocommerce-germanized-dhl/src/Emails.php +0 -29
  28. packages/woocommerce-germanized-dhl/src/LabelWatcher.php +0 -63
  29. packages/woocommerce-germanized-dhl/src/Package.php +2 -4
  30. packages/woocommerce-germanized-dhl/src/ParcelLocator.php +6 -2
  31. packages/woocommerce-germanized-dhl/src/ReturnLabel.php +0 -37
  32. packages/woocommerce-germanized-dhl/src/ShippingProviderDHL.php +14 -7
  33. packages/woocommerce-germanized-dhl/woocommerce-germanized-dhl.php +1 -1
  34. packages/woocommerce-germanized-shipments/assets/css/admin.css +63 -19
  35. packages/woocommerce-germanized-shipments/assets/css/admin.min.css +1 -1
  36. packages/woocommerce-germanized-shipments/assets/css/admin.scss +89 -12
  37. packages/woocommerce-germanized-shipments/assets/js/admin-shipment.js +19 -68
  38. packages/woocommerce-germanized-shipments/assets/js/admin-shipment.min.js +1 -1
  39. packages/woocommerce-germanized-shipments/assets/js/admin-shipments.js +165 -22
  40. packages/woocommerce-germanized-shipments/assets/js/admin-shipments.min.js +1 -1
  41. packages/woocommerce-germanized-shipments/includes/admin/views/{html-order-shipment-add-return-items.php → html-order-add-return-shipment-items.php} +1 -2
  42. packages/woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php +86 -131
  43. packages/woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-item.php +49 -23
  44. packages/woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-list.php +32 -0
  45. packages/woocommerce-germanized-shipments/includes/admin/views/html-order-shipment.php +2 -2
  46. packages/woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php +49 -12
  47. packages/woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php +0 -4
  48. packages/woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-guest-return-shipment-request.php +212 -0
  49. packages/woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-return-shipment-delivered.php +232 -0
  50. packages/woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-return-shipment.php +265 -0
  51. packages/woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php +25 -1
  52. packages/woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php +412 -60
  53. packages/woocommerce-germanized-shipments/includes/wc-gzd-shipment-template-hooks.php +7 -1
  54. packages/woocommerce-germanized-shipments/includes/wc-gzd-shipments-template-functions.php +73 -10
  55. packages/woocommerce-germanized-shipments/src/Admin/Admin.php +141 -2
  56. packages/woocommerce-germanized-shipments/src/Admin/MetaBox.php +4 -0
  57. packages/woocommerce-germanized-shipments/src/Admin/ReturnTable.php +17 -25
  58. packages/woocommerce-germanized-shipments/src/Admin/Settings.php +55 -11
  59. packages/woocommerce-germanized-shipments/src/Admin/Table.php +16 -5
  60. packages/woocommerce-germanized-shipments/src/Ajax.php +122 -79
  61. packages/woocommerce-germanized-shipments/src/Automation.php +15 -2
  62. packages/woocommerce-germanized-shipments/src/DataStores/Shipment.php +22 -13
  63. packages/woocommerce-germanized-shipments/src/DataStores/ShipmentItem.php +12 -6
  64. packages/woocommerce-germanized-shipments/src/DataStores/ShippingProvider.php +11 -1
  65. packages/woocommerce-germanized-shipments/src/Emails.php +64 -9
  66. packages/woocommerce-germanized-shipments/src/FormHandler.php +300 -0
  67. packages/woocommerce-germanized-shipments/src/Install.php +32 -0
  68. packages/woocommerce-germanized-shipments/src/Interfaces/ShipmenReturnLabel.php +1 -4
  69. packages/woocommerce-germanized-shipments/src/Interfaces/ShipmentLabel.php +3 -1
  70. packages/woocommerce-germanized-shipments/src/Order.php +334 -8
  71. packages/woocommerce-germanized-shipments/src/Package.php +64 -7
  72. packages/woocommerce-germanized-shipments/src/ReturnReason.php +43 -0
  73. packages/woocommerce-germanized-shipments/src/ReturnShipment.php +90 -82
  74. packages/woocommerce-germanized-shipments/src/Shipment.php +50 -49
  75. packages/woocommerce-germanized-shipments/src/ShipmentItem.php +8 -2
  76. packages/woocommerce-germanized-shipments/src/ShipmentReturnItem.php +31 -0
  77. packages/woocommerce-germanized-shipments/src/ShippingProvider.php +179 -15
  78. packages/woocommerce-germanized-shipments/src/ShippingProviderMethodPlaceholder.php +11 -2
  79. packages/woocommerce-germanized-shipments/src/SimpleShipment.php +5 -151
  80. packages/woocommerce-germanized-shipments/src/WPMLHelper.php +21 -1
  81. packages/woocommerce-germanized-shipments/templates/emails/customer-guest-return-shipment-request.php +50 -0
  82. packages/{woocommerce-germanized-dhl/templates/emails/customer-dhl-return-shipment-label.php → woocommerce-germanized-shipments/templates/emails/customer-return-shipment-delivered.php} +9 -15
  83. packages/woocommerce-germanized-shipments/templates/emails/customer-return-shipment.php +67 -0
  84. packages/woocommerce-germanized-shipments/templates/emails/email-return-shipment-instructions.php +26 -0
  85. packages/woocommerce-germanized-shipments/templates/emails/email-shipment-tracking.php +1 -1
  86. packages/woocommerce-germanized-shipments/templates/emails/plain/customer-guest-return-shipment-request.php +40 -0
  87. packages/{woocommerce-germanized-dhl/templates/emails/plain/customer-dhl-return-shipment-label.php → woocommerce-germanized-shipments/templates/emails/plain/customer-return-shipment-delivered.php} +8 -8
  88. packages/woocommerce-germanized-shipments/templates/emails/plain/customer-return-shipment.php +48 -0
  89. packages/woocommerce-germanized-shipments/templates/emails/plain/email-return-shipment-instructions.php +23 -0
  90. packages/woocommerce-germanized-shipments/templates/global/empty.php +21 -0
  91. packages/woocommerce-germanized-shipments/templates/global/form-return-request.php +51 -0
  92. packages/woocommerce-germanized-shipments/templates/myaccount/add-return-shipment.php +98 -0
  93. packages/woocommerce-germanized-shipments/templates/myaccount/order-shipments.php +24 -99
  94. packages/woocommerce-germanized-shipments/templates/myaccount/shipments.php +112 -0
  95. packages/woocommerce-germanized-shipments/templates/shipment/add-return-shipment-item.php +80 -0
  96. packages/woocommerce-germanized-shipments/templates/shipment/shipment-details.php +11 -1
  97. packages/woocommerce-germanized-shipments/templates/shipment/shipment-return-instructions.php +37 -0
  98. packages/woocommerce-germanized-shipments/woocommerce-germanized-shipments.php +1 -1
  99. readme.txt +18 -1
  100. vendor/autoload.php +1 -1
  101. vendor/autoload_packages.php +2 -2
  102. vendor/composer/autoload_classmap_package.php +76 -72
  103. vendor/composer/autoload_real.php +4 -4
  104. vendor/composer/autoload_static.php +4 -4
  105. vendor/composer/installed.json +14 -14
  106. woocommerce-germanized.php +2 -2
assets/images/add-return-request.png ADDED
Binary file
assets/js/add-to-cart-variation.js CHANGED
@@ -21,8 +21,7 @@
21
 
22
  $form.on( 'click', '.reset_variations', { GermanizedvariationForm: self }, self.onReset );
23
  $form.on( 'reset_data', { GermanizedvariationForm: self }, self.onReset );
24
- $form.on( 'update_variation_values', { GermanizedvariationForm: self }, self.onUpdate );
25
- $form.on( 'found_variation', { GermanizedvariationForm: self }, self.onFoundVariation );
26
  };
27
 
28
  /**
@@ -77,13 +76,10 @@
77
  }, 250);
78
  };
79
 
80
- GermanizedVariationForm.prototype.onFoundVariation = function( event, variation ) {
81
  var form = event.data.GermanizedvariationForm,
82
  $wrapper = form.$wrapper;
83
 
84
- if ( ! variation.variation_is_visible )
85
- return;
86
-
87
  if ( ! $wrapper.find( wc_gzd_add_to_cart_variation_params.price_selector + ':first' ).hasClass( 'variation_modified' ) ) {
88
 
89
  $wrapper.append( '<div class="org_price org_product_info">' + $wrapper.find( wc_gzd_add_to_cart_variation_params.price_selector + ':not(.price-unit):first' ).html() + '</div>' );
21
 
22
  $form.on( 'click', '.reset_variations', { GermanizedvariationForm: self }, self.onReset );
23
  $form.on( 'reset_data', { GermanizedvariationForm: self }, self.onReset );
24
+ $form.on( 'show_variation', { GermanizedvariationForm: self }, self.onShowVariation );
 
25
  };
26
 
27
  /**
76
  }, 250);
77
  };
78
 
79
+ GermanizedVariationForm.prototype.onShowVariation = function( event, variation, purchasable ) {
80
  var form = event.data.GermanizedvariationForm,
81
  $wrapper = form.$wrapper;
82
 
 
 
 
83
  if ( ! $wrapper.find( wc_gzd_add_to_cart_variation_params.price_selector + ':first' ).hasClass( 'variation_modified' ) ) {
84
 
85
  $wrapper.append( '<div class="org_price org_product_info">' + $wrapper.find( wc_gzd_add_to_cart_variation_params.price_selector + ':not(.price-unit):first' ).html() + '</div>' );
assets/js/add-to-cart-variation.min.js CHANGED
@@ -1 +1 @@
1
- !function(i){function t(i){var t=this;t.$form=i,t.$wrapper=i.parents(wc_gzd_add_to_cart_variation_params.wrapper),t.$product=i.closest(".product"),t.variationData=i.data("product_variations"),t.$singleVariation=i.find(".single_variation"),t.$singleVariationWrap=i.find(".single_variation_wrap"),t.$resetVariations=i.find(".reset_variations"),t.$button=i.find(".single_add_to_cart_button"),t.$wrapper.length<=0&&(t.$wrapper=t.$product),i.on("click",".reset_variations",{GermanizedvariationForm:t},t.onReset),i.on("reset_data",{GermanizedvariationForm:t},t.onReset),i.on("update_variation_values",{GermanizedvariationForm:t},t.onUpdate),i.on("found_variation",{GermanizedvariationForm:t},t.onFoundVariation)}t.prototype.onReset=function(i){var t=i.data.GermanizedvariationForm.$wrapper;0<t.find(".org_price").length&&t.find(wc_gzd_add_to_cart_variation_params.price_selector+".variation_modified:not(.price-unit)").html(t.find(".org_price").html()).removeClass("variation_modified").show(),0<t.find(".org_delivery_time").length&&t.find(".delivery-time-info:first").html(t.find(".org_delivery_time").html()).removeClass("variation_modified").show(),0<t.find(".org_unit_price").length&&t.find(".price-unit:first").html(t.find(".org_unit_price").html()).removeClass("variation_modified").show(),0<t.find(".org_tax_info").length&&t.find(".tax-info:first").html(t.find(".org_tax_info").html()).removeClass("variation_modified").show(),0<t.find(".org_shipping_costs_info").length&&t.find(".shipping-costs-info:first").html(t.find(".org_shipping_costs_info").html()).removeClass("variation_modified").show(),0<t.find(".org_product_units").length&&t.find(".product-units:first").html(t.find(".org_product_units").html()).removeClass("variation_modified").show(),t.find(".org_product_info").remove(),t.find(".variation_modified").remove(),i.data.GermanizedvariationForm.$form.trigger("germanized_reset_data")},t.prototype.onUpdate=function(i){setTimeout(function(){void 0!==i.data&&i.data.hasOwnProperty("GermanizedvariationForm")&&void 0!==i.data.GermanizedvariationForm&&(i.data.GermanizedvariationForm.$button.is("[disabled]")||i.data.GermanizedvariationForm.$button.hasClass("disabled"))&&i.data.GermanizedvariationForm.onReset(i)},250)},t.prototype.onFoundVariation=function(i,t){var r=i.data.GermanizedvariationForm,n=r.$wrapper;t.variation_is_visible&&(n.find(wc_gzd_add_to_cart_variation_params.price_selector+":first").hasClass("variation_modified")||(n.append('<div class="org_price org_product_info">'+n.find(wc_gzd_add_to_cart_variation_params.price_selector+":not(.price-unit):first").html()+"</div>"),0<n.find(".delivery-time-info:first").length&&n.append('<div class="org_delivery_time org_product_info">'+n.find(".delivery-time-info:first").html()+"</div>"),0<n.find(".tax-info:first").length&&n.append('<div class="org_tax_info org_product_info">'+n.find(".tax-info:first").html()+"</div>"),0<n.find(".shipping-costs-info:first").length&&n.append('<div class="org_shipping_costs_info org_product_info">'+n.find(".shipping-costs-info:first").html()+"</div>"),0<n.find(".price-unit:first").length&&n.append('<div class="org_unit_price org_product_info">'+n.find(".price-unit:first").html()+"</div>"),0<n.find(".product-units:first").length&&n.append('<div class="org_product_units org_product_info">'+n.find(".product-units:first").html()+"</div>"),n.find(".org_product_info").hide()),""!==t.price_html&&(r.$singleVariation.find(".price").hide(),n.find(wc_gzd_add_to_cart_variation_params.price_selector+":not(.price-unit):first").html(t.price_html).addClass("variation_modified"),n.find(wc_gzd_add_to_cart_variation_params.price_selector+":not(.price-unit):first").find(".price").contents().unwrap()),n.find(".delivery-time-info:first").hide(),n.find(".price-unit:first").hide(),n.find(".tax-info:first").hide(),n.find(".shipping-costs-info:first").hide(),n.find(".product-units:first").hide(),""!==t.delivery_time&&n.find("p.delivery-time-info:first").html(t.delivery_time).addClass("variation_modified").show(),""!==t.tax_info&&n.find(".tax-info:first").html(t.tax_info).addClass("variation_modified").show(),""!==t.shipping_costs_info&&n.find(".shipping-costs-info:first").html(t.shipping_costs_info).addClass("variation_modified").show(),""!==t.unit_price&&(n.find(".price-unit:first").length?n.find(".price-unit:first").html(t.unit_price).addClass("variation-modified").show():(n.find(".price-unit:first").remove(),n.find("p.price:first").after('<p class="price price-unit smaller variation_modified">'+t.unit_price+"</p>").show())),""!==t.product_units&&(n.find(".product-units:first").length?n.find(".product-units:first").html(t.product_units).addClass("variation-modified").show():(n.find(".product-units:first").remove(),n.find(".product_meta:first").prepend('<p class="wc-gzd-additional-info product-units-wrapper product-units variation_modified">'+t.product_units+"</p>").show())),r.$form.trigger("germanized_variation_data"))},i.fn.wc_germanized_variation_form=function(){return new t(this),this},i(function(){"undefined"!=typeof wc_gzd_add_to_cart_variation_params&&i(".variations_form").each(function(){i(this).wc_germanized_variation_form()})})}(jQuery,(window,document));
1
+ !function(i){function t(i){var t=this;t.$form=i,t.$wrapper=i.parents(wc_gzd_add_to_cart_variation_params.wrapper),t.$product=i.closest(".product"),t.variationData=i.data("product_variations"),t.$singleVariation=i.find(".single_variation"),t.$singleVariationWrap=i.find(".single_variation_wrap"),t.$resetVariations=i.find(".reset_variations"),t.$button=i.find(".single_add_to_cart_button"),t.$wrapper.length<=0&&(t.$wrapper=t.$product),i.on("click",".reset_variations",{GermanizedvariationForm:t},t.onReset),i.on("reset_data",{GermanizedvariationForm:t},t.onReset),i.on("show_variation",{GermanizedvariationForm:t},t.onShowVariation)}t.prototype.onReset=function(i){var t=i.data.GermanizedvariationForm.$wrapper;0<t.find(".org_price").length&&t.find(wc_gzd_add_to_cart_variation_params.price_selector+".variation_modified:not(.price-unit)").html(t.find(".org_price").html()).removeClass("variation_modified").show(),0<t.find(".org_delivery_time").length&&t.find(".delivery-time-info:first").html(t.find(".org_delivery_time").html()).removeClass("variation_modified").show(),0<t.find(".org_unit_price").length&&t.find(".price-unit:first").html(t.find(".org_unit_price").html()).removeClass("variation_modified").show(),0<t.find(".org_tax_info").length&&t.find(".tax-info:first").html(t.find(".org_tax_info").html()).removeClass("variation_modified").show(),0<t.find(".org_shipping_costs_info").length&&t.find(".shipping-costs-info:first").html(t.find(".org_shipping_costs_info").html()).removeClass("variation_modified").show(),0<t.find(".org_product_units").length&&t.find(".product-units:first").html(t.find(".org_product_units").html()).removeClass("variation_modified").show(),t.find(".org_product_info").remove(),t.find(".variation_modified").remove(),i.data.GermanizedvariationForm.$form.trigger("germanized_reset_data")},t.prototype.onUpdate=function(i){setTimeout(function(){void 0!==i.data&&i.data.hasOwnProperty("GermanizedvariationForm")&&void 0!==i.data.GermanizedvariationForm&&(i.data.GermanizedvariationForm.$button.is("[disabled]")||i.data.GermanizedvariationForm.$button.hasClass("disabled"))&&i.data.GermanizedvariationForm.onReset(i)},250)},t.prototype.onShowVariation=function(i,t,r){var n=i.data.GermanizedvariationForm,o=n.$wrapper;o.find(wc_gzd_add_to_cart_variation_params.price_selector+":first").hasClass("variation_modified")||(o.append('<div class="org_price org_product_info">'+o.find(wc_gzd_add_to_cart_variation_params.price_selector+":not(.price-unit):first").html()+"</div>"),0<o.find(".delivery-time-info:first").length&&o.append('<div class="org_delivery_time org_product_info">'+o.find(".delivery-time-info:first").html()+"</div>"),0<o.find(".tax-info:first").length&&o.append('<div class="org_tax_info org_product_info">'+o.find(".tax-info:first").html()+"</div>"),0<o.find(".shipping-costs-info:first").length&&o.append('<div class="org_shipping_costs_info org_product_info">'+o.find(".shipping-costs-info:first").html()+"</div>"),0<o.find(".price-unit:first").length&&o.append('<div class="org_unit_price org_product_info">'+o.find(".price-unit:first").html()+"</div>"),0<o.find(".product-units:first").length&&o.append('<div class="org_product_units org_product_info">'+o.find(".product-units:first").html()+"</div>"),o.find(".org_product_info").hide()),""!==t.price_html&&(n.$singleVariation.find(".price").hide(),o.find(wc_gzd_add_to_cart_variation_params.price_selector+":not(.price-unit):first").html(t.price_html).addClass("variation_modified"),o.find(wc_gzd_add_to_cart_variation_params.price_selector+":not(.price-unit):first").find(".price").contents().unwrap()),o.find(".delivery-time-info:first").hide(),o.find(".price-unit:first").hide(),o.find(".tax-info:first").hide(),o.find(".shipping-costs-info:first").hide(),o.find(".product-units:first").hide(),""!==t.delivery_time&&o.find("p.delivery-time-info:first").html(t.delivery_time).addClass("variation_modified").show(),""!==t.tax_info&&o.find(".tax-info:first").html(t.tax_info).addClass("variation_modified").show(),""!==t.shipping_costs_info&&o.find(".shipping-costs-info:first").html(t.shipping_costs_info).addClass("variation_modified").show(),""!==t.unit_price&&(o.find(".price-unit:first").length?o.find(".price-unit:first").html(t.unit_price).addClass("variation-modified").show():(o.find(".price-unit:first").remove(),o.find("p.price:first").after('<p class="price price-unit smaller variation_modified">'+t.unit_price+"</p>").show())),""!==t.product_units&&(o.find(".product-units:first").length?o.find(".product-units:first").html(t.product_units).addClass("variation-modified").show():(o.find(".product-units:first").remove(),o.find(".product_meta:first").prepend('<p class="wc-gzd-additional-info product-units-wrapper product-units variation_modified">'+t.product_units+"</p>").show())),n.$form.trigger("germanized_variation_data")},i.fn.wc_germanized_variation_form=function(){return new t(this),this},i(function(){"undefined"!=typeof wc_gzd_add_to_cart_variation_params&&i(".variations_form").each(function(){i(this).wc_germanized_variation_form()})})}(jQuery,(window,document));
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-12-13 13:27+0100\n"
6
- "PO-Revision-Date: 2019-12-13 13:28+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:923
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:943
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:975
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:983
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:710
94
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:779
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:717
101
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:786
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:363
109
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:724
110
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:793
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:364
124
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:745
125
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:814
126
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder.php:27
127
  msgctxt "dhl"
128
  msgid "Postcode"
@@ -130,25 +130,24 @@ 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:365
134
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:738
135
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:807
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:761
143
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:830
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:615
150
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:768
151
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:837
152
  msgctxt "dhl"
153
  msgid "Email"
154
  msgstr "E-Mail"
@@ -176,7 +175,7 @@ msgstr "Alterssichtprüfung"
176
 
177
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:226
178
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:322
179
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:500
180
  msgctxt "dhl"
181
  msgid "GoGreen"
182
  msgstr "GoGreen"
@@ -198,7 +197,7 @@ msgid "No neighbor"
198
  msgstr "Keine Nachbarschaftszustellung"
199
 
200
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:266
201
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:528
202
  msgctxt "dhl"
203
  msgid "Named person only"
204
  msgstr "Persönliche Übergabe"
@@ -225,7 +224,7 @@ msgid "Minimum age"
225
  msgstr "Mindestalter"
226
 
227
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:314
228
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:549
229
  msgctxt "dhl"
230
  msgid "Premium"
231
  msgstr "Premium"
@@ -312,32 +311,6 @@ msgstr ""
312
  "Einstellungen zum Versand an DHL Standorte anpassen. Änderungen "
313
  "überschreiben die <a href=\"%s\">globalen Einstellungen</a>."
314
 
315
- #: woocommerce-germanized-dhl/includes/emails/class-wc-gzd-dhl-email-customer-return-shipment-label.php:50
316
- msgctxt "dhl"
317
- msgid "DHL Return Label"
318
- msgstr "DHL Retourenlabel"
319
-
320
- # @ woocommerce-germanized
321
- #: woocommerce-germanized-dhl/includes/emails/class-wc-gzd-dhl-email-customer-return-shipment-label.php:51
322
- msgctxt "dhl"
323
- msgid "This email is being used to send the DHL return label to the customer."
324
- msgstr ""
325
- "Diese E-Mail wird verwendet um Kunden das DHL Retourenlabel zuzustellen."
326
-
327
- #: woocommerce-germanized-dhl/includes/emails/class-wc-gzd-dhl-email-customer-return-shipment-label.php:75
328
- msgctxt "dhl"
329
- msgid ""
330
- "New DHL label for your return #{shipment_number} to your order "
331
- "#{order_number}"
332
- msgstr ""
333
- "Neues DHL Label zur Retourensendung #{shipment_number} zu deiner Bestellung "
334
- "#{order_number}"
335
-
336
- #: woocommerce-germanized-dhl/includes/emails/class-wc-gzd-dhl-email-customer-return-shipment-label.php:85
337
- msgctxt "dhl"
338
- msgid "DHL label for your order: #{order_number}"
339
- msgstr "DHL Label zu deiner Bestellung: #{order_number}"
340
-
341
  # @ woocommerce-germanized
342
  #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:35
343
  #: woocommerce-germanized-dhl/src/Api/Paket.php:285
@@ -391,88 +364,88 @@ msgctxt "dhl"
391
  msgid "Minimum age of 18"
392
  msgstr "Mindestens 18 Jahre"
393
 
394
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:120
395
  msgctxt "dhl"
396
  msgid "Shipment #{shipment_id} to order {order_id}"
397
  msgstr "Sendung #{shipment_id} zur Bestellung {order_id}"
398
 
399
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:137
400
  msgctxt "dhl"
401
- msgid "Return #{shipment_id} to shipment #{original_shipment_id}"
402
- msgstr "Retoure #{shipment_id} zur Sendung #{original_shipment_id}"
403
 
404
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:153
405
  msgctxt "dhl"
406
  msgid "Return shipment #{shipment_id} to order #{order_id}"
407
  msgstr "Retourensendung #{shipment_id} zur Bestellung #{order_id}"
408
 
409
  # @ woocommerce-germanized
410
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:220
411
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:184
412
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:454
413
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:814
414
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder.php:38
415
  msgctxt "dhl"
416
  msgid "Packstation"
417
  msgstr "Packstation"
418
 
419
  # @ woocommerce-germanized
420
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:221
421
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:222
422
  msgctxt "dhl"
423
  msgid "Postfiliale"
424
  msgstr "Postfiliale"
425
 
426
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:306
427
  msgctxt "dhl"
428
  msgid "Receiver is missing or does not exist."
429
  msgstr "Empfänger fehlt oder existiert nicht."
430
 
431
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:339
432
  #, php-format
433
  msgctxt "dhl"
434
  msgid "Shipment order #%s does not exist"
435
  msgstr "Bestellung zur Sendung #%s existiert nicht"
436
 
437
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:370
438
  #, php-format
439
  msgctxt "dhl"
440
  msgid "%s of the return address is a mandatory field."
441
  msgstr "%s der Rücksendeadresse ist ein Pflichtfeld."
442
 
443
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:375
444
  msgctxt "dhl"
445
  msgid "Please either add a return company or name."
446
  msgstr ""
447
  "Bitte gib entweder einen Firmennamen oder Namen für die Rücksendeadresse an."
448
 
449
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:394
450
  msgctxt "dhl"
451
  msgid "Error while parsing preferred day."
452
  msgstr "Fehler beim Einlesen des Wunschtags."
453
 
454
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:405
455
  msgctxt "dhl"
456
  msgid "Error while parsing preferred time."
457
  msgstr "Fehler beim Einlesen der Wunschzeit."
458
 
459
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:429
460
  msgctxt "dhl"
461
  msgid "The visual min age check is invalid."
462
  msgstr "Das Alter der Alterssichtprüfung ist ungültig."
463
 
464
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:445
465
  msgctxt "dhl"
466
  msgid "The ident min age check is invalid."
467
  msgstr "Das Alter des Ident-Checks ist ungültig."
468
 
469
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:452
470
  msgctxt "dhl"
471
  msgid "There was an error parsing the date of birth for the identity check."
472
  msgstr ""
473
  "Beim Einlesen des Geburtsdatums für den Ident-Check trat ein Problem auf."
474
 
475
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:457
476
  msgctxt "dhl"
477
  msgid ""
478
  "Either a minimum age or a date of birth must be added to the ident check."
@@ -481,151 +454,151 @@ msgstr ""
481
  "hinzugefügt werden."
482
 
483
  # @ woocommerce-germanized
484
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:470
485
  #, php-format
486
  msgctxt "dhl"
487
  msgid "%s duties element does not exist."
488
  msgstr "%s Zollabgabe existiert nicht."
489
 
490
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:865
491
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:940
492
  msgctxt "dhl"
493
  msgid "Invalid shipment"
494
  msgstr "Ungültige Sendung"
495
 
496
  # @ woocommerce-germanized
497
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:869
498
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:944
499
  msgctxt "dhl"
500
  msgid "Order does not exist"
501
  msgstr "Bestellung existiert nicht"
502
 
503
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:892
504
  msgctxt "dhl"
505
  msgid "Error while creating the label instance"
506
  msgstr "Fehler beim Erstellen der Label-Instanz"
507
 
508
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1012
509
  msgctxt "dhl"
510
  msgid "Invalid label"
511
  msgstr "Ungültiges Label"
512
 
513
  # @ woocommerce-germanized
514
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1100
515
  msgctxt "dhl"
516
  msgid "DHL Retoure International A"
517
  msgstr "DHL Retoure International A"
518
 
519
  # @ woocommerce-germanized
520
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1101
521
  msgctxt "dhl"
522
  msgid "DHL Retoure International B"
523
  msgstr "DHL Retoure International B"
524
 
525
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1110
526
  msgctxt "dhl"
527
  msgid "DHL Retoure Online"
528
  msgstr "DHL Retoure Online"
529
 
530
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1121
531
  msgctxt "dhl"
532
  msgid "DHL Paket Connect"
533
  msgstr "DHL Paket Connect"
534
 
535
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1122
536
  msgctxt "dhl"
537
  msgid "DHL Europaket (B2B)"
538
  msgstr "DHL Europaket (B2B)"
539
 
540
  # @ woocommerce-germanized
541
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1123
542
  msgctxt "dhl"
543
  msgid "DHL Paket International"
544
  msgstr "DHL Paket International"
545
 
546
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1189
547
  msgctxt "dhl"
548
  msgid "DHL Paket"
549
  msgstr "DHL Paket"
550
 
551
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1190
552
  msgctxt "dhl"
553
  msgid "DHL Paket PRIO"
554
  msgstr "DHL Paket PRIO"
555
 
556
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1191
557
  msgctxt "dhl"
558
  msgid "DHL Paket Taggleich"
559
  msgstr "DHL Paket Taggleich"
560
 
561
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1278
562
  msgctxt "dhl"
563
  msgid "Error while uploading label."
564
  msgstr "Fehler beim Hochladen des Labels."
565
 
566
  # @ woocommerce-germanized
567
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:111
568
  msgctxt "dhl"
569
  msgid "Receiver Ids"
570
  msgstr "Empfänger IDs"
571
 
572
  # @ woocommerce-germanized
573
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:118
574
  msgctxt "dhl"
575
  msgid "Receiver Id"
576
  msgstr "Empfänger ID"
577
 
578
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:118
579
  msgctxt "dhl"
580
  msgid "Find your Receiver Ids within your DHL contract data."
581
  msgstr "Die Empfänger IDs findest du im DHL Geschäftskundenportal."
582
 
583
  # @ woocommerce-germanized
584
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:119
585
  msgctxt "dhl"
586
  msgid "Country Code"
587
  msgstr "Ländercode"
588
 
589
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:119
590
  msgctxt "dhl"
591
  msgid "Leave empty to use the Receiver Id as fallback."
592
  msgstr "Leer lassen, um diese Empfänger ID als Fallback zu verwenden."
593
 
594
  # @ woocommerce-germanized
595
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:139
596
  msgctxt "dhl"
597
  msgid "+ Add receiver"
598
  msgstr "+ Empfänger hinzufügen"
599
 
600
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:139
601
  msgctxt "dhl"
602
  msgid "Remove selected receiver(s)"
603
  msgstr "Ausgewählte Empfänger löschen"
604
 
605
  # @ woocommerce-germanized
606
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:175
607
  msgctxt "dhl"
608
  msgid "Select a country"
609
  msgstr "Land auswählen"
610
 
611
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:177
612
  msgctxt "dhl"
613
  msgid "Harmonized Tariff Schedule (DHL)"
614
  msgstr "Harmonized Tariff Schedule (DHL)"
615
 
616
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:177
617
  msgctxt "dhl"
618
  msgid "This code is needed for customs of international shipping."
619
  msgstr ""
620
  "Dieser Code wird für die Zollabwicklung bei internationalen Sendungen "
621
  "benötigt."
622
 
623
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:178
624
  msgctxt "dhl"
625
  msgid "Country of manufacture (DHL)"
626
  msgstr "Herstellungsland (DHL)"
627
 
628
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:178
629
  msgctxt "dhl"
630
  msgid ""
631
  "The country of manufacture is needed for customs of international shipping."
@@ -633,7 +606,7 @@ msgstr ""
633
  "Das Herstellungsland wird für die Zollabwicklung bei internationalen "
634
  "Sendungen benötigt."
635
 
636
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:205
637
  #, php-format
638
  msgctxt "dhl"
639
  msgid ""
@@ -643,17 +616,18 @@ msgstr ""
643
  "Das Verzeichnis zum Speichern von DHL Labels fehlt. Bitte erstelle den "
644
  "Ordner %s manuell und stelle sicher, dass der Ordner beschreibbar ist."
645
 
646
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:212
 
647
  msgctxt "dhl"
648
  msgid "DHL"
649
  msgstr "DHL"
650
 
651
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:227
652
  msgctxt "dhl"
653
  msgid "DHL Label"
654
  msgstr "DHL Label"
655
 
656
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:239
657
  msgctxt "dhl"
658
  msgid ""
659
  "This label has been generated by the DHL for WooCommerce Plugin and is shown "
@@ -663,7 +637,7 @@ msgstr ""
663
  "Kompatibilitäts-Gründen angezeigt."
664
 
665
  # @ woocommerce-germanized
666
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:240
667
  msgctxt "dhl"
668
  msgid "Download label"
669
  msgstr "Label downloaden"
@@ -712,7 +686,7 @@ msgstr ""
712
  "Geschäftskundenportal eingeben."
713
 
714
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:76
715
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:435
716
  msgctxt "dhl"
717
  msgid "Inlay Returns"
718
  msgstr "Beilageretouren"
@@ -727,8 +701,8 @@ msgstr ""
727
  "solltest du diese Funktion standardmäßig aktivieren."
728
 
729
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:90
730
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:672
731
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:902
732
  msgctxt "dhl"
733
  msgid "Retoure"
734
  msgstr "Retoure"
@@ -763,7 +737,7 @@ msgstr ""
763
 
764
  # @ woocommerce-germanized
765
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:118
766
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:696
767
  msgctxt "dhl"
768
  msgid "Automation"
769
  msgstr "Automatisierung"
@@ -789,8 +763,8 @@ msgstr ""
789
 
790
  # @ woocommerce-germanized
791
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:151
792
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:931
793
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:951
794
  msgctxt "dhl"
795
  msgid "Fee"
796
  msgstr "Gebühr"
@@ -823,7 +797,7 @@ msgstr ""
823
  "Folgenden konfiguriert) als Lieferadresse auswählen."
824
 
825
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:198
826
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1111
827
  msgctxt "dhl"
828
  msgid "Map"
829
  msgstr "Karte"
@@ -839,24 +813,24 @@ msgstr ""
839
  "DHL Standortes in der Nähe noch einfacher zu machen. Du benötigst für die "
840
  "Kartenansicht einen gültigen Google Maps API Schlüssel."
841
 
842
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:218
843
  msgctxt "dhl"
844
  msgid "Enable"
845
  msgstr "Aktivieren"
846
 
847
  # @ woocommerce-germanized
848
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:219
849
  msgctxt "dhl"
850
  msgid "Enable DHL integration."
851
  msgstr "DHL Integration aktivieren."
852
 
853
  # @ woocommerce-germanized
854
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:226
855
  msgctxt "dhl"
856
  msgid "Customer Number (EKP)"
857
  msgstr "Kundennummer (EKP)"
858
 
859
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:228
860
  #, php-format
861
  msgctxt "dhl"
862
  msgid ""
@@ -866,33 +840,33 @@ msgstr ""
866
  "Deine 10-stellige DHL Kundennummer (EKP). Finde deine %s im DHL "
867
  "Geschäftskundenportal."
868
 
869
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:228
870
  msgctxt "dhl"
871
  msgid "customer number"
872
  msgstr "Kundennummer"
873
 
874
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:237
875
  msgctxt "dhl"
876
  msgid "API"
877
  msgstr "API"
878
 
879
  # @ woocommerce-germanized
880
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:240
881
  msgctxt "dhl"
882
  msgid "Enable Sandbox"
883
  msgstr "Sandbox aktivieren"
884
 
885
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:241
886
  msgctxt "dhl"
887
  msgid "Activate Sandbox mode for testing purposes."
888
  msgstr "Aktiviere den Sandbox Modus."
889
 
890
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:248
891
  msgctxt "dhl"
892
  msgid "Live Username"
893
  msgstr "Benutzer"
894
 
895
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:250
896
  #, php-format
897
  msgctxt "dhl"
898
  msgid ""
@@ -902,21 +876,22 @@ msgstr ""
902
  "Dein Benutzername zum DHL Geschäftskundenportal. Bitte beachte die "
903
  "Kleinschreibung und teste deine Zugangsdaten vorab %s."
904
 
905
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:250
906
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:259
907
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:268
908
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:277
 
909
  msgctxt "dhl"
910
  msgid "here"
911
  msgstr "hier"
912
 
913
  # @ woocommerce-germanized
914
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:257
915
  msgctxt "dhl"
916
  msgid "Live Password"
917
  msgstr "Passwort"
918
 
919
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:259
920
  #, php-format
921
  msgctxt "dhl"
922
  msgid ""
@@ -928,12 +903,12 @@ msgstr ""
928
  "Gültigkeit des Passworts nach 3 (Standard-Benutzer) bzw. 12 (System-"
929
  "Benutzer) Monaten und teste deine Zugangsdaten vorab %s."
930
 
931
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:266
932
  msgctxt "dhl"
933
  msgid "Sandbox Username"
934
  msgstr "Sandbox Benutzername"
935
 
936
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:268
937
  #, php-format
938
  msgctxt "dhl"
939
  msgid ""
@@ -943,12 +918,12 @@ msgstr ""
943
  "Dein Benutzername zum DHL Entwicklerportal. Bitte beachte die "
944
  "Kleinschreibung und teste deine Zugangsdaten vorab %s."
945
 
946
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:275
947
  msgctxt "dhl"
948
  msgid "Sandbox Password"
949
  msgstr "Sandbox Passwort"
950
 
951
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:277
952
  #, php-format
953
  msgctxt "dhl"
954
  msgid ""
@@ -958,12 +933,23 @@ msgstr ""
958
  "Dein Passwort zum DHL Entwicklerportal. Bitte teste deine Zugangsdaten vorab "
959
  "%s."
960
 
961
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:303
 
962
  msgctxt "dhl"
963
  msgid "Products and Participation Numbers"
964
  msgstr "Produkte und Teilnahmenummern"
965
 
966
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:303
 
 
 
 
 
 
 
 
 
 
967
  #, php-format
968
  msgctxt "dhl"
969
  msgid ""
@@ -977,17 +963,17 @@ msgstr ""
977
  "Zeichen der dazugehörigen Abrechnungsnummer, die du in deinem %s findest (z."
978
  "B.: 01)."
979
 
980
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:303
981
  msgctxt "dhl"
982
  msgid "contract data"
983
  msgstr "Vertragsdaten"
984
 
985
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:357
986
  msgctxt "dhl"
987
  msgid "Domestic Default Service"
988
  msgstr "Nationaler Standard Service"
989
 
990
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:361
991
  msgctxt "dhl"
992
  msgid ""
993
  "Please select your default DHL shipping service for domestic shipments that "
@@ -998,12 +984,12 @@ msgstr ""
998
  "deine Kunden anbietest (du kannst das Produkt für jede einzelne Sendung "
999
  "nachträglich ändern)."
1000
 
1001
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:367
1002
  msgctxt "dhl"
1003
  msgid "Int. Default Service"
1004
  msgstr "Internationaler Standard Service"
1005
 
1006
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:371
1007
  msgctxt "dhl"
1008
  msgid ""
1009
  "Please select your default DHL shipping service for cross-border shipments "
@@ -1015,27 +1001,27 @@ msgstr ""
1015
  "nachträglich ändern)."
1016
 
1017
  # @ woocommerce-germanized
1018
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:377
1019
  msgctxt "dhl"
1020
  msgid "Default Duty"
1021
  msgstr "Standard Zoll"
1022
 
1023
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:381
1024
  msgctxt "dhl"
1025
  msgid "Please select a default duty type."
1026
  msgstr "Bitte wähle eine Standard-Zollabrechnung aus."
1027
 
1028
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:388
1029
  msgctxt "dhl"
1030
  msgid "Codeable"
1031
  msgstr "Leitcodierbar"
1032
 
1033
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:389
1034
  msgctxt "dhl"
1035
  msgid "Generate label only if address can be automatically retrieved DHL."
1036
  msgstr "Erzeuge Labels nur dann, wenn die Adresse von DHL erkannt wird."
1037
 
1038
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:393
1039
  msgctxt "dhl"
1040
  msgid ""
1041
  "Choose this option if you want to make sure that by default labels are only "
@@ -1046,12 +1032,12 @@ msgstr ""
1046
  "ist."
1047
 
1048
  # @ woocommerce-germanized
1049
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:397
1050
  msgctxt "dhl"
1051
  msgid "Default weight"
1052
  msgstr "Standardgewicht"
1053
 
1054
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:399
1055
  msgctxt "dhl"
1056
  msgid ""
1057
  "Choose a default shipment weight to be used for labels if no weight has been "
@@ -1060,12 +1046,12 @@ msgstr ""
1060
  "Wähle ein Standard Sendungsgewicht aus, das für Labels verwendet wird, für "
1061
  "die das Gewicht nicht automatisch bestimmt werden kann."
1062
 
1063
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:408
1064
  msgctxt "dhl"
1065
  msgid "Minimum weight"
1066
  msgstr "Mindestgewicht"
1067
 
1068
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:410
1069
  msgctxt "dhl"
1070
  msgid ""
1071
  "Choose a minimum weight to be used for labels e.g. to prevent low shipment "
@@ -1075,12 +1061,12 @@ msgstr ""
1075
  "eines zu geringen Gewichts Fehler zurückgibt."
1076
 
1077
  # @ woocommerce-germanized
1078
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:422
1079
  msgctxt "dhl"
1080
  msgid "Street number"
1081
  msgstr "Hausnummer"
1082
 
1083
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:423
1084
  msgctxt "dhl"
1085
  msgid ""
1086
  "Force existence of a street number within the first address field during "
@@ -1089,7 +1075,7 @@ msgstr ""
1089
  "Hausnummer im ersten Adressfeld verpflichtend abfragen, falls es sich um ein "
1090
  "EU-Land handelt."
1091
 
1092
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:424
1093
  msgctxt "dhl"
1094
  msgid ""
1095
  "Enabling this option will force a street number to be provided during "
@@ -1100,7 +1086,7 @@ msgstr ""
1100
  "Adressfeld in der Kasse abgefragt wird. Damit verhinderst du fehlende oder "
1101
  "falsche Datensätze."
1102
 
1103
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:436
1104
  msgctxt "dhl"
1105
  msgid ""
1106
  "Additionally create inlay return labels for shipments that support returns."
@@ -1108,81 +1094,81 @@ msgstr ""
1108
  "Erzeuge zusätzlich Beilage-Retourenlabels für Sendungen die Retouren "
1109
  "unterstützen."
1110
 
1111
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:455
1112
  msgctxt "dhl"
1113
  msgid "Enable delivery to Packstation."
1114
  msgstr "Aktiviere den Versand an Packstationen."
1115
 
1116
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:456
1117
  msgctxt "dhl"
1118
  msgid "Let customers choose a Packstation as delivery address."
1119
  msgstr "Kunden eine Packstation als Lieferadresse auswählen lassen."
1120
 
1121
  # @ woocommerce-germanized
1122
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:463
1123
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder.php:50
1124
  msgctxt "dhl"
1125
  msgid "Postoffice"
1126
  msgstr "Postfiliale"
1127
 
1128
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:464
1129
  msgctxt "dhl"
1130
  msgid "Enable delivery to Post Offices."
1131
  msgstr "Aktiviere den Versand an Postfilialen."
1132
 
1133
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:465
1134
  msgctxt "dhl"
1135
  msgid "Let customers choose a Post Office as delivery address."
1136
  msgstr "Kunden eine Postfiliale als Lieferadresse auswählen lassen."
1137
 
1138
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:472
1139
  msgctxt "dhl"
1140
  msgid "Parcel Shop"
1141
  msgstr "Paketshop"
1142
 
1143
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:473
1144
  msgctxt "dhl"
1145
  msgid "Enable delivery to Parcel Shops."
1146
  msgstr "Lieferung an Paketshops aktivieren."
1147
 
1148
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:474
1149
  msgctxt "dhl"
1150
  msgid "Let customers choose a Parcel Shop as delivery address."
1151
  msgstr "Kunden einen Paketshop als Lieferadresse auswählen lassen."
1152
 
1153
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:492
1154
  msgctxt "dhl"
1155
  msgid "Visual minimum age"
1156
  msgstr "Alterssichtprüfung"
1157
 
1158
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:497
1159
  msgctxt "dhl"
1160
  msgid "Choose this option if you want to let DHL check your customer's age."
1161
  msgstr ""
1162
  "Wähle diese Option aus, wenn du das Alter durch DHL prüfen lassen möchtest."
1163
 
1164
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:501
1165
  msgctxt "dhl"
1166
  msgid "Enable the GoGreen Service by default."
1167
  msgstr "Buche den GoGreen Service hinzu."
1168
 
1169
  # @ woocommerce-germanized
1170
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:507
1171
  msgctxt "dhl"
1172
  msgid "Additional Insurance"
1173
  msgstr "Transportversicherung"
1174
 
1175
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:508
1176
  msgctxt "dhl"
1177
  msgid "Add an additional insurance to labels."
1178
  msgstr "Füge eine Transportversicherung zur Sendung hinzu."
1179
 
1180
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:514
1181
  msgctxt "dhl"
1182
  msgid "Retail Outlet Routing"
1183
  msgstr "Filialrouting"
1184
 
1185
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:515
1186
  msgctxt "dhl"
1187
  msgid ""
1188
  "Send undeliverable items to nearest retail outlet instead of immediate "
@@ -1191,46 +1177,46 @@ msgstr ""
1191
  "Sende unzustellbare Sendungen in die nächstgelegene Filiale zur Abholung "
1192
  "anstelle diese direkt zurückzusenden."
1193
 
1194
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:521
1195
  msgctxt "dhl"
1196
  msgid "No Neighbor"
1197
  msgstr "Keine Nachbarschaftszustellung"
1198
 
1199
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:522
1200
  msgctxt "dhl"
1201
  msgid "Do not deliver to neighbors."
1202
  msgstr "Schließe eine Ersatzzustellung beim Nachbarn aus."
1203
 
1204
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:529
1205
  msgctxt "dhl"
1206
  msgid "Do only delivery to named person."
1207
  msgstr ""
1208
  "Lasse Pakete nur an den Empfänger persönlich oder an eine bevollmächtigte "
1209
  "Person übergeben."
1210
 
1211
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:535
1212
  msgctxt "dhl"
1213
  msgid "Bulky Goods"
1214
  msgstr "Sperrgut"
1215
 
1216
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:536
1217
  msgctxt "dhl"
1218
  msgid "Deliver as bulky goods."
1219
  msgstr "Sende Pakete als Sperrgut."
1220
 
1221
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:542
1222
  msgctxt "dhl"
1223
  msgid "Age Verification"
1224
  msgstr "Alterssichtprüfung"
1225
 
1226
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:543
1227
  msgctxt "dhl"
1228
  msgid "Verify ages if shipment contains applicable items."
1229
  msgstr ""
1230
  "Aktiviere die Alterssichtprüfung, falls die Sendung zu prüfende Positionen "
1231
  "beinhaltet."
1232
 
1233
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:543
1234
  #, php-format
1235
  msgctxt "dhl"
1236
  msgid ""
@@ -1243,65 +1229,65 @@ msgstr ""
1243
  "Alterssichtprüfung automatisch aktiviert, falls eine Sendung zu prüfenden "
1244
  "Produkte beinhaltet."
1245
 
1246
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:543
1247
  msgctxt "dhl"
1248
  msgid "age verification checkbox"
1249
  msgstr "Checkbox zur Altersprüfung"
1250
 
1251
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:550
1252
  msgctxt "dhl"
1253
  msgid "Premium delivery for international shipments."
1254
  msgstr "Premium Lieferung für internationale Sendungen."
1255
 
1256
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:569
1257
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1162
1258
  msgctxt "dhl"
1259
  msgid "Labels"
1260
  msgstr "Labels"
1261
 
1262
  # @ woocommerce-germanized
1263
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:570
1264
  msgctxt "dhl"
1265
  msgid "Automatically create labels for shipments."
1266
  msgstr "Automatisch Labels zu Sendungen erstellen."
1267
 
1268
  # @ woocommerce-germanized
1269
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:577
1270
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:604
1271
  msgctxt "dhl"
1272
  msgid "Status"
1273
  msgstr "Status"
1274
 
1275
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:581
1276
  msgctxt "dhl"
1277
  msgid "Choose a shipment status which should trigger generation of a label."
1278
  msgstr ""
1279
  "Wähle einen Sendungsstatus aus, der die Erzeugung eines Labels auslösen soll."
1280
 
1281
  # @ woocommerce-germanized
1282
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:588
1283
  msgctxt "dhl"
1284
  msgid "Shipment Status"
1285
  msgstr "Sendungsstatus"
1286
 
1287
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:589
1288
  msgctxt "dhl"
1289
  msgid "Mark shipment as shipped after label has been created successfully."
1290
  msgstr ""
1291
  "Sendung als versandt markieren, sobald ein Label erfolgreich erstellt wurde."
1292
 
1293
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:596
1294
  msgctxt "dhl"
1295
  msgid "Returns"
1296
  msgstr "Retouren"
1297
 
1298
  # @ woocommerce-germanized
1299
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:597
1300
  msgctxt "dhl"
1301
  msgid "Automatically create labels for returns."
1302
  msgstr "Automatisch Retourenlabels zu Retourensendungen erstellen."
1303
 
1304
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:608
1305
  msgctxt "dhl"
1306
  msgid ""
1307
  "Choose a shipment status which should trigger generation of a return label."
@@ -1309,12 +1295,7 @@ msgstr ""
1309
  "Wähle einen Sendungsstatus aus, der die Erzeugung eines Retourenlabels "
1310
  "auslösen soll."
1311
 
1312
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:616
1313
- msgctxt "dhl"
1314
- msgid "Send the return label to the customer by email after creating it."
1315
- msgstr "Sende das Retourenlabel nach dem Erstellen per E-Mail an den Kunden."
1316
-
1317
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:662
1318
  #, php-format
1319
  msgctxt "dhl"
1320
  msgid ""
@@ -1325,12 +1306,12 @@ msgstr ""
1325
  "können von abweichenden Einstellungen der %s überschrieben werden."
1326
 
1327
  # @ woocommerce-germanized
1328
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:662
1329
  msgctxt "dhl"
1330
  msgid "shipping method"
1331
  msgstr "Versandmethode"
1332
 
1333
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:672
1334
  #, php-format
1335
  msgctxt "dhl"
1336
  msgid ""
@@ -1341,18 +1322,18 @@ msgstr ""
1341
  "an. Stelle sicher, dass dein %s DHL Retoure Online enthält."
1342
 
1343
  # @ woocommerce-germanized
1344
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:672
1345
  msgctxt "dhl"
1346
  msgid "contract"
1347
  msgstr "Vertrag"
1348
 
1349
  # @ woocommerce-germanized
1350
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:684
1351
  msgctxt "dhl"
1352
  msgid "Default Services"
1353
  msgstr "Standard-Services"
1354
 
1355
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:684
1356
  #, php-format
1357
  msgctxt "dhl"
1358
  msgid ""
@@ -1362,12 +1343,12 @@ msgstr ""
1362
  "Passe hier an, welche der Services als Standard für deine Labels gebucht "
1363
  "werden sollen. Finde mehr über diese %s heraus."
1364
 
1365
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:684
1366
  msgctxt "dhl"
1367
  msgid "nationwide services"
1368
  msgstr "nationalen Services"
1369
 
1370
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:696
1371
  msgctxt "dhl"
1372
  msgid ""
1373
  "Choose whether and under which conditions labels for your shipments shall be "
@@ -1377,38 +1358,38 @@ msgstr ""
1377
  "erzeugt werden sollen."
1378
 
1379
  # @ woocommerce-germanized
1380
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:707
1381
  msgctxt "dhl"
1382
  msgid "Shipper Address"
1383
  msgstr "Absenderadresse"
1384
 
1385
  # @ woocommerce-germanized
1386
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:731
1387
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:800
1388
  msgctxt "dhl"
1389
  msgid "Street Number"
1390
  msgstr "Hausnummer"
1391
 
1392
  # @ woocommerce-germanized
1393
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:752
1394
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:821
1395
  msgctxt "dhl"
1396
  msgid "Country"
1397
  msgstr "Land"
1398
 
1399
  # @ woocommerce-germanized
1400
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:776
1401
  msgctxt "dhl"
1402
  msgid "Inlay Return Address"
1403
  msgstr "Beilageretouren Adresse"
1404
 
1405
  # @ woocommerce-germanized
1406
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:845
1407
  msgctxt "dhl"
1408
  msgid "Bank Account"
1409
  msgstr "Bankkonto"
1410
 
1411
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:845
1412
  msgctxt "dhl"
1413
  msgid "Enter your bank details needed for services that use COD."
1414
  msgstr ""
@@ -1416,36 +1397,36 @@ msgstr ""
1416
  "werden sollen."
1417
 
1418
  # @ woocommerce-germanized
1419
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:848
1420
  msgctxt "dhl"
1421
  msgid "Holder"
1422
  msgstr "Kontoinhaber"
1423
 
1424
  # @ woocommerce-germanized
1425
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:855
1426
  msgctxt "dhl"
1427
  msgid "Bank Name"
1428
  msgstr "Name der Bank"
1429
 
1430
  # @ woocommerce-germanized
1431
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:862
1432
  msgctxt "dhl"
1433
  msgid "IBAN"
1434
  msgstr "IBAN"
1435
 
1436
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:869
1437
  msgctxt "dhl"
1438
  msgid "BIC"
1439
  msgstr "BIC"
1440
 
1441
  # @ woocommerce-germanized
1442
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:876
1443
  msgctxt "dhl"
1444
  msgid "Payment Reference"
1445
  msgstr "Zahlungsreferenz"
1446
 
1447
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:880
1448
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:889
1449
  #, php-format
1450
  msgctxt "dhl"
1451
  msgid ""
@@ -1456,18 +1437,18 @@ msgstr ""
1456
  "%s. Der Text ist auf 35 Zeichen begrenzt."
1457
 
1458
  # @ woocommerce-germanized
1459
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:885
1460
  msgctxt "dhl"
1461
  msgid "Payment Reference 2"
1462
  msgstr "Zahlungsreferenz 2"
1463
 
1464
  # @ woocommerce-germanized
1465
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:903
1466
  msgctxt "dhl"
1467
  msgid "Enable creating labels for return shipments."
1468
  msgstr "Automatisch Retourenlabels zu Retourensendungen erstellen."
1469
 
1470
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:903
1471
  msgctxt "dhl"
1472
  msgid ""
1473
  "By enabling this option you might generate retoure labels for return "
@@ -1476,12 +1457,12 @@ msgstr ""
1476
  "Mit der Aktivierung dieser Option kannst du Retourenlabels zu "
1477
  "Retourensendungen erstellen und diese per E-Mail an den Kunden weiterleiten."
1478
 
1479
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:924
1480
  msgctxt "dhl"
1481
  msgid "Enable preferred day delivery."
1482
  msgstr "Aktiviere die Lieferung am Wunschtag."
1483
 
1484
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:924
1485
  msgctxt "dhl"
1486
  msgid ""
1487
  "Enabling this option will display options for the user to select their "
@@ -1490,7 +1471,7 @@ msgstr ""
1490
  "Diese Option aktiviert die Auswahl eines Wunschtags durch den Kunden in der "
1491
  "Kasse."
1492
 
1493
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:933
1494
  msgctxt "dhl"
1495
  msgid ""
1496
  "Insert gross value as surcharge for preferred day delivery. Insert 0 to "
@@ -1499,12 +1480,12 @@ msgstr ""
1499
  "Füge einen Bruttopreis als Gebühr für die Lieferung am Wunschtag hinzu. "
1500
  "Setze den Wert auf 0 um den Service kostenlos anzubieten."
1501
 
1502
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:944
1503
  msgctxt "dhl"
1504
  msgid "Enable preferred time delivery."
1505
  msgstr "Aktiviere die Lieferung zur Wunschzeit."
1506
 
1507
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:944
1508
  msgctxt "dhl"
1509
  msgid ""
1510
  "Enabling this option will display options for the user to select their "
@@ -1513,7 +1494,7 @@ msgstr ""
1513
  "Diese Option aktiviert die Auswahl einer Wunschzeit durch den Kunden in der "
1514
  "Kasse."
1515
 
1516
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:953
1517
  msgctxt "dhl"
1518
  msgid ""
1519
  "Insert gross value as surcharge for preferred time delivery. Insert 0 to "
@@ -1522,12 +1503,12 @@ msgstr ""
1522
  "Füge einen Bruttopreis als Gebühr für die Lieferung zur Wunschzeit hinzu. "
1523
  "Setze den Wert auf 0 um den Service kostenlos anzubieten."
1524
 
1525
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:963
1526
  msgctxt "dhl"
1527
  msgid "Combined Fee"
1528
  msgstr "Kombinierte Gebühr"
1529
 
1530
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:965
1531
  msgctxt "dhl"
1532
  msgid ""
1533
  "Insert gross value as surcharge for the combination of preferred day and "
@@ -1538,12 +1519,12 @@ msgstr ""
1538
  "anzubieten."
1539
 
1540
  # @ woocommerce-germanized
1541
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:976
1542
  msgctxt "dhl"
1543
  msgid "Enable preferred location delivery."
1544
  msgstr "Lieferung an einen Wunschort aktivieren."
1545
 
1546
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:976
1547
  msgctxt "dhl"
1548
  msgid ""
1549
  "Enabling this option will display options for the user to select their "
@@ -1552,12 +1533,12 @@ msgstr ""
1552
  "Diese Option aktiviert die Auswahl eines Wunschorts durch den Kunden in der "
1553
  "Kasse ."
1554
 
1555
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:984
1556
  msgctxt "dhl"
1557
  msgid "Enable preferred neighbor delivery."
1558
  msgstr "Aktiviere die Lieferung an einen Wunschnachbarn."
1559
 
1560
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:984
1561
  msgctxt "dhl"
1562
  msgid ""
1563
  "Enabling this option will display options for the user to deliver to their "
@@ -1566,12 +1547,12 @@ msgstr ""
1566
  "Diese Option aktiviert die Auswahl eines Wunschnachbarn durch den Kunden in "
1567
  "der Kasse."
1568
 
1569
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1010
1570
  msgctxt "dhl"
1571
  msgid "Cut-off time"
1572
  msgstr "Cut-off-Zeit"
1573
 
1574
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1013
1575
  msgctxt "dhl"
1576
  msgid ""
1577
  "The cut-off time is the latest possible order time up to which the minimum "
@@ -1584,12 +1565,12 @@ msgstr ""
1584
  "Nach Überschreitung dieses Zeitpunktes, wird der früheste verfügbare "
1585
  "Wunschtag in der Kasse um einen Tag erhöht (Tag der Bestellung + 3 Werktage)."
1586
 
1587
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1019
1588
  msgctxt "dhl"
1589
  msgid "Preparation days"
1590
  msgstr "Bearbeitungstage"
1591
 
1592
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1022
1593
  msgctxt "dhl"
1594
  msgid ""
1595
  "If you need more time to prepare your shipments you might want to add a "
@@ -1600,71 +1581,71 @@ msgstr ""
1600
  "hier eine statische Anzahl an Tagen hinterlegen, die zum frühesten "
1601
  "auswählbaren Wunschtag hinzugefügt werden."
1602
 
1603
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1029
1604
  msgctxt "dhl"
1605
  msgid "Exclude days of transfer"
1606
  msgstr "Übergabetage ausschließen"
1607
 
1608
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1030
1609
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:31
1610
  msgctxt "dhl"
1611
  msgid "Monday"
1612
  msgstr "Montag"
1613
 
1614
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1031
1615
  msgctxt "dhl"
1616
  msgid "Exclude days from transferring shipments to DHL."
1617
  msgstr "Schließe bestimmte Wochentage für die Übergabe an DHL aus."
1618
 
1619
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1040
1620
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:32
1621
  msgctxt "dhl"
1622
  msgid "Tuesday"
1623
  msgstr "Dienstag"
1624
 
1625
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1049
1626
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:33
1627
  msgctxt "dhl"
1628
  msgid "Wednesday"
1629
  msgstr "Mittwoch"
1630
 
1631
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1058
1632
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:34
1633
  msgctxt "dhl"
1634
  msgid "Thursday"
1635
  msgstr "Donnerstag"
1636
 
1637
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1067
1638
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:35
1639
  msgctxt "dhl"
1640
  msgid "Friday"
1641
  msgstr "Freitag"
1642
 
1643
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1076
1644
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:36
1645
  msgctxt "dhl"
1646
  msgid "Saturday"
1647
  msgstr "Samstag"
1648
 
1649
  # @ woocommerce-germanized
1650
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1085
1651
  msgctxt "dhl"
1652
  msgid "Exclude gateways"
1653
  msgstr "Zahlungsarten ausschließen"
1654
 
1655
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1087
1656
  msgctxt "dhl"
1657
  msgid "Select payment gateways to be excluded from showing preferred services."
1658
  msgstr ""
1659
  "Wähle Zahlungsarten aus, für die die Wunschpaket-Services nicht zur "
1660
  "Verfügung stehen sollen."
1661
 
1662
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1112
1663
  msgctxt "dhl"
1664
  msgid "Let customers find a DHL location on a map."
1665
  msgstr "Lasse Kunden einen DHL Standort auf der Karte auswählen."
1666
 
1667
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1112
1668
  msgctxt "dhl"
1669
  msgid ""
1670
  "Enable this option to let your customers choose a pickup option from a map "
@@ -1675,12 +1656,12 @@ msgstr ""
1675
  "einer Karten in der Kasse zu ermöglichen. Wenn diese Option deaktiviert ist, "
1676
  "wird stattdessen auf die DHL Website verwiesen."
1677
 
1678
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1119
1679
  msgctxt "dhl"
1680
  msgid "Google Maps Key"
1681
  msgstr "Google Maps Schlüssel"
1682
 
1683
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1123
1684
  #, php-format
1685
  msgctxt "dhl"
1686
  msgid ""
@@ -1690,47 +1671,37 @@ msgstr ""
1690
  "Um eine Karte integrieren zu können, benötigst du einen gültigen API-"
1691
  "Schlüssel für Google Maps. Du kannst %s."
1692
 
1693
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1123
1694
  msgctxt "dhl"
1695
  msgid "retrieve a new one"
1696
  msgstr "hier einen neuen erstellen"
1697
 
1698
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1128
1699
  msgctxt "dhl"
1700
  msgid "Limit results"
1701
  msgstr "Suchergebnisse begrenzen"
1702
 
1703
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1132
1704
  msgctxt "dhl"
1705
  msgid "Limit the number of DHL locations shown on the map"
1706
  msgstr "Begrenzt die Anzahl der angezeigten DHL Standorte auf der Karte"
1707
 
1708
  # @ woocommerce-germanized
1709
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1161
1710
  msgctxt "dhl"
1711
  msgid "General"
1712
  msgstr "Allgemein"
1713
 
1714
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1163
1715
  msgctxt "dhl"
1716
  msgid "Preferred Services"
1717
  msgstr "Wunschpaket"
1718
 
1719
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1164
1720
  msgctxt "dhl"
1721
  msgid "Parcel Pickup"
1722
  msgstr "Standorte"
1723
 
1724
- #: woocommerce-germanized-dhl/src/Ajax.php:64
1725
- msgctxt "dhl"
1726
- msgid "Label successfully sent to customer."
1727
- msgstr "Label erfolgreich an den Kunden zugestellt."
1728
-
1729
- #: woocommerce-germanized-dhl/src/Ajax.php:71
1730
- msgctxt "dhl"
1731
- msgid "There was an error while sending the label."
1732
- msgstr "Beim Versendes des Labels ist ein Fehler aufgetreten."
1733
-
1734
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:37
1735
  msgctxt "dhl"
1736
  msgid "Sunday"
@@ -1781,7 +1752,7 @@ msgstr ""
1781
  "erwäge den Wechsel in den Sandbox-Modus."
1782
 
1783
  #: woocommerce-germanized-dhl/src/Api/LabelSoap.php:237
1784
- #: woocommerce-germanized-dhl/src/Api/ReturnRest.php:157
1785
  msgctxt "dhl"
1786
  msgid "Error while creating and uploading the label"
1787
  msgstr "Fehler beim Erstellen und hochladen des Labels"
@@ -1925,13 +1896,7 @@ msgctxt "dhl"
1925
  msgid "POST error or timeout occured. Please try again later."
1926
  msgstr "POST Fehler oder Zeitüberschreitung. Bitte später erneut versuchen."
1927
 
1928
- #: woocommerce-germanized-dhl/src/Api/ReturnRest.php:38
1929
- #, php-format
1930
- msgctxt "dhl"
1931
- msgid "Could not fetch parent shipment %d."
1932
- msgstr "Eltern-Sendung %d konnte nicht initialisiert werden."
1933
-
1934
- #: woocommerce-germanized-dhl/src/DataStores/Label.php:308
1935
  msgctxt "dhl"
1936
  msgid "Invalid label."
1937
  msgstr "Ungültiges Label."
@@ -1943,7 +1908,7 @@ msgctxt "dhl time-span"
1943
  msgid "%s-%s"
1944
  msgstr "%s-%s"
1945
 
1946
- #: woocommerce-germanized-dhl/src/Package.php:226
1947
  msgctxt "dhl"
1948
  msgid ""
1949
  "Please check the street field and make sure to provide a valid street number."
@@ -1952,15 +1917,15 @@ msgstr ""
1952
  "angibst."
1953
 
1954
  # @ woocommerce-germanized
1955
- #: woocommerce-germanized-dhl/src/Package.php:662
1956
  msgctxt "dhl"
1957
  msgid "Germany"
1958
  msgstr "Deutschland"
1959
 
1960
  # @ woocommerce-germanized
1961
  #: woocommerce-germanized-dhl/src/ParcelLocator.php:89
1962
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:827
1963
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:852
1964
  msgctxt "dhl"
1965
  msgid "Address Type"
1966
  msgstr "Adresstyp"
@@ -2033,64 +1998,64 @@ msgstr ""
2033
  "Deine DHL Kundennummer (Postnummer) ist nicht gültig. Bitte überprüfe deine "
2034
  "Eingabe."
2035
 
2036
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:691
2037
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:818
2038
  msgctxt "dhl"
2039
  msgid "Branch"
2040
  msgstr "Filiale"
2041
 
2042
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:692
2043
  msgctxt "dhl"
2044
  msgid "Postnumber "
2045
  msgstr "Postnummer "
2046
 
2047
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:793
2048
  #, php-format
2049
  msgctxt "dhl"
2050
  msgid "e.g. %s 456"
2051
  msgstr "z.B. %s 456"
2052
 
2053
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:818
2054
  msgctxt "dhl"
2055
  msgid "Branches"
2056
  msgstr "Filialen"
2057
 
2058
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:834
2059
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:862
2060
  msgctxt "dhl"
2061
  msgid "DHL customer number (Post number)"
2062
  msgstr "DHL Kundennummer (Postnummer)"
2063
 
2064
  # @ woocommerce-germanized
2065
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:844
2066
  msgctxt "dhl"
2067
  msgid "Regular Address"
2068
  msgstr "Normale Adresse"
2069
 
2070
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:866
2071
  msgctxt "dhl"
2072
  msgid "Not yet a DHL customer?"
2073
  msgstr "Noch kein DHL Kunde?"
2074
 
2075
  # @ woocommerce-germanized
2076
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:866
2077
  msgctxt "dhl"
2078
  msgid "Register now"
2079
  msgstr "Jetzt registrieren"
2080
 
2081
  # @ woocommerce-germanized
2082
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:915
2083
  #, php-format
2084
  msgctxt "dhl"
2085
  msgid "Search %s"
2086
  msgstr "%s suchen"
2087
 
2088
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:1020
2089
  msgctxt "dhl"
2090
  msgid "No DHL locations found"
2091
  msgstr "Keine DHL Standorte gefunden"
2092
 
2093
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:1035
2094
  #, php-format
2095
  msgctxt "dhl"
2096
  msgid ""
@@ -2101,12 +2066,12 @@ msgstr ""
2101
  "%s oder %s."
2102
 
2103
  # @ woocommerce-germanized
2104
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:1035
2105
  msgctxt "dhl"
2106
  msgid "DHL location"
2107
  msgstr "DHL Standort"
2108
 
2109
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:1035
2110
  msgctxt "dhl"
2111
  msgid "retry"
2112
  msgstr "Erneut versuchen"
@@ -2151,21 +2116,14 @@ msgctxt "dhl"
2151
  msgid "Please choose name and address of your preferred neighbor."
2152
  msgstr "Bitte wähle einen Namen und die Adresse deines Wunschnachbars."
2153
 
2154
- #: woocommerce-germanized-dhl/src/ReturnLabel.php:158
2155
  #: woocommerce-germanized-dhl/src/SimpleLabel.php:86
2156
  #, php-format
2157
  msgctxt "dhl full name"
2158
  msgid "%1$s"
2159
  msgstr "%1$s"
2160
 
2161
- #: woocommerce-germanized-dhl/src/ShippingProviderDHL.php:31
2162
- #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-setup-wizard.php:91
2163
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-dhl.php:33
2164
- #: woocommerce-germanized/includes/admin/views/setup/dhl.php:10
2165
- msgid "DHL"
2166
- msgstr "DHL"
2167
-
2168
- #: woocommerce-germanized-dhl/src/ShippingProviderDHL.php:39
2169
  msgctxt "dhl"
2170
  msgid ""
2171
  "Complete DHL integration supporting labels, preferred services and "
@@ -2174,20 +2132,6 @@ msgstr ""
2174
  "DHL Integration die das Erzeugen von Labels, Wunsch-Services und Lieferung "
2175
  "an Packstationen unterstützt."
2176
 
2177
- #: woocommerce-germanized-dhl/src/ShippingProviderDHL.php:62
2178
- msgctxt "dhl"
2179
- msgid ""
2180
- "Your shipment is being processed by {shipping_provider}. If you want to "
2181
- "track the shipment, please use the following tracking number: {tracking_id}. "
2182
- "Depending on the chosen shipping method it is possible that the tracking "
2183
- "data does not reflect the current status when receiving this email."
2184
- msgstr ""
2185
- "Deine Sendung wurde mit {shipping_provider} versandt. Wenn du diese Sendung "
2186
- "verfolgen möchtest, benutze bitte diese Paketverfolgungsnummer: "
2187
- "{tracking_id}. Abhängig von der gewählten Versandoption kann es sein, dass "
2188
- "die Paketverfolgungsdaten zum Zeitpunkt des Erhalts dieser E-Mail noch nicht "
2189
- "den neuesten Stand wiedergeben."
2190
-
2191
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder-result.php:31
2192
  msgctxt "dhl"
2193
  msgid "Opening Times"
@@ -2374,34 +2318,6 @@ msgstr ""
2374
  "* Bei einer Kombinationsbuchung von Wunschtag und Wunschzeit fällt ein "
2375
  "Gesamtaufpreis in Höhe von %s inkl. MwSt. an"
2376
 
2377
- #: woocommerce-germanized-dhl/templates/emails/customer-dhl-return-shipment-label.php:27
2378
- #: woocommerce-germanized-dhl/templates/emails/plain/customer-dhl-return-shipment-label.php:24
2379
- #: woocommerce-germanized-shipments/templates/emails/customer-shipment.php:27
2380
- #: woocommerce-germanized-shipments/templates/emails/plain/customer-shipment.php:24
2381
- #, php-format
2382
- msgid "Hi %s,"
2383
- msgstr "Hallo %s,"
2384
-
2385
- #: woocommerce-germanized-dhl/templates/emails/customer-dhl-return-shipment-label.php:31
2386
- #: woocommerce-germanized-dhl/templates/emails/plain/customer-dhl-return-shipment-label.php:26
2387
- #, php-format
2388
- msgctxt "dhl"
2389
- msgid ""
2390
- "You've requested a return for your order #%s. Please find the DHL label "
2391
- "attached to this email."
2392
- msgstr ""
2393
- "Du hast eine Retoure zu deiner Bestellung #%s angefordert. Im Anhang an "
2394
- "diese E-Mail findest du das dazugehörige DHL Label."
2395
-
2396
- #: woocommerce-germanized-dhl/templates/emails/customer-dhl-return-shipment-label.php:37
2397
- msgctxt "dhl"
2398
- msgid ""
2399
- "Please print the DHL label attached to this email and stick it on your "
2400
- "parcel."
2401
- msgstr ""
2402
- "Bitte drucke das DHL Label im Anhang dieser E-Mail aus und klebe es auf "
2403
- "deine Retourensendung."
2404
-
2405
  #: woocommerce-germanized-dhl/woocommerce-germanized-dhl.php:40
2406
  #: woocommerce-germanized-dhl/woocommerce-germanized-dhl.php:58
2407
  #, php-format
@@ -2413,107 +2329,128 @@ msgstr ""
2413
  "Deine Installation des Germanized DHL Plugins ist unvollständig. Bitte führe "
2414
  "%1$s im %2$s Verzeichnis aus."
2415
 
2416
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:29
2417
  #, php-format
2418
  msgctxt "shipments"
2419
  msgid "Weight (%s)"
2420
  msgstr "Gewicht (%s)"
2421
 
2422
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:34
2423
  #, php-format
2424
  msgctxt "shipments"
2425
  msgid "Dimensions (%s)"
2426
  msgstr "Abmessungen (%s)"
2427
 
2428
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:34
2429
  msgctxt "shipments"
2430
  msgid "LxWxH in decimal form."
2431
  msgstr "LxBxH in dezimaler Form."
2432
 
2433
  # @ woocommerce-germanized
2434
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:66
2435
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:871
2436
  #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:24
2437
- #: woocommerce-germanized-shipments/src/Admin/Table.php:650
2438
  msgctxt "shipments"
2439
  msgid "Status"
2440
  msgstr "Status"
2441
 
2442
  # @ woocommerce-germanized
2443
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:76
2444
  msgctxt "shipments"
2445
  msgid "Shipping method"
2446
  msgstr "Versandmethode"
2447
 
2448
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:86
2449
  msgctxt "shipments"
2450
  msgid "Shipping provider"
2451
  msgstr "Versanddienstleister"
2452
 
2453
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:97
2454
  msgctxt "shipments"
2455
  msgid "Tracking Number"
2456
  msgstr "Sendungsnummer"
2457
 
2458
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:106
2459
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:162
2460
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:219
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2461
  msgctxt "shipments"
2462
  msgid "Item"
2463
  msgstr "Position"
2464
 
2465
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:109
2466
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:163
2467
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:220
2468
  #: woocommerce-germanized-shipments/templates/emails/email-shipment-details.php:55
2469
- #: woocommerce-germanized-shipments/templates/shipment/shipment-details.php:50
 
2470
  msgctxt "shipments"
2471
  msgid "Quantity"
2472
  msgstr "Anzahl"
2473
 
2474
- # @ woocommerce-germanized
2475
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:112
2476
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:873
2477
- #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:28
2478
- #: woocommerce-germanized-shipments/src/Admin/Table.php:654
2479
- msgctxt "shipments"
2480
- msgid "Actions"
2481
- msgstr "Aktionen"
2482
-
2483
- # @ woocommerce-germanized
2484
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:126
2485
  msgctxt "shipments"
2486
- msgid "Add item"
2487
- msgstr "Position hinzufügen"
2488
 
2489
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:130
2490
  msgctxt "shipments"
2491
- msgid "Sync items"
2492
- msgstr "Positionen synchronisieren"
 
 
 
 
2493
 
2494
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:131
2495
  msgctxt "shipments"
2496
- msgid "Automatically adjust items and quantities based on order item data."
2497
- msgstr "Bestimmt Positionen und Anzahlen automatisch anhand der Bestelldaten."
2498
 
2499
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:152
2500
  msgctxt "shipments"
2501
- msgid "Add Item"
2502
- msgstr "Position hinzufügen"
2503
 
2504
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:181
2505
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:229
2506
  msgctxt "shipments"
2507
- msgid "Add"
2508
- msgstr "Hinzufügen"
 
 
 
 
2509
 
2510
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:209
2511
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:269
 
2512
  msgctxt "shipments"
2513
- msgid "Add Return"
2514
- msgstr "Retoure hinzufügen"
2515
 
2516
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:273
2517
  #, php-format
2518
  msgctxt "shipments"
2519
  msgid "Delete %s"
@@ -2528,13 +2465,31 @@ msgid_plural "%d of %d items"
2528
  msgstr[0] "%d von %d Position"
2529
  msgstr[1] "%d von %d Positionen"
2530
 
2531
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-item.php:37
 
 
 
 
 
 
 
2532
  #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:26
2533
- #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php:39
2534
  msgctxt "shipments"
2535
  msgid "Delete"
2536
  msgstr "Löschen"
2537
 
 
 
 
 
 
 
 
 
 
 
 
2538
  #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment.php:16
2539
  #, php-format
2540
  msgctxt "shipment admin title"
@@ -2543,22 +2498,32 @@ msgstr "%s #%s"
2543
 
2544
  # @ woocommerce-germanized
2545
  #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php:19
2546
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:66
2547
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:74
2548
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:143
2549
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:231
2550
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:298
2551
- #: woocommerce-germanized-shipments/templates/myaccount/order-shipments.php:35
2552
  msgctxt "shipments"
2553
  msgid "Shipments"
2554
  msgstr "Sendungen"
2555
 
2556
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php:36
 
 
 
 
 
2557
  msgctxt "shipments"
2558
  msgid "Add shipment"
2559
  msgstr "Sendung hinzufügen"
2560
 
2561
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php:40
 
 
 
 
 
2562
  msgctxt "shipments"
2563
  msgid "Save"
2564
  msgstr "Speichern"
@@ -2567,15 +2532,15 @@ msgstr "Speichern"
2567
  # @ woocommerce
2568
  #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:11
2569
  #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:22
2570
- #: woocommerce-germanized-shipments/src/Admin/Table.php:648
2571
- #: woocommerce-germanized-shipments/src/ShippingProvider.php:419
2572
  msgctxt "shipments"
2573
  msgid "Title"
2574
  msgstr "Titel"
2575
 
2576
  # @ woocommerce-germanized
2577
  #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:12
2578
- #: woocommerce-germanized-shipments/src/ShippingProvider.php:428
2579
  msgctxt "shipments"
2580
  msgid "Description"
2581
  msgstr "Beschreibung"
@@ -2609,7 +2574,7 @@ msgid "Manage"
2609
  msgstr "Verwalten"
2610
 
2611
  #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label-backbone.php:13
2612
- #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php:43
2613
  msgctxt "shipments"
2614
  msgid "Create label"
2615
  msgstr "Label erstellen"
@@ -2630,17 +2595,86 @@ msgctxt "shipments"
2630
  msgid "Download"
2631
  msgstr "Download"
2632
 
 
 
 
 
 
 
2633
  # @ woocommerce-germanized
2634
- #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php:24
2635
  msgctxt "shipments"
2636
- msgid "Send to customer"
2637
- msgstr "An den Kunden senden"
2638
 
2639
- #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php:43
2640
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:355
2641
  msgctxt "shipments"
2642
- msgid "Create new label"
2643
- msgstr "Neues Label erstellen"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2644
 
2645
  # @ woocommerce-germanized
2646
  #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:51
@@ -2677,243 +2711,337 @@ msgctxt "shipments"
2677
  msgid "Shipment to your order: {order_number}"
2678
  msgstr "Sendung zu deiner Bestellung {order_number}"
2679
 
2680
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:283
2681
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:297
2682
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:306
2683
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:315
2684
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:324
2685
  #, php-format
2686
  msgctxt "shipments"
2687
  msgid "Available placeholders: %s"
2688
  msgstr "Verfügbare Platzhalter: %s"
2689
 
2690
  # @ woocommerce-germanized
2691
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:287
2692
  msgctxt "shipments"
2693
  msgid "Enable/Disable"
2694
  msgstr "Aktivieren/Deaktivieren"
2695
 
2696
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:289
2697
  msgctxt "shipments"
2698
  msgid "Enable this email notification"
2699
  msgstr "Aktiviere diese E-Mail-Benachrichtigung"
2700
 
2701
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:293
2702
  msgctxt "shipments"
2703
  msgid "Full shipment subject"
2704
  msgstr "Vollständige Sendung Betreff"
2705
 
2706
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:302
2707
  msgctxt "shipments"
2708
  msgid "Partial shipment subject"
2709
  msgstr "Teilsendung Betreff"
2710
 
2711
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:311
2712
  msgctxt "shipments"
2713
  msgid "Full shipment email heading"
2714
  msgstr "Vollständige Sendung Kopfzeile"
2715
 
2716
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:320
2717
  msgctxt "shipments"
2718
  msgid "Partial shipment email heading"
2719
  msgstr "Teilsendung Kopfzeile"
2720
 
2721
  # @ woocommerce-germanized
2722
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:329
2723
  msgctxt "shipments"
2724
  msgid "Additional content"
2725
  msgstr "Zusätzlicher Inhalt"
2726
 
2727
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:330
2728
  msgctxt "shipments"
2729
  msgid "Text to appear below the main email content."
2730
  msgstr "Text der unterhalb des Inhalts der E-Mail angezeigt werden soll."
2731
 
2732
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:332
2733
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:807
2734
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:835
2735
  #: woocommerce-germanized-shipments/templates/shipment/shipment-details-address.php:28
2736
  msgctxt "shipments"
2737
  msgid "N/A"
2738
  msgstr "n.a."
2739
 
2740
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:338
2741
  msgctxt "shipments"
2742
  msgid "Email type"
2743
  msgstr "E-Mail-Typ"
2744
 
2745
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:340
2746
  msgctxt "shipments"
2747
  msgid "Choose which format of email to send."
2748
  msgstr "Format für E-Mail-Versand auswählen."
2749
 
2750
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:65
2751
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:869
2752
- #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:27
2753
  msgctxt "shipments"
2754
  msgid "Shipment"
2755
  msgstr "Sendung"
2756
 
2757
  # @ woocommerce-germanized
2758
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:72
2759
  msgctxt "shipments"
2760
  msgid "Return"
2761
  msgstr "Retoure"
2762
 
2763
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:73
2764
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:144
2765
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:265
2766
- msgctxt "shipments"
2767
- msgid "Returns"
2768
- msgstr "Retouren"
2769
-
2770
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:99
2771
  msgctxt "shipments"
2772
  msgid "Not shipped"
2773
  msgstr "Nicht versandt"
2774
 
2775
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:100
2776
  msgctxt "shipments"
2777
  msgid "Partially shipped"
2778
  msgstr "Teilweise versandt"
2779
 
2780
  # @ woocommerce-germanized
2781
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:101
2782
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:241
2783
- #: woocommerce-germanized-shipments/src/Admin/Table.php:814
2784
  msgctxt "shipments"
2785
  msgid "Shipped"
2786
  msgstr "Versandt"
2787
 
2788
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:239
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2789
  msgctxt "shipments"
2790
  msgid "Draft"
2791
  msgstr "Entwurf"
2792
 
2793
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:240
2794
- #: woocommerce-germanized-shipments/src/Admin/Table.php:806
2795
  msgctxt "shipments"
2796
  msgid "Processing"
2797
  msgstr "In Bearbeitung"
2798
 
2799
  # @ woocommerce-germanized
2800
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:242
2801
  #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:48
2802
  msgctxt "shipments"
2803
  msgid "Delivered"
2804
  msgstr "Geliefert"
2805
 
2806
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:243
2807
  msgctxt "shipments"
2808
- msgid "Returned"
2809
- msgstr "Retourniert"
2810
 
2811
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:286
2812
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipments-template-functions.php:101
2813
- #: woocommerce-germanized-shipments/src/DataStores/Shipment.php:343
2814
  msgctxt "shipments"
2815
- msgid "Invalid shipment."
2816
- msgstr "Ungültige Sendung."
2817
 
2818
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:290
2819
  msgctxt "shipments"
2820
- msgid "This shipment is already fully returned."
2821
- msgstr "Diese Sendung ist bereits vollständig retourniert."
2822
 
2823
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:301
2824
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:344
2825
  msgctxt "shipments"
2826
  msgid "Error while creating the shipment instance"
2827
  msgstr "Fehler beim Erstellen der Sendungsinstanz"
2828
 
2829
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:329
2830
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:333
2831
- #: woocommerce-germanized-shipments/src/SimpleShipment.php:142
2832
- #: woocommerce-germanized-shipments/src/SimpleShipment.php:225
 
 
2833
  msgctxt "shipments"
2834
  msgid "Invalid shipment order"
2835
  msgstr "Ungültige Bestellung zur Sendung"
2836
 
2837
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:363
2838
  msgctxt "shipments"
2839
  msgid "Invalid order item"
2840
  msgstr "Ungültige Bestellposition"
2841
 
2842
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:399
2843
  msgctxt "shipments"
2844
  msgid "Invalid shipment item"
2845
  msgstr "Ungültige Sendungsposition"
2846
 
2847
  # @ woocommerce-germanized
2848
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:472
2849
  msgctxt "shipments"
2850
  msgid "None"
2851
  msgstr "Keiner"
2852
 
2853
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:545
2854
  msgctxt "shipments"
2855
  msgid "Error while uploading file."
2856
  msgstr "Fehler beim Hochladen der Datei."
2857
 
2858
  # @ woocommerce-germanized
2859
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:870
2860
  #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:23
2861
- #: woocommerce-germanized-shipments/src/Admin/Table.php:649
2862
  msgctxt "shipments"
2863
  msgid "Date"
2864
  msgstr "Datum"
2865
 
2866
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:872
2867
  #: woocommerce-germanized-shipments/templates/shipment/shipment-details-tracking.php:23
2868
  msgctxt "shipments"
2869
  msgid "Tracking"
2870
  msgstr "Sendungsverfolgung"
2871
 
2872
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:897
 
 
 
 
 
 
 
 
 
2873
  msgctxt "shipments"
2874
  msgid "View"
2875
  msgstr "Anzeigen"
2876
 
2877
  # @ woocommerce-germanized
2878
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipments-template-functions.php:101
 
 
 
 
 
 
 
 
 
 
2879
  msgctxt "shipments"
2880
  msgid "My account"
2881
  msgstr "Mein Konto"
2882
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2883
  # @ woocommerce-germanized
2884
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:128
2885
  msgctxt "shipments"
2886
  msgid "Create shipments"
2887
  msgstr "Sendungen erstellen"
2888
 
2889
  # @ woocommerce-germanized
2890
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:243
2891
  msgctxt "shipments"
2892
  msgid "Search shipments"
2893
  msgstr "Sendungen suchen"
2894
 
2895
  # @ woocommerce-germanized
2896
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:277
2897
  msgctxt "shipments"
2898
  msgid "Search returns"
2899
  msgstr "Retouren suchen"
2900
 
2901
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:350
2902
  msgctxt "shipments"
2903
  msgid "Do you really want to delete the shipment?"
2904
  msgstr "Möchtest du die Sendung wirklich löschen?"
2905
 
2906
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:354
2907
  msgctxt "shipments"
2908
  msgid "Do you really want to delete the label?"
2909
  msgstr "Möchtest du das Label wirklich löschen?"
2910
 
2911
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:356
2912
  msgctxt "shipments"
2913
  msgid "Please save the shipment before creating a new label"
2914
  msgstr "Bitte speichere die Sendung bevor du ein neues Label erzeugst"
2915
 
2916
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:406
2917
  msgctxt "shipments"
2918
  msgid ""
2919
  "Do you really want to delete the shipping provider? Some of your existing "
@@ -2974,7 +3102,7 @@ msgid "shipment #%d"
2974
  msgstr "Sendung #%d"
2975
 
2976
  #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:25
2977
- #: woocommerce-germanized-shipments/src/Admin/Table.php:651
2978
  msgctxt "shipments"
2979
  msgid "Items"
2980
  msgstr "Positionen"
@@ -2984,10 +3112,24 @@ msgctxt "shipments"
2984
  msgid "Sender"
2985
  msgstr "Absender"
2986
 
2987
- #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:58
 
 
 
 
 
 
 
 
2988
  msgctxt "shipments"
2989
- msgid "Send label to customer"
2990
- msgstr "Label dem Kunden zusenden"
 
 
 
 
 
 
2991
 
2992
  # @ woocommerce-germanized
2993
  #: woocommerce-germanized-shipments/src/Admin/Settings.php:38
@@ -3021,7 +3163,7 @@ msgstr ""
3021
 
3022
  # @ woocommerce-germanized
3023
  #: woocommerce-germanized-shipments/src/Admin/Settings.php:66
3024
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:106
3025
  msgctxt "shipments"
3026
  msgid "Automation"
3027
  msgstr "Automatisierung"
@@ -3037,18 +3179,34 @@ msgstr ""
3037
  "bestimmten Status erreichen. Du kannst die Sendungen anschließend einfach "
3038
  "manuell anpassen, indem du die dazugehörige Bestellung bearbeitest."
3039
 
 
 
 
 
 
 
 
 
 
 
3040
  # @ woocommerce-germanized
3041
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:87
 
 
 
 
 
 
3042
  msgctxt "shipments"
3043
  msgid "Notify"
3044
  msgstr "Benachrichtigung"
3045
 
3046
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:88
3047
  msgctxt "shipments"
3048
  msgid "Notify customers about new shipments."
3049
  msgstr "Benachrichtige Kunden über neue Sendungen."
3050
 
3051
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:88
3052
  #, php-format
3053
  msgctxt "shipments"
3054
  msgid ""
@@ -3058,18 +3216,18 @@ msgstr ""
3058
  "Benachrichtige Kunden via E-Mail sobald eine Sendung als verschickt markiert "
3059
  "wurde. %s die E-Mail-Benachrichtigung."
3060
 
3061
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:88
3062
  msgctxt "shipments notification"
3063
  msgid "Manage"
3064
  msgstr "Verwalte"
3065
 
3066
  # @ woocommerce-germanized
3067
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:95
3068
  msgctxt "shipments"
3069
  msgid "Default provider"
3070
  msgstr "Standard-Dienstleister"
3071
 
3072
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:96
3073
  msgctxt "shipments"
3074
  msgid ""
3075
  "Select a default shipping provider which will be selected by default in case "
@@ -3078,24 +3236,24 @@ msgstr ""
3078
  "Wähle einen Standard-Versanddienstleister aus der verwendet wird, falls kein "
3079
  "Dienstleister automatisch bestimmt werden konnte."
3080
 
3081
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:109
3082
  msgctxt "shipments"
3083
  msgid "Enable"
3084
  msgstr "Aktivieren"
3085
 
3086
  # @ woocommerce-germanized
3087
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:110
3088
  msgctxt "shipments"
3089
  msgid "Automatically create shipments for orders."
3090
  msgstr "Automatisch Sendungen zu Bestellungen erstellen."
3091
 
3092
  # @ woocommerce-germanized
3093
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:117
3094
  msgctxt "shipments"
3095
  msgid "Order statuses"
3096
  msgstr "Bestellstatus"
3097
 
3098
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:118
3099
  msgctxt "shipments"
3100
  msgid ""
3101
  "Create shipments as soon as the order reaches one of the following "
@@ -3105,18 +3263,18 @@ msgstr ""
3105
  "erreicht."
3106
 
3107
  # @ woocommerce-germanized
3108
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:126
3109
  msgctxt "shipments"
3110
  msgid "On new order creation"
3111
  msgstr "Beim Erstellen einer Bestellung"
3112
 
3113
  # @ woocommerce-germanized
3114
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:131
3115
  msgctxt "shipments"
3116
  msgid "Default status"
3117
  msgstr "Standardstatus"
3118
 
3119
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:132
3120
  msgctxt "shipments"
3121
  msgid "Choose a default status for the automatically created shipment."
3122
  msgstr ""
@@ -3124,18 +3282,18 @@ msgstr ""
3124
  "erhält."
3125
 
3126
  # @ woocommerce-germanized
3127
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:144
3128
  msgctxt "shipments"
3129
  msgid "Update status"
3130
  msgstr "Status"
3131
 
3132
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:145
3133
  msgctxt "shipments"
3134
  msgid "Mark order as completed after order is fully shipped."
3135
  msgstr ""
3136
  "Bestellung als fertiggestellt markieren sobald sie komplett versandt wurde."
3137
 
3138
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:145
3139
  msgctxt "shipments"
3140
  msgid ""
3141
  "This option will automatically update the order status to completed as soon "
@@ -3145,18 +3303,18 @@ msgstr ""
3145
  "fertiggestellt gesetzt wird, sobald alle notwendigen Sendungen einer "
3146
  "Bestellung versandt wurden."
3147
 
3148
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:152
3149
  msgctxt "shipments"
3150
  msgid "Mark as shipped"
3151
  msgstr "Als versandt markieren"
3152
 
3153
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:153
3154
  msgctxt "shipments"
3155
  msgid "Mark shipments as shipped after order completion."
3156
  msgstr ""
3157
  "Sendung als versandt markieren, sobald die Bestellung fertiggestellt wurde."
3158
 
3159
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:153
3160
  msgctxt "shipments"
3161
  msgid ""
3162
  "This option will automatically update contained shipments to shipped (if "
@@ -3166,104 +3324,146 @@ msgstr ""
3166
  "Diese Option sorgt dafür, dass der Sendungsstatus automatisch auf versandt "
3167
  "gesetzt wird, sobald die Bestellung als fertiggestellt markiert wurde."
3168
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3169
  # @ woocommerce-germanized
3170
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:161
3171
  msgctxt "shipments"
3172
- msgid "Customer Account"
3173
- msgstr "Kundenkonto"
3174
 
3175
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:164
 
3176
  msgctxt "shipments"
3177
- msgid "List"
3178
- msgstr "Liste"
 
 
 
 
 
 
 
 
 
3179
 
3180
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:165
3181
  msgctxt "shipments"
3182
- msgid "List shipments on customer account order screen."
3183
- msgstr "Liste Sendungen im Kundenkonto in den Bestelldetails auf."
3184
 
3185
  # @ woocommerce-germanized
3186
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:173
3187
  msgctxt "shipments"
3188
  msgid "Return Address"
3189
  msgstr "Retouren Adresse"
3190
 
3191
  # @ woocommerce-germanized
3192
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:176
3193
  msgctxt "shipments"
3194
  msgid "First Name"
3195
  msgstr "Vorname"
3196
 
3197
  # @ woocommerce-germanized
3198
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:183
3199
  msgctxt "shipments"
3200
  msgid "Last Name"
3201
  msgstr "Nachname"
3202
 
3203
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:190
3204
  msgctxt "shipments"
3205
  msgid "Company"
3206
  msgstr "Firma"
3207
 
3208
  # @ woocommerce-germanized
3209
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:197
3210
  msgctxt "shipments"
3211
  msgid "Address 1"
3212
  msgstr "Adresszeile 1"
3213
 
3214
  # @ woocommerce-germanized
3215
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:204
3216
  msgctxt "shipments"
3217
  msgid "Address 2"
3218
  msgstr "Adresszeile 2"
3219
 
3220
  # @ woocommerce-germanized
3221
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:211
3222
  msgctxt "shipments"
3223
  msgid "City"
3224
  msgstr "Stadt"
3225
 
3226
  # @ woocommerce-germanized
3227
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:218
3228
  msgctxt "shipments"
3229
  msgid "Country / State"
3230
  msgstr "Land / Bundesland"
3231
 
3232
  # @ woocommerce-germanized
3233
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:226
3234
  msgctxt "shipments"
3235
  msgid "Postcode"
3236
  msgstr "Postleitzahl"
3237
 
3238
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:307
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3239
  msgctxt "shipments"
3240
  msgid "New provider"
3241
  msgstr "Neuer Dienstleister"
3242
 
3243
  # @ woocommerce-germanized
3244
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:317
3245
  msgctxt "shipments"
3246
  msgid "Additional settings"
3247
  msgstr "Weiterführende Einstellungen"
3248
 
3249
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:343
3250
  msgctxt "shipments"
3251
  msgid "Add provider"
3252
  msgstr "Dienstleister hinzufügen"
3253
 
3254
  # @ woocommerce-germanized
3255
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:351
3256
  msgctxt "shipments"
3257
  msgid "General"
3258
  msgstr "Allgemein"
3259
 
3260
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:352
3261
  #: woocommerce-germanized-shipments/src/ShippingProviderMethod.php:56
3262
  msgctxt "shipments"
3263
  msgid "Shipping Provider"
3264
  msgstr "Versanddienstleister"
3265
 
3266
- #: woocommerce-germanized-shipments/src/Admin/Table.php:164
3267
  #, php-format
3268
  msgctxt "shipments"
3269
  msgid "%d shipment deleted."
@@ -3271,7 +3471,7 @@ msgid_plural "%d shipments deleted."
3271
  msgstr[0] "%d Sendung gelöscht."
3272
  msgstr[1] "%d Sendungen gelöscht."
3273
 
3274
- #: woocommerce-germanized-shipments/src/Admin/Table.php:174
3275
  #, php-format
3276
  msgctxt "shipments"
3277
  msgid "%d shipment status changed."
@@ -3279,12 +3479,12 @@ msgid_plural "%d shipment statuses changed."
3279
  msgstr[0] "%d Sendungsstatus geändert."
3280
  msgstr[1] "%d Sendungsstatus geändert."
3281
 
3282
- #: woocommerce-germanized-shipments/src/Admin/Table.php:331
3283
  msgctxt "shipments"
3284
  msgid "No shipments found"
3285
  msgstr "Keine Sendungen gefunden"
3286
 
3287
- #: woocommerce-germanized-shipments/src/Admin/Table.php:371
3288
  #, php-format
3289
  msgctxt "shipments"
3290
  msgid "All <span class=\"count\">(%s)</span>"
@@ -3292,7 +3492,7 @@ msgid_plural "All <span class=\"count\">(%s)</span>"
3292
  msgstr[0] "Alle <span class=\"count\">(%s)</span>"
3293
  msgstr[1] "Alle <span class=\"count\">(%s)</span>"
3294
 
3295
- #: woocommerce-germanized-shipments/src/Admin/Table.php:396
3296
  #, php-format
3297
  msgctxt "shipments"
3298
  msgid " <span class=\"count\">(%s)</span>"
@@ -3300,200 +3500,202 @@ msgid_plural " <span class=\"count\">(%s)</span>"
3300
  msgstr[0] " <span class=\"count\">(%s)</span>"
3301
  msgstr[1] " <span class=\"count\">(%s)</span>"
3302
 
3303
- #: woocommerce-germanized-shipments/src/Admin/Table.php:486
3304
  msgctxt "shipments"
3305
  msgid "Filter by date"
3306
  msgstr "Nach Datum filtern"
3307
 
3308
  # @ woocommerce-germanized
3309
- #: woocommerce-germanized-shipments/src/Admin/Table.php:488
3310
  msgctxt "shipments"
3311
  msgid "All dates"
3312
  msgstr "Alle Daten"
3313
 
3314
- #: woocommerce-germanized-shipments/src/Admin/Table.php:503
3315
  #, php-format
3316
  msgid "%1$s %2$d"
3317
  msgstr "%1$s %2$d"
3318
 
3319
- #: woocommerce-germanized-shipments/src/Admin/Table.php:524
3320
  msgctxt "shipments"
3321
  msgid "Processing bulk actions..."
3322
  msgstr "Bearbeite Mehrfachaktionen.."
3323
 
3324
- #: woocommerce-germanized-shipments/src/Admin/Table.php:610
3325
  msgctxt "shipments"
3326
  msgid "Filter"
3327
  msgstr "Filtern"
3328
 
3329
  # @ woocommerce-germanized
3330
- #: woocommerce-germanized-shipments/src/Admin/Table.php:626
3331
- #: woocommerce-germanized-shipments/src/Ajax.php:757
3332
  #, php-format
3333
  msgctxt "shipments"
3334
  msgid "Order #%s"
3335
  msgstr "Bestellung #%s"
3336
 
3337
  # @ woocommerce
3338
- #: woocommerce-germanized-shipments/src/Admin/Table.php:631
3339
  msgctxt "shipments"
3340
  msgid "Filter by order"
3341
  msgstr "Nach Bestellung filtern"
3342
 
3343
- #: woocommerce-germanized-shipments/src/Admin/Table.php:652
3344
  msgctxt "shipments"
3345
  msgid "Address"
3346
  msgstr "Adresse"
3347
 
3348
- # @ woocommerce-germanized
3349
- #: woocommerce-germanized-shipments/src/Admin/Table.php:653
3350
- msgctxt "shipments"
3351
- msgid "Order"
3352
- msgstr "Bestellung"
3353
-
3354
- #: woocommerce-germanized-shipments/src/Admin/Table.php:745
3355
- #: woocommerce-germanized-shipments/templates/myaccount/order-shipments.php:73
3356
  #, php-format
3357
  msgctxt "shipment title"
3358
  msgid "%s #%s"
3359
  msgstr "%s #%s"
3360
 
3361
- #: woocommerce-germanized-shipments/src/Admin/Table.php:758
3362
  #, php-format
3363
  msgctxt "shipments"
3364
  msgid "via %s"
3365
  msgstr "via %s"
3366
 
3367
  # @ woocommerce-germanized
3368
- #: woocommerce-germanized-shipments/src/Admin/Table.php:825
3369
- #: woocommerce-germanized-shipments/src/Ajax.php:282
3370
- msgctxt "shipments"
3371
- msgid "Download label"
3372
- msgstr "Label downloaden"
3373
-
3374
- # @ woocommerce-germanized
3375
- #: woocommerce-germanized-shipments/src/Admin/Table.php:834
3376
  msgctxt "shipments"
3377
  msgid "Generate label"
3378
  msgstr "Label erstellen"
3379
 
3380
  # @ woocommerce-germanized
3381
- #: woocommerce-germanized-shipments/src/Admin/Table.php:884
3382
  #, php-format
3383
  msgctxt "shipments"
3384
  msgid "Select %s"
3385
  msgstr "Wähle %s"
3386
 
3387
- #: woocommerce-germanized-shipments/src/Admin/Table.php:911
3388
  msgctxt "shipments"
3389
  msgid "SKU:"
3390
  msgstr "Art.-Nr.:"
3391
 
3392
- #: woocommerce-germanized-shipments/src/Admin/Table.php:1005
3393
  #, php-format
3394
  msgctxt "%s = human-readable time difference"
3395
  msgid "%s ago"
3396
  msgstr "vor %s"
3397
 
3398
- #: woocommerce-germanized-shipments/src/Admin/Table.php:1017
3399
  msgctxt "shipments"
3400
  msgid "M j, Y"
3401
  msgstr "d.m.Y"
3402
 
3403
- #: woocommerce-germanized-shipments/src/Admin/Table.php:1074
3404
  msgctxt "shipments"
3405
  msgid "Delete Permanently"
3406
  msgstr "Unwiderruflich löschen"
3407
 
3408
- #: woocommerce-germanized-shipments/src/Admin/Table.php:1077
3409
  msgctxt "shipments"
3410
  msgid "Change status to processing"
3411
  msgstr "Status zu in Bearbeitung ändern"
3412
 
3413
- #: woocommerce-germanized-shipments/src/Admin/Table.php:1078
3414
  msgctxt "shipments"
3415
  msgid "Change status to shipped"
3416
  msgstr "Status zu versandt ändern"
3417
 
3418
- #: woocommerce-germanized-shipments/src/Admin/Table.php:1079
3419
  msgctxt "shipments"
3420
  msgid "Change status to delivered"
3421
  msgstr "Status zu geliefert ändern"
3422
 
3423
  # @ woocommerce-germanized
3424
- #: woocommerce-germanized-shipments/src/Admin/Table.php:1080
3425
  msgctxt "shipments"
3426
  msgid "Generate and download labels"
3427
  msgstr "Labels erstellen und downloaden"
3428
 
3429
- #: woocommerce-germanized-shipments/src/Ajax.php:93
 
 
 
 
 
3430
  msgctxt "shipments"
3431
- msgid "Label successfully sent to customer."
3432
- msgstr "Label erfolgreich an den Kunden zugestellt."
3433
 
3434
- #: woocommerce-germanized-shipments/src/Ajax.php:100
3435
  msgctxt "shipments"
3436
- msgid "There was an error while sending the label."
3437
- msgstr "Beim Versendes des Labels ist ein Fehler aufgetreten."
3438
 
3439
- #: woocommerce-germanized-shipments/src/Ajax.php:120
 
 
 
 
 
3440
  msgctxt "shipments"
3441
  msgid "There was an error creating the label."
3442
  msgstr "Beim Erstellen des Labels ist ein Fehler aufgetreten."
3443
 
3444
- #: woocommerce-germanized-shipments/src/Ajax.php:156
3445
  msgctxt "shipments"
3446
  msgid "There was an error deleting the label."
3447
  msgstr "Beim Löschen des Labels ist ein Fehler aufgetreten."
3448
 
3449
- #: woocommerce-germanized-shipments/src/Ajax.php:197
3450
  msgctxt "shipments"
3451
  msgid "There was an error processing the label."
3452
  msgstr "Bei der Verarbeitung des Labels ist ein Fehler aufgetreten."
3453
 
3454
- #: woocommerce-germanized-shipments/src/Ajax.php:294
3455
  msgctxt "shipments"
3456
  msgid "There was an error while trying to save the shipping provider status."
3457
  msgstr ""
3458
  "Beim Speichern des Status des Versanddienstleisters trat ein Fehler auf."
3459
 
3460
- #: woocommerce-germanized-shipments/src/Ajax.php:332
3461
  msgctxt "shipments"
3462
  msgid "There was an error while trying to delete the shipping provider."
3463
  msgstr "Beim Löschen des Versanddienstleisters trat ein Fehler auf."
3464
 
3465
- #: woocommerce-germanized-shipments/src/Ajax.php:365
3466
  msgctxt "shipments"
3467
  msgid "There was an error while bulk processing shipments."
3468
  msgstr ""
3469
  "Bei der Verarbeitung der Mehrfachaktionen von Sendungen trat ein Fehler auf."
3470
 
3471
- #: woocommerce-germanized-shipments/src/Ajax.php:477
3472
- #: woocommerce-germanized-shipments/src/Ajax.php:575
3473
- #: woocommerce-germanized-shipments/src/Ajax.php:631
3474
- #: woocommerce-germanized-shipments/src/Ajax.php:668
3475
- #: woocommerce-germanized-shipments/src/Ajax.php:789
3476
- #: woocommerce-germanized-shipments/src/Ajax.php:855
3477
- #: woocommerce-germanized-shipments/src/Ajax.php:898
3478
  #: woocommerce-germanized-shipments/src/Ajax.php:949
3479
- #: woocommerce-germanized-shipments/src/Ajax.php:1017
3480
- #: woocommerce-germanized-shipments/src/Ajax.php:1062
3481
- #: woocommerce-germanized-shipments/src/Ajax.php:1117
3482
- #: woocommerce-germanized-shipments/src/Ajax.php:1161
 
3483
  msgctxt "shipments"
3484
  msgid "There was an error processing the shipment"
3485
  msgstr "Fehler bei der Verarbeitung der Sendung"
3486
 
3487
- #: woocommerce-germanized-shipments/src/Ajax.php:518
3488
  msgctxt "shipments"
3489
  msgid "There was an error while adding the shipment"
3490
  msgstr "Beim Hinzufügen der Sendung ist ein Fehler aufgetreten"
3491
 
3492
- #: woocommerce-germanized-shipments/src/Ajax.php:539
3493
  msgctxt "shipments"
3494
  msgid "This order contains enough shipments already."
3495
  msgstr "Diese Bestellung beinhaltet bereits genug Sendungen."
3496
 
 
 
 
 
 
3497
  # @ woocommerce-germanized
3498
  #: woocommerce-germanized-shipments/src/Api.php:104
3499
  msgctxt "shipments"
@@ -3691,102 +3893,314 @@ msgctxt "shipments"
3691
  msgid "Order is fully shipped."
3692
  msgstr "Bestellung ist vollständig versandt."
3693
 
3694
- #: woocommerce-germanized-shipments/src/DataStores/ShipmentItem.php:191
3695
  msgctxt "shipments"
3696
  msgid "Invalid shipment item."
3697
  msgstr "Ungültige Sendungsposition."
3698
 
3699
- #: woocommerce-germanized-shipments/src/DataStores/ShippingProvider.php:252
3700
  msgctxt "shipments"
3701
  msgid "Invalid shipping provider."
3702
  msgstr "Versanddienstleister nicht bekannt."
3703
 
3704
- #: woocommerce-germanized-shipments/src/ReturnShipment.php:366
3705
- #: woocommerce-germanized-shipments/src/Shipment.php:842
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3706
  #, php-format
3707
  msgctxt "full name"
3708
  msgid "%1$s %2$s"
3709
  msgstr "%1$s %2$s"
3710
 
3711
- #: woocommerce-germanized-shipments/src/ReturnShipment.php:430
3712
- #: woocommerce-germanized-shipments/src/ReturnShipment.php:483
3713
  msgctxt "shipments"
3714
- msgid "Invalid shipment"
3715
- msgstr "Ungültige Sendung"
 
 
 
 
 
 
 
 
 
3716
 
3717
- #: woocommerce-germanized-shipments/src/ShippingProvider.php:409
3718
  #, php-format
3719
  msgctxt "shipments"
3720
  msgid "%s supports many more options. Explore %s."
3721
  msgstr "%s unterstützt viele weitere Einstellungen. Schau dir %s an."
3722
 
3723
- #: woocommerce-germanized-shipments/src/ShippingProvider.php:409
3724
- #, php-format
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3725
  msgctxt "shipments"
3726
- msgid "%s specific settings"
3727
- msgstr "%s spezifische Einstellungen"
3728
 
3729
- #: woocommerce-germanized-shipments/src/ShippingProvider.php:420
3730
  msgctxt "shipments"
3731
- msgid "Choose a title for the shipping provider."
3732
- msgstr "Wähle einen Titel für den Versanddienstleister."
3733
 
3734
- #: woocommerce-germanized-shipments/src/ShippingProvider.php:429
3735
  msgctxt "shipments"
3736
- msgid "Choose a description for the shipping provider."
3737
- msgstr "Wähle eine Beschreibung für den Versanddienstleister."
3738
 
3739
- #: woocommerce-germanized-shipments/src/ShippingProvider.php:441
3740
  msgctxt "shipments"
3741
- msgid "Tracking URL"
3742
- msgstr "Sendungsverfolgung URL"
3743
 
3744
- #: woocommerce-germanized-shipments/src/ShippingProvider.php:442
3745
  #, php-format
3746
  msgctxt "shipments"
3747
  msgid ""
3748
- "Adjust the placeholder used to construct the tracking URL for this shipping "
3749
- "provider. You may use on of the following placeholders to insert the "
3750
- "tracking id or other dynamic data: %s"
3751
  msgstr ""
3752
- "Passe den Platzhalter zur Konstruktion der URL zur Sendungsverfolgung für "
3753
- "den Versanddienstleister an. Du kannst einen der folgenden Platzhalter "
3754
- "verwenden um die Paketverfolgungsnummer oder andere dynamische Daten "
3755
- "einzufügen: %s"
3756
 
3757
  # @ woocommerce-germanized
3758
- #: woocommerce-germanized-shipments/src/ShippingProvider.php:452
3759
  msgctxt "shipments"
3760
- msgid "Tracking description"
3761
- msgstr "Sendungsverfolgung Hinweis"
3762
 
3763
- #: woocommerce-germanized-shipments/src/ShippingProvider.php:453
3764
- #, php-format
 
 
 
 
 
3765
  msgctxt "shipments"
3766
  msgid ""
3767
- "Adjust the placeholder used to construct the tracking description for this "
3768
- "shipping provider (e.g. used within notification emails). You may use on of "
3769
- "the following placeholders to insert the tracking id or other dynamic data: "
3770
- "%s"
 
 
3771
  msgstr ""
3772
- "Passe den Platzhalter zur Konstruktion des Hinweises zur Sendungsverfolgung "
3773
- "für den Versanddienstleister an. Du kannst einen der folgenden Platzhalter "
3774
- "verwenden um die Paketverfolgungsnummer oder andere dynamische Daten "
3775
- "einzufügen: %s"
 
3776
 
3777
- #: woocommerce-germanized-shipments/src/ShippingProvider.php:457
 
 
 
 
 
 
3778
  msgctxt "shipments"
3779
  msgid ""
3780
- "Your shipment is being processed by {shipping_provider}. If you want to "
3781
- "track the shipment, please use the following tracking number: {tracking_id}. "
3782
- "Depending on the chosen shipping method it is possible that the tracking "
3783
- "data does not reflect the current status when receiving this email."
3784
  msgstr ""
3785
- "Deine Sendung wurde mit {shipping_provider} versandt. Wenn du diese Sendung "
3786
- "verfolgen möchtest, benutze bitte diese Paketverfolgungsnummer: "
3787
- "{tracking_id}. Abhängig von der gewählten Versandoption kann es sein, dass "
3788
- "die Paketverfolgungsdaten zum Zeitpunkt des Erhalts dieser E-Mail noch nicht "
3789
- "den neuesten Stand wiedergeben."
3790
 
3791
  #: woocommerce-germanized-shipments/src/ShippingProviderMethod.php:50
3792
  msgctxt "shipments"
@@ -3808,18 +4222,96 @@ msgstr ""
3808
  "kommende Sendung hinterlegt wird."
3809
 
3810
  # @ woocommerce-germanized
3811
- #: woocommerce-germanized-shipments/src/WPMLHelper.php:57
3812
  #, php-format
3813
  msgctxt "shipments"
3814
  msgid "%s tracking description"
3815
  msgstr "%s Sendungsverfolgung"
3816
 
3817
- #: woocommerce-germanized-shipments/src/WPMLHelper.php:58
3818
  #, php-format
3819
  msgctxt "shipments"
3820
  msgid "%s tracking URL"
3821
  msgstr "%s Sendungsverfolgung URL"
3822
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3823
  #: woocommerce-germanized-shipments/templates/emails/customer-shipment.php:33
3824
  #: woocommerce-germanized-shipments/templates/emails/plain/customer-shipment.php:28
3825
  #, php-format
@@ -3856,17 +4348,16 @@ msgstr "Details zu deiner %s"
3856
 
3857
  # @ woocommerce-germanized
3858
  #: woocommerce-germanized-shipments/templates/emails/email-shipment-details.php:54
3859
- #: woocommerce-germanized-shipments/templates/shipment/shipment-details.php:49
 
3860
  msgctxt "shipments"
3861
  msgid "Product"
3862
  msgstr "Produkt"
3863
 
3864
- # @ woocommerce-germanized
3865
  #: woocommerce-germanized-shipments/templates/emails/email-shipment-tracking.php:27
3866
- #: woocommerce-germanized-shipments/templates/emails/plain/email-shipment-tracking.php:21
3867
  msgctxt "shipments"
3868
- msgid "Delivery:"
3869
- msgstr "Lieferung:"
3870
 
3871
  #: woocommerce-germanized-shipments/templates/emails/email-shipment-tracking.php:30
3872
  #: woocommerce-germanized-shipments/templates/emails/plain/email-shipment-tracking.php:24
@@ -3889,7 +4380,73 @@ msgctxt "shipments"
3889
  msgid "View shipment: %s"
3890
  msgstr "Sendung anzeigen: %s"
3891
 
3892
- #: woocommerce-germanized-shipments/templates/myaccount/order-shipments.php:84
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3893
  msgctxt "shipments"
3894
  msgid "track now"
3895
  msgstr "nachverfolgen"
@@ -3900,6 +4457,11 @@ msgctxt "shipments"
3900
  msgid "Shipment #%1$s was created on %2$s and is currently %3$s."
3901
  msgstr "Sendung #%1$s vom %2$s ist aktuell %3$s."
3902
 
 
 
 
 
 
3903
  # @ woocommerce-germanized
3904
  #: woocommerce-germanized-shipments/templates/shipment/shipment-details-address.php:25
3905
  msgctxt "shipments"
@@ -3907,7 +4469,7 @@ msgid "Shipment receiver"
3907
  msgstr "Sendungsempfänger"
3908
 
3909
  # @ woocommerce-germanized
3910
- #: woocommerce-germanized-shipments/templates/shipment/shipment-details.php:43
3911
  msgctxt "shipments"
3912
  msgid "Shipment details"
3913
  msgstr "Details zur Sendung"
@@ -4265,6 +4827,12 @@ msgstr "Erste Schritte"
4265
  msgid "Start tutorial"
4266
  msgstr "Tutorial starten"
4267
 
 
 
 
 
 
 
4268
  # @ woocommerce-germanized
4269
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-setup-wizard.php:99
4270
  msgid "Import settings"
@@ -4426,7 +4994,7 @@ msgid "Welcome to Germanized"
4426
  msgstr "Willkommen bei Germanized"
4427
 
4428
  # @ woocommerce-germanized
4429
- #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-welcome.php:258
4430
  msgid "Go to Germanized Settings"
4431
  msgstr "Germanized Einstellungen"
4432
 
@@ -5289,8 +5857,8 @@ msgstr ""
5289
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-customers-controller.php:140
5290
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-orders-controller.php:138
5291
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-orders-controller.php:145
5292
- #: woocommerce-germanized/includes/class-wc-gzd-checkout.php:529
5293
- #: woocommerce-germanized/includes/class-wc-gzd-checkout.php:540
5294
  #: woocommerce-germanized/includes/class-wc-gzd-customer-helper.php:114
5295
  #: woocommerce-germanized/includes/class-wc-gzd-customer-helper.php:122
5296
  msgid "Title"
@@ -6619,7 +7187,7 @@ msgstr "Name"
6619
  #: woocommerce-germanized/includes/admin/settings/views/html-admin-page-checkboxes.php:12
6620
  #: woocommerce-germanized/includes/admin/settings/views/html-admin-settings-tabs.php:29
6621
  #: woocommerce-germanized/includes/class-wc-gzd-legal-checkbox.php:779
6622
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:886
6623
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:121
6624
  msgid "Description"
6625
  msgstr "Beschreibung"
@@ -6766,6 +7334,21 @@ msgstr ""
6766
  "bessere Performance"
6767
 
6768
  #: woocommerce-germanized/includes/admin/views/html-notice-dhl.php:21
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6769
  msgctxt "dhl"
6770
  msgid ""
6771
  "Perfectly integrated in Germanized &ndash; easily create labels for shipments"
@@ -6773,18 +7356,18 @@ msgstr ""
6773
  "Perfekt integriert in Germanized &ndash; erzeuge einfach DHL Labels für "
6774
  "Sendungen und Retouren"
6775
 
6776
- #: woocommerce-germanized/includes/admin/views/html-notice-dhl.php:26
6777
  msgctxt "dhl"
6778
  msgid "Learn more"
6779
  msgstr "Mehr erfahren"
6780
 
6781
- #: woocommerce-germanized/includes/admin/views/html-notice-dhl.php:28
6782
  msgctxt "dhl"
6783
  msgid "Import settings and activate"
6784
  msgstr "Einstellungen importieren und loslegen"
6785
 
6786
  # @ woocommerce-germanized
6787
- #: woocommerce-germanized/includes/admin/views/html-notice-dhl.php:32
6788
  #: woocommerce-germanized/includes/admin/views/html-notice-pro.php:29
6789
  #: woocommerce-germanized/includes/admin/views/html-notice-theme-supported.php:21
6790
  msgid "Hide this notice"
@@ -7271,7 +7854,7 @@ msgstr ""
7271
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-customers-controller.php:147
7272
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-orders-controller.php:159
7273
  #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:39
7274
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:882
7275
  #: woocommerce-germanized/includes/gateways/direct-debit/views/html-export.php:30
7276
  msgid "Direct Debit"
7277
  msgstr "Lastschrift"
@@ -7283,9 +7866,9 @@ msgstr "Lastschrift"
7283
  #: woocommerce-germanized/includes/class-wc-gzd-privacy.php:117
7284
  #: woocommerce-germanized/includes/class-wc-gzd-privacy.php:166
7285
  #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:117
7286
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:592
7287
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:908
7288
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1054
7289
  msgid "Account Holder"
7290
  msgstr "Kontoinhaber"
7291
 
@@ -7296,10 +7879,10 @@ msgstr "Kontoinhaber"
7296
  #: woocommerce-germanized/includes/class-wc-gzd-privacy.php:118
7297
  #: woocommerce-germanized/includes/class-wc-gzd-privacy.php:167
7298
  #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:124
7299
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:593
7300
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:916
7301
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1058
7302
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1188
7303
  msgid "IBAN"
7304
  msgstr "IBAN"
7305
 
@@ -7310,9 +7893,9 @@ msgstr "IBAN"
7310
  #: woocommerce-germanized/includes/class-wc-gzd-privacy.php:119
7311
  #: woocommerce-germanized/includes/class-wc-gzd-privacy.php:168
7312
  #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:131
7313
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:594
7314
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1062
7315
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1189
7316
  msgid "BIC/SWIFT"
7317
  msgstr "BIC/SWIFT"
7318
 
@@ -7323,7 +7906,7 @@ msgstr "Paketdienstleister Datenweitergabe"
7323
  # @ woocommerce-germanized
7324
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-orders-controller.php:179
7325
  #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:138
7326
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:598
7327
  msgid "Mandate Reference ID"
7328
  msgstr "Mandat-Referenznummer"
7329
 
@@ -7666,85 +8249,85 @@ msgstr ""
7666
  "Bitte installiere <a href=\"%s\" target=\"_blank\">WooCommerce</a> bevor du "
7667
  "WooCommerce Germanized installierst. Vielen Dank!"
7668
 
7669
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:439
7670
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:453
7671
  msgid "Reduced rate"
7672
  msgstr "Ermäßigter Steuersatz"
7673
 
7674
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:495
7675
  #, php-format
7676
  msgctxt "vat-rate-import"
7677
  msgid "VAT %s"
7678
  msgstr "MwSt. %s"
7679
 
7680
  # @ woocommerce-germanized
7681
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:599
7682
  msgctxt "Page slug"
7683
  msgid "data-security"
7684
  msgstr "datenschutzerklaerung"
7685
 
7686
  # @ woocommerce-germanized
7687
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:600
7688
  msgctxt "Page title"
7689
  msgid "Data Security Statement"
7690
  msgstr "Datenschutzerklärung"
7691
 
7692
  # @ woocommerce-germanized
7693
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:604
7694
  msgctxt "Page slug"
7695
  msgid "imprint"
7696
  msgstr "impressum"
7697
 
7698
  # @ woocommerce-germanized
7699
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:605
7700
  msgctxt "Page title"
7701
  msgid "Imprint"
7702
  msgstr "Impressum"
7703
 
7704
  # @ woocommerce-germanized
7705
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:609
7706
  msgctxt "Page slug"
7707
  msgid "terms"
7708
  msgstr "agb"
7709
 
7710
  # @ woocommerce-germanized
7711
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:610
7712
  msgctxt "Page title"
7713
  msgid "Terms & Conditions"
7714
  msgstr "AGB"
7715
 
7716
  # @ woocommerce-germanized
7717
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:614
7718
  msgctxt "Page slug"
7719
  msgid "revocation"
7720
  msgstr "widerrufsbelehrung"
7721
 
7722
  # @ woocommerce-germanized
7723
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:615
7724
  msgctxt "Page title"
7725
  msgid "Power of Revocation"
7726
  msgstr "Widerrufsbelehrung"
7727
 
7728
  # @ woocommerce-germanized
7729
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:619
7730
  msgctxt "Page slug"
7731
  msgid "shipping-methods"
7732
  msgstr "versandarten"
7733
 
7734
  # @ woocommerce-germanized
7735
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:620
7736
  msgctxt "Page title"
7737
  msgid "Shipping Methods"
7738
  msgstr "Versandarten"
7739
 
7740
  # @ woocommerce-germanized
7741
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:624
7742
  msgctxt "Page slug"
7743
  msgid "payment-methods"
7744
  msgstr "bezahlmoeglichkeiten"
7745
 
7746
  # @ woocommerce-germanized
7747
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:625
7748
  msgctxt "Page title"
7749
  msgid "Payment Methods"
7750
  msgstr "Zahlungsarten"
@@ -7914,7 +8497,7 @@ msgstr ""
7914
 
7915
  # @ woocommerce-germanized
7916
  #: woocommerce-germanized/includes/class-wc-gzd-legal-checkbox-manager.php:209
7917
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:973
7918
  msgid "I hereby agree to the {link}direct debit mandate{/link}."
7919
  msgstr "Hiermit erteile ich das {link}SEPA Lastschriftmandat{/link}."
7920
 
@@ -8692,16 +9275,16 @@ msgid "SEPA XML Export"
8692
  msgstr "SEPA XML Export"
8693
 
8694
  # @ woocommerce-germanized
8695
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:497
8696
  #, php-format
8697
  msgid "Order %s"
8698
  msgstr "Bestellung %s"
8699
 
8700
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:524
8701
  msgid "Will be notified separately"
8702
  msgstr "Wird separat mitgeteilt"
8703
 
8704
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:613
8705
  #, php-format
8706
  msgid ""
8707
  "We will debit %s from your account by direct debit on or shortly after %s."
@@ -8710,105 +9293,105 @@ msgstr ""
8710
  "%s ein."
8711
 
8712
  # @ woocommerce-germanized
8713
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:757
8714
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:789
8715
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:822
8716
  msgid "a single payment"
8717
  msgstr "eine einmalige Zahlung"
8718
 
8719
  # @ woocommerce-germanized
8720
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:873
8721
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:108
8722
  msgid "Enable/Disable"
8723
  msgstr "Aktivieren/Deaktivieren"
8724
 
8725
  # @ woocommerce-germanized
8726
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:875
8727
  msgid "Enable Direct Debit Payment"
8728
  msgstr "Bezahlung per Lastschrift aktivieren"
8729
 
8730
  # @ woocommerce-germanized
8731
  # @ woocommerce
8732
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:879
8733
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:114
8734
  msgctxt "gateway"
8735
  msgid "Title"
8736
  msgstr "Bezeichnung"
8737
 
8738
  # @ woocommerce-germanized
8739
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:881
8740
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:116
8741
  msgid "This controls the title which the user sees during checkout."
8742
  msgstr ""
8743
  "Beschreibungstext, den Benutzer bei der Auswahl dieser Zahlungsart sehen."
8744
 
8745
  # @ woocommerce-germanized
8746
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:888
8747
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:123
8748
  msgid "Payment method description that the customer will see on your checkout."
8749
  msgstr "Beschreibung der Zahlungsart, die Kunden auf deiner Website sehen."
8750
 
8751
  # @ woocommerce-germanized
8752
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:889
8753
  msgid "The order amount will be debited directly from your bank account."
8754
  msgstr ""
8755
  "Der Gesamtbestellbetrag wird per SEPA-Lastschrift direkt von deinem Konto "
8756
  "abgebucht."
8757
 
8758
  # @ woocommerce-germanized
8759
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:893
8760
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:128
8761
  msgid "Instructions"
8762
  msgstr "Anweisungen"
8763
 
8764
  # @ woocommerce-germanized
8765
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:895
8766
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:130
8767
  msgid "Instructions that will be added to the thank you page and emails."
8768
  msgstr "Anweisung, die zur „Danke“-Seite und zu E-Mails hinzugefügt werden."
8769
 
8770
  # @ woocommerce-germanized
8771
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:900
8772
  msgid "Debtee"
8773
  msgstr "Gläubiger Informationen"
8774
 
8775
  # @ woocommerce-germanized
8776
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:902
8777
  msgid "Insert your company information."
8778
  msgstr "Füge hier die Informationen zu deinem Unternehmen ein."
8779
 
8780
  # @ woocommerce-germanized
8781
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:904
8782
  msgid "Company Inc, John Doe Street, New York"
8783
  msgstr "Musterfirma GmbH, Musterstraße 12, 12203 Musterstadt"
8784
 
8785
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:910
8786
  msgid "Insert the bank account holder name."
8787
  msgstr "Füge hier den Namen des Kontoinhabers ein."
8788
 
8789
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:912
8790
  msgid "Company Inc"
8791
  msgstr "Muster GmbH"
8792
 
8793
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:918
8794
  msgid "Insert the bank account IBAN."
8795
  msgstr "Füge hier den IBAN deines Kontos ein."
8796
 
8797
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:923
8798
  msgid "BIC"
8799
  msgstr "BIC"
8800
 
8801
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:925
8802
  msgid "Insert the bank account BIC."
8803
  msgstr "Füge hier den BIC deines Kontos ein."
8804
 
8805
  # @ woocommerce-germanized
8806
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:930
8807
  msgid "Debtee identification number"
8808
  msgstr "Identifikationsnummer"
8809
 
8810
  # @ woocommerce-germanized
8811
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:932
8812
  #, php-format
8813
  msgid ""
8814
  "Insert your debtee indentification number. More information can be found <a "
@@ -8818,16 +9401,16 @@ msgstr ""
8818
  "Weitere Informationen zu dieser Nummer erhältst du <a href=\"%s\">hier</a>."
8819
 
8820
  # @ woocommerce-germanized
8821
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:936
8822
  msgid "Generate Mandate ID"
8823
  msgstr "Mandat-Referenz generieren"
8824
 
8825
  # @ woocommerce-germanized
8826
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:938
8827
  msgid "Automatically generate Mandate ID."
8828
  msgstr "Mandat-Referenznummer automatisch generieren."
8829
 
8830
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:939
8831
  msgid ""
8832
  "Automatically generate Mandate ID after order completion (based on Order ID)."
8833
  msgstr ""
@@ -8835,11 +9418,11 @@ msgstr ""
8835
  "basierend auf der Bestellnummer."
8836
 
8837
  # @ woocommerce-germanized
8838
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:943
8839
  msgid "XML Pain Format"
8840
  msgstr "XML Pain Format"
8841
 
8842
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:945
8843
  msgid ""
8844
  "You may adjust the XML Export Pain Schema to your banks needs. Some banks "
8845
  "may require pain.001.003.03."
@@ -8848,11 +9431,11 @@ msgstr ""
8848
  "Banken benötigen z.B. pain.001.003.03."
8849
 
8850
  # @ woocommerce-germanized
8851
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:949
8852
  msgid "Mandate ID Format"
8853
  msgstr "Mandat-Referenz Format"
8854
 
8855
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:951
8856
  msgid ""
8857
  "You may extend the Mandate ID format by adding a prefix and/or suffix. Use "
8858
  "{id} as placeholder to insert the automatically generated ID."
@@ -8861,12 +9444,12 @@ msgstr ""
8861
  "{id} als Platzhalter um die automatisch generierte Referenznummer einzufügen."
8862
 
8863
  # @ woocommerce-germanized
8864
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:955
8865
  msgid "Mandate Text"
8866
  msgstr "Lastschriftmandat"
8867
 
8868
  # @ woocommerce-germanized
8869
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:957
8870
  msgid ""
8871
  "This text will be populated with live order/checkout data. Will be used as "
8872
  "preview direct debit mandate and as email template text."
@@ -8877,28 +9460,28 @@ msgstr ""
8877
  "Verfügung gestellt."
8878
 
8879
  # @ woocommerce-germanized
8880
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:963
8881
  msgid "Checkbox"
8882
  msgstr "Checkbox"
8883
 
8884
  # @ woocommerce-germanized
8885
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:964
8886
  msgid "Enable \"agree to SEPA mandate\" checkbox"
8887
  msgstr "Aktiviere die Checkbox zur Bestätigung des Lastschriftmandates"
8888
 
8889
  # @ woocommerce-germanized
8890
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:966
8891
  msgid "Enable a checkbox linking to a SEPA direct debit mandate preview."
8892
  msgstr ""
8893
  "Aktiviere eine Checkbox, die zu einer Vorschau des Lastschrift-Mandats führt."
8894
 
8895
  # @ woocommerce-germanized
8896
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:970
8897
  msgid "Checkbox label"
8898
  msgstr "Checkbox Text"
8899
 
8900
  # @ woocommerce-germanized
8901
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:972
8902
  msgid ""
8903
  "Customize the checkbox label. Use {link}link name{/link} to insert the "
8904
  "preview link."
@@ -8906,17 +9489,17 @@ msgstr ""
8906
  "Passe den Checkbox Text an. Verwende {link}SEPA Lastschriftmandat{/link} um "
8907
  "auf die Vorschau zu verlinken."
8908
 
8909
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:977
8910
  msgid "Enable pre-notification"
8911
  msgstr "Vorankündigung aktivieren"
8912
 
8913
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:978
8914
  msgid "Insert pre-notification text within the order confirmation email."
8915
  msgstr ""
8916
  "Fügt einen Standard-Text zur Vorankündigung des SEPA-Einzugs in die "
8917
  "Bestellbestätigung ein."
8918
 
8919
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:980
8920
  msgid ""
8921
  "This option inserts a standard text containing a pre-notification for the "
8922
  "customer."
@@ -8925,11 +9508,11 @@ msgstr ""
8925
  "die Bestellbestätigung ein. In der Ankündigung wird u.a. ein konkreter "
8926
  "Fälligkeitstermin genannt."
8927
 
8928
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:984
8929
  msgid "Debit days"
8930
  msgstr "Fälligkeitstage"
8931
 
8932
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:986
8933
  msgid ""
8934
  "This option is used to calculate the debit date and is added to the order "
8935
  "date."
@@ -8939,15 +9522,15 @@ msgstr ""
8939
  "hier eingestellten Anzahl Tage."
8940
 
8941
  # @ woocommerce-germanized
8942
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:990
8943
  msgid "Mask IBAN"
8944
  msgstr "IBAN maskieren"
8945
 
8946
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:991
8947
  msgid "Mask the IBAN within emails."
8948
  msgstr "IBAN in E-Mails maskieren."
8949
 
8950
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:993
8951
  msgid ""
8952
  "This will lead to masked IBANs within emails (replaced by *). All but last 4 "
8953
  "digits will be masked."
@@ -8955,15 +9538,15 @@ msgstr ""
8955
  "Der IBAN wird in E-Mails (abgesehen von den letzten 4 Stellen) mit * "
8956
  "maskiert."
8957
 
8958
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1003
8959
  msgid "Remember"
8960
  msgstr "Bankdaten merken"
8961
 
8962
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1004
8963
  msgid "Remember account data for returning customers."
8964
  msgstr "Bankverbindung für registrierte Kunden speichern."
8965
 
8966
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1006
8967
  msgid "Save account data as user meta if user has/creates a customer account."
8968
  msgstr ""
8969
  "Speichert die Bankverbindung für registrierte Kunden in der user_meta "
@@ -8971,32 +9554,32 @@ msgstr ""
8971
  "eigenständig aus."
8972
 
8973
  # @ woocommerce-germanized
8974
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1116
8975
  msgid "Please insert your SEPA account data."
8976
  msgstr "Bitte füge deine SEPA Kontoinformationen ein."
8977
 
8978
  # @ woocommerce-germanized
8979
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1138
8980
  msgid "Your IBAN seems to be invalid."
8981
  msgstr "Dein IBAN scheint nicht gültig zu sein."
8982
 
8983
  # @ woocommerce-germanized
8984
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1140
8985
  msgid "Your IBAN's country code doesn’t match with your billing country."
8986
  msgstr "Der Ländercode des IBANs stimmt nicht mit dem Rechnungsland überein."
8987
 
8988
  # @ woocommerce-germanized
8989
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1145
8990
  msgid "Your BIC seems to be invalid."
8991
  msgstr "Dein BIC/SWIFT scheint nicht gültig zu sein."
8992
 
8993
  # @ woocommerce-germanized
8994
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1190
8995
  msgid "is invalid"
8996
  msgstr "ist ungültig"
8997
 
8998
  # @ woocommerce-germanized
8999
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1237
9000
  msgid "Awaiting Direct Debit Payment"
9001
  msgstr "Zahlung per Lastschrift ausstehend"
9002
 
@@ -10785,120 +11368,98 @@ msgstr "Vendidero"
10785
  msgid "https://vendidero.de"
10786
  msgstr "https://vendidero.de"
10787
 
10788
- #~ msgctxt "dhl"
10789
- #~ msgid "Tracking"
10790
- #~ msgstr "Sendungsverfolgung"
10791
-
10792
- #, php-format
10793
  #~ msgctxt "dhl"
10794
  #~ msgid ""
10795
- #~ "Adjust the default instructions used to inform your customers about "
10796
- #~ "tracking a DHL shipment. You may use one of the following placeholders: %s"
 
 
 
10797
  #~ msgstr ""
10798
- #~ "Passe die Instruktionen an um Kunden über die DHL Sendungsverfolgung zu "
10799
- #~ "informieren. Du kannst einen der folgenden Platzhalter verwenden: %s"
10800
-
10801
- # @ woocommerce-germanized
10802
- #~ msgctxt "shipments"
10803
- #~ msgid "Return reason"
10804
- #~ msgstr "Rücksendegrund"
10805
 
10806
- # @ woocommerce-germanized
10807
- #~ msgctxt "shipments return reason"
10808
- #~ msgid "None"
10809
- #~ msgstr "Keiner"
10810
 
10811
  # @ woocommerce-germanized
10812
- #~ msgctxt "shipments"
10813
- #~ msgid "Order return"
10814
- #~ msgstr "Retoure zur Bestellung"
 
 
10815
 
10816
- #~ msgctxt "shipments"
10817
  #~ msgid ""
10818
- #~ "Order return notifications are sent to the customer after a return "
10819
- #~ "shipment was marked as processing."
10820
  #~ msgstr ""
10821
- #~ "Benachrichtigungen über Retouren werden an den Kunden verschickt, nachdem "
10822
- #~ "eine Retoure als in Bearbeitung markiert wurde."
10823
 
10824
- #~ msgctxt "shipments"
10825
- #~ msgid "Return to your order {order_number}"
10826
- #~ msgstr "Rücksendung zu deiner Bestellung {order_number}"
10827
 
10828
- #~ msgctxt "shipments"
10829
- #~ msgid "Return to your order: {order_number}"
10830
- #~ msgstr "Rücksendung zu deiner Bestellung {order_number}"
10831
 
10832
- #~ msgctxt "shipments"
10833
- #~ msgid "Requested"
10834
- #~ msgstr "Beantragt"
 
10835
 
10836
- #~ msgctxt "shipments"
10837
- #~ msgid "Request return"
10838
- #~ msgstr "Rücksendung beantragen"
10839
 
10840
- # @ woocommerce-germanized
10841
- #~ msgctxt "shipments"
10842
- #~ msgid "View shipment"
10843
- #~ msgstr "Sendung anzeigen"
10844
 
10845
- # @ woocommerce-germanized
10846
- #~ msgctxt "shipments"
10847
- #~ msgid "Return reasons"
10848
- #~ msgstr "Rücksendegründe"
10849
 
10850
- # @ woocommerce-germanized
10851
- #~ msgctxt "shipments"
10852
- #~ msgid "Choose a reason text."
10853
- #~ msgstr "Beschreibung für den Grund."
 
 
 
10854
 
10855
- # @ woocommerce-germanized
10856
  #~ msgctxt "shipments"
10857
- #~ msgid "+ Add reason"
10858
- #~ msgstr "+ Grund hinzufügen"
10859
 
10860
  #~ msgctxt "shipments"
10861
- #~ msgid "Remove selected reason(s)"
10862
- #~ msgstr "Ausgewählte Gründe löschen"
10863
 
10864
- # @ woocommerce-germanized
10865
- #~ msgctxt "shipments"
10866
- #~ msgid "Sorry, but this shipment is not returnable."
10867
- #~ msgstr "Entschuldigung, diese Sendung kann nicht zurückgesendet werden."
10868
 
10869
- #~ msgctxt "shipments"
 
10870
  #~ msgid ""
10871
- #~ "There was an error while creating the return. Please contact us for "
10872
- #~ "further information."
10873
  #~ msgstr ""
10874
- #~ "Es gab ein Problem beim Erstellen der Rücksendung. Bitte kontaktiere uns "
10875
- #~ "für weitere Informationen."
10876
-
10877
- # @ woocommerce-germanized
10878
- #~ msgctxt "shipments"
10879
- #~ msgid "Customer returns"
10880
- #~ msgstr "Rücksendungen"
10881
-
10882
- #~ msgctxt "shipments"
10883
- #~ msgid "Allow customers to submit return requests to shipments."
10884
- #~ msgstr "Erlaube Kunden eine Rücksendung zu einer Sendung zu beantragen."
10885
-
10886
- # @ woocommerce-germanized
10887
- #~ msgctxt "shipments"
10888
- #~ msgid "Manual confirmation"
10889
- #~ msgstr "Manuelle Bestätigung"
10890
 
10891
  # @ woocommerce-germanized
10892
  #~ msgctxt "shipments"
10893
- #~ msgid "Return instructions"
10894
- #~ msgstr "Rücksende-Anweisungen"
10895
-
10896
- #, fuzzy
10897
- #~| msgctxt "shipments"
10898
- #~| msgid "Add Return"
10899
- #~ msgctxt "shipments"
10900
- #~ msgid "Add return"
10901
- #~ msgstr "Retoure hinzufügen"
10902
 
10903
  #~ msgctxt "dhl"
10904
  #~ msgid "Delete"
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Germanized\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2020-01-13 17:36+0100\n"
6
+ "PO-Revision-Date: 2020-01-13 17:37+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:938
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:958
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:990
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:998
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:725
94
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:794
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:732
101
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:801
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:360
109
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:739
110
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:808
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:361
124
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:760
125
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:829
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:362
134
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:753
135
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:822
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:776
143
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:845
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:783
150
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:852
 
151
  msgctxt "dhl"
152
  msgid "Email"
153
  msgstr "E-Mail"
175
 
176
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:226
177
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:322
178
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:523
179
  msgctxt "dhl"
180
  msgid "GoGreen"
181
  msgstr "GoGreen"
197
  msgstr "Keine Nachbarschaftszustellung"
198
 
199
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:266
200
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:551
201
  msgctxt "dhl"
202
  msgid "Named person only"
203
  msgstr "Persönliche Übergabe"
224
  msgstr "Mindestalter"
225
 
226
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:314
227
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:572
228
  msgctxt "dhl"
229
  msgid "Premium"
230
  msgstr "Premium"
311
  "Einstellungen zum Versand an DHL Standorte anpassen. Änderungen "
312
  "überschreiben die <a href=\"%s\">globalen Einstellungen</a>."
313
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
314
  # @ woocommerce-germanized
315
  #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:35
316
  #: woocommerce-germanized-dhl/src/Api/Paket.php:285
364
  msgid "Minimum age of 18"
365
  msgstr "Mindestens 18 Jahre"
366
 
367
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:118
368
  msgctxt "dhl"
369
  msgid "Shipment #{shipment_id} to order {order_id}"
370
  msgstr "Sendung #{shipment_id} zur Bestellung {order_id}"
371
 
372
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:134
373
  msgctxt "dhl"
374
+ msgid "Return #{shipment_id} to order {order_id}"
375
+ msgstr "Retoure #{shipment_id} zur Bestellung {order_id}"
376
 
377
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:150
378
  msgctxt "dhl"
379
  msgid "Return shipment #{shipment_id} to order #{order_id}"
380
  msgstr "Retourensendung #{shipment_id} zur Bestellung #{order_id}"
381
 
382
  # @ woocommerce-germanized
383
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:217
384
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:184
385
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:477
386
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:818
387
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder.php:38
388
  msgctxt "dhl"
389
  msgid "Packstation"
390
  msgstr "Packstation"
391
 
392
  # @ woocommerce-germanized
393
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:218
394
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:219
395
  msgctxt "dhl"
396
  msgid "Postfiliale"
397
  msgstr "Postfiliale"
398
 
399
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:303
400
  msgctxt "dhl"
401
  msgid "Receiver is missing or does not exist."
402
  msgstr "Empfänger fehlt oder existiert nicht."
403
 
404
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:336
405
  #, php-format
406
  msgctxt "dhl"
407
  msgid "Shipment order #%s does not exist"
408
  msgstr "Bestellung zur Sendung #%s existiert nicht"
409
 
410
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:367
411
  #, php-format
412
  msgctxt "dhl"
413
  msgid "%s of the return address is a mandatory field."
414
  msgstr "%s der Rücksendeadresse ist ein Pflichtfeld."
415
 
416
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:372
417
  msgctxt "dhl"
418
  msgid "Please either add a return company or name."
419
  msgstr ""
420
  "Bitte gib entweder einen Firmennamen oder Namen für die Rücksendeadresse an."
421
 
422
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:391
423
  msgctxt "dhl"
424
  msgid "Error while parsing preferred day."
425
  msgstr "Fehler beim Einlesen des Wunschtags."
426
 
427
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:402
428
  msgctxt "dhl"
429
  msgid "Error while parsing preferred time."
430
  msgstr "Fehler beim Einlesen der Wunschzeit."
431
 
432
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:426
433
  msgctxt "dhl"
434
  msgid "The visual min age check is invalid."
435
  msgstr "Das Alter der Alterssichtprüfung ist ungültig."
436
 
437
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:442
438
  msgctxt "dhl"
439
  msgid "The ident min age check is invalid."
440
  msgstr "Das Alter des Ident-Checks ist ungültig."
441
 
442
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:449
443
  msgctxt "dhl"
444
  msgid "There was an error parsing the date of birth for the identity check."
445
  msgstr ""
446
  "Beim Einlesen des Geburtsdatums für den Ident-Check trat ein Problem auf."
447
 
448
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:454
449
  msgctxt "dhl"
450
  msgid ""
451
  "Either a minimum age or a date of birth must be added to the ident check."
454
  "hinzugefügt werden."
455
 
456
  # @ woocommerce-germanized
457
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:467
458
  #, php-format
459
  msgctxt "dhl"
460
  msgid "%s duties element does not exist."
461
  msgstr "%s Zollabgabe existiert nicht."
462
 
463
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:860
464
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:935
465
  msgctxt "dhl"
466
  msgid "Invalid shipment"
467
  msgstr "Ungültige Sendung"
468
 
469
  # @ woocommerce-germanized
470
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:864
471
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:939
472
  msgctxt "dhl"
473
  msgid "Order does not exist"
474
  msgstr "Bestellung existiert nicht"
475
 
476
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:887
477
  msgctxt "dhl"
478
  msgid "Error while creating the label instance"
479
  msgstr "Fehler beim Erstellen der Label-Instanz"
480
 
481
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1007
482
  msgctxt "dhl"
483
  msgid "Invalid label"
484
  msgstr "Ungültiges Label"
485
 
486
  # @ woocommerce-germanized
487
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1095
488
  msgctxt "dhl"
489
  msgid "DHL Retoure International A"
490
  msgstr "DHL Retoure International A"
491
 
492
  # @ woocommerce-germanized
493
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1096
494
  msgctxt "dhl"
495
  msgid "DHL Retoure International B"
496
  msgstr "DHL Retoure International B"
497
 
498
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1105
499
  msgctxt "dhl"
500
  msgid "DHL Retoure Online"
501
  msgstr "DHL Retoure Online"
502
 
503
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1116
504
  msgctxt "dhl"
505
  msgid "DHL Paket Connect"
506
  msgstr "DHL Paket Connect"
507
 
508
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1117
509
  msgctxt "dhl"
510
  msgid "DHL Europaket (B2B)"
511
  msgstr "DHL Europaket (B2B)"
512
 
513
  # @ woocommerce-germanized
514
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1118
515
  msgctxt "dhl"
516
  msgid "DHL Paket International"
517
  msgstr "DHL Paket International"
518
 
519
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1184
520
  msgctxt "dhl"
521
  msgid "DHL Paket"
522
  msgstr "DHL Paket"
523
 
524
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1185
525
  msgctxt "dhl"
526
  msgid "DHL Paket PRIO"
527
  msgstr "DHL Paket PRIO"
528
 
529
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1186
530
  msgctxt "dhl"
531
  msgid "DHL Paket Taggleich"
532
  msgstr "DHL Paket Taggleich"
533
 
534
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1273
535
  msgctxt "dhl"
536
  msgid "Error while uploading label."
537
  msgstr "Fehler beim Hochladen des Labels."
538
 
539
  # @ woocommerce-germanized
540
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:107
541
  msgctxt "dhl"
542
  msgid "Receiver Ids"
543
  msgstr "Empfänger IDs"
544
 
545
  # @ woocommerce-germanized
546
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:114
547
  msgctxt "dhl"
548
  msgid "Receiver Id"
549
  msgstr "Empfänger ID"
550
 
551
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:114
552
  msgctxt "dhl"
553
  msgid "Find your Receiver Ids within your DHL contract data."
554
  msgstr "Die Empfänger IDs findest du im DHL Geschäftskundenportal."
555
 
556
  # @ woocommerce-germanized
557
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:115
558
  msgctxt "dhl"
559
  msgid "Country Code"
560
  msgstr "Ländercode"
561
 
562
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:115
563
  msgctxt "dhl"
564
  msgid "Leave empty to use the Receiver Id as fallback."
565
  msgstr "Leer lassen, um diese Empfänger ID als Fallback zu verwenden."
566
 
567
  # @ woocommerce-germanized
568
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:135
569
  msgctxt "dhl"
570
  msgid "+ Add receiver"
571
  msgstr "+ Empfänger hinzufügen"
572
 
573
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:135
574
  msgctxt "dhl"
575
  msgid "Remove selected receiver(s)"
576
  msgstr "Ausgewählte Empfänger löschen"
577
 
578
  # @ woocommerce-germanized
579
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:171
580
  msgctxt "dhl"
581
  msgid "Select a country"
582
  msgstr "Land auswählen"
583
 
584
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:173
585
  msgctxt "dhl"
586
  msgid "Harmonized Tariff Schedule (DHL)"
587
  msgstr "Harmonized Tariff Schedule (DHL)"
588
 
589
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:173
590
  msgctxt "dhl"
591
  msgid "This code is needed for customs of international shipping."
592
  msgstr ""
593
  "Dieser Code wird für die Zollabwicklung bei internationalen Sendungen "
594
  "benötigt."
595
 
596
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:174
597
  msgctxt "dhl"
598
  msgid "Country of manufacture (DHL)"
599
  msgstr "Herstellungsland (DHL)"
600
 
601
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:174
602
  msgctxt "dhl"
603
  msgid ""
604
  "The country of manufacture is needed for customs of international shipping."
606
  "Das Herstellungsland wird für die Zollabwicklung bei internationalen "
607
  "Sendungen benötigt."
608
 
609
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:195
610
  #, php-format
611
  msgctxt "dhl"
612
  msgid ""
616
  "Das Verzeichnis zum Speichern von DHL Labels fehlt. Bitte erstelle den "
617
  "Ordner %s manuell und stelle sicher, dass der Ordner beschreibbar ist."
618
 
619
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:202
620
+ #: woocommerce-germanized-dhl/src/ShippingProviderDHL.php:34
621
  msgctxt "dhl"
622
  msgid "DHL"
623
  msgstr "DHL"
624
 
625
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:217
626
  msgctxt "dhl"
627
  msgid "DHL Label"
628
  msgstr "DHL Label"
629
 
630
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:229
631
  msgctxt "dhl"
632
  msgid ""
633
  "This label has been generated by the DHL for WooCommerce Plugin and is shown "
637
  "Kompatibilitäts-Gründen angezeigt."
638
 
639
  # @ woocommerce-germanized
640
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:230
641
  msgctxt "dhl"
642
  msgid "Download label"
643
  msgstr "Label downloaden"
686
  "Geschäftskundenportal eingeben."
687
 
688
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:76
689
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:458
690
  msgctxt "dhl"
691
  msgid "Inlay Returns"
692
  msgstr "Beilageretouren"
701
  "solltest du diese Funktion standardmäßig aktivieren."
702
 
703
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:90
704
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:687
705
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:917
706
  msgctxt "dhl"
707
  msgid "Retoure"
708
  msgstr "Retoure"
737
 
738
  # @ woocommerce-germanized
739
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:118
740
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:711
741
  msgctxt "dhl"
742
  msgid "Automation"
743
  msgstr "Automatisierung"
763
 
764
  # @ woocommerce-germanized
765
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:151
766
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:946
767
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:966
768
  msgctxt "dhl"
769
  msgid "Fee"
770
  msgstr "Gebühr"
797
  "Folgenden konfiguriert) als Lieferadresse auswählen."
798
 
799
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:198
800
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1126
801
  msgctxt "dhl"
802
  msgid "Map"
803
  msgstr "Karte"
813
  "DHL Standortes in der Nähe noch einfacher zu machen. Du benötigst für die "
814
  "Kartenansicht einen gültigen Google Maps API Schlüssel."
815
 
816
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:219
817
  msgctxt "dhl"
818
  msgid "Enable"
819
  msgstr "Aktivieren"
820
 
821
  # @ woocommerce-germanized
822
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:220
823
  msgctxt "dhl"
824
  msgid "Enable DHL integration."
825
  msgstr "DHL Integration aktivieren."
826
 
827
  # @ woocommerce-germanized
828
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:227
829
  msgctxt "dhl"
830
  msgid "Customer Number (EKP)"
831
  msgstr "Kundennummer (EKP)"
832
 
833
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:229
834
  #, php-format
835
  msgctxt "dhl"
836
  msgid ""
840
  "Deine 10-stellige DHL Kundennummer (EKP). Finde deine %s im DHL "
841
  "Geschäftskundenportal."
842
 
843
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:229
844
  msgctxt "dhl"
845
  msgid "customer number"
846
  msgstr "Kundennummer"
847
 
848
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:238
849
  msgctxt "dhl"
850
  msgid "API"
851
  msgstr "API"
852
 
853
  # @ woocommerce-germanized
854
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:241
855
  msgctxt "dhl"
856
  msgid "Enable Sandbox"
857
  msgstr "Sandbox aktivieren"
858
 
859
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:242
860
  msgctxt "dhl"
861
  msgid "Activate Sandbox mode for testing purposes."
862
  msgstr "Aktiviere den Sandbox Modus."
863
 
864
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:249
865
  msgctxt "dhl"
866
  msgid "Live Username"
867
  msgstr "Benutzer"
868
 
869
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:251
870
  #, php-format
871
  msgctxt "dhl"
872
  msgid ""
876
  "Dein Benutzername zum DHL Geschäftskundenportal. Bitte beachte die "
877
  "Kleinschreibung und teste deine Zugangsdaten vorab %s."
878
 
879
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:251
880
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:260
881
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:269
882
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:278
883
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:295
884
  msgctxt "dhl"
885
  msgid "here"
886
  msgstr "hier"
887
 
888
  # @ woocommerce-germanized
889
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:258
890
  msgctxt "dhl"
891
  msgid "Live Password"
892
  msgstr "Passwort"
893
 
894
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:260
895
  #, php-format
896
  msgctxt "dhl"
897
  msgid ""
903
  "Gültigkeit des Passworts nach 3 (Standard-Benutzer) bzw. 12 (System-"
904
  "Benutzer) Monaten und teste deine Zugangsdaten vorab %s."
905
 
906
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:267
907
  msgctxt "dhl"
908
  msgid "Sandbox Username"
909
  msgstr "Sandbox Benutzername"
910
 
911
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:269
912
  #, php-format
913
  msgctxt "dhl"
914
  msgid ""
918
  "Dein Benutzername zum DHL Entwicklerportal. Bitte beachte die "
919
  "Kleinschreibung und teste deine Zugangsdaten vorab %s."
920
 
921
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:276
922
  msgctxt "dhl"
923
  msgid "Sandbox Password"
924
  msgstr "Sandbox Passwort"
925
 
926
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:278
927
  #, php-format
928
  msgctxt "dhl"
929
  msgid ""
933
  "Dein Passwort zum DHL Entwicklerportal. Bitte teste deine Zugangsdaten vorab "
934
  "%s."
935
 
936
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:291
937
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:326
938
  msgctxt "dhl"
939
  msgid "Products and Participation Numbers"
940
  msgstr "Produkte und Teilnahmenummern"
941
 
942
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:295
943
+ #, php-format
944
+ msgctxt "dhl"
945
+ msgid ""
946
+ "Please enter your participation number to the corresponding product. You can "
947
+ "add other participation numbers later %s."
948
+ msgstr ""
949
+ "Bitte füge deine Teilnahmenummer für das dazugehörige Produkt ein. Du kannst "
950
+ "die anderen Teilnahmenummern später %s anpassen."
951
+
952
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:326
953
  #, php-format
954
  msgctxt "dhl"
955
  msgid ""
963
  "Zeichen der dazugehörigen Abrechnungsnummer, die du in deinem %s findest (z."
964
  "B.: 01)."
965
 
966
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:326
967
  msgctxt "dhl"
968
  msgid "contract data"
969
  msgstr "Vertragsdaten"
970
 
971
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:380
972
  msgctxt "dhl"
973
  msgid "Domestic Default Service"
974
  msgstr "Nationaler Standard Service"
975
 
976
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:384
977
  msgctxt "dhl"
978
  msgid ""
979
  "Please select your default DHL shipping service for domestic shipments that "
984
  "deine Kunden anbietest (du kannst das Produkt für jede einzelne Sendung "
985
  "nachträglich ändern)."
986
 
987
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:390
988
  msgctxt "dhl"
989
  msgid "Int. Default Service"
990
  msgstr "Internationaler Standard Service"
991
 
992
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:394
993
  msgctxt "dhl"
994
  msgid ""
995
  "Please select your default DHL shipping service for cross-border shipments "
1001
  "nachträglich ändern)."
1002
 
1003
  # @ woocommerce-germanized
1004
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:400
1005
  msgctxt "dhl"
1006
  msgid "Default Duty"
1007
  msgstr "Standard Zoll"
1008
 
1009
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:404
1010
  msgctxt "dhl"
1011
  msgid "Please select a default duty type."
1012
  msgstr "Bitte wähle eine Standard-Zollabrechnung aus."
1013
 
1014
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:411
1015
  msgctxt "dhl"
1016
  msgid "Codeable"
1017
  msgstr "Leitcodierbar"
1018
 
1019
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:412
1020
  msgctxt "dhl"
1021
  msgid "Generate label only if address can be automatically retrieved DHL."
1022
  msgstr "Erzeuge Labels nur dann, wenn die Adresse von DHL erkannt wird."
1023
 
1024
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:416
1025
  msgctxt "dhl"
1026
  msgid ""
1027
  "Choose this option if you want to make sure that by default labels are only "
1032
  "ist."
1033
 
1034
  # @ woocommerce-germanized
1035
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:420
1036
  msgctxt "dhl"
1037
  msgid "Default weight"
1038
  msgstr "Standardgewicht"
1039
 
1040
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:422
1041
  msgctxt "dhl"
1042
  msgid ""
1043
  "Choose a default shipment weight to be used for labels if no weight has been "
1046
  "Wähle ein Standard Sendungsgewicht aus, das für Labels verwendet wird, für "
1047
  "die das Gewicht nicht automatisch bestimmt werden kann."
1048
 
1049
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:431
1050
  msgctxt "dhl"
1051
  msgid "Minimum weight"
1052
  msgstr "Mindestgewicht"
1053
 
1054
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:433
1055
  msgctxt "dhl"
1056
  msgid ""
1057
  "Choose a minimum weight to be used for labels e.g. to prevent low shipment "
1061
  "eines zu geringen Gewichts Fehler zurückgibt."
1062
 
1063
  # @ woocommerce-germanized
1064
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:445
1065
  msgctxt "dhl"
1066
  msgid "Street number"
1067
  msgstr "Hausnummer"
1068
 
1069
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:446
1070
  msgctxt "dhl"
1071
  msgid ""
1072
  "Force existence of a street number within the first address field during "
1075
  "Hausnummer im ersten Adressfeld verpflichtend abfragen, falls es sich um ein "
1076
  "EU-Land handelt."
1077
 
1078
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:447
1079
  msgctxt "dhl"
1080
  msgid ""
1081
  "Enabling this option will force a street number to be provided during "
1086
  "Adressfeld in der Kasse abgefragt wird. Damit verhinderst du fehlende oder "
1087
  "falsche Datensätze."
1088
 
1089
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:459
1090
  msgctxt "dhl"
1091
  msgid ""
1092
  "Additionally create inlay return labels for shipments that support returns."
1094
  "Erzeuge zusätzlich Beilage-Retourenlabels für Sendungen die Retouren "
1095
  "unterstützen."
1096
 
1097
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:478
1098
  msgctxt "dhl"
1099
  msgid "Enable delivery to Packstation."
1100
  msgstr "Aktiviere den Versand an Packstationen."
1101
 
1102
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:479
1103
  msgctxt "dhl"
1104
  msgid "Let customers choose a Packstation as delivery address."
1105
  msgstr "Kunden eine Packstation als Lieferadresse auswählen lassen."
1106
 
1107
  # @ woocommerce-germanized
1108
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:486
1109
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder.php:50
1110
  msgctxt "dhl"
1111
  msgid "Postoffice"
1112
  msgstr "Postfiliale"
1113
 
1114
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:487
1115
  msgctxt "dhl"
1116
  msgid "Enable delivery to Post Offices."
1117
  msgstr "Aktiviere den Versand an Postfilialen."
1118
 
1119
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:488
1120
  msgctxt "dhl"
1121
  msgid "Let customers choose a Post Office as delivery address."
1122
  msgstr "Kunden eine Postfiliale als Lieferadresse auswählen lassen."
1123
 
1124
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:495
1125
  msgctxt "dhl"
1126
  msgid "Parcel Shop"
1127
  msgstr "Paketshop"
1128
 
1129
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:496
1130
  msgctxt "dhl"
1131
  msgid "Enable delivery to Parcel Shops."
1132
  msgstr "Lieferung an Paketshops aktivieren."
1133
 
1134
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:497
1135
  msgctxt "dhl"
1136
  msgid "Let customers choose a Parcel Shop as delivery address."
1137
  msgstr "Kunden einen Paketshop als Lieferadresse auswählen lassen."
1138
 
1139
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:515
1140
  msgctxt "dhl"
1141
  msgid "Visual minimum age"
1142
  msgstr "Alterssichtprüfung"
1143
 
1144
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:520
1145
  msgctxt "dhl"
1146
  msgid "Choose this option if you want to let DHL check your customer's age."
1147
  msgstr ""
1148
  "Wähle diese Option aus, wenn du das Alter durch DHL prüfen lassen möchtest."
1149
 
1150
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:524
1151
  msgctxt "dhl"
1152
  msgid "Enable the GoGreen Service by default."
1153
  msgstr "Buche den GoGreen Service hinzu."
1154
 
1155
  # @ woocommerce-germanized
1156
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:530
1157
  msgctxt "dhl"
1158
  msgid "Additional Insurance"
1159
  msgstr "Transportversicherung"
1160
 
1161
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:531
1162
  msgctxt "dhl"
1163
  msgid "Add an additional insurance to labels."
1164
  msgstr "Füge eine Transportversicherung zur Sendung hinzu."
1165
 
1166
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:537
1167
  msgctxt "dhl"
1168
  msgid "Retail Outlet Routing"
1169
  msgstr "Filialrouting"
1170
 
1171
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:538
1172
  msgctxt "dhl"
1173
  msgid ""
1174
  "Send undeliverable items to nearest retail outlet instead of immediate "
1177
  "Sende unzustellbare Sendungen in die nächstgelegene Filiale zur Abholung "
1178
  "anstelle diese direkt zurückzusenden."
1179
 
1180
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:544
1181
  msgctxt "dhl"
1182
  msgid "No Neighbor"
1183
  msgstr "Keine Nachbarschaftszustellung"
1184
 
1185
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:545
1186
  msgctxt "dhl"
1187
  msgid "Do not deliver to neighbors."
1188
  msgstr "Schließe eine Ersatzzustellung beim Nachbarn aus."
1189
 
1190
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:552
1191
  msgctxt "dhl"
1192
  msgid "Do only delivery to named person."
1193
  msgstr ""
1194
  "Lasse Pakete nur an den Empfänger persönlich oder an eine bevollmächtigte "
1195
  "Person übergeben."
1196
 
1197
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:558
1198
  msgctxt "dhl"
1199
  msgid "Bulky Goods"
1200
  msgstr "Sperrgut"
1201
 
1202
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:559
1203
  msgctxt "dhl"
1204
  msgid "Deliver as bulky goods."
1205
  msgstr "Sende Pakete als Sperrgut."
1206
 
1207
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:565
1208
  msgctxt "dhl"
1209
  msgid "Age Verification"
1210
  msgstr "Alterssichtprüfung"
1211
 
1212
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:566
1213
  msgctxt "dhl"
1214
  msgid "Verify ages if shipment contains applicable items."
1215
  msgstr ""
1216
  "Aktiviere die Alterssichtprüfung, falls die Sendung zu prüfende Positionen "
1217
  "beinhaltet."
1218
 
1219
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:566
1220
  #, php-format
1221
  msgctxt "dhl"
1222
  msgid ""
1229
  "Alterssichtprüfung automatisch aktiviert, falls eine Sendung zu prüfenden "
1230
  "Produkte beinhaltet."
1231
 
1232
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:566
1233
  msgctxt "dhl"
1234
  msgid "age verification checkbox"
1235
  msgstr "Checkbox zur Altersprüfung"
1236
 
1237
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:573
1238
  msgctxt "dhl"
1239
  msgid "Premium delivery for international shipments."
1240
  msgstr "Premium Lieferung für internationale Sendungen."
1241
 
1242
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:592
1243
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1177
1244
  msgctxt "dhl"
1245
  msgid "Labels"
1246
  msgstr "Labels"
1247
 
1248
  # @ woocommerce-germanized
1249
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:593
1250
  msgctxt "dhl"
1251
  msgid "Automatically create labels for shipments."
1252
  msgstr "Automatisch Labels zu Sendungen erstellen."
1253
 
1254
  # @ woocommerce-germanized
1255
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:600
1256
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:627
1257
  msgctxt "dhl"
1258
  msgid "Status"
1259
  msgstr "Status"
1260
 
1261
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:604
1262
  msgctxt "dhl"
1263
  msgid "Choose a shipment status which should trigger generation of a label."
1264
  msgstr ""
1265
  "Wähle einen Sendungsstatus aus, der die Erzeugung eines Labels auslösen soll."
1266
 
1267
  # @ woocommerce-germanized
1268
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:611
1269
  msgctxt "dhl"
1270
  msgid "Shipment Status"
1271
  msgstr "Sendungsstatus"
1272
 
1273
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:612
1274
  msgctxt "dhl"
1275
  msgid "Mark shipment as shipped after label has been created successfully."
1276
  msgstr ""
1277
  "Sendung als versandt markieren, sobald ein Label erfolgreich erstellt wurde."
1278
 
1279
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:619
1280
  msgctxt "dhl"
1281
  msgid "Returns"
1282
  msgstr "Retouren"
1283
 
1284
  # @ woocommerce-germanized
1285
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:620
1286
  msgctxt "dhl"
1287
  msgid "Automatically create labels for returns."
1288
  msgstr "Automatisch Retourenlabels zu Retourensendungen erstellen."
1289
 
1290
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:631
1291
  msgctxt "dhl"
1292
  msgid ""
1293
  "Choose a shipment status which should trigger generation of a return label."
1295
  "Wähle einen Sendungsstatus aus, der die Erzeugung eines Retourenlabels "
1296
  "auslösen soll."
1297
 
1298
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:677
 
 
 
 
 
1299
  #, php-format
1300
  msgctxt "dhl"
1301
  msgid ""
1306
  "können von abweichenden Einstellungen der %s überschrieben werden."
1307
 
1308
  # @ woocommerce-germanized
1309
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:677
1310
  msgctxt "dhl"
1311
  msgid "shipping method"
1312
  msgstr "Versandmethode"
1313
 
1314
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:687
1315
  #, php-format
1316
  msgctxt "dhl"
1317
  msgid ""
1322
  "an. Stelle sicher, dass dein %s DHL Retoure Online enthält."
1323
 
1324
  # @ woocommerce-germanized
1325
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:687
1326
  msgctxt "dhl"
1327
  msgid "contract"
1328
  msgstr "Vertrag"
1329
 
1330
  # @ woocommerce-germanized
1331
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:699
1332
  msgctxt "dhl"
1333
  msgid "Default Services"
1334
  msgstr "Standard-Services"
1335
 
1336
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:699
1337
  #, php-format
1338
  msgctxt "dhl"
1339
  msgid ""
1343
  "Passe hier an, welche der Services als Standard für deine Labels gebucht "
1344
  "werden sollen. Finde mehr über diese %s heraus."
1345
 
1346
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:699
1347
  msgctxt "dhl"
1348
  msgid "nationwide services"
1349
  msgstr "nationalen Services"
1350
 
1351
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:711
1352
  msgctxt "dhl"
1353
  msgid ""
1354
  "Choose whether and under which conditions labels for your shipments shall be "
1358
  "erzeugt werden sollen."
1359
 
1360
  # @ woocommerce-germanized
1361
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:722
1362
  msgctxt "dhl"
1363
  msgid "Shipper Address"
1364
  msgstr "Absenderadresse"
1365
 
1366
  # @ woocommerce-germanized
1367
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:746
1368
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:815
1369
  msgctxt "dhl"
1370
  msgid "Street Number"
1371
  msgstr "Hausnummer"
1372
 
1373
  # @ woocommerce-germanized
1374
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:767
1375
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:836
1376
  msgctxt "dhl"
1377
  msgid "Country"
1378
  msgstr "Land"
1379
 
1380
  # @ woocommerce-germanized
1381
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:791
1382
  msgctxt "dhl"
1383
  msgid "Inlay Return Address"
1384
  msgstr "Beilageretouren Adresse"
1385
 
1386
  # @ woocommerce-germanized
1387
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:860
1388
  msgctxt "dhl"
1389
  msgid "Bank Account"
1390
  msgstr "Bankkonto"
1391
 
1392
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:860
1393
  msgctxt "dhl"
1394
  msgid "Enter your bank details needed for services that use COD."
1395
  msgstr ""
1397
  "werden sollen."
1398
 
1399
  # @ woocommerce-germanized
1400
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:863
1401
  msgctxt "dhl"
1402
  msgid "Holder"
1403
  msgstr "Kontoinhaber"
1404
 
1405
  # @ woocommerce-germanized
1406
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:870
1407
  msgctxt "dhl"
1408
  msgid "Bank Name"
1409
  msgstr "Name der Bank"
1410
 
1411
  # @ woocommerce-germanized
1412
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:877
1413
  msgctxt "dhl"
1414
  msgid "IBAN"
1415
  msgstr "IBAN"
1416
 
1417
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:884
1418
  msgctxt "dhl"
1419
  msgid "BIC"
1420
  msgstr "BIC"
1421
 
1422
  # @ woocommerce-germanized
1423
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:891
1424
  msgctxt "dhl"
1425
  msgid "Payment Reference"
1426
  msgstr "Zahlungsreferenz"
1427
 
1428
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:895
1429
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:904
1430
  #, php-format
1431
  msgctxt "dhl"
1432
  msgid ""
1437
  "%s. Der Text ist auf 35 Zeichen begrenzt."
1438
 
1439
  # @ woocommerce-germanized
1440
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:900
1441
  msgctxt "dhl"
1442
  msgid "Payment Reference 2"
1443
  msgstr "Zahlungsreferenz 2"
1444
 
1445
  # @ woocommerce-germanized
1446
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:918
1447
  msgctxt "dhl"
1448
  msgid "Enable creating labels for return shipments."
1449
  msgstr "Automatisch Retourenlabels zu Retourensendungen erstellen."
1450
 
1451
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:918
1452
  msgctxt "dhl"
1453
  msgid ""
1454
  "By enabling this option you might generate retoure labels for return "
1457
  "Mit der Aktivierung dieser Option kannst du Retourenlabels zu "
1458
  "Retourensendungen erstellen und diese per E-Mail an den Kunden weiterleiten."
1459
 
1460
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:939
1461
  msgctxt "dhl"
1462
  msgid "Enable preferred day delivery."
1463
  msgstr "Aktiviere die Lieferung am Wunschtag."
1464
 
1465
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:939
1466
  msgctxt "dhl"
1467
  msgid ""
1468
  "Enabling this option will display options for the user to select their "
1471
  "Diese Option aktiviert die Auswahl eines Wunschtags durch den Kunden in der "
1472
  "Kasse."
1473
 
1474
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:948
1475
  msgctxt "dhl"
1476
  msgid ""
1477
  "Insert gross value as surcharge for preferred day delivery. Insert 0 to "
1480
  "Füge einen Bruttopreis als Gebühr für die Lieferung am Wunschtag hinzu. "
1481
  "Setze den Wert auf 0 um den Service kostenlos anzubieten."
1482
 
1483
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:959
1484
  msgctxt "dhl"
1485
  msgid "Enable preferred time delivery."
1486
  msgstr "Aktiviere die Lieferung zur Wunschzeit."
1487
 
1488
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:959
1489
  msgctxt "dhl"
1490
  msgid ""
1491
  "Enabling this option will display options for the user to select their "
1494
  "Diese Option aktiviert die Auswahl einer Wunschzeit durch den Kunden in der "
1495
  "Kasse."
1496
 
1497
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:968
1498
  msgctxt "dhl"
1499
  msgid ""
1500
  "Insert gross value as surcharge for preferred time delivery. Insert 0 to "
1503
  "Füge einen Bruttopreis als Gebühr für die Lieferung zur Wunschzeit hinzu. "
1504
  "Setze den Wert auf 0 um den Service kostenlos anzubieten."
1505
 
1506
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:978
1507
  msgctxt "dhl"
1508
  msgid "Combined Fee"
1509
  msgstr "Kombinierte Gebühr"
1510
 
1511
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:980
1512
  msgctxt "dhl"
1513
  msgid ""
1514
  "Insert gross value as surcharge for the combination of preferred day and "
1519
  "anzubieten."
1520
 
1521
  # @ woocommerce-germanized
1522
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:991
1523
  msgctxt "dhl"
1524
  msgid "Enable preferred location delivery."
1525
  msgstr "Lieferung an einen Wunschort aktivieren."
1526
 
1527
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:991
1528
  msgctxt "dhl"
1529
  msgid ""
1530
  "Enabling this option will display options for the user to select their "
1533
  "Diese Option aktiviert die Auswahl eines Wunschorts durch den Kunden in der "
1534
  "Kasse ."
1535
 
1536
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:999
1537
  msgctxt "dhl"
1538
  msgid "Enable preferred neighbor delivery."
1539
  msgstr "Aktiviere die Lieferung an einen Wunschnachbarn."
1540
 
1541
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:999
1542
  msgctxt "dhl"
1543
  msgid ""
1544
  "Enabling this option will display options for the user to deliver to their "
1547
  "Diese Option aktiviert die Auswahl eines Wunschnachbarn durch den Kunden in "
1548
  "der Kasse."
1549
 
1550
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1025
1551
  msgctxt "dhl"
1552
  msgid "Cut-off time"
1553
  msgstr "Cut-off-Zeit"
1554
 
1555
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1028
1556
  msgctxt "dhl"
1557
  msgid ""
1558
  "The cut-off time is the latest possible order time up to which the minimum "
1565
  "Nach Überschreitung dieses Zeitpunktes, wird der früheste verfügbare "
1566
  "Wunschtag in der Kasse um einen Tag erhöht (Tag der Bestellung + 3 Werktage)."
1567
 
1568
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1034
1569
  msgctxt "dhl"
1570
  msgid "Preparation days"
1571
  msgstr "Bearbeitungstage"
1572
 
1573
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1037
1574
  msgctxt "dhl"
1575
  msgid ""
1576
  "If you need more time to prepare your shipments you might want to add a "
1581
  "hier eine statische Anzahl an Tagen hinterlegen, die zum frühesten "
1582
  "auswählbaren Wunschtag hinzugefügt werden."
1583
 
1584
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1044
1585
  msgctxt "dhl"
1586
  msgid "Exclude days of transfer"
1587
  msgstr "Übergabetage ausschließen"
1588
 
1589
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1045
1590
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:31
1591
  msgctxt "dhl"
1592
  msgid "Monday"
1593
  msgstr "Montag"
1594
 
1595
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1046
1596
  msgctxt "dhl"
1597
  msgid "Exclude days from transferring shipments to DHL."
1598
  msgstr "Schließe bestimmte Wochentage für die Übergabe an DHL aus."
1599
 
1600
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1055
1601
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:32
1602
  msgctxt "dhl"
1603
  msgid "Tuesday"
1604
  msgstr "Dienstag"
1605
 
1606
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1064
1607
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:33
1608
  msgctxt "dhl"
1609
  msgid "Wednesday"
1610
  msgstr "Mittwoch"
1611
 
1612
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1073
1613
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:34
1614
  msgctxt "dhl"
1615
  msgid "Thursday"
1616
  msgstr "Donnerstag"
1617
 
1618
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1082
1619
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:35
1620
  msgctxt "dhl"
1621
  msgid "Friday"
1622
  msgstr "Freitag"
1623
 
1624
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1091
1625
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:36
1626
  msgctxt "dhl"
1627
  msgid "Saturday"
1628
  msgstr "Samstag"
1629
 
1630
  # @ woocommerce-germanized
1631
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1100
1632
  msgctxt "dhl"
1633
  msgid "Exclude gateways"
1634
  msgstr "Zahlungsarten ausschließen"
1635
 
1636
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1102
1637
  msgctxt "dhl"
1638
  msgid "Select payment gateways to be excluded from showing preferred services."
1639
  msgstr ""
1640
  "Wähle Zahlungsarten aus, für die die Wunschpaket-Services nicht zur "
1641
  "Verfügung stehen sollen."
1642
 
1643
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1127
1644
  msgctxt "dhl"
1645
  msgid "Let customers find a DHL location on a map."
1646
  msgstr "Lasse Kunden einen DHL Standort auf der Karte auswählen."
1647
 
1648
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1127
1649
  msgctxt "dhl"
1650
  msgid ""
1651
  "Enable this option to let your customers choose a pickup option from a map "
1656
  "einer Karten in der Kasse zu ermöglichen. Wenn diese Option deaktiviert ist, "
1657
  "wird stattdessen auf die DHL Website verwiesen."
1658
 
1659
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1134
1660
  msgctxt "dhl"
1661
  msgid "Google Maps Key"
1662
  msgstr "Google Maps Schlüssel"
1663
 
1664
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1138
1665
  #, php-format
1666
  msgctxt "dhl"
1667
  msgid ""
1671
  "Um eine Karte integrieren zu können, benötigst du einen gültigen API-"
1672
  "Schlüssel für Google Maps. Du kannst %s."
1673
 
1674
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1138
1675
  msgctxt "dhl"
1676
  msgid "retrieve a new one"
1677
  msgstr "hier einen neuen erstellen"
1678
 
1679
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1143
1680
  msgctxt "dhl"
1681
  msgid "Limit results"
1682
  msgstr "Suchergebnisse begrenzen"
1683
 
1684
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1147
1685
  msgctxt "dhl"
1686
  msgid "Limit the number of DHL locations shown on the map"
1687
  msgstr "Begrenzt die Anzahl der angezeigten DHL Standorte auf der Karte"
1688
 
1689
  # @ woocommerce-germanized
1690
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1176
1691
  msgctxt "dhl"
1692
  msgid "General"
1693
  msgstr "Allgemein"
1694
 
1695
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1178
1696
  msgctxt "dhl"
1697
  msgid "Preferred Services"
1698
  msgstr "Wunschpaket"
1699
 
1700
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1179
1701
  msgctxt "dhl"
1702
  msgid "Parcel Pickup"
1703
  msgstr "Standorte"
1704
 
 
 
 
 
 
 
 
 
 
 
1705
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:37
1706
  msgctxt "dhl"
1707
  msgid "Sunday"
1752
  "erwäge den Wechsel in den Sandbox-Modus."
1753
 
1754
  #: woocommerce-germanized-dhl/src/Api/LabelSoap.php:237
1755
+ #: woocommerce-germanized-dhl/src/Api/ReturnRest.php:150
1756
  msgctxt "dhl"
1757
  msgid "Error while creating and uploading the label"
1758
  msgstr "Fehler beim Erstellen und hochladen des Labels"
1896
  msgid "POST error or timeout occured. Please try again later."
1897
  msgstr "POST Fehler oder Zeitüberschreitung. Bitte später erneut versuchen."
1898
 
1899
+ #: woocommerce-germanized-dhl/src/DataStores/Label.php:307
 
 
 
 
 
 
1900
  msgctxt "dhl"
1901
  msgid "Invalid label."
1902
  msgstr "Ungültiges Label."
1908
  msgid "%s-%s"
1909
  msgstr "%s-%s"
1910
 
1911
+ #: woocommerce-germanized-dhl/src/Package.php:235
1912
  msgctxt "dhl"
1913
  msgid ""
1914
  "Please check the street field and make sure to provide a valid street number."
1917
  "angibst."
1918
 
1919
  # @ woocommerce-germanized
1920
+ #: woocommerce-germanized-dhl/src/Package.php:671
1921
  msgctxt "dhl"
1922
  msgid "Germany"
1923
  msgstr "Deutschland"
1924
 
1925
  # @ woocommerce-germanized
1926
  #: woocommerce-germanized-dhl/src/ParcelLocator.php:89
1927
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:831
1928
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:856
1929
  msgctxt "dhl"
1930
  msgid "Address Type"
1931
  msgstr "Adresstyp"
1998
  "Deine DHL Kundennummer (Postnummer) ist nicht gültig. Bitte überprüfe deine "
1999
  "Eingabe."
2000
 
2001
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:695
2002
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:822
2003
  msgctxt "dhl"
2004
  msgid "Branch"
2005
  msgstr "Filiale"
2006
 
2007
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:696
2008
  msgctxt "dhl"
2009
  msgid "Postnumber "
2010
  msgstr "Postnummer "
2011
 
2012
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:797
2013
  #, php-format
2014
  msgctxt "dhl"
2015
  msgid "e.g. %s 456"
2016
  msgstr "z.B. %s 456"
2017
 
2018
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:822
2019
  msgctxt "dhl"
2020
  msgid "Branches"
2021
  msgstr "Filialen"
2022
 
2023
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:838
2024
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:866
2025
  msgctxt "dhl"
2026
  msgid "DHL customer number (Post number)"
2027
  msgstr "DHL Kundennummer (Postnummer)"
2028
 
2029
  # @ woocommerce-germanized
2030
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:848
2031
  msgctxt "dhl"
2032
  msgid "Regular Address"
2033
  msgstr "Normale Adresse"
2034
 
2035
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:870
2036
  msgctxt "dhl"
2037
  msgid "Not yet a DHL customer?"
2038
  msgstr "Noch kein DHL Kunde?"
2039
 
2040
  # @ woocommerce-germanized
2041
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:870
2042
  msgctxt "dhl"
2043
  msgid "Register now"
2044
  msgstr "Jetzt registrieren"
2045
 
2046
  # @ woocommerce-germanized
2047
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:919
2048
  #, php-format
2049
  msgctxt "dhl"
2050
  msgid "Search %s"
2051
  msgstr "%s suchen"
2052
 
2053
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:1024
2054
  msgctxt "dhl"
2055
  msgid "No DHL locations found"
2056
  msgstr "Keine DHL Standorte gefunden"
2057
 
2058
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:1039
2059
  #, php-format
2060
  msgctxt "dhl"
2061
  msgid ""
2066
  "%s oder %s."
2067
 
2068
  # @ woocommerce-germanized
2069
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:1039
2070
  msgctxt "dhl"
2071
  msgid "DHL location"
2072
  msgstr "DHL Standort"
2073
 
2074
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:1039
2075
  msgctxt "dhl"
2076
  msgid "retry"
2077
  msgstr "Erneut versuchen"
2116
  msgid "Please choose name and address of your preferred neighbor."
2117
  msgstr "Bitte wähle einen Namen und die Adresse deines Wunschnachbars."
2118
 
2119
+ #: woocommerce-germanized-dhl/src/ReturnLabel.php:125
2120
  #: woocommerce-germanized-dhl/src/SimpleLabel.php:86
2121
  #, php-format
2122
  msgctxt "dhl full name"
2123
  msgid "%1$s"
2124
  msgstr "%1$s"
2125
 
2126
+ #: woocommerce-germanized-dhl/src/ShippingProviderDHL.php:42
 
 
 
 
 
 
 
2127
  msgctxt "dhl"
2128
  msgid ""
2129
  "Complete DHL integration supporting labels, preferred services and "
2132
  "DHL Integration die das Erzeugen von Labels, Wunsch-Services und Lieferung "
2133
  "an Packstationen unterstützt."
2134
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2135
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder-result.php:31
2136
  msgctxt "dhl"
2137
  msgid "Opening Times"
2318
  "* Bei einer Kombinationsbuchung von Wunschtag und Wunschzeit fällt ein "
2319
  "Gesamtaufpreis in Höhe von %s inkl. MwSt. an"
2320
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2321
  #: woocommerce-germanized-dhl/woocommerce-germanized-dhl.php:40
2322
  #: woocommerce-germanized-dhl/woocommerce-germanized-dhl.php:58
2323
  #, php-format
2329
  "Deine Installation des Germanized DHL Plugins ist unvollständig. Bitte führe "
2330
  "%1$s im %2$s Verzeichnis aus."
2331
 
2332
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:30
2333
  #, php-format
2334
  msgctxt "shipments"
2335
  msgid "Weight (%s)"
2336
  msgstr "Gewicht (%s)"
2337
 
2338
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:35
2339
  #, php-format
2340
  msgctxt "shipments"
2341
  msgid "Dimensions (%s)"
2342
  msgstr "Abmessungen (%s)"
2343
 
2344
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:35
2345
  msgctxt "shipments"
2346
  msgid "LxWxH in decimal form."
2347
  msgstr "LxBxH in dezimaler Form."
2348
 
2349
  # @ woocommerce-germanized
2350
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:47
2351
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:1004
2352
  #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:24
2353
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:662
2354
  msgctxt "shipments"
2355
  msgid "Status"
2356
  msgstr "Status"
2357
 
2358
  # @ woocommerce-germanized
2359
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:57
2360
  msgctxt "shipments"
2361
  msgid "Shipping method"
2362
  msgstr "Versandmethode"
2363
 
2364
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:67
2365
  msgctxt "shipments"
2366
  msgid "Shipping provider"
2367
  msgstr "Versanddienstleister"
2368
 
2369
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:78
2370
  msgctxt "shipments"
2371
  msgid "Tracking Number"
2372
  msgstr "Sendungsnummer"
2373
 
2374
+ # @ woocommerce-germanized
2375
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:144
2376
+ msgctxt "shipments"
2377
+ msgid "Add item"
2378
+ msgstr "Position hinzufügen"
2379
+
2380
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:148
2381
+ msgctxt "shipments"
2382
+ msgid "Automatically adjust items and quantities based on order item data."
2383
+ msgstr "Bestimmt Positionen und Anzahlen automatisch anhand der Bestelldaten."
2384
+
2385
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:148
2386
+ msgctxt "shipments"
2387
+ msgid "Sync items"
2388
+ msgstr "Positionen synchronisieren"
2389
+
2390
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:168
2391
+ msgctxt "shipments"
2392
+ msgid "Add Item"
2393
+ msgstr "Position hinzufügen"
2394
+
2395
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:178
2396
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php:45
2397
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:50
2398
  msgctxt "shipments"
2399
  msgid "Item"
2400
  msgstr "Position"
2401
 
2402
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:179
2403
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php:46
2404
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:55
2405
  #: woocommerce-germanized-shipments/templates/emails/email-shipment-details.php:55
2406
+ #: woocommerce-germanized-shipments/templates/myaccount/add-return-shipment.php:37
2407
+ #: woocommerce-germanized-shipments/templates/shipment/shipment-details.php:60
2408
  msgctxt "shipments"
2409
  msgid "Quantity"
2410
  msgstr "Anzahl"
2411
 
2412
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:197
2413
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php:55
 
 
 
 
 
 
 
 
 
2414
  msgctxt "shipments"
2415
+ msgid "Add"
2416
+ msgstr "Hinzufügen"
2417
 
2418
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:221
2419
  msgctxt "shipments"
2420
+ msgid ""
2421
+ "Send return instructions to your customer via email including return label "
2422
+ "as attachment (if available)."
2423
+ msgstr ""
2424
+ "Sende Informationen zur Rücksendung inkl. Label, falls verfügbar an deinen "
2425
+ "Kunden via E-Mail."
2426
 
2427
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:221
2428
  msgctxt "shipments"
2429
+ msgid "Resend notification"
2430
+ msgstr "Benachrichtigung erneut versenden"
2431
 
2432
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:221
2433
  msgctxt "shipments"
2434
+ msgid "Notify customer"
2435
+ msgstr "Kunde benachrichtigen"
2436
 
2437
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:223
 
2438
  msgctxt "shipments"
2439
+ msgid ""
2440
+ "Confirm the return request to the customer. The customer receives an email "
2441
+ "notification possibly containing return instructions."
2442
+ msgstr ""
2443
+ "Bestätige dem Kunden seinen Rücksendeantrag. Der Kunde erhält eine E-Mail-"
2444
+ "Benachrichtigung, die möglicherweise Anweisungen zur Rücksendung enthält."
2445
 
2446
+ # @ woocommerce-germanized
2447
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:223
2448
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:64
2449
  msgctxt "shipments"
2450
+ msgid "Confirm return request"
2451
+ msgstr "Rücksendeantrag bestätigen"
2452
 
2453
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:227
2454
  #, php-format
2455
  msgctxt "shipments"
2456
  msgid "Delete %s"
2465
  msgstr[0] "%d von %d Position"
2466
  msgstr[1] "%d von %d Positionen"
2467
 
2468
+ # @ woocommerce-germanized
2469
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-item.php:28
2470
+ #: woocommerce-germanized-shipments/templates/shipment/add-return-shipment-item.php:58
2471
+ msgctxt "shipments return reason"
2472
+ msgid "None"
2473
+ msgstr "Keiner"
2474
+
2475
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-item.php:41
2476
  #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:26
2477
+ #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php:35
2478
  msgctxt "shipments"
2479
  msgid "Delete"
2480
  msgstr "Löschen"
2481
 
2482
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-list.php:22
2483
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:76
2484
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:282
2485
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:403
2486
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:80
2487
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:175
2488
+ #: woocommerce-germanized-shipments/templates/myaccount/order-shipments.php:36
2489
+ msgctxt "shipments"
2490
+ msgid "Returns"
2491
+ msgstr "Retouren"
2492
+
2493
  #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment.php:16
2494
  #, php-format
2495
  msgctxt "shipment admin title"
2498
 
2499
  # @ woocommerce-germanized
2500
  #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php:19
2501
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:69
2502
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:212
2503
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:281
2504
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:369
2505
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:436
2506
+ #: woocommerce-germanized-shipments/templates/myaccount/order-shipments.php:20
2507
  msgctxt "shipments"
2508
  msgid "Shipments"
2509
  msgstr "Sendungen"
2510
 
2511
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php:35
2512
+ msgctxt "shipments"
2513
+ msgid "Add Return"
2514
+ msgstr "Retoure hinzufügen"
2515
+
2516
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php:66
2517
  msgctxt "shipments"
2518
  msgid "Add shipment"
2519
  msgstr "Sendung hinzufügen"
2520
 
2521
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php:70
2522
+ msgctxt "shipments"
2523
+ msgid "Add return"
2524
+ msgstr "Retoure hinzufügen"
2525
+
2526
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php:76
2527
  msgctxt "shipments"
2528
  msgid "Save"
2529
  msgstr "Speichern"
2532
  # @ woocommerce
2533
  #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:11
2534
  #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:22
2535
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:660
2536
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:534
2537
  msgctxt "shipments"
2538
  msgid "Title"
2539
  msgstr "Titel"
2540
 
2541
  # @ woocommerce-germanized
2542
  #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:12
2543
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:543
2544
  msgctxt "shipments"
2545
  msgid "Description"
2546
  msgstr "Beschreibung"
2574
  msgstr "Verwalten"
2575
 
2576
  #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label-backbone.php:13
2577
+ #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php:39
2578
  msgctxt "shipments"
2579
  msgid "Create label"
2580
  msgstr "Label erstellen"
2595
  msgid "Download"
2596
  msgstr "Download"
2597
 
2598
+ #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php:39
2599
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:494
2600
+ msgctxt "shipments"
2601
+ msgid "Create new label"
2602
+ msgstr "Neues Label erstellen"
2603
+
2604
  # @ woocommerce-germanized
2605
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-guest-return-shipment-request.php:41
2606
  msgctxt "shipments"
2607
+ msgid "Order guest return request"
2608
+ msgstr "Rücksendeantrag (Gast)"
2609
 
2610
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-guest-return-shipment-request.php:42
 
2611
  msgctxt "shipments"
2612
+ msgid ""
2613
+ "Order guest return request are sent to the customer after submitting a new "
2614
+ "return request as a guest."
2615
+ msgstr ""
2616
+ "Gäste erhalten bei Rücksendeanträgen einen einmaligen Link per E-Mail "
2617
+ "zugestellt über den der Antrag gestellt werden kann."
2618
+
2619
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-guest-return-shipment-request.php:66
2620
+ msgctxt "shipments"
2621
+ msgid "Your return request to your order {order_number}"
2622
+ msgstr "Dein Rücksendeantrag zu deiner Bestellung {order_number}"
2623
+
2624
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-guest-return-shipment-request.php:76
2625
+ msgctxt "shipments"
2626
+ msgid "Return request to your order: {order_number}"
2627
+ msgstr "Rücksendeantrag zu deiner Bestellung: {order_number}"
2628
+
2629
+ # @ woocommerce-germanized
2630
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-return-shipment-delivered.php:44
2631
+ msgctxt "shipments"
2632
+ msgid "Order return delivered"
2633
+ msgstr "Rücksendung eingegangen"
2634
+
2635
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-return-shipment-delivered.php:45
2636
+ msgctxt "shipments"
2637
+ msgid ""
2638
+ "Order return notifications are sent to the customer after a return shipment "
2639
+ "has been returned (delivered) successfully."
2640
+ msgstr ""
2641
+ "Benachrichtigungen über den Eingang einer Retoure werden an den Kunden "
2642
+ "verschickt sobald eine Retoure als geliefert markiert wurde."
2643
+
2644
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-return-shipment-delivered.php:75
2645
+ msgctxt "shipments"
2646
+ msgid "Return to your order {order_number} has been received"
2647
+ msgstr "Rücksendung zu deiner Bestellung {order_number} ist eingegangen"
2648
+
2649
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-return-shipment-delivered.php:85
2650
+ msgctxt "shipments"
2651
+ msgid "Received return to your order: {order_number}"
2652
+ msgstr "Rücksendung erhalten zu deiner Bestellung: {order_number}"
2653
+
2654
+ # @ woocommerce-germanized
2655
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-return-shipment.php:52
2656
+ msgctxt "shipments"
2657
+ msgid "Order return"
2658
+ msgstr "Retoure zur Bestellung"
2659
+
2660
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-return-shipment.php:53
2661
+ msgctxt "shipments"
2662
+ msgid ""
2663
+ "Order return notifications are sent to the customer after a return shipment "
2664
+ "was marked as processing."
2665
+ msgstr ""
2666
+ "Benachrichtigungen über Retouren werden an den Kunden verschickt, nachdem "
2667
+ "eine Retoure als in Bearbeitung markiert wurde."
2668
+
2669
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-return-shipment.php:83
2670
+ msgctxt "shipments"
2671
+ msgid "Return to your order {order_number}"
2672
+ msgstr "Rücksendung zu deiner Bestellung {order_number}"
2673
+
2674
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-return-shipment.php:93
2675
+ msgctxt "shipments"
2676
+ msgid "Return to your order: {order_number}"
2677
+ msgstr "Rücksendung zu deiner Bestellung {order_number}"
2678
 
2679
  # @ woocommerce-germanized
2680
  #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:51
2711
  msgid "Shipment to your order: {order_number}"
2712
  msgstr "Sendung zu deiner Bestellung {order_number}"
2713
 
2714
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:307
2715
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:321
2716
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:330
2717
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:339
2718
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:348
2719
  #, php-format
2720
  msgctxt "shipments"
2721
  msgid "Available placeholders: %s"
2722
  msgstr "Verfügbare Platzhalter: %s"
2723
 
2724
  # @ woocommerce-germanized
2725
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:311
2726
  msgctxt "shipments"
2727
  msgid "Enable/Disable"
2728
  msgstr "Aktivieren/Deaktivieren"
2729
 
2730
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:313
2731
  msgctxt "shipments"
2732
  msgid "Enable this email notification"
2733
  msgstr "Aktiviere diese E-Mail-Benachrichtigung"
2734
 
2735
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:317
2736
  msgctxt "shipments"
2737
  msgid "Full shipment subject"
2738
  msgstr "Vollständige Sendung Betreff"
2739
 
2740
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:326
2741
  msgctxt "shipments"
2742
  msgid "Partial shipment subject"
2743
  msgstr "Teilsendung Betreff"
2744
 
2745
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:335
2746
  msgctxt "shipments"
2747
  msgid "Full shipment email heading"
2748
  msgstr "Vollständige Sendung Kopfzeile"
2749
 
2750
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:344
2751
  msgctxt "shipments"
2752
  msgid "Partial shipment email heading"
2753
  msgstr "Teilsendung Kopfzeile"
2754
 
2755
  # @ woocommerce-germanized
2756
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:353
2757
  msgctxt "shipments"
2758
  msgid "Additional content"
2759
  msgstr "Zusätzlicher Inhalt"
2760
 
2761
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:354
2762
  msgctxt "shipments"
2763
  msgid "Text to appear below the main email content."
2764
  msgstr "Text der unterhalb des Inhalts der E-Mail angezeigt werden soll."
2765
 
2766
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:356
2767
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:939
2768
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:967
2769
  #: woocommerce-germanized-shipments/templates/shipment/shipment-details-address.php:28
2770
  msgctxt "shipments"
2771
  msgid "N/A"
2772
  msgstr "n.a."
2773
 
2774
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:362
2775
  msgctxt "shipments"
2776
  msgid "Email type"
2777
  msgstr "E-Mail-Typ"
2778
 
2779
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:364
2780
  msgctxt "shipments"
2781
  msgid "Choose which format of email to send."
2782
  msgstr "Format für E-Mail-Versand auswählen."
2783
 
2784
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:68
2785
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:1002
 
2786
  msgctxt "shipments"
2787
  msgid "Shipment"
2788
  msgstr "Sendung"
2789
 
2790
  # @ woocommerce-germanized
2791
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:75
2792
  msgctxt "shipments"
2793
  msgid "Return"
2794
  msgstr "Retoure"
2795
 
2796
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:102
 
 
 
 
 
 
 
2797
  msgctxt "shipments"
2798
  msgid "Not shipped"
2799
  msgstr "Nicht versandt"
2800
 
2801
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:103
2802
  msgctxt "shipments"
2803
  msgid "Partially shipped"
2804
  msgstr "Teilweise versandt"
2805
 
2806
  # @ woocommerce-germanized
2807
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:104
2808
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:308
2809
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:825
2810
  msgctxt "shipments"
2811
  msgid "Shipped"
2812
  msgstr "Versandt"
2813
 
2814
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:121
2815
+ msgctxt "shipments"
2816
+ msgid "Open"
2817
+ msgstr "Offen"
2818
+
2819
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:122
2820
+ msgctxt "shipments"
2821
+ msgid "Partially returned"
2822
+ msgstr "Teilweise retourniert"
2823
+
2824
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:123
2825
+ msgctxt "shipments"
2826
+ msgid "Returned"
2827
+ msgstr "Retourniert"
2828
+
2829
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:306
2830
  msgctxt "shipments"
2831
  msgid "Draft"
2832
  msgstr "Entwurf"
2833
 
2834
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:307
2835
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:817
2836
  msgctxt "shipments"
2837
  msgid "Processing"
2838
  msgstr "In Bearbeitung"
2839
 
2840
  # @ woocommerce-germanized
2841
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:309
2842
  #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:48
2843
  msgctxt "shipments"
2844
  msgid "Delivered"
2845
  msgstr "Geliefert"
2846
 
2847
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:310
2848
  msgctxt "shipments"
2849
+ msgid "Requested"
2850
+ msgstr "Beantragt"
2851
 
2852
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:359
2853
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipments-template-functions.php:81
2854
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipments-template-functions.php:135
2855
  msgctxt "shipments"
2856
+ msgid "Invalid order."
2857
+ msgstr "Ungültige Bestellung."
2858
 
2859
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:363
2860
  msgctxt "shipments"
2861
+ msgid "This order is already fully returned."
2862
+ msgstr "Diese Bestellung wurde bereits vollständig zurückgesendet."
2863
 
2864
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:374
2865
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:415
2866
  msgctxt "shipments"
2867
  msgid "Error while creating the shipment instance"
2868
  msgstr "Fehler beim Erstellen der Sendungsinstanz"
2869
 
2870
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:400
2871
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:404
2872
+ #: woocommerce-germanized-shipments/src/ReturnShipment.php:429
2873
+ #: woocommerce-germanized-shipments/src/ReturnShipment.php:489
2874
+ #: woocommerce-germanized-shipments/src/SimpleShipment.php:118
2875
+ #: woocommerce-germanized-shipments/src/SimpleShipment.php:202
2876
  msgctxt "shipments"
2877
  msgid "Invalid shipment order"
2878
  msgstr "Ungültige Bestellung zur Sendung"
2879
 
2880
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:434
2881
  msgctxt "shipments"
2882
  msgid "Invalid order item"
2883
  msgstr "Ungültige Bestellposition"
2884
 
2885
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:550
2886
  msgctxt "shipments"
2887
  msgid "Invalid shipment item"
2888
  msgstr "Ungültige Sendungsposition"
2889
 
2890
  # @ woocommerce-germanized
2891
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:623
2892
  msgctxt "shipments"
2893
  msgid "None"
2894
  msgstr "Keiner"
2895
 
2896
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:696
2897
  msgctxt "shipments"
2898
  msgid "Error while uploading file."
2899
  msgstr "Fehler beim Hochladen der Datei."
2900
 
2901
  # @ woocommerce-germanized
2902
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:1003
2903
  #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:23
2904
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:661
2905
  msgctxt "shipments"
2906
  msgid "Date"
2907
  msgstr "Datum"
2908
 
2909
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:1005
2910
  #: woocommerce-germanized-shipments/templates/shipment/shipment-details-tracking.php:23
2911
  msgctxt "shipments"
2912
  msgid "Tracking"
2913
  msgstr "Sendungsverfolgung"
2914
 
2915
+ # @ woocommerce-germanized
2916
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:1006
2917
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:60
2918
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:28
2919
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:666
2920
+ msgctxt "shipments"
2921
+ msgid "Actions"
2922
+ msgstr "Aktionen"
2923
+
2924
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:1242
2925
  msgctxt "shipments"
2926
  msgid "View"
2927
  msgstr "Anzeigen"
2928
 
2929
  # @ woocommerce-germanized
2930
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:1249
2931
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:836
2932
+ #: woocommerce-germanized-shipments/src/Ajax.php:332
2933
+ msgctxt "shipments"
2934
+ msgid "Download label"
2935
+ msgstr "Label downloaden"
2936
+
2937
+ # @ woocommerce-germanized
2938
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipments-template-functions.php:81
2939
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipments-template-functions.php:115
2940
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipments-template-functions.php:135
2941
  msgctxt "shipments"
2942
  msgid "My account"
2943
  msgstr "Mein Konto"
2944
 
2945
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipments-template-functions.php:115
2946
+ #: woocommerce-germanized-shipments/src/DataStores/Shipment.php:343
2947
+ msgctxt "shipments"
2948
+ msgid "Invalid shipment."
2949
+ msgstr "Ungültige Sendung."
2950
+
2951
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipments-template-functions.php:140
2952
+ msgctxt "shipments"
2953
+ msgid ""
2954
+ "Currently you cannot add new return requests to that order. If you have "
2955
+ "questions regarding the return of that order please contact us for further "
2956
+ "information."
2957
+ msgstr ""
2958
+ "Aktuell können keine Rücksendeanträge zu dieser Bestellung erstellt werden. "
2959
+ "Falls du Fragen zur Rücksendung dieser Bestellung hast, kontaktiere uns "
2960
+ "bitte."
2961
+
2962
+ # @ woocommerce
2963
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipments-template-functions.php:140
2964
+ msgctxt "shipments"
2965
+ msgid "View order"
2966
+ msgstr "Bestellung ansehen"
2967
+
2968
+ # @ woocommerce-germanized
2969
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:68
2970
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:133
2971
+ #: woocommerce-germanized-shipments/templates/myaccount/add-return-shipment.php:36
2972
+ msgctxt "shipments"
2973
+ msgid "Reason"
2974
+ msgstr "Rücksendegrund"
2975
+
2976
+ # @ woocommerce-germanized
2977
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:125
2978
+ msgctxt "shipments"
2979
+ msgid "Return reasons"
2980
+ msgstr "Rücksendegründe"
2981
+
2982
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:132
2983
+ msgctxt "shipments"
2984
+ msgid "Reason code"
2985
+ msgstr "Rücksendegrund (Code)"
2986
+
2987
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:132
2988
+ msgctxt "shipments"
2989
+ msgid "The reason code is used to identify the reason."
2990
+ msgstr ""
2991
+ "Der Code für den Rücksendegrund wird verwendet um den Grund eindeutig "
2992
+ "identifizieren zu können."
2993
+
2994
+ # @ woocommerce-germanized
2995
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:133
2996
+ msgctxt "shipments"
2997
+ msgid "Choose a reason text."
2998
+ msgstr "Beschreibung für den Grund."
2999
+
3000
+ # @ woocommerce-germanized
3001
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:152
3002
+ msgctxt "shipments"
3003
+ msgid "+ Add reason"
3004
+ msgstr "+ Grund hinzufügen"
3005
+
3006
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:152
3007
+ msgctxt "shipments"
3008
+ msgid "Remove selected reason(s)"
3009
+ msgstr "Ausgewählte Gründe löschen"
3010
+
3011
  # @ woocommerce-germanized
3012
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:266
3013
  msgctxt "shipments"
3014
  msgid "Create shipments"
3015
  msgstr "Sendungen erstellen"
3016
 
3017
  # @ woocommerce-germanized
3018
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:381
3019
  msgctxt "shipments"
3020
  msgid "Search shipments"
3021
  msgstr "Sendungen suchen"
3022
 
3023
  # @ woocommerce-germanized
3024
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:415
3025
  msgctxt "shipments"
3026
  msgid "Search returns"
3027
  msgstr "Retouren suchen"
3028
 
3029
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:488
3030
  msgctxt "shipments"
3031
  msgid "Do you really want to delete the shipment?"
3032
  msgstr "Möchtest du die Sendung wirklich löschen?"
3033
 
3034
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:493
3035
  msgctxt "shipments"
3036
  msgid "Do you really want to delete the label?"
3037
  msgstr "Möchtest du das Label wirklich löschen?"
3038
 
3039
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:495
3040
  msgctxt "shipments"
3041
  msgid "Please save the shipment before creating a new label"
3042
  msgstr "Bitte speichere die Sendung bevor du ein neues Label erzeugst"
3043
 
3044
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:545
3045
  msgctxt "shipments"
3046
  msgid ""
3047
  "Do you really want to delete the shipping provider? Some of your existing "
3102
  msgstr "Sendung #%d"
3103
 
3104
  #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:25
3105
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:663
3106
  msgctxt "shipments"
3107
  msgid "Items"
3108
  msgstr "Positionen"
3112
  msgid "Sender"
3113
  msgstr "Absender"
3114
 
3115
+ # @ woocommerce-germanized
3116
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:27
3117
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:665
3118
+ msgctxt "shipments"
3119
+ msgid "Order"
3120
+ msgstr "Bestellung"
3121
+
3122
+ # @ woocommerce-germanized
3123
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:56
3124
  msgctxt "shipments"
3125
+ msgid "Send notification to customer"
3126
+ msgstr "Benachrichtigung an den Kunden senden"
3127
+
3128
+ # @ woocommerce-germanized
3129
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:77
3130
+ msgctxt "shipments"
3131
+ msgid "Confirm open return requests"
3132
+ msgstr "Offene Rücksendeanträge bestätigen"
3133
 
3134
  # @ woocommerce-germanized
3135
  #: woocommerce-germanized-shipments/src/Admin/Settings.php:38
3163
 
3164
  # @ woocommerce-germanized
3165
  #: woocommerce-germanized-shipments/src/Admin/Settings.php:66
3166
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:120
3167
  msgctxt "shipments"
3168
  msgid "Automation"
3169
  msgstr "Automatisierung"
3179
  "bestimmten Status erreichen. Du kannst die Sendungen anschließend einfach "
3180
  "manuell anpassen, indem du die dazugehörige Bestellung bearbeitest."
3181
 
3182
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:81
3183
+ #, php-format
3184
+ msgctxt "shipments"
3185
+ msgid ""
3186
+ "Germanized can help you to minimize manual work while handling customer "
3187
+ "returns. Learn more about returns within our %s."
3188
+ msgstr ""
3189
+ "Germanized kann dir dabei helfen den Aufwand bei der Abwicklung von Retouren "
3190
+ "zu minimieren. Lerne mehr über die Verwaltung von Retouren in unserer %s."
3191
+
3192
  # @ woocommerce-germanized
3193
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:81
3194
+ msgctxt "shipments"
3195
+ msgid "documentation"
3196
+ msgstr "Dokumentation"
3197
+
3198
+ # @ woocommerce-germanized
3199
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:101
3200
  msgctxt "shipments"
3201
  msgid "Notify"
3202
  msgstr "Benachrichtigung"
3203
 
3204
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:102
3205
  msgctxt "shipments"
3206
  msgid "Notify customers about new shipments."
3207
  msgstr "Benachrichtige Kunden über neue Sendungen."
3208
 
3209
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:102
3210
  #, php-format
3211
  msgctxt "shipments"
3212
  msgid ""
3216
  "Benachrichtige Kunden via E-Mail sobald eine Sendung als verschickt markiert "
3217
  "wurde. %s die E-Mail-Benachrichtigung."
3218
 
3219
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:102
3220
  msgctxt "shipments notification"
3221
  msgid "Manage"
3222
  msgstr "Verwalte"
3223
 
3224
  # @ woocommerce-germanized
3225
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:109
3226
  msgctxt "shipments"
3227
  msgid "Default provider"
3228
  msgstr "Standard-Dienstleister"
3229
 
3230
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:110
3231
  msgctxt "shipments"
3232
  msgid ""
3233
  "Select a default shipping provider which will be selected by default in case "
3236
  "Wähle einen Standard-Versanddienstleister aus der verwendet wird, falls kein "
3237
  "Dienstleister automatisch bestimmt werden konnte."
3238
 
3239
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:123
3240
  msgctxt "shipments"
3241
  msgid "Enable"
3242
  msgstr "Aktivieren"
3243
 
3244
  # @ woocommerce-germanized
3245
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:124
3246
  msgctxt "shipments"
3247
  msgid "Automatically create shipments for orders."
3248
  msgstr "Automatisch Sendungen zu Bestellungen erstellen."
3249
 
3250
  # @ woocommerce-germanized
3251
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:131
3252
  msgctxt "shipments"
3253
  msgid "Order statuses"
3254
  msgstr "Bestellstatus"
3255
 
3256
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:132
3257
  msgctxt "shipments"
3258
  msgid ""
3259
  "Create shipments as soon as the order reaches one of the following "
3263
  "erreicht."
3264
 
3265
  # @ woocommerce-germanized
3266
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:140
3267
  msgctxt "shipments"
3268
  msgid "On new order creation"
3269
  msgstr "Beim Erstellen einer Bestellung"
3270
 
3271
  # @ woocommerce-germanized
3272
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:145
3273
  msgctxt "shipments"
3274
  msgid "Default status"
3275
  msgstr "Standardstatus"
3276
 
3277
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:146
3278
  msgctxt "shipments"
3279
  msgid "Choose a default status for the automatically created shipment."
3280
  msgstr ""
3282
  "erhält."
3283
 
3284
  # @ woocommerce-germanized
3285
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:158
3286
  msgctxt "shipments"
3287
  msgid "Update status"
3288
  msgstr "Status"
3289
 
3290
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:159
3291
  msgctxt "shipments"
3292
  msgid "Mark order as completed after order is fully shipped."
3293
  msgstr ""
3294
  "Bestellung als fertiggestellt markieren sobald sie komplett versandt wurde."
3295
 
3296
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:159
3297
  msgctxt "shipments"
3298
  msgid ""
3299
  "This option will automatically update the order status to completed as soon "
3303
  "fertiggestellt gesetzt wird, sobald alle notwendigen Sendungen einer "
3304
  "Bestellung versandt wurden."
3305
 
3306
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:166
3307
  msgctxt "shipments"
3308
  msgid "Mark as shipped"
3309
  msgstr "Als versandt markieren"
3310
 
3311
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:167
3312
  msgctxt "shipments"
3313
  msgid "Mark shipments as shipped after order completion."
3314
  msgstr ""
3315
  "Sendung als versandt markieren, sobald die Bestellung fertiggestellt wurde."
3316
 
3317
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:167
3318
  msgctxt "shipments"
3319
  msgid ""
3320
  "This option will automatically update contained shipments to shipped (if "
3324
  "Diese Option sorgt dafür, dass der Sendungsstatus automatisch auf versandt "
3325
  "gesetzt wird, sobald die Bestellung als fertiggestellt markiert wurde."
3326
 
3327
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:175
3328
+ #, php-format
3329
+ msgctxt "shipments"
3330
+ msgid ""
3331
+ "Returns can be added manually by the shop manager or by the customer. Decide "
3332
+ "what suits you best by turning customer-added returns on or off in your %s."
3333
+ msgstr ""
3334
+ "Rücksendungen können manuell vom Shop Manager und/oder vom Kunden angelegt "
3335
+ "werden. Entscheide selbst ob du Kunden Rücksendungen anfordern lassen "
3336
+ "möchtest indem du deine %s anpasst."
3337
+
3338
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:175
3339
+ msgctxt "shipments"
3340
+ msgid "shipping provider settings"
3341
+ msgstr "Versanddienstleister Einstellungen"
3342
+
3343
  # @ woocommerce-germanized
3344
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:182
3345
  msgctxt "shipments"
3346
+ msgid "Days to return"
3347
+ msgstr "Zeitraum für Retouren"
3348
 
3349
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:183
3350
+ #, php-format
3351
  msgctxt "shipments"
3352
+ msgid ""
3353
+ "In case one of your %s supports returns added by customers you might want to "
3354
+ "limit the number of days a customer is allowed to add returns to an order. "
3355
+ "The days are counted starting with the date the order was shipped, completed "
3356
+ "or created (by checking for existance in this order)."
3357
+ msgstr ""
3358
+ "Falls einer deiner %s durch Kunden hinzugefügte Rücksendungen unterstützt "
3359
+ "kannst du hier die Anzahl der Tage beschränken, für die Rücksendungen "
3360
+ "beantragt werden dürfen. Die Tage werden startend mit dem Tag an dem die "
3361
+ "Bestellung als versandt oder fertiggestellt markiert bzw. Erstellt wurde (je "
3362
+ "nachdem welche Daten verfügbar sind für die jeweilige Bestellung) gezählt."
3363
 
3364
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:183
3365
  msgctxt "shipments"
3366
+ msgid "shipping providers"
3367
+ msgstr "Versanddienstleister"
3368
 
3369
  # @ woocommerce-germanized
3370
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:192
3371
  msgctxt "shipments"
3372
  msgid "Return Address"
3373
  msgstr "Retouren Adresse"
3374
 
3375
  # @ woocommerce-germanized
3376
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:195
3377
  msgctxt "shipments"
3378
  msgid "First Name"
3379
  msgstr "Vorname"
3380
 
3381
  # @ woocommerce-germanized
3382
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:202
3383
  msgctxt "shipments"
3384
  msgid "Last Name"
3385
  msgstr "Nachname"
3386
 
3387
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:209
3388
  msgctxt "shipments"
3389
  msgid "Company"
3390
  msgstr "Firma"
3391
 
3392
  # @ woocommerce-germanized
3393
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:216
3394
  msgctxt "shipments"
3395
  msgid "Address 1"
3396
  msgstr "Adresszeile 1"
3397
 
3398
  # @ woocommerce-germanized
3399
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:223
3400
  msgctxt "shipments"
3401
  msgid "Address 2"
3402
  msgstr "Adresszeile 2"
3403
 
3404
  # @ woocommerce-germanized
3405
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:230
3406
  msgctxt "shipments"
3407
  msgid "City"
3408
  msgstr "Stadt"
3409
 
3410
  # @ woocommerce-germanized
3411
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:237
3412
  msgctxt "shipments"
3413
  msgid "Country / State"
3414
  msgstr "Land / Bundesland"
3415
 
3416
  # @ woocommerce-germanized
3417
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:245
3418
  msgctxt "shipments"
3419
  msgid "Postcode"
3420
  msgstr "Postleitzahl"
3421
 
3422
+ # @ woocommerce-germanized
3423
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:253
3424
+ msgctxt "shipments"
3425
+ msgid "Customer Account"
3426
+ msgstr "Kundenkonto"
3427
+
3428
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:256
3429
+ msgctxt "shipments"
3430
+ msgid "List"
3431
+ msgstr "Liste"
3432
+
3433
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:257
3434
+ msgctxt "shipments"
3435
+ msgid "List shipments on customer account order screen."
3436
+ msgstr "Liste Sendungen im Kundenkonto in den Bestelldetails auf."
3437
+
3438
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:351
3439
  msgctxt "shipments"
3440
  msgid "New provider"
3441
  msgstr "Neuer Dienstleister"
3442
 
3443
  # @ woocommerce-germanized
3444
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:361
3445
  msgctxt "shipments"
3446
  msgid "Additional settings"
3447
  msgstr "Weiterführende Einstellungen"
3448
 
3449
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:387
3450
  msgctxt "shipments"
3451
  msgid "Add provider"
3452
  msgstr "Dienstleister hinzufügen"
3453
 
3454
  # @ woocommerce-germanized
3455
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:395
3456
  msgctxt "shipments"
3457
  msgid "General"
3458
  msgstr "Allgemein"
3459
 
3460
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:396
3461
  #: woocommerce-germanized-shipments/src/ShippingProviderMethod.php:56
3462
  msgctxt "shipments"
3463
  msgid "Shipping Provider"
3464
  msgstr "Versanddienstleister"
3465
 
3466
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:176
3467
  #, php-format
3468
  msgctxt "shipments"
3469
  msgid "%d shipment deleted."
3471
  msgstr[0] "%d Sendung gelöscht."
3472
  msgstr[1] "%d Sendungen gelöscht."
3473
 
3474
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:186
3475
  #, php-format
3476
  msgctxt "shipments"
3477
  msgid "%d shipment status changed."
3479
  msgstr[0] "%d Sendungsstatus geändert."
3480
  msgstr[1] "%d Sendungsstatus geändert."
3481
 
3482
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:345
3483
  msgctxt "shipments"
3484
  msgid "No shipments found"
3485
  msgstr "Keine Sendungen gefunden"
3486
 
3487
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:385
3488
  #, php-format
3489
  msgctxt "shipments"
3490
  msgid "All <span class=\"count\">(%s)</span>"
3492
  msgstr[0] "Alle <span class=\"count\">(%s)</span>"
3493
  msgstr[1] "Alle <span class=\"count\">(%s)</span>"
3494
 
3495
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:410
3496
  #, php-format
3497
  msgctxt "shipments"
3498
  msgid " <span class=\"count\">(%s)</span>"
3500
  msgstr[0] " <span class=\"count\">(%s)</span>"
3501
  msgstr[1] " <span class=\"count\">(%s)</span>"
3502
 
3503
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:500
3504
  msgctxt "shipments"
3505
  msgid "Filter by date"
3506
  msgstr "Nach Datum filtern"
3507
 
3508
  # @ woocommerce-germanized
3509
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:502
3510
  msgctxt "shipments"
3511
  msgid "All dates"
3512
  msgstr "Alle Daten"
3513
 
3514
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:517
3515
  #, php-format
3516
  msgid "%1$s %2$d"
3517
  msgstr "%1$s %2$d"
3518
 
3519
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:538
3520
  msgctxt "shipments"
3521
  msgid "Processing bulk actions..."
3522
  msgstr "Bearbeite Mehrfachaktionen.."
3523
 
3524
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:622
3525
  msgctxt "shipments"
3526
  msgid "Filter"
3527
  msgstr "Filtern"
3528
 
3529
  # @ woocommerce-germanized
3530
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:638
3531
+ #: woocommerce-germanized-shipments/src/Ajax.php:811
3532
  #, php-format
3533
  msgctxt "shipments"
3534
  msgid "Order #%s"
3535
  msgstr "Bestellung #%s"
3536
 
3537
  # @ woocommerce
3538
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:643
3539
  msgctxt "shipments"
3540
  msgid "Filter by order"
3541
  msgstr "Nach Bestellung filtern"
3542
 
3543
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:664
3544
  msgctxt "shipments"
3545
  msgid "Address"
3546
  msgstr "Adresse"
3547
 
3548
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:756
3549
+ #: woocommerce-germanized-shipments/templates/myaccount/shipments.php:68
 
 
 
 
 
 
3550
  #, php-format
3551
  msgctxt "shipment title"
3552
  msgid "%s #%s"
3553
  msgstr "%s #%s"
3554
 
3555
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:769
3556
  #, php-format
3557
  msgctxt "shipments"
3558
  msgid "via %s"
3559
  msgstr "via %s"
3560
 
3561
  # @ woocommerce-germanized
3562
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:845
 
 
 
 
 
 
 
3563
  msgctxt "shipments"
3564
  msgid "Generate label"
3565
  msgstr "Label erstellen"
3566
 
3567
  # @ woocommerce-germanized
3568
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:895
3569
  #, php-format
3570
  msgctxt "shipments"
3571
  msgid "Select %s"
3572
  msgstr "Wähle %s"
3573
 
3574
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:922
3575
  msgctxt "shipments"
3576
  msgid "SKU:"
3577
  msgstr "Art.-Nr.:"
3578
 
3579
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1016
3580
  #, php-format
3581
  msgctxt "%s = human-readable time difference"
3582
  msgid "%s ago"
3583
  msgstr "vor %s"
3584
 
3585
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1028
3586
  msgctxt "shipments"
3587
  msgid "M j, Y"
3588
  msgstr "d.m.Y"
3589
 
3590
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1085
3591
  msgctxt "shipments"
3592
  msgid "Delete Permanently"
3593
  msgstr "Unwiderruflich löschen"
3594
 
3595
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1088
3596
  msgctxt "shipments"
3597
  msgid "Change status to processing"
3598
  msgstr "Status zu in Bearbeitung ändern"
3599
 
3600
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1089
3601
  msgctxt "shipments"
3602
  msgid "Change status to shipped"
3603
  msgstr "Status zu versandt ändern"
3604
 
3605
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1090
3606
  msgctxt "shipments"
3607
  msgid "Change status to delivered"
3608
  msgstr "Status zu geliefert ändern"
3609
 
3610
  # @ woocommerce-germanized
3611
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1091
3612
  msgctxt "shipments"
3613
  msgid "Generate and download labels"
3614
  msgstr "Labels erstellen und downloaden"
3615
 
3616
+ #: woocommerce-germanized-shipments/src/Ajax.php:90
3617
+ msgctxt "shipments"
3618
+ msgid "Notification successfully sent to customer."
3619
+ msgstr "Kunde erfolgreich benachrichtigt."
3620
+
3621
+ #: woocommerce-germanized-shipments/src/Ajax.php:97
3622
  msgctxt "shipments"
3623
+ msgid "There was an error while sending the notification."
3624
+ msgstr "Beim Versendes der Benachrichtigung ist ein Fehler aufgetreten."
3625
 
3626
+ #: woocommerce-germanized-shipments/src/Ajax.php:137
3627
  msgctxt "shipments"
3628
+ msgid "Return request confirmed successfully."
3629
+ msgstr "Rücksendeantrag erfolgreich bestätigt."
3630
 
3631
+ #: woocommerce-germanized-shipments/src/Ajax.php:149
3632
+ msgctxt "shipments"
3633
+ msgid "There was an error while confirming the request."
3634
+ msgstr "Bei der Bestätigung des Antrags ist ein Fehler aufgetreten."
3635
+
3636
+ #: woocommerce-germanized-shipments/src/Ajax.php:169
3637
  msgctxt "shipments"
3638
  msgid "There was an error creating the label."
3639
  msgstr "Beim Erstellen des Labels ist ein Fehler aufgetreten."
3640
 
3641
+ #: woocommerce-germanized-shipments/src/Ajax.php:205
3642
  msgctxt "shipments"
3643
  msgid "There was an error deleting the label."
3644
  msgstr "Beim Löschen des Labels ist ein Fehler aufgetreten."
3645
 
3646
+ #: woocommerce-germanized-shipments/src/Ajax.php:246
3647
  msgctxt "shipments"
3648
  msgid "There was an error processing the label."
3649
  msgstr "Bei der Verarbeitung des Labels ist ein Fehler aufgetreten."
3650
 
3651
+ #: woocommerce-germanized-shipments/src/Ajax.php:344
3652
  msgctxt "shipments"
3653
  msgid "There was an error while trying to save the shipping provider status."
3654
  msgstr ""
3655
  "Beim Speichern des Status des Versanddienstleisters trat ein Fehler auf."
3656
 
3657
+ #: woocommerce-germanized-shipments/src/Ajax.php:382
3658
  msgctxt "shipments"
3659
  msgid "There was an error while trying to delete the shipping provider."
3660
  msgstr "Beim Löschen des Versanddienstleisters trat ein Fehler auf."
3661
 
3662
+ #: woocommerce-germanized-shipments/src/Ajax.php:415
3663
  msgctxt "shipments"
3664
  msgid "There was an error while bulk processing shipments."
3665
  msgstr ""
3666
  "Bei der Verarbeitung der Mehrfachaktionen von Sendungen trat ein Fehler auf."
3667
 
3668
+ #: woocommerce-germanized-shipments/src/Ajax.php:527
3669
+ #: woocommerce-germanized-shipments/src/Ajax.php:628
3670
+ #: woocommerce-germanized-shipments/src/Ajax.php:685
3671
+ #: woocommerce-germanized-shipments/src/Ajax.php:722
3672
+ #: woocommerce-germanized-shipments/src/Ajax.php:849
3673
+ #: woocommerce-germanized-shipments/src/Ajax.php:916
 
3674
  #: woocommerce-germanized-shipments/src/Ajax.php:949
3675
+ #: woocommerce-germanized-shipments/src/Ajax.php:998
3676
+ #: woocommerce-germanized-shipments/src/Ajax.php:1066
3677
+ #: woocommerce-germanized-shipments/src/Ajax.php:1107
3678
+ #: woocommerce-germanized-shipments/src/Ajax.php:1162
3679
+ #: woocommerce-germanized-shipments/src/Ajax.php:1206
3680
  msgctxt "shipments"
3681
  msgid "There was an error processing the shipment"
3682
  msgstr "Fehler bei der Verarbeitung der Sendung"
3683
 
3684
+ #: woocommerce-germanized-shipments/src/Ajax.php:569
3685
  msgctxt "shipments"
3686
  msgid "There was an error while adding the shipment"
3687
  msgstr "Beim Hinzufügen der Sendung ist ein Fehler aufgetreten"
3688
 
3689
+ #: woocommerce-germanized-shipments/src/Ajax.php:590
3690
  msgctxt "shipments"
3691
  msgid "This order contains enough shipments already."
3692
  msgstr "Diese Bestellung beinhaltet bereits genug Sendungen."
3693
 
3694
+ #: woocommerce-germanized-shipments/src/Ajax.php:647
3695
+ msgctxt "shipments"
3696
+ msgid "This order contains enough returns already."
3697
+ msgstr "Diese Bestellung beinhaltet bereits genügend Retouren."
3698
+
3699
  # @ woocommerce-germanized
3700
  #: woocommerce-germanized-shipments/src/Api.php:104
3701
  msgctxt "shipments"
3893
  msgid "Order is fully shipped."
3894
  msgstr "Bestellung ist vollständig versandt."
3895
 
3896
+ #: woocommerce-germanized-shipments/src/DataStores/ShipmentItem.php:193
3897
  msgctxt "shipments"
3898
  msgid "Invalid shipment item."
3899
  msgstr "Ungültige Sendungsposition."
3900
 
3901
+ #: woocommerce-germanized-shipments/src/DataStores/ShippingProvider.php:256
3902
  msgctxt "shipments"
3903
  msgid "Invalid shipping provider."
3904
  msgstr "Versanddienstleister nicht bekannt."
3905
 
3906
+ #: woocommerce-germanized-shipments/src/FormHandler.php:35
3907
+ msgctxt "shipments"
3908
+ msgid ""
3909
+ "Your return request was submitted successfully. We will now review your "
3910
+ "request and get in contact with you as soon as possible."
3911
+ msgstr ""
3912
+ "Dein Rücksendeantrag wurde erfolgreich abgeschickt. Wir prüfen deinen Antrag "
3913
+ "und setzen uns mit dir in Kontakt."
3914
+
3915
+ #: woocommerce-germanized-shipments/src/FormHandler.php:37
3916
+ msgctxt "shipments"
3917
+ msgid ""
3918
+ "Your return request was submitted successfully. You'll receive an email with "
3919
+ "further instructions in a few minutes."
3920
+ msgstr ""
3921
+ "Dein Rücksendeantrag wurde erfolgreich abgeschickt. Du erhältst in Kürze "
3922
+ "eine E-Mail, die dich über die nächsten Schritte informiert."
3923
+
3924
+ #: woocommerce-germanized-shipments/src/FormHandler.php:103
3925
+ #: woocommerce-germanized-shipments/src/FormHandler.php:107
3926
+ msgctxt "shipments"
3927
+ msgid "Error:"
3928
+ msgstr "Fehler:"
3929
+
3930
+ #: woocommerce-germanized-shipments/src/FormHandler.php:103
3931
+ msgctxt "shipments"
3932
+ msgid "We were not able to find a matching order."
3933
+ msgstr "Wir konnten leider keine passende Bestellung finden."
3934
+
3935
+ #: woocommerce-germanized-shipments/src/FormHandler.php:107
3936
+ msgctxt "shipments"
3937
+ msgid ""
3938
+ "This order is currently not eligible for returns. Please contact us for "
3939
+ "further details."
3940
+ msgstr ""
3941
+ "Diese Bestellung ist aktuell nicht für Rücksendungen verfügbar. Bitte "
3942
+ "kontaktiere uns für weitere Details."
3943
+
3944
+ #: woocommerce-germanized-shipments/src/FormHandler.php:116
3945
+ msgctxt "shipments"
3946
+ msgid ""
3947
+ "Thank you. You'll receive an email containing a link to create a new return "
3948
+ "to your order."
3949
+ msgstr ""
3950
+ "Vielen Dank. Du erhältst eine E-Mail mit einem Link über den du deinen "
3951
+ "Rücksendeantrag stellen kannst."
3952
+
3953
+ #: woocommerce-germanized-shipments/src/FormHandler.php:171
3954
+ msgctxt "shipments"
3955
+ msgid "You are not allowed to add returns to that order."
3956
+ msgstr ""
3957
+ "Du bist nicht dazu berechtigt Rücksendungen zu dieser Bestellung "
3958
+ "hinzuzufügen."
3959
+
3960
+ # @ woocommerce-germanized
3961
+ #: woocommerce-germanized-shipments/src/FormHandler.php:176
3962
+ msgctxt "shipments"
3963
+ msgid "Sorry, but this order does not support returns any longer."
3964
+ msgstr "Entschuldigung, diese Sendung kann nicht mehr zurückgesendet werden."
3965
+
3966
+ #: woocommerce-germanized-shipments/src/FormHandler.php:181
3967
+ msgctxt "shipments"
3968
+ msgid "Please choose one or more items from the list."
3969
+ msgstr "Bitte wähle ein oder mehrere Produkt(e) aus."
3970
+
3971
+ #: woocommerce-germanized-shipments/src/FormHandler.php:197
3972
+ msgctxt "shipments"
3973
+ msgid "The return reason you have chosen does not exist."
3974
+ msgstr "Der Rücksendegrund existiert nicht."
3975
+
3976
+ #: woocommerce-germanized-shipments/src/FormHandler.php:200
3977
+ msgctxt "shipments"
3978
+ msgid "Please choose a return reason from the list."
3979
+ msgstr "Bitte wähle aus der Liste einen Grund für die Rücksendung aus."
3980
+
3981
+ #: woocommerce-germanized-shipments/src/FormHandler.php:205
3982
+ msgctxt "shipments"
3983
+ msgid ""
3984
+ "Please check your item quantities. Quantities must not exceed maximum "
3985
+ "quantities."
3986
+ msgstr ""
3987
+ "Bitte überprüfe deine Angaben zur Anzahl. Die angegebene Anzahl ist zu hoch."
3988
+
3989
+ #: woocommerce-germanized-shipments/src/FormHandler.php:247
3990
+ msgctxt "shipments"
3991
+ msgid ""
3992
+ "There was an error while creating the return. Please contact us for further "
3993
+ "information."
3994
+ msgstr ""
3995
+ "Es gab ein Problem beim Erstellen der Rücksendung. Bitte kontaktiere uns für "
3996
+ "weitere Informationen."
3997
+
3998
+ #: woocommerce-germanized-shipments/src/Install.php:28
3999
+ msgctxt "shipments"
4000
+ msgid "Wrong product or size ordered"
4001
+ msgstr "Falsches Produkt oder Größe bestellt"
4002
+
4003
+ #: woocommerce-germanized-shipments/src/Install.php:33
4004
+ msgctxt "shipments"
4005
+ msgid "Product no longer needed"
4006
+ msgstr "Produkt wird nicht länger benötigt"
4007
+
4008
+ #: woocommerce-germanized-shipments/src/Install.php:38
4009
+ msgctxt "shipments"
4010
+ msgid "Don't like the look"
4011
+ msgstr "Optik nicht wie erwartet"
4012
+
4013
+ # @ woocommerce-germanized
4014
+ #: woocommerce-germanized-shipments/src/Package.php:78
4015
+ msgctxt "shipments"
4016
+ msgid "Sorry, this order is invalid and cannot be returned."
4017
+ msgstr "Sorry, diese Bestellung existiert nicht."
4018
+
4019
+ #: woocommerce-germanized-shipments/src/ReturnShipment.php:365
4020
+ #: woocommerce-germanized-shipments/src/Shipment.php:843
4021
  #, php-format
4022
  msgctxt "full name"
4023
  msgid "%1$s %2$s"
4024
  msgstr "%1$s %2$s"
4025
 
4026
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:266
 
4027
  msgctxt "shipments"
4028
+ msgid ""
4029
+ "Your shipment is being processed by {shipping_provider}. If you want to "
4030
+ "track the shipment, please use the following tracking number: {tracking_id}. "
4031
+ "Depending on the chosen shipping method it is possible that the tracking "
4032
+ "data does not reflect the current status when receiving this email."
4033
+ msgstr ""
4034
+ "Deine Sendung wurde mit {shipping_provider} versandt. Wenn du diese Sendung "
4035
+ "verfolgen möchtest, benutze bitte diese Paketverfolgungsnummer: "
4036
+ "{tracking_id}. Abhängig von der gewählten Versandoption kann es sein, dass "
4037
+ "die Paketverfolgungsdaten zum Zeitpunkt des Erhalts dieser E-Mail noch nicht "
4038
+ "den neuesten Stand wiedergeben."
4039
 
4040
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:524
4041
  #, php-format
4042
  msgctxt "shipments"
4043
  msgid "%s supports many more options. Explore %s."
4044
  msgstr "%s unterstützt viele weitere Einstellungen. Schau dir %s an."
4045
 
4046
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:524
4047
+ #, php-format
4048
+ msgctxt "shipments"
4049
+ msgid "%s specific settings"
4050
+ msgstr "%s spezifische Einstellungen"
4051
+
4052
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:535
4053
+ msgctxt "shipments"
4054
+ msgid "Choose a title for the shipping provider."
4055
+ msgstr "Wähle einen Titel für den Versanddienstleister."
4056
+
4057
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:544
4058
+ msgctxt "shipments"
4059
+ msgid "Choose a description for the shipping provider."
4060
+ msgstr "Wähle eine Beschreibung für den Versanddienstleister."
4061
+
4062
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:556
4063
+ msgctxt "shipments"
4064
+ msgid "Tracking URL"
4065
+ msgstr "Sendungsverfolgung URL"
4066
+
4067
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:557
4068
+ #, php-format
4069
+ msgctxt "shipments"
4070
+ msgid ""
4071
+ "Adjust the placeholder used to construct the tracking URL for this shipping "
4072
+ "provider. You may use on of the following placeholders to insert the "
4073
+ "tracking id or other dynamic data: %s"
4074
+ msgstr ""
4075
+ "Passe den Platzhalter zur Konstruktion der URL zur Sendungsverfolgung für "
4076
+ "den Versanddienstleister an. Du kannst einen der folgenden Platzhalter "
4077
+ "verwenden um die Paketverfolgungsnummer oder andere dynamische Daten "
4078
+ "einzufügen: %s"
4079
+
4080
+ # @ woocommerce-germanized
4081
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:567
4082
+ msgctxt "shipments"
4083
+ msgid "Tracking description"
4084
+ msgstr "Sendungsverfolgung Hinweis"
4085
+
4086
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:568
4087
+ #, php-format
4088
+ msgctxt "shipments"
4089
+ msgid ""
4090
+ "Adjust the placeholder used to construct the tracking description for this "
4091
+ "shipping provider (e.g. used within notification emails). You may use on of "
4092
+ "the following placeholders to insert the tracking id or other dynamic data: "
4093
+ "%s"
4094
+ msgstr ""
4095
+ "Passe den Platzhalter zur Konstruktion des Hinweises zur Sendungsverfolgung "
4096
+ "für den Versanddienstleister an. Du kannst einen der folgenden Platzhalter "
4097
+ "verwenden um die Paketverfolgungsnummer oder andere dynamische Daten "
4098
+ "einzufügen: %s"
4099
+
4100
+ # @ woocommerce-germanized
4101
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:578
4102
+ msgctxt "shipments"
4103
+ msgid "Customer returns"
4104
+ msgstr "Rücksendungen"
4105
+
4106
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:579
4107
+ msgctxt "shipments"
4108
+ msgid "Allow customers to submit return requests to shipments."
4109
+ msgstr "Erlaube Kunden eine Rücksendung zu einer Sendung zu beantragen."
4110
+
4111
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:579
4112
+ #, php-format
4113
+ msgctxt "shipments"
4114
+ msgid ""
4115
+ "This option will allow your customers to submit return requests to orders. "
4116
+ "Return requests will be visible within your %s. To learn more about return "
4117
+ "requests by customers and/or guests, please check the %s."
4118
+ msgstr ""
4119
+ "Die Aktivierung dieser Option ermöglicht es deinen Kunden Rücksendeanträge "
4120
+ "zu Bestellungen über den Kundenbereich zu stellen. Rücksendeanträge werden "
4121
+ "in deinem %s aufgelistet. Um mehr über Rücksendeanträge von Kunden und/oder "
4122
+ "Gästen zu erfahren, lese bitte die %s."
4123
+
4124
+ # @ woocommerce-germanized
4125
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:579
4126
  msgctxt "shipments"
4127
+ msgid "Return Dashboard"
4128
+ msgstr "Retouren-Dashboard"
4129
 
4130
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:579
4131
  msgctxt "shipments"
4132
+ msgid "docs"
4133
+ msgstr "Dokumentation"
4134
 
4135
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:588
4136
  msgctxt "shipments"
4137
+ msgid "Guest returns"
4138
+ msgstr "Retouren für Gäste"
4139
 
4140
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:589
4141
  msgctxt "shipments"
4142
+ msgid "Allow guests to submit return requests to shipments."
4143
+ msgstr "Erlaube Gästen Rücksendeanträge zu Bestellungen zu beantragen."
4144
 
4145
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:589
4146
  #, php-format
4147
  msgctxt "shipments"
4148
  msgid ""
4149
+ "Guests will need to provide their email address and the order id to receive "
4150
+ "a one-time link to submit a return request. The placeholder %s might be used "
4151
+ "to place the request form on your site."
4152
  msgstr ""
4153
+ "Gäste müssen die bei der Bestellung angegebene E-Mail-Adresse und die "
4154
+ "Bestellnummer angeben und erhalten einen einmaligen Link zum Stellen des "
4155
+ "Rücksendeantrags per E-Mail. Der Shortcode %s kann verwendet werden um das "
4156
+ "Rücksende-Formular für Gäste auf deiner Seite zu platzieren."
4157
 
4158
  # @ woocommerce-germanized
4159
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:600
4160
  msgctxt "shipments"
4161
+ msgid "Manual confirmation"
4162
+ msgstr "Manuelle Bestätigung"
4163
 
4164
+ # @ woocommerce-germanized
4165
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:601
4166
+ msgctxt "shipments"
4167
+ msgid "Return requests need manual confirmation."
4168
+ msgstr "Rücksendeanträge benötigen eine manuelle Bestätigung."
4169
+
4170
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:601
4171
  msgctxt "shipments"
4172
  msgid ""
4173
+ "By default return request need manual confirmation e.g. a shop manager needs "
4174
+ "to review return requests which by default are added with the status "
4175
+ "\"requested\" after a customer submitted a return request. If you choose to "
4176
+ "disable this option, customer return requests will be added as \"processing"
4177
+ "\" and an email confirmation including instructions will be sent immediately "
4178
+ "to the customer."
4179
  msgstr ""
4180
+ "Standardmäßig benötigen Rücksendeanträge eine manuelle Bestätigung durch den "
4181
+ "Shopbetreiber, d.h. Rücksendeanträge werden mit dem Status \"angefragt\" "
4182
+ "erstellt. Falls du diese Option deaktivierst, werden Rücksendungen mit dem "
4183
+ "Status \"in Bearbeitung\" angelegt und Kunden erhalten ggfs. Direkt eine E-"
4184
+ "Mail-Bestätigung samt Retouren-Label."
4185
 
4186
+ # @ woocommerce-germanized
4187
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:613
4188
+ msgctxt "shipments"
4189
+ msgid "Return instructions"
4190
+ msgstr "Rücksende-Anweisungen"
4191
+
4192
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:614
4193
  msgctxt "shipments"
4194
  msgid ""
4195
+ "Provide your customer with instructions on how to return the shipment after "
4196
+ "a return request has been confirmed e.g. explain how to prepare the return "
4197
+ "for shipment. In case a label cannot be generated automatically, make sure "
4198
+ "to provide your customer with information on how to obain a return label."
4199
  msgstr ""
4200
+ "Informiere deine Kunden darüber, wie eine Sendung für die Rücksendung "
4201
+ "vorbereitet werden muss. Falls ein Label nicht automatisch erzeugt werden "
4202
+ "kann, solltest du deine Kunden darüber informieren, woher ein Label für die "
4203
+ "Rücksendung bezogen werden kann."
 
4204
 
4205
  #: woocommerce-germanized-shipments/src/ShippingProviderMethod.php:50
4206
  msgctxt "shipments"
4222
  "kommende Sendung hinterlegt wird."
4223
 
4224
  # @ woocommerce-germanized
4225
+ #: woocommerce-germanized-shipments/src/WPMLHelper.php:73
4226
  #, php-format
4227
  msgctxt "shipments"
4228
  msgid "%s tracking description"
4229
  msgstr "%s Sendungsverfolgung"
4230
 
4231
+ #: woocommerce-germanized-shipments/src/WPMLHelper.php:74
4232
  #, php-format
4233
  msgctxt "shipments"
4234
  msgid "%s tracking URL"
4235
  msgstr "%s Sendungsverfolgung URL"
4236
 
4237
+ # @ woocommerce-germanized
4238
+ #: woocommerce-germanized-shipments/src/WPMLHelper.php:75
4239
+ #, php-format
4240
+ msgctxt "shipments"
4241
+ msgid "%s return instructions"
4242
+ msgstr "%s Rücksende-Anweisungen"
4243
+
4244
+ #: woocommerce-germanized-shipments/templates/emails/customer-guest-return-shipment-request.php:27
4245
+ #: woocommerce-germanized-shipments/templates/emails/customer-return-shipment-delivered.php:27
4246
+ #: woocommerce-germanized-shipments/templates/emails/customer-return-shipment.php:27
4247
+ #: woocommerce-germanized-shipments/templates/emails/customer-shipment.php:27
4248
+ #: woocommerce-germanized-shipments/templates/emails/plain/customer-guest-return-shipment-request.php:24
4249
+ #: woocommerce-germanized-shipments/templates/emails/plain/customer-return-shipment-delivered.php:24
4250
+ #: woocommerce-germanized-shipments/templates/emails/plain/customer-return-shipment.php:24
4251
+ #: woocommerce-germanized-shipments/templates/emails/plain/customer-shipment.php:24
4252
+ #, php-format
4253
+ msgid "Hi %s,"
4254
+ msgstr "Hallo %s,"
4255
+
4256
+ #: woocommerce-germanized-shipments/templates/emails/customer-guest-return-shipment-request.php:30
4257
+ #: woocommerce-germanized-shipments/templates/emails/plain/customer-guest-return-shipment-request.php:26
4258
+ #, php-format
4259
+ msgctxt "shipments"
4260
+ msgid ""
4261
+ "You've requested a return to your order %s. Please follow the link to add "
4262
+ "your return request."
4263
+ msgstr ""
4264
+ "Du hast eine Rücksendung zu deiner Bestellung %s angefordert. Bitte klicke "
4265
+ "auf nachfolgendem Link um deinen Rücksendeantrag zu stellen."
4266
+
4267
+ #: woocommerce-germanized-shipments/templates/emails/customer-guest-return-shipment-request.php:34
4268
+ #: woocommerce-germanized-shipments/templates/myaccount/order-shipments.php:30
4269
+ msgctxt "shipments"
4270
+ msgid "Add return request"
4271
+ msgstr "Rücksendeantrag stellen"
4272
+
4273
+ # @ woocommerce-germanized
4274
+ #: woocommerce-germanized-shipments/templates/emails/customer-guest-return-shipment-request.php:37
4275
+ #, php-format
4276
+ msgctxt "shipments"
4277
+ msgid ""
4278
+ "If you cannot follow the link above please copy this url and paste it to "
4279
+ "your browser bar: %s"
4280
+ msgstr ""
4281
+ "Falls du dem Link nicht folgen kannst, kopiere bitte folgende URL in die "
4282
+ "Adresszeile deines Browsers: %s"
4283
+
4284
+ #: woocommerce-germanized-shipments/templates/emails/customer-return-shipment-delivered.php:30
4285
+ #: woocommerce-germanized-shipments/templates/emails/plain/customer-return-shipment-delivered.php:26
4286
+ msgctxt "shipments"
4287
+ msgid ""
4288
+ "Thank you! Your return has been received successfully. There are more "
4289
+ "details below for your reference:"
4290
+ msgstr ""
4291
+ "Vielen Dank! Deine Rücksendung ist eingegangen. Nachfolgend findest du "
4292
+ "weitere Einzelheiten zu deiner Rücksendung:"
4293
+
4294
+ #: woocommerce-germanized-shipments/templates/emails/customer-return-shipment.php:32
4295
+ #: woocommerce-germanized-shipments/templates/emails/plain/customer-return-shipment.php:28
4296
+ msgctxt "shipments"
4297
+ msgid ""
4298
+ "Your return request has been accepted. Please follow the instructions "
4299
+ "beneath to return your shipment."
4300
+ msgstr ""
4301
+ "Dein Rücksendeantrag wurde akzeptiert. Nachfolgend findest du Informationen "
4302
+ "dazu, wie du deine Rücksendung für den Versand vorbereitest."
4303
+
4304
+ #: woocommerce-germanized-shipments/templates/emails/customer-return-shipment.php:34
4305
+ #: woocommerce-germanized-shipments/templates/emails/plain/customer-return-shipment.php:30
4306
+ msgctxt "shipments"
4307
+ msgid ""
4308
+ "A new return has been added to your order. Please follow the instructions "
4309
+ "beneath to return your shipment."
4310
+ msgstr ""
4311
+ "Eine neue Rücksendung wurde zu deiner Bestellung angelegt. Nachfolgend "
4312
+ "findest du Informationen dazu, wie du deine Rücksendung für den Versand "
4313
+ "vorbereitest."
4314
+
4315
  #: woocommerce-germanized-shipments/templates/emails/customer-shipment.php:33
4316
  #: woocommerce-germanized-shipments/templates/emails/plain/customer-shipment.php:28
4317
  #, php-format
4348
 
4349
  # @ woocommerce-germanized
4350
  #: woocommerce-germanized-shipments/templates/emails/email-shipment-details.php:54
4351
+ #: woocommerce-germanized-shipments/templates/myaccount/add-return-shipment.php:35
4352
+ #: woocommerce-germanized-shipments/templates/shipment/shipment-details.php:59
4353
  msgctxt "shipments"
4354
  msgid "Product"
4355
  msgstr "Produkt"
4356
 
 
4357
  #: woocommerce-germanized-shipments/templates/emails/email-shipment-tracking.php:27
 
4358
  msgctxt "shipments"
4359
+ msgid "Tracking:"
4360
+ msgstr "Sendungsverfolgung:"
4361
 
4362
  #: woocommerce-germanized-shipments/templates/emails/email-shipment-tracking.php:30
4363
  #: woocommerce-germanized-shipments/templates/emails/plain/email-shipment-tracking.php:24
4380
  msgid "View shipment: %s"
4381
  msgstr "Sendung anzeigen: %s"
4382
 
4383
+ # @ woocommerce-germanized
4384
+ #: woocommerce-germanized-shipments/templates/emails/plain/email-shipment-tracking.php:21
4385
+ msgctxt "shipments"
4386
+ msgid "Delivery:"
4387
+ msgstr "Lieferung:"
4388
+
4389
+ # @ woocommerce-germanized
4390
+ #: woocommerce-germanized-shipments/templates/global/form-return-request.php:29
4391
+ msgctxt "shipments"
4392
+ msgid "Order email"
4393
+ msgstr "E-Mail-Adresse der Bestellung"
4394
+
4395
+ # @ woocommerce-germanized
4396
+ #: woocommerce-germanized-shipments/templates/global/form-return-request.php:34
4397
+ msgctxt "shipments"
4398
+ msgid "Order id"
4399
+ msgstr "Bestellnummer"
4400
+
4401
+ #: woocommerce-germanized-shipments/templates/global/form-return-request.php:44
4402
+ msgctxt "shipments"
4403
+ msgid "Submit"
4404
+ msgstr "Absenden"
4405
+
4406
+ #: woocommerce-germanized-shipments/templates/myaccount/add-return-shipment.php:18
4407
+ msgctxt "shipments"
4408
+ msgid "New return request"
4409
+ msgstr "Neuer Rücksendeantrag"
4410
+
4411
+ #: woocommerce-germanized-shipments/templates/myaccount/add-return-shipment.php:20
4412
+ msgctxt "shipments"
4413
+ msgid "Please select one or more items to return."
4414
+ msgstr "Bitte wähle ein oder mehrere Produkt(e) für deine Rücksendung aus."
4415
+
4416
+ #: woocommerce-germanized-shipments/templates/myaccount/add-return-shipment.php:23
4417
+ msgctxt "shipments"
4418
+ msgid ""
4419
+ "After submitting your return request we will review it and notify you via "
4420
+ "email about the next steps."
4421
+ msgstr ""
4422
+ "Nach dem Absenden deines Rücksendeantrages werden wir den Antrag prüfen und "
4423
+ "dich per E-Mail über die nächsten Schritte informieren."
4424
+
4425
+ #: woocommerce-germanized-shipments/templates/myaccount/add-return-shipment.php:25
4426
+ msgctxt "shipments"
4427
+ msgid ""
4428
+ "After submitting your return request you'll receive an email with further "
4429
+ "information to the return process."
4430
+ msgstr ""
4431
+ "Nach dem Absenden deines Rücksendeantrages erhältst du eine E-Mail, die dich "
4432
+ "über die weiteren Schritte zur Rücksendung informiert."
4433
+
4434
+ #: woocommerce-germanized-shipments/templates/myaccount/add-return-shipment.php:81
4435
+ msgctxt "shipments"
4436
+ msgid "Send request"
4437
+ msgstr "Rücksendeantrag senden"
4438
+
4439
+ #: woocommerce-germanized-shipments/templates/myaccount/order-shipments.php:32
4440
+ msgctxt "shipments"
4441
+ msgid ""
4442
+ "Adding return requests to this order is no longer available. You may contact "
4443
+ "us for further information."
4444
+ msgstr ""
4445
+ "Aktuell können keine Rücksendeanträge zu dieser Bestellung erstellt werden. "
4446
+ "Falls du Fragen zur Rücksendung dieser Bestellung hast, kontaktiere uns "
4447
+ "bitte."
4448
+
4449
+ #: woocommerce-germanized-shipments/templates/myaccount/shipments.php:79
4450
  msgctxt "shipments"
4451
  msgid "track now"
4452
  msgstr "nachverfolgen"
4457
  msgid "Shipment #%1$s was created on %2$s and is currently %3$s."
4458
  msgstr "Sendung #%1$s vom %2$s ist aktuell %3$s."
4459
 
4460
+ #: woocommerce-germanized-shipments/templates/shipment/add-return-shipment-item.php:60
4461
+ msgctxt "shipments return reason"
4462
+ msgid "Please choose"
4463
+ msgstr "Bitte auswählen"
4464
+
4465
  # @ woocommerce-germanized
4466
  #: woocommerce-germanized-shipments/templates/shipment/shipment-details-address.php:25
4467
  msgctxt "shipments"
4469
  msgstr "Sendungsempfänger"
4470
 
4471
  # @ woocommerce-germanized
4472
+ #: woocommerce-germanized-shipments/templates/shipment/shipment-details.php:53
4473
  msgctxt "shipments"
4474
  msgid "Shipment details"
4475
  msgstr "Details zur Sendung"
4827
  msgid "Start tutorial"
4828
  msgstr "Tutorial starten"
4829
 
4830
+ #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-setup-wizard.php:91
4831
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-dhl.php:33
4832
+ #: woocommerce-germanized/includes/admin/views/setup/dhl.php:10
4833
+ msgid "DHL"
4834
+ msgstr "DHL"
4835
+
4836
  # @ woocommerce-germanized
4837
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-setup-wizard.php:99
4838
  msgid "Import settings"
4994
  msgstr "Willkommen bei Germanized"
4995
 
4996
  # @ woocommerce-germanized
4997
+ #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-welcome.php:294
4998
  msgid "Go to Germanized Settings"
4999
  msgstr "Germanized Einstellungen"
5000
 
5857
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-customers-controller.php:140
5858
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-orders-controller.php:138
5859
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-orders-controller.php:145
5860
+ #: woocommerce-germanized/includes/class-wc-gzd-checkout.php:542
5861
+ #: woocommerce-germanized/includes/class-wc-gzd-checkout.php:553
5862
  #: woocommerce-germanized/includes/class-wc-gzd-customer-helper.php:114
5863
  #: woocommerce-germanized/includes/class-wc-gzd-customer-helper.php:122
5864
  msgid "Title"
7187
  #: woocommerce-germanized/includes/admin/settings/views/html-admin-page-checkboxes.php:12
7188
  #: woocommerce-germanized/includes/admin/settings/views/html-admin-settings-tabs.php:29
7189
  #: woocommerce-germanized/includes/class-wc-gzd-legal-checkbox.php:779
7190
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:893
7191
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:121
7192
  msgid "Description"
7193
  msgstr "Beschreibung"
7334
  "bessere Performance"
7335
 
7336
  #: woocommerce-germanized/includes/admin/views/html-notice-dhl.php:21
7337
+ #, php-format
7338
+ msgctxt "dhl"
7339
+ msgid ""
7340
+ "Many improved features such as automation, services per shipping method and "
7341
+ "%s."
7342
+ msgstr ""
7343
+ "Viele verbesserte Funktionen darunter Automatisierung, die Wahl bestimmter "
7344
+ "Services pro Versandart und %s."
7345
+
7346
+ #: woocommerce-germanized/includes/admin/views/html-notice-dhl.php:21
7347
+ msgctxt "dhl"
7348
+ msgid "many more"
7349
+ msgstr "und viele mehr"
7350
+
7351
+ #: woocommerce-germanized/includes/admin/views/html-notice-dhl.php:22
7352
  msgctxt "dhl"
7353
  msgid ""
7354
  "Perfectly integrated in Germanized &ndash; easily create labels for shipments"
7356
  "Perfekt integriert in Germanized &ndash; erzeuge einfach DHL Labels für "
7357
  "Sendungen und Retouren"
7358
 
7359
+ #: woocommerce-germanized/includes/admin/views/html-notice-dhl.php:27
7360
  msgctxt "dhl"
7361
  msgid "Learn more"
7362
  msgstr "Mehr erfahren"
7363
 
7364
+ #: woocommerce-germanized/includes/admin/views/html-notice-dhl.php:29
7365
  msgctxt "dhl"
7366
  msgid "Import settings and activate"
7367
  msgstr "Einstellungen importieren und loslegen"
7368
 
7369
  # @ woocommerce-germanized
7370
+ #: woocommerce-germanized/includes/admin/views/html-notice-dhl.php:33
7371
  #: woocommerce-germanized/includes/admin/views/html-notice-pro.php:29
7372
  #: woocommerce-germanized/includes/admin/views/html-notice-theme-supported.php:21
7373
  msgid "Hide this notice"
7854
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-customers-controller.php:147
7855
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-orders-controller.php:159
7856
  #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:39
7857
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:889
7858
  #: woocommerce-germanized/includes/gateways/direct-debit/views/html-export.php:30
7859
  msgid "Direct Debit"
7860
  msgstr "Lastschrift"
7866
  #: woocommerce-germanized/includes/class-wc-gzd-privacy.php:117
7867
  #: woocommerce-germanized/includes/class-wc-gzd-privacy.php:166
7868
  #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:117
7869
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:599
7870
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:915
7871
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1061
7872
  msgid "Account Holder"
7873
  msgstr "Kontoinhaber"
7874
 
7879
  #: woocommerce-germanized/includes/class-wc-gzd-privacy.php:118
7880
  #: woocommerce-germanized/includes/class-wc-gzd-privacy.php:167
7881
  #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:124
7882
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:600
7883
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:923
7884
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1065
7885
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1195
7886
  msgid "IBAN"
7887
  msgstr "IBAN"
7888
 
7893
  #: woocommerce-germanized/includes/class-wc-gzd-privacy.php:119
7894
  #: woocommerce-germanized/includes/class-wc-gzd-privacy.php:168
7895
  #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:131
7896
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:601
7897
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1069
7898
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1196
7899
  msgid "BIC/SWIFT"
7900
  msgstr "BIC/SWIFT"
7901
 
7906
  # @ woocommerce-germanized
7907
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-orders-controller.php:179
7908
  #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:138
7909
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:605
7910
  msgid "Mandate Reference ID"
7911
  msgstr "Mandat-Referenznummer"
7912
 
8249
  "Bitte installiere <a href=\"%s\" target=\"_blank\">WooCommerce</a> bevor du "
8250
  "WooCommerce Germanized installierst. Vielen Dank!"
8251
 
8252
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:441
8253
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:455
8254
  msgid "Reduced rate"
8255
  msgstr "Ermäßigter Steuersatz"
8256
 
8257
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:497
8258
  #, php-format
8259
  msgctxt "vat-rate-import"
8260
  msgid "VAT %s"
8261
  msgstr "MwSt. %s"
8262
 
8263
  # @ woocommerce-germanized
8264
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:601
8265
  msgctxt "Page slug"
8266
  msgid "data-security"
8267
  msgstr "datenschutzerklaerung"
8268
 
8269
  # @ woocommerce-germanized
8270
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:602
8271
  msgctxt "Page title"
8272
  msgid "Data Security Statement"
8273
  msgstr "Datenschutzerklärung"
8274
 
8275
  # @ woocommerce-germanized
8276
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:606
8277
  msgctxt "Page slug"
8278
  msgid "imprint"
8279
  msgstr "impressum"
8280
 
8281
  # @ woocommerce-germanized
8282
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:607
8283
  msgctxt "Page title"
8284
  msgid "Imprint"
8285
  msgstr "Impressum"
8286
 
8287
  # @ woocommerce-germanized
8288
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:611
8289
  msgctxt "Page slug"
8290
  msgid "terms"
8291
  msgstr "agb"
8292
 
8293
  # @ woocommerce-germanized
8294
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:612
8295
  msgctxt "Page title"
8296
  msgid "Terms & Conditions"
8297
  msgstr "AGB"
8298
 
8299
  # @ woocommerce-germanized
8300
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:616
8301
  msgctxt "Page slug"
8302
  msgid "revocation"
8303
  msgstr "widerrufsbelehrung"
8304
 
8305
  # @ woocommerce-germanized
8306
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:617
8307
  msgctxt "Page title"
8308
  msgid "Power of Revocation"
8309
  msgstr "Widerrufsbelehrung"
8310
 
8311
  # @ woocommerce-germanized
8312
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:621
8313
  msgctxt "Page slug"
8314
  msgid "shipping-methods"
8315
  msgstr "versandarten"
8316
 
8317
  # @ woocommerce-germanized
8318
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:622
8319
  msgctxt "Page title"
8320
  msgid "Shipping Methods"
8321
  msgstr "Versandarten"
8322
 
8323
  # @ woocommerce-germanized
8324
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:626
8325
  msgctxt "Page slug"
8326
  msgid "payment-methods"
8327
  msgstr "bezahlmoeglichkeiten"
8328
 
8329
  # @ woocommerce-germanized
8330
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:627
8331
  msgctxt "Page title"
8332
  msgid "Payment Methods"
8333
  msgstr "Zahlungsarten"
8497
 
8498
  # @ woocommerce-germanized
8499
  #: woocommerce-germanized/includes/class-wc-gzd-legal-checkbox-manager.php:209
8500
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:980
8501
  msgid "I hereby agree to the {link}direct debit mandate{/link}."
8502
  msgstr "Hiermit erteile ich das {link}SEPA Lastschriftmandat{/link}."
8503
 
9275
  msgstr "SEPA XML Export"
9276
 
9277
  # @ woocommerce-germanized
9278
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:504
9279
  #, php-format
9280
  msgid "Order %s"
9281
  msgstr "Bestellung %s"
9282
 
9283
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:531
9284
  msgid "Will be notified separately"
9285
  msgstr "Wird separat mitgeteilt"
9286
 
9287
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:620
9288
  #, php-format
9289
  msgid ""
9290
  "We will debit %s from your account by direct debit on or shortly after %s."
9293
  "%s ein."
9294
 
9295
  # @ woocommerce-germanized
9296
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:764
9297
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:796
9298
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:829
9299
  msgid "a single payment"
9300
  msgstr "eine einmalige Zahlung"
9301
 
9302
  # @ woocommerce-germanized
9303
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:880
9304
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:108
9305
  msgid "Enable/Disable"
9306
  msgstr "Aktivieren/Deaktivieren"
9307
 
9308
  # @ woocommerce-germanized
9309
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:882
9310
  msgid "Enable Direct Debit Payment"
9311
  msgstr "Bezahlung per Lastschrift aktivieren"
9312
 
9313
  # @ woocommerce-germanized
9314
  # @ woocommerce
9315
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:886
9316
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:114
9317
  msgctxt "gateway"
9318
  msgid "Title"
9319
  msgstr "Bezeichnung"
9320
 
9321
  # @ woocommerce-germanized
9322
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:888
9323
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:116
9324
  msgid "This controls the title which the user sees during checkout."
9325
  msgstr ""
9326
  "Beschreibungstext, den Benutzer bei der Auswahl dieser Zahlungsart sehen."
9327
 
9328
  # @ woocommerce-germanized
9329
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:895
9330
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:123
9331
  msgid "Payment method description that the customer will see on your checkout."
9332
  msgstr "Beschreibung der Zahlungsart, die Kunden auf deiner Website sehen."
9333
 
9334
  # @ woocommerce-germanized
9335
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:896
9336
  msgid "The order amount will be debited directly from your bank account."
9337
  msgstr ""
9338
  "Der Gesamtbestellbetrag wird per SEPA-Lastschrift direkt von deinem Konto "
9339
  "abgebucht."
9340
 
9341
  # @ woocommerce-germanized
9342
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:900
9343
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:128
9344
  msgid "Instructions"
9345
  msgstr "Anweisungen"
9346
 
9347
  # @ woocommerce-germanized
9348
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:902
9349
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:130
9350
  msgid "Instructions that will be added to the thank you page and emails."
9351
  msgstr "Anweisung, die zur „Danke“-Seite und zu E-Mails hinzugefügt werden."
9352
 
9353
  # @ woocommerce-germanized
9354
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:907
9355
  msgid "Debtee"
9356
  msgstr "Gläubiger Informationen"
9357
 
9358
  # @ woocommerce-germanized
9359
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:909
9360
  msgid "Insert your company information."
9361
  msgstr "Füge hier die Informationen zu deinem Unternehmen ein."
9362
 
9363
  # @ woocommerce-germanized
9364
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:911
9365
  msgid "Company Inc, John Doe Street, New York"
9366
  msgstr "Musterfirma GmbH, Musterstraße 12, 12203 Musterstadt"
9367
 
9368
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:917
9369
  msgid "Insert the bank account holder name."
9370
  msgstr "Füge hier den Namen des Kontoinhabers ein."
9371
 
9372
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:919
9373
  msgid "Company Inc"
9374
  msgstr "Muster GmbH"
9375
 
9376
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:925
9377
  msgid "Insert the bank account IBAN."
9378
  msgstr "Füge hier den IBAN deines Kontos ein."
9379
 
9380
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:930
9381
  msgid "BIC"
9382
  msgstr "BIC"
9383
 
9384
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:932
9385
  msgid "Insert the bank account BIC."
9386
  msgstr "Füge hier den BIC deines Kontos ein."
9387
 
9388
  # @ woocommerce-germanized
9389
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:937
9390
  msgid "Debtee identification number"
9391
  msgstr "Identifikationsnummer"
9392
 
9393
  # @ woocommerce-germanized
9394
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:939
9395
  #, php-format
9396
  msgid ""
9397
  "Insert your debtee indentification number. More information can be found <a "
9401
  "Weitere Informationen zu dieser Nummer erhältst du <a href=\"%s\">hier</a>."
9402
 
9403
  # @ woocommerce-germanized
9404
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:943
9405
  msgid "Generate Mandate ID"
9406
  msgstr "Mandat-Referenz generieren"
9407
 
9408
  # @ woocommerce-germanized
9409
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:945
9410
  msgid "Automatically generate Mandate ID."
9411
  msgstr "Mandat-Referenznummer automatisch generieren."
9412
 
9413
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:946
9414
  msgid ""
9415
  "Automatically generate Mandate ID after order completion (based on Order ID)."
9416
  msgstr ""
9418
  "basierend auf der Bestellnummer."
9419
 
9420
  # @ woocommerce-germanized
9421
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:950
9422
  msgid "XML Pain Format"
9423
  msgstr "XML Pain Format"
9424
 
9425
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:952
9426
  msgid ""
9427
  "You may adjust the XML Export Pain Schema to your banks needs. Some banks "
9428
  "may require pain.001.003.03."
9431
  "Banken benötigen z.B. pain.001.003.03."
9432
 
9433
  # @ woocommerce-germanized
9434
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:956
9435
  msgid "Mandate ID Format"
9436
  msgstr "Mandat-Referenz Format"
9437
 
9438
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:958
9439
  msgid ""
9440
  "You may extend the Mandate ID format by adding a prefix and/or suffix. Use "
9441
  "{id} as placeholder to insert the automatically generated ID."
9444
  "{id} als Platzhalter um die automatisch generierte Referenznummer einzufügen."
9445
 
9446
  # @ woocommerce-germanized
9447
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:962
9448
  msgid "Mandate Text"
9449
  msgstr "Lastschriftmandat"
9450
 
9451
  # @ woocommerce-germanized
9452
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:964
9453
  msgid ""
9454
  "This text will be populated with live order/checkout data. Will be used as "
9455
  "preview direct debit mandate and as email template text."
9460
  "Verfügung gestellt."
9461
 
9462
  # @ woocommerce-germanized
9463
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:970
9464
  msgid "Checkbox"
9465
  msgstr "Checkbox"
9466
 
9467
  # @ woocommerce-germanized
9468
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:971
9469
  msgid "Enable \"agree to SEPA mandate\" checkbox"
9470
  msgstr "Aktiviere die Checkbox zur Bestätigung des Lastschriftmandates"
9471
 
9472
  # @ woocommerce-germanized
9473
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:973
9474
  msgid "Enable a checkbox linking to a SEPA direct debit mandate preview."
9475
  msgstr ""
9476
  "Aktiviere eine Checkbox, die zu einer Vorschau des Lastschrift-Mandats führt."
9477
 
9478
  # @ woocommerce-germanized
9479
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:977
9480
  msgid "Checkbox label"
9481
  msgstr "Checkbox Text"
9482
 
9483
  # @ woocommerce-germanized
9484
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:979
9485
  msgid ""
9486
  "Customize the checkbox label. Use {link}link name{/link} to insert the "
9487
  "preview link."
9489
  "Passe den Checkbox Text an. Verwende {link}SEPA Lastschriftmandat{/link} um "
9490
  "auf die Vorschau zu verlinken."
9491
 
9492
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:984
9493
  msgid "Enable pre-notification"
9494
  msgstr "Vorankündigung aktivieren"
9495
 
9496
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:985
9497
  msgid "Insert pre-notification text within the order confirmation email."
9498
  msgstr ""
9499
  "Fügt einen Standard-Text zur Vorankündigung des SEPA-Einzugs in die "
9500
  "Bestellbestätigung ein."
9501
 
9502
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:987
9503
  msgid ""
9504
  "This option inserts a standard text containing a pre-notification for the "
9505
  "customer."
9508
  "die Bestellbestätigung ein. In der Ankündigung wird u.a. ein konkreter "
9509
  "Fälligkeitstermin genannt."
9510
 
9511
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:991
9512
  msgid "Debit days"
9513
  msgstr "Fälligkeitstage"
9514
 
9515
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:993
9516
  msgid ""
9517
  "This option is used to calculate the debit date and is added to the order "
9518
  "date."
9522
  "hier eingestellten Anzahl Tage."
9523
 
9524
  # @ woocommerce-germanized
9525
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:997
9526
  msgid "Mask IBAN"
9527
  msgstr "IBAN maskieren"
9528
 
9529
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:998
9530
  msgid "Mask the IBAN within emails."
9531
  msgstr "IBAN in E-Mails maskieren."
9532
 
9533
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1000
9534
  msgid ""
9535
  "This will lead to masked IBANs within emails (replaced by *). All but last 4 "
9536
  "digits will be masked."
9538
  "Der IBAN wird in E-Mails (abgesehen von den letzten 4 Stellen) mit * "
9539
  "maskiert."
9540
 
9541
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1010
9542
  msgid "Remember"
9543
  msgstr "Bankdaten merken"
9544
 
9545
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1011
9546
  msgid "Remember account data for returning customers."
9547
  msgstr "Bankverbindung für registrierte Kunden speichern."
9548
 
9549
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1013
9550
  msgid "Save account data as user meta if user has/creates a customer account."
9551
  msgstr ""
9552
  "Speichert die Bankverbindung für registrierte Kunden in der user_meta "
9554
  "eigenständig aus."
9555
 
9556
  # @ woocommerce-germanized
9557
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1123
9558
  msgid "Please insert your SEPA account data."
9559
  msgstr "Bitte füge deine SEPA Kontoinformationen ein."
9560
 
9561
  # @ woocommerce-germanized
9562
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1145
9563
  msgid "Your IBAN seems to be invalid."
9564
  msgstr "Dein IBAN scheint nicht gültig zu sein."
9565
 
9566
  # @ woocommerce-germanized
9567
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1147
9568
  msgid "Your IBAN's country code doesn’t match with your billing country."
9569
  msgstr "Der Ländercode des IBANs stimmt nicht mit dem Rechnungsland überein."
9570
 
9571
  # @ woocommerce-germanized
9572
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1152
9573
  msgid "Your BIC seems to be invalid."
9574
  msgstr "Dein BIC/SWIFT scheint nicht gültig zu sein."
9575
 
9576
  # @ woocommerce-germanized
9577
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1197
9578
  msgid "is invalid"
9579
  msgstr "ist ungültig"
9580
 
9581
  # @ woocommerce-germanized
9582
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1244
9583
  msgid "Awaiting Direct Debit Payment"
9584
  msgstr "Zahlung per Lastschrift ausstehend"
9585
 
11368
  msgid "https://vendidero.de"
11369
  msgstr "https://vendidero.de"
11370
 
 
 
 
 
 
11371
  #~ msgctxt "dhl"
11372
  #~ msgid ""
11373
+ #~ "Your shipment is being processed by {shipping_provider}. If you want to "
11374
+ #~ "track the shipment, please use the following tracking number: "
11375
+ #~ "{tracking_id}. Depending on the chosen shipping method it is possible "
11376
+ #~ "that the tracking data does not reflect the current status when receiving "
11377
+ #~ "this email."
11378
  #~ msgstr ""
11379
+ #~ "Deine Sendung wurde mit {shipping_provider} versandt. Wenn du diese "
11380
+ #~ "Sendung verfolgen möchtest, benutze bitte diese Paketverfolgungsnummer: "
11381
+ #~ "{tracking_id}. Abhängig von der gewählten Versandoption kann es sein, "
11382
+ #~ "dass die Paketverfolgungsdaten zum Zeitpunkt des Erhalts dieser E-Mail "
11383
+ #~ "noch nicht den neuesten Stand wiedergeben."
 
 
11384
 
11385
+ #~ msgctxt "dhl"
11386
+ #~ msgid "DHL Return Label"
11387
+ #~ msgstr "DHL Retourenlabel"
 
11388
 
11389
  # @ woocommerce-germanized
11390
+ #~ msgctxt "dhl"
11391
+ #~ msgid ""
11392
+ #~ "This email is being used to send the DHL return label to the customer."
11393
+ #~ msgstr ""
11394
+ #~ "Diese E-Mail wird verwendet um Kunden das DHL Retourenlabel zuzustellen."
11395
 
11396
+ #~ msgctxt "dhl"
11397
  #~ msgid ""
11398
+ #~ "New DHL label for your return #{shipment_number} to your order "
11399
+ #~ "#{order_number}"
11400
  #~ msgstr ""
11401
+ #~ "Neues DHL Label zur Retourensendung #{shipment_number} zu deiner "
11402
+ #~ "Bestellung #{order_number}"
11403
 
11404
+ #~ msgctxt "dhl"
11405
+ #~ msgid "DHL label for your order: #{order_number}"
11406
+ #~ msgstr "DHL Label zu deiner Bestellung: #{order_number}"
11407
 
11408
+ #~ msgctxt "dhl"
11409
+ #~ msgid "Return #{shipment_id} to shipment #{original_shipment_id}"
11410
+ #~ msgstr "Retoure #{shipment_id} zur Sendung #{original_shipment_id}"
11411
 
11412
+ #~ msgctxt "dhl"
11413
+ #~ msgid "Send the return label to the customer by email after creating it."
11414
+ #~ msgstr ""
11415
+ #~ "Sende das Retourenlabel nach dem Erstellen per E-Mail an den Kunden."
11416
 
11417
+ #~ msgctxt "dhl"
11418
+ #~ msgid "Label successfully sent to customer."
11419
+ #~ msgstr "Label erfolgreich an den Kunden zugestellt."
11420
 
11421
+ #~ msgctxt "dhl"
11422
+ #~ msgid "There was an error while sending the label."
11423
+ #~ msgstr "Beim Versendes des Labels ist ein Fehler aufgetreten."
 
11424
 
11425
+ #, php-format
11426
+ #~ msgctxt "dhl"
11427
+ #~ msgid "Could not fetch parent shipment %d."
11428
+ #~ msgstr "Eltern-Sendung %d konnte nicht initialisiert werden."
11429
 
11430
+ #~ msgctxt "dhl"
11431
+ #~ msgid ""
11432
+ #~ "Please print the DHL label attached to this email and stick it on your "
11433
+ #~ "parcel."
11434
+ #~ msgstr ""
11435
+ #~ "Bitte drucke das DHL Label im Anhang dieser E-Mail aus und klebe es auf "
11436
+ #~ "deine Retourensendung."
11437
 
 
11438
  #~ msgctxt "shipments"
11439
+ #~ msgid "Send label to customer"
11440
+ #~ msgstr "Label dem Kunden zusenden"
11441
 
11442
  #~ msgctxt "shipments"
11443
+ #~ msgid "Invalid shipment"
11444
+ #~ msgstr "Ungültige Sendung"
11445
 
11446
+ #~ msgctxt "dhl"
11447
+ #~ msgid "Tracking"
11448
+ #~ msgstr "Sendungsverfolgung"
 
11449
 
11450
+ #, php-format
11451
+ #~ msgctxt "dhl"
11452
  #~ msgid ""
11453
+ #~ "Adjust the default instructions used to inform your customers about "
11454
+ #~ "tracking a DHL shipment. You may use one of the following placeholders: %s"
11455
  #~ msgstr ""
11456
+ #~ "Passe die Instruktionen an um Kunden über die DHL Sendungsverfolgung zu "
11457
+ #~ "informieren. Du kannst einen der folgenden Platzhalter verwenden: %s"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11458
 
11459
  # @ woocommerce-germanized
11460
  #~ msgctxt "shipments"
11461
+ #~ msgid "View shipment"
11462
+ #~ msgstr "Sendung anzeigen"
 
 
 
 
 
 
 
11463
 
11464
  #~ msgctxt "dhl"
11465
  #~ msgid "Delete"
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-12-13 13:29+0100\n"
6
- "PO-Revision-Date: 2019-12-13 13:29+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:923
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:943
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:975
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:983
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:710
94
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:779
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:717
101
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:786
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:363
109
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:724
110
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:793
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:364
124
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:745
125
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:814
126
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder.php:27
127
  msgctxt "dhl"
128
  msgid "Postcode"
@@ -130,25 +130,24 @@ 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:365
134
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:738
135
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:807
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:761
143
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:830
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:615
150
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:768
151
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:837
152
  msgctxt "dhl"
153
  msgid "Email"
154
  msgstr "E-Mail"
@@ -176,7 +175,7 @@ msgstr "Alterssichtprüfung"
176
 
177
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:226
178
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:322
179
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:500
180
  msgctxt "dhl"
181
  msgid "GoGreen"
182
  msgstr "GoGreen"
@@ -198,7 +197,7 @@ msgid "No neighbor"
198
  msgstr "Keine Nachbarschaftszustellung"
199
 
200
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:266
201
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:528
202
  msgctxt "dhl"
203
  msgid "Named person only"
204
  msgstr "Persönliche Übergabe"
@@ -225,7 +224,7 @@ msgid "Minimum age"
225
  msgstr "Mindestalter"
226
 
227
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:314
228
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:549
229
  msgctxt "dhl"
230
  msgid "Premium"
231
  msgstr "Premium"
@@ -312,32 +311,6 @@ msgstr ""
312
  "Einstellungen zum Versand an DHL Standorte anpassen. Änderungen "
313
  "überschreiben die <a href=\"%s\">globalen Einstellungen</a>."
314
 
315
- #: woocommerce-germanized-dhl/includes/emails/class-wc-gzd-dhl-email-customer-return-shipment-label.php:50
316
- msgctxt "dhl"
317
- msgid "DHL Return Label"
318
- msgstr "DHL Retourenlabel"
319
-
320
- # @ woocommerce-germanized
321
- #: woocommerce-germanized-dhl/includes/emails/class-wc-gzd-dhl-email-customer-return-shipment-label.php:51
322
- msgctxt "dhl"
323
- msgid "This email is being used to send the DHL return label to the customer."
324
- msgstr ""
325
- "Diese E-Mail wird verwendet um Kunden das DHL Retourenlabel zuzustellen."
326
-
327
- #: woocommerce-germanized-dhl/includes/emails/class-wc-gzd-dhl-email-customer-return-shipment-label.php:75
328
- msgctxt "dhl"
329
- msgid ""
330
- "New DHL label for your return #{shipment_number} to your order "
331
- "#{order_number}"
332
- msgstr ""
333
- "Neues DHL Label zur Retourensendung #{shipment_number} zu deiner Bestellung "
334
- "#{order_number}"
335
-
336
- #: woocommerce-germanized-dhl/includes/emails/class-wc-gzd-dhl-email-customer-return-shipment-label.php:85
337
- msgctxt "dhl"
338
- msgid "DHL label for your order: #{order_number}"
339
- msgstr "DHL Label zu Ihrer Bestellung: #{order_number}"
340
-
341
  # @ woocommerce-germanized
342
  #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:35
343
  #: woocommerce-germanized-dhl/src/Api/Paket.php:285
@@ -391,89 +364,89 @@ msgctxt "dhl"
391
  msgid "Minimum age of 18"
392
  msgstr "Mindestens 18 Jahre"
393
 
394
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:120
395
  msgctxt "dhl"
396
  msgid "Shipment #{shipment_id} to order {order_id}"
397
  msgstr "Sendung #{shipment_id} zur Bestellung {order_id}"
398
 
399
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:137
400
  msgctxt "dhl"
401
- msgid "Return #{shipment_id} to shipment #{original_shipment_id}"
402
- msgstr "Retoure #{shipment_id} zur Sendung #{original_shipment_id}"
403
 
404
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:153
405
  msgctxt "dhl"
406
  msgid "Return shipment #{shipment_id} to order #{order_id}"
407
  msgstr "Retourensendung #{shipment_id} zur Bestellung #{order_id}"
408
 
409
  # @ woocommerce-germanized
410
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:220
411
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:184
412
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:454
413
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:814
414
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder.php:38
415
  msgctxt "dhl"
416
  msgid "Packstation"
417
  msgstr "Packstation"
418
 
419
  # @ woocommerce-germanized
420
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:221
421
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:222
422
  msgctxt "dhl"
423
  msgid "Postfiliale"
424
  msgstr "Postfiliale"
425
 
426
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:306
427
  msgctxt "dhl"
428
  msgid "Receiver is missing or does not exist."
429
  msgstr "Empfänger fehlt oder existiert nicht."
430
 
431
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:339
432
  #, php-format
433
  msgctxt "dhl"
434
  msgid "Shipment order #%s does not exist"
435
  msgstr "Bestellung zur Sendung #%s existiert nicht"
436
 
437
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:370
438
  #, php-format
439
  msgctxt "dhl"
440
  msgid "%s of the return address is a mandatory field."
441
  msgstr "%s der Rücksendeadresse ist ein Pflichtfeld."
442
 
443
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:375
444
  msgctxt "dhl"
445
  msgid "Please either add a return company or name."
446
  msgstr ""
447
  "Bitte geben Sie entweder einen Firmennamen oder Namen für die "
448
  "Rücksendeadresse an."
449
 
450
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:394
451
  msgctxt "dhl"
452
  msgid "Error while parsing preferred day."
453
  msgstr "Fehler beim Einlesen des Wunschtags."
454
 
455
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:405
456
  msgctxt "dhl"
457
  msgid "Error while parsing preferred time."
458
  msgstr "Fehler beim Einlesen der Wunschzeit."
459
 
460
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:429
461
  msgctxt "dhl"
462
  msgid "The visual min age check is invalid."
463
  msgstr "Das Alter der Alterssichtprüfung ist ungültig."
464
 
465
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:445
466
  msgctxt "dhl"
467
  msgid "The ident min age check is invalid."
468
  msgstr "Das Alter des Ident-Checks ist ungültig."
469
 
470
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:452
471
  msgctxt "dhl"
472
  msgid "There was an error parsing the date of birth for the identity check."
473
  msgstr ""
474
  "Beim Einlesen des Geburtsdatums für den Ident-Check trat ein Problem auf."
475
 
476
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:457
477
  msgctxt "dhl"
478
  msgid ""
479
  "Either a minimum age or a date of birth must be added to the ident check."
@@ -482,151 +455,151 @@ msgstr ""
482
  "hinzugefügt werden."
483
 
484
  # @ woocommerce-germanized
485
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:470
486
  #, php-format
487
  msgctxt "dhl"
488
  msgid "%s duties element does not exist."
489
  msgstr "%s Zollabgabe existiert nicht."
490
 
491
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:865
492
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:940
493
  msgctxt "dhl"
494
  msgid "Invalid shipment"
495
  msgstr "Ungültige Sendung"
496
 
497
  # @ woocommerce-germanized
498
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:869
499
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:944
500
  msgctxt "dhl"
501
  msgid "Order does not exist"
502
  msgstr "Bestellung existiert nicht"
503
 
504
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:892
505
  msgctxt "dhl"
506
  msgid "Error while creating the label instance"
507
  msgstr "Fehler beim Erstellen der Label-Instanz"
508
 
509
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1012
510
  msgctxt "dhl"
511
  msgid "Invalid label"
512
  msgstr "Ungültiges Label"
513
 
514
  # @ woocommerce-germanized
515
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1100
516
  msgctxt "dhl"
517
  msgid "DHL Retoure International A"
518
  msgstr "DHL Retoure International A"
519
 
520
  # @ woocommerce-germanized
521
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1101
522
  msgctxt "dhl"
523
  msgid "DHL Retoure International B"
524
  msgstr "DHL Retoure International B"
525
 
526
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1110
527
  msgctxt "dhl"
528
  msgid "DHL Retoure Online"
529
  msgstr "DHL Retoure Online"
530
 
531
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1121
532
  msgctxt "dhl"
533
  msgid "DHL Paket Connect"
534
  msgstr "DHL Paket Connect"
535
 
536
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1122
537
  msgctxt "dhl"
538
  msgid "DHL Europaket (B2B)"
539
  msgstr "DHL Europaket (B2B)"
540
 
541
  # @ woocommerce-germanized
542
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1123
543
  msgctxt "dhl"
544
  msgid "DHL Paket International"
545
  msgstr "DHL Paket International"
546
 
547
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1189
548
  msgctxt "dhl"
549
  msgid "DHL Paket"
550
  msgstr "DHL Paket"
551
 
552
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1190
553
  msgctxt "dhl"
554
  msgid "DHL Paket PRIO"
555
  msgstr "DHL Paket PRIO"
556
 
557
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1191
558
  msgctxt "dhl"
559
  msgid "DHL Paket Taggleich"
560
  msgstr "DHL Paket Taggleich"
561
 
562
- #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1278
563
  msgctxt "dhl"
564
  msgid "Error while uploading label."
565
  msgstr "Fehler beim Hochladen des Labels."
566
 
567
  # @ woocommerce-germanized
568
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:111
569
  msgctxt "dhl"
570
  msgid "Receiver Ids"
571
  msgstr "Empfänger IDs"
572
 
573
  # @ woocommerce-germanized
574
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:118
575
  msgctxt "dhl"
576
  msgid "Receiver Id"
577
  msgstr "Empfänger ID"
578
 
579
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:118
580
  msgctxt "dhl"
581
  msgid "Find your Receiver Ids within your DHL contract data."
582
  msgstr "Die Empfänger IDs finden Sie im DHL Geschäftskundenportal."
583
 
584
  # @ woocommerce-germanized
585
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:119
586
  msgctxt "dhl"
587
  msgid "Country Code"
588
  msgstr "Ländercode"
589
 
590
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:119
591
  msgctxt "dhl"
592
  msgid "Leave empty to use the Receiver Id as fallback."
593
  msgstr "Leer lassen, um diese Empfänger ID als Fallback zu verwenden."
594
 
595
  # @ woocommerce-germanized
596
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:139
597
  msgctxt "dhl"
598
  msgid "+ Add receiver"
599
  msgstr "+ Empfänger hinzufügen"
600
 
601
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:139
602
  msgctxt "dhl"
603
  msgid "Remove selected receiver(s)"
604
  msgstr "Ausgewählte Empfänger löschen"
605
 
606
  # @ woocommerce-germanized
607
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:175
608
  msgctxt "dhl"
609
  msgid "Select a country"
610
  msgstr "Land auswählen"
611
 
612
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:177
613
  msgctxt "dhl"
614
  msgid "Harmonized Tariff Schedule (DHL)"
615
  msgstr "Harmonized Tariff Schedule (DHL)"
616
 
617
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:177
618
  msgctxt "dhl"
619
  msgid "This code is needed for customs of international shipping."
620
  msgstr ""
621
  "Dieser Code wird für die Zollabwicklung bei internationalen Sendungen "
622
  "benötigt."
623
 
624
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:178
625
  msgctxt "dhl"
626
  msgid "Country of manufacture (DHL)"
627
  msgstr "Herstellungsland (DHL)"
628
 
629
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:178
630
  msgctxt "dhl"
631
  msgid ""
632
  "The country of manufacture is needed for customs of international shipping."
@@ -634,7 +607,7 @@ msgstr ""
634
  "Das Herstellungsland wird für die Zollabwicklung bei internationalen "
635
  "Sendungen benötigt."
636
 
637
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:205
638
  #, php-format
639
  msgctxt "dhl"
640
  msgid ""
@@ -644,17 +617,18 @@ msgstr ""
644
  "Das Verzeichnis zum Speichern von DHL Labels fehlt. Bitte erstellen Sie den "
645
  "Ordner %s manuell und stellen Sie sicher, dass der Ordner beschreibbar ist."
646
 
647
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:212
 
648
  msgctxt "dhl"
649
  msgid "DHL"
650
  msgstr "DHL"
651
 
652
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:227
653
  msgctxt "dhl"
654
  msgid "DHL Label"
655
  msgstr "DHL Label"
656
 
657
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:239
658
  msgctxt "dhl"
659
  msgid ""
660
  "This label has been generated by the DHL for WooCommerce Plugin and is shown "
@@ -664,7 +638,7 @@ msgstr ""
664
  "Kompatibilitäts-Gründen angezeigt."
665
 
666
  # @ woocommerce-germanized
667
- #: woocommerce-germanized-dhl/src/Admin/Admin.php:240
668
  msgctxt "dhl"
669
  msgid "Download label"
670
  msgstr "Label downloaden"
@@ -714,7 +688,7 @@ msgstr ""
714
  "Geschäftskundenportal eingeben."
715
 
716
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:76
717
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:435
718
  msgctxt "dhl"
719
  msgid "Inlay Returns"
720
  msgstr "Beilageretouren"
@@ -729,8 +703,8 @@ msgstr ""
729
  "sollten Sie diese Funktion standardmäßig aktivieren."
730
 
731
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:90
732
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:672
733
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:902
734
  msgctxt "dhl"
735
  msgid "Retoure"
736
  msgstr "Retoure"
@@ -765,7 +739,7 @@ msgstr ""
765
 
766
  # @ woocommerce-germanized
767
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:118
768
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:696
769
  msgctxt "dhl"
770
  msgid "Automation"
771
  msgstr "Automatisierung"
@@ -791,8 +765,8 @@ msgstr ""
791
 
792
  # @ woocommerce-germanized
793
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:151
794
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:931
795
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:951
796
  msgctxt "dhl"
797
  msgid "Fee"
798
  msgstr "Gebühr"
@@ -825,7 +799,7 @@ msgstr ""
825
  "im Folgenden konfiguriert) als Lieferadresse auswählen."
826
 
827
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:198
828
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1111
829
  msgctxt "dhl"
830
  msgid "Map"
831
  msgstr "Karte"
@@ -841,24 +815,24 @@ msgstr ""
841
  "DHL Standortes in der Nähe noch einfacher zu machen. Sie benötigen für die "
842
  "Kartenansicht einen gültigen Google Maps API Schlüssel."
843
 
844
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:218
845
  msgctxt "dhl"
846
  msgid "Enable"
847
  msgstr "Aktivieren"
848
 
849
  # @ woocommerce-germanized
850
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:219
851
  msgctxt "dhl"
852
  msgid "Enable DHL integration."
853
  msgstr "DHL Integration aktivieren."
854
 
855
  # @ woocommerce-germanized
856
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:226
857
  msgctxt "dhl"
858
  msgid "Customer Number (EKP)"
859
  msgstr "Kundennummer (EKP)"
860
 
861
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:228
862
  #, php-format
863
  msgctxt "dhl"
864
  msgid ""
@@ -868,33 +842,33 @@ msgstr ""
868
  "Ihre 10-stellige DHL Kundennummer (EKP). Finden Sie Ihre %s im DHL "
869
  "Geschäftskundenportal."
870
 
871
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:228
872
  msgctxt "dhl"
873
  msgid "customer number"
874
  msgstr "Kundennummer"
875
 
876
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:237
877
  msgctxt "dhl"
878
  msgid "API"
879
  msgstr "API"
880
 
881
  # @ woocommerce-germanized
882
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:240
883
  msgctxt "dhl"
884
  msgid "Enable Sandbox"
885
  msgstr "Sandbox aktivieren"
886
 
887
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:241
888
  msgctxt "dhl"
889
  msgid "Activate Sandbox mode for testing purposes."
890
  msgstr "Aktiviere den Sandbox Modus."
891
 
892
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:248
893
  msgctxt "dhl"
894
  msgid "Live Username"
895
  msgstr "Benutzer"
896
 
897
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:250
898
  #, php-format
899
  msgctxt "dhl"
900
  msgid ""
@@ -904,21 +878,22 @@ msgstr ""
904
  "Ihr Benutzername zum DHL Geschäftskundenportal. Bitte beachten Sie die "
905
  "Kleinschreibung und testen Sie Ihre Zugangsdaten vorab %s."
906
 
907
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:250
908
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:259
909
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:268
910
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:277
 
911
  msgctxt "dhl"
912
  msgid "here"
913
  msgstr "hier"
914
 
915
  # @ woocommerce-germanized
916
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:257
917
  msgctxt "dhl"
918
  msgid "Live Password"
919
  msgstr "Passwort"
920
 
921
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:259
922
  #, php-format
923
  msgctxt "dhl"
924
  msgid ""
@@ -930,12 +905,12 @@ msgstr ""
930
  "der Gültigkeit des Passworts nach 3 (Standard-Benutzer) bzw. 12 (System-"
931
  "Benutzer) Monaten und testen Sie Ihre Zugangsdaten vorab %s."
932
 
933
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:266
934
  msgctxt "dhl"
935
  msgid "Sandbox Username"
936
  msgstr "Sandbox Benutzername"
937
 
938
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:268
939
  #, php-format
940
  msgctxt "dhl"
941
  msgid ""
@@ -945,12 +920,12 @@ msgstr ""
945
  "Ihr Benutzername zum DHL Entwicklerportal. Bitte beachten Sie die "
946
  "Kleinschreibung und testen Sie Ihre Zugangsdaten vorab %s."
947
 
948
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:275
949
  msgctxt "dhl"
950
  msgid "Sandbox Password"
951
  msgstr "Sandbox Passwort"
952
 
953
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:277
954
  #, php-format
955
  msgctxt "dhl"
956
  msgid ""
@@ -960,12 +935,23 @@ msgstr ""
960
  "Ihr Passwort zum DHL Entwicklerportal. Bitte testen Sie Ihre Zugangsdaten "
961
  "vorab %s."
962
 
963
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:303
 
964
  msgctxt "dhl"
965
  msgid "Products and Participation Numbers"
966
  msgstr "Produkte und Teilnahmenummern"
967
 
968
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:303
 
 
 
 
 
 
 
 
 
 
969
  #, php-format
970
  msgctxt "dhl"
971
  msgid ""
@@ -979,17 +965,17 @@ msgstr ""
979
  "letzten beiden Zeichen der dazugehörigen Abrechnungsnummer, die Sie in Ihren "
980
  "%s finden (z.B.: 01)."
981
 
982
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:303
983
  msgctxt "dhl"
984
  msgid "contract data"
985
  msgstr "Vertragsdaten"
986
 
987
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:357
988
  msgctxt "dhl"
989
  msgid "Domestic Default Service"
990
  msgstr "Nationaler Standard Service"
991
 
992
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:361
993
  msgctxt "dhl"
994
  msgid ""
995
  "Please select your default DHL shipping service for domestic shipments that "
@@ -1000,12 +986,12 @@ msgstr ""
1000
  "für Ihre Kunden anbieten (Sie können das Produkt für jede einzelne Sendung "
1001
  "nachträglich ändern)."
1002
 
1003
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:367
1004
  msgctxt "dhl"
1005
  msgid "Int. Default Service"
1006
  msgstr "Internationaler Standard Service"
1007
 
1008
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:371
1009
  msgctxt "dhl"
1010
  msgid ""
1011
  "Please select your default DHL shipping service for cross-border shipments "
@@ -1017,27 +1003,27 @@ msgstr ""
1017
  "Sendung nachträglich ändern)."
1018
 
1019
  # @ woocommerce-germanized
1020
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:377
1021
  msgctxt "dhl"
1022
  msgid "Default Duty"
1023
  msgstr "Standard Zoll"
1024
 
1025
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:381
1026
  msgctxt "dhl"
1027
  msgid "Please select a default duty type."
1028
  msgstr "Bitte wählen Sie eine Standard-Zollabrechnung aus."
1029
 
1030
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:388
1031
  msgctxt "dhl"
1032
  msgid "Codeable"
1033
  msgstr "Leitcodierbar"
1034
 
1035
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:389
1036
  msgctxt "dhl"
1037
  msgid "Generate label only if address can be automatically retrieved DHL."
1038
  msgstr "Erzeuge Labels nur dann, wenn die Adresse von DHL erkannt wird."
1039
 
1040
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:393
1041
  msgctxt "dhl"
1042
  msgid ""
1043
  "Choose this option if you want to make sure that by default labels are only "
@@ -1048,12 +1034,12 @@ msgstr ""
1048
  "ist."
1049
 
1050
  # @ woocommerce-germanized
1051
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:397
1052
  msgctxt "dhl"
1053
  msgid "Default weight"
1054
  msgstr "Standardgewicht"
1055
 
1056
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:399
1057
  msgctxt "dhl"
1058
  msgid ""
1059
  "Choose a default shipment weight to be used for labels if no weight has been "
@@ -1062,12 +1048,12 @@ msgstr ""
1062
  "Wählen Sie ein Standard Sendungsgewicht aus das für Labels verwendet wird, "
1063
  "für die das Gewicht nicht automatisch bestimmt werden kann."
1064
 
1065
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:408
1066
  msgctxt "dhl"
1067
  msgid "Minimum weight"
1068
  msgstr "Mindestgewicht"
1069
 
1070
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:410
1071
  msgctxt "dhl"
1072
  msgid ""
1073
  "Choose a minimum weight to be used for labels e.g. to prevent low shipment "
@@ -1077,12 +1063,12 @@ msgstr ""
1077
  "wegen eines zu geringen Gewichts Fehler zurückgibt."
1078
 
1079
  # @ woocommerce-germanized
1080
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:422
1081
  msgctxt "dhl"
1082
  msgid "Street number"
1083
  msgstr "Hausnummer"
1084
 
1085
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:423
1086
  msgctxt "dhl"
1087
  msgid ""
1088
  "Force existence of a street number within the first address field during "
@@ -1091,7 +1077,7 @@ msgstr ""
1091
  "Hausnummer im ersten Adressfeld verpflichtend abfragen, falls es sich um ein "
1092
  "EU-Land handelt."
1093
 
1094
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:424
1095
  msgctxt "dhl"
1096
  msgid ""
1097
  "Enabling this option will force a street number to be provided during "
@@ -1102,7 +1088,7 @@ msgstr ""
1102
  "Adressfeld in der Kasse abgefragt wird. Damit verhindern Sie fehlende oder "
1103
  "falsche Datensätze."
1104
 
1105
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:436
1106
  msgctxt "dhl"
1107
  msgid ""
1108
  "Additionally create inlay return labels for shipments that support returns."
@@ -1110,82 +1096,82 @@ msgstr ""
1110
  "Erzeuge zusätzlich Beilage-Retourenlabels für Sendungen die Retouren "
1111
  "unterstützen."
1112
 
1113
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:455
1114
  msgctxt "dhl"
1115
  msgid "Enable delivery to Packstation."
1116
  msgstr "Aktiviere den Versand an Packstationen."
1117
 
1118
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:456
1119
  msgctxt "dhl"
1120
  msgid "Let customers choose a Packstation as delivery address."
1121
  msgstr "Kunden eine Packstation als Lieferadresse auswählen lassen."
1122
 
1123
  # @ woocommerce-germanized
1124
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:463
1125
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder.php:50
1126
  msgctxt "dhl"
1127
  msgid "Postoffice"
1128
  msgstr "Postfiliale"
1129
 
1130
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:464
1131
  msgctxt "dhl"
1132
  msgid "Enable delivery to Post Offices."
1133
  msgstr "Aktiviere den Versand an Postfilialen."
1134
 
1135
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:465
1136
  msgctxt "dhl"
1137
  msgid "Let customers choose a Post Office as delivery address."
1138
  msgstr "Kunden eine Postfiliale als Lieferadresse auswählen lassen."
1139
 
1140
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:472
1141
  msgctxt "dhl"
1142
  msgid "Parcel Shop"
1143
  msgstr "Paketshop"
1144
 
1145
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:473
1146
  msgctxt "dhl"
1147
  msgid "Enable delivery to Parcel Shops."
1148
  msgstr "Lieferung an Paketshops aktivieren."
1149
 
1150
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:474
1151
  msgctxt "dhl"
1152
  msgid "Let customers choose a Parcel Shop as delivery address."
1153
  msgstr "Kunden einen Paketshop als Lieferadresse auswählen lassen."
1154
 
1155
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:492
1156
  msgctxt "dhl"
1157
  msgid "Visual minimum age"
1158
  msgstr "Alterssichtprüfung"
1159
 
1160
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:497
1161
  msgctxt "dhl"
1162
  msgid "Choose this option if you want to let DHL check your customer's age."
1163
  msgstr ""
1164
  "Wählen Sie diese Option aus, wenn Sie das Alter durch DHL prüfen lassen "
1165
  "möchten."
1166
 
1167
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:501
1168
  msgctxt "dhl"
1169
  msgid "Enable the GoGreen Service by default."
1170
  msgstr "Buche den GoGreen Service hinzu."
1171
 
1172
  # @ woocommerce-germanized
1173
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:507
1174
  msgctxt "dhl"
1175
  msgid "Additional Insurance"
1176
  msgstr "Transportversicherung"
1177
 
1178
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:508
1179
  msgctxt "dhl"
1180
  msgid "Add an additional insurance to labels."
1181
  msgstr "Füge eine Transportversicherung zur Sendung hinzu."
1182
 
1183
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:514
1184
  msgctxt "dhl"
1185
  msgid "Retail Outlet Routing"
1186
  msgstr "Filialrouting"
1187
 
1188
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:515
1189
  msgctxt "dhl"
1190
  msgid ""
1191
  "Send undeliverable items to nearest retail outlet instead of immediate "
@@ -1194,46 +1180,46 @@ msgstr ""
1194
  "Sende unzustellbare Sendungen in die nächstgelegene Filiale zur Abholung "
1195
  "anstelle diese direkt zurückzusenden."
1196
 
1197
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:521
1198
  msgctxt "dhl"
1199
  msgid "No Neighbor"
1200
  msgstr "Keine Nachbarschaftszustellung"
1201
 
1202
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:522
1203
  msgctxt "dhl"
1204
  msgid "Do not deliver to neighbors."
1205
  msgstr "Schließe eine Ersatzzustellung beim Nachbarn aus."
1206
 
1207
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:529
1208
  msgctxt "dhl"
1209
  msgid "Do only delivery to named person."
1210
  msgstr ""
1211
  "Lasse Pakete nur an den Empfänger persönlich oder an eine bevollmächtigte "
1212
  "Person übergeben."
1213
 
1214
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:535
1215
  msgctxt "dhl"
1216
  msgid "Bulky Goods"
1217
  msgstr "Sperrgut"
1218
 
1219
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:536
1220
  msgctxt "dhl"
1221
  msgid "Deliver as bulky goods."
1222
  msgstr "Sende Pakete als Sperrgut."
1223
 
1224
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:542
1225
  msgctxt "dhl"
1226
  msgid "Age Verification"
1227
  msgstr "Alterssichtprüfung"
1228
 
1229
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:543
1230
  msgctxt "dhl"
1231
  msgid "Verify ages if shipment contains applicable items."
1232
  msgstr ""
1233
  "Aktiviere die Alterssichtprüfung, falls die Sendung zu prüfende Positionen "
1234
  "beinhaltet."
1235
 
1236
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:543
1237
  #, php-format
1238
  msgctxt "dhl"
1239
  msgid ""
@@ -1246,36 +1232,36 @@ msgstr ""
1246
  "Alterssichtprüfung automatisch aktiviert, falls eine Sendung zu prüfenden "
1247
  "Produkte beinhaltet."
1248
 
1249
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:543
1250
  msgctxt "dhl"
1251
  msgid "age verification checkbox"
1252
  msgstr "Checkbox zur Altersprüfung"
1253
 
1254
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:550
1255
  msgctxt "dhl"
1256
  msgid "Premium delivery for international shipments."
1257
  msgstr "Premium Lieferung für internationale Sendungen."
1258
 
1259
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:569
1260
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1162
1261
  msgctxt "dhl"
1262
  msgid "Labels"
1263
  msgstr "Labels"
1264
 
1265
  # @ woocommerce-germanized
1266
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:570
1267
  msgctxt "dhl"
1268
  msgid "Automatically create labels for shipments."
1269
  msgstr "Automatisch Labels zu Sendungen erstellen."
1270
 
1271
  # @ woocommerce-germanized
1272
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:577
1273
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:604
1274
  msgctxt "dhl"
1275
  msgid "Status"
1276
  msgstr "Status"
1277
 
1278
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:581
1279
  msgctxt "dhl"
1280
  msgid "Choose a shipment status which should trigger generation of a label."
1281
  msgstr ""
@@ -1283,29 +1269,29 @@ msgstr ""
1283
  "soll."
1284
 
1285
  # @ woocommerce-germanized
1286
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:588
1287
  msgctxt "dhl"
1288
  msgid "Shipment Status"
1289
  msgstr "Sendungsstatus"
1290
 
1291
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:589
1292
  msgctxt "dhl"
1293
  msgid "Mark shipment as shipped after label has been created successfully."
1294
  msgstr ""
1295
  "Sendung als versandt markieren, sobald ein Label erfolgreich erstellt wurde."
1296
 
1297
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:596
1298
  msgctxt "dhl"
1299
  msgid "Returns"
1300
  msgstr "Retouren"
1301
 
1302
  # @ woocommerce-germanized
1303
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:597
1304
  msgctxt "dhl"
1305
  msgid "Automatically create labels for returns."
1306
  msgstr "Automatisch Retourenlabels zu Retourensendungen erstellen."
1307
 
1308
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:608
1309
  msgctxt "dhl"
1310
  msgid ""
1311
  "Choose a shipment status which should trigger generation of a return label."
@@ -1313,12 +1299,7 @@ msgstr ""
1313
  "Wählen Sie einen Sendungsstatus aus, der die Erzeugung eines Retourenlabels "
1314
  "auslösen soll."
1315
 
1316
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:616
1317
- msgctxt "dhl"
1318
- msgid "Send the return label to the customer by email after creating it."
1319
- msgstr "Sende das Retourenlabel nach dem Erstellen per E-Mail an den Kunden."
1320
-
1321
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:662
1322
  #, php-format
1323
  msgctxt "dhl"
1324
  msgid ""
@@ -1330,12 +1311,12 @@ msgstr ""
1330
  "werden."
1331
 
1332
  # @ woocommerce-germanized
1333
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:662
1334
  msgctxt "dhl"
1335
  msgid "shipping method"
1336
  msgstr "Versandmethode"
1337
 
1338
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:672
1339
  #, php-format
1340
  msgctxt "dhl"
1341
  msgid ""
@@ -1346,18 +1327,18 @@ msgstr ""
1346
  "API an. Stellen Sie sicher, dass Ihr %s DHL Retoure Online enthält."
1347
 
1348
  # @ woocommerce-germanized
1349
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:672
1350
  msgctxt "dhl"
1351
  msgid "contract"
1352
  msgstr "Vertrag"
1353
 
1354
  # @ woocommerce-germanized
1355
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:684
1356
  msgctxt "dhl"
1357
  msgid "Default Services"
1358
  msgstr "Standard-Services"
1359
 
1360
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:684
1361
  #, php-format
1362
  msgctxt "dhl"
1363
  msgid ""
@@ -1367,12 +1348,12 @@ msgstr ""
1367
  "Passen Sie hier an, welche der Services als Standard für Ihre Labels gebucht "
1368
  "werden sollen. Finden Sie mehr über diese %s heraus."
1369
 
1370
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:684
1371
  msgctxt "dhl"
1372
  msgid "nationwide services"
1373
  msgstr "nationalen Services"
1374
 
1375
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:696
1376
  msgctxt "dhl"
1377
  msgid ""
1378
  "Choose whether and under which conditions labels for your shipments shall be "
@@ -1382,38 +1363,38 @@ msgstr ""
1382
  "automatisch erzeugt werden sollen."
1383
 
1384
  # @ woocommerce-germanized
1385
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:707
1386
  msgctxt "dhl"
1387
  msgid "Shipper Address"
1388
  msgstr "Absenderadresse"
1389
 
1390
  # @ woocommerce-germanized
1391
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:731
1392
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:800
1393
  msgctxt "dhl"
1394
  msgid "Street Number"
1395
  msgstr "Hausnummer"
1396
 
1397
  # @ woocommerce-germanized
1398
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:752
1399
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:821
1400
  msgctxt "dhl"
1401
  msgid "Country"
1402
  msgstr "Land"
1403
 
1404
  # @ woocommerce-germanized
1405
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:776
1406
  msgctxt "dhl"
1407
  msgid "Inlay Return Address"
1408
  msgstr "Beilageretouren Adresse"
1409
 
1410
  # @ woocommerce-germanized
1411
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:845
1412
  msgctxt "dhl"
1413
  msgid "Bank Account"
1414
  msgstr "Bankkonto"
1415
 
1416
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:845
1417
  msgctxt "dhl"
1418
  msgid "Enter your bank details needed for services that use COD."
1419
  msgstr ""
@@ -1421,36 +1402,36 @@ msgstr ""
1421
  "verwendet werden sollen."
1422
 
1423
  # @ woocommerce-germanized
1424
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:848
1425
  msgctxt "dhl"
1426
  msgid "Holder"
1427
  msgstr "Kontoinhaber"
1428
 
1429
  # @ woocommerce-germanized
1430
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:855
1431
  msgctxt "dhl"
1432
  msgid "Bank Name"
1433
  msgstr "Name der Bank"
1434
 
1435
  # @ woocommerce-germanized
1436
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:862
1437
  msgctxt "dhl"
1438
  msgid "IBAN"
1439
  msgstr "IBAN"
1440
 
1441
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:869
1442
  msgctxt "dhl"
1443
  msgid "BIC"
1444
  msgstr "BIC"
1445
 
1446
  # @ woocommerce-germanized
1447
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:876
1448
  msgctxt "dhl"
1449
  msgid "Payment Reference"
1450
  msgstr "Zahlungsreferenz"
1451
 
1452
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:880
1453
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:889
1454
  #, php-format
1455
  msgctxt "dhl"
1456
  msgid ""
@@ -1461,18 +1442,18 @@ msgstr ""
1461
  "hinzufügen: %s. Der Text ist auf 35 Zeichen begrenzt."
1462
 
1463
  # @ woocommerce-germanized
1464
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:885
1465
  msgctxt "dhl"
1466
  msgid "Payment Reference 2"
1467
  msgstr "Zahlungsreferenz 2"
1468
 
1469
  # @ woocommerce-germanized
1470
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:903
1471
  msgctxt "dhl"
1472
  msgid "Enable creating labels for return shipments."
1473
  msgstr "Automatisch Retourenlabels zu Retourensendungen erstellen."
1474
 
1475
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:903
1476
  msgctxt "dhl"
1477
  msgid ""
1478
  "By enabling this option you might generate retoure labels for return "
@@ -1481,12 +1462,12 @@ msgstr ""
1481
  "Mit der Aktivierung dieser Option können Sie Retourenlabels zu "
1482
  "Retourensendungen erstellen und diese per E-Mail an den Kunden weiterleiten."
1483
 
1484
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:924
1485
  msgctxt "dhl"
1486
  msgid "Enable preferred day delivery."
1487
  msgstr "Aktiviere die Lieferung am Wunschtag."
1488
 
1489
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:924
1490
  msgctxt "dhl"
1491
  msgid ""
1492
  "Enabling this option will display options for the user to select their "
@@ -1495,7 +1476,7 @@ msgstr ""
1495
  "Diese Option aktiviert die Auswahl eines Wunschtags durch den Kunden in der "
1496
  "Kasse."
1497
 
1498
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:933
1499
  msgctxt "dhl"
1500
  msgid ""
1501
  "Insert gross value as surcharge for preferred day delivery. Insert 0 to "
@@ -1504,12 +1485,12 @@ msgstr ""
1504
  "Fügen Sie einen Bruttopreis als Gebühr für die Lieferung am Wunschtag hinzu. "
1505
  "Setzen Sie den Wert auf 0 um den Service kostenlos anzubieten."
1506
 
1507
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:944
1508
  msgctxt "dhl"
1509
  msgid "Enable preferred time delivery."
1510
  msgstr "Aktiviere die Lieferung zur Wunschzeit."
1511
 
1512
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:944
1513
  msgctxt "dhl"
1514
  msgid ""
1515
  "Enabling this option will display options for the user to select their "
@@ -1518,7 +1499,7 @@ msgstr ""
1518
  "Diese Option aktiviert die Auswahl einer Wunschzeit durch den Kunden in der "
1519
  "Kasse."
1520
 
1521
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:953
1522
  msgctxt "dhl"
1523
  msgid ""
1524
  "Insert gross value as surcharge for preferred time delivery. Insert 0 to "
@@ -1527,12 +1508,12 @@ msgstr ""
1527
  "Fügen Sie einen Bruttopreis als Gebühr für die Lieferung zur Wunschzeit "
1528
  "hinzu. Setzen Sie den Wert auf 0 um den Service kostenlos anzubieten."
1529
 
1530
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:963
1531
  msgctxt "dhl"
1532
  msgid "Combined Fee"
1533
  msgstr "Kombinierte Gebühr"
1534
 
1535
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:965
1536
  msgctxt "dhl"
1537
  msgid ""
1538
  "Insert gross value as surcharge for the combination of preferred day and "
@@ -1543,12 +1524,12 @@ msgstr ""
1543
  "kostenlos anzubieten."
1544
 
1545
  # @ woocommerce-germanized
1546
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:976
1547
  msgctxt "dhl"
1548
  msgid "Enable preferred location delivery."
1549
  msgstr "Lieferung an einen Wunschort aktivieren."
1550
 
1551
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:976
1552
  msgctxt "dhl"
1553
  msgid ""
1554
  "Enabling this option will display options for the user to select their "
@@ -1557,12 +1538,12 @@ msgstr ""
1557
  "Diese Option aktiviert die Auswahl eines Wunschorts durch den Kunden in der "
1558
  "Kasse ."
1559
 
1560
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:984
1561
  msgctxt "dhl"
1562
  msgid "Enable preferred neighbor delivery."
1563
  msgstr "Aktiviere die Lieferung an einen Wunschnachbarn."
1564
 
1565
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:984
1566
  msgctxt "dhl"
1567
  msgid ""
1568
  "Enabling this option will display options for the user to deliver to their "
@@ -1571,12 +1552,12 @@ msgstr ""
1571
  "Diese Option aktiviert die Auswahl eines Wunschnachbarn durch den Kunden in "
1572
  "der Kasse."
1573
 
1574
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1010
1575
  msgctxt "dhl"
1576
  msgid "Cut-off time"
1577
  msgstr "Cut-off-Zeit"
1578
 
1579
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1013
1580
  msgctxt "dhl"
1581
  msgid ""
1582
  "The cut-off time is the latest possible order time up to which the minimum "
@@ -1589,12 +1570,12 @@ msgstr ""
1589
  "Nach Überschreitung dieses Zeitpunktes, wird der früheste verfügbare "
1590
  "Wunschtag in der Kasse um einen Tag erhöht (Tag der Bestellung + 3 Werktage)."
1591
 
1592
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1019
1593
  msgctxt "dhl"
1594
  msgid "Preparation days"
1595
  msgstr "Bearbeitungstage"
1596
 
1597
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1022
1598
  msgctxt "dhl"
1599
  msgid ""
1600
  "If you need more time to prepare your shipments you might want to add a "
@@ -1605,71 +1586,71 @@ msgstr ""
1605
  "hier eine statische Anzahl an Tagen hinterlegen, die zum frühesten "
1606
  "auswählbaren Wunschtag hinzugefügt werden."
1607
 
1608
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1029
1609
  msgctxt "dhl"
1610
  msgid "Exclude days of transfer"
1611
  msgstr "Übergabetage ausschließen"
1612
 
1613
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1030
1614
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:31
1615
  msgctxt "dhl"
1616
  msgid "Monday"
1617
  msgstr "Montag"
1618
 
1619
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1031
1620
  msgctxt "dhl"
1621
  msgid "Exclude days from transferring shipments to DHL."
1622
  msgstr "Schließen Sie bestimmte Wochentage für die Übergabe an DHL aus."
1623
 
1624
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1040
1625
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:32
1626
  msgctxt "dhl"
1627
  msgid "Tuesday"
1628
  msgstr "Dienstag"
1629
 
1630
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1049
1631
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:33
1632
  msgctxt "dhl"
1633
  msgid "Wednesday"
1634
  msgstr "Mittwoch"
1635
 
1636
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1058
1637
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:34
1638
  msgctxt "dhl"
1639
  msgid "Thursday"
1640
  msgstr "Donnerstag"
1641
 
1642
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1067
1643
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:35
1644
  msgctxt "dhl"
1645
  msgid "Friday"
1646
  msgstr "Freitag"
1647
 
1648
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1076
1649
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:36
1650
  msgctxt "dhl"
1651
  msgid "Saturday"
1652
  msgstr "Samstag"
1653
 
1654
  # @ woocommerce-germanized
1655
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1085
1656
  msgctxt "dhl"
1657
  msgid "Exclude gateways"
1658
  msgstr "Zahlungsarten ausschließen"
1659
 
1660
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1087
1661
  msgctxt "dhl"
1662
  msgid "Select payment gateways to be excluded from showing preferred services."
1663
  msgstr ""
1664
  "Wählen Sie Zahlungsarten aus, für die die Wunschpaket-Services nicht zur "
1665
  "Verfügung stehen sollen."
1666
 
1667
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1112
1668
  msgctxt "dhl"
1669
  msgid "Let customers find a DHL location on a map."
1670
  msgstr "Lasse Kunden einen DHL Standort auf der Karte auswählen."
1671
 
1672
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1112
1673
  msgctxt "dhl"
1674
  msgid ""
1675
  "Enable this option to let your customers choose a pickup option from a map "
@@ -1680,12 +1661,12 @@ msgstr ""
1680
  "anhand einer Karten in der Kasse zu ermöglichen. Wenn diese Option "
1681
  "deaktiviert ist, wird stattdessen auf die DHL Website verwiesen."
1682
 
1683
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1119
1684
  msgctxt "dhl"
1685
  msgid "Google Maps Key"
1686
  msgstr "Google Maps Schlüssel"
1687
 
1688
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1123
1689
  #, php-format
1690
  msgctxt "dhl"
1691
  msgid ""
@@ -1695,47 +1676,37 @@ msgstr ""
1695
  "Um eine Karte integrieren zu können, benötigen Siee du einen gültigen API-"
1696
  "Schlüssel für Google Maps. Sie können %s."
1697
 
1698
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1123
1699
  msgctxt "dhl"
1700
  msgid "retrieve a new one"
1701
  msgstr "hier einen neuen erstellen"
1702
 
1703
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1128
1704
  msgctxt "dhl"
1705
  msgid "Limit results"
1706
  msgstr "Suchergebnisse begrenzen"
1707
 
1708
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1132
1709
  msgctxt "dhl"
1710
  msgid "Limit the number of DHL locations shown on the map"
1711
  msgstr "Begrenzt die Anzahl der angezeigten DHL Standorte auf der Karte"
1712
 
1713
  # @ woocommerce-germanized
1714
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1161
1715
  msgctxt "dhl"
1716
  msgid "General"
1717
  msgstr "Allgemein"
1718
 
1719
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1163
1720
  msgctxt "dhl"
1721
  msgid "Preferred Services"
1722
  msgstr "Wunschpaket"
1723
 
1724
- #: woocommerce-germanized-dhl/src/Admin/Settings.php:1164
1725
  msgctxt "dhl"
1726
  msgid "Parcel Pickup"
1727
  msgstr "Standorte"
1728
 
1729
- #: woocommerce-germanized-dhl/src/Ajax.php:64
1730
- msgctxt "dhl"
1731
- msgid "Label successfully sent to customer."
1732
- msgstr "Label erfolgreich an den Kunden zugestellt."
1733
-
1734
- #: woocommerce-germanized-dhl/src/Ajax.php:71
1735
- msgctxt "dhl"
1736
- msgid "There was an error while sending the label."
1737
- msgstr "Beim Versendes des Labels ist ein Fehler aufgetreten."
1738
-
1739
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:37
1740
  msgctxt "dhl"
1741
  msgid "Sunday"
@@ -1786,7 +1757,7 @@ msgstr ""
1786
  "oder erwägen Sie den Wechsel in den Sandbox-Modus."
1787
 
1788
  #: woocommerce-germanized-dhl/src/Api/LabelSoap.php:237
1789
- #: woocommerce-germanized-dhl/src/Api/ReturnRest.php:157
1790
  msgctxt "dhl"
1791
  msgid "Error while creating and uploading the label"
1792
  msgstr "Fehler beim Erstellen und hochladen des Labels"
@@ -1930,13 +1901,7 @@ msgctxt "dhl"
1930
  msgid "POST error or timeout occured. Please try again later."
1931
  msgstr "POST Fehler oder Zeitüberschreitung. Bitte später erneut versuchen."
1932
 
1933
- #: woocommerce-germanized-dhl/src/Api/ReturnRest.php:38
1934
- #, php-format
1935
- msgctxt "dhl"
1936
- msgid "Could not fetch parent shipment %d."
1937
- msgstr "Eltern-Sendung %d konnte nicht initialisiert werden."
1938
-
1939
- #: woocommerce-germanized-dhl/src/DataStores/Label.php:308
1940
  msgctxt "dhl"
1941
  msgid "Invalid label."
1942
  msgstr "Ungültiges Label."
@@ -1948,7 +1913,7 @@ msgctxt "dhl time-span"
1948
  msgid "%s-%s"
1949
  msgstr "%s-%s"
1950
 
1951
- #: woocommerce-germanized-dhl/src/Package.php:226
1952
  msgctxt "dhl"
1953
  msgid ""
1954
  "Please check the street field and make sure to provide a valid street number."
@@ -1957,15 +1922,15 @@ msgstr ""
1957
  "angegeben wurde."
1958
 
1959
  # @ woocommerce-germanized
1960
- #: woocommerce-germanized-dhl/src/Package.php:662
1961
  msgctxt "dhl"
1962
  msgid "Germany"
1963
  msgstr "Deutschland"
1964
 
1965
  # @ woocommerce-germanized
1966
  #: woocommerce-germanized-dhl/src/ParcelLocator.php:89
1967
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:827
1968
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:852
1969
  msgctxt "dhl"
1970
  msgid "Address Type"
1971
  msgstr "Adresstyp"
@@ -2039,64 +2004,64 @@ msgstr ""
2039
  "Ihre DHL Kundennummer (Postnummer) ist nicht gültig. Bitte überprüfen Sie "
2040
  "Ihre Eingabe."
2041
 
2042
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:691
2043
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:818
2044
  msgctxt "dhl"
2045
  msgid "Branch"
2046
  msgstr "Filiale"
2047
 
2048
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:692
2049
  msgctxt "dhl"
2050
  msgid "Postnumber "
2051
  msgstr "Postnummer "
2052
 
2053
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:793
2054
  #, php-format
2055
  msgctxt "dhl"
2056
  msgid "e.g. %s 456"
2057
  msgstr "z.B. %s 456"
2058
 
2059
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:818
2060
  msgctxt "dhl"
2061
  msgid "Branches"
2062
  msgstr "Filialen"
2063
 
2064
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:834
2065
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:862
2066
  msgctxt "dhl"
2067
  msgid "DHL customer number (Post number)"
2068
  msgstr "DHL Kundennummer (Postnummer)"
2069
 
2070
  # @ woocommerce-germanized
2071
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:844
2072
  msgctxt "dhl"
2073
  msgid "Regular Address"
2074
  msgstr "Normale Adresse"
2075
 
2076
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:866
2077
  msgctxt "dhl"
2078
  msgid "Not yet a DHL customer?"
2079
  msgstr "Noch kein DHL Kunde?"
2080
 
2081
  # @ woocommerce-germanized
2082
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:866
2083
  msgctxt "dhl"
2084
  msgid "Register now"
2085
  msgstr "Jetzt registrieren"
2086
 
2087
  # @ woocommerce-germanized
2088
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:915
2089
  #, php-format
2090
  msgctxt "dhl"
2091
  msgid "Search %s"
2092
  msgstr "%s suchen"
2093
 
2094
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:1020
2095
  msgctxt "dhl"
2096
  msgid "No DHL locations found"
2097
  msgstr "Keine DHL Standorte gefunden"
2098
 
2099
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:1035
2100
  #, php-format
2101
  msgctxt "dhl"
2102
  msgid ""
@@ -2107,12 +2072,12 @@ msgstr ""
2107
  "einen %s oder %s."
2108
 
2109
  # @ woocommerce-germanized
2110
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:1035
2111
  msgctxt "dhl"
2112
  msgid "DHL location"
2113
  msgstr "DHL Standort"
2114
 
2115
- #: woocommerce-germanized-dhl/src/ParcelLocator.php:1035
2116
  msgctxt "dhl"
2117
  msgid "retry"
2118
  msgstr "Erneut versuchen"
@@ -2157,21 +2122,14 @@ msgctxt "dhl"
2157
  msgid "Please choose name and address of your preferred neighbor."
2158
  msgstr "Bitte wählen Sie einen Namen und die Adresse Ihres Wunschnachbars."
2159
 
2160
- #: woocommerce-germanized-dhl/src/ReturnLabel.php:158
2161
  #: woocommerce-germanized-dhl/src/SimpleLabel.php:86
2162
  #, php-format
2163
  msgctxt "dhl full name"
2164
  msgid "%1$s"
2165
  msgstr "%1$s"
2166
 
2167
- #: woocommerce-germanized-dhl/src/ShippingProviderDHL.php:31
2168
- #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-setup-wizard.php:91
2169
- #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-dhl.php:33
2170
- #: woocommerce-germanized/includes/admin/views/setup/dhl.php:10
2171
- msgid "DHL"
2172
- msgstr "DHL"
2173
-
2174
- #: woocommerce-germanized-dhl/src/ShippingProviderDHL.php:39
2175
  msgctxt "dhl"
2176
  msgid ""
2177
  "Complete DHL integration supporting labels, preferred services and "
@@ -2180,20 +2138,6 @@ msgstr ""
2180
  "DHL Integration die das Erzeugen von Labels, Wunsch-Services und Lieferung "
2181
  "an Packstationen unterstützt."
2182
 
2183
- #: woocommerce-germanized-dhl/src/ShippingProviderDHL.php:62
2184
- msgctxt "dhl"
2185
- msgid ""
2186
- "Your shipment is being processed by {shipping_provider}. If you want to "
2187
- "track the shipment, please use the following tracking number: {tracking_id}. "
2188
- "Depending on the chosen shipping method it is possible that the tracking "
2189
- "data does not reflect the current status when receiving this email."
2190
- msgstr ""
2191
- "Ihre Sendung wurde mit {shipping_provider} versandt. Wenn Sie diese Sendung "
2192
- "verfolgen möchten, benutzen Sie bitte diese Paketverfolgungsnummer: "
2193
- "{tracking_id}. Abhängig von der gewählten Versandoption kann es sein, dass "
2194
- "die Paketverfolgungsdaten zum Zeitpunkt des Erhalts dieser E-Mail noch nicht "
2195
- "den neuesten Stand wiedergeben."
2196
-
2197
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder-result.php:31
2198
  msgctxt "dhl"
2199
  msgid "Opening Times"
@@ -2380,34 +2324,6 @@ msgstr ""
2380
  "* Bei einer Kombinationsbuchung von Wunschtag und Wunschzeit fällt ein "
2381
  "Gesamtaufpreis in Höhe von %s inkl. MwSt. an"
2382
 
2383
- #: woocommerce-germanized-dhl/templates/emails/customer-dhl-return-shipment-label.php:27
2384
- #: woocommerce-germanized-dhl/templates/emails/plain/customer-dhl-return-shipment-label.php:24
2385
- #: woocommerce-germanized-shipments/templates/emails/customer-shipment.php:27
2386
- #: woocommerce-germanized-shipments/templates/emails/plain/customer-shipment.php:24
2387
- #, php-format
2388
- msgid "Hi %s,"
2389
- msgstr ""
2390
-
2391
- #: woocommerce-germanized-dhl/templates/emails/customer-dhl-return-shipment-label.php:31
2392
- #: woocommerce-germanized-dhl/templates/emails/plain/customer-dhl-return-shipment-label.php:26
2393
- #, php-format
2394
- msgctxt "dhl"
2395
- msgid ""
2396
- "You've requested a return for your order #%s. Please find the DHL label "
2397
- "attached to this email."
2398
- msgstr ""
2399
- "Sie haben eine Retoure zu Ihrer Bestellung #%s angefordert. Im Anhang an "
2400
- "diese E-Mail finden Sie das dazugehörige DHL Label."
2401
-
2402
- #: woocommerce-germanized-dhl/templates/emails/customer-dhl-return-shipment-label.php:37
2403
- msgctxt "dhl"
2404
- msgid ""
2405
- "Please print the DHL label attached to this email and stick it on your "
2406
- "parcel."
2407
- msgstr ""
2408
- "Bitte drucken Sie das DHL Label im Anhang dieser E-Mail aus und kleben Sie "
2409
- "es auf Ihre Retourensendung."
2410
-
2411
  #: woocommerce-germanized-dhl/woocommerce-germanized-dhl.php:40
2412
  #: woocommerce-germanized-dhl/woocommerce-germanized-dhl.php:58
2413
  #, php-format
@@ -2419,107 +2335,129 @@ msgstr ""
2419
  "Ihre Installation des Germanized DHL Plugins ist unvollständig. Bitte führen "
2420
  "Sie %1$s im %2$s Verzeichnis aus."
2421
 
2422
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:29
2423
  #, php-format
2424
  msgctxt "shipments"
2425
  msgid "Weight (%s)"
2426
  msgstr "Gewicht (%s)"
2427
 
2428
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:34
2429
  #, php-format
2430
  msgctxt "shipments"
2431
  msgid "Dimensions (%s)"
2432
  msgstr "Abmessungen (%s)"
2433
 
2434
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:34
2435
  msgctxt "shipments"
2436
  msgid "LxWxH in decimal form."
2437
  msgstr "LxBxH in dezimaler Form."
2438
 
2439
  # @ woocommerce-germanized
2440
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:66
2441
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:871
2442
  #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:24
2443
- #: woocommerce-germanized-shipments/src/Admin/Table.php:650
2444
  msgctxt "shipments"
2445
  msgid "Status"
2446
  msgstr "Status"
2447
 
2448
  # @ woocommerce-germanized
2449
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:76
2450
  msgctxt "shipments"
2451
  msgid "Shipping method"
2452
  msgstr "Versandmethode"
2453
 
2454
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:86
2455
  msgctxt "shipments"
2456
  msgid "Shipping provider"
2457
  msgstr "Versanddienstleister"
2458
 
2459
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:97
2460
  msgctxt "shipments"
2461
  msgid "Tracking Number"
2462
  msgstr "Sendungsnummer"
2463
 
2464
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:106
2465
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:162
2466
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:219
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2467
  msgctxt "shipments"
2468
  msgid "Item"
2469
  msgstr "Position"
2470
 
2471
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:109
2472
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:163
2473
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:220
2474
  #: woocommerce-germanized-shipments/templates/emails/email-shipment-details.php:55
2475
- #: woocommerce-germanized-shipments/templates/shipment/shipment-details.php:50
 
2476
  msgctxt "shipments"
2477
  msgid "Quantity"
2478
  msgstr "Anzahl"
2479
 
2480
- # @ woocommerce-germanized
2481
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:112
2482
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:873
2483
- #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:28
2484
- #: woocommerce-germanized-shipments/src/Admin/Table.php:654
2485
  msgctxt "shipments"
2486
- msgid "Actions"
2487
- msgstr "Aktionen"
2488
-
2489
- # @ woocommerce-germanized
2490
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:126
2491
- msgctxt "shipments"
2492
- msgid "Add item"
2493
- msgstr "Position hinzufügen"
2494
 
2495
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:130
2496
  msgctxt "shipments"
2497
- msgid "Sync items"
2498
- msgstr "Positionen synchronisieren"
 
 
 
 
2499
 
2500
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:131
2501
  msgctxt "shipments"
2502
- msgid "Automatically adjust items and quantities based on order item data."
2503
- msgstr "Bestimmt Positionen und Anzahlen automatisch anhand der Bestelldaten."
2504
 
2505
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:152
2506
  msgctxt "shipments"
2507
- msgid "Add Item"
2508
- msgstr "Position hinzufügen"
2509
 
2510
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:181
2511
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:229
2512
  msgctxt "shipments"
2513
- msgid "Add"
2514
- msgstr "Hinzufügen"
 
 
 
 
 
2515
 
2516
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:209
2517
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:269
 
2518
  msgctxt "shipments"
2519
- msgid "Add Return"
2520
- msgstr "Retoure hinzufügen"
2521
 
2522
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:273
2523
  #, php-format
2524
  msgctxt "shipments"
2525
  msgid "Delete %s"
@@ -2533,13 +2471,31 @@ msgid_plural "%d of %d items"
2533
  msgstr[0] "%d von %d Position"
2534
  msgstr[1] "%d von %d Positionen"
2535
 
2536
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-item.php:37
 
 
 
 
 
 
 
2537
  #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:26
2538
- #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php:39
2539
  msgctxt "shipments"
2540
  msgid "Delete"
2541
  msgstr "Löschen"
2542
 
 
 
 
 
 
 
 
 
 
 
 
2543
  #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment.php:16
2544
  #, php-format
2545
  msgctxt "shipment admin title"
@@ -2548,22 +2504,32 @@ msgstr "%s #%s"
2548
 
2549
  # @ woocommerce-germanized
2550
  #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php:19
2551
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:66
2552
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:74
2553
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:143
2554
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:231
2555
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:298
2556
- #: woocommerce-germanized-shipments/templates/myaccount/order-shipments.php:35
2557
  msgctxt "shipments"
2558
  msgid "Shipments"
2559
  msgstr "Sendungen"
2560
 
2561
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php:36
 
 
 
 
 
2562
  msgctxt "shipments"
2563
  msgid "Add shipment"
2564
  msgstr "Sendung hinzufügen"
2565
 
2566
- #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php:40
 
 
 
 
 
2567
  msgctxt "shipments"
2568
  msgid "Save"
2569
  msgstr "Speichern"
@@ -2572,15 +2538,15 @@ msgstr "Speichern"
2572
  # @ woocommerce
2573
  #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:11
2574
  #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:22
2575
- #: woocommerce-germanized-shipments/src/Admin/Table.php:648
2576
- #: woocommerce-germanized-shipments/src/ShippingProvider.php:419
2577
  msgctxt "shipments"
2578
  msgid "Title"
2579
  msgstr "Titel"
2580
 
2581
  # @ woocommerce-germanized
2582
  #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:12
2583
- #: woocommerce-germanized-shipments/src/ShippingProvider.php:428
2584
  msgctxt "shipments"
2585
  msgid "Description"
2586
  msgstr "Beschreibung"
@@ -2614,7 +2580,7 @@ msgid "Manage"
2614
  msgstr "Verwalten"
2615
 
2616
  #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label-backbone.php:13
2617
- #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php:43
2618
  msgctxt "shipments"
2619
  msgid "Create label"
2620
  msgstr "Label erstellen"
@@ -2635,17 +2601,86 @@ msgctxt "shipments"
2635
  msgid "Download"
2636
  msgstr "Download"
2637
 
 
 
 
 
 
 
2638
  # @ woocommerce-germanized
2639
- #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php:24
2640
  msgctxt "shipments"
2641
- msgid "Send to customer"
2642
- msgstr "An den Kunden senden"
2643
 
2644
- #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php:43
2645
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:355
2646
  msgctxt "shipments"
2647
- msgid "Create new label"
2648
- msgstr "Neues Label erstellen"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2649
 
2650
  # @ woocommerce-germanized
2651
  #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:51
@@ -2682,242 +2717,336 @@ msgctxt "shipments"
2682
  msgid "Shipment to your order: {order_number}"
2683
  msgstr "Sendung zu Ihrer Bestellung {order_number}"
2684
 
2685
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:283
2686
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:297
2687
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:306
2688
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:315
2689
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:324
2690
  #, php-format
2691
  msgctxt "shipments"
2692
  msgid "Available placeholders: %s"
2693
  msgstr "Verfügbare Platzhalter: %s"
2694
 
2695
  # @ woocommerce-germanized
2696
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:287
2697
  msgctxt "shipments"
2698
  msgid "Enable/Disable"
2699
  msgstr "Aktivieren/Deaktivieren"
2700
 
2701
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:289
2702
  msgctxt "shipments"
2703
  msgid "Enable this email notification"
2704
  msgstr "Aktiviere diese E-Mail-Benachrichtigung"
2705
 
2706
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:293
2707
  msgctxt "shipments"
2708
  msgid "Full shipment subject"
2709
  msgstr "Vollständige Sendung Betreff"
2710
 
2711
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:302
2712
  msgctxt "shipments"
2713
  msgid "Partial shipment subject"
2714
  msgstr "Teilsendung Betreff"
2715
 
2716
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:311
2717
  msgctxt "shipments"
2718
  msgid "Full shipment email heading"
2719
  msgstr "Vollständige Sendung Kopfzeile"
2720
 
2721
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:320
2722
  msgctxt "shipments"
2723
  msgid "Partial shipment email heading"
2724
  msgstr "Teilsendung Kopfzeile"
2725
 
2726
  # @ woocommerce-germanized
2727
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:329
2728
  msgctxt "shipments"
2729
  msgid "Additional content"
2730
  msgstr "Zusätzlicher Inhalt"
2731
 
2732
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:330
2733
  msgctxt "shipments"
2734
  msgid "Text to appear below the main email content."
2735
  msgstr "Text der unterhalb des Inhalts der E-Mail angezeigt werden soll."
2736
 
2737
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:332
2738
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:807
2739
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:835
2740
  #: woocommerce-germanized-shipments/templates/shipment/shipment-details-address.php:28
2741
  msgctxt "shipments"
2742
  msgid "N/A"
2743
  msgstr "n.a."
2744
 
2745
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:338
2746
  msgctxt "shipments"
2747
  msgid "Email type"
2748
  msgstr "E-Mail-Typ"
2749
 
2750
- #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:340
2751
  msgctxt "shipments"
2752
  msgid "Choose which format of email to send."
2753
  msgstr "Format für E-Mail-Versand auswählen."
2754
 
2755
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:65
2756
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:869
2757
- #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:27
2758
  msgctxt "shipments"
2759
  msgid "Shipment"
2760
  msgstr "Sendung"
2761
 
2762
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:72
2763
  msgctxt "shipments"
2764
  msgid "Return"
2765
  msgstr "Retoure"
2766
 
2767
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:73
2768
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:144
2769
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:265
2770
- msgctxt "shipments"
2771
- msgid "Returns"
2772
- msgstr "Retouren"
2773
-
2774
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:99
2775
  msgctxt "shipments"
2776
  msgid "Not shipped"
2777
  msgstr "Nicht versandt"
2778
 
2779
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:100
2780
  msgctxt "shipments"
2781
  msgid "Partially shipped"
2782
  msgstr "Teilweise versandt"
2783
 
2784
  # @ woocommerce-germanized
2785
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:101
2786
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:241
2787
- #: woocommerce-germanized-shipments/src/Admin/Table.php:814
2788
  msgctxt "shipments"
2789
  msgid "Shipped"
2790
  msgstr "Versandt"
2791
 
2792
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:239
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2793
  msgctxt "shipments"
2794
  msgid "Draft"
2795
  msgstr "Entwurf"
2796
 
2797
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:240
2798
- #: woocommerce-germanized-shipments/src/Admin/Table.php:806
2799
  msgctxt "shipments"
2800
  msgid "Processing"
2801
  msgstr "In Bearbeitung"
2802
 
2803
  # @ woocommerce-germanized
2804
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:242
2805
  #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:48
2806
  msgctxt "shipments"
2807
  msgid "Delivered"
2808
  msgstr "Geliefert"
2809
 
2810
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:243
2811
  msgctxt "shipments"
2812
- msgid "Returned"
2813
- msgstr "Retourniert"
2814
 
2815
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:286
2816
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipments-template-functions.php:101
2817
- #: woocommerce-germanized-shipments/src/DataStores/Shipment.php:343
2818
  msgctxt "shipments"
2819
- msgid "Invalid shipment."
2820
- msgstr "Ungültige Sendung."
2821
 
2822
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:290
2823
  msgctxt "shipments"
2824
- msgid "This shipment is already fully returned."
2825
- msgstr "Diese Sendung ist bereits vollständig retourniert."
2826
 
2827
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:301
2828
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:344
2829
  msgctxt "shipments"
2830
  msgid "Error while creating the shipment instance"
2831
  msgstr "Fehler beim Erstellen der Sendungsinstanz"
2832
 
2833
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:329
2834
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:333
2835
- #: woocommerce-germanized-shipments/src/SimpleShipment.php:142
2836
- #: woocommerce-germanized-shipments/src/SimpleShipment.php:225
 
 
2837
  msgctxt "shipments"
2838
  msgid "Invalid shipment order"
2839
  msgstr "Ungültige Bestellung zur Sendung"
2840
 
2841
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:363
2842
  msgctxt "shipments"
2843
  msgid "Invalid order item"
2844
  msgstr "Ungültige Bestellposition"
2845
 
2846
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:399
2847
  msgctxt "shipments"
2848
  msgid "Invalid shipment item"
2849
  msgstr "Ungültige Sendungsposition"
2850
 
2851
  # @ woocommerce-germanized
2852
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:472
2853
  msgctxt "shipments"
2854
  msgid "None"
2855
  msgstr "Keiner"
2856
 
2857
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:545
2858
  msgctxt "shipments"
2859
  msgid "Error while uploading file."
2860
  msgstr "Fehler beim Hochladen der Datei."
2861
 
2862
  # @ woocommerce-germanized
2863
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:870
2864
  #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:23
2865
- #: woocommerce-germanized-shipments/src/Admin/Table.php:649
2866
  msgctxt "shipments"
2867
  msgid "Date"
2868
  msgstr "Datum"
2869
 
2870
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:872
2871
  #: woocommerce-germanized-shipments/templates/shipment/shipment-details-tracking.php:23
2872
  msgctxt "shipments"
2873
  msgid "Tracking"
2874
  msgstr "Sendungsverfolgung"
2875
 
2876
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:897
 
 
 
 
 
 
 
 
 
2877
  msgctxt "shipments"
2878
  msgid "View"
2879
  msgstr "Anzeigen"
2880
 
2881
  # @ woocommerce-germanized
2882
- #: woocommerce-germanized-shipments/includes/wc-gzd-shipments-template-functions.php:101
 
 
 
 
 
 
 
 
 
 
2883
  msgctxt "shipments"
2884
  msgid "My account"
2885
  msgstr "Mein Konto"
2886
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2887
  # @ woocommerce-germanized
2888
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:128
 
 
 
 
 
 
 
 
 
 
 
2889
  msgctxt "shipments"
2890
  msgid "Create shipments"
2891
  msgstr "Sendungen erstellen"
2892
 
2893
  # @ woocommerce-germanized
2894
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:243
2895
  msgctxt "shipments"
2896
  msgid "Search shipments"
2897
  msgstr "Sendungen suchen"
2898
 
2899
  # @ woocommerce-germanized
2900
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:277
2901
  msgctxt "shipments"
2902
  msgid "Search returns"
2903
  msgstr "Retouren suchen"
2904
 
2905
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:350
2906
  msgctxt "shipments"
2907
  msgid "Do you really want to delete the shipment?"
2908
  msgstr "Möchten Sie die Sendung wirklich löschen?"
2909
 
2910
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:354
2911
  msgctxt "shipments"
2912
  msgid "Do you really want to delete the label?"
2913
  msgstr "Möchten Sie das Label wirklich löschen?"
2914
 
2915
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:356
2916
  msgctxt "shipments"
2917
  msgid "Please save the shipment before creating a new label"
2918
  msgstr "Bitte speichern Sie die Sendung bevor Sie ein neues Label erstellen"
2919
 
2920
- #: woocommerce-germanized-shipments/src/Admin/Admin.php:406
2921
  msgctxt "shipments"
2922
  msgid ""
2923
  "Do you really want to delete the shipping provider? Some of your existing "
@@ -2978,7 +3107,7 @@ msgid "shipment #%d"
2978
  msgstr "Sendung #%d"
2979
 
2980
  #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:25
2981
- #: woocommerce-germanized-shipments/src/Admin/Table.php:651
2982
  msgctxt "shipments"
2983
  msgid "Items"
2984
  msgstr "Positionen"
@@ -2988,10 +3117,24 @@ msgctxt "shipments"
2988
  msgid "Sender"
2989
  msgstr "Absender"
2990
 
2991
- #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2992
  msgctxt "shipments"
2993
- msgid "Send label to customer"
2994
- msgstr "Label dem Kunden zusenden"
2995
 
2996
  # @ woocommerce-germanized
2997
  #: woocommerce-germanized-shipments/src/Admin/Settings.php:38
@@ -3025,7 +3168,7 @@ msgstr ""
3025
 
3026
  # @ woocommerce-germanized
3027
  #: woocommerce-germanized-shipments/src/Admin/Settings.php:66
3028
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:106
3029
  msgctxt "shipments"
3030
  msgid "Automation"
3031
  msgstr "Automatisierung"
@@ -3041,17 +3184,33 @@ msgstr ""
3041
  "bestimmten Status erreichen. Sie können die Sendungen anschließend einfach "
3042
  "manuell anpassen, indem Sie die dazugehörige Bestellung bearbeiten."
3043
 
3044
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:87
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3045
  msgctxt "shipments"
3046
  msgid "Notify"
3047
  msgstr "Benachrichtigung"
3048
 
3049
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:88
3050
  msgctxt "shipments"
3051
  msgid "Notify customers about new shipments."
3052
  msgstr "Benachrichtige Kunden über neue Sendungen."
3053
 
3054
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:88
3055
  #, php-format
3056
  msgctxt "shipments"
3057
  msgid ""
@@ -3061,18 +3220,18 @@ msgstr ""
3061
  "Benachrichtige Kunden via E-Mail sobald eine Sendung als verschickt markiert "
3062
  "wurde. %s die E-Mail-Benachrichtigung."
3063
 
3064
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:88
3065
  msgctxt "shipments notification"
3066
  msgid "Manage"
3067
  msgstr "Verwalten Sie"
3068
 
3069
  # @ woocommerce-germanized
3070
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:95
3071
  msgctxt "shipments"
3072
  msgid "Default provider"
3073
  msgstr "Standard-Dienstleister"
3074
 
3075
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:96
3076
  msgctxt "shipments"
3077
  msgid ""
3078
  "Select a default shipping provider which will be selected by default in case "
@@ -3081,24 +3240,24 @@ msgstr ""
3081
  "Wählen Sie einen Standard-Versanddienstleister aus der verwendet wird, falls "
3082
  "kein Dienstleister automatisch bestimmt werden konnte."
3083
 
3084
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:109
3085
  msgctxt "shipments"
3086
  msgid "Enable"
3087
  msgstr "Aktivieren"
3088
 
3089
  # @ woocommerce-germanized
3090
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:110
3091
  msgctxt "shipments"
3092
  msgid "Automatically create shipments for orders."
3093
  msgstr "Automatisch Sendungen zu Bestellungen erstellen."
3094
 
3095
  # @ woocommerce-germanized
3096
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:117
3097
  msgctxt "shipments"
3098
  msgid "Order statuses"
3099
  msgstr "Bestellstatus"
3100
 
3101
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:118
3102
  msgctxt "shipments"
3103
  msgid ""
3104
  "Create shipments as soon as the order reaches one of the following "
@@ -3108,17 +3267,17 @@ msgstr ""
3108
  "erreicht."
3109
 
3110
  # @ woocommerce-germanized
3111
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:126
3112
  msgctxt "shipments"
3113
  msgid "On new order creation"
3114
  msgstr "Beim Erstellen einer Bestellung"
3115
 
3116
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:131
3117
  msgctxt "shipments"
3118
  msgid "Default status"
3119
  msgstr "Standardstatus"
3120
 
3121
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:132
3122
  msgctxt "shipments"
3123
  msgid "Choose a default status for the automatically created shipment."
3124
  msgstr ""
@@ -3126,18 +3285,18 @@ msgstr ""
3126
  "standardmäßig erhält."
3127
 
3128
  # @ woocommerce-germanized
3129
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:144
3130
  msgctxt "shipments"
3131
  msgid "Update status"
3132
  msgstr "Status"
3133
 
3134
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:145
3135
  msgctxt "shipments"
3136
  msgid "Mark order as completed after order is fully shipped."
3137
  msgstr ""
3138
  "Bestellung als fertiggestellt markieren sobald sie komplett versandt wurde."
3139
 
3140
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:145
3141
  msgctxt "shipments"
3142
  msgid ""
3143
  "This option will automatically update the order status to completed as soon "
@@ -3147,18 +3306,18 @@ msgstr ""
3147
  "fertiggestellt gesetzt wird, sobald alle notwendigen Sendungen einer "
3148
  "Bestellung versandt wurden."
3149
 
3150
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:152
3151
  msgctxt "shipments"
3152
  msgid "Mark as shipped"
3153
  msgstr "Als versandt markieren"
3154
 
3155
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:153
3156
  msgctxt "shipments"
3157
  msgid "Mark shipments as shipped after order completion."
3158
  msgstr ""
3159
  "Sendung als versandt markieren, sobald die Bestellung fertiggestellt wurde."
3160
 
3161
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:153
3162
  msgctxt "shipments"
3163
  msgid ""
3164
  "This option will automatically update contained shipments to shipped (if "
@@ -3168,102 +3327,144 @@ msgstr ""
3168
  "Diese Option sorgt dafür, dass der Sendungsstatus automatisch auf versandt "
3169
  "gesetzt wird, sobald die Bestellung als fertiggestellt markiert wurde."
3170
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3171
  # @ woocommerce-germanized
3172
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:161
3173
  msgctxt "shipments"
3174
- msgid "Customer Account"
3175
- msgstr "Kundenkonto"
3176
 
3177
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:164
 
3178
  msgctxt "shipments"
3179
- msgid "List"
3180
- msgstr "Liste"
 
 
 
 
 
 
 
 
 
3181
 
3182
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:165
3183
  msgctxt "shipments"
3184
- msgid "List shipments on customer account order screen."
3185
- msgstr "Liste Sendungen im Kundenkonto in den Bestelldetails auf."
3186
 
3187
  # @ woocommerce-germanized
3188
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:173
3189
  msgctxt "shipments"
3190
  msgid "Return Address"
3191
  msgstr "Retouren Adresse"
3192
 
3193
  # @ woocommerce-germanized
3194
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:176
3195
  msgctxt "shipments"
3196
  msgid "First Name"
3197
  msgstr "Vorname"
3198
 
3199
  # @ woocommerce-germanized
3200
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:183
3201
  msgctxt "shipments"
3202
  msgid "Last Name"
3203
  msgstr "Nachname"
3204
 
3205
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:190
3206
  msgctxt "shipments"
3207
  msgid "Company"
3208
  msgstr "Firma"
3209
 
3210
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:197
3211
  msgctxt "shipments"
3212
  msgid "Address 1"
3213
  msgstr "Adresszeile 1"
3214
 
3215
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:204
3216
  msgctxt "shipments"
3217
  msgid "Address 2"
3218
  msgstr "Adresszeile 2"
3219
 
3220
  # @ woocommerce-germanized
3221
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:211
3222
  msgctxt "shipments"
3223
  msgid "City"
3224
  msgstr "Stadt"
3225
 
3226
  # @ woocommerce-germanized
3227
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:218
3228
  msgctxt "shipments"
3229
  msgid "Country / State"
3230
  msgstr "Land / Bundesland"
3231
 
3232
  # @ woocommerce-germanized
3233
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:226
3234
  msgctxt "shipments"
3235
  msgid "Postcode"
3236
  msgstr "Postleitzahl"
3237
 
3238
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:307
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3239
  msgctxt "shipments"
3240
  msgid "New provider"
3241
  msgstr "Neuer Dienstleister"
3242
 
3243
  # @ woocommerce-germanized
3244
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:317
3245
  msgctxt "shipments"
3246
  msgid "Additional settings"
3247
  msgstr "Weiterführende Einstellungen"
3248
 
3249
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:343
3250
  msgctxt "shipments"
3251
  msgid "Add provider"
3252
  msgstr "Dienstleister hinzufügen"
3253
 
3254
  # @ woocommerce-germanized
3255
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:351
3256
  msgctxt "shipments"
3257
  msgid "General"
3258
  msgstr "Allgemein"
3259
 
3260
- #: woocommerce-germanized-shipments/src/Admin/Settings.php:352
3261
  #: woocommerce-germanized-shipments/src/ShippingProviderMethod.php:56
3262
  msgctxt "shipments"
3263
  msgid "Shipping Provider"
3264
  msgstr "Versanddienstleister"
3265
 
3266
- #: woocommerce-germanized-shipments/src/Admin/Table.php:164
3267
  #, php-format
3268
  msgctxt "shipments"
3269
  msgid "%d shipment deleted."
@@ -3271,7 +3472,7 @@ msgid_plural "%d shipments deleted."
3271
  msgstr[0] "%d Sendung gelöscht."
3272
  msgstr[1] "%d Sendungen gelöscht."
3273
 
3274
- #: woocommerce-germanized-shipments/src/Admin/Table.php:174
3275
  #, php-format
3276
  msgctxt "shipments"
3277
  msgid "%d shipment status changed."
@@ -3279,12 +3480,12 @@ msgid_plural "%d shipment statuses changed."
3279
  msgstr[0] "%d Sendungsstatus geändert."
3280
  msgstr[1] "%d Sendungsstatus geändert."
3281
 
3282
- #: woocommerce-germanized-shipments/src/Admin/Table.php:331
3283
  msgctxt "shipments"
3284
  msgid "No shipments found"
3285
  msgstr "Keine Sendungen gefunden"
3286
 
3287
- #: woocommerce-germanized-shipments/src/Admin/Table.php:371
3288
  #, php-format
3289
  msgctxt "shipments"
3290
  msgid "All <span class=\"count\">(%s)</span>"
@@ -3292,7 +3493,7 @@ msgid_plural "All <span class=\"count\">(%s)</span>"
3292
  msgstr[0] "Alle <span class=\"count\">(%s)</span>"
3293
  msgstr[1] "Alle <span class=\"count\">(%s)</span>"
3294
 
3295
- #: woocommerce-germanized-shipments/src/Admin/Table.php:396
3296
  #, php-format
3297
  msgctxt "shipments"
3298
  msgid " <span class=\"count\">(%s)</span>"
@@ -3300,200 +3501,202 @@ msgid_plural " <span class=\"count\">(%s)</span>"
3300
  msgstr[0] " <span class=\"count\">(%s)</span>"
3301
  msgstr[1] " <span class=\"count\">(%s)</span>"
3302
 
3303
- #: woocommerce-germanized-shipments/src/Admin/Table.php:486
3304
  msgctxt "shipments"
3305
  msgid "Filter by date"
3306
  msgstr "Nach Datum filtern"
3307
 
3308
  # @ woocommerce-germanized
3309
- #: woocommerce-germanized-shipments/src/Admin/Table.php:488
3310
  msgctxt "shipments"
3311
  msgid "All dates"
3312
  msgstr "Alle Daten"
3313
 
3314
- #: woocommerce-germanized-shipments/src/Admin/Table.php:503
3315
  #, php-format
3316
  msgid "%1$s %2$d"
3317
  msgstr "%1$s %2$d"
3318
 
3319
- #: woocommerce-germanized-shipments/src/Admin/Table.php:524
3320
  msgctxt "shipments"
3321
  msgid "Processing bulk actions..."
3322
  msgstr "Bearbeite Mehrfachaktionen.."
3323
 
3324
- #: woocommerce-germanized-shipments/src/Admin/Table.php:610
3325
  msgctxt "shipments"
3326
  msgid "Filter"
3327
  msgstr "Filtern"
3328
 
3329
  # @ woocommerce-germanized
3330
- #: woocommerce-germanized-shipments/src/Admin/Table.php:626
3331
- #: woocommerce-germanized-shipments/src/Ajax.php:757
3332
  #, php-format
3333
  msgctxt "shipments"
3334
  msgid "Order #%s"
3335
  msgstr "Bestellung #%s"
3336
 
3337
  # @ woocommerce
3338
- #: woocommerce-germanized-shipments/src/Admin/Table.php:631
3339
  msgctxt "shipments"
3340
  msgid "Filter by order"
3341
  msgstr "Nach Bestellung filtern"
3342
 
3343
- #: woocommerce-germanized-shipments/src/Admin/Table.php:652
3344
  msgctxt "shipments"
3345
  msgid "Address"
3346
  msgstr "Adresse"
3347
 
3348
- # @ woocommerce-germanized
3349
- #: woocommerce-germanized-shipments/src/Admin/Table.php:653
3350
- msgctxt "shipments"
3351
- msgid "Order"
3352
- msgstr "Bestellung"
3353
-
3354
- #: woocommerce-germanized-shipments/src/Admin/Table.php:745
3355
- #: woocommerce-germanized-shipments/templates/myaccount/order-shipments.php:73
3356
  #, php-format
3357
  msgctxt "shipment title"
3358
  msgid "%s #%s"
3359
  msgstr "%s #%s"
3360
 
3361
- #: woocommerce-germanized-shipments/src/Admin/Table.php:758
3362
  #, php-format
3363
  msgctxt "shipments"
3364
  msgid "via %s"
3365
  msgstr "via %s"
3366
 
3367
  # @ woocommerce-germanized
3368
- #: woocommerce-germanized-shipments/src/Admin/Table.php:825
3369
- #: woocommerce-germanized-shipments/src/Ajax.php:282
3370
- msgctxt "shipments"
3371
- msgid "Download label"
3372
- msgstr "Label downloaden"
3373
-
3374
- # @ woocommerce-germanized
3375
- #: woocommerce-germanized-shipments/src/Admin/Table.php:834
3376
  msgctxt "shipments"
3377
  msgid "Generate label"
3378
  msgstr "Label erstellen"
3379
 
3380
  # @ woocommerce-germanized
3381
- #: woocommerce-germanized-shipments/src/Admin/Table.php:884
3382
  #, php-format
3383
  msgctxt "shipments"
3384
  msgid "Select %s"
3385
  msgstr "Wähle %s"
3386
 
3387
- #: woocommerce-germanized-shipments/src/Admin/Table.php:911
3388
  msgctxt "shipments"
3389
  msgid "SKU:"
3390
  msgstr "Art.-Nr.:"
3391
 
3392
- #: woocommerce-germanized-shipments/src/Admin/Table.php:1005
3393
  #, php-format
3394
  msgctxt "%s = human-readable time difference"
3395
  msgid "%s ago"
3396
  msgstr "vor %s"
3397
 
3398
- #: woocommerce-germanized-shipments/src/Admin/Table.php:1017
3399
  msgctxt "shipments"
3400
  msgid "M j, Y"
3401
  msgstr "d.m.Y"
3402
 
3403
- #: woocommerce-germanized-shipments/src/Admin/Table.php:1074
3404
  msgctxt "shipments"
3405
  msgid "Delete Permanently"
3406
  msgstr "Unwiderruflich löschen"
3407
 
3408
- #: woocommerce-germanized-shipments/src/Admin/Table.php:1077
3409
  msgctxt "shipments"
3410
  msgid "Change status to processing"
3411
  msgstr "Status zu in Bearbeitung ändern"
3412
 
3413
- #: woocommerce-germanized-shipments/src/Admin/Table.php:1078
3414
  msgctxt "shipments"
3415
  msgid "Change status to shipped"
3416
  msgstr "Status zu versandt ändern"
3417
 
3418
- #: woocommerce-germanized-shipments/src/Admin/Table.php:1079
3419
  msgctxt "shipments"
3420
  msgid "Change status to delivered"
3421
  msgstr "Status zu geliefert ändern"
3422
 
3423
  # @ woocommerce-germanized
3424
- #: woocommerce-germanized-shipments/src/Admin/Table.php:1080
3425
  msgctxt "shipments"
3426
  msgid "Generate and download labels"
3427
  msgstr "Labels erstellen und downloaden"
3428
 
3429
- #: woocommerce-germanized-shipments/src/Ajax.php:93
3430
  msgctxt "shipments"
3431
- msgid "Label successfully sent to customer."
3432
- msgstr "Label erfolgreich an den Kunden zugestellt."
3433
 
3434
- #: woocommerce-germanized-shipments/src/Ajax.php:100
3435
  msgctxt "shipments"
3436
- msgid "There was an error while sending the label."
3437
- msgstr "Beim Versendes des Labels ist ein Fehler aufgetreten."
3438
 
3439
- #: woocommerce-germanized-shipments/src/Ajax.php:120
 
 
 
 
 
 
 
 
 
 
3440
  msgctxt "shipments"
3441
  msgid "There was an error creating the label."
3442
  msgstr "Beim Erstellen des Labels ist ein Fehler aufgetreten."
3443
 
3444
- #: woocommerce-germanized-shipments/src/Ajax.php:156
3445
  msgctxt "shipments"
3446
  msgid "There was an error deleting the label."
3447
  msgstr "Beim Löschen des Labels ist ein Fehler aufgetreten."
3448
 
3449
- #: woocommerce-germanized-shipments/src/Ajax.php:197
3450
  msgctxt "shipments"
3451
  msgid "There was an error processing the label."
3452
  msgstr "Bei der Verarbeitung des Labels ist ein Fehler aufgetreten."
3453
 
3454
- #: woocommerce-germanized-shipments/src/Ajax.php:294
3455
  msgctxt "shipments"
3456
  msgid "There was an error while trying to save the shipping provider status."
3457
  msgstr ""
3458
  "Beim Speichern des Status des Versanddienstleisters trat ein Fehler auf."
3459
 
3460
- #: woocommerce-germanized-shipments/src/Ajax.php:332
3461
  msgctxt "shipments"
3462
  msgid "There was an error while trying to delete the shipping provider."
3463
  msgstr "Beim Löschen des Versanddienstleisters trat ein Fehler auf."
3464
 
3465
- #: woocommerce-germanized-shipments/src/Ajax.php:365
3466
  msgctxt "shipments"
3467
  msgid "There was an error while bulk processing shipments."
3468
  msgstr ""
3469
  "Bei der Verarbeitung der Mehrfachaktionen von Sendungen trat ein Fehler auf."
3470
 
3471
- #: woocommerce-germanized-shipments/src/Ajax.php:477
3472
- #: woocommerce-germanized-shipments/src/Ajax.php:575
3473
- #: woocommerce-germanized-shipments/src/Ajax.php:631
3474
- #: woocommerce-germanized-shipments/src/Ajax.php:668
3475
- #: woocommerce-germanized-shipments/src/Ajax.php:789
3476
- #: woocommerce-germanized-shipments/src/Ajax.php:855
3477
- #: woocommerce-germanized-shipments/src/Ajax.php:898
3478
  #: woocommerce-germanized-shipments/src/Ajax.php:949
3479
- #: woocommerce-germanized-shipments/src/Ajax.php:1017
3480
- #: woocommerce-germanized-shipments/src/Ajax.php:1062
3481
- #: woocommerce-germanized-shipments/src/Ajax.php:1117
3482
- #: woocommerce-germanized-shipments/src/Ajax.php:1161
 
3483
  msgctxt "shipments"
3484
  msgid "There was an error processing the shipment"
3485
  msgstr "Fehler bei der Verarbeitung der Sendung"
3486
 
3487
- #: woocommerce-germanized-shipments/src/Ajax.php:518
3488
  msgctxt "shipments"
3489
  msgid "There was an error while adding the shipment"
3490
  msgstr "Beim Hinzufügen der Sendung ist ein Fehler aufgetreten"
3491
 
3492
- #: woocommerce-germanized-shipments/src/Ajax.php:539
3493
  msgctxt "shipments"
3494
  msgid "This order contains enough shipments already."
3495
  msgstr "Diese Bestellung beinhaltet bereits genug Sendungen."
3496
 
 
 
 
 
 
3497
  #: woocommerce-germanized-shipments/src/Api.php:104
3498
  msgctxt "shipments"
3499
  msgid "List of shipments."
@@ -3681,57 +3884,180 @@ msgctxt "shipments"
3681
  msgid "Order is fully shipped."
3682
  msgstr "Bestellung ist vollständig versandt."
3683
 
3684
- #: woocommerce-germanized-shipments/src/DataStores/ShipmentItem.php:191
3685
  msgctxt "shipments"
3686
  msgid "Invalid shipment item."
3687
  msgstr "Ungültige Sendungsposition."
3688
 
3689
- #: woocommerce-germanized-shipments/src/DataStores/ShippingProvider.php:252
3690
  msgctxt "shipments"
3691
  msgid "Invalid shipping provider."
3692
  msgstr "Versanddienstleister nicht bekannt."
3693
 
3694
- #: woocommerce-germanized-shipments/src/ReturnShipment.php:366
3695
- #: woocommerce-germanized-shipments/src/Shipment.php:842
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3696
  #, php-format
3697
  msgctxt "full name"
3698
  msgid "%1$s %2$s"
3699
  msgstr "%1$s %2$s"
3700
 
3701
- #: woocommerce-germanized-shipments/src/ReturnShipment.php:430
3702
- #: woocommerce-germanized-shipments/src/ReturnShipment.php:483
3703
  msgctxt "shipments"
3704
- msgid "Invalid shipment"
3705
- msgstr "Ungültige Sendung"
 
 
 
 
 
 
 
 
 
3706
 
3707
- #: woocommerce-germanized-shipments/src/ShippingProvider.php:409
3708
  #, php-format
3709
  msgctxt "shipments"
3710
  msgid "%s supports many more options. Explore %s."
3711
  msgstr "%s unterstützt viele weitere Einstellungen. Schauen Sie sich %s an."
3712
 
3713
- #: woocommerce-germanized-shipments/src/ShippingProvider.php:409
3714
  #, php-format
3715
  msgctxt "shipments"
3716
  msgid "%s specific settings"
3717
  msgstr "%s spezifische Einstellungen"
3718
 
3719
- #: woocommerce-germanized-shipments/src/ShippingProvider.php:420
3720
  msgctxt "shipments"
3721
  msgid "Choose a title for the shipping provider."
3722
  msgstr "Wählen Sie einen Titel für den Versanddienstleister."
3723
 
3724
- #: woocommerce-germanized-shipments/src/ShippingProvider.php:429
3725
  msgctxt "shipments"
3726
  msgid "Choose a description for the shipping provider."
3727
  msgstr "Wählen Sie eine Beschreibung für den Versanddienstleister."
3728
 
3729
- #: woocommerce-germanized-shipments/src/ShippingProvider.php:441
3730
  msgctxt "shipments"
3731
  msgid "Tracking URL"
3732
  msgstr "Sendungsverfolgung URL"
3733
 
3734
- #: woocommerce-germanized-shipments/src/ShippingProvider.php:442
3735
  #, php-format
3736
  msgctxt "shipments"
3737
  msgid ""
@@ -3745,12 +4071,12 @@ msgstr ""
3745
  "einzufügen: %s"
3746
 
3747
  # @ woocommerce-germanized
3748
- #: woocommerce-germanized-shipments/src/ShippingProvider.php:452
3749
  msgctxt "shipments"
3750
  msgid "Tracking description"
3751
  msgstr "Sendungsverfolgung Hinweis"
3752
 
3753
- #: woocommerce-germanized-shipments/src/ShippingProvider.php:453
3754
  #, php-format
3755
  msgctxt "shipments"
3756
  msgid ""
@@ -3764,19 +4090,110 @@ msgstr ""
3764
  "folgenden Platzhalter verwenden um die Paketverfolgungsnummer oder andere "
3765
  "dynamische Daten einzufügen: %s"
3766
 
3767
- #: woocommerce-germanized-shipments/src/ShippingProvider.php:457
 
 
 
 
 
 
 
 
 
 
 
 
3768
  msgctxt "shipments"
3769
  msgid ""
3770
- "Your shipment is being processed by {shipping_provider}. If you want to "
3771
- "track the shipment, please use the following tracking number: {tracking_id}. "
3772
- "Depending on the chosen shipping method it is possible that the tracking "
3773
- "data does not reflect the current status when receiving this email."
3774
  msgstr ""
3775
- "Ihre Sendung wurde mit {shipping_provider} versandt. Wenn Sie diese Sendung "
3776
- "verfolgen möchten, benutzen Sie bitte diese Paketverfolgungsnummer: "
3777
- "{tracking_id}. Abhängig von der gewählten Versandoption kann es sein, dass "
3778
- "die Paketverfolgungsdaten zum Zeitpunkt des Erhalts dieser E-Mail noch nicht "
3779
- "den neuesten Stand wiedergeben."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3780
 
3781
  #: woocommerce-germanized-shipments/src/ShippingProviderMethod.php:50
3782
  msgctxt "shipments"
@@ -3799,18 +4216,95 @@ msgstr ""
3799
  "infrage kommende Sendung hinterlegt wird."
3800
 
3801
  # @ woocommerce-germanized
3802
- #: woocommerce-germanized-shipments/src/WPMLHelper.php:57
3803
  #, php-format
3804
  msgctxt "shipments"
3805
  msgid "%s tracking description"
3806
  msgstr "%s Sendungsverfolgung"
3807
 
3808
- #: woocommerce-germanized-shipments/src/WPMLHelper.php:58
3809
  #, php-format
3810
  msgctxt "shipments"
3811
  msgid "%s tracking URL"
3812
  msgstr "%s Sendungsverfolgung URL"
3813
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3814
  #: woocommerce-germanized-shipments/templates/emails/customer-shipment.php:33
3815
  #: woocommerce-germanized-shipments/templates/emails/plain/customer-shipment.php:28
3816
  #, php-format
@@ -3847,17 +4341,16 @@ msgstr "Details zu Ihrer %s"
3847
 
3848
  # @ woocommerce-germanized
3849
  #: woocommerce-germanized-shipments/templates/emails/email-shipment-details.php:54
3850
- #: woocommerce-germanized-shipments/templates/shipment/shipment-details.php:49
 
3851
  msgctxt "shipments"
3852
  msgid "Product"
3853
  msgstr "Produkt"
3854
 
3855
- # @ woocommerce-germanized
3856
  #: woocommerce-germanized-shipments/templates/emails/email-shipment-tracking.php:27
3857
- #: woocommerce-germanized-shipments/templates/emails/plain/email-shipment-tracking.php:21
3858
  msgctxt "shipments"
3859
- msgid "Delivery:"
3860
- msgstr "Lieferung:"
3861
 
3862
  #: woocommerce-germanized-shipments/templates/emails/email-shipment-tracking.php:30
3863
  #: woocommerce-germanized-shipments/templates/emails/plain/email-shipment-tracking.php:24
@@ -3878,7 +4371,73 @@ msgctxt "shipments"
3878
  msgid "View shipment: %s"
3879
  msgstr "Sendung anzeigen: %s"
3880
 
3881
- #: woocommerce-germanized-shipments/templates/myaccount/order-shipments.php:84
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3882
  msgctxt "shipments"
3883
  msgid "track now"
3884
  msgstr "nachverfolgen"
@@ -3889,6 +4448,11 @@ msgctxt "shipments"
3889
  msgid "Shipment #%1$s was created on %2$s and is currently %3$s."
3890
  msgstr "Sendung #%1$s vom %2$s ist aktuell %3$s."
3891
 
 
 
 
 
 
3892
  # @ woocommerce-germanized
3893
  #: woocommerce-germanized-shipments/templates/shipment/shipment-details-address.php:25
3894
  msgctxt "shipments"
@@ -3896,7 +4460,7 @@ msgid "Shipment receiver"
3896
  msgstr "Sendungsempfänger"
3897
 
3898
  # @ woocommerce-germanized
3899
- #: woocommerce-germanized-shipments/templates/shipment/shipment-details.php:43
3900
  msgctxt "shipments"
3901
  msgid "Shipment details"
3902
  msgstr "Details zur Sendung"
@@ -4254,6 +4818,12 @@ msgstr "Erste Schritte"
4254
  msgid "Start tutorial"
4255
  msgstr "Tutorial starten"
4256
 
 
 
 
 
 
 
4257
  # @ woocommerce-germanized
4258
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-setup-wizard.php:99
4259
  msgid "Import settings"
@@ -4415,7 +4985,7 @@ msgid "Welcome to Germanized"
4415
  msgstr "Willkommen bei Germanized"
4416
 
4417
  # @ woocommerce-germanized
4418
- #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-welcome.php:258
4419
  msgid "Go to Germanized Settings"
4420
  msgstr "Germanized Einstellungen"
4421
 
@@ -5279,8 +5849,8 @@ msgstr ""
5279
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-customers-controller.php:140
5280
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-orders-controller.php:138
5281
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-orders-controller.php:145
5282
- #: woocommerce-germanized/includes/class-wc-gzd-checkout.php:529
5283
- #: woocommerce-germanized/includes/class-wc-gzd-checkout.php:540
5284
  #: woocommerce-germanized/includes/class-wc-gzd-customer-helper.php:114
5285
  #: woocommerce-germanized/includes/class-wc-gzd-customer-helper.php:122
5286
  msgid "Title"
@@ -6613,7 +7183,7 @@ msgstr "Name"
6613
  #: woocommerce-germanized/includes/admin/settings/views/html-admin-page-checkboxes.php:12
6614
  #: woocommerce-germanized/includes/admin/settings/views/html-admin-settings-tabs.php:29
6615
  #: woocommerce-germanized/includes/class-wc-gzd-legal-checkbox.php:779
6616
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:886
6617
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:121
6618
  msgid "Description"
6619
  msgstr "Beschreibung"
@@ -6762,6 +7332,21 @@ msgstr ""
6762
  "bessere Performance"
6763
 
6764
  #: woocommerce-germanized/includes/admin/views/html-notice-dhl.php:21
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6765
  msgctxt "dhl"
6766
  msgid ""
6767
  "Perfectly integrated in Germanized &ndash; easily create labels for shipments"
@@ -6769,18 +7354,18 @@ msgstr ""
6769
  "Perfekt integriert in Germanized &ndash; erstellen Sie einfach DHL Labels "
6770
  "für Sendungen und Retouren"
6771
 
6772
- #: woocommerce-germanized/includes/admin/views/html-notice-dhl.php:26
6773
  msgctxt "dhl"
6774
  msgid "Learn more"
6775
  msgstr "Mehr erfahren"
6776
 
6777
- #: woocommerce-germanized/includes/admin/views/html-notice-dhl.php:28
6778
  msgctxt "dhl"
6779
  msgid "Import settings and activate"
6780
  msgstr "Einstellungen importieren und loslegen"
6781
 
6782
  # @ woocommerce-germanized
6783
- #: woocommerce-germanized/includes/admin/views/html-notice-dhl.php:32
6784
  #: woocommerce-germanized/includes/admin/views/html-notice-pro.php:29
6785
  #: woocommerce-germanized/includes/admin/views/html-notice-theme-supported.php:21
6786
  msgid "Hide this notice"
@@ -7268,7 +7853,7 @@ msgstr ""
7268
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-customers-controller.php:147
7269
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-orders-controller.php:159
7270
  #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:39
7271
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:882
7272
  #: woocommerce-germanized/includes/gateways/direct-debit/views/html-export.php:30
7273
  msgid "Direct Debit"
7274
  msgstr "Lastschrift"
@@ -7280,9 +7865,9 @@ msgstr "Lastschrift"
7280
  #: woocommerce-germanized/includes/class-wc-gzd-privacy.php:117
7281
  #: woocommerce-germanized/includes/class-wc-gzd-privacy.php:166
7282
  #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:117
7283
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:592
7284
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:908
7285
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1054
7286
  msgid "Account Holder"
7287
  msgstr "Kontoinhaber"
7288
 
@@ -7293,10 +7878,10 @@ msgstr "Kontoinhaber"
7293
  #: woocommerce-germanized/includes/class-wc-gzd-privacy.php:118
7294
  #: woocommerce-germanized/includes/class-wc-gzd-privacy.php:167
7295
  #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:124
7296
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:593
7297
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:916
7298
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1058
7299
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1188
7300
  msgid "IBAN"
7301
  msgstr "IBAN"
7302
 
@@ -7307,9 +7892,9 @@ msgstr "IBAN"
7307
  #: woocommerce-germanized/includes/class-wc-gzd-privacy.php:119
7308
  #: woocommerce-germanized/includes/class-wc-gzd-privacy.php:168
7309
  #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:131
7310
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:594
7311
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1062
7312
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1189
7313
  msgid "BIC/SWIFT"
7314
  msgstr "BIC/SWIFT"
7315
 
@@ -7320,7 +7905,7 @@ msgstr "Paketdienstleister Datenweitergabe"
7320
  # @ woocommerce-germanized
7321
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-orders-controller.php:179
7322
  #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:138
7323
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:598
7324
  msgid "Mandate Reference ID"
7325
  msgstr "Mandat-Referenznummer"
7326
 
@@ -7664,85 +8249,85 @@ msgstr ""
7664
  "Bitte installieren Sie <a href=\"%s\" target=\"_blank\">WooCommerce</a> "
7665
  "bevor Sie WooCommerce Germanized installieren. Vielen Dank!"
7666
 
7667
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:439
7668
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:453
7669
  msgid "Reduced rate"
7670
  msgstr "Ermäßigter Steuersatz"
7671
 
7672
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:495
7673
  #, php-format
7674
  msgctxt "vat-rate-import"
7675
  msgid "VAT %s"
7676
  msgstr "MwSt. %s"
7677
 
7678
  # @ woocommerce-germanized
7679
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:599
7680
  msgctxt "Page slug"
7681
  msgid "data-security"
7682
  msgstr "datenschutzerklaerung"
7683
 
7684
  # @ woocommerce-germanized
7685
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:600
7686
  msgctxt "Page title"
7687
  msgid "Data Security Statement"
7688
  msgstr "Datenschutzerklärung"
7689
 
7690
  # @ woocommerce-germanized
7691
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:604
7692
  msgctxt "Page slug"
7693
  msgid "imprint"
7694
  msgstr "impressum"
7695
 
7696
  # @ woocommerce-germanized
7697
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:605
7698
  msgctxt "Page title"
7699
  msgid "Imprint"
7700
  msgstr "Impressum"
7701
 
7702
  # @ woocommerce-germanized
7703
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:609
7704
  msgctxt "Page slug"
7705
  msgid "terms"
7706
  msgstr "agb"
7707
 
7708
  # @ woocommerce-germanized
7709
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:610
7710
  msgctxt "Page title"
7711
  msgid "Terms & Conditions"
7712
  msgstr "AGB"
7713
 
7714
  # @ woocommerce-germanized
7715
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:614
7716
  msgctxt "Page slug"
7717
  msgid "revocation"
7718
  msgstr "widerrufsbelehrung"
7719
 
7720
  # @ woocommerce-germanized
7721
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:615
7722
  msgctxt "Page title"
7723
  msgid "Power of Revocation"
7724
  msgstr "Widerrufsbelehrung"
7725
 
7726
  # @ woocommerce-germanized
7727
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:619
7728
  msgctxt "Page slug"
7729
  msgid "shipping-methods"
7730
  msgstr "versandarten"
7731
 
7732
  # @ woocommerce-germanized
7733
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:620
7734
  msgctxt "Page title"
7735
  msgid "Shipping Methods"
7736
  msgstr "Versandarten"
7737
 
7738
  # @ woocommerce-germanized
7739
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:624
7740
  msgctxt "Page slug"
7741
  msgid "payment-methods"
7742
  msgstr "bezahlmoeglichkeiten"
7743
 
7744
  # @ woocommerce-germanized
7745
- #: woocommerce-germanized/includes/class-wc-gzd-install.php:625
7746
  msgctxt "Page title"
7747
  msgid "Payment Methods"
7748
  msgstr "Zahlungsarten"
@@ -7913,7 +8498,7 @@ msgstr ""
7913
 
7914
  # @ woocommerce-germanized
7915
  #: woocommerce-germanized/includes/class-wc-gzd-legal-checkbox-manager.php:209
7916
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:973
7917
  msgid "I hereby agree to the {link}direct debit mandate{/link}."
7918
  msgstr "Hiermit erteile ich das {link}SEPA Lastschriftmandat{/link}."
7919
 
@@ -8692,16 +9277,16 @@ msgid "SEPA XML Export"
8692
  msgstr "SEPA XML Export"
8693
 
8694
  # @ woocommerce-germanized
8695
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:497
8696
  #, php-format
8697
  msgid "Order %s"
8698
  msgstr "Bestellung %s"
8699
 
8700
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:524
8701
  msgid "Will be notified separately"
8702
  msgstr "Wird separat mitgeteilt"
8703
 
8704
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:613
8705
  #, php-format
8706
  msgid ""
8707
  "We will debit %s from your account by direct debit on or shortly after %s."
@@ -8710,105 +9295,105 @@ msgstr ""
8710
  "%s ein."
8711
 
8712
  # @ woocommerce-germanized
8713
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:757
8714
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:789
8715
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:822
8716
  msgid "a single payment"
8717
  msgstr "eine einmalige Zahlung"
8718
 
8719
  # @ woocommerce-germanized
8720
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:873
8721
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:108
8722
  msgid "Enable/Disable"
8723
  msgstr "Aktivieren/Deaktivieren"
8724
 
8725
  # @ woocommerce-germanized
8726
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:875
8727
  msgid "Enable Direct Debit Payment"
8728
  msgstr "Bezahlung per Lastschrift aktivieren"
8729
 
8730
  # @ woocommerce-germanized
8731
  # @ woocommerce
8732
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:879
8733
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:114
8734
  msgctxt "gateway"
8735
  msgid "Title"
8736
  msgstr "Bezeichnung"
8737
 
8738
  # @ woocommerce-germanized
8739
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:881
8740
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:116
8741
  msgid "This controls the title which the user sees during checkout."
8742
  msgstr ""
8743
  "Beschreibungstext, den Benutzer bei der Auswahl dieser Zahlungsart sehen."
8744
 
8745
  # @ woocommerce-germanized
8746
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:888
8747
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:123
8748
  msgid "Payment method description that the customer will see on your checkout."
8749
  msgstr "Beschreibung der Zahlungsart, die Kunden auf ihrer Website sehen."
8750
 
8751
  # @ woocommerce-germanized
8752
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:889
8753
  msgid "The order amount will be debited directly from your bank account."
8754
  msgstr ""
8755
  "Der Gesamtbestellbetrag wird per SEPA-Lastschrift direkt von Ihrem Konto "
8756
  "abgebucht."
8757
 
8758
  # @ woocommerce-germanized
8759
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:893
8760
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:128
8761
  msgid "Instructions"
8762
  msgstr "Anweisungen"
8763
 
8764
  # @ woocommerce-germanized
8765
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:895
8766
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:130
8767
  msgid "Instructions that will be added to the thank you page and emails."
8768
  msgstr "Anweisung, die zur „Danke“-Seite und zu E-Mails hinzugefügt werden."
8769
 
8770
  # @ woocommerce-germanized
8771
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:900
8772
  msgid "Debtee"
8773
  msgstr "Gläubiger Informationen"
8774
 
8775
  # @ woocommerce-germanized
8776
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:902
8777
  msgid "Insert your company information."
8778
  msgstr "Fügen Sie hier die Informationen zu ihrem Unternehmen ein."
8779
 
8780
  # @ woocommerce-germanized
8781
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:904
8782
  msgid "Company Inc, John Doe Street, New York"
8783
  msgstr "Musterfirma GmbH, Musterstraße 12, 12203 Musterstadt"
8784
 
8785
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:910
8786
  msgid "Insert the bank account holder name."
8787
  msgstr "Fügen Sie hier den Namen des Kontoinhabers ein."
8788
 
8789
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:912
8790
  msgid "Company Inc"
8791
  msgstr "Muster GmbH"
8792
 
8793
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:918
8794
  msgid "Insert the bank account IBAN."
8795
  msgstr "Fügen Sie hier den IBAN ihres Kontos ein."
8796
 
8797
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:923
8798
  msgid "BIC"
8799
  msgstr "BIC"
8800
 
8801
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:925
8802
  msgid "Insert the bank account BIC."
8803
  msgstr "Fügen Sie hier den BIC ihres Kontos ein."
8804
 
8805
  # @ woocommerce-germanized
8806
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:930
8807
  msgid "Debtee identification number"
8808
  msgstr "Identifikationsnummer"
8809
 
8810
  # @ woocommerce-germanized
8811
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:932
8812
  #, php-format
8813
  msgid ""
8814
  "Insert your debtee indentification number. More information can be found <a "
@@ -8818,16 +9403,16 @@ msgstr ""
8818
  "Weitere Informationen zu dieser Nummer erhalten Sie <a href=\"%s\">hier</a>."
8819
 
8820
  # @ woocommerce-germanized
8821
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:936
8822
  msgid "Generate Mandate ID"
8823
  msgstr "Mandat-Referenz generieren"
8824
 
8825
  # @ woocommerce-germanized
8826
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:938
8827
  msgid "Automatically generate Mandate ID."
8828
  msgstr "Mandat-Referenznummer automatisch generieren."
8829
 
8830
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:939
8831
  msgid ""
8832
  "Automatically generate Mandate ID after order completion (based on Order ID)."
8833
  msgstr ""
@@ -8835,11 +9420,11 @@ msgstr ""
8835
  "basierend auf der Bestellnummer generieren."
8836
 
8837
  # @ woocommerce-germanized
8838
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:943
8839
  msgid "XML Pain Format"
8840
  msgstr "XML Pain Format"
8841
 
8842
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:945
8843
  msgid ""
8844
  "You may adjust the XML Export Pain Schema to your banks needs. Some banks "
8845
  "may require pain.001.003.03."
@@ -8848,11 +9433,11 @@ msgstr ""
8848
  "Einige Banken benötigen z.B. pain.001.003.03."
8849
 
8850
  # @ woocommerce-germanized
8851
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:949
8852
  msgid "Mandate ID Format"
8853
  msgstr "Mandat-Referenz Format"
8854
 
8855
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:951
8856
  msgid ""
8857
  "You may extend the Mandate ID format by adding a prefix and/or suffix. Use "
8858
  "{id} as placeholder to insert the automatically generated ID."
@@ -8862,12 +9447,12 @@ msgstr ""
8862
  "einzufügen."
8863
 
8864
  # @ woocommerce-germanized
8865
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:955
8866
  msgid "Mandate Text"
8867
  msgstr "Lastschriftmandat"
8868
 
8869
  # @ woocommerce-germanized
8870
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:957
8871
  msgid ""
8872
  "This text will be populated with live order/checkout data. Will be used as "
8873
  "preview direct debit mandate and as email template text."
@@ -8878,29 +9463,29 @@ msgstr ""
8878
  "Verfügung gestellt."
8879
 
8880
  # @ woocommerce-germanized
8881
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:963
8882
  msgid "Checkbox"
8883
  msgstr "Checkbox"
8884
 
8885
  # @ woocommerce-germanized
8886
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:964
8887
  msgid "Enable \"agree to SEPA mandate\" checkbox"
8888
  msgstr "Aktivieren Sie die Checkbox zur Bestätigung des Lastschriftmandates"
8889
 
8890
  # @ woocommerce-germanized
8891
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:966
8892
  msgid "Enable a checkbox linking to a SEPA direct debit mandate preview."
8893
  msgstr ""
8894
  "Aktivieren Sie eine Checkbox, die zu einer Vorschau des Lastschrift-Mandats "
8895
  "führt."
8896
 
8897
  # @ woocommerce-germanized
8898
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:970
8899
  msgid "Checkbox label"
8900
  msgstr "Checkbox Text"
8901
 
8902
  # @ woocommerce-germanized
8903
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:972
8904
  msgid ""
8905
  "Customize the checkbox label. Use {link}link name{/link} to insert the "
8906
  "preview link."
@@ -8908,17 +9493,17 @@ msgstr ""
8908
  "Passt den Checkbox Text an. Verwenden Sie {link}SEPA Lastschriftmandat{/"
8909
  "link} um auf die Vorschau zu verlinken."
8910
 
8911
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:977
8912
  msgid "Enable pre-notification"
8913
  msgstr "Vorankündigung aktivieren"
8914
 
8915
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:978
8916
  msgid "Insert pre-notification text within the order confirmation email."
8917
  msgstr ""
8918
  "Fügt einen Standard-Text zur Vorankündigung des SEPA-Einzugs in die "
8919
  "Bestellbestätigung ein."
8920
 
8921
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:980
8922
  msgid ""
8923
  "This option inserts a standard text containing a pre-notification for the "
8924
  "customer."
@@ -8927,11 +9512,11 @@ msgstr ""
8927
  "die Bestellbestätigung ein. In der Ankündigung wird u.a. ein konkreter "
8928
  "Fälligkeitstermin genannt."
8929
 
8930
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:984
8931
  msgid "Debit days"
8932
  msgstr "Fälligkeitstage"
8933
 
8934
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:986
8935
  msgid ""
8936
  "This option is used to calculate the debit date and is added to the order "
8937
  "date."
@@ -8941,15 +9526,15 @@ msgstr ""
8941
  "hier eingestellten Anzahl Tage."
8942
 
8943
  # @ woocommerce-germanized
8944
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:990
8945
  msgid "Mask IBAN"
8946
  msgstr "IBAN maskieren"
8947
 
8948
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:991
8949
  msgid "Mask the IBAN within emails."
8950
  msgstr "IBAN in E-Mails maskieren."
8951
 
8952
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:993
8953
  msgid ""
8954
  "This will lead to masked IBANs within emails (replaced by *). All but last 4 "
8955
  "digits will be masked."
@@ -8957,15 +9542,15 @@ msgstr ""
8957
  "Der IBAN wird in E-Mails (abgesehen von den letzten 4 Stellen) mit * "
8958
  "maskiert."
8959
 
8960
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1003
8961
  msgid "Remember"
8962
  msgstr "Bankdaten merken"
8963
 
8964
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1004
8965
  msgid "Remember account data for returning customers."
8966
  msgstr "Bankverbindung für registrierte Kunden speichern."
8967
 
8968
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1006
8969
  msgid "Save account data as user meta if user has/creates a customer account."
8970
  msgstr ""
8971
  "Speichert die Bankverbindung für registrierte Kunden in der user_meta "
@@ -8973,32 +9558,32 @@ msgstr ""
8973
  "eigenständig aus."
8974
 
8975
  # @ woocommerce-germanized
8976
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1116
8977
  msgid "Please insert your SEPA account data."
8978
  msgstr "Bitte fügen Sie Ihre SEPA Kontoinformationen ein."
8979
 
8980
  # @ woocommerce-germanized
8981
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1138
8982
  msgid "Your IBAN seems to be invalid."
8983
  msgstr "Ihr IBAN scheint nicht gültig zu sein."
8984
 
8985
  # @ woocommerce-germanized
8986
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1140
8987
  msgid "Your IBAN's country code doesn’t match with your billing country."
8988
  msgstr "Der Ländercode des IBANs stimmt nicht mit dem Rechnungsland überein."
8989
 
8990
  # @ woocommerce-germanized
8991
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1145
8992
  msgid "Your BIC seems to be invalid."
8993
  msgstr "Ihr BIC/SWIFT scheint nicht gültig zu sein."
8994
 
8995
  # @ woocommerce-germanized
8996
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1190
8997
  msgid "is invalid"
8998
  msgstr "ist ungültig"
8999
 
9000
  # @ woocommerce-germanized
9001
- #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1237
9002
  msgid "Awaiting Direct Debit Payment"
9003
  msgstr "Zahlung per Lastschrift ausstehend"
9004
 
@@ -10794,113 +11379,97 @@ msgstr "Vendidero"
10794
  msgid "https://vendidero.de"
10795
  msgstr "https://vendidero.de"
10796
 
10797
- #~ msgctxt "dhl"
10798
- #~ msgid "Tracking"
10799
- #~ msgstr "Sendungsverfolgung"
10800
-
10801
- #, php-format
10802
  #~ msgctxt "dhl"
10803
  #~ msgid ""
10804
- #~ "Adjust the default instructions used to inform your customers about "
10805
- #~ "tracking a DHL shipment. You may use one of the following placeholders: %s"
 
 
 
10806
  #~ msgstr ""
10807
- #~ "Passen Sie die Instruktionen an um Kunden über die DHL Sendungsverfolgung "
10808
- #~ "zu informieren. Sie können einen der folgenden Platzhalter verwenden: %s"
10809
-
10810
- # @ woocommerce-germanized
10811
- #~ msgctxt "shipments"
10812
- #~ msgid "Return reason"
10813
- #~ msgstr "Rücksendegrund"
10814
 
10815
- # @ woocommerce-germanized
10816
- #~ msgctxt "shipments return reason"
10817
- #~ msgid "None"
10818
- #~ msgstr "Keiner"
10819
 
10820
  # @ woocommerce-germanized
10821
- #~ msgctxt "shipments"
10822
- #~ msgid "Order return"
10823
- #~ msgstr "Retoure zur Bestellung"
 
 
10824
 
10825
- #~ msgctxt "shipments"
10826
  #~ msgid ""
10827
- #~ "Order return notifications are sent to the customer after a return "
10828
- #~ "shipment was marked as processing."
10829
  #~ msgstr ""
10830
- #~ "Benachrichtigungen über Retouren werden an den Kunden verschickt, nachdem "
10831
- #~ "eine Retoure als in Bearbeitung markiert wurde."
10832
 
10833
- #~ msgctxt "shipments"
10834
- #~ msgid "Return to your order {order_number}"
10835
- #~ msgstr "Rücksendung zu Ihrer Bestellung {order_number}"
10836
 
10837
- #~ msgctxt "shipments"
10838
- #~ msgid "Return to your order: {order_number}"
10839
- #~ msgstr "Rücksendung zu Ihrer Bestellung {order_number}"
10840
 
10841
- #~ msgctxt "shipments"
10842
- #~ msgid "Requested"
10843
- #~ msgstr "Beantragt"
 
10844
 
10845
- #~ msgctxt "shipments"
10846
- #~ msgid "Request return"
10847
- #~ msgstr "Rücksendung beantragen"
10848
 
10849
- #~ msgctxt "shipments"
10850
- #~ msgid "View shipment"
10851
- #~ msgstr "Sendung anzeigen"
10852
 
10853
- # @ woocommerce-germanized
10854
- #~ msgctxt "shipments"
10855
- #~ msgid "Return reasons"
10856
- #~ msgstr "Rücksendegründe"
10857
 
10858
- # @ woocommerce-germanized
10859
- #~ msgctxt "shipments"
10860
- #~ msgid "Choose a reason text."
10861
- #~ msgstr "Beschreibung für den Grund."
 
 
 
10862
 
10863
- # @ woocommerce-germanized
10864
  #~ msgctxt "shipments"
10865
- #~ msgid "+ Add reason"
10866
- #~ msgstr "+ Grund hinzufügen"
10867
 
10868
  #~ msgctxt "shipments"
10869
- #~ msgid "Remove selected reason(s)"
10870
- #~ msgstr "Ausgewählte Gründe löschen"
10871
 
10872
- # @ woocommerce-germanized
10873
- #~ msgctxt "shipments"
10874
- #~ msgid "Sorry, but this shipment is not returnable."
10875
- #~ msgstr "Entschuldigung, diese Sendung kann nicht zurückgesendet werden."
10876
 
10877
- #~ msgctxt "shipments"
 
10878
  #~ msgid ""
10879
- #~ "There was an error while creating the return. Please contact us for "
10880
- #~ "further information."
10881
- #~ msgstr ""
10882
- #~ "Es gab ein Problem beim Erstellen der Rücksendung. Bitte kontaktieren Sie "
10883
- #~ "uns für weitere Informationen."
10884
-
10885
- # @ woocommerce-germanized
10886
- #~ msgctxt "shipments"
10887
- #~ msgid "Customer returns"
10888
- #~ msgstr "Rücksendungen"
10889
-
10890
- #~ msgctxt "shipments"
10891
- #~ msgid "Allow customers to submit return requests to shipments."
10892
  #~ msgstr ""
10893
- #~ "Erlauben Sie Kunden eine Rücksendung zu einer Sendung zu beantragen."
10894
-
10895
- # @ woocommerce-germanized
10896
- #~ msgctxt "shipments"
10897
- #~ msgid "Manual confirmation"
10898
- #~ msgstr "Manuelle Bestätigung"
10899
 
10900
- # @ woocommerce-germanized
10901
  #~ msgctxt "shipments"
10902
- #~ msgid "Return instructions"
10903
- #~ msgstr "Rücksende-Anweisungen"
10904
 
10905
  #~ msgctxt "dhl"
10906
  #~ msgid "Delete"
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Germanized\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2020-01-13 17:37+0100\n"
6
+ "PO-Revision-Date: 2020-01-13 17:37+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:938
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:958
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:990
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:998
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:725
94
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:794
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:732
101
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:801
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:360
109
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:739
110
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:808
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:361
124
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:760
125
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:829
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:362
134
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:753
135
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:822
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:776
143
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:845
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:783
150
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:852
 
151
  msgctxt "dhl"
152
  msgid "Email"
153
  msgstr "E-Mail"
175
 
176
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:226
177
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:322
178
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:523
179
  msgctxt "dhl"
180
  msgid "GoGreen"
181
  msgstr "GoGreen"
197
  msgstr "Keine Nachbarschaftszustellung"
198
 
199
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:266
200
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:551
201
  msgctxt "dhl"
202
  msgid "Named person only"
203
  msgstr "Persönliche Übergabe"
224
  msgstr "Mindestalter"
225
 
226
  #: woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php:314
227
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:572
228
  msgctxt "dhl"
229
  msgid "Premium"
230
  msgstr "Premium"
311
  "Einstellungen zum Versand an DHL Standorte anpassen. Änderungen "
312
  "überschreiben die <a href=\"%s\">globalen Einstellungen</a>."
313
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
314
  # @ woocommerce-germanized
315
  #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:35
316
  #: woocommerce-germanized-dhl/src/Api/Paket.php:285
364
  msgid "Minimum age of 18"
365
  msgstr "Mindestens 18 Jahre"
366
 
367
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:118
368
  msgctxt "dhl"
369
  msgid "Shipment #{shipment_id} to order {order_id}"
370
  msgstr "Sendung #{shipment_id} zur Bestellung {order_id}"
371
 
372
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:134
373
  msgctxt "dhl"
374
+ msgid "Return #{shipment_id} to order {order_id}"
375
+ msgstr "Retoure #{shipment_id} zur Bestellung {order_id}"
376
 
377
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:150
378
  msgctxt "dhl"
379
  msgid "Return shipment #{shipment_id} to order #{order_id}"
380
  msgstr "Retourensendung #{shipment_id} zur Bestellung #{order_id}"
381
 
382
  # @ woocommerce-germanized
383
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:217
384
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:184
385
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:477
386
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:818
387
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder.php:38
388
  msgctxt "dhl"
389
  msgid "Packstation"
390
  msgstr "Packstation"
391
 
392
  # @ woocommerce-germanized
393
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:218
394
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:219
395
  msgctxt "dhl"
396
  msgid "Postfiliale"
397
  msgstr "Postfiliale"
398
 
399
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:303
400
  msgctxt "dhl"
401
  msgid "Receiver is missing or does not exist."
402
  msgstr "Empfänger fehlt oder existiert nicht."
403
 
404
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:336
405
  #, php-format
406
  msgctxt "dhl"
407
  msgid "Shipment order #%s does not exist"
408
  msgstr "Bestellung zur Sendung #%s existiert nicht"
409
 
410
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:367
411
  #, php-format
412
  msgctxt "dhl"
413
  msgid "%s of the return address is a mandatory field."
414
  msgstr "%s der Rücksendeadresse ist ein Pflichtfeld."
415
 
416
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:372
417
  msgctxt "dhl"
418
  msgid "Please either add a return company or name."
419
  msgstr ""
420
  "Bitte geben Sie entweder einen Firmennamen oder Namen für die "
421
  "Rücksendeadresse an."
422
 
423
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:391
424
  msgctxt "dhl"
425
  msgid "Error while parsing preferred day."
426
  msgstr "Fehler beim Einlesen des Wunschtags."
427
 
428
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:402
429
  msgctxt "dhl"
430
  msgid "Error while parsing preferred time."
431
  msgstr "Fehler beim Einlesen der Wunschzeit."
432
 
433
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:426
434
  msgctxt "dhl"
435
  msgid "The visual min age check is invalid."
436
  msgstr "Das Alter der Alterssichtprüfung ist ungültig."
437
 
438
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:442
439
  msgctxt "dhl"
440
  msgid "The ident min age check is invalid."
441
  msgstr "Das Alter des Ident-Checks ist ungültig."
442
 
443
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:449
444
  msgctxt "dhl"
445
  msgid "There was an error parsing the date of birth for the identity check."
446
  msgstr ""
447
  "Beim Einlesen des Geburtsdatums für den Ident-Check trat ein Problem auf."
448
 
449
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:454
450
  msgctxt "dhl"
451
  msgid ""
452
  "Either a minimum age or a date of birth must be added to the ident check."
455
  "hinzugefügt werden."
456
 
457
  # @ woocommerce-germanized
458
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:467
459
  #, php-format
460
  msgctxt "dhl"
461
  msgid "%s duties element does not exist."
462
  msgstr "%s Zollabgabe existiert nicht."
463
 
464
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:860
465
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:935
466
  msgctxt "dhl"
467
  msgid "Invalid shipment"
468
  msgstr "Ungültige Sendung"
469
 
470
  # @ woocommerce-germanized
471
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:864
472
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:939
473
  msgctxt "dhl"
474
  msgid "Order does not exist"
475
  msgstr "Bestellung existiert nicht"
476
 
477
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:887
478
  msgctxt "dhl"
479
  msgid "Error while creating the label instance"
480
  msgstr "Fehler beim Erstellen der Label-Instanz"
481
 
482
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1007
483
  msgctxt "dhl"
484
  msgid "Invalid label"
485
  msgstr "Ungültiges Label"
486
 
487
  # @ woocommerce-germanized
488
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1095
489
  msgctxt "dhl"
490
  msgid "DHL Retoure International A"
491
  msgstr "DHL Retoure International A"
492
 
493
  # @ woocommerce-germanized
494
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1096
495
  msgctxt "dhl"
496
  msgid "DHL Retoure International B"
497
  msgstr "DHL Retoure International B"
498
 
499
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1105
500
  msgctxt "dhl"
501
  msgid "DHL Retoure Online"
502
  msgstr "DHL Retoure Online"
503
 
504
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1116
505
  msgctxt "dhl"
506
  msgid "DHL Paket Connect"
507
  msgstr "DHL Paket Connect"
508
 
509
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1117
510
  msgctxt "dhl"
511
  msgid "DHL Europaket (B2B)"
512
  msgstr "DHL Europaket (B2B)"
513
 
514
  # @ woocommerce-germanized
515
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1118
516
  msgctxt "dhl"
517
  msgid "DHL Paket International"
518
  msgstr "DHL Paket International"
519
 
520
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1184
521
  msgctxt "dhl"
522
  msgid "DHL Paket"
523
  msgstr "DHL Paket"
524
 
525
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1185
526
  msgctxt "dhl"
527
  msgid "DHL Paket PRIO"
528
  msgstr "DHL Paket PRIO"
529
 
530
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1186
531
  msgctxt "dhl"
532
  msgid "DHL Paket Taggleich"
533
  msgstr "DHL Paket Taggleich"
534
 
535
+ #: woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php:1273
536
  msgctxt "dhl"
537
  msgid "Error while uploading label."
538
  msgstr "Fehler beim Hochladen des Labels."
539
 
540
  # @ woocommerce-germanized
541
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:107
542
  msgctxt "dhl"
543
  msgid "Receiver Ids"
544
  msgstr "Empfänger IDs"
545
 
546
  # @ woocommerce-germanized
547
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:114
548
  msgctxt "dhl"
549
  msgid "Receiver Id"
550
  msgstr "Empfänger ID"
551
 
552
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:114
553
  msgctxt "dhl"
554
  msgid "Find your Receiver Ids within your DHL contract data."
555
  msgstr "Die Empfänger IDs finden Sie im DHL Geschäftskundenportal."
556
 
557
  # @ woocommerce-germanized
558
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:115
559
  msgctxt "dhl"
560
  msgid "Country Code"
561
  msgstr "Ländercode"
562
 
563
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:115
564
  msgctxt "dhl"
565
  msgid "Leave empty to use the Receiver Id as fallback."
566
  msgstr "Leer lassen, um diese Empfänger ID als Fallback zu verwenden."
567
 
568
  # @ woocommerce-germanized
569
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:135
570
  msgctxt "dhl"
571
  msgid "+ Add receiver"
572
  msgstr "+ Empfänger hinzufügen"
573
 
574
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:135
575
  msgctxt "dhl"
576
  msgid "Remove selected receiver(s)"
577
  msgstr "Ausgewählte Empfänger löschen"
578
 
579
  # @ woocommerce-germanized
580
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:171
581
  msgctxt "dhl"
582
  msgid "Select a country"
583
  msgstr "Land auswählen"
584
 
585
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:173
586
  msgctxt "dhl"
587
  msgid "Harmonized Tariff Schedule (DHL)"
588
  msgstr "Harmonized Tariff Schedule (DHL)"
589
 
590
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:173
591
  msgctxt "dhl"
592
  msgid "This code is needed for customs of international shipping."
593
  msgstr ""
594
  "Dieser Code wird für die Zollabwicklung bei internationalen Sendungen "
595
  "benötigt."
596
 
597
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:174
598
  msgctxt "dhl"
599
  msgid "Country of manufacture (DHL)"
600
  msgstr "Herstellungsland (DHL)"
601
 
602
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:174
603
  msgctxt "dhl"
604
  msgid ""
605
  "The country of manufacture is needed for customs of international shipping."
607
  "Das Herstellungsland wird für die Zollabwicklung bei internationalen "
608
  "Sendungen benötigt."
609
 
610
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:195
611
  #, php-format
612
  msgctxt "dhl"
613
  msgid ""
617
  "Das Verzeichnis zum Speichern von DHL Labels fehlt. Bitte erstellen Sie den "
618
  "Ordner %s manuell und stellen Sie sicher, dass der Ordner beschreibbar ist."
619
 
620
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:202
621
+ #: woocommerce-germanized-dhl/src/ShippingProviderDHL.php:34
622
  msgctxt "dhl"
623
  msgid "DHL"
624
  msgstr "DHL"
625
 
626
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:217
627
  msgctxt "dhl"
628
  msgid "DHL Label"
629
  msgstr "DHL Label"
630
 
631
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:229
632
  msgctxt "dhl"
633
  msgid ""
634
  "This label has been generated by the DHL for WooCommerce Plugin and is shown "
638
  "Kompatibilitäts-Gründen angezeigt."
639
 
640
  # @ woocommerce-germanized
641
+ #: woocommerce-germanized-dhl/src/Admin/Admin.php:230
642
  msgctxt "dhl"
643
  msgid "Download label"
644
  msgstr "Label downloaden"
688
  "Geschäftskundenportal eingeben."
689
 
690
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:76
691
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:458
692
  msgctxt "dhl"
693
  msgid "Inlay Returns"
694
  msgstr "Beilageretouren"
703
  "sollten Sie diese Funktion standardmäßig aktivieren."
704
 
705
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:90
706
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:687
707
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:917
708
  msgctxt "dhl"
709
  msgid "Retoure"
710
  msgstr "Retoure"
739
 
740
  # @ woocommerce-germanized
741
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:118
742
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:711
743
  msgctxt "dhl"
744
  msgid "Automation"
745
  msgstr "Automatisierung"
765
 
766
  # @ woocommerce-germanized
767
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:151
768
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:946
769
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:966
770
  msgctxt "dhl"
771
  msgid "Fee"
772
  msgstr "Gebühr"
799
  "im Folgenden konfiguriert) als Lieferadresse auswählen."
800
 
801
  #: woocommerce-germanized-dhl/src/Admin/Settings.php:198
802
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1126
803
  msgctxt "dhl"
804
  msgid "Map"
805
  msgstr "Karte"
815
  "DHL Standortes in der Nähe noch einfacher zu machen. Sie benötigen für die "
816
  "Kartenansicht einen gültigen Google Maps API Schlüssel."
817
 
818
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:219
819
  msgctxt "dhl"
820
  msgid "Enable"
821
  msgstr "Aktivieren"
822
 
823
  # @ woocommerce-germanized
824
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:220
825
  msgctxt "dhl"
826
  msgid "Enable DHL integration."
827
  msgstr "DHL Integration aktivieren."
828
 
829
  # @ woocommerce-germanized
830
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:227
831
  msgctxt "dhl"
832
  msgid "Customer Number (EKP)"
833
  msgstr "Kundennummer (EKP)"
834
 
835
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:229
836
  #, php-format
837
  msgctxt "dhl"
838
  msgid ""
842
  "Ihre 10-stellige DHL Kundennummer (EKP). Finden Sie Ihre %s im DHL "
843
  "Geschäftskundenportal."
844
 
845
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:229
846
  msgctxt "dhl"
847
  msgid "customer number"
848
  msgstr "Kundennummer"
849
 
850
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:238
851
  msgctxt "dhl"
852
  msgid "API"
853
  msgstr "API"
854
 
855
  # @ woocommerce-germanized
856
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:241
857
  msgctxt "dhl"
858
  msgid "Enable Sandbox"
859
  msgstr "Sandbox aktivieren"
860
 
861
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:242
862
  msgctxt "dhl"
863
  msgid "Activate Sandbox mode for testing purposes."
864
  msgstr "Aktiviere den Sandbox Modus."
865
 
866
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:249
867
  msgctxt "dhl"
868
  msgid "Live Username"
869
  msgstr "Benutzer"
870
 
871
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:251
872
  #, php-format
873
  msgctxt "dhl"
874
  msgid ""
878
  "Ihr Benutzername zum DHL Geschäftskundenportal. Bitte beachten Sie die "
879
  "Kleinschreibung und testen Sie Ihre Zugangsdaten vorab %s."
880
 
881
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:251
882
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:260
883
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:269
884
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:278
885
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:295
886
  msgctxt "dhl"
887
  msgid "here"
888
  msgstr "hier"
889
 
890
  # @ woocommerce-germanized
891
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:258
892
  msgctxt "dhl"
893
  msgid "Live Password"
894
  msgstr "Passwort"
895
 
896
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:260
897
  #, php-format
898
  msgctxt "dhl"
899
  msgid ""
905
  "der Gültigkeit des Passworts nach 3 (Standard-Benutzer) bzw. 12 (System-"
906
  "Benutzer) Monaten und testen Sie Ihre Zugangsdaten vorab %s."
907
 
908
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:267
909
  msgctxt "dhl"
910
  msgid "Sandbox Username"
911
  msgstr "Sandbox Benutzername"
912
 
913
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:269
914
  #, php-format
915
  msgctxt "dhl"
916
  msgid ""
920
  "Ihr Benutzername zum DHL Entwicklerportal. Bitte beachten Sie die "
921
  "Kleinschreibung und testen Sie Ihre Zugangsdaten vorab %s."
922
 
923
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:276
924
  msgctxt "dhl"
925
  msgid "Sandbox Password"
926
  msgstr "Sandbox Passwort"
927
 
928
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:278
929
  #, php-format
930
  msgctxt "dhl"
931
  msgid ""
935
  "Ihr Passwort zum DHL Entwicklerportal. Bitte testen Sie Ihre Zugangsdaten "
936
  "vorab %s."
937
 
938
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:291
939
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:326
940
  msgctxt "dhl"
941
  msgid "Products and Participation Numbers"
942
  msgstr "Produkte und Teilnahmenummern"
943
 
944
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:295
945
+ #, php-format
946
+ msgctxt "dhl"
947
+ msgid ""
948
+ "Please enter your participation number to the corresponding product. You can "
949
+ "add other participation numbers later %s."
950
+ msgstr ""
951
+ "Bitte fügen Sie Ihre Teilnahmenummer für das dazugehörige Produkt ein. Sie "
952
+ "können die anderen Teilnahmenummern später %s anpassen."
953
+
954
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:326
955
  #, php-format
956
  msgctxt "dhl"
957
  msgid ""
965
  "letzten beiden Zeichen der dazugehörigen Abrechnungsnummer, die Sie in Ihren "
966
  "%s finden (z.B.: 01)."
967
 
968
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:326
969
  msgctxt "dhl"
970
  msgid "contract data"
971
  msgstr "Vertragsdaten"
972
 
973
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:380
974
  msgctxt "dhl"
975
  msgid "Domestic Default Service"
976
  msgstr "Nationaler Standard Service"
977
 
978
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:384
979
  msgctxt "dhl"
980
  msgid ""
981
  "Please select your default DHL shipping service for domestic shipments that "
986
  "für Ihre Kunden anbieten (Sie können das Produkt für jede einzelne Sendung "
987
  "nachträglich ändern)."
988
 
989
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:390
990
  msgctxt "dhl"
991
  msgid "Int. Default Service"
992
  msgstr "Internationaler Standard Service"
993
 
994
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:394
995
  msgctxt "dhl"
996
  msgid ""
997
  "Please select your default DHL shipping service for cross-border shipments "
1003
  "Sendung nachträglich ändern)."
1004
 
1005
  # @ woocommerce-germanized
1006
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:400
1007
  msgctxt "dhl"
1008
  msgid "Default Duty"
1009
  msgstr "Standard Zoll"
1010
 
1011
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:404
1012
  msgctxt "dhl"
1013
  msgid "Please select a default duty type."
1014
  msgstr "Bitte wählen Sie eine Standard-Zollabrechnung aus."
1015
 
1016
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:411
1017
  msgctxt "dhl"
1018
  msgid "Codeable"
1019
  msgstr "Leitcodierbar"
1020
 
1021
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:412
1022
  msgctxt "dhl"
1023
  msgid "Generate label only if address can be automatically retrieved DHL."
1024
  msgstr "Erzeuge Labels nur dann, wenn die Adresse von DHL erkannt wird."
1025
 
1026
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:416
1027
  msgctxt "dhl"
1028
  msgid ""
1029
  "Choose this option if you want to make sure that by default labels are only "
1034
  "ist."
1035
 
1036
  # @ woocommerce-germanized
1037
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:420
1038
  msgctxt "dhl"
1039
  msgid "Default weight"
1040
  msgstr "Standardgewicht"
1041
 
1042
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:422
1043
  msgctxt "dhl"
1044
  msgid ""
1045
  "Choose a default shipment weight to be used for labels if no weight has been "
1048
  "Wählen Sie ein Standard Sendungsgewicht aus das für Labels verwendet wird, "
1049
  "für die das Gewicht nicht automatisch bestimmt werden kann."
1050
 
1051
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:431
1052
  msgctxt "dhl"
1053
  msgid "Minimum weight"
1054
  msgstr "Mindestgewicht"
1055
 
1056
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:433
1057
  msgctxt "dhl"
1058
  msgid ""
1059
  "Choose a minimum weight to be used for labels e.g. to prevent low shipment "
1063
  "wegen eines zu geringen Gewichts Fehler zurückgibt."
1064
 
1065
  # @ woocommerce-germanized
1066
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:445
1067
  msgctxt "dhl"
1068
  msgid "Street number"
1069
  msgstr "Hausnummer"
1070
 
1071
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:446
1072
  msgctxt "dhl"
1073
  msgid ""
1074
  "Force existence of a street number within the first address field during "
1077
  "Hausnummer im ersten Adressfeld verpflichtend abfragen, falls es sich um ein "
1078
  "EU-Land handelt."
1079
 
1080
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:447
1081
  msgctxt "dhl"
1082
  msgid ""
1083
  "Enabling this option will force a street number to be provided during "
1088
  "Adressfeld in der Kasse abgefragt wird. Damit verhindern Sie fehlende oder "
1089
  "falsche Datensätze."
1090
 
1091
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:459
1092
  msgctxt "dhl"
1093
  msgid ""
1094
  "Additionally create inlay return labels for shipments that support returns."
1096
  "Erzeuge zusätzlich Beilage-Retourenlabels für Sendungen die Retouren "
1097
  "unterstützen."
1098
 
1099
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:478
1100
  msgctxt "dhl"
1101
  msgid "Enable delivery to Packstation."
1102
  msgstr "Aktiviere den Versand an Packstationen."
1103
 
1104
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:479
1105
  msgctxt "dhl"
1106
  msgid "Let customers choose a Packstation as delivery address."
1107
  msgstr "Kunden eine Packstation als Lieferadresse auswählen lassen."
1108
 
1109
  # @ woocommerce-germanized
1110
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:486
1111
  #: woocommerce-germanized-dhl/templates/checkout/dhl/parcel-finder.php:50
1112
  msgctxt "dhl"
1113
  msgid "Postoffice"
1114
  msgstr "Postfiliale"
1115
 
1116
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:487
1117
  msgctxt "dhl"
1118
  msgid "Enable delivery to Post Offices."
1119
  msgstr "Aktiviere den Versand an Postfilialen."
1120
 
1121
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:488
1122
  msgctxt "dhl"
1123
  msgid "Let customers choose a Post Office as delivery address."
1124
  msgstr "Kunden eine Postfiliale als Lieferadresse auswählen lassen."
1125
 
1126
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:495
1127
  msgctxt "dhl"
1128
  msgid "Parcel Shop"
1129
  msgstr "Paketshop"
1130
 
1131
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:496
1132
  msgctxt "dhl"
1133
  msgid "Enable delivery to Parcel Shops."
1134
  msgstr "Lieferung an Paketshops aktivieren."
1135
 
1136
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:497
1137
  msgctxt "dhl"
1138
  msgid "Let customers choose a Parcel Shop as delivery address."
1139
  msgstr "Kunden einen Paketshop als Lieferadresse auswählen lassen."
1140
 
1141
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:515
1142
  msgctxt "dhl"
1143
  msgid "Visual minimum age"
1144
  msgstr "Alterssichtprüfung"
1145
 
1146
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:520
1147
  msgctxt "dhl"
1148
  msgid "Choose this option if you want to let DHL check your customer's age."
1149
  msgstr ""
1150
  "Wählen Sie diese Option aus, wenn Sie das Alter durch DHL prüfen lassen "
1151
  "möchten."
1152
 
1153
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:524
1154
  msgctxt "dhl"
1155
  msgid "Enable the GoGreen Service by default."
1156
  msgstr "Buche den GoGreen Service hinzu."
1157
 
1158
  # @ woocommerce-germanized
1159
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:530
1160
  msgctxt "dhl"
1161
  msgid "Additional Insurance"
1162
  msgstr "Transportversicherung"
1163
 
1164
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:531
1165
  msgctxt "dhl"
1166
  msgid "Add an additional insurance to labels."
1167
  msgstr "Füge eine Transportversicherung zur Sendung hinzu."
1168
 
1169
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:537
1170
  msgctxt "dhl"
1171
  msgid "Retail Outlet Routing"
1172
  msgstr "Filialrouting"
1173
 
1174
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:538
1175
  msgctxt "dhl"
1176
  msgid ""
1177
  "Send undeliverable items to nearest retail outlet instead of immediate "
1180
  "Sende unzustellbare Sendungen in die nächstgelegene Filiale zur Abholung "
1181
  "anstelle diese direkt zurückzusenden."
1182
 
1183
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:544
1184
  msgctxt "dhl"
1185
  msgid "No Neighbor"
1186
  msgstr "Keine Nachbarschaftszustellung"
1187
 
1188
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:545
1189
  msgctxt "dhl"
1190
  msgid "Do not deliver to neighbors."
1191
  msgstr "Schließe eine Ersatzzustellung beim Nachbarn aus."
1192
 
1193
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:552
1194
  msgctxt "dhl"
1195
  msgid "Do only delivery to named person."
1196
  msgstr ""
1197
  "Lasse Pakete nur an den Empfänger persönlich oder an eine bevollmächtigte "
1198
  "Person übergeben."
1199
 
1200
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:558
1201
  msgctxt "dhl"
1202
  msgid "Bulky Goods"
1203
  msgstr "Sperrgut"
1204
 
1205
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:559
1206
  msgctxt "dhl"
1207
  msgid "Deliver as bulky goods."
1208
  msgstr "Sende Pakete als Sperrgut."
1209
 
1210
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:565
1211
  msgctxt "dhl"
1212
  msgid "Age Verification"
1213
  msgstr "Alterssichtprüfung"
1214
 
1215
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:566
1216
  msgctxt "dhl"
1217
  msgid "Verify ages if shipment contains applicable items."
1218
  msgstr ""
1219
  "Aktiviere die Alterssichtprüfung, falls die Sendung zu prüfende Positionen "
1220
  "beinhaltet."
1221
 
1222
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:566
1223
  #, php-format
1224
  msgctxt "dhl"
1225
  msgid ""
1232
  "Alterssichtprüfung automatisch aktiviert, falls eine Sendung zu prüfenden "
1233
  "Produkte beinhaltet."
1234
 
1235
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:566
1236
  msgctxt "dhl"
1237
  msgid "age verification checkbox"
1238
  msgstr "Checkbox zur Altersprüfung"
1239
 
1240
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:573
1241
  msgctxt "dhl"
1242
  msgid "Premium delivery for international shipments."
1243
  msgstr "Premium Lieferung für internationale Sendungen."
1244
 
1245
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:592
1246
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1177
1247
  msgctxt "dhl"
1248
  msgid "Labels"
1249
  msgstr "Labels"
1250
 
1251
  # @ woocommerce-germanized
1252
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:593
1253
  msgctxt "dhl"
1254
  msgid "Automatically create labels for shipments."
1255
  msgstr "Automatisch Labels zu Sendungen erstellen."
1256
 
1257
  # @ woocommerce-germanized
1258
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:600
1259
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:627
1260
  msgctxt "dhl"
1261
  msgid "Status"
1262
  msgstr "Status"
1263
 
1264
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:604
1265
  msgctxt "dhl"
1266
  msgid "Choose a shipment status which should trigger generation of a label."
1267
  msgstr ""
1269
  "soll."
1270
 
1271
  # @ woocommerce-germanized
1272
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:611
1273
  msgctxt "dhl"
1274
  msgid "Shipment Status"
1275
  msgstr "Sendungsstatus"
1276
 
1277
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:612
1278
  msgctxt "dhl"
1279
  msgid "Mark shipment as shipped after label has been created successfully."
1280
  msgstr ""
1281
  "Sendung als versandt markieren, sobald ein Label erfolgreich erstellt wurde."
1282
 
1283
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:619
1284
  msgctxt "dhl"
1285
  msgid "Returns"
1286
  msgstr "Retouren"
1287
 
1288
  # @ woocommerce-germanized
1289
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:620
1290
  msgctxt "dhl"
1291
  msgid "Automatically create labels for returns."
1292
  msgstr "Automatisch Retourenlabels zu Retourensendungen erstellen."
1293
 
1294
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:631
1295
  msgctxt "dhl"
1296
  msgid ""
1297
  "Choose a shipment status which should trigger generation of a return label."
1299
  "Wählen Sie einen Sendungsstatus aus, der die Erzeugung eines Retourenlabels "
1300
  "auslösen soll."
1301
 
1302
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:677
 
 
 
 
 
1303
  #, php-format
1304
  msgctxt "dhl"
1305
  msgid ""
1311
  "werden."
1312
 
1313
  # @ woocommerce-germanized
1314
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:677
1315
  msgctxt "dhl"
1316
  msgid "shipping method"
1317
  msgstr "Versandmethode"
1318
 
1319
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:687
1320
  #, php-format
1321
  msgctxt "dhl"
1322
  msgid ""
1327
  "API an. Stellen Sie sicher, dass Ihr %s DHL Retoure Online enthält."
1328
 
1329
  # @ woocommerce-germanized
1330
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:687
1331
  msgctxt "dhl"
1332
  msgid "contract"
1333
  msgstr "Vertrag"
1334
 
1335
  # @ woocommerce-germanized
1336
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:699
1337
  msgctxt "dhl"
1338
  msgid "Default Services"
1339
  msgstr "Standard-Services"
1340
 
1341
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:699
1342
  #, php-format
1343
  msgctxt "dhl"
1344
  msgid ""
1348
  "Passen Sie hier an, welche der Services als Standard für Ihre Labels gebucht "
1349
  "werden sollen. Finden Sie mehr über diese %s heraus."
1350
 
1351
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:699
1352
  msgctxt "dhl"
1353
  msgid "nationwide services"
1354
  msgstr "nationalen Services"
1355
 
1356
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:711
1357
  msgctxt "dhl"
1358
  msgid ""
1359
  "Choose whether and under which conditions labels for your shipments shall be "
1363
  "automatisch erzeugt werden sollen."
1364
 
1365
  # @ woocommerce-germanized
1366
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:722
1367
  msgctxt "dhl"
1368
  msgid "Shipper Address"
1369
  msgstr "Absenderadresse"
1370
 
1371
  # @ woocommerce-germanized
1372
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:746
1373
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:815
1374
  msgctxt "dhl"
1375
  msgid "Street Number"
1376
  msgstr "Hausnummer"
1377
 
1378
  # @ woocommerce-germanized
1379
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:767
1380
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:836
1381
  msgctxt "dhl"
1382
  msgid "Country"
1383
  msgstr "Land"
1384
 
1385
  # @ woocommerce-germanized
1386
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:791
1387
  msgctxt "dhl"
1388
  msgid "Inlay Return Address"
1389
  msgstr "Beilageretouren Adresse"
1390
 
1391
  # @ woocommerce-germanized
1392
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:860
1393
  msgctxt "dhl"
1394
  msgid "Bank Account"
1395
  msgstr "Bankkonto"
1396
 
1397
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:860
1398
  msgctxt "dhl"
1399
  msgid "Enter your bank details needed for services that use COD."
1400
  msgstr ""
1402
  "verwendet werden sollen."
1403
 
1404
  # @ woocommerce-germanized
1405
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:863
1406
  msgctxt "dhl"
1407
  msgid "Holder"
1408
  msgstr "Kontoinhaber"
1409
 
1410
  # @ woocommerce-germanized
1411
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:870
1412
  msgctxt "dhl"
1413
  msgid "Bank Name"
1414
  msgstr "Name der Bank"
1415
 
1416
  # @ woocommerce-germanized
1417
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:877
1418
  msgctxt "dhl"
1419
  msgid "IBAN"
1420
  msgstr "IBAN"
1421
 
1422
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:884
1423
  msgctxt "dhl"
1424
  msgid "BIC"
1425
  msgstr "BIC"
1426
 
1427
  # @ woocommerce-germanized
1428
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:891
1429
  msgctxt "dhl"
1430
  msgid "Payment Reference"
1431
  msgstr "Zahlungsreferenz"
1432
 
1433
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:895
1434
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:904
1435
  #, php-format
1436
  msgctxt "dhl"
1437
  msgid ""
1442
  "hinzufügen: %s. Der Text ist auf 35 Zeichen begrenzt."
1443
 
1444
  # @ woocommerce-germanized
1445
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:900
1446
  msgctxt "dhl"
1447
  msgid "Payment Reference 2"
1448
  msgstr "Zahlungsreferenz 2"
1449
 
1450
  # @ woocommerce-germanized
1451
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:918
1452
  msgctxt "dhl"
1453
  msgid "Enable creating labels for return shipments."
1454
  msgstr "Automatisch Retourenlabels zu Retourensendungen erstellen."
1455
 
1456
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:918
1457
  msgctxt "dhl"
1458
  msgid ""
1459
  "By enabling this option you might generate retoure labels for return "
1462
  "Mit der Aktivierung dieser Option können Sie Retourenlabels zu "
1463
  "Retourensendungen erstellen und diese per E-Mail an den Kunden weiterleiten."
1464
 
1465
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:939
1466
  msgctxt "dhl"
1467
  msgid "Enable preferred day delivery."
1468
  msgstr "Aktiviere die Lieferung am Wunschtag."
1469
 
1470
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:939
1471
  msgctxt "dhl"
1472
  msgid ""
1473
  "Enabling this option will display options for the user to select their "
1476
  "Diese Option aktiviert die Auswahl eines Wunschtags durch den Kunden in der "
1477
  "Kasse."
1478
 
1479
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:948
1480
  msgctxt "dhl"
1481
  msgid ""
1482
  "Insert gross value as surcharge for preferred day delivery. Insert 0 to "
1485
  "Fügen Sie einen Bruttopreis als Gebühr für die Lieferung am Wunschtag hinzu. "
1486
  "Setzen Sie den Wert auf 0 um den Service kostenlos anzubieten."
1487
 
1488
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:959
1489
  msgctxt "dhl"
1490
  msgid "Enable preferred time delivery."
1491
  msgstr "Aktiviere die Lieferung zur Wunschzeit."
1492
 
1493
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:959
1494
  msgctxt "dhl"
1495
  msgid ""
1496
  "Enabling this option will display options for the user to select their "
1499
  "Diese Option aktiviert die Auswahl einer Wunschzeit durch den Kunden in der "
1500
  "Kasse."
1501
 
1502
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:968
1503
  msgctxt "dhl"
1504
  msgid ""
1505
  "Insert gross value as surcharge for preferred time delivery. Insert 0 to "
1508
  "Fügen Sie einen Bruttopreis als Gebühr für die Lieferung zur Wunschzeit "
1509
  "hinzu. Setzen Sie den Wert auf 0 um den Service kostenlos anzubieten."
1510
 
1511
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:978
1512
  msgctxt "dhl"
1513
  msgid "Combined Fee"
1514
  msgstr "Kombinierte Gebühr"
1515
 
1516
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:980
1517
  msgctxt "dhl"
1518
  msgid ""
1519
  "Insert gross value as surcharge for the combination of preferred day and "
1524
  "kostenlos anzubieten."
1525
 
1526
  # @ woocommerce-germanized
1527
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:991
1528
  msgctxt "dhl"
1529
  msgid "Enable preferred location delivery."
1530
  msgstr "Lieferung an einen Wunschort aktivieren."
1531
 
1532
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:991
1533
  msgctxt "dhl"
1534
  msgid ""
1535
  "Enabling this option will display options for the user to select their "
1538
  "Diese Option aktiviert die Auswahl eines Wunschorts durch den Kunden in der "
1539
  "Kasse ."
1540
 
1541
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:999
1542
  msgctxt "dhl"
1543
  msgid "Enable preferred neighbor delivery."
1544
  msgstr "Aktiviere die Lieferung an einen Wunschnachbarn."
1545
 
1546
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:999
1547
  msgctxt "dhl"
1548
  msgid ""
1549
  "Enabling this option will display options for the user to deliver to their "
1552
  "Diese Option aktiviert die Auswahl eines Wunschnachbarn durch den Kunden in "
1553
  "der Kasse."
1554
 
1555
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1025
1556
  msgctxt "dhl"
1557
  msgid "Cut-off time"
1558
  msgstr "Cut-off-Zeit"
1559
 
1560
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1028
1561
  msgctxt "dhl"
1562
  msgid ""
1563
  "The cut-off time is the latest possible order time up to which the minimum "
1570
  "Nach Überschreitung dieses Zeitpunktes, wird der früheste verfügbare "
1571
  "Wunschtag in der Kasse um einen Tag erhöht (Tag der Bestellung + 3 Werktage)."
1572
 
1573
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1034
1574
  msgctxt "dhl"
1575
  msgid "Preparation days"
1576
  msgstr "Bearbeitungstage"
1577
 
1578
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1037
1579
  msgctxt "dhl"
1580
  msgid ""
1581
  "If you need more time to prepare your shipments you might want to add a "
1586
  "hier eine statische Anzahl an Tagen hinterlegen, die zum frühesten "
1587
  "auswählbaren Wunschtag hinzugefügt werden."
1588
 
1589
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1044
1590
  msgctxt "dhl"
1591
  msgid "Exclude days of transfer"
1592
  msgstr "Übergabetage ausschließen"
1593
 
1594
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1045
1595
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:31
1596
  msgctxt "dhl"
1597
  msgid "Monday"
1598
  msgstr "Montag"
1599
 
1600
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1046
1601
  msgctxt "dhl"
1602
  msgid "Exclude days from transferring shipments to DHL."
1603
  msgstr "Schließen Sie bestimmte Wochentage für die Übergabe an DHL aus."
1604
 
1605
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1055
1606
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:32
1607
  msgctxt "dhl"
1608
  msgid "Tuesday"
1609
  msgstr "Dienstag"
1610
 
1611
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1064
1612
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:33
1613
  msgctxt "dhl"
1614
  msgid "Wednesday"
1615
  msgstr "Mittwoch"
1616
 
1617
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1073
1618
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:34
1619
  msgctxt "dhl"
1620
  msgid "Thursday"
1621
  msgstr "Donnerstag"
1622
 
1623
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1082
1624
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:35
1625
  msgctxt "dhl"
1626
  msgid "Friday"
1627
  msgstr "Freitag"
1628
 
1629
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1091
1630
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:36
1631
  msgctxt "dhl"
1632
  msgid "Saturday"
1633
  msgstr "Samstag"
1634
 
1635
  # @ woocommerce-germanized
1636
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1100
1637
  msgctxt "dhl"
1638
  msgid "Exclude gateways"
1639
  msgstr "Zahlungsarten ausschließen"
1640
 
1641
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1102
1642
  msgctxt "dhl"
1643
  msgid "Select payment gateways to be excluded from showing preferred services."
1644
  msgstr ""
1645
  "Wählen Sie Zahlungsarten aus, für die die Wunschpaket-Services nicht zur "
1646
  "Verfügung stehen sollen."
1647
 
1648
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1127
1649
  msgctxt "dhl"
1650
  msgid "Let customers find a DHL location on a map."
1651
  msgstr "Lasse Kunden einen DHL Standort auf der Karte auswählen."
1652
 
1653
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1127
1654
  msgctxt "dhl"
1655
  msgid ""
1656
  "Enable this option to let your customers choose a pickup option from a map "
1661
  "anhand einer Karten in der Kasse zu ermöglichen. Wenn diese Option "
1662
  "deaktiviert ist, wird stattdessen auf die DHL Website verwiesen."
1663
 
1664
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1134
1665
  msgctxt "dhl"
1666
  msgid "Google Maps Key"
1667
  msgstr "Google Maps Schlüssel"
1668
 
1669
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1138
1670
  #, php-format
1671
  msgctxt "dhl"
1672
  msgid ""
1676
  "Um eine Karte integrieren zu können, benötigen Siee du einen gültigen API-"
1677
  "Schlüssel für Google Maps. Sie können %s."
1678
 
1679
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1138
1680
  msgctxt "dhl"
1681
  msgid "retrieve a new one"
1682
  msgstr "hier einen neuen erstellen"
1683
 
1684
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1143
1685
  msgctxt "dhl"
1686
  msgid "Limit results"
1687
  msgstr "Suchergebnisse begrenzen"
1688
 
1689
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1147
1690
  msgctxt "dhl"
1691
  msgid "Limit the number of DHL locations shown on the map"
1692
  msgstr "Begrenzt die Anzahl der angezeigten DHL Standorte auf der Karte"
1693
 
1694
  # @ woocommerce-germanized
1695
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1176
1696
  msgctxt "dhl"
1697
  msgid "General"
1698
  msgstr "Allgemein"
1699
 
1700
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1178
1701
  msgctxt "dhl"
1702
  msgid "Preferred Services"
1703
  msgstr "Wunschpaket"
1704
 
1705
+ #: woocommerce-germanized-dhl/src/Admin/Settings.php:1179
1706
  msgctxt "dhl"
1707
  msgid "Parcel Pickup"
1708
  msgstr "Standorte"
1709
 
 
 
 
 
 
 
 
 
 
 
1710
  #: woocommerce-germanized-dhl/src/Api/FinderSoap.php:37
1711
  msgctxt "dhl"
1712
  msgid "Sunday"
1757
  "oder erwägen Sie den Wechsel in den Sandbox-Modus."
1758
 
1759
  #: woocommerce-germanized-dhl/src/Api/LabelSoap.php:237
1760
+ #: woocommerce-germanized-dhl/src/Api/ReturnRest.php:150
1761
  msgctxt "dhl"
1762
  msgid "Error while creating and uploading the label"
1763
  msgstr "Fehler beim Erstellen und hochladen des Labels"
1901
  msgid "POST error or timeout occured. Please try again later."
1902
  msgstr "POST Fehler oder Zeitüberschreitung. Bitte später erneut versuchen."
1903
 
1904
+ #: woocommerce-germanized-dhl/src/DataStores/Label.php:307
 
 
 
 
 
 
1905
  msgctxt "dhl"
1906
  msgid "Invalid label."
1907
  msgstr "Ungültiges Label."
1913
  msgid "%s-%s"
1914
  msgstr "%s-%s"
1915
 
1916
+ #: woocommerce-germanized-dhl/src/Package.php:235
1917
  msgctxt "dhl"
1918
  msgid ""
1919
  "Please check the street field and make sure to provide a valid street number."
1922
  "angegeben wurde."
1923
 
1924
  # @ woocommerce-germanized
1925
+ #: woocommerce-germanized-dhl/src/Package.php:671
1926
  msgctxt "dhl"
1927
  msgid "Germany"
1928
  msgstr "Deutschland"
1929
 
1930
  # @ woocommerce-germanized
1931
  #: woocommerce-germanized-dhl/src/ParcelLocator.php:89
1932
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:831
1933
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:856
1934
  msgctxt "dhl"
1935
  msgid "Address Type"
1936
  msgstr "Adresstyp"
2004
  "Ihre DHL Kundennummer (Postnummer) ist nicht gültig. Bitte überprüfen Sie "
2005
  "Ihre Eingabe."
2006
 
2007
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:695
2008
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:822
2009
  msgctxt "dhl"
2010
  msgid "Branch"
2011
  msgstr "Filiale"
2012
 
2013
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:696
2014
  msgctxt "dhl"
2015
  msgid "Postnumber "
2016
  msgstr "Postnummer "
2017
 
2018
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:797
2019
  #, php-format
2020
  msgctxt "dhl"
2021
  msgid "e.g. %s 456"
2022
  msgstr "z.B. %s 456"
2023
 
2024
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:822
2025
  msgctxt "dhl"
2026
  msgid "Branches"
2027
  msgstr "Filialen"
2028
 
2029
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:838
2030
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:866
2031
  msgctxt "dhl"
2032
  msgid "DHL customer number (Post number)"
2033
  msgstr "DHL Kundennummer (Postnummer)"
2034
 
2035
  # @ woocommerce-germanized
2036
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:848
2037
  msgctxt "dhl"
2038
  msgid "Regular Address"
2039
  msgstr "Normale Adresse"
2040
 
2041
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:870
2042
  msgctxt "dhl"
2043
  msgid "Not yet a DHL customer?"
2044
  msgstr "Noch kein DHL Kunde?"
2045
 
2046
  # @ woocommerce-germanized
2047
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:870
2048
  msgctxt "dhl"
2049
  msgid "Register now"
2050
  msgstr "Jetzt registrieren"
2051
 
2052
  # @ woocommerce-germanized
2053
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:919
2054
  #, php-format
2055
  msgctxt "dhl"
2056
  msgid "Search %s"
2057
  msgstr "%s suchen"
2058
 
2059
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:1024
2060
  msgctxt "dhl"
2061
  msgid "No DHL locations found"
2062
  msgstr "Keine DHL Standorte gefunden"
2063
 
2064
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:1039
2065
  #, php-format
2066
  msgctxt "dhl"
2067
  msgid ""
2072
  "einen %s oder %s."
2073
 
2074
  # @ woocommerce-germanized
2075
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:1039
2076
  msgctxt "dhl"
2077
  msgid "DHL location"
2078
  msgstr "DHL Standort"
2079
 
2080
+ #: woocommerce-germanized-dhl/src/ParcelLocator.php:1039
2081
  msgctxt "dhl"
2082
  msgid "retry"
2083
  msgstr "Erneut versuchen"
2122
  msgid "Please choose name and address of your preferred neighbor."
2123
  msgstr "Bitte wählen Sie einen Namen und die Adresse Ihres Wunschnachbars."
2124
 
2125
+ #: woocommerce-germanized-dhl/src/ReturnLabel.php:125
2126
  #: woocommerce-germanized-dhl/src/SimpleLabel.php:86
2127
  #, php-format
2128
  msgctxt "dhl full name"
2129
  msgid "%1$s"
2130
  msgstr "%1$s"
2131
 
2132
+ #: woocommerce-germanized-dhl/src/ShippingProviderDHL.php:42
 
 
 
 
 
 
 
2133
  msgctxt "dhl"
2134
  msgid ""
2135
  "Complete DHL integration supporting labels, preferred services and "
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"
2324
  "* Bei einer Kombinationsbuchung von Wunschtag und Wunschzeit fällt ein "
2325
  "Gesamtaufpreis in Höhe von %s inkl. MwSt. an"
2326
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2327
  #: woocommerce-germanized-dhl/woocommerce-germanized-dhl.php:40
2328
  #: woocommerce-germanized-dhl/woocommerce-germanized-dhl.php:58
2329
  #, php-format
2335
  "Ihre Installation des Germanized DHL Plugins ist unvollständig. Bitte führen "
2336
  "Sie %1$s im %2$s Verzeichnis aus."
2337
 
2338
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:30
2339
  #, php-format
2340
  msgctxt "shipments"
2341
  msgid "Weight (%s)"
2342
  msgstr "Gewicht (%s)"
2343
 
2344
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:35
2345
  #, php-format
2346
  msgctxt "shipments"
2347
  msgid "Dimensions (%s)"
2348
  msgstr "Abmessungen (%s)"
2349
 
2350
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:35
2351
  msgctxt "shipments"
2352
  msgid "LxWxH in decimal form."
2353
  msgstr "LxBxH in dezimaler Form."
2354
 
2355
  # @ woocommerce-germanized
2356
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:47
2357
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:1004
2358
  #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:24
2359
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:662
2360
  msgctxt "shipments"
2361
  msgid "Status"
2362
  msgstr "Status"
2363
 
2364
  # @ woocommerce-germanized
2365
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:57
2366
  msgctxt "shipments"
2367
  msgid "Shipping method"
2368
  msgstr "Versandmethode"
2369
 
2370
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:67
2371
  msgctxt "shipments"
2372
  msgid "Shipping provider"
2373
  msgstr "Versanddienstleister"
2374
 
2375
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:78
2376
  msgctxt "shipments"
2377
  msgid "Tracking Number"
2378
  msgstr "Sendungsnummer"
2379
 
2380
+ # @ woocommerce-germanized
2381
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:144
2382
+ msgctxt "shipments"
2383
+ msgid "Add item"
2384
+ msgstr "Position hinzufügen"
2385
+
2386
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:148
2387
+ msgctxt "shipments"
2388
+ msgid "Automatically adjust items and quantities based on order item data."
2389
+ msgstr "Bestimmt Positionen und Anzahlen automatisch anhand der Bestelldaten."
2390
+
2391
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:148
2392
+ msgctxt "shipments"
2393
+ msgid "Sync items"
2394
+ msgstr "Positionen synchronisieren"
2395
+
2396
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:168
2397
+ msgctxt "shipments"
2398
+ msgid "Add Item"
2399
+ msgstr "Position hinzufügen"
2400
+
2401
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:178
2402
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php:45
2403
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:50
2404
  msgctxt "shipments"
2405
  msgid "Item"
2406
  msgstr "Position"
2407
 
2408
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:179
2409
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php:46
2410
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:55
2411
  #: woocommerce-germanized-shipments/templates/emails/email-shipment-details.php:55
2412
+ #: woocommerce-germanized-shipments/templates/myaccount/add-return-shipment.php:37
2413
+ #: woocommerce-germanized-shipments/templates/shipment/shipment-details.php:60
2414
  msgctxt "shipments"
2415
  msgid "Quantity"
2416
  msgstr "Anzahl"
2417
 
2418
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:197
2419
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php:55
 
 
 
2420
  msgctxt "shipments"
2421
+ msgid "Add"
2422
+ msgstr "Hinzufügen"
 
 
 
 
 
 
2423
 
2424
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:221
2425
  msgctxt "shipments"
2426
+ msgid ""
2427
+ "Send return instructions to your customer via email including return label "
2428
+ "as attachment (if available)."
2429
+ msgstr ""
2430
+ "Informationen zur Rücksendung inkl. Label, falls verfügbar an Kunden via E-"
2431
+ "Mail senden."
2432
 
2433
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:221
2434
  msgctxt "shipments"
2435
+ msgid "Resend notification"
2436
+ msgstr "Benachrichtigung erneut versenden"
2437
 
2438
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:221
2439
  msgctxt "shipments"
2440
+ msgid "Notify customer"
2441
+ msgstr "Notify customer"
2442
 
2443
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:223
 
2444
  msgctxt "shipments"
2445
+ msgid ""
2446
+ "Confirm the return request to the customer. The customer receives an email "
2447
+ "notification possibly containing return instructions."
2448
+ msgstr ""
2449
+ "Bestätigen Sie dem Kunden seinen Rücksendeantrag. Der Kunde erhält eine E-"
2450
+ "Mail-Benachrichtigung, die möglicherweise Anweisungen zur Rücksendung "
2451
+ "enthält."
2452
 
2453
+ # @ woocommerce-germanized
2454
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:223
2455
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:64
2456
  msgctxt "shipments"
2457
+ msgid "Confirm return request"
2458
+ msgstr "Rücksendeantrag bestätigen"
2459
 
2460
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php:227
2461
  #, php-format
2462
  msgctxt "shipments"
2463
  msgid "Delete %s"
2471
  msgstr[0] "%d von %d Position"
2472
  msgstr[1] "%d von %d Positionen"
2473
 
2474
+ # @ woocommerce-germanized
2475
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-item.php:28
2476
+ #: woocommerce-germanized-shipments/templates/shipment/add-return-shipment-item.php:58
2477
+ msgctxt "shipments return reason"
2478
+ msgid "None"
2479
+ msgstr "Keiner"
2480
+
2481
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-item.php:41
2482
  #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:26
2483
+ #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php:35
2484
  msgctxt "shipments"
2485
  msgid "Delete"
2486
  msgstr "Löschen"
2487
 
2488
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-list.php:22
2489
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:76
2490
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:282
2491
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:403
2492
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:80
2493
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:175
2494
+ #: woocommerce-germanized-shipments/templates/myaccount/order-shipments.php:36
2495
+ msgctxt "shipments"
2496
+ msgid "Returns"
2497
+ msgstr "Retouren"
2498
+
2499
  #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipment.php:16
2500
  #, php-format
2501
  msgctxt "shipment admin title"
2504
 
2505
  # @ woocommerce-germanized
2506
  #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php:19
2507
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:69
2508
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:212
2509
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:281
2510
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:369
2511
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:436
2512
+ #: woocommerce-germanized-shipments/templates/myaccount/order-shipments.php:20
2513
  msgctxt "shipments"
2514
  msgid "Shipments"
2515
  msgstr "Sendungen"
2516
 
2517
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php:35
2518
+ msgctxt "shipments"
2519
+ msgid "Add Return"
2520
+ msgstr "Retoure hinzufügen"
2521
+
2522
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php:66
2523
  msgctxt "shipments"
2524
  msgid "Add shipment"
2525
  msgstr "Sendung hinzufügen"
2526
 
2527
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php:70
2528
+ msgctxt "shipments"
2529
+ msgid "Add return"
2530
+ msgstr "Retoure hinzufügen"
2531
+
2532
+ #: woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php:76
2533
  msgctxt "shipments"
2534
  msgid "Save"
2535
  msgstr "Speichern"
2538
  # @ woocommerce
2539
  #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:11
2540
  #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:22
2541
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:660
2542
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:534
2543
  msgctxt "shipments"
2544
  msgid "Title"
2545
  msgstr "Titel"
2546
 
2547
  # @ woocommerce-germanized
2548
  #: woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php:12
2549
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:543
2550
  msgctxt "shipments"
2551
  msgid "Description"
2552
  msgstr "Beschreibung"
2580
  msgstr "Verwalten"
2581
 
2582
  #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label-backbone.php:13
2583
+ #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php:39
2584
  msgctxt "shipments"
2585
  msgid "Create label"
2586
  msgstr "Label erstellen"
2601
  msgid "Download"
2602
  msgstr "Download"
2603
 
2604
+ #: woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php:39
2605
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:494
2606
+ msgctxt "shipments"
2607
+ msgid "Create new label"
2608
+ msgstr "Neues Label erstellen"
2609
+
2610
  # @ woocommerce-germanized
2611
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-guest-return-shipment-request.php:41
2612
  msgctxt "shipments"
2613
+ msgid "Order guest return request"
2614
+ msgstr "Rücksendeantrag (Gast)"
2615
 
2616
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-guest-return-shipment-request.php:42
 
2617
  msgctxt "shipments"
2618
+ msgid ""
2619
+ "Order guest return request are sent to the customer after submitting a new "
2620
+ "return request as a guest."
2621
+ msgstr ""
2622
+ "Gäste erhalten bei Rücksendeanträgen einen einmaligen Link per E-Mail "
2623
+ "zugestellt über den der Antrag gestellt werden kann."
2624
+
2625
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-guest-return-shipment-request.php:66
2626
+ msgctxt "shipments"
2627
+ msgid "Your return request to your order {order_number}"
2628
+ msgstr "Ihr Rücksendeantrag zu Ihrer Bestellung {order_number}"
2629
+
2630
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-guest-return-shipment-request.php:76
2631
+ msgctxt "shipments"
2632
+ msgid "Return request to your order: {order_number}"
2633
+ msgstr "Rücksendeantrag zu Ihrer Bestellung: {order_number}"
2634
+
2635
+ # @ woocommerce-germanized
2636
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-return-shipment-delivered.php:44
2637
+ msgctxt "shipments"
2638
+ msgid "Order return delivered"
2639
+ msgstr "Rücksendung eingegangen"
2640
+
2641
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-return-shipment-delivered.php:45
2642
+ msgctxt "shipments"
2643
+ msgid ""
2644
+ "Order return notifications are sent to the customer after a return shipment "
2645
+ "has been returned (delivered) successfully."
2646
+ msgstr ""
2647
+ "Benachrichtigungen über den Eingang einer Retoure werden an den Kunden "
2648
+ "verschickt sobald eine Retoure als geliefert markiert wurde."
2649
+
2650
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-return-shipment-delivered.php:75
2651
+ msgctxt "shipments"
2652
+ msgid "Return to your order {order_number} has been received"
2653
+ msgstr "Rücksendung zu Ihrer Bestellung {order_number} ist eingegangen"
2654
+
2655
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-return-shipment-delivered.php:85
2656
+ msgctxt "shipments"
2657
+ msgid "Received return to your order: {order_number}"
2658
+ msgstr "Rücksendung erhalten zu Ihrer Bestellung: {order_number}"
2659
+
2660
+ # @ woocommerce-germanized
2661
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-return-shipment.php:52
2662
+ msgctxt "shipments"
2663
+ msgid "Order return"
2664
+ msgstr "Retoure zur Bestellung"
2665
+
2666
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-return-shipment.php:53
2667
+ msgctxt "shipments"
2668
+ msgid ""
2669
+ "Order return notifications are sent to the customer after a return shipment "
2670
+ "was marked as processing."
2671
+ msgstr ""
2672
+ "Benachrichtigungen über Retouren werden an den Kunden verschickt, nachdem "
2673
+ "eine Retoure als in Bearbeitung markiert wurde."
2674
+
2675
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-return-shipment.php:83
2676
+ msgctxt "shipments"
2677
+ msgid "Return to your order {order_number}"
2678
+ msgstr "Rücksendung zu Ihrer Bestellung {order_number}"
2679
+
2680
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-return-shipment.php:93
2681
+ msgctxt "shipments"
2682
+ msgid "Return to your order: {order_number}"
2683
+ msgstr "Rücksendung zu Ihrer Bestellung {order_number}"
2684
 
2685
  # @ woocommerce-germanized
2686
  #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:51
2717
  msgid "Shipment to your order: {order_number}"
2718
  msgstr "Sendung zu Ihrer Bestellung {order_number}"
2719
 
2720
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:307
2721
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:321
2722
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:330
2723
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:339
2724
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:348
2725
  #, php-format
2726
  msgctxt "shipments"
2727
  msgid "Available placeholders: %s"
2728
  msgstr "Verfügbare Platzhalter: %s"
2729
 
2730
  # @ woocommerce-germanized
2731
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:311
2732
  msgctxt "shipments"
2733
  msgid "Enable/Disable"
2734
  msgstr "Aktivieren/Deaktivieren"
2735
 
2736
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:313
2737
  msgctxt "shipments"
2738
  msgid "Enable this email notification"
2739
  msgstr "Aktiviere diese E-Mail-Benachrichtigung"
2740
 
2741
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:317
2742
  msgctxt "shipments"
2743
  msgid "Full shipment subject"
2744
  msgstr "Vollständige Sendung Betreff"
2745
 
2746
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:326
2747
  msgctxt "shipments"
2748
  msgid "Partial shipment subject"
2749
  msgstr "Teilsendung Betreff"
2750
 
2751
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:335
2752
  msgctxt "shipments"
2753
  msgid "Full shipment email heading"
2754
  msgstr "Vollständige Sendung Kopfzeile"
2755
 
2756
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:344
2757
  msgctxt "shipments"
2758
  msgid "Partial shipment email heading"
2759
  msgstr "Teilsendung Kopfzeile"
2760
 
2761
  # @ woocommerce-germanized
2762
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:353
2763
  msgctxt "shipments"
2764
  msgid "Additional content"
2765
  msgstr "Zusätzlicher Inhalt"
2766
 
2767
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:354
2768
  msgctxt "shipments"
2769
  msgid "Text to appear below the main email content."
2770
  msgstr "Text der unterhalb des Inhalts der E-Mail angezeigt werden soll."
2771
 
2772
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:356
2773
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:939
2774
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:967
2775
  #: woocommerce-germanized-shipments/templates/shipment/shipment-details-address.php:28
2776
  msgctxt "shipments"
2777
  msgid "N/A"
2778
  msgstr "n.a."
2779
 
2780
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:362
2781
  msgctxt "shipments"
2782
  msgid "Email type"
2783
  msgstr "E-Mail-Typ"
2784
 
2785
+ #: woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php:364
2786
  msgctxt "shipments"
2787
  msgid "Choose which format of email to send."
2788
  msgstr "Format für E-Mail-Versand auswählen."
2789
 
2790
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:68
2791
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:1002
 
2792
  msgctxt "shipments"
2793
  msgid "Shipment"
2794
  msgstr "Sendung"
2795
 
2796
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:75
2797
  msgctxt "shipments"
2798
  msgid "Return"
2799
  msgstr "Retoure"
2800
 
2801
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:102
 
 
 
 
 
 
 
2802
  msgctxt "shipments"
2803
  msgid "Not shipped"
2804
  msgstr "Nicht versandt"
2805
 
2806
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:103
2807
  msgctxt "shipments"
2808
  msgid "Partially shipped"
2809
  msgstr "Teilweise versandt"
2810
 
2811
  # @ woocommerce-germanized
2812
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:104
2813
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:308
2814
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:825
2815
  msgctxt "shipments"
2816
  msgid "Shipped"
2817
  msgstr "Versandt"
2818
 
2819
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:121
2820
+ msgctxt "shipments"
2821
+ msgid "Open"
2822
+ msgstr "Offen"
2823
+
2824
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:122
2825
+ msgctxt "shipments"
2826
+ msgid "Partially returned"
2827
+ msgstr "Teilweise retourniert"
2828
+
2829
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:123
2830
+ msgctxt "shipments"
2831
+ msgid "Returned"
2832
+ msgstr "Retourniert"
2833
+
2834
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:306
2835
  msgctxt "shipments"
2836
  msgid "Draft"
2837
  msgstr "Entwurf"
2838
 
2839
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:307
2840
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:817
2841
  msgctxt "shipments"
2842
  msgid "Processing"
2843
  msgstr "In Bearbeitung"
2844
 
2845
  # @ woocommerce-germanized
2846
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:309
2847
  #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:48
2848
  msgctxt "shipments"
2849
  msgid "Delivered"
2850
  msgstr "Geliefert"
2851
 
2852
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:310
2853
  msgctxt "shipments"
2854
+ msgid "Requested"
2855
+ msgstr "Beantragt"
2856
 
2857
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:359
2858
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipments-template-functions.php:81
2859
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipments-template-functions.php:135
2860
  msgctxt "shipments"
2861
+ msgid "Invalid order."
2862
+ msgstr "Ungültige Bestellung."
2863
 
2864
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:363
2865
  msgctxt "shipments"
2866
+ msgid "This order is already fully returned."
2867
+ msgstr "Diese Bestellung wurde bereits vollständig zurückgesendet."
2868
 
2869
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:374
2870
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:415
2871
  msgctxt "shipments"
2872
  msgid "Error while creating the shipment instance"
2873
  msgstr "Fehler beim Erstellen der Sendungsinstanz"
2874
 
2875
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:400
2876
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:404
2877
+ #: woocommerce-germanized-shipments/src/ReturnShipment.php:429
2878
+ #: woocommerce-germanized-shipments/src/ReturnShipment.php:489
2879
+ #: woocommerce-germanized-shipments/src/SimpleShipment.php:118
2880
+ #: woocommerce-germanized-shipments/src/SimpleShipment.php:202
2881
  msgctxt "shipments"
2882
  msgid "Invalid shipment order"
2883
  msgstr "Ungültige Bestellung zur Sendung"
2884
 
2885
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:434
2886
  msgctxt "shipments"
2887
  msgid "Invalid order item"
2888
  msgstr "Ungültige Bestellposition"
2889
 
2890
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:550
2891
  msgctxt "shipments"
2892
  msgid "Invalid shipment item"
2893
  msgstr "Ungültige Sendungsposition"
2894
 
2895
  # @ woocommerce-germanized
2896
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:623
2897
  msgctxt "shipments"
2898
  msgid "None"
2899
  msgstr "Keiner"
2900
 
2901
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:696
2902
  msgctxt "shipments"
2903
  msgid "Error while uploading file."
2904
  msgstr "Fehler beim Hochladen der Datei."
2905
 
2906
  # @ woocommerce-germanized
2907
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:1003
2908
  #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:23
2909
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:661
2910
  msgctxt "shipments"
2911
  msgid "Date"
2912
  msgstr "Datum"
2913
 
2914
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:1005
2915
  #: woocommerce-germanized-shipments/templates/shipment/shipment-details-tracking.php:23
2916
  msgctxt "shipments"
2917
  msgid "Tracking"
2918
  msgstr "Sendungsverfolgung"
2919
 
2920
+ # @ woocommerce-germanized
2921
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:1006
2922
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:60
2923
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:28
2924
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:666
2925
+ msgctxt "shipments"
2926
+ msgid "Actions"
2927
+ msgstr "Aktionen"
2928
+
2929
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:1242
2930
  msgctxt "shipments"
2931
  msgid "View"
2932
  msgstr "Anzeigen"
2933
 
2934
  # @ woocommerce-germanized
2935
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:1249
2936
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:836
2937
+ #: woocommerce-germanized-shipments/src/Ajax.php:332
2938
+ msgctxt "shipments"
2939
+ msgid "Download label"
2940
+ msgstr "Label downloaden"
2941
+
2942
+ # @ woocommerce-germanized
2943
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipments-template-functions.php:81
2944
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipments-template-functions.php:115
2945
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipments-template-functions.php:135
2946
  msgctxt "shipments"
2947
  msgid "My account"
2948
  msgstr "Mein Konto"
2949
 
2950
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipments-template-functions.php:115
2951
+ #: woocommerce-germanized-shipments/src/DataStores/Shipment.php:343
2952
+ msgctxt "shipments"
2953
+ msgid "Invalid shipment."
2954
+ msgstr "Ungültige Sendung."
2955
+
2956
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipments-template-functions.php:140
2957
+ msgctxt "shipments"
2958
+ msgid ""
2959
+ "Currently you cannot add new return requests to that order. If you have "
2960
+ "questions regarding the return of that order please contact us for further "
2961
+ "information."
2962
+ msgstr ""
2963
+ "Aktuell können keine Rücksendeanträge zu dieser Bestellung erstellt werden. "
2964
+ "Falls Sie Fragen zur Rücksendung dieser Bestellung haben, kontaktieren Sie "
2965
+ "uns bitte."
2966
+
2967
+ # @ woocommerce
2968
+ #: woocommerce-germanized-shipments/includes/wc-gzd-shipments-template-functions.php:140
2969
+ msgctxt "shipments"
2970
+ msgid "View order"
2971
+ msgstr "Bestellung ansehen"
2972
+
2973
+ # @ woocommerce-germanized
2974
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:68
2975
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:133
2976
+ #: woocommerce-germanized-shipments/templates/myaccount/add-return-shipment.php:36
2977
+ msgctxt "shipments"
2978
+ msgid "Reason"
2979
+ msgstr "Rücksendegrund"
2980
+
2981
+ # @ woocommerce-germanized
2982
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:125
2983
+ msgctxt "shipments"
2984
+ msgid "Return reasons"
2985
+ msgstr "Rücksendegründe"
2986
+
2987
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:132
2988
+ msgctxt "shipments"
2989
+ msgid "Reason code"
2990
+ msgstr "Rücksendegrund (Code)"
2991
+
2992
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:132
2993
+ msgctxt "shipments"
2994
+ msgid "The reason code is used to identify the reason."
2995
+ msgstr ""
2996
+ "Der Code für den Rücksendegrund wird verwendet um den Grund eindeutig "
2997
+ "identifizieren zu können."
2998
+
2999
+ # @ woocommerce-germanized
3000
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:133
3001
+ msgctxt "shipments"
3002
+ msgid "Choose a reason text."
3003
+ msgstr "Beschreibung für den Grund."
3004
+
3005
  # @ woocommerce-germanized
3006
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:152
3007
+ msgctxt "shipments"
3008
+ msgid "+ Add reason"
3009
+ msgstr "+ Grund hinzufügen"
3010
+
3011
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:152
3012
+ msgctxt "shipments"
3013
+ msgid "Remove selected reason(s)"
3014
+ msgstr "Ausgewählte Gründe löschen"
3015
+
3016
+ # @ woocommerce-germanized
3017
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:266
3018
  msgctxt "shipments"
3019
  msgid "Create shipments"
3020
  msgstr "Sendungen erstellen"
3021
 
3022
  # @ woocommerce-germanized
3023
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:381
3024
  msgctxt "shipments"
3025
  msgid "Search shipments"
3026
  msgstr "Sendungen suchen"
3027
 
3028
  # @ woocommerce-germanized
3029
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:415
3030
  msgctxt "shipments"
3031
  msgid "Search returns"
3032
  msgstr "Retouren suchen"
3033
 
3034
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:488
3035
  msgctxt "shipments"
3036
  msgid "Do you really want to delete the shipment?"
3037
  msgstr "Möchten Sie die Sendung wirklich löschen?"
3038
 
3039
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:493
3040
  msgctxt "shipments"
3041
  msgid "Do you really want to delete the label?"
3042
  msgstr "Möchten Sie das Label wirklich löschen?"
3043
 
3044
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:495
3045
  msgctxt "shipments"
3046
  msgid "Please save the shipment before creating a new label"
3047
  msgstr "Bitte speichern Sie die Sendung bevor Sie ein neues Label erstellen"
3048
 
3049
+ #: woocommerce-germanized-shipments/src/Admin/Admin.php:545
3050
  msgctxt "shipments"
3051
  msgid ""
3052
  "Do you really want to delete the shipping provider? Some of your existing "
3107
  msgstr "Sendung #%d"
3108
 
3109
  #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:25
3110
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:663
3111
  msgctxt "shipments"
3112
  msgid "Items"
3113
  msgstr "Positionen"
3117
  msgid "Sender"
3118
  msgstr "Absender"
3119
 
3120
+ # @ woocommerce-germanized
3121
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:27
3122
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:665
3123
+ msgctxt "shipments"
3124
+ msgid "Order"
3125
+ msgstr "Bestellung"
3126
+
3127
+ # @ woocommerce-germanized
3128
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:56
3129
+ msgctxt "shipments"
3130
+ msgid "Send notification to customer"
3131
+ msgstr "Benachrichtigung an den Kunden senden"
3132
+
3133
+ # @ woocommerce-germanized
3134
+ #: woocommerce-germanized-shipments/src/Admin/ReturnTable.php:77
3135
  msgctxt "shipments"
3136
+ msgid "Confirm open return requests"
3137
+ msgstr "Offene Rücksendeanträge bestätigen"
3138
 
3139
  # @ woocommerce-germanized
3140
  #: woocommerce-germanized-shipments/src/Admin/Settings.php:38
3168
 
3169
  # @ woocommerce-germanized
3170
  #: woocommerce-germanized-shipments/src/Admin/Settings.php:66
3171
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:120
3172
  msgctxt "shipments"
3173
  msgid "Automation"
3174
  msgstr "Automatisierung"
3184
  "bestimmten Status erreichen. Sie können die Sendungen anschließend einfach "
3185
  "manuell anpassen, indem Sie die dazugehörige Bestellung bearbeiten."
3186
 
3187
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:81
3188
+ #, php-format
3189
+ msgctxt "shipments"
3190
+ msgid ""
3191
+ "Germanized can help you to minimize manual work while handling customer "
3192
+ "returns. Learn more about returns within our %s."
3193
+ msgstr ""
3194
+ "Germanized kann dabei helfen den Aufwand bei der Abwicklung von Retouren zu "
3195
+ "minimieren. Lernen Sie mehr über die Verwaltung von Retouren in unserer %s."
3196
+
3197
+ # @ woocommerce-germanized
3198
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:81
3199
+ msgctxt "shipments"
3200
+ msgid "documentation"
3201
+ msgstr "Dokumentation"
3202
+
3203
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:101
3204
  msgctxt "shipments"
3205
  msgid "Notify"
3206
  msgstr "Benachrichtigung"
3207
 
3208
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:102
3209
  msgctxt "shipments"
3210
  msgid "Notify customers about new shipments."
3211
  msgstr "Benachrichtige Kunden über neue Sendungen."
3212
 
3213
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:102
3214
  #, php-format
3215
  msgctxt "shipments"
3216
  msgid ""
3220
  "Benachrichtige Kunden via E-Mail sobald eine Sendung als verschickt markiert "
3221
  "wurde. %s die E-Mail-Benachrichtigung."
3222
 
3223
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:102
3224
  msgctxt "shipments notification"
3225
  msgid "Manage"
3226
  msgstr "Verwalten Sie"
3227
 
3228
  # @ woocommerce-germanized
3229
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:109
3230
  msgctxt "shipments"
3231
  msgid "Default provider"
3232
  msgstr "Standard-Dienstleister"
3233
 
3234
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:110
3235
  msgctxt "shipments"
3236
  msgid ""
3237
  "Select a default shipping provider which will be selected by default in case "
3240
  "Wählen Sie einen Standard-Versanddienstleister aus der verwendet wird, falls "
3241
  "kein Dienstleister automatisch bestimmt werden konnte."
3242
 
3243
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:123
3244
  msgctxt "shipments"
3245
  msgid "Enable"
3246
  msgstr "Aktivieren"
3247
 
3248
  # @ woocommerce-germanized
3249
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:124
3250
  msgctxt "shipments"
3251
  msgid "Automatically create shipments for orders."
3252
  msgstr "Automatisch Sendungen zu Bestellungen erstellen."
3253
 
3254
  # @ woocommerce-germanized
3255
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:131
3256
  msgctxt "shipments"
3257
  msgid "Order statuses"
3258
  msgstr "Bestellstatus"
3259
 
3260
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:132
3261
  msgctxt "shipments"
3262
  msgid ""
3263
  "Create shipments as soon as the order reaches one of the following "
3267
  "erreicht."
3268
 
3269
  # @ woocommerce-germanized
3270
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:140
3271
  msgctxt "shipments"
3272
  msgid "On new order creation"
3273
  msgstr "Beim Erstellen einer Bestellung"
3274
 
3275
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:145
3276
  msgctxt "shipments"
3277
  msgid "Default status"
3278
  msgstr "Standardstatus"
3279
 
3280
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:146
3281
  msgctxt "shipments"
3282
  msgid "Choose a default status for the automatically created shipment."
3283
  msgstr ""
3285
  "standardmäßig erhält."
3286
 
3287
  # @ woocommerce-germanized
3288
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:158
3289
  msgctxt "shipments"
3290
  msgid "Update status"
3291
  msgstr "Status"
3292
 
3293
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:159
3294
  msgctxt "shipments"
3295
  msgid "Mark order as completed after order is fully shipped."
3296
  msgstr ""
3297
  "Bestellung als fertiggestellt markieren sobald sie komplett versandt wurde."
3298
 
3299
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:159
3300
  msgctxt "shipments"
3301
  msgid ""
3302
  "This option will automatically update the order status to completed as soon "
3306
  "fertiggestellt gesetzt wird, sobald alle notwendigen Sendungen einer "
3307
  "Bestellung versandt wurden."
3308
 
3309
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:166
3310
  msgctxt "shipments"
3311
  msgid "Mark as shipped"
3312
  msgstr "Als versandt markieren"
3313
 
3314
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:167
3315
  msgctxt "shipments"
3316
  msgid "Mark shipments as shipped after order completion."
3317
  msgstr ""
3318
  "Sendung als versandt markieren, sobald die Bestellung fertiggestellt wurde."
3319
 
3320
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:167
3321
  msgctxt "shipments"
3322
  msgid ""
3323
  "This option will automatically update contained shipments to shipped (if "
3327
  "Diese Option sorgt dafür, dass der Sendungsstatus automatisch auf versandt "
3328
  "gesetzt wird, sobald die Bestellung als fertiggestellt markiert wurde."
3329
 
3330
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:175
3331
+ #, php-format
3332
+ msgctxt "shipments"
3333
+ msgid ""
3334
+ "Returns can be added manually by the shop manager or by the customer. Decide "
3335
+ "what suits you best by turning customer-added returns on or off in your %s."
3336
+ msgstr ""
3337
+ "Rücksendungen können manuell vom Shop Manager und/oder vom Kunden angelegt "
3338
+ "werden. Entscheiden Sie selbst ob Sie Kunden Rücksendungen anfordern lassen "
3339
+ "möchten indem Sie Ihre %s anpassen."
3340
+
3341
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:175
3342
+ msgctxt "shipments"
3343
+ msgid "shipping provider settings"
3344
+ msgstr "Versanddienstleister Einstellungen"
3345
+
3346
  # @ woocommerce-germanized
3347
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:182
3348
  msgctxt "shipments"
3349
+ msgid "Days to return"
3350
+ msgstr "Zeitraum für Retouren"
3351
 
3352
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:183
3353
+ #, php-format
3354
  msgctxt "shipments"
3355
+ msgid ""
3356
+ "In case one of your %s supports returns added by customers you might want to "
3357
+ "limit the number of days a customer is allowed to add returns to an order. "
3358
+ "The days are counted starting with the date the order was shipped, completed "
3359
+ "or created (by checking for existance in this order)."
3360
+ msgstr ""
3361
+ "Falls einer Ihrer %s durch Kunden hinzugefügte Rücksendungen unterstützt "
3362
+ "können Sie hier die Anzahl der Tage beschränken, für die Rücksendungen "
3363
+ "beantragt werden dürfen. Die Tage werden startend mit dem Tag an dem die "
3364
+ "Bestellung als versandt oder fertiggestellt markiert bzw. Erstellt wurde (je "
3365
+ "nachdem welche Daten verfügbar sind für die jeweilige Bestellung) gezählt."
3366
 
3367
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:183
3368
  msgctxt "shipments"
3369
+ msgid "shipping providers"
3370
+ msgstr "Versanddienstleister"
3371
 
3372
  # @ woocommerce-germanized
3373
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:192
3374
  msgctxt "shipments"
3375
  msgid "Return Address"
3376
  msgstr "Retouren Adresse"
3377
 
3378
  # @ woocommerce-germanized
3379
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:195
3380
  msgctxt "shipments"
3381
  msgid "First Name"
3382
  msgstr "Vorname"
3383
 
3384
  # @ woocommerce-germanized
3385
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:202
3386
  msgctxt "shipments"
3387
  msgid "Last Name"
3388
  msgstr "Nachname"
3389
 
3390
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:209
3391
  msgctxt "shipments"
3392
  msgid "Company"
3393
  msgstr "Firma"
3394
 
3395
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:216
3396
  msgctxt "shipments"
3397
  msgid "Address 1"
3398
  msgstr "Adresszeile 1"
3399
 
3400
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:223
3401
  msgctxt "shipments"
3402
  msgid "Address 2"
3403
  msgstr "Adresszeile 2"
3404
 
3405
  # @ woocommerce-germanized
3406
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:230
3407
  msgctxt "shipments"
3408
  msgid "City"
3409
  msgstr "Stadt"
3410
 
3411
  # @ woocommerce-germanized
3412
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:237
3413
  msgctxt "shipments"
3414
  msgid "Country / State"
3415
  msgstr "Land / Bundesland"
3416
 
3417
  # @ woocommerce-germanized
3418
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:245
3419
  msgctxt "shipments"
3420
  msgid "Postcode"
3421
  msgstr "Postleitzahl"
3422
 
3423
+ # @ woocommerce-germanized
3424
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:253
3425
+ msgctxt "shipments"
3426
+ msgid "Customer Account"
3427
+ msgstr "Kundenkonto"
3428
+
3429
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:256
3430
+ msgctxt "shipments"
3431
+ msgid "List"
3432
+ msgstr "Liste"
3433
+
3434
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:257
3435
+ msgctxt "shipments"
3436
+ msgid "List shipments on customer account order screen."
3437
+ msgstr "Liste Sendungen im Kundenkonto in den Bestelldetails auf."
3438
+
3439
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:351
3440
  msgctxt "shipments"
3441
  msgid "New provider"
3442
  msgstr "Neuer Dienstleister"
3443
 
3444
  # @ woocommerce-germanized
3445
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:361
3446
  msgctxt "shipments"
3447
  msgid "Additional settings"
3448
  msgstr "Weiterführende Einstellungen"
3449
 
3450
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:387
3451
  msgctxt "shipments"
3452
  msgid "Add provider"
3453
  msgstr "Dienstleister hinzufügen"
3454
 
3455
  # @ woocommerce-germanized
3456
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:395
3457
  msgctxt "shipments"
3458
  msgid "General"
3459
  msgstr "Allgemein"
3460
 
3461
+ #: woocommerce-germanized-shipments/src/Admin/Settings.php:396
3462
  #: woocommerce-germanized-shipments/src/ShippingProviderMethod.php:56
3463
  msgctxt "shipments"
3464
  msgid "Shipping Provider"
3465
  msgstr "Versanddienstleister"
3466
 
3467
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:176
3468
  #, php-format
3469
  msgctxt "shipments"
3470
  msgid "%d shipment deleted."
3472
  msgstr[0] "%d Sendung gelöscht."
3473
  msgstr[1] "%d Sendungen gelöscht."
3474
 
3475
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:186
3476
  #, php-format
3477
  msgctxt "shipments"
3478
  msgid "%d shipment status changed."
3480
  msgstr[0] "%d Sendungsstatus geändert."
3481
  msgstr[1] "%d Sendungsstatus geändert."
3482
 
3483
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:345
3484
  msgctxt "shipments"
3485
  msgid "No shipments found"
3486
  msgstr "Keine Sendungen gefunden"
3487
 
3488
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:385
3489
  #, php-format
3490
  msgctxt "shipments"
3491
  msgid "All <span class=\"count\">(%s)</span>"
3493
  msgstr[0] "Alle <span class=\"count\">(%s)</span>"
3494
  msgstr[1] "Alle <span class=\"count\">(%s)</span>"
3495
 
3496
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:410
3497
  #, php-format
3498
  msgctxt "shipments"
3499
  msgid " <span class=\"count\">(%s)</span>"
3501
  msgstr[0] " <span class=\"count\">(%s)</span>"
3502
  msgstr[1] " <span class=\"count\">(%s)</span>"
3503
 
3504
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:500
3505
  msgctxt "shipments"
3506
  msgid "Filter by date"
3507
  msgstr "Nach Datum filtern"
3508
 
3509
  # @ woocommerce-germanized
3510
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:502
3511
  msgctxt "shipments"
3512
  msgid "All dates"
3513
  msgstr "Alle Daten"
3514
 
3515
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:517
3516
  #, php-format
3517
  msgid "%1$s %2$d"
3518
  msgstr "%1$s %2$d"
3519
 
3520
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:538
3521
  msgctxt "shipments"
3522
  msgid "Processing bulk actions..."
3523
  msgstr "Bearbeite Mehrfachaktionen.."
3524
 
3525
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:622
3526
  msgctxt "shipments"
3527
  msgid "Filter"
3528
  msgstr "Filtern"
3529
 
3530
  # @ woocommerce-germanized
3531
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:638
3532
+ #: woocommerce-germanized-shipments/src/Ajax.php:811
3533
  #, php-format
3534
  msgctxt "shipments"
3535
  msgid "Order #%s"
3536
  msgstr "Bestellung #%s"
3537
 
3538
  # @ woocommerce
3539
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:643
3540
  msgctxt "shipments"
3541
  msgid "Filter by order"
3542
  msgstr "Nach Bestellung filtern"
3543
 
3544
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:664
3545
  msgctxt "shipments"
3546
  msgid "Address"
3547
  msgstr "Adresse"
3548
 
3549
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:756
3550
+ #: woocommerce-germanized-shipments/templates/myaccount/shipments.php:68
 
 
 
 
 
 
3551
  #, php-format
3552
  msgctxt "shipment title"
3553
  msgid "%s #%s"
3554
  msgstr "%s #%s"
3555
 
3556
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:769
3557
  #, php-format
3558
  msgctxt "shipments"
3559
  msgid "via %s"
3560
  msgstr "via %s"
3561
 
3562
  # @ woocommerce-germanized
3563
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:845
 
 
 
 
 
 
 
3564
  msgctxt "shipments"
3565
  msgid "Generate label"
3566
  msgstr "Label erstellen"
3567
 
3568
  # @ woocommerce-germanized
3569
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:895
3570
  #, php-format
3571
  msgctxt "shipments"
3572
  msgid "Select %s"
3573
  msgstr "Wähle %s"
3574
 
3575
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:922
3576
  msgctxt "shipments"
3577
  msgid "SKU:"
3578
  msgstr "Art.-Nr.:"
3579
 
3580
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1016
3581
  #, php-format
3582
  msgctxt "%s = human-readable time difference"
3583
  msgid "%s ago"
3584
  msgstr "vor %s"
3585
 
3586
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1028
3587
  msgctxt "shipments"
3588
  msgid "M j, Y"
3589
  msgstr "d.m.Y"
3590
 
3591
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1085
3592
  msgctxt "shipments"
3593
  msgid "Delete Permanently"
3594
  msgstr "Unwiderruflich löschen"
3595
 
3596
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1088
3597
  msgctxt "shipments"
3598
  msgid "Change status to processing"
3599
  msgstr "Status zu in Bearbeitung ändern"
3600
 
3601
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1089
3602
  msgctxt "shipments"
3603
  msgid "Change status to shipped"
3604
  msgstr "Status zu versandt ändern"
3605
 
3606
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1090
3607
  msgctxt "shipments"
3608
  msgid "Change status to delivered"
3609
  msgstr "Status zu geliefert ändern"
3610
 
3611
  # @ woocommerce-germanized
3612
+ #: woocommerce-germanized-shipments/src/Admin/Table.php:1091
3613
  msgctxt "shipments"
3614
  msgid "Generate and download labels"
3615
  msgstr "Labels erstellen und downloaden"
3616
 
3617
+ #: woocommerce-germanized-shipments/src/Ajax.php:90
3618
  msgctxt "shipments"
3619
+ msgid "Notification successfully sent to customer."
3620
+ msgstr "Kunde erfolgreich benachrichtigt."
3621
 
3622
+ #: woocommerce-germanized-shipments/src/Ajax.php:97
3623
  msgctxt "shipments"
3624
+ msgid "There was an error while sending the notification."
3625
+ msgstr "Beim Versendes der Benachrichtigung ist ein Fehler aufgetreten."
3626
 
3627
+ #: woocommerce-germanized-shipments/src/Ajax.php:137
3628
+ msgctxt "shipments"
3629
+ msgid "Return request confirmed successfully."
3630
+ msgstr "Rücksendeantrag erfolgreich bestätigt."
3631
+
3632
+ #: woocommerce-germanized-shipments/src/Ajax.php:149
3633
+ msgctxt "shipments"
3634
+ msgid "There was an error while confirming the request."
3635
+ msgstr "Bei der Bestätigung des Antrags ist ein Fehler aufgetreten."
3636
+
3637
+ #: woocommerce-germanized-shipments/src/Ajax.php:169
3638
  msgctxt "shipments"
3639
  msgid "There was an error creating the label."
3640
  msgstr "Beim Erstellen des Labels ist ein Fehler aufgetreten."
3641
 
3642
+ #: woocommerce-germanized-shipments/src/Ajax.php:205
3643
  msgctxt "shipments"
3644
  msgid "There was an error deleting the label."
3645
  msgstr "Beim Löschen des Labels ist ein Fehler aufgetreten."
3646
 
3647
+ #: woocommerce-germanized-shipments/src/Ajax.php:246
3648
  msgctxt "shipments"
3649
  msgid "There was an error processing the label."
3650
  msgstr "Bei der Verarbeitung des Labels ist ein Fehler aufgetreten."
3651
 
3652
+ #: woocommerce-germanized-shipments/src/Ajax.php:344
3653
  msgctxt "shipments"
3654
  msgid "There was an error while trying to save the shipping provider status."
3655
  msgstr ""
3656
  "Beim Speichern des Status des Versanddienstleisters trat ein Fehler auf."
3657
 
3658
+ #: woocommerce-germanized-shipments/src/Ajax.php:382
3659
  msgctxt "shipments"
3660
  msgid "There was an error while trying to delete the shipping provider."
3661
  msgstr "Beim Löschen des Versanddienstleisters trat ein Fehler auf."
3662
 
3663
+ #: woocommerce-germanized-shipments/src/Ajax.php:415
3664
  msgctxt "shipments"
3665
  msgid "There was an error while bulk processing shipments."
3666
  msgstr ""
3667
  "Bei der Verarbeitung der Mehrfachaktionen von Sendungen trat ein Fehler auf."
3668
 
3669
+ #: woocommerce-germanized-shipments/src/Ajax.php:527
3670
+ #: woocommerce-germanized-shipments/src/Ajax.php:628
3671
+ #: woocommerce-germanized-shipments/src/Ajax.php:685
3672
+ #: woocommerce-germanized-shipments/src/Ajax.php:722
3673
+ #: woocommerce-germanized-shipments/src/Ajax.php:849
3674
+ #: woocommerce-germanized-shipments/src/Ajax.php:916
 
3675
  #: woocommerce-germanized-shipments/src/Ajax.php:949
3676
+ #: woocommerce-germanized-shipments/src/Ajax.php:998
3677
+ #: woocommerce-germanized-shipments/src/Ajax.php:1066
3678
+ #: woocommerce-germanized-shipments/src/Ajax.php:1107
3679
+ #: woocommerce-germanized-shipments/src/Ajax.php:1162
3680
+ #: woocommerce-germanized-shipments/src/Ajax.php:1206
3681
  msgctxt "shipments"
3682
  msgid "There was an error processing the shipment"
3683
  msgstr "Fehler bei der Verarbeitung der Sendung"
3684
 
3685
+ #: woocommerce-germanized-shipments/src/Ajax.php:569
3686
  msgctxt "shipments"
3687
  msgid "There was an error while adding the shipment"
3688
  msgstr "Beim Hinzufügen der Sendung ist ein Fehler aufgetreten"
3689
 
3690
+ #: woocommerce-germanized-shipments/src/Ajax.php:590
3691
  msgctxt "shipments"
3692
  msgid "This order contains enough shipments already."
3693
  msgstr "Diese Bestellung beinhaltet bereits genug Sendungen."
3694
 
3695
+ #: woocommerce-germanized-shipments/src/Ajax.php:647
3696
+ msgctxt "shipments"
3697
+ msgid "This order contains enough returns already."
3698
+ msgstr "Diese Bestellung beinhaltet bereits genügend Retouren."
3699
+
3700
  #: woocommerce-germanized-shipments/src/Api.php:104
3701
  msgctxt "shipments"
3702
  msgid "List of shipments."
3884
  msgid "Order is fully shipped."
3885
  msgstr "Bestellung ist vollständig versandt."
3886
 
3887
+ #: woocommerce-germanized-shipments/src/DataStores/ShipmentItem.php:193
3888
  msgctxt "shipments"
3889
  msgid "Invalid shipment item."
3890
  msgstr "Ungültige Sendungsposition."
3891
 
3892
+ #: woocommerce-germanized-shipments/src/DataStores/ShippingProvider.php:256
3893
  msgctxt "shipments"
3894
  msgid "Invalid shipping provider."
3895
  msgstr "Versanddienstleister nicht bekannt."
3896
 
3897
+ #: woocommerce-germanized-shipments/src/FormHandler.php:35
3898
+ msgctxt "shipments"
3899
+ msgid ""
3900
+ "Your return request was submitted successfully. We will now review your "
3901
+ "request and get in contact with you as soon as possible."
3902
+ msgstr ""
3903
+ "Ihr Rücksendeantrag wurde erfolgreich abgeschickt. Wir prüfen Ihren Antrag "
3904
+ "nun und setzen uns mit Ihnen in Kontakt."
3905
+
3906
+ #: woocommerce-germanized-shipments/src/FormHandler.php:37
3907
+ msgctxt "shipments"
3908
+ msgid ""
3909
+ "Your return request was submitted successfully. You'll receive an email with "
3910
+ "further instructions in a few minutes."
3911
+ msgstr ""
3912
+ "Ihr Rücksendeantrag wurde erfolgreich abgeschickt. Sie erhalten in Kürze "
3913
+ "eine E-Mail, die Sie über die nächsten Schritte informiert."
3914
+
3915
+ #: woocommerce-germanized-shipments/src/FormHandler.php:103
3916
+ #: woocommerce-germanized-shipments/src/FormHandler.php:107
3917
+ msgctxt "shipments"
3918
+ msgid "Error:"
3919
+ msgstr "Fehler:"
3920
+
3921
+ #: woocommerce-germanized-shipments/src/FormHandler.php:103
3922
+ msgctxt "shipments"
3923
+ msgid "We were not able to find a matching order."
3924
+ msgstr "Wir konnten leider keine passende Bestellung finden."
3925
+
3926
+ #: woocommerce-germanized-shipments/src/FormHandler.php:107
3927
+ msgctxt "shipments"
3928
+ msgid ""
3929
+ "This order is currently not eligible for returns. Please contact us for "
3930
+ "further details."
3931
+ msgstr ""
3932
+ "Diese Bestellung ist aktuell nicht für Rücksendungen verfügbar. Bitte "
3933
+ "kontaktieren Sie uns für weitere Details."
3934
+
3935
+ #: woocommerce-germanized-shipments/src/FormHandler.php:116
3936
+ msgctxt "shipments"
3937
+ msgid ""
3938
+ "Thank you. You'll receive an email containing a link to create a new return "
3939
+ "to your order."
3940
+ msgstr ""
3941
+ "Vielen Dank. Sie erhalten eine E-Mail mit einem Link über den Sie Ihren "
3942
+ "Rücksendeantrag stellen können."
3943
+
3944
+ #: woocommerce-germanized-shipments/src/FormHandler.php:171
3945
+ msgctxt "shipments"
3946
+ msgid "You are not allowed to add returns to that order."
3947
+ msgstr ""
3948
+ "Sie sind nicht dazu berechtigt Rücksendungen zu dieser Bestellung "
3949
+ "hinzuzufügen."
3950
+
3951
+ # @ woocommerce-germanized
3952
+ #: woocommerce-germanized-shipments/src/FormHandler.php:176
3953
+ msgctxt "shipments"
3954
+ msgid "Sorry, but this order does not support returns any longer."
3955
+ msgstr ""
3956
+ "Entschuldigen Sie, diese Sendung kann nicht mehr zurückgesendet werden."
3957
+
3958
+ #: woocommerce-germanized-shipments/src/FormHandler.php:181
3959
+ msgctxt "shipments"
3960
+ msgid "Please choose one or more items from the list."
3961
+ msgstr "Bitte wählen Sie ein oder mehrere Produkt(e) aus."
3962
+
3963
+ #: woocommerce-germanized-shipments/src/FormHandler.php:197
3964
+ msgctxt "shipments"
3965
+ msgid "The return reason you have chosen does not exist."
3966
+ msgstr "Der Rücksendegrund existiert nicht."
3967
+
3968
+ #: woocommerce-germanized-shipments/src/FormHandler.php:200
3969
+ msgctxt "shipments"
3970
+ msgid "Please choose a return reason from the list."
3971
+ msgstr "Bitte wählen Sie aus der Liste einen Grund für die Rücksendung aus."
3972
+
3973
+ #: woocommerce-germanized-shipments/src/FormHandler.php:205
3974
+ msgctxt "shipments"
3975
+ msgid ""
3976
+ "Please check your item quantities. Quantities must not exceed maximum "
3977
+ "quantities."
3978
+ msgstr ""
3979
+ "Bitte überprüfen Sie Ihre Angaben zur Anzahl. Die angegebene Anzahl ist zu "
3980
+ "hoch."
3981
+
3982
+ #: woocommerce-germanized-shipments/src/FormHandler.php:247
3983
+ msgctxt "shipments"
3984
+ msgid ""
3985
+ "There was an error while creating the return. Please contact us for further "
3986
+ "information."
3987
+ msgstr ""
3988
+ "Es gab ein Problem beim Erstellen der Rücksendung. Bitte kontaktieren Sie "
3989
+ "uns für weitere Informationen."
3990
+
3991
+ #: woocommerce-germanized-shipments/src/Install.php:28
3992
+ msgctxt "shipments"
3993
+ msgid "Wrong product or size ordered"
3994
+ msgstr "Falsches Produkt oder Größe bestellt"
3995
+
3996
+ #: woocommerce-germanized-shipments/src/Install.php:33
3997
+ msgctxt "shipments"
3998
+ msgid "Product no longer needed"
3999
+ msgstr "Produkt wird nicht länger benötigt"
4000
+
4001
+ #: woocommerce-germanized-shipments/src/Install.php:38
4002
+ msgctxt "shipments"
4003
+ msgid "Don't like the look"
4004
+ msgstr "Optik nicht wie erwartet"
4005
+
4006
+ # @ woocommerce-germanized
4007
+ #: woocommerce-germanized-shipments/src/Package.php:78
4008
+ msgctxt "shipments"
4009
+ msgid "Sorry, this order is invalid and cannot be returned."
4010
+ msgstr "Sorry, diese Bestellung existiert nicht."
4011
+
4012
+ #: woocommerce-germanized-shipments/src/ReturnShipment.php:365
4013
+ #: woocommerce-germanized-shipments/src/Shipment.php:843
4014
  #, php-format
4015
  msgctxt "full name"
4016
  msgid "%1$s %2$s"
4017
  msgstr "%1$s %2$s"
4018
 
4019
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:266
 
4020
  msgctxt "shipments"
4021
+ msgid ""
4022
+ "Your shipment is being processed by {shipping_provider}. If you want to "
4023
+ "track the shipment, please use the following tracking number: {tracking_id}. "
4024
+ "Depending on the chosen shipping method it is possible that the tracking "
4025
+ "data does not reflect the current status when receiving this email."
4026
+ msgstr ""
4027
+ "Ihre Sendung wurde mit {shipping_provider} versandt. Wenn Sie diese Sendung "
4028
+ "verfolgen möchten, benutzen Sie bitte diese Paketverfolgungsnummer: "
4029
+ "{tracking_id}. Abhängig von der gewählten Versandoption kann es sein, dass "
4030
+ "die Paketverfolgungsdaten zum Zeitpunkt des Erhalts dieser E-Mail noch nicht "
4031
+ "den neuesten Stand wiedergeben."
4032
 
4033
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:524
4034
  #, php-format
4035
  msgctxt "shipments"
4036
  msgid "%s supports many more options. Explore %s."
4037
  msgstr "%s unterstützt viele weitere Einstellungen. Schauen Sie sich %s an."
4038
 
4039
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:524
4040
  #, php-format
4041
  msgctxt "shipments"
4042
  msgid "%s specific settings"
4043
  msgstr "%s spezifische Einstellungen"
4044
 
4045
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:535
4046
  msgctxt "shipments"
4047
  msgid "Choose a title for the shipping provider."
4048
  msgstr "Wählen Sie einen Titel für den Versanddienstleister."
4049
 
4050
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:544
4051
  msgctxt "shipments"
4052
  msgid "Choose a description for the shipping provider."
4053
  msgstr "Wählen Sie eine Beschreibung für den Versanddienstleister."
4054
 
4055
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:556
4056
  msgctxt "shipments"
4057
  msgid "Tracking URL"
4058
  msgstr "Sendungsverfolgung URL"
4059
 
4060
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:557
4061
  #, php-format
4062
  msgctxt "shipments"
4063
  msgid ""
4071
  "einzufügen: %s"
4072
 
4073
  # @ woocommerce-germanized
4074
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:567
4075
  msgctxt "shipments"
4076
  msgid "Tracking description"
4077
  msgstr "Sendungsverfolgung Hinweis"
4078
 
4079
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:568
4080
  #, php-format
4081
  msgctxt "shipments"
4082
  msgid ""
4090
  "folgenden Platzhalter verwenden um die Paketverfolgungsnummer oder andere "
4091
  "dynamische Daten einzufügen: %s"
4092
 
4093
+ # @ woocommerce-germanized
4094
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:578
4095
+ msgctxt "shipments"
4096
+ msgid "Customer returns"
4097
+ msgstr "Rücksendungen"
4098
+
4099
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:579
4100
+ msgctxt "shipments"
4101
+ msgid "Allow customers to submit return requests to shipments."
4102
+ msgstr "Erlauben Sie Kunden eine Rücksendung zu einer Sendung zu beantragen."
4103
+
4104
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:579
4105
+ #, php-format
4106
  msgctxt "shipments"
4107
  msgid ""
4108
+ "This option will allow your customers to submit return requests to orders. "
4109
+ "Return requests will be visible within your %s. To learn more about return "
4110
+ "requests by customers and/or guests, please check the %s."
 
4111
  msgstr ""
4112
+ "Die Aktivierung dieser Option ermöglicht es Ihren Kunden Rücksendeanträge zu "
4113
+ "Bestellungen über den Kundenbereich zu stellen. Rücksendeanträge werden in "
4114
+ "Ihrem %s aufgelistet. Um mehr über Rücksendeanträge von Kunden und/oder "
4115
+ "Gästen zu erfahren, lesen Sie bitte die %s."
4116
+
4117
+ # @ woocommerce-germanized
4118
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:579
4119
+ msgctxt "shipments"
4120
+ msgid "Return Dashboard"
4121
+ msgstr "Retouren-Dashboard"
4122
+
4123
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:579
4124
+ msgctxt "shipments"
4125
+ msgid "docs"
4126
+ msgstr "Dokumentation"
4127
+
4128
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:588
4129
+ msgctxt "shipments"
4130
+ msgid "Guest returns"
4131
+ msgstr "Retouren für Gäste"
4132
+
4133
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:589
4134
+ msgctxt "shipments"
4135
+ msgid "Allow guests to submit return requests to shipments."
4136
+ msgstr "Erlauben Sie Gästen Rücksendeanträge zu Bestellungen zu beantragen."
4137
+
4138
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:589
4139
+ #, php-format
4140
+ msgctxt "shipments"
4141
+ msgid ""
4142
+ "Guests will need to provide their email address and the order id to receive "
4143
+ "a one-time link to submit a return request. The placeholder %s might be used "
4144
+ "to place the request form on your site."
4145
+ msgstr ""
4146
+ "Gäste müssen die bei der Bestellung angegebene E-Mail-Adresse und die "
4147
+ "Bestellnummer angeben und erhalten einen einmaligen Link zum Stellen des "
4148
+ "Rücksendeantrags per E-Mail. Der Shortcode %s kann verwendet werden um das "
4149
+ "Rücksende-Formular für Gäste auf Ihrer Seite zu platzieren."
4150
+
4151
+ # @ woocommerce-germanized
4152
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:600
4153
+ msgctxt "shipments"
4154
+ msgid "Manual confirmation"
4155
+ msgstr "Manuelle Bestätigung"
4156
+
4157
+ # @ woocommerce-germanized
4158
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:601
4159
+ msgctxt "shipments"
4160
+ msgid "Return requests need manual confirmation."
4161
+ msgstr "Rücksendeanträge benötigen eine manuelle Bestätigung."
4162
+
4163
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:601
4164
+ msgctxt "shipments"
4165
+ msgid ""
4166
+ "By default return request need manual confirmation e.g. a shop manager needs "
4167
+ "to review return requests which by default are added with the status "
4168
+ "\"requested\" after a customer submitted a return request. If you choose to "
4169
+ "disable this option, customer return requests will be added as \"processing"
4170
+ "\" and an email confirmation including instructions will be sent immediately "
4171
+ "to the customer."
4172
+ msgstr ""
4173
+ "Standardmäßig benötigen Rücksendeanträge eine manuelle Bestätigung durch den "
4174
+ "Shopbetreiber, d.h. Rücksendeanträge werden mit dem Status \"angefragt\" "
4175
+ "erstellt. Falls Sie diese Option deaktivieren, werden Rücksendungen mit dem "
4176
+ "Status \"in Bearbeitung\" angelegt und Kunden erhalten ggfs. Direkt eine E-"
4177
+ "Mail-Bestätigung samt Retouren-Label."
4178
+
4179
+ # @ woocommerce-germanized
4180
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:613
4181
+ msgctxt "shipments"
4182
+ msgid "Return instructions"
4183
+ msgstr "Rücksende-Anweisungen"
4184
+
4185
+ #: woocommerce-germanized-shipments/src/ShippingProvider.php:614
4186
+ msgctxt "shipments"
4187
+ msgid ""
4188
+ "Provide your customer with instructions on how to return the shipment after "
4189
+ "a return request has been confirmed e.g. explain how to prepare the return "
4190
+ "for shipment. In case a label cannot be generated automatically, make sure "
4191
+ "to provide your customer with information on how to obain a return label."
4192
+ msgstr ""
4193
+ "Informieren Sie Ihre Kunden darüber, wie eine Sendung für die Rücksendung "
4194
+ "vorbereitet werden muss. Falls ein Label nicht automatisch erzeugt werden "
4195
+ "kann, sollten Sie Ihre Kunden darüber informieren, woher ein Label für die "
4196
+ "Rücksendung bezogen werden kann."
4197
 
4198
  #: woocommerce-germanized-shipments/src/ShippingProviderMethod.php:50
4199
  msgctxt "shipments"
4216
  "infrage kommende Sendung hinterlegt wird."
4217
 
4218
  # @ woocommerce-germanized
4219
+ #: woocommerce-germanized-shipments/src/WPMLHelper.php:73
4220
  #, php-format
4221
  msgctxt "shipments"
4222
  msgid "%s tracking description"
4223
  msgstr "%s Sendungsverfolgung"
4224
 
4225
+ #: woocommerce-germanized-shipments/src/WPMLHelper.php:74
4226
  #, php-format
4227
  msgctxt "shipments"
4228
  msgid "%s tracking URL"
4229
  msgstr "%s Sendungsverfolgung URL"
4230
 
4231
+ # @ woocommerce-germanized
4232
+ #: woocommerce-germanized-shipments/src/WPMLHelper.php:75
4233
+ #, php-format
4234
+ msgctxt "shipments"
4235
+ msgid "%s return instructions"
4236
+ msgstr "%s Rücksende-Anweisungen"
4237
+
4238
+ #: woocommerce-germanized-shipments/templates/emails/customer-guest-return-shipment-request.php:27
4239
+ #: woocommerce-germanized-shipments/templates/emails/customer-return-shipment-delivered.php:27
4240
+ #: woocommerce-germanized-shipments/templates/emails/customer-return-shipment.php:27
4241
+ #: woocommerce-germanized-shipments/templates/emails/customer-shipment.php:27
4242
+ #: woocommerce-germanized-shipments/templates/emails/plain/customer-guest-return-shipment-request.php:24
4243
+ #: woocommerce-germanized-shipments/templates/emails/plain/customer-return-shipment-delivered.php:24
4244
+ #: woocommerce-germanized-shipments/templates/emails/plain/customer-return-shipment.php:24
4245
+ #: woocommerce-germanized-shipments/templates/emails/plain/customer-shipment.php:24
4246
+ #, php-format
4247
+ msgid "Hi %s,"
4248
+ msgstr ""
4249
+
4250
+ #: woocommerce-germanized-shipments/templates/emails/customer-guest-return-shipment-request.php:30
4251
+ #: woocommerce-germanized-shipments/templates/emails/plain/customer-guest-return-shipment-request.php:26
4252
+ #, php-format
4253
+ msgctxt "shipments"
4254
+ msgid ""
4255
+ "You've requested a return to your order %s. Please follow the link to add "
4256
+ "your return request."
4257
+ msgstr ""
4258
+ "Sie haben eine Rücksendung zu Ihrer Bestellung %s angefordert. Bitte klicken "
4259
+ "Sie auf nachfolgendem Link um Ihren Rücksendeantrag zu stellen."
4260
+
4261
+ #: woocommerce-germanized-shipments/templates/emails/customer-guest-return-shipment-request.php:34
4262
+ #: woocommerce-germanized-shipments/templates/myaccount/order-shipments.php:30
4263
+ msgctxt "shipments"
4264
+ msgid "Add return request"
4265
+ msgstr "Rücksendeantrag stellen"
4266
+
4267
+ # @ woocommerce-germanized
4268
+ #: woocommerce-germanized-shipments/templates/emails/customer-guest-return-shipment-request.php:37
4269
+ #, php-format
4270
+ msgctxt "shipments"
4271
+ msgid ""
4272
+ "If you cannot follow the link above please copy this url and paste it to "
4273
+ "your browser bar: %s"
4274
+ msgstr ""
4275
+ "Falls Sie dem Link nicht folgen können, kopieren Sie bitte folgende URL in "
4276
+ "die Adresszeile Ihres Browsers: %s"
4277
+
4278
+ #: woocommerce-germanized-shipments/templates/emails/customer-return-shipment-delivered.php:30
4279
+ #: woocommerce-germanized-shipments/templates/emails/plain/customer-return-shipment-delivered.php:26
4280
+ msgctxt "shipments"
4281
+ msgid ""
4282
+ "Thank you! Your return has been received successfully. There are more "
4283
+ "details below for your reference:"
4284
+ msgstr ""
4285
+ "Vielen Dank! Ihre Rücksendung ist eingegangen. Nachfolgend finden Sie "
4286
+ "weitere Einzelheiten zu Ihrer Rücksendung:"
4287
+
4288
+ #: woocommerce-germanized-shipments/templates/emails/customer-return-shipment.php:32
4289
+ #: woocommerce-germanized-shipments/templates/emails/plain/customer-return-shipment.php:28
4290
+ msgctxt "shipments"
4291
+ msgid ""
4292
+ "Your return request has been accepted. Please follow the instructions "
4293
+ "beneath to return your shipment."
4294
+ msgstr ""
4295
+ "Ihr Rücksendeantrag wurde akzeptiert. Nachfolgend finden Sie Informationen "
4296
+ "dazu, wie Sie Ihre Rücksendung für den Versand vorbereiten."
4297
+
4298
+ #: woocommerce-germanized-shipments/templates/emails/customer-return-shipment.php:34
4299
+ #: woocommerce-germanized-shipments/templates/emails/plain/customer-return-shipment.php:30
4300
+ msgctxt "shipments"
4301
+ msgid ""
4302
+ "A new return has been added to your order. Please follow the instructions "
4303
+ "beneath to return your shipment."
4304
+ msgstr ""
4305
+ "Eine neue Rücksendung wurde zu Ihrer Bestellung angelegt. Nachfolgend finden "
4306
+ "Sie Informationen dazu, wie Sie Ihre Rücksendung für den Versand vorbereiten."
4307
+
4308
  #: woocommerce-germanized-shipments/templates/emails/customer-shipment.php:33
4309
  #: woocommerce-germanized-shipments/templates/emails/plain/customer-shipment.php:28
4310
  #, php-format
4341
 
4342
  # @ woocommerce-germanized
4343
  #: woocommerce-germanized-shipments/templates/emails/email-shipment-details.php:54
4344
+ #: woocommerce-germanized-shipments/templates/myaccount/add-return-shipment.php:35
4345
+ #: woocommerce-germanized-shipments/templates/shipment/shipment-details.php:59
4346
  msgctxt "shipments"
4347
  msgid "Product"
4348
  msgstr "Produkt"
4349
 
 
4350
  #: woocommerce-germanized-shipments/templates/emails/email-shipment-tracking.php:27
 
4351
  msgctxt "shipments"
4352
+ msgid "Tracking:"
4353
+ msgstr "Sendungsverfolgung:"
4354
 
4355
  #: woocommerce-germanized-shipments/templates/emails/email-shipment-tracking.php:30
4356
  #: woocommerce-germanized-shipments/templates/emails/plain/email-shipment-tracking.php:24
4371
  msgid "View shipment: %s"
4372
  msgstr "Sendung anzeigen: %s"
4373
 
4374
+ # @ woocommerce-germanized
4375
+ #: woocommerce-germanized-shipments/templates/emails/plain/email-shipment-tracking.php:21
4376
+ msgctxt "shipments"
4377
+ msgid "Delivery:"
4378
+ msgstr "Lieferung:"
4379
+
4380
+ # @ woocommerce-germanized
4381
+ #: woocommerce-germanized-shipments/templates/global/form-return-request.php:29
4382
+ msgctxt "shipments"
4383
+ msgid "Order email"
4384
+ msgstr "E-Mail-Adresse der Bestellung"
4385
+
4386
+ # @ woocommerce-germanized
4387
+ #: woocommerce-germanized-shipments/templates/global/form-return-request.php:34
4388
+ msgctxt "shipments"
4389
+ msgid "Order id"
4390
+ msgstr "Bestellnummer"
4391
+
4392
+ #: woocommerce-germanized-shipments/templates/global/form-return-request.php:44
4393
+ msgctxt "shipments"
4394
+ msgid "Submit"
4395
+ msgstr "Absenden"
4396
+
4397
+ #: woocommerce-germanized-shipments/templates/myaccount/add-return-shipment.php:18
4398
+ msgctxt "shipments"
4399
+ msgid "New return request"
4400
+ msgstr "Neuer Rücksendeantrag"
4401
+
4402
+ #: woocommerce-germanized-shipments/templates/myaccount/add-return-shipment.php:20
4403
+ msgctxt "shipments"
4404
+ msgid "Please select one or more items to return."
4405
+ msgstr "Bitte wählen Sie ein oder mehrere Produkt(e) für Ihre Rücksendung aus."
4406
+
4407
+ #: woocommerce-germanized-shipments/templates/myaccount/add-return-shipment.php:23
4408
+ msgctxt "shipments"
4409
+ msgid ""
4410
+ "After submitting your return request we will review it and notify you via "
4411
+ "email about the next steps."
4412
+ msgstr ""
4413
+ "Nach dem Absenden Ihres Rücksendeantrages werden wir den Antrag prüfen und "
4414
+ "Sie per E-Mail über die nächsten Schritte informieren."
4415
+
4416
+ #: woocommerce-germanized-shipments/templates/myaccount/add-return-shipment.php:25
4417
+ msgctxt "shipments"
4418
+ msgid ""
4419
+ "After submitting your return request you'll receive an email with further "
4420
+ "information to the return process."
4421
+ msgstr ""
4422
+ "Nach dem Absenden Ihres Rücksendeantrages erhalten Sie eine E-Mail, die Sie "
4423
+ "über die weiteren Schritte zur Rücksendung informiert."
4424
+
4425
+ #: woocommerce-germanized-shipments/templates/myaccount/add-return-shipment.php:81
4426
+ msgctxt "shipments"
4427
+ msgid "Send request"
4428
+ msgstr "Rücksendeantrag senden"
4429
+
4430
+ #: woocommerce-germanized-shipments/templates/myaccount/order-shipments.php:32
4431
+ msgctxt "shipments"
4432
+ msgid ""
4433
+ "Adding return requests to this order is no longer available. You may contact "
4434
+ "us for further information."
4435
+ msgstr ""
4436
+ "Aktuell können keine Rücksendeanträge zu dieser Bestellung erstellt werden. "
4437
+ "Falls Sie Fragen zur Rücksendung dieser Bestellung haben, kontaktieren Sie "
4438
+ "uns bitte."
4439
+
4440
+ #: woocommerce-germanized-shipments/templates/myaccount/shipments.php:79
4441
  msgctxt "shipments"
4442
  msgid "track now"
4443
  msgstr "nachverfolgen"
4448
  msgid "Shipment #%1$s was created on %2$s and is currently %3$s."
4449
  msgstr "Sendung #%1$s vom %2$s ist aktuell %3$s."
4450
 
4451
+ #: woocommerce-germanized-shipments/templates/shipment/add-return-shipment-item.php:60
4452
+ msgctxt "shipments return reason"
4453
+ msgid "Please choose"
4454
+ msgstr "Bitte auswählen"
4455
+
4456
  # @ woocommerce-germanized
4457
  #: woocommerce-germanized-shipments/templates/shipment/shipment-details-address.php:25
4458
  msgctxt "shipments"
4460
  msgstr "Sendungsempfänger"
4461
 
4462
  # @ woocommerce-germanized
4463
+ #: woocommerce-germanized-shipments/templates/shipment/shipment-details.php:53
4464
  msgctxt "shipments"
4465
  msgid "Shipment details"
4466
  msgstr "Details zur Sendung"
4818
  msgid "Start tutorial"
4819
  msgstr "Tutorial starten"
4820
 
4821
+ #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-setup-wizard.php:91
4822
+ #: woocommerce-germanized/includes/admin/settings/class-wc-gzd-settings-tab-dhl.php:33
4823
+ #: woocommerce-germanized/includes/admin/views/setup/dhl.php:10
4824
+ msgid "DHL"
4825
+ msgstr "DHL"
4826
+
4827
  # @ woocommerce-germanized
4828
  #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-setup-wizard.php:99
4829
  msgid "Import settings"
4985
  msgstr "Willkommen bei Germanized"
4986
 
4987
  # @ woocommerce-germanized
4988
+ #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-welcome.php:294
4989
  msgid "Go to Germanized Settings"
4990
  msgstr "Germanized Einstellungen"
4991
 
5849
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-customers-controller.php:140
5850
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-orders-controller.php:138
5851
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-orders-controller.php:145
5852
+ #: woocommerce-germanized/includes/class-wc-gzd-checkout.php:542
5853
+ #: woocommerce-germanized/includes/class-wc-gzd-checkout.php:553
5854
  #: woocommerce-germanized/includes/class-wc-gzd-customer-helper.php:114
5855
  #: woocommerce-germanized/includes/class-wc-gzd-customer-helper.php:122
5856
  msgid "Title"
7183
  #: woocommerce-germanized/includes/admin/settings/views/html-admin-page-checkboxes.php:12
7184
  #: woocommerce-germanized/includes/admin/settings/views/html-admin-settings-tabs.php:29
7185
  #: woocommerce-germanized/includes/class-wc-gzd-legal-checkbox.php:779
7186
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:893
7187
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:121
7188
  msgid "Description"
7189
  msgstr "Beschreibung"
7332
  "bessere Performance"
7333
 
7334
  #: woocommerce-germanized/includes/admin/views/html-notice-dhl.php:21
7335
+ #, php-format
7336
+ msgctxt "dhl"
7337
+ msgid ""
7338
+ "Many improved features such as automation, services per shipping method and "
7339
+ "%s."
7340
+ msgstr ""
7341
+ "Viele verbesserte Funktionen darunter Automatisierung, die Wahl bestimmter "
7342
+ "Services pro Versandart und %s."
7343
+
7344
+ #: woocommerce-germanized/includes/admin/views/html-notice-dhl.php:21
7345
+ msgctxt "dhl"
7346
+ msgid "many more"
7347
+ msgstr "und viele mehr"
7348
+
7349
+ #: woocommerce-germanized/includes/admin/views/html-notice-dhl.php:22
7350
  msgctxt "dhl"
7351
  msgid ""
7352
  "Perfectly integrated in Germanized &ndash; easily create labels for shipments"
7354
  "Perfekt integriert in Germanized &ndash; erstellen Sie einfach DHL Labels "
7355
  "für Sendungen und Retouren"
7356
 
7357
+ #: woocommerce-germanized/includes/admin/views/html-notice-dhl.php:27
7358
  msgctxt "dhl"
7359
  msgid "Learn more"
7360
  msgstr "Mehr erfahren"
7361
 
7362
+ #: woocommerce-germanized/includes/admin/views/html-notice-dhl.php:29
7363
  msgctxt "dhl"
7364
  msgid "Import settings and activate"
7365
  msgstr "Einstellungen importieren und loslegen"
7366
 
7367
  # @ woocommerce-germanized
7368
+ #: woocommerce-germanized/includes/admin/views/html-notice-dhl.php:33
7369
  #: woocommerce-germanized/includes/admin/views/html-notice-pro.php:29
7370
  #: woocommerce-germanized/includes/admin/views/html-notice-theme-supported.php:21
7371
  msgid "Hide this notice"
7853
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-customers-controller.php:147
7854
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-orders-controller.php:159
7855
  #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:39
7856
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:889
7857
  #: woocommerce-germanized/includes/gateways/direct-debit/views/html-export.php:30
7858
  msgid "Direct Debit"
7859
  msgstr "Lastschrift"
7865
  #: woocommerce-germanized/includes/class-wc-gzd-privacy.php:117
7866
  #: woocommerce-germanized/includes/class-wc-gzd-privacy.php:166
7867
  #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:117
7868
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:599
7869
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:915
7870
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1061
7871
  msgid "Account Holder"
7872
  msgstr "Kontoinhaber"
7873
 
7878
  #: woocommerce-germanized/includes/class-wc-gzd-privacy.php:118
7879
  #: woocommerce-germanized/includes/class-wc-gzd-privacy.php:167
7880
  #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:124
7881
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:600
7882
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:923
7883
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1065
7884
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1195
7885
  msgid "IBAN"
7886
  msgstr "IBAN"
7887
 
7892
  #: woocommerce-germanized/includes/class-wc-gzd-privacy.php:119
7893
  #: woocommerce-germanized/includes/class-wc-gzd-privacy.php:168
7894
  #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:131
7895
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:601
7896
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1069
7897
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1196
7898
  msgid "BIC/SWIFT"
7899
  msgstr "BIC/SWIFT"
7900
 
7905
  # @ woocommerce-germanized
7906
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-orders-controller.php:179
7907
  #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:138
7908
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:605
7909
  msgid "Mandate Reference ID"
7910
  msgstr "Mandat-Referenznummer"
7911
 
8249
  "Bitte installieren Sie <a href=\"%s\" target=\"_blank\">WooCommerce</a> "
8250
  "bevor Sie WooCommerce Germanized installieren. Vielen Dank!"
8251
 
8252
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:441
8253
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:455
8254
  msgid "Reduced rate"
8255
  msgstr "Ermäßigter Steuersatz"
8256
 
8257
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:497
8258
  #, php-format
8259
  msgctxt "vat-rate-import"
8260
  msgid "VAT %s"
8261
  msgstr "MwSt. %s"
8262
 
8263
  # @ woocommerce-germanized
8264
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:601
8265
  msgctxt "Page slug"
8266
  msgid "data-security"
8267
  msgstr "datenschutzerklaerung"
8268
 
8269
  # @ woocommerce-germanized
8270
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:602
8271
  msgctxt "Page title"
8272
  msgid "Data Security Statement"
8273
  msgstr "Datenschutzerklärung"
8274
 
8275
  # @ woocommerce-germanized
8276
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:606
8277
  msgctxt "Page slug"
8278
  msgid "imprint"
8279
  msgstr "impressum"
8280
 
8281
  # @ woocommerce-germanized
8282
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:607
8283
  msgctxt "Page title"
8284
  msgid "Imprint"
8285
  msgstr "Impressum"
8286
 
8287
  # @ woocommerce-germanized
8288
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:611
8289
  msgctxt "Page slug"
8290
  msgid "terms"
8291
  msgstr "agb"
8292
 
8293
  # @ woocommerce-germanized
8294
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:612
8295
  msgctxt "Page title"
8296
  msgid "Terms & Conditions"
8297
  msgstr "AGB"
8298
 
8299
  # @ woocommerce-germanized
8300
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:616
8301
  msgctxt "Page slug"
8302
  msgid "revocation"
8303
  msgstr "widerrufsbelehrung"
8304
 
8305
  # @ woocommerce-germanized
8306
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:617
8307
  msgctxt "Page title"
8308
  msgid "Power of Revocation"
8309
  msgstr "Widerrufsbelehrung"
8310
 
8311
  # @ woocommerce-germanized
8312
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:621
8313
  msgctxt "Page slug"
8314
  msgid "shipping-methods"
8315
  msgstr "versandarten"
8316
 
8317
  # @ woocommerce-germanized
8318
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:622
8319
  msgctxt "Page title"
8320
  msgid "Shipping Methods"
8321
  msgstr "Versandarten"
8322
 
8323
  # @ woocommerce-germanized
8324
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:626
8325
  msgctxt "Page slug"
8326
  msgid "payment-methods"
8327
  msgstr "bezahlmoeglichkeiten"
8328
 
8329
  # @ woocommerce-germanized
8330
+ #: woocommerce-germanized/includes/class-wc-gzd-install.php:627
8331
  msgctxt "Page title"
8332
  msgid "Payment Methods"
8333
  msgstr "Zahlungsarten"
8498
 
8499
  # @ woocommerce-germanized
8500
  #: woocommerce-germanized/includes/class-wc-gzd-legal-checkbox-manager.php:209
8501
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:980
8502
  msgid "I hereby agree to the {link}direct debit mandate{/link}."
8503
  msgstr "Hiermit erteile ich das {link}SEPA Lastschriftmandat{/link}."
8504
 
9277
  msgstr "SEPA XML Export"
9278
 
9279
  # @ woocommerce-germanized
9280
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:504
9281
  #, php-format
9282
  msgid "Order %s"
9283
  msgstr "Bestellung %s"
9284
 
9285
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:531
9286
  msgid "Will be notified separately"
9287
  msgstr "Wird separat mitgeteilt"
9288
 
9289
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:620
9290
  #, php-format
9291
  msgid ""
9292
  "We will debit %s from your account by direct debit on or shortly after %s."
9295
  "%s ein."
9296
 
9297
  # @ woocommerce-germanized
9298
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:764
9299
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:796
9300
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:829
9301
  msgid "a single payment"
9302
  msgstr "eine einmalige Zahlung"
9303
 
9304
  # @ woocommerce-germanized
9305
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:880
9306
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:108
9307
  msgid "Enable/Disable"
9308
  msgstr "Aktivieren/Deaktivieren"
9309
 
9310
  # @ woocommerce-germanized
9311
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:882
9312
  msgid "Enable Direct Debit Payment"
9313
  msgstr "Bezahlung per Lastschrift aktivieren"
9314
 
9315
  # @ woocommerce-germanized
9316
  # @ woocommerce
9317
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:886
9318
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:114
9319
  msgctxt "gateway"
9320
  msgid "Title"
9321
  msgstr "Bezeichnung"
9322
 
9323
  # @ woocommerce-germanized
9324
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:888
9325
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:116
9326
  msgid "This controls the title which the user sees during checkout."
9327
  msgstr ""
9328
  "Beschreibungstext, den Benutzer bei der Auswahl dieser Zahlungsart sehen."
9329
 
9330
  # @ woocommerce-germanized
9331
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:895
9332
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:123
9333
  msgid "Payment method description that the customer will see on your checkout."
9334
  msgstr "Beschreibung der Zahlungsart, die Kunden auf ihrer Website sehen."
9335
 
9336
  # @ woocommerce-germanized
9337
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:896
9338
  msgid "The order amount will be debited directly from your bank account."
9339
  msgstr ""
9340
  "Der Gesamtbestellbetrag wird per SEPA-Lastschrift direkt von Ihrem Konto "
9341
  "abgebucht."
9342
 
9343
  # @ woocommerce-germanized
9344
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:900
9345
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:128
9346
  msgid "Instructions"
9347
  msgstr "Anweisungen"
9348
 
9349
  # @ woocommerce-germanized
9350
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:902
9351
  #: woocommerce-germanized/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:130
9352
  msgid "Instructions that will be added to the thank you page and emails."
9353
  msgstr "Anweisung, die zur „Danke“-Seite und zu E-Mails hinzugefügt werden."
9354
 
9355
  # @ woocommerce-germanized
9356
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:907
9357
  msgid "Debtee"
9358
  msgstr "Gläubiger Informationen"
9359
 
9360
  # @ woocommerce-germanized
9361
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:909
9362
  msgid "Insert your company information."
9363
  msgstr "Fügen Sie hier die Informationen zu ihrem Unternehmen ein."
9364
 
9365
  # @ woocommerce-germanized
9366
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:911
9367
  msgid "Company Inc, John Doe Street, New York"
9368
  msgstr "Musterfirma GmbH, Musterstraße 12, 12203 Musterstadt"
9369
 
9370
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:917
9371
  msgid "Insert the bank account holder name."
9372
  msgstr "Fügen Sie hier den Namen des Kontoinhabers ein."
9373
 
9374
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:919
9375
  msgid "Company Inc"
9376
  msgstr "Muster GmbH"
9377
 
9378
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:925
9379
  msgid "Insert the bank account IBAN."
9380
  msgstr "Fügen Sie hier den IBAN ihres Kontos ein."
9381
 
9382
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:930
9383
  msgid "BIC"
9384
  msgstr "BIC"
9385
 
9386
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:932
9387
  msgid "Insert the bank account BIC."
9388
  msgstr "Fügen Sie hier den BIC ihres Kontos ein."
9389
 
9390
  # @ woocommerce-germanized
9391
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:937
9392
  msgid "Debtee identification number"
9393
  msgstr "Identifikationsnummer"
9394
 
9395
  # @ woocommerce-germanized
9396
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:939
9397
  #, php-format
9398
  msgid ""
9399
  "Insert your debtee indentification number. More information can be found <a "
9403
  "Weitere Informationen zu dieser Nummer erhalten Sie <a href=\"%s\">hier</a>."
9404
 
9405
  # @ woocommerce-germanized
9406
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:943
9407
  msgid "Generate Mandate ID"
9408
  msgstr "Mandat-Referenz generieren"
9409
 
9410
  # @ woocommerce-germanized
9411
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:945
9412
  msgid "Automatically generate Mandate ID."
9413
  msgstr "Mandat-Referenznummer automatisch generieren."
9414
 
9415
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:946
9416
  msgid ""
9417
  "Automatically generate Mandate ID after order completion (based on Order ID)."
9418
  msgstr ""
9420
  "basierend auf der Bestellnummer generieren."
9421
 
9422
  # @ woocommerce-germanized
9423
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:950
9424
  msgid "XML Pain Format"
9425
  msgstr "XML Pain Format"
9426
 
9427
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:952
9428
  msgid ""
9429
  "You may adjust the XML Export Pain Schema to your banks needs. Some banks "
9430
  "may require pain.001.003.03."
9433
  "Einige Banken benötigen z.B. pain.001.003.03."
9434
 
9435
  # @ woocommerce-germanized
9436
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:956
9437
  msgid "Mandate ID Format"
9438
  msgstr "Mandat-Referenz Format"
9439
 
9440
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:958
9441
  msgid ""
9442
  "You may extend the Mandate ID format by adding a prefix and/or suffix. Use "
9443
  "{id} as placeholder to insert the automatically generated ID."
9447
  "einzufügen."
9448
 
9449
  # @ woocommerce-germanized
9450
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:962
9451
  msgid "Mandate Text"
9452
  msgstr "Lastschriftmandat"
9453
 
9454
  # @ woocommerce-germanized
9455
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:964
9456
  msgid ""
9457
  "This text will be populated with live order/checkout data. Will be used as "
9458
  "preview direct debit mandate and as email template text."
9463
  "Verfügung gestellt."
9464
 
9465
  # @ woocommerce-germanized
9466
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:970
9467
  msgid "Checkbox"
9468
  msgstr "Checkbox"
9469
 
9470
  # @ woocommerce-germanized
9471
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:971
9472
  msgid "Enable \"agree to SEPA mandate\" checkbox"
9473
  msgstr "Aktivieren Sie die Checkbox zur Bestätigung des Lastschriftmandates"
9474
 
9475
  # @ woocommerce-germanized
9476
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:973
9477
  msgid "Enable a checkbox linking to a SEPA direct debit mandate preview."
9478
  msgstr ""
9479
  "Aktivieren Sie eine Checkbox, die zu einer Vorschau des Lastschrift-Mandats "
9480
  "führt."
9481
 
9482
  # @ woocommerce-germanized
9483
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:977
9484
  msgid "Checkbox label"
9485
  msgstr "Checkbox Text"
9486
 
9487
  # @ woocommerce-germanized
9488
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:979
9489
  msgid ""
9490
  "Customize the checkbox label. Use {link}link name{/link} to insert the "
9491
  "preview link."
9493
  "Passt den Checkbox Text an. Verwenden Sie {link}SEPA Lastschriftmandat{/"
9494
  "link} um auf die Vorschau zu verlinken."
9495
 
9496
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:984
9497
  msgid "Enable pre-notification"
9498
  msgstr "Vorankündigung aktivieren"
9499
 
9500
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:985
9501
  msgid "Insert pre-notification text within the order confirmation email."
9502
  msgstr ""
9503
  "Fügt einen Standard-Text zur Vorankündigung des SEPA-Einzugs in die "
9504
  "Bestellbestätigung ein."
9505
 
9506
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:987
9507
  msgid ""
9508
  "This option inserts a standard text containing a pre-notification for the "
9509
  "customer."
9512
  "die Bestellbestätigung ein. In der Ankündigung wird u.a. ein konkreter "
9513
  "Fälligkeitstermin genannt."
9514
 
9515
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:991
9516
  msgid "Debit days"
9517
  msgstr "Fälligkeitstage"
9518
 
9519
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:993
9520
  msgid ""
9521
  "This option is used to calculate the debit date and is added to the order "
9522
  "date."
9526
  "hier eingestellten Anzahl Tage."
9527
 
9528
  # @ woocommerce-germanized
9529
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:997
9530
  msgid "Mask IBAN"
9531
  msgstr "IBAN maskieren"
9532
 
9533
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:998
9534
  msgid "Mask the IBAN within emails."
9535
  msgstr "IBAN in E-Mails maskieren."
9536
 
9537
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1000
9538
  msgid ""
9539
  "This will lead to masked IBANs within emails (replaced by *). All but last 4 "
9540
  "digits will be masked."
9542
  "Der IBAN wird in E-Mails (abgesehen von den letzten 4 Stellen) mit * "
9543
  "maskiert."
9544
 
9545
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1010
9546
  msgid "Remember"
9547
  msgstr "Bankdaten merken"
9548
 
9549
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1011
9550
  msgid "Remember account data for returning customers."
9551
  msgstr "Bankverbindung für registrierte Kunden speichern."
9552
 
9553
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1013
9554
  msgid "Save account data as user meta if user has/creates a customer account."
9555
  msgstr ""
9556
  "Speichert die Bankverbindung für registrierte Kunden in der user_meta "
9558
  "eigenständig aus."
9559
 
9560
  # @ woocommerce-germanized
9561
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1123
9562
  msgid "Please insert your SEPA account data."
9563
  msgstr "Bitte fügen Sie Ihre SEPA Kontoinformationen ein."
9564
 
9565
  # @ woocommerce-germanized
9566
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1145
9567
  msgid "Your IBAN seems to be invalid."
9568
  msgstr "Ihr IBAN scheint nicht gültig zu sein."
9569
 
9570
  # @ woocommerce-germanized
9571
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1147
9572
  msgid "Your IBAN's country code doesn’t match with your billing country."
9573
  msgstr "Der Ländercode des IBANs stimmt nicht mit dem Rechnungsland überein."
9574
 
9575
  # @ woocommerce-germanized
9576
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1152
9577
  msgid "Your BIC seems to be invalid."
9578
  msgstr "Ihr BIC/SWIFT scheint nicht gültig zu sein."
9579
 
9580
  # @ woocommerce-germanized
9581
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1197
9582
  msgid "is invalid"
9583
  msgstr "ist ungültig"
9584
 
9585
  # @ woocommerce-germanized
9586
+ #: woocommerce-germanized/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:1244
9587
  msgid "Awaiting Direct Debit Payment"
9588
  msgstr "Zahlung per Lastschrift ausstehend"
9589
 
11379
  msgid "https://vendidero.de"
11380
  msgstr "https://vendidero.de"
11381
 
 
 
 
 
 
11382
  #~ msgctxt "dhl"
11383
  #~ msgid ""
11384
+ #~ "Your shipment is being processed by {shipping_provider}. If you want to "
11385
+ #~ "track the shipment, please use the following tracking number: "
11386
+ #~ "{tracking_id}. Depending on the chosen shipping method it is possible "
11387
+ #~ "that the tracking data does not reflect the current status when receiving "
11388
+ #~ "this email."
11389
  #~ msgstr ""
11390
+ #~ "Ihre Sendung wurde mit {shipping_provider} versandt. Wenn Sie diese "
11391
+ #~ "Sendung verfolgen möchten, benutzen Sie bitte diese "
11392
+ #~ "Paketverfolgungsnummer: {tracking_id}. Abhängig von der gewählten "
11393
+ #~ "Versandoption kann es sein, dass die Paketverfolgungsdaten zum Zeitpunkt "
11394
+ #~ "des Erhalts dieser E-Mail noch nicht den neuesten Stand wiedergeben."
 
 
11395
 
11396
+ #~ msgctxt "dhl"
11397
+ #~ msgid "DHL Return Label"
11398
+ #~ msgstr "DHL Retourenlabel"
 
11399
 
11400
  # @ woocommerce-germanized
11401
+ #~ msgctxt "dhl"
11402
+ #~ msgid ""
11403
+ #~ "This email is being used to send the DHL return label to the customer."
11404
+ #~ msgstr ""
11405
+ #~ "Diese E-Mail wird verwendet um Kunden das DHL Retourenlabel zuzustellen."
11406
 
11407
+ #~ msgctxt "dhl"
11408
  #~ msgid ""
11409
+ #~ "New DHL label for your return #{shipment_number} to your order "
11410
+ #~ "#{order_number}"
11411
  #~ msgstr ""
11412
+ #~ "Neues DHL Label zur Retourensendung #{shipment_number} zu deiner "
11413
+ #~ "Bestellung #{order_number}"
11414
 
11415
+ #~ msgctxt "dhl"
11416
+ #~ msgid "DHL label for your order: #{order_number}"
11417
+ #~ msgstr "DHL Label zu Ihrer Bestellung: #{order_number}"
11418
 
11419
+ #~ msgctxt "dhl"
11420
+ #~ msgid "Return #{shipment_id} to shipment #{original_shipment_id}"
11421
+ #~ msgstr "Retoure #{shipment_id} zur Sendung #{original_shipment_id}"
11422
 
11423
+ #~ msgctxt "dhl"
11424
+ #~ msgid "Send the return label to the customer by email after creating it."
11425
+ #~ msgstr ""
11426
+ #~ "Sende das Retourenlabel nach dem Erstellen per E-Mail an den Kunden."
11427
 
11428
+ #~ msgctxt "dhl"
11429
+ #~ msgid "Label successfully sent to customer."
11430
+ #~ msgstr "Label erfolgreich an den Kunden zugestellt."
11431
 
11432
+ #~ msgctxt "dhl"
11433
+ #~ msgid "There was an error while sending the label."
11434
+ #~ msgstr "Beim Versendes des Labels ist ein Fehler aufgetreten."
11435
 
11436
+ #, php-format
11437
+ #~ msgctxt "dhl"
11438
+ #~ msgid "Could not fetch parent shipment %d."
11439
+ #~ msgstr "Eltern-Sendung %d konnte nicht initialisiert werden."
11440
 
11441
+ #~ msgctxt "dhl"
11442
+ #~ msgid ""
11443
+ #~ "Please print the DHL label attached to this email and stick it on your "
11444
+ #~ "parcel."
11445
+ #~ msgstr ""
11446
+ #~ "Bitte drucken Sie das DHL Label im Anhang dieser E-Mail aus und kleben "
11447
+ #~ "Sie es auf Ihre Retourensendung."
11448
 
 
11449
  #~ msgctxt "shipments"
11450
+ #~ msgid "Send label to customer"
11451
+ #~ msgstr "Label dem Kunden zusenden"
11452
 
11453
  #~ msgctxt "shipments"
11454
+ #~ msgid "Invalid shipment"
11455
+ #~ msgstr "Ungültige Sendung"
11456
 
11457
+ #~ msgctxt "dhl"
11458
+ #~ msgid "Tracking"
11459
+ #~ msgstr "Sendungsverfolgung"
 
11460
 
11461
+ #, php-format
11462
+ #~ msgctxt "dhl"
11463
  #~ msgid ""
11464
+ #~ "Adjust the default instructions used to inform your customers about "
11465
+ #~ "tracking a DHL shipment. You may use one of the following placeholders: %s"
 
 
 
 
 
 
 
 
 
 
 
11466
  #~ msgstr ""
11467
+ #~ "Passen Sie die Instruktionen an um Kunden über die DHL Sendungsverfolgung "
11468
+ #~ "zu informieren. Sie können einen der folgenden Platzhalter verwenden: %s"
 
 
 
 
11469
 
 
11470
  #~ msgctxt "shipments"
11471
+ #~ msgid "View shipment"
11472
+ #~ msgstr "Sendung anzeigen"
11473
 
11474
  #~ msgctxt "dhl"
11475
  #~ msgid "Delete"
includes/admin/class-wc-gzd-admin-welcome.php CHANGED
@@ -135,10 +135,49 @@ class WC_GZD_Admin_Welcome {
135
  zur <span class="wc-gzd-pro">pro</span> Version</a>
136
  </p>
137
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
138
  <div class="changelog new-feature">
139
  <h3>Neu: Sendungen zu Bestellungen erstellen</h3>
140
 
141
  <div class="columns two-col">
 
 
 
142
  <div class="col">
143
  <p>
144
  Version 3.0 führt eine neue Abstraktion zur (besseren) Verwaltung von Sendungen zu
@@ -169,9 +208,6 @@ class WC_GZD_Admin_Welcome {
169
  <a href="https://vendidero.de/dokument/sendungen-zu-bestellungen-erzeugen" class="button button-primary" target="_blank">Mehr erfahren</a>
170
  </div>
171
  </div>
172
- <div class="col align-center">
173
- <img src="<?php echo WC_germanized()->plugin_url(); ?>/assets/images/shipments.png"/>
174
- </div>
175
  </div>
176
  </div>
177
 
135
  zur <span class="wc-gzd-pro">pro</span> Version</a>
136
  </p>
137
 
138
+ <div class="changelog new-feature">
139
+ <h3>Neu: Rücksendeanträge von Kunden entgegennehmen</h3>
140
+
141
+ <div class="columns two-col">
142
+ <div class="col">
143
+ <p>
144
+ Germanized ermöglicht über das <a href="<?php echo admin_url( 'admin.php?page=wc-gzd-return-shipments' ); ?>" target="_blank">Retouren-Dashboard</a> eine übersichtliche Abwicklung von Retouren.
145
+ Mit dem neuesten Update gehen wir den nächsten Schritt: Du kannst nun optional Rücksendeanträge von Kunden und Gästen entgegennehmen.
146
+ </p>
147
+ <p>
148
+ Damit lässt sich die <strong>Abwicklung von Retouren komplett automatisieren</strong>. Der Kunde kann seine Retoure über den Kundenbereich aufgeben
149
+ und dabei die gewünschten Produkte samt Anzahl und Rücksendegrund aus der Bestellung auswählen. Du kannst den Rücksendeantrag dann im Retouren-Dashboard
150
+ einsehen und freigeben. Falls du unsere DHL-Integration verwendest, kannst du zu Retouren automatisch Labels erzeugen lassen und das Label dem Kunden als Anhang der
151
+ Bestätigungs-Mail bzw. als Download bereitstellen.
152
+ </p>
153
+
154
+ <div class="wc-germanized-welcome-pro">
155
+ <a href="https://vendidero.de/woocommerce-germanized" target="_blank"
156
+ class="button button-primary wc-gzd-button"><span class="wc-gzd-pro">pro</span> Version
157
+ entdecken</a>
158
+ <p class="price smaller">ab 69 € inkl. MwSt. - inkl. 1 Jahr Updates & Premium
159
+ Support!</p>
160
+ </div>
161
+
162
+ <div class="wc-gzd-actions">
163
+ <a href="<?php echo admin_url( 'admin.php?page=wc-settings&tab=germanized-shipments#shipments_return_options-description' ); ?>"
164
+ class="button button-primary" target="_blank">Einstellungen anpassen</a>
165
+ <a href="https://vendidero.de/dokument/retouren-konfigurieren-und-verwalten" class="button button-primary" target="_blank">Mehr erfahren</a>
166
+ </div>
167
+ </div>
168
+ <div class="col align-center">
169
+ <img src="<?php echo WC_germanized()->plugin_url(); ?>/assets/images/add-return-request.png"/>
170
+ </div>
171
+ </div>
172
+ </div>
173
+
174
  <div class="changelog new-feature">
175
  <h3>Neu: Sendungen zu Bestellungen erstellen</h3>
176
 
177
  <div class="columns two-col">
178
+ <div class="col align-center">
179
+ <img src="<?php echo WC_germanized()->plugin_url(); ?>/assets/images/shipments.png"/>
180
+ </div>
181
  <div class="col">
182
  <p>
183
  Version 3.0 führt eine neue Abstraktion zur (besseren) Verwaltung von Sendungen zu
208
  <a href="https://vendidero.de/dokument/sendungen-zu-bestellungen-erzeugen" class="button button-primary" target="_blank">Mehr erfahren</a>
209
  </div>
210
  </div>
 
 
 
211
  </div>
212
  </div>
213
 
includes/admin/views/html-notice-dhl.php CHANGED
@@ -18,11 +18,12 @@ $dismiss_url = add_query_arg( 'notice', 'wc-gzd-hide-dhl-importer-notice', add_q
18
 
19
  <ul>
20
  <li><?php _ex( 'No need to use an external plugin which might lead to incompatibilities', 'dhl', 'woocommerce-germanized' ); ?></li>
 
21
  <li><?php _ex( 'Perfectly integrated in Germanized &ndash; easily create labels for shipments', 'dhl', 'woocommerce-germanized' ); ?></li>
22
  </ul>
23
 
24
  <p class="submit alignleft">
25
- <a class="button button-secondary" href=""
26
  target="_blank"><?php echo esc_html_x( 'Learn more', 'dhl', 'woocommerce-germanized' ); ?></a>
27
  <a class="button button-primary"
28
  href="<?php echo esc_url( wp_nonce_url( add_query_arg( 'wc-gzd-dhl-import', 'yes' ), 'woocommerce_gzd_dhl_import_nonce' ) ); ?>"><?php echo esc_html_x( 'Import settings and activate', 'dhl', 'woocommerce-germanized' ); ?></a>
18
 
19
  <ul>
20
  <li><?php _ex( 'No need to use an external plugin which might lead to incompatibilities', 'dhl', 'woocommerce-germanized' ); ?></li>
21
+ <li><?php printf( _x( 'Many improved features such as automation, services per shipping method and %s.', 'dhl', 'woocommerce-germanized' ), '<a href="https://vendidero.de/dokument/dhl-labels-zu-sendungen-erstellen" target="_blank">' . _x( 'many more', 'dhl', 'woocommerce-germanized' ) . '</a>' ); ?></li>
22
  <li><?php _ex( 'Perfectly integrated in Germanized &ndash; easily create labels for shipments', 'dhl', 'woocommerce-germanized' ); ?></li>
23
  </ul>
24
 
25
  <p class="submit alignleft">
26
+ <a class="button button-secondary" href="https://vendidero.de/dokument/dhl-labels-zu-sendungen-erstellen"
27
  target="_blank"><?php echo esc_html_x( 'Learn more', 'dhl', 'woocommerce-germanized' ); ?></a>
28
  <a class="button button-primary"
29
  href="<?php echo esc_url( wp_nonce_url( add_query_arg( 'wc-gzd-dhl-import', 'yes' ), 'woocommerce_gzd_dhl_import_nonce' ) ); ?>"><?php echo esc_html_x( 'Import settings and activate', 'dhl', 'woocommerce-germanized' ); ?></a>
includes/class-wc-gzd-checkout.php CHANGED
@@ -196,6 +196,7 @@ class WC_GZD_Checkout {
196
  */
197
  public function order_parcel_delivery_data_transfer( $order, $posted ) {
198
  if ( $checkbox = wc_gzd_get_legal_checkbox( 'parcel_delivery' ) ) {
 
199
  if ( ! $checkbox->is_enabled() ) {
200
  return;
201
  }
@@ -372,9 +373,11 @@ class WC_GZD_Checkout {
372
  // Unset all other rates
373
  if ( ! empty( $keep ) && $hide ) {
374
 
 
 
375
  // Unset chosen shipping method to avoid key errors
376
  if ( isset( WC()->session ) && ! is_null( WC()->session ) ) {
377
- unset( WC()->session->chosen_shipping_methods );
378
  }
379
 
380
  foreach ( $rates as $key => $rate ) {
@@ -382,6 +385,16 @@ class WC_GZD_Checkout {
382
  unset( $rates[ $key ] );
383
  }
384
  }
 
 
 
 
 
 
 
 
 
 
385
  }
386
 
387
  return $rates;
196
  */
197
  public function order_parcel_delivery_data_transfer( $order, $posted ) {
198
  if ( $checkbox = wc_gzd_get_legal_checkbox( 'parcel_delivery' ) ) {
199
+
200
  if ( ! $checkbox->is_enabled() ) {
201
  return;
202
  }
373
  // Unset all other rates
374
  if ( ! empty( $keep ) && $hide ) {
375
 
376
+ $chosen_shipping_methods = array();
377
+
378
  // Unset chosen shipping method to avoid key errors
379
  if ( isset( WC()->session ) && ! is_null( WC()->session ) ) {
380
+ $chosen_shipping_methods = WC()->session->get( 'chosen_shipping_methods' );
381
  }
382
 
383
  foreach ( $rates as $key => $rate ) {
385
  unset( $rates[ $key ] );
386
  }
387
  }
388
+
389
+ foreach( $chosen_shipping_methods as $key => $rate ) {
390
+ if ( ! in_array( $rate, $keep ) ) {
391
+ unset( $chosen_shipping_methods[ $key ] );
392
+ }
393
+ }
394
+
395
+ if ( isset( WC()->session ) && ! is_null( WC()->session ) ) {
396
+ WC()->session->set( 'chosen_shipping_methods', $chosen_shipping_methods );
397
+ }
398
  }
399
 
400
  return $rates;
includes/class-wc-gzd-install.php CHANGED
@@ -195,6 +195,9 @@ if ( ! class_exists( 'WC_GZD_Install' ) ) :
195
  // Recheck outdated templates
196
  delete_option( '_wc_gzd_hide_template_outdated_notice' );
197
 
 
 
 
198
  // Queue upgrades
199
  $current_version = get_option( 'woocommerce_gzd_version', null );
200
  $current_db_version = get_option( 'woocommerce_gzd_db_version', null );
@@ -209,7 +212,6 @@ if ( ! class_exists( 'WC_GZD_Install' ) ) :
209
  delete_option( '_wc_gzd_hide_theme_notice' );
210
  delete_option( '_wc_gzd_hide_pro_notice' );
211
  delete_option( '_wc_gzd_hide_review_notice' );
212
- delete_option( '_wc_gzd_hide_dhl_importer_notice' );
213
  }
214
  }
215
 
195
  // Recheck outdated templates
196
  delete_option( '_wc_gzd_hide_template_outdated_notice' );
197
 
198
+ // Show the importer
199
+ delete_option( '_wc_gzd_hide_dhl_importer_notice' );
200
+
201
  // Queue upgrades
202
  $current_version = get_option( 'woocommerce_gzd_version', null );
203
  $current_db_version = get_option( 'woocommerce_gzd_db_version', null );
212
  delete_option( '_wc_gzd_hide_theme_notice' );
213
  delete_option( '_wc_gzd_hide_pro_notice' );
214
  delete_option( '_wc_gzd_hide_review_notice' );
 
215
  }
216
  }
217
 
includes/compatibility/class-wc-gzd-compatibility-wpml.php CHANGED
@@ -17,6 +17,8 @@ class WC_GZD_Compatibility_WPML extends WC_GZD_Compatibility {
17
 
18
  protected $email_locale = false;
19
 
 
 
20
  protected $email_lang = false;
21
 
22
  public static function get_name() {
@@ -86,8 +88,17 @@ class WC_GZD_Compatibility_WPML extends WC_GZD_Compatibility {
86
  public function switch_email_lang( $lang ) {
87
  global $woocommerce_wpml, $sitepress;
88
 
 
 
 
 
 
 
 
 
89
  if ( isset( $woocommerce_wpml->emails ) && is_callable( array( $woocommerce_wpml->emails, 'change_email_language' ) ) ) {
90
  $woocommerce_wpml->emails->change_email_language( $lang );
 
91
  $this->email_locale = $sitepress->get_locale( $lang );
92
  $this->reload_locale();
93
  }
@@ -176,12 +187,15 @@ class WC_GZD_Compatibility_WPML extends WC_GZD_Compatibility {
176
 
177
  if ( $this->email_locale ) {
178
 
179
- $sitepress->switch_lang( $sitepress->get_default_language() );
 
 
180
  remove_filter( 'plugin_locale', array( $this, 'filter_email_locale' ), 50 );
181
  remove_filter( 'wcml_email_language', array( $this, 'filter_email_lang' ), 10 );
182
 
183
- $this->email_lang = false;
184
- $this->email_locale = false;
 
185
 
186
  $this->reload_locale();
187
  }
17
 
18
  protected $email_locale = false;
19
 
20
+ protected $email_old_lang = false;
21
+
22
  protected $email_lang = false;
23
 
24
  public static function get_name() {
88
  public function switch_email_lang( $lang ) {
89
  global $woocommerce_wpml, $sitepress;
90
 
91
+ $current_language = $sitepress->get_current_language();
92
+
93
+ if ( empty( $current_language ) ) {
94
+ $current_language = $sitepress->get_default_language();
95
+ }
96
+
97
+ $this->email_old_lang = $current_language;
98
+
99
  if ( isset( $woocommerce_wpml->emails ) && is_callable( array( $woocommerce_wpml->emails, 'change_email_language' ) ) ) {
100
  $woocommerce_wpml->emails->change_email_language( $lang );
101
+
102
  $this->email_locale = $sitepress->get_locale( $lang );
103
  $this->reload_locale();
104
  }
187
 
188
  if ( $this->email_locale ) {
189
 
190
+ $old_lang = $this->email_old_lang ? $this->email_old_lang : $sitepress->get_default_language();
191
+
192
+ $sitepress->switch_lang( $old_lang );
193
  remove_filter( 'plugin_locale', array( $this, 'filter_email_locale' ), 50 );
194
  remove_filter( 'wcml_email_language', array( $this, 'filter_email_lang' ), 10 );
195
 
196
+ $this->email_lang = false;
197
+ $this->email_old_lang = false;
198
+ $this->email_locale = false;
199
 
200
  $this->reload_locale();
201
  }
includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php CHANGED
@@ -322,11 +322,18 @@ Please notice: Period for pre-information of the SEPA direct debit is shortened
322
  );
323
 
324
  if ( isset( $args['unpaid_only'] ) && $args['unpaid_only'] === 1 ) {
325
- array_push( $meta_query, array(
326
- 'key' => '_date_completed',
327
- 'value' => '',
328
- 'compare' => '='
329
- ) );
 
 
 
 
 
 
 
330
  }
331
 
332
  $query_args = array(
@@ -661,7 +668,7 @@ Please notice: Period for pre-information of the SEPA direct debit is shortened
661
  return;
662
  }
663
 
664
- if ( ! $order->get_payment_method() === $this->id ) {
665
  return;
666
  }
667
 
322
  );
323
 
324
  if ( isset( $args['unpaid_only'] ) && $args['unpaid_only'] === 1 ) {
325
+ $meta_query[] = array(
326
+ 'relation' => 'OR',
327
+ array(
328
+ 'key' => '_date_completed',
329
+ 'compare' => 'NOT EXISTS'
330
+ ),
331
+ array(
332
+ 'key' => '_date_completed',
333
+ 'compare' => '=',
334
+ 'value' => '',
335
+ ),
336
+ );
337
  }
338
 
339
  $query_args = array(
668
  return;
669
  }
670
 
671
+ if ( $order->get_payment_method() !== $this->id ) {
672
  return;
673
  }
674
 
includes/gateways/direct-debit/views/html-export.php CHANGED
@@ -33,15 +33,15 @@ if ( ! defined( 'ABSPATH' ) ) {
33
  <ul id="sepa-filters" class="export-filters">
34
  <li>
35
  <label>
36
- <?php echo _e( 'Start Date', 'woocommerce-germanized' ); ?>
37
  <input type="date" name="sepa_start_date" value=""/>
38
  </label>
39
  <label>
40
- <?php echo _e( 'End Date', 'woocommerce-germanized' ); ?>
41
  <input type="date" name="sepa_end_date" value=""/>
42
  </label>
43
  <label>
44
- <?php echo _e( 'Unpaid only', 'woocommerce-germanized' ); ?>
45
  <input type="checkbox" name="sepa_unpaid_only" value="1"/>
46
  </label>
47
  </li>
33
  <ul id="sepa-filters" class="export-filters">
34
  <li>
35
  <label>
36
+ <?php _e( 'Start Date', 'woocommerce-germanized' ); ?>
37
  <input type="date" name="sepa_start_date" value=""/>
38
  </label>
39
  <label>
40
+ <?php _e( 'End Date', 'woocommerce-germanized' ); ?>
41
  <input type="date" name="sepa_end_date" value=""/>
42
  </label>
43
  <label>
44
+ <?php _e( 'Unpaid only', 'woocommerce-germanized' ); ?>
45
  <input type="checkbox" name="sepa_unpaid_only" value="1"/>
46
  </label>
47
  </li>
includes/updates/woocommerce-gzd-update-1.6.3.php CHANGED
@@ -6,5 +6,5 @@ if ( ! defined( 'ABSPATH' ) ) {
6
 
7
  // Reset Trusted Shops Code Options
8
  update_option( 'woocommerce_gzd_trusted_shops_integration_mode', 'standard' );
9
- update_option( 'woocommerce_gzd_trusted_shops_product_sticker_code', WC_germanized()->trusted_shops->get_product_sticker_code( false ) );
10
- update_option( 'woocommerce_gzd_trusted_shops_product_widget_code', WC_germanized()->trusted_shops->get_product_widget_code( false ) );
6
 
7
  // Reset Trusted Shops Code Options
8
  update_option( 'woocommerce_gzd_trusted_shops_integration_mode', 'standard' );
9
+ update_option( 'woocommerce_gzd_trusted_shops_product_sticker_code', WC_trusted_shops()->trusted_shops->get_product_sticker_code( false ) );
10
+ update_option( 'woocommerce_gzd_trusted_shops_product_widget_code', WC_trusted_shops()->trusted_shops->get_product_widget_code( false ) );
packages/woocommerce-germanized-dhl/assets/js/parcel-locator.js CHANGED
@@ -346,6 +346,15 @@ window.germanized.dhl_parcel_locator = window.germanized.dhl_parcel_locator || {
346
  current = currentParts[0];
347
  }
348
  }
 
 
 
 
 
 
 
 
 
349
  }
350
 
351
  return current;
346
  current = currentParts[0];
347
  }
348
  }
349
+ } else {
350
+ // In case an instance id is needed but missing - assume 0 as instance id
351
+ if ( 'undefined' !== typeof current && current.length > 0 ) {
352
+ var currentParts = current.split(':');
353
+
354
+ if ( currentParts.length <= 1 ) {
355
+ current = current + ':0';
356
+ }
357
+ }
358
  }
359
 
360
  return current;
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,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);
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="",d=e||!0;(0<s("select.shipping_method").length?r=s("select.shipping_method").val():0<s('input[name^="shipping_method"]:checked').length?r=s('input[name^="shipping_method"]:checked').val():0<s('input[name^="shipping_method"][type="hidden"]').length&&(r=s('input[name^="shipping_method"][type="hidden"]').val()),d)?void 0!==r&&0<r.length&&(a=r.split(":")).length<=1&&(r+=":0"):void 0!==r&&0<r.length&&0<(a=r.split(":")).length&&(r=a[0]);return r},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/i18n/holidays.php CHANGED
@@ -11,27 +11,6 @@ defined( 'ABSPATH' ) || exit;
11
 
12
  return array(
13
  'DE' => array(
14
- '2019-01-06',
15
- '2019-06-20',
16
- '2019-04-21',
17
- '2019-03-08',
18
- '2019-11-01',
19
- '2019-05-30',
20
- '2019-05-01',
21
- '2019-12-26',
22
- '2019-10-03',
23
- '2019-09-20',
24
- '2019-08-08',
25
- '2019-11-20',
26
- '2019-01-01',
27
- '2019-10-31',
28
- '2019-06-10',
29
- '2019-08-15',
30
- '2019-04-19',
31
- '2019-12-25',
32
- '2019-04-18',
33
- '2019-06-09',
34
- '2019-04-22',
35
  '2020-01-06',
36
  '2020-06-11',
37
  '2020-04-12',
@@ -53,5 +32,26 @@ return array(
53
  '2020-04-09',
54
  '2020-05-31',
55
  '2020-04-13',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  ),
57
  );
11
 
12
  return array(
13
  'DE' => array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  '2020-01-06',
15
  '2020-06-11',
16
  '2020-04-12',
32
  '2020-04-09',
33
  '2020-05-31',
34
  '2020-04-13',
35
+ '2021-01-06',
36
+ '2021-06-03',
37
+ '2021-04-04',
38
+ '2021-03-08',
39
+ '2021-11-01',
40
+ '2021-05-13',
41
+ '2021-05-01',
42
+ '2021-12-26',
43
+ '2021-10-03',
44
+ '2021-09-20',
45
+ '2021-08-08',
46
+ '2021-11-17',
47
+ '2021-01-01',
48
+ '2021-10-31',
49
+ '2021-05-24',
50
+ '2021-08-15',
51
+ '2021-04-02',
52
+ '2021-12-25',
53
+ '2021-04-01',
54
+ '2021-05-23',
55
+ '2021-04-05',
56
  ),
57
  );
packages/woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php CHANGED
@@ -240,10 +240,10 @@ $default_args = wc_gzd_dhl_get_label_default_args( $dhl_order, $shipment );
240
  <?php if ( $dhl_order->supports_email_notification() ) : ?>
241
 
242
  <?php woocommerce_wp_checkbox( array(
243
- 'id' => 'dhl_label_service_ParcelOutletDelivery',
244
  'label' => _x( 'Retail outlet routing', 'dhl', 'woocommerce-germanized' ),
245
  'description' => '',
246
- 'value' => in_array( 'ParcelOutletDelivery', $default_args['services'] ) ? 'yes' : 'no',
247
  'wrapper_class' => 'form-field-checkbox'
248
  ) ); ?>
249
 
240
  <?php if ( $dhl_order->supports_email_notification() ) : ?>
241
 
242
  <?php woocommerce_wp_checkbox( array(
243
+ 'id' => 'dhl_label_service_ParcelOutletRouting',
244
  'label' => _x( 'Retail outlet routing', 'dhl', 'woocommerce-germanized' ),
245
  'description' => '',
246
+ 'value' => in_array( 'ParcelOutletRouting', $default_args['services'] ) ? 'yes' : 'no',
247
  'wrapper_class' => 'form-field-checkbox'
248
  ) ); ?>
249
 
packages/woocommerce-germanized-dhl/includes/emails/class-wc-gzd-dhl-email-customer-return-shipment-label.php DELETED
@@ -1,196 +0,0 @@
1
- <?php
2
- /**
3
- * Class WC_GZD_DHL_Email_Customer_Return_Shipment_Label file.
4
- *
5
- * @package Vendidero/Germanized/DHL/Emails
6
- */
7
-
8
- if ( ! defined( 'ABSPATH' ) ) {
9
- exit; // Exit if accessed directly.
10
- }
11
-
12
- use Vendidero\Germanized\DHL\Package;
13
- use Vendidero\Germanized\DHL\ReturnLabel;
14
- use Vendidero\Germanized\Shipments\ReturnShipment;
15
-
16
- if ( ! class_exists( 'WC_GZD_DHL_Email_Customer_Return_Shipment_Label', false ) ) :
17
-
18
- /**
19
- * Customer Shipment return label notification.
20
- *
21
- * This notification is used to send the return label to the customer.
22
- *
23
- * @class WC_GZD_DHL_Email_Customer_Return_Shipment_Label
24
- * @version 1.0.0
25
- * @package Vendidero/Germanized/DHL/Emails
26
- * @extends WC_Email
27
- */
28
- class WC_GZD_DHL_Email_Customer_Return_Shipment_Label extends WC_Email {
29
-
30
- /**
31
- * Label.
32
- *
33
- * @var ReturnLabel|bool
34
- */
35
- public $label;
36
-
37
- /**
38
- * Shipment.
39
- *
40
- * @var ReturnShipment|bool
41
- */
42
- public $shipment;
43
-
44
- /**
45
- * Constructor.
46
- */
47
- public function __construct() {
48
- $this->customer_email = true;
49
- $this->id = 'customer_dhl_return_shipment_label';
50
- $this->title = _x( 'DHL Return Label', 'dhl', 'woocommerce-germanized' );
51
- $this->description = _x( 'This email is being used to send the DHL return label to the customer.', 'dhl', 'woocommerce-germanized' );
52
-
53
- $this->template_html = 'emails/customer-dhl-return-shipment-label.php';
54
- $this->template_plain = 'emails/plain/customer-dhl-return-shipment-label.php';
55
- $this->template_base = Package::get_path() . '/templates/';
56
-
57
- $this->placeholders = array(
58
- '{site_title}' => $this->get_blogname(),
59
- '{shipment_number}' => '',
60
- '{tracking_number}' => '',
61
- '{order_number}' => '',
62
- );
63
-
64
- // Call parent constructor.
65
- parent::__construct();
66
- }
67
-
68
- /**
69
- * Get email subject.
70
- *
71
- * @since 3.1.0
72
- * @return string
73
- */
74
- public function get_default_subject() {
75
- return _x( 'New DHL label for your return #{shipment_number} to your order #{order_number}', 'dhl', 'woocommerce-germanized' );
76
- }
77
-
78
- /**
79
- * Get email heading.
80
- *
81
- * @since 3.1.0
82
- * @return string
83
- */
84
- public function get_default_heading( $partial = false ) {
85
- return _x( 'DHL label for your order: #{order_number}', 'dhl', 'woocommerce-germanized' );
86
- }
87
-
88
- /**
89
- * Trigger.
90
- *
91
- * @param int $label_id Label ID.
92
- */
93
- public function trigger( $label_id ) {
94
- $this->setup_locale();
95
-
96
- if ( $this->label = wc_gzd_dhl_get_label( $label_id ) ) {
97
-
98
- // Actual PDF label is missing
99
- if ( ! $this->label->get_file() ) {
100
- return;
101
- }
102
-
103
- $this->placeholders['{tracking_number}'] = $this->label->get_number();
104
-
105
- if ( $this->shipment = $this->label->get_shipment() ) {
106
-
107
- $this->placeholders['{shipment_number}'] = $this->shipment->get_shipment_number();
108
-
109
- if ( $order_shipment = wc_gzd_get_shipment_order( $this->shipment->get_order() ) ) {
110
-
111
- $this->object = $this->shipment->get_order();
112
- $this->recipient = $order_shipment->get_order()->get_billing_email();
113
- $this->placeholders['{order_number}'] = $order_shipment->get_order()->get_order_number();
114
- }
115
- }
116
- }
117
-
118
- if ( $this->is_enabled() && $this->get_recipient() ) {
119
- $this->send( $this->get_recipient(), $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
120
- }
121
-
122
- $this->restore_locale();
123
- }
124
-
125
- public function get_attachments() {
126
- $attachments = array();
127
-
128
- if ( $label = $this->label ) {
129
- if ( $file = $label->get_file() ) {
130
- $attachments[] = $file;
131
- }
132
- }
133
-
134
- return apply_filters( 'woocommerce_email_attachments', $attachments, $this->id, $this->object, $this );
135
- }
136
-
137
- /**
138
- * Return content from the additional_content field.
139
- *
140
- * Displayed above the footer.
141
- *
142
- * @since 2.0.4
143
- * @return string
144
- */
145
- public function get_additional_content() {
146
- if ( is_callable( 'parent::get_additional_content' ) ) {
147
- return parent::get_additional_content();
148
- }
149
-
150
- return '';
151
- }
152
-
153
- /**
154
- * Get content html.
155
- *
156
- * @return string
157
- */
158
- public function get_content_html() {
159
- return wc_get_template_html(
160
- $this->template_html, array(
161
- 'shipment' => $this->shipment,
162
- 'order' => $this->object,
163
- 'label' => $this->label,
164
- 'email_heading' => $this->get_heading(),
165
- 'additional_content' => $this->get_additional_content(),
166
- 'sent_to_admin' => false,
167
- 'plain_text' => false,
168
- 'email' => $this,
169
- )
170
- );
171
- }
172
-
173
- /**
174
- * Get content plain.
175
- *
176
- * @return string
177
- */
178
- public function get_content_plain() {
179
- return wc_get_template_html(
180
- $this->template_plain, array(
181
- 'shipment' => $this->shipment,
182
- 'order' => $this->object,
183
- 'label' => $this->label,
184
- 'email_heading' => $this->get_heading(),
185
- 'additional_content' => $this->get_additional_content(),
186
- 'sent_to_admin' => false,
187
- 'plain_text' => true,
188
- 'email' => $this,
189
- )
190
- );
191
- }
192
- }
193
-
194
- endif;
195
-
196
- return new WC_GZD_DHL_Email_Customer_Return_Shipment_Label();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
packages/woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php CHANGED
@@ -100,10 +100,8 @@ function wc_gzd_dhl_get_ident_min_ages() {
100
  return wc_gzd_dhl_get_visual_min_ages();
101
  }
102
 
103
- function wc_gzd_dhl_get_label_reference( $reference_type, $placeholders = array() ) {
104
- $text = $reference_type;
105
-
106
- return str_replace( array_keys( $placeholders ), array_values( $placeholders ), $text );
107
  }
108
 
109
  function wc_gzd_dhl_get_label_customer_reference( $label, $shipment ) {
@@ -119,24 +117,23 @@ function wc_gzd_dhl_get_label_customer_reference( $label, $shipment ) {
119
  */
120
  $ref = 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
- return substr( $ref, 0, 35 );
123
  }
124
 
125
- function wc_gzd_dhl_get_return_label_customer_reference( $label, $shipment, $parent_shipment ) {
126
  /**
127
  * Filter to adjust the customer reference field placed on the DHL return label. Maximum characeter length: 30.
128
  *
129
  * @param string $text The customer reference text.
130
  * @param Label $label The label instance.
131
  * @param ReturnShipment $shipment The shipment instance.
132
- * @param SimpleShipment $parent_shipment The parent shipment instance.
133
  *
134
  * @since 3.0.0
135
  * @package Vendidero/Germanized/DHL
136
  */
137
- $ref = apply_filters( 'woocommerce_gzd_dhl_return_label_customer_reference', wc_gzd_dhl_get_label_reference( _x( 'Return #{shipment_id} to shipment #{original_shipment_id}', 'dhl', 'woocommerce-germanized' ), array( '{shipment_id}' => $shipment->get_id(), '{original_shipment_id}' => $parent_shipment->get_id() ) ), $label, $shipment, $parent_shipment );
138
 
139
- return substr( $ref, 0, 30 );
140
  }
141
 
142
  function wc_gzd_dhl_get_inlay_return_label_reference( $label, $shipment ) {
@@ -152,7 +149,7 @@ function wc_gzd_dhl_get_inlay_return_label_reference( $label, $shipment ) {
152
  */
153
  $ref = apply_filters( 'woocommerce_gzd_dhl_inlay_return_label_reference', wc_gzd_dhl_get_label_reference( _x( 'Return shipment #{shipment_id} to order #{order_id}', 'dhl', 'woocommerce-germanized' ), array( '{shipment_id}' => $shipment->get_id(), '{order_id}' => $shipment->get_order_number() ) ), $label, $shipment );
154
 
155
- return substr( $ref, 0, 35 );
156
  }
157
 
158
  /**
@@ -536,14 +533,12 @@ function wc_gzd_dhl_shipment_needs_label( $shipment, $check_status = true ) {
536
  }
537
 
538
  // In case it is a return shipment - make sure that retoures are enabled
539
- if ( 'return' === $shipment->get_type() ) {
540
- if ( 'no' === Package::get_setting( 'label_retoure_enable' ) ) {
541
- $needs_label = false;
542
- }
543
  }
544
 
545
  // If label already exists
546
- if ( $label = wc_gzd_dhl_get_shipment_label( $shipment ) ) {
547
  $needs_label = false;
548
  }
549
 
100
  return wc_gzd_dhl_get_visual_min_ages();
101
  }
102
 
103
+ function wc_gzd_dhl_get_label_reference( $reference_text, $placeholders = array() ) {
104
+ return str_replace( array_keys( $placeholders ), array_values( $placeholders ), $reference_text );
 
 
105
  }
106
 
107
  function wc_gzd_dhl_get_label_customer_reference( $label, $shipment ) {
117
  */
118
  $ref = 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 );
119
 
120
+ return sanitize_text_field( substr( $ref, 0, 35 ) );
121
  }
122
 
123
+ function wc_gzd_dhl_get_return_label_customer_reference( $label, $shipment ) {
124
  /**
125
  * Filter to adjust the customer reference field placed on the DHL return label. Maximum characeter length: 30.
126
  *
127
  * @param string $text The customer reference text.
128
  * @param Label $label The label instance.
129
  * @param ReturnShipment $shipment The shipment instance.
 
130
  *
131
  * @since 3.0.0
132
  * @package Vendidero/Germanized/DHL
133
  */
134
+ $ref = apply_filters( 'woocommerce_gzd_dhl_return_label_customer_reference', wc_gzd_dhl_get_label_reference( _x( 'Return #{shipment_id} to order {order_id}', 'dhl', 'woocommerce-germanized' ), array( '{shipment_id}' => $shipment->get_id(), '{order_id}' => $shipment->get_order_number() ) ), $label, $shipment );
135
 
136
+ return sanitize_text_field( substr( $ref, 0, 30 ) );
137
  }
138
 
139
  function wc_gzd_dhl_get_inlay_return_label_reference( $label, $shipment ) {
149
  */
150
  $ref = apply_filters( 'woocommerce_gzd_dhl_inlay_return_label_reference', wc_gzd_dhl_get_label_reference( _x( 'Return shipment #{shipment_id} to order #{order_id}', 'dhl', 'woocommerce-germanized' ), array( '{shipment_id}' => $shipment->get_id(), '{order_id}' => $shipment->get_order_number() ) ), $label, $shipment );
151
 
152
+ return sanitize_text_field( substr( $ref, 0, 35 ) );
153
  }
154
 
155
  /**
533
  }
534
 
535
  // In case it is a return shipment - make sure that retoures are enabled
536
+ if ( ! $shipment->supports_label() ) {
537
+ $needs_label = false;
 
 
538
  }
539
 
540
  // If label already exists
541
+ if ( $label = $shipment->get_label() ) {
542
  $needs_label = false;
543
  }
544
 
packages/woocommerce-germanized-dhl/src/Admin/Settings.php CHANGED
@@ -585,7 +585,7 @@ class Settings {
585
  }
586
 
587
  public static function get_automation_settings( $for_shipping_method = false ) {
588
- $shipment_statuses = array_diff_key( wc_gzd_get_shipment_statuses(), array_fill_keys( array( 'gzd-draft', 'gzd-delivered', 'gzd-returned' ), '' ) );
589
 
590
  $settings = array(
591
  array(
@@ -632,15 +632,7 @@ class Settings {
632
  'options' => $shipment_statuses,
633
  'class' => 'wc-enhanced-select',
634
  'custom_attributes' => array( 'data-show_if_woocommerce_gzd_dhl_label_return_auto_enable' => '' )
635
- ),
636
-
637
- array(
638
- 'title' => _x( 'Email', 'dhl', 'woocommerce-germanized' ),
639
- 'desc' => _x( 'Send the return label to the customer by email after creating it.', 'dhl', 'woocommerce-germanized' ),
640
- 'id' => 'woocommerce_gzd_dhl_label_return_auto_email',
641
- 'default' => 'no',
642
- 'type' => 'gzd_toggle',
643
- ),
644
  );
645
 
646
  if ( $for_shipping_method ) {
585
  }
586
 
587
  public static function get_automation_settings( $for_shipping_method = false ) {
588
+ $shipment_statuses = array_diff_key( wc_gzd_get_shipment_statuses(), array_fill_keys( array( 'gzd-draft', 'gzd-delivered', 'gzd-returned', 'gzd-requested' ), '' ) );
589
 
590
  $settings = array(
591
  array(
632
  'options' => $shipment_statuses,
633
  'class' => 'wc-enhanced-select',
634
  'custom_attributes' => array( 'data-show_if_woocommerce_gzd_dhl_label_return_auto_enable' => '' )
635
+ )
 
 
 
 
 
 
 
 
636
  );
637
 
638
  if ( $for_shipping_method ) {
packages/woocommerce-germanized-dhl/src/Ajax.php DELETED
@@ -1,77 +0,0 @@
1
- <?php
2
-
3
- namespace Vendidero\Germanized\DHL;
4
-
5
- use Exception;
6
- use Vendidero\Germanized\DHL\Package;
7
- use WP_Error;
8
-
9
- /**
10
- * WC_Ajax class.
11
- */
12
- class Ajax {
13
-
14
- /**
15
- * Hook in ajax handlers.
16
- */
17
- public static function init() {
18
- self::add_ajax_events();
19
- }
20
-
21
- /**
22
- * Hook in methods - uses WordPress ajax handlers (admin-ajax).
23
- */
24
- public static function add_ajax_events() {
25
- $ajax_events = array(
26
- 'dhl_email_return_label'
27
- );
28
-
29
- foreach ( $ajax_events as $ajax_event ) {
30
- add_action( 'wp_ajax_woocommerce_gzd_' . $ajax_event, array( __CLASS__, $ajax_event ) );
31
- }
32
- }
33
-
34
- public static function dhl_email_return_label() {
35
- $success = false;
36
-
37
- if ( current_user_can( 'edit_shop_orders' ) && isset( $_REQUEST['label_id'] ) ) {
38
-
39
- if ( isset( $_GET['label_id'] ) ) {
40
- $referrer = check_admin_referer( 'email-dhl-label' );
41
- } else {
42
- $referrer = check_ajax_referer( 'email-dhl-label', 'security' );
43
- }
44
-
45
- if ( $referrer ) {
46
- $label = wc_gzd_dhl_get_label( absint( wp_unslash( $_REQUEST['label_id'] ) ) );
47
-
48
- if ( 'return' === $label->get_type() ) {
49
- if ( $label->send_to_customer( true ) ) {
50
- $success = true;
51
- }
52
- }
53
- }
54
- }
55
-
56
- if ( isset( $_GET['label_id'] ) ) {
57
- wp_safe_redirect( wp_get_referer() ? wp_get_referer() : admin_url( 'admin.php?page=wc-gzd-return-shipments' ) );
58
- exit;
59
- } else {
60
- if ( $success ) {
61
- wp_send_json( array(
62
- 'success' => true,
63
- 'messages' => array(
64
- _x( 'Label successfully sent to customer.', 'dhl', 'woocommerce-germanized' )
65
- ),
66
- ) );
67
- } else {
68
- wp_send_json( array(
69
- 'success' => false,
70
- 'messages' => array(
71
- _x( 'There was an error while sending the label.', 'dhl', 'woocommerce-germanized' )
72
- ),
73
- ) );
74
- }
75
- }
76
- }
77
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
packages/woocommerce-germanized-dhl/src/Api/ReturnRest.php CHANGED
@@ -34,12 +34,7 @@ class ReturnRest extends Rest {
34
  throw new Exception( sprintf( _x( 'Could not fetch shipment %d.', 'dhl', 'woocommerce-germanized' ), $label->get_shipment_id() ) );
35
  }
36
 
37
- if ( ! $parent_shipment = $shipment->get_parent() ) {
38
- throw new Exception( sprintf( _x( 'Could not fetch parent shipment %d.', 'dhl', 'woocommerce-germanized' ), $shipment->get_parent_id() ) );
39
- }
40
-
41
- $parent_label = wc_gzd_dhl_get_label( $parent_shipment );
42
- $order = $shipment->get_order();
43
 
44
  if ( isset( $countries[ $country_name ] ) ) {
45
  $country_name = $countries[ $country_name ];
@@ -49,7 +44,7 @@ class ReturnRest extends Rest {
49
 
50
  $request_args = array(
51
  'receiverId' => $label->get_receiver_id(),
52
- "customerReference" => wc_gzd_dhl_get_return_label_customer_reference( $label, $shipment, $parent_shipment ),
53
  "shipmentReference" => '',
54
  "senderAddress" => array(
55
  'name1' => $label->get_sender_company() ? $label->get_sender_company() : $label->get_sender_formatted_full_name(),
@@ -105,10 +100,8 @@ class ReturnRest extends Rest {
105
 
106
  $request_args['customsDocument'] = array(
107
  'currency' => $order ? $order->get_currency() : 'EUR',
108
- 'originalShipmentNumber' => $parent_label ? $parent_label->get_number() : '',
109
- 'originalOperator' => $parent_shipment->get_shipping_provider(),
110
- 'originalInvoiceNumber' => $parent_shipment->get_id(),
111
- 'originalInvoiceDate' => $parent_shipment->get_date_created()->format( 'Y-m-d' ),
112
  'positions' => $items,
113
  );
114
  }
34
  throw new Exception( sprintf( _x( 'Could not fetch shipment %d.', 'dhl', 'woocommerce-germanized' ), $label->get_shipment_id() ) );
35
  }
36
 
37
+ $order = $shipment->get_order();
 
 
 
 
 
38
 
39
  if ( isset( $countries[ $country_name ] ) ) {
40
  $country_name = $countries[ $country_name ];
44
 
45
  $request_args = array(
46
  'receiverId' => $label->get_receiver_id(),
47
+ "customerReference" => wc_gzd_dhl_get_return_label_customer_reference( $label, $shipment ),
48
  "shipmentReference" => '',
49
  "senderAddress" => array(
50
  'name1' => $label->get_sender_company() ? $label->get_sender_company() : $label->get_sender_formatted_full_name(),
100
 
101
  $request_args['customsDocument'] = array(
102
  'currency' => $order ? $order->get_currency() : 'EUR',
103
+ 'originalShipmentNumber' => $shipment->get_order_number(),
104
+ 'originalOperator' => $shipment->get_shipping_provider(),
 
 
105
  'positions' => $items,
106
  );
107
  }
packages/woocommerce-germanized-dhl/src/Automation.php CHANGED
@@ -22,7 +22,6 @@ class Automation {
22
  add_action( 'woocommerce_gzd_new_shipment', array( __CLASS__, 'set_after_create_automation' ), 10, 2 );
23
  add_action( 'woocommerce_gzd_new_return_shipment', array( __CLASS__, 'set_after_create_automation' ), 10, 2 );
24
 
25
- add_action( 'woocommerce_gzd_dhl_after_create_return_label', array( __CLASS__, 'maybe_send_email' ), 10, 1 );
26
  add_action( 'woocommerce_gzd_dhl_after_create_label', array( __CLASS__, 'maybe_adjust_shipment_status' ), 10, 1 );
27
  }
28
 
@@ -38,12 +37,6 @@ class Automation {
38
  }
39
  }
40
 
41
- public static function maybe_send_email( $label ) {
42
- if ( 'yes' === Package::get_setting( 'label_return_auto_email' ) ) {
43
- $label->send_to_customer();
44
- }
45
- }
46
-
47
  public static function set_after_create_automation( $shipment_id, $shipment ) {
48
  self::do_automation( $shipment, false );
49
  }
@@ -86,9 +79,9 @@ class Automation {
86
  $status = str_replace( 'gzd-', '', $status );
87
 
88
  if ( $is_hook ) {
89
- add_action( $hook_prefix . $status, array( __CLASS__, 'maybe_create_label' ), 10, 1 );
90
  } elseif( $shipment->has_status( $status ) ) {
91
- self::maybe_create_label( $shipment->get_id() );
92
  }
93
  }
94
  }
@@ -102,13 +95,32 @@ class Automation {
102
  self::do_automation( $shipment, true );
103
  }
104
 
105
- public static function maybe_create_label( $shipment_id ) {
106
- if ( $shipment = wc_gzd_get_shipment( $shipment_id ) ) {
107
- if ( ! wc_gzd_dhl_get_shipment_label( $shipment ) ) {
108
- $label = wc_gzd_dhl_create_label( $shipment );
109
 
110
- if ( ! is_wp_error( $label ) ) {}
 
111
  }
112
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113
  }
114
  }
22
  add_action( 'woocommerce_gzd_new_shipment', array( __CLASS__, 'set_after_create_automation' ), 10, 2 );
23
  add_action( 'woocommerce_gzd_new_return_shipment', array( __CLASS__, 'set_after_create_automation' ), 10, 2 );
24
 
 
25
  add_action( 'woocommerce_gzd_dhl_after_create_label', array( __CLASS__, 'maybe_adjust_shipment_status' ), 10, 1 );
26
  }
27
 
37
  }
38
  }
39
 
 
 
 
 
 
 
40
  public static function set_after_create_automation( $shipment_id, $shipment ) {
41
  self::do_automation( $shipment, false );
42
  }
79
  $status = str_replace( 'gzd-', '', $status );
80
 
81
  if ( $is_hook ) {
82
+ add_action( $hook_prefix . $status, array( __CLASS__, 'maybe_create_label' ), 10, 2 );
83
  } elseif( $shipment->has_status( $status ) ) {
84
+ self::maybe_create_label( $shipment->get_id(), $shipment );
85
  }
86
  }
87
  }
95
  self::do_automation( $shipment, true );
96
  }
97
 
98
+ public static function create_label( $shipment_id, $shipment = false ) {
99
+ if ( ! $shipment ) {
100
+ $shipment = wc_gzd_get_shipment( $shipment_id );
 
101
 
102
+ if ( ! $shipment ) {
103
+ return;
104
  }
105
  }
106
+
107
+ if ( ! $shipment->has_label() ) {
108
+ $result = $shipment->create_label();
109
+
110
+ if ( ! is_wp_error( $result ) ) {}
111
+ }
112
+ }
113
+
114
+ private static function is_admin_edit_order_request() {
115
+ return ( isset( $_POST['action'] ) && 'editpost' === $_POST['action'] && isset( $_POST['post_type'] ) && 'shop_order' === $_POST['post_type'] );
116
+ }
117
+
118
+ public static function maybe_create_label( $shipment_id, $shipment = false ) {
119
+ // Make sure that MetaBox is saved before we process automation
120
+ if ( self::is_admin_edit_order_request() ) {
121
+ add_action( 'woocommerce_process_shop_order_meta', array( __CLASS__, 'create_label' ), 70 );
122
+ } else {
123
+ self::create_label( $shipment_id, $shipment );
124
+ }
125
  }
126
  }
packages/woocommerce-germanized-dhl/src/DataStores/Label.php CHANGED
@@ -62,7 +62,6 @@ class Label extends WC_Data_Store_WP implements WC_Object_Data_Store_Interface {
62
  '_weight',
63
  '_created_via',
64
  '_receiver_slug',
65
- '_is_email_sent'
66
  );
67
 
68
  /*
@@ -397,7 +396,6 @@ class Label extends WC_Data_Store_WP implements WC_Object_Data_Store_Interface {
397
  case "email_notification":
398
  case "has_inlay_return":
399
  case "codeable_address_only":
400
- case "is_email_sent":
401
  case "cod_includes_additional_total":
402
  $value = wc_bool_to_string( $value );
403
  break;
62
  '_weight',
63
  '_created_via',
64
  '_receiver_slug',
 
65
  );
66
 
67
  /*
396
  case "email_notification":
397
  case "has_inlay_return":
398
  case "codeable_address_only":
 
399
  case "cod_includes_additional_total":
400
  $value = wc_bool_to_string( $value );
401
  break;
packages/woocommerce-germanized-dhl/src/Emails.php DELETED
@@ -1,29 +0,0 @@
1
- <?php
2
-
3
- namespace Vendidero\Germanized\DHL;
4
-
5
- defined( 'ABSPATH' ) || exit;
6
-
7
- class Emails {
8
-
9
- public static function init() {
10
- add_filter( 'woocommerce_email_classes', array( __CLASS__, 'register_emails' ), 10 );
11
-
12
- // Change email template path if is germanized email template
13
- add_filter( 'woocommerce_template_directory', array( __CLASS__, 'set_woocommerce_template_dir' ), 10, 2 );
14
- }
15
-
16
- public static function set_woocommerce_template_dir( $dir, $template ) {
17
- if ( file_exists( Package::get_path() . '/templates/' . $template ) ) {
18
- return 'woocommerce-germanized';
19
- }
20
-
21
- return $dir;
22
- }
23
-
24
- public static function register_emails( $emails ) {
25
- $emails['WC_GZD_DHL_Email_Customer_Return_Shipment_Label'] = include Package::get_path() . '/includes/emails/class-wc-gzd-dhl-email-customer-return-shipment-label.php';
26
-
27
- return $emails;
28
- }
29
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
packages/woocommerce-germanized-dhl/src/LabelWatcher.php CHANGED
@@ -29,46 +29,10 @@ class LabelWatcher {
29
  // Delete label
30
  add_action( 'woocommerce_gzd_dhl_label_deleted', array( __CLASS__, 'delete_label' ), 10, 2 );
31
 
32
- // Delete the label if parent shipment has been deleted
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
- }
56
-
57
- /**
58
- * @param string $url
59
- * @param Shipment $shipment
60
- *
61
- * @return string
62
- */
63
- public static function add_tracking_url( $url, $shipment ) {
64
-
65
- if ( $label = wc_gzd_dhl_get_shipment_label( $shipment ) ) {
66
- return $label->get_tracking_url();
67
- }
68
-
69
- return $url;
70
- }
71
-
72
  /**
73
  * @param ShipmentItem $item
74
  * @param WC_Order_Item $order_item
@@ -86,7 +50,6 @@ class LabelWatcher {
86
  public static function create_label( $label ) {
87
  try {
88
  Package::get_api()->get_label( $label );
89
- self::maybe_update_shipment_tracking( $label );
90
  } catch( Exception $e ) {
91
  throw new Exception( nl2br( $e->getMessage() ) );
92
  }
@@ -95,24 +58,14 @@ class LabelWatcher {
95
  public static function create_return_label( $label ) {
96
  try {
97
  Package::get_api()->get_return_label( $label );
98
- self::maybe_update_shipment_tracking( $label );
99
  } catch( Exception $e ) {
100
  throw new Exception( nl2br( $e->getMessage() ) );
101
  }
102
  }
103
 
104
- protected static function maybe_update_shipment_tracking( $label ) {
105
- // Add tracking id to shipment
106
- if ( ( $shipment = $label->get_shipment() ) && $label->get_number() ) {
107
- $shipment->set_tracking_id( $label->get_number() );
108
- $shipment->save();
109
- }
110
- }
111
-
112
  public static function update_label( $label ) {
113
  try {
114
  Package::get_api()->get_label( $label );
115
- self::maybe_update_shipment_tracking( $label );
116
  } catch( Exception $e ) {
117
  throw new Exception( nl2br( $e->getMessage() ) );
118
  }
@@ -121,7 +74,6 @@ class LabelWatcher {
121
  public static function update_return_label( $label ) {
122
  try {
123
  Package::get_api()->get_return_label( $label );
124
- self::maybe_update_shipment_tracking( $label );
125
  } catch( Exception $e ) {
126
  throw new Exception( nl2br( $e->getMessage() ) );
127
  }
@@ -130,21 +82,6 @@ class LabelWatcher {
130
  public static function delete_label( $label_id, $label ) {
131
  try {
132
  Package::get_api()->delete_label( $label );
133
- self::delete_shipment_tracking( $label );
134
  } catch( Exception $e ) {}
135
  }
136
-
137
- protected static function delete_shipment_tracking( $label ) {
138
- // Remove shipment data
139
- if ( ( $shipment = $label->get_shipment() ) ) {
140
- $shipment->set_tracking_id( '' );
141
- $shipment->save();
142
- }
143
- }
144
-
145
- public static function deleted_shipment( $shipment_id, $shipment ) {
146
- if ( $label = wc_gzd_dhl_get_shipment_label( $shipment_id ) ) {
147
- $label->delete( true );
148
- }
149
- }
150
  }
29
  // Delete label
30
  add_action( 'woocommerce_gzd_dhl_label_deleted', array( __CLASS__, 'delete_label' ), 10, 2 );
31
 
 
 
 
 
 
 
 
 
32
  // Sync shipment items
33
  add_action( 'woocommerce_gzd_shipment_item_synced', array( __CLASS__, 'sync_item_meta' ), 10, 3 );
34
  }
35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  /**
37
  * @param ShipmentItem $item
38
  * @param WC_Order_Item $order_item
50
  public static function create_label( $label ) {
51
  try {
52
  Package::get_api()->get_label( $label );
 
53
  } catch( Exception $e ) {
54
  throw new Exception( nl2br( $e->getMessage() ) );
55
  }
58
  public static function create_return_label( $label ) {
59
  try {
60
  Package::get_api()->get_return_label( $label );
 
61
  } catch( Exception $e ) {
62
  throw new Exception( nl2br( $e->getMessage() ) );
63
  }
64
  }
65
 
 
 
 
 
 
 
 
 
66
  public static function update_label( $label ) {
67
  try {
68
  Package::get_api()->get_label( $label );
 
69
  } catch( Exception $e ) {
70
  throw new Exception( nl2br( $e->getMessage() ) );
71
  }
74
  public static function update_return_label( $label ) {
75
  try {
76
  Package::get_api()->get_return_label( $label );
 
77
  } catch( Exception $e ) {
78
  throw new Exception( nl2br( $e->getMessage() ) );
79
  }
82
  public static function delete_label( $label_id, $label ) {
83
  try {
84
  Package::get_api()->delete_label( $label );
 
85
  } catch( Exception $e ) {}
86
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  }
packages/woocommerce-germanized-dhl/src/Package.php CHANGED
@@ -20,7 +20,7 @@ class Package {
20
  *
21
  * @var string
22
  */
23
- const VERSION = '1.1.2';
24
 
25
  public static $upload_dir_suffix = '';
26
 
@@ -193,8 +193,6 @@ class Package {
193
  ParcelServices::init();
194
  }
195
 
196
- Ajax::init();
197
- Emails::init();
198
  ShipmentLabelWatcher::init();
199
  LabelWatcher::init();
200
  Automation::init();
@@ -207,7 +205,7 @@ class Package {
207
  add_filter( 'woocommerce_gzd_shipping_provider_method_admin_settings', array( __CLASS__, 'add_shipping_provider_settings' ), 10, 1 );
208
  add_filter( 'woocommerce_gzd_shipping_provider_method_clean_settings', array( __CLASS__, 'clean_shipping_provider_settings' ), 10, 2 );
209
 
210
- // Filter email templates
211
  add_filter( 'woocommerce_gzd_default_plugin_template', array( __CLASS__, 'filter_templates' ), 10, 3 );
212
 
213
  // Maybe force street number during checkout
20
  *
21
  * @var string
22
  */
23
+ const VERSION = '1.2.0';
24
 
25
  public static $upload_dir_suffix = '';
26
 
193
  ParcelServices::init();
194
  }
195
 
 
 
196
  ShipmentLabelWatcher::init();
197
  LabelWatcher::init();
198
  Automation::init();
205
  add_filter( 'woocommerce_gzd_shipping_provider_method_admin_settings', array( __CLASS__, 'add_shipping_provider_settings' ), 10, 1 );
206
  add_filter( 'woocommerce_gzd_shipping_provider_method_clean_settings', array( __CLASS__, 'clean_shipping_provider_settings' ), 10, 2 );
207
 
208
+ // Filter templates
209
  add_filter( 'woocommerce_gzd_default_plugin_template', array( __CLASS__, 'filter_templates' ), 10, 3 );
210
 
211
  // Maybe force street number during checkout
packages/woocommerce-germanized-dhl/src/ParcelLocator.php CHANGED
@@ -502,7 +502,7 @@ class ParcelLocator {
502
 
503
  foreach( $rates as $rate ) {
504
 
505
- if ( $method = wc_gzd_dhl_get_shipping_method( $rate->id ) ) {
506
  $supports = array();
507
 
508
  foreach( wc_gzd_dhl_get_pickup_types() as $pickup_type => $title ) {
@@ -660,7 +660,11 @@ class ParcelLocator {
660
  }
661
 
662
  public static function localize_printed_scripts() {
663
- if ( ! in_array( 'wc-gzd-parcel-locator-dhl', self::$localized_scripts, true ) && wp_script_is( 'wc-gzd-parcel-locator-dhl' ) ) {
 
 
 
 
664
  self::$localized_scripts[] = 'wc-gzd-parcel-locator-dhl';
665
 
666
  wp_localize_script( 'wc-gzd-parcel-locator-dhl', 'wc_gzd_dhl_parcel_locator_params', array(
502
 
503
  foreach( $rates as $rate ) {
504
 
505
+ if ( $method = wc_gzd_dhl_get_shipping_method( $rate ) ) {
506
  $supports = array();
507
 
508
  foreach( wc_gzd_dhl_get_pickup_types() as $pickup_type => $title ) {
660
  }
661
 
662
  public static function localize_printed_scripts() {
663
+ /**
664
+ * Do not check for localized script as this script needs to be loadeed in footer to make sure
665
+ * that shipping method data (packages etc.) exist. This may lead to duplicate localizations (which is not a bug).
666
+ */
667
+ if ( wp_script_is( 'wc-gzd-parcel-locator-dhl' ) ) {
668
  self::$localized_scripts[] = 'wc-gzd-parcel-locator-dhl';
669
 
670
  wp_localize_script( 'wc-gzd-parcel-locator-dhl', 'wc_gzd_dhl_parcel_locator_params', array(
packages/woocommerce-germanized-dhl/src/ReturnLabel.php CHANGED
@@ -25,7 +25,6 @@ class ReturnLabel extends Label implements ShipmentReturnLabel {
25
  'parent_id' => 0,
26
  'sender_address' => array(),
27
  'receiver_slug' => '',
28
- 'is_email_sent' => false,
29
  );
30
 
31
  protected function get_hook_prefix() {
@@ -40,38 +39,6 @@ class ReturnLabel extends Label implements ShipmentReturnLabel {
40
  return $this->get_prop( 'parent_id', $context );
41
  }
42
 
43
- public function get_is_email_sent( $context = 'view' ) {
44
- return $this->get_prop( 'is_email_sent', $context );
45
- }
46
-
47
- public function is_email_sent() {
48
- return true === $this->get_is_email_sent();
49
- }
50
-
51
- public function send_to_customer( $force = false ) {
52
- $emails = WC()->mailer()->emails;
53
-
54
- if ( ! $force && $this->is_email_sent() ) {
55
- return false;
56
- }
57
-
58
- // Label does not exist
59
- if ( ! $file = $this->get_file() ) {
60
- return false;
61
- }
62
-
63
- if ( isset( $emails['WC_GZD_DHL_Email_Customer_Return_Shipment_Label'] ) ) {
64
- $emails['WC_GZD_DHL_Email_Customer_Return_Shipment_Label']->trigger( $this );
65
-
66
- $this->set_is_email_sent( true );
67
- $this->save();
68
-
69
- return true;
70
- }
71
-
72
- return false;
73
- }
74
-
75
  public function get_receiver_id() {
76
  $slug = $this->get_receiver_slug();
77
  $id = '';
@@ -186,10 +153,6 @@ class ReturnLabel extends Label implements ShipmentReturnLabel {
186
  $this->set_prop( 'parent_id', absint( $parent_id ) );
187
  }
188
 
189
- public function set_is_email_sent( $is_sent ) {
190
- $this->set_prop( 'is_email_sent', wc_string_to_bool( $is_sent ) );
191
- }
192
-
193
  public function set_receiver_slug( $receiver_slug ) {
194
  $this->set_prop( 'receiver_slug', $receiver_slug );
195
  }
25
  'parent_id' => 0,
26
  'sender_address' => array(),
27
  'receiver_slug' => '',
 
28
  );
29
 
30
  protected function get_hook_prefix() {
39
  return $this->get_prop( 'parent_id', $context );
40
  }
41
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  public function get_receiver_id() {
43
  $slug = $this->get_receiver_slug();
44
  $id = '';
153
  $this->set_prop( 'parent_id', absint( $parent_id ) );
154
  }
155
 
 
 
 
 
156
  public function set_receiver_slug( $receiver_slug ) {
157
  $this->set_prop( 'receiver_slug', $receiver_slug );
158
  }
packages/woocommerce-germanized-dhl/src/ShippingProviderDHL.php CHANGED
@@ -17,10 +17,13 @@ class ShippingProviderDHL extends ShippingProvider {
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 is_activated() {
@@ -28,7 +31,7 @@ class ShippingProviderDHL extends ShippingProvider {
28
  }
29
 
30
  public function get_title( $context = 'view' ) {
31
- return __( 'DHL', 'dhl', 'woocommerce-germanized' );
32
  }
33
 
34
  public function get_name( $context = 'view' ) {
@@ -43,12 +46,16 @@ class ShippingProviderDHL extends ShippingProvider {
43
  return admin_url( 'admin.php?page=wc-settings&tab=germanized-dhl' );
44
  }
45
 
 
 
 
 
46
  public function get_tracking_url_placeholder( $context = 'view' ) {
47
  $data = parent::get_tracking_url_placeholder( $context );
48
 
49
  // In case the option value is not stored in DB yet
50
  if ( 'view' === $context && empty( $data ) ) {
51
- $data = 'https://www.dhl.de/de/privatkunden/pakete-empfangen/verfolgen.html?lang=de&idc={tracking_id}&rfn=&extendedSearch=true';
52
  }
53
 
54
  return $data;
@@ -59,7 +66,7 @@ class ShippingProviderDHL extends ShippingProvider {
59
 
60
  // In case the option value is not stored in DB yet
61
  if ( 'view' === $context && empty( $data ) ) {
62
- $data = _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' );
63
  }
64
 
65
  return $data;
17
  }
18
 
19
  public function supports_labels( $label_type ) {
20
+ $label_types = array( 'simple' );
21
+
22
+ if ( 'yes' === Package::get_setting( 'dhl_label_retoure_enable' ) ) {
23
+ $label_types[] = 'return';
24
+ }
25
+
26
+ return in_array( $label_type, $label_types );
27
  }
28
 
29
  public function is_activated() {
31
  }
32
 
33
  public function get_title( $context = 'view' ) {
34
+ return _x( 'DHL', 'dhl', 'woocommerce-germanized' );
35
  }
36
 
37
  public function get_name( $context = 'view' ) {
46
  return admin_url( 'admin.php?page=wc-settings&tab=germanized-dhl' );
47
  }
48
 
49
+ public function get_default_tracking_url_placeholder() {
50
+ return 'https://www.dhl.de/de/privatkunden/pakete-empfangen/verfolgen.html?lang=de&idc={tracking_id}&rfn=&extendedSearch=true';
51
+ }
52
+
53
  public function get_tracking_url_placeholder( $context = 'view' ) {
54
  $data = parent::get_tracking_url_placeholder( $context );
55
 
56
  // In case the option value is not stored in DB yet
57
  if ( 'view' === $context && empty( $data ) ) {
58
+ $data = $this->get_default_tracking_url_placeholder();
59
  }
60
 
61
  return $data;
66
 
67
  // In case the option value is not stored in DB yet
68
  if ( 'view' === $context && empty( $data ) ) {
69
+ $data = $this->get_default_tracking_desc_placeholder();
70
  }
71
 
72
  return $data;
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.1.2
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.2.0
9
  * Requires PHP: 5.6
10
  * License: GPLv3
11
  *
packages/woocommerce-germanized-shipments/assets/css/admin.css CHANGED
@@ -107,20 +107,26 @@ table.wc-gzd-shipping-providers {
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;
113
  font-size: .9em;
114
- border-radius: 3px; }
115
- .shipment-status.status-draft, .shipment-status.status-processing, .shipment-status.status-partially-shipped, .order-shipping-status.status-draft, .order-shipping-status.status-processing, .order-shipping-status.status-partially-shipped {
 
 
 
116
  background: #f8dda7;
117
  color: #94660c; }
118
- .shipment-status.status-not-shipped, .order-shipping-status.status-not-shipped {
119
  background: #eba3a3;
120
  color: #761919; }
121
- .shipment-status.status-delivered, .shipment-status.status-shipped, .shipment-status.status-shipped, .order-shipping-status.status-delivered, .order-shipping-status.status-shipped, .order-shipping-status.status-shipped {
122
  background: #c6e1c6;
123
  color: #5b841b; }
 
 
 
124
 
125
  .woocommerce_page_wc-gzd-shipments .tablenav .actions, .woocommerce_page_wc-gzd-return-shipments .tablenav .actions {
126
  overflow: visible; }
@@ -274,6 +280,8 @@ table.wc-gzd-shipping-providers {
274
  content: "\f147"; }
275
  .woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.delivered::after, .woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.delivered::after {
276
  content: "\f147"; }
 
 
277
  .woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.generate::after, .woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.generate::after {
278
  content: "\f502"; }
279
  .woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.download::after, .woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.download::after {
@@ -311,6 +319,9 @@ table.wc-gzd-shipping-providers {
311
  #woocommerce-gzd-order-shipments .hndle, #woocommerce-gzd-order-shipments .handlediv {
312
  display: none; }
313
 
 
 
 
314
  .germanized-shipments * {
315
  box-sizing: border-box; }
316
 
@@ -318,6 +329,10 @@ table.wc-gzd-shipping-providers {
318
  padding: 23px 0 0; }
319
  .germanized-shipments #panel-order-shipments .panel-inner {
320
  padding: 0 24px; }
 
 
 
 
321
  .germanized-shipments #panel-order-shipments .panel-title {
322
  margin-bottom: 1.5em; }
323
  .germanized-shipments #panel-order-shipments .panel-title h2 {
@@ -340,14 +355,26 @@ table.wc-gzd-shipping-providers {
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 {
346
  display: none; }
347
  .germanized-shipments #panel-order-shipments.needs-shipments .panel-footer {
348
  display: block; }
349
  .germanized-shipments #panel-order-shipments.needs-shipments #order-shipment-add {
350
  display: block; }
 
 
 
 
351
  .germanized-shipments #panel-order-shipments #order-shipments-list {
352
  margin-bottom: 1.5em; }
353
  .germanized-shipments #panel-order-shipments .delete {
@@ -355,6 +382,8 @@ table.wc-gzd-shipping-providers {
355
  .germanized-shipments #panel-order-shipments .delete:hover {
356
  color: #dc3232;
357
  border: none; }
 
 
358
  .germanized-shipments #panel-order-shipments .order-shipment .handlediv {
359
  display: inline-block;
360
  float: none;
@@ -384,11 +413,18 @@ table.wc-gzd-shipping-providers {
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;
@@ -431,24 +467,30 @@ table.wc-gzd-shipping-providers {
431
  margin: 5px 0; }
432
  .germanized-shipments #panel-order-shipments .order-shipment .columns .column h4 {
433
  margin-bottom: .7em;
434
- text-transform: uppercase;
435
- color: #999;
436
- font-size: .9em; }
437
  .germanized-shipments #panel-order-shipments .order-shipment .columns .column h4 a {
438
  color: #999;
439
  text-decoration: none; }
440
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-action {
441
  text-align: right; }
442
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-quantity input {
443
- width: 100%;
444
- text-align: center;
445
- padding: 0 4px; }
 
 
446
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-heading {
447
  padding: .5em;
448
  color: #999;
449
- background: #f8f8f8; }
 
450
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item {
451
- padding: .7em .5em; }
 
 
 
 
 
452
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item .columns {
453
  -webkit-box-align: center;
454
  align-items: center; }
@@ -457,6 +499,8 @@ table.wc-gzd-shipping-providers {
457
  display: flex;
458
  padding: .7em .5em;
459
  flex-wrap: nowrap;
 
 
460
  border-top: 1px solid #dfdfdf; }
461
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-item-actions .add-items {
462
  margin-right: 1em; }
107
  table.wc-gzd-shipping-providers tr:nth-child(odd) td {
108
  background: #f9f9f9; }
109
 
110
+ .shipment-status, .order-shipping-status, .order-return-status {
111
  background: #eee;
112
  padding: .2em .5em;
113
  font-size: .9em;
114
+ border-radius: 3px;
115
+ display: -webkit-inline-box;
116
+ display: inline-flex;
117
+ white-space: nowrap; }
118
+ .shipment-status.status-draft, .shipment-status.status-processing, .shipment-status.status-requested, .shipment-status.status-partially-shipped, .shipment-status.status-open, .shipment-status.status-partially-returned, .order-shipping-status.status-draft, .order-shipping-status.status-processing, .order-shipping-status.status-requested, .order-shipping-status.status-partially-shipped, .order-shipping-status.status-open, .order-shipping-status.status-partially-returned, .order-return-status.status-draft, .order-return-status.status-processing, .order-return-status.status-requested, .order-return-status.status-partially-shipped, .order-return-status.status-open, .order-return-status.status-partially-returned {
119
  background: #f8dda7;
120
  color: #94660c; }
121
+ .shipment-status.status-not-shipped, .order-shipping-status.status-not-shipped, .order-return-status.status-not-shipped {
122
  background: #eba3a3;
123
  color: #761919; }
124
+ .shipment-status.status-delivered, .shipment-status.status-shipped, .shipment-status.status-shipped, .shipment-status.status-returned, .order-shipping-status.status-delivered, .order-shipping-status.status-shipped, .order-shipping-status.status-shipped, .order-shipping-status.status-returned, .order-return-status.status-delivered, .order-return-status.status-shipped, .order-return-status.status-shipped, .order-return-status.status-returned {
125
  background: #c6e1c6;
126
  color: #5b841b; }
127
+ .shipment-status.shipment-type-return-status.status-shipped, .order-shipping-status.shipment-type-return-status.status-shipped, .order-return-status.shipment-type-return-status.status-shipped {
128
+ background: #f8dda7;
129
+ color: #94660c; }
130
 
131
  .woocommerce_page_wc-gzd-shipments .tablenav .actions, .woocommerce_page_wc-gzd-return-shipments .tablenav .actions {
132
  overflow: visible; }
280
  content: "\f147"; }
281
  .woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.delivered::after, .woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.delivered::after {
282
  content: "\f147"; }
283
+ .woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.confirm::after, .woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.confirm::after {
284
+ content: "\f147"; }
285
  .woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.generate::after, .woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.generate::after {
286
  content: "\f502"; }
287
  .woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.download::after, .woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.download::after {
319
  #woocommerce-gzd-order-shipments .hndle, #woocommerce-gzd-order-shipments .handlediv {
320
  display: none; }
321
 
322
+ #woocommerce-gzd-order-shipments .hide-default {
323
+ display: none; }
324
+
325
  .germanized-shipments * {
326
  box-sizing: border-box; }
327
 
329
  padding: 23px 0 0; }
330
  .germanized-shipments #panel-order-shipments .panel-inner {
331
  padding: 0 24px; }
332
+ .germanized-shipments #panel-order-shipments .panel-title-inner {
333
+ padding-left: 0;
334
+ margin-top: 1em;
335
+ padding-right: 0; }
336
  .germanized-shipments #panel-order-shipments .panel-title {
337
  margin-bottom: 1.5em; }
338
  .germanized-shipments #panel-order-shipments .panel-title h2 {
355
  flex-wrap: nowrap;
356
  -webkit-box-pack: justify;
357
  justify-content: space-between; }
358
+ .germanized-shipments #panel-order-shipments .panel-footer .order-shipments-actions .shipment-actions-left {
359
+ display: -webkit-box;
360
+ display: flex;
361
+ flex-wrap: wrap;
362
+ -webkit-box-pack: start;
363
+ justify-content: flex-start; }
364
+ .germanized-shipments #panel-order-shipments .panel-footer .order-shipments-actions .shipment-actions-left .button {
365
+ margin-right: 1em; }
366
  .germanized-shipments #panel-order-shipments .panel-footer #order-shipments-save {
367
  display: none; }
368
+ .germanized-shipments #panel-order-shipments #order-shipment-add, .germanized-shipments #panel-order-shipments #order-return-shipment-add {
369
  display: none; }
370
  .germanized-shipments #panel-order-shipments.needs-shipments .panel-footer {
371
  display: block; }
372
  .germanized-shipments #panel-order-shipments.needs-shipments #order-shipment-add {
373
  display: block; }
374
+ .germanized-shipments #panel-order-shipments.needs-returns .panel-footer {
375
+ display: block; }
376
+ .germanized-shipments #panel-order-shipments.needs-returns #order-return-shipment-add {
377
+ display: block; }
378
  .germanized-shipments #panel-order-shipments #order-shipments-list {
379
  margin-bottom: 1.5em; }
380
  .germanized-shipments #panel-order-shipments .delete {
382
  .germanized-shipments #panel-order-shipments .delete:hover {
383
  color: #dc3232;
384
  border: none; }
385
+ .germanized-shipments #panel-order-shipments .order-shipment a .woocommerce-help-tip {
386
+ margin-right: 3px; }
387
  .germanized-shipments #panel-order-shipments .order-shipment .handlediv {
388
  display: inline-block;
389
  float: none;
413
  .germanized-shipments #panel-order-shipments .order-shipment .item-count {
414
  margin-right: 1em; }
415
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-footer {
416
+ margin-top: 1em; }
417
+ .germanized-shipments #panel-order-shipments .order-shipment .shipment-footer .shipment-footer-inner {
418
+ display: -webkit-box;
419
+ display: flex;
420
+ flex-wrap: nowrap;
421
+ -webkit-box-pack: end;
422
+ justify-content: flex-end;
423
+ padding: 0 .5em; }
424
+ .germanized-shipments #panel-order-shipments .order-shipment .shipment-footer .shipment-footer-inner a.shipment-footer-action {
425
+ margin-right: 1em; }
426
+ .germanized-shipments #panel-order-shipments .order-shipment .shipment-footer .shipment-footer-inner a.shipment-footer-action:last-child {
427
+ margin-right: 0; }
428
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-header {
429
  color: #999;
430
  background: #f8f8f8;
467
  margin: 5px 0; }
468
  .germanized-shipments #panel-order-shipments .order-shipment .columns .column h4 {
469
  margin-bottom: .7em;
470
+ color: #999; }
 
 
471
  .germanized-shipments #panel-order-shipments .order-shipment .columns .column h4 a {
472
  color: #999;
473
  text-decoration: none; }
474
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-action {
475
  text-align: right; }
476
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-quantity input {
477
+ width: 50px;
478
+ text-align: center; }
479
+ .germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-name p.form-row {
480
+ margin-bottom: 0;
481
+ margin-top: .5em; }
482
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-heading {
483
  padding: .5em;
484
  color: #999;
485
+ background: #f8f8f8;
486
+ font-weight: 600; }
487
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item {
488
+ padding: .5em;
489
+ border-bottom: 1px solid #dfdfdf; }
490
+ .germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item:last-child {
491
+ border-bottom: none; }
492
+ .germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item:nth-child(2n) {
493
+ background: #f8f8f8; }
494
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item .columns {
495
  -webkit-box-align: center;
496
  align-items: center; }
499
  display: flex;
500
  padding: .7em .5em;
501
  flex-wrap: nowrap;
502
+ -webkit-box-pack: end;
503
+ justify-content: flex-end;
504
  border-top: 1px solid #dfdfdf; }
505
  .germanized-shipments #panel-order-shipments .order-shipment .shipment-item-actions .add-items {
506
  margin-right: 1em; }
packages/woocommerce-germanized-shipments/assets/css/admin.min.css CHANGED
@@ -1 +1 @@
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;font-weight:600}.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}}
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-return-status,.order-shipping-status,.shipment-status{background:#eee;padding:.2em .5em;font-size:.9em;border-radius:3px;display:-webkit-inline-box;display:inline-flex;white-space:nowrap}.order-return-status.status-draft,.order-return-status.status-open,.order-return-status.status-partially-returned,.order-return-status.status-partially-shipped,.order-return-status.status-processing,.order-return-status.status-requested,.order-shipping-status.status-draft,.order-shipping-status.status-open,.order-shipping-status.status-partially-returned,.order-shipping-status.status-partially-shipped,.order-shipping-status.status-processing,.order-shipping-status.status-requested,.shipment-status.status-draft,.shipment-status.status-open,.shipment-status.status-partially-returned,.shipment-status.status-partially-shipped,.shipment-status.status-processing,.shipment-status.status-requested{background:#f8dda7;color:#94660c}.order-return-status.status-not-shipped,.order-shipping-status.status-not-shipped,.shipment-status.status-not-shipped{background:#eba3a3;color:#761919}.order-return-status.status-delivered,.order-return-status.status-returned,.order-return-status.status-shipped,.order-shipping-status.status-delivered,.order-shipping-status.status-returned,.order-shipping-status.status-shipped,.shipment-status.status-delivered,.shipment-status.status-returned,.shipment-status.status-shipped{background:#c6e1c6;color:#5b841b}.order-return-status.shipment-type-return-status.status-shipped,.order-shipping-status.shipment-type-return-status.status-shipped,.shipment-status.shipment-type-return-status.status-shipped{background:#f8dda7;color:#94660c}.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.confirm::after,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.confirm::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}#woocommerce-gzd-order-shipments .hide-default{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-inner{padding-left:0;margin-top:1em;padding-right:0}.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-actions .shipment-actions-left{display:-webkit-box;display:flex;flex-wrap:wrap;-webkit-box-pack:start;justify-content:flex-start}.germanized-shipments #panel-order-shipments .panel-footer .order-shipments-actions .shipment-actions-left .button{margin-right:1em}.germanized-shipments #panel-order-shipments .panel-footer #order-shipments-save{display:none}.germanized-shipments #panel-order-shipments #order-return-shipment-add,.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.needs-returns .panel-footer{display:block}.germanized-shipments #panel-order-shipments.needs-returns #order-return-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 a .woocommerce-help-tip{margin-right:3px}.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{margin-top:1em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-footer .shipment-footer-inner{display:-webkit-box;display:flex;flex-wrap:nowrap;-webkit-box-pack:end;justify-content:flex-end;padding:0 .5em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-footer .shipment-footer-inner a.shipment-footer-action{margin-right:1em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-footer .shipment-footer-inner a.shipment-footer-action:last-child{margin-right:0}.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;font-weight:600}.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;color:#999}.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:50px;text-align:center}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-name p.form-row{margin-bottom:0;margin-top:.5em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-heading{padding:.5em;color:#999;background:#f8f8f8;font-weight:600}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item{padding:.5em;border-bottom:1px solid #dfdfdf}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item:last-child{border-bottom:none}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item:nth-child(2n){background:#f8f8f8}.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;-webkit-box-pack:end;justify-content:flex-end;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
@@ -148,13 +148,15 @@ table.wc-gzd-shipping-providers {
148
  }
149
  }
150
 
151
- .shipment-status, .order-shipping-status {
152
  background: #eee;
153
  padding: .2em .5em;
154
  font-size: .9em;
155
  border-radius: 3px;
 
 
156
 
157
- &.status-draft, &.status-processing, &.status-partially-shipped {
158
  background: #f8dda7;
159
  color: #94660c;
160
  }
@@ -164,10 +166,15 @@ table.wc-gzd-shipping-providers {
164
  color: #761919;
165
  }
166
 
167
- &.status-delivered, &.status-shipped, &.status-shipped {
168
  background: #c6e1c6;
169
  color: #5b841b;
170
  }
 
 
 
 
 
171
  }
172
 
173
  .woocommerce_page_wc-gzd-shipments, .woocommerce_page_wc-gzd-return-shipments {
@@ -394,6 +401,10 @@ table.wc-gzd-shipping-providers {
394
  content: "\f147";
395
  }
396
 
 
 
 
 
397
  &.generate::after {
398
  content: "\f502";
399
  }
@@ -468,6 +479,10 @@ table.wc-gzd-shipping-providers {
468
  .hndle, .handlediv {
469
  display: none;
470
  }
 
 
 
 
471
  }
472
 
473
  .germanized-shipments {
@@ -482,6 +497,12 @@ table.wc-gzd-shipping-providers {
482
  padding: 0 24px;
483
  }
484
 
 
 
 
 
 
 
485
  .panel-title {
486
  h2 {
487
  margin: 0;
@@ -507,6 +528,16 @@ table.wc-gzd-shipping-providers {
507
  display: flex;
508
  flex-wrap: nowrap;
509
  justify-content: space-between;
 
 
 
 
 
 
 
 
 
 
510
  }
511
 
512
  #order-shipments-save {
@@ -514,7 +545,7 @@ table.wc-gzd-shipping-providers {
514
  }
515
  }
516
 
517
- #order-shipment-add {
518
  display: none;
519
  }
520
 
@@ -527,6 +558,15 @@ table.wc-gzd-shipping-providers {
527
  }
528
  }
529
 
 
 
 
 
 
 
 
 
 
530
  #order-shipments-list {
531
  margin-bottom: 1.5em;
532
  }
@@ -541,6 +581,11 @@ table.wc-gzd-shipping-providers {
541
  }
542
 
543
  .order-shipment {
 
 
 
 
 
544
  .handlediv {
545
  display: inline-block;
546
  float: none;
@@ -594,9 +639,22 @@ table.wc-gzd-shipping-providers {
594
  }
595
 
596
  .shipment-footer {
597
- display: flex;
598
- flex-wrap: nowrap;
599
- justify-content: flex-end;
 
 
 
 
 
 
 
 
 
 
 
 
 
600
  }
601
 
602
  .shipment-header {
@@ -677,9 +735,7 @@ table.wc-gzd-shipping-providers {
677
 
678
  h4 {
679
  margin-bottom: .7em;
680
- text-transform: uppercase;
681
  color: #999;
682
- font-size: .9em;
683
 
684
  a {
685
  color: #999;
@@ -689,6 +745,10 @@ table.wc-gzd-shipping-providers {
689
  }
690
  }
691
 
 
 
 
 
692
  .shipment-items {
693
  .shipment-item-list-wrapper {
694
  .shipment-item-action {
@@ -697,9 +757,15 @@ table.wc-gzd-shipping-providers {
697
 
698
  .shipment-item-quantity {
699
  input {
700
- width: 100%;
701
  text-align: center;
702
- padding: 0 4px;
 
 
 
 
 
 
703
  }
704
  }
705
 
@@ -707,10 +773,20 @@ table.wc-gzd-shipping-providers {
707
  padding: .5em;
708
  color: #999;
709
  background: #f8f8f8;
 
710
  }
711
 
712
  .shipment-item {
713
- padding: .7em .5em;
 
 
 
 
 
 
 
 
 
714
 
715
  .columns {
716
  align-items: center;
@@ -723,6 +799,7 @@ table.wc-gzd-shipping-providers {
723
  display: flex;
724
  padding: .7em .5em;
725
  flex-wrap: nowrap;
 
726
  border-top: 1px solid #dfdfdf;
727
 
728
  .add-items {
148
  }
149
  }
150
 
151
+ .shipment-status, .order-shipping-status, .order-return-status {
152
  background: #eee;
153
  padding: .2em .5em;
154
  font-size: .9em;
155
  border-radius: 3px;
156
+ display: inline-flex;
157
+ white-space: nowrap;
158
 
159
+ &.status-draft, &.status-processing, &.status-requested, &.status-partially-shipped, &.status-open, &.status-partially-returned {
160
  background: #f8dda7;
161
  color: #94660c;
162
  }
166
  color: #761919;
167
  }
168
 
169
+ &.status-delivered, &.status-shipped, &.status-shipped, &.status-returned {
170
  background: #c6e1c6;
171
  color: #5b841b;
172
  }
173
+
174
+ &.shipment-type-return-status.status-shipped {
175
+ background: #f8dda7;
176
+ color: #94660c;
177
+ }
178
  }
179
 
180
  .woocommerce_page_wc-gzd-shipments, .woocommerce_page_wc-gzd-return-shipments {
401
  content: "\f147";
402
  }
403
 
404
+ &.confirm::after {
405
+ content: "\f147";
406
+ }
407
+
408
  &.generate::after {
409
  content: "\f502";
410
  }
479
  .hndle, .handlediv {
480
  display: none;
481
  }
482
+
483
+ .hide-default {
484
+ display: none;
485
+ }
486
  }
487
 
488
  .germanized-shipments {
497
  padding: 0 24px;
498
  }
499
 
500
+ .panel-title-inner {
501
+ padding-left: 0;
502
+ margin-top: 1em;
503
+ padding-right: 0;
504
+ }
505
+
506
  .panel-title {
507
  h2 {
508
  margin: 0;
528
  display: flex;
529
  flex-wrap: nowrap;
530
  justify-content: space-between;
531
+
532
+ .shipment-actions-left {
533
+ display: flex;
534
+ flex-wrap: wrap;
535
+ justify-content: flex-start;
536
+
537
+ .button {
538
+ margin-right: 1em;
539
+ }
540
+ }
541
  }
542
 
543
  #order-shipments-save {
545
  }
546
  }
547
 
548
+ #order-shipment-add, #order-return-shipment-add {
549
  display: none;
550
  }
551
 
558
  }
559
  }
560
 
561
+ &.needs-returns {
562
+ .panel-footer {
563
+ display: block;
564
+ }
565
+ #order-return-shipment-add {
566
+ display: block;
567
+ }
568
+ }
569
+
570
  #order-shipments-list {
571
  margin-bottom: 1.5em;
572
  }
581
  }
582
 
583
  .order-shipment {
584
+ a {
585
+ .woocommerce-help-tip {
586
+ margin-right: 3px;
587
+ }
588
+ }
589
  .handlediv {
590
  display: inline-block;
591
  float: none;
639
  }
640
 
641
  .shipment-footer {
642
+ margin-top: 1em;
643
+
644
+ .shipment-footer-inner {
645
+ display: flex;
646
+ flex-wrap: nowrap;
647
+ justify-content: flex-end;
648
+ padding: 0 .5em;
649
+
650
+ a.shipment-footer-action {
651
+ margin-right: 1em;
652
+
653
+ &:last-child {
654
+ margin-right: 0;
655
+ }
656
+ }
657
+ }
658
  }
659
 
660
  .shipment-header {
735
 
736
  h4 {
737
  margin-bottom: .7em;
 
738
  color: #999;
 
739
 
740
  a {
741
  color: #999;
745
  }
746
  }
747
 
748
+ .column-shipment-documents {
749
+
750
+ }
751
+
752
  .shipment-items {
753
  .shipment-item-list-wrapper {
754
  .shipment-item-action {
757
 
758
  .shipment-item-quantity {
759
  input {
760
+ width: 50px;
761
  text-align: center;
762
+ }
763
+ }
764
+
765
+ .shipment-item-name {
766
+ p.form-row {
767
+ margin-bottom: 0;
768
+ margin-top: .5em;
769
  }
770
  }
771
 
773
  padding: .5em;
774
  color: #999;
775
  background: #f8f8f8;
776
+ font-weight: 600;
777
  }
778
 
779
  .shipment-item {
780
+ padding: .5em;
781
+ border-bottom: 1px solid #dfdfdf;
782
+
783
+ &:last-child {
784
+ border-bottom: none;
785
+ }
786
+
787
+ &:nth-child(2n) {
788
+ background: #f8f8f8;
789
+ }
790
 
791
  .columns {
792
  align-items: center;
799
  display: flex;
800
  padding: .7em .5em;
801
  flex-wrap: nowrap;
802
+ justify-content: flex-end;
803
  border-top: 1px solid #dfdfdf;
804
 
805
  .add-items {
packages/woocommerce-germanized-shipments/assets/js/admin-shipment.js CHANGED
@@ -14,7 +14,6 @@ window.germanized.admin = window.germanized.admin || {};
14
  params : {},
15
  id : '',
16
  isEditable : true,
17
- isReturnable : true,
18
  needsItems : true
19
  };
20
 
@@ -44,7 +43,6 @@ window.germanized.admin = window.germanized.admin || {};
44
 
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();
@@ -61,19 +59,32 @@ window.germanized.admin = window.germanized.admin || {};
61
  .on( 'click', 'a.sync-shipment-items', this.onSyncItems.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();
@@ -184,22 +195,6 @@ window.germanized.admin = window.germanized.admin || {};
184
  this.getShipment().find( '#shipment-height-' + this.getId() ).attr( 'placeholder', height );
185
  };
186
 
187
- this.setIsReturnable = function( isReturnable ) {
188
- var root = this;
189
-
190
- if ( typeof isReturnable !== "boolean" ) {
191
- isReturnable = true;
192
- }
193
-
194
- this.vars.isReturnable = isReturnable === true;
195
-
196
- if ( ! this.vars.isReturnable ) {
197
- this.getShipment().removeClass( 'is-returnable' );
198
- } else {
199
- this.getShipment().addClass( 'is-returnable' );
200
- }
201
- };
202
-
203
  this.setIsEditable = function( isEditable ) {
204
  var root = this;
205
 
@@ -281,15 +276,6 @@ window.germanized.admin = window.germanized.admin || {};
281
  return false;
282
  };
283
 
284
- this.onAddReturn = function() {
285
-
286
- this.getShipment().WCBackboneModal({
287
- template: 'wc-gzd-modal-add-shipment-return-' + this.getId()
288
- });
289
-
290
- return false;
291
- };
292
-
293
  this.addItem = function( orderItemId, quantity ) {
294
  quantity = quantity || 1;
295
 
@@ -441,24 +427,6 @@ window.germanized.admin = window.germanized.admin || {};
441
  });
442
  },
443
 
444
- onAddReturnSuccess: function( data ) {
445
- $( '#wc-gzd-return-shipment-items' ).html( data.html );
446
- $( '.wc-backbone-modal-content article' ).unblock();
447
-
448
- $( document.body ).on( 'change', 'input.wc-gzd-shipment-add-return-item-quantity', function() {
449
- var item_id = $select.val(),
450
- quantity = $( this ).val();
451
-
452
- if ( $quantity.data( 'max-quantity-' + item_id ) ) {
453
- var maxQuantity = $quantity.data( 'max-quantity-' + item_id );
454
-
455
- if ( quantity > maxQuantity ) {
456
- $quantity.val( maxQuantity );
457
- }
458
- }
459
- });
460
- },
461
-
462
  init: function ( e, target ) {
463
  var id = this.getId();
464
 
@@ -473,25 +441,10 @@ window.germanized.admin = window.germanized.admin || {};
473
  });
474
 
475
  germanized.admin.shipments.doAjax( {
476
- 'action' : 'woocommerce_gzd_get_shipment_available_items',
477
  'shipment_id': id
478
  }, this.backbone.onAddItemSuccess.bind( this ) );
479
 
480
- return false;
481
- } else if( ( 'wc-gzd-modal-add-shipment-return-' + id ) === target ) {
482
- $( '.wc-backbone-modal-content article' ).block({
483
- message: null,
484
- overlayCSS: {
485
- background: '#fff',
486
- opacity: 0.6
487
- }
488
- });
489
-
490
- germanized.admin.shipments.doAjax( {
491
- 'action' : 'woocommerce_gzd_get_shipment_available_return_items',
492
- 'shipment_id': id
493
- }, this.backbone.onAddReturnSuccess.bind( this ) );
494
-
495
  return false;
496
  }
497
  },
@@ -501,8 +454,6 @@ window.germanized.admin = window.germanized.admin || {};
501
 
502
  if ( ( 'wc-gzd-modal-add-shipment-item-' + id ) === target ) {
503
  this.addItem( data.item_id, data.item_qty );
504
- } else if( ( 'wc-gzd-modal-add-shipment-return-' + id ) === target ) {
505
- this.addReturn( data );
506
  }
507
  }
508
  };
14
  params : {},
15
  id : '',
16
  isEditable : true,
 
17
  needsItems : true
18
  };
19
 
43
 
44
  this.setNeedsItems( this.vars.$shipment.hasClass( 'needs-items' ) );
45
  this.setIsEditable( this.vars.$shipment.hasClass( 'is-editable' ) );
 
46
  this.onChangeProvider();
47
 
48
  $( '#shipment-' + this.vars.id + ' #shipment-items-' + this.vars.id ).off();
59
  .on( 'click', 'a.sync-shipment-items', this.onSyncItems.bind( this ) );
60
 
61
  $( '#shipment-' + this.vars.id + ' #shipment-footer-' + this.vars.id )
62
+ .on( 'click', '.send-return-shipment-notification', this.onSendReturnNotification.bind( this ) )
63
+ .on( 'click', '.confirm-return-shipment', this.onConfirmReturnRequest.bind( this ) );
64
 
65
  $( '#shipment-' + this.vars.id + ' .wc-gzd-shipment-label' )
66
  .on( 'click', '.create-shipment-label:not(.disabled)', this.onCreateLabel.bind( this ) )
 
67
  .on( 'click', '.remove-shipment-label', this.onRemoveLabel.bind( this ) );
68
  };
69
 
70
+ this.onSendReturnNotification = function() {
71
  var params = {
72
+ 'action' : 'woocommerce_gzd_send_return_shipment_notification_email',
73
  'shipment_id' : this.getId(),
74
+ 'security' : germanized.admin.shipments.getParams().send_return_notification_nonce
75
+ };
76
+
77
+ this.block();
78
+ germanized.admin.shipments.doAjax( params, this.unblock.bind( this ), this.unblock.bind( this ) );
79
+
80
+ return false;
81
+ };
82
+
83
+ this.onConfirmReturnRequest = function() {
84
+ var params = {
85
+ 'action' : 'woocommerce_gzd_confirm_return_request',
86
+ 'shipment_id' : this.getId(),
87
+ 'security' : germanized.admin.shipments.getParams().confirm_return_request_nonce
88
  };
89
 
90
  this.block();
195
  this.getShipment().find( '#shipment-height-' + this.getId() ).attr( 'placeholder', height );
196
  };
197
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
198
  this.setIsEditable = function( isEditable ) {
199
  var root = this;
200
 
276
  return false;
277
  };
278
 
 
 
 
 
 
 
 
 
 
279
  this.addItem = function( orderItemId, quantity ) {
280
  quantity = quantity || 1;
281
 
427
  });
428
  },
429
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
430
  init: function ( e, target ) {
431
  var id = this.getId();
432
 
441
  });
442
 
443
  germanized.admin.shipments.doAjax( {
444
+ 'action' : 'woocommerce_gzd_get_available_shipment_items',
445
  'shipment_id': id
446
  }, this.backbone.onAddItemSuccess.bind( this ) );
447
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
448
  return false;
449
  }
450
  },
454
 
455
  if ( ( 'wc-gzd-modal-add-shipment-item-' + id ) === target ) {
456
  this.addItem( data.item_id, data.item_qty );
 
 
457
  }
458
  }
459
  };
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")),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);
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,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.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",".send-return-shipment-notification",this.onSendReturnNotification.bind(this)).on("click",".confirm-return-shipment",this.onConfirmReturnRequest.bind(this)),h("#shipment-"+this.vars.id+" .wc-gzd-shipment-label").on("click",".create-shipment-label:not(.disabled)",this.onCreateLabel.bind(this)).on("click",".remove-shipment-label",this.onRemoveLabel.bind(this))},this.onSendReturnNotification=function(){var t={action:"woocommerce_gzd_send_return_shipment_notification_email",shipment_id:this.getId(),security:germanized.admin.shipments.getParams().send_return_notification_nonce};return this.block(),germanized.admin.shipments.doAjax(t,this.unblock.bind(this),this.unblock.bind(this)),!1},this.onConfirmReturnRequest=function(){var t={action:"woocommerce_gzd_confirm_return_request",shipment_id:this.getId(),security:germanized.admin.shipments.getParams().confirm_return_request_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.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.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)}})},init:function(t,i){var e=this.getId();if("wc-gzd-modal-add-shipment-item-"+e===i)return h(".wc-backbone-modal-content article").block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),germanized.admin.shipments.doAjax({action:"woocommerce_gzd_get_available_shipment_items",shipment_id:e},this.backbone.onAddItemSuccess.bind(this)),!1},response:function(t,i,e){"wc-gzd-modal-add-shipment-item-"+this.getId()===i&&this.addItem(e.item_id,e.item_qty)}},this.construct(t)}}(jQuery,window.germanized.admin);
packages/woocommerce-germanized-shipments/assets/js/admin-shipments.js CHANGED
@@ -13,12 +13,14 @@ window.germanized.admin = window.germanized.admin || {};
13
  $wrapper: false,
14
  needsSaving: false,
15
  needsShipments: true,
 
16
 
17
  init: function() {
18
  var self = germanized.admin.shipments;
19
  self.params = wc_gzd_admin_shipments_params;
20
  self.$wrapper = $( '#panel-order-shipments' );
21
  self.needsShipments = self.$wrapper.find( '#order-shipment-add' ).is( ':visible' );
 
22
 
23
  self.initShipments();
24
 
@@ -29,9 +31,14 @@ window.germanized.admin = window.germanized.admin || {};
29
  .on( 'click', '#order-shipments-list .shipment-header', self.onToggleShipment )
30
  .on( 'change', '#order-shipments-list :input:visible', self.setNeedsSaving )
31
  .on( 'click', '#panel-order-shipments #order-shipment-add', self.onAddShipment )
 
32
  .on( 'click', '#panel-order-shipments .remove-shipment', self.onRemoveShipment )
33
  .on( 'click', '#panel-order-shipments button#order-shipments-save', self.onSave )
34
  .on( 'click', '#panel-order-shipments .notice-dismiss', self.onRemoveNotice );
 
 
 
 
35
  },
36
 
37
  onAjaxComplete: function( e, jqXHR, settings ) {
@@ -229,13 +236,16 @@ window.germanized.admin = window.germanized.admin || {};
229
  self.setNeedsShipments( data.order_needs_new_shipments );
230
  }
231
 
 
 
 
 
232
  var shipmentData = data.hasOwnProperty( 'shipments' ) ? data.shipments : {};
233
 
234
  $.each( self.getShipments(), function( shipmentId, shipment ) {
235
 
236
  if ( shipmentData.hasOwnProperty( shipmentId ) ) {
237
  shipment.setIsEditable( shipmentData[ shipmentId ].is_editable );
238
- shipment.setIsReturnable( shipmentData[ shipmentId ].is_returnable );
239
  shipment.setNeedsItems( shipmentData[ shipmentId ].needs_items );
240
  shipment.setWeight( shipmentData[ shipmentId ].weight );
241
  shipment.setLength( shipmentData[ shipmentId ].length );
@@ -263,6 +273,7 @@ window.germanized.admin = window.germanized.admin || {};
263
  },
264
  error: function( data ) {
265
  cError.apply( $wrapper, [ data ] );
 
266
  },
267
  dataType: 'json'
268
  });
@@ -330,14 +341,20 @@ window.germanized.admin = window.germanized.admin || {};
330
  $shipment.find( '.shipment-content-wrapper' ).slideUp( 300, function() {
331
  $shipment.removeClass( 'active' );
332
  $shipment.remove();
 
 
 
333
  });
334
  } else {
335
  $shipment.remove();
 
 
 
336
  }
 
 
 
337
  }
338
-
339
- self.initShipments();
340
- self.unblock();
341
  },
342
 
343
  onRemoveShipmentError: function( data ) {
@@ -372,7 +389,7 @@ window.germanized.admin = window.germanized.admin || {};
372
  self.$wrapper.find( '.order-shipment.active' ).find( '.shipment-content-wrapper' ).slideUp( 300, function() {
373
 
374
  self.$wrapper.find( '.order-shipment.active' ).removeClass( 'active' );
375
- self.$wrapper.find( '#order-shipments-list' ).append( data.new_shipment );
376
 
377
  self.initShipments();
378
 
@@ -381,7 +398,7 @@ window.germanized.admin = window.germanized.admin || {};
381
  self.unblock();
382
  });
383
  } else {
384
- self.$wrapper.find( '#order-shipments-list' ).append( data.new_shipment );
385
  self.initShipments();
386
 
387
  // Init tiptip
@@ -390,13 +407,59 @@ window.germanized.admin = window.germanized.admin || {};
390
  }
391
  },
392
 
 
 
 
 
 
 
 
 
 
 
393
  onAddShipmentError: function( data ) {
394
 
395
  },
396
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
397
  setNeedsSaving: function( needsSaving ) {
398
- var self = germanized.admin.shipments,
399
- $shipment = self.getShipment( self.getActiveShipmentId() ).getShipment();
 
400
 
401
  if ( typeof needsSaving !== "boolean" ) {
402
  needsSaving = true;
@@ -410,6 +473,14 @@ window.germanized.admin = window.germanized.admin || {};
410
  self.$wrapper.find( '#order-shipments-save' ).hide();
411
  }
412
 
 
 
 
 
 
 
 
 
413
  if ( self.needsSaving ) {
414
  self.disableCreateLabel( $shipment );
415
  } else {
@@ -463,10 +534,40 @@ window.germanized.admin = window.germanized.admin || {};
463
  self.hideOrShowFooter();
464
  },
465
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
466
  hideOrShowFooter: function() {
467
  var self = germanized.admin.shipments;
468
 
469
- if ( self.needsSaving || self.needsShipments ) {
470
  self.$wrapper.find( '.panel-footer' ).slideDown( 300 );
471
  } else {
472
  self.$wrapper.find( '.panel-footer' ).slideUp( 300 );
@@ -478,11 +579,7 @@ window.germanized.admin = window.germanized.admin || {};
478
  $shipment = $( this ).parents( '.order-shipment:first' ),
479
  isActive = $shipment.hasClass( 'active' );
480
 
481
- if ( ! $shipment.hasClass( 'shipment-return' ) ) {
482
- self.closeShipments();
483
- } else {
484
- self.closeReturns( $shipment.parents( '.shipment-return-list' ) );
485
- }
486
 
487
  if ( ! isActive ) {
488
  $shipment.find( '> .shipment-content-wrapper' ).slideDown( 300, function() {
@@ -491,14 +588,6 @@ window.germanized.admin = window.germanized.admin || {};
491
  }
492
  },
493
 
494
- closeReturns: function( $wrapper ) {
495
- var self = germanized.admin.shipments;
496
-
497
- $wrapper.find( '.order-shipment.active .shipment-content-wrapper' ).slideUp( 300, function() {
498
- $wrapper.find( '.order-shipment.active' ).removeClass( 'active' );
499
- });
500
- },
501
-
502
  closeShipments: function() {
503
  var self = germanized.admin.shipments;
504
 
@@ -510,11 +599,16 @@ window.germanized.admin = window.germanized.admin || {};
510
  initShipments: function() {
511
  var self = germanized.admin.shipments;
512
 
 
 
 
513
  self.$wrapper.find( '.order-shipment' ).each( function() {
514
  var id = $( this ).data( 'shipment' );
515
 
516
  self.initShipment( id );
517
  });
 
 
518
  },
519
 
520
  getShipments: function() {
@@ -564,6 +658,55 @@ window.germanized.admin = window.germanized.admin || {};
564
  'fadeOut': 50,
565
  'delay': 200
566
  } );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
567
  }
568
  };
569
 
13
  $wrapper: false,
14
  needsSaving: false,
15
  needsShipments: true,
16
+ needsReturns: false,
17
 
18
  init: function() {
19
  var self = germanized.admin.shipments;
20
  self.params = wc_gzd_admin_shipments_params;
21
  self.$wrapper = $( '#panel-order-shipments' );
22
  self.needsShipments = self.$wrapper.find( '#order-shipment-add' ).is( ':visible' );
23
+ self.needsReturns = self.$wrapper.find( '#order-return-shipment-add' ).is( ':visible' );
24
 
25
  self.initShipments();
26
 
31
  .on( 'click', '#order-shipments-list .shipment-header', self.onToggleShipment )
32
  .on( 'change', '#order-shipments-list :input:visible', self.setNeedsSaving )
33
  .on( 'click', '#panel-order-shipments #order-shipment-add', self.onAddShipment )
34
+ .on( 'click', '#panel-order-shipments #order-return-shipment-add', self.onAddReturn )
35
  .on( 'click', '#panel-order-shipments .remove-shipment', self.onRemoveShipment )
36
  .on( 'click', '#panel-order-shipments button#order-shipments-save', self.onSave )
37
  .on( 'click', '#panel-order-shipments .notice-dismiss', self.onRemoveNotice );
38
+
39
+ $( document.body )
40
+ .on( 'wc_backbone_modal_loaded', self.backbone.init )
41
+ .on( 'wc_backbone_modal_response', self.backbone.response );
42
  },
43
 
44
  onAjaxComplete: function( e, jqXHR, settings ) {
236
  self.setNeedsShipments( data.order_needs_new_shipments );
237
  }
238
 
239
+ if ( data.hasOwnProperty( 'order_needs_new_returns' ) ) {
240
+ self.setNeedsReturns( data.order_needs_new_returns );
241
+ }
242
+
243
  var shipmentData = data.hasOwnProperty( 'shipments' ) ? data.shipments : {};
244
 
245
  $.each( self.getShipments(), function( shipmentId, shipment ) {
246
 
247
  if ( shipmentData.hasOwnProperty( shipmentId ) ) {
248
  shipment.setIsEditable( shipmentData[ shipmentId ].is_editable );
 
249
  shipment.setNeedsItems( shipmentData[ shipmentId ].needs_items );
250
  shipment.setWeight( shipmentData[ shipmentId ].weight );
251
  shipment.setLength( shipmentData[ shipmentId ].length );
273
  },
274
  error: function( data ) {
275
  cError.apply( $wrapper, [ data ] );
276
+ self.unblock();
277
  },
278
  dataType: 'json'
279
  });
341
  $shipment.find( '.shipment-content-wrapper' ).slideUp( 300, function() {
342
  $shipment.removeClass( 'active' );
343
  $shipment.remove();
344
+
345
+ self.initShipments();
346
+ self.unblock();
347
  });
348
  } else {
349
  $shipment.remove();
350
+
351
+ self.initShipments();
352
+ self.unblock();
353
  }
354
+ } else {
355
+ self.initShipments();
356
+ self.unblock();
357
  }
 
 
 
358
  },
359
 
360
  onRemoveShipmentError: function( data ) {
389
  self.$wrapper.find( '.order-shipment.active' ).find( '.shipment-content-wrapper' ).slideUp( 300, function() {
390
 
391
  self.$wrapper.find( '.order-shipment.active' ).removeClass( 'active' );
392
+ self.appendNewShipment( data );
393
 
394
  self.initShipments();
395
 
398
  self.unblock();
399
  });
400
  } else {
401
+ self.appendNewShipment( data );
402
  self.initShipments();
403
 
404
  // Init tiptip
407
  }
408
  },
409
 
410
+ appendNewShipment: function( data ) {
411
+ var self = germanized.admin.shipments;
412
+
413
+ if ( 'simple' === data['new_shipment_type'] && self.$wrapper.find( '.panel-order-return-title' ).length > 0 ) {
414
+ self.$wrapper.find( '.panel-order-return-title' ).before( data.new_shipment );
415
+ } else {
416
+ self.$wrapper.find( '#order-shipments-list' ).append( data.new_shipment );
417
+ }
418
+ },
419
+
420
  onAddShipmentError: function( data ) {
421
 
422
  },
423
 
424
+ onAddReturn: function() {
425
+
426
+ $( this ).WCBackboneModal({
427
+ template: 'wc-gzd-modal-add-shipment-return'
428
+ });
429
+
430
+ return false;
431
+ },
432
+
433
+ addReturn: function( items ) {
434
+ var self = germanized.admin.shipments;
435
+
436
+ self.block();
437
+
438
+ var params = {
439
+ 'action' : 'woocommerce_gzd_add_return_shipment'
440
+ };
441
+
442
+ $.extend( params, items );
443
+
444
+ self.doAjax( params, self.onAddReturnSuccess, self.onAddReturnError );
445
+ },
446
+
447
+ onAddReturnSuccess: function( data ) {
448
+ var self = germanized.admin.shipments;
449
+
450
+ self.onAddShipmentSuccess( data );
451
+ },
452
+
453
+ onAddReturnError: function( data ) {
454
+ var self = germanized.admin.shipments;
455
+
456
+ self.onAddShipmentError( data );
457
+ },
458
+
459
  setNeedsSaving: function( needsSaving ) {
460
+ var self = germanized.admin.shipments,
461
+ shipmentId = self.getActiveShipmentId(),
462
+ $shipment = shipmentId ? self.getShipment( shipmentId ).getShipment() : false;
463
 
464
  if ( typeof needsSaving !== "boolean" ) {
465
  needsSaving = true;
473
  self.$wrapper.find( '#order-shipments-save' ).hide();
474
  }
475
 
476
+ if ( $shipment ) {
477
+ if ( self.needsSaving ) {
478
+ self.disableCreateLabel( $shipment );
479
+ } else {
480
+ self.enableCreateLabel( $shipment );
481
+ }
482
+ }
483
+
484
  if ( self.needsSaving ) {
485
  self.disableCreateLabel( $shipment );
486
  } else {
534
  self.hideOrShowFooter();
535
  },
536
 
537
+ hideOrShowReturnTitle: function() {
538
+ var self = germanized.admin.shipments;
539
+
540
+ if ( self.$wrapper.find( '.order-shipment.shipment-return' ).length === 0 ) {
541
+ self.$wrapper.find( '.panel-order-return-title' ).addClass( 'hide-default' );
542
+ } else {
543
+ self.$wrapper.find( '.panel-order-return-title' ).removeClass( 'hide-default' );
544
+ }
545
+ },
546
+
547
+ setNeedsReturns: function( needsReturns ) {
548
+ var self = germanized.admin.shipments;
549
+
550
+ if ( typeof needsReturns !== "boolean" ) {
551
+ needsReturns = true;
552
+ }
553
+
554
+ self.needsReturns = needsReturns === true;
555
+
556
+ if ( self.needsReturns ) {
557
+ self.$wrapper.addClass( 'needs-returns' );
558
+ self.$wrapper.find( '#order-return-shipment-add' ).show();
559
+ } else {
560
+ self.$wrapper.removeClass( 'needs-returns' );
561
+ self.$wrapper.find( '#order-return-shipment-add' ).hide();
562
+ }
563
+
564
+ self.hideOrShowFooter();
565
+ },
566
+
567
  hideOrShowFooter: function() {
568
  var self = germanized.admin.shipments;
569
 
570
+ if ( self.needsSaving || self.needsShipments || self.needsReturns ) {
571
  self.$wrapper.find( '.panel-footer' ).slideDown( 300 );
572
  } else {
573
  self.$wrapper.find( '.panel-footer' ).slideUp( 300 );
579
  $shipment = $( this ).parents( '.order-shipment:first' ),
580
  isActive = $shipment.hasClass( 'active' );
581
 
582
+ self.closeShipments();
 
 
 
 
583
 
584
  if ( ! isActive ) {
585
  $shipment.find( '> .shipment-content-wrapper' ).slideDown( 300, function() {
588
  }
589
  },
590
 
 
 
 
 
 
 
 
 
591
  closeShipments: function() {
592
  var self = germanized.admin.shipments;
593
 
599
  initShipments: function() {
600
  var self = germanized.admin.shipments;
601
 
602
+ // Refresh wrapper
603
+ self.$wrapper = $( '#panel-order-shipments' );
604
+
605
  self.$wrapper.find( '.order-shipment' ).each( function() {
606
  var id = $( this ).data( 'shipment' );
607
 
608
  self.initShipment( id );
609
  });
610
+
611
+ self.hideOrShowReturnTitle();
612
  },
613
 
614
  getShipments: function() {
658
  'fadeOut': 50,
659
  'delay': 200
660
  } );
661
+ },
662
+
663
+ backbone: {
664
+
665
+ onAddReturnSuccess: function( data ) {
666
+ $( '#wc-gzd-return-shipment-items' ).html( data.html );
667
+ $( '.wc-backbone-modal-content article' ).unblock();
668
+
669
+ $( document.body ).on( 'change', 'input.wc-gzd-shipment-add-return-item-quantity', function() {
670
+ var $select = $( this ),
671
+ quantity = $select.val();
672
+
673
+ if ( $select.attr( 'max' ) ) {
674
+ var maxQuantity = $select.attr( 'max' );
675
+
676
+ if ( quantity > maxQuantity ) {
677
+ $select.val( maxQuantity );
678
+ }
679
+ }
680
+ });
681
+ },
682
+
683
+ init: function ( e, target ) {
684
+ var self = germanized.admin.shipments;
685
+
686
+ if( ( 'wc-gzd-modal-add-shipment-return' ) === target ) {
687
+ $( '.wc-backbone-modal-content article' ).block({
688
+ message: null,
689
+ overlayCSS: {
690
+ background: '#fff',
691
+ opacity: 0.6
692
+ }
693
+ });
694
+
695
+ self.doAjax( {
696
+ 'action' : 'woocommerce_gzd_get_available_return_shipment_items'
697
+ }, self.backbone.onAddReturnSuccess );
698
+
699
+ return false;
700
+ }
701
+ },
702
+
703
+ response: function ( e, target, data ) {
704
+ var self = germanized.admin.shipments;
705
+
706
+ if( ( 'wc-gzd-modal-add-shipment-return' ) === target ) {
707
+ self.addReturn( data );
708
+ }
709
+ }
710
  }
711
  };
712
 
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,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();"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.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);
1
+ window.germanized=window.germanized||{},window.germanized.admin=window.germanized.admin||{},function(d){window.germanized.admin.shipments={params:{},shipments:{},$wrapper:!1,needsSaving:!1,needsShipments:!0,needsReturns:!1,init:function(){var e=germanized.admin.shipments;e.params=wc_gzd_admin_shipments_params,e.$wrapper=d("#panel-order-shipments"),e.needsShipments=e.$wrapper.find("#order-shipment-add").is(":visible"),e.needsReturns=e.$wrapper.find("#order-return-shipment-add").is(":visible"),e.initShipments(),d(document).ajaxComplete(e.onAjaxComplete),d(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 #order-return-shipment-add",e.onAddReturn).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),d(document.body).on("wc_backbone_modal_loaded",e.backbone.init).on("wc_backbone_modal_response",e.backbone.response)},onAjaxComplete:function(e,n,i){var t=germanized.admin.shipments;if(null!=n&&i.hasOwnProperty("data")){var r=i.data,a=!1;try{a=JSON.parse('{"'+r.replace(/&/g,'","').replace(/=/g,'":"')+'"}',function(e,n){return""===e?n:decodeURIComponent(n)})}catch(e){a=!1}if(a&&a.hasOwnProperty("action")){var s=a.action;"woocommerce_save_order_items"!==s&&"woocommerce_remove_order_item"!==s&&"woocommerce_add_order_item"!==s&&"woocommerce_delete_refund"!==s||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 d.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||{},d.each(n.$wrapper.find(":input[name]").serializeArray(),function(e,n){-1!==n.name.indexOf("[]")?(n.name=n.name.replace("[]",""),i[n.name]=d.makeArray(i[n.name]),i[n.name].push(n.value)):i[n.name]=n.value}),d.extend(i,e),i},doAjax:function(e,n,t){var r=germanized.admin.shipments,i=r.params.ajax_url,a=r.$wrapper,s=!0;a.find(".notice-wrapper").empty(),n=n||r.onAjaxSuccess,t=t||r.onAjaxError,e.hasOwnProperty("refresh_fragments")&&(s=e.refresh_fragments),e.hasOwnProperty("security")||(e.security=r.params.edit_shipments_nonce),e.hasOwnProperty("order_id")||(e.order_id=r.params.order_id),e=r.getData(e),d.ajax({type:"POST",url:i,data:e,success:function(e){if(e.success){s&&e.fragments&&d.each(e.fragments,function(e,n){d(e).replaceWith(n),d(e).unblock()}),n.apply(a,[e]),e.hasOwnProperty("order_needs_new_shipments")&&r.setNeedsShipments(e.order_needs_new_shipments),e.hasOwnProperty("order_needs_new_returns")&&r.setNeedsReturns(e.order_needs_new_returns);var i=e.hasOwnProperty("shipments")?e.shipments:{};d.each(r.getShipments(),function(e,n){i.hasOwnProperty(e)&&(n.setIsEditable(i[e].is_editable),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")&&r.initShipment(e.shipment_id)}else t.apply(a,[e]),r.unblock(),e.hasOwnProperty("message")?r.addNotice(e.message,"error"):e.hasOwnProperty("messages")&&d.each(e.messages,function(e,n){r.addNotice(n,"error")})},error:function(e){t.apply(a,[e]),r.unblock()},dataType:"json"})},onAjaxError:function(e){},onAjaxSuccess:function(e){},onRemoveNotice:function(){d(this).parents(".notice").slideUp(150,function(){d(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=d(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(),n.initShipments(),n.unblock()}):(i.remove(),n.initShipments(),n.unblock()):(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.appendNewShipment(e),n.initShipments(),n.initTiptip(),n.unblock()}):(n.appendNewShipment(e),n.initShipments(),n.initTiptip(),n.unblock())},appendNewShipment:function(e){var n=germanized.admin.shipments;"simple"===e.new_shipment_type&&0<n.$wrapper.find(".panel-order-return-title").length?n.$wrapper.find(".panel-order-return-title").before(e.new_shipment):n.$wrapper.find("#order-shipments-list").append(e.new_shipment)},onAddShipmentError:function(e){},onAddReturn:function(){return d(this).WCBackboneModal({template:"wc-gzd-modal-add-shipment-return"}),!1},addReturn:function(e){var n=germanized.admin.shipments;n.block();var i={action:"woocommerce_gzd_add_return_shipment"};d.extend(i,e),n.doAjax(i,n.onAddReturnSuccess,n.onAddReturnError)},onAddReturnSuccess:function(e){germanized.admin.shipments.onAddShipmentSuccess(e)},onAddReturnError:function(e){germanized.admin.shipments.onAddShipmentError(e)},setNeedsSaving:function(e){var n=germanized.admin.shipments,i=n.getActiveShipmentId(),t=!!i&&n.getShipment(i).getShipment();"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(),t&&(n.needsSaving?n.disableCreateLabel(t):n.enableCreateLabel(t)),n.needsSaving?n.disableCreateLabel(t):n.enableCreateLabel(t),n.hideOrShowFooter(),d(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()},hideOrShowReturnTitle:function(){var e=germanized.admin.shipments;0===e.$wrapper.find(".order-shipment.shipment-return").length?e.$wrapper.find(".panel-order-return-title").addClass("hide-default"):e.$wrapper.find(".panel-order-return-title").removeClass("hide-default")},setNeedsReturns:function(e){var n=germanized.admin.shipments;"boolean"!=typeof e&&(e=!0),n.needsReturns=!0===e,n.needsReturns?(n.$wrapper.addClass("needs-returns"),n.$wrapper.find("#order-return-shipment-add").show()):(n.$wrapper.removeClass("needs-returns"),n.$wrapper.find("#order-return-shipment-add").hide()),n.hideOrShowFooter()},hideOrShowFooter:function(){var e=germanized.admin.shipments;e.needsSaving||e.needsShipments||e.needsReturns?e.$wrapper.find(".panel-footer").slideDown(300):e.$wrapper.find(".panel-footer").slideUp(300)},onToggleShipment:function(){var e=germanized.admin.shipments,n=d(this).parents(".order-shipment:first"),i=n.hasClass("active");e.closeShipments(),i||n.find("> .shipment-content-wrapper").slideDown(300,function(){n.addClass("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=d("#panel-order-shipments"),n.$wrapper.find(".order-shipment").each(function(){var e=d(this).data("shipment");n.initShipment(e)}),n.hideOrShowReturnTitle()},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;d(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})},backbone:{onAddReturnSuccess:function(e){d("#wc-gzd-return-shipment-items").html(e.html),d(".wc-backbone-modal-content article").unblock(),d(document.body).on("change","input.wc-gzd-shipment-add-return-item-quantity",function(){var e=d(this),n=e.val();if(e.attr("max")){var i=e.attr("max");i<n&&e.val(i)}})},init:function(e,n){var i=germanized.admin.shipments;if("wc-gzd-modal-add-shipment-return"===n)return d(".wc-backbone-modal-content article").block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),i.doAjax({action:"woocommerce_gzd_get_available_return_shipment_items"},i.backbone.onAddReturnSuccess),!1},response:function(e,n,i){var t=germanized.admin.shipments;"wc-gzd-modal-add-shipment-return"===n&&t.addReturn(i)}}},d(document).ready(function(){germanized.admin.shipments.init()})}(jQuery);
packages/woocommerce-germanized-shipments/includes/admin/views/{html-order-shipment-add-return-items.php → html-order-add-return-shipment-items.php} RENAMED
@@ -6,10 +6,9 @@
6
  */
7
 
8
  defined( 'ABSPATH' ) || exit;
9
-
10
  ?>
11
 
12
- <?php foreach( $shipment->get_available_items_for_return() as $item_id => $item_data ) : ?>
13
  <tr>
14
  <td><?php echo esc_attr( $item_data['name'] ); ?></td>
15
  <td><input class="wc-gzd-shipment-add-return-item-quantity" type="number" step="1" min="0" max="<?php echo esc_attr( $item_data['max_quantity'] ); ?>" value="<?php echo esc_attr( $item_data['max_quantity'] ); ?>" autocomplete="off" name="return_item[<?php echo esc_attr( $item_id ); ?>]" placeholder="1" size="4" class="quantity" /></td>
6
  */
7
 
8
  defined( 'ABSPATH' ) || exit;
 
9
  ?>
10
 
11
+ <?php foreach( $order_shipment->get_available_items_for_return() as $item_id => $item_data ) : ?>
12
  <tr>
13
  <td><?php echo esc_attr( $item_data['name'] ); ?></td>
14
  <td><input class="wc-gzd-shipment-add-return-item-quantity" type="number" step="1" min="0" max="<?php echo esc_attr( $item_data['max_quantity'] ); ?>" value="<?php echo esc_attr( $item_data['max_quantity'] ); ?>" autocomplete="off" name="return_item[<?php echo esc_attr( $item_id ); ?>]" placeholder="1" size="4" class="quantity" /></td>
packages/woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-content.php CHANGED
@@ -6,6 +6,7 @@
6
  */
7
 
8
  use Vendidero\Germanized\Shipments\Shipment;
 
9
 
10
  defined( 'ABSPATH' ) || exit;
11
 
@@ -39,33 +40,13 @@ defined( 'ABSPATH' ) || exit;
39
  <input type="text" size="6" class="wc_input_decimal" value="<?php echo esc_attr( wc_format_localized_decimal( $shipment->get_height( 'edit' ) ) ); ?>" name="shipment_height[<?php echo esc_attr( $shipment->get_id() ); ?>]" id="shipment-height-<?php echo esc_attr( $shipment->get_id() ); ?>" placeholder="<?php echo esc_attr( wc_format_localized_decimal( $shipment->get_content_height() ) ); ?>" />
40
  </span>
41
  </p>
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
- *
55
- * @param Shipment $shipment The shipment object.
56
- *
57
- * @since 3.0.0
58
- * @package Vendidero/Germanized/Shipments
59
- */
60
- do_action( 'woocommerce_gzd_shipments_meta_box_shipment_after_right_column', $shipment ); ?>
61
- </div>
62
  </div>
63
 
64
  <div class="column col-6">
65
  <p class="form-row">
66
  <label for="shipment-status-<?php echo esc_attr( $shipment->get_id() ); ?>"><?php echo _x( 'Status', 'shipments', 'woocommerce-germanized' ); ?></label>
67
  <select class="shipment-status-select" id="shipment-status-<?php echo esc_attr( $shipment->get_id() ); ?>" name="shipment_status[<?php echo esc_attr( $shipment->get_id() ); ?>]">
68
- <?php foreach( wc_gzd_get_shipment_selectable_statuses( $shipment->get_type() ) as $status => $title ) : ?>
69
  <option value="<?php echo esc_attr( $status ); ?>" <?php selected( $status, 'gzd-' . $shipment->get_status(), true ); ?>><?php echo $title; ?></option>
70
  <?php endforeach; ?>
71
  </select>
@@ -98,26 +79,63 @@ defined( 'ABSPATH' ) || exit;
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">
112
- <?php echo _x( 'Actions', 'shipments', 'woocommerce-germanized' ); ?>
113
- </div>
114
  </div>
115
  </div>
116
 
117
  <div class="shipment-item-list">
118
- <?php foreach( $shipment->get_items() as $item ) : ?>
119
- <?php include 'html-order-shipment-item.php'; ?>
120
- <?php endforeach; ?>
121
  </div>
122
  </div>
123
 
@@ -127,23 +145,21 @@ defined( 'ABSPATH' ) || exit;
127
  </div>
128
 
129
  <div class="sync-items">
130
- <a class="sync-shipment-items" href="#"><?php echo _x( 'Sync items', 'shipments', 'woocommerce-germanized' ); ?></a>
131
- <?php echo wc_help_tip( _x( 'Automatically adjust items and quantities based on order item data.', 'shipments', 'woocommerce-germanized' ) ); ?>
132
  </div>
133
 
134
- <?php
135
- /**
136
- * Action that fires in the item action container of a Shipment's meta box admin view.
137
- *
138
- * @param Shipment $shipment The shipment object.
139
- *
140
- * @since 3.0.0
141
- * @package Vendidero/Germanized/Shipments
142
- */
143
- do_action( 'woocommerce_gzd_shipments_meta_box_shipment_item_actions', $shipment ); ?>
144
  </div>
145
  </div>
146
-
147
  <script type="text/template" id="tmpl-wc-gzd-modal-add-shipment-item-<?php echo esc_attr( $shipment->get_id() ); ?>">
148
  <div class="wc-backbone-modal">
149
  <div class="wc-backbone-modal-content">
@@ -163,14 +179,14 @@ defined( 'ABSPATH' ) || exit;
163
  <th><?php echo esc_html_x( 'Quantity', 'shipments', 'woocommerce-germanized' ); ?></th>
164
  </tr>
165
  </thead>
166
- <?php
167
- $row = '
168
  <td><select id="wc-gzd-shipment-add-items-select" name="item_id"></select></td>
169
  <td><input id="wc-gzd-shipment-add-items-quantity" type="number" step="1" min="0" max="9999" autocomplete="off" name="item_qty" placeholder="1" size="4" class="quantity" /></td>';
170
- ?>
171
  <tbody data-row="<?php echo esc_attr( $row ); ?>">
172
  <tr>
173
- <?php echo $row; // WPCS: XSS ok. ?>
174
  </tr>
175
  </tbody>
176
  </table>
@@ -186,73 +202,8 @@ defined( 'ABSPATH' ) || exit;
186
  </div>
187
  <div class="wc-backbone-modal-backdrop modal-close"></div>
188
  </script>
189
-
190
- <?php
191
- /**
192
- * Action that fires after the left column of a Shipment's meta box admin view.
193
- *
194
- * @param Shipment $shipment The shipment object.
195
- *
196
- * @since 3.0.0
197
- * @package Vendidero/Germanized/Shipments
198
- */
199
- do_action( 'woocommerce_gzd_shipments_meta_box_shipment_after_left_column', $shipment ); ?>
200
  </div>
201
 
202
- <?php if ( 'simple' === $shipment->get_type() ) : ?>
203
-
204
- <script type="text/template" id="tmpl-wc-gzd-modal-add-shipment-return-<?php echo esc_attr( $shipment->get_id() ); ?>">
205
- <div class="wc-backbone-modal">
206
- <div class="wc-backbone-modal-content">
207
- <section class="wc-backbone-modal-main" role="main">
208
- <header class="wc-backbone-modal-header">
209
- <h1><?php echo esc_html_x( 'Add Return', 'shipments', 'woocommerce-germanized' ); ?></h1>
210
- <button class="modal-close modal-close-link dashicons dashicons-no-alt">
211
- <span class="screen-reader-text">Close modal panel</span>
212
- </button>
213
- </header>
214
- <article>
215
- <form action="" method="post">
216
- <table class="widefat">
217
- <thead>
218
- <tr>
219
- <th><?php echo esc_html_x( 'Item', 'shipments', 'woocommerce-germanized' ); ?></th>
220
- <th><?php echo esc_html_x( 'Quantity', 'shipments', 'woocommerce-germanized' ); ?></th>
221
- </tr>
222
- </thead>
223
- <tbody id="wc-gzd-return-shipment-items" data-row="<?php echo esc_attr( $row ); ?>"></tbody>
224
- </table>
225
- </form>
226
- </article>
227
- <footer>
228
- <div class="inner">
229
- <button id="btn-ok" class="button button-primary button-large"><?php echo esc_html_x( 'Add', 'shipments', 'woocommerce-germanized' ); ?></button>
230
- </div>
231
- </footer>
232
- </section>
233
- </div>
234
- </div>
235
- <div class="wc-backbone-modal-backdrop modal-close"></div>
236
- </script>
237
-
238
- <div class="column col-12 shipment-returns-data">
239
- <div class="shipment-returns">
240
- <div class="shipment-return-list">
241
- <?php
242
- $global_shipment = $shipment;
243
-
244
- foreach( $shipment->get_returns() as $return ) :
245
- $shipment = $return;
246
- ?>
247
- <?php include 'html-order-shipment.php'; ?>
248
- <?php endforeach;
249
- $shipment = $global_shipment;
250
- ?>
251
- </div>
252
- </div>
253
- </div>
254
- <?php endif; ?>
255
-
256
  <?php
257
  /**
258
  * Action that fires after the fields of a Shipment's meta box admin view have been rendered.
@@ -265,24 +216,28 @@ defined( 'ABSPATH' ) || exit;
265
  do_action( 'woocommerce_gzd_shipments_meta_box_shipment_after_fields', $shipment ); ?>
266
 
267
  <div class="column col-12 shipment-footer" id="shipment-footer-<?php echo esc_attr( $shipment->get_id() ); ?>">
268
- <?php if ( 'simple' === $shipment->get_type() ) : ?>
269
- <a class="add-shipment-return" href="#" data-id="<?php echo esc_attr( $shipment->get_id() ); ?>"><?php echo _x( 'Add Return', 'shipments', 'woocommerce-germanized' ); ?></a>
270
- <?php endif; ?>
 
 
 
271
 
272
- <?php if ( $shipment->is_editable() ) : ?>
273
- <a class="remove-shipment delete" href="#" data-id="<?php echo esc_attr( $shipment->get_id() ); ?>"><?php echo sprintf( _x( 'Delete %s', 'shipments', 'woocommerce-germanized' ), wc_gzd_get_shipment_label( $shipment->get_type() ) ); ?></a>
274
- <?php endif; ?>
275
 
276
- <?php
277
- /**
278
- * Action that fires in the shipment action container of a Shipment's meta box admin view.
279
- *
280
- * @param Shipment $shipment The shipment object.
281
- *
282
- * @since 3.0.0
283
- * @package Vendidero/Germanized/Shipments
284
- */
285
- do_action( 'woocommerce_gzd_shipments_meta_box_shipment_actions', $shipment ); ?>
 
286
  </div>
287
  </div>
288
  </div>
6
  */
7
 
8
  use Vendidero\Germanized\Shipments\Shipment;
9
+ use Vendidero\Germanized\Shipments\Admin\Admin;
10
 
11
  defined( 'ABSPATH' ) || exit;
12
 
40
  <input type="text" size="6" class="wc_input_decimal" value="<?php echo esc_attr( wc_format_localized_decimal( $shipment->get_height( 'edit' ) ) ); ?>" name="shipment_height[<?php echo esc_attr( $shipment->get_id() ); ?>]" id="shipment-height-<?php echo esc_attr( $shipment->get_id() ); ?>" placeholder="<?php echo esc_attr( wc_format_localized_decimal( $shipment->get_content_height() ) ); ?>" />
41
  </span>
42
  </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  </div>
44
 
45
  <div class="column col-6">
46
  <p class="form-row">
47
  <label for="shipment-status-<?php echo esc_attr( $shipment->get_id() ); ?>"><?php echo _x( 'Status', 'shipments', 'woocommerce-germanized' ); ?></label>
48
  <select class="shipment-status-select" id="shipment-status-<?php echo esc_attr( $shipment->get_id() ); ?>" name="shipment_status[<?php echo esc_attr( $shipment->get_id() ); ?>]">
49
+ <?php foreach( wc_gzd_get_shipment_selectable_statuses( $shipment ) as $status => $title ) : ?>
50
  <option value="<?php echo esc_attr( $status ); ?>" <?php selected( $status, 'gzd-' . $shipment->get_status(), true ); ?>><?php echo $title; ?></option>
51
  <?php endforeach; ?>
52
  </select>
79
  <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() ); ?>" />
80
  </p>
81
 
82
+ <?php
83
+ /**
84
+ * Action that fires after the left column of a Shipment's meta box admin view.
85
+ *
86
+ * @param Shipment $shipment The shipment object.
87
+ *
88
+ * @since 3.0.0
89
+ * @package Vendidero/Germanized/Shipments
90
+ */
91
+ do_action( 'woocommerce_gzd_shipments_meta_box_shipment_after_left_column', $shipment ); ?>
92
+ </div>
93
+
94
+ <div class="column col-12 column-shipment-documents">
95
+ <div class="columns">
96
+ <div class="column col-6">
97
+ <div class="columns">
98
+ <?php
99
+ if ( $shipment->supports_label() && ( ( $label = $shipment->get_label() ) || $shipment->needs_label() ) ) :
100
+ include 'label/html-shipment-label.php';
101
+ endif;
102
+ ?>
103
+ </div>
104
+ </div>
105
+ <div class="column col-6">
106
+ <div class="columns">
107
+ <?php
108
+ /**
109
+ * Action that fires after the right column of a Shipment's meta box admin view.
110
+ *
111
+ * @param Shipment $shipment The shipment object.
112
+ *
113
+ * @since 3.0.0
114
+ * @package Vendidero/Germanized/Shipments
115
+ */
116
+ do_action( 'woocommerce_gzd_shipments_meta_box_shipment_after_right_column', $shipment ); ?>
117
+ </div>
118
+ </div>
119
+ </div>
120
+ </div>
121
+
122
+ <div class="column col-12">
123
  <div class="shipment-items" id="shipment-items-<?php echo esc_attr( $shipment->get_id() ); ?>">
124
  <div class="shipment-item-list-wrapper">
125
  <div class="shipment-item-heading">
126
  <div class="columns">
127
+ <?php foreach( Admin::get_admin_shipment_item_columns( $shipment ) as $column_name => $column ) : ?>
128
+ <div class="column col-<?php echo esc_attr( $column['size'] ); ?> shipment-item-<?php echo esc_attr( $column_name ); ?>">
129
+ <?php echo $column['title']; ?>
130
+ </div>
131
+ <?php endforeach; ?>
 
 
 
 
132
  </div>
133
  </div>
134
 
135
  <div class="shipment-item-list">
136
+ <?php foreach( $shipment->get_items() as $item ) : ?>
137
+ <?php include 'html-order-shipment-item.php'; ?>
138
+ <?php endforeach; ?>
139
  </div>
140
  </div>
141
 
145
  </div>
146
 
147
  <div class="sync-items">
148
+ <a class="sync-shipment-items" href="#"><?php echo wc_help_tip( _x( 'Automatically adjust items and quantities based on order item data.', 'shipments', 'woocommerce-germanized' ) ); ?><?php echo _x( 'Sync items', 'shipments', 'woocommerce-germanized' ); ?></a>
 
149
  </div>
150
 
151
+ <?php
152
+ /**
153
+ * Action that fires in the item action container of a Shipment's meta box admin view.
154
+ *
155
+ * @param Shipment $shipment The shipment object.
156
+ *
157
+ * @since 3.0.0
158
+ * @package Vendidero/Germanized/Shipments
159
+ */
160
+ do_action( 'woocommerce_gzd_shipments_meta_box_shipment_item_actions', $shipment ); ?>
161
  </div>
162
  </div>
 
163
  <script type="text/template" id="tmpl-wc-gzd-modal-add-shipment-item-<?php echo esc_attr( $shipment->get_id() ); ?>">
164
  <div class="wc-backbone-modal">
165
  <div class="wc-backbone-modal-content">
179
  <th><?php echo esc_html_x( 'Quantity', 'shipments', 'woocommerce-germanized' ); ?></th>
180
  </tr>
181
  </thead>
182
+ <?php
183
+ $row = '
184
  <td><select id="wc-gzd-shipment-add-items-select" name="item_id"></select></td>
185
  <td><input id="wc-gzd-shipment-add-items-quantity" type="number" step="1" min="0" max="9999" autocomplete="off" name="item_qty" placeholder="1" size="4" class="quantity" /></td>';
186
+ ?>
187
  <tbody data-row="<?php echo esc_attr( $row ); ?>">
188
  <tr>
189
+ <?php echo $row; // WPCS: XSS ok. ?>
190
  </tr>
191
  </tbody>
192
  </table>
202
  </div>
203
  <div class="wc-backbone-modal-backdrop modal-close"></div>
204
  </script>
 
 
 
 
 
 
 
 
 
 
 
205
  </div>
206
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
207
  <?php
208
  /**
209
  * Action that fires after the fields of a Shipment's meta box admin view have been rendered.
216
  do_action( 'woocommerce_gzd_shipments_meta_box_shipment_after_fields', $shipment ); ?>
217
 
218
  <div class="column col-12 shipment-footer" id="shipment-footer-<?php echo esc_attr( $shipment->get_id() ); ?>">
219
+ <div class="shipment-footer-inner">
220
+ <?php if( 'return' === $shipment->get_type() && $shipment->has_status( 'processing' ) ) : ?>
221
+ <a class="shipment-footer-action send-return-shipment-notification email" href="#" data-id="<?php echo esc_attr( $shipment->get_id() ); ?>"><?php echo wc_help_tip( _x( 'Send return instructions to your customer via email including return label as attachment (if available).', 'shipments', 'woocommerce-germanized' ) ); ?><?php echo ( $shipment->is_customer_requested() ? _x( 'Resend notification', 'shipments', 'woocommerce-germanized' ) : _x( 'Notify customer', 'shipments', 'woocommerce-germanized' ) ); ?></a>
222
+ <?php elseif( 'return' === $shipment->get_type() && $shipment->has_status( 'requested' ) ) : ?>
223
+ <a class="shipment-footer-action confirm-return-shipment" href="#" data-id="<?php echo esc_attr( $shipment->get_id() ); ?>"><?php echo wc_help_tip( _x( 'Confirm the return request to the customer. The customer receives an email notification possibly containing return instructions.', 'shipments', 'woocommerce-germanized' ) ); ?><?php _ex( 'Confirm return request', 'shipments', 'woocommerce-germanized' ); ?></a>
224
+ <?php endif; ?>
225
 
226
+ <?php if ( $shipment->is_editable() ) : ?>
227
+ <a class="shipment-footer-action remove-shipment delete" href="#" data-id="<?php echo esc_attr( $shipment->get_id() ); ?>"><?php echo sprintf( _x( 'Delete %s', 'shipments', 'woocommerce-germanized' ), wc_gzd_get_shipment_label( $shipment->get_type() ) ); ?></a>
228
+ <?php endif; ?>
229
 
230
+ <?php
231
+ /**
232
+ * Action that fires in the shipment action container of a Shipment's meta box admin view.
233
+ *
234
+ * @param Shipment $shipment The shipment object.
235
+ *
236
+ * @since 3.0.0
237
+ * @package Vendidero/Germanized/Shipments
238
+ */
239
+ do_action( 'woocommerce_gzd_shipments_meta_box_shipment_actions', $shipment ); ?>
240
+ </div>
241
  </div>
242
  </div>
243
  </div>
packages/woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-item.php CHANGED
@@ -5,37 +5,63 @@
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">
37
- <a class="remove-shipment-item delete" data-delete="<?php echo esc_attr( $item->get_id() ); ?>" href="#"><?php echo _x( 'Delete', 'shipments', 'woocommerce-germanized' ); ?></a>
38
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  </div>
40
 
41
  <input type="hidden" name="shipment_item[<?php echo esc_attr( $shipment->get_id() ); ?>][order_item_id][<?php echo esc_attr( $item->get_id() ); ?>]" value="<?php echo esc_attr( $item->get_order_item_id() ); ?>" />
5
  * @package WooCommerce_Germanized/DHL/Admin
6
  */
7
 
8
+ use Vendidero\Germanized\Shipments\Admin\Admin;
9
  use Vendidero\Germanized\Shipments\Shipment;
10
  use Vendidero\Germanized\Shipments\ShipmentItem;
11
 
12
  defined( 'ABSPATH' ) || exit;
 
13
  ?>
14
 
15
  <div class="shipment-item" data-id="<?php echo esc_attr( $item->get_id() ); ?>">
16
  <div class="columns">
17
+ <?php foreach( Admin::get_admin_shipment_item_columns( $shipment ) as $column_name => $column ) : ?>
18
+
19
+ <div class="column col-<?php echo esc_attr( $column['size'] ); ?> shipment-item-<?php echo esc_attr( $column_name ); ?>">
20
+
21
+ <?php if ( 'name' === $column_name ) : ?>
22
+
23
+ <?php echo wp_kses_post( $item->get_name() ); ?>
24
+
25
+ <?php elseif ( 'return_reason' === $column_name ) : ?>
26
+
27
+ <select class="item-return-reason-code" id="shipment-item-return-reason-code-<?php echo esc_attr( $item->get_id() ); ?>" name="shipment_item[<?php echo esc_attr( $shipment->get_id() ); ?>][return_reason_code][<?php echo esc_attr( $item->get_id() ); ?>]">
28
+ <option value=""><?php _ex( 'None', 'shipments return reason', 'woocommerce-germanized' ); ?></option>
29
+
30
+ <?php foreach( wc_gzd_get_return_shipment_reasons( $item->get_order_item() ) as $reason ) : ?>
31
+ <option value="<?php echo esc_attr( $reason->get_code() ); ?>" <?php selected( $reason->get_code(), $item->get_return_reason_code() ); ?>><?php echo $reason->get_reason(); ?></option>
32
+ <?php endforeach; ?>
33
+ </select>
34
+
35
+ <?php elseif ( 'quantity' === $column_name ) : ?>
36
+
37
+ <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() ); ?>" />
38
+
39
+ <?php elseif ( 'action' === $column_name ) : ?>
40
+
41
+ <a class="remove-shipment-item delete" data-delete="<?php echo esc_attr( $item->get_id() ); ?>" href="#"><?php echo _x( 'Delete', 'shipments', 'woocommerce-germanized' ); ?></a>
42
+
43
+ <?php endif; ?>
44
+
45
+ <?php
46
+ /**
47
+ * Action that fires after outputting a shipment item column in admin meta box.
48
+ *
49
+ * The dynamic portion of this hook `$column_name` refers to the column name e.g. name or quantity.
50
+ *
51
+ * Example hook name: woocommerce_gzd_shipments_meta_box_shipment_item_after_name
52
+ *
53
+ * @param integer $item_id The shipment item id.
54
+ * @param ShipmentItem $shipment_item The shipment item instance.
55
+ * @param Shipment $shipment The shipment instance.
56
+ * @param string $column_name The column name.
57
+ *
58
+ * @since 3.0.6
59
+ * @package Vendidero/Germanized/Shipments
60
+ */
61
+ do_action( "woocommerce_gzd_shipments_meta_box_shipment_item_after_{$column_name}", $item->get_id(), $item, $shipment, $column_name ); ?>
62
+ </div>
63
+
64
+ <?php endforeach; ?>
65
  </div>
66
 
67
  <input type="hidden" name="shipment_item[<?php echo esc_attr( $shipment->get_id() ); ?>][order_item_id][<?php echo esc_attr( $item->get_id() ); ?>]" value="<?php echo esc_attr( $item->get_order_item_id() ); ?>" />
packages/woocommerce-germanized-shipments/includes/admin/views/html-order-shipment-list.php ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Order shipments HTML for meta box.
4
+ *
5
+ * @package WooCommerce_Germanized/DHL/Admin
6
+ */
7
+
8
+ defined( 'ABSPATH' ) || exit;
9
+
10
+ $active_shipment = isset( $active_shipment ) ? $active_shipment : false;
11
+ $returns = $order_shipment->get_return_shipments();
12
+ ?>
13
+
14
+ <div id="order-shipments-list" class="panel-inner">
15
+ <?php foreach( $order_shipment->get_simple_shipments() as $shipment ) :
16
+ $is_active = ( $active_shipment && $shipment->get_id() === $active_shipment ) ? true : false;
17
+
18
+ include 'html-order-shipment.php'; ?>
19
+ <?php endforeach; ?>
20
+
21
+ <div class="panel-title panel-title-inner title-spread panel-inner panel-order-return-title <?php echo ( empty( $returns ) ? 'hide-default': '' ); ?>">
22
+ <h2 class="order-returns-title"><?php echo _x( 'Returns', 'shipments', 'woocommerce-germanized' ); ?></h2>
23
+ <span class="order-return-status status-<?php echo esc_attr( $order_shipment->get_return_status() ); ?>"><?php echo wc_gzd_get_shipment_order_return_status_name( $order_shipment->get_return_status() ); ?></span>
24
+ </div>
25
+
26
+ <?php if ( ! empty( $returns ) ) : ?>
27
+ <?php foreach( $returns as $shipment ) :
28
+ $is_active = ( $active_shipment && $shipment->get_id() === $active_shipment ) ? true : false;
29
+ include 'html-order-shipment.php'; ?>
30
+ <?php endforeach; ?>
31
+ <?php endif; ?>
32
+ </div>
packages/woocommerce-germanized-shipments/includes/admin/views/html-order-shipment.php CHANGED
@@ -10,11 +10,11 @@ defined( 'ABSPATH' ) || exit;
10
  $is_active = ( isset( $is_active ) ) ? $is_active : false;
11
  ?>
12
 
13
- <div id="shipment-<?php echo esc_attr( $shipment->get_id() ); ?>" class="order-shipment shipment-<?php echo esc_attr( $shipment->get_type() ); ?> <?php echo ( $is_active ? 'active' : '' ); ?> <?php echo ( $shipment->is_editable() ? 'is-editable' : '' ); ?> <?php echo ( $shipment->is_returnable() ? 'is-returnable' : '' ); ?> <?php echo ( $shipment->needs_items() ? 'needs-items' : '' ); ?>" data-shipment="<?php echo esc_attr( $shipment->get_id() ); ?>">
14
  <div class="shipment-header title-spread">
15
  <div class="left">
16
  <h3><?php printf( _x( '%s #%s', 'shipment admin title', 'woocommerce-germanized' ), wc_gzd_get_shipment_label( $shipment->get_type() ), $shipment->get_id() ); ?></h3>
17
- <span class="shipment-status status-<?php echo esc_attr( $shipment->get_status() ); ?>"><?php echo wc_gzd_get_shipment_status_name( $shipment->get_status() ); ?></span>
18
  </div>
19
 
20
  <div class="right">
10
  $is_active = ( isset( $is_active ) ) ? $is_active : false;
11
  ?>
12
 
13
+ <div id="shipment-<?php echo esc_attr( $shipment->get_id() ); ?>" class="order-shipment shipment-<?php echo esc_attr( $shipment->get_type() ); ?> <?php echo ( $is_active ? 'active' : '' ); ?> <?php echo ( $shipment->is_editable() ? 'is-editable' : '' ); ?> <?php echo ( $shipment->needs_items() ? 'needs-items' : '' ); ?>" data-shipment="<?php echo esc_attr( $shipment->get_id() ); ?>">
14
  <div class="shipment-header title-spread">
15
  <div class="left">
16
  <h3><?php printf( _x( '%s #%s', 'shipment admin title', 'woocommerce-germanized' ), wc_gzd_get_shipment_label( $shipment->get_type() ), $shipment->get_id() ); ?></h3>
17
+ <span class="shipment-status shipment-type-<?php echo esc_attr( $shipment->get_type() ); ?>-status status-<?php echo esc_attr( $shipment->get_status() ); ?>"><?php echo wc_gzd_get_shipment_status_name( $shipment->get_status() ); ?></span>
18
  </div>
19
 
20
  <div class="right">
packages/woocommerce-germanized-shipments/includes/admin/views/html-order-shipments.php CHANGED
@@ -13,7 +13,7 @@ $active_shipment = isset( $active_shipment ) ? $active_shipment : false;
13
  ?>
14
 
15
  <div id="order-shipments" class="germanized-shipments">
16
- <div id="panel-order-shipments" class="<?php echo ( $order_shipment->needs_shipping() ? 'needs-shipments' : '' ); ?>">
17
 
18
  <div class="panel-title title-spread panel-inner">
19
  <h2 class="order-shipments-title"><?php echo _x( 'Shipments', 'shipments', 'woocommerce-germanized' ); ?></h2>
@@ -22,22 +22,59 @@ $active_shipment = isset( $active_shipment ) ? $active_shipment : false;
22
 
23
  <div class="notice-wrapper panel-inner"></div>
24
 
25
- <div id="order-shipments-list" class="panel-inner">
26
- <?php foreach( $order_shipment->get_simple_shipments() as $shipment ) :
27
- $is_active = ( $active_shipment && $shipment->get_id() === $active_shipment ) ? true : false;
28
-
29
- include 'html-order-shipment.php'; ?>
30
- <?php endforeach; ?>
31
- </div>
32
 
33
  <div class="panel-footer panel-inner">
34
  <div class="order-shipments-actions">
35
- <div class="order-shipment-add">
36
- <a class="button button-secondary add-shipment" id="order-shipment-add" href="#"><?php echo _x( 'Add shipment', 'shipments', 'woocommerce-germanized' ); ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  </div>
38
 
39
- <div class="order-shipment-save">
40
- <button id="order-shipments-save" class="button button-primary" type="submit"><?php echo _x( 'Save', 'shipments', 'woocommerce-germanized' ); ?></button>
 
 
41
  </div>
42
 
43
  <?php
13
  ?>
14
 
15
  <div id="order-shipments" class="germanized-shipments">
16
+ <div id="panel-order-shipments" class="<?php echo ( $order_shipment->needs_shipping() ? 'needs-shipments' : '' ); ?> <?php echo ( $order_shipment->needs_return() ? 'needs-returns' : '' ); ?>">
17
 
18
  <div class="panel-title title-spread panel-inner">
19
  <h2 class="order-shipments-title"><?php echo _x( 'Shipments', 'shipments', 'woocommerce-germanized' ); ?></h2>
22
 
23
  <div class="notice-wrapper panel-inner"></div>
24
 
25
+ <?php include 'html-order-shipment-list.php'; ?>
 
 
 
 
 
 
26
 
27
  <div class="panel-footer panel-inner">
28
  <div class="order-shipments-actions">
29
+
30
+ <script type="text/template" id="tmpl-wc-gzd-modal-add-shipment-return">
31
+ <div class="wc-backbone-modal">
32
+ <div class="wc-backbone-modal-content">
33
+ <section class="wc-backbone-modal-main" role="main">
34
+ <header class="wc-backbone-modal-header">
35
+ <h1><?php echo esc_html_x( 'Add Return', 'shipments', 'woocommerce-germanized' ); ?></h1>
36
+ <button class="modal-close modal-close-link dashicons dashicons-no-alt">
37
+ <span class="screen-reader-text">Close modal panel</span>
38
+ </button>
39
+ </header>
40
+ <article>
41
+ <form action="" method="post">
42
+ <table class="widefat">
43
+ <thead>
44
+ <tr>
45
+ <th><?php echo esc_html_x( 'Item', 'shipments', 'woocommerce-germanized' ); ?></th>
46
+ <th><?php echo esc_html_x( 'Quantity', 'shipments', 'woocommerce-germanized' ); ?></th>
47
+ </tr>
48
+ </thead>
49
+ <tbody id="wc-gzd-return-shipment-items" data-row=""></tbody>
50
+ </table>
51
+ </form>
52
+ </article>
53
+ <footer>
54
+ <div class="inner">
55
+ <button id="btn-ok" class="button button-primary button-large"><?php echo esc_html_x( 'Add', 'shipments', 'woocommerce-germanized' ); ?></button>
56
+ </div>
57
+ </footer>
58
+ </section>
59
+ </div>
60
+ </div>
61
+ <div class="wc-backbone-modal-backdrop modal-close"></div>
62
+ </script>
63
+
64
+ <div class="shipment-actions-left">
65
+ <div class="order-shipment-add">
66
+ <a class="button button-secondary add-shipment" id="order-shipment-add" href="#"><?php echo _x( 'Add shipment', 'shipments', 'woocommerce-germanized' ); ?></a>
67
+ </div>
68
+
69
+ <div class="order-return-shipment-add">
70
+ <a class="button button-secondary add-return-shipment" id="order-return-shipment-add" href="#"><?php echo _x( 'Add return', 'shipments', 'woocommerce-germanized' ); ?></a>
71
+ </div>
72
  </div>
73
 
74
+ <div class="shipment-actions-right">
75
+ <div class="order-shipment-save">
76
+ <button id="order-shipments-save" class="button button-primary" type="submit"><?php echo _x( 'Save', 'shipments', 'woocommerce-germanized' ); ?></button>
77
+ </div>
78
  </div>
79
 
80
  <?php
packages/woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php CHANGED
@@ -20,10 +20,6 @@ use Vendidero\Germanized\Shipments\Shipment;
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.
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
24
  /**
25
  * Action that fires after the label download link of a shipment label was outputted.
packages/woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-guest-return-shipment-request.php ADDED
@@ -0,0 +1,212 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Class WC_GZD_Email_Customer_Return_Shipment_Request file.
4
+ *
5
+ * @package Vendidero/Germanized/Shipments/Emails
6
+ */
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly.
10
+ }
11
+
12
+ use Vendidero\Germanized\Shipments\Package;
13
+ use Vendidero\Germanized\Shipments\Shipment;
14
+ use Vendidero\Germanized\Shipments\ReturnShipment;
15
+
16
+ if ( ! class_exists( 'WC_GZD_Email_Customer_Guest_Return_Shipment_Request', false ) ) :
17
+
18
+ /**
19
+ * Customer return shipment notification.
20
+ *
21
+ * Return shipment request notifications are sent to the customer (guest) after submitting a new return request
22
+ * via the return request form.
23
+ *
24
+ * @class WC_GZD_Email_Customer_Return_Shipment_Request
25
+ * @version 1.0.0
26
+ * @package Vendidero/Germanized/Shipments/Emails
27
+ * @extends WC_Email
28
+ */
29
+ class WC_GZD_Email_Customer_Guest_Return_Shipment_Request extends WC_Email {
30
+
31
+ public $request_url = '';
32
+
33
+ public $helper = null;
34
+
35
+ /**
36
+ * Constructor.
37
+ */
38
+ public function __construct() {
39
+ $this->customer_email = true;
40
+ $this->id = 'customer_guest_return_shipment_request';
41
+ $this->title = _x( 'Order guest return request', 'shipments', 'woocommerce-germanized' );
42
+ $this->description = _x( 'Order guest return request are sent to the customer after submitting a new return request as a guest.', 'shipments', 'woocommerce-germanized' );
43
+
44
+ $this->template_html = 'emails/customer-guest-return-shipment-request.php';
45
+ $this->template_plain = 'emails/plain/customer-guest-return-shipment-request.php';
46
+ $this->template_base = Package::get_path() . '/templates/';
47
+ $this->helper = function_exists( 'wc_gzd_get_email_helper' ) ? wc_gzd_get_email_helper( $this ) : false;
48
+
49
+ $this->placeholders = array(
50
+ '{site_title}' => $this->get_blogname(),
51
+ '{order_number}' => '',
52
+ '{order_date}' => '',
53
+ );
54
+
55
+ // Call parent constructor.
56
+ parent::__construct();
57
+ }
58
+
59
+ /**
60
+ * Get email subject.
61
+ *
62
+ * @since 3.1.0
63
+ * @return string
64
+ */
65
+ public function get_default_subject() {
66
+ return _x( 'Your return request to your order {order_number}', 'shipments', 'woocommerce-germanized' );
67
+ }
68
+
69
+ /**
70
+ * Get email heading.
71
+ *
72
+ * @since 3.1.0
73
+ * @return string
74
+ */
75
+ public function get_default_heading() {
76
+ return _x( 'Return request to your order: {order_number}', 'shipments', 'woocommerce-germanized' );
77
+ }
78
+
79
+ /**
80
+ * Switch Woo and Germanized locale
81
+ */
82
+ public function setup_locale() {
83
+
84
+ if ( $this->is_customer_email() && function_exists( 'wc_gzd_switch_to_site_locale' ) && apply_filters( 'woocommerce_email_setup_locale', true ) ) {
85
+ wc_gzd_switch_to_site_locale();
86
+ }
87
+
88
+ parent::setup_locale();
89
+ }
90
+
91
+ /**
92
+ * Restore Woo and Germanized locale
93
+ */
94
+ public function restore_locale() {
95
+
96
+ if ( $this->is_customer_email() && function_exists( 'wc_gzd_restore_locale' ) && apply_filters( 'woocommerce_email_restore_locale', true ) ) {
97
+ wc_gzd_restore_locale();
98
+ }
99
+
100
+ parent::restore_locale();
101
+ }
102
+
103
+ /**
104
+ * Trigger.
105
+ *
106
+ * @param int $order_id order ID.
107
+ */
108
+ public function trigger( $order_id ) {
109
+ if ( $this->helper ) {
110
+ $this->helper->setup_locale();
111
+ } else {
112
+ $this->setup_locale();
113
+ }
114
+
115
+ if ( $this->object = wc_get_order( $order_id ) ) {
116
+
117
+ $this->placeholders['{order_number}'] = $this->object->get_order_number();
118
+
119
+ if ( ( $order_shipment = wc_gzd_get_shipment_order( $this->object ) ) && ( $this->request_url = wc_gzd_get_order_customer_add_return_url( $this->object ) ) ) {
120
+ $this->recipient = $this->object->get_billing_email();
121
+ $this->placeholders['{order_date}'] = wc_format_datetime( $this->object->get_date_created() );
122
+ $this->placeholders['{order_number}'] = $this->object->get_order_number();
123
+ }
124
+ }
125
+
126
+ if ( $this->helper ) {
127
+ $this->helper->setup_email_locale();
128
+ }
129
+
130
+ if ( $this->is_enabled() && $this->get_recipient() ) {
131
+ $this->send( $this->get_recipient(), $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
132
+ }
133
+
134
+ if ( $this->helper ) {
135
+ $this->helper->restore_email_locale();
136
+ }
137
+
138
+ if ( $this->helper ) {
139
+ $this->helper->restore_locale();
140
+ } else {
141
+ $this->restore_locale();
142
+ }
143
+ }
144
+
145
+ /**
146
+ * Return content from the additional_content field.
147
+ *
148
+ * Displayed above the footer.
149
+ *
150
+ * @since 2.0.4
151
+ * @return string
152
+ */
153
+ public function get_additional_content() {
154
+ if ( is_callable( 'parent::get_additional_content' ) ) {
155
+ return parent::get_additional_content();
156
+ }
157
+
158
+ return '';
159
+ }
160
+
161
+ /**
162
+ * Get content html.
163
+ *
164
+ * @return string
165
+ */
166
+ public function get_content_html() {
167
+ return wc_get_template_html(
168
+ $this->template_html, array(
169
+ 'order' => $this->object,
170
+ 'add_return_request_url' => $this->request_url,
171
+ 'email_heading' => $this->get_heading(),
172
+ 'additional_content' => $this->get_additional_content(),
173
+ 'sent_to_admin' => false,
174
+ 'plain_text' => false,
175
+ 'email' => $this,
176
+ )
177
+ );
178
+ }
179
+
180
+ /**
181
+ * Get content plain.
182
+ *
183
+ * @return string
184
+ */
185
+ public function get_content_plain() {
186
+ return wc_get_template_html(
187
+ $this->template_plain, array(
188
+ 'order' => $this->object,
189
+ 'add_return_request_url' => $this->request_url,
190
+ 'email_heading' => $this->get_heading(),
191
+ 'additional_content' => $this->get_additional_content(),
192
+ 'sent_to_admin' => false,
193
+ 'plain_text' => true,
194
+ 'email' => $this,
195
+ )
196
+ );
197
+ }
198
+
199
+ /**
200
+ * Default content to show below main email content.
201
+ *
202
+ * @since 1.0.1
203
+ * @return string
204
+ */
205
+ public function get_default_additional_content() {
206
+ return '';
207
+ }
208
+ }
209
+
210
+ endif;
211
+
212
+ return new WC_GZD_Email_Customer_Guest_Return_Shipment_Request();
packages/woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-return-shipment-delivered.php ADDED
@@ -0,0 +1,232 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Class WC_GZD_Email_Customer_Return_Shipment_Delivered file.
4
+ *
5
+ * @package Vendidero/Germanized/Shipments/Emails
6
+ */
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly.
10
+ }
11
+
12
+ use Vendidero\Germanized\Shipments\Package;
13
+ use Vendidero\Germanized\Shipments\ReturnShipment;
14
+
15
+ if ( ! class_exists( 'WC_GZD_Email_Customer_Return_Shipment_Delivered', false ) ) :
16
+
17
+ /**
18
+ * Customer return shipment delivered notification.
19
+ *
20
+ * This notification is being sent to the customer to inform him that his return was delivered successfully.
21
+ *
22
+ * @class WC_GZD_Email_Customer_Return_Shipment_Delivered
23
+ * @version 1.0.0
24
+ * @package Vendidero/Germanized/Shipments/Emails
25
+ * @extends WC_Email
26
+ */
27
+ class WC_GZD_Email_Customer_Return_Shipment_Delivered extends WC_Email {
28
+
29
+ /**
30
+ * Shipment.
31
+ *
32
+ * @var ReturnShipment|bool
33
+ */
34
+ public $shipment;
35
+
36
+ public $helper = null;
37
+
38
+ /**
39
+ * Constructor.
40
+ */
41
+ public function __construct() {
42
+ $this->customer_email = true;
43
+ $this->id = 'customer_return_shipment_delivered';
44
+ $this->title = _x( 'Order return delivered', 'shipments', 'woocommerce-germanized' );
45
+ $this->description = _x( 'Order return notifications are sent to the customer after a return shipment has been returned (delivered) successfully.', 'shipments', 'woocommerce-germanized' );
46
+
47
+ $this->template_html = 'emails/customer-return-shipment-delivered.php';
48
+ $this->template_plain = 'emails/plain/customer-return-shipment-delivered.php';
49
+ $this->template_base = Package::get_path() . '/templates/';
50
+ $this->helper = function_exists( 'wc_gzd_get_email_helper' ) ? wc_gzd_get_email_helper( $this ) : false;
51
+
52
+ $this->placeholders = array(
53
+ '{site_title}' => $this->get_blogname(),
54
+ '{shipment_number}' => '',
55
+ '{order_number}' => '',
56
+ '{order_date}' => '',
57
+ '{date_sent}' => '',
58
+ );
59
+
60
+ // Triggers for this email.
61
+ add_action( 'woocommerce_gzd_return_shipment_status_processing_to_delivered_notification', array( $this, 'trigger' ), 10 );
62
+ add_action( 'woocommerce_gzd_return_shipment_status_shipped_to_delivered_notification', array( $this, 'trigger' ), 10 );
63
+
64
+ // Call parent constructor.
65
+ parent::__construct();
66
+ }
67
+
68
+ /**
69
+ * Get email subject.
70
+ *
71
+ * @since 3.1.0
72
+ * @return string
73
+ */
74
+ public function get_default_subject() {
75
+ return _x( 'Return to your order {order_number} has been received', 'shipments', 'woocommerce-germanized' );
76
+ }
77
+
78
+ /**
79
+ * Get email heading.
80
+ *
81
+ * @since 3.1.0
82
+ * @return string
83
+ */
84
+ public function get_default_heading() {
85
+ return _x( 'Received return to your order: {order_number}', 'shipments', 'woocommerce-germanized' );
86
+ }
87
+
88
+ /**
89
+ * Switch Woo and Germanized locale
90
+ */
91
+ public function setup_locale() {
92
+
93
+ if ( $this->is_customer_email() && function_exists( 'wc_gzd_switch_to_site_locale' ) && apply_filters( 'woocommerce_email_setup_locale', true ) ) {
94
+ wc_gzd_switch_to_site_locale();
95
+ }
96
+
97
+ parent::setup_locale();
98
+ }
99
+
100
+ /**
101
+ * Restore Woo and Germanized locale
102
+ */
103
+ public function restore_locale() {
104
+
105
+ if ( $this->is_customer_email() && function_exists( 'wc_gzd_restore_locale' ) && apply_filters( 'woocommerce_email_restore_locale', true ) ) {
106
+ wc_gzd_restore_locale();
107
+ }
108
+
109
+ parent::restore_locale();
110
+ }
111
+
112
+ /**
113
+ * Trigger.
114
+ *
115
+ * @param int $shipment_id Shipment ID.
116
+ * @param bool $is_confirmation
117
+ */
118
+ public function trigger( $shipment_id ) {
119
+ if ( $this->helper ) {
120
+ $this->helper->setup_locale();
121
+ } else {
122
+ $this->setup_locale();
123
+ }
124
+
125
+ if ( $this->shipment = wc_gzd_get_shipment( $shipment_id ) ) {
126
+
127
+ if ( 'return' !== $this->shipment->get_type() ) {
128
+ return;
129
+ }
130
+
131
+ $this->placeholders['{shipment_number}'] = $this->shipment->get_shipment_number();
132
+
133
+ if ( $order_shipment = wc_gzd_get_shipment_order( $this->shipment->get_order() ) ) {
134
+
135
+ $this->object = $this->shipment->get_order();
136
+ $this->recipient = $order_shipment->get_order()->get_billing_email();
137
+ $this->placeholders['{order_date}'] = wc_format_datetime( $order_shipment->get_order()->get_date_created() );
138
+ $this->placeholders['{order_number}'] = $order_shipment->get_order()->get_order_number();
139
+
140
+ if ( $this->shipment->get_date_sent() ) {
141
+ $this->placeholders['{date_sent}'] = wc_format_datetime( $this->shipment->get_date_sent() );
142
+ }
143
+ }
144
+ }
145
+
146
+ if ( $this->helper ) {
147
+ $this->helper->setup_email_locale();
148
+ }
149
+
150
+ if ( $this->is_enabled() && $this->get_recipient() ) {
151
+ $this->send( $this->get_recipient(), $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
152
+ }
153
+
154
+ if ( $this->helper ) {
155
+ $this->helper->restore_email_locale();
156
+ }
157
+
158
+ if ( $this->helper ) {
159
+ $this->helper->restore_locale();
160
+ } else {
161
+ $this->restore_locale();
162
+ }
163
+ }
164
+
165
+ /**
166
+ * Return content from the additional_content field.
167
+ *
168
+ * Displayed above the footer.
169
+ *
170
+ * @since 2.0.4
171
+ * @return string
172
+ */
173
+ public function get_additional_content() {
174
+ if ( is_callable( 'parent::get_additional_content' ) ) {
175
+ return parent::get_additional_content();
176
+ }
177
+
178
+ return '';
179
+ }
180
+
181
+ /**
182
+ * Get content html.
183
+ *
184
+ * @return string
185
+ */
186
+ public function get_content_html() {
187
+ return wc_get_template_html(
188
+ $this->template_html, array(
189
+ 'shipment' => $this->shipment,
190
+ 'order' => $this->object,
191
+ 'email_heading' => $this->get_heading(),
192
+ 'additional_content' => $this->get_additional_content(),
193
+ 'sent_to_admin' => false,
194
+ 'plain_text' => false,
195
+ 'email' => $this,
196
+ )
197
+ );
198
+ }
199
+
200
+ /**
201
+ * Get content plain.
202
+ *
203
+ * @return string
204
+ */
205
+ public function get_content_plain() {
206
+ return wc_get_template_html(
207
+ $this->template_plain, array(
208
+ 'shipment' => $this->shipment,
209
+ 'order' => $this->object,
210
+ 'email_heading' => $this->get_heading(),
211
+ 'additional_content' => $this->get_additional_content(),
212
+ 'sent_to_admin' => false,
213
+ 'plain_text' => true,
214
+ 'email' => $this,
215
+ )
216
+ );
217
+ }
218
+
219
+ /**
220
+ * Default content to show below main email content.
221
+ *
222
+ * @since 1.0.1
223
+ * @return string
224
+ */
225
+ public function get_default_additional_content() {
226
+ return '';
227
+ }
228
+ }
229
+
230
+ endif;
231
+
232
+ return new WC_GZD_Email_Customer_Return_Shipment_Delivered();
packages/woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-return-shipment.php ADDED
@@ -0,0 +1,265 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Class WC_GZD_Email_Customer_Return_Shipment file.
4
+ *
5
+ * @package Vendidero/Germanized/Shipments/Emails
6
+ */
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly.
10
+ }
11
+
12
+ use Vendidero\Germanized\Shipments\Package;
13
+ use Vendidero\Germanized\Shipments\Shipment;
14
+ use Vendidero\Germanized\Shipments\ReturnShipment;
15
+
16
+ if ( ! class_exists( 'WC_GZD_Email_Customer_Return_Shipment', false ) ) :
17
+
18
+ /**
19
+ * Customer return shipment notification.
20
+ *
21
+ * Return shipment notifications are sent as soon as a return shipment is marked as processing.
22
+ *
23
+ * @class WC_GZD_Email_Customer_Return_Shipment
24
+ * @version 1.0.0
25
+ * @package Vendidero/Germanized/Shipments/Emails
26
+ * @extends WC_Email
27
+ */
28
+ class WC_GZD_Email_Customer_Return_Shipment extends WC_Email {
29
+
30
+ /**
31
+ * Shipment.
32
+ *
33
+ * @var ReturnShipment|bool
34
+ */
35
+ public $shipment;
36
+
37
+ public $helper = null;
38
+
39
+ /**
40
+ * Is this email a confirmation for the customer after manually reviewing the return?
41
+ *
42
+ * @var bool
43
+ */
44
+ public $is_confirmation = false;
45
+
46
+ /**
47
+ * Constructor.
48
+ */
49
+ public function __construct() {
50
+ $this->customer_email = true;
51
+ $this->id = 'customer_return_shipment';
52
+ $this->title = _x( 'Order return', 'shipments', 'woocommerce-germanized' );
53
+ $this->description = _x( 'Order return notifications are sent to the customer after a return shipment was marked as processing.', 'shipments', 'woocommerce-germanized' );
54
+
55
+ $this->template_html = 'emails/customer-return-shipment.php';
56
+ $this->template_plain = 'emails/plain/customer-return-shipment.php';
57
+ $this->template_base = Package::get_path() . '/templates/';
58
+ $this->helper = function_exists( 'wc_gzd_get_email_helper' ) ? wc_gzd_get_email_helper( $this ) : false;
59
+
60
+ $this->placeholders = array(
61
+ '{site_title}' => $this->get_blogname(),
62
+ '{shipment_number}' => '',
63
+ '{order_number}' => '',
64
+ '{order_date}' => '',
65
+ '{date_sent}' => '',
66
+ );
67
+
68
+ // Triggers for this email.
69
+ add_action( 'woocommerce_gzd_return_shipment_status_draft_to_processing_notification', array( $this, 'trigger' ), 10 );
70
+ add_action( 'woocommerce_gzd_return_shipment_status_requested_to_processing_notification', array( $this, 'trigger' ), 10 );
71
+
72
+ // Call parent constructor.
73
+ parent::__construct();
74
+ }
75
+
76
+ /**
77
+ * Get email subject.
78
+ *
79
+ * @since 3.1.0
80
+ * @return string
81
+ */
82
+ public function get_default_subject() {
83
+ return _x( 'Return to your order {order_number}', 'shipments', 'woocommerce-germanized' );
84
+ }
85
+
86
+ /**
87
+ * Get email heading.
88
+ *
89
+ * @since 3.1.0
90
+ * @return string
91
+ */
92
+ public function get_default_heading() {
93
+ return _x( 'Return to your order: {order_number}', 'shipments', 'woocommerce-germanized' );
94
+ }
95
+
96
+ /**
97
+ * Switch Woo and Germanized locale
98
+ */
99
+ public function setup_locale() {
100
+
101
+ if ( $this->is_customer_email() && function_exists( 'wc_gzd_switch_to_site_locale' ) && apply_filters( 'woocommerce_email_setup_locale', true ) ) {
102
+ wc_gzd_switch_to_site_locale();
103
+ }
104
+
105
+ parent::setup_locale();
106
+ }
107
+
108
+ /**
109
+ * Restore Woo and Germanized locale
110
+ */
111
+ public function restore_locale() {
112
+
113
+ if ( $this->is_customer_email() && function_exists( 'wc_gzd_restore_locale' ) && apply_filters( 'woocommerce_email_restore_locale', true ) ) {
114
+ wc_gzd_restore_locale();
115
+ }
116
+
117
+ parent::restore_locale();
118
+ }
119
+
120
+ /**
121
+ * Trigger.
122
+ *
123
+ * @param int $shipment_id Shipment ID.
124
+ * @param bool $is_confirmation
125
+ */
126
+ public function trigger( $shipment_id, $is_confirmation = false ) {
127
+ if ( $this->helper ) {
128
+ $this->helper->setup_locale();
129
+ } else {
130
+ $this->setup_locale();
131
+ }
132
+
133
+ $this->is_confirmation = $is_confirmation;
134
+
135
+ if ( $this->shipment = wc_gzd_get_shipment( $shipment_id ) ) {
136
+
137
+ if ( 'return' !== $this->shipment->get_type() ) {
138
+ return;
139
+ }
140
+
141
+ // Check if this is a customer request.
142
+ if ( $this->shipment->is_customer_requested() ) {
143
+ $this->is_confirmation = true;
144
+ }
145
+
146
+ $this->placeholders['{shipment_number}'] = $this->shipment->get_shipment_number();
147
+
148
+ if ( $order_shipment = wc_gzd_get_shipment_order( $this->shipment->get_order() ) ) {
149
+
150
+ $this->object = $this->shipment->get_order();
151
+ $this->recipient = $order_shipment->get_order()->get_billing_email();
152
+ $this->placeholders['{order_date}'] = wc_format_datetime( $order_shipment->get_order()->get_date_created() );
153
+ $this->placeholders['{order_number}'] = $order_shipment->get_order()->get_order_number();
154
+
155
+ if ( $this->shipment->get_date_sent() ) {
156
+ $this->placeholders['{date_sent}'] = wc_format_datetime( $this->shipment->get_date_sent() );
157
+ }
158
+ }
159
+ }
160
+
161
+ $this->id = 'customer_return_shipment';
162
+
163
+ if ( $this->helper ) {
164
+ $this->helper->setup_email_locale();
165
+ }
166
+
167
+ if ( $this->is_enabled() && $this->get_recipient() ) {
168
+ $this->send( $this->get_recipient(), $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
169
+ }
170
+
171
+ if ( $this->helper ) {
172
+ $this->helper->restore_email_locale();
173
+ }
174
+
175
+ if ( $this->helper ) {
176
+ $this->helper->restore_locale();
177
+ } else {
178
+ $this->restore_locale();
179
+ }
180
+ }
181
+
182
+ /**
183
+ * Return content from the additional_content field.
184
+ *
185
+ * Displayed above the footer.
186
+ *
187
+ * @since 2.0.4
188
+ * @return string
189
+ */
190
+ public function get_additional_content() {
191
+ if ( is_callable( 'parent::get_additional_content' ) ) {
192
+ return parent::get_additional_content();
193
+ }
194
+
195
+ return '';
196
+ }
197
+
198
+ /**
199
+ * Get content html.
200
+ *
201
+ * @return string
202
+ */
203
+ public function get_content_html() {
204
+ return wc_get_template_html(
205
+ $this->template_html, array(
206
+ 'shipment' => $this->shipment,
207
+ 'order' => $this->object,
208
+ 'is_confirmation' => $this->is_confirmation,
209
+ 'email_heading' => $this->get_heading(),
210
+ 'additional_content' => $this->get_additional_content(),
211
+ 'sent_to_admin' => false,
212
+ 'plain_text' => false,
213
+ 'email' => $this,
214
+ )
215
+ );
216
+ }
217
+
218
+ /**
219
+ * Get content plain.
220
+ *
221
+ * @return string
222
+ */
223
+ public function get_content_plain() {
224
+ return wc_get_template_html(
225
+ $this->template_plain, array(
226
+ 'shipment' => $this->shipment,
227
+ 'order' => $this->object,
228
+ 'is_confirmation' => $this->is_confirmation,
229
+ 'email_heading' => $this->get_heading(),
230
+ 'additional_content' => $this->get_additional_content(),
231
+ 'sent_to_admin' => false,
232
+ 'plain_text' => true,
233
+ 'email' => $this,
234
+ )
235
+ );
236
+ }
237
+
238
+ public function get_attachments() {
239
+ $attachments = array();
240
+
241
+ if ( $this->shipment->has_label() ) {
242
+ $label = $this->shipment->get_label();
243
+
244
+ if ( $file = $label->get_file() ) {
245
+ $attachments[] = $file;
246
+ }
247
+ }
248
+
249
+ return apply_filters( 'woocommerce_email_attachments', $attachments, $this->id, $this->object, $this );
250
+ }
251
+
252
+ /**
253
+ * Default content to show below main email content.
254
+ *
255
+ * @since 1.0.1
256
+ * @return string
257
+ */
258
+ public function get_default_additional_content() {
259
+ return '';
260
+ }
261
+ }
262
+
263
+ endif;
264
+
265
+ return new WC_GZD_Email_Customer_Return_Shipment();
packages/woocommerce-germanized-shipments/includes/emails/class-wc-gzd-email-customer-shipment.php CHANGED
@@ -152,13 +152,37 @@ if ( ! class_exists( 'WC_GZD_Email_Customer_Shipment', false ) ) :
152
  return apply_filters( 'woocommerce_email_heading_customer_shipment', $this->format_string( $heading ), $this->object );
153
  }
154
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
155
  /**
156
  * Trigger.
157
  *
158
  * @param int $shipment_id Shipment ID.
159
  */
160
  public function trigger( $shipment_id ) {
161
- if ( $this->helper ) {
162
  $this->helper->setup_locale();
163
  } else {
164
  $this->setup_locale();
152
  return apply_filters( 'woocommerce_email_heading_customer_shipment', $this->format_string( $heading ), $this->object );
153
  }
154
 
155
+ /**
156
+ * Switch Woo and Germanized locale
157
+ */
158
+ public function setup_locale() {
159
+
160
+ if ( $this->is_customer_email() && function_exists( 'wc_gzd_switch_to_site_locale' ) && apply_filters( 'woocommerce_email_setup_locale', true ) ) {
161
+ wc_gzd_switch_to_site_locale();
162
+ }
163
+
164
+ parent::setup_locale();
165
+ }
166
+
167
+ /**
168
+ * Restore Woo and Germanized locale
169
+ */
170
+ public function restore_locale() {
171
+
172
+ if ( $this->is_customer_email() && function_exists( 'wc_gzd_restore_locale' ) && apply_filters( 'woocommerce_email_restore_locale', true ) ) {
173
+ wc_gzd_restore_locale();
174
+ }
175
+
176
+ parent::restore_locale();
177
+ }
178
+
179
  /**
180
  * Trigger.
181
  *
182
  * @param int $shipment_id Shipment ID.
183
  */
184
  public function trigger( $shipment_id ) {
185
+ if ( $this->helper ) {
186
  $this->helper->setup_locale();
187
  } else {
188
  $this->setup_locale();
packages/woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php CHANGED
@@ -9,16 +9,19 @@
9
  */
10
 
11
  use Vendidero\Germanized\Shipments\Order;
 
12
  use Vendidero\Germanized\Shipments\Shipment;
13
  use Vendidero\Germanized\Shipments\AddressSplitter;
14
  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\ShippingProviders;
19
  use Vendidero\Germanized\Shipments\ShippingProviderMethod;
20
  use Vendidero\Germanized\Shipments\ShippingProviderMethodPlaceholder;
21
  use Vendidero\Germanized\Shipments\Package;
 
22
 
23
  defined( 'ABSPATH' ) || exit;
24
 
@@ -113,6 +116,25 @@ function wc_gzd_get_shipment_order_shipping_statuses() {
113
  return apply_filters( 'woocommerce_gzd_order_shipping_statuses', $shipment_statuses );
114
  }
115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
116
  /**
117
  * @param $instance_id
118
  *
@@ -122,9 +144,11 @@ 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 ) ) {
@@ -204,6 +228,32 @@ function wc_gzd_get_shipment_order_shipping_status_name( $status ) {
204
  return apply_filters( 'woocommerce_gzd_order_shipping_status_name', $status_name, $status );
205
  }
206
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
207
  /**
208
  * Standard way of retrieving shipments based on certain parameters.
209
  *
@@ -218,12 +268,29 @@ function wc_gzd_get_shipments( $args ) {
218
  return $query->get_shipments();
219
  }
220
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
221
  /**
222
  * Main function for returning shipments.
223
  *
224
  * @param mixed $the_shipment Object or shipment id.
225
  *
226
- * @return bool|SimpleShipment|Shipment
227
  */
228
  function wc_gzd_get_shipment( $the_shipment ) {
229
  return ShipmentFactory::get_shipment( $the_shipment );
@@ -240,7 +307,7 @@ function wc_gzd_get_shipment_statuses() {
240
  'gzd-processing' => _x( 'Processing', 'shipments', 'woocommerce-germanized' ),
241
  'gzd-shipped' => _x( 'Shipped', 'shipments', 'woocommerce-germanized' ),
242
  'gzd-delivered' => _x( 'Delivered', 'shipments', 'woocommerce-germanized' ),
243
- 'gzd-returned' => _x( 'Returned', 'shipments', 'woocommerce-germanized' ),
244
  );
245
 
246
  /**
@@ -254,40 +321,46 @@ function wc_gzd_get_shipment_statuses() {
254
  return apply_filters( 'woocommerce_gzd_shipment_statuses', $shipment_statuses );
255
  }
256
 
257
- function wc_gzd_get_shipment_selectable_statuses( $type ) {
 
 
 
 
 
258
  $shipment_statuses = wc_gzd_get_shipment_statuses();
259
 
260
- if ( isset( $shipment_statuses['gzd-returned'] ) ) {
261
- unset( $shipment_statuses['gzd-returned'] );
262
  }
263
 
264
  /**
265
- * Add or remove selectable Shipment statuses for a certain type.
266
  *
267
- * @param array $shipment_statuses The available shipment statuses.
268
- * @param string $type The shipment type e.g. return.
 
269
  *
270
  * @since 3.0.0
271
  * @package Vendidero/Germanized/Shipments
272
  */
273
- return apply_filters( 'woocommerce_gzd_shipment_selectable_statuses', $shipment_statuses, $type );
274
  }
275
 
276
  /**
277
- * @param SimpleShipment $parent_shipment
278
  * @param array $args
279
  *
280
  * @return ReturnShipment|WP_Error
281
  */
282
- function wc_gzd_create_return_shipment( $parent_shipment, $args = array() ) {
283
  try {
284
 
285
- if ( ! $parent_shipment || ! is_a( $parent_shipment, 'Vendidero\Germanized\Shipments\Shipment' ) ) {
286
- throw new Exception( _x( 'Invalid shipment.', 'shipments', 'woocommerce-germanized' ) );
287
  }
288
 
289
- if ( $parent_shipment->has_complete_return() ) {
290
- throw new Exception( _x( 'This shipment is already fully returned.', 'shipments', 'woocommerce-germanized' ) );
291
  }
292
 
293
  $args = wp_parse_args( $args, array(
@@ -302,9 +375,7 @@ function wc_gzd_create_return_shipment( $parent_shipment, $args = array() ) {
302
  }
303
 
304
  // Make sure shipment knows its parent
305
- $shipment->set_parent_id( $parent_shipment->get_id() );
306
- $shipment->set_parent( $parent_shipment );
307
-
308
  $shipment->sync( $args['props'] );
309
  $shipment->sync_items( $args );
310
  $shipment->save();
@@ -377,6 +448,78 @@ function wc_gzd_create_shipment_item( $shipment, $order_item, $args = array() )
377
  return $item;
378
  }
379
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
380
  /**
381
  * @param WP_Error $error
382
  *
@@ -392,15 +535,23 @@ function wc_gzd_shipment_wp_error_has_errors( $error ) {
392
  }
393
  }
394
 
395
- function wc_gzd_create_return_shipment_item( $shipment, $parent_item, $args = array() ) {
 
 
 
 
 
 
 
 
396
  try {
397
 
398
- if ( ! $parent_item || ! is_a( $parent_item, '\Vendidero\Germanized\Shipments\ShipmentItem' ) ) {
399
  throw new Exception( _x( 'Invalid shipment item', 'shipments', 'woocommerce-germanized' ) );
400
  }
401
 
402
- $item = new Vendidero\Germanized\Shipments\ShipmentItem();
403
- $item->set_parent_id( $parent_item->get_id() );
404
  $item->set_shipment( $shipment );
405
  $item->sync( $args );
406
  $item->save();
@@ -422,7 +573,7 @@ function wc_gzd_get_shipment_editable_statuses() {
422
  * @since 3.0.0
423
  * @package Vendidero/Germanized/Shipments
424
  */
425
- return apply_filters( 'woocommerce_gzd_shipment_editable_statuses', array( 'draft', 'processing' ) );
426
  }
427
 
428
  function wc_gzd_split_shipment_street( $streetStr ) {
@@ -550,11 +701,11 @@ function wc_gzd_shipments_upload_data( $filename, $bits, $relative = true ) {
550
  }
551
 
552
  /**
553
- * @param SimpleShipment $parent_shipment
554
  *
555
  * @return array
556
  */
557
- function wc_gzd_get_shipment_return_address( $parent_shipment ) {
558
  $country_state = wc_format_country_state_string( Package::get_setting( 'return_address_country' ) );
559
 
560
  $address = array(
@@ -574,32 +725,6 @@ function wc_gzd_get_shipment_return_address( $parent_shipment ) {
574
  return $address;
575
  }
576
 
577
- /**
578
- * @param WC_Order $order
579
- */
580
- function wc_gzd_get_shipment_shipping_provider( $order ) {
581
- $method_id = wc_gzd_get_shipment_order_shipping_method_id( $order );
582
- $shipping_provider = '';
583
-
584
- if ( $shipping_method = wc_gzd_get_shipping_provider_method( $method_id ) ) {
585
-
586
- if ( $provider = $shipping_method->get_provider() ) {
587
- $shipping_provider = $provider;
588
- }
589
- }
590
-
591
- /**
592
- * Allows adjusting the shipping provider chosen for a shipment belonging to a certain order.
593
- *
594
- * @param string $name The shipping provider name e.g. dhl.
595
- * @param WC_Order $order The order object.
596
- *
597
- * @since 3.0.6
598
- * @package Vendidero/Germanized/Shipments
599
- */
600
- return apply_filters( 'woocommerce_gzd_shipment_order_shipping_provider', $shipping_provider, $order );
601
- }
602
-
603
  /**
604
  * @param WC_Order $order
605
  */
@@ -680,7 +805,6 @@ function wc_gzd_get_shipment_sent_statuses() {
680
  return apply_filters( 'woocommerce_gzd_shipment_sent_statuses', array(
681
  'shipped',
682
  'delivered',
683
- 'returned'
684
  ) );
685
  }
686
 
@@ -738,27 +862,35 @@ function wc_gzd_is_shipment_status( $maybe_status ) {
738
  *
739
  * @since 2.2
740
  *
741
- * @param mixed $the_shipment Object or shipment item id.
 
742
  *
743
- * @return bool|WC_GZD_Shipment_Item
744
  */
745
- function wc_gzd_get_shipment_item( $the_item = false ) {
746
  $item_id = wc_gzd_get_shipment_item_id( $the_item );
747
 
748
  if ( ! $item_id ) {
749
  return false;
750
  }
751
 
 
 
 
 
 
 
752
  /**
753
  * Filter to adjust the classname used to construct a ShipmentItem.
754
  *
755
  * @param string $classname The classname to be used.
756
  * @param integer $item_id The shipment item id.
 
757
  *
758
  * @since 3.0.0
759
  * @package Vendidero/Germanized/Shipments
760
  */
761
- $classname = apply_filters( 'woocommerce_gzd_shipment_item_class', 'Vendidero\Germanized\Shipments\ShipmentItem', $item_id );
762
 
763
  if ( ! class_exists( $classname ) ) {
764
  return false;
@@ -853,12 +985,13 @@ function wc_gzd_format_shipment_weight( $weight ) {
853
  * @since 3.0.0
854
  * @return array
855
  */
856
- function wc_gzd_get_account_shipments_columns() {
857
  /**
858
  * Filter to adjust columns being used to display shipments in a table view on the customer
859
  * account page.
860
  *
861
  * @param string[] $columns The columns in key => value pairs.
 
862
  *
863
  * @since 3.0.0
864
  * @package Vendidero/Germanized/Shipments
@@ -871,12 +1004,220 @@ function wc_gzd_get_account_shipments_columns() {
871
  'shipment-status' => _x( 'Status', 'shipments', 'woocommerce-germanized' ),
872
  'shipment-tracking' => _x( 'Tracking', 'shipments', 'woocommerce-germanized' ),
873
  'shipment-actions' => _x( 'Actions', 'shipments', 'woocommerce-germanized' ),
874
- )
875
  );
876
 
877
  return $columns;
878
  }
879
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
880
  /**
881
  * Get account shipments actions.
882
  *
@@ -891,6 +1232,10 @@ function wc_gzd_get_account_shipments_actions( $shipment ) {
891
  $shipment = wc_gzd_get_shipment( $shipment_id );
892
  }
893
 
 
 
 
 
894
  $actions = array(
895
  'view' => array(
896
  'url' => $shipment->get_view_shipment_url(),
@@ -898,6 +1243,13 @@ function wc_gzd_get_account_shipments_actions( $shipment ) {
898
  ),
899
  );
900
 
 
 
 
 
 
 
 
901
  /**
902
  * Filter to adjust available actions in the shipments table view on the customer account page
903
  * for a specific shipment.
9
  */
10
 
11
  use Vendidero\Germanized\Shipments\Order;
12
+ use Vendidero\Germanized\Shipments\ReturnReason;
13
  use Vendidero\Germanized\Shipments\Shipment;
14
  use Vendidero\Germanized\Shipments\AddressSplitter;
15
  use Vendidero\Germanized\Shipments\ShipmentFactory;
16
  use Vendidero\Germanized\Shipments\ShipmentItem;
17
+ use Vendidero\Germanized\Shipments\ShipmentReturnItem;
18
  use Vendidero\Germanized\Shipments\SimpleShipment;
19
  use Vendidero\Germanized\Shipments\ReturnShipment;
20
  use Vendidero\Germanized\Shipments\ShippingProviders;
21
  use Vendidero\Germanized\Shipments\ShippingProviderMethod;
22
  use Vendidero\Germanized\Shipments\ShippingProviderMethodPlaceholder;
23
  use Vendidero\Germanized\Shipments\Package;
24
+ use Vendidero\Germanized\Shipments\ShippingProvider;
25
 
26
  defined( 'ABSPATH' ) || exit;
27
 
116
  return apply_filters( 'woocommerce_gzd_order_shipping_statuses', $shipment_statuses );
117
  }
118
 
119
+ function wc_gzd_get_shipment_order_return_statuses() {
120
+ $shipment_statuses = array(
121
+ 'gzd-open' => _x( 'Open', 'shipments', 'woocommerce-germanized' ),
122
+ 'gzd-partially-returned' => _x( 'Partially returned', 'shipments', 'woocommerce-germanized' ),
123
+ 'gzd-returned' => _x( 'Returned', 'shipments', 'woocommerce-germanized' ),
124
+ );
125
+
126
+ /**
127
+ * Filter to adjust or add order return statuses.
128
+ * An order might retrieve a shipping status e.g. not shipped.
129
+ *
130
+ * @param array $shipment_statuses Available order return statuses.
131
+ *
132
+ * @since 3.0.0
133
+ * @package Vendidero/Germanized/Shipments
134
+ */
135
+ return apply_filters( 'woocommerce_gzd_order_return_statuses', $shipment_statuses );
136
+ }
137
+
138
  /**
139
  * @param $instance_id
140
  *
144
 
145
  $original_id = $instance_id;
146
 
147
+ if ( is_a( $original_id, 'WC_Shipping_Rate' ) ) {
148
+ $instance_id = $original_id->get_instance_id();
149
+ } elseif( ! is_numeric( $instance_id ) ) {
150
  $expl = explode( ':', $instance_id );
151
+ $instance_id = ( ( ! empty( $expl ) && sizeof( $expl ) > 1 ) ? (int) $expl[1] : 0 );
152
  }
153
 
154
  if ( ! empty( $instance_id ) ) {
228
  return apply_filters( 'woocommerce_gzd_order_shipping_status_name', $status_name, $status );
229
  }
230
 
231
+ function wc_gzd_get_shipment_order_return_status_name( $status ) {
232
+ if ( 'gzd-' !== substr( $status, 0, 4 ) ) {
233
+ $status = 'gzd-' . $status;
234
+ }
235
+
236
+ $status_name = '';
237
+ $statuses = wc_gzd_get_shipment_order_return_statuses();
238
+
239
+ if ( array_key_exists( $status, $statuses ) ) {
240
+ $status_name = $statuses[ $status ];
241
+ }
242
+
243
+ /**
244
+ * Filter to adjust the status name for a certain order return status.
245
+ *
246
+ * @see wc_gzd_get_shipment_order_return_statuses()
247
+ *
248
+ * @param string $status_name The status name.
249
+ * @param string $status The return status.
250
+ *
251
+ * @since 3.0.0
252
+ * @package Vendidero/Germanized/Shipments
253
+ */
254
+ return apply_filters( 'woocommerce_gzd_order_return_status_name', $status_name, $status );
255
+ }
256
+
257
  /**
258
  * Standard way of retrieving shipments based on certain parameters.
259
  *
268
  return $query->get_shipments();
269
  }
270
 
271
+ function wc_gzd_get_shipment_customer_visible_statuses( $shipment_type = 'simple' ) {
272
+ $statuses = array_keys( wc_gzd_get_shipment_statuses() );
273
+ $statuses = array_diff( $statuses, array( 'gzd-draft' ) );
274
+
275
+ /**
276
+ * Filter to decide which shipment statuses should be visible to customers
277
+ * e.g. whether a shipment of a certain status should be shown or not.
278
+ *
279
+ * @param array $shipment_statuses The available shipment statuses.
280
+ * @param string $shipment_type The shipment type.
281
+ *
282
+ * @since 3.1.0
283
+ * @package Vendidero/Germanized/Shipments
284
+ */
285
+ return apply_filters( 'woocommerce_gzd_shipment_customer_visible_statuses', $statuses, $shipment_type );
286
+ }
287
+
288
  /**
289
  * Main function for returning shipments.
290
  *
291
  * @param mixed $the_shipment Object or shipment id.
292
  *
293
+ * @return bool|SimpleShipment|ReturnShipment|Shipment
294
  */
295
  function wc_gzd_get_shipment( $the_shipment ) {
296
  return ShipmentFactory::get_shipment( $the_shipment );
307
  'gzd-processing' => _x( 'Processing', 'shipments', 'woocommerce-germanized' ),
308
  'gzd-shipped' => _x( 'Shipped', 'shipments', 'woocommerce-germanized' ),
309
  'gzd-delivered' => _x( 'Delivered', 'shipments', 'woocommerce-germanized' ),
310
+ 'gzd-requested' => _x( 'Requested', 'shipments', 'woocommerce-germanized' ),
311
  );
312
 
313
  /**
321
  return apply_filters( 'woocommerce_gzd_shipment_statuses', $shipment_statuses );
322
  }
323
 
324
+ /**
325
+ * @param Shipment $shipment
326
+ *
327
+ * @return mixed|void
328
+ */
329
+ function wc_gzd_get_shipment_selectable_statuses( $shipment ) {
330
  $shipment_statuses = wc_gzd_get_shipment_statuses();
331
 
332
+ if ( ! $shipment->has_status( 'requested' ) && isset( $shipment_statuses['gzd-requested'] ) ) {
333
+ unset( $shipment_statuses['gzd-requested'] );
334
  }
335
 
336
  /**
337
+ * Add or remove selectable shipment statuses for a certain shipment and/or shipment type.
338
  *
339
+ * @param array $shipment_statuses The available shipment statuses.
340
+ * @param string $type The shipment type e.g. return.
341
+ * @param Shipment $shipment The shipment instance.
342
  *
343
  * @since 3.0.0
344
  * @package Vendidero/Germanized/Shipments
345
  */
346
+ return apply_filters( 'woocommerce_gzd_shipment_selectable_statuses', $shipment_statuses, $shipment->get_type(), $shipment );
347
  }
348
 
349
  /**
350
+ * @param Order $order_shipment
351
  * @param array $args
352
  *
353
  * @return ReturnShipment|WP_Error
354
  */
355
+ function wc_gzd_create_return_shipment( $order_shipment, $args = array() ) {
356
  try {
357
 
358
+ if ( ! $order_shipment || ! is_a( $order_shipment, 'Vendidero\Germanized\Shipments\Order' ) ) {
359
+ throw new Exception( _x( 'Invalid order.', 'shipments', 'woocommerce-germanized' ) );
360
  }
361
 
362
+ if ( ! $order_shipment->needs_return() ) {
363
+ throw new Exception( _x( 'This order is already fully returned.', 'shipments', 'woocommerce-germanized' ) );
364
  }
365
 
366
  $args = wp_parse_args( $args, array(
375
  }
376
 
377
  // Make sure shipment knows its parent
378
+ $shipment->set_order_shipment( $order_shipment );
 
 
379
  $shipment->sync( $args['props'] );
380
  $shipment->sync_items( $args );
381
  $shipment->save();
448
  return $item;
449
  }
450
 
451
+ function wc_gzd_allow_customer_return_empty_return_reason( $order ) {
452
+ return apply_filters( 'woocommerce_gzd_allow_customer_return_empty_return_reason', true, $order );
453
+ }
454
+
455
+ /**
456
+ * @param bool $allow_none
457
+ * @param bool|WC_Order_Item $order_item
458
+ *
459
+ * @return ReturnReason[]
460
+ */
461
+ function wc_gzd_get_return_shipment_reasons( $order_item = false ) {
462
+ $reasons = Package::get_setting( 'return_reasons' );
463
+
464
+ if ( ! is_array( $reasons ) ) {
465
+ $reasons = array();
466
+ } else {
467
+ $reasons = array_filter( $reasons );
468
+ }
469
+
470
+ /**
471
+ * Filter that allows adjusting raw return reasons for a specific shipment (e.g. array containing reason data with code, reason and order).
472
+ *
473
+ * @param array $reasons Available return reasons.
474
+ * @param WC_Order_Item|false $order_item The order item object if available to further filter reasons.
475
+ *
476
+ * @since 3.1.0
477
+ * @package Vendidero/Germanized/Shipments
478
+ */
479
+ $reasons = apply_filters( 'woocommerce_gzd_return_shipment_reasons_raw', $reasons, $order_item );
480
+ $instances = array();
481
+
482
+ foreach( $reasons as $reason ) {
483
+ $instances[] = new ReturnReason( $reason );
484
+ }
485
+
486
+ usort( $instances, '_wc_gzd_sort_return_shipment_reasons' );
487
+
488
+ /**
489
+ * Filter that allows to adjust available return reasons for a specific shipment.
490
+ *
491
+ * @param ReturnReason[] $reasons Available return reasons.
492
+ * @param WC_Order_Item|false $order_item The order item object if available to further filter reasons.
493
+ *
494
+ * @since 3.1.0
495
+ * @package Vendidero/Germanized/Shipments
496
+ */
497
+ return apply_filters( 'woocommerce_gzd_return_shipment_reasons', $instances, $order_item );
498
+ }
499
+
500
+ function wc_gzd_return_shipment_reason_exists( $maybe_reason, $shipment = false ) {
501
+ $reasons = wc_gzd_get_return_shipment_reasons( $shipment );
502
+ $exists = false;
503
+
504
+ foreach( $reasons as $reason ) {
505
+
506
+ if ( $reason->get_code() === $maybe_reason ) {
507
+ $exists = true;
508
+ break;
509
+ }
510
+ }
511
+
512
+ return $exists;
513
+ }
514
+
515
+ /**
516
+ * @param ReturnReason $a
517
+ * @param ReturnReason $b
518
+ */
519
+ function _wc_gzd_sort_return_shipment_reasons( $a, $b ) {
520
+ return $a->get_order() == $b->get_order() ? 0 : ( $a->get_order() > $b->get_order() ) ? 1 : -1;
521
+ }
522
+
523
  /**
524
  * @param WP_Error $error
525
  *
535
  }
536
  }
537
 
538
+ /**
539
+ * @param Shipment $shipment
540
+ * @param ShipmentItem $shipment_item
541
+ * @param array $args
542
+ *
543
+ * @return ShipmentReturnItem|WP_Error
544
+ */
545
+ function wc_gzd_create_return_shipment_item( $shipment, $shipment_item, $args = array() ) {
546
+
547
  try {
548
 
549
+ if ( ! $shipment_item || ! is_a( $shipment_item, '\Vendidero\Germanized\Shipments\ShipmentItem' ) ) {
550
  throw new Exception( _x( 'Invalid shipment item', 'shipments', 'woocommerce-germanized' ) );
551
  }
552
 
553
+ $item = new Vendidero\Germanized\Shipments\ShipmentReturnItem();
554
+ $item->set_order_item_id( $shipment_item->get_order_item_id() );
555
  $item->set_shipment( $shipment );
556
  $item->sync( $args );
557
  $item->save();
573
  * @since 3.0.0
574
  * @package Vendidero/Germanized/Shipments
575
  */
576
+ return apply_filters( 'woocommerce_gzd_shipment_editable_statuses', array( 'draft', 'requested', 'processing' ) );
577
  }
578
 
579
  function wc_gzd_split_shipment_street( $streetStr ) {
701
  }
702
 
703
  /**
704
+ * @param Order $shipment_order
705
  *
706
  * @return array
707
  */
708
+ function wc_gzd_get_shipment_return_address( $shipment_order ) {
709
  $country_state = wc_format_country_state_string( Package::get_setting( 'return_address_country' ) );
710
 
711
  $address = array(
725
  return $address;
726
  }
727
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
728
  /**
729
  * @param WC_Order $order
730
  */
805
  return apply_filters( 'woocommerce_gzd_shipment_sent_statuses', array(
806
  'shipped',
807
  'delivered',
 
808
  ) );
809
  }
810
 
862
  *
863
  * @since 2.2
864
  *
865
+ * @param mixed $the_item Object or shipment item id.
866
+ * @param string $item_type The shipment item type.
867
  *
868
+ * @return bool|ShipmentItem
869
  */
870
+ function wc_gzd_get_shipment_item( $the_item = false, $item_type = 'simple' ) {
871
  $item_id = wc_gzd_get_shipment_item_id( $the_item );
872
 
873
  if ( ! $item_id ) {
874
  return false;
875
  }
876
 
877
+ $item_class = 'Vendidero\Germanized\Shipments\ShipmentItem';
878
+
879
+ if ( 'return' === $item_type ) {
880
+ $item_class = 'Vendidero\Germanized\Shipments\ShipmentReturnItem';
881
+ }
882
+
883
  /**
884
  * Filter to adjust the classname used to construct a ShipmentItem.
885
  *
886
  * @param string $classname The classname to be used.
887
  * @param integer $item_id The shipment item id.
888
+ * @param string $item_type The shipment item type.
889
  *
890
  * @since 3.0.0
891
  * @package Vendidero/Germanized/Shipments
892
  */
893
+ $classname = apply_filters( 'woocommerce_gzd_shipment_item_class', $item_class, $item_id, $item_type );
894
 
895
  if ( ! class_exists( $classname ) ) {
896
  return false;
985
  * @since 3.0.0
986
  * @return array
987
  */
988
+ function wc_gzd_get_account_shipments_columns( $type = 'simple' ) {
989
  /**
990
  * Filter to adjust columns being used to display shipments in a table view on the customer
991
  * account page.
992
  *
993
  * @param string[] $columns The columns in key => value pairs.
994
+ * @param string $type The shipment type e.g. simple or return.
995
  *
996
  * @since 3.0.0
997
  * @package Vendidero/Germanized/Shipments
1004
  'shipment-status' => _x( 'Status', 'shipments', 'woocommerce-germanized' ),
1005
  'shipment-tracking' => _x( 'Tracking', 'shipments', 'woocommerce-germanized' ),
1006
  'shipment-actions' => _x( 'Actions', 'shipments', 'woocommerce-germanized' ),
1007
+ ), $type
1008
  );
1009
 
1010
  return $columns;
1011
  }
1012
 
1013
+ function wc_gzd_get_order_customer_add_return_url( $order ) {
1014
+
1015
+ if ( ! $shipment_order = wc_gzd_get_shipment_order( $order ) ) {
1016
+ return false;
1017
+ }
1018
+
1019
+ $url = wc_get_endpoint_url( 'add-return-shipment', $shipment_order->get_order()->get_id(), wc_get_page_permalink( 'myaccount' ) );
1020
+
1021
+ if ( $shipment_order->get_order()->get_customer_id() <= 0 ) {
1022
+ $key = $shipment_order->get_order_return_request_key();
1023
+
1024
+ if ( ! empty( $key ) ) {
1025
+ $url = add_query_arg( array( 'key' => $key ), $url );
1026
+ } else {
1027
+ $url = '';
1028
+ }
1029
+ }
1030
+
1031
+ /**
1032
+ * Filter to adjust the URL the customer (or guest) might access to add a return to a certain order.
1033
+ *
1034
+ * @param string $url The URL pointing to the add return page.
1035
+ * @param Order $order The order object.
1036
+ *
1037
+ * @since 3.0.0
1038
+ * @package Vendidero/Germanized/Shipments
1039
+ */
1040
+ return apply_filters( "woocommerce_gzd_shipments_add_return_shipment_url", $url, $shipment_order->get_order() );
1041
+ }
1042
+
1043
+ /**
1044
+ * @param WC_Order $order
1045
+ *
1046
+ * @return mixed
1047
+ */
1048
+ function wc_gzd_order_is_customer_returnable( $order, $check_date = true ) {
1049
+ $is_returnable = false;
1050
+
1051
+ if ( ! $shipment_order = wc_gzd_get_shipment_order( $order ) ) {
1052
+ return false;
1053
+ }
1054
+
1055
+ if ( $provider = wc_gzd_get_order_shipping_provider( $order ) ) {
1056
+ $is_returnable = $provider->supports_customer_returns();
1057
+
1058
+ if ( $shipment_order->get_order()->get_customer_id() <= 0 && ! $provider->supports_guest_returns() ) {
1059
+ $is_returnable = false;
1060
+ }
1061
+ }
1062
+
1063
+ // Shipment is fully returned
1064
+ if ( ! $shipment_order->needs_return() ) {
1065
+ $is_returnable = false;
1066
+ }
1067
+
1068
+ // Check days left for return
1069
+ $maximum_days = Package::get_setting( 'customer_return_open_days' );
1070
+
1071
+ if ( $check_date && ! empty( $maximum_days ) ) {
1072
+ $maximum_days = absint( $maximum_days );
1073
+
1074
+ if ( ! empty( $maximum_days ) ) {
1075
+
1076
+ $completed_date = $shipment_order->get_order()->get_date_created();
1077
+
1078
+ if ( $shipment_order->get_date_shipped() ) {
1079
+ $completed_date = $shipment_order->get_date_shipped();
1080
+ } elseif( $shipment_order->get_order()->get_date_completed() ) {
1081
+ $completed_date = $shipment_order->get_order()->get_date_completed();
1082
+ }
1083
+
1084
+ /**
1085
+ * Filter to adjust the completed date of an order used to determine whether an order is
1086
+ * still returnable by the customer or not. The date is constructed by checking for existence in the following order:
1087
+ *
1088
+ * 1. The date the order was shipped completely
1089
+ * 2. The date the order was marked as completed
1090
+ * 3. The date the order was created
1091
+ *
1092
+ * @param WC_DateTime $completed_date The order completed date.
1093
+ * @param WC_Order $order The order instance.
1094
+ *
1095
+ * @since 3.1.0
1096
+ * @package Vendidero/Germanized/Shipments
1097
+ */
1098
+ $completed_date = apply_filters( 'woocommerce_gzd_order_return_completed_date', $completed_date, $shipment_order->get_order() );
1099
+
1100
+ if ( $completed_date ) {
1101
+ $today = new WC_DateTime();
1102
+ $diff = $today->diff( $completed_date );
1103
+
1104
+ if ( $diff->days > $maximum_days ) {
1105
+ $is_returnable = false;
1106
+ }
1107
+ }
1108
+ }
1109
+ }
1110
+
1111
+ /**
1112
+ * Filter to decide whether a customer might add return request to a certain order.
1113
+ *
1114
+ * @param bool $is_returnable Whether or not shipment supports customer added returns
1115
+ * @param WC_Order $order The order instance for which the return shall be created.
1116
+ * @param bool $check_date Whether to check for a maximum date or not.
1117
+ *
1118
+ * @since 3.1.0
1119
+ * @package Vendidero/Germanized/Shipments
1120
+ */
1121
+ return apply_filters( 'woocommerce_gzd_order_is_returnable_by_customer', $is_returnable, $shipment_order->get_order(), $check_date );
1122
+ }
1123
+
1124
+ /**
1125
+ * @param $order
1126
+ *
1127
+ * @return bool|ShippingProvider
1128
+ */
1129
+ function wc_gzd_get_order_shipping_provider( $order ) {
1130
+ if ( is_numeric( $order ) ) {
1131
+ $order = wc_get_order( $order );
1132
+ }
1133
+
1134
+ if ( ! $order ) {
1135
+ return false;
1136
+ }
1137
+
1138
+ $provider = false;
1139
+
1140
+ if ( $method = wc_gzd_get_shipping_provider_method( wc_gzd_get_shipment_order_shipping_method_id( $order ) ) ) {
1141
+ $provider = $method->get_provider_instance();
1142
+ }
1143
+
1144
+ /**
1145
+ * Filters the shipping provider detected for a specific order.
1146
+ *
1147
+ * @param bool|ShippingProvider $provider The shipping provider instance.
1148
+ * @param WC_Order $order The order instance.
1149
+ *
1150
+ * @since 3.1.0
1151
+ * @package Vendidero/Germanized/Shipments
1152
+ */
1153
+ return apply_filters( 'woocommerce_gzd_get_order_shipping_provider', $provider, $order );
1154
+ }
1155
+
1156
+ function wc_gzd_get_customer_order_return_request_key() {
1157
+ $key = ( isset( $_REQUEST['key'] ) ? wc_clean( wp_unslash( $_REQUEST['key'] ) ) : '' );
1158
+
1159
+ return $key;
1160
+ }
1161
+
1162
+ function wc_gzd_customer_can_add_return_shipment( $order_id ) {
1163
+ $can_view_shipments = false;
1164
+
1165
+ if ( isset( $_REQUEST['key'] ) && ! empty( $_REQUEST['key'] ) ) {
1166
+ $key = wc_gzd_get_customer_order_return_request_key();
1167
+
1168
+ if ( ( $order_shipment = wc_gzd_get_shipment_order( $order_id ) ) && ! empty( $key ) ) {
1169
+
1170
+ if ( hash_equals( $order_shipment->get_order_return_request_key(), $key ) ) {
1171
+ $can_view_shipments = true;
1172
+ }
1173
+ }
1174
+ } elseif ( is_user_logged_in() ) {
1175
+ $can_view_shipments = current_user_can( 'view_order', $order_id );
1176
+ }
1177
+
1178
+ /**
1179
+ * Filters whether a logged in user (or guest) might view shipments belonging to an order or not.
1180
+ *
1181
+ * @param bool $can_view_shipments Whether the user (or guest) might see shipments or not.
1182
+ * @param integer $order_id The order id.
1183
+ *
1184
+ * @since 3.1.0
1185
+ * @package Vendidero/Germanized/Shipments
1186
+ */
1187
+ return apply_filters( 'woocommerce_gzd_customer_can_view_shipments', $can_view_shipments, $order_id );
1188
+ }
1189
+
1190
+ /**
1191
+ * @param WC_Order|integer $order
1192
+ */
1193
+ function wc_gzd_customer_return_needs_manual_confirmation( $order ) {
1194
+ if ( is_numeric( $order ) ) {
1195
+ $order = wc_get_order( $order );
1196
+ }
1197
+
1198
+ if ( ! $order ) {
1199
+ return true;
1200
+ }
1201
+
1202
+ $needs_manual_confirmation = true;
1203
+
1204
+ if ( $provider = wc_gzd_get_order_shipping_provider( $order ) ) {
1205
+ $needs_manual_confirmation = $provider->needs_manual_confirmation_for_returns();
1206
+ }
1207
+
1208
+ /**
1209
+ * Filter to decide whether a customer added return of a certain order
1210
+ * needs manual confirmation by the shop manager or not.
1211
+ *
1212
+ * @param bool $needs_manual_confirmation Whether needs manual confirmation or not.
1213
+ * @param WC_Order $order The order instance for which the return shall be created.
1214
+ *
1215
+ * @since 3.1.0
1216
+ * @package Vendidero/Germanized/Shipments
1217
+ */
1218
+ return apply_filters( 'woocommerce_gzd_customer_return_needs_manual_confirmation', $needs_manual_confirmation, $order );
1219
+ }
1220
+
1221
  /**
1222
  * Get account shipments actions.
1223
  *
1232
  $shipment = wc_gzd_get_shipment( $shipment_id );
1233
  }
1234
 
1235
+ if ( ! $shipment ) {
1236
+ return array();
1237
+ }
1238
+
1239
  $actions = array(
1240
  'view' => array(
1241
  'url' => $shipment->get_view_shipment_url(),
1243
  ),
1244
  );
1245
 
1246
+ if ( 'return' === $shipment->get_type() && $shipment->has_label() && ! $shipment->has_status( 'delivered' ) ) {
1247
+ $actions['download-label'] = array(
1248
+ 'url' => $shipment->get_label_download_url(),
1249
+ 'name' => _x( 'Download label', 'shipments', 'woocommerce-germanized' ),
1250
+ );
1251
+ }
1252
+
1253
  /**
1254
  * Filter to adjust available actions in the shipments table view on the customer account page
1255
  * for a specific shipment.
packages/woocommerce-germanized-shipments/includes/wc-gzd-shipment-template-hooks.php CHANGED
@@ -13,9 +13,15 @@ use Vendidero\Germanized\Shipments\Package;
13
  defined( 'ABSPATH' ) || exit;
14
 
15
  if ( Package::get_setting( 'customer_account_enable' ) === 'yes' ) {
 
16
  // Customer Panel
17
- add_action( 'woocommerce_view_order', 'woocommerce_gzd_shipments_template_customer_order', 10, 1 );
18
  add_action( 'woocommerce_account_view-shipment_endpoint', 'woocommerce_gzd_shipments_template_view_shipment' );
 
 
 
 
 
19
 
20
  // View shipment details
21
  add_action( 'woocommerce_gzd_view_shipment', 'woocommerce_gzd_shipment_details_table', 10 );
13
  defined( 'ABSPATH' ) || exit;
14
 
15
  if ( Package::get_setting( 'customer_account_enable' ) === 'yes' ) {
16
+
17
  // Customer Panel
18
+ add_action( 'woocommerce_view_order', 'woocommerce_gzd_shipments_template_view_shipments', 10, 1 );
19
  add_action( 'woocommerce_account_view-shipment_endpoint', 'woocommerce_gzd_shipments_template_view_shipment' );
20
+ add_action( 'woocommerce_account_view-shipments_endpoint', 'woocommerce_gzd_shipments_template_view_shipments' );
21
+
22
+ // Returns
23
+ add_action( 'woocommerce_account_add-return-shipment_endpoint', 'woocommerce_gzd_shipments_template_add_return_shipment' );
24
+ add_action( 'woocommerce_gzd_view_shipment', 'woocommerce_gzd_return_shipments_template_instructions', 5 );
25
 
26
  // View shipment details
27
  add_action( 'woocommerce_gzd_view_shipment', 'woocommerce_gzd_shipment_details_table', 10 );
packages/woocommerce-germanized-shipments/includes/wc-gzd-shipments-template-functions.php CHANGED
@@ -73,23 +73,37 @@ if ( ! function_exists( 'wc_gzd_get_email_shipment_items' ) ) {
73
  }
74
  }
75
 
76
- if ( ! function_exists( 'woocommerce_gzd_shipments_template_customer_order' ) ) {
77
 
78
- function woocommerce_gzd_shipments_template_customer_order( $order_id ) {
79
- $shipments_order = wc_gzd_get_shipment_order( $order_id );
 
 
80
 
81
- if ( ! $shipments_order ) {
82
  return;
83
  }
84
 
85
- $order = wc_get_order( $order_id );
86
- $shipments = $shipments_order->get_simple_shipments();
 
 
 
87
 
88
- wc_get_template( 'myaccount/order-shipments.php', array(
89
- 'has_shipments' => ( ! empty( $shipments ) ? true : false ),
90
- 'shipments' => $shipments,
91
- 'order' => $order,
92
  ) );
 
 
 
 
 
 
 
 
 
 
93
  }
94
  }
95
 
@@ -113,6 +127,31 @@ if ( ! function_exists( 'woocommerce_gzd_shipments_template_view_shipment' ) ) {
113
  }
114
  }
115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
116
  if ( ! function_exists( 'woocommerce_gzd_shipment_details_table' ) ) {
117
 
118
  function woocommerce_gzd_shipment_details_table( $shipment_id ) {
@@ -128,3 +167,27 @@ if ( ! function_exists( 'woocommerce_gzd_shipment_details_table' ) ) {
128
  );
129
  }
130
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  }
74
  }
75
 
76
+ if ( ! function_exists( 'woocommerce_gzd_shipments_template_view_shipments' ) ) {
77
 
78
+ function woocommerce_gzd_shipments_template_view_shipments( $order_id ) {
79
+
80
+ if ( ( ! ( $order = wc_get_order( $order_id ) ) ) || ( ! current_user_can( 'view_order', $order_id ) ) ) {
81
+ echo '<div class="woocommerce-error">' . esc_html_x( 'Invalid order.', 'shipments', 'woocommerce-germanized' ) . ' <a href="' . esc_url( wc_get_page_permalink( 'myaccount' ) ) . '" class="wc-forward">' . esc_html_x( 'My account', 'shipments', 'woocommerce-germanized' ) . '</a></div>';
82
 
 
83
  return;
84
  }
85
 
86
+ $shipments = wc_gzd_get_shipments( array(
87
+ 'order_id' => $order_id,
88
+ 'type' => 'simple',
89
+ 'status' => wc_gzd_get_shipment_customer_visible_statuses(),
90
+ ) );
91
 
92
+ $returns = wc_gzd_get_shipments( array(
93
+ 'order_id' => $order_id,
94
+ 'type' => 'return',
95
+ 'status' => wc_gzd_get_shipment_customer_visible_statuses( 'return' ),
96
  ) );
97
+
98
+ wc_get_template(
99
+ 'myaccount/order-shipments.php',
100
+ array(
101
+ 'order_id' => $order_id,
102
+ 'order' => $order,
103
+ 'shipments' => $shipments,
104
+ 'returns' => $returns,
105
+ )
106
+ );
107
  }
108
  }
109
 
127
  }
128
  }
129
 
130
+ if ( ! function_exists( 'woocommerce_gzd_shipments_template_add_return_shipment' ) ) {
131
+
132
+ function woocommerce_gzd_shipments_template_add_return_shipment( $order_id ) {
133
+
134
+ if ( ( ! ( $order = wc_get_order( $order_id ) ) ) || ( ! wc_gzd_customer_can_add_return_shipment( $order_id ) ) ) {
135
+ echo '<div class="woocommerce-error">' . esc_html_x( 'Invalid order.', 'shipments', 'woocommerce-germanized' ) . ' <a href="' . esc_url( wc_get_page_permalink( 'myaccount' ) ) . '" class="wc-forward">' . esc_html_x( 'My account', 'shipments', 'woocommerce-germanized' ) . '</a></div>';
136
+ return;
137
+ }
138
+
139
+ if ( ! wc_gzd_order_is_customer_returnable( $order_id ) ) {
140
+ echo '<div class="woocommerce-error">' . esc_html_x( 'Currently you cannot add new return requests to that order. If you have questions regarding the return of that order please contact us for further information.', 'shipments', 'woocommerce-germanized' ) . ( is_user_logged_in() ? ' <a href="' . esc_url( $order->get_view_order_url() ) . '" class="wc-forward">' . esc_html_x( 'View order', 'shipments', 'woocommerce-germanized' ) . '</a>' : '' ) . '</div>';
141
+ return;
142
+ }
143
+
144
+ wc_get_template(
145
+ 'myaccount/add-return-shipment.php',
146
+ array(
147
+ 'order' => $order,
148
+ 'order_id' => $order_id,
149
+ 'shipment_order' => wc_gzd_get_shipment_order( $order ),
150
+ )
151
+ );
152
+ }
153
+ }
154
+
155
  if ( ! function_exists( 'woocommerce_gzd_shipment_details_table' ) ) {
156
 
157
  function woocommerce_gzd_shipment_details_table( $shipment_id ) {
167
  );
168
  }
169
  }
170
+
171
+ if ( ! function_exists( 'woocommerce_gzd_return_shipments_template_instructions' ) ) {
172
+
173
+ function woocommerce_gzd_return_shipments_template_instructions( $shipment_id ) {
174
+ if ( $shipment = wc_gzd_get_shipment( $shipment_id ) ) {
175
+
176
+ if ( 'return' !== $shipment->get_type() ) {
177
+ return;
178
+ }
179
+
180
+ if ( ! $shipment->has_status( array( 'processing', 'sent' ) ) ) {
181
+ return;
182
+ }
183
+
184
+ wc_get_template(
185
+ 'shipment/shipment-return-instructions.php',
186
+ array(
187
+ 'shipment' => $shipment,
188
+ 'shipment_id' => $shipment_id,
189
+ )
190
+ );
191
+ }
192
+ }
193
+ }
packages/woocommerce-germanized-shipments/src/Admin/Admin.php CHANGED
@@ -38,8 +38,146 @@ class Admin {
38
 
39
  // Template check
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' ) ) {
@@ -101,7 +239,7 @@ class Admin {
101
  $report_action = 'gzd_created_shipments';
102
 
103
  if ( $order ) {
104
- Automation::create_shipments( $id );
105
  $changed++;
106
  }
107
  }
@@ -350,7 +488,8 @@ class Admin {
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' ),
38
 
39
  // Template check
40
  add_filter( 'woocommerce_gzd_template_check', array( __CLASS__, 'add_template_check' ), 10, 1 );
41
+
42
+ // Return reason options
43
+ add_action( 'woocommerce_admin_field_shipment_return_reasons', array( __CLASS__, 'output_return_reasons_field' ) );
44
+ add_action( 'woocommerce_gzd_admin_settings_after_save_shipments', array( __CLASS__, 'save_return_reasons' ) );
45
+ }
46
+
47
+ public static function get_admin_shipment_item_columns( $shipment ) {
48
+ $item_columns = array(
49
+ 'name' => array(
50
+ 'title' => _x( 'Item', 'shipments', 'woocommerce-germanized' ),
51
+ 'size' => 6,
52
+ 'order' => 5,
53
+ ),
54
+ 'quantity' => array(
55
+ 'title' => _x( 'Quantity', 'shipments', 'woocommerce-germanized' ),
56
+ 'size' => 3,
57
+ 'order' => 10,
58
+ ),
59
+ 'action' => array(
60
+ 'title' => _x( 'Actions', 'shipments', 'woocommerce-germanized' ),
61
+ 'size' => 3,
62
+ 'order' => 15,
63
+ ),
64
+ );
65
+
66
+ if ( 'return' === $shipment->get_type() ) {
67
+ $item_columns['return_reason'] = array(
68
+ 'title' => _x( 'Reason', 'shipments', 'woocommerce-germanized' ),
69
+ 'size' => 3,
70
+ 'order' => 7,
71
+ );
72
+
73
+ $item_columns['name']['size'] = 5;
74
+ $item_columns['quantity']['size'] = 2;
75
+ $item_columns['action']['size'] = 2;
76
+ }
77
+
78
+ uasort ( $item_columns, array( __CLASS__, '_sort_shipment_item_columns' ) );
79
+
80
+ return apply_filters( 'woocommerce_gzd_shipments_meta_box_shipment_item_columns', $item_columns, $shipment );
81
+ }
82
+
83
+ public static function _sort_shipment_item_columns( $a, $b ) {
84
+ if ( $a['order'] == $b['order'] ) {
85
+ return 0;
86
+ }
87
+ return ( $a['order'] < $b['order'] ) ? -1 : 1;
88
+ }
89
+
90
+ public static function save_return_reasons() {
91
+ $reasons = array();
92
+
93
+ // phpcs:disable WordPress.Security.NonceVerification.NoNonceVerification -- Nonce verification already handled in WC_Admin_Settings::save()
94
+ if ( isset( $_POST['shipment_return_reason'] ) ) {
95
+
96
+ $reasons_post = wc_clean( wp_unslash( $_POST['shipment_return_reason'] ) );
97
+ $order = 0;
98
+
99
+ foreach( $reasons_post as $reason ) {
100
+ $code = isset( $reason['code'] ) ? $reason['code'] : '';
101
+ $reason_text = isset( $reason['reason'] ) ? $reason['reason'] : '';
102
+
103
+ if ( empty( $code ) ) {
104
+ $code = sanitize_title( $reason_text );
105
+ }
106
+
107
+ if ( ! empty( $reason_text ) ) {
108
+ $reasons[] = array(
109
+ 'order' => ++$order,
110
+ 'code' => $code,
111
+ 'reason' => $reason_text,
112
+ );
113
+ }
114
+ }
115
+ }
116
+ // phpcs:enable
117
+
118
+ update_option( 'woocommerce_gzd_shipments_return_reasons', $reasons );
119
  }
120
 
121
+ public static function output_return_reasons_field( $value ) {
122
+ ob_start();
123
+ ?>
124
+ <tr valign="top">
125
+ <th scope="row" class="titledesc"><?php echo esc_html_x( 'Return reasons', 'shipments', 'woocommerce-germanized' ); ?></th>
126
+ <td class="forminp" id="shipment_return_reasons">
127
+ <div class="wc_input_table_wrapper">
128
+ <table class="widefat wc_input_table sortable" cellspacing="0">
129
+ <thead>
130
+ <tr>
131
+ <th class="sort">&nbsp;</th>
132
+ <th style="width: 10ch;"><?php echo esc_html_x( 'Reason code', 'shipments', 'woocommerce-germanized' ); ?> <?php echo wc_help_tip( _x( 'The reason code is used to identify the reason.', 'shipments', 'woocommerce-germanized' ) ); ?></th>
133
+ <th><?php echo esc_html_x( 'Reason', 'shipments', 'woocommerce-germanized' ); ?> <?php echo wc_help_tip( _x( 'Choose a reason text.', 'shipments', 'woocommerce-germanized' ) ); ?></th>
134
+ </tr>
135
+ </thead>
136
+ <tbody class="shipment_return_reasons">
137
+ <?php
138
+ $i = -1;
139
+ foreach ( wc_gzd_get_return_shipment_reasons() as $reason ) {
140
+ $i++;
141
+
142
+ echo '<tr class="reason">
143
+ <td class="sort"></td>
144
+ <td style="width: 10ch;"><input type="text" value="' . esc_attr( wp_unslash( $reason->get_code() ) ) . '" name="shipment_return_reason[' . esc_attr( $i ) . '][code]" /></td>
145
+ <td><input type="text" value="' . esc_attr( wp_unslash( $reason->get_reason() ) ) . '" name="shipment_return_reason[' . esc_attr( $i ) . '][reason]" /></td>
146
+ </tr>';
147
+ }
148
+ ?>
149
+ </tbody>
150
+ <tfoot>
151
+ <tr>
152
+ <th colspan="7"><a href="#" class="add button"><?php echo esc_html_x( '+ Add reason', 'shipments', 'woocommerce-germanized' ); ?></a> <a href="#" class="remove_rows button"><?php echo esc_html_x( 'Remove selected reason(s)', 'shipments', 'woocommerce-germanized' ); ?></a></th>
153
+ </tr>
154
+ </tfoot>
155
+ </table>
156
+ </div>
157
+ <script type="text/javascript">
158
+ jQuery(function() {
159
+ jQuery('#shipment_return_reasons').on( 'click', 'a.add', function(){
160
+
161
+ var size = jQuery('#shipment_return_reasons').find('tbody .reason').length;
162
+
163
+ jQuery('<tr class="reason">\
164
+ <td class="sort"></td>\
165
+ <td style="width: 10ch;"><input type="text" name="shipment_return_reason[' + size + '][code]" /></td>\
166
+ <td><input type="text" name="shipment_return_reason[' + size + '][reason]" /></td>\
167
+ </tr>').appendTo('#shipment_return_reasons table tbody');
168
+
169
+ return false;
170
+ });
171
+ });
172
+ </script>
173
+ </td>
174
+ </tr>
175
+ <?php
176
+ $html = ob_get_clean();
177
+
178
+ echo $html;
179
+ }
180
+
181
  public static function download_label() {
182
  if ( isset( $_GET['action'] ) && 'wc-gzd-download-shipment-label' === $_GET['action'] ) {
183
  if ( isset( $_GET['shipment_id'] ) && wp_verify_nonce( $_REQUEST['_wpnonce'], 'download-shipment-label' ) ) {
239
  $report_action = 'gzd_created_shipments';
240
 
241
  if ( $order ) {
242
+ Automation::create_shipments( $id, false );
243
  $changed++;
244
  }
245
  }
488
  'i18n_remove_shipment_notice' => _x( 'Do you really want to delete the shipment?', 'shipments', 'woocommerce-germanized' ),
489
  'remove_label_nonce' => wp_create_nonce( 'remove-shipment-label' ),
490
  'edit_label_nonce' => wp_create_nonce( 'edit-shipment-label' ),
491
+ 'send_return_notification_nonce' => wp_create_nonce( 'send-return-shipment-notification' ),
492
+ 'confirm_return_request_nonce' => wp_create_nonce( 'confirm-return-request' ),
493
  'i18n_remove_label_notice' => _x( 'Do you really want to delete the label?', 'shipments', 'woocommerce-germanized' ),
494
  'i18n_create_label_enabled' => _x( 'Create new label', 'shipments', 'woocommerce-germanized' ),
495
  'i18n_create_label_disabled' => _x( 'Please save the shipment before creating a new label', 'shipments', 'woocommerce-germanized' ),
packages/woocommerce-germanized-shipments/src/Admin/MetaBox.php CHANGED
@@ -96,6 +96,10 @@ class MetaBox {
96
  $props['quantity'] = absint( wp_unslash( $_POST['shipment_item'][ $id ]['quantity'][ $item_id ] ) );
97
  }
98
 
 
 
 
 
99
  $item->sync( $props );
100
  }
101
  }
96
  $props['quantity'] = absint( wp_unslash( $_POST['shipment_item'][ $id ]['quantity'][ $item_id ] ) );
97
  }
98
 
99
+ if ( isset( $_POST['shipment_item'][ $id ]['return_reason_code'][ $item_id ] ) ) {
100
+ $props['return_reason_code'] = wc_clean( wp_unslash( $_POST['shipment_item'][ $id ]['return_reason_code'][ $item_id ] ) );
101
+ }
102
+
103
  $item->sync( $props );
104
  }
105
  }
packages/woocommerce-germanized-shipments/src/Admin/ReturnTable.php CHANGED
@@ -24,7 +24,7 @@ class ReturnTable extends Table {
24
  $columns['status'] = _x( 'Status', 'shipments', 'woocommerce-germanized' );
25
  $columns['items'] = _x( 'Items', 'shipments', 'woocommerce-germanized' );
26
  $columns['sender'] = _x( 'Sender', 'shipments', 'woocommerce-germanized' );
27
- $columns['shipment'] = _x( 'Shipment', 'shipments', 'woocommerce-germanized' );
28
  $columns['actions'] = _x( 'Actions', 'shipments', 'woocommerce-germanized' );
29
 
30
  return $columns;
@@ -42,7 +42,7 @@ class ReturnTable extends Table {
42
  unset( $actions['shipped'] );
43
  }
44
 
45
- if ( ! $shipment->has_status( 'delivered' ) ) {
46
  $actions['received'] = array(
47
  'url' => wp_nonce_url( admin_url( 'admin-ajax.php?action=woocommerce_gzd_update_shipment_status&status=delivered&shipment_id=' . $shipment->get_id() ), 'update-shipment-status' ),
48
  'name' => _x( 'Delivered', 'shipments', 'woocommerce-germanized' ),
@@ -50,15 +50,20 @@ class ReturnTable extends Table {
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;
@@ -69,6 +74,8 @@ class ReturnTable extends Table {
69
  }
70
 
71
  protected function get_custom_bulk_actions( $actions ) {
 
 
72
  return $actions;
73
  }
74
 
@@ -88,19 +95,4 @@ class ReturnTable extends Table {
88
  echo '&ndash;';
89
  }
90
  }
91
-
92
- /**
93
- * Handles the post author column output.
94
- *
95
- * @since 4.3.0
96
- *
97
- * @param ReturnShipment $shipment The current shipment object.
98
- */
99
- public function column_shipment( $shipment ) {
100
- if ( ( $parent = $shipment->get_parent() ) ) {
101
- echo '<a href="' . $parent->get_edit_shipment_url() . '">' . $parent->get_shipment_number() . '</a>';
102
- } else {
103
- echo '&ndash;';
104
- }
105
- }
106
  }
24
  $columns['status'] = _x( 'Status', 'shipments', 'woocommerce-germanized' );
25
  $columns['items'] = _x( 'Items', 'shipments', 'woocommerce-germanized' );
26
  $columns['sender'] = _x( 'Sender', 'shipments', 'woocommerce-germanized' );
27
+ $columns['order'] = _x( 'Order', 'shipments', 'woocommerce-germanized' );
28
  $columns['actions'] = _x( 'Actions', 'shipments', 'woocommerce-germanized' );
29
 
30
  return $columns;
42
  unset( $actions['shipped'] );
43
  }
44
 
45
+ if ( ! $shipment->has_status( 'delivered' ) && ! $shipment->has_status( 'requested' ) ) {
46
  $actions['received'] = array(
47
  'url' => wp_nonce_url( admin_url( 'admin-ajax.php?action=woocommerce_gzd_update_shipment_status&status=delivered&shipment_id=' . $shipment->get_id() ), 'update-shipment-status' ),
48
  'name' => _x( 'Delivered', 'shipments', 'woocommerce-germanized' ),
50
  );
51
  }
52
 
53
+ if ( $shipment->has_status( 'processing' ) ) {
54
+ $actions['email_notification'] = array(
55
+ 'url' => wp_nonce_url( admin_url( 'admin-ajax.php?action=woocommerce_gzd_send_return_shipment_notification_email&shipment_id=' . $shipment->get_id() ), 'send-return-shipment-notification' ),
56
+ 'name' => _x( 'Send notification to customer', 'shipments', 'woocommerce-germanized' ),
57
+ 'action' => 'send-return-notification email',
58
+ );
59
+ }
60
 
61
+ if ( $shipment->is_customer_requested() && $shipment->has_status( 'requested' ) ) {
62
+ $actions['confirm'] = array(
63
+ 'url' => wp_nonce_url( admin_url( 'admin-ajax.php?action=woocommerce_gzd_confirm_return_request&shipment_id=' . $shipment->get_id() ), 'confirm-return-request' ),
64
+ 'name' => _x( 'Confirm return request', 'shipments', 'woocommerce-germanized' ),
65
+ 'action' => 'confirm',
66
+ );
 
67
  }
68
 
69
  return $actions;
74
  }
75
 
76
  protected function get_custom_bulk_actions( $actions ) {
77
+ $actions['confirm_requests'] = _x( 'Confirm open return requests', 'shipments', 'woocommerce-germanized' );
78
+
79
  return $actions;
80
  }
81
 
95
  echo '&ndash;';
96
  }
97
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98
  }
packages/woocommerce-germanized-shipments/src/Admin/Settings.php CHANGED
@@ -30,7 +30,7 @@ class Settings {
30
  $pointers = array(
31
  'pointers' => array(
32
  'menu' => array(
33
- 'target' => '.wc-gzd-settings-breadcrumb .page-title-action',
34
  'next' => 'default',
35
  'next_url' => '',
36
  'next_trigger' => array(),
@@ -59,8 +59,8 @@ class Settings {
59
  ),
60
  'auto' => array(
61
  'target' => '#woocommerce_gzd_shipments_auto_enable-toggle',
62
- 'next' => '',
63
- 'next_url' => $next_url,
64
  'next_trigger' => array(),
65
  'options' => array(
66
  'content' => '<h3>' . esc_html_x( 'Automation', 'shipments', 'woocommerce-germanized' ) . '</h3>' .
@@ -71,6 +71,20 @@ class Settings {
71
  ),
72
  ),
73
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  ),
75
  );
76
  }
@@ -158,17 +172,22 @@ class Settings {
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' ),
162
 
163
  array(
164
- 'title' => _x( 'List', 'shipments', 'woocommerce-germanized' ),
165
- 'desc' => _x( 'List shipments on customer account order screen.', 'shipments', 'woocommerce-germanized' ),
166
- 'id' => 'woocommerce_gzd_shipments_customer_account_enable',
167
- 'default' => 'yes',
168
- 'type' => 'gzd_toggle',
169
  ),
170
 
171
- array( 'type' => 'sectionend', 'id' => 'shipments_customer_options' ),
 
 
 
 
 
 
 
 
 
172
 
173
  array( 'title' => _x( 'Return Address', 'shipments', 'woocommerce-germanized' ), 'type' => 'title', 'id' => 'shipments_return_options' ),
174
 
@@ -230,6 +249,18 @@ class Settings {
230
  ),
231
 
232
  array( 'type' => 'sectionend', 'id' => 'shipments_return_options' ),
 
 
 
 
 
 
 
 
 
 
 
 
233
  );
234
 
235
  return $settings;
@@ -269,6 +300,17 @@ class Settings {
269
  }
270
 
271
  WC_Admin_Settings::save_fields( $settings );
 
 
 
 
 
 
 
 
 
 
 
272
  $provider->save();
273
 
274
  if ( 'new' === $provider_name ) {
@@ -295,7 +337,9 @@ class Settings {
295
  $provider = new ShippingProvider();
296
  }
297
 
298
- $settings = $provider->get_settings();
 
 
299
  }
300
 
301
  return $settings;
30
  $pointers = array(
31
  'pointers' => array(
32
  'menu' => array(
33
+ 'target' => '.wc-gzd-settings-breadcrumb .page-title-action:last',
34
  'next' => 'default',
35
  'next_url' => '',
36
  'next_trigger' => array(),
59
  ),
60
  'auto' => array(
61
  'target' => '#woocommerce_gzd_shipments_auto_enable-toggle',
62
+ 'next' => 'returns',
63
+ 'next_url' => '',
64
  'next_trigger' => array(),
65
  'options' => array(
66
  'content' => '<h3>' . esc_html_x( 'Automation', 'shipments', 'woocommerce-germanized' ) . '</h3>' .
71
  ),
72
  ),
73
  ),
74
+ 'returns' => array(
75
+ 'target' => '#shipments_return_options-description',
76
+ 'next' => '',
77
+ 'next_url' => $next_url,
78
+ 'next_trigger' => array(),
79
+ 'options' => array(
80
+ 'content' => '<h3>' . esc_html_x( 'Returns', 'shipments', 'woocommerce-germanized' ) . '</h3>' .
81
+ '<p>' . sprintf( _x( 'Germanized can help you to minimize manual work while handling customer returns. Learn more about returns within our %s.', 'shipments', 'woocommerce-germanized' ), '<a href="https://vendidero.de/dokument/retouren-konfigurieren-und-verwalten" target="_blank">' . _x( 'documentation', 'shipments', 'woocommerce-germanized' ) .'</a>' ) . '</p>',
82
+ 'position' => array(
83
+ 'edge' => 'top',
84
+ 'align' => 'top',
85
+ ),
86
+ ),
87
+ ),
88
  ),
89
  );
90
  }
172
 
173
  array( 'type' => 'sectionend', 'id' => 'shipments_auto_options' ),
174
 
175
+ array( 'title' => _x( 'Returns', 'shipments', 'woocommerce-germanized' ), 'type' => 'title', 'id' => 'shipments_return_options', 'desc' => sprintf( _x( 'Returns can be added manually by the shop manager or by the customer. Decide what suits you best by turning customer-added returns on or off in your %s.', 'shipments', 'woocommerce-germanized' ), '<a href="' . admin_url( 'admin.php?page=wc-settings&tab=germanized-shipments&section=provider' ) . '">' . _x( 'shipping provider settings', 'shipments', 'woocommerce-germanized' ) . '</a>' ) ),
176
 
177
  array(
178
+ 'type' => 'shipment_return_reasons',
 
 
 
 
179
  ),
180
 
181
+ array(
182
+ 'title' => _x( 'Days to return', 'shipments', 'woocommerce-germanized' ),
183
+ 'desc' => '<div class="wc-gzd-additional-desc">' . sprintf( _x( 'In case one of your %s supports returns added by customers you might want to limit the number of days a customer is allowed to add returns to an order. The days are counted starting with the date the order was shipped, completed or created (by checking for existance in this order).', 'shipments', 'woocommerce-germanized' ), '<a href="' . admin_url( 'admin.php?page=wc-settings&tab=germanized-shipments&section=provider' ) . '">' . _x( 'shipping providers', 'shipments', 'woocommerce-germanized' ) . '</a>' ) . '</div>',
184
+ 'css' => 'max-width: 60px;',
185
+ 'type' => 'number',
186
+ 'id' => 'woocommerce_gzd_shipments_customer_return_open_days',
187
+ 'default' => '14',
188
+ ),
189
+
190
+ array( 'type' => 'sectionend', 'id' => 'shipments_return_options' ),
191
 
192
  array( 'title' => _x( 'Return Address', 'shipments', 'woocommerce-germanized' ), 'type' => 'title', 'id' => 'shipments_return_options' ),
193
 
249
  ),
250
 
251
  array( 'type' => 'sectionend', 'id' => 'shipments_return_options' ),
252
+
253
+ array( 'title' => _x( 'Customer Account', 'shipments', 'woocommerce-germanized' ), 'type' => 'title', 'id' => 'shipments_customer_options' ),
254
+
255
+ array(
256
+ 'title' => _x( 'List', 'shipments', 'woocommerce-germanized' ),
257
+ 'desc' => _x( 'List shipments on customer account order screen.', 'shipments', 'woocommerce-germanized' ),
258
+ 'id' => 'woocommerce_gzd_shipments_customer_account_enable',
259
+ 'default' => 'yes',
260
+ 'type' => 'gzd_toggle',
261
+ ),
262
+
263
+ array( 'type' => 'sectionend', 'id' => 'shipments_customer_options' ),
264
  );
265
 
266
  return $settings;
300
  }
301
 
302
  WC_Admin_Settings::save_fields( $settings );
303
+
304
+ if ( $provider->get_id() <= 0 ) {
305
+ if ( empty( $provider->get_tracking_desc_placeholder( 'edit' ) ) ) {
306
+ $provider->set_tracking_desc_placeholder( $provider->get_default_tracking_desc_placeholder() );
307
+ }
308
+
309
+ if ( empty( $provider->get_tracking_url_placeholder( 'edit' ) ) ) {
310
+ $provider->set_tracking_url_placeholder( $provider->get_default_tracking_url_placeholder() );
311
+ }
312
+ }
313
+
314
  $provider->save();
315
 
316
  if ( 'new' === $provider_name ) {
337
  $provider = new ShippingProvider();
338
  }
339
 
340
+ if ( $provider ) {
341
+ $settings = $provider->get_settings();
342
+ }
343
  }
344
 
345
  return $settings;
packages/woocommerce-germanized-shipments/src/Admin/Table.php CHANGED
@@ -111,6 +111,18 @@ class Table extends WP_List_Table {
111
  $changed++;
112
  }
113
  }
 
 
 
 
 
 
 
 
 
 
 
 
114
  }
115
 
116
  /**
@@ -304,6 +316,8 @@ class Table extends WP_List_Table {
304
 
305
  $next_month = clone $datetime;
306
  $next_month->modify( '+ 1 month' );
 
 
307
 
308
  $args['date_created'] = $datetime->format( 'Y-m-d' ) . '...' . $next_month->format( 'Y-m-d' );
309
  }
@@ -576,8 +590,6 @@ class Table extends WP_List_Table {
576
  */
577
  protected function extra_tablenav( $which ) {
578
  ?>
579
-
580
-
581
  <div class="alignleft actions">
582
  <?php
583
  if ( 'top' === $which && ! is_singular() ) {
@@ -660,8 +672,7 @@ class Table extends WP_List_Table {
660
  * @return array
661
  */
662
  public function get_columns() {
663
-
664
- $columns = $this->get_custom_columns();
665
 
666
  /**
667
  * Filters the columns displayed in the Shipments list table.
@@ -958,7 +969,7 @@ class Table extends WP_List_Table {
958
  * @param Shipment $shipment The current shipment object.
959
  */
960
  public function column_status( $shipment ) {
961
- echo '<span class="shipment-status status-' . esc_attr( $shipment->get_status() ) . '">' . wc_gzd_get_shipment_status_name( $shipment->get_status() ) .'</span>';
962
  }
963
 
964
  /**
111
  $changed++;
112
  }
113
  }
114
+ } elseif( 'confirm_requests' === $action ) {
115
+ foreach ( $ids as $id ) {
116
+ if ( $shipment = wc_gzd_get_shipment( $id ) ) {
117
+ if ( 'return' === $shipment->get_type() ) {
118
+ if ( $shipment->is_customer_requested() && $shipment->has_status( 'requested' ) ) {
119
+ if ( $shipment->confirm_customer_request() ) {
120
+ $changed++;
121
+ }
122
+ }
123
+ }
124
+ }
125
+ }
126
  }
127
 
128
  /**
316
 
317
  $next_month = clone $datetime;
318
  $next_month->modify( '+ 1 month' );
319
+ // Make sure to not include next month first day
320
+ $next_month->modify( '-1 day' );
321
 
322
  $args['date_created'] = $datetime->format( 'Y-m-d' ) . '...' . $next_month->format( 'Y-m-d' );
323
  }
590
  */
591
  protected function extra_tablenav( $which ) {
592
  ?>
 
 
593
  <div class="alignleft actions">
594
  <?php
595
  if ( 'top' === $which && ! is_singular() ) {
672
  * @return array
673
  */
674
  public function get_columns() {
675
+ $columns = $this->get_custom_columns();
 
676
 
677
  /**
678
  * Filters the columns displayed in the Shipments list table.
969
  * @param Shipment $shipment The current shipment object.
970
  */
971
  public function column_status( $shipment ) {
972
+ echo '<span class="shipment-status shipment-type-' . esc_attr( $shipment->get_type() ) . '-status status-' . esc_attr( $shipment->get_status() ) . '">' . wc_gzd_get_shipment_status_name( $shipment->get_status() ) .'</span>';
973
  }
974
 
975
  /**
packages/woocommerce-germanized-shipments/src/Ajax.php CHANGED
@@ -28,10 +28,10 @@ class Ajax {
28
  }
29
 
30
  $ajax_events = array(
31
- 'get_shipment_available_items',
32
- 'get_shipment_available_return_items',
33
  'add_shipment_item',
34
- 'add_shipment_return',
35
  'add_shipment',
36
  'remove_shipment',
37
  'remove_shipment_item',
@@ -47,7 +47,8 @@ class Ajax {
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,29 +56,25 @@ class Ajax {
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
  }
@@ -90,14 +87,66 @@ class Ajax {
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
  }
@@ -167,7 +216,7 @@ class Ajax {
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(),
@@ -237,7 +286,8 @@ class Ajax {
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
  );
@@ -498,6 +548,7 @@ class Ajax {
498
  $response['shipment_id'] = $shipment_id;
499
  $response['fragments'] = array(
500
  '.order-shipping-status' => self::get_order_status_html( $order_shipment ),
 
501
  );
502
 
503
  self::send_json_success( $response, $order_shipment );
@@ -555,18 +606,20 @@ class Ajax {
555
  include( Package::get_path() . '/includes/admin/views/html-order-shipment.php' );
556
  $html = ob_get_clean();
557
 
558
- $response['new_shipment'] = $html;
 
559
  $response['fragments'] = array(
560
  '.order-shipping-status' => self::get_order_status_html( $order_shipment ),
 
561
  );
562
 
563
  self::send_json_success( $response, $order_shipment );
564
  }
565
 
566
- public static function add_shipment_return() {
567
  check_ajax_referer( 'edit-shipments', 'security' );
568
 
569
- if ( ! current_user_can( 'edit_shop_orders' ) || ! isset( $_POST['shipment_id'] ) ) {
570
  wp_die( -1 );
571
  }
572
 
@@ -581,28 +634,21 @@ class Ajax {
581
  'new_shipment' => '',
582
  );
583
 
584
- $shipment_id = absint( $_POST['shipment_id'] );
585
  $items = isset( $_POST['return_item'] ) ? (array) $_POST['return_item'] : array();
586
 
587
- if ( ! $parent_shipment = wc_gzd_get_shipment( $shipment_id ) ) {
588
  wp_send_json( $response_error );
589
  }
590
 
591
- if ( ! $order = $parent_shipment->get_order() ) {
592
- wp_send_json( $response_error );
593
- }
594
 
595
- if ( ! $order_shipment = wc_gzd_get_shipment_order( $order ) ) {
 
596
  wp_send_json( $response_error );
597
  }
598
 
599
- $parent_shipment = $order_shipment->get_shipment( $shipment_id );
600
- // Make sure the parent knows the order instance and it's returns
601
- $parent_shipment->set_order_shipment( $order_shipment );
602
-
603
- self::refresh_shipment_items( $order_shipment );
604
-
605
- $shipment = wc_gzd_create_return_shipment( $parent_shipment, array( 'items' => $items ) );
606
 
607
  if ( is_wp_error( $shipment ) ) {
608
  wp_send_json( $response_error );
@@ -610,11 +656,19 @@ class Ajax {
610
 
611
  $order_shipment->add_shipment( $shipment );
612
 
 
 
 
613
  ob_start();
614
  include( Package::get_path() . '/includes/admin/views/html-order-shipment.php' );
615
  $html = ob_get_clean();
616
 
617
- $response['new_shipment'] = $html;
 
 
 
 
 
618
 
619
  self::send_json_success( $response, $order_shipment );
620
  }
@@ -777,6 +831,12 @@ class Ajax {
777
  return $status_html;
778
  }
779
 
 
 
 
 
 
 
780
  public static function save_shipments() {
781
  check_ajax_referer( 'edit-shipments', 'security' );
782
 
@@ -821,32 +881,33 @@ class Ajax {
821
  self::send_json_success( $response, $order_shipment );
822
  }
823
 
824
- private static function get_shipments_html( $order_shipment, $active = 0 ) {
825
- ob_start();
826
- foreach( $order_shipment->get_simple_shipments() as $shipment ) {
827
- $is_active = false;
828
-
829
- if ( $active === $shipment->get_id() ) {
830
- $is_active = true;
831
- }
 
832
 
833
- include( Package::get_path() . '/includes/admin/views/html-order-shipment.php' );
834
- }
835
- $html = ob_get_clean();
836
- $html = '<div id="order-shipments-list" class="panel-inner">' . $html . '</div>';
837
 
838
  $fragments = array(
839
  '#order-shipments-list' => $html,
840
  '.order-shipping-status' => self::get_order_status_html( $order_shipment ),
 
841
  );
842
 
843
  return $fragments;
844
  }
845
 
846
- public static function get_shipment_available_return_items() {
847
  check_ajax_referer( 'edit-shipments', 'security' );
848
 
849
- if ( ! current_user_can( 'edit_shop_orders' ) || ! isset( $_POST['shipment_id'] ) ) {
850
  wp_die( -1 );
851
  }
852
 
@@ -861,32 +922,22 @@ class Ajax {
861
  'html' => '',
862
  );
863
 
864
- $shipment_id = absint( $_POST['shipment_id'] );
865
-
866
- if ( ! $shipment = wc_gzd_get_shipment( $shipment_id ) ) {
867
- wp_send_json( $response_error );
868
- }
869
 
870
- if ( ! $order = $shipment->get_order() ) {
871
- wp_send_json( $response_error );
872
- }
873
-
874
- if ( ! $order_shipment = wc_gzd_get_shipment_order( $order ) ) {
875
  wp_send_json( $response_error );
876
  }
877
 
878
  static::refresh_shipments( $order_shipment );
879
 
880
- $shipment->set_order_shipment( $order_shipment );
881
-
882
  ob_start();
883
- include( Package::get_path() . '/includes/admin/views/html-order-shipment-add-return-items.php' );
884
  $response['html'] = ob_get_clean();
885
 
886
  self::send_json_success( $response, $order_shipment );
887
  }
888
 
889
- public static function get_shipment_available_items() {
890
  check_ajax_referer( 'edit-shipments', 'security' );
891
 
892
  if ( ! current_user_can( 'edit_shop_orders' ) || ! isset( $_POST['shipment_id'] ) ) {
@@ -921,9 +972,7 @@ class Ajax {
921
  static::refresh_shipments( $order_shipment );
922
 
923
  if ( 'return' === $shipment->get_type() ) {
924
- $shipment->set_order_shipment( $order_shipment );
925
-
926
- $response['items'] = $shipment->get_parent()->get_available_items_for_return( array(
927
  'shipment_id' => $shipment->get_id(),
928
  'disable_duplicates' => true,
929
  ) );
@@ -1011,27 +1060,23 @@ class Ajax {
1011
  * @param integer $parent_item_id
1012
  * @param integer $quantity
1013
  */
1014
- private static function add_shipment_return_item( $order_shipment, $shipment, $parent_item_id, $quantity ) {
1015
  $response_error = array(
1016
  'success' => false,
1017
  'message' => _x( 'There was an error processing the shipment', 'shipments', 'woocommerce-germanized' ),
1018
  );
1019
 
1020
- if ( ! $parent = $shipment->get_parent() ) {
1021
- wp_send_json( $response_error );
1022
- }
1023
-
1024
- if ( ! $parent_item = $parent->get_item( $parent_item_id ) ) {
1025
  wp_send_json( $response_error );
1026
  }
1027
 
1028
  // No duplicates allowed
1029
- if ( $shipment->get_item_by_item_parent_id( $parent_item_id ) ) {
1030
  wp_send_json( $response_error );
1031
  }
1032
 
1033
  // Check max quantity
1034
- $quantity_left = $parent->get_item_quantity_left_for_return( $parent_item_id );
1035
 
1036
  if ( $quantity ) {
1037
  if ( $quantity > $quantity_left ) {
@@ -1041,7 +1086,7 @@ class Ajax {
1041
  $quantity = $quantity_left;
1042
  }
1043
 
1044
- if ( $item = wc_gzd_create_return_shipment_item( $shipment, $parent_item, array( 'quantity' => $quantity ) ) ) {
1045
  $shipment->add_item( $item );
1046
  $shipment->save();
1047
  }
@@ -1203,9 +1248,7 @@ class Ajax {
1203
  $quantity_max = 0;
1204
 
1205
  if ( 'return' === $shipment->get_type() ) {
1206
- $shipment->set_order_shipment( $order_shipment );
1207
-
1208
- $quantity_max = $shipment->get_parent()->get_item_quantity_left_for_return( $item->get_parent_id(), array(
1209
  'exclude_current_shipment' => true,
1210
  'shipment_id' => $shipment->get_id(),
1211
  ) );
@@ -1249,7 +1292,6 @@ class Ajax {
1249
  $response['shipments'][ $shipment->get_id() ] = array(
1250
  'is_editable' => $shipment->is_editable(),
1251
  'needs_items' => $shipment->needs_items( array_keys( $available_items ) ),
1252
- 'is_returnable' => $shipment->is_returnable(),
1253
  'weight' => wc_format_localized_decimal( $shipment->get_content_weight() ),
1254
  'length' => wc_format_localized_decimal( $shipment->get_content_length() ),
1255
  'width' => wc_format_localized_decimal( $shipment->get_content_width() ),
@@ -1258,6 +1300,7 @@ class Ajax {
1258
  }
1259
 
1260
  $response['order_needs_new_shipments'] = $order_shipment->needs_shipping();
 
1261
 
1262
  wp_send_json( $response );
1263
  }
28
  }
29
 
30
  $ajax_events = array(
31
+ 'get_available_shipment_items',
32
+ 'get_available_return_shipment_items',
33
  'add_shipment_item',
34
+ 'add_return_shipment',
35
  'add_shipment',
36
  'remove_shipment',
37
  'remove_shipment_item',
47
  'create_shipment_label_form',
48
  'create_shipment_label',
49
  'remove_shipment_label',
50
+ 'send_return_shipment_notification_email',
51
+ 'confirm_return_request'
52
  );
53
 
54
  foreach ( $ajax_events as $ajax_event ) {
56
  }
57
  }
58
 
59
+ public static function send_return_shipment_notification_email() {
60
  $success = false;
61
 
62
  if ( current_user_can( 'edit_shop_orders' ) && isset( $_REQUEST['shipment_id'] ) ) {
63
 
64
  if ( isset( $_GET['shipment_id'] ) ) {
65
+ $referrer = check_admin_referer( 'send-return-shipment-notification' );
66
  } else {
67
+ $referrer = check_ajax_referer( 'send-return-shipment-notification', 'security' );
68
  }
69
 
70
  if ( $referrer ) {
71
  $shipment_id = absint( wp_unslash( $_REQUEST['shipment_id'] ) );
72
 
73
  if ( $shipment = wc_gzd_get_shipment( $shipment_id ) ) {
 
 
74
 
75
+ if ( 'return' === $shipment->get_type() ) {
76
+ WC()->mailer()->emails['WC_GZD_Email_Customer_Return_Shipment']->trigger( $shipment_id );
77
+ $success = true;
 
 
78
  }
79
  }
80
  }
87
  wp_send_json( array(
88
  'success' => true,
89
  'messages' => array(
90
+ _x( 'Notification successfully sent to customer.', 'shipments', 'woocommerce-germanized' )
91
+ ),
92
+ ) );
93
+ } else {
94
+ wp_send_json( array(
95
+ 'success' => false,
96
+ 'messages' => array(
97
+ _x( 'There was an error while sending the notification.', 'shipments', 'woocommerce-germanized' )
98
+ ),
99
+ ) );
100
+ }
101
+ }
102
+ }
103
+ }
104
+
105
+ public static function confirm_return_request() {
106
+ $success = false;
107
+
108
+ if ( current_user_can( 'edit_shop_orders' ) && isset( $_REQUEST['shipment_id'] ) ) {
109
+
110
+ if ( isset( $_GET['shipment_id'] ) ) {
111
+ $referrer = check_admin_referer( 'confirm-return-request' );
112
+ } else {
113
+ $referrer = check_ajax_referer( 'confirm-return-request', 'security' );
114
+ }
115
+
116
+ if ( $referrer ) {
117
+ $shipment_id = absint( wp_unslash( $_REQUEST['shipment_id'] ) );
118
+
119
+ if ( $shipment = wc_gzd_get_shipment( $shipment_id ) ) {
120
+ if ( 'return' === $shipment->get_type() ) {
121
+
122
+ if ( $shipment->confirm_customer_request() ) {
123
+ $success = true;
124
+ }
125
+ }
126
+ }
127
+ }
128
+
129
+ if ( isset( $_GET['shipment_id'] ) ) {
130
+ wp_safe_redirect( wp_get_referer() ? wp_get_referer() : admin_url( 'admin.php?page=wc-gzd-return-shipments' ) );
131
+ exit;
132
+ } else {
133
+ if ( $success ) {
134
+ wp_send_json( array(
135
+ 'success' => true,
136
+ 'messages' => array(
137
+ _x( 'Return request confirmed successfully.', 'shipments', 'woocommerce-germanized' )
138
+ ),
139
+ 'shipment_id' => $shipment->get_id(),
140
+ 'needs_refresh' => true,
141
+ 'fragments' => array(
142
+ 'div#shipment-' . $shipment_id => self::get_shipment_html( $shipment ),
143
  ),
144
  ) );
145
  } else {
146
  wp_send_json( array(
147
  'success' => false,
148
  'messages' => array(
149
+ _x( 'There was an error while confirming the request.', 'shipments', 'woocommerce-germanized' )
150
  ),
151
  ) );
152
  }
216
  wp_send_json( $response_error );
217
  }
218
 
219
+ if ( $shipment->delete_label( true ) ) {
220
  $response = array(
221
  'success' => true,
222
  'shipment_id' => $shipment->get_id(),
286
  'needs_refresh' => true,
287
  'fragments' => array(
288
  'div#shipment-' . $shipment_id => self::get_shipment_html( $shipment ),
289
+ '.order-shipping-status' => $order_shipment ? self::get_order_status_html( $order_shipment ) : '',
290
+ '.order-return-status' => $order_shipment ? self::get_order_return_status_html( $order_shipment ) : '',
291
  'tr#shipment-' . $shipment_id . ' td.actions .wc-gzd-shipment-action-button-generate-label' => self::label_download_button_html( $shipment ),
292
  ),
293
  );
548
  $response['shipment_id'] = $shipment_id;
549
  $response['fragments'] = array(
550
  '.order-shipping-status' => self::get_order_status_html( $order_shipment ),
551
+ '.order-return-status' => self::get_order_return_status_html( $order_shipment ),
552
  );
553
 
554
  self::send_json_success( $response, $order_shipment );
606
  include( Package::get_path() . '/includes/admin/views/html-order-shipment.php' );
607
  $html = ob_get_clean();
608
 
609
+ $response['new_shipment'] = $html;
610
+ $response['new_shipment_type'] = $shipment->get_type();
611
  $response['fragments'] = array(
612
  '.order-shipping-status' => self::get_order_status_html( $order_shipment ),
613
+ '.order-return-status' => self::get_order_return_status_html( $order_shipment ),
614
  );
615
 
616
  self::send_json_success( $response, $order_shipment );
617
  }
618
 
619
+ public static function add_return_shipment() {
620
  check_ajax_referer( 'edit-shipments', 'security' );
621
 
622
+ if ( ! current_user_can( 'edit_shop_orders' ) || ! isset( $_POST['order_id'] ) ) {
623
  wp_die( -1 );
624
  }
625
 
634
  'new_shipment' => '',
635
  );
636
 
637
+ $order_id = absint( $_POST['order_id'] );
638
  $items = isset( $_POST['return_item'] ) ? (array) $_POST['return_item'] : array();
639
 
640
+ if ( ! $order_shipment = wc_gzd_get_shipment_order( $order_id ) ) {
641
  wp_send_json( $response_error );
642
  }
643
 
644
+ self::refresh_shipment_items( $order_shipment );
 
 
645
 
646
+ if ( ! $order_shipment->needs_return() ) {
647
+ $response_error['message'] = _x( 'This order contains enough returns already.', 'shipments', 'woocommerce-germanized' );
648
  wp_send_json( $response_error );
649
  }
650
 
651
+ $shipment = wc_gzd_create_return_shipment( $order_shipment, array( 'items' => $items ) );
 
 
 
 
 
 
652
 
653
  if ( is_wp_error( $shipment ) ) {
654
  wp_send_json( $response_error );
656
 
657
  $order_shipment->add_shipment( $shipment );
658
 
659
+ // Mark as active
660
+ $is_active = true;
661
+
662
  ob_start();
663
  include( Package::get_path() . '/includes/admin/views/html-order-shipment.php' );
664
  $html = ob_get_clean();
665
 
666
+ $response['new_shipment'] = $html;
667
+ $response['new_shipment_type'] = $shipment->get_type();
668
+ $response['fragments'] = array(
669
+ '.order-shipping-status' => self::get_order_status_html( $order_shipment ),
670
+ '.order-return-status' => self::get_order_return_status_html( $order_shipment ),
671
+ );
672
 
673
  self::send_json_success( $response, $order_shipment );
674
  }
831
  return $status_html;
832
  }
833
 
834
+ private static function get_order_return_status_html( $order_shipment ) {
835
+ $status_html = '<span class="order-return-status status-' . esc_attr( $order_shipment->get_return_status() ) . '">' . wc_gzd_get_shipment_order_return_status_name( $order_shipment->get_return_status() ) . '</span>';
836
+
837
+ return $status_html;
838
+ }
839
+
840
  public static function save_shipments() {
841
  check_ajax_referer( 'edit-shipments', 'security' );
842
 
881
  self::send_json_success( $response, $order_shipment );
882
  }
883
 
884
+ /**
885
+ * @param Order $order_shipment
886
+ * @param int $active
887
+ *
888
+ * @return array
889
+ */
890
+ private static function get_shipments_html( $p_order_shipment, $p_active = 0 ) {
891
+ $order_shipment = $p_order_shipment;
892
+ $active_shipment = $p_active;
893
 
894
+ ob_start();
895
+ include( Package::get_path() . '/includes/admin/views/html-order-shipment-list.php' );
896
+ $html = ob_get_clean();
 
897
 
898
  $fragments = array(
899
  '#order-shipments-list' => $html,
900
  '.order-shipping-status' => self::get_order_status_html( $order_shipment ),
901
+ '.order-return-status' => self::get_order_return_status_html( $order_shipment ),
902
  );
903
 
904
  return $fragments;
905
  }
906
 
907
+ public static function get_available_return_shipment_items() {
908
  check_ajax_referer( 'edit-shipments', 'security' );
909
 
910
+ if ( ! current_user_can( 'edit_shop_orders' ) || ! isset( $_POST['order_id'] ) ) {
911
  wp_die( -1 );
912
  }
913
 
922
  'html' => '',
923
  );
924
 
925
+ $order_id = absint( $_POST['order_id'] );
 
 
 
 
926
 
927
+ if ( ! $order_shipment = wc_gzd_get_shipment_order( $order_id ) ) {
 
 
 
 
928
  wp_send_json( $response_error );
929
  }
930
 
931
  static::refresh_shipments( $order_shipment );
932
 
 
 
933
  ob_start();
934
+ include( Package::get_path() . '/includes/admin/views/html-order-add-return-shipment-items.php' );
935
  $response['html'] = ob_get_clean();
936
 
937
  self::send_json_success( $response, $order_shipment );
938
  }
939
 
940
+ public static function get_available_shipment_items() {
941
  check_ajax_referer( 'edit-shipments', 'security' );
942
 
943
  if ( ! current_user_can( 'edit_shop_orders' ) || ! isset( $_POST['shipment_id'] ) ) {
972
  static::refresh_shipments( $order_shipment );
973
 
974
  if ( 'return' === $shipment->get_type() ) {
975
+ $response['items'] = $order_shipment->get_available_items_for_return( array(
 
 
976
  'shipment_id' => $shipment->get_id(),
977
  'disable_duplicates' => true,
978
  ) );
1060
  * @param integer $parent_item_id
1061
  * @param integer $quantity
1062
  */
1063
+ private static function add_shipment_return_item( $order_shipment, $shipment, $order_item_id, $quantity ) {
1064
  $response_error = array(
1065
  'success' => false,
1066
  'message' => _x( 'There was an error processing the shipment', 'shipments', 'woocommerce-germanized' ),
1067
  );
1068
 
1069
+ if ( ! $shipment_item = $order_shipment->get_simple_shipment_item( $order_item_id ) ) {
 
 
 
 
1070
  wp_send_json( $response_error );
1071
  }
1072
 
1073
  // No duplicates allowed
1074
+ if ( $shipment->get_item_by_order_item_id( $order_item_id ) ) {
1075
  wp_send_json( $response_error );
1076
  }
1077
 
1078
  // Check max quantity
1079
+ $quantity_left = $order_shipment->get_item_quantity_left_for_returning( $shipment_item->get_order_item_id() );
1080
 
1081
  if ( $quantity ) {
1082
  if ( $quantity > $quantity_left ) {
1086
  $quantity = $quantity_left;
1087
  }
1088
 
1089
+ if ( $item = wc_gzd_create_return_shipment_item( $shipment, $shipment_item, array( 'quantity' => $quantity ) ) ) {
1090
  $shipment->add_item( $item );
1091
  $shipment->save();
1092
  }
1248
  $quantity_max = 0;
1249
 
1250
  if ( 'return' === $shipment->get_type() ) {
1251
+ $quantity_max = $order_shipment->get_item_quantity_left_for_returning( $item->get_order_item_id(), array(
 
 
1252
  'exclude_current_shipment' => true,
1253
  'shipment_id' => $shipment->get_id(),
1254
  ) );
1292
  $response['shipments'][ $shipment->get_id() ] = array(
1293
  'is_editable' => $shipment->is_editable(),
1294
  'needs_items' => $shipment->needs_items( array_keys( $available_items ) ),
 
1295
  'weight' => wc_format_localized_decimal( $shipment->get_content_weight() ),
1296
  'length' => wc_format_localized_decimal( $shipment->get_content_length() ),
1297
  'width' => wc_format_localized_decimal( $shipment->get_content_width() ),
1300
  }
1301
 
1302
  $response['order_needs_new_shipments'] = $order_shipment->needs_shipping();
1303
+ $response['order_needs_new_returns'] = $order_shipment->needs_return();
1304
 
1305
  wp_send_json( $response );
1306
  }
packages/woocommerce-germanized-shipments/src/Automation.php CHANGED
@@ -77,7 +77,7 @@ class Automation {
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
  }
@@ -107,13 +107,26 @@ class Automation {
107
  }
108
  }
109
 
110
- public static function create_shipments( $order_id ) {
111
  $shipment_status = Package::get_setting( 'auto_default_status' );
112
 
113
  if ( empty( $shipment_status ) ) {
114
  $shipment_status = 'processing';
115
  }
116
 
 
 
 
 
 
 
 
 
 
 
 
 
 
117
  if ( $order_shipment = wc_gzd_get_shipment_order( $order_id ) ) {
118
  $shipments = $order_shipment->get_simple_shipments();
119
 
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' ) ) ) {
81
  $shipment->update_status( 'shipped' );
82
  }
83
  }
107
  }
108
  }
109
 
110
+ public static function create_shipments( $order_id, $enable_auto_filter = true ) {
111
  $shipment_status = Package::get_setting( 'auto_default_status' );
112
 
113
  if ( empty( $shipment_status ) ) {
114
  $shipment_status = 'processing';
115
  }
116
 
117
+ /**
118
+ * Filter to disable automatically creating shipments for a specific order.
119
+ *
120
+ * @param string $enable Whether to create or not create shipments.
121
+ * @param integer $order_id The order id.
122
+ *
123
+ * @since 3.1.0
124
+ * @package Vendidero/Germanized/Shipments
125
+ */
126
+ if ( $enable_auto_filter && ! apply_filters( 'woocommerce_gzd_auto_create_shipments_for_order', true, $order_id ) ) {
127
+ return;
128
+ }
129
+
130
  if ( $order_shipment = wc_gzd_get_shipment_order( $order_id ) ) {
131
  $shipments = $order_shipment->get_simple_shipments();
132
 
packages/woocommerce-germanized-shipments/src/DataStores/Shipment.php CHANGED
@@ -38,7 +38,8 @@ class Shipment extends WC_Data_Store_WP implements WC_Object_Data_Store_Interfac
38
  '_additional_total',
39
  '_sender_address',
40
  '_weight_unit',
41
- '_dimension_unit'
 
42
  );
43
 
44
  protected $core_props = array(
@@ -185,6 +186,14 @@ class Shipment extends WC_Data_Store_WP implements WC_Object_Data_Store_Interfac
185
  $changed_props[] = 'country';
186
  }
187
 
 
 
 
 
 
 
 
 
188
  foreach ( $changed_props as $prop ) {
189
 
190
  if ( ! in_array( $prop, $core_props, true ) ) {
@@ -257,15 +266,6 @@ class Shipment extends WC_Data_Store_WP implements WC_Object_Data_Store_Interfac
257
  $wpdb->delete( $wpdb->gzd_shipmentmeta, array( 'gzd_shipment_id' => $shipment->get_id() ), array( '%d' ) );
258
 
259
  $this->delete_items( $shipment );
260
-
261
- if ( 'simple' === $shipment->get_type() ) {
262
-
263
- // Delete returns as well
264
- foreach( $shipment->get_returns() as $return ) {
265
- $return->delete( $force_delete );
266
- }
267
- }
268
-
269
  $this->clear_caches( $shipment );
270
 
271
  $hook_postfix = $this->get_hook_postfix( $shipment );
@@ -429,7 +429,11 @@ class Shipment extends WC_Data_Store_WP implements WC_Object_Data_Store_Interfac
429
  $value = $shipment->{"get_$prop"}( 'edit' );
430
  $value = is_string( $value ) ? wp_slash( $value ) : $value;
431
 
432
- switch ( $prop ) {}
 
 
 
 
433
 
434
  $updated = $this->update_or_delete_meta( $shipment, $meta_key, $value );
435
 
@@ -480,7 +484,7 @@ class Shipment extends WC_Data_Store_WP implements WC_Object_Data_Store_Interfac
480
  /**
481
  * Read items from the database for this shipment.
482
  *
483
- * @param WC_GZD_Shipment $shipment Shipment object.
484
  *
485
  * @return array
486
  */
@@ -506,7 +510,12 @@ class Shipment extends WC_Data_Store_WP implements WC_Object_Data_Store_Interfac
506
  }
507
 
508
  if ( ! empty( $items ) ) {
509
- $items = array_map( 'wc_gzd_get_shipment_item', array_combine( wp_list_pluck( $items, 'shipment_item_id' ), $items ) );
 
 
 
 
 
510
  } else {
511
  $items = array();
512
  }
38
  '_additional_total',
39
  '_sender_address',
40
  '_weight_unit',
41
+ '_dimension_unit',
42
+ '_is_customer_requested',
43
  );
44
 
45
  protected $core_props = array(
186
  $changed_props[] = 'country';
187
  }
188
 
189
+ // Shipping provider has changed - lets remove existing label
190
+ if ( in_array( 'shipping_provider', $changed_props ) ) {
191
+
192
+ if ( $shipment->supports_label() && $shipment->has_label() ) {
193
+ $shipment->get_label()->delete();
194
+ }
195
+ }
196
+
197
  foreach ( $changed_props as $prop ) {
198
 
199
  if ( ! in_array( $prop, $core_props, true ) ) {
266
  $wpdb->delete( $wpdb->gzd_shipmentmeta, array( 'gzd_shipment_id' => $shipment->get_id() ), array( '%d' ) );
267
 
268
  $this->delete_items( $shipment );
 
 
 
 
 
 
 
 
 
269
  $this->clear_caches( $shipment );
270
 
271
  $hook_postfix = $this->get_hook_postfix( $shipment );
429
  $value = $shipment->{"get_$prop"}( 'edit' );
430
  $value = is_string( $value ) ? wp_slash( $value ) : $value;
431
 
432
+ switch ( $prop ) {
433
+ case "is_customer_requested":
434
+ $value = wc_bool_to_string( $value );
435
+ break;
436
+ }
437
 
438
  $updated = $this->update_or_delete_meta( $shipment, $meta_key, $value );
439
 
484
  /**
485
  * Read items from the database for this shipment.
486
  *
487
+ * @param \Vendidero\Germanized\Shipments\Shipment $shipment Shipment object.
488
  *
489
  * @return array
490
  */
510
  }
511
 
512
  if ( ! empty( $items ) ) {
513
+
514
+ $shipment_type = $shipment->get_type();
515
+
516
+ $items = array_map( function( $item_id ) use ( $shipment_type ) {
517
+ return wc_gzd_get_shipment_item( $item_id, $shipment_type );
518
+ }, array_combine( wp_list_pluck( $items, 'shipment_item_id' ), $items ) );
519
  } else {
520
  $items = array();
521
  }
packages/woocommerce-germanized-shipments/src/DataStores/ShipmentItem.php CHANGED
@@ -1,6 +1,7 @@
1
  <?php
2
 
3
  namespace Vendidero\Germanized\Shipments\DataStores;
 
4
  use WC_Data_Store_WP;
5
  use WC_Object_Data_Store_Interface;
6
 
@@ -25,7 +26,8 @@ class ShipmentItem extends WC_Data_Store_WP implements WC_Object_Data_Store_Inte
25
  '_height',
26
  '_weight',
27
  '_total',
28
- '_sku'
 
29
  );
30
 
31
  protected $core_props = array(
@@ -233,8 +235,8 @@ class ShipmentItem extends WC_Data_Store_WP implements WC_Object_Data_Store_Inte
233
  * Note: WordPress `get_metadata` function returns an empty string when meta data does not exist.
234
  *
235
  * @param WC_Data $object The WP_Data object (WC_Coupon for coupons, etc).
236
- * @param string $meta_key Meta key to update.
237
- * @param mixed $meta_value Value to save.
238
  *
239
  * @since 3.6.0 Added to prevent empty meta being stored unless required.
240
  *
@@ -276,12 +278,16 @@ class ShipmentItem extends WC_Data_Store_WP implements WC_Object_Data_Store_Inte
276
 
277
  foreach ( $props_to_update as $meta_key => $prop ) {
278
 
 
 
 
 
 
 
279
  $value = $item->{"get_$prop"}( 'edit' );
280
  $value = is_string( $value ) ? wp_slash( $value ) : $value;
281
 
282
- switch ( $prop ) {
283
-
284
- }
285
 
286
  $updated = $this->update_or_delete_meta( $item, $meta_key, $value );
287
 
1
  <?php
2
 
3
  namespace Vendidero\Germanized\Shipments\DataStores;
4
+ use WC_Data;
5
  use WC_Data_Store_WP;
6
  use WC_Object_Data_Store_Interface;
7
 
26
  '_height',
27
  '_weight',
28
  '_total',
29
+ '_sku',
30
+ '_return_reason_code'
31
  );
32
 
33
  protected $core_props = array(
235
  * Note: WordPress `get_metadata` function returns an empty string when meta data does not exist.
236
  *
237
  * @param WC_Data $object The WP_Data object (WC_Coupon for coupons, etc).
238
+ * @param string $meta_key Meta key to update.
239
+ * @param mixed $meta_value Value to save.
240
  *
241
  * @since 3.6.0 Added to prevent empty meta being stored unless required.
242
  *
278
 
279
  foreach ( $props_to_update as $meta_key => $prop ) {
280
 
281
+ $getter = "get_$prop";
282
+
283
+ if ( ! is_callable( array( $item, $getter ) ) ) {
284
+ continue;
285
+ }
286
+
287
  $value = $item->{"get_$prop"}( 'edit' );
288
  $value = is_string( $value ) ? wp_slash( $value ) : $value;
289
 
290
+ switch ( $prop ) {}
 
 
291
 
292
  $updated = $this->update_or_delete_meta( $item, $meta_key, $value );
293
 
packages/woocommerce-germanized-shipments/src/DataStores/ShippingProvider.php CHANGED
@@ -32,6 +32,10 @@ class ShippingProvider extends WC_Data_Store_WP implements WC_Object_Data_Store_
32
  '_tracking_url_placeholder',
33
  '_tracking_desc_placeholder',
34
  '_description',
 
 
 
 
35
  );
36
 
37
  protected $core_props = array(
@@ -315,7 +319,13 @@ class ShippingProvider extends WC_Data_Store_WP implements WC_Object_Data_Store_
315
  $value = $provider->{"get_$prop"}( 'edit' );
316
  $value = is_string( $value ) ? wp_slash( $value ) : $value;
317
 
318
- switch ( $prop ) {}
 
 
 
 
 
 
319
 
320
  $updated = $this->update_or_delete_meta( $provider, $meta_key, $value );
321
 
32
  '_tracking_url_placeholder',
33
  '_tracking_desc_placeholder',
34
  '_description',
35
+ '_return_manual_confirmation',
36
+ '_return_instructions',
37
+ '_supports_customer_returns',
38
+ '_supports_guest_returns'
39
  );
40
 
41
  protected $core_props = array(
319
  $value = $provider->{"get_$prop"}( 'edit' );
320
  $value = is_string( $value ) ? wp_slash( $value ) : $value;
321
 
322
+ switch ( $prop ) {
323
+ case "return_manual_confirmation":
324
+ case "supports_customer_returns":
325
+ case "supports_guest_returns":
326
+ $value = wc_bool_to_string( $value );
327
+ break;
328
+ }
329
 
330
  $updated = $this->update_or_delete_meta( $provider, $meta_key, $value );
331
 
packages/woocommerce-germanized-shipments/src/Emails.php CHANGED
@@ -25,17 +25,19 @@ class Emails {
25
  }
26
 
27
  public static function register_emails( $emails ) {
28
- $emails['WC_GZD_Email_Customer_Shipment'] = include Package::get_path() . '/includes/emails/class-wc-gzd-email-customer-shipment.php';
 
 
 
29
 
30
  return $emails;
31
  }
32
 
33
  public static function email_hooks() {
 
34
  add_action( 'woocommerce_gzd_email_shipment_details', array( __CLASS__, 'email_tracking' ), 10, 4 );
35
  add_action( 'woocommerce_gzd_email_shipment_details', array( __CLASS__, 'email_address' ), 20, 4 );
36
  add_action( 'woocommerce_gzd_email_shipment_details', array( __CLASS__, 'email_details' ), 30, 4 );
37
-
38
- add_action( 'woocommerce_gzd_email_return_shipment_details', array( __CLASS__, 'email_details' ), 30, 4 );
39
  }
40
 
41
  public static function register_email_notifications( $actions ) {
@@ -44,19 +46,56 @@ class Emails {
44
  'woocommerce_gzd_shipment_status_draft_to_processing',
45
  'woocommerce_gzd_shipment_status_draft_to_shipped',
46
  'woocommerce_gzd_shipment_status_draft_to_delivered',
47
- 'woocommerce_gzd_shipment_status_draft_to_returned',
48
  'woocommerce_gzd_shipment_status_processing_to_shipped',
49
  'woocommerce_gzd_shipment_status_processing_to_delivered',
50
- 'woocommerce_gzd_shipment_status_processing_to_returned',
51
  'woocommerce_gzd_shipment_status_shipped_to_delivered',
52
- 'woocommerce_gzd_shipment_status_shipped_to_returned',
53
- 'woocommerce_gzd_shipment_status_delivered_to_returned',
54
- 'woocommerce_gzd_shipment_status_returned_to_processing',
 
 
 
 
 
 
55
  ) );
56
 
57
  return $actions;
58
  }
59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  /**
61
  * @param Shipment $shipment
62
  * @param bool $sent_to_admin
@@ -66,7 +105,8 @@ class Emails {
66
  public static function email_tracking( $shipment, $sent_to_admin = false, $plain_text = false, $email = '' ) {
67
 
68
  // Do only include shipment tracking if estimated delivery date or tracking instruction or tracking url exists
69
- if ( ! $shipment->has_tracking() ) {
 
70
  return;
71
  }
72
 
@@ -91,7 +131,22 @@ class Emails {
91
  }
92
  }
93
 
 
 
 
 
 
 
94
  public static function email_address( $shipment, $sent_to_admin = false, $plain_text = false, $email = '' ) {
 
 
 
 
 
 
 
 
 
95
  if ( $plain_text ) {
96
  wc_get_template(
97
  'emails/plain/email-shipment-address.php', array(
25
  }
26
 
27
  public static function register_emails( $emails ) {
28
+ $emails['WC_GZD_Email_Customer_Shipment'] = include Package::get_path() . '/includes/emails/class-wc-gzd-email-customer-shipment.php';
29
+ $emails['WC_GZD_Email_Customer_Return_Shipment'] = include Package::get_path() . '/includes/emails/class-wc-gzd-email-customer-return-shipment.php';
30
+ $emails['WC_GZD_Email_Customer_Return_Shipment_Delivered'] = include Package::get_path() . '/includes/emails/class-wc-gzd-email-customer-return-shipment-delivered.php';
31
+ $emails['WC_GZD_Email_Customer_Guest_Return_Shipment_Request'] = include Package::get_path() . '/includes/emails/class-wc-gzd-email-customer-guest-return-shipment-request.php';
32
 
33
  return $emails;
34
  }
35
 
36
  public static function email_hooks() {
37
+ add_action( 'woocommerce_gzd_email_shipment_details', array( __CLASS__, 'email_return_instructions' ), 5, 4 );
38
  add_action( 'woocommerce_gzd_email_shipment_details', array( __CLASS__, 'email_tracking' ), 10, 4 );
39
  add_action( 'woocommerce_gzd_email_shipment_details', array( __CLASS__, 'email_address' ), 20, 4 );
40
  add_action( 'woocommerce_gzd_email_shipment_details', array( __CLASS__, 'email_details' ), 30, 4 );
 
 
41
  }
42
 
43
  public static function register_email_notifications( $actions ) {
46
  'woocommerce_gzd_shipment_status_draft_to_processing',
47
  'woocommerce_gzd_shipment_status_draft_to_shipped',
48
  'woocommerce_gzd_shipment_status_draft_to_delivered',
 
49
  'woocommerce_gzd_shipment_status_processing_to_shipped',
50
  'woocommerce_gzd_shipment_status_processing_to_delivered',
 
51
  'woocommerce_gzd_shipment_status_shipped_to_delivered',
52
+ 'woocommerce_gzd_return_shipment_status_draft_to_processing',
53
+ 'woocommerce_gzd_return_shipment_status_draft_to_shipped',
54
+ 'woocommerce_gzd_return_shipment_status_draft_to_delivered',
55
+ 'woocommerce_gzd_return_shipment_status_draft_to_requested',
56
+ 'woocommerce_gzd_return_shipment_status_processing_to_shipped',
57
+ 'woocommerce_gzd_return_shipment_status_processing_to_delivered',
58
+ 'woocommerce_gzd_return_shipment_status_shipped_to_delivered',
59
+ 'woocommerce_gzd_return_shipment_status_requested_to_processing',
60
+ 'woocommerce_gzd_return_shipment_status_requested_to_shipped',
61
  ) );
62
 
63
  return $actions;
64
  }
65
 
66
+ /**
67
+ * @param Shipment $shipment
68
+ * @param bool $sent_to_admin
69
+ * @param bool $plain_text
70
+ * @param string $email
71
+ */
72
+ public static function email_return_instructions( $shipment, $sent_to_admin = false, $plain_text = false, $email = '' ) {
73
+
74
+ if ( 'return' !== $shipment->get_type() || $shipment->has_status( 'delivered' ) ) {
75
+ return;
76
+ }
77
+
78
+ if ( $plain_text ) {
79
+ wc_get_template(
80
+ 'emails/plain/email-return-shipment-instructions.php', array(
81
+ 'shipment' => $shipment,
82
+ 'sent_to_admin' => $sent_to_admin,
83
+ 'plain_text' => $plain_text,
84
+ 'email' => $email,
85
+ )
86
+ );
87
+ } else {
88
+ wc_get_template(
89
+ 'emails/email-return-shipment-instructions.php', array(
90
+ 'shipment' => $shipment,
91
+ 'sent_to_admin' => $sent_to_admin,
92
+ 'plain_text' => $plain_text,
93
+ 'email' => $email,
94
+ )
95
+ );
96
+ }
97
+ }
98
+
99
  /**
100
  * @param Shipment $shipment
101
  * @param bool $sent_to_admin
105
  public static function email_tracking( $shipment, $sent_to_admin = false, $plain_text = false, $email = '' ) {
106
 
107
  // Do only include shipment tracking if estimated delivery date or tracking instruction or tracking url exists
108
+ // Do not show tracking for returns
109
+ if ( ! $shipment->has_tracking() || $shipment->has_status( 'delivered' ) || 'return' === $shipment->get_type() ) {
110
  return;
111
  }
112
 
131
  }
132
  }
133
 
134
+ /**
135
+ * @param Shipment $shipment
136
+ * @param bool $sent_to_admin
137
+ * @param bool $plain_text
138
+ * @param string $email
139
+ */
140
  public static function email_address( $shipment, $sent_to_admin = false, $plain_text = false, $email = '' ) {
141
+
142
+ if ( 'return' === $shipment->get_type() || in_array( $email, array( 'customer_return_shipment_delivered' ) ) ) {
143
+ if ( $provider = $shipment->get_shipping_provider_instance() ) {
144
+ if ( $provider->hide_return_address() ) {
145
+ return;
146
+ }
147
+ }
148
+ }
149
+
150
  if ( $plain_text ) {
151
  wc_get_template(
152
  'emails/plain/email-shipment-address.php', array(
packages/woocommerce-germanized-shipments/src/FormHandler.php ADDED
@@ -0,0 +1,300 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Vendidero\Germanized\Shipments;
4
+
5
+ use \Exception;
6
+ use WC_Order;
7
+ use WP_Query;
8
+
9
+ defined( 'ABSPATH' ) || exit;
10
+
11
+ class FormHandler {
12
+
13
+ /**
14
+ * Hook in methods.
15
+ */
16
+ public static function init() {
17
+ add_action( 'template_redirect', array( __CLASS__, 'add_return_shipment' ), 20 );
18
+ add_action( 'template_redirect', array( __CLASS__, 'return_request_success_message' ), 20 );
19
+ add_action( 'wp_loaded', array( __CLASS__, 'process_return_request' ), 20 );
20
+
21
+ if ( isset( $_GET['action'], $_GET['shipment_id'], $_GET['_wpnonce'] ) ) { // WPCS: input var ok, CSRF ok.
22
+ add_action( 'init', array( __CLASS__, 'download_label' ) );
23
+ }
24
+ }
25
+
26
+ public static function return_request_success_message() {
27
+ if ( isset( $_GET['return-request-success'], $_GET['needs-confirmation'] ) && 'yes' === $_GET['return-request-success'] ) {
28
+ wc_add_notice( self::get_return_request_success_message( wc_string_to_bool( $_GET['needs-confirmation'] ) ), 'success' );
29
+ }
30
+ }
31
+
32
+ protected static function get_return_request_success_message( $needs_manual_confirmation = false ) {
33
+
34
+ if ( $needs_manual_confirmation ) {
35
+ $default_message = _x( 'Your return request was submitted successfully. We will now review your request and get in contact with you as soon as possible.', 'shipments', 'woocommerce-germanized' );
36
+ } else {
37
+ $default_message = _x( 'Your return request was submitted successfully. You\'ll receive an email with further instructions in a few minutes.', 'shipments', 'woocommerce-germanized' );
38
+ }
39
+
40
+ /**
41
+ * This filter may be used to adjust the default success message returned
42
+ * to the customer after successfully adding a return shipment.
43
+ *
44
+ * @param string $message The success message.
45
+ * @param boolean $needs_manual_confirmation Whether the request needs manual confirmation or not.
46
+ *
47
+ * @since 3.1.0
48
+ * @package Vendidero/Germanized/Shipments
49
+ */
50
+ $success_message = apply_filters( 'woocommerce_gzd_customer_new_return_shipment_request_success_message', $default_message, $needs_manual_confirmation );
51
+
52
+ return $success_message;
53
+ }
54
+
55
+ public static function process_return_request() {
56
+ $nonce_value = isset( $_REQUEST['woocommerce-gzd-return-request-nonce'] ) ? $_REQUEST['woocommerce-gzd-return-request-nonce'] : ''; // @codingStandardsIgnoreLine.
57
+
58
+ if ( isset( $_POST['return_request'], $_POST['email'], $_POST['order_id'] ) && wp_verify_nonce( $nonce_value, 'woocommerce-gzd-return-request' ) ) {
59
+
60
+ try {
61
+
62
+ $email = sanitize_email( $_POST['email'] );
63
+ $order_id = wc_clean( $_POST['order_id'] );
64
+ $db_order_id = false;
65
+ $orders = wc_get_orders( apply_filters( 'woocommerce_gzd_return_request_order_query_args', array(
66
+ 'billing_email' => $email,
67
+ 'post__in' => array( $order_id ),
68
+ 'limit' => 1,
69
+ 'return' => 'ids'
70
+ ) ) );
71
+
72
+ // Now lets try to find the order by a custom order number
73
+ if ( empty( $orders ) ) {
74
+
75
+ $orders = new WP_Query( apply_filters( 'woocommerce_gzd_return_request_order_query_args', array(
76
+ 'post_type' => 'shop_order',
77
+ 'post_status' => 'any',
78
+ 'limit' => 1,
79
+ 'fields' => 'ids',
80
+ 'meta_query' => array(
81
+ 'relation' => 'AND',
82
+ array(
83
+ 'key' => '_billing_email',
84
+ 'value' => $email,
85
+ 'compare' => '=',
86
+ ),
87
+ array(
88
+ 'key' => apply_filters( 'woocommerce_gzd_return_request_customer_order_number_meta_key', '_order_number' ),
89
+ 'value' => $order_id,
90
+ 'compare' => '='
91
+ ),
92
+ ),
93
+ ) ) );
94
+
95
+ if ( ! empty( $orders->posts ) ) {
96
+ $db_order_id = $orders->posts[0];
97
+ }
98
+ } else {
99
+ $db_order_id = $orders[0];
100
+ }
101
+
102
+ if ( ! $db_order_id || ( ! $order = wc_get_order( $db_order_id ) ) ) {
103
+ throw new Exception( '<strong>' . _x( 'Error:', 'shipments', 'woocommerce-germanized' ) . '</strong> ' . _x( 'We were not able to find a matching order.', 'shipments', 'woocommerce-germanized' ) );
104
+ }
105
+
106
+ if ( ! wc_gzd_order_is_customer_returnable( $order ) ) {
107
+ throw new Exception( '<strong>' . _x( 'Error:', 'shipments', 'woocommerce-germanized' ) . '</strong> ' . _x( 'This order is currently not eligible for returns. Please contact us for further details.', 'shipments', 'woocommerce-germanized' ) );
108
+ }
109
+
110
+ $key = 'wc_gzd_order_return_request_' . wp_generate_password( 13, false );
111
+
112
+ $order->update_meta_data( '_return_request_key', $key );
113
+ $order->save();
114
+
115
+ // Send email to customer
116
+ wc_add_notice( _x( 'Thank you. You\'ll receive an email containing a link to create a new return to your order.', 'shipments', 'woocommerce-germanized' ), 'success' );
117
+
118
+ WC()->mailer()->emails['WC_GZD_Email_Customer_Guest_Return_Shipment_Request']->trigger( $order );
119
+
120
+ do_action( 'woocommerce_gzd_return_request_successfull', $order );
121
+
122
+ } catch( Exception $e ) {
123
+ wc_add_notice( $e->getMessage(), 'error' );
124
+ do_action( 'woocommerce_gzd_return_request_failed' );
125
+ }
126
+ {} }
127
+ }
128
+
129
+ /**
130
+ * Check if we need to download a file and check validity.
131
+ */
132
+ public static function download_label() {
133
+ if ( 'wc-gzd-download-shipment-label' === $_GET['action'] && wp_verify_nonce( $_REQUEST['_wpnonce'], 'download-shipment-label' ) ) {
134
+
135
+ $shipment_id = absint( $_GET['shipment_id'] );
136
+ $args = wp_parse_args( $_GET, array(
137
+ 'force' => 'no',
138
+ ) );
139
+
140
+ if ( $shipment = wc_gzd_get_shipment( $shipment_id ) ) {
141
+ if ( 'return' === $shipment->get_type() && current_user_can( 'view_order', $shipment->get_order_id() ) ) {
142
+ if ( $shipment->has_label() ) {
143
+ $shipment->get_label()->download( $args );
144
+ }
145
+ }
146
+ }
147
+ }
148
+ }
149
+
150
+ /**
151
+ * Save the password/account details and redirect back to the my account page.
152
+ */
153
+ public static function add_return_shipment() {
154
+ $nonce_value = isset( $_REQUEST['add-return-shipment-nonce'] ) ? $_REQUEST['add-return-shipment-nonce'] : '';
155
+
156
+ if ( ! wp_verify_nonce( $nonce_value, 'add_return_shipment' ) ) {
157
+ return;
158
+ }
159
+
160
+ if ( empty( $_POST['action'] ) || 'gzd_add_return_shipment' !== $_POST['action'] ) {
161
+ return;
162
+ }
163
+
164
+ wc_nocache_headers();
165
+
166
+ $order_id = ! empty( $_POST['order_id'] ) ? absint( wp_unslash( $_POST['order_id'] ) ) : false;
167
+ $items = ! empty( $_POST['items'] ) ? wc_clean( wp_unslash( $_POST['items'] ) ) : array();
168
+ $item_data = ! empty( $_POST['item'] ) ? wc_clean( wp_unslash( $_POST['item'] ) ) : array();
169
+
170
+ if ( ! ( $order = wc_get_order( $order_id ) ) || ( ! wc_gzd_customer_can_add_return_shipment( $order_id ) ) ) {
171
+ wc_add_notice( _x( 'You are not allowed to add returns to that order.', 'shipments', 'woocommerce-germanized' ), 'error' );
172
+ return;
173
+ }
174
+
175
+ if ( ! wc_gzd_order_is_customer_returnable( $order ) ) {
176
+ wc_add_notice( _x( 'Sorry, but this order does not support returns any longer.', 'shipments', 'woocommerce-germanized' ), 'error' );
177
+ return;
178
+ }
179
+
180
+ if ( empty( $items ) ) {
181
+ wc_add_notice( _x( 'Please choose one or more items from the list.', 'shipments', 'woocommerce-germanized' ), 'error' );
182
+ return;
183
+ }
184
+
185
+ $return_items = array();
186
+ $shipment_order = wc_gzd_get_shipment_order( $order );
187
+
188
+ foreach( $items as $order_item_id ) {
189
+
190
+ if ( $item = $shipment_order->get_simple_shipment_item( $order_item_id ) ) {
191
+
192
+ $quantity = isset( $item_data[ $order_item_id ]['quantity'] ) ? absint( $item_data[ $order_item_id ]['quantity'] ) : 0;
193
+ $quantity_returnable = $shipment_order->get_item_quantity_left_for_returning( $order_item_id );
194
+ $reason = isset( $item_data[ $order_item_id ]['reason'] ) ? wc_clean( $item_data[ $order_item_id ]['reason'] ) : '';
195
+
196
+ if ( ! empty( $reason ) && ! wc_gzd_return_shipment_reason_exists( $reason ) ) {
197
+ wc_add_notice( _x( 'The return reason you have chosen does not exist.', 'shipments', 'woocommerce-germanized' ), 'error' );
198
+ return;
199
+ } elseif( empty( $reason ) && ! wc_gzd_allow_customer_return_empty_return_reason( $order ) ) {
200
+ wc_add_notice( _x( 'Please choose a return reason from the list.', 'shipments', 'woocommerce-germanized' ), 'error' );
201
+ return;
202
+ }
203
+
204
+ if ( $quantity > $quantity_returnable ) {
205
+ wc_add_notice( _x( 'Please check your item quantities. Quantities must not exceed maximum quantities.', 'shipments', 'woocommerce-germanized' ), 'error' );
206
+ return;
207
+ } else {
208
+ $return_items[ $order_item_id ] = array(
209
+ 'quantity' => $quantity,
210
+ );
211
+ }
212
+ }
213
+ }
214
+
215
+ if ( wc_notice_count( 'error' ) > 0 ) {
216
+ return;
217
+ }
218
+
219
+ $needs_manual_confirmation = wc_gzd_customer_return_needs_manual_confirmation( $order );
220
+
221
+ if ( $needs_manual_confirmation ) {
222
+ $default_status = 'requested';
223
+ } else {
224
+ $default_status = 'processing';
225
+ }
226
+
227
+ // Add return shipment
228
+ $return_shipment = wc_gzd_create_return_shipment( $shipment_order, array(
229
+ 'items' => $return_items,
230
+ 'props' => array(
231
+ /**
232
+ * This filter may be used to adjust the default status of a return shipment
233
+ * added by a customer.
234
+ *
235
+ * @param string $status The default status.
236
+ * @param WC_Order $order The order object.
237
+ *
238
+ * @since 3.1.0
239
+ * @package Vendidero/Germanized/Shipments
240
+ */
241
+ 'status' => apply_filters( 'woocommerce_gzd_customer_new_return_shipment_request_status', $default_status, $order ),
242
+ 'is_customer_requested' => true,
243
+ ),
244
+ ) );
245
+
246
+ if ( is_wp_error( $return_shipment ) ) {
247
+ wc_add_notice( _x( 'There was an error while creating the return. Please contact us for further information.', 'shipments', 'woocommerce-germanized' ), 'error' );
248
+ return;
249
+ } else {
250
+ // Delete return request key if available
251
+ $shipment_order->delete_order_return_request_key();
252
+
253
+ $success_message = self::get_return_request_success_message( $needs_manual_confirmation );
254
+
255
+ // Do not add success message for guest returns
256
+ if ( $order->get_customer_id() > 0 ) {
257
+ wc_add_notice( $success_message );
258
+ }
259
+
260
+ /**
261
+ * This hook is fired after a customer has added a new return request
262
+ * for a specific shipment. The return shipment object has been added successfully.
263
+ *
264
+ * @param ReturnShipment $shipment The return shipment object.
265
+ * @param WC_Order $order The order object.
266
+ *
267
+ * @since 3.1.0
268
+ * @package Vendidero/Germanized/Shipments
269
+ */
270
+ do_action( 'woocommerce_gzd_new_customer_return_shipment_request', $return_shipment, $order );
271
+
272
+ if ( $needs_manual_confirmation ) {
273
+ $return_url = $order->get_view_order_url();
274
+ } else {
275
+ $return_url = $return_shipment->get_view_shipment_url();
276
+ }
277
+
278
+ if ( $order->get_customer_id() <= 0 ) {
279
+ $return_url = add_query_arg( array( 'return-request-success' => 'yes', 'needs-confirmation' => wc_bool_to_string( $needs_manual_confirmation ) ), wc_get_page_permalink( 'myaccount' ) );
280
+ }
281
+
282
+ /**
283
+ * This filter may be used to adjust the redirect of a customer
284
+ * after adding a new return shipment. In case the return request needs manual confirmation
285
+ * the customer will be redirected to the parent shipment.
286
+ *
287
+ * @param string $url The redirect URL.
288
+ * @param ReturnShipment $shipment The return shipment object.
289
+ * @param boolean $needs_manual_confirmation Whether the request needs manual confirmation or not.
290
+ *
291
+ * @since 3.1.0
292
+ * @package Vendidero/Germanized/Shipments
293
+ */
294
+ $redirect = apply_filters( 'woocommerce_gzd_customer_new_return_shipment_request_redirect', $return_url, $return_shipment, $needs_manual_confirmation );
295
+
296
+ wp_safe_redirect( $redirect );
297
+ exit;
298
+ }
299
+ }
300
+ }
packages/woocommerce-germanized-shipments/src/Install.php CHANGED
@@ -11,7 +11,39 @@ class Install {
11
 
12
  public static function install() {
13
  self::create_upload_dir();
 
 
14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  global $wpdb;
16
 
17
  $wpdb->hide_errors();
11
 
12
  public static function install() {
13
  self::create_upload_dir();
14
+ self::create_tables();
15
+ self::maybe_create_return_reasons();
16
 
17
+ do_action( 'woocommerce_flush_rewrite_rules' );
18
+ }
19
+
20
+ private static function maybe_create_return_reasons() {
21
+ $reasons = get_option( 'woocommerce_gzd_shipments_return_reasons', null );
22
+
23
+ if ( is_null( $reasons ) ) {
24
+ $default_reasons = array(
25
+ array(
26
+ 'order' => 1,
27
+ 'code' => 'wrong-product',
28
+ 'reason' => _x( 'Wrong product or size ordered', 'shipments', 'woocommerce-germanized' ),
29
+ ),
30
+ array(
31
+ 'order' => 2,
32
+ 'code' => 'not-needed',
33
+ 'reason' => _x( 'Product no longer needed', 'shipments', 'woocommerce-germanized' ),
34
+ ),
35
+ array(
36
+ 'order' => 3,
37
+ 'code' => 'look',
38
+ 'reason' => _x( 'Don\'t like the look', 'shipments', 'woocommerce-germanized' ),
39
+ )
40
+ );
41
+
42
+ update_option( 'woocommerce_gzd_shipments_return_reasons', $default_reasons );
43
+ }
44
+ }
45
+
46
+ private static function create_tables() {
47
  global $wpdb;
48
 
49
  $wpdb->hide_errors();
packages/woocommerce-germanized-shipments/src/Interfaces/ShipmenReturnLabel.php CHANGED
@@ -15,7 +15,4 @@ if ( ! defined( 'ABSPATH' ) ) {
15
  /**
16
  * ShipmentLabel class.
17
  */
18
- interface ShipmentReturnLabel extends ShipmentLabel {
19
-
20
- public function send_to_customer( $force = false );
21
- }
15
  /**
16
  * ShipmentLabel class.
17
  */
18
+ interface ShipmentReturnLabel extends ShipmentLabel {}
 
 
 
packages/woocommerce-germanized-shipments/src/Interfaces/ShipmentLabel.php CHANGED
@@ -36,7 +36,9 @@ interface ShipmentLabel {
36
  public function download( $args = array() );
37
 
38
  /**
39
- * Returns the local absolute path to the label file.
 
 
40
  */
41
  public function get_file();
42
 
36
  public function download( $args = array() );
37
 
38
  /**
39
+ * Returns the (local) label file path. False in case the label is not stored locally.
40
+ *
41
+ * @return bool|string
42
  */
43
  public function get_file();
44
 
packages/woocommerce-germanized-shipments/src/Order.php CHANGED
@@ -1,6 +1,9 @@
1
  <?php
2
 
3
  namespace Vendidero\Germanized\Shipments;
 
 
 
4
  use WC_Order;
5
  use WC_Customer;
6
  use WC_Order_Item;
@@ -43,6 +46,32 @@ class Order {
43
  return $this->order;
44
  }
45
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  public function get_shipping_status() {
47
  $status = 'not-shipped';
48
  $shipments = $this->get_simple_shipments();
@@ -64,6 +93,40 @@ class Order {
64
  return $status;
65
  }
66
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
  public function validate_shipments( $args = array() ) {
68
  $args = wp_parse_args( $args, array(
69
  'save' => true,
@@ -187,16 +250,11 @@ class Order {
187
  /**
188
  * @return ReturnShipment[]
189
  */
190
- public function get_return_shipments( $parent_id = false ) {
191
  $returns = array();
192
 
193
  foreach( $this->get_shipments() as $shipment ) {
194
  if ( 'return' === $shipment->get_type() ) {
195
-
196
- if ( $parent_id && $shipment->get_parent_id() !== (int) $parent_id ) {
197
- continue;
198
- }
199
-
200
  $returns[] = $shipment;
201
  }
202
  }
@@ -293,8 +351,71 @@ class Order {
293
  return apply_filters( 'woocommerce_gzd_shipment_order_item_quantity_left_for_shipping', $quantity_left, $order_item, $this );
294
  }
295
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
296
  /**
297
- * @param bool|Vendidero\Germanized\Shipments\Shipment $shipment
298
  * @return array
299
  */
300
  public function get_available_items_for_shipment( $args = array() ) {
@@ -328,6 +449,58 @@ class Order {
328
  return $items;
329
  }
330
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
331
  public function item_needs_shipping( $order_item, $args = array() ) {
332
  $args = wp_parse_args( $args, array(
333
  'sent_only' => false,
@@ -353,6 +526,57 @@ class Order {
353
  return apply_filters( 'woocommerce_gzd_shipment_order_item_needs_shipping', $needs_shipping, $order_item, $args, $this );
354
  }
355
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
356
  /**
357
  * Returns items that are ready for shipping (defaults to non-virtual line items).
358
  *
@@ -365,7 +589,6 @@ class Order {
365
  $product = is_callable( array( $item, 'get_product' ) ) ? $item->get_product() : false;
366
 
367
  if ( $product ) {
368
-
369
  if ( $product->is_virtual() || $this->get_shippable_item_quantity( $item ) <= 0 ) {
370
  unset( $items[ $key ] );
371
  }
@@ -388,6 +611,45 @@ class Order {
388
  return apply_filters( 'woocommerce_gzd_shipment_order_shippable_items', $items, $this->get_order(), $this );
389
  }
390
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
391
  public function get_shippable_item_quantity( $order_item ) {
392
  $refunded_qty = $this->get_order()->get_qty_refunded_for_item( $order_item->get_id() );
393
 
@@ -411,6 +673,11 @@ class Order {
411
  return apply_filters( 'woocommerce_gzd_shipment_order_item_shippable_quantity', $quantity_left, $order_item, $this );
412
  }
413
 
 
 
 
 
 
414
  public function get_shippable_item_count() {
415
  $count = 0;
416
 
@@ -430,6 +697,30 @@ class Order {
430
  return apply_filters( 'woocommerce_gzd_shipment_order_shippable_item_count', $count, $this );
431
  }
432
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
433
  /**
434
  * Checks whether the order needs shipping or not by checking quantity
435
  * for every line item.
@@ -467,6 +758,41 @@ class Order {
467
  return apply_filters( 'woocommerce_gzd_shipment_order_needs_shipping', $needs_shipping, $this->get_order(), $this );
468
  }
469
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
470
  public function save() {
471
  if ( ! empty( $this->shipments_to_delete ) ) {
472
 
1
  <?php
2
 
3
  namespace Vendidero\Germanized\Shipments;
4
+ use Exception;
5
+ use WC_DateTime;
6
+ use DateTimeZone;
7
  use WC_Order;
8
  use WC_Customer;
9
  use WC_Order_Item;
46
  return $this->order;
47
  }
48
 
49
+ /**
50
+ * @return WC_DateTime|null
51
+ */
52
+ public function get_date_shipped() {
53
+ $date_shipped = $this->get_order()->get_meta( '_date_shipped', true );
54
+
55
+ if ( $date_shipped ) {
56
+ try {
57
+ $date_shipped = new WC_DateTime( "@{$date_shipped}" );
58
+
59
+ // Set local timezone or offset.
60
+ if ( get_option( 'timezone_string' ) ) {
61
+ $date_shipped->setTimezone( new DateTimeZone( wc_timezone_string() ) );
62
+ } else {
63
+ $date_shipped->set_utc_offset( wc_timezone_offset() );
64
+ }
65
+ } catch( Exception $e ) {
66
+ $date_shipped = null;
67
+ }
68
+ } else {
69
+ $date_shipped = null;
70
+ }
71
+
72
+ return $date_shipped;
73
+ }
74
+
75
  public function get_shipping_status() {
76
  $status = 'not-shipped';
77
  $shipments = $this->get_simple_shipments();
93
  return $status;
94
  }
95
 
96
+ public function has_shipped_shipments() {
97
+ $shipments = $this->get_simple_shipments();
98
+
99
+ foreach( $shipments as $shipment ) {
100
+
101
+ if ( $shipment->has_status( wc_gzd_get_shipment_sent_statuses() ) ) {
102
+ return true;
103
+ }
104
+ }
105
+
106
+ return false;
107
+ }
108
+
109
+ public function get_return_status() {
110
+ $status = 'open';
111
+ $shipments = $this->get_return_shipments();
112
+
113
+ if ( ! empty( $shipments ) ) {
114
+ foreach( $shipments as $shipment ) {
115
+
116
+ if ( $shipment->has_status( 'delivered' ) ) {
117
+ $status = 'partially-returned';
118
+ break;
119
+ }
120
+ }
121
+ }
122
+
123
+ if ( ! $this->needs_return( array( 'delivered_only' => true ) ) && $this->has_shipped_shipments() ) {
124
+ $status = 'returned';
125
+ }
126
+
127
+ return $status;
128
+ }
129
+
130
  public function validate_shipments( $args = array() ) {
131
  $args = wp_parse_args( $args, array(
132
  'save' => true,
250
  /**
251
  * @return ReturnShipment[]
252
  */
253
+ public function get_return_shipments() {
254
  $returns = array();
255
 
256
  foreach( $this->get_shipments() as $shipment ) {
257
  if ( 'return' === $shipment->get_type() ) {
 
 
 
 
 
258
  $returns[] = $shipment;
259
  }
260
  }
351
  return apply_filters( 'woocommerce_gzd_shipment_order_item_quantity_left_for_shipping', $quantity_left, $order_item, $this );
352
  }
353
 
354
+ public function get_item_quantity_sent_by_order_item_id( $order_item_id ) {
355
+ $shipments = $this->get_simple_shipments();
356
+ $quantity = 0;
357
+
358
+ foreach( $shipments as $shipment ) {
359
+
360
+ if ( ! $shipment->has_status( wc_gzd_get_shipment_sent_statuses() ) ) {
361
+ continue;
362
+ }
363
+
364
+ if ( $item = $shipment->get_item_by_order_item_id( $order_item_id ) ) {
365
+ $quantity += $item->get_quantity();
366
+ }
367
+ }
368
+
369
+ return $quantity;
370
+ }
371
+
372
+ /**
373
+ * @param ShipmentItem $item
374
+ */
375
+ public function get_item_quantity_left_for_returning( $order_item_id, $args = array() ) {
376
+ $quantity_left = 0;
377
+ $args = wp_parse_args( $args, array(
378
+ 'delivered_only' => false,
379
+ 'shipment_id' => 0,
380
+ 'exclude_current_shipment' => false,
381
+ ) );
382
+
383
+ $quantity_left = $this->get_item_quantity_sent_by_order_item_id( $order_item_id );
384
+
385
+ foreach( $this->get_return_shipments() as $shipment ) {
386
+
387
+ if ( $args['delivered_only'] && ! $shipment->has_status( 'delivered' ) ) {
388
+ continue;
389
+ }
390
+
391
+ if ( $args['exclude_current_shipment'] && $args['shipment_id'] > 0 && ( $shipment->get_id() === $args['shipment_id'] ) ) {
392
+ continue;
393
+ }
394
+
395
+ if ( $shipment_item = $shipment->get_item_by_order_item_id( $order_item_id ) ) {
396
+ $quantity_left -= $shipment_item->get_quantity();
397
+ }
398
+ }
399
+
400
+ if ( $quantity_left < 0 ) {
401
+ $quantity_left = 0;
402
+ }
403
+
404
+ /**
405
+ * Filter to adjust the quantity left for returning of a specific order item.
406
+ *
407
+ * @param integer $quantity_left The quantity left for shipment.
408
+ * @param integer $order_item_id The order item id.
409
+ * @param Order $this The shipment order object.
410
+ *
411
+ * @since 3.0.0
412
+ * @package Vendidero/Germanized/Shipments
413
+ */
414
+ return apply_filters( 'woocommerce_gzd_shipment_order_item_quantity_left_for_returning', $quantity_left, $order_item_id, $this );
415
+ }
416
+
417
  /**
418
+ * @param bool|Shipment $shipment
419
  * @return array
420
  */
421
  public function get_available_items_for_shipment( $args = array() ) {
449
  return $items;
450
  }
451
 
452
+ /**
453
+ * Returns the first found matching shipment item for a certain order item id.
454
+ *
455
+ * @param $order_item_id
456
+ *
457
+ * @return bool|ShipmentItem
458
+ */
459
+ public function get_simple_shipment_item( $order_item_id ) {
460
+ foreach( $this->get_simple_shipments() as $shipment ) {
461
+
462
+ if ( $item = $shipment->get_item_by_order_item_id( $order_item_id ) ) {
463
+ return $item;
464
+ }
465
+ }
466
+
467
+ return false;
468
+ }
469
+
470
+ /**
471
+ * @return array
472
+ */
473
+ public function get_available_items_for_return( $args = array() ) {
474
+ $args = wp_parse_args( $args, array(
475
+ 'disable_duplicates' => false,
476
+ 'shipment_id' => 0,
477
+ 'delivered_only' => false,
478
+ 'exclude_current_shipment' => false,
479
+ ) );
480
+
481
+ $items = array();
482
+ $shipment = $args['shipment_id'] ? $this->get_shipment( $args['shipment_id'] ) : false;
483
+
484
+ foreach( $this->get_returnable_items() as $item ) {
485
+ $quantity_left = $this->get_item_quantity_left_for_returning( $item->get_order_item_id(), $args );
486
+
487
+ if ( $shipment ) {
488
+ if ( $args['disable_duplicates'] && $shipment->get_item_by_order_item_id( $item->get_order_item_id() ) ) {
489
+ continue;
490
+ }
491
+ }
492
+
493
+ if ( $quantity_left > 0 ) {
494
+ $items[ $item->get_order_item_id() ] = array(
495
+ 'name' => $item->get_name(),
496
+ 'max_quantity' => $quantity_left,
497
+ );
498
+ }
499
+ }
500
+
501
+ return $items;
502
+ }
503
+
504
  public function item_needs_shipping( $order_item, $args = array() ) {
505
  $args = wp_parse_args( $args, array(
506
  'sent_only' => false,
526
  return apply_filters( 'woocommerce_gzd_shipment_order_item_needs_shipping', $needs_shipping, $order_item, $args, $this );
527
  }
528
 
529
+ /**
530
+ * Checks whether an item needs return or not by checking the quantity left for return.
531
+ *
532
+ * @param ShipmentItem $item
533
+ * @param array $args
534
+ *
535
+ * @return mixed|void
536
+ */
537
+ public function item_needs_return( $item, $args = array() ) {
538
+ $args = wp_parse_args( $args, array(
539
+ 'delivered_only' => false,
540
+ ) );
541
+
542
+ $needs_return = false;
543
+
544
+ if ( $this->get_item_quantity_left_for_returning( $item->get_order_item_id(), $args ) > 0 ) {
545
+ $needs_return = true;
546
+ }
547
+
548
+ /**
549
+ * Filter to decide whether a shipment item needs return or not.
550
+ *
551
+ * @param boolean $needs_return Whether the item needs return or not.
552
+ * @param ShipmentItem $item The order item object.
553
+ * @param array $args Additional arguments to be considered.
554
+ * @param Order $order The shipment order object.
555
+ *
556
+ * @since 3.0.0
557
+ * @package Vendidero/Germanized/Shipments
558
+ */
559
+ return apply_filters( 'woocommerce_gzd_shipment_item_needs_return', $needs_return, $item, $args, $this );
560
+ }
561
+
562
+ /**
563
+ * Returns the return request key added to allow a guest customer to add
564
+ * a new return request to a certain order.
565
+ *
566
+ * @return mixed
567
+ */
568
+ public function get_order_return_request_key() {
569
+ return $this->get_order()->get_meta( '_return_request_key' );
570
+ }
571
+
572
+ /**
573
+ * Removes the return request key from the order. Saves the order.
574
+ */
575
+ public function delete_order_return_request_key() {
576
+ $this->get_order()->delete_meta_data( '_return_request_key' );
577
+ $this->get_order()->save();
578
+ }
579
+
580
  /**
581
  * Returns items that are ready for shipping (defaults to non-virtual line items).
582
  *
589
  $product = is_callable( array( $item, 'get_product' ) ) ? $item->get_product() : false;
590
 
591
  if ( $product ) {
 
592
  if ( $product->is_virtual() || $this->get_shippable_item_quantity( $item ) <= 0 ) {
593
  unset( $items[ $key ] );
594
  }
611
  return apply_filters( 'woocommerce_gzd_shipment_order_shippable_items', $items, $this->get_order(), $this );
612
  }
613
 
614
+ /**
615
+ * Returns items that are ready for return. By default only shipped (or delivered) items are returnable.
616
+ *
617
+ * @return ShipmentItem[] Shippable items.
618
+ */
619
+ public function get_returnable_items() {
620
+ $items = array();
621
+
622
+ foreach( $this->get_simple_shipments() as $shipment ) {
623
+
624
+ if ( ! $shipment->has_status( wc_gzd_get_shipment_sent_statuses() ) ) {
625
+ continue;
626
+ }
627
+
628
+ foreach( $shipment->get_items() as $item ) {
629
+
630
+ if ( ! isset( $items[ $item->get_order_item_id() ] ) ) {
631
+ $new_item = clone $item;
632
+ $items[ $item->get_order_item_id() ] = $new_item;
633
+ } else {
634
+ $new_quantity = $items[ $item->get_order_item_id() ]->get_quantity() + $item->get_quantity();
635
+ $items[ $item->get_order_item_id() ]->set_quantity( $new_quantity );
636
+ }
637
+ }
638
+ }
639
+
640
+ /**
641
+ * Filter to adjust returnable items for a specific order.
642
+ *
643
+ * @param ShipmentItem[] $items Array containing shippable order items.
644
+ * @param WC_Order $order The order object.
645
+ * @param Order $order The shipment order object.
646
+ *
647
+ * @since 3.0.0
648
+ * @package Vendidero/Germanized/Shipments
649
+ */
650
+ return apply_filters( 'woocommerce_gzd_shipment_order_returnable_items', $items, $this->get_order(), $this );
651
+ }
652
+
653
  public function get_shippable_item_quantity( $order_item ) {
654
  $refunded_qty = $this->get_order()->get_qty_refunded_for_item( $order_item->get_id() );
655
 
673
  return apply_filters( 'woocommerce_gzd_shipment_order_item_shippable_quantity', $quantity_left, $order_item, $this );
674
  }
675
 
676
+ /**
677
+ * Returns the total number of shippable items.
678
+ *
679
+ * @return mixed|void
680
+ */
681
  public function get_shippable_item_count() {
682
  $count = 0;
683
 
697
  return apply_filters( 'woocommerce_gzd_shipment_order_shippable_item_count', $count, $this );
698
  }
699
 
700
+ /**
701
+ * Returns the number of total returnable items.
702
+ *
703
+ * @return mixed|void
704
+ */
705
+ public function get_returnable_item_count() {
706
+ $count = 0;
707
+
708
+ foreach( $this->get_returnable_items() as $item ) {
709
+ $count += $item->get_quantity();
710
+ }
711
+
712
+ /**
713
+ * Filters the total number of returnable items available in an order.
714
+ *
715
+ * @param integer $count The total number of items.
716
+ * @param Order $order The shipment order object.
717
+ *
718
+ * @since 3.0.0
719
+ * @package Vendidero/Germanized/Shipments
720
+ */
721
+ return apply_filters( 'woocommerce_gzd_shipment_order_returnable_item_count', $count, $this );
722
+ }
723
+
724
  /**
725
  * Checks whether the order needs shipping or not by checking quantity
726
  * for every line item.
758
  return apply_filters( 'woocommerce_gzd_shipment_order_needs_shipping', $needs_shipping, $this->get_order(), $this );
759
  }
760
 
761
+ /**
762
+ * Checks whether the order needs return or not by checking quantity
763
+ * for every line item.
764
+ *
765
+ * @return bool Whether the order needs shipping or not.
766
+ */
767
+ public function needs_return( $args = array() ) {
768
+ $args = wp_parse_args( $args, array(
769
+ 'delivered_only' => false
770
+ ) );
771
+
772
+ $items = $this->get_returnable_items();
773
+ $needs_return = false;
774
+
775
+ foreach( $items as $item ) {
776
+
777
+ if ( $this->item_needs_return( $item, $args ) ) {
778
+ $needs_return = true;
779
+ break;
780
+ }
781
+ }
782
+
783
+ /**
784
+ * Filter to decide whether an order needs return or not.
785
+ *
786
+ * @param boolean $needs_return Whether the order needs return or not.
787
+ * @param WC_Order $order The order object.
788
+ * @param Order $order The shipment order object.
789
+ *
790
+ * @since 3.0.0
791
+ * @package Vendidero/Germanized/Shipments
792
+ */
793
+ return apply_filters( 'woocommerce_gzd_shipment_order_needs_return', $needs_return, $this->get_order(), $this );
794
+ }
795
+
796
  public function save() {
797
  if ( ! empty( $this->shipments_to_delete ) ) {
798
 
packages/woocommerce-germanized-shipments/src/Package.php CHANGED
@@ -2,6 +2,7 @@
2
 
3
  namespace Vendidero\Germanized\Shipments;
4
 
 
5
  use WC_Shipping;
6
  use WC_Shipping_Method;
7
 
@@ -16,12 +17,11 @@ class Package {
16
  *
17
  * @var string
18
  */
 
19
 
20
- const VERSION = '1.1.2';
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.
@@ -49,13 +49,67 @@ class Package {
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
  add_action( 'woocommerce_gzd_wpml_compatibility_loaded', array( __CLASS__, 'load_wpml_compatibility' ), 10 );
53
  }
54
 
55
- public static function load_wpml_compatibility( $compatibility ) {
56
- WPMLHelper::init( $compatibility );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  }
58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  public static function set_method_filters( $methods ) {
60
 
61
  foreach ( $methods as $method => $class ) {
@@ -116,7 +170,9 @@ class Package {
116
  }
117
 
118
  public static function register_endpoints( $query_vars ) {
119
- $query_vars['view-shipment'] = get_option( 'woocommerce_myaccount_view_shipment_endpoint', 'view-shipment' );
 
 
120
 
121
  return $query_vars;
122
  }
@@ -254,6 +310,7 @@ class Package {
254
  Emails::init();
255
  Validation::init();
256
  Api::init();
 
257
 
258
  if ( self::is_frontend_request() ) {
259
  include_once self::get_path() . '/includes/wc-gzd-shipment-template-hooks.php';
2
 
3
  namespace Vendidero\Germanized\Shipments;
4
 
5
+ use Exception;
6
  use WC_Shipping;
7
  use WC_Shipping_Method;
8
 
17
  *
18
  * @var string
19
  */
20
+ const VERSION = '1.2.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.
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
+ // Guest returns
53
+ add_filter( 'wc_get_template', array( __CLASS__, 'add_return_shipment_guest_endpoints' ), 10, 2 );
54
+ add_action( 'init', array( __CLASS__, 'register_shortcodes' ) );
55
+
56
  add_action( 'woocommerce_gzd_wpml_compatibility_loaded', array( __CLASS__, 'load_wpml_compatibility' ), 10 );
57
  }
58
 
59
+ public static function add_return_shipment_guest_endpoints( $template, $template_name ) {
60
+ global $wp;
61
+
62
+ if ( 'myaccount/form-login.php' === $template_name ) {
63
+
64
+ try {
65
+ $key = ( isset( $_GET['key'] ) ? wc_clean( wp_unslash( $_GET['key'] ) ) : '' );
66
+ $order_id = false;
67
+ $callback = false;
68
+
69
+ if ( isset( $wp->query_vars['add-return-shipment'] ) ) {
70
+ $callback = 'woocommerce_gzd_shipments_template_add_return_shipment';
71
+ $order_id = absint( $wp->query_vars['add-return-shipment'] );
72
+ }
73
+
74
+ if ( $callback && $order_id && ( $order_shipment = wc_gzd_get_shipment_order( $order_id ) ) && ! empty( $key ) ) {
75
+
76
+ // Order return key is invalid.
77
+ if ( ! wc_gzd_customer_can_add_return_shipment( $order_id ) ) {
78
+ throw new Exception( _x( 'Sorry, this order is invalid and cannot be returned.', 'shipments', 'woocommerce-germanized' ) );
79
+ } else {
80
+ call_user_func_array( $callback, array( 'order_id' => $order_id ) );
81
+ $template = self::get_path() . '/templates/global/empty.php';
82
+ }
83
+ }
84
+ } catch ( Exception $e ) {
85
+ wc_add_notice( $e->getMessage(), 'error' );
86
+ }
87
+ }
88
+
89
+ return $template;
90
  }
91
 
92
+ public static function register_shortcodes() {
93
+ add_shortcode( 'gzd_return_request_form', array( __CLASS__, 'return_request_form' ) );
94
+ }
95
+
96
+ public static function return_request_form( $args = array() ) {
97
+
98
+ $defaults = array(
99
+ 'message' => '',
100
+ 'hidden' => false,
101
+ );
102
+
103
+ $args = wp_parse_args( $args, $defaults );
104
+ $html = wc_get_template_html( 'global/form-return-request.php', $args );
105
+
106
+ return $html;
107
+ }
108
+
109
+ public static function load_wpml_compatibility( $compatibility ) {
110
+ WPMLHelper::init( $compatibility );
111
+ }
112
+
113
  public static function set_method_filters( $methods ) {
114
 
115
  foreach ( $methods as $method => $class ) {
170
  }
171
 
172
  public static function register_endpoints( $query_vars ) {
173
+ $query_vars['view-shipment'] = get_option( 'woocommerce_gzd_shipments_view_shipment_endpoint', 'view-shipment' );
174
+ $query_vars['add-return-shipment'] = get_option( 'woocommerce_gzd_shipments_add_return_shipment_endpoint', 'add-return-shipment' );
175
+ $query_vars['view-shipments'] = get_option( 'woocommerce_gzd_shipments_view_shipments_endpoint', 'view-shipments' );
176
 
177
  return $query_vars;
178
  }
310
  Emails::init();
311
  Validation::init();
312
  Api::init();
313
+ FormHandler::init();
314
 
315
  if ( self::is_frontend_request() ) {
316
  include_once self::get_path() . '/includes/wc-gzd-shipment-template-hooks.php';
packages/woocommerce-germanized-shipments/src/ReturnReason.php ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Vendidero\Germanized\Shipments;
4
+
5
+ defined( 'ABSPATH' ) || exit;
6
+
7
+ /**
8
+ * Return reason
9
+ *
10
+ * @class ReturnReason
11
+ * @version 1.0.0
12
+ * @author Vendidero
13
+ */
14
+ class ReturnReason {
15
+
16
+ protected $args = array();
17
+
18
+ public function __construct( $args ) {
19
+ $args = wp_parse_args( $args, array(
20
+ 'code' => '',
21
+ 'reason' => '',
22
+ 'order' => 0,
23
+ ) );
24
+
25
+ $this->args = $args;
26
+ }
27
+
28
+ public function get_reason() {
29
+ return $this->args['reason'];
30
+ }
31
+
32
+ public function get_code() {
33
+ return $this->args['code'];
34
+ }
35
+
36
+ public function get_name() {
37
+ return $this->get_code();
38
+ }
39
+
40
+ public function get_order() {
41
+ return absint( $this->args['order'] );
42
+ }
43
+ }
packages/woocommerce-germanized-shipments/src/ReturnShipment.php CHANGED
@@ -18,13 +18,6 @@ defined( 'ABSPATH' ) || exit;
18
  */
19
  class ReturnShipment extends Shipment {
20
 
21
- /**
22
- * The corresponding parent shipment.
23
- *
24
- * @var null|SimpleShipment
25
- */
26
- private $parent = null;
27
-
28
  /**
29
  * The corresponding order object.
30
  *
@@ -40,9 +33,9 @@ class ReturnShipment extends Shipment {
40
  private $order = null;
41
 
42
  protected $extra_data = array(
43
- 'parent_id' => 0,
44
- 'order_id' => 0,
45
- 'sender_address' => array(),
46
  );
47
 
48
  /**
@@ -64,23 +57,53 @@ class ReturnShipment extends Shipment {
64
  }
65
 
66
  /**
67
- * Returns the parent id belonging to the shipment.
68
  *
69
  * @param string $context What the value is for. Valid values are 'view' and 'edit'.
70
  * @return integer
71
  */
72
- public function get_parent_id( $context = 'view' ) {
73
- return $this->get_prop( 'parent_id', $context );
74
  }
75
 
76
  /**
77
- * Returns the order id belonging to the shipment.
78
  *
79
  * @param string $context What the value is for. Valid values are 'view' and 'edit'.
80
- * @return integer
81
  */
82
- public function get_order_id( $context = 'view' ) {
83
- return $this->get_prop( 'order_id', $context );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
  }
85
 
86
  /**
@@ -93,18 +116,6 @@ class ReturnShipment extends Shipment {
93
  return $this->get_prop( 'sender_address', $context );
94
  }
95
 
96
- /**
97
- * Set shipment parent id.
98
- *
99
- * @param string $parent_id The parent id.
100
- */
101
- public function set_parent_id( $parent_id ) {
102
- // Reset parent object
103
- $this->parent = null;
104
-
105
- $this->set_prop( 'parent_id', absint( $parent_id ) );
106
- }
107
-
108
  /**
109
  * Set shipment order id.
110
  *
@@ -117,6 +128,15 @@ class ReturnShipment extends Shipment {
117
  $this->set_prop( 'order_id', absint( $order_id ) );
118
  }
119
 
 
 
 
 
 
 
 
 
 
120
  /**
121
  * Set shipment order.
122
  *
@@ -132,25 +152,12 @@ class ReturnShipment extends Shipment {
132
  * @return Order|null The order shipment.
133
  */
134
  public function get_order_shipment() {
135
- return $this->order_shipment;
136
- }
137
-
138
- /**
139
- * Tries to fetch the parent for the current shipment.
140
- *
141
- * @return bool|SimpleShipment|null
142
- */
143
- public function get_parent() {
144
- if ( is_null( $this->parent ) ) {
145
-
146
- if ( $order_shipment = $this->get_order_shipment() ) {
147
- $this->parent = ( $this->get_parent_id() > 0 ? $order_shipment->get_shipment( $this->get_parent_id() ) : false );
148
- } else {
149
- $this->parent = ( $this->get_parent_id() > 0 ? wc_gzd_get_shipment( $this->get_parent_id() ) : false );
150
- }
151
  }
152
 
153
- return $this->parent;
154
  }
155
 
156
  /**
@@ -159,22 +166,14 @@ class ReturnShipment extends Shipment {
159
  * @return int
160
  */
161
  public function get_shippable_item_count() {
162
- if ( $parent = $this->get_parent() ) {
163
- return $parent->get_item_count();
 
164
  }
165
 
166
  return 0;
167
  }
168
 
169
- /**
170
- * Set parent instance.
171
- *
172
- * @param $shipment
173
- */
174
- public function set_parent( $shipment ) {
175
- $this->parent = $shipment;
176
- }
177
-
178
  /**
179
  * Tries to fetch the order for the current shipment.
180
  *
@@ -426,19 +425,27 @@ class ReturnShipment extends Shipment {
426
 
427
  try {
428
 
429
- if ( ! $parent_shipment = $this->get_parent() ) {
430
- throw new Exception( _x( 'Invalid shipment', 'shipments', 'woocommerce-germanized' ) );
431
  }
432
 
433
- $return_address = wc_gzd_get_shipment_return_address( $parent_shipment );
 
 
 
 
 
 
 
 
434
 
435
  $args = wp_parse_args( $args, array(
436
- 'order_id' => $parent_shipment->get_order_id(),
437
  'country' => $return_address['country'],
438
- 'shipping_method' => $parent_shipment->get_shipping_method(),
439
- 'shipping_provider' => $parent_shipment->get_shipping_provider(),
440
  'address' => $return_address,
441
- 'sender_address' => $parent_shipment->get_address(),
442
  'weight' => $this->get_weight( 'edit' ),
443
  'length' => $this->get_length( 'edit' ),
444
  'width' => $this->get_width( 'edit' ),
@@ -446,20 +453,19 @@ class ReturnShipment extends Shipment {
446
  ) );
447
 
448
  $this->set_props( $args );
449
- $this->set_parent_id( $parent_shipment->get_id() );
450
 
451
  /**
452
  * Action that fires after a return shipment has been synced. Syncing is used to
453
  * keep the shipment in sync with the corresponding parent shipment.
454
  *
455
  * @param ReturnShipment $shipment The return shipment object.
456
- * @param SimpleShipment $parent_shipment The parent shipment object.
457
  * @param array $args Array containing properties in key => value pairs to be updated.
458
  *
459
  * @since 3.0.0
460
  * @package Vendidero/Germanized/Shipments
461
  */
462
- do_action( 'woocommerce_gzd_return_shipment_synced', $this, $parent_shipment, $args );
463
 
464
  } catch ( Exception $e ) {
465
  return false;
@@ -479,27 +485,29 @@ class ReturnShipment extends Shipment {
479
  public function sync_items( $args = array() ) {
480
  try {
481
 
482
- if ( ! $parent = $this->get_parent() ) {
483
- throw new Exception( _x( 'Invalid shipment', 'shipments', 'woocommerce-germanized' ) );
484
  }
485
 
 
 
486
  $args = wp_parse_args( $args, array(
487
  'items' => array(),
488
  ) );
489
 
490
- $available_items = $parent->get_available_items_for_return( array(
491
  'shipment_id' => $this->get_id(),
492
  'exclude_current_shipment' => true,
493
  ) );
494
 
495
- foreach( $available_items as $item_id => $item_data ) {
496
 
497
- if ( $parent_item = $parent->get_item( $item_id ) ) {
498
  $quantity = $item_data['max_quantity'];
499
 
500
  if ( ! empty( $args['items'] ) ) {
501
- if ( isset( $args['items'][ $item_id ] ) ) {
502
- $new_quantity = absint( $args['items'][ $item_id ] );
503
 
504
  if ( $new_quantity < $quantity ) {
505
  $quantity = $new_quantity;
@@ -509,8 +517,8 @@ class ReturnShipment extends Shipment {
509
  }
510
  }
511
 
512
- if ( ! $shipment_item = $this->get_item_by_item_parent_id( $item_id ) ) {
513
- $shipment_item = wc_gzd_create_return_shipment_item( $this, $parent_item, array( 'quantity' => $quantity ) );
514
 
515
  $this->add_item( $shipment_item );
516
  } else {
@@ -522,7 +530,7 @@ class ReturnShipment extends Shipment {
522
  foreach( $this->get_items() as $item ) {
523
 
524
  // Remove non-existent items
525
- if ( ! $parent_item = $parent->get_item( $item->get_parent_id() ) ) {
526
  $this->remove_item( $item->get_id() );
527
  }
528
  }
@@ -537,7 +545,7 @@ class ReturnShipment extends Shipment {
537
  * @since 3.0.0
538
  * @package Vendidero/Germanized/Shipments
539
  */
540
- do_action( 'woocommerce_gzd_return_shipment_items_synced', $this, $parent, $args );
541
 
542
  } catch ( Exception $e ) {
543
  return false;
@@ -555,11 +563,11 @@ class ReturnShipment extends Shipment {
555
  */
556
  public function needs_items( $available_items = false ) {
557
 
558
- if ( ! $available_items && ( $parent = $this->get_parent() ) ) {
559
- $available_items = array_keys( $parent->get_available_items_for_return() );
560
  }
561
 
562
- return ( $this->is_editable() && ! $this->contains_item_parent( $available_items ) );
563
  }
564
 
565
  /**
@@ -582,6 +590,6 @@ class ReturnShipment extends Shipment {
582
  * @since 3.0.0
583
  * @package Vendidero/Germanized/Shipments
584
  */
585
- return apply_filters( "{$this->get_hook_prefix()}edit_url", get_admin_url( null, 'post.php?post=' . $this->get_order_id() . '&action=edit&shipment_id=' . $this->get_parent_id() . '&return_id=' . $this->get_id() ), $this );
586
  }
587
  }
18
  */
19
  class ReturnShipment extends Shipment {
20
 
 
 
 
 
 
 
 
21
  /**
22
  * The corresponding order object.
23
  *
33
  private $order = null;
34
 
35
  protected $extra_data = array(
36
+ 'order_id' => 0,
37
+ 'is_customer_requested' => false,
38
+ 'sender_address' => array(),
39
  );
40
 
41
  /**
57
  }
58
 
59
  /**
60
+ * Returns the order id belonging to the shipment.
61
  *
62
  * @param string $context What the value is for. Valid values are 'view' and 'edit'.
63
  * @return integer
64
  */
65
+ public function get_order_id( $context = 'view' ) {
66
+ return $this->get_prop( 'order_id', $context );
67
  }
68
 
69
  /**
70
+ * Returns whether the current return was requested by a customer or not.
71
  *
72
  * @param string $context What the value is for. Valid values are 'view' and 'edit'.
73
+ * @return boolean
74
  */
75
+ public function get_is_customer_requested( $context = 'view' ) {
76
+ return $this->get_prop( 'is_customer_requested', $context );
77
+ }
78
+
79
+ public function is_customer_requested() {
80
+ return $this->get_is_customer_requested();
81
+ }
82
+
83
+ public function confirm_customer_request() {
84
+ if ( $this->is_customer_requested() && $this->has_status( 'requested' ) ) {
85
+
86
+ $this->set_status( 'processing' );
87
+
88
+ if ( $this->save() ) {
89
+ /**
90
+ * Action that fires after a return request has been confirmed to the customer.
91
+ *
92
+ * @param integer $shipment_id The return shipment id.
93
+ * @param ReturnShipment $shipment The return shipment object.
94
+ *
95
+ * @since 3.1.0
96
+ * @package Vendidero/Germanized/Shipments
97
+ */
98
+ do_action( 'woocommerce_gzd_return_shipment_customer_confirmed', $this->get_id(), $this );
99
+
100
+ return true;
101
+ } else {
102
+ return false;
103
+ }
104
+ }
105
+
106
+ return false;
107
  }
108
 
109
  /**
116
  return $this->get_prop( 'sender_address', $context );
117
  }
118
 
 
 
 
 
 
 
 
 
 
 
 
 
119
  /**
120
  * Set shipment order id.
121
  *
128
  $this->set_prop( 'order_id', absint( $order_id ) );
129
  }
130
 
131
+ /**
132
+ * Set if the current return was requested by the customer or not.
133
+ *
134
+ * @param string $is_requested Whether or not it is requested by the customer.
135
+ */
136
+ public function set_is_customer_requested( $is_requested ) {
137
+ $this->set_prop( 'is_customer_requested', wc_string_to_bool( $is_requested ) );
138
+ }
139
+
140
  /**
141
  * Set shipment order.
142
  *
152
  * @return Order|null The order shipment.
153
  */
154
  public function get_order_shipment() {
155
+ if ( is_null( $this->order_shipment ) ) {
156
+ $order = $this->get_order();
157
+ $this->order_shipment = ( $order ? wc_gzd_get_shipment_order( $order ) : false );
 
 
 
 
 
 
 
 
 
 
 
 
 
158
  }
159
 
160
+ return $this->order_shipment;
161
  }
162
 
163
  /**
166
  * @return int
167
  */
168
  public function get_shippable_item_count() {
169
+
170
+ if ( $order_shipment = $this->get_order_shipment() ) {
171
+ return $order_shipment->get_returnable_item_count();
172
  }
173
 
174
  return 0;
175
  }
176
 
 
 
 
 
 
 
 
 
 
177
  /**
178
  * Tries to fetch the order for the current shipment.
179
  *
425
 
426
  try {
427
 
428
+ if ( ! $order_shipment = $this->get_order_shipment() ) {
429
+ throw new Exception( _x( 'Invalid shipment order', 'shipments', 'woocommerce-germanized' ) );
430
  }
431
 
432
+ $return_address = wc_gzd_get_shipment_return_address( $order_shipment );
433
+ $order = $order_shipment->get_order();
434
+
435
+ /**
436
+ * Make sure that manually adjusted providers are not overridden by syncing.
437
+ */
438
+ $default_provider_instance = wc_gzd_get_order_shipping_provider( $order );
439
+ $default_provider = $default_provider_instance ? $default_provider_instance->get_name() : '';
440
+ $provider = $this->get_shipping_provider( 'edit' );
441
 
442
  $args = wp_parse_args( $args, array(
443
+ 'order_id' => $order->get_id(),
444
  'country' => $return_address['country'],
445
+ 'shipping_method' => wc_gzd_get_shipment_order_shipping_method_id( $order ),
446
+ 'shipping_provider' => ( ! empty( $provider ) ) ? $provider : $default_provider,
447
  'address' => $return_address,
448
+ 'sender_address' => array_merge( $order->get_address( 'shipping' ), array( 'email' => $order->get_billing_email(), 'phone' => $order->get_billing_phone() ) ),
449
  'weight' => $this->get_weight( 'edit' ),
450
  'length' => $this->get_length( 'edit' ),
451
  'width' => $this->get_width( 'edit' ),
453
  ) );
454
 
455
  $this->set_props( $args );
 
456
 
457
  /**
458
  * Action that fires after a return shipment has been synced. Syncing is used to
459
  * keep the shipment in sync with the corresponding parent shipment.
460
  *
461
  * @param ReturnShipment $shipment The return shipment object.
462
+ * @param Order $order_shipment The shipment order object.
463
  * @param array $args Array containing properties in key => value pairs to be updated.
464
  *
465
  * @since 3.0.0
466
  * @package Vendidero/Germanized/Shipments
467
  */
468
+ do_action( 'woocommerce_gzd_return_shipment_synced', $this, $order_shipment, $args );
469
 
470
  } catch ( Exception $e ) {
471
  return false;
485
  public function sync_items( $args = array() ) {
486
  try {
487
 
488
+ if ( ! $order_shipment = $this->get_order_shipment() ) {
489
+ throw new Exception( _x( 'Invalid shipment order', 'shipments', 'woocommerce-germanized' ) );
490
  }
491
 
492
+ $order = $order_shipment->get_order();
493
+
494
  $args = wp_parse_args( $args, array(
495
  'items' => array(),
496
  ) );
497
 
498
+ $available_items = $order_shipment->get_available_items_for_return( array(
499
  'shipment_id' => $this->get_id(),
500
  'exclude_current_shipment' => true,
501
  ) );
502
 
503
+ foreach( $available_items as $order_item_id => $item_data ) {
504
 
505
+ if ( $item = $order_shipment->get_simple_shipment_item( $order_item_id ) ) {
506
  $quantity = $item_data['max_quantity'];
507
 
508
  if ( ! empty( $args['items'] ) ) {
509
+ if ( isset( $args['items'][ $order_item_id ] ) ) {
510
+ $new_quantity = absint( $args['items'][ $order_item_id ] );
511
 
512
  if ( $new_quantity < $quantity ) {
513
  $quantity = $new_quantity;
517
  }
518
  }
519
 
520
+ if ( ! $shipment_item = $this->get_item_by_order_item_id( $order_item_id ) ) {
521
+ $shipment_item = wc_gzd_create_return_shipment_item( $this, $item, array( 'quantity' => $quantity ) );
522
 
523
  $this->add_item( $shipment_item );
524
  } else {
530
  foreach( $this->get_items() as $item ) {
531
 
532
  // Remove non-existent items
533
+ if ( ! $shipment_item = $order_shipment->get_simple_shipment_item( $item->get_order_item_id() ) ) {
534
  $this->remove_item( $item->get_id() );
535
  }
536
  }
545
  * @since 3.0.0
546
  * @package Vendidero/Germanized/Shipments
547
  */
548
+ do_action( 'woocommerce_gzd_return_shipment_items_synced', $this, $order_shipment, $args );
549
 
550
  } catch ( Exception $e ) {
551
  return false;
563
  */
564
  public function needs_items( $available_items = false ) {
565
 
566
+ if ( ! $available_items && ( $order_shipment = $this->get_order_shipment() ) ) {
567
+ $available_items = array_keys( $order_shipment->get_available_items_for_return() );
568
  }
569
 
570
+ return ( $this->is_editable() && ! $this->contains_order_item( $available_items ) );
571
  }
572
 
573
  /**
590
  * @since 3.0.0
591
  * @package Vendidero/Germanized/Shipments
592
  */
593
+ return apply_filters( "{$this->get_hook_prefix()}edit_url", get_admin_url( null, 'post.php?post=' . $this->get_order_id() . '&action=edit&shipment_id=' . $this->get_id() ), $this );
594
  }
595
  }
packages/woocommerce-germanized-shipments/src/Shipment.php CHANGED
@@ -119,6 +119,7 @@ abstract class Shipment extends WC_Data {
119
  'shipping_method' => '',
120
  'total' => 0,
121
  'additional_total' => 0,
 
122
  );
123
 
124
  /**
@@ -882,6 +883,16 @@ abstract class Shipment extends WC_Data {
882
  return $this->get_address_prop( 'country', $context ) ? $this->get_address_prop( 'country', $context ) : '';
883
  }
884
 
 
 
 
 
 
 
 
 
 
 
885
  /**
886
  * Decides whether the shipment is sent to an external pickup or not.
887
  *
@@ -973,10 +984,6 @@ abstract class Shipment extends WC_Data {
973
  return apply_filters( 'woocommerce_gzd_shipment_is_editable', $this->has_status( wc_gzd_get_shipment_editable_statuses() ), $this );
974
  }
975
 
976
- public function is_returnable() {
977
- return false;
978
- }
979
-
980
  /**
981
  * Returns the shipment number.
982
  *
@@ -1179,6 +1186,15 @@ abstract class Shipment extends WC_Data {
1179
  $this->set_prop( 'shipping_method', $method );
1180
  }
1181
 
 
 
 
 
 
 
 
 
 
1182
  /**
1183
  * Set shipment total.
1184
  *
@@ -1716,10 +1732,30 @@ abstract class Shipment extends WC_Data {
1716
  if ( wc_gzd_shipment_wp_error_has_errors( $error ) ) {
1717
  return $error;
1718
  } else {
 
 
 
 
 
 
1719
  return true;
1720
  }
1721
  }
1722
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1723
  /**
1724
  * Whether or not the current shipments supports labels or not.
1725
  *
@@ -1760,7 +1796,7 @@ abstract class Shipment extends WC_Data {
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
 
@@ -1812,7 +1848,8 @@ abstract class Shipment extends WC_Data {
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 ) ) {
@@ -1848,48 +1885,6 @@ abstract class Shipment extends WC_Data {
1848
  }
1849
  }
1850
 
1851
- /**
1852
- * Returns whether the Shipment contains an item with a certain parent id.
1853
- *
1854
- * @param integer|integer[] $item_id
1855
- *
1856
- * @return boolean
1857
- */
1858
- public function contains_item_parent( $item_parent_id ) {
1859
-
1860
- if ( ! is_array( $item_parent_id ) ) {
1861
- $item_parent_id = array( $item_parent_id );
1862
- }
1863
-
1864
- $new_items = $item_parent_id;
1865
-
1866
- foreach( $item_parent_id as $key => $item_p_id ) {
1867
-
1868
- if ( is_a( $item_p_id, '\Vendidero\Germanized\Shipments\ShipmentItem' ) ) {
1869
- $item_p_id = $item_parent_id->get_id();
1870
- $item_id[ $key ] = $item_parent_id;
1871
- }
1872
-
1873
- if ( $this->get_item_by_item_parent_id( $item_p_id ) ) {
1874
- unset( $new_items[ $key ] );
1875
- }
1876
- }
1877
-
1878
- $contains = empty( $new_items ) ? true : false;
1879
-
1880
- /**
1881
- * Filter to adjust whether a Shipment contains a specific item with a certain parent id or not.
1882
- *
1883
- * @param boolean $contains Whether the Shipment contains the item's parent or not.
1884
- * @param integer[] $order_item_id The item parent id(s).
1885
- * @param Shipment $this The shipment object.
1886
- *
1887
- * @since 3.0.0
1888
- * @package Vendidero/Germanized/Shipments
1889
- */
1890
- return apply_filters( 'woocommerce_gzd_shipment_contains_item_parent', $contains, $item_parent_id, $this );
1891
- }
1892
-
1893
  /**
1894
  * Calculate totals based on contained items.
1895
  */
@@ -1903,7 +1898,13 @@ abstract class Shipment extends WC_Data {
1903
  $this->set_total( $total );
1904
  }
1905
 
1906
- /**
 
 
 
 
 
 
1907
  * Save data to the database.
1908
  *
1909
  * @return integer shipment id
119
  'shipping_method' => '',
120
  'total' => 0,
121
  'additional_total' => 0,
122
+ 'est_delivery_date' => null,
123
  );
124
 
125
  /**
883
  return $this->get_address_prop( 'country', $context ) ? $this->get_address_prop( 'country', $context ) : '';
884
  }
885
 
886
+ /**
887
+ * Return the date this shipment is estimated to be delivered.
888
+ *
889
+ * @param string $context What the value is for. Valid values are 'view' and 'edit'.
890
+ * @return WC_DateTime|null object if the date is set or null if there is no date.
891
+ */
892
+ public function get_est_delivery_date( $context = 'view' ) {
893
+ return $this->get_prop( 'est_delivery_date', $context );
894
+ }
895
+
896
  /**
897
  * Decides whether the shipment is sent to an external pickup or not.
898
  *
984
  return apply_filters( 'woocommerce_gzd_shipment_is_editable', $this->has_status( wc_gzd_get_shipment_editable_statuses() ), $this );
985
  }
986
 
 
 
 
 
987
  /**
988
  * Returns the shipment number.
989
  *
1186
  $this->set_prop( 'shipping_method', $method );
1187
  }
1188
 
1189
+ /**
1190
+ * Set the date this shipment will be delivered.
1191
+ *
1192
+ * @param string|integer|null $date UTC timestamp, or ISO 8601 DateTime. If the DateTime string has no timezone or offset, WordPress site timezone will be assumed. Null if their is no date.
1193
+ */
1194
+ public function set_est_delivery_date( $date = null ) {
1195
+ $this->set_date_prop( 'est_delivery_date', $date );
1196
+ }
1197
+
1198
  /**
1199
  * Set shipment total.
1200
  *
1732
  if ( wc_gzd_shipment_wp_error_has_errors( $error ) ) {
1733
  return $error;
1734
  } else {
1735
+
1736
+ if ( $label = $this->get_label() ) {
1737
+ $this->set_tracking_id( $label->get_number() );
1738
+ $this->save();
1739
+ }
1740
+
1741
  return true;
1742
  }
1743
  }
1744
 
1745
+ public function delete_label( $force = false ) {
1746
+ if ( $this->supports_label() && $this->has_label() ) {
1747
+ $label = $this->get_label();
1748
+ $label->delete( $force );
1749
+
1750
+ $this->set_tracking_id( '' );
1751
+ $this->save();
1752
+
1753
+ return true;
1754
+ }
1755
+
1756
+ return false;
1757
+ }
1758
+
1759
  /**
1760
  * Whether or not the current shipments supports labels or not.
1761
  *
1796
  }
1797
 
1798
  // If shipment is already delivered
1799
+ if ( $check_status && $this->has_status( array( 'delivered', 'shipped' ) ) ) {
1800
  $needs_label = false;
1801
  }
1802
 
1848
  $provider = $provider . '_';
1849
  }
1850
 
1851
+ $base_url = is_admin() ? admin_url() : trailingslashit( home_url() );
1852
+ $download_url = add_query_arg( array( 'action' => 'wc-gzd-download-shipment-label', 'shipment_id' => $this->get_id() ), wp_nonce_url( $base_url, 'download-shipment-label' ) );
1853
 
1854
  foreach( $args as $arg => $val ) {
1855
  if ( is_bool( $val ) ) {
1885
  }
1886
  }
1887
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1888
  /**
1889
  * Calculate totals based on contained items.
1890
  */
1898
  $this->set_total( $total );
1899
  }
1900
 
1901
+ public function delete( $force_delete = false ) {
1902
+ $this->delete_label( $force_delete );
1903
+
1904
+ return parent::delete( $force_delete );
1905
+ }
1906
+
1907
+ /**
1908
  * Save data to the database.
1909
  *
1910
  * @return integer shipment id
packages/woocommerce-germanized-shipments/src/ShipmentItem.php CHANGED
@@ -120,6 +120,10 @@ class ShipmentItem extends WC_Data {
120
  |--------------------------------------------------------------------------
121
  */
122
 
 
 
 
 
123
  /**
124
  * Get order ID this meta belongs to.
125
  *
@@ -267,8 +271,10 @@ class ShipmentItem extends WC_Data {
267
 
268
  if ( $shipment = $this->get_shipment() ) {
269
  if ( 'return' === $shipment->get_type() ) {
270
- if ( $parent = $shipment->get_parent() ) {
271
- $item = $parent->get_item( $this->get_parent_id() );
 
 
272
  }
273
  } else {
274
  $item = $this->get_order_item();
120
  |--------------------------------------------------------------------------
121
  */
122
 
123
+ public function get_type() {
124
+ return 'simple';
125
+ }
126
+
127
  /**
128
  * Get order ID this meta belongs to.
129
  *
271
 
272
  if ( $shipment = $this->get_shipment() ) {
273
  if ( 'return' === $shipment->get_type() ) {
274
+ if ( $shipment = $this->get_shipment() ) {
275
+ if ( $order_shipment = $shipment->get_order_shipment() ) {
276
+ $item = $order_shipment->get_simple_shipment_item( $this->get_order_item_id() );
277
+ }
278
  }
279
  } else {
280
  $item = $this->get_order_item();
packages/woocommerce-germanized-shipments/src/ShipmentReturnItem.php ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Vendidero\Germanized\Shipments;
4
+ use WC_Data;
5
+ use WC_Data_Store;
6
+ use Exception;
7
+ use WC_Order_Item;
8
+
9
+ defined( 'ABSPATH' ) || exit;
10
+
11
+ /**
12
+ * Order item class.
13
+ */
14
+ class ShipmentReturnItem extends ShipmentItem {
15
+
16
+ protected $extra_data = array(
17
+ 'return_reason_code' => '',
18
+ );
19
+
20
+ public function get_type() {
21
+ return 'return';
22
+ }
23
+
24
+ public function get_return_reason_code( $context = 'view' ) {
25
+ return $this->get_prop( 'return_reason_code', $context );
26
+ }
27
+
28
+ public function set_return_reason_code( $code ) {
29
+ $this->set_prop( 'return_reason_code', $code );
30
+ }
31
+ }
packages/woocommerce-germanized-shipments/src/ShippingProvider.php CHANGED
@@ -45,12 +45,16 @@ class ShippingProvider extends WC_Data {
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
  );
55
 
56
  /**
@@ -111,6 +115,17 @@ class ShippingProvider extends WC_Data {
111
  return false;
112
  }
113
 
 
 
 
 
 
 
 
 
 
 
 
114
  public function get_edit_link() {
115
  return admin_url( 'admin.php?page=wc-settings&tab=germanized-shipments&section=provider&provider=' . esc_attr( $this->get_name() ) );
116
  }
@@ -124,6 +139,18 @@ class ShippingProvider extends WC_Data {
124
  return $this->get_activated() === true;
125
  }
126
 
 
 
 
 
 
 
 
 
 
 
 
 
127
  /**
128
  * Returns a title for the shipping provider.
129
  *
@@ -146,12 +173,6 @@ class ShippingProvider extends WC_Data {
146
  return $this->get_prop( 'name', $context );
147
  }
148
 
149
- protected function get_hook_name() {
150
- $name = isset( $this->data['name'] ) ? $this->data['name'] : '';
151
-
152
- return $name;
153
- }
154
-
155
  /**
156
  * Returns a description for the provider.
157
  *
@@ -180,6 +201,39 @@ class ShippingProvider extends WC_Data {
180
  return $this->get_prop( 'activated', $context );
181
  }
182
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
183
  /**
184
  * Returns the tracking url placeholder which is being used to
185
  * construct a tracking url.
@@ -192,6 +246,10 @@ class ShippingProvider extends WC_Data {
192
  return $this->get_prop( 'tracking_url_placeholder', $context );
193
  }
194
 
 
 
 
 
195
  /**
196
  * Returns the tracking description placeholder which is being used to
197
  * construct a tracking description.
@@ -204,6 +262,27 @@ class ShippingProvider extends WC_Data {
204
  return $this->get_prop( 'tracking_desc_placeholder', $context );
205
  }
206
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
207
  /**
208
  * Set the current shipping provider to active or inactive.
209
  *
@@ -213,6 +292,33 @@ class ShippingProvider extends WC_Data {
213
  $this->set_prop( 'activated', wc_string_to_bool( $is_activated ) );
214
  }
215
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
216
  /**
217
  * Activate current ShippingProvider instance.
218
  */
@@ -264,12 +370,21 @@ class ShippingProvider extends WC_Data {
264
  /**
265
  * Set the description of the current shipping provider.
266
  *
267
- * @param string $title
268
  */
269
  public function set_description( $description ) {
270
  $this->set_prop( 'description', $description );
271
  }
272
 
 
 
 
 
 
 
 
 
 
273
  /**
274
  * Set the tracking url placeholder of the current shipping provider.
275
  *
@@ -443,7 +558,7 @@ class ShippingProvider extends WC_Data {
443
  'id' => 'shipping_provider_tracking_url_placeholder',
444
  'placeholder' => 'https://www.dhl.de/privatkunden/pakete-empfangen/verfolgen.html?idc={tracking_id}',
445
  'value' => $this->get_tracking_url_placeholder( 'edit' ),
446
- 'default' => '',
447
  'type' => 'text',
448
  'css' => 'width: 100%;',
449
  ),
@@ -454,9 +569,58 @@ class ShippingProvider extends WC_Data {
454
  'id' => 'shipping_provider_tracking_desc_placeholder',
455
  'placeholder' => '',
456
  'value' => $this->get_tracking_desc_placeholder( 'edit' ),
457
- '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' ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
458
  'type' => 'textarea',
459
  'css' => 'width: 100%; min-height: 60px; margin-top: 1em;',
 
 
 
460
  ),
461
 
462
  array( 'type' => 'sectionend', 'id' => 'shipping_provider_options' ),
45
  * @var array
46
  */
47
  protected $data = array(
48
+ 'activated' => true,
49
+ 'title' => '',
50
+ 'name' => '',
51
+ 'description' => '',
52
+ 'supports_customer_returns' => false,
53
+ 'supports_guest_returns' => false,
54
+ 'return_manual_confirmation' => true,
55
+ 'return_instructions' => '',
56
+ 'tracking_url_placeholder' => '',
57
+ 'tracking_desc_placeholder' => '',
58
  );
59
 
60
  /**
115
  return false;
116
  }
117
 
118
+ /**
119
+ * Some providers (e.g. DHL) create return labels automatically and the return
120
+ * address is chosen dynamically depending on the country. For that reason the return address
121
+ * might not show up within emails or in customer panel.
122
+ *
123
+ * @return bool
124
+ */
125
+ public function hide_return_address() {
126
+ return $this->supports_labels( 'return' ) ? true : false;
127
+ }
128
+
129
  public function get_edit_link() {
130
  return admin_url( 'admin.php?page=wc-settings&tab=germanized-shipments&section=provider&provider=' . esc_attr( $this->get_name() ) );
131
  }
139
  return $this->get_activated() === true;
140
  }
141
 
142
+ public function needs_manual_confirmation_for_returns() {
143
+ return $this->get_return_manual_confirmation() === true;
144
+ }
145
+
146
+ public function supports_customer_returns() {
147
+ return $this->get_supports_customer_returns() === true;
148
+ }
149
+
150
+ public function supports_guest_returns() {
151
+ return $this->get_supports_customer_returns() === true && $this->get_supports_guest_returns() === true;
152
+ }
153
+
154
  /**
155
  * Returns a title for the shipping provider.
156
  *
173
  return $this->get_prop( 'name', $context );
174
  }
175
 
 
 
 
 
 
 
176
  /**
177
  * Returns a description for the provider.
178
  *
201
  return $this->get_prop( 'activated', $context );
202
  }
203
 
204
+ /**
205
+ * Returns whether the shipping provider needs manual confirmation for a return.
206
+ *
207
+ * @param string $context
208
+ *
209
+ * @return string
210
+ */
211
+ public function get_return_manual_confirmation( $context = 'view' ) {
212
+ return $this->get_prop( 'return_manual_confirmation', $context );
213
+ }
214
+
215
+ /**
216
+ * Returns whether the shipping provider supports returns added by customers or not.
217
+ *
218
+ * @param string $context
219
+ *
220
+ * @return string
221
+ */
222
+ public function get_supports_customer_returns( $context = 'view' ) {
223
+ return $this->get_prop( 'supports_customer_returns', $context );
224
+ }
225
+
226
+ /**
227
+ * Returns whether the shipping provider supports returns added by guests or not.
228
+ *
229
+ * @param string $context
230
+ *
231
+ * @return string
232
+ */
233
+ public function get_supports_guest_returns( $context = 'view' ) {
234
+ return $this->get_prop( 'supports_guest_returns', $context );
235
+ }
236
+
237
  /**
238
  * Returns the tracking url placeholder which is being used to
239
  * construct a tracking url.
246
  return $this->get_prop( 'tracking_url_placeholder', $context );
247
  }
248
 
249
+ public function get_default_tracking_url_placeholder() {
250
+ return '';
251
+ }
252
+
253
  /**
254
  * Returns the tracking description placeholder which is being used to
255
  * construct a tracking description.
262
  return $this->get_prop( 'tracking_desc_placeholder', $context );
263
  }
264
 
265
+ public function get_default_tracking_desc_placeholder() {
266
+ return _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' );
267
+ }
268
+
269
+ /**
270
+ * Returns the return instructions.
271
+ *
272
+ * @param string $context
273
+ *
274
+ * @return mixed
275
+ */
276
+ public function get_return_instructions( $context = 'view' ) {
277
+ return $this->get_prop( 'return_instructions', $context );
278
+ }
279
+
280
+ public function has_return_instructions() {
281
+ $instructions = $this->get_return_instructions();
282
+
283
+ return empty( $instructions ) ? false : true;
284
+ }
285
+
286
  /**
287
  * Set the current shipping provider to active or inactive.
288
  *
292
  $this->set_prop( 'activated', wc_string_to_bool( $is_activated ) );
293
  }
294
 
295
+ /**
296
+ * Mark the current shipping provider as manual needed confirmation for returns.
297
+ *
298
+ * @param bool $needs_confirmation
299
+ */
300
+ public function set_return_manual_confirmation( $needs_confirmation ) {
301
+ $this->set_prop( 'return_manual_confirmation', wc_string_to_bool( $needs_confirmation ) );
302
+ }
303
+
304
+ /**
305
+ * Set whether or not the current shipping provider supports customer returns
306
+ *
307
+ * @param bool $supports
308
+ */
309
+ public function set_supports_customer_returns( $supports ) {
310
+ $this->set_prop( 'supports_customer_returns', wc_string_to_bool( $supports ) );
311
+ }
312
+
313
+ /**
314
+ * Set whether or not the current shipping provider supports guest returns
315
+ *
316
+ * @param bool $supports
317
+ */
318
+ public function set_supports_guest_returns( $supports ) {
319
+ $this->set_prop( 'supports_guest_returns', wc_string_to_bool( $supports ) );
320
+ }
321
+
322
  /**
323
  * Activate current ShippingProvider instance.
324
  */
370
  /**
371
  * Set the description of the current shipping provider.
372
  *
373
+ * @param string $description
374
  */
375
  public function set_description( $description ) {
376
  $this->set_prop( 'description', $description );
377
  }
378
 
379
+ /**
380
+ * Set the return instructions of the current shipping provider.
381
+ *
382
+ * @param string $instructions
383
+ */
384
+ public function set_return_instructions( $instructions ) {
385
+ $this->set_prop( 'return_instructions', $instructions );
386
+ }
387
+
388
  /**
389
  * Set the tracking url placeholder of the current shipping provider.
390
  *
558
  'id' => 'shipping_provider_tracking_url_placeholder',
559
  'placeholder' => 'https://www.dhl.de/privatkunden/pakete-empfangen/verfolgen.html?idc={tracking_id}',
560
  'value' => $this->get_tracking_url_placeholder( 'edit' ),
561
+ 'default' => $this->get_default_tracking_url_placeholder(),
562
  'type' => 'text',
563
  'css' => 'width: 100%;',
564
  ),
569
  'id' => 'shipping_provider_tracking_desc_placeholder',
570
  'placeholder' => '',
571
  'value' => $this->get_tracking_desc_placeholder( 'edit' ),
572
+ 'default' => $this->get_default_tracking_desc_placeholder(),
573
+ 'type' => 'textarea',
574
+ 'css' => 'width: 100%; min-height: 60px; margin-top: 1em;',
575
+ ),
576
+
577
+ array(
578
+ 'title' => _x( 'Customer returns', 'shipments', 'woocommerce-germanized' ),
579
+ 'desc' => _x( 'Allow customers to submit return requests to shipments.', 'shipments', 'woocommerce-germanized' ) . '<div class="wc-gzd-additional-desc">' . sprintf( _x( 'This option will allow your customers to submit return requests to orders. Return requests will be visible within your %s. To learn more about return requests by customers and/or guests, please check the %s.', 'shipments', 'woocommerce-germanized' ), '<a href="' . admin_url( 'admin.php?page=wc-gzd-return-shipments' ) . '">' . _x( 'Return Dashboard', 'shipments', 'woocommerce-germanized' ) . '</a>', '<a href="https://vendidero.de/dokument/retouren-konfigurieren-und-verwalten" target="_blank">' . _x( 'docs', 'shipments', 'woocommerce-germanized' ) . '</a>' ) . '</div>',
580
+ 'id' => 'shipping_provider_supports_customer_returns',
581
+ 'placeholder' => '',
582
+ 'value' => $this->get_supports_customer_returns( 'edit' ) ? 'yes' : 'no',
583
+ 'default' => 'no',
584
+ 'type' => 'gzd_toggle',
585
+ ),
586
+
587
+ array(
588
+ 'title' => _x( 'Guest returns', 'shipments', 'woocommerce-germanized' ),
589
+ 'desc' => _x( 'Allow guests to submit return requests to shipments.', 'shipments', 'woocommerce-germanized' ) . '<div class="wc-gzd-additional-desc">' . sprintf( _x( 'Guests will need to provide their email address and the order id to receive a one-time link to submit a return request. The placeholder %s might be used to place the request form on your site.', 'shipments', 'woocommerce-germanized' ), '<code>[gzd_return_request_form]</code>' ) . '</div>',
590
+ 'id' => 'shipping_provider_supports_guest_returns',
591
+ 'default' => 'no',
592
+ 'value' => $this->get_supports_guest_returns( 'edit' ) ? 'yes' : 'no',
593
+ 'type' => 'gzd_toggle',
594
+ 'custom_attributes' => array(
595
+ 'data-show_if_shipping_provider_supports_customer_returns' => '',
596
+ ),
597
+ ),
598
+
599
+ array(
600
+ 'title' => _x( 'Manual confirmation', 'shipments', 'woocommerce-germanized' ),
601
+ 'desc' => _x( 'Return requests need manual confirmation.', 'shipments', 'woocommerce-germanized' ) . '<div class="wc-gzd-additional-desc">' . _x( 'By default return request need manual confirmation e.g. a shop manager needs to review return requests which by default are added with the status "requested" after a customer submitted a return request. If you choose to disable this option, customer return requests will be added as "processing" and an email confirmation including instructions will be sent immediately to the customer.', 'shipments', 'woocommerce-germanized' ) . '</div>',
602
+ 'id' => 'shipping_provider_return_manual_confirmation',
603
+ 'placeholder' => '',
604
+ 'value' => $this->get_return_manual_confirmation( 'edit' ) ? 'yes' : 'no',
605
+ 'default' => 'yes',
606
+ 'type' => 'gzd_toggle',
607
+ 'custom_attributes' => array(
608
+ 'data-show_if_shipping_provider_supports_customer_returns' => '',
609
+ ),
610
+ ),
611
+
612
+ array(
613
+ 'title' => _x( 'Return instructions', 'shipments', 'woocommerce-germanized' ),
614
+ 'desc' => '<div class="wc-gzd-additional-desc">' . _x( 'Provide your customer with instructions on how to return the shipment after a return request has been confirmed e.g. explain how to prepare the return for shipment. In case a label cannot be generated automatically, make sure to provide your customer with information on how to obain a return label.', 'shipments', 'woocommerce-germanized' ) . '</div>',
615
+ 'id' => 'shipping_provider_return_instructions',
616
+ 'placeholder' => '',
617
+ 'value' => $this->get_return_instructions( 'edit' ),
618
+ 'default' => '',
619
  'type' => 'textarea',
620
  'css' => 'width: 100%; min-height: 60px; margin-top: 1em;',
621
+ 'custom_attributes' => array(
622
+ 'data-show_if_shipping_provider_supports_customer_returns' => '',
623
+ ),
624
  ),
625
 
626
  array( 'type' => 'sectionend', 'id' => 'shipping_provider_options' ),
packages/woocommerce-germanized-shipments/src/ShippingProviderMethodPlaceholder.php CHANGED
@@ -24,15 +24,24 @@ class ShippingProviderMethodPlaceholder extends ShippingProviderMethod {
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
 
24
 
25
  public function __construct( $id ) {
26
 
27
+ if ( is_a( $id, 'WC_Shipping_Rate' ) ) {
28
+ $instance_id = $id->get_instance_id();
29
+ $id = $id->get_id();
30
+
31
+ if ( strpos( $id, ':' ) === false ) {
32
+ $id = $id . ':' . $instance_id;
33
+ }
34
+ }
35
+
36
  if ( ! is_numeric( $id ) ) {
37
  $expl = explode( ':', $id );
38
+ $instance_id = ( ( ! empty( $expl ) && sizeof( $expl ) > 1 ) ? $expl[1] : 0 );
39
  $id = ( ( ! empty( $expl ) && sizeof( $expl ) > 1 ) ? $expl[0] : $id );
40
  } else {
41
  $instance_id = $id;
42
  }
43
 
44
+ $this->id = $id;
45
  $this->instance_id = $instance_id;
46
  }
47
 
packages/woocommerce-germanized-shipments/src/SimpleShipment.php CHANGED
@@ -33,11 +33,8 @@ class SimpleShipment extends Shipment {
33
  */
34
  private $order_shipment = null;
35
 
36
- private $force_order_shipment_usage = false;
37
-
38
  protected $extra_data = array(
39
- 'est_delivery_date' => null,
40
- 'order_id' => 0,
41
  );
42
 
43
  /**
@@ -49,25 +46,6 @@ class SimpleShipment extends Shipment {
49
  return 'simple';
50
  }
51
 
52
- /**
53
- * Return the date this shipment is estimated to be delivered.
54
- *
55
- * @param string $context What the value is for. Valid values are 'view' and 'edit'.
56
- * @return WC_DateTime|null object if the date is set or null if there is no date.
57
- */
58
- public function get_est_delivery_date( $context = 'view' ) {
59
- return $this->get_prop( 'est_delivery_date', $context );
60
- }
61
-
62
- /**
63
- * Set the date this shipment will be delivered.
64
- *
65
- * @param string|integer|null $date UTC timestamp, or ISO 8601 DateTime. If the DateTime string has no timezone or offset, WordPress site timezone will be assumed. Null if their is no date.
66
- */
67
- public function set_est_delivery_date( $date = null ) {
68
- $this->set_date_prop( 'est_delivery_date', $date );
69
- }
70
-
71
  /**
72
  * Returns the order id belonging to the shipment.
73
  *
@@ -97,8 +75,6 @@ class SimpleShipment extends Shipment {
97
  */
98
  public function set_order_shipment( &$order_shipment ) {
99
  $this->order_shipment = $order_shipment;
100
- /** Little hack to determine whether to work with the order shipment instance for retrieving return instances */
101
- $this->force_order_shipment_usage = true;
102
  }
103
 
104
  /**
@@ -150,13 +126,14 @@ class SimpleShipment extends Shipment {
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(),
@@ -309,87 +286,6 @@ class SimpleShipment extends Shipment {
309
  return $methods;
310
  }
311
 
312
- /**
313
- * Returns available items for return.
314
- *
315
- * @param array $args
316
- *
317
- * @return array
318
- */
319
- public function get_available_items_for_return( $args = array() ) {
320
- $args = wp_parse_args( $args, array(
321
- 'disable_duplicates' => false,
322
- 'shipment_id' => 0,
323
- 'exclude_current_shipment' => false,
324
- ) );
325
-
326
- $items = array();
327
- $shipment = false;
328
-
329
- if ( $order_shipment = $this->get_order_shipment() ) {
330
- $shipment = $args['shipment_id'] ? $order_shipment->get_shipment( $args['shipment_id'] ) : false;
331
- }
332
-
333
- foreach( $this->get_items() as $item ) {
334
-
335
- $quantity_left = $this->get_item_quantity_left_for_return( $item->get_id(), $args );
336
-
337
- if ( $shipment ) {
338
- if ( $args['disable_duplicates'] && $shipment->get_item_by_item_parent_id( $item->get_id() ) ) {
339
- continue;
340
- }
341
- }
342
-
343
- if ( $quantity_left > 0 ) {
344
- $items[ $item->get_id() ] = array(
345
- 'name' => $item->get_name(),
346
- 'max_quantity' => $quantity_left,
347
- );
348
- }
349
- }
350
-
351
- return $items;
352
- }
353
-
354
- /**
355
- * Returns the quantity left for return of a certain item.
356
- *
357
- * @param int $item_id
358
- * @param array $args
359
- *
360
- * @return int
361
- */
362
- public function get_item_quantity_left_for_return( $item_id, $args = array() ) {
363
- $args = wp_parse_args( $args, array(
364
- 'exclude_current_shipment' => false,
365
- 'shipment_id' => 0,
366
- ) );
367
-
368
- $returns = $this->get_returns();
369
- $quantity_left = 0;
370
-
371
- if ( $item = $this->get_item( $item_id ) ) {
372
- $quantity_left = $item->get_quantity();
373
-
374
- foreach( $returns as $return ) {
375
-
376
- if ( $args['exclude_current_shipment'] && $args['shipment_id'] > 0 && $args['shipment_id'] === $return->get_id() ) {
377
- continue;
378
- }
379
-
380
- if ( $return_item = $return->get_item_by_item_parent_id( $item_id ) ) {
381
- $quantity_left -= $return_item->get_quantity();
382
- }
383
- }
384
-
385
- if ( $quantity_left < 0 ) {
386
- $quantity_left = 0;
387
- }
388
- }
389
-
390
- return $quantity_left;
391
- }
392
-
393
  /**
394
  * Returns the number of items available for shipment.
395
  *
@@ -403,34 +299,6 @@ class SimpleShipment extends Shipment {
403
  return 0;
404
  }
405
 
406
- /**
407
- * Returns return shipments linked to that shipment.
408
- *
409
- * @return ReturnShipment[]
410
- */
411
- public function get_returns() {
412
- if ( $this->force_order_shipment_usage && ( $order = $this->get_order_shipment() ) ) {
413
- return $order->get_return_shipments( $this->get_id() );
414
- } else {
415
- return wc_gzd_get_shipments( array(
416
- 'parent_id' => $this->get_id(),
417
- 'type' => 'return',
418
- ) );
419
- }
420
- }
421
-
422
- /**
423
- * Checks whether the current shipment is fully returned, e.g. if
424
- * items exist which are not yet linked to a return.
425
- *
426
- * @return bool
427
- */
428
- public function has_complete_return() {
429
- $items = $this->get_available_items_for_return();
430
-
431
- return empty( $items ) ? true : false;
432
- }
433
-
434
  /**
435
  * Returns whether the Shipment needs additional items or not.
436
  *
@@ -447,20 +315,6 @@ class SimpleShipment extends Shipment {
447
  return ( $this->is_editable() && ! $this->contains_order_item( $available_items ) );
448
  }
449
 
450
- /**
451
- * Checks if the current shipment is returnable or not.
452
- *
453
- * @return bool
454
- */
455
- public function is_returnable() {
456
-
457
- if ( $this->has_status( array( 'shipped', 'delivered' ) ) && ! $this->has_complete_return() ) {
458
- return true;
459
- }
460
-
461
- return false;
462
- }
463
-
464
  /**
465
  * Returns the edit shipment URL.
466
  *
33
  */
34
  private $order_shipment = null;
35
 
 
 
36
  protected $extra_data = array(
37
+ 'order_id' => 0,
 
38
  );
39
 
40
  /**
46
  return 'simple';
47
  }
48
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  /**
50
  * Returns the order id belonging to the shipment.
51
  *
75
  */
76
  public function set_order_shipment( &$order_shipment ) {
77
  $this->order_shipment = $order_shipment;
 
 
78
  }
79
 
80
  /**
126
  wc_gzd_remove_class_filter( 'woocommerce_order_get_items', 'WCML_Orders', 'woocommerce_order_get_items', 10 );
127
  }
128
 
129
+ $order = $order_shipment->get_order();
130
 
131
  /**
132
  * Make sure that manually adjusted providers are not overridden by syncing.
133
  */
134
+ $default_provider_instance = wc_gzd_get_order_shipping_provider( $order );
135
+ $default_provider = $default_provider_instance ? $default_provider_instance->get_name() : '';
136
+ $provider = $this->get_shipping_provider( 'edit' );
137
 
138
  $args = wp_parse_args( $args, array(
139
  'order_id' => $order->get_id(),
286
  return $methods;
287
  }
288
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
289
  /**
290
  * Returns the number of items available for shipment.
291
  *
299
  return 0;
300
  }
301
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
302
  /**
303
  * Returns whether the Shipment needs additional items or not.
304
  *
315
  return ( $this->is_editable() && ! $this->contains_order_item( $available_items ) );
316
  }
317
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
318
  /**
319
  * Returns the edit shipment URL.
320
  *
packages/woocommerce-germanized-shipments/src/WPMLHelper.php CHANGED
@@ -25,6 +25,22 @@ class WPMLHelper {
25
  add_action( 'woocommerce_gzd_new_shipping_provider', array( __CLASS__, 'register_shipping_provider_strings' ), 10, 2 );
26
  add_action( 'woocommerce_gzd_shipping_provider_updated', array( __CLASS__, 'register_shipping_provider_strings' ), 10, 2 );
27
  add_filter( 'woocommerce_gzd_shipping_provider_get_tracking_desc_placeholder', array( __CLASS__, 'filter_shipping_provider_placeholder' ), 10, 2 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  }
29
 
30
  public static function filter_shipping_provider_placeholder( $placeholder, $provider ) {
@@ -56,6 +72,7 @@ class WPMLHelper {
56
  $strings = array(
57
  'tracking_desc_placeholder' => _x( '%s tracking description', 'shipments', 'woocommerce-germanized' ),
58
  'tracking_url_placeholder' => _x( '%s tracking URL', 'shipments', 'woocommerce-germanized' ),
 
59
  );
60
 
61
  return $strings;
@@ -95,7 +112,10 @@ class WPMLHelper {
95
  * @param $emails
96
  */
97
  public static function register_emails( $emails ) {
98
- $emails['WC_GZD_Email_Customer_Shipment'] = 'customer_shipment';
 
 
 
99
 
100
  return $emails;
101
  }
25
  add_action( 'woocommerce_gzd_new_shipping_provider', array( __CLASS__, 'register_shipping_provider_strings' ), 10, 2 );
26
  add_action( 'woocommerce_gzd_shipping_provider_updated', array( __CLASS__, 'register_shipping_provider_strings' ), 10, 2 );
27
  add_filter( 'woocommerce_gzd_shipping_provider_get_tracking_desc_placeholder', array( __CLASS__, 'filter_shipping_provider_placeholder' ), 10, 2 );
28
+ add_filter( 'woocommerce_gzd_shipping_provider_get_tracking_url_placeholder', array( __CLASS__, 'filter_shipping_provider_url' ), 10, 2 );
29
+ add_filter( 'woocommerce_gzd_shipping_provider_get_return_instructions', array( __CLASS__, 'filter_shipping_provider_return_instructions' ), 10, 2 );
30
+ }
31
+
32
+ public static function filter_shipping_provider_return_instructions( $instructions, $provider ) {
33
+ $string_name = "return_instructions";
34
+ $translated_string = apply_filters( 'wpml_translate_string', $instructions, self::get_shipping_provider_string_id( $string_name, $provider ), self::get_shipping_provider_string_package( $string_name, $provider ) );
35
+
36
+ return $translated_string;
37
+ }
38
+
39
+ public static function filter_shipping_provider_url( $placeholder, $provider ) {
40
+ $string_name = "tracking_url_placeholder";
41
+ $translated_string = apply_filters( 'wpml_translate_string', $placeholder, self::get_shipping_provider_string_id( $string_name, $provider ), self::get_shipping_provider_string_package( $string_name, $provider ) );
42
+
43
+ return $translated_string;
44
  }
45
 
46
  public static function filter_shipping_provider_placeholder( $placeholder, $provider ) {
72
  $strings = array(
73
  'tracking_desc_placeholder' => _x( '%s tracking description', 'shipments', 'woocommerce-germanized' ),
74
  'tracking_url_placeholder' => _x( '%s tracking URL', 'shipments', 'woocommerce-germanized' ),
75
+ 'return_instructions' => _x( '%s return instructions', 'shipments', 'woocommerce-germanized' ),
76
  );
77
 
78
  return $strings;
112
  * @param $emails
113
  */
114
  public static function register_emails( $emails ) {
115
+ $emails['WC_GZD_Email_Customer_Shipment'] = 'customer_shipment';
116
+ $emails['WC_GZD_Email_Customer_Return_Shipment'] = 'customer_return_shipment';
117
+ $emails['WC_GZD_Email_Customer_Return_Shipment_Delivered'] = 'customer_return_shipment_delivered';
118
+ $emails['WC_GZD_Email_Customer_Guest_Return_Shipment_Request'] = 'customer_guest_return_shipment_request';
119
 
120
  return $emails;
121
  }
packages/woocommerce-germanized-shipments/templates/emails/customer-guest-return-shipment-request.php ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Customer guest return shipment request.
4
+ *
5
+ * This template can be overridden by copying it to yourtheme/woocommerce-germanized/emails/customer-guest-return-shipment-request.php.
6
+ *
7
+ * HOWEVER, on occasion Germanized will need to update template files and you
8
+ * (the theme developer) will need to copy the new files to your theme to
9
+ * maintain compatibility. We try to do this as little as possible, but it does
10
+ * happen. When this occurs the version of the template file will be bumped and
11
+ * the readme will list any important changes.
12
+ *
13
+ * @see https://github.com/vendidero/woocommerce-germanized/wiki/Overriding-Germanized-Templates
14
+ * @package Germanized/Shipments/Templates/Emails
15
+ * @version 1.0.0
16
+ */
17
+ if ( ! defined( 'ABSPATH' ) ) {
18
+ exit;
19
+ }
20
+
21
+ /*
22
+ * @hooked WC_Emails::email_header() Output the email header
23
+ */
24
+ do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
25
+
26
+ <?php /* translators: %s: Customer first name */ ?>
27
+ <p><?php printf( __( 'Hi %s,', 'woocommerce' ), $order->get_billing_first_name() ); ?></p><?php // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped ?>
28
+
29
+ <p>
30
+ <?php printf( _x( 'You\'ve requested a return to your order %s. Please follow the link to add your return request.', 'shipments', 'woocommerce-germanized' ), $order->get_order_number() ); ?>
31
+ </p>
32
+
33
+ <p>
34
+ <a class="wc-button button" href="<?php echo esc_url( $add_return_request_url ); ?>"><?php _ex( 'Add return request', 'shipments', 'woocommerce-germanized' ); ?></a>
35
+ </p>
36
+
37
+ <p><?php printf( _x( 'If you cannot follow the link above please copy this url and paste it to your browser bar: %s', 'shipments', 'woocommerce-germanized' ), esc_url( $add_return_request_url ) ); ?></p>
38
+ <?php
39
+
40
+ /**
41
+ * Show user-defined additional content - this is set in each email's settings.
42
+ */
43
+ if ( $additional_content ) {
44
+ echo wp_kses_post( wpautop( wptexturize( $additional_content ) ) );
45
+ }
46
+
47
+ /*
48
+ * @hooked WC_Emails::email_footer() Output the email footer
49
+ */
50
+ do_action( 'woocommerce_email_footer', $email );
packages/{woocommerce-germanized-dhl/templates/emails/customer-dhl-return-shipment-label.php → woocommerce-germanized-shipments/templates/emails/customer-return-shipment-delivered.php} RENAMED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Customer DHL return shipment label email.
4
  *
5
- * This template can be overridden by copying it to yourtheme/woocommerce-germanized/emails/customer-dhl-return-shipment-label.php.
6
  *
7
  * HOWEVER, on occasion Germanized will need to update template files and you
8
  * (the theme developer) will need to copy the new files to your theme to
@@ -11,7 +11,7 @@
11
  * the readme will list any important changes.
12
  *
13
  * @see https://github.com/vendidero/woocommerce-germanized/wiki/Overriding-Germanized-Templates
14
- * @package Germanized/DHL/Templates
15
  * @version 1.0.0
16
  */
17
  if ( ! defined( 'ABSPATH' ) ) {
@@ -27,21 +27,15 @@ do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
27
  <p><?php printf( __( 'Hi %s,', 'woocommerce' ), $order->get_billing_first_name() ); ?></p><?php // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped ?>
28
 
29
  <p>
30
- <?php
31
- printf( _x( 'You\'ve requested a return for your order #%s. Please find the DHL label attached to this email.', 'dhl', 'woocommerce-germanized' ), $order->get_order_number() ); // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
32
- ?>
33
- </p>
34
-
35
- <p>
36
- <?php
37
- printf( _x( 'Please print the DHL label attached to this email and stick it on your parcel.', 'dhl', 'woocommerce-germanized' ), '' ); // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
38
- ?>
39
  </p>
40
  <?php
41
 
42
  /*
43
- * Output Email details for a Return Shipment.
44
  *
 
 
45
  * @hooked \Vendidero\Germanized\Shipments\Email::email_details() Adds shipment table.
46
  *
47
  * @param \Vendidero\Germanized\Shipments\Shipment $shipment The shipment instance.
@@ -50,9 +44,9 @@ do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
50
  * @param WC_Email $email The email instance.
51
  *
52
  * @since 3.0.0
53
- * @package Vendidero/Germanized/DHL
54
  */
55
- do_action( 'woocommerce_gzd_email_return_shipment_details', $shipment, $sent_to_admin, $plain_text, $email );
56
 
57
  /**
58
  * Show user-defined additional content - this is set in each email's settings.
1
  <?php
2
  /**
3
+ * Customer return shipment delivered
4
  *
5
+ * This template can be overridden by copying it to yourtheme/woocommerce-germanized/emails/customer-return-shipment-delivered.php.
6
  *
7
  * HOWEVER, on occasion Germanized will need to update template files and you
8
  * (the theme developer) will need to copy the new files to your theme to
11
  * the readme will list any important changes.
12
  *
13
  * @see https://github.com/vendidero/woocommerce-germanized/wiki/Overriding-Germanized-Templates
14
+ * @package Germanized/Shipments/Templates/Emails
15
  * @version 1.0.0
16
  */
17
  if ( ! defined( 'ABSPATH' ) ) {
27
  <p><?php printf( __( 'Hi %s,', 'woocommerce' ), $order->get_billing_first_name() ); ?></p><?php // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped ?>
28
 
29
  <p>
30
+ <?php _ex( 'Thank you! Your return has been received successfully. There are more details below for your reference:', 'shipments', 'woocommerce-germanized' ); ?>
 
 
 
 
 
 
 
 
31
  </p>
32
  <?php
33
 
34
  /*
35
+ * Output Email details for a Shipment.
36
  *
37
+ * @hooked \Vendidero\Germanized\Shipments\Email::email_tracking() Adds tracking info.
38
+ * @hooked \Vendidero\Germanized\Shipments\Email::email_address() Adds shipping address.
39
  * @hooked \Vendidero\Germanized\Shipments\Email::email_details() Adds shipment table.
40
  *
41
  * @param \Vendidero\Germanized\Shipments\Shipment $shipment The shipment instance.
44
  * @param WC_Email $email The email instance.
45
  *
46
  * @since 3.0.0
47
+ * @package Vendidero/Germanized/Shipments
48
  */
49
+ do_action( 'woocommerce_gzd_email_shipment_details', $shipment, $sent_to_admin, $plain_text, $email );
50
 
51
  /**
52
  * Show user-defined additional content - this is set in each email's settings.
packages/woocommerce-germanized-shipments/templates/emails/customer-return-shipment.php ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Customer return shipment
4
+ *
5
+ * This template can be overridden by copying it to yourtheme/woocommerce-germanized/emails/customer-return-shipment.php.
6
+ *
7
+ * HOWEVER, on occasion Germanized will need to update template files and you
8
+ * (the theme developer) will need to copy the new files to your theme to
9
+ * maintain compatibility. We try to do this as little as possible, but it does
10
+ * happen. When this occurs the version of the template file will be bumped and
11
+ * the readme will list any important changes.
12
+ *
13
+ * @see https://github.com/vendidero/woocommerce-germanized/wiki/Overriding-Germanized-Templates
14
+ * @package Germanized/Shipments/Templates/Emails
15
+ * @version 1.0.0
16
+ */
17
+ if ( ! defined( 'ABSPATH' ) ) {
18
+ exit;
19
+ }
20
+
21
+ /*
22
+ * @hooked WC_Emails::email_header() Output the email header
23
+ */
24
+ do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
25
+
26
+ <?php /* translators: %s: Customer first name */ ?>
27
+ <p><?php printf( __( 'Hi %s,', 'woocommerce' ), $order->get_billing_first_name() ); ?></p><?php // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped ?>
28
+
29
+ <p>
30
+ <?php
31
+ if ( $is_confirmation ) {
32
+ _ex( 'Your return request has been accepted. Please follow the instructions beneath to return your shipment.', 'shipments', 'woocommerce-germanized' );
33
+ } else {
34
+ _ex( 'A new return has been added to your order. Please follow the instructions beneath to return your shipment.', 'shipments', 'woocommerce-germanized' );
35
+ }
36
+ ?>
37
+ </p>
38
+ <?php
39
+
40
+ /*
41
+ * Output Email details for a Shipment.
42
+ *
43
+ * @hooked \Vendidero\Germanized\Shipments\Email::email_tracking() Adds tracking info.
44
+ * @hooked \Vendidero\Germanized\Shipments\Email::email_address() Adds shipping address.
45
+ * @hooked \Vendidero\Germanized\Shipments\Email::email_details() Adds shipment table.
46
+ *
47
+ * @param \Vendidero\Germanized\Shipments\Shipment $shipment The shipment instance.
48
+ * @param boolean $sent_to_admin Whether to send this email to admin or not.
49
+ * @param boolean $plain_text Whether this email is in plaintext format or not.
50
+ * @param WC_Email $email The email instance.
51
+ *
52
+ * @since 3.0.0
53
+ * @package Vendidero/Germanized/Shipments
54
+ */
55
+ do_action( 'woocommerce_gzd_email_shipment_details', $shipment, $sent_to_admin, $plain_text, $email );
56
+
57
+ /**
58
+ * Show user-defined additional content - this is set in each email's settings.
59
+ */
60
+ if ( $additional_content ) {
61
+ echo wp_kses_post( wpautop( wptexturize( $additional_content ) ) );
62
+ }
63
+
64
+ /*
65
+ * @hooked WC_Emails::email_footer() Output the email footer
66
+ */
67
+ do_action( 'woocommerce_email_footer', $email );
packages/woocommerce-germanized-shipments/templates/emails/email-return-shipment-instructions.php ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Email return shipment instructions
4
+ *
5
+ * This template can be overridden by copying it to yourtheme/woocommerce-germanized/emails/email-return-shipment-instructions.php.
6
+ *
7
+ * HOWEVER, on occasion Germanized will need to update template files and you
8
+ * (the theme developer) will need to copy the new files to your theme to
9
+ * maintain compatibility. We try to do this as little as possible, but it does
10
+ * happen. When this occurs the version of the template file will be bumped and
11
+ * the readme will list any important changes.
12
+ *
13
+ * @see https://github.com/vendidero/woocommerce-germanized/wiki/Overriding-Germanized-Templates
14
+ * @package Germanized/Shipments/Templates/Emails
15
+ * @version 1.0.0
16
+ */
17
+ if ( ! defined( 'ABSPATH' ) ) {
18
+ exit;
19
+ }
20
+
21
+ $provider = $shipment->get_shipping_provider_instance();
22
+ ?>
23
+
24
+ <?php if ( $provider && $provider->has_return_instructions() ) : ?>
25
+ <p><?php echo wp_kses_post( wpautop( wptexturize( $provider->get_return_instructions() ) ) . PHP_EOL ); ?></p>
26
+ <?php endif; ?>
packages/woocommerce-germanized-shipments/templates/emails/email-shipment-tracking.php CHANGED
@@ -24,7 +24,7 @@ $text_align = is_rtl() ? 'right' : 'left';
24
  <table id="tracking" cellspacing="0" cellpadding="0" style="width: 100%; vertical-align: top; margin-bottom: 40px; padding:0;" border="0">
25
  <tr>
26
  <td style="text-align:<?php echo esc_attr( $text_align ); ?>; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; border:0; padding:0;" valign="top">
27
- <h2><?php echo esc_html_x( 'Delivery:', 'shipments', 'woocommerce-germanized' ); ?></h2>
28
 
29
  <?php if ( $shipment->get_est_delivery_date() ) : ?>
30
  <p class="est-delivery-date"><?php _ex( 'Estimated date:', 'shipments', 'woocommerce-germanized' ); ?> <span class="date"><?php echo wc_format_datetime( $shipment->get_est_delivery_date(), wc_date_format() ); ?></span></p>
24
  <table id="tracking" cellspacing="0" cellpadding="0" style="width: 100%; vertical-align: top; margin-bottom: 40px; padding:0;" border="0">
25
  <tr>
26
  <td style="text-align:<?php echo esc_attr( $text_align ); ?>; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; border:0; padding:0;" valign="top">
27
+ <h2><?php echo esc_html_x( 'Tracking:', 'shipments', 'woocommerce-germanized' ); ?></h2>
28
 
29
  <?php if ( $shipment->get_est_delivery_date() ) : ?>
30
  <p class="est-delivery-date"><?php _ex( 'Estimated date:', 'shipments', 'woocommerce-germanized' ); ?> <span class="date"><?php echo wc_format_datetime( $shipment->get_est_delivery_date(), wc_date_format() ); ?></span></p>
packages/woocommerce-germanized-shipments/templates/emails/plain/customer-guest-return-shipment-request.php ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Customer guest return shipment request (plain text).
4
+ *
5
+ * This template can be overridden by copying it to yourtheme/woocommerce-germanized/emails/plain/customer-guest-return-shipment-request.php.
6
+ *
7
+ * HOWEVER, on occasion Germanized will need to update template files and you
8
+ * (the theme developer) will need to copy the new files to your theme to
9
+ * maintain compatibility. We try to do this as little as possible, but it does
10
+ * happen. When this occurs the version of the template file will be bumped and
11
+ * the readme will list any important changes.
12
+ *
13
+ * @see https://github.com/vendidero/woocommerce-germanized/wiki/Overriding-Germanized-Templates
14
+ * @package Germanized/Shipments/Templates/Emails
15
+ * @version 1.0.0
16
+ */
17
+ defined( 'ABSPATH' ) || exit;
18
+
19
+ echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n";
20
+ echo esc_html( wp_strip_all_tags( $email_heading ) );
21
+ echo "\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n";
22
+
23
+ /* translators: %s: Customer first name */
24
+ echo sprintf( esc_html__( 'Hi %s,', 'woocommerce' ), esc_html( $order->get_billing_first_name() ) ) . "\n\n";
25
+
26
+ echo sprintf( esc_html_x( 'You\'ve requested a return to your order %s. Please follow the link to add your return request.', 'shipments', 'woocommerce-germanized' ), $order->get_order_number() ) . "\n\n";
27
+
28
+ echo esc_url( $add_return_request_url ) . "\n\n";
29
+
30
+ /**
31
+ * Show user-defined additional content - this is set in each email's settings.
32
+ */
33
+ if ( $additional_content ) {
34
+ echo esc_html( wp_strip_all_tags( wptexturize( $additional_content ) ) );
35
+ echo "\n\n----------------------------------------\n\n";
36
+ }
37
+
38
+ echo "\n----------------------------------------\n\n";
39
+
40
+ echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );
packages/{woocommerce-germanized-dhl/templates/emails/plain/customer-dhl-return-shipment-label.php → woocommerce-germanized-shipments/templates/emails/plain/customer-return-shipment-delivered.php} RENAMED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Customer DHL return shipment label email (plain-text).
4
  *
5
- * This template can be overridden by copying it to yourtheme/woocommerce-germanized/emails/plain/customer-dhl-return-shipment-label.php.
6
  *
7
  * HOWEVER, on occasion Germanized will need to update template files and you
8
  * (the theme developer) will need to copy the new files to your theme to
@@ -11,7 +11,7 @@
11
  * the readme will list any important changes.
12
  *
13
  * @see https://github.com/vendidero/woocommerce-germanized/wiki/Overriding-Germanized-Templates
14
- * @package Germanized/DHL/Templates
15
  * @version 1.0.0
16
  */
17
  defined( 'ABSPATH' ) || exit;
@@ -23,14 +23,12 @@ echo "\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n";
23
  /* translators: %s: Customer first name */
24
  echo sprintf( esc_html__( 'Hi %s,', 'woocommerce' ), esc_html( $order->get_billing_first_name() ) ) . "\n\n";
25
 
26
- printf( esc_html_x( 'You\'ve requested a return for your order #%s. Please find the DHL label attached to this email.', 'dhl', 'woocommerce-germanized' ), $order->get_order_number() ); // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
27
 
28
  echo "\n\n";
29
 
30
- /* This filter is documented in templates/emails/customer-dhl-return-shipment-label.php */
31
- do_action( 'woocommerce_gzd_email_return_shipment_details', $shipment, $sent_to_admin, $plain_text, $email );
32
-
33
- echo "\n----------------------------------------\n\n";
34
 
35
  /**
36
  * Show user-defined additional content - this is set in each email's settings.
@@ -40,4 +38,6 @@ if ( $additional_content ) {
40
  echo "\n\n----------------------------------------\n\n";
41
  }
42
 
 
 
43
  echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );
1
  <?php
2
  /**
3
+ * Customer return shipment delivered (plain text)
4
  *
5
+ * This template can be overridden by copying it to yourtheme/woocommerce-germanized/emails/plain/customer-return-shipment-delivered.php.
6
  *
7
  * HOWEVER, on occasion Germanized will need to update template files and you
8
  * (the theme developer) will need to copy the new files to your theme to
11
  * the readme will list any important changes.
12
  *
13
  * @see https://github.com/vendidero/woocommerce-germanized/wiki/Overriding-Germanized-Templates
14
+ * @package Germanized/Shipments/Templates/Emails/Plain
15
  * @version 1.0.0
16
  */
17
  defined( 'ABSPATH' ) || exit;
23
  /* translators: %s: Customer first name */
24
  echo sprintf( esc_html__( 'Hi %s,', 'woocommerce' ), esc_html( $order->get_billing_first_name() ) ) . "\n\n";
25
 
26
+ echo esc_html_x( 'Thank you! Your return has been received successfully. There are more details below for your reference:', 'shipments', 'woocommerce-germanized' );
27
 
28
  echo "\n\n";
29
 
30
+ /* This hook is documented in templates/emails/customer-shipment.php */
31
+ do_action( 'woocommerce_gzd_email_shipment_details', $shipment, $sent_to_admin, $plain_text, $email );
 
 
32
 
33
  /**
34
  * Show user-defined additional content - this is set in each email's settings.
38
  echo "\n\n----------------------------------------\n\n";
39
  }
40
 
41
+ echo "\n----------------------------------------\n\n";
42
+
43
  echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );
packages/woocommerce-germanized-shipments/templates/emails/plain/customer-return-shipment.php ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Customer return shipment (plain text)
4
+ *
5
+ * This template can be overridden by copying it to yourtheme/woocommerce-germanized/emails/plain/customer-return-shipment.php.
6
+ *
7
+ * HOWEVER, on occasion Germanized will need to update template files and you
8
+ * (the theme developer) will need to copy the new files to your theme to
9
+ * maintain compatibility. We try to do this as little as possible, but it does
10
+ * happen. When this occurs the version of the template file will be bumped and
11
+ * the readme will list any important changes.
12
+ *
13
+ * @see https://github.com/vendidero/woocommerce-germanized/wiki/Overriding-Germanized-Templates
14
+ * @package Germanized/Shipments/Templates/Emails/Plain
15
+ * @version 1.0.0
16
+ */
17
+ defined( 'ABSPATH' ) || exit;
18
+
19
+ echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n";
20
+ echo esc_html( wp_strip_all_tags( $email_heading ) );
21
+ echo "\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n";
22
+
23
+ /* translators: %s: Customer first name */
24
+ echo sprintf( esc_html__( 'Hi %s,', 'woocommerce' ), esc_html( $order->get_billing_first_name() ) ) . "\n\n";
25
+
26
+
27
+ if ( $is_confirmation ) {
28
+ echo esc_html_x( 'Your return request has been accepted. Please follow the instructions beneath to return your shipment.', 'shipments', 'woocommerce-germanized' );
29
+ } else {
30
+ echo esc_html_x( 'A new return has been added to your order. Please follow the instructions beneath to return your shipment.', 'shipments', 'woocommerce-germanized' );
31
+ }
32
+
33
+ echo "\n\n";
34
+
35
+ /* This hook is documented in templates/emails/customer-shipment.php */
36
+ do_action( 'woocommerce_gzd_email_shipment_details', $shipment, $sent_to_admin, $plain_text, $email );
37
+
38
+ /**
39
+ * Show user-defined additional content - this is set in each email's settings.
40
+ */
41
+ if ( $additional_content ) {
42
+ echo esc_html( wp_strip_all_tags( wptexturize( $additional_content ) ) );
43
+ echo "\n\n----------------------------------------\n\n";
44
+ }
45
+
46
+ echo "\n----------------------------------------\n\n";
47
+
48
+ echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );
packages/woocommerce-germanized-shipments/templates/emails/plain/email-return-shipment-instructions.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Email return shipment instructions (plain text)
4
+ *
5
+ * This template can be overridden by copying it to yourtheme/woocommerce-germanized/emails/plain/email-return-shipment-instructions.php.
6
+ *
7
+ * HOWEVER, on occasion Germanized will need to update template files and you
8
+ * (the theme developer) will need to copy the new files to your theme to
9
+ * maintain compatibility. We try to do this as little as possible, but it does
10
+ * happen. When this occurs the version of the template file will be bumped and
11
+ * the readme will list any important changes.
12
+ *
13
+ * @see https://github.com/vendidero/woocommerce-germanized/wiki/Overriding-Germanized-Templates
14
+ * @package Germanized/Shipments/Templates/Emails/Plain
15
+ * @version 1.0.0
16
+ */
17
+ defined( 'ABSPATH' ) || exit;
18
+
19
+ $provider = $shipment->get_shipping_provider_instance();
20
+
21
+ if ( $provider && $provider->has_return_instructions() ) {
22
+ echo wp_kses_post( wpautop( wptexturize( $provider->get_return_instructions() ) ) . PHP_EOL );
23
+ }
packages/woocommerce-germanized-shipments/templates/global/empty.php ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Empty placeholder template used when forcing a WC template to be overridden.
4
+ *
5
+ * This template can be overridden by copying it to yourtheme/woocommerce-germanized/global/empty.php.
6
+ *
7
+ * HOWEVER, on occasion Germanized will need to update template files and you
8
+ * (the theme developer) will need to copy the new files to your theme to
9
+ * maintain compatibility. We try to do this as little as possible, but it does
10
+ * happen. When this occurs the version of the template file will be bumped and
11
+ * the readme will list any important changes.
12
+ *
13
+ * @see https://github.com/vendidero/woocommerce-germanized/wiki/Overriding-Germanized-Templates
14
+ * @package Vendidero/Germanized/Shipments/Templates
15
+ * @version 1.0.0
16
+ */
17
+ if ( ! defined( 'ABSPATH' ) ) {
18
+ exit; // Exit if accessed directly.
19
+ }
20
+
21
+ ?>
packages/woocommerce-germanized-shipments/templates/global/form-return-request.php ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Guest return request.
4
+ *
5
+ * This template can be overridden by copying it to yourtheme/woocommerce-germanized/global/form-return-request.php.
6
+ *
7
+ * HOWEVER, on occasion Germanized will need to update template files and you
8
+ * (the theme developer) will need to copy the new files to your theme to
9
+ * maintain compatibility. We try to do this as little as possible, but it does
10
+ * happen. When this occurs the version of the template file will be bumped and
11
+ * the readme will list any important changes.
12
+ *
13
+ * @see https://github.com/vendidero/woocommerce-germanized/wiki/Overriding-Germanized-Templates
14
+ * @package Vendidero/Germanized/Shipments/Templates
15
+ * @version 1.0.0
16
+ */
17
+ if ( ! defined( 'ABSPATH' ) ) {
18
+ exit; // Exit if accessed directly.
19
+ }
20
+
21
+ ?>
22
+ <form class="woocommerce-form woocommerce-form-return-request return-request" method="post" <?php echo ( $hidden ) ? 'style="display:none;"' : ''; ?>>
23
+
24
+ <?php do_action( 'woocommerce_gzd_return_request_form_start' ); ?>
25
+
26
+ <?php echo ( $message ) ? wpautop( wptexturize( $message ) ) : ''; // @codingStandardsIgnoreLine ?>
27
+
28
+ <p class="form-row form-row-first">
29
+ <label for="return-request-email"><?php echo esc_html_x( 'Order email', 'shipments', 'woocommerce-germanized' ); ?>&nbsp;<span class="required">*</span></label>
30
+ <input type="text" class="input-text" name="email" id="return-request-email" autocomplete="email" />
31
+ </p>
32
+
33
+ <p class="form-row form-row-last">
34
+ <label for="return-request-order-id"><?php echo esc_html_x( 'Order id', 'shipments', 'woocommerce-germanized' ); ?>&nbsp;<span class="required">*</span></label>
35
+ <input type="text" class="input-text" name="order_id" id="return-request-order-id" autocomplete="off" />
36
+ </p>
37
+
38
+ <div class="clear"></div>
39
+
40
+ <?php do_action( 'woocommerce_gzd_return_request_form' ); ?>
41
+
42
+ <p class="form-row">
43
+ <?php wp_nonce_field( 'woocommerce-gzd-return-request', 'woocommerce-gzd-return-request-nonce' ); ?>
44
+ <button type="submit" class="woocommerce-button button woocommerce-form-return_request__submit" name="return_request" value="<?php echo esc_attr_x( 'Submit', 'shipments', 'woocommerce-germanized' ); ?>"><?php echo esc_attr_x( 'Submit', 'shipments', 'woocommerce-germanized' ); ?></button>
45
+ </p>
46
+
47
+ <div class="clear"></div>
48
+
49
+ <?php do_action( 'woocommerce_gzd_return_request_form_end' ); ?>
50
+
51
+ </form>
packages/woocommerce-germanized-shipments/templates/myaccount/add-return-shipment.php ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * The Template for adding return shipments by the customer.
4
+ *
5
+ * This template can be overridden by copying it to yourtheme/woocommerce-germanized/myaccount/add-return-shipment.php.
6
+ *
7
+ * HOWEVER, on occasion Germanized will need to update template files and you
8
+ * (the theme developer) will need to copy the new files to your theme to
9
+ * maintain compatibility. We try to do this as little as possible, but it does
10
+ * happen. When this occurs the version of the template file will be bumped and
11
+ * the readme will list any important changes.
12
+ *
13
+ * @package Vendidero/Germanized/Shipments/Templates
14
+ * @version 1.0.0
15
+ */
16
+ defined( 'ABSPATH' ) || exit;
17
+ ?>
18
+ <h2 class="woocommerce-add-return-shipment__title"><?php _ex( 'New return request', 'shipments', 'woocommerce-germanized' ); ?></h2>
19
+
20
+ <p><?php _ex( 'Please select one or more items to return.', 'shipments', 'woocommerce-germanized' ); ?></p>
21
+
22
+ <?php if ( wc_gzd_customer_return_needs_manual_confirmation( $order ) ) : ?>
23
+ <p><?php _ex( 'After submitting your return request we will review it and notify you via email about the next steps.', 'shipments', 'woocommerce-germanized' ); ?></p>
24
+ <?php else: ?>
25
+ <p><?php _ex( 'After submitting your return request you\'ll receive an email with further information to the return process.', 'shipments', 'woocommerce-germanized' ); ?></p>
26
+ <?php endif; ?>
27
+
28
+ <form id="add_return_shipment" method="post">
29
+
30
+ <table class="woocommerce-table woocommerce-table--shipment-details shop_table add_return_shipment_table">
31
+
32
+ <thead>
33
+ <tr>
34
+ <th class="woocommerce-table__product-select product-select"></th>
35
+ <th class="woocommerce-table__product-name product-name"><?php echo esc_html_x( 'Product', 'shipments', 'woocommerce-germanized' ); ?></th>
36
+ <th class="woocommerce-table__product-table product-reason"><?php echo esc_html_x( 'Reason', 'shipments', 'woocommerce-germanized' ); ?></th>
37
+ <th class="woocommerce-table__product-table product-quantity"><?php echo esc_html_x( 'Quantity', 'shipments', 'woocommerce-germanized' ); ?></th>
38
+ </tr>
39
+ </thead>
40
+
41
+ <tbody>
42
+ <?php
43
+ /**
44
+ * This action is executed before printing the add return shipment table on the customer account page.
45
+ *
46
+ * @param WC_Order $order The order instance.
47
+ *
48
+ * @since 3.1.0
49
+ * @package Vendidero/Germanized/Shipments
50
+ */
51
+ do_action( 'woocommerce_gzd_add_return_shipment_details_before_shipment_table_items', $order );
52
+
53
+ foreach ( $shipment_order->get_available_items_for_return() as $order_item_id => $item_data ) {
54
+
55
+ wc_get_template(
56
+ 'shipment/add-return-shipment-item.php',
57
+ array(
58
+ 'item' => $shipment_order->get_simple_shipment_item( $order_item_id ),
59
+ 'order_item_id' => $order_item_id,
60
+ 'order' => $order,
61
+ 'max_quantity' => $item_data['max_quantity'],
62
+ )
63
+ );
64
+ }
65
+
66
+ /**
67
+ * This action is executed after printing the add return shipment table on the customer account page.
68
+ *
69
+ * @param WC_Order $order The order instance.
70
+ *
71
+ * @since 3.1.0
72
+ * @package Vendidero/Germanized/Shipments
73
+ */
74
+ do_action( 'woocommerce_gzd_add_return_shipment_details_after_shipment_table_items', $order );
75
+ ?>
76
+ </tbody>
77
+ </table>
78
+
79
+ <p>
80
+ <?php wp_nonce_field( 'add_return_shipment', 'add-return-shipment-nonce' ); ?>
81
+ <button type="submit" class="woocommerce-Button button" name="add_return_shipment" value="<?php echo esc_attr_x( 'Send request', 'shipments', 'woocommerce-germanized' ); ?>"><?php echo esc_attr_x( 'Send request', 'shipments', 'woocommerce-germanized' ); ?></button>
82
+
83
+ <input type="hidden" name="action" value="gzd_add_return_shipment" />
84
+ <input type="hidden" name="key" value="<?php echo esc_attr( wc_gzd_get_customer_order_return_request_key() ); ?>" />
85
+ <input type="hidden" name="order_id" value="<?php echo esc_attr( $order_id ); ?>" />
86
+ </p>
87
+ </form>
88
+ <?php
89
+ /**
90
+ * This action is executed after printing the add return shipment form
91
+ * on the customer account page.
92
+ *
93
+ * @param int $order_id The order id.
94
+ *
95
+ * @since 3.1.0
96
+ * @package Vendidero/Germanized/Shipments
97
+ */
98
+ do_action( 'woocommerce_gzd_add_return_shipment', $order_id ); ?>
packages/woocommerce-germanized-shipments/templates/myaccount/order-shipments.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * The Template for displaying available shipments for an order on the myaccount page.
4
  *
5
  * This template can be overridden by copying it to yourtheme/woocommerce-germanized/myaccount/order-shipments.php.
6
  *
@@ -10,111 +10,36 @@
10
  * happen. When this occurs the version of the template file will be bumped and
11
  * the readme will list any important changes.
12
  *
13
- * @see https://github.com/vendidero/woocommerce-germanized/wiki/Overriding-Germanized-Templates
14
- * @package Germanized/Shipments/Templates/Emails/Plain
15
  * @version 1.0.0
16
  */
17
- use Vendidero\Germanized\Shipments\Shipment;
18
-
19
  defined( 'ABSPATH' ) || exit;
 
20
 
21
- /*
22
- * Action that fires befoure outputting a list of shipments belonging to a specific order on the customer account page.
23
- *
24
- * @param boolean $has_shipments Whether shipments are availabe for the order or not.
25
- * @param \Vendidero\Germanized\Shipments\Shipment[] $shipments The shipment instances.
26
- * @param WC_Order $order The order instance.
27
- *
28
- * @since 3.0.0
29
- * @package Vendidero/Germanized/Shipments
30
- */
31
- do_action( 'woocommerce_gzd_before_account_order_shipments', $has_shipments, $shipments, $order ); ?>
32
-
33
- <?php if ( $has_shipments ) : ?>
34
-
35
- <h2 class="woocommerce-shipments-list__title"><?php _ex( 'Shipments', 'shipments', 'woocommerce-germanized' ); ?></h2>
36
-
37
- <table class="woocommerce-shipments-table woocommerce-MyAccount-shipments shop_table shop_table_responsive my_account_shipments account-shipments-table">
38
- <thead>
39
- <tr>
40
- <?php foreach ( wc_gzd_get_account_shipments_columns() as $column_id => $column_name ) : ?>
41
- <th class="woocommerce-shipments-table__header woocommerce-shipments-table__header-<?php echo esc_attr( $column_id ); ?>"><span class="nobr"><?php echo esc_html( $column_name ); ?></span></th>
42
- <?php endforeach; ?>
43
- </tr>
44
- </thead>
45
-
46
- <tbody>
47
- <?php
48
- foreach ( $shipments as $shipment ) {
49
- $item_count = $shipment->get_item_count();
50
- ?>
51
- <tr class="woocommerce-shipments-table__row woocommerce-shipments-table__row--status-<?php echo esc_attr( $shipment->get_status() ); ?> shipment">
52
- <?php foreach ( wc_gzd_get_account_shipments_columns() as $column_id => $column_name ) : ?>
53
- <td class="woocommerce-shipments-table__cell woocommerce-shipments-table__cell-<?php echo esc_attr( $column_id ); ?>" data-title="<?php echo esc_attr( $column_name ); ?>">
54
- <?php if ( has_action( 'woocommerce_gzd_my_account_order_shipments_column_' . $column_id ) ) : ?>
55
- <?php
56
- /*
57
- * Action that fires befoure outputting a specific column in the shipments table view
58
- * on the customer account page.
59
- *
60
- * The dynamic portion of the hook `$column_id` refers to the current column id being rendered
61
- * e.g. shipment-number.
62
- *
63
- * @param \Vendidero\Germanized\Shipments\Shipment $shipment The shipment instance.
64
- * @param WC_Order $order The order instance.
65
- *
66
- * @since 3.0.0
67
- * @package Vendidero/Germanized/Shipments
68
- */
69
- do_action( 'woocommerce_gzd_my_account_order_shipments_column_' . $column_id, $shipment, $order ); ?>
70
-
71
- <?php elseif ( 'shipment-number' === $column_id ) : ?>
72
- <a href="<?php echo esc_url( $shipment->get_view_shipment_url() ); ?>">
73
- <?php echo esc_html( sprintf( _x( '%s #%s', 'shipment title', 'woocommerce-germanized' ), wc_gzd_get_shipment_label( $shipment->get_type() ), $shipment->get_shipment_number() ) ); ?>
74
- </a>
75
-
76
- <?php elseif ( 'shipment-date' === $column_id ) : ?>
77
- <time datetime="<?php echo esc_attr( $shipment->get_date_created()->date( 'c' ) ); ?>"><?php echo esc_html( wc_format_datetime( $shipment->get_date_created() ) ); ?></time>
78
 
79
- <?php elseif ( 'shipment-status' === $column_id ) : ?>
80
- <?php echo esc_html( wc_gzd_get_shipment_status_name( $shipment->get_status() ) ); ?>
81
-
82
- <?php elseif ( 'shipment-tracking' === $column_id && $shipment->get_tracking_url() ) : ?>
83
- <a href="<?php echo esc_url( $shipment->get_tracking_url() ); ?>" target="_blank">
84
- <?php echo esc_html( _x( 'track now', 'shipments', 'woocommerce-germanized' ) ); ?>
85
- </a>
86
 
87
- <?php elseif ( 'shipment-actions' === $column_id ) : ?>
88
- <?php
89
- $actions = wc_gzd_get_account_shipments_actions( $shipment );
 
 
90
 
91
- if ( ! empty( $actions ) ) {
92
- foreach ( $actions as $key => $action ) { // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited
93
- echo '<a href="' . esc_url( $action['url'] ) . '" class="woocommerce-button button ' . sanitize_html_class( $key ) . '">' . esc_html( $action['name'] ) . '</a>';
94
- }
95
- }
96
- ?>
97
- <?php endif; ?>
98
- </td>
99
- <?php endforeach; ?>
100
- </tr>
101
- <?php
102
- }
103
- ?>
104
- </tbody>
105
- </table>
106
 
 
 
 
 
 
107
  <?php endif; ?>
108
 
109
- <?php
110
- /**
111
- * This action is executed after listing all available shipments for an order
112
- * on the customer account page.
113
- *
114
- * @param boolean $has_shipments Whether there are shipments available or not.
115
- * @param Shipment[] $shipments Array of shipments.
116
- *
117
- * @since 3.0.0
118
- * @package Vendidero/Germanized/Shipments
119
- */
120
- do_action( 'woocommerce_gzd_after_account_order_shipments', $has_shipments, $shipments ); ?>
1
  <?php
2
  /**
3
+ * The Template for displaying shipments belonging to a certain order.
4
  *
5
  * This template can be overridden by copying it to yourtheme/woocommerce-germanized/myaccount/order-shipments.php.
6
  *
10
  * happen. When this occurs the version of the template file will be bumped and
11
  * the readme will list any important changes.
12
  *
13
+ * @package Vendidero/Germanized/Shipments/Templates
 
14
  * @version 1.0.0
15
  */
 
 
16
  defined( 'ABSPATH' ) || exit;
17
+ ?>
18
 
19
+ <?php if ( ! empty( $shipments ) ) : ?>
20
+ <h2 class="woocommerce-shipments-list__title"><?php _ex( 'Shipments', 'shipments', 'woocommerce-germanized' ); ?></h2>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
 
22
+ <?php wc_get_template( 'myaccount/shipments.php', array(
23
+ 'type' => 'simple',
24
+ 'shipments' => $shipments,
25
+ 'order' => $order,
26
+ ) ); ?>
27
+ <?php endif; ?>
 
28
 
29
+ <?php if ( wc_gzd_order_is_customer_returnable( $order ) ) : ?>
30
+ <p class="shipments-add-return"><a class="add-return-shipment woocommerce-button button" href="<?php echo esc_url( wc_gzd_get_order_customer_add_return_url( $order ) ); ?>"><?php _ex( 'Add return request', 'shipments', 'woocommerce-germanized' ); ?></a></p>
31
+ <?php elseif ( wc_gzd_order_is_customer_returnable( $order, false ) ): ?>
32
+ <p class="shipments-return-not-available"><?php _ex( 'Adding return requests to this order is no longer available. You may contact us for further information.', 'shipments', 'woocommerce-germanized' ); ?></p>
33
+ <?php endif; ?>
34
 
35
+ <?php if ( ! empty( $returns ) ) : ?>
36
+ <h2 class="woocommerce-shipments-list__title woocommerce-return-shipments-list__title"><?php _ex( 'Returns', 'shipments', 'woocommerce-germanized' ); ?></h2>
 
 
 
 
 
 
 
 
 
 
 
 
 
37
 
38
+ <?php wc_get_template( 'myaccount/shipments.php', array(
39
+ 'type' => 'return',
40
+ 'shipments' => $returns,
41
+ 'order' => $order,
42
+ ) ); ?>
43
  <?php endif; ?>
44
 
45
+
 
 
 
 
 
 
 
 
 
 
 
packages/woocommerce-germanized-shipments/templates/myaccount/shipments.php ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * The Template for displaying available shipments for an order on the myaccount page.
4
+ *
5
+ * This template can be overridden by copying it to yourtheme/woocommerce-germanized/myaccount/shipments.php.
6
+ *
7
+ * HOWEVER, on occasion Germanized will need to update template files and you
8
+ * (the theme developer) will need to copy the new files to your theme to
9
+ * maintain compatibility. We try to do this as little as possible, but it does
10
+ * happen. When this occurs the version of the template file will be bumped and
11
+ * the readme will list any important changes.
12
+ *
13
+ * @see https://github.com/vendidero/woocommerce-germanized/wiki/Overriding-Germanized-Templates
14
+ * @package Germanized/Shipments/Templates/Emails/Plain
15
+ * @version 1.1.0
16
+ */
17
+ use Vendidero\Germanized\Shipments\Shipment;
18
+
19
+ defined( 'ABSPATH' ) || exit;
20
+
21
+ /*
22
+ * Action that fires befoure outputting a list of shipments belonging to a specific order on the customer account page.
23
+ *
24
+ * @param \Vendidero\Germanized\Shipments\Shipment[] $shipments The shipment instances.
25
+ * @param WC_Order $order The order instance.
26
+ *
27
+ * @since 3.0.0
28
+ * @package Vendidero/Germanized/Shipments
29
+ */
30
+ do_action( 'woocommerce_gzd_before_account_shipments', $shipments, $order ); ?>
31
+
32
+ <table class="woocommerce-shipments-table woocommerce-MyAccount-shipments woocommerce-MyAccount-<?php echo esc_attr( $type ); ?>-shipments shop_table shop_table_responsive my_account_shipments account-shipments-table">
33
+ <thead>
34
+ <tr>
35
+ <?php foreach ( wc_gzd_get_account_shipments_columns( $type ) as $column_id => $column_name ) : ?>
36
+ <th class="woocommerce-shipments-table__header woocommerce-shipments-table__header-<?php echo esc_attr( $column_id ); ?>"><span class="nobr"><?php echo esc_html( $column_name ); ?></span></th>
37
+ <?php endforeach; ?>
38
+ </tr>
39
+ </thead>
40
+
41
+ <tbody>
42
+ <?php
43
+ foreach ( $shipments as $shipment ) {
44
+ $item_count = $shipment->get_item_count();
45
+ ?>
46
+ <tr class="woocommerce-shipments-table__row woocommerce-shipments-table__row--status-<?php echo esc_attr( $shipment->get_status() ); ?> shipment">
47
+ <?php foreach ( wc_gzd_get_account_shipments_columns( $shipment->get_type() ) as $column_id => $column_name ) : ?>
48
+ <td class="woocommerce-shipments-table__cell woocommerce-shipments-table__cell-<?php echo esc_attr( $column_id ); ?>" data-title="<?php echo esc_attr( $column_name ); ?>">
49
+ <?php if ( has_action( 'woocommerce_gzd_my_account_order_shipments_column_' . $column_id ) ) : ?>
50
+ <?php
51
+ /*
52
+ * Action that fires befoure outputting a specific column in the shipments table view
53
+ * on the customer account page.
54
+ *
55
+ * The dynamic portion of the hook `$column_id` refers to the current column id being rendered
56
+ * e.g. shipment-number.
57
+ *
58
+ * @param \Vendidero\Germanized\Shipments\Shipment $shipment The shipment instance.
59
+ * @param WC_Order $order The order instance.
60
+ *
61
+ * @since 3.0.0
62
+ * @package Vendidero/Germanized/Shipments
63
+ */
64
+ do_action( 'woocommerce_gzd_my_account_shipments_column_' . $column_id, $shipment, $order ); ?>
65
+
66
+ <?php elseif ( 'shipment-number' === $column_id ) : ?>
67
+ <a href="<?php echo esc_url( $shipment->get_view_shipment_url() ); ?>">
68
+ <?php echo esc_html( sprintf( _x( '%s #%s', 'shipment title', 'woocommerce-germanized' ), wc_gzd_get_shipment_label( $shipment->get_type() ), $shipment->get_shipment_number() ) ); ?>
69
+ </a>
70
+
71
+ <?php elseif ( 'shipment-date' === $column_id ) : ?>
72
+ <time datetime="<?php echo esc_attr( $shipment->get_date_created()->date( 'c' ) ); ?>"><?php echo esc_html( wc_format_datetime( $shipment->get_date_created() ) ); ?></time>
73
+
74
+ <?php elseif ( 'shipment-status' === $column_id ) : ?>
75
+ <?php echo esc_html( wc_gzd_get_shipment_status_name( $shipment->get_status() ) ); ?>
76
+
77
+ <?php elseif ( 'shipment-tracking' === $column_id && $shipment->get_tracking_url() && ! $shipment->has_status( 'delivered' ) ) : ?>
78
+ <a href="<?php echo esc_url( $shipment->get_tracking_url() ); ?>" target="_blank">
79
+ <?php echo esc_html( _x( 'track now', 'shipments', 'woocommerce-germanized' ) ); ?>
80
+ </a>
81
+
82
+ <?php elseif ( 'shipment-actions' === $column_id ) : ?>
83
+ <?php
84
+ $actions = wc_gzd_get_account_shipments_actions( $shipment );
85
+
86
+ if ( ! empty( $actions ) ) {
87
+ foreach ( $actions as $key => $action ) { // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited
88
+ echo '<a href="' . esc_url( $action['url'] ) . '" class="woocommerce-button button ' . sanitize_html_class( $key ) . '">' . esc_html( $action['name'] ) . '</a>';
89
+ }
90
+ }
91
+ ?>
92
+ <?php endif; ?>
93
+ </td>
94
+ <?php endforeach; ?>
95
+ </tr>
96
+ <?php
97
+ }
98
+ ?>
99
+ </tbody>
100
+ </table>
101
+
102
+ <?php
103
+ /**
104
+ * This action is executed after listing all available shipments for an order
105
+ * on the customer account page.
106
+ *
107
+ * @param Shipment[] $shipments Array of shipments.
108
+ *
109
+ * @since 3.0.0
110
+ * @package Vendidero/Germanized/Shipments
111
+ */
112
+ do_action( 'woocommerce_gzd_after_account_shipments', $shipments ); ?>
packages/woocommerce-germanized-shipments/templates/shipment/add-return-shipment-item.php ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Shipment return item
4
+ *
5
+ * This template can be overridden by copying it to yourtheme/woocommerce-germanized/shipment/shipment-return-item.php.
6
+ *
7
+ * HOWEVER, on occasion Germanized will need to update template files and you
8
+ * (the theme developer) will need to copy the new files to your theme to
9
+ * maintain compatibility. We try to do this as little as possible, but it does
10
+ * happen. When this occurs the version of the template file will be bumped and
11
+ * the readme will list any important changes.
12
+ *
13
+ * @see https://github.com/vendidero/woocommerce-germanized/wiki/Overriding-Germanized-Templates
14
+ * @package Vendidero/Germanized/Shipments/Templates
15
+ * @version 3.0.0
16
+ */
17
+ use Vendidero\Germanized\Shipments\Shipment;
18
+ use Vendidero\Germanized\Shipments\ShipmentItem;
19
+
20
+ if ( ! defined( 'ABSPATH' ) ) {
21
+ exit;
22
+ }
23
+ ?>
24
+ <tr class="<?php echo esc_attr( 'woocommerce-table__line-item return_shipment_item' ); ?>">
25
+
26
+ <td class="woocommerce-table__product-select product-select">
27
+ <input class="woocommerce-form__input woocommerce-form__input-checkbox" name="items[]" type="checkbox" id="item-<?php echo esc_attr( $order_item_id ); ?>-add-return" value="<?php echo esc_attr( $order_item_id ); ?>" />
28
+ </td>
29
+
30
+ <td class="woocommerce-table__product-name product-name">
31
+ <?php
32
+ $product = $item->get_product();
33
+ $is_visible = $product && $product->is_visible();
34
+
35
+ /** This filter is documented in templates/myaccount/shipment/shipment-details-item.php */
36
+ $product_permalink = apply_filters( 'woocommerce_gzd_shipment_item_permalink', $is_visible ? $product->get_permalink() : '', $item, $order );
37
+
38
+ /** This filter is documented in templates/emails/email-shipment-items.php */
39
+ echo apply_filters( 'woocommerce_gzd_shipment_item_name', $product_permalink ? sprintf( '<a href="%s">%s</a>', $product_permalink, $item->get_name() ) : $item->get_name(), $item, $is_visible ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
40
+ ?>
41
+ </td>
42
+
43
+ <td class="woocommerce-table__product-return-reason product-return-reason">
44
+ <select name="item[<?php echo esc_attr( $item->get_id() ); ?>][return_reason]" id="item-<?php echo esc_attr( $item->get_id() ); ?>-return_reason">
45
+ <option value="">
46
+ <?php
47
+ /**
48
+ * This filter may be used to decice whether customers may skip
49
+ * choosing a return reason or not.
50
+ *
51
+ * @param boolean $allow_empty Whether to allow empty return reasons or not..
52
+ * @param WC_Order $order The order instance.
53
+ *
54
+ * @since 3.1.0
55
+ * @package Vendidero/Germanized/Shipments
56
+ */
57
+ if ( wc_gzd_allow_customer_return_empty_return_reason( $order ) ) : ?>
58
+ <?php _ex( 'None', 'shipments return reason', 'woocommerce-germanized' ); ?>
59
+ <?php else: ?>
60
+ <?php _ex( 'Please choose', 'shipments return reason', 'woocommerce-germanized' ); ?>
61
+ <?php endif; ?>
62
+ </option>
63
+
64
+ <?php foreach( wc_gzd_get_return_shipment_reasons( $item->get_order_item() ) as $reason ) : ?>
65
+ <option value="<?php echo esc_attr( $reason->get_code() ); ?>"><?php echo $reason->get_reason(); ?></option>
66
+ <?php endforeach; ?>
67
+ </select>
68
+ </td>
69
+
70
+ <td class="woocommerce-table__product-quantity product-quantity">
71
+ <?php if ( $max_quantity == 1 ) : ?>1<?php endif; ?>
72
+
73
+ <?php woocommerce_quantity_input( array(
74
+ 'input_name' => 'item[' . esc_attr( $item->get_id() ) . '][quantity]',
75
+ 'input_value' => 1,
76
+ 'max_value' => $max_quantity,
77
+ 'min_value' => 1,
78
+ ), $item->get_product() ); ?>
79
+ </td>
80
+ </tr>
packages/woocommerce-germanized-shipments/templates/shipment/shipment-details.php CHANGED
@@ -26,7 +26,17 @@ if ( ! $shipment ) {
26
 
27
  $order = $shipment->get_order();
28
  $show_receiver_details = is_user_logged_in() && $order && $order->get_user_id() === get_current_user_id();
 
29
  $shipment_items = $shipment->get_items();
 
 
 
 
 
 
 
 
 
30
  ?>
31
  <section class="woocommerce-shipment-details">
32
  <?php
@@ -107,6 +117,6 @@ if ( $show_receiver_details ) {
107
  wc_get_template( 'shipment/shipment-details-address.php', array( 'shipment' => $shipment ) );
108
  }
109
 
110
- if ( $show_receiver_details && $shipment->has_tracking() ) {
111
  wc_get_template( 'shipment/shipment-details-tracking.php', array( 'shipment' => $shipment ) );
112
  }
26
 
27
  $order = $shipment->get_order();
28
  $show_receiver_details = is_user_logged_in() && $order && $order->get_user_id() === get_current_user_id();
29
+ $show_tracking = $show_receiver_details && $shipment->has_tracking();
30
  $shipment_items = $shipment->get_items();
31
+
32
+ if ( 'return' === $shipment->get_type() ) {
33
+
34
+ if ( $provider = $shipment->get_shipping_provider_instance() ) {
35
+ if ( $provider->hide_return_address() ) {
36
+ $show_receiver_details = false;
37
+ }
38
+ }
39
+ }
40
  ?>
41
  <section class="woocommerce-shipment-details">
42
  <?php
117
  wc_get_template( 'shipment/shipment-details-address.php', array( 'shipment' => $shipment ) );
118
  }
119
 
120
+ if ( $show_tracking ) {
121
  wc_get_template( 'shipment/shipment-details-tracking.php', array( 'shipment' => $shipment ) );
122
  }
packages/woocommerce-germanized-shipments/templates/shipment/shipment-return-instructions.php ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Shipment return instructions
4
+ *
5
+ * This template can be overridden by copying it to yourtheme/woocommerce-germanized/shipment/shipment-return-instructions.php.
6
+ *
7
+ * HOWEVER, on occasion Germanized will need to update template files and you
8
+ * (the theme developer) will need to copy the new files to your theme to
9
+ * maintain compatibility. We try to do this as little as possible, but it does
10
+ * happen. When this occurs the version of the template file will be bumped and
11
+ * the readme will list any important changes.
12
+ *
13
+ * @see https://github.com/vendidero/woocommerce-germanized/wiki/Overriding-Germanized-Templates
14
+ * @package Vendidero/Germanized/Shipments/Templates
15
+ * @version 1.0.0
16
+ */
17
+ use Vendidero\Germanized\Shipments\ReturnShipment;
18
+
19
+ defined( 'ABSPATH' ) || exit;
20
+
21
+ $provider = $shipment->get_shipping_provider_instance();
22
+ ?>
23
+
24
+ <?php if ( $provider && $provider->has_return_instructions() ) : ?>
25
+ <p class="return-shipment-instructions"><?php echo wp_kses_post( wpautop( wptexturize( wp_kses_post( $provider->get_return_instructions() ) ) ) ); ?></p>
26
+ <?php endif; ?>
27
+
28
+ <?php
29
+ /**
30
+ * This action is executed after printing the return shipment instructions.
31
+ *
32
+ * @param ReturnShipment $shipment The shipment instance.
33
+ *
34
+ * @since 3.1.0
35
+ * @package Vendidero/Germanized/Shipments
36
+ */
37
+ do_action( 'woocommerce_gzd_return_shipment_after_instructions', $shipment ); ?>
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.1.2
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.2.0
9
  * Requires PHP: 5.6
10
  * License: GPLv3
11
  *
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.9
8
- Stable tag: 3.0.8
9
  Requires PHP: 5.6
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -69,6 +69,10 @@ Furthermore you may attach legally relevant pages (e.g. Terms & Conditions) as P
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 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.
71
 
 
 
 
 
72
  = DHL Integration =
73
  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. Furthermore you can offer Wunschpaket Services to your customers including shipping to Packstation or choosing a preferred location, day and/or time within the checkout.
74
  You can even let your shipments and labels be generated automatically by Germanized to avoid further manual work. [Learn more](https://vendidero.de/dokumentation/woocommerce-germanized/sendungen-dhl "DHL for WooCommerce") about how our DHL integration works.
@@ -186,6 +190,19 @@ Bug reports may be filed via our [GitHub repository](https://github.com/vendider
186
 
187
  == Changelog ==
188
 
 
 
 
 
 
 
 
 
 
 
 
 
 
189
  = 3.0.8 =
190
  * Improvement: WPML email translation compatibility
191
  * Improvement: DHL added street number fallback in case of non-EU-shipments
5
  Tested up to: 5.3
6
  WC requires at least: 3.4
7
  WC tested up to: 3.9
8
+ Stable tag: 3.1.0
9
  Requires PHP: 5.6
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
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 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.
71
 
72
+ = Returns =
73
+ Managing returns can be a time-consuming challenge. By using Germanized you might let your customers create return requests through their customer panel. All you need to do is confirm the request through your return dashboard and your customers will receive an email containing further steps on how to return their product(s).
74
+ In case you are using our DHL integration you might as well (automatically) create a label to the return which will be attached to the email sent to the customer.
75
+
76
  = DHL Integration =
77
  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. Furthermore you can offer Wunschpaket Services to your customers including shipping to Packstation or choosing a preferred location, day and/or time within the checkout.
78
  You can even let your shipments and labels be generated automatically by Germanized to avoid further manual work. [Learn more](https://vendidero.de/dokumentation/woocommerce-germanized/sendungen-dhl "DHL for WooCommerce") about how our DHL integration works.
190
 
191
  == Changelog ==
192
 
193
+ = 3.1.0 =
194
+ * Feature: Optionally let customers create return requests, see https://vendidero.de/dokument/retouren-konfigurieren-und-verwalten
195
+ * Improvement: Create returns to orders instead to shipments
196
+ * Improvement: New email notification as soon as a return is marked as delivered
197
+ * Improvement: Optionally choose a return reason for each item returned
198
+ * Improvement: DHL use 0 as placeholder street number in case it is a non-domestic shipment
199
+ * Improvement: DHL reference sanitizing
200
+ * Improvement: DHL parcel locator shipping method fallback handling
201
+ * Improvement: Replace data for non-purchasable variations as well
202
+ * Improvement: Order completed date check in direct debit SEPA XML exporter
203
+ * Improvement: Restore WPML email language to the language chosen before
204
+ * Fix: Free shipping auto select session handling
205
+
206
  = 3.0.8 =
207
  * Improvement: WPML email translation compatibility
208
  * Improvement: DHL added street number fallback in case of non-EU-shipments
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit9862d29a0da6ebc69e777432a9df86de::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit6720817cb82a729a9c981dc99258bc22::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_63eea6d3e58a4f5dda862619adee1096() {
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_63eea6d3e58a4f5dda862619adee1096();
120
  /**
121
  * Prepare all the classes for autoloading.
122
  */
123
+ function enqueue_packages_c5292410d2d87a5cd1259fea3bd09aff() {
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_c5292410d2d87a5cd1259fea3bd09aff();
vendor/composer/autoload_classmap_package.php CHANGED
@@ -199,267 +199,271 @@ return array(
199
  'path' => $baseDir . '/packages/woocommerce-trusted-shops/src/Package.php'
200
  ),
201
  'Vendidero\\Germanized\\Shipments\\Shipment' => array(
202
- 'version' => '1.1.2.0',
203
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Shipment.php'
204
  ),
205
  'Vendidero\\Germanized\\Shipments\\Install' => array(
206
- 'version' => '1.1.2.0',
207
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Install.php'
208
  ),
209
  'Vendidero\\Germanized\\Shipments\\SimpleShipment' => array(
210
- 'version' => '1.1.2.0',
211
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/SimpleShipment.php'
212
  ),
213
  'Vendidero\\Germanized\\Shipments\\ShippingProviderMethod' => array(
214
- 'version' => '1.1.2.0',
215
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProviderMethod.php'
216
  ),
217
  'Vendidero\\Germanized\\Shipments\\Package' => array(
218
- 'version' => '1.1.2.0',
219
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Package.php'
220
  ),
221
  'Vendidero\\Germanized\\Shipments\\Order' => array(
222
- 'version' => '1.1.2.0',
223
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Order.php'
224
  ),
225
  'Vendidero\\Germanized\\Shipments\\DataStores\\Shipment' => array(
226
- 'version' => '1.1.2.0',
227
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/DataStores/Shipment.php'
228
  ),
229
  'Vendidero\\Germanized\\Shipments\\DataStores\\ShippingProvider' => array(
230
- 'version' => '1.1.2.0',
231
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/DataStores/ShippingProvider.php'
232
  ),
233
  'Vendidero\\Germanized\\Shipments\\DataStores\\ShipmentItem' => array(
234
- 'version' => '1.1.2.0',
235
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/DataStores/ShipmentItem.php'
236
  ),
237
  'Vendidero\\Germanized\\Shipments\\Ajax' => array(
238
- 'version' => '1.1.2.0',
239
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Ajax.php'
240
  ),
241
  'Vendidero\\Germanized\\Shipments\\ReturnShipment' => array(
242
- 'version' => '1.1.2.0',
243
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ReturnShipment.php'
244
  ),
245
  'Vendidero\\Germanized\\Shipments\\ShippingProvider' => array(
246
- 'version' => '1.1.2.0',
247
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProvider.php'
248
  ),
249
  'Vendidero\\Germanized\\Shipments\\AddressSplitter' => array(
250
- 'version' => '1.1.2.0',
251
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/AddressSplitter.php'
252
  ),
253
  'Vendidero\\Germanized\\Shipments\\Admin\\BulkLabel' => array(
254
- 'version' => '1.1.2.0',
255
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/BulkLabel.php'
256
  ),
257
  'Vendidero\\Germanized\\Shipments\\Admin\\Settings' => array(
258
- 'version' => '1.1.2.0',
259
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/Settings.php'
260
  ),
261
  'Vendidero\\Germanized\\Shipments\\Admin\\MetaBox' => array(
262
- 'version' => '1.1.2.0',
263
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/MetaBox.php'
264
  ),
265
  'Vendidero\\Germanized\\Shipments\\Admin\\DownloadHandler' => array(
266
- 'version' => '1.1.2.0',
267
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/DownloadHandler.php'
268
  ),
269
  'Vendidero\\Germanized\\Shipments\\Admin\\ReturnTable' => array(
270
- 'version' => '1.1.2.0',
271
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/ReturnTable.php'
272
  ),
273
  'Vendidero\\Germanized\\Shipments\\Admin\\BulkActionHandler' => array(
274
- 'version' => '1.1.2.0',
275
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/BulkActionHandler.php'
276
  ),
277
  'Vendidero\\Germanized\\Shipments\\Admin\\Admin' => array(
278
- 'version' => '1.1.2.0',
279
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/Admin.php'
280
  ),
281
  'Vendidero\\Germanized\\Shipments\\Admin\\Table' => array(
282
- 'version' => '1.1.2.0',
283
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/Table.php'
284
  ),
285
  'Vendidero\\Germanized\\Shipments\\ShipmentQuery' => array(
286
- 'version' => '1.1.2.0',
287
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentQuery.php'
288
  ),
289
  'Vendidero\\Germanized\\Shipments\\WPMLHelper' => array(
290
- 'version' => '1.1.2.0',
291
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/WPMLHelper.php'
292
  ),
 
 
 
 
 
 
 
 
293
  'Vendidero\\Germanized\\Shipments\\PDFMerger' => array(
294
- 'version' => '1.1.2.0',
295
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/PDFMerger.php'
296
  ),
297
  'Vendidero\\Germanized\\Shipments\\ShipmentFactory' => array(
298
- 'version' => '1.1.2.0',
299
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentFactory.php'
300
  ),
301
  'Vendidero\\Germanized\\Shipments\\ShippingProviderMethodPlaceholder' => array(
302
- 'version' => '1.1.2.0',
303
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProviderMethodPlaceholder.php'
304
  ),
305
  'Vendidero\\Germanized\\Shipments\\Automation' => array(
306
- 'version' => '1.1.2.0',
307
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Automation.php'
308
  ),
309
  'Vendidero\\Germanized\\Shipments\\ShippingProviders' => array(
310
- 'version' => '1.1.2.0',
311
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProviders.php'
312
  ),
313
  'Vendidero\\Germanized\\Shipments\\Api' => array(
314
- 'version' => '1.1.2.0',
315
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Api.php'
316
  ),
317
  'Vendidero\\Germanized\\Shipments\\ShipmentItem' => array(
318
- 'version' => '1.1.2.0',
319
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentItem.php'
320
  ),
321
  'Vendidero\\Germanized\\Shipments\\Validation' => array(
322
- 'version' => '1.1.2.0',
323
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Validation.php'
324
  ),
325
  'Vendidero\\Germanized\\Shipments\\Emails' => array(
326
- 'version' => '1.1.2.0',
327
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Emails.php'
328
  ),
329
  'Vendidero\\Germanized\\Shipments\\PDFSplitter' => array(
330
- 'version' => '1.1.2.0',
331
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/PDFSplitter.php'
332
  ),
 
 
 
 
333
  'Vendidero\\Germanized\\Shipments\\Interfaces\\ShipmentReturnLabel' => array(
334
- 'version' => '1.1.2.0',
335
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Interfaces/ShipmenReturnLabel.php'
336
  ),
337
  'Vendidero\\Germanized\\Shipments\\Interfaces\\ShipmentLabel' => array(
338
- 'version' => '1.1.2.0',
339
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Interfaces/ShipmentLabel.php'
340
  ),
341
  'Vendidero\\Germanized\\DHL\\ShippingProviderDHL' => array(
342
- 'version' => '1.1.2.0',
343
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShippingProviderDHL.php'
344
  ),
345
  'Vendidero\\Germanized\\DHL\\ShippingProviderMethodDHL' => array(
346
- 'version' => '1.1.2.0',
347
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShippingProviderMethodDHL.php'
348
  ),
349
  'Vendidero\\Germanized\\DHL\\Install' => array(
350
- 'version' => '1.1.2.0',
351
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Install.php'
352
  ),
353
  'Vendidero\\Germanized\\DHL\\LabelQuery' => array(
354
- 'version' => '1.1.2.0',
355
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/LabelQuery.php'
356
  ),
357
  'Vendidero\\Germanized\\DHL\\ShipmentLabelWatcher' => array(
358
- 'version' => '1.1.2.0',
359
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShipmentLabelWatcher.php'
360
  ),
361
  'Vendidero\\Germanized\\DHL\\Package' => array(
362
- 'version' => '1.1.2.0',
363
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Package.php'
364
  ),
365
  'Vendidero\\Germanized\\DHL\\Product' => array(
366
- 'version' => '1.1.2.0',
367
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Product.php'
368
  ),
369
  'Vendidero\\Germanized\\DHL\\Order' => array(
370
- 'version' => '1.1.2.0',
371
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Order.php'
372
  ),
373
  'Vendidero\\Germanized\\DHL\\DataStores\\Label' => array(
374
- 'version' => '1.1.2.0',
375
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/DataStores/Label.php'
376
  ),
377
- 'Vendidero\\Germanized\\DHL\\Ajax' => array(
378
- 'version' => '1.1.2.0',
379
- 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Ajax.php'
380
- ),
381
  'Vendidero\\Germanized\\DHL\\Label' => array(
382
- 'version' => '1.1.2.0',
383
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label.php'
384
  ),
385
  'Vendidero\\Germanized\\DHL\\ParcelServices' => array(
386
- 'version' => '1.1.2.0',
387
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ParcelServices.php'
388
  ),
389
  'Vendidero\\Germanized\\DHL\\Admin\\Importer' => array(
390
- 'version' => '1.1.2.0',
391
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Importer.php'
392
  ),
393
  'Vendidero\\Germanized\\DHL\\Admin\\Settings' => array(
394
- 'version' => '1.1.2.0',
395
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Settings.php'
396
  ),
397
  'Vendidero\\Germanized\\DHL\\Admin\\Admin' => array(
398
- 'version' => '1.1.2.0',
399
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Admin.php'
400
  ),
401
  'Vendidero\\Germanized\\DHL\\ReturnLabel' => array(
402
- 'version' => '1.1.2.0',
403
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ReturnLabel.php'
404
  ),
405
  'Vendidero\\Germanized\\DHL\\ParcelLocator' => array(
406
- 'version' => '1.1.2.0',
407
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ParcelLocator.php'
408
  ),
409
  'Vendidero\\Germanized\\DHL\\SimpleLabel' => array(
410
- 'version' => '1.1.2.0',
411
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/SimpleLabel.php'
412
  ),
413
  'Vendidero\\Germanized\\DHL\\Admin\\DownloadHandler' => array(
414
- 'version' => '1.1.2.0',
415
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/DownloadHandler.php'
416
  ),
417
  'Vendidero\\Germanized\\DHL\\Api\\ReturnRest' => array(
418
- 'version' => '1.1.2.0',
419
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ReturnRest.php'
420
  ),
421
  'Vendidero\\Germanized\\DHL\\Api\\Paket' => array(
422
- 'version' => '1.1.2.0',
423
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Paket.php'
424
  ),
425
  'Vendidero\\Germanized\\DHL\\Api\\LabelSoap' => array(
426
- 'version' => '1.1.2.0',
427
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/LabelSoap.php'
428
  ),
429
  'Vendidero\\Germanized\\DHL\\Api\\AuthSoap' => array(
430
- 'version' => '1.1.2.0',
431
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/AuthSoap.php'
432
  ),
433
  'Vendidero\\Germanized\\DHL\\Api\\ParcelRest' => array(
434
- 'version' => '1.1.2.0',
435
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ParcelRest.php'
436
  ),
437
  'Vendidero\\Germanized\\DHL\\Api\\Soap' => array(
438
- 'version' => '1.1.2.0',
439
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Soap.php'
440
  ),
441
  'Vendidero\\Germanized\\DHL\\Api\\Rest' => array(
442
- 'version' => '1.1.2.0',
443
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Rest.php'
444
  ),
445
  'Vendidero\\Germanized\\DHL\\Api\\FinderSoap' => array(
446
- 'version' => '1.1.2.0',
447
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/FinderSoap.php'
448
  ),
449
  'Vendidero\\Germanized\\DHL\\Automation' => array(
450
- 'version' => '1.1.2.0',
451
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Automation.php'
452
  ),
453
- 'Vendidero\\Germanized\\DHL\\Emails' => array(
454
- 'version' => '1.1.2.0',
455
- 'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Emails.php'
456
- ),
457
  'Vendidero\\Germanized\\DHL\\LabelFactory' => array(
458
- 'version' => '1.1.2.0',
459
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/LabelFactory.php'
460
  ),
461
  'Vendidero\\Germanized\\DHL\\LabelWatcher' => array(
462
- 'version' => '1.1.2.0',
463
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/LabelWatcher.php'
464
  ),
465
  'Vendidero\\Germanized\\Shopmark' => array(
199
  'path' => $baseDir . '/packages/woocommerce-trusted-shops/src/Package.php'
200
  ),
201
  'Vendidero\\Germanized\\Shipments\\Shipment' => array(
202
+ 'version' => '1.2.0.0',
203
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Shipment.php'
204
  ),
205
  'Vendidero\\Germanized\\Shipments\\Install' => array(
206
+ 'version' => '1.2.0.0',
207
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Install.php'
208
  ),
209
  'Vendidero\\Germanized\\Shipments\\SimpleShipment' => array(
210
+ 'version' => '1.2.0.0',
211
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/SimpleShipment.php'
212
  ),
213
  'Vendidero\\Germanized\\Shipments\\ShippingProviderMethod' => array(
214
+ 'version' => '1.2.0.0',
215
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProviderMethod.php'
216
  ),
217
  'Vendidero\\Germanized\\Shipments\\Package' => array(
218
+ 'version' => '1.2.0.0',
219
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Package.php'
220
  ),
221
  'Vendidero\\Germanized\\Shipments\\Order' => array(
222
+ 'version' => '1.2.0.0',
223
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Order.php'
224
  ),
225
  'Vendidero\\Germanized\\Shipments\\DataStores\\Shipment' => array(
226
+ 'version' => '1.2.0.0',
227
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/DataStores/Shipment.php'
228
  ),
229
  'Vendidero\\Germanized\\Shipments\\DataStores\\ShippingProvider' => array(
230
+ 'version' => '1.2.0.0',
231
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/DataStores/ShippingProvider.php'
232
  ),
233
  'Vendidero\\Germanized\\Shipments\\DataStores\\ShipmentItem' => array(
234
+ 'version' => '1.2.0.0',
235
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/DataStores/ShipmentItem.php'
236
  ),
237
  'Vendidero\\Germanized\\Shipments\\Ajax' => array(
238
+ 'version' => '1.2.0.0',
239
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Ajax.php'
240
  ),
241
  'Vendidero\\Germanized\\Shipments\\ReturnShipment' => array(
242
+ 'version' => '1.2.0.0',
243
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ReturnShipment.php'
244
  ),
245
  'Vendidero\\Germanized\\Shipments\\ShippingProvider' => array(
246
+ 'version' => '1.2.0.0',
247
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProvider.php'
248
  ),
249
  'Vendidero\\Germanized\\Shipments\\AddressSplitter' => array(
250
+ 'version' => '1.2.0.0',
251
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/AddressSplitter.php'
252
  ),
253
  'Vendidero\\Germanized\\Shipments\\Admin\\BulkLabel' => array(
254
+ 'version' => '1.2.0.0',
255
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/BulkLabel.php'
256
  ),
257
  'Vendidero\\Germanized\\Shipments\\Admin\\Settings' => array(
258
+ 'version' => '1.2.0.0',
259
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/Settings.php'
260
  ),
261
  'Vendidero\\Germanized\\Shipments\\Admin\\MetaBox' => array(
262
+ 'version' => '1.2.0.0',
263
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/MetaBox.php'
264
  ),
265
  'Vendidero\\Germanized\\Shipments\\Admin\\DownloadHandler' => array(
266
+ 'version' => '1.2.0.0',
267
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/DownloadHandler.php'
268
  ),
269
  'Vendidero\\Germanized\\Shipments\\Admin\\ReturnTable' => array(
270
+ 'version' => '1.2.0.0',
271
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/ReturnTable.php'
272
  ),
273
  'Vendidero\\Germanized\\Shipments\\Admin\\BulkActionHandler' => array(
274
+ 'version' => '1.2.0.0',
275
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/BulkActionHandler.php'
276
  ),
277
  'Vendidero\\Germanized\\Shipments\\Admin\\Admin' => array(
278
+ 'version' => '1.2.0.0',
279
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/Admin.php'
280
  ),
281
  'Vendidero\\Germanized\\Shipments\\Admin\\Table' => array(
282
+ 'version' => '1.2.0.0',
283
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/Table.php'
284
  ),
285
  'Vendidero\\Germanized\\Shipments\\ShipmentQuery' => array(
286
+ 'version' => '1.2.0.0',
287
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentQuery.php'
288
  ),
289
  'Vendidero\\Germanized\\Shipments\\WPMLHelper' => array(
290
+ 'version' => '1.2.0.0',
291
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/WPMLHelper.php'
292
  ),
293
+ 'Vendidero\\Germanized\\Shipments\\ShipmentReturnItem' => array(
294
+ 'version' => '1.2.0.0',
295
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentReturnItem.php'
296
+ ),
297
+ 'Vendidero\\Germanized\\Shipments\\FormHandler' => array(
298
+ 'version' => '1.2.0.0',
299
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/FormHandler.php'
300
+ ),
301
  'Vendidero\\Germanized\\Shipments\\PDFMerger' => array(
302
+ 'version' => '1.2.0.0',
303
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/PDFMerger.php'
304
  ),
305
  'Vendidero\\Germanized\\Shipments\\ShipmentFactory' => array(
306
+ 'version' => '1.2.0.0',
307
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentFactory.php'
308
  ),
309
  'Vendidero\\Germanized\\Shipments\\ShippingProviderMethodPlaceholder' => array(
310
+ 'version' => '1.2.0.0',
311
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProviderMethodPlaceholder.php'
312
  ),
313
  'Vendidero\\Germanized\\Shipments\\Automation' => array(
314
+ 'version' => '1.2.0.0',
315
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Automation.php'
316
  ),
317
  'Vendidero\\Germanized\\Shipments\\ShippingProviders' => array(
318
+ 'version' => '1.2.0.0',
319
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProviders.php'
320
  ),
321
  'Vendidero\\Germanized\\Shipments\\Api' => array(
322
+ 'version' => '1.2.0.0',
323
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Api.php'
324
  ),
325
  'Vendidero\\Germanized\\Shipments\\ShipmentItem' => array(
326
+ 'version' => '1.2.0.0',
327
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentItem.php'
328
  ),
329
  'Vendidero\\Germanized\\Shipments\\Validation' => array(
330
+ 'version' => '1.2.0.0',
331
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Validation.php'
332
  ),
333
  'Vendidero\\Germanized\\Shipments\\Emails' => array(
334
+ 'version' => '1.2.0.0',
335
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Emails.php'
336
  ),
337
  'Vendidero\\Germanized\\Shipments\\PDFSplitter' => array(
338
+ 'version' => '1.2.0.0',
339
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/PDFSplitter.php'
340
  ),
341
+ 'Vendidero\\Germanized\\Shipments\\ReturnReason' => array(
342
+ 'version' => '1.2.0.0',
343
+ 'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ReturnReason.php'
344
+ ),
345
  'Vendidero\\Germanized\\Shipments\\Interfaces\\ShipmentReturnLabel' => array(
346
+ 'version' => '1.2.0.0',
347
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Interfaces/ShipmenReturnLabel.php'
348
  ),
349
  'Vendidero\\Germanized\\Shipments\\Interfaces\\ShipmentLabel' => array(
350
+ 'version' => '1.2.0.0',
351
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Interfaces/ShipmentLabel.php'
352
  ),
353
  'Vendidero\\Germanized\\DHL\\ShippingProviderDHL' => array(
354
+ 'version' => '1.2.0.0',
355
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShippingProviderDHL.php'
356
  ),
357
  'Vendidero\\Germanized\\DHL\\ShippingProviderMethodDHL' => array(
358
+ 'version' => '1.2.0.0',
359
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShippingProviderMethodDHL.php'
360
  ),
361
  'Vendidero\\Germanized\\DHL\\Install' => array(
362
+ 'version' => '1.2.0.0',
363
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Install.php'
364
  ),
365
  'Vendidero\\Germanized\\DHL\\LabelQuery' => array(
366
+ 'version' => '1.2.0.0',
367
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/LabelQuery.php'
368
  ),
369
  'Vendidero\\Germanized\\DHL\\ShipmentLabelWatcher' => array(
370
+ 'version' => '1.2.0.0',
371
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShipmentLabelWatcher.php'
372
  ),
373
  'Vendidero\\Germanized\\DHL\\Package' => array(
374
+ 'version' => '1.2.0.0',
375
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Package.php'
376
  ),
377
  'Vendidero\\Germanized\\DHL\\Product' => array(
378
+ 'version' => '1.2.0.0',
379
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Product.php'
380
  ),
381
  'Vendidero\\Germanized\\DHL\\Order' => array(
382
+ 'version' => '1.2.0.0',
383
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Order.php'
384
  ),
385
  'Vendidero\\Germanized\\DHL\\DataStores\\Label' => array(
386
+ 'version' => '1.2.0.0',
387
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/DataStores/Label.php'
388
  ),
 
 
 
 
389
  'Vendidero\\Germanized\\DHL\\Label' => array(
390
+ 'version' => '1.2.0.0',
391
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label.php'
392
  ),
393
  'Vendidero\\Germanized\\DHL\\ParcelServices' => array(
394
+ 'version' => '1.2.0.0',
395
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ParcelServices.php'
396
  ),
397
  'Vendidero\\Germanized\\DHL\\Admin\\Importer' => array(
398
+ 'version' => '1.2.0.0',
399
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Importer.php'
400
  ),
401
  'Vendidero\\Germanized\\DHL\\Admin\\Settings' => array(
402
+ 'version' => '1.2.0.0',
403
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Settings.php'
404
  ),
405
  'Vendidero\\Germanized\\DHL\\Admin\\Admin' => array(
406
+ 'version' => '1.2.0.0',
407
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Admin.php'
408
  ),
409
  'Vendidero\\Germanized\\DHL\\ReturnLabel' => array(
410
+ 'version' => '1.2.0.0',
411
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ReturnLabel.php'
412
  ),
413
  'Vendidero\\Germanized\\DHL\\ParcelLocator' => array(
414
+ 'version' => '1.2.0.0',
415
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ParcelLocator.php'
416
  ),
417
  'Vendidero\\Germanized\\DHL\\SimpleLabel' => array(
418
+ 'version' => '1.2.0.0',
419
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/SimpleLabel.php'
420
  ),
421
  'Vendidero\\Germanized\\DHL\\Admin\\DownloadHandler' => array(
422
+ 'version' => '1.2.0.0',
423
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/DownloadHandler.php'
424
  ),
425
  'Vendidero\\Germanized\\DHL\\Api\\ReturnRest' => array(
426
+ 'version' => '1.2.0.0',
427
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ReturnRest.php'
428
  ),
429
  'Vendidero\\Germanized\\DHL\\Api\\Paket' => array(
430
+ 'version' => '1.2.0.0',
431
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Paket.php'
432
  ),
433
  'Vendidero\\Germanized\\DHL\\Api\\LabelSoap' => array(
434
+ 'version' => '1.2.0.0',
435
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/LabelSoap.php'
436
  ),
437
  'Vendidero\\Germanized\\DHL\\Api\\AuthSoap' => array(
438
+ 'version' => '1.2.0.0',
439
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/AuthSoap.php'
440
  ),
441
  'Vendidero\\Germanized\\DHL\\Api\\ParcelRest' => array(
442
+ 'version' => '1.2.0.0',
443
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ParcelRest.php'
444
  ),
445
  'Vendidero\\Germanized\\DHL\\Api\\Soap' => array(
446
+ 'version' => '1.2.0.0',
447
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Soap.php'
448
  ),
449
  'Vendidero\\Germanized\\DHL\\Api\\Rest' => array(
450
+ 'version' => '1.2.0.0',
451
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Rest.php'
452
  ),
453
  'Vendidero\\Germanized\\DHL\\Api\\FinderSoap' => array(
454
+ 'version' => '1.2.0.0',
455
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/FinderSoap.php'
456
  ),
457
  'Vendidero\\Germanized\\DHL\\Automation' => array(
458
+ 'version' => '1.2.0.0',
459
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Automation.php'
460
  ),
 
 
 
 
461
  'Vendidero\\Germanized\\DHL\\LabelFactory' => array(
462
+ 'version' => '1.2.0.0',
463
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/LabelFactory.php'
464
  ),
465
  'Vendidero\\Germanized\\DHL\\LabelWatcher' => array(
466
+ 'version' => '1.2.0.0',
467
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/LabelWatcher.php'
468
  ),
469
  'Vendidero\\Germanized\\Shopmark' => array(
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit9862d29a0da6ebc69e777432a9df86de
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit9862d29a0da6ebc69e777432a9df86de
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit9862d29a0da6ebc69e777432a9df86de', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit9862d29a0da6ebc69e777432a9df86de', '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\ComposerStaticInit9862d29a0da6ebc69e777432a9df86de::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 ComposerAutoloaderInit6720817cb82a729a9c981dc99258bc22
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit6720817cb82a729a9c981dc99258bc22', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit6720817cb82a729a9c981dc99258bc22', '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\ComposerStaticInit6720817cb82a729a9c981dc99258bc22::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 ComposerStaticInit9862d29a0da6ebc69e777432a9df86de
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  's' =>
@@ -66,9 +66,9 @@ class ComposerStaticInit9862d29a0da6ebc69e777432a9df86de
66
  public static function getInitializer(ClassLoader $loader)
67
  {
68
  return \Closure::bind(function () use ($loader) {
69
- $loader->prefixLengthsPsr4 = ComposerStaticInit9862d29a0da6ebc69e777432a9df86de::$prefixLengthsPsr4;
70
- $loader->prefixDirsPsr4 = ComposerStaticInit9862d29a0da6ebc69e777432a9df86de::$prefixDirsPsr4;
71
- $loader->classMap = ComposerStaticInit9862d29a0da6ebc69e777432a9df86de::$classMap;
72
 
73
  }, null, ClassLoader::class);
74
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit6720817cb82a729a9c981dc99258bc22
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 = ComposerStaticInit6720817cb82a729a9c981dc99258bc22::$prefixLengthsPsr4;
70
+ $loader->prefixDirsPsr4 = ComposerStaticInit6720817cb82a729a9c981dc99258bc22::$prefixDirsPsr4;
71
+ $loader->classMap = ComposerStaticInit6720817cb82a729a9c981dc99258bc22::$classMap;
72
 
73
  }, null, ClassLoader::class);
74
  }
vendor/composer/installed.json CHANGED
@@ -308,17 +308,17 @@
308
  },
309
  {
310
  "name": "vendidero/woocommerce-germanized-dhl",
311
- "version": "v1.1.2",
312
- "version_normalized": "1.1.2.0",
313
  "source": {
314
  "type": "git",
315
  "url": "https://github.com/vendidero/woocommerce-germanized-dhl.git",
316
- "reference": "cab67cac1c36b12aaa36ab52079a8b733543eb5e"
317
  },
318
  "dist": {
319
  "type": "zip",
320
- "url": "https://api.github.com/repos/vendidero/woocommerce-germanized-dhl/zipball/cab67cac1c36b12aaa36ab52079a8b733543eb5e",
321
- "reference": "cab67cac1c36b12aaa36ab52079a8b733543eb5e",
322
  "shasum": ""
323
  },
324
  "require": {
@@ -328,7 +328,7 @@
328
  "phpunit/phpunit": "6.5.14",
329
  "woocommerce/woocommerce-sniffs": "0.0.6"
330
  },
331
- "time": "2019-12-13T13:35:33+00:00",
332
  "type": "wordpress-plugin",
333
  "installation-source": "dist",
334
  "autoload": {
@@ -352,23 +352,23 @@
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.2",
356
  "issues": "https://github.com/vendidero/woocommerce-germanized-dhl/issues"
357
  }
358
  },
359
  {
360
  "name": "vendidero/woocommerce-germanized-shipments",
361
- "version": "v1.1.2",
362
- "version_normalized": "1.1.2.0",
363
  "source": {
364
  "type": "git",
365
  "url": "https://github.com/vendidero/woocommerce-germanized-shipments.git",
366
- "reference": "cee56d5221116e7e956fcac2e5b27a01edef206d"
367
  },
368
  "dist": {
369
  "type": "zip",
370
- "url": "https://api.github.com/repos/vendidero/woocommerce-germanized-shipments/zipball/cee56d5221116e7e956fcac2e5b27a01edef206d",
371
- "reference": "cee56d5221116e7e956fcac2e5b27a01edef206d",
372
  "shasum": ""
373
  },
374
  "require": {
@@ -379,7 +379,7 @@
379
  "phpunit/phpunit": "6.5.14",
380
  "woocommerce/woocommerce-sniffs": "0.0.6"
381
  },
382
- "time": "2019-12-13T12:44:23+00:00",
383
  "type": "wordpress-plugin",
384
  "installation-source": "dist",
385
  "autoload": {
@@ -401,7 +401,7 @@
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.2",
405
  "issues": "https://github.com/vendidero/woocommerce-germanized-shipments/issues"
406
  }
407
  },
308
  },
309
  {
310
  "name": "vendidero/woocommerce-germanized-dhl",
311
+ "version": "v1.2.0",
312
+ "version_normalized": "1.2.0.0",
313
  "source": {
314
  "type": "git",
315
  "url": "https://github.com/vendidero/woocommerce-germanized-dhl.git",
316
+ "reference": "d361762bfe75dc049fbf89788bbb507b70ff8347"
317
  },
318
  "dist": {
319
  "type": "zip",
320
+ "url": "https://api.github.com/repos/vendidero/woocommerce-germanized-dhl/zipball/d361762bfe75dc049fbf89788bbb507b70ff8347",
321
+ "reference": "d361762bfe75dc049fbf89788bbb507b70ff8347",
322
  "shasum": ""
323
  },
324
  "require": {
328
  "phpunit/phpunit": "6.5.14",
329
  "woocommerce/woocommerce-sniffs": "0.0.6"
330
  },
331
+ "time": "2020-01-13T16:46:03+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.2.0",
356
  "issues": "https://github.com/vendidero/woocommerce-germanized-dhl/issues"
357
  }
358
  },
359
  {
360
  "name": "vendidero/woocommerce-germanized-shipments",
361
+ "version": "v1.2.0",
362
+ "version_normalized": "1.2.0.0",
363
  "source": {
364
  "type": "git",
365
  "url": "https://github.com/vendidero/woocommerce-germanized-shipments.git",
366
+ "reference": "2670fc006b59b66ccbedadee4d85a7727808fc0a"
367
  },
368
  "dist": {
369
  "type": "zip",
370
+ "url": "https://api.github.com/repos/vendidero/woocommerce-germanized-shipments/zipball/2670fc006b59b66ccbedadee4d85a7727808fc0a",
371
+ "reference": "2670fc006b59b66ccbedadee4d85a7727808fc0a",
372
  "shasum": ""
373
  },
374
  "require": {
379
  "phpunit/phpunit": "6.5.14",
380
  "woocommerce/woocommerce-sniffs": "0.0.6"
381
  },
382
+ "time": "2020-01-13T16:45:34+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.2.0",
405
  "issues": "https://github.com/vendidero/woocommerce-germanized-shipments/issues"
406
  }
407
  },
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.8
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.8';
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.1.0
7
  * Author: Vendidero
8
  * Author URI: https://vendidero.de
9
  * Requires at least: 4.9
63
  *
64
  * @var string
65
  */
66
+ public $version = '3.1.0';
67
 
68
  /**
69
  * @var WooCommerce_Germanized $instance of the plugin