Version Description
- Translations: Added Estionan (thanks Tanel!)
- Tweak: WC2.4 compatibility
Download this release
Release Info
Developer | pomegranate |
Plugin | WooCommerce PDF Invoices & Packing Slips |
Version | 1.5.21 |
Comparing to | |
See all releases |
Code changes from version 1.5.20 to 1.5.21
- languages/wpo_wcpdf-et.mo +0 -0
- languages/wpo_wcpdf-et.po +701 -0
- readme.txt +5 -1
- woocommerce-pdf-invoices-packingslips.php +11 -11
languages/wpo_wcpdf-et.mo
ADDED
Binary file
|
languages/wpo_wcpdf-et.po
ADDED
@@ -0,0 +1,701 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
|
4 |
+
"POT-Creation-Date: 2015-06-17 13:27+0200\n"
|
5 |
+
"PO-Revision-Date: 2015-06-18 10:22+0200\n"
|
6 |
+
"Last-Translator: Tanel Jüris <tanel.juris@marketingsharks.ee>\n"
|
7 |
+
"Language-Team: WP Overnight <support@wpovernight.com>\n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"X-Generator: Poedit 1.8.1\n"
|
12 |
+
"X-Poedit-Basepath: ../\n"
|
13 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
14 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
+
"X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
|
16 |
+
"Language: et\n"
|
17 |
+
"X-Poedit-SearchPath-0: .\n"
|
18 |
+
|
19 |
+
#: includes/class-wcpdf-export.php:338 includes/class-wcpdf-export.php:348
|
20 |
+
#: includes/class-wcpdf-export.php:359 includes/class-wcpdf-export.php:367
|
21 |
+
msgid "You do not have sufficient permissions to access this page."
|
22 |
+
msgstr "Sul ei ole selle lehe vaatamiseks piisavalt õigusi."
|
23 |
+
|
24 |
+
#: includes/class-wcpdf-export.php:343
|
25 |
+
msgid "Some of the export parameters are missing."
|
26 |
+
msgstr "Mõned eksportimise parameetrid on puudu."
|
27 |
+
|
28 |
+
#: includes/class-wcpdf-export.php:424
|
29 |
+
msgid "invoice"
|
30 |
+
msgid_plural "invoices"
|
31 |
+
msgstr[0] "arve"
|
32 |
+
msgstr[1] "arved"
|
33 |
+
|
34 |
+
#: includes/class-wcpdf-export.php:428
|
35 |
+
msgid "packing-slip"
|
36 |
+
msgid_plural "packing-slips"
|
37 |
+
msgstr[0] "saateleht"
|
38 |
+
msgstr[1] "saatelehed"
|
39 |
+
|
40 |
+
#: includes/class-wcpdf-settings.php:38 includes/class-wcpdf-settings.php:39
|
41 |
+
#: includes/class-wcpdf-writepanels.php:31
|
42 |
+
msgid "PDF Invoices"
|
43 |
+
msgstr "PDF Arved"
|
44 |
+
|
45 |
+
#: includes/class-wcpdf-settings.php:80
|
46 |
+
msgid "Settings"
|
47 |
+
msgstr "Sätted"
|
48 |
+
|
49 |
+
#: includes/class-wcpdf-settings.php:102
|
50 |
+
msgid "General"
|
51 |
+
msgstr "Üldine"
|
52 |
+
|
53 |
+
#: includes/class-wcpdf-settings.php:103
|
54 |
+
msgid "Template"
|
55 |
+
msgstr "Mall"
|
56 |
+
|
57 |
+
#: includes/class-wcpdf-settings.php:108
|
58 |
+
msgid "Status"
|
59 |
+
msgstr "Staatus"
|
60 |
+
|
61 |
+
#: includes/class-wcpdf-settings.php:120
|
62 |
+
msgid "WooCommerce PDF Invoices"
|
63 |
+
msgstr "WooCommerce PDF Arved"
|
64 |
+
|
65 |
+
#: includes/class-wcpdf-settings.php:189
|
66 |
+
msgid "General settings"
|
67 |
+
msgstr "Üldised sätted"
|
68 |
+
|
69 |
+
#: includes/class-wcpdf-settings.php:196
|
70 |
+
msgid "How do you want to view the PDF?"
|
71 |
+
msgstr "Kuidas sa soovid PDF-i vaadata?"
|
72 |
+
|
73 |
+
#: includes/class-wcpdf-settings.php:204
|
74 |
+
msgid "Download the PDF"
|
75 |
+
msgstr "Lae PDF alla"
|
76 |
+
|
77 |
+
#: includes/class-wcpdf-settings.php:205
|
78 |
+
msgid "Open the PDF in a new browser tab/window"
|
79 |
+
msgstr "Ava PDF uues veebilehitseja sakis/aknas"
|
80 |
+
|
81 |
+
#: includes/class-wcpdf-settings.php:214
|
82 |
+
msgid "Admin New Order email"
|
83 |
+
msgstr "Halduri \"uus tellimus\" e-kiri"
|
84 |
+
|
85 |
+
#: includes/class-wcpdf-settings.php:215
|
86 |
+
msgid "Customer Processing Order email"
|
87 |
+
msgstr "Kliendi \"tellimus töötluses\" e-kiri"
|
88 |
+
|
89 |
+
#: includes/class-wcpdf-settings.php:216
|
90 |
+
msgid "Customer Completed Order email"
|
91 |
+
msgstr "Kliendi \"tellimus täidetud\" e-kiri"
|
92 |
+
|
93 |
+
#: includes/class-wcpdf-settings.php:217
|
94 |
+
msgid "Customer Invoice email"
|
95 |
+
msgstr "Kliendi \"arve\" e-kiri"
|
96 |
+
|
97 |
+
#: includes/class-wcpdf-settings.php:222
|
98 |
+
msgid "Attach invoice to:"
|
99 |
+
msgstr "Lisa arve järgnevatele:"
|
100 |
+
|
101 |
+
#: includes/class-wcpdf-settings.php:230
|
102 |
+
#, php-format
|
103 |
+
msgid ""
|
104 |
+
"It looks like the temp folder (<code>%s</code>) is not writable, check the "
|
105 |
+
"permissions for this folder! Without having write access to this folder, the "
|
106 |
+
"plugin will not be able to email invoices."
|
107 |
+
msgstr ""
|
108 |
+
"Paistab, et ajutine kaust (<code>%s</code) ei ole kirjutatav, kontrolli "
|
109 |
+
"selle kausta õiguseid! Ilma kirjutusõigusteta ei saa see plugin arveid saata."
|
110 |
+
|
111 |
+
#: includes/class-wcpdf-settings.php:236
|
112 |
+
msgid "Disable for free products"
|
113 |
+
msgstr "Lülita tasuta toodete puhul välja"
|
114 |
+
|
115 |
+
#: includes/class-wcpdf-settings.php:243
|
116 |
+
msgid ""
|
117 |
+
"Disable automatic creation/attachment of invoices when only free products "
|
118 |
+
"are ordered"
|
119 |
+
msgstr ""
|
120 |
+
"Ära loo ega manusta arveid automaatselt, kui tellimuses on kõik tooted "
|
121 |
+
"tasuta."
|
122 |
+
|
123 |
+
#: includes/class-wcpdf-settings.php:250
|
124 |
+
msgid "Interface"
|
125 |
+
msgstr "Liides"
|
126 |
+
|
127 |
+
#: includes/class-wcpdf-settings.php:298
|
128 |
+
msgid "Allow My Account invoice download"
|
129 |
+
msgstr "Luba \"minu konto\" lehel arveid alla laadida"
|
130 |
+
|
131 |
+
#: includes/class-wcpdf-settings.php:306
|
132 |
+
msgid "Only when an invoice is already created/emailed"
|
133 |
+
msgstr "Ainult siis, kui arve on juba loodud/saadetud"
|
134 |
+
|
135 |
+
#: includes/class-wcpdf-settings.php:307
|
136 |
+
msgid "Only for specific order statuses (define below)"
|
137 |
+
msgstr "Ainult kindlate tellimuse staatuste korral (määra allpool)"
|
138 |
+
|
139 |
+
#: includes/class-wcpdf-settings.php:308
|
140 |
+
msgid "Always"
|
141 |
+
msgstr "Alati"
|
142 |
+
|
143 |
+
#: includes/class-wcpdf-settings.php:323
|
144 |
+
msgid "Enable invoice number column in the orders list"
|
145 |
+
msgstr "Näita tellimuste nimekirjas arve numbri tulpa"
|
146 |
+
|
147 |
+
#: includes/class-wcpdf-settings.php:361
|
148 |
+
msgid "PDF Template settings"
|
149 |
+
msgstr "PDF malli sätted"
|
150 |
+
|
151 |
+
#: includes/class-wcpdf-settings.php:373
|
152 |
+
msgid "Choose a template"
|
153 |
+
msgstr "Vali mall"
|
154 |
+
|
155 |
+
#: includes/class-wcpdf-settings.php:381
|
156 |
+
#, php-format
|
157 |
+
msgid ""
|
158 |
+
"Want to use your own template? Copy all the files from <code>%s</code> to "
|
159 |
+
"your (child) theme in <code>%s</code> to customize them"
|
160 |
+
msgstr ""
|
161 |
+
"Tahad kasutada enda malli? Kopeeri kõik failid kaustast <code>%s</code> oma "
|
162 |
+
"(laps)teema kausta <code>%s</code> kohanduste tegemiseks."
|
163 |
+
|
164 |
+
#: includes/class-wcpdf-settings.php:387
|
165 |
+
msgid "Paper size"
|
166 |
+
msgstr "Paberi suurus"
|
167 |
+
|
168 |
+
#: includes/class-wcpdf-settings.php:395
|
169 |
+
msgid "A4"
|
170 |
+
msgstr "A4"
|
171 |
+
|
172 |
+
#: includes/class-wcpdf-settings.php:396
|
173 |
+
msgid "Letter"
|
174 |
+
msgstr "Ümbrik"
|
175 |
+
|
176 |
+
#: includes/class-wcpdf-settings.php:403
|
177 |
+
msgid "Shop header/logo"
|
178 |
+
msgstr "Poe päis/logo"
|
179 |
+
|
180 |
+
#: includes/class-wcpdf-settings.php:410
|
181 |
+
msgid "Select or upload your invoice header/logo"
|
182 |
+
msgstr "Vali või lae üles oma arve päis/logo"
|
183 |
+
|
184 |
+
#: includes/class-wcpdf-settings.php:411
|
185 |
+
msgid "Set image"
|
186 |
+
msgstr "Määra pilt"
|
187 |
+
|
188 |
+
#: includes/class-wcpdf-settings.php:412
|
189 |
+
msgid "Remove image"
|
190 |
+
msgstr "Eemalda pilt"
|
191 |
+
|
192 |
+
#: includes/class-wcpdf-settings.php:419
|
193 |
+
msgid "Shop Name"
|
194 |
+
msgstr "Poe nimi"
|
195 |
+
|
196 |
+
#: includes/class-wcpdf-settings.php:432
|
197 |
+
msgid "Shop Address"
|
198 |
+
msgstr "Poe aadress"
|
199 |
+
|
200 |
+
#: includes/class-wcpdf-settings.php:447
|
201 |
+
msgid "Footer: terms & conditions, policies, etc."
|
202 |
+
msgstr "Jalus: tingimused, poliisid jne"
|
203 |
+
|
204 |
+
#: includes/class-wcpdf-settings.php:463
|
205 |
+
#: includes/class-wcpdf-writepanels.php:273 templates/pdf/Simple/invoice.php:9
|
206 |
+
#: templates/pdf/Simple/invoice.php:21
|
207 |
+
#: woocommerce-pdf-invoices-packingslips.php:220
|
208 |
+
msgid "Invoice"
|
209 |
+
msgstr "Arve"
|
210 |
+
|
211 |
+
#: includes/class-wcpdf-settings.php:470
|
212 |
+
msgid "Display shipping address"
|
213 |
+
msgstr "Näita tarne aadressi"
|
214 |
+
|
215 |
+
#: includes/class-wcpdf-settings.php:477
|
216 |
+
msgid ""
|
217 |
+
"Display shipping address on invoice (in addition to the default billing "
|
218 |
+
"address) if different from billing address"
|
219 |
+
msgstr ""
|
220 |
+
"Näita arvel tarneaadressi (lisaks vaikimisi näidatavale arveaadressile), kui "
|
221 |
+
"see erineb arve aadressist."
|
222 |
+
|
223 |
+
#: includes/class-wcpdf-settings.php:483 includes/class-wcpdf-settings.php:598
|
224 |
+
msgid "Display email address"
|
225 |
+
msgstr "Näita e-posti aadressi"
|
226 |
+
|
227 |
+
#: includes/class-wcpdf-settings.php:495 includes/class-wcpdf-settings.php:610
|
228 |
+
msgid "Display phone number"
|
229 |
+
msgstr "Näita telefoninumbrit"
|
230 |
+
|
231 |
+
#: includes/class-wcpdf-settings.php:507
|
232 |
+
msgid "Display invoice date"
|
233 |
+
msgstr "Näita arve kuupäeva"
|
234 |
+
|
235 |
+
#: includes/class-wcpdf-settings.php:520
|
236 |
+
msgid "Display built-in sequential invoice number"
|
237 |
+
msgstr "Näita sisseehitatud järjestikust arvenumbrit"
|
238 |
+
|
239 |
+
#: includes/class-wcpdf-settings.php:533
|
240 |
+
msgid "Next invoice number (without prefix/suffix etc.)"
|
241 |
+
msgstr "Järgmine arvenumber (ilma ees-/järelliiteta vms)"
|
242 |
+
|
243 |
+
#: includes/class-wcpdf-settings.php:541
|
244 |
+
msgid ""
|
245 |
+
"This is the number that will be used on the next invoice that is created. By "
|
246 |
+
"default, numbering starts from the WooCommerce Order Number of the first "
|
247 |
+
"invoice that is created and increases for every new invoice. Note that if "
|
248 |
+
"you override this and set it lower than the highest (PDF) invoice number, "
|
249 |
+
"this could create double invoice numbers!"
|
250 |
+
msgstr ""
|
251 |
+
"Seda numbrit kasutatakse järgmise arve loomisel. Vaikimisi alustatakse "
|
252 |
+
"esimese loodava arve WooCommerce tellimuse numbrist ning suurendatakse seda "
|
253 |
+
"iga järgneva arve jaoks. Pane tähele, et kui seda käsitsi väiksemaks muudad, "
|
254 |
+
"siis võib esineda korduvaid arvenumbreid!"
|
255 |
+
|
256 |
+
#: includes/class-wcpdf-settings.php:547
|
257 |
+
msgid "Invoice number format"
|
258 |
+
msgstr "Arve numbriformaat"
|
259 |
+
|
260 |
+
#: includes/class-wcpdf-settings.php:556
|
261 |
+
msgid "Prefix"
|
262 |
+
msgstr "Eesliide"
|
263 |
+
|
264 |
+
#: includes/class-wcpdf-settings.php:558
|
265 |
+
msgid ""
|
266 |
+
"to use the order year and/or month, use [order_year] or [order_month] "
|
267 |
+
"respectively"
|
268 |
+
msgstr ""
|
269 |
+
"tellimuse aasta ja/või kuu kasutamiseks on vastavalt [order_year] ning "
|
270 |
+
"[order_month]"
|
271 |
+
|
272 |
+
#: includes/class-wcpdf-settings.php:561
|
273 |
+
msgid "Suffix"
|
274 |
+
msgstr "Järelliide"
|
275 |
+
|
276 |
+
#: includes/class-wcpdf-settings.php:566
|
277 |
+
msgid "Padding"
|
278 |
+
msgstr "Polster"
|
279 |
+
|
280 |
+
#: includes/class-wcpdf-settings.php:568
|
281 |
+
msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
|
282 |
+
msgstr ""
|
283 |
+
"sisesta siia numbrikohtade arv - näiteks \"6\", et näidata 42 kujul 000042"
|
284 |
+
|
285 |
+
#: includes/class-wcpdf-settings.php:571
|
286 |
+
msgid ""
|
287 |
+
"note: if you have already created a custom invoice number format with a "
|
288 |
+
"filter, the above settings will be ignored"
|
289 |
+
msgstr ""
|
290 |
+
"märkus: kui oled juba loonud enda arvenumbri formaadi filtri abil, "
|
291 |
+
"ignoreeritakse ülalolevaid sätteid"
|
292 |
+
|
293 |
+
#: includes/class-wcpdf-settings.php:578
|
294 |
+
#: templates/pdf/Simple/packing-slip.php:9
|
295 |
+
#: templates/pdf/Simple/packing-slip.php:21
|
296 |
+
#: woocommerce-pdf-invoices-packingslips.php:223
|
297 |
+
msgid "Packing Slip"
|
298 |
+
msgstr "Saateleht"
|
299 |
+
|
300 |
+
#: includes/class-wcpdf-settings.php:585
|
301 |
+
msgid "Display billing address"
|
302 |
+
msgstr "Näita arveaadressi"
|
303 |
+
|
304 |
+
#: includes/class-wcpdf-settings.php:592
|
305 |
+
msgid ""
|
306 |
+
"Display billing address on packing slip (in addition to the default shipping "
|
307 |
+
"address) if different from shipping address"
|
308 |
+
msgstr ""
|
309 |
+
"Näita arveaadressi saatelehel (lisaks vaikimisi tarneaadressile), kui see "
|
310 |
+
"erineb tarneaadressist"
|
311 |
+
|
312 |
+
#: includes/class-wcpdf-settings.php:623
|
313 |
+
msgid "Extra template fields"
|
314 |
+
msgstr "Malli lisaväljad"
|
315 |
+
|
316 |
+
#: includes/class-wcpdf-settings.php:630
|
317 |
+
msgid "Extra field 1"
|
318 |
+
msgstr "Lisaväli 1"
|
319 |
+
|
320 |
+
#: includes/class-wcpdf-settings.php:639
|
321 |
+
msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
|
322 |
+
msgstr "<i>Modern (Preemium)</i> mallis on see jaluse tulp 1"
|
323 |
+
|
324 |
+
#: includes/class-wcpdf-settings.php:645
|
325 |
+
msgid "Extra field 2"
|
326 |
+
msgstr "Lisaväli 2"
|
327 |
+
|
328 |
+
#: includes/class-wcpdf-settings.php:654
|
329 |
+
msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
|
330 |
+
msgstr "<i>Modern (Preemium)</i> mallis on see jaluse tulp 2"
|
331 |
+
|
332 |
+
#: includes/class-wcpdf-settings.php:660
|
333 |
+
msgid "Extra field 3"
|
334 |
+
msgstr "Lisaväli 3"
|
335 |
+
|
336 |
+
#: includes/class-wcpdf-settings.php:669
|
337 |
+
msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
|
338 |
+
msgstr "<i>Modern (Preemium)</i> mallis on see jaluse tulp 3"
|
339 |
+
|
340 |
+
#: includes/class-wcpdf-settings.php:711
|
341 |
+
msgid "Debug settings"
|
342 |
+
msgstr "Veaotsingu sätted"
|
343 |
+
|
344 |
+
#: includes/class-wcpdf-settings.php:718
|
345 |
+
msgid "Enable debug output"
|
346 |
+
msgstr "Lülita sisse veaotsingu väljund"
|
347 |
+
|
348 |
+
#: includes/class-wcpdf-settings.php:725
|
349 |
+
msgid ""
|
350 |
+
"Enable this option to output plugin errors if you're getting a blank page or "
|
351 |
+
"other PDF generation issues"
|
352 |
+
msgstr ""
|
353 |
+
"Lülita see valik sisse, et väljastada plugina veateateid, kui näed tühja "
|
354 |
+
"lehte või PDF genereerimisel esineb mõni muu probleem"
|
355 |
+
|
356 |
+
#: includes/class-wcpdf-settings.php:731
|
357 |
+
msgid "Output to HTML"
|
358 |
+
msgstr "Väljasta HTML kujul"
|
359 |
+
|
360 |
+
#: includes/class-wcpdf-settings.php:738
|
361 |
+
msgid ""
|
362 |
+
"Send the template output as HTML to the browser instead of creating a PDF."
|
363 |
+
msgstr ""
|
364 |
+
"PDF faili loomise asemel saada malli väljund HTML kujul veebilehitsejasse."
|
365 |
+
|
366 |
+
#: includes/class-wcpdf-settings.php:744
|
367 |
+
msgid "Use old tmp folder"
|
368 |
+
msgstr "Kasuta vana ajutist kausta"
|
369 |
+
|
370 |
+
#: includes/class-wcpdf-settings.php:751
|
371 |
+
msgid ""
|
372 |
+
"Before version 1.5 of PDF Invoices, temporary files were stored in the "
|
373 |
+
"plugin folder. This setting is only intended for backwards compatibility, "
|
374 |
+
"not recommended on new installs!"
|
375 |
+
msgstr ""
|
376 |
+
"Enne PDF arvete versiooni 1.5 hoiti ajutisi faile pluginate kaustas. See "
|
377 |
+
"säte on mõeldud tagasiulatuva ühilduvuse jaoks, uutele paigaldustele "
|
378 |
+
"mittesoovitatav!"
|
379 |
+
|
380 |
+
#: includes/class-wcpdf-settings.php:1091
|
381 |
+
msgid "Image resolution"
|
382 |
+
msgstr "Pildi resolutsioon"
|
383 |
+
|
384 |
+
#: includes/class-wcpdf-settings.php:1207
|
385 |
+
msgid ""
|
386 |
+
"<b>Warning!</b> The settings below are meant for debugging/development only. "
|
387 |
+
"Do not use them on a live website!"
|
388 |
+
msgstr ""
|
389 |
+
"<b>Hoiatus!</b> Allolevad sätted on mõeldud ainult veaotsinguks/arenduseks. "
|
390 |
+
"Ära kasuta neid rakenduskeskkonnas!"
|
391 |
+
|
392 |
+
#: includes/class-wcpdf-settings.php:1216
|
393 |
+
msgid ""
|
394 |
+
"These are used for the (optional) footer columns in the <em>Modern "
|
395 |
+
"(Premium)</em> template, but can also be used for other elements in your "
|
396 |
+
"custom template"
|
397 |
+
msgstr ""
|
398 |
+
"Neid kasutatakse <em>Modern (Preemium)</em> mallis (valikuliste) "
|
399 |
+
"jalusetulpade jaoks, kuid on kasutatavad ka muude elementide jaoks sinu "
|
400 |
+
"kohandatud mallis."
|
401 |
+
|
402 |
+
#: includes/class-wcpdf-writepanels.php:32
|
403 |
+
msgid "PDF Packing Slips"
|
404 |
+
msgstr "PDF saatelehed"
|
405 |
+
|
406 |
+
#: includes/class-wcpdf-writepanels.php:113
|
407 |
+
#: includes/class-wcpdf-writepanels.php:240
|
408 |
+
msgid "PDF Invoice"
|
409 |
+
msgstr "PDF arve"
|
410 |
+
|
411 |
+
#: includes/class-wcpdf-writepanels.php:118
|
412 |
+
#: includes/class-wcpdf-writepanels.php:245
|
413 |
+
msgid "PDF Packing Slip"
|
414 |
+
msgstr "PDF saateleht"
|
415 |
+
|
416 |
+
#: includes/class-wcpdf-writepanels.php:145
|
417 |
+
msgid "Invoice Number"
|
418 |
+
msgstr "Arve number"
|
419 |
+
|
420 |
+
#: includes/class-wcpdf-writepanels.php:198
|
421 |
+
msgid "Download invoice (PDF)"
|
422 |
+
msgstr "Lae arve alla (PDF)"
|
423 |
+
|
424 |
+
#: includes/class-wcpdf-writepanels.php:212
|
425 |
+
msgid "Create PDF"
|
426 |
+
msgstr "Loo PDF"
|
427 |
+
|
428 |
+
#: includes/class-wcpdf-writepanels.php:222
|
429 |
+
msgid "PDF Invoice data"
|
430 |
+
msgstr "PDF arve andmed"
|
431 |
+
|
432 |
+
#: includes/class-wcpdf-writepanels.php:275
|
433 |
+
msgid "Invoice Number (unformatted!)"
|
434 |
+
msgstr "Arve number (vorminguta)"
|
435 |
+
|
436 |
+
#: includes/class-wcpdf-writepanels.php:283
|
437 |
+
#: templates/pdf/Simple/invoice.php:55
|
438 |
+
msgid "Invoice Date:"
|
439 |
+
msgstr "Arve kuupäev:"
|
440 |
+
|
441 |
+
#: includes/class-wcpdf-writepanels.php:285
|
442 |
+
msgid "h"
|
443 |
+
msgstr "h"
|
444 |
+
|
445 |
+
#: includes/class-wcpdf-writepanels.php:285
|
446 |
+
msgid "m"
|
447 |
+
msgstr "m"
|
448 |
+
|
449 |
+
#: includes/wcpdf-extensions.php:15
|
450 |
+
msgid "Check out these premium extensions!"
|
451 |
+
msgstr "Tutvu preemium laiendustega!"
|
452 |
+
|
453 |
+
#: includes/wcpdf-extensions.php:16
|
454 |
+
msgid "click items to read more"
|
455 |
+
msgstr "lisainfo lugemiseks vajuta elemendile"
|
456 |
+
|
457 |
+
#: includes/wcpdf-extensions.php:23
|
458 |
+
msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
|
459 |
+
msgstr ""
|
460 |
+
"Hakka profiks: proforma arved, krediidi märkused (=tagasimaksed) & muud!"
|
461 |
+
|
462 |
+
#: includes/wcpdf-extensions.php:25
|
463 |
+
msgid ""
|
464 |
+
"Supercharge WooCommerce PDF Invoices & Packing Slips with the following "
|
465 |
+
"features:"
|
466 |
+
msgstr ""
|
467 |
+
"Lae WooCommerce PDF Invoices & Packing Slips üle järgnevate omadustega:"
|
468 |
+
|
469 |
+
#: includes/wcpdf-extensions.php:27
|
470 |
+
msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
|
471 |
+
msgstr "Emaili/prindi/lae alla <b>PDF Credit Notes & Proforma Invoices</b>"
|
472 |
+
|
473 |
+
#: includes/wcpdf-extensions.php:28
|
474 |
+
msgid ""
|
475 |
+
"Send out a separate <b>notification email</b> with (or without) PDF invoices/"
|
476 |
+
"packing slips, for example to a drop-shipper or a supplier."
|
477 |
+
msgstr ""
|
478 |
+
"Saada eraldi <b>teavituse e-kiri</b> koos (või ilma) PDF arve/saatelehega, "
|
479 |
+
"näiteks maaletoojale või varustajale."
|
480 |
+
|
481 |
+
#: includes/wcpdf-extensions.php:29
|
482 |
+
msgid ""
|
483 |
+
"Attach <b>up to 3 static files</b> (for example a terms & conditions "
|
484 |
+
"document) to the WooCommerce emails of your choice."
|
485 |
+
msgstr ""
|
486 |
+
"Manusta <b>kuni 3 staatilist faili</b> (näiteks müügitingimuste document) "
|
487 |
+
"enda valitud WooCommerce e-kirjade külge."
|
488 |
+
|
489 |
+
#: includes/wcpdf-extensions.php:30
|
490 |
+
msgid ""
|
491 |
+
"Use <b>separate numbering systems</b> and/or format for proforma invoices "
|
492 |
+
"and credit notes or utilize the main invoice numbering system"
|
493 |
+
msgstr ""
|
494 |
+
"Kasuta <b>eraldi numbreid</b> ja/või formaati proforma arvete ning krediidi "
|
495 |
+
"märkuste jaoks või kasuta põhilist arvete numbrisüsteemi."
|
496 |
+
|
497 |
+
#: includes/wcpdf-extensions.php:31
|
498 |
+
msgid ""
|
499 |
+
"<b>Customize</b> the <b>shipping & billing address</b> format to include "
|
500 |
+
"additional custom fields, font sizes etc. without the need to create a "
|
501 |
+
"custom template."
|
502 |
+
msgstr ""
|
503 |
+
"<b>Kohanda tarne & arve aadresside</b> formaati lisaväljade, fondisuuruste "
|
504 |
+
"ja muu taolisega ilma kohandatud malli loomise vajaduseta."
|
505 |
+
|
506 |
+
#: includes/wcpdf-extensions.php:32
|
507 |
+
msgid "Use the plugin in multilingual <b>WPML</b> setups"
|
508 |
+
msgstr "Kasuta pluginat mitmekeelses <b>WPML</b> keskkonnas"
|
509 |
+
|
510 |
+
#: includes/wcpdf-extensions.php:34
|
511 |
+
msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
|
512 |
+
msgstr "Hangi WooCommerce PDF Invoices & Packing Slips Professional!"
|
513 |
+
|
514 |
+
#: includes/wcpdf-extensions.php:42
|
515 |
+
msgid "Upload all invoices automatically to your dropbox"
|
516 |
+
msgstr "Lae kõik arved automaatselt oma dropboxi"
|
517 |
+
|
518 |
+
#: includes/wcpdf-extensions.php:48
|
519 |
+
msgid ""
|
520 |
+
"This extension conveniently uploads all the invoices (and other pdf "
|
521 |
+
"documents from the professional extension) that are emailed to your "
|
522 |
+
"customers to Dropbox. The best way to keep your invoice administration up to "
|
523 |
+
"date!"
|
524 |
+
msgstr ""
|
525 |
+
"See laiendus laeb kõik kliendile saadetavad arved (ja muud pdf dokumendid "
|
526 |
+
"professionaali laiendusest) Dropboxi. Parim viis hoida arvete haldamine "
|
527 |
+
"ajakohane!"
|
528 |
+
|
529 |
+
#: includes/wcpdf-extensions.php:49
|
530 |
+
msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
|
531 |
+
msgstr "Vii WooCommerce PDF Invoices & Packing Slips dropboxi!"
|
532 |
+
|
533 |
+
#: includes/wcpdf-extensions.php:61
|
534 |
+
msgid ""
|
535 |
+
"Automatically send new orders or packing slips to your printer, as soon as "
|
536 |
+
"the customer orders!"
|
537 |
+
msgstr ""
|
538 |
+
"Saada uued tellimused või saatelehed automaatselt printerisse, niipea kui "
|
539 |
+
"klient tellib!"
|
540 |
+
|
541 |
+
#: includes/wcpdf-extensions.php:67
|
542 |
+
msgid ""
|
543 |
+
"Check out the WooCommerce Automatic Order Printing extension from our "
|
544 |
+
"partners at Simba Hosting"
|
545 |
+
msgstr ""
|
546 |
+
"Tutvu laiendusega WooCommerce Automatic Order Printing meie partnerfirmalt "
|
547 |
+
"Simba Hosting"
|
548 |
+
|
549 |
+
#: includes/wcpdf-extensions.php:68
|
550 |
+
msgid "WooCommerce Automatic Order Printing"
|
551 |
+
msgstr "automaatne WooCommerce tellimuste printimine"
|
552 |
+
|
553 |
+
#: includes/wcpdf-extensions.php:82
|
554 |
+
msgid "Advanced, customizable templates"
|
555 |
+
msgstr "Keerukad, kohandatavad mallid"
|
556 |
+
|
557 |
+
#: includes/wcpdf-extensions.php:85
|
558 |
+
msgid ""
|
559 |
+
"Completely customize the invoice contents (prices, taxes, thumbnails) to "
|
560 |
+
"your needs with a drag & drop customizer"
|
561 |
+
msgstr ""
|
562 |
+
"Kohanda kogu arve sisu (hinnad, maksud, pisipildid) vastavalt oma "
|
563 |
+
"vajadustele lohistamismeetodil."
|
564 |
+
|
565 |
+
#: includes/wcpdf-extensions.php:86
|
566 |
+
msgid "Two extra stylish premade templates (Modern & Business)"
|
567 |
+
msgstr "Kaks eriti stiilset valmismalli (Modern & Business)"
|
568 |
+
|
569 |
+
#: includes/wcpdf-extensions.php:87
|
570 |
+
#, php-format
|
571 |
+
msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
|
572 |
+
msgstr "Tutvu PDF Invoice & Packing Slips preemium mallidega lehel %s."
|
573 |
+
|
574 |
+
#: includes/wcpdf-extensions.php:88
|
575 |
+
#, php-format
|
576 |
+
msgid "For custom templates, contact us at %s."
|
577 |
+
msgstr "Kohandatud mallide jaoks võta meiega ühendust: %s."
|
578 |
+
|
579 |
+
#: templates/pdf/Simple/invoice.php:29
|
580 |
+
#: templates/pdf/Simple/packing-slip.php:40
|
581 |
+
msgid "Billing Address:"
|
582 |
+
msgstr "Arve aadress:"
|
583 |
+
|
584 |
+
#: templates/pdf/Simple/invoice.php:40
|
585 |
+
msgid "Ship To:"
|
586 |
+
msgstr "Vastuvõtja:"
|
587 |
+
|
588 |
+
#: templates/pdf/Simple/invoice.php:49
|
589 |
+
msgid "Invoice Number:"
|
590 |
+
msgstr "Arve number:"
|
591 |
+
|
592 |
+
#: templates/pdf/Simple/invoice.php:60
|
593 |
+
#: templates/pdf/Simple/packing-slip.php:48
|
594 |
+
msgid "Order Number:"
|
595 |
+
msgstr "Tellimuse number:"
|
596 |
+
|
597 |
+
#: templates/pdf/Simple/invoice.php:64
|
598 |
+
#: templates/pdf/Simple/packing-slip.php:52
|
599 |
+
msgid "Order Date:"
|
600 |
+
msgstr "Tellimuse kuupäev"
|
601 |
+
|
602 |
+
#: templates/pdf/Simple/invoice.php:68
|
603 |
+
msgid "Payment Method:"
|
604 |
+
msgstr "Makseviis:"
|
605 |
+
|
606 |
+
#: templates/pdf/Simple/invoice.php:82
|
607 |
+
#: templates/pdf/Simple/packing-slip.php:70
|
608 |
+
msgid "Product"
|
609 |
+
msgstr "Toode"
|
610 |
+
|
611 |
+
#: templates/pdf/Simple/invoice.php:83
|
612 |
+
#: templates/pdf/Simple/packing-slip.php:71
|
613 |
+
msgid "Quantity"
|
614 |
+
msgstr "Kogus"
|
615 |
+
|
616 |
+
#: templates/pdf/Simple/invoice.php:84
|
617 |
+
msgid "Price"
|
618 |
+
msgstr "Hind"
|
619 |
+
|
620 |
+
#: templates/pdf/Simple/invoice.php:91
|
621 |
+
#: templates/pdf/Simple/packing-slip.php:78
|
622 |
+
msgid "Description"
|
623 |
+
msgstr "Kirjeldus"
|
624 |
+
|
625 |
+
#: templates/pdf/Simple/invoice.php:96
|
626 |
+
#: templates/pdf/Simple/packing-slip.php:83
|
627 |
+
msgid "SKU"
|
628 |
+
msgstr "Tootekood"
|
629 |
+
|
630 |
+
#: templates/pdf/Simple/invoice.php:97
|
631 |
+
#: templates/pdf/Simple/packing-slip.php:84
|
632 |
+
msgid "SKU:"
|
633 |
+
msgstr "Tootekood:"
|
634 |
+
|
635 |
+
#: templates/pdf/Simple/invoice.php:98
|
636 |
+
#: templates/pdf/Simple/packing-slip.php:85
|
637 |
+
msgid "Weight:"
|
638 |
+
msgstr "Kaal:"
|
639 |
+
|
640 |
+
#: templates/pdf/Simple/invoice.php:112
|
641 |
+
#: templates/pdf/Simple/packing-slip.php:99
|
642 |
+
msgid "Customer Notes"
|
643 |
+
msgstr "Kliendi märkused"
|
644 |
+
|
645 |
+
#: templates/pdf/Simple/packing-slip.php:29
|
646 |
+
msgid "Shipping Address:"
|
647 |
+
msgstr "Tarne aadress:"
|
648 |
+
|
649 |
+
#: templates/pdf/Simple/packing-slip.php:56
|
650 |
+
msgid "Shipping Method:"
|
651 |
+
msgstr "Tarneviis:"
|
652 |
+
|
653 |
+
#: woocommerce-pdf-invoices-packingslips.php:123
|
654 |
+
#, php-format
|
655 |
+
msgid ""
|
656 |
+
"WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
|
657 |
+
"installed & activated!"
|
658 |
+
msgstr ""
|
659 |
+
"WooCommerce PDF Invoices & Packing Slips vajab, et %sWooCommerce%s oleks "
|
660 |
+
"paigaldatud ja aktiveeritud!"
|
661 |
+
|
662 |
+
#: woocommerce-pdf-invoices-packingslips.php:367
|
663 |
+
#: woocommerce-pdf-invoices-packingslips.php:428
|
664 |
+
msgid "N/A"
|
665 |
+
msgstr "N/A"
|
666 |
+
|
667 |
+
#: woocommerce-pdf-invoices-packingslips.php:517
|
668 |
+
msgid "Payment method"
|
669 |
+
msgstr "Makseviis"
|
670 |
+
|
671 |
+
#: woocommerce-pdf-invoices-packingslips.php:528
|
672 |
+
msgid "Shipping method"
|
673 |
+
msgstr "Tarneviis"
|
674 |
+
|
675 |
+
#: woocommerce-pdf-invoices-packingslips.php:681
|
676 |
+
msgid "Subtotal"
|
677 |
+
msgstr "Vahesumma"
|
678 |
+
|
679 |
+
#: woocommerce-pdf-invoices-packingslips.php:703
|
680 |
+
msgid "Shipping"
|
681 |
+
msgstr "Tarne"
|
682 |
+
|
683 |
+
#: woocommerce-pdf-invoices-packingslips.php:766
|
684 |
+
msgid "Discount"
|
685 |
+
msgstr "Allahindlus"
|
686 |
+
|
687 |
+
#: woocommerce-pdf-invoices-packingslips.php:806
|
688 |
+
msgid "VAT"
|
689 |
+
msgstr "KM"
|
690 |
+
|
691 |
+
#: woocommerce-pdf-invoices-packingslips.php:807
|
692 |
+
msgid "Tax rate"
|
693 |
+
msgstr "Maksumäär"
|
694 |
+
|
695 |
+
#: woocommerce-pdf-invoices-packingslips.php:844
|
696 |
+
msgid "Total ex. VAT"
|
697 |
+
msgstr "Summa ilma KM-ta"
|
698 |
+
|
699 |
+
#: woocommerce-pdf-invoices-packingslips.php:847
|
700 |
+
msgid "Total"
|
701 |
+
msgstr "Kogusumma"
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: pomegranate
|
|
3 |
Tags: woocommerce, pdf, invoices, packing slips, print, delivery notes, invoice, packing slip, export, email, bulk, automatic
|
4 |
Requires at least: 3.5
|
5 |
Tested up to: 4.2
|
6 |
-
Stable tag: 1.5.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -235,6 +235,10 @@ This usually only happens on batch actions. PDF creation is a memory intensive j
|
|
235 |
|
236 |
== Changelog ==
|
237 |
|
|
|
|
|
|
|
|
|
238 |
= 1.5.20 =
|
239 |
* Feature: Option to 'never' display My Account invoice link
|
240 |
* Fix: Order total for refunds in WC2.4
|
3 |
Tags: woocommerce, pdf, invoices, packing slips, print, delivery notes, invoice, packing slip, export, email, bulk, automatic
|
4 |
Requires at least: 3.5
|
5 |
Tested up to: 4.2
|
6 |
+
Stable tag: 1.5.21
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
235 |
|
236 |
== Changelog ==
|
237 |
|
238 |
+
= 1.5.21 =
|
239 |
+
* Translations: Added Estionan (thanks Tanel!)
|
240 |
+
* Tweak: WC2.4 compatibility
|
241 |
+
|
242 |
= 1.5.20 =
|
243 |
* Feature: Option to 'never' display My Account invoice link
|
244 |
* Fix: Order total for refunds in WC2.4
|
woocommerce-pdf-invoices-packingslips.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: WooCommerce PDF Invoices & Packing Slips
|
4 |
* Plugin URI: http://www.wpovernight.com
|
5 |
* Description: Create, print & email PDF invoices & packing slips for WooCommerce orders.
|
6 |
-
* Version: 1.5.
|
7 |
* Author: Ewout Fernhout
|
8 |
* Author URI: http://www.wpovernight.com
|
9 |
* License: GPLv2 or later
|
@@ -33,7 +33,7 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices' ) ) {
|
|
33 |
self::$plugin_basename = plugin_basename(__FILE__);
|
34 |
self::$plugin_url = plugin_dir_url(self::$plugin_basename);
|
35 |
self::$plugin_path = trailingslashit(dirname(__FILE__));
|
36 |
-
self::$version = '1.5.
|
37 |
|
38 |
// load the localisation & classes
|
39 |
add_action( 'plugins_loaded', array( $this, 'translations' ) ); // or use init?
|
@@ -859,24 +859,24 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices' ) ) {
|
|
859 |
* Return/show the order grand total
|
860 |
*/
|
861 |
public function get_order_grand_total( $tax = 'incl' ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
862 |
if ($tax == 'excl' ) {
|
863 |
$total_tax = 0;
|
864 |
foreach ( $this->export->order->get_taxes() as $tax ) {
|
865 |
$total_tax += ( $tax[ 'tax_amount' ] + $tax[ 'shipping_tax_amount' ] );
|
866 |
}
|
867 |
-
|
868 |
-
if ( version_compare( WOOCOMMERCE_VERSION, '2.1' ) >= 0 ) {
|
869 |
-
// WC 2.1 or newer is used
|
870 |
-
$total_unformatted = $this->export->order->get_total();
|
871 |
-
} else {
|
872 |
-
// Backwards compatibility
|
873 |
-
$total_unformatted = $this->export->order->get_order_total();
|
874 |
-
}
|
875 |
|
876 |
$total = $this->export->wc_price( ( $total_unformatted - $total_tax ) );
|
877 |
$label = __( 'Total ex. VAT', 'wpo_wcpdf' );
|
878 |
} else {
|
879 |
-
$total = $this->export->
|
880 |
$label = __( 'Total', 'wpo_wcpdf' );
|
881 |
}
|
882 |
|
3 |
* Plugin Name: WooCommerce PDF Invoices & Packing Slips
|
4 |
* Plugin URI: http://www.wpovernight.com
|
5 |
* Description: Create, print & email PDF invoices & packing slips for WooCommerce orders.
|
6 |
+
* Version: 1.5.21
|
7 |
* Author: Ewout Fernhout
|
8 |
* Author URI: http://www.wpovernight.com
|
9 |
* License: GPLv2 or later
|
33 |
self::$plugin_basename = plugin_basename(__FILE__);
|
34 |
self::$plugin_url = plugin_dir_url(self::$plugin_basename);
|
35 |
self::$plugin_path = trailingslashit(dirname(__FILE__));
|
36 |
+
self::$version = '1.5.21';
|
37 |
|
38 |
// load the localisation & classes
|
39 |
add_action( 'plugins_loaded', array( $this, 'translations' ) ); // or use init?
|
859 |
* Return/show the order grand total
|
860 |
*/
|
861 |
public function get_order_grand_total( $tax = 'incl' ) {
|
862 |
+
if ( version_compare( WOOCOMMERCE_VERSION, '2.1' ) >= 0 ) {
|
863 |
+
// WC 2.1 or newer is used
|
864 |
+
$total_unformatted = $this->export->order->get_total();
|
865 |
+
} else {
|
866 |
+
// Backwards compatibility
|
867 |
+
$total_unformatted = $this->export->order->get_order_total();
|
868 |
+
}
|
869 |
+
|
870 |
if ($tax == 'excl' ) {
|
871 |
$total_tax = 0;
|
872 |
foreach ( $this->export->order->get_taxes() as $tax ) {
|
873 |
$total_tax += ( $tax[ 'tax_amount' ] + $tax[ 'shipping_tax_amount' ] );
|
874 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
875 |
|
876 |
$total = $this->export->wc_price( ( $total_unformatted - $total_tax ) );
|
877 |
$label = __( 'Total ex. VAT', 'wpo_wcpdf' );
|
878 |
} else {
|
879 |
+
$total = $this->export->wc_price( ( $total_unformatted ) );
|
880 |
$label = __( 'Total', 'wpo_wcpdf' );
|
881 |
}
|
882 |
|