WooCommerce Extended Coupon Features - Version 1.1.4

Version Description

  • Translation support through .mo / .po files
  • Included translations: Dutch, German, Spanish
Download this release

Release Info

Developer josk79
Plugin Icon 128x128 WooCommerce Extended Coupon Features
Version 1.1.4
Comparing to
See all releases

Code changes from version 1.1.3.1 to 1.1.4

languages/woocommerce-jos-autocoupon-de_DE.mo ADDED
Binary file
languages/woocommerce-jos-autocoupon-de_DE.po ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2015 WooCommerce auto added coupons
2
+ # This file is distributed under the same license as the WooCommerce auto added coupons package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: WooCommerce auto added coupons 1.1.3.1\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/woocommerce-auto-"
7
+ "added-coupons\n"
8
+ "POT-Creation-Date: 2015-03-13 18:44:23+00:00\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2015-03-16 11:42+0100\n"
13
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
+ "X-Generator: Poedit 1.5.4\n"
16
+
17
+ #: woocommerce-jos-autocoupon.php:66
18
+ msgid "Auto coupon"
19
+ msgstr "Automatisch einlösen"
20
+
21
+ #: woocommerce-jos-autocoupon.php:67
22
+ msgid ""
23
+ "Automatically add the coupon to the cart if the restrictions are met. Please "
24
+ "enter a description when you check this box, the description will be shown "
25
+ "in the customers cart if the coupon is applied. (JOS - Woocommerce auto "
26
+ "added coupons plugin)."
27
+ msgstr ""
28
+ "Diesen Coupon im Warenkorb automatisch einlösen, wenn die Bedingungen "
29
+ "erfüllt wurden. Bitte geben Sie eine Beschreibung ein. Wenn Sie das Häkchen "
30
+ "setzen wird die Beschreibung im Warenkorb des Nutzers angezeigt, sobald der "
31
+ "Coupon eingelöst wurde. (JOS - Woocommerce auto added coupons plugin)"
32
+
33
+ #: woocommerce-jos-autocoupon.php:205
34
+ msgid "Discount applied: %s"
35
+ msgstr "Automatischer Rabatt: %s"
36
+
37
+ # msgid "http://wordpress.org/plugins/woocommerce-auto-added-coupons"
38
+ # msgstr ""
39
+ #. Plugin URI of the plugin/theme
40
+ #. Description of the plugin/theme
41
+ msgid ""
42
+ "Allow discounts to be automatically added to the cart when it's restrictions "
43
+ "are met. Allow applying coupons via an url."
44
+ msgstr ""
45
+ "Ermöglicht Coupons automatisch im Warenkorb einzulösen, wenn bestimmte "
46
+ "Bedinungen erfüllt sind. Coupons können auch via URL einlösbar gemacht "
47
+ "werden."
48
+
49
+ #~ msgid "Free shipping coupon"
50
+ #~ msgstr "Gratis verzending kortingsbon"
51
+
52
+ #. Plugin Name of the plugin/theme
53
+ #~ msgid "WooCommerce auto added coupons"
54
+ #~ msgstr "WooCommerce auto added coupons"
languages/woocommerce-jos-autocoupon-es_ES.mo ADDED
Binary file
languages/woocommerce-jos-autocoupon-es_ES.po ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2015 WooCommerce auto added coupons
2
+ # This file is distributed under the same license as the WooCommerce auto added coupons package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: WooCommerce auto added coupons 1.1.3.1\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/woocommerce-auto-"
7
+ "added-coupons\n"
8
+ "POT-Creation-Date: 2015-03-13 18:44:23+00:00\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
13
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
+
16
+ #: woocommerce-jos-autocoupon.php:66
17
+ msgid "Auto coupon"
18
+ msgstr "Aplicar cupón automaticamente"
19
+
20
+ #: woocommerce-jos-autocoupon.php:67
21
+ msgid ""
22
+ "Automatically add the coupon to the cart if the restrictions are met. Please "
23
+ "enter a description when you check this box, the description will be shown "
24
+ "in the customers cart if the coupon is applied. (JOS - Woocommerce auto "
25
+ "added coupons plugin)."
26
+ msgstr ""
27
+ "Aplicar el cupón automaticamente al carrito de compras cuando los requisitos "
28
+ "sean cumplidos. Por favor ingrese una descripción, ya que este será mostrado al "
29
+ "cliente cuando el cupón esté aplicado. "
30
+
31
+ #: woocommerce-jos-autocoupon.php:121
32
+ #~ msgid "Free shipping coupon"
33
+ #~ msgstr "Cupón para envío gratis"
34
+
35
+ #: woocommerce-jos-autocoupon.php:205
36
+ msgid "Discount applied: %s"
37
+ msgstr "Descuento aplicado: %s"
38
+
39
+ #. Plugin Name of the plugin/theme
40
+ #~ msgid "WooCommerce auto added coupons"
41
+ #~ msgstr "WooCommerce auto added coupons"
42
+
43
+ #. Plugin URI of the plugin/theme
44
+ msgid "http://wordpress.org/plugins/woocommerce-auto-added-coupons"
45
+ msgstr ""
46
+
47
+ #. Description of the plugin/theme
48
+ msgid ""
49
+ "Allow discounts to be automatically added to the cart when it's restrictions "
50
+ "are met. Allow applying coupons via an url."
51
+ msgstr ""
52
+ "Aplicar ciertos cupónes automaticamente al carrito de compras cuando los "
53
+ "requisitos sean cumplidos. Aplicar cupones a través de la url. "
54
+
55
+ #. Author of the plugin/theme
56
+ #~ msgid "Jos Koenis"
57
+ #~ msgstr ""
languages/woocommerce-jos-autocoupon-nl_NL.mo ADDED
Binary file
languages/woocommerce-jos-autocoupon-nl_NL.po ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2015 WooCommerce auto added coupons
2
+ # This file is distributed under the same license as the WooCommerce auto added coupons package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: WooCommerce auto added coupons 1.1.3.1\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/woocommerce-auto-"
7
+ "added-coupons\n"
8
+ "POT-Creation-Date: 2015-03-13 18:44:23+00:00\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
13
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
+
16
+ #: woocommerce-jos-autocoupon.php:66
17
+ msgid "Auto coupon"
18
+ msgstr "Automatisch toepassen"
19
+
20
+ #: woocommerce-jos-autocoupon.php:67
21
+ msgid ""
22
+ "Automatically add the coupon to the cart if the restrictions are met. Please "
23
+ "enter a description when you check this box, the description will be shown "
24
+ "in the customers cart if the coupon is applied. (JOS - Woocommerce auto "
25
+ "added coupons plugin)."
26
+ msgstr ""
27
+ "Voeg de kortingsbon automatisch toe aan het winkelwagentje als aan alle voorwaarden "
28
+ "wordt voldaan. Vult u a.u.b. een omschrijving in als u deze optie aanvinkt, de "
29
+ "omschrijving zal aan de klant worden getoond wanneer de kortingsbon wordt toegevoegd."
30
+ " (JOS - Woocommerce auto added coupons plugin)."
31
+
32
+ #: woocommerce-jos-autocoupon.php:121
33
+ #~ msgid "Free shipping coupon"
34
+ #~ msgstr "Gratis verzending kortingsbon"
35
+
36
+ #: woocommerce-jos-autocoupon.php:205
37
+ msgid "Discount applied: %s"
38
+ msgstr "Korting toegepast: %s"
39
+
40
+ #. Plugin Name of the plugin/theme
41
+ #~ msgid "WooCommerce auto added coupons"
42
+ #~ msgstr "WooCommerce auto added coupons"
43
+
44
+ #. Plugin URI of the plugin/theme
45
+ #msgid "http://wordpress.org/plugins/woocommerce-auto-added-coupons"
46
+ #msgstr ""
47
+
48
+ #. Description of the plugin/theme
49
+ msgid ""
50
+ "Allow discounts to be automatically added to the cart when it's restrictions "
51
+ "are met. Allow applying coupons via an url."
52
+ msgstr ""
53
+ "Staat het automatisch aan het winkelwagentje toevoegen van kortingsbonnen toe als aan "
54
+ "de voorwaarden wordt voldaan. Kortingsbonnen toepassen middels url."
55
+
56
+ #. Author of the plugin/theme
57
+ #~ msgid "Jos Koenis"
58
+ #~ msgstr ""
languages/woocommerce-jos-autocoupon.pot ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2015 WooCommerce auto added coupons
2
+ # This file is distributed under the same license as the WooCommerce auto added coupons package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: WooCommerce auto added coupons 1.1.3.1\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/woocommerce-auto-"
7
+ "added-coupons\n"
8
+ "POT-Creation-Date: 2015-03-13 18:44:23+00:00\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
13
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
+
16
+ #: woocommerce-jos-autocoupon.php:66
17
+ msgid "Auto coupon"
18
+ msgstr ""
19
+
20
+ #: woocommerce-jos-autocoupon.php:67
21
+ msgid ""
22
+ "Automatically add the coupon to the cart if the restrictions are met. Please "
23
+ "enter a description when you check this box, the description will be shown "
24
+ "in the customers cart if the coupon is applied. (JOS - Woocommerce auto "
25
+ "added coupons plugin)."
26
+ msgstr ""
27
+
28
+ #: woocommerce-jos-autocoupon.php:121
29
+ msgid "Free shipping coupon"
30
+ msgstr ""
31
+
32
+ #: woocommerce-jos-autocoupon.php:205
33
+ msgid "Discount applied: %s"
34
+ msgstr ""
35
+
36
+ #. Plugin Name of the plugin/theme
37
+ msgid "WooCommerce auto added coupons"
38
+ msgstr ""
39
+
40
+ #. Plugin URI of the plugin/theme
41
+ msgid "http://wordpress.org/plugins/woocommerce-auto-added-coupons"
42
+ msgstr ""
43
+
44
+ #. Description of the plugin/theme
45
+ msgid ""
46
+ "Allow discounts to be automatically added to the cart when it's restrictions "
47
+ "are met. Allow applying coupons via an url."
48
+ msgstr ""
49
+
50
+ #. Author of the plugin/theme
51
+ msgid "Jos Koenis"
52
+ msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=5T9XQ
4
  Tags: woocommerce, coupons, discount
5
  Requires at least: 3.0.1
6
  Tested up to: 4.1.1
7
- Stable tag: 1.1.3.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -69,6 +69,10 @@ Sure! [This](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=5T9XQ
69
  1. Simply use the WooCommerce Coupons menu to make a coupon an "auto coupon".
70
 
71
  == Changelog ==
 
 
 
 
72
  = 1.1.3.1 =
73
  * FIX: Apply auto coupon if discount is 0.00 and free shipping is ticked
74
 
4
  Tags: woocommerce, coupons, discount
5
  Requires at least: 3.0.1
6
  Tested up to: 4.1.1
7
+ Stable tag: 1.1.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
69
  1. Simply use the WooCommerce Coupons menu to make a coupon an "auto coupon".
70
 
71
  == Changelog ==
72
+ = 1.1.4 =
73
+ * Translation support through .mo / .po files
74
+ * Included translations: Dutch, German, Spanish
75
+
76
  = 1.1.3.1 =
77
  * FIX: Apply auto coupon if discount is 0.00 and free shipping is ticked
78
 
woocommerce-jos-autocoupon.php CHANGED
@@ -3,13 +3,15 @@
3
  * Plugin Name: WooCommerce auto added coupons
4
  * Plugin URI: http://wordpress.org/plugins/woocommerce-auto-added-coupons
5
  * Description: Allow discounts to be automatically added to the cart when it's restrictions are met. Allow applying coupons via an url.
6
- * Version: 1.1.3.1
7
  * Author: Jos Koenis
8
  * License: GPL2
9
  */
10
 
11
  /*
12
  Change history:
 
 
13
  1.1.3.1:
14
  - FIX: Apply auto coupon if discount is 0.00 and free shipping is ticked
15
  1.1.3:
@@ -44,7 +46,9 @@ class WC_Jos_AutoCoupon_Controller{
44
  if ( ! class_exists('WC_Coupon') ) {
45
  return;
46
  }
47
-
 
 
48
  //Admin hooks
49
  add_action( 'woocommerce_coupon_options_usage_restriction', array( $this, 'coupon_options' ), 10, 0 );
50
  add_action( 'woocommerce_process_shop_coupon_meta', array( $this, 'process_shop_coupon_meta' ), 10, 2 );
3
  * Plugin Name: WooCommerce auto added coupons
4
  * Plugin URI: http://wordpress.org/plugins/woocommerce-auto-added-coupons
5
  * Description: Allow discounts to be automatically added to the cart when it's restrictions are met. Allow applying coupons via an url.
6
+ * Version: 1.1.4
7
  * Author: Jos Koenis
8
  * License: GPL2
9
  */
10
 
11
  /*
12
  Change history:
13
+ 1.1.4:
14
+ - Translation support through .mo / .po files
15
  1.1.3.1:
16
  - FIX: Apply auto coupon if discount is 0.00 and free shipping is ticked
17
  1.1.3:
46
  if ( ! class_exists('WC_Coupon') ) {
47
  return;
48
  }
49
+
50
+ load_plugin_textdomain('woocommerce-jos-autocoupon', false, basename(dirname(__FILE__)) . '/languages/' );
51
+
52
  //Admin hooks
53
  add_action( 'woocommerce_coupon_options_usage_restriction', array( $this, 'coupon_options' ), 10, 0 );
54
  add_action( 'woocommerce_process_shop_coupon_meta', array( $this, 'process_shop_coupon_meta' ), 10, 2 );