WooCommerce Germanized - Version 1.8.6

Version Description

  • Fix - plugin_locale filter in WC_GZD_Install
  • Fix - Support Parcel Shop Delivery in My Account - Edit Address
  • Fix - Parcel Shop Delivery JS better event check
Download this release

Release Info

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

Code changes from version 1.8.5 to 1.8.6

assets/js/checkout-dhl-parcel-shops.js CHANGED
@@ -123,7 +123,15 @@ jQuery( function( $ ) {
123
  },
124
 
125
  saveParcelFinder: function(e) {
 
126
  var c = JSON.parse( e.originalEvent.data );
 
 
 
 
 
 
 
127
  var country = c.countryCode.toUpperCase();
128
 
129
  $( '.wc-gzd-parcel-finder-shipping-country-error' ).remove();
123
  },
124
 
125
  saveParcelFinder: function(e) {
126
+
127
  var c = JSON.parse( e.originalEvent.data );
128
+
129
+ if ( typeof c !== 'object' )
130
+ return;
131
+
132
+ if ( ! c.countryCode )
133
+ return;
134
+
135
  var country = c.countryCode.toUpperCase();
136
 
137
  $( '.wc-gzd-parcel-finder-shipping-country-error' ).remove();
assets/js/checkout-dhl-parcel-shops.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(function(a){var b={$parcelFinderButtonWrapper:a(wc_gzd_dhl_parcel_shops_params.button_wrapper),$parcelFinderWrapper:a(wc_gzd_dhl_parcel_shops_params.iframe_wrapper),$parcelCheckboxField:a("#shipping_parcelshop_field"),params:wc_gzd_dhl_parcel_shops_params,defaultAddressFieldLabel:"",defaultAddressFieldPlaceholder:"",supportedCountries:[],init:function(){b.params.enable_finder&&this.initParcelFinder(),this.initDefaultData(),this.$parcelCheckboxField.on("change","#shipping_parcelshop",this.parcelCheckboxChanged),a(document).on("change","#shipping_country",this.shippingCountryChanged),this.parcelCheckboxChanged(!0)},initDefaultData:function(){this.supportedCountries=this.params.supported_countries,this.defaultAddressFieldLabel=a("#shipping_address_1_field").find("label").contents().filter(function(){return 3==this.nodeType}).text(),this.defaultAddressFieldPlaceholder=a("#shipping_address_1").attr("placeholder")},shippingCountryChanged:function(){var c=a("#shipping_country").val();-1!==a.inArray(c,b.params.supported_countries)?b.$parcelCheckboxField.show():(a("#shipping_parcelshop").prop("checked",!1),b.$parcelCheckboxField.hide()),b.parcelCheckboxChanged(!1)},parcelCheckboxChanged:function(c){("undefined"==typeof c||"boolean"!==a.type(c))&&(c=!1);var d=a("#shipping_address_1_field").find("label");a("#shipping_parcelshop").is(":checked")?(b.showFinderButton(),!c&&b.$parcelCheckboxField.hasClass("first-check")?(a("#shipping_address_1").val(""),b.$parcelCheckboxField.removeClass("first-check")):c&&b.$parcelCheckboxField.removeClass("first-check"),a("#shipping_parcelshop_post_number_field").show(),d.contents().filter(function(){return 3==this.nodeType}).first().replaceWith(b.params.address_field_title+" "),a("#shipping_address_1").attr("placeholder",b.params.address_field_placeholder),"DE"===a("#shipping_country").val()?(a("#shipping_address_2").val(""),a("#shipping_address_2").hide()):a("#shipping_address_2").show()):(b.hideFinderButton(),d.contents().filter(function(){return 3==this.nodeType}).first().replaceWith(b.defaultAddressFieldLabel),a("#shipping_address_1").attr("placeholder",b.defaultAddressFieldPlaceholder),a("#shipping_parcelshop_post_number_field").hide())},initParcelFinder:function(){this.$parcelFinderButtonWrapper.hide(),this.$parcelFinderWrapper.find("#wc-gzd-parcel-finder-background-overlay").hide(),this.$parcelFinderWrapper.on("click","#wc-gzd-parcel-finder-background-overlay",this.closeParcelFinder),this.$parcelFinderWrapper.on("click","#wc-gzd-parcel-finder-close-btn",this.closeParcelFinder),this.$parcelFinderButtonWrapper.on("click",".wc-gzd-parcel-finder-open-button",this.openParcelFinder),a(window).on("message",this.saveParcelFinder)},showFinderButton:function(){b.params.enable_finder&&b.$parcelFinderButtonWrapper.show()},hideFinderButton:function(){b.params.enable_finder&&b.$parcelFinderButtonWrapper.hide()},saveParcelFinder:function(c){var d=JSON.parse(c.originalEvent.data),e=d.countryCode.toUpperCase();a(".wc-gzd-parcel-finder-shipping-country-error").remove(),-1!==a.inArray(e,b.supportedCountries)?(a("#shipping_country").val(d.countryCode.toUpperCase()).trigger("change"),a("#shipping_address_1").val(d.keyWord+" "+d.primaryKeyZipRegion),a("#shipping_address_2").val(d.street+" "+d.houseNo),a("#shipping_city").val(d.city),a("#shipping_postcode").val(d.zipCode)):(a(".woocommerce-error").length>0?a(".woocommerce-error").append('<li class="wc-gzd-parcel-finder-shipping-country-error">'+b.params.shipping_country_error+"</li>"):a("form.woocommerce-checkout").prepend('<ul class="woocommerce-error wc-gzd-parcel-finder-shipping-country-error"><li>'+b.params.shipping_country_error+"</li></ul>"),a("html, body").animate({scrollTop:a("form.checkout").offset().top-100},1e3)),"de"===d.countryCode&&a("#shipping_address_2").val(""),b.closeParcelFinder()},openParcelFinder:function(){return b.$parcelFinderWrapper.find("iframe").attr("src",b.params.iframe_src),b.$parcelFinderWrapper.find("#wc-gzd-parcel-finder-background-overlay").show(),!1},closeParcelFinder:function(){b.$parcelFinderWrapper.find("#wc-gzd-parcel-finder-background-overlay").hide()}};b.init()});
1
+ jQuery(function(a){var b={$parcelFinderButtonWrapper:a(wc_gzd_dhl_parcel_shops_params.button_wrapper),$parcelFinderWrapper:a(wc_gzd_dhl_parcel_shops_params.iframe_wrapper),$parcelCheckboxField:a("#shipping_parcelshop_field"),params:wc_gzd_dhl_parcel_shops_params,defaultAddressFieldLabel:"",defaultAddressFieldPlaceholder:"",supportedCountries:[],init:function(){b.params.enable_finder&&this.initParcelFinder(),this.initDefaultData(),this.$parcelCheckboxField.on("change","#shipping_parcelshop",this.parcelCheckboxChanged),a(document).on("change","#shipping_country",this.shippingCountryChanged),this.parcelCheckboxChanged(!0)},initDefaultData:function(){this.supportedCountries=this.params.supported_countries,this.defaultAddressFieldLabel=a("#shipping_address_1_field").find("label").contents().filter(function(){return 3==this.nodeType}).text(),this.defaultAddressFieldPlaceholder=a("#shipping_address_1").attr("placeholder")},shippingCountryChanged:function(){var c=a("#shipping_country").val();-1!==a.inArray(c,b.params.supported_countries)?b.$parcelCheckboxField.show():(a("#shipping_parcelshop").prop("checked",!1),b.$parcelCheckboxField.hide()),b.parcelCheckboxChanged(!1)},parcelCheckboxChanged:function(c){("undefined"==typeof c||"boolean"!==a.type(c))&&(c=!1);var d=a("#shipping_address_1_field").find("label");a("#shipping_parcelshop").is(":checked")?(b.showFinderButton(),!c&&b.$parcelCheckboxField.hasClass("first-check")?(a("#shipping_address_1").val(""),b.$parcelCheckboxField.removeClass("first-check")):c&&b.$parcelCheckboxField.removeClass("first-check"),a("#shipping_parcelshop_post_number_field").show(),d.contents().filter(function(){return 3==this.nodeType}).first().replaceWith(b.params.address_field_title+" "),a("#shipping_address_1").attr("placeholder",b.params.address_field_placeholder),"DE"===a("#shipping_country").val()?(a("#shipping_address_2").val(""),a("#shipping_address_2").hide()):a("#shipping_address_2").show()):(b.hideFinderButton(),d.contents().filter(function(){return 3==this.nodeType}).first().replaceWith(b.defaultAddressFieldLabel),a("#shipping_address_1").attr("placeholder",b.defaultAddressFieldPlaceholder),a("#shipping_parcelshop_post_number_field").hide())},initParcelFinder:function(){this.$parcelFinderButtonWrapper.hide(),this.$parcelFinderWrapper.find("#wc-gzd-parcel-finder-background-overlay").hide(),this.$parcelFinderWrapper.on("click","#wc-gzd-parcel-finder-background-overlay",this.closeParcelFinder),this.$parcelFinderWrapper.on("click","#wc-gzd-parcel-finder-close-btn",this.closeParcelFinder),this.$parcelFinderButtonWrapper.on("click",".wc-gzd-parcel-finder-open-button",this.openParcelFinder),a(window).on("message",this.saveParcelFinder)},showFinderButton:function(){b.params.enable_finder&&b.$parcelFinderButtonWrapper.show()},hideFinderButton:function(){b.params.enable_finder&&b.$parcelFinderButtonWrapper.hide()},saveParcelFinder:function(c){var d=JSON.parse(c.originalEvent.data);if("object"==typeof d&&d.countryCode){var e=d.countryCode.toUpperCase();a(".wc-gzd-parcel-finder-shipping-country-error").remove(),-1!==a.inArray(e,b.supportedCountries)?(a("#shipping_country").val(d.countryCode.toUpperCase()).trigger("change"),a("#shipping_address_1").val(d.keyWord+" "+d.primaryKeyZipRegion),a("#shipping_address_2").val(d.street+" "+d.houseNo),a("#shipping_city").val(d.city),a("#shipping_postcode").val(d.zipCode)):(a(".woocommerce-error").length>0?a(".woocommerce-error").append('<li class="wc-gzd-parcel-finder-shipping-country-error">'+b.params.shipping_country_error+"</li>"):a("form.woocommerce-checkout").prepend('<ul class="woocommerce-error wc-gzd-parcel-finder-shipping-country-error"><li>'+b.params.shipping_country_error+"</li></ul>"),a("html, body").animate({scrollTop:a("form.checkout").offset().top-100},1e3)),"de"===d.countryCode&&a("#shipping_address_2").val(""),b.closeParcelFinder()}},openParcelFinder:function(){return b.$parcelFinderWrapper.find("iframe").attr("src",b.params.iframe_src),b.$parcelFinderWrapper.find("#wc-gzd-parcel-finder-background-overlay").show(),!1},closeParcelFinder:function(){b.$parcelFinderWrapper.find("#wc-gzd-parcel-finder-background-overlay").hide()}};b.init()});
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 v1.5.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2017-03-17 16:31+0100\n"
6
- "PO-Revision-Date: 2017-03-17 18:37+0100\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "Language: de_DE\n"
@@ -20,6 +20,9 @@ msgstr ""
20
  "X-Textdomain-Support: yes\n"
21
  "X-Poedit-SearchPath-0: .\n"
22
  "X-Poedit-SearchPathExcluded-0: node_modules\n"
 
 
 
23
 
24
  #: i18n/labels.php:16
25
  msgid "RRP: "
@@ -91,7 +94,8 @@ msgstr "l"
91
  # @ woocommerce-germanized
92
  #: includes/abstracts/abstract-wc-gzd-product.php:215
93
  #: includes/compatibility/class-wc-gzd-compatibility-woocommerce-subscriptions.php:72
94
- #: includes/wc-gzd-cart-functions.php:269 woocommerce-germanized.php:740
 
95
  msgid "incl. VAT"
96
  msgstr "inkl. MwSt."
97
 
@@ -103,7 +107,7 @@ msgstr "exkl. MwSt."
103
  # @ woocommerce-germanized
104
  #: includes/abstracts/abstract-wc-gzd-product.php:217
105
  #: includes/compatibility/class-wc-gzd-compatibility-woocommerce-subscriptions.php:72
106
- #: includes/wc-gzd-cart-functions.php:269 woocommerce-germanized.php:740
107
  #, php-format
108
  msgid "incl. %s%% VAT"
109
  msgstr "inkl. %s%% MwSt."
@@ -136,8 +140,8 @@ msgstr "Ja, Kunde wurde per Double Opt-In bestätigt."
136
  #: includes/class-wc-gzd-dependencies.php:54
137
  #: includes/class-wc-gzd-dependencies.php:63
138
  #: includes/class-wc-gzd-hook-priorities.php:33
139
- #: includes/class-wc-gzd-hook-priorities.php:42 woocommerce-germanized.php:88
140
- #: woocommerce-germanized.php:97
141
  msgid "Cheatin&#8217; huh?"
142
  msgstr "So geht das leider nicht.."
143
 
@@ -145,7 +149,7 @@ msgstr "So geht das leider nicht.."
145
  #: includes/admin/class-wc-gzd-admin-status.php:38
146
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:139
147
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:225
148
- #: includes/wc-gzd-core-functions.php:53
149
  msgid "Terms & Conditions"
150
  msgstr "AGB"
151
 
@@ -159,7 +163,7 @@ msgstr "Widerrufsbelehrung"
159
  #: includes/admin/class-wc-gzd-admin-status.php:40
160
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:139
161
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:247
162
- #: includes/wc-gzd-core-functions.php:59
163
  msgid "Imprint"
164
  msgstr "Impressum"
165
 
@@ -194,7 +198,7 @@ msgid "Welcome to WooCommerce Germanized"
194
  msgstr "Willkommen bei WooCommerce Germanized"
195
 
196
  # @ woocommerce-germanized
197
- #: includes/admin/class-wc-gzd-admin-welcome.php:303
198
  msgid "Go to WooCommerce Germanized Settings"
199
  msgstr "zu den WooCommerce Germanized Einstellungen"
200
 
@@ -1140,7 +1144,7 @@ msgstr "Tagen"
1140
 
1141
  # @ woocommerce-germanized
1142
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:525
1143
- #: includes/wc-gzd-core-functions.php:56
1144
  msgid "Right of Recission"
1145
  msgstr "Widerrufsrecht"
1146
 
@@ -1534,7 +1538,7 @@ msgstr ""
1534
  "bzw. Paketshops aktivieren möchtest."
1535
 
1536
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:908
1537
- #: includes/class-wc-gzd-dhl-parcel-shops.php:237
1538
  msgid "Parcel Shop Finder"
1539
  msgstr "Paketshop finden"
1540
 
@@ -2074,7 +2078,7 @@ msgstr ""
2074
  "den Titel der Versandmethoden einzubetten."
2075
 
2076
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:1127
2077
- #: includes/wc-gzd-cart-functions.php:388
2078
  msgid ""
2079
  "Yes, I would like to be reminded via E-mail about parcel delivery "
2080
  "({shipping_method_title}). Your E-mail Address will only be transferred to "
@@ -2720,8 +2724,8 @@ msgstr "jetzt upgraden"
2720
  # @ woocommerce
2721
  #: includes/api/class-wc-gzd-rest-customers-controller.php:85
2722
  #: includes/api/class-wc-gzd-rest-customers-controller.php:92
2723
- #: includes/api/class-wc-gzd-rest-orders-controller.php:87
2724
- #: includes/api/class-wc-gzd-rest-orders-controller.php:94
2725
  #: includes/class-wc-gzd-checkout.php:256
2726
  #: includes/class-wc-gzd-checkout.php:266
2727
  #: includes/class-wc-gzd-customer-helper.php:84
@@ -2731,7 +2735,7 @@ msgstr "Anrede"
2731
 
2732
  # @ woocommerce-germanized
2733
  #: includes/api/class-wc-gzd-rest-customers-controller.php:113
2734
- #: includes/api/class-wc-gzd-rest-orders-controller.php:122
2735
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:26
2736
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:486
2737
  #: includes/gateways/direct-debit/views/html-export.php:27
@@ -2740,7 +2744,7 @@ msgstr "Lastschrift"
2740
 
2741
  # @ woocommerce-germanized
2742
  #: includes/api/class-wc-gzd-rest-customers-controller.php:118
2743
- #: includes/api/class-wc-gzd-rest-orders-controller.php:127
2744
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:280
2745
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:303
2746
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:512
@@ -2750,7 +2754,7 @@ msgstr "Kontoinhaber"
2750
 
2751
  # @ woocommerce-germanized
2752
  #: includes/api/class-wc-gzd-rest-customers-controller.php:123
2753
- #: includes/api/class-wc-gzd-rest-orders-controller.php:132
2754
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:281
2755
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:310
2756
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:520
@@ -2761,7 +2765,7 @@ msgstr "IBAN"
2761
 
2762
  # @ woocommerce-germanized
2763
  #: includes/api/class-wc-gzd-rest-customers-controller.php:128
2764
- #: includes/api/class-wc-gzd-rest-orders-controller.php:137
2765
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:282
2766
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:317
2767
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:648
@@ -2769,12 +2773,27 @@ msgstr "IBAN"
2769
  msgid "BIC/SWIFT"
2770
  msgstr "BIC/SWIFT"
2771
 
2772
- #: includes/api/class-wc-gzd-rest-orders-controller.php:101
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2773
  msgid "Parcel Delivery Data Transfer"
2774
  msgstr "Paketdienstleister Datenweitergabe"
2775
 
2776
  # @ woocommerce-germanized
2777
- #: includes/api/class-wc-gzd-rest-orders-controller.php:142
2778
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:286
2779
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:324
2780
  msgid "Mandate Reference ID"
@@ -3022,35 +3041,29 @@ msgstr "Vielen Dank. Dein Benutzerkonto wurde erfolgreich aktiviert."
3022
  msgid "Sorry, but this activation code cannot be found."
3023
  msgstr "Sorry, dieser Aktivierungscode ist uns leider nicht bekannt."
3024
 
3025
- #: includes/class-wc-gzd-dhl-parcel-shops.php:99
3026
  msgid "Send to DHL Parcel Shop?"
3027
  msgstr "An DHL Paketshop oder Packstation senden?"
3028
 
3029
- #: includes/class-wc-gzd-dhl-parcel-shops.php:108
3030
- #: includes/class-wc-gzd-dhl-parcel-shops.php:127
3031
- #: includes/class-wc-gzd-dhl-parcel-shops.php:141
3032
- msgid "Postnumber"
3033
- msgstr "PostNummer"
3034
-
3035
- #: includes/class-wc-gzd-dhl-parcel-shops.php:120
3036
  msgid "DHL Parcel Shop?"
3037
  msgstr "DHL Paketshop/Packstation?"
3038
 
3039
- #: includes/class-wc-gzd-dhl-parcel-shops.php:122
3040
  msgid "No"
3041
  msgstr "Nein"
3042
 
3043
- #: includes/class-wc-gzd-dhl-parcel-shops.php:122
3044
  msgid "Yes"
3045
  msgstr "Ja"
3046
 
3047
- #: includes/class-wc-gzd-dhl-parcel-shops.php:123
3048
  msgid "Select whether delivery to parcel shop should be enabled."
3049
  msgstr ""
3050
  "Wähle aus ob die Lieferung an DHL Paketshops bzw. Packstationen aktiviert "
3051
  "werden soll."
3052
 
3053
- #: includes/class-wc-gzd-dhl-parcel-shops.php:129
3054
  msgid ""
3055
  "In case delivery to parcel shop is enabled please fill in the corresponding "
3056
  "DHL post number."
@@ -3058,18 +3071,12 @@ msgstr ""
3058
  "Wenn die Lieferung an eine DHL Packstation aktiviert wurde, trage bitte die "
3059
  "PostNummer ein."
3060
 
3061
- #: includes/class-wc-gzd-dhl-parcel-shops.php:162
3062
- #: includes/class-wc-gzd-dhl-parcel-shops.php:213
3063
- #: includes/class-wc-gzd-dhl-parcel-shops.php:214
3064
- msgid "Parcel Shop"
3065
- msgstr "Shop/Packstation"
3066
-
3067
- #: includes/class-wc-gzd-dhl-parcel-shops.php:181
3068
  msgid "Your PostNumber should contain numbers only"
3069
  msgstr "Deine PostNummer sollte nur aus Zahlen bestehen."
3070
 
3071
- #: includes/class-wc-gzd-dhl-parcel-shops.php:187
3072
- #: includes/class-wc-gzd-dhl-parcel-shops.php:220
3073
  #, php-format
3074
  msgid "Parcel Shop Delivery is only supported in: %s."
3075
  msgstr ""
@@ -3194,73 +3201,73 @@ msgstr ""
3194
  "WooCommerce Germanized installierst. Vielen Dank!"
3195
 
3196
  # @ woocommerce-germanized
3197
- #: includes/class-wc-gzd-install.php:465
3198
  msgctxt "Page slug"
3199
  msgid "data-security"
3200
  msgstr "datenschutzbelehrung"
3201
 
3202
  # @ woocommerce-germanized
3203
- #: includes/class-wc-gzd-install.php:466
3204
  msgctxt "Page title"
3205
  msgid "Data Security Statement"
3206
  msgstr "Datenschutzbelehrung"
3207
 
3208
  # @ woocommerce-germanized
3209
- #: includes/class-wc-gzd-install.php:470
3210
  msgctxt "Page slug"
3211
  msgid "imprint"
3212
  msgstr "impressum"
3213
 
3214
  # @ woocommerce-germanized
3215
- #: includes/class-wc-gzd-install.php:471
3216
  msgctxt "Page title"
3217
  msgid "Imprint"
3218
  msgstr "Impressum"
3219
 
3220
  # @ woocommerce-germanized
3221
- #: includes/class-wc-gzd-install.php:475
3222
  msgctxt "Page slug"
3223
  msgid "terms"
3224
  msgstr "agb"
3225
 
3226
  # @ woocommerce-germanized
3227
- #: includes/class-wc-gzd-install.php:476
3228
  msgctxt "Page title"
3229
  msgid "Terms & Conditions"
3230
  msgstr "AGB"
3231
 
3232
  # @ woocommerce-germanized
3233
- #: includes/class-wc-gzd-install.php:480
3234
  msgctxt "Page slug"
3235
  msgid "revocation"
3236
  msgstr "widerrufsbelehrung"
3237
 
3238
  # @ woocommerce-germanized
3239
- #: includes/class-wc-gzd-install.php:481
3240
  msgctxt "Page title"
3241
  msgid "Power of Revocation"
3242
  msgstr "Widerrufsbelehrung"
3243
 
3244
  # @ woocommerce-germanized
3245
- #: includes/class-wc-gzd-install.php:485
3246
  msgctxt "Page slug"
3247
  msgid "shipping-methods"
3248
  msgstr "versandarten"
3249
 
3250
  # @ woocommerce-germanized
3251
- #: includes/class-wc-gzd-install.php:486
3252
  msgctxt "Page title"
3253
  msgid "Shipping Methods"
3254
  msgstr "Versandarten"
3255
 
3256
  # @ woocommerce-germanized
3257
- #: includes/class-wc-gzd-install.php:490
3258
  msgctxt "Page slug"
3259
  msgid "payment-methods"
3260
  msgstr "bezahlmoeglichkeiten"
3261
 
3262
  # @ woocommerce-germanized
3263
- #: includes/class-wc-gzd-install.php:491
3264
  msgctxt "Page title"
3265
  msgid "Payment Methods"
3266
  msgstr "Zahlungsarten"
@@ -3318,7 +3325,7 @@ msgstr ""
3318
  "kassiert - z.B. DHL (steuerfrei)."
3319
 
3320
  # @ woocommerce-germanized
3321
- #: includes/class-wc-gzd-payment-gateways.php:177
3322
  msgid "Payment charge"
3323
  msgstr "Zahlungsgebühr"
3324
 
@@ -4090,7 +4097,7 @@ msgstr ""
4090
  # @ woocommerce-germanized
4091
  # @ woocommerce
4092
  #: includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:50
4093
- #: woocommerce-germanized.php:548
4094
  msgid "Settings"
4095
  msgstr "Einstellungen"
4096
 
@@ -4755,12 +4762,12 @@ msgstr ""
4755
  "Widerrufsrecht mit dem Zugang erlischt."
4756
 
4757
  # @ woocommerce-germanized
4758
- #: includes/wc-gzd-core-functions.php:62
4759
  msgid "Data Security"
4760
  msgstr "Datenschutzbelehrung"
4761
 
4762
  # @ woocommerce-germanized
4763
- #: includes/wc-gzd-core-functions.php:90
4764
  msgid ""
4765
  "Because of the small business owner state according to &#167; 19 UStG the "
4766
  "seller does not levy nor state the German value added tax."
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Germanized v1.5.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-03-24 09:39+0100\n"
6
+ "PO-Revision-Date: 2017-03-24 09:39+0100\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "Language: de_DE\n"
20
  "X-Textdomain-Support: yes\n"
21
  "X-Poedit-SearchPath-0: .\n"
22
  "X-Poedit-SearchPathExcluded-0: node_modules\n"
23
+ "X-Poedit-SearchPathExcluded-1: tests\n"
24
+ "X-Poedit-SearchPathExcluded-2: tmp\n"
25
+ "X-Poedit-SearchPathExcluded-3: vendor\n"
26
 
27
  #: i18n/labels.php:16
28
  msgid "RRP: "
94
  # @ woocommerce-germanized
95
  #: includes/abstracts/abstract-wc-gzd-product.php:215
96
  #: includes/compatibility/class-wc-gzd-compatibility-woocommerce-subscriptions.php:72
97
+ #: includes/wc-gzd-cart-functions.php:269
98
+ #: includes/wc-gzd-template-functions.php:576 woocommerce-germanized.php:768
99
  msgid "incl. VAT"
100
  msgstr "inkl. MwSt."
101
 
107
  # @ woocommerce-germanized
108
  #: includes/abstracts/abstract-wc-gzd-product.php:217
109
  #: includes/compatibility/class-wc-gzd-compatibility-woocommerce-subscriptions.php:72
110
+ #: includes/wc-gzd-cart-functions.php:269 woocommerce-germanized.php:768
111
  #, php-format
112
  msgid "incl. %s%% VAT"
113
  msgstr "inkl. %s%% MwSt."
140
  #: includes/class-wc-gzd-dependencies.php:54
141
  #: includes/class-wc-gzd-dependencies.php:63
142
  #: includes/class-wc-gzd-hook-priorities.php:33
143
+ #: includes/class-wc-gzd-hook-priorities.php:42 woocommerce-germanized.php:90
144
+ #: woocommerce-germanized.php:99
145
  msgid "Cheatin&#8217; huh?"
146
  msgstr "So geht das leider nicht.."
147
 
149
  #: includes/admin/class-wc-gzd-admin-status.php:38
150
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:139
151
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:225
152
+ #: includes/wc-gzd-core-functions.php:57
153
  msgid "Terms & Conditions"
154
  msgstr "AGB"
155
 
163
  #: includes/admin/class-wc-gzd-admin-status.php:40
164
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:139
165
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:247
166
+ #: includes/wc-gzd-core-functions.php:63
167
  msgid "Imprint"
168
  msgstr "Impressum"
169
 
198
  msgstr "Willkommen bei WooCommerce Germanized"
199
 
200
  # @ woocommerce-germanized
201
+ #: includes/admin/class-wc-gzd-admin-welcome.php:309
202
  msgid "Go to WooCommerce Germanized Settings"
203
  msgstr "zu den WooCommerce Germanized Einstellungen"
204
 
1144
 
1145
  # @ woocommerce-germanized
1146
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:525
1147
+ #: includes/wc-gzd-core-functions.php:60
1148
  msgid "Right of Recission"
1149
  msgstr "Widerrufsrecht"
1150
 
1538
  "bzw. Paketshops aktivieren möchtest."
1539
 
1540
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:908
1541
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:291
1542
  msgid "Parcel Shop Finder"
1543
  msgstr "Paketshop finden"
1544
 
2078
  "den Titel der Versandmethoden einzubetten."
2079
 
2080
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:1127
2081
+ #: includes/wc-gzd-cart-functions.php:396
2082
  msgid ""
2083
  "Yes, I would like to be reminded via E-mail about parcel delivery "
2084
  "({shipping_method_title}). Your E-mail Address will only be transferred to "
2724
  # @ woocommerce
2725
  #: includes/api/class-wc-gzd-rest-customers-controller.php:85
2726
  #: includes/api/class-wc-gzd-rest-customers-controller.php:92
2727
+ #: includes/api/class-wc-gzd-rest-orders-controller.php:100
2728
+ #: includes/api/class-wc-gzd-rest-orders-controller.php:107
2729
  #: includes/class-wc-gzd-checkout.php:256
2730
  #: includes/class-wc-gzd-checkout.php:266
2731
  #: includes/class-wc-gzd-customer-helper.php:84
2735
 
2736
  # @ woocommerce-germanized
2737
  #: includes/api/class-wc-gzd-rest-customers-controller.php:113
2738
+ #: includes/api/class-wc-gzd-rest-orders-controller.php:147
2739
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:26
2740
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:486
2741
  #: includes/gateways/direct-debit/views/html-export.php:27
2744
 
2745
  # @ woocommerce-germanized
2746
  #: includes/api/class-wc-gzd-rest-customers-controller.php:118
2747
+ #: includes/api/class-wc-gzd-rest-orders-controller.php:152
2748
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:280
2749
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:303
2750
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:512
2754
 
2755
  # @ woocommerce-germanized
2756
  #: includes/api/class-wc-gzd-rest-customers-controller.php:123
2757
+ #: includes/api/class-wc-gzd-rest-orders-controller.php:157
2758
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:281
2759
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:310
2760
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:520
2765
 
2766
  # @ woocommerce-germanized
2767
  #: includes/api/class-wc-gzd-rest-customers-controller.php:128
2768
+ #: includes/api/class-wc-gzd-rest-orders-controller.php:162
2769
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:282
2770
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:317
2771
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:648
2773
  msgid "BIC/SWIFT"
2774
  msgstr "BIC/SWIFT"
2775
 
2776
+ #: includes/api/class-wc-gzd-rest-orders-controller.php:114
2777
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:187
2778
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:214
2779
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:268
2780
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:269
2781
+ msgid "Parcel Shop"
2782
+ msgstr "Shop/Packstation"
2783
+
2784
+ #: includes/api/class-wc-gzd-rest-orders-controller.php:120
2785
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:114
2786
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:133
2787
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:147
2788
+ msgid "Postnumber"
2789
+ msgstr "PostNummer"
2790
+
2791
+ #: includes/api/class-wc-gzd-rest-orders-controller.php:126
2792
  msgid "Parcel Delivery Data Transfer"
2793
  msgstr "Paketdienstleister Datenweitergabe"
2794
 
2795
  # @ woocommerce-germanized
2796
+ #: includes/api/class-wc-gzd-rest-orders-controller.php:167
2797
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:286
2798
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:324
2799
  msgid "Mandate Reference ID"
3041
  msgid "Sorry, but this activation code cannot be found."
3042
  msgstr "Sorry, dieser Aktivierungscode ist uns leider nicht bekannt."
3043
 
3044
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:105
3045
  msgid "Send to DHL Parcel Shop?"
3046
  msgstr "An DHL Paketshop oder Packstation senden?"
3047
 
3048
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:126
 
 
 
 
 
 
3049
  msgid "DHL Parcel Shop?"
3050
  msgstr "DHL Paketshop/Packstation?"
3051
 
3052
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:128
3053
  msgid "No"
3054
  msgstr "Nein"
3055
 
3056
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:128
3057
  msgid "Yes"
3058
  msgstr "Ja"
3059
 
3060
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:129
3061
  msgid "Select whether delivery to parcel shop should be enabled."
3062
  msgstr ""
3063
  "Wähle aus ob die Lieferung an DHL Paketshops bzw. Packstationen aktiviert "
3064
  "werden soll."
3065
 
3066
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:135
3067
  msgid ""
3068
  "In case delivery to parcel shop is enabled please fill in the corresponding "
3069
  "DHL post number."
3071
  "Wenn die Lieferung an eine DHL Packstation aktiviert wurde, trage bitte die "
3072
  "PostNummer ein."
3073
 
3074
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:234
 
 
 
 
 
 
3075
  msgid "Your PostNumber should contain numbers only"
3076
  msgstr "Deine PostNummer sollte nur aus Zahlen bestehen."
3077
 
3078
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:240
3079
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:275
3080
  #, php-format
3081
  msgid "Parcel Shop Delivery is only supported in: %s."
3082
  msgstr ""
3201
  "WooCommerce Germanized installierst. Vielen Dank!"
3202
 
3203
  # @ woocommerce-germanized
3204
+ #: includes/class-wc-gzd-install.php:466
3205
  msgctxt "Page slug"
3206
  msgid "data-security"
3207
  msgstr "datenschutzbelehrung"
3208
 
3209
  # @ woocommerce-germanized
3210
+ #: includes/class-wc-gzd-install.php:467
3211
  msgctxt "Page title"
3212
  msgid "Data Security Statement"
3213
  msgstr "Datenschutzbelehrung"
3214
 
3215
  # @ woocommerce-germanized
3216
+ #: includes/class-wc-gzd-install.php:471
3217
  msgctxt "Page slug"
3218
  msgid "imprint"
3219
  msgstr "impressum"
3220
 
3221
  # @ woocommerce-germanized
3222
+ #: includes/class-wc-gzd-install.php:472
3223
  msgctxt "Page title"
3224
  msgid "Imprint"
3225
  msgstr "Impressum"
3226
 
3227
  # @ woocommerce-germanized
3228
+ #: includes/class-wc-gzd-install.php:476
3229
  msgctxt "Page slug"
3230
  msgid "terms"
3231
  msgstr "agb"
3232
 
3233
  # @ woocommerce-germanized
3234
+ #: includes/class-wc-gzd-install.php:477
3235
  msgctxt "Page title"
3236
  msgid "Terms & Conditions"
3237
  msgstr "AGB"
3238
 
3239
  # @ woocommerce-germanized
3240
+ #: includes/class-wc-gzd-install.php:481
3241
  msgctxt "Page slug"
3242
  msgid "revocation"
3243
  msgstr "widerrufsbelehrung"
3244
 
3245
  # @ woocommerce-germanized
3246
+ #: includes/class-wc-gzd-install.php:482
3247
  msgctxt "Page title"
3248
  msgid "Power of Revocation"
3249
  msgstr "Widerrufsbelehrung"
3250
 
3251
  # @ woocommerce-germanized
3252
+ #: includes/class-wc-gzd-install.php:486
3253
  msgctxt "Page slug"
3254
  msgid "shipping-methods"
3255
  msgstr "versandarten"
3256
 
3257
  # @ woocommerce-germanized
3258
+ #: includes/class-wc-gzd-install.php:487
3259
  msgctxt "Page title"
3260
  msgid "Shipping Methods"
3261
  msgstr "Versandarten"
3262
 
3263
  # @ woocommerce-germanized
3264
+ #: includes/class-wc-gzd-install.php:491
3265
  msgctxt "Page slug"
3266
  msgid "payment-methods"
3267
  msgstr "bezahlmoeglichkeiten"
3268
 
3269
  # @ woocommerce-germanized
3270
+ #: includes/class-wc-gzd-install.php:492
3271
  msgctxt "Page title"
3272
  msgid "Payment Methods"
3273
  msgstr "Zahlungsarten"
3325
  "kassiert - z.B. DHL (steuerfrei)."
3326
 
3327
  # @ woocommerce-germanized
3328
+ #: includes/class-wc-gzd-payment-gateways.php:183
3329
  msgid "Payment charge"
3330
  msgstr "Zahlungsgebühr"
3331
 
4097
  # @ woocommerce-germanized
4098
  # @ woocommerce
4099
  #: includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:50
4100
+ #: woocommerce-germanized.php:562
4101
  msgid "Settings"
4102
  msgstr "Einstellungen"
4103
 
4762
  "Widerrufsrecht mit dem Zugang erlischt."
4763
 
4764
  # @ woocommerce-germanized
4765
+ #: includes/wc-gzd-core-functions.php:66
4766
  msgid "Data Security"
4767
  msgstr "Datenschutzbelehrung"
4768
 
4769
  # @ woocommerce-germanized
4770
+ #: includes/wc-gzd-core-functions.php:94
4771
  msgid ""
4772
  "Because of the small business owner state according to &#167; 19 UStG the "
4773
  "seller does not levy nor state the German value added tax."
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 v1.5.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2017-03-17 17:56+0100\n"
6
- "PO-Revision-Date: 2017-03-17 18:37+0100\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "Language: de_DE\n"
@@ -20,6 +20,9 @@ msgstr ""
20
  "X-Textdomain-Support: yes\n"
21
  "X-Poedit-SearchPath-0: .\n"
22
  "X-Poedit-SearchPathExcluded-0: node_modules\n"
 
 
 
23
 
24
  #: i18n/labels.php:16
25
  msgid "RRP: "
@@ -91,7 +94,8 @@ msgstr "l"
91
  # @ woocommerce-germanized
92
  #: includes/abstracts/abstract-wc-gzd-product.php:215
93
  #: includes/compatibility/class-wc-gzd-compatibility-woocommerce-subscriptions.php:72
94
- #: includes/wc-gzd-cart-functions.php:269 woocommerce-germanized.php:740
 
95
  msgid "incl. VAT"
96
  msgstr "inkl. MwSt."
97
 
@@ -103,7 +107,7 @@ msgstr "exkl. MwSt."
103
  # @ woocommerce-germanized
104
  #: includes/abstracts/abstract-wc-gzd-product.php:217
105
  #: includes/compatibility/class-wc-gzd-compatibility-woocommerce-subscriptions.php:72
106
- #: includes/wc-gzd-cart-functions.php:269 woocommerce-germanized.php:740
107
  #, php-format
108
  msgid "incl. %s%% VAT"
109
  msgstr "inkl. %s%% MwSt."
@@ -136,8 +140,8 @@ msgstr "Ja, Kunde wurde per Double Opt-In bestätigt."
136
  #: includes/class-wc-gzd-dependencies.php:54
137
  #: includes/class-wc-gzd-dependencies.php:63
138
  #: includes/class-wc-gzd-hook-priorities.php:33
139
- #: includes/class-wc-gzd-hook-priorities.php:42 woocommerce-germanized.php:88
140
- #: woocommerce-germanized.php:97
141
  msgid "Cheatin&#8217; huh?"
142
  msgstr "So geht das leider nicht.."
143
 
@@ -145,7 +149,7 @@ msgstr "So geht das leider nicht.."
145
  #: includes/admin/class-wc-gzd-admin-status.php:38
146
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:139
147
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:225
148
- #: includes/wc-gzd-core-functions.php:53
149
  msgid "Terms & Conditions"
150
  msgstr "AGB"
151
 
@@ -159,7 +163,7 @@ msgstr "Widerrufsbelehrung"
159
  #: includes/admin/class-wc-gzd-admin-status.php:40
160
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:139
161
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:247
162
- #: includes/wc-gzd-core-functions.php:59
163
  msgid "Imprint"
164
  msgstr "Impressum"
165
 
@@ -1140,7 +1144,7 @@ msgstr "Tagen"
1140
 
1141
  # @ woocommerce-germanized
1142
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:525
1143
- #: includes/wc-gzd-core-functions.php:56
1144
  msgid "Right of Recission"
1145
  msgstr "Widerrufsrecht"
1146
 
@@ -1534,7 +1538,7 @@ msgstr ""
1534
  "bzw. Paketshops aktivieren möchtest."
1535
 
1536
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:908
1537
- #: includes/class-wc-gzd-dhl-parcel-shops.php:237
1538
  msgid "Parcel Shop Finder"
1539
  msgstr "Paketshop finden"
1540
 
@@ -2075,7 +2079,7 @@ msgstr ""
2075
  "den Titel der Versandmethoden einzubetten."
2076
 
2077
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:1127
2078
- #: includes/wc-gzd-cart-functions.php:388
2079
  msgid ""
2080
  "Yes, I would like to be reminded via E-mail about parcel delivery "
2081
  "({shipping_method_title}). Your E-mail Address will only be transferred to "
@@ -2721,8 +2725,8 @@ msgstr "jetzt upgraden"
2721
  # @ woocommerce
2722
  #: includes/api/class-wc-gzd-rest-customers-controller.php:85
2723
  #: includes/api/class-wc-gzd-rest-customers-controller.php:92
2724
- #: includes/api/class-wc-gzd-rest-orders-controller.php:87
2725
- #: includes/api/class-wc-gzd-rest-orders-controller.php:94
2726
  #: includes/class-wc-gzd-checkout.php:256
2727
  #: includes/class-wc-gzd-checkout.php:266
2728
  #: includes/class-wc-gzd-customer-helper.php:84
@@ -2732,7 +2736,7 @@ msgstr "Anrede"
2732
 
2733
  # @ woocommerce-germanized
2734
  #: includes/api/class-wc-gzd-rest-customers-controller.php:113
2735
- #: includes/api/class-wc-gzd-rest-orders-controller.php:122
2736
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:26
2737
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:486
2738
  #: includes/gateways/direct-debit/views/html-export.php:27
@@ -2741,7 +2745,7 @@ msgstr "Lastschrift"
2741
 
2742
  # @ woocommerce-germanized
2743
  #: includes/api/class-wc-gzd-rest-customers-controller.php:118
2744
- #: includes/api/class-wc-gzd-rest-orders-controller.php:127
2745
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:280
2746
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:303
2747
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:512
@@ -2751,7 +2755,7 @@ msgstr "Kontoinhaber"
2751
 
2752
  # @ woocommerce-germanized
2753
  #: includes/api/class-wc-gzd-rest-customers-controller.php:123
2754
- #: includes/api/class-wc-gzd-rest-orders-controller.php:132
2755
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:281
2756
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:310
2757
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:520
@@ -2762,7 +2766,7 @@ msgstr "IBAN"
2762
 
2763
  # @ woocommerce-germanized
2764
  #: includes/api/class-wc-gzd-rest-customers-controller.php:128
2765
- #: includes/api/class-wc-gzd-rest-orders-controller.php:137
2766
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:282
2767
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:317
2768
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:648
@@ -2770,12 +2774,27 @@ msgstr "IBAN"
2770
  msgid "BIC/SWIFT"
2771
  msgstr "BIC/SWIFT"
2772
 
2773
- #: includes/api/class-wc-gzd-rest-orders-controller.php:101
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2774
  msgid "Parcel Delivery Data Transfer"
2775
  msgstr "Paketdienstleister Datenweitergabe"
2776
 
2777
  # @ woocommerce-germanized
2778
- #: includes/api/class-wc-gzd-rest-orders-controller.php:142
2779
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:286
2780
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:324
2781
  msgid "Mandate Reference ID"
@@ -3025,35 +3044,29 @@ msgstr "Vielen Dank. Ihr Benutzerkonto wurde erfolgreich aktiviert."
3025
  msgid "Sorry, but this activation code cannot be found."
3026
  msgstr "Sorry, dieser Aktivierungscode ist uns leider nicht bekannt."
3027
 
3028
- #: includes/class-wc-gzd-dhl-parcel-shops.php:99
3029
  msgid "Send to DHL Parcel Shop?"
3030
  msgstr "An DHL Paketshop oder Packstation senden?"
3031
 
3032
- #: includes/class-wc-gzd-dhl-parcel-shops.php:108
3033
- #: includes/class-wc-gzd-dhl-parcel-shops.php:127
3034
- #: includes/class-wc-gzd-dhl-parcel-shops.php:141
3035
- msgid "Postnumber"
3036
- msgstr "PostNummer"
3037
-
3038
- #: includes/class-wc-gzd-dhl-parcel-shops.php:120
3039
  msgid "DHL Parcel Shop?"
3040
  msgstr "DHL Paketshop/Packstation?"
3041
 
3042
- #: includes/class-wc-gzd-dhl-parcel-shops.php:122
3043
  msgid "No"
3044
  msgstr "Nein"
3045
 
3046
- #: includes/class-wc-gzd-dhl-parcel-shops.php:122
3047
  msgid "Yes"
3048
  msgstr "Ja"
3049
 
3050
- #: includes/class-wc-gzd-dhl-parcel-shops.php:123
3051
  msgid "Select whether delivery to parcel shop should be enabled."
3052
  msgstr ""
3053
  "Wähle aus ob die Lieferung an DHL Paketshops bzw. Packstationen aktiviert "
3054
  "werden soll."
3055
 
3056
- #: includes/class-wc-gzd-dhl-parcel-shops.php:129
3057
  msgid ""
3058
  "In case delivery to parcel shop is enabled please fill in the corresponding "
3059
  "DHL post number."
@@ -3061,18 +3074,12 @@ msgstr ""
3061
  "Wenn die Lieferung an eine DHL Packstation aktiviert wurde, trage bitte die "
3062
  "PostNummer ein."
3063
 
3064
- #: includes/class-wc-gzd-dhl-parcel-shops.php:162
3065
- #: includes/class-wc-gzd-dhl-parcel-shops.php:213
3066
- #: includes/class-wc-gzd-dhl-parcel-shops.php:214
3067
- msgid "Parcel Shop"
3068
- msgstr "Shop/Packstation"
3069
-
3070
- #: includes/class-wc-gzd-dhl-parcel-shops.php:181
3071
  msgid "Your PostNumber should contain numbers only"
3072
  msgstr "Deine PostNummer sollte nur aus Zahlen bestehen."
3073
 
3074
- #: includes/class-wc-gzd-dhl-parcel-shops.php:187
3075
- #: includes/class-wc-gzd-dhl-parcel-shops.php:220
3076
  #, php-format
3077
  msgid "Parcel Shop Delivery is only supported in: %s."
3078
  msgstr ""
@@ -3197,73 +3204,73 @@ msgstr ""
3197
  "WooCommerce Germanized installierst. Vielen Dank!"
3198
 
3199
  # @ woocommerce-germanized
3200
- #: includes/class-wc-gzd-install.php:465
3201
  msgctxt "Page slug"
3202
  msgid "data-security"
3203
  msgstr "datenschutzbelehrung"
3204
 
3205
  # @ woocommerce-germanized
3206
- #: includes/class-wc-gzd-install.php:466
3207
  msgctxt "Page title"
3208
  msgid "Data Security Statement"
3209
  msgstr "Datenschutzbelehrung"
3210
 
3211
  # @ woocommerce-germanized
3212
- #: includes/class-wc-gzd-install.php:470
3213
  msgctxt "Page slug"
3214
  msgid "imprint"
3215
  msgstr "impressum"
3216
 
3217
  # @ woocommerce-germanized
3218
- #: includes/class-wc-gzd-install.php:471
3219
  msgctxt "Page title"
3220
  msgid "Imprint"
3221
  msgstr "Impressum"
3222
 
3223
  # @ woocommerce-germanized
3224
- #: includes/class-wc-gzd-install.php:475
3225
  msgctxt "Page slug"
3226
  msgid "terms"
3227
  msgstr "agb"
3228
 
3229
  # @ woocommerce-germanized
3230
- #: includes/class-wc-gzd-install.php:476
3231
  msgctxt "Page title"
3232
  msgid "Terms & Conditions"
3233
  msgstr "AGB"
3234
 
3235
  # @ woocommerce-germanized
3236
- #: includes/class-wc-gzd-install.php:480
3237
  msgctxt "Page slug"
3238
  msgid "revocation"
3239
  msgstr "widerrufsbelehrung"
3240
 
3241
  # @ woocommerce-germanized
3242
- #: includes/class-wc-gzd-install.php:481
3243
  msgctxt "Page title"
3244
  msgid "Power of Revocation"
3245
  msgstr "Widerrufsbelehrung"
3246
 
3247
  # @ woocommerce-germanized
3248
- #: includes/class-wc-gzd-install.php:485
3249
  msgctxt "Page slug"
3250
  msgid "shipping-methods"
3251
  msgstr "versandarten"
3252
 
3253
  # @ woocommerce-germanized
3254
- #: includes/class-wc-gzd-install.php:486
3255
  msgctxt "Page title"
3256
  msgid "Shipping Methods"
3257
  msgstr "Versandarten"
3258
 
3259
  # @ woocommerce-germanized
3260
- #: includes/class-wc-gzd-install.php:490
3261
  msgctxt "Page slug"
3262
  msgid "payment-methods"
3263
  msgstr "bezahlmoeglichkeiten"
3264
 
3265
  # @ woocommerce-germanized
3266
- #: includes/class-wc-gzd-install.php:491
3267
  msgctxt "Page title"
3268
  msgid "Payment Methods"
3269
  msgstr "Zahlungsarten"
@@ -3321,7 +3328,7 @@ msgstr ""
3321
  "kassiert - z.B. DHL (steuerfrei)."
3322
 
3323
  # @ woocommerce-germanized
3324
- #: includes/class-wc-gzd-payment-gateways.php:177
3325
  msgid "Payment charge"
3326
  msgstr "Zahlungsgebühr"
3327
 
@@ -4093,7 +4100,7 @@ msgstr ""
4093
  # @ woocommerce-germanized
4094
  # @ woocommerce
4095
  #: includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:50
4096
- #: woocommerce-germanized.php:548
4097
  msgid "Settings"
4098
  msgstr "Einstellungen"
4099
 
@@ -4759,12 +4766,12 @@ msgstr ""
4759
  "Widerrufsrecht mit dem Zugang erlischt."
4760
 
4761
  # @ woocommerce-germanized
4762
- #: includes/wc-gzd-core-functions.php:62
4763
  msgid "Data Security"
4764
  msgstr "Datenschutzbelehrung"
4765
 
4766
  # @ woocommerce-germanized
4767
- #: includes/wc-gzd-core-functions.php:90
4768
  msgid ""
4769
  "Because of the small business owner state according to &#167; 19 UStG the "
4770
  "seller does not levy nor state the German value added tax."
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Germanized v1.5.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-03-24 11:47+0100\n"
6
+ "PO-Revision-Date: 2017-03-24 11:47+0100\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "Language: de_DE\n"
20
  "X-Textdomain-Support: yes\n"
21
  "X-Poedit-SearchPath-0: .\n"
22
  "X-Poedit-SearchPathExcluded-0: node_modules\n"
23
+ "X-Poedit-SearchPathExcluded-1: tests\n"
24
+ "X-Poedit-SearchPathExcluded-2: tmp\n"
25
+ "X-Poedit-SearchPathExcluded-3: vendor\n"
26
 
27
  #: i18n/labels.php:16
28
  msgid "RRP: "
94
  # @ woocommerce-germanized
95
  #: includes/abstracts/abstract-wc-gzd-product.php:215
96
  #: includes/compatibility/class-wc-gzd-compatibility-woocommerce-subscriptions.php:72
97
+ #: includes/wc-gzd-cart-functions.php:269
98
+ #: includes/wc-gzd-template-functions.php:576 woocommerce-germanized.php:768
99
  msgid "incl. VAT"
100
  msgstr "inkl. MwSt."
101
 
107
  # @ woocommerce-germanized
108
  #: includes/abstracts/abstract-wc-gzd-product.php:217
109
  #: includes/compatibility/class-wc-gzd-compatibility-woocommerce-subscriptions.php:72
110
+ #: includes/wc-gzd-cart-functions.php:269 woocommerce-germanized.php:768
111
  #, php-format
112
  msgid "incl. %s%% VAT"
113
  msgstr "inkl. %s%% MwSt."
140
  #: includes/class-wc-gzd-dependencies.php:54
141
  #: includes/class-wc-gzd-dependencies.php:63
142
  #: includes/class-wc-gzd-hook-priorities.php:33
143
+ #: includes/class-wc-gzd-hook-priorities.php:42 woocommerce-germanized.php:90
144
+ #: woocommerce-germanized.php:99
145
  msgid "Cheatin&#8217; huh?"
146
  msgstr "So geht das leider nicht.."
147
 
149
  #: includes/admin/class-wc-gzd-admin-status.php:38
150
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:139
151
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:225
152
+ #: includes/wc-gzd-core-functions.php:57
153
  msgid "Terms & Conditions"
154
  msgstr "AGB"
155
 
163
  #: includes/admin/class-wc-gzd-admin-status.php:40
164
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:139
165
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:247
166
+ #: includes/wc-gzd-core-functions.php:63
167
  msgid "Imprint"
168
  msgstr "Impressum"
169
 
1144
 
1145
  # @ woocommerce-germanized
1146
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:525
1147
+ #: includes/wc-gzd-core-functions.php:60
1148
  msgid "Right of Recission"
1149
  msgstr "Widerrufsrecht"
1150
 
1538
  "bzw. Paketshops aktivieren möchtest."
1539
 
1540
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:908
1541
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:302
1542
  msgid "Parcel Shop Finder"
1543
  msgstr "Paketshop finden"
1544
 
2079
  "den Titel der Versandmethoden einzubetten."
2080
 
2081
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:1127
2082
+ #: includes/wc-gzd-cart-functions.php:396
2083
  msgid ""
2084
  "Yes, I would like to be reminded via E-mail about parcel delivery "
2085
  "({shipping_method_title}). Your E-mail Address will only be transferred to "
2725
  # @ woocommerce
2726
  #: includes/api/class-wc-gzd-rest-customers-controller.php:85
2727
  #: includes/api/class-wc-gzd-rest-customers-controller.php:92
2728
+ #: includes/api/class-wc-gzd-rest-orders-controller.php:100
2729
+ #: includes/api/class-wc-gzd-rest-orders-controller.php:107
2730
  #: includes/class-wc-gzd-checkout.php:256
2731
  #: includes/class-wc-gzd-checkout.php:266
2732
  #: includes/class-wc-gzd-customer-helper.php:84
2736
 
2737
  # @ woocommerce-germanized
2738
  #: includes/api/class-wc-gzd-rest-customers-controller.php:113
2739
+ #: includes/api/class-wc-gzd-rest-orders-controller.php:147
2740
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:26
2741
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:486
2742
  #: includes/gateways/direct-debit/views/html-export.php:27
2745
 
2746
  # @ woocommerce-germanized
2747
  #: includes/api/class-wc-gzd-rest-customers-controller.php:118
2748
+ #: includes/api/class-wc-gzd-rest-orders-controller.php:152
2749
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:280
2750
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:303
2751
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:512
2755
 
2756
  # @ woocommerce-germanized
2757
  #: includes/api/class-wc-gzd-rest-customers-controller.php:123
2758
+ #: includes/api/class-wc-gzd-rest-orders-controller.php:157
2759
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:281
2760
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:310
2761
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:520
2766
 
2767
  # @ woocommerce-germanized
2768
  #: includes/api/class-wc-gzd-rest-customers-controller.php:128
2769
+ #: includes/api/class-wc-gzd-rest-orders-controller.php:162
2770
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:282
2771
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:317
2772
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:648
2774
  msgid "BIC/SWIFT"
2775
  msgstr "BIC/SWIFT"
2776
 
2777
+ #: includes/api/class-wc-gzd-rest-orders-controller.php:114
2778
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:192
2779
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:225
2780
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:279
2781
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:280
2782
+ msgid "Parcel Shop"
2783
+ msgstr "Shop/Packstation"
2784
+
2785
+ #: includes/api/class-wc-gzd-rest-orders-controller.php:120
2786
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:123
2787
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:142
2788
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:155
2789
+ msgid "Postnumber"
2790
+ msgstr "PostNummer"
2791
+
2792
+ #: includes/api/class-wc-gzd-rest-orders-controller.php:126
2793
  msgid "Parcel Delivery Data Transfer"
2794
  msgstr "Paketdienstleister Datenweitergabe"
2795
 
2796
  # @ woocommerce-germanized
2797
+ #: includes/api/class-wc-gzd-rest-orders-controller.php:167
2798
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:286
2799
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:324
2800
  msgid "Mandate Reference ID"
3044
  msgid "Sorry, but this activation code cannot be found."
3045
  msgstr "Sorry, dieser Aktivierungscode ist uns leider nicht bekannt."
3046
 
3047
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:114
3048
  msgid "Send to DHL Parcel Shop?"
3049
  msgstr "An DHL Paketshop oder Packstation senden?"
3050
 
3051
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:135
 
 
 
 
 
 
3052
  msgid "DHL Parcel Shop?"
3053
  msgstr "DHL Paketshop/Packstation?"
3054
 
3055
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:137
3056
  msgid "No"
3057
  msgstr "Nein"
3058
 
3059
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:137
3060
  msgid "Yes"
3061
  msgstr "Ja"
3062
 
3063
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:138
3064
  msgid "Select whether delivery to parcel shop should be enabled."
3065
  msgstr ""
3066
  "Wähle aus ob die Lieferung an DHL Paketshops bzw. Packstationen aktiviert "
3067
  "werden soll."
3068
 
3069
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:144
3070
  msgid ""
3071
  "In case delivery to parcel shop is enabled please fill in the corresponding "
3072
  "DHL post number."
3074
  "Wenn die Lieferung an eine DHL Packstation aktiviert wurde, trage bitte die "
3075
  "PostNummer ein."
3076
 
3077
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:245
 
 
 
 
 
 
3078
  msgid "Your PostNumber should contain numbers only"
3079
  msgstr "Deine PostNummer sollte nur aus Zahlen bestehen."
3080
 
3081
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:251
3082
+ #: includes/class-wc-gzd-dhl-parcel-shops.php:286
3083
  #, php-format
3084
  msgid "Parcel Shop Delivery is only supported in: %s."
3085
  msgstr ""
3204
  "WooCommerce Germanized installierst. Vielen Dank!"
3205
 
3206
  # @ woocommerce-germanized
3207
+ #: includes/class-wc-gzd-install.php:466
3208
  msgctxt "Page slug"
3209
  msgid "data-security"
3210
  msgstr "datenschutzbelehrung"
3211
 
3212
  # @ woocommerce-germanized
3213
+ #: includes/class-wc-gzd-install.php:467
3214
  msgctxt "Page title"
3215
  msgid "Data Security Statement"
3216
  msgstr "Datenschutzbelehrung"
3217
 
3218
  # @ woocommerce-germanized
3219
+ #: includes/class-wc-gzd-install.php:471
3220
  msgctxt "Page slug"
3221
  msgid "imprint"
3222
  msgstr "impressum"
3223
 
3224
  # @ woocommerce-germanized
3225
+ #: includes/class-wc-gzd-install.php:472
3226
  msgctxt "Page title"
3227
  msgid "Imprint"
3228
  msgstr "Impressum"
3229
 
3230
  # @ woocommerce-germanized
3231
+ #: includes/class-wc-gzd-install.php:476
3232
  msgctxt "Page slug"
3233
  msgid "terms"
3234
  msgstr "agb"
3235
 
3236
  # @ woocommerce-germanized
3237
+ #: includes/class-wc-gzd-install.php:477
3238
  msgctxt "Page title"
3239
  msgid "Terms & Conditions"
3240
  msgstr "AGB"
3241
 
3242
  # @ woocommerce-germanized
3243
+ #: includes/class-wc-gzd-install.php:481
3244
  msgctxt "Page slug"
3245
  msgid "revocation"
3246
  msgstr "widerrufsbelehrung"
3247
 
3248
  # @ woocommerce-germanized
3249
+ #: includes/class-wc-gzd-install.php:482
3250
  msgctxt "Page title"
3251
  msgid "Power of Revocation"
3252
  msgstr "Widerrufsbelehrung"
3253
 
3254
  # @ woocommerce-germanized
3255
+ #: includes/class-wc-gzd-install.php:486
3256
  msgctxt "Page slug"
3257
  msgid "shipping-methods"
3258
  msgstr "versandarten"
3259
 
3260
  # @ woocommerce-germanized
3261
+ #: includes/class-wc-gzd-install.php:487
3262
  msgctxt "Page title"
3263
  msgid "Shipping Methods"
3264
  msgstr "Versandarten"
3265
 
3266
  # @ woocommerce-germanized
3267
+ #: includes/class-wc-gzd-install.php:491
3268
  msgctxt "Page slug"
3269
  msgid "payment-methods"
3270
  msgstr "bezahlmoeglichkeiten"
3271
 
3272
  # @ woocommerce-germanized
3273
+ #: includes/class-wc-gzd-install.php:492
3274
  msgctxt "Page title"
3275
  msgid "Payment Methods"
3276
  msgstr "Zahlungsarten"
3328
  "kassiert - z.B. DHL (steuerfrei)."
3329
 
3330
  # @ woocommerce-germanized
3331
+ #: includes/class-wc-gzd-payment-gateways.php:183
3332
  msgid "Payment charge"
3333
  msgstr "Zahlungsgebühr"
3334
 
4100
  # @ woocommerce-germanized
4101
  # @ woocommerce
4102
  #: includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:50
4103
+ #: woocommerce-germanized.php:562
4104
  msgid "Settings"
4105
  msgstr "Einstellungen"
4106
 
4766
  "Widerrufsrecht mit dem Zugang erlischt."
4767
 
4768
  # @ woocommerce-germanized
4769
+ #: includes/wc-gzd-core-functions.php:66
4770
  msgid "Data Security"
4771
  msgstr "Datenschutzbelehrung"
4772
 
4773
  # @ woocommerce-germanized
4774
+ #: includes/wc-gzd-core-functions.php:94
4775
  msgid ""
4776
  "Because of the small business owner state according to &#167; 19 UStG the "
4777
  "seller does not levy nor state the German value added tax."
includes/class-wc-gzd-dhl-parcel-shops.php CHANGED
@@ -36,6 +36,10 @@ class WC_GZD_DHL_Parcel_Shops {
36
  add_action( 'woocommerce_checkout_process', array( $this, 'manipulate_checkout_fields' ), 10 );
37
  add_action( 'woocommerce_after_checkout_validation', array( $this, 'validate_fields' ), 10, 1 );
38
 
 
 
 
 
39
  // Customer fields
40
  add_filter( 'woocommerce_customer_meta_fields', array( $this, 'init_profile_fields' ), 10, 1 );
41
 
@@ -52,6 +56,7 @@ class WC_GZD_DHL_Parcel_Shops {
52
  add_filter( 'woocommerce_order_formatted_billing_address', array( $this, 'set_formatted_billing_address' ), 20, 2 );
53
  add_filter( 'woocommerce_formatted_address_replacements', array( $this, 'set_formatted_address' ), 20, 2 );
54
  add_filter( 'woocommerce_localisation_address_formats', array( $this, 'set_address_format' ), 20 );
 
55
  }
56
 
57
  public function set_address_format( $formats ) {
@@ -66,7 +71,6 @@ class WC_GZD_DHL_Parcel_Shops {
66
  }
67
 
68
  public function set_formatted_shipping_address( $fields = array(), $order ) {
69
-
70
  $fields[ 'parcelshop_post_number' ] = '';
71
 
72
  if ( wc_gzd_get_crud_data( $order, 'shipping_parcelshop' ) ) {
@@ -77,7 +81,6 @@ class WC_GZD_DHL_Parcel_Shops {
77
  }
78
 
79
  public function set_formatted_billing_address( $fields = array(), $order ) {
80
-
81
  $fields[ 'parcelshop_post_number' ] = '';
82
 
83
  return $fields;
@@ -94,6 +97,15 @@ class WC_GZD_DHL_Parcel_Shops {
94
  return $placeholder;
95
  }
96
 
 
 
 
 
 
 
 
 
 
97
  public function init_fields( $fields ) {
98
 
99
  $fields[ 'parcelshop' ] = array(
@@ -136,7 +148,6 @@ class WC_GZD_DHL_Parcel_Shops {
136
 
137
  }
138
 
139
-
140
  public function init_admin_fields( $fields ) {
141
 
142
  $fields[ 'parcelshop_post_number' ] = array(
@@ -158,6 +169,52 @@ class WC_GZD_DHL_Parcel_Shops {
158
  return ( get_option( 'woocommerce_gzd_dhl_parcel_shop_finder' ) === 'yes' );
159
  }
160
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
161
  public function manipulate_checkout_fields() {
162
  if ( ! WC()->checkout()->get_value( 'shipping_parcelshop' ) ) {
163
  $fields = WC()->checkout()->checkout_fields;
@@ -197,12 +254,14 @@ class WC_GZD_DHL_Parcel_Shops {
197
 
198
  public function load_scripts( $suffix, $frontend_script_path, $assets_path ) {
199
 
200
- if ( is_checkout() ) {
201
 
202
- wp_enqueue_script( 'wc-gzd-checkout-dhl-parcel-shops', $frontend_script_path . 'checkout-dhl-parcel-shops' . $suffix . '.js', array(
203
- 'jquery',
204
- 'wc-checkout'
205
- ), WC_GERMANIZED_VERSION, true );
 
 
206
 
207
  if ( $this->is_finder_enabled() ) {
208
  wp_register_style( 'wc-gzd-checkout-dhl-parcel-shops-finder', $assets_path . 'css/woocommerce-gzd-dhl-parcel-shop-finder' . $suffix . '.css', '', WC_GERMANIZED_VERSION, 'all' );
@@ -230,10 +289,9 @@ class WC_GZD_DHL_Parcel_Shops {
230
  }
231
 
232
  public function add_overlay_markup() {
233
- if ( ! is_checkout() )
234
- return;
235
-
236
- wc_get_template( 'checkout/dhl-parcel-shop-finder.php' );
237
  }
238
 
239
  public function add_button_markup( $field, $key, $args, $value ) {
36
  add_action( 'woocommerce_checkout_process', array( $this, 'manipulate_checkout_fields' ), 10 );
37
  add_action( 'woocommerce_after_checkout_validation', array( $this, 'validate_fields' ), 10, 1 );
38
 
39
+ // My Account Edit Address
40
+ add_filter( 'woocommerce_shipping_fields', array( $this, 'manipulate_address_fields' ), 20, 1 );
41
+ add_filter( 'woocommerce_process_myaccount_field_shipping_parcelshop', array( $this, 'validate_address_fields' ), 10, 1 );
42
+
43
  // Customer fields
44
  add_filter( 'woocommerce_customer_meta_fields', array( $this, 'init_profile_fields' ), 10, 1 );
45
 
56
  add_filter( 'woocommerce_order_formatted_billing_address', array( $this, 'set_formatted_billing_address' ), 20, 2 );
57
  add_filter( 'woocommerce_formatted_address_replacements', array( $this, 'set_formatted_address' ), 20, 2 );
58
  add_filter( 'woocommerce_localisation_address_formats', array( $this, 'set_address_format' ), 20 );
59
+ add_filter( 'woocommerce_my_account_my_address_formatted_address', array( $this, 'set_user_address' ), 10, 3 );
60
  }
61
 
62
  public function set_address_format( $formats ) {
71
  }
72
 
73
  public function set_formatted_shipping_address( $fields = array(), $order ) {
 
74
  $fields[ 'parcelshop_post_number' ] = '';
75
 
76
  if ( wc_gzd_get_crud_data( $order, 'shipping_parcelshop' ) ) {
81
  }
82
 
83
  public function set_formatted_billing_address( $fields = array(), $order ) {
 
84
  $fields[ 'parcelshop_post_number' ] = '';
85
 
86
  return $fields;
97
  return $placeholder;
98
  }
99
 
100
+ public function set_user_address( $address, $customer_id, $name ) {
101
+ if ( 'shipping' === $name ) {
102
+ if ( get_user_meta( $customer_id, $name . '_parcelshop', true ) ) {
103
+ $address[ 'parcelshop_post_number' ] = get_user_meta( $customer_id, $name . '_parcelshop_post_number', true );
104
+ }
105
+ }
106
+ return $address;
107
+ }
108
+
109
  public function init_fields( $fields ) {
110
 
111
  $fields[ 'parcelshop' ] = array(
148
 
149
  }
150
 
 
151
  public function init_admin_fields( $fields ) {
152
 
153
  $fields[ 'parcelshop_post_number' ] = array(
169
  return ( get_option( 'woocommerce_gzd_dhl_parcel_shop_finder' ) === 'yes' );
170
  }
171
 
172
+ public function manipulate_address_fields( $fields ) {
173
+ global $wp;
174
+
175
+ if ( 'POST' !== strtoupper( $_SERVER['REQUEST_METHOD'] ) ) {
176
+ return $fields;
177
+ }
178
+
179
+ if ( empty( $_POST['action'] ) || 'edit_address' !== $_POST['action'] || empty( $_POST['_wpnonce'] ) || ! wp_verify_nonce( $_POST['_wpnonce'], 'woocommerce-edit_address' ) ) {
180
+ return $fields;
181
+ }
182
+
183
+ $user_id = get_current_user_id();
184
+
185
+ if ( $user_id <= 0 ) {
186
+ return $fields;
187
+ }
188
+
189
+ if ( ! isset( $_POST[ 'shipping_parcelshop' ] ) && isset( $fields[ 'shipping_parcelshop_post_number' ] ) ) {
190
+ $fields[ 'shipping_parcelshop_post_number' ][ 'required' ] = false;
191
+ } else {
192
+ $fields[ 'shipping_address_1' ][ 'label' ] = __( 'Parcel Shop', 'woocommerce-germanized' );
193
+ }
194
+
195
+ return $fields;
196
+ }
197
+
198
+ public function validate_address_fields( $value ) {
199
+ if ( $value && ! empty( $value ) ) {
200
+ $data = array(
201
+ 'shipping_parcelshop_post_number' => '',
202
+ 'shipping_parcelshop' => '',
203
+ 'shipping_country' => '',
204
+ );
205
+
206
+ foreach( $data as $key => $val ) {
207
+ if ( isset( $_POST[ $key ] ) ) {
208
+ $data[ $key ] = sanitize_text_field( $_POST[ $key ] );
209
+ }
210
+ }
211
+
212
+ $this->validate_fields( $data );
213
+ }
214
+
215
+ return $value;
216
+ }
217
+
218
  public function manipulate_checkout_fields() {
219
  if ( ! WC()->checkout()->get_value( 'shipping_parcelshop' ) ) {
220
  $fields = WC()->checkout()->checkout_fields;
254
 
255
  public function load_scripts( $suffix, $frontend_script_path, $assets_path ) {
256
 
257
+ if ( is_checkout() || is_wc_endpoint_url( 'edit-address' ) ) {
258
 
259
+ $deps = array( 'jquery' );
260
+
261
+ if ( is_checkout() )
262
+ array_push( $deps, 'wc-checkout' );
263
+
264
+ wp_enqueue_script( 'wc-gzd-checkout-dhl-parcel-shops', $frontend_script_path . 'checkout-dhl-parcel-shops' . $suffix . '.js', $deps, WC_GERMANIZED_VERSION, true );
265
 
266
  if ( $this->is_finder_enabled() ) {
267
  wp_register_style( 'wc-gzd-checkout-dhl-parcel-shops-finder', $assets_path . 'css/woocommerce-gzd-dhl-parcel-shop-finder' . $suffix . '.css', '', WC_GERMANIZED_VERSION, 'all' );
289
  }
290
 
291
  public function add_overlay_markup() {
292
+ if ( is_checkout() || is_wc_endpoint_url( 'edit-address' ) ) {
293
+ wc_get_template( 'checkout/dhl-parcel-shop-finder.php' );
294
+ }
 
295
  }
296
 
297
  public function add_button_markup( $field, $key, $args, $value ) {
includes/class-wc-gzd-install.php CHANGED
@@ -110,7 +110,7 @@ class WC_GZD_Install {
110
  }
111
 
112
  // Load Translation for default options
113
- $locale = apply_filters( 'plugin_locale', get_locale() );
114
  $mofile = WC_germanized()->plugin_path() . '/i18n/languages/woocommerce-germanized.mo';
115
 
116
  if ( file_exists( WC_germanized()->plugin_path() . '/i18n/languages/woocommerce-germanized-' . $locale . '.mo' ) )
110
  }
111
 
112
  // Load Translation for default options
113
+ $locale = apply_filters( 'plugin_locale', get_locale(), 'woocommerce-germanized' );
114
  $mofile = WC_germanized()->plugin_path() . '/i18n/languages/woocommerce-germanized.mo';
115
 
116
  if ( file_exists( WC_germanized()->plugin_path() . '/i18n/languages/woocommerce-germanized-' . $locale . '.mo' ) )
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: vendidero
3
  Tags: woocommerce, german market, german, germany, deutsch, deutschland, de, de_DE, shop, commerce, e-commerce, ecommerce, woothemes, sepa, invoice
4
  Requires at least: 3.8
5
  Tested up to: 4.7
6
- Stable tag: 1.8.5
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -167,6 +167,11 @@ Bug reports may be filed via our [GitHub repository](https://github.com/vendider
167
 
168
  == Changelog ==
169
 
 
 
 
 
 
170
  = 1.8.5 =
171
  * Feature - DHL Parcel Shop or Pick-Up Station delivery
172
  * Fix - Parcel Shop empty address placeholder
3
  Tags: woocommerce, german market, german, germany, deutsch, deutschland, de, de_DE, shop, commerce, e-commerce, ecommerce, woothemes, sepa, invoice
4
  Requires at least: 3.8
5
  Tested up to: 4.7
6
+ Stable tag: 1.8.6
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
167
 
168
  == Changelog ==
169
 
170
+ = 1.8.6 =
171
+ * Fix - plugin_locale filter in WC_GZD_Install
172
+ * Fix - Support Parcel Shop Delivery in My Account - Edit Address
173
+ * Fix - Parcel Shop Delivery JS better event check
174
+
175
  = 1.8.5 =
176
  * Feature - DHL Parcel Shop or Pick-Up Station delivery
177
  * Fix - Parcel Shop empty address placeholder
woocommerce-germanized.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WooCommerce Germanized
4
  * Plugin URI: https://www.vendidero.de/woocommerce-germanized
5
  * Description: Extends WooCommerce to become a legally compliant store for the german market.
6
- * Version: 1.8.5
7
  * Author: Vendidero
8
  * Author URI: https://vendidero.de
9
  * Requires at least: 3.8
@@ -29,7 +29,7 @@ final class WooCommerce_Germanized {
29
  *
30
  * @var string
31
  */
32
- public $version = '1.8.5';
33
 
34
  /**
35
  * Single instance of WooCommerce Germanized Main Class
3
  * Plugin Name: WooCommerce Germanized
4
  * Plugin URI: https://www.vendidero.de/woocommerce-germanized
5
  * Description: Extends WooCommerce to become a legally compliant store for the german market.
6
+ * Version: 1.8.6
7
  * Author: Vendidero
8
  * Author URI: https://vendidero.de
9
  * Requires at least: 3.8
29
  *
30
  * @var string
31
  */
32
+ public $version = '1.8.6';
33
 
34
  /**
35
  * Single instance of WooCommerce Germanized Main Class