WooCommerce Germanized - Version 2.0.3

Version Description

  • Improvement: Added reviews (review form) as new legal checkbox location
  • Improvement: Merge html classes for legal checkboxes instead of replacing them
  • Improvement: Added expiration feature to customer activation link.
  • Improvement: Appended activation URL with another parameter to prevent email clients from stripping last char from activation code
  • Tweak: Decrease legal checkbox settings admin field name due to some PHP setups having length-problems
Download this release

Release Info

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

Code changes from version 2.0.2 to 2.0.3

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: 2018-06-13 13:35+0200\n"
6
- "PO-Revision-Date: 2018-06-13 13:35+0200\n"
7
  "Last-Translator: holzhannes <holzhannes@posteo.de>\n"
8
  "Language-Team: \n"
9
  "Language: de_DE\n"
@@ -249,7 +249,7 @@ msgstr "Virtuelles Produkt"
249
  #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:46
250
  #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data.php:119
251
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:766
252
- #: includes/class-wc-gzd-legal-checkbox-manager.php:107
253
  msgid "Service"
254
  msgstr "Dienstleistung"
255
 
@@ -850,7 +850,7 @@ msgstr ""
850
 
851
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:266
852
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:300
853
- #: includes/class-wc-gzd-legal-checkbox-manager.php:143
854
  msgid "Privacy Policy"
855
  msgstr "Datenschutz"
856
 
@@ -2107,13 +2107,13 @@ msgstr ""
2107
 
2108
  # @ woocommerce-germanized
2109
  #: includes/admin/views/html-admin-page-checkboxes.php:16
2110
- #: includes/class-wc-gzd-legal-checkbox.php:709
2111
  msgid "Name"
2112
  msgstr "Name"
2113
 
2114
  # @ woocommerce-germanized
2115
  #: includes/admin/views/html-admin-page-checkboxes.php:17
2116
- #: includes/class-wc-gzd-legal-checkbox.php:728
2117
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:657
2118
  #: includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:106
2119
  msgid "Description"
@@ -2125,7 +2125,7 @@ msgstr "Aktiviert"
2125
 
2126
  # @ woocommerce-germanized
2127
  #: includes/admin/views/html-admin-page-checkboxes.php:19
2128
- #: includes/class-wc-gzd-legal-checkbox.php:765
2129
  msgid "Mandatory"
2130
  msgstr "Pflichtfeld"
2131
 
@@ -3098,16 +3098,32 @@ msgid "Please create an account or login before continuing to checkout"
3098
  msgstr ""
3099
  "Bitte erstelle ein Kundenkonto oder logge dich ein, bevor du zur Kasse gehst"
3100
 
 
 
 
 
 
 
 
 
3101
  # @ woocommerce-germanized
3102
- #: includes/class-wc-gzd-customer-helper.php:296
3103
  msgid "Sorry, but this activation code cannot be found."
3104
  msgstr "Sorry, dieser Aktivierungscode ist uns leider nicht bekannt."
3105
 
3106
  # @ woocommerce-germanized
3107
- #: includes/class-wc-gzd-customer-helper.php:300
3108
  msgid "Thank you. You have successfully activated your account."
3109
  msgstr "Vielen Dank. Dein Benutzerkonto wurde erfolgreich aktiviert."
3110
 
 
 
 
 
 
 
 
 
3111
  #: includes/class-wc-gzd-dhl-parcel-shops.php:180
3112
  msgid "DHL Parcel Shop?"
3113
  msgstr "DHL Paketshop/Packstation?"
@@ -3346,7 +3362,7 @@ msgid "Payment Methods"
3346
  msgstr "Zahlungsarten"
3347
 
3348
  # @ woocommerce-germanized
3349
- #: includes/class-wc-gzd-legal-checkbox-manager.php:65
3350
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:18
3351
  msgid ""
3352
  "With your order, you agree to have read and understood our {term_link}Terms "
@@ -3360,7 +3376,7 @@ msgstr ""
3360
  "data_security_link} einverstanden."
3361
 
3362
  # @ woocommerce-germanized
3363
- #: includes/class-wc-gzd-legal-checkbox-manager.php:66
3364
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:19
3365
  msgid ""
3366
  "To finish the order you have to accept to our {term_link}Terms and "
@@ -3373,11 +3389,11 @@ msgstr ""
3373
  "{data_security_link}Datenschutzbestimmungen{/data_security_link}."
3374
 
3375
  # @ woocommerce-germanized
3376
- #: includes/class-wc-gzd-legal-checkbox-manager.php:72
3377
  msgid "Legal"
3378
  msgstr "Allgemein"
3379
 
3380
- #: includes/class-wc-gzd-legal-checkbox-manager.php:73
3381
  msgid ""
3382
  "General legal checkbox which shall include terms, revocation and privacy "
3383
  "notice."
@@ -3386,7 +3402,7 @@ msgstr ""
3386
  "enthalten sollte."
3387
 
3388
  # @ woocommerce-germanized
3389
- #: includes/class-wc-gzd-legal-checkbox-manager.php:81
3390
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:24
3391
  msgid ""
3392
  "For digital products: I strongly agree that the execution of the agreement "
@@ -3398,7 +3414,7 @@ msgstr ""
3398
  "bekannt, dass mit Beginn der Ausführung mein Widerrufsrecht erlischt."
3399
 
3400
  # @ woocommerce-germanized
3401
- #: includes/class-wc-gzd-legal-checkbox-manager.php:83
3402
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:25
3403
  msgid ""
3404
  "To retrieve direct access to digital content you have to agree to the loss "
@@ -3407,17 +3423,17 @@ msgstr ""
3407
  "Um direkten Zugang zu den digitalen Inhalte zu erhalten, musst du auf das "
3408
  "Widerrufsrecht verzichten."
3409
 
3410
- #: includes/class-wc-gzd-legal-checkbox-manager.php:89
3411
  msgid "Digital"
3412
  msgstr "Digital"
3413
 
3414
- #: includes/class-wc-gzd-legal-checkbox-manager.php:90
3415
  msgid "Asks the customer to skip revocation period for digital products."
3416
  msgstr ""
3417
  "Ermöglicht die Bereitstellung des Downloads vor Ablauf der Widerrufsfrist."
3418
 
3419
  # @ woocommerce-germanized
3420
- #: includes/class-wc-gzd-legal-checkbox-manager.php:99
3421
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:31
3422
  msgid ""
3423
  "For services: I demand and acknowledge the immediate performance of the "
@@ -3430,7 +3446,7 @@ msgstr ""
3430
  "vollständiger Erfüllung des Vertrages erlischt."
3431
 
3432
  # @ woocommerce-germanized
3433
- #: includes/class-wc-gzd-legal-checkbox-manager.php:101
3434
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:32
3435
  msgid ""
3436
  "To allow the immediate performance of the services you have to agree to the "
@@ -3438,12 +3454,12 @@ msgid ""
3438
  msgstr ""
3439
  "Bitte stimme dem Beginn der Dienstleistung vor Ablauf der Widerrufsfrist zu."
3440
 
3441
- #: includes/class-wc-gzd-legal-checkbox-manager.php:108
3442
  msgid "Asks the customer to skip revocation period for services."
3443
  msgstr ""
3444
  "Ermöglicht das Beginnen von Dienstleistungen vor Ablauf der Widerrufsfrist."
3445
 
3446
- #: includes/class-wc-gzd-legal-checkbox-manager.php:116
3447
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:40
3448
  msgid ""
3449
  "Yes, I would like to be reminded via E-mail about parcel delivery "
@@ -3456,16 +3472,16 @@ msgstr ""
3456
  "weitergegeben."
3457
 
3458
  # @ woocommerce-germanized
3459
- #: includes/class-wc-gzd-legal-checkbox-manager.php:121
3460
  msgid "Please accept our parcel delivery agreement"
3461
  msgstr "Bitte akzeptiere die Datenweitergabe an unsere Paketdienstleister"
3462
 
3463
  # @ woocommerce-germanized
3464
- #: includes/class-wc-gzd-legal-checkbox-manager.php:126
3465
  msgid "Parcel Delivery"
3466
  msgstr "Paketdienstleister"
3467
 
3468
- #: includes/class-wc-gzd-legal-checkbox-manager.php:127
3469
  msgid ""
3470
  "Asks the customer to hand over data to the parcel delivery service provider."
3471
  msgstr ""
@@ -3473,7 +3489,7 @@ msgstr ""
3473
  "Paketdienstleister ein."
3474
 
3475
  # @ woocommerce-germanized
3476
- #: includes/class-wc-gzd-legal-checkbox-manager.php:136
3477
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:44
3478
  msgid ""
3479
  "Yes, I’d like create a new account and have read and understood the "
@@ -3483,78 +3499,82 @@ msgstr ""
3483
  "{data_security_link}Datenschutzerklärung{/data_security_link}."
3484
 
3485
  # @ woocommerce-germanized
3486
- #: includes/class-wc-gzd-legal-checkbox-manager.php:140
3487
  msgid "Please accept the creation of a new customer account"
3488
  msgstr "Bitte akzeptiere die Erstellung eines neuen Kundenkontos"
3489
 
3490
  # @ woocommerce-germanized
3491
- #: includes/class-wc-gzd-legal-checkbox-manager.php:144
3492
  msgid "Let customers accept your privacy policy before registering."
3493
  msgstr ""
3494
  "Lässt Kunden deine Datenschutzbelehrung vor der Registrierung akzeptieren."
3495
 
3496
  # @ woocommerce-germanized
3497
- #: includes/class-wc-gzd-legal-checkbox-manager.php:158
3498
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:744
3499
  msgid "I hereby agree to the {link}direct debit mandate{/link}."
3500
  msgstr "Hiermit erteile ich das {link}SEPA Lastschriftmandat{/link}."
3501
 
3502
  # @ woocommerce-germanized
3503
- #: includes/class-wc-gzd-legal-checkbox-manager.php:161
3504
  msgid "Please accept the direct debit mandate."
3505
  msgstr "Bitte erteile das SEPA Lastschriftmandat."
3506
 
3507
  # @ woocommerce-germanized
3508
- #: includes/class-wc-gzd-legal-checkbox-manager.php:166
3509
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:187
3510
  msgid "SEPA"
3511
  msgstr "SEPA"
3512
 
3513
- #: includes/class-wc-gzd-legal-checkbox-manager.php:167
3514
  msgid "Asks the customer to issue the SEPA mandate."
3515
  msgstr "Lässt den Kunden das SEPA Mandat vor dem Kauf bestätigen."
3516
 
3517
  # @ woocommerce-germanized
3518
- #: includes/class-wc-gzd-legal-checkbox-manager.php:331
3519
  msgid "Checkout"
3520
  msgstr "Kasse"
3521
 
3522
  # @ woocommerce-germanized
3523
- #: includes/class-wc-gzd-legal-checkbox-manager.php:332
3524
  msgid "Register form"
3525
  msgstr "Registrierung"
3526
 
3527
  # @ woocommerce
3528
- #: includes/class-wc-gzd-legal-checkbox-manager.php:333
3529
  msgid "Pay for order"
3530
  msgstr "Bestell-Bezahlseite"
3531
 
3532
- #: includes/class-wc-gzd-legal-checkbox-manager.php:395
 
 
 
 
3533
  #, php-format
3534
  msgid "Checkbox location %s does not exist."
3535
  msgstr "Checkbox Ort %s existiert nicht."
3536
 
3537
- #: includes/class-wc-gzd-legal-checkbox-manager.php:414
3538
  #, php-format
3539
  msgid "Please make sure to check %s checkbox."
3540
  msgstr "Kontrolliere bitte %s. Hier fehlt eine Einwilligung."
3541
 
3542
- #: includes/class-wc-gzd-legal-checkbox-manager.php:419
3543
  #, php-format
3544
  msgid "Checkbox with name %s does already exist."
3545
  msgstr "Eine Checkbox mit dem Namen %s existiert bereits."
3546
 
3547
  # @ woocommerce-germanized
3548
- #: includes/class-wc-gzd-legal-checkbox.php:701
3549
  msgid "Status"
3550
  msgstr "Status"
3551
 
3552
  # @ woocommerce-germanized
3553
- #: includes/class-wc-gzd-legal-checkbox.php:704
3554
  msgid "Enable checkbox"
3555
  msgstr "Checkbox aktivieren"
3556
 
3557
- #: includes/class-wc-gzd-legal-checkbox.php:713
3558
  msgid ""
3559
  "Choose a name to identify your checkbox. Upon creating a new checkbox, this "
3560
  "value is being used to generate the Id."
@@ -3562,11 +3582,11 @@ msgstr ""
3562
  "Wähle einen Namen um deine Checkbox zu identifizieren. Bei Erstellung einer "
3563
  "neuen Checkbox wird dieser Wert verwendet um eine Id zu erzeugen."
3564
 
3565
- #: includes/class-wc-gzd-legal-checkbox.php:718
3566
  msgid "Id"
3567
  msgstr "Id"
3568
 
3569
- #: includes/class-wc-gzd-legal-checkbox.php:722
3570
  msgid ""
3571
  "The checkbox Id is the unique indentifier which is used to identify the "
3572
  "checkbox within the code. Cannot be edited after creating the checkbox."
@@ -3575,29 +3595,29 @@ msgstr ""
3575
  "Code heraus zugreifbar zu machen. Kann nach dem Erstellen einer Checkbox "
3576
  "nicht mehr verändert werden."
3577
 
3578
- #: includes/class-wc-gzd-legal-checkbox.php:731
3579
  msgid "Describe the use case of your checkbox."
3580
  msgstr "Beschreibe hier den Use-Case deiner Checkbox."
3581
 
3582
- #: includes/class-wc-gzd-legal-checkbox.php:737
3583
  msgid "Label"
3584
  msgstr "Beschriftung"
3585
 
3586
- #: includes/class-wc-gzd-legal-checkbox.php:741
3587
  msgid "Choose a label to be inserted next to the checkbox."
3588
  msgstr "Wähle eine Beschriftung aus, die neben der Checkbox platziert wird."
3589
 
3590
- #: includes/class-wc-gzd-legal-checkbox.php:742
3591
- #: includes/class-wc-gzd-legal-checkbox.php:752
3592
  #, php-format
3593
  msgid "You may use one of the following placeholders within the text: %s"
3594
  msgstr "Du kannst einen der folgenden Platzhalter in deinem Text verwenden: %s"
3595
 
3596
- #: includes/class-wc-gzd-legal-checkbox.php:747
3597
  msgid "Error Message"
3598
  msgstr "Fehlermeldung"
3599
 
3600
- #: includes/class-wc-gzd-legal-checkbox.php:751
3601
  msgid ""
3602
  "Choose an error message to be shown when the user has not confirmed the "
3603
  "checkbox."
@@ -3606,25 +3626,25 @@ msgstr ""
3606
  "die Checkbox nicht bestätigt hat."
3607
 
3608
  # @ woocommerce-germanized
3609
- #: includes/class-wc-gzd-legal-checkbox.php:757
3610
  msgid "Hide input"
3611
  msgstr "Ausblenden"
3612
 
3613
- #: includes/class-wc-gzd-legal-checkbox.php:760
3614
  msgid "Do only show a label and hide the actual checkbox."
3615
  msgstr ""
3616
  "Zeige lediglich die Beschriftung und entferne die eigentliche Checkbox."
3617
 
3618
- #: includes/class-wc-gzd-legal-checkbox.php:768
3619
  msgid "Mark the checkbox as mandatory."
3620
  msgstr "Checkbox zum Pflichtfeld machen."
3621
 
3622
  # @ woocommerce-germanized
3623
- #: includes/class-wc-gzd-legal-checkbox.php:773
3624
  msgid "Locations"
3625
  msgstr "Orte"
3626
 
3627
- #: includes/class-wc-gzd-legal-checkbox.php:777
3628
  msgid "Choose where to display your checkbox."
3629
  msgstr "Wähle einen Ort aus, an dem die Checkbox platziert werden soll."
3630
 
@@ -5347,7 +5367,7 @@ msgstr "Bitte akzeptiere den Erhalt einer Bewertungserinnerung per E-Mail."
5347
  #: includes/trusted-shops/class-wc-gzd-trusted-shops-template-hooks.php:164
5348
  msgctxt "trusted-shops"
5349
  msgid "Review reminder"
5350
- msgstr "Bewertungs Erinnerung"
5351
 
5352
  #: includes/trusted-shops/class-wc-gzd-trusted-shops-template-hooks.php:165
5353
  msgctxt "trusted-shops"
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Germanized v1.5.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-06-15 12:13+0200\n"
6
+ "PO-Revision-Date: 2018-06-15 12:14+0200\n"
7
  "Last-Translator: holzhannes <holzhannes@posteo.de>\n"
8
  "Language-Team: \n"
9
  "Language: de_DE\n"
249
  #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:46
250
  #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data.php:119
251
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:766
252
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:122
253
  msgid "Service"
254
  msgstr "Dienstleistung"
255
 
850
 
851
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:266
852
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:300
853
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:158
854
  msgid "Privacy Policy"
855
  msgstr "Datenschutz"
856
 
2107
 
2108
  # @ woocommerce-germanized
2109
  #: includes/admin/views/html-admin-page-checkboxes.php:16
2110
+ #: includes/class-wc-gzd-legal-checkbox.php:720
2111
  msgid "Name"
2112
  msgstr "Name"
2113
 
2114
  # @ woocommerce-germanized
2115
  #: includes/admin/views/html-admin-page-checkboxes.php:17
2116
+ #: includes/class-wc-gzd-legal-checkbox.php:739
2117
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:657
2118
  #: includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:106
2119
  msgid "Description"
2125
 
2126
  # @ woocommerce-germanized
2127
  #: includes/admin/views/html-admin-page-checkboxes.php:19
2128
+ #: includes/class-wc-gzd-legal-checkbox.php:776
2129
  msgid "Mandatory"
2130
  msgstr "Pflichtfeld"
2131
 
3098
  msgstr ""
3099
  "Bitte erstelle ein Kundenkonto oder logge dich ein, bevor du zur Kasse gehst"
3100
 
3101
+ #: includes/class-wc-gzd-customer-helper.php:297
3102
+ msgid ""
3103
+ "This activation code has expired. We have sent you a new activation code via "
3104
+ "e-mail."
3105
+ msgstr ""
3106
+ "Dieser Aktivierungscode ist leider abgelaufen. Wir haben dir einen neuen "
3107
+ "Code per E-Mail geschickt."
3108
+
3109
  # @ woocommerce-germanized
3110
+ #: includes/class-wc-gzd-customer-helper.php:299
3111
  msgid "Sorry, but this activation code cannot be found."
3112
  msgstr "Sorry, dieser Aktivierungscode ist uns leider nicht bekannt."
3113
 
3114
  # @ woocommerce-germanized
3115
+ #: includes/class-wc-gzd-customer-helper.php:303
3116
  msgid "Thank you. You have successfully activated your account."
3117
  msgstr "Vielen Dank. Dein Benutzerkonto wurde erfolgreich aktiviert."
3118
 
3119
+ #: includes/class-wc-gzd-customer-helper.php:410
3120
+ msgid "Expired activation key"
3121
+ msgstr "Abgelaufener Aktivierungscode"
3122
+
3123
+ #: includes/class-wc-gzd-customer-helper.php:415
3124
+ msgid "Invalid activation key"
3125
+ msgstr "Aktivierungscode ungültig"
3126
+
3127
  #: includes/class-wc-gzd-dhl-parcel-shops.php:180
3128
  msgid "DHL Parcel Shop?"
3129
  msgstr "DHL Paketshop/Packstation?"
3362
  msgstr "Zahlungsarten"
3363
 
3364
  # @ woocommerce-germanized
3365
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:80
3366
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:18
3367
  msgid ""
3368
  "With your order, you agree to have read and understood our {term_link}Terms "
3376
  "data_security_link} einverstanden."
3377
 
3378
  # @ woocommerce-germanized
3379
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:81
3380
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:19
3381
  msgid ""
3382
  "To finish the order you have to accept to our {term_link}Terms and "
3389
  "{data_security_link}Datenschutzbestimmungen{/data_security_link}."
3390
 
3391
  # @ woocommerce-germanized
3392
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:87
3393
  msgid "Legal"
3394
  msgstr "Allgemein"
3395
 
3396
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:88
3397
  msgid ""
3398
  "General legal checkbox which shall include terms, revocation and privacy "
3399
  "notice."
3402
  "enthalten sollte."
3403
 
3404
  # @ woocommerce-germanized
3405
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:96
3406
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:24
3407
  msgid ""
3408
  "For digital products: I strongly agree that the execution of the agreement "
3414
  "bekannt, dass mit Beginn der Ausführung mein Widerrufsrecht erlischt."
3415
 
3416
  # @ woocommerce-germanized
3417
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:98
3418
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:25
3419
  msgid ""
3420
  "To retrieve direct access to digital content you have to agree to the loss "
3423
  "Um direkten Zugang zu den digitalen Inhalte zu erhalten, musst du auf das "
3424
  "Widerrufsrecht verzichten."
3425
 
3426
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:104
3427
  msgid "Digital"
3428
  msgstr "Digital"
3429
 
3430
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:105
3431
  msgid "Asks the customer to skip revocation period for digital products."
3432
  msgstr ""
3433
  "Ermöglicht die Bereitstellung des Downloads vor Ablauf der Widerrufsfrist."
3434
 
3435
  # @ woocommerce-germanized
3436
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:114
3437
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:31
3438
  msgid ""
3439
  "For services: I demand and acknowledge the immediate performance of the "
3446
  "vollständiger Erfüllung des Vertrages erlischt."
3447
 
3448
  # @ woocommerce-germanized
3449
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:116
3450
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:32
3451
  msgid ""
3452
  "To allow the immediate performance of the services you have to agree to the "
3454
  msgstr ""
3455
  "Bitte stimme dem Beginn der Dienstleistung vor Ablauf der Widerrufsfrist zu."
3456
 
3457
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:123
3458
  msgid "Asks the customer to skip revocation period for services."
3459
  msgstr ""
3460
  "Ermöglicht das Beginnen von Dienstleistungen vor Ablauf der Widerrufsfrist."
3461
 
3462
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:131
3463
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:40
3464
  msgid ""
3465
  "Yes, I would like to be reminded via E-mail about parcel delivery "
3472
  "weitergegeben."
3473
 
3474
  # @ woocommerce-germanized
3475
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:136
3476
  msgid "Please accept our parcel delivery agreement"
3477
  msgstr "Bitte akzeptiere die Datenweitergabe an unsere Paketdienstleister"
3478
 
3479
  # @ woocommerce-germanized
3480
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:141
3481
  msgid "Parcel Delivery"
3482
  msgstr "Paketdienstleister"
3483
 
3484
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:142
3485
  msgid ""
3486
  "Asks the customer to hand over data to the parcel delivery service provider."
3487
  msgstr ""
3489
  "Paketdienstleister ein."
3490
 
3491
  # @ woocommerce-germanized
3492
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:151
3493
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:44
3494
  msgid ""
3495
  "Yes, I’d like create a new account and have read and understood the "
3499
  "{data_security_link}Datenschutzerklärung{/data_security_link}."
3500
 
3501
  # @ woocommerce-germanized
3502
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:155
3503
  msgid "Please accept the creation of a new customer account"
3504
  msgstr "Bitte akzeptiere die Erstellung eines neuen Kundenkontos"
3505
 
3506
  # @ woocommerce-germanized
3507
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:159
3508
  msgid "Let customers accept your privacy policy before registering."
3509
  msgstr ""
3510
  "Lässt Kunden deine Datenschutzbelehrung vor der Registrierung akzeptieren."
3511
 
3512
  # @ woocommerce-germanized
3513
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:173
3514
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:744
3515
  msgid "I hereby agree to the {link}direct debit mandate{/link}."
3516
  msgstr "Hiermit erteile ich das {link}SEPA Lastschriftmandat{/link}."
3517
 
3518
  # @ woocommerce-germanized
3519
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:176
3520
  msgid "Please accept the direct debit mandate."
3521
  msgstr "Bitte erteile das SEPA Lastschriftmandat."
3522
 
3523
  # @ woocommerce-germanized
3524
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:181
3525
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:187
3526
  msgid "SEPA"
3527
  msgstr "SEPA"
3528
 
3529
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:182
3530
  msgid "Asks the customer to issue the SEPA mandate."
3531
  msgstr "Lässt den Kunden das SEPA Mandat vor dem Kauf bestätigen."
3532
 
3533
  # @ woocommerce-germanized
3534
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:367
3535
  msgid "Checkout"
3536
  msgstr "Kasse"
3537
 
3538
  # @ woocommerce-germanized
3539
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:368
3540
  msgid "Register form"
3541
  msgstr "Registrierung"
3542
 
3543
  # @ woocommerce
3544
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:369
3545
  msgid "Pay for order"
3546
  msgstr "Bestell-Bezahlseite"
3547
 
3548
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:370
3549
+ msgid "Reviews"
3550
+ msgstr "Bewertungen"
3551
+
3552
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:432
3553
  #, php-format
3554
  msgid "Checkbox location %s does not exist."
3555
  msgstr "Checkbox Ort %s existiert nicht."
3556
 
3557
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:451
3558
  #, php-format
3559
  msgid "Please make sure to check %s checkbox."
3560
  msgstr "Kontrolliere bitte %s. Hier fehlt eine Einwilligung."
3561
 
3562
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:456
3563
  #, php-format
3564
  msgid "Checkbox with name %s does already exist."
3565
  msgstr "Eine Checkbox mit dem Namen %s existiert bereits."
3566
 
3567
  # @ woocommerce-germanized
3568
+ #: includes/class-wc-gzd-legal-checkbox.php:712
3569
  msgid "Status"
3570
  msgstr "Status"
3571
 
3572
  # @ woocommerce-germanized
3573
+ #: includes/class-wc-gzd-legal-checkbox.php:715
3574
  msgid "Enable checkbox"
3575
  msgstr "Checkbox aktivieren"
3576
 
3577
+ #: includes/class-wc-gzd-legal-checkbox.php:724
3578
  msgid ""
3579
  "Choose a name to identify your checkbox. Upon creating a new checkbox, this "
3580
  "value is being used to generate the Id."
3582
  "Wähle einen Namen um deine Checkbox zu identifizieren. Bei Erstellung einer "
3583
  "neuen Checkbox wird dieser Wert verwendet um eine Id zu erzeugen."
3584
 
3585
+ #: includes/class-wc-gzd-legal-checkbox.php:729
3586
  msgid "Id"
3587
  msgstr "Id"
3588
 
3589
+ #: includes/class-wc-gzd-legal-checkbox.php:733
3590
  msgid ""
3591
  "The checkbox Id is the unique indentifier which is used to identify the "
3592
  "checkbox within the code. Cannot be edited after creating the checkbox."
3595
  "Code heraus zugreifbar zu machen. Kann nach dem Erstellen einer Checkbox "
3596
  "nicht mehr verändert werden."
3597
 
3598
+ #: includes/class-wc-gzd-legal-checkbox.php:742
3599
  msgid "Describe the use case of your checkbox."
3600
  msgstr "Beschreibe hier den Use-Case deiner Checkbox."
3601
 
3602
+ #: includes/class-wc-gzd-legal-checkbox.php:748
3603
  msgid "Label"
3604
  msgstr "Beschriftung"
3605
 
3606
+ #: includes/class-wc-gzd-legal-checkbox.php:752
3607
  msgid "Choose a label to be inserted next to the checkbox."
3608
  msgstr "Wähle eine Beschriftung aus, die neben der Checkbox platziert wird."
3609
 
3610
+ #: includes/class-wc-gzd-legal-checkbox.php:753
3611
+ #: includes/class-wc-gzd-legal-checkbox.php:763
3612
  #, php-format
3613
  msgid "You may use one of the following placeholders within the text: %s"
3614
  msgstr "Du kannst einen der folgenden Platzhalter in deinem Text verwenden: %s"
3615
 
3616
+ #: includes/class-wc-gzd-legal-checkbox.php:758
3617
  msgid "Error Message"
3618
  msgstr "Fehlermeldung"
3619
 
3620
+ #: includes/class-wc-gzd-legal-checkbox.php:762
3621
  msgid ""
3622
  "Choose an error message to be shown when the user has not confirmed the "
3623
  "checkbox."
3626
  "die Checkbox nicht bestätigt hat."
3627
 
3628
  # @ woocommerce-germanized
3629
+ #: includes/class-wc-gzd-legal-checkbox.php:768
3630
  msgid "Hide input"
3631
  msgstr "Ausblenden"
3632
 
3633
+ #: includes/class-wc-gzd-legal-checkbox.php:771
3634
  msgid "Do only show a label and hide the actual checkbox."
3635
  msgstr ""
3636
  "Zeige lediglich die Beschriftung und entferne die eigentliche Checkbox."
3637
 
3638
+ #: includes/class-wc-gzd-legal-checkbox.php:779
3639
  msgid "Mark the checkbox as mandatory."
3640
  msgstr "Checkbox zum Pflichtfeld machen."
3641
 
3642
  # @ woocommerce-germanized
3643
+ #: includes/class-wc-gzd-legal-checkbox.php:784
3644
  msgid "Locations"
3645
  msgstr "Orte"
3646
 
3647
+ #: includes/class-wc-gzd-legal-checkbox.php:788
3648
  msgid "Choose where to display your checkbox."
3649
  msgstr "Wähle einen Ort aus, an dem die Checkbox platziert werden soll."
3650
 
5367
  #: includes/trusted-shops/class-wc-gzd-trusted-shops-template-hooks.php:164
5368
  msgctxt "trusted-shops"
5369
  msgid "Review reminder"
5370
+ msgstr "Bewertungserinnerung"
5371
 
5372
  #: includes/trusted-shops/class-wc-gzd-trusted-shops-template-hooks.php:165
5373
  msgctxt "trusted-shops"
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: 2018-06-13 13:35+0200\n"
6
- "PO-Revision-Date: 2018-06-13 13:35+0200\n"
7
  "Last-Translator: holzhannes <holzhannes@posteo.de>\n"
8
  "Language-Team: \n"
9
  "Language: de_DE\n"
@@ -249,7 +249,7 @@ msgstr "Virtuelles Produkt"
249
  #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:46
250
  #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data.php:119
251
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:766
252
- #: includes/class-wc-gzd-legal-checkbox-manager.php:107
253
  msgid "Service"
254
  msgstr "Dienstleistung"
255
 
@@ -850,7 +850,7 @@ msgstr ""
850
 
851
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:266
852
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:300
853
- #: includes/class-wc-gzd-legal-checkbox-manager.php:143
854
  msgid "Privacy Policy"
855
  msgstr "Datenschutz"
856
 
@@ -2107,13 +2107,13 @@ msgstr ""
2107
 
2108
  # @ woocommerce-germanized
2109
  #: includes/admin/views/html-admin-page-checkboxes.php:16
2110
- #: includes/class-wc-gzd-legal-checkbox.php:709
2111
  msgid "Name"
2112
  msgstr "Name"
2113
 
2114
  # @ woocommerce-germanized
2115
  #: includes/admin/views/html-admin-page-checkboxes.php:17
2116
- #: includes/class-wc-gzd-legal-checkbox.php:728
2117
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:657
2118
  #: includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:106
2119
  msgid "Description"
@@ -2125,7 +2125,7 @@ msgstr "Aktiviert"
2125
 
2126
  # @ woocommerce-germanized
2127
  #: includes/admin/views/html-admin-page-checkboxes.php:19
2128
- #: includes/class-wc-gzd-legal-checkbox.php:765
2129
  msgid "Mandatory"
2130
  msgstr "Pflichtfeld"
2131
 
@@ -3100,16 +3100,32 @@ msgstr ""
3100
  "Bitte erstellen Sie ein Kundenkonto oder loggen Sie sich ein, bevor Sie zur "
3101
  "Kasse gehen"
3102
 
 
 
 
 
 
 
 
 
3103
  # @ woocommerce-germanized
3104
- #: includes/class-wc-gzd-customer-helper.php:296
3105
  msgid "Sorry, but this activation code cannot be found."
3106
  msgstr "Sorry, dieser Aktivierungscode ist uns leider nicht bekannt."
3107
 
3108
  # @ woocommerce-germanized
3109
- #: includes/class-wc-gzd-customer-helper.php:300
3110
  msgid "Thank you. You have successfully activated your account."
3111
  msgstr "Vielen Dank. Ihr Benutzerkonto wurde erfolgreich aktiviert."
3112
 
 
 
 
 
 
 
 
 
3113
  #: includes/class-wc-gzd-dhl-parcel-shops.php:180
3114
  msgid "DHL Parcel Shop?"
3115
  msgstr "DHL Paketshop/Packstation?"
@@ -3347,7 +3363,7 @@ msgid "Payment Methods"
3347
  msgstr "Zahlungsarten"
3348
 
3349
  # @ woocommerce-germanized
3350
- #: includes/class-wc-gzd-legal-checkbox-manager.php:65
3351
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:18
3352
  msgid ""
3353
  "With your order, you agree to have read and understood our {term_link}Terms "
@@ -3361,7 +3377,7 @@ msgstr ""
3361
  "data_security_link} einverstanden."
3362
 
3363
  # @ woocommerce-germanized
3364
- #: includes/class-wc-gzd-legal-checkbox-manager.php:66
3365
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:19
3366
  msgid ""
3367
  "To finish the order you have to accept to our {term_link}Terms and "
@@ -3374,11 +3390,11 @@ msgstr ""
3374
  "{data_security_link}Datenschutzbestimmungen{/data_security_link}."
3375
 
3376
  # @ woocommerce-germanized
3377
- #: includes/class-wc-gzd-legal-checkbox-manager.php:72
3378
  msgid "Legal"
3379
  msgstr "Allgemein"
3380
 
3381
- #: includes/class-wc-gzd-legal-checkbox-manager.php:73
3382
  msgid ""
3383
  "General legal checkbox which shall include terms, revocation and privacy "
3384
  "notice."
@@ -3387,7 +3403,7 @@ msgstr ""
3387
  "enthalten sollte."
3388
 
3389
  # @ woocommerce-germanized
3390
- #: includes/class-wc-gzd-legal-checkbox-manager.php:81
3391
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:24
3392
  msgid ""
3393
  "For digital products: I strongly agree that the execution of the agreement "
@@ -3399,7 +3415,7 @@ msgstr ""
3399
  "bekannt, dass mit Beginn der Ausführung mein Widerrufsrecht erlischt."
3400
 
3401
  # @ woocommerce-germanized
3402
- #: includes/class-wc-gzd-legal-checkbox-manager.php:83
3403
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:25
3404
  msgid ""
3405
  "To retrieve direct access to digital content you have to agree to the loss "
@@ -3408,17 +3424,17 @@ msgstr ""
3408
  "Um direkten Zugang zu den digitalen Inhalte zu erhalten, müssen Sie auf das "
3409
  "Widerrufsrecht verzichten."
3410
 
3411
- #: includes/class-wc-gzd-legal-checkbox-manager.php:89
3412
  msgid "Digital"
3413
  msgstr "Digital"
3414
 
3415
- #: includes/class-wc-gzd-legal-checkbox-manager.php:90
3416
  msgid "Asks the customer to skip revocation period for digital products."
3417
  msgstr ""
3418
  "Ermöglicht die Bereitstellung des Downloads vor Ablauf der Widerrufsfrist."
3419
 
3420
  # @ woocommerce-germanized
3421
- #: includes/class-wc-gzd-legal-checkbox-manager.php:99
3422
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:31
3423
  msgid ""
3424
  "For services: I demand and acknowledge the immediate performance of the "
@@ -3431,7 +3447,7 @@ msgstr ""
3431
  "vollständiger Erfüllung des Vertrages erlischt."
3432
 
3433
  # @ woocommerce-germanized
3434
- #: includes/class-wc-gzd-legal-checkbox-manager.php:101
3435
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:32
3436
  msgid ""
3437
  "To allow the immediate performance of the services you have to agree to the "
@@ -3440,12 +3456,12 @@ msgstr ""
3440
  "Bitte stimmen Sie dem Beginn der Dienstleistung vor Ablauf der "
3441
  "Widerrufsfrist zu."
3442
 
3443
- #: includes/class-wc-gzd-legal-checkbox-manager.php:108
3444
  msgid "Asks the customer to skip revocation period for services."
3445
  msgstr ""
3446
  "Ermöglicht das Beginnen von Dienstleistungen vor Ablauf der Widerrufsfrist."
3447
 
3448
- #: includes/class-wc-gzd-legal-checkbox-manager.php:116
3449
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:40
3450
  msgid ""
3451
  "Yes, I would like to be reminded via E-mail about parcel delivery "
@@ -3458,16 +3474,16 @@ msgstr ""
3458
  "weitergegeben."
3459
 
3460
  # @ woocommerce-germanized
3461
- #: includes/class-wc-gzd-legal-checkbox-manager.php:121
3462
  msgid "Please accept our parcel delivery agreement"
3463
  msgstr "Bitte akzeptiere die Datenweitergabe an unsere Paketdienstleister"
3464
 
3465
  # @ woocommerce-germanized
3466
- #: includes/class-wc-gzd-legal-checkbox-manager.php:126
3467
  msgid "Parcel Delivery"
3468
  msgstr "Paketdienstleister"
3469
 
3470
- #: includes/class-wc-gzd-legal-checkbox-manager.php:127
3471
  msgid ""
3472
  "Asks the customer to hand over data to the parcel delivery service provider."
3473
  msgstr ""
@@ -3475,7 +3491,7 @@ msgstr ""
3475
  "Paketdienstleister ein."
3476
 
3477
  # @ woocommerce-germanized
3478
- #: includes/class-wc-gzd-legal-checkbox-manager.php:136
3479
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:44
3480
  msgid ""
3481
  "Yes, I’d like create a new account and have read and understood the "
@@ -3485,78 +3501,82 @@ msgstr ""
3485
  "{data_security_link}Datenschutzerklärung{/data_security_link}."
3486
 
3487
  # @ woocommerce-germanized
3488
- #: includes/class-wc-gzd-legal-checkbox-manager.php:140
3489
  msgid "Please accept the creation of a new customer account"
3490
  msgstr "Bitte akzeptieren Sie die Erstellung eines neuen Kundenkontos"
3491
 
3492
  # @ woocommerce-germanized
3493
- #: includes/class-wc-gzd-legal-checkbox-manager.php:144
3494
  msgid "Let customers accept your privacy policy before registering."
3495
  msgstr ""
3496
  "Lässt Kunden deine Datenschutzbelehrung vor der Registrierung akzeptieren."
3497
 
3498
  # @ woocommerce-germanized
3499
- #: includes/class-wc-gzd-legal-checkbox-manager.php:158
3500
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:744
3501
  msgid "I hereby agree to the {link}direct debit mandate{/link}."
3502
  msgstr "Hiermit erteile ich das {link}SEPA Lastschriftmandat{/link}."
3503
 
3504
  # @ woocommerce-germanized
3505
- #: includes/class-wc-gzd-legal-checkbox-manager.php:161
3506
  msgid "Please accept the direct debit mandate."
3507
  msgstr "Bitte erteilen Sie das SEPA Lastschriftmandat."
3508
 
3509
  # @ woocommerce-germanized
3510
- #: includes/class-wc-gzd-legal-checkbox-manager.php:166
3511
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:187
3512
  msgid "SEPA"
3513
  msgstr "SEPA"
3514
 
3515
- #: includes/class-wc-gzd-legal-checkbox-manager.php:167
3516
  msgid "Asks the customer to issue the SEPA mandate."
3517
  msgstr "Lässt den Kunden das SEPA Mandat vor dem Kauf bestätigen."
3518
 
3519
  # @ woocommerce-germanized
3520
- #: includes/class-wc-gzd-legal-checkbox-manager.php:331
3521
  msgid "Checkout"
3522
  msgstr "Kasse"
3523
 
3524
  # @ woocommerce-germanized
3525
- #: includes/class-wc-gzd-legal-checkbox-manager.php:332
3526
  msgid "Register form"
3527
  msgstr "Registrierung"
3528
 
3529
  # @ woocommerce
3530
- #: includes/class-wc-gzd-legal-checkbox-manager.php:333
3531
  msgid "Pay for order"
3532
  msgstr "Bestell-Bezahlseite"
3533
 
3534
- #: includes/class-wc-gzd-legal-checkbox-manager.php:395
 
 
 
 
3535
  #, php-format
3536
  msgid "Checkbox location %s does not exist."
3537
  msgstr "Checkbox Ort %s existiert nicht."
3538
 
3539
- #: includes/class-wc-gzd-legal-checkbox-manager.php:414
3540
  #, php-format
3541
  msgid "Please make sure to check %s checkbox."
3542
  msgstr "Kontrolliere bitte %s. Hier fehlt eine Einwilligung."
3543
 
3544
- #: includes/class-wc-gzd-legal-checkbox-manager.php:419
3545
  #, php-format
3546
  msgid "Checkbox with name %s does already exist."
3547
  msgstr "Eine Checkbox mit dem Namen %s existiert bereits."
3548
 
3549
  # @ woocommerce-germanized
3550
- #: includes/class-wc-gzd-legal-checkbox.php:701
3551
  msgid "Status"
3552
  msgstr "Status"
3553
 
3554
  # @ woocommerce-germanized
3555
- #: includes/class-wc-gzd-legal-checkbox.php:704
3556
  msgid "Enable checkbox"
3557
  msgstr "Checkbox aktivieren"
3558
 
3559
- #: includes/class-wc-gzd-legal-checkbox.php:713
3560
  msgid ""
3561
  "Choose a name to identify your checkbox. Upon creating a new checkbox, this "
3562
  "value is being used to generate the Id."
@@ -3564,11 +3584,11 @@ msgstr ""
3564
  "Wähle einen Namen um deine Checkbox zu identifizieren. Bei Erstellung einer "
3565
  "neuen Checkbox wird dieser Wert verwendet um eine Id zu erzeugen."
3566
 
3567
- #: includes/class-wc-gzd-legal-checkbox.php:718
3568
  msgid "Id"
3569
  msgstr "Id"
3570
 
3571
- #: includes/class-wc-gzd-legal-checkbox.php:722
3572
  msgid ""
3573
  "The checkbox Id is the unique indentifier which is used to identify the "
3574
  "checkbox within the code. Cannot be edited after creating the checkbox."
@@ -3577,29 +3597,29 @@ msgstr ""
3577
  "Code heraus zugreifbar zu machen. Kann nach dem Erstellen einer Checkbox "
3578
  "nicht mehr verändert werden."
3579
 
3580
- #: includes/class-wc-gzd-legal-checkbox.php:731
3581
  msgid "Describe the use case of your checkbox."
3582
  msgstr "Beschreibe hier den Use-Case deiner Checkbox."
3583
 
3584
- #: includes/class-wc-gzd-legal-checkbox.php:737
3585
  msgid "Label"
3586
  msgstr "Beschriftung"
3587
 
3588
- #: includes/class-wc-gzd-legal-checkbox.php:741
3589
  msgid "Choose a label to be inserted next to the checkbox."
3590
  msgstr "Wähle eine Beschriftung aus, die neben der Checkbox platziert wird."
3591
 
3592
- #: includes/class-wc-gzd-legal-checkbox.php:742
3593
- #: includes/class-wc-gzd-legal-checkbox.php:752
3594
  #, php-format
3595
  msgid "You may use one of the following placeholders within the text: %s"
3596
  msgstr "Du kannst einen der folgenden Platzhalter in deinem Text verwenden: %s"
3597
 
3598
- #: includes/class-wc-gzd-legal-checkbox.php:747
3599
  msgid "Error Message"
3600
  msgstr "Fehlermeldung"
3601
 
3602
- #: includes/class-wc-gzd-legal-checkbox.php:751
3603
  msgid ""
3604
  "Choose an error message to be shown when the user has not confirmed the "
3605
  "checkbox."
@@ -3608,25 +3628,25 @@ msgstr ""
3608
  "die Checkbox nicht bestätigt hat."
3609
 
3610
  # @ woocommerce-germanized
3611
- #: includes/class-wc-gzd-legal-checkbox.php:757
3612
  msgid "Hide input"
3613
  msgstr "Ausblenden"
3614
 
3615
- #: includes/class-wc-gzd-legal-checkbox.php:760
3616
  msgid "Do only show a label and hide the actual checkbox."
3617
  msgstr ""
3618
  "Zeige lediglich die Beschriftung und entferne die eigentliche Checkbox."
3619
 
3620
- #: includes/class-wc-gzd-legal-checkbox.php:768
3621
  msgid "Mark the checkbox as mandatory."
3622
  msgstr "Checkbox zum Pflichtfeld machen."
3623
 
3624
  # @ woocommerce-germanized
3625
- #: includes/class-wc-gzd-legal-checkbox.php:773
3626
  msgid "Locations"
3627
  msgstr "Orte"
3628
 
3629
- #: includes/class-wc-gzd-legal-checkbox.php:777
3630
  msgid "Choose where to display your checkbox."
3631
  msgstr "Wähle einen Ort aus, an dem die Checkbox platziert werden soll."
3632
 
@@ -5350,7 +5370,7 @@ msgstr "Bitte akzeptiere den Erhalt einer Bewertungserinnerung per E-Mail."
5350
  #: includes/trusted-shops/class-wc-gzd-trusted-shops-template-hooks.php:164
5351
  msgctxt "trusted-shops"
5352
  msgid "Review reminder"
5353
- msgstr "Bewertungs Erinnerung"
5354
 
5355
  # @ woocommerce-germanized
5356
  #: includes/trusted-shops/class-wc-gzd-trusted-shops-template-hooks.php:165
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Germanized v1.5.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-06-15 12:12+0200\n"
6
+ "PO-Revision-Date: 2018-06-15 12:13+0200\n"
7
  "Last-Translator: holzhannes <holzhannes@posteo.de>\n"
8
  "Language-Team: \n"
9
  "Language: de_DE\n"
249
  #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:46
250
  #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data.php:119
251
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:766
252
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:122
253
  msgid "Service"
254
  msgstr "Dienstleistung"
255
 
850
 
851
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:266
852
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:300
853
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:158
854
  msgid "Privacy Policy"
855
  msgstr "Datenschutz"
856
 
2107
 
2108
  # @ woocommerce-germanized
2109
  #: includes/admin/views/html-admin-page-checkboxes.php:16
2110
+ #: includes/class-wc-gzd-legal-checkbox.php:720
2111
  msgid "Name"
2112
  msgstr "Name"
2113
 
2114
  # @ woocommerce-germanized
2115
  #: includes/admin/views/html-admin-page-checkboxes.php:17
2116
+ #: includes/class-wc-gzd-legal-checkbox.php:739
2117
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:657
2118
  #: includes/gateways/invoice/class-wc-gzd-gateway-invoice.php:106
2119
  msgid "Description"
2125
 
2126
  # @ woocommerce-germanized
2127
  #: includes/admin/views/html-admin-page-checkboxes.php:19
2128
+ #: includes/class-wc-gzd-legal-checkbox.php:776
2129
  msgid "Mandatory"
2130
  msgstr "Pflichtfeld"
2131
 
3100
  "Bitte erstellen Sie ein Kundenkonto oder loggen Sie sich ein, bevor Sie zur "
3101
  "Kasse gehen"
3102
 
3103
+ #: includes/class-wc-gzd-customer-helper.php:297
3104
+ msgid ""
3105
+ "This activation code has expired. We have sent you a new activation code via "
3106
+ "e-mail."
3107
+ msgstr ""
3108
+ "Dieser Aktivierungscode ist leider abgelaufen. Wir haben Ihnen einen neuen "
3109
+ "Code per E-Mail geschickt."
3110
+
3111
  # @ woocommerce-germanized
3112
+ #: includes/class-wc-gzd-customer-helper.php:299
3113
  msgid "Sorry, but this activation code cannot be found."
3114
  msgstr "Sorry, dieser Aktivierungscode ist uns leider nicht bekannt."
3115
 
3116
  # @ woocommerce-germanized
3117
+ #: includes/class-wc-gzd-customer-helper.php:303
3118
  msgid "Thank you. You have successfully activated your account."
3119
  msgstr "Vielen Dank. Ihr Benutzerkonto wurde erfolgreich aktiviert."
3120
 
3121
+ #: includes/class-wc-gzd-customer-helper.php:410
3122
+ msgid "Expired activation key"
3123
+ msgstr "Abgelaufener Aktivierungscode"
3124
+
3125
+ #: includes/class-wc-gzd-customer-helper.php:415
3126
+ msgid "Invalid activation key"
3127
+ msgstr "Aktivierungscode ungültig"
3128
+
3129
  #: includes/class-wc-gzd-dhl-parcel-shops.php:180
3130
  msgid "DHL Parcel Shop?"
3131
  msgstr "DHL Paketshop/Packstation?"
3363
  msgstr "Zahlungsarten"
3364
 
3365
  # @ woocommerce-germanized
3366
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:80
3367
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:18
3368
  msgid ""
3369
  "With your order, you agree to have read and understood our {term_link}Terms "
3377
  "data_security_link} einverstanden."
3378
 
3379
  # @ woocommerce-germanized
3380
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:81
3381
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:19
3382
  msgid ""
3383
  "To finish the order you have to accept to our {term_link}Terms and "
3390
  "{data_security_link}Datenschutzbestimmungen{/data_security_link}."
3391
 
3392
  # @ woocommerce-germanized
3393
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:87
3394
  msgid "Legal"
3395
  msgstr "Allgemein"
3396
 
3397
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:88
3398
  msgid ""
3399
  "General legal checkbox which shall include terms, revocation and privacy "
3400
  "notice."
3403
  "enthalten sollte."
3404
 
3405
  # @ woocommerce-germanized
3406
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:96
3407
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:24
3408
  msgid ""
3409
  "For digital products: I strongly agree that the execution of the agreement "
3415
  "bekannt, dass mit Beginn der Ausführung mein Widerrufsrecht erlischt."
3416
 
3417
  # @ woocommerce-germanized
3418
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:98
3419
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:25
3420
  msgid ""
3421
  "To retrieve direct access to digital content you have to agree to the loss "
3424
  "Um direkten Zugang zu den digitalen Inhalte zu erhalten, müssen Sie auf das "
3425
  "Widerrufsrecht verzichten."
3426
 
3427
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:104
3428
  msgid "Digital"
3429
  msgstr "Digital"
3430
 
3431
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:105
3432
  msgid "Asks the customer to skip revocation period for digital products."
3433
  msgstr ""
3434
  "Ermöglicht die Bereitstellung des Downloads vor Ablauf der Widerrufsfrist."
3435
 
3436
  # @ woocommerce-germanized
3437
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:114
3438
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:31
3439
  msgid ""
3440
  "For services: I demand and acknowledge the immediate performance of the "
3447
  "vollständiger Erfüllung des Vertrages erlischt."
3448
 
3449
  # @ woocommerce-germanized
3450
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:116
3451
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:32
3452
  msgid ""
3453
  "To allow the immediate performance of the services you have to agree to the "
3456
  "Bitte stimmen Sie dem Beginn der Dienstleistung vor Ablauf der "
3457
  "Widerrufsfrist zu."
3458
 
3459
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:123
3460
  msgid "Asks the customer to skip revocation period for services."
3461
  msgstr ""
3462
  "Ermöglicht das Beginnen von Dienstleistungen vor Ablauf der Widerrufsfrist."
3463
 
3464
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:131
3465
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:40
3466
  msgid ""
3467
  "Yes, I would like to be reminded via E-mail about parcel delivery "
3474
  "weitergegeben."
3475
 
3476
  # @ woocommerce-germanized
3477
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:136
3478
  msgid "Please accept our parcel delivery agreement"
3479
  msgstr "Bitte akzeptiere die Datenweitergabe an unsere Paketdienstleister"
3480
 
3481
  # @ woocommerce-germanized
3482
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:141
3483
  msgid "Parcel Delivery"
3484
  msgstr "Paketdienstleister"
3485
 
3486
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:142
3487
  msgid ""
3488
  "Asks the customer to hand over data to the parcel delivery service provider."
3489
  msgstr ""
3491
  "Paketdienstleister ein."
3492
 
3493
  # @ woocommerce-germanized
3494
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:151
3495
  #: includes/updates/woocommerce-gzd-update-2.0.1.php:44
3496
  msgid ""
3497
  "Yes, I’d like create a new account and have read and understood the "
3501
  "{data_security_link}Datenschutzerklärung{/data_security_link}."
3502
 
3503
  # @ woocommerce-germanized
3504
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:155
3505
  msgid "Please accept the creation of a new customer account"
3506
  msgstr "Bitte akzeptieren Sie die Erstellung eines neuen Kundenkontos"
3507
 
3508
  # @ woocommerce-germanized
3509
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:159
3510
  msgid "Let customers accept your privacy policy before registering."
3511
  msgstr ""
3512
  "Lässt Kunden deine Datenschutzbelehrung vor der Registrierung akzeptieren."
3513
 
3514
  # @ woocommerce-germanized
3515
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:173
3516
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:744
3517
  msgid "I hereby agree to the {link}direct debit mandate{/link}."
3518
  msgstr "Hiermit erteile ich das {link}SEPA Lastschriftmandat{/link}."
3519
 
3520
  # @ woocommerce-germanized
3521
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:176
3522
  msgid "Please accept the direct debit mandate."
3523
  msgstr "Bitte erteilen Sie das SEPA Lastschriftmandat."
3524
 
3525
  # @ woocommerce-germanized
3526
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:181
3527
  #: includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php:187
3528
  msgid "SEPA"
3529
  msgstr "SEPA"
3530
 
3531
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:182
3532
  msgid "Asks the customer to issue the SEPA mandate."
3533
  msgstr "Lässt den Kunden das SEPA Mandat vor dem Kauf bestätigen."
3534
 
3535
  # @ woocommerce-germanized
3536
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:367
3537
  msgid "Checkout"
3538
  msgstr "Kasse"
3539
 
3540
  # @ woocommerce-germanized
3541
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:368
3542
  msgid "Register form"
3543
  msgstr "Registrierung"
3544
 
3545
  # @ woocommerce
3546
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:369
3547
  msgid "Pay for order"
3548
  msgstr "Bestell-Bezahlseite"
3549
 
3550
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:370
3551
+ msgid "Reviews"
3552
+ msgstr "Bewertungen"
3553
+
3554
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:432
3555
  #, php-format
3556
  msgid "Checkbox location %s does not exist."
3557
  msgstr "Checkbox Ort %s existiert nicht."
3558
 
3559
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:451
3560
  #, php-format
3561
  msgid "Please make sure to check %s checkbox."
3562
  msgstr "Kontrolliere bitte %s. Hier fehlt eine Einwilligung."
3563
 
3564
+ #: includes/class-wc-gzd-legal-checkbox-manager.php:456
3565
  #, php-format
3566
  msgid "Checkbox with name %s does already exist."
3567
  msgstr "Eine Checkbox mit dem Namen %s existiert bereits."
3568
 
3569
  # @ woocommerce-germanized
3570
+ #: includes/class-wc-gzd-legal-checkbox.php:712
3571
  msgid "Status"
3572
  msgstr "Status"
3573
 
3574
  # @ woocommerce-germanized
3575
+ #: includes/class-wc-gzd-legal-checkbox.php:715
3576
  msgid "Enable checkbox"
3577
  msgstr "Checkbox aktivieren"
3578
 
3579
+ #: includes/class-wc-gzd-legal-checkbox.php:724
3580
  msgid ""
3581
  "Choose a name to identify your checkbox. Upon creating a new checkbox, this "
3582
  "value is being used to generate the Id."
3584
  "Wähle einen Namen um deine Checkbox zu identifizieren. Bei Erstellung einer "
3585
  "neuen Checkbox wird dieser Wert verwendet um eine Id zu erzeugen."
3586
 
3587
+ #: includes/class-wc-gzd-legal-checkbox.php:729
3588
  msgid "Id"
3589
  msgstr "Id"
3590
 
3591
+ #: includes/class-wc-gzd-legal-checkbox.php:733
3592
  msgid ""
3593
  "The checkbox Id is the unique indentifier which is used to identify the "
3594
  "checkbox within the code. Cannot be edited after creating the checkbox."
3597
  "Code heraus zugreifbar zu machen. Kann nach dem Erstellen einer Checkbox "
3598
  "nicht mehr verändert werden."
3599
 
3600
+ #: includes/class-wc-gzd-legal-checkbox.php:742
3601
  msgid "Describe the use case of your checkbox."
3602
  msgstr "Beschreibe hier den Use-Case deiner Checkbox."
3603
 
3604
+ #: includes/class-wc-gzd-legal-checkbox.php:748
3605
  msgid "Label"
3606
  msgstr "Beschriftung"
3607
 
3608
+ #: includes/class-wc-gzd-legal-checkbox.php:752
3609
  msgid "Choose a label to be inserted next to the checkbox."
3610
  msgstr "Wähle eine Beschriftung aus, die neben der Checkbox platziert wird."
3611
 
3612
+ #: includes/class-wc-gzd-legal-checkbox.php:753
3613
+ #: includes/class-wc-gzd-legal-checkbox.php:763
3614
  #, php-format
3615
  msgid "You may use one of the following placeholders within the text: %s"
3616
  msgstr "Du kannst einen der folgenden Platzhalter in deinem Text verwenden: %s"
3617
 
3618
+ #: includes/class-wc-gzd-legal-checkbox.php:758
3619
  msgid "Error Message"
3620
  msgstr "Fehlermeldung"
3621
 
3622
+ #: includes/class-wc-gzd-legal-checkbox.php:762
3623
  msgid ""
3624
  "Choose an error message to be shown when the user has not confirmed the "
3625
  "checkbox."
3628
  "die Checkbox nicht bestätigt hat."
3629
 
3630
  # @ woocommerce-germanized
3631
+ #: includes/class-wc-gzd-legal-checkbox.php:768
3632
  msgid "Hide input"
3633
  msgstr "Ausblenden"
3634
 
3635
+ #: includes/class-wc-gzd-legal-checkbox.php:771
3636
  msgid "Do only show a label and hide the actual checkbox."
3637
  msgstr ""
3638
  "Zeige lediglich die Beschriftung und entferne die eigentliche Checkbox."
3639
 
3640
+ #: includes/class-wc-gzd-legal-checkbox.php:779
3641
  msgid "Mark the checkbox as mandatory."
3642
  msgstr "Checkbox zum Pflichtfeld machen."
3643
 
3644
  # @ woocommerce-germanized
3645
+ #: includes/class-wc-gzd-legal-checkbox.php:784
3646
  msgid "Locations"
3647
  msgstr "Orte"
3648
 
3649
+ #: includes/class-wc-gzd-legal-checkbox.php:788
3650
  msgid "Choose where to display your checkbox."
3651
  msgstr "Wähle einen Ort aus, an dem die Checkbox platziert werden soll."
3652
 
5370
  #: includes/trusted-shops/class-wc-gzd-trusted-shops-template-hooks.php:164
5371
  msgctxt "trusted-shops"
5372
  msgid "Review reminder"
5373
+ msgstr "Bewertungserinnerung"
5374
 
5375
  # @ woocommerce-germanized
5376
  #: includes/trusted-shops/class-wc-gzd-trusted-shops-template-hooks.php:165
includes/class-wc-gzd-customer-helper.php CHANGED
@@ -273,7 +273,6 @@ class WC_GZD_Customer_Helper {
273
  return new WP_Error( 'woocommerce_gzd_login', __( 'Please activate your account through clicking on the activation link received via email.', 'woocommerce-germanized' ) );
274
 
275
  return $user;
276
-
277
  }
278
 
279
  /**
@@ -282,17 +281,20 @@ class WC_GZD_Customer_Helper {
282
  public function customer_account_activation_check() {
283
  if ( is_account_page() ) {
284
  if ( isset( $_GET[ 'activate' ] ) ) {
285
- $activation_code = sanitize_text_field( $_GET[ 'activate' ] );
 
286
  if ( ! empty( $activation_code ) ) {
287
- if ( $this->customer_account_activate( $activation_code, true ) ) {
 
 
288
  $url = add_query_arg( array( 'activated' => 'yes' ) );
289
  $url = remove_query_arg( 'activate', $url );
 
290
 
291
  wp_safe_redirect( apply_filters( 'woocommerce_gzd_double_opt_in_successful_redirect', $url ) );
292
- }
293
-
294
- // Double Opt In failed
295
- if ( ! is_user_logged_in() ) {
296
  wc_add_notice( __( 'Sorry, but this activation code cannot be found.', 'woocommerce-germanized' ), 'error' );
297
  }
298
  }
@@ -343,12 +345,11 @@ class WC_GZD_Customer_Helper {
343
  * Activate customer account based on activation code
344
  *
345
  * @param string $activation_code hashed activation code
346
- * @return boolean
347
  */
348
  public function customer_account_activate( $activation_code, $login = false ) {
349
-
350
  $roles = array_map( 'ucfirst', $this->get_double_opt_in_user_roles() );
351
-
352
  $user_query = new WP_User_Query( apply_filters( 'woocommerce_gzd_customer_account_activation_query', array(
353
  'role' => $roles,
354
  'number' => 1,
@@ -360,25 +361,57 @@ class WC_GZD_Customer_Helper {
360
  ),
361
  ),
362
  ), $activation_code, $login ) );
 
 
 
 
 
 
 
 
 
363
 
364
  if ( ! empty( $user_query->results ) ) {
365
-
366
  foreach ( $user_query->results as $user ) {
367
-
368
- do_action( 'woocommerce_gzd_customer_opted_in', $user );
369
- delete_user_meta( $user->ID, '_woocommerce_activation' );
370
- WC()->mailer()->customer_new_account( $user->ID );
371
 
372
- if ( apply_filters( 'woocommerce_gzd_user_activation_auto_login', $login, $user ) && ! is_user_logged_in() )
373
- wc_set_customer_auth_cookie( $user->ID );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
374
 
375
- do_action( 'woocommerce_gzd_customer_opt_in_finished', $user );
376
 
377
- return true;
 
 
 
 
378
  }
379
  }
380
 
381
- return false;
382
  }
383
 
384
  public function email_hooks( $mailer ) {
@@ -404,15 +437,19 @@ class WC_GZD_Customer_Helper {
404
  return;
405
 
406
  $user_pass = ! empty( $new_customer_data['user_pass'] ) ? $new_customer_data['user_pass'] : '';
407
-
408
  $user_activation = $this->get_customer_activation_meta( $customer_id );
409
- $user_activation_url = apply_filters( 'woocommerce_gzd_customer_activation_url', add_query_arg( array( 'activate' => $user_activation ), wc_gzd_get_page_permalink( 'myaccount' ) ) );
410
 
411
  if ( $email = WC_germanized()->emails->get_email_instance_by_id( 'customer_new_account_activation' ) )
412
  $email->trigger( $customer_id, $user_activation, $user_activation_url, $user_pass, $password_generated );
413
  }
414
 
415
- public function get_customer_activation_meta( $customer_id ) {
 
 
 
 
 
416
  global $wp_hasher;
417
 
418
  if ( ! $customer_id )
@@ -422,17 +459,21 @@ class WC_GZD_Customer_Helper {
422
  return;
423
 
424
  // If meta does already exist - return activation code
425
- if ( $activation = get_user_meta( $customer_id, '_woocommerce_activation', true ) ) {
426
  return $activation;
427
  }
428
 
429
- // Meta does not exist yet - create new activation code
 
 
 
430
  if ( empty( $wp_hasher ) ) {
431
  require_once ABSPATH . WPINC . '/class-phpass.php';
432
  $wp_hasher = new PasswordHash( 8, true );
433
  }
434
 
435
- $user_activation = $wp_hasher->HashPassword( wp_generate_password( 20 ) );
 
436
  add_user_meta( $customer_id, '_woocommerce_activation', $user_activation );
437
 
438
  return $user_activation;
273
  return new WP_Error( 'woocommerce_gzd_login', __( 'Please activate your account through clicking on the activation link received via email.', 'woocommerce-germanized' ) );
274
 
275
  return $user;
 
276
  }
277
 
278
  /**
281
  public function customer_account_activation_check() {
282
  if ( is_account_page() ) {
283
  if ( isset( $_GET[ 'activate' ] ) ) {
284
+ $activation_code = wc_clean( wp_unslash( $_GET[ 'activate' ] ) );
285
+
286
  if ( ! empty( $activation_code ) ) {
287
+ $result = $this->customer_account_activate( $activation_code, true );
288
+
289
+ if ( $result === true ) {
290
  $url = add_query_arg( array( 'activated' => 'yes' ) );
291
  $url = remove_query_arg( 'activate', $url );
292
+ $url = remove_query_arg( 'suffix', $url );
293
 
294
  wp_safe_redirect( apply_filters( 'woocommerce_gzd_double_opt_in_successful_redirect', $url ) );
295
+ } elseif ( is_wp_error( $result ) && 'expired_key' === $result->get_error_code() ) {
296
+ wc_add_notice( __( 'This activation code has expired. We have sent you a new activation code via e-mail.', 'woocommerce-germanized' ), 'error' );
297
+ } else {
 
298
  wc_add_notice( __( 'Sorry, but this activation code cannot be found.', 'woocommerce-germanized' ), 'error' );
299
  }
300
  }
345
  * Activate customer account based on activation code
346
  *
347
  * @param string $activation_code hashed activation code
348
+ * @return boolean|WP_Error
349
  */
350
  public function customer_account_activate( $activation_code, $login = false ) {
 
351
  $roles = array_map( 'ucfirst', $this->get_double_opt_in_user_roles() );
352
+
353
  $user_query = new WP_User_Query( apply_filters( 'woocommerce_gzd_customer_account_activation_query', array(
354
  'role' => $roles,
355
  'number' => 1,
361
  ),
362
  ),
363
  ), $activation_code, $login ) );
364
+
365
+ /**
366
+ * Filters the expiration time of customer activation keys.
367
+ *
368
+ * @since 4.3.0
369
+ *
370
+ * @param int $expiration The expiration time in seconds.
371
+ */
372
+ $expiration_duration = apply_filters( 'woocommerce_germanized_account_activation_expiration', DAY_IN_SECONDS );
373
 
374
  if ( ! empty( $user_query->results ) ) {
375
+
376
  foreach ( $user_query->results as $user ) {
 
 
 
 
377
 
378
+ $expiration_time = false;
379
+
380
+ if ( false !== strpos( $activation_code, ':' ) ) {
381
+ list( $activation_request_time, $activation_key ) = explode( ':', $activation_code, 2 );
382
+ $expiration_time = $activation_request_time + $expiration_duration;
383
+ }
384
+
385
+ if ( $expiration_time && time() < $expiration_time ) {
386
+
387
+ do_action( 'woocommerce_gzd_customer_opted_in', $user );
388
+ delete_user_meta( $user->ID, '_woocommerce_activation' );
389
+
390
+ WC()->mailer()->customer_new_account( $user->ID );
391
+
392
+ if ( apply_filters( 'woocommerce_gzd_user_activation_auto_login', $login, $user ) && ! is_user_logged_in() )
393
+ wc_set_customer_auth_cookie( $user->ID );
394
+
395
+ do_action( 'woocommerce_gzd_customer_opt_in_finished', $user );
396
+
397
+ return true;
398
+ } else {
399
+
400
+ do_action( 'woocommerce_gzd_customer_activation_expired', $user );
401
+ delete_user_meta( $user->ID, '_woocommerce_activation' );
402
+ $activation_code = $this->get_customer_activation_meta( $user->ID, true );
403
 
404
+ $user_activation_url = $this->get_customer_activation_url( $activation_code );
405
 
406
+ if ( $email = WC_germanized()->emails->get_email_instance_by_id( 'customer_new_account_activation' ) )
407
+ $email->trigger( $user->ID, $activation_code, $user_activation_url );
408
+
409
+ return new WP_Error( 'expired_key', __( 'Expired activation key', 'woocommerce-germanized' ) );
410
+ }
411
  }
412
  }
413
 
414
+ return new WP_Error( 'invalid_key', __( 'Invalid activation key', 'woocommerce-germanized' ) );
415
  }
416
 
417
  public function email_hooks( $mailer ) {
437
  return;
438
 
439
  $user_pass = ! empty( $new_customer_data['user_pass'] ) ? $new_customer_data['user_pass'] : '';
 
440
  $user_activation = $this->get_customer_activation_meta( $customer_id );
441
+ $user_activation_url = $this->get_customer_activation_url( $user_activation );
442
 
443
  if ( $email = WC_germanized()->emails->get_email_instance_by_id( 'customer_new_account_activation' ) )
444
  $email->trigger( $customer_id, $user_activation, $user_activation_url, $user_pass, $password_generated );
445
  }
446
 
447
+ public function get_customer_activation_url( $key ) {
448
+ // Append another GET-Parameter to avoid email clients from stripping points as last chars within our actication code.
449
+ return apply_filters( 'woocommerce_gzd_customer_activation_url', add_query_arg( array( 'activate' => $key, 'suffix' => 'yes' ), wc_gzd_get_page_permalink( 'myaccount' ) ) );
450
+ }
451
+
452
+ public function get_customer_activation_meta( $customer_id, $force_new = false ) {
453
  global $wp_hasher;
454
 
455
  if ( ! $customer_id )
459
  return;
460
 
461
  // If meta does already exist - return activation code
462
+ if ( ! $force_new && ( $activation = get_user_meta( $customer_id, '_woocommerce_activation', true ) ) ) {
463
  return $activation;
464
  }
465
 
466
+ // Generate something random for a password reset key.
467
+ $key = wp_generate_password( 20, false );
468
+
469
+ // Now insert the key, hashed, into the DB.
470
  if ( empty( $wp_hasher ) ) {
471
  require_once ABSPATH . WPINC . '/class-phpass.php';
472
  $wp_hasher = new PasswordHash( 8, true );
473
  }
474
 
475
+ $user_activation = time() . ':' . $wp_hasher->HashPassword( $key );
476
+
477
  add_user_meta( $customer_id, '_woocommerce_activation', $user_activation );
478
 
479
  return $user_activation;
includes/class-wc-gzd-legal-checkbox-manager.php CHANGED
@@ -31,6 +31,7 @@ class WC_GZD_Legal_Checkbox_Manager {
31
  add_action( 'woocommerce_after_checkout_validation', array( $this, 'validate_checkout' ), 1, 1 );
32
  add_filter( 'woocommerce_process_registration_errors', array( $this, 'validate_register' ), 10, 1 );
33
  add_action( 'woocommerce_before_pay_action', array( $this, 'validate_pay_for_order' ), 10, 1 );
 
34
 
35
  // Cannot use after_setup_theme here because language packs are not yet loaded
36
  add_action( 'init', array( $this, 'do_register_action' ), 50 );
@@ -326,6 +327,26 @@ class WC_GZD_Legal_Checkbox_Manager {
326
  }
327
  }
328
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
329
  public function validate_register( $validation_error ) {
330
  $this->maybe_do_hooks( 'register' );
331
 
@@ -343,9 +364,10 @@ class WC_GZD_Legal_Checkbox_Manager {
343
 
344
  public function get_locations() {
345
  return apply_filters( 'woocommerce_gzd_legal_checkbox_locations', array(
346
- 'checkout' => __( 'Checkout', 'woocommerce-germanized' ),
347
- 'register' => __( 'Register form', 'woocommerce-germanized' ),
348
- 'pay_for_order' => __( 'Pay for order', 'woocommerce-germanized' )
 
349
  ) );
350
  }
351
 
31
  add_action( 'woocommerce_after_checkout_validation', array( $this, 'validate_checkout' ), 1, 1 );
32
  add_filter( 'woocommerce_process_registration_errors', array( $this, 'validate_register' ), 10, 1 );
33
  add_action( 'woocommerce_before_pay_action', array( $this, 'validate_pay_for_order' ), 10, 1 );
34
+ add_filter( 'pre_comment_approved', array( $this, 'validate_reviews' ), 10, 2 );
35
 
36
  // Cannot use after_setup_theme here because language packs are not yet loaded
37
  add_action( 'init', array( $this, 'do_register_action' ), 50 );
327
  }
328
  }
329
 
330
+ public function validate_reviews( $approved, $comment_data ) {
331
+
332
+ if ( 'product' !== get_post_type( $comment_data['comment_post_ID'] ) ) {
333
+ return $approved;
334
+ }
335
+
336
+ $this->maybe_do_hooks( 'reviews' );
337
+
338
+ foreach( $this->get_checkboxes( array( 'locations' => 'reviews' ) ) as $id => $checkbox ) {
339
+
340
+ $value = isset( $_POST[ $checkbox->get_html_name() ] ) ? $_POST[ $checkbox->get_html_name() ] : '';
341
+
342
+ if( ! $checkbox->validate( $value, 'reviews' ) ) {
343
+ return new WP_Error( $checkbox->get_html_name(), $checkbox->get_error_message(), 409 );
344
+ }
345
+ }
346
+
347
+ return $approved;
348
+ }
349
+
350
  public function validate_register( $validation_error ) {
351
  $this->maybe_do_hooks( 'register' );
352
 
364
 
365
  public function get_locations() {
366
  return apply_filters( 'woocommerce_gzd_legal_checkbox_locations', array(
367
+ 'checkout' => __( 'Checkout', 'woocommerce-germanized' ),
368
+ 'register' => __( 'Register form', 'woocommerce-germanized' ),
369
+ 'pay_for_order' => __( 'Pay for order', 'woocommerce-germanized' ),
370
+ 'reviews' => __( 'Reviews', 'woocommerce-germanized' )
371
  ) );
372
  }
373
 
includes/class-wc-gzd-legal-checkbox.php CHANGED
@@ -50,6 +50,17 @@ class WC_GZD_Legal_Checkbox {
50
  * @param array $args
51
  */
52
  public function update( $args = array() ) {
 
 
 
 
 
 
 
 
 
 
 
53
  foreach( $args as $prop => $value ) {
54
  try {
55
  $setter = "set_$prop";
@@ -663,7 +674,7 @@ class WC_GZD_Legal_Checkbox {
663
  * @return string
664
  */
665
  public function get_form_field_id_prefix() {
666
- return "woocommerce_gzd_legal_checkboxes_settings_{$this->get_id()}_";
667
  }
668
 
669
  /**
50
  * @param array $args
51
  */
52
  public function update( $args = array() ) {
53
+
54
+ // Merge html classes to avoid core classes being overriden by empty option
55
+ $merge = array( 'html_classes', 'html_wrapper_classes' );
56
+
57
+ foreach( $merge as $merge_key ) {
58
+ if ( isset( $args[ $merge_key ] ) ) {
59
+ $getter = "get_" . $merge_key;
60
+ $args[ $merge_key ] = array_merge( $this->$getter(), $args[ $merge_key ] );
61
+ }
62
+ }
63
+
64
  foreach( $args as $prop => $value ) {
65
  try {
66
  $setter = "set_$prop";
674
  * @return string
675
  */
676
  public function get_form_field_id_prefix() {
677
+ return "woocommerce_gzd_checkboxes_{$this->get_id()}_";
678
  }
679
 
680
  /**
includes/wc-gzd-template-functions.php CHANGED
@@ -539,7 +539,26 @@ if ( ! function_exists( 'woocommerce_gzd_template_render_pay_for_order_checkboxe
539
  function woocommerce_gzd_template_render_pay_for_order_checkboxes() {
540
  WC_GZD_Legal_Checkbox_Manager::instance()->render( 'pay_for_order' );
541
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
542
 
 
 
 
 
 
 
543
  }
544
 
545
  ?>
539
  function woocommerce_gzd_template_render_pay_for_order_checkboxes() {
540
  WC_GZD_Legal_Checkbox_Manager::instance()->render( 'pay_for_order' );
541
  }
542
+ }
543
+
544
+ if ( ! function_exists( 'woocommerce_gzd_template_render_review_checkboxes' ) ) {
545
+
546
+ function woocommerce_gzd_template_render_review_checkboxes( $html, $args ) {
547
+ global $post;
548
+
549
+ if ( ! $post || $post->post_type !== 'product' ) {
550
+ return $html;
551
+ }
552
+
553
+ $manager = WC_GZD_Legal_Checkbox_Manager::instance();
554
+ $checkbox_html = '';
555
 
556
+ ob_start();
557
+ $manager->render( 'reviews' );
558
+ $checkbox_html .= ob_get_clean();
559
+
560
+ return $checkbox_html . $html;
561
+ }
562
  }
563
 
564
  ?>
includes/wc-gzd-template-hooks.php CHANGED
@@ -127,6 +127,7 @@ add_action( 'woocommerce_gzd_review_order_before_submit', 'woocommerce_gzd_templ
127
  */
128
  add_action( 'woocommerce_pay_order_before_submit', 'woocommerce_gzd_template_render_pay_for_order_checkboxes', 10 );
129
  add_action( 'woocommerce_register_form', 'woocommerce_gzd_template_render_register_checkboxes', 19 );
 
130
 
131
  function woocommerce_gzd_checkout_load_ajax_relevant_hooks() {
132
 
127
  */
128
  add_action( 'woocommerce_pay_order_before_submit', 'woocommerce_gzd_template_render_pay_for_order_checkboxes', 10 );
129
  add_action( 'woocommerce_register_form', 'woocommerce_gzd_template_render_register_checkboxes', 19 );
130
+ add_filter( 'comment_form_submit_button', 'woocommerce_gzd_template_render_review_checkboxes', 10, 2 );
131
 
132
  function woocommerce_gzd_checkout_load_ajax_relevant_hooks() {
133
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Requires at least: 3.8
5
  Tested up to: 4.9
6
  WC requires at least: 2.4
7
  WC tested up to: 3.4
8
- Stable tag: 2.0.2
9
  Requires PHP: 5.3
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -161,6 +161,13 @@ Bug reports may be filed via our [GitHub repository](https://github.com/vendider
161
 
162
  == Changelog ==
163
 
 
 
 
 
 
 
 
164
  = 2.0.2 =
165
  * Fix: Make sure we are not registering core legal checkboxes again
166
 
5
  Tested up to: 4.9
6
  WC requires at least: 2.4
7
  WC tested up to: 3.4
8
+ Stable tag: 2.0.3
9
  Requires PHP: 5.3
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
161
 
162
  == Changelog ==
163
 
164
+ = 2.0.3 =
165
+ * Improvement: Added reviews (review form) as new legal checkbox location
166
+ * Improvement: Merge html classes for legal checkboxes instead of replacing them
167
+ * Improvement: Added expiration feature to customer activation link.
168
+ * Improvement: Appended activation URL with another parameter to prevent email clients from stripping last char from activation code
169
+ * Tweak: Decrease legal checkbox settings admin field name due to some PHP setups having length-problems
170
+
171
  = 2.0.2 =
172
  * Fix: Make sure we are not registering core legal checkboxes again
173
 
woocommerce-germanized.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WooCommerce Germanized
4
  * Plugin URI: https://www.vendidero.de/woocommerce-germanized
5
  * Description: WooCommerce Germanized extends WooCommerce to become a legally compliant store in the german market.
6
- * Version: 2.0.2
7
  * Author: Vendidero
8
  * Author URI: https://vendidero.de
9
  * Requires at least: 3.8
@@ -31,7 +31,7 @@ final class WooCommerce_Germanized {
31
  *
32
  * @var string
33
  */
34
- public $version = '2.0.2';
35
 
36
  /**
37
  * Single instance of WooCommerce Germanized Main Class
3
  * Plugin Name: WooCommerce Germanized
4
  * Plugin URI: https://www.vendidero.de/woocommerce-germanized
5
  * Description: WooCommerce Germanized extends WooCommerce to become a legally compliant store in the german market.
6
+ * Version: 2.0.3
7
  * Author: Vendidero
8
  * Author URI: https://vendidero.de
9
  * Requires at least: 3.8
31
  *
32
  * @var string
33
  */
34
+ public $version = '2.0.3';
35
 
36
  /**
37
  * Single instance of WooCommerce Germanized Main Class