WooCommerce Bulk Discount - Version 2.0.8

Version Description

  • (6 Oct 2013) Refined discount precision for percentage discounts with decimal point (no impact on integer discounts).
  • Translations updated.
Download this release

Release Info

Developer Rene Puchinger
Plugin Icon 128x128 WooCommerce Bulk Discount
Version 2.0.8
Comparing to
See all releases

Code changes from version 2.0.7 to 2.0.8

lang/wc_bulk_discount-cs_CZ.mo CHANGED
Binary file
lang/wc_bulk_discount-cs_CZ.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Bulk Discount\n"
4
- "POT-Creation-Date: 2013-09-02 17:27+0100\n"
5
- "PO-Revision-Date: 2013-09-02 17:29+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: Rene Puchinger <info@renepuchinger.com>\n"
8
  "MIME-Version: 1.0\n"
@@ -15,65 +15,69 @@ msgstr ""
15
  "discount\n"
16
 
17
  #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:48
18
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:357
19
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:557
20
  msgid "Bulk Discount"
21
  msgstr "Množstevní sleva"
22
 
23
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:141
 
 
 
 
24
  #, php-format
25
- msgid "%d%% bulk discount applied!"
26
- msgstr "Uplatněna množstevní sleva %d%%."
27
 
28
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:169
29
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:224
30
  #, php-format
31
  msgid "Incl. %s discount"
32
  msgstr "Zahrnuje slevu %s"
33
 
34
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:403
35
  msgid "Bulk discount info in product description"
36
  msgstr "Informace o množstevní slevě v popisu produktu"
37
 
38
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:403
39
  msgid ""
40
  "Optionally enter bulk discount information that will be visible on the "
41
  "product page."
42
  msgstr ""
43
  "Zadejte popisek o slevách, který se zobrazí na stránce produktu (nepovinné)."
44
 
45
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:417
46
  msgid "Quantity (min.)"
47
  msgstr "Množství (min.)"
48
 
49
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:417
50
  #, fuzzy
51
  msgid "Enter the minimal quantity for which the discount applies."
52
  msgstr "Zadejte nejmenší množství pro které se uplatní sleva."
53
 
54
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:419
55
  #, php-format
56
  msgid "Discount (%s)"
57
  msgstr "Sleva (%s)"
58
 
59
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:419
60
  #, php-format
61
  msgid "Enter the flat discount in %s."
62
  msgstr "Zadejte rovnou slevu v %s."
63
 
64
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:421
65
  msgid "Discount (%)"
66
  msgstr "Sleva (%)"
67
 
68
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:421
69
  msgid "Enter the discount in percents (Allowed values: 0 to 100)."
70
  msgstr "Zadejte slevu v procentech (Povolené hodnoty: 0 až 100)."
71
 
72
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:557
73
  msgid "The following options are specific to product bulk discount."
74
  msgstr "Následující možnosti slouží pro nastavení množstevní slevy."
75
 
76
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:557
77
  msgid ""
78
  "After changing the settings, it is recommended to clear all sessions in "
79
  "WooCommerce &gt; System Status &gt; Tools."
@@ -81,15 +85,15 @@ msgstr ""
81
  "Po změně nastavení se doporučuje vymazat všechny sessions v nastavení E-shop "
82
  "&gt; Stav systému &gt; Nástroje."
83
 
84
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:560
85
  msgid "Bulk Discount enabled"
86
  msgstr "Množstevní sleva aktivní"
87
 
88
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:569
89
  msgid "Discount Type"
90
  msgstr "Typ slevy"
91
 
92
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:571
93
  #, php-format
94
  msgid ""
95
  "Select the type of discount. Percentage Discount deducts amount of %% from "
@@ -99,19 +103,19 @@ msgstr ""
99
  "procentech. Při rovné slevě se odečítá pevná částka v %s od celkové ceny za "
100
  "položku."
101
 
102
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:578
103
  msgid "Percentage Discount"
104
  msgstr "Procentní sleva"
105
 
106
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:579
107
  msgid "Flat Discount"
108
  msgstr "Rovná sleva"
109
 
110
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:584
111
  msgid "Treat product variations separately"
112
  msgstr "Jednat s produktovými variacemi zvlášť"
113
 
114
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:586
115
  msgid ""
116
  "You need to have this option unchecked to handle discounts on product "
117
  "variations as a whole."
@@ -119,16 +123,37 @@ msgstr ""
119
  "Pokud chcete aplikovat slevy na produktové variace jako celek , tato položka "
120
  "musí být vypnuta."
121
 
122
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:593
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
123
  msgid "Optionally enter information about discounts visible on cart page."
124
  msgstr ""
125
  "Zadejte popisek o slevách, který se zobrazí na stránce košíku (nepovinné)."
126
 
127
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:600
128
  msgid "Optionally change the CSS for old price on cart before discounting."
129
  msgstr "Volitelně zadejte CSS pro formát ceny před slevou."
130
 
131
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:608
132
  msgid "Optionally change the CSS for new price on cart after discounting."
133
  msgstr "Volitelně zadejte CSS pro formát ceny po slevě."
134
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Bulk Discount\n"
4
+ "POT-Creation-Date: 2013-10-06 20:32+0100\n"
5
+ "PO-Revision-Date: 2013-10-06 20:36+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: Rene Puchinger <info@renepuchinger.com>\n"
8
  "MIME-Version: 1.0\n"
15
  "discount\n"
16
 
17
  #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:48
18
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:387
19
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:586
20
  msgid "Bulk Discount"
21
  msgstr "Množstevní sleva"
22
 
23
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:98
24
+ msgid "Settings"
25
+ msgstr "Nastavení"
26
+
27
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:163
28
  #, php-format
29
+ msgid "%s%% bulk discount applied!"
30
+ msgstr "Uplatněna množstevní sleva %s%%."
31
 
32
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:194
33
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:260
34
  #, php-format
35
  msgid "Incl. %s discount"
36
  msgstr "Zahrnuje slevu %s"
37
 
38
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:433
39
  msgid "Bulk discount info in product description"
40
  msgstr "Informace o množstevní slevě v popisu produktu"
41
 
42
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:433
43
  msgid ""
44
  "Optionally enter bulk discount information that will be visible on the "
45
  "product page."
46
  msgstr ""
47
  "Zadejte popisek o slevách, který se zobrazí na stránce produktu (nepovinné)."
48
 
49
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:447
50
  msgid "Quantity (min.)"
51
  msgstr "Množství (min.)"
52
 
53
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:447
54
  #, fuzzy
55
  msgid "Enter the minimal quantity for which the discount applies."
56
  msgstr "Zadejte nejmenší množství pro které se uplatní sleva."
57
 
58
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:449
59
  #, php-format
60
  msgid "Discount (%s)"
61
  msgstr "Sleva (%s)"
62
 
63
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:449
64
  #, php-format
65
  msgid "Enter the flat discount in %s."
66
  msgstr "Zadejte rovnou slevu v %s."
67
 
68
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:451
69
  msgid "Discount (%)"
70
  msgstr "Sleva (%)"
71
 
72
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:451
73
  msgid "Enter the discount in percents (Allowed values: 0 to 100)."
74
  msgstr "Zadejte slevu v procentech (Povolené hodnoty: 0 až 100)."
75
 
76
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:586
77
  msgid "The following options are specific to product bulk discount."
78
  msgstr "Následující možnosti slouží pro nastavení množstevní slevy."
79
 
80
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:586
81
  msgid ""
82
  "After changing the settings, it is recommended to clear all sessions in "
83
  "WooCommerce &gt; System Status &gt; Tools."
85
  "Po změně nastavení se doporučuje vymazat všechny sessions v nastavení E-shop "
86
  "&gt; Stav systému &gt; Nástroje."
87
 
88
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:589
89
  msgid "Bulk Discount enabled"
90
  msgstr "Množstevní sleva aktivní"
91
 
92
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:598
93
  msgid "Discount Type"
94
  msgstr "Typ slevy"
95
 
96
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:600
97
  #, php-format
98
  msgid ""
99
  "Select the type of discount. Percentage Discount deducts amount of %% from "
103
  "procentech. Při rovné slevě se odečítá pevná částka v %s od celkové ceny za "
104
  "položku."
105
 
106
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:607
107
  msgid "Percentage Discount"
108
  msgstr "Procentní sleva"
109
 
110
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:608
111
  msgid "Flat Discount"
112
  msgstr "Rovná sleva"
113
 
114
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:613
115
  msgid "Treat product variations separately"
116
  msgstr "Jednat s produktovými variacemi zvlášť"
117
 
118
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:615
119
  msgid ""
120
  "You need to have this option unchecked to handle discounts on product "
121
  "variations as a whole."
123
  "Pokud chcete aplikovat slevy na produktové variace jako celek , tato položka "
124
  "musí být vypnuta."
125
 
126
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:622
127
+ msgid "Show discount information next to cart item price"
128
+ msgstr "Zobrazit informaci o slevě vedle ceny u položky v košíku"
129
+
130
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:624
131
+ msgid "Applies only to percentage discount."
132
+ msgstr "Platí pouze pro procentní slevu."
133
+
134
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:631
135
+ msgid "Show discount information next to item subtotal price"
136
+ msgstr "Zobrazit informaci o slevě vedle ceny u mezisoučtu v košíku"
137
+
138
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:639
139
+ msgid "Show discount information next to item subtotal price in order history"
140
+ msgstr ""
141
+ "Zobrazit informaci o slevě vedle ceny u mezisoučtu v historii objednávek"
142
+
143
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:641
144
+ msgid "Includes showing discount in order e-mails and invoices."
145
+ msgstr "Zahrnuje zobrazení slevy v e-mailech a fakturách."
146
+
147
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:648
148
  msgid "Optionally enter information about discounts visible on cart page."
149
  msgstr ""
150
  "Zadejte popisek o slevách, který se zobrazí na stránce košíku (nepovinné)."
151
 
152
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:655
153
  msgid "Optionally change the CSS for old price on cart before discounting."
154
  msgstr "Volitelně zadejte CSS pro formát ceny před slevou."
155
 
156
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:663
157
  msgid "Optionally change the CSS for new price on cart after discounting."
158
  msgstr "Volitelně zadejte CSS pro formát ceny po slevě."
159
 
lang/wc_bulk_discount-en_GB.mo CHANGED
Binary file
lang/wc_bulk_discount-en_GB.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Bulk Discount\n"
4
- "POT-Creation-Date: 2013-09-02 17:29+0100\n"
5
- "PO-Revision-Date: 2013-09-02 17:30+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: Rene Puchinger <info@renepuchinger.com>\n"
8
  "MIME-Version: 1.0\n"
@@ -15,27 +15,31 @@ msgstr ""
15
  "discount\n"
16
 
17
  #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:48
18
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:357
19
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:557
20
  msgid "Bulk Discount"
21
  msgstr "Bulk Discount"
22
 
23
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:141
 
 
 
 
24
  #, php-format
25
- msgid "%d%% bulk discount applied!"
26
- msgstr "%d%% bulk discount applied!"
27
 
28
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:169
29
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:224
30
  #, php-format
31
  msgid "Incl. %s discount"
32
  msgstr "Incl. %s discount"
33
 
34
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:403
35
  msgid "Bulk discount info in product description"
36
  msgstr "Bulk discount info in product description"
37
 
38
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:403
39
  msgid ""
40
  "Optionally enter bulk discount information that will be visible on the "
41
  "product page."
@@ -43,37 +47,37 @@ msgstr ""
43
  "Optionally enter bulk discount information that will be visible on the "
44
  "product page."
45
 
46
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:417
47
  msgid "Quantity (min.)"
48
  msgstr "Quantity (min.)"
49
 
50
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:417
51
  msgid "Enter the minimal quantity for which the discount applies."
52
  msgstr "Enter the minimal quantity for which the discount applies."
53
 
54
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:419
55
  #, php-format
56
  msgid "Discount (%s)"
57
  msgstr "Discount (%s)"
58
 
59
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:419
60
  #, php-format
61
  msgid "Enter the flat discount in %s."
62
  msgstr "Enter the flat discount in %s."
63
 
64
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:421
65
  msgid "Discount (%)"
66
  msgstr "Discount (%)"
67
 
68
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:421
69
  msgid "Enter the discount in percents (Allowed values: 0 to 100)."
70
  msgstr "Enter the discount in percents (Allowed values: 0 to 100)."
71
 
72
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:557
73
  msgid "The following options are specific to product bulk discount."
74
  msgstr "The following options are specific to product bulk discount."
75
 
76
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:557
77
  msgid ""
78
  "After changing the settings, it is recommended to clear all sessions in "
79
  "WooCommerce &gt; System Status &gt; Tools."
@@ -81,15 +85,15 @@ msgstr ""
81
  "After changing the settings, it is recommended to clear all sessions in "
82
  "WooCommerce &gt; System Status &gt; Tools."
83
 
84
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:560
85
  msgid "Bulk Discount enabled"
86
  msgstr "Bulk Discount enabled"
87
 
88
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:569
89
  msgid "Discount Type"
90
  msgstr "Discount Type"
91
 
92
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:571
93
  #, php-format
94
  msgid ""
95
  "Select the type of discount. Percentage Discount deducts amount of %% from "
@@ -98,19 +102,19 @@ msgstr ""
98
  "Select the type of discount. Percentage Discount deducts amount of %% from "
99
  "price while Flat Discount deducts fixed amount in %s"
100
 
101
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:578
102
  msgid "Percentage Discount"
103
  msgstr "Percentage Discount"
104
 
105
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:579
106
  msgid "Flat Discount"
107
  msgstr "Flat Discount"
108
 
109
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:584
110
  msgid "Treat product variations separately"
111
  msgstr "Treat product variations separately"
112
 
113
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:586
114
  msgid ""
115
  "You need to have this option unchecked to handle discounts on product "
116
  "variations as a whole."
@@ -118,14 +122,34 @@ msgstr ""
118
  "You need to have this option unchecked to handle discounts on product "
119
  "variations as a whole."
120
 
121
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:593
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
122
  msgid "Optionally enter information about discounts visible on cart page."
123
  msgstr "Optionally enter information about discounts visible on cart page."
124
 
125
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:600
126
  msgid "Optionally change the CSS for old price on cart before discounting."
127
  msgstr "Optionally change the CSS for old price on cart before discounting."
128
 
129
- #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:608
130
  msgid "Optionally change the CSS for new price on cart after discounting."
131
  msgstr "Optionally change the CSS for new price on cart after discounting."
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Bulk Discount\n"
4
+ "POT-Creation-Date: 2013-10-06 20:36+0100\n"
5
+ "PO-Revision-Date: 2013-10-06 20:37+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: Rene Puchinger <info@renepuchinger.com>\n"
8
  "MIME-Version: 1.0\n"
15
  "discount\n"
16
 
17
  #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:48
18
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:387
19
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:586
20
  msgid "Bulk Discount"
21
  msgstr "Bulk Discount"
22
 
23
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:98
24
+ msgid "Settings"
25
+ msgstr "Settings"
26
+
27
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:163
28
  #, php-format
29
+ msgid "%s%% bulk discount applied!"
30
+ msgstr "%s%% bulk discount applied!"
31
 
32
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:194
33
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:260
34
  #, php-format
35
  msgid "Incl. %s discount"
36
  msgstr "Incl. %s discount"
37
 
38
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:433
39
  msgid "Bulk discount info in product description"
40
  msgstr "Bulk discount info in product description"
41
 
42
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:433
43
  msgid ""
44
  "Optionally enter bulk discount information that will be visible on the "
45
  "product page."
47
  "Optionally enter bulk discount information that will be visible on the "
48
  "product page."
49
 
50
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:447
51
  msgid "Quantity (min.)"
52
  msgstr "Quantity (min.)"
53
 
54
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:447
55
  msgid "Enter the minimal quantity for which the discount applies."
56
  msgstr "Enter the minimal quantity for which the discount applies."
57
 
58
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:449
59
  #, php-format
60
  msgid "Discount (%s)"
61
  msgstr "Discount (%s)"
62
 
63
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:449
64
  #, php-format
65
  msgid "Enter the flat discount in %s."
66
  msgstr "Enter the flat discount in %s."
67
 
68
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:451
69
  msgid "Discount (%)"
70
  msgstr "Discount (%)"
71
 
72
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:451
73
  msgid "Enter the discount in percents (Allowed values: 0 to 100)."
74
  msgstr "Enter the discount in percents (Allowed values: 0 to 100)."
75
 
76
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:586
77
  msgid "The following options are specific to product bulk discount."
78
  msgstr "The following options are specific to product bulk discount."
79
 
80
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:586
81
  msgid ""
82
  "After changing the settings, it is recommended to clear all sessions in "
83
  "WooCommerce &gt; System Status &gt; Tools."
85
  "After changing the settings, it is recommended to clear all sessions in "
86
  "WooCommerce &gt; System Status &gt; Tools."
87
 
88
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:589
89
  msgid "Bulk Discount enabled"
90
  msgstr "Bulk Discount enabled"
91
 
92
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:598
93
  msgid "Discount Type"
94
  msgstr "Discount Type"
95
 
96
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:600
97
  #, php-format
98
  msgid ""
99
  "Select the type of discount. Percentage Discount deducts amount of %% from "
102
  "Select the type of discount. Percentage Discount deducts amount of %% from "
103
  "price while Flat Discount deducts fixed amount in %s"
104
 
105
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:607
106
  msgid "Percentage Discount"
107
  msgstr "Percentage Discount"
108
 
109
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:608
110
  msgid "Flat Discount"
111
  msgstr "Flat Discount"
112
 
113
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:613
114
  msgid "Treat product variations separately"
115
  msgstr "Treat product variations separately"
116
 
117
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:615
118
  msgid ""
119
  "You need to have this option unchecked to handle discounts on product "
120
  "variations as a whole."
122
  "You need to have this option unchecked to handle discounts on product "
123
  "variations as a whole."
124
 
125
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:622
126
+ msgid "Show discount information next to cart item price"
127
+ msgstr "Show discount information next to cart item price"
128
+
129
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:624
130
+ msgid "Applies only to percentage discount."
131
+ msgstr "Applies only to percentage discount."
132
+
133
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:631
134
+ msgid "Show discount information next to item subtotal price"
135
+ msgstr "Show discount information next to item subtotal price"
136
+
137
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:639
138
+ msgid "Show discount information next to item subtotal price in order history"
139
+ msgstr "Show discount information next to item subtotal price in order history"
140
+
141
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:641
142
+ msgid "Includes showing discount in order e-mails and invoices."
143
+ msgstr "Includes showing discount in order e-mails and invoices."
144
+
145
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:648
146
  msgid "Optionally enter information about discounts visible on cart page."
147
  msgstr "Optionally enter information about discounts visible on cart page."
148
 
149
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:655
150
  msgid "Optionally change the CSS for old price on cart before discounting."
151
  msgstr "Optionally change the CSS for old price on cart before discounting."
152
 
153
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:663
154
  msgid "Optionally change the CSS for new price on cart after discounting."
155
  msgstr "Optionally change the CSS for new price on cart after discounting."
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_butt
4
  Tags: woocommerce, bulk, discount
5
  Requires at least: 3.5
6
  Tested up to: 3.6
7
- Stable tag: 2.0.7
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -135,6 +135,10 @@ Setting bulk discounts couldn't have been easier.
135
 
136
  == Changelog ==
137
 
 
 
 
 
138
  = 2.0.7 =
139
  * (29 Sep 2013) Added configuration on which locations should the discount information be visible.
140
 
@@ -195,6 +199,9 @@ Setting bulk discounts couldn't have been easier.
195
 
196
  == Upgrade Notice ==
197
 
 
 
 
198
  = 2.0.7 =
199
  Release with new features.
200
 
4
  Tags: woocommerce, bulk, discount
5
  Requires at least: 3.5
6
  Tested up to: 3.6
7
+ Stable tag: 2.0.8
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
135
 
136
  == Changelog ==
137
 
138
+ = 2.0.8 =
139
+ * (6 Oct 2013) Refined discount precision for percentage discounts with decimal point (no impact on integer discounts).
140
+ * Translations updated.
141
+
142
  = 2.0.7 =
143
  * (29 Sep 2013) Added configuration on which locations should the discount information be visible.
144
 
199
 
200
  == Upgrade Notice ==
201
 
202
+ = 2.0.8 =
203
+ Maintenance release.
204
+
205
  = 2.0.7 =
206
  Release with new features.
207
 
woocommerce-bulk-discount.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WooCommerce Bulk Discount
4
  Plugin URI: http://www.tools4me.net/wordpress/woocommerce-bulk-discount-plugin
5
  Description: Apply fine-grained bulk discounts to items in the shopping cart.
6
  Author: Rene Puchinger
7
- Version: 2.0.7
8
  Author URI: http://www.renepuchinger.com
9
  License: GPL3
10
 
@@ -127,7 +127,7 @@ if (!class_exists('Woo_Bulk_Discount_Plugin_t4m')) {
127
  }
128
  }
129
  // for percentage discount convert the resulting discount from % to the multiplying coefficient
130
- return (get_option('woocommerce_t4m_discount_type', '') == 'flat') ? max(0, $d[0]) : min(1.0, max(0, (100.0 - $d[0]) / 100.0));
131
  }
132
 
133
  /**
@@ -160,7 +160,7 @@ if (!class_exists('Woo_Bulk_Discount_Plugin_t4m')) {
160
  $oldprice = woocommerce_price($this->discount_coeffs[$this->get_actual_id($_product)]['orig_price']);
161
  $old_css = esc_attr(get_option('woocommerce_t4m_css_old_price', 'color: #777; text-decoration: line-through; margin-right: 4px;'));
162
  $new_css = esc_attr(get_option('woocommerce_t4m_css_new_price', 'color: #4AB915; font-weight: bold;'));
163
- return "<span class='discount-info' title='" . sprintf(__('%d%% bulk discount applied!', 'wc_bulk_discount'), round((1 - $coeff) * 100)) . "'>" .
164
  "<span class='old-price' style='$old_css'>$oldprice</span>" .
165
  "<span class='new-price' style='$new_css'>$discprice</span></span>";
166
  }
@@ -191,7 +191,7 @@ if (!class_exists('Woo_Bulk_Discount_Plugin_t4m')) {
191
  $oldprice = woocommerce_price($this->discount_coeffs[$this->get_actual_id($_product)]['orig_price']);
192
  $old_css = esc_attr(get_option('woocommerce_t4m_css_old_price', 'color: #777; text-decoration: line-through; margin-right: 4px;'));
193
  $new_css = esc_attr(get_option('woocommerce_t4m_css_new_price', 'color: #4AB915; font-weight: bold;'));
194
- $bulk_info = sprintf(__('Incl. %s discount', 'wc_bulk_discount'), (get_option('woocommerce_t4m_discount_type', '') == 'flat' ? get_woocommerce_currency_symbol() . $coeff : (round((1 - $coeff) * 100) . "%")));
195
  return "<span class='discount-info' title='$bulk_info'>" .
196
  "<span>$price</span>" .
197
  "<span class='new-price' style='$new_css'> ($bulk_info)</span></span>";
@@ -257,7 +257,7 @@ if (!class_exists('Woo_Bulk_Discount_Plugin_t4m')) {
257
  $oldprice = woocommerce_price($discount_coeffs[$actual_id]['orig_price']);
258
  $old_css = esc_attr(get_option('woocommerce_t4m_css_old_price', 'color: #777; text-decoration: line-through; margin-right: 4px;'));
259
  $new_css = esc_attr(get_option('woocommerce_t4m_css_new_price', 'color: #4AB915; font-weight: bold;'));
260
- $bulk_info = sprintf(__('Incl. %s discount', 'wc_bulk_discount'), ($discount_type == 'flat' ? get_woocommerce_currency_symbol() . $coeff : (round((1 - $coeff) * 100) . "%")));
261
  return "<span class='discount-info' title='$bulk_info'>" .
262
  "<span>$price</span>" .
263
  "<span class='new-price' style='$new_css'> ($bulk_info)</span></span>";
@@ -670,7 +670,7 @@ if (!class_exists('Woo_Bulk_Discount_Plugin_t4m')) {
670
  array('type' => 'sectionend', 'id' => 't4m_bulk_discounts_options'),
671
 
672
  array(
673
- 'name' => 'If you find WooCommerce Bulk Discount useful, please rate the plugin at wordpress.org or kindly consider small donation to support further development.',
674
  'id' => 'woocommerce_t4m_begging_text',
675
  'type' => 'title'
676
  ),
4
  Plugin URI: http://www.tools4me.net/wordpress/woocommerce-bulk-discount-plugin
5
  Description: Apply fine-grained bulk discounts to items in the shopping cart.
6
  Author: Rene Puchinger
7
+ Version: 2.0.8
8
  Author URI: http://www.renepuchinger.com
9
  License: GPL3
10
 
127
  }
128
  }
129
  // for percentage discount convert the resulting discount from % to the multiplying coefficient
130
+ return (get_option('woocommerce_t4m_discount_type', '') == 'flat') ? max(0, $d[0]) : min(1.0, max(0, (100.0 - round($d[0], 2)) / 100.0));
131
  }
132
 
133
  /**
160
  $oldprice = woocommerce_price($this->discount_coeffs[$this->get_actual_id($_product)]['orig_price']);
161
  $old_css = esc_attr(get_option('woocommerce_t4m_css_old_price', 'color: #777; text-decoration: line-through; margin-right: 4px;'));
162
  $new_css = esc_attr(get_option('woocommerce_t4m_css_new_price', 'color: #4AB915; font-weight: bold;'));
163
+ return "<span class='discount-info' title='" . sprintf(__('%s%% bulk discount applied!', 'wc_bulk_discount'), round((1.0 - $coeff) * 100.0, 2)) . "'>" .
164
  "<span class='old-price' style='$old_css'>$oldprice</span>" .
165
  "<span class='new-price' style='$new_css'>$discprice</span></span>";
166
  }
191
  $oldprice = woocommerce_price($this->discount_coeffs[$this->get_actual_id($_product)]['orig_price']);
192
  $old_css = esc_attr(get_option('woocommerce_t4m_css_old_price', 'color: #777; text-decoration: line-through; margin-right: 4px;'));
193
  $new_css = esc_attr(get_option('woocommerce_t4m_css_new_price', 'color: #4AB915; font-weight: bold;'));
194
+ $bulk_info = sprintf(__('Incl. %s discount', 'wc_bulk_discount'), (get_option('woocommerce_t4m_discount_type', '') == 'flat' ? get_woocommerce_currency_symbol() . $coeff : (round((1 - $coeff) * 100, 2) . "%")));
195
  return "<span class='discount-info' title='$bulk_info'>" .
196
  "<span>$price</span>" .
197
  "<span class='new-price' style='$new_css'> ($bulk_info)</span></span>";
257
  $oldprice = woocommerce_price($discount_coeffs[$actual_id]['orig_price']);
258
  $old_css = esc_attr(get_option('woocommerce_t4m_css_old_price', 'color: #777; text-decoration: line-through; margin-right: 4px;'));
259
  $new_css = esc_attr(get_option('woocommerce_t4m_css_new_price', 'color: #4AB915; font-weight: bold;'));
260
+ $bulk_info = sprintf(__('Incl. %s discount', 'wc_bulk_discount'), ($discount_type == 'flat' ? get_woocommerce_currency_symbol() . $coeff : (round((1 - $coeff) * 100, 2) . "%")));
261
  return "<span class='discount-info' title='$bulk_info'>" .
262
  "<span>$price</span>" .
263
  "<span class='new-price' style='$new_css'> ($bulk_info)</span></span>";
670
  array('type' => 'sectionend', 'id' => 't4m_bulk_discounts_options'),
671
 
672
  array(
673
+ 'desc' => '<b>If you find WooCommerce Bulk Discount useful, please rate the plugin at <a href="http://wordpress.org/plugins/woocommerce-bulk-discount/">http://wordpress.org/plugins/woocommerce-bulk-discount/</a> or kindly consider small donation to support further development.</b>',
674
  'id' => 'woocommerce_t4m_begging_text',
675
  'type' => 'title'
676
  ),