Version Description
- Feature: new template action hooks
wpo_wcpdf_before_document
&wpo_wcpdf_after_document
- Tweak: In totals, emphasize order total rather than last item
- Fix: User deprecation notices
- Translations: Updated Slovenian
Download this release
Release Info
Developer | pomegranate |
Plugin | WooCommerce PDF Invoices & Packing Slips |
Version | 1.5.39 |
Comparing to | |
See all releases |
Code changes from version 1.5.38 to 1.5.39
- includes/class-wcpdf-export.php +4 -3
- languages/wpo_wcpdf-sl_SI.mo +0 -0
- languages/wpo_wcpdf-sl_SI.po +499 -406
- readme.txt +17 -147
- templates/pdf/Simple/invoice.php +6 -1
- templates/pdf/Simple/packing-slip.php +7 -1
- templates/pdf/Simple/style.css +2 -2
- woocommerce-pdf-invoices-packingslips.php +2 -2
includes/class-wcpdf-export.php
CHANGED
@@ -544,15 +544,16 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
|
|
544 |
if ( !is_object( $order ) || !isset( $status ) ) {
|
545 |
return $attachments;
|
546 |
}
|
547 |
-
if ( !isset($order->id) ) {
|
548 |
-
return $attachments;
|
549 |
-
}
|
550 |
|
551 |
// Skip User emails
|
552 |
if ( get_class( $order ) == 'WP_User' ) {
|
553 |
return $attachments;
|
554 |
}
|
555 |
|
|
|
|
|
|
|
|
|
556 |
// WooCommerce Booking compatibility
|
557 |
if ( get_post_type( $order->id ) == 'wc_booking' && isset($order->order) ) {
|
558 |
// $order is actually a WC_Booking object!
|
544 |
if ( !is_object( $order ) || !isset( $status ) ) {
|
545 |
return $attachments;
|
546 |
}
|
|
|
|
|
|
|
547 |
|
548 |
// Skip User emails
|
549 |
if ( get_class( $order ) == 'WP_User' ) {
|
550 |
return $attachments;
|
551 |
}
|
552 |
|
553 |
+
if ( !isset($order->id) ) {
|
554 |
+
return $attachments;
|
555 |
+
}
|
556 |
+
|
557 |
// WooCommerce Booking compatibility
|
558 |
if ( get_post_type( $order->id ) == 'wc_booking' && isset($order->order) ) {
|
559 |
// $order is actually a WC_Booking object!
|
languages/wpo_wcpdf-sl_SI.mo
CHANGED
Binary file
|
languages/wpo_wcpdf-sl_SI.po
CHANGED
@@ -1,521 +1,614 @@
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"
|
4 |
-
"POT-Creation-Date: 2014-11-06 14:51+0100\n"
|
5 |
-
"PO-Revision-Date: 2015-10-27 11:15+0100\n"
|
6 |
-
"Last-Translator: \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 |
-
"
|
12 |
-
"X-
|
13 |
-
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
|
14 |
-
"%100==4 ? 2 : 3);\n"
|
15 |
-
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
-
"X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
|
17 |
"Language: sl_SI\n"
|
18 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
-
#:
|
21 |
-
|
22 |
-
|
23 |
-
msgid "You do not have sufficient permissions to access this page."
|
24 |
-
msgstr "Nimate dovolj pristojnosti za dostop do te strani"
|
25 |
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
msgid_plural "invoices"
|
30 |
-
msgstr[0] "račun"
|
31 |
-
msgstr[1] "računa"
|
32 |
-
msgstr[2] "računi"
|
33 |
-
msgstr[3] "računov"
|
34 |
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
msgid_plural "packing-slips"
|
39 |
-
msgstr[0] "spremnica"
|
40 |
-
msgstr[1] "spremnici"
|
41 |
-
msgstr[2] "spremnice"
|
42 |
-
msgstr[3] "spremnic"
|
43 |
|
44 |
-
#:
|
45 |
-
|
46 |
-
|
47 |
-
msgstr "PDF računi"
|
48 |
|
49 |
-
#:
|
50 |
-
msgid "
|
51 |
-
msgstr "
|
52 |
|
53 |
-
#:
|
54 |
-
msgid "
|
55 |
-
msgstr "
|
56 |
|
57 |
-
#:
|
58 |
-
msgid "
|
59 |
-
msgstr "
|
60 |
|
61 |
-
#:
|
62 |
-
msgid "
|
63 |
-
msgstr "
|
64 |
|
65 |
-
#:
|
66 |
-
msgid "
|
67 |
-
msgstr "
|
68 |
|
69 |
-
#:
|
70 |
-
|
71 |
-
|
|
|
72 |
|
73 |
-
#:
|
74 |
-
msgid "
|
75 |
-
msgstr "
|
76 |
|
77 |
-
#:
|
78 |
-
msgid "
|
79 |
-
msgstr "
|
80 |
|
81 |
-
#:
|
82 |
-
msgid "
|
83 |
-
msgstr "
|
84 |
|
85 |
-
#:
|
86 |
-
|
87 |
-
|
|
|
88 |
|
89 |
-
#:
|
90 |
-
msgid "
|
91 |
-
msgstr "
|
92 |
|
93 |
-
#:
|
94 |
-
msgid "
|
95 |
-
msgstr "
|
96 |
|
97 |
-
#:
|
98 |
-
msgid "
|
99 |
-
msgstr "
|
100 |
|
101 |
-
#:
|
102 |
-
msgid "
|
103 |
-
msgstr "
|
104 |
|
105 |
-
#:
|
106 |
-
|
107 |
-
|
108 |
-
"It looks like the temp folder (<code>%s</code>) is not writable, check the "
|
109 |
-
"permissions for this folder! Without having write access to this folder, the "
|
110 |
-
"plugin will not be able to email invoices."
|
111 |
-
msgstr ""
|
112 |
-
"Izgleda, da v temp direktorij (<code>%s</code>) ni možno zapisovati, "
|
113 |
-
"preverite dovoljenja za ta direktorij. Brez možnosti zapisovanja v ta "
|
114 |
-
"direktorij, razširitev ne more pošiljati računov na email."
|
115 |
|
116 |
-
#:
|
117 |
-
msgid "
|
118 |
-
msgstr "
|
119 |
|
120 |
-
#:
|
121 |
-
msgid "
|
122 |
-
msgstr "
|
123 |
|
124 |
-
#:
|
125 |
-
msgid "
|
126 |
-
msgstr "
|
127 |
|
128 |
-
#:
|
129 |
-
|
130 |
-
|
131 |
-
"Want to use your own template? Copy all the files from <code>%s</code> to "
|
132 |
-
"your (child) theme in <code>%s</code> to customize them"
|
133 |
-
msgstr ""
|
134 |
-
"Želite uporabiti svojo predlogo? Kopirajte vse datoteke iz <code>%s</code> v "
|
135 |
-
"vašo (otroško) temo v <code>%s</code> in jo spremenite po želji"
|
136 |
|
137 |
-
#:
|
138 |
-
msgid "
|
139 |
-
msgstr "
|
140 |
|
141 |
-
#:
|
142 |
-
msgid "
|
143 |
-
msgstr "
|
144 |
|
145 |
-
#:
|
146 |
-
msgid "
|
147 |
-
msgstr "
|
148 |
|
149 |
-
#:
|
150 |
-
msgid "
|
151 |
-
msgstr "
|
152 |
|
153 |
-
#: includes/
|
154 |
-
msgid "
|
155 |
-
msgstr "
|
156 |
|
157 |
-
#: includes/
|
158 |
-
msgid "
|
159 |
-
msgstr "
|
160 |
|
161 |
-
#: includes/
|
162 |
-
msgid "
|
163 |
-
msgstr "
|
164 |
|
165 |
-
#: includes/
|
166 |
-
msgid "
|
167 |
-
msgstr "
|
168 |
|
169 |
-
#: includes/
|
170 |
-
msgid "
|
171 |
-
msgstr "
|
172 |
|
173 |
-
#: includes/
|
174 |
-
msgid "
|
175 |
-
msgstr "
|
176 |
|
177 |
-
#: includes/
|
178 |
-
msgid "
|
179 |
-
msgstr "
|
180 |
|
181 |
-
#: includes/
|
182 |
-
msgid "
|
183 |
-
msgstr "
|
184 |
|
185 |
-
#: includes/
|
186 |
-
msgid "
|
187 |
-
msgstr "
|
188 |
|
189 |
-
#: includes/
|
190 |
-
msgid ""
|
191 |
-
"
|
192 |
-
"default, numbering starts from the WooCommerce Order Number of the first "
|
193 |
-
"invoice that is created and increases for every new invoice. Note that if "
|
194 |
-
"you override this and set it lower than the highest (PDF) invoice number, "
|
195 |
-
"this could create double invoice numbers!"
|
196 |
-
msgstr ""
|
197 |
-
"To je število, ki bo uporabljeno pri naslednjem računu, ki bo ustvarjen. "
|
198 |
-
"Privzeti je nastavljeno, da WooCommerce prične številčiti pri prvem računu "
|
199 |
-
"in le-to povečuje za vsak nov račun. Pazite, če ste to prepisali in jo "
|
200 |
-
"nastavili nižjo, kot pa je že izdan račun, lahko pride do podvajanja številk!"
|
201 |
|
202 |
-
#: includes/
|
203 |
-
msgid "
|
204 |
-
msgstr "
|
205 |
|
206 |
-
#: includes/
|
207 |
-
msgid "
|
208 |
-
msgstr "
|
209 |
|
210 |
-
#: includes/
|
211 |
-
msgid ""
|
212 |
-
"
|
213 |
-
"respectively"
|
214 |
-
msgstr ""
|
215 |
-
"za uporabo letnice ali meseca, uporabite [order_year] ali [order_month] "
|
216 |
-
"posebej."
|
217 |
|
218 |
-
#: includes/
|
219 |
-
msgid "
|
220 |
-
msgstr "
|
221 |
|
222 |
-
#: includes/
|
223 |
-
msgid "
|
224 |
-
msgstr "
|
225 |
|
226 |
-
#: includes/
|
227 |
-
msgid "
|
228 |
-
msgstr "
|
229 |
|
230 |
-
#: includes/
|
231 |
-
msgid ""
|
232 |
-
"
|
233 |
-
"filter, the above settings will be ignored"
|
234 |
-
msgstr ""
|
235 |
-
"pozor: če ste že ustvarili format številke računa po svoji želji z "
|
236 |
-
"morebitnim filtrom, bodo zgornje nastavitve ignorirane"
|
237 |
|
238 |
-
#: includes/
|
239 |
-
msgid "
|
240 |
-
msgstr "
|
241 |
|
242 |
-
#: includes/
|
243 |
-
msgid "
|
244 |
-
msgstr "
|
245 |
|
246 |
-
#: includes/
|
247 |
-
msgid "
|
248 |
-
msgstr "
|
249 |
|
250 |
-
#: includes/
|
251 |
-
msgid "
|
252 |
-
msgstr "
|
253 |
|
254 |
-
#: includes/
|
255 |
-
msgid "
|
256 |
-
msgstr "
|
257 |
|
258 |
-
#: includes/class-wcpdf-
|
259 |
-
msgid "
|
260 |
-
msgstr "
|
261 |
|
262 |
-
#: includes/class-wcpdf-
|
263 |
-
msgid "
|
264 |
-
msgstr "
|
265 |
|
266 |
-
#: includes/class-wcpdf-
|
267 |
-
msgid "
|
268 |
-
msgstr "
|
269 |
|
270 |
-
#: includes/class-wcpdf-
|
271 |
-
msgid ""
|
272 |
-
"
|
273 |
-
"(Premium)</em> template, but can also be used for other elements in your "
|
274 |
-
"custom template"
|
275 |
-
msgstr ""
|
276 |
-
"Ta polja se uporabijo na željo v Moderni predlogi (premium), lahko pa jih "
|
277 |
-
"uporabite tudi za druge elemente Vaše predloge po želji."
|
278 |
|
279 |
-
#: includes/class-wcpdf-writepanels.php:
|
280 |
-
msgid "PDF
|
281 |
-
msgstr "PDF
|
282 |
|
283 |
-
#: includes/class-wcpdf-writepanels.php:
|
284 |
-
|
285 |
-
|
286 |
-
|
|
|
|
|
|
|
287 |
|
288 |
-
#: includes/class-wcpdf-writepanels.php:
|
289 |
-
|
|
|
|
|
|
|
|
|
|
|
290 |
msgid "PDF Packing Slip"
|
291 |
msgstr "PDF spremnica"
|
292 |
|
293 |
-
#: includes/class-wcpdf-writepanels.php:
|
294 |
-
|
295 |
-
|
|
|
|
|
296 |
|
297 |
-
#: includes/class-wcpdf-writepanels.php:
|
298 |
-
msgid "
|
299 |
-
msgstr "
|
300 |
|
301 |
-
#: includes/class-wcpdf-
|
302 |
-
msgid "
|
303 |
-
msgstr "
|
304 |
|
305 |
-
#: includes/class-wcpdf-
|
306 |
-
msgid "
|
307 |
-
msgstr "
|
308 |
|
309 |
-
#: includes/class-wcpdf-
|
310 |
-
msgid "
|
311 |
-
msgstr "
|
312 |
|
313 |
-
#: includes/class-wcpdf-
|
314 |
-
msgid "
|
315 |
-
msgstr "
|
316 |
|
317 |
-
#: includes/class-wcpdf-
|
318 |
-
msgid "
|
319 |
-
msgstr "
|
320 |
|
321 |
-
#: includes/wcpdf-
|
322 |
-
msgid "
|
323 |
-
msgstr "
|
324 |
|
325 |
-
#: includes/wcpdf-
|
326 |
-
msgid "
|
327 |
-
msgstr "
|
328 |
|
329 |
-
#: includes/wcpdf-
|
330 |
-
msgid "
|
331 |
-
msgstr "
|
332 |
|
333 |
-
#: includes/wcpdf-
|
334 |
-
msgid ""
|
335 |
-
"
|
336 |
-
"features:"
|
337 |
-
msgstr "Dopolnite WooCommerce PDF Račune in Spremnice s sledečimi funkcijami:"
|
338 |
|
339 |
-
#: includes/wcpdf-
|
340 |
-
msgid "
|
341 |
-
msgstr "
|
342 |
|
343 |
-
#: includes/wcpdf-
|
344 |
-
msgid ""
|
345 |
-
"
|
346 |
-
"the WooCommerce emails of your choice."
|
347 |
-
msgstr ""
|
348 |
-
"Priložite <b>datoteko</b> (npr. pogoje nakupa) v elektornsko sporočilo po "
|
349 |
-
"vaši želji."
|
350 |
|
351 |
-
#: includes/wcpdf-
|
352 |
-
msgid ""
|
353 |
-
"
|
354 |
-
"and credit notes or utilize the main invoice numbering system"
|
355 |
-
msgstr ""
|
356 |
-
"Uporabite <b>ločen sistem za številčenje</b> za predračune in opomnike, ali "
|
357 |
-
"pa vklopite glavni sistem za številčenje."
|
358 |
|
359 |
-
#: includes/wcpdf-
|
360 |
-
msgid ""
|
361 |
-
"
|
362 |
-
"additional custom fields, font sizes etc. without the need to create a "
|
363 |
-
"custom template."
|
364 |
-
msgstr ""
|
365 |
-
"<b>Uredite naslov za dostavo in račun</b> tako, da vključite dodatna polja, "
|
366 |
-
"velikost pisave ipd. brez, da ustvarite svojo predlogo."
|
367 |
|
368 |
-
#: includes/wcpdf-
|
369 |
-
msgid "
|
370 |
-
msgstr "
|
371 |
|
372 |
-
#: includes/wcpdf-
|
373 |
-
msgid "
|
374 |
-
msgstr "
|
375 |
|
376 |
-
#: includes/wcpdf-
|
377 |
-
msgid "
|
378 |
-
msgstr "
|
379 |
|
380 |
-
#: includes/wcpdf-
|
381 |
-
msgid ""
|
382 |
-
"
|
383 |
-
"documents from the professional extension) that are emailed to your "
|
384 |
-
"customers to Dropbox. The best way to keep your invoice administration up to "
|
385 |
-
"date!"
|
386 |
-
msgstr ""
|
387 |
-
"Razširitev omogoča da naložite vse račune (ali druge dokumente iz "
|
388 |
-
"profesionalne razširitve), ki so poslane vašim strankam, na Dropbox. "
|
389 |
-
"Najboljši način za vedno osveženo administracijo!"
|
390 |
|
391 |
-
#: includes/wcpdf-
|
392 |
-
msgid "
|
393 |
-
msgstr "
|
394 |
|
395 |
-
#: includes/wcpdf-
|
396 |
-
msgid "
|
397 |
-
msgstr "
|
398 |
|
399 |
-
#: includes/wcpdf-
|
400 |
-
|
401 |
-
|
|
|
|
|
|
|
402 |
|
403 |
-
#: includes/wcpdf-
|
404 |
-
msgid "
|
405 |
-
msgstr "
|
406 |
|
407 |
-
#: includes/wcpdf-
|
408 |
-
|
409 |
-
|
410 |
-
msgstr "Preverite premium PDF Računi in Spremnice predloge pri %s."
|
411 |
|
412 |
-
#: includes/wcpdf-
|
413 |
-
|
414 |
-
|
415 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
416 |
|
417 |
-
#:
|
418 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
419 |
msgid "Invoice"
|
420 |
msgstr "Račun"
|
421 |
|
422 |
-
#:
|
423 |
-
|
424 |
-
|
425 |
-
msgid "Packing Slip"
|
426 |
-
msgstr "Spremnica"
|
427 |
|
428 |
-
#:
|
429 |
-
msgid "
|
430 |
-
msgstr "
|
431 |
|
432 |
-
#:
|
433 |
-
msgid "
|
434 |
-
msgstr "
|
435 |
|
436 |
-
#:
|
437 |
-
msgid "
|
438 |
-
msgstr "
|
439 |
|
440 |
-
#:
|
441 |
-
msgid "
|
442 |
-
msgstr "
|
443 |
|
444 |
-
#:
|
445 |
-
msgid "
|
446 |
-
msgstr "
|
447 |
|
448 |
-
#:
|
449 |
-
msgid "
|
450 |
-
msgstr "
|
451 |
|
452 |
-
#:
|
453 |
-
msgid "
|
454 |
-
msgstr "
|
455 |
|
456 |
-
#:
|
457 |
-
msgid "
|
458 |
-
msgstr "
|
459 |
|
460 |
-
#:
|
461 |
-
msgid "
|
462 |
-
msgstr "
|
463 |
|
464 |
-
#:
|
465 |
-
msgid "
|
466 |
-
msgstr "
|
467 |
|
468 |
-
#:
|
469 |
-
msgid "
|
470 |
-
msgstr "
|
471 |
|
472 |
-
#:
|
473 |
-
|
474 |
-
|
475 |
-
msgstr "Sporočilo kupca"
|
476 |
|
477 |
-
#:
|
478 |
-
|
479 |
-
|
480 |
-
"WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
|
481 |
-
"installed & activated!"
|
482 |
-
msgstr ""
|
483 |
-
"WooCommerce PDF Računi in Spremnice potrebujejo inštaliran ter aktiviran "
|
484 |
-
"%sWooCommerce%s!"
|
485 |
|
486 |
-
#:
|
487 |
-
|
488 |
-
|
489 |
-
msgstr "Ni na voljo"
|
490 |
|
491 |
-
#:
|
492 |
-
msgid "
|
493 |
-
msgstr "
|
494 |
|
495 |
-
#:
|
496 |
-
msgid "
|
497 |
-
msgstr "
|
498 |
|
499 |
-
#:
|
500 |
-
msgid "
|
501 |
-
msgstr "
|
502 |
|
503 |
-
#:
|
504 |
-
msgid "
|
505 |
-
msgstr "
|
506 |
|
507 |
-
#:
|
508 |
-
msgid "
|
509 |
-
msgstr "
|
510 |
|
511 |
-
#:
|
512 |
-
msgid "
|
513 |
-
msgstr "
|
514 |
|
515 |
-
#:
|
516 |
-
msgid "
|
517 |
-
msgstr "
|
518 |
|
519 |
-
#:
|
520 |
-
msgid "
|
521 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Translation of Plugins - WooCommerce PDF Invoices & Packing Slips - Development (trunk) in Slovenian
|
2 |
+
# This file is distributed under the same license as the Plugins - WooCommerce PDF Invoices & Packing Slips - Development (trunk) package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"PO-Revision-Date: 2016-12-29 11:12+0100\n"
|
|
|
|
|
|
|
|
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
+
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"
|
10 |
+
"X-Generator: Poedit 1.8.9\n"
|
|
|
|
|
|
|
|
|
11 |
"Language: sl_SI\n"
|
12 |
+
"Project-Id-Version: Plugins - WooCommerce PDF Invoices & Packing Slips - Development (trunk)\n"
|
13 |
+
"POT-Creation-Date: \n"
|
14 |
+
"Last-Translator: Valentina <valentina-rakar@gmail.com>\n"
|
15 |
+
"Language-Team: \n"
|
16 |
+
|
17 |
+
#. Author of the plugin/theme
|
18 |
+
msgid "Ewout Fernhout"
|
19 |
+
msgstr "Ewout Fernhout"
|
20 |
+
|
21 |
+
#. Description of the plugin/theme
|
22 |
+
msgid "Create, print & email PDF invoices & packing slips for WooCommerce orders."
|
23 |
+
msgstr "Ustvari, natisni in pošlji PDF račune in spremnice za WooCommerce naročila."
|
24 |
+
|
25 |
+
#. #-#-#-#-# tmp-woocommerce-pdf-invoices-packing-slips.pot (WooCommerce PDF
|
26 |
+
#. Invoices & Packing Slips 1.5.22) #-#-#-#-#
|
27 |
+
#. Plugin URI of the plugin/theme
|
28 |
+
#. #-#-#-#-# tmp-woocommerce-pdf-invoices-packing-slips.pot (WooCommerce PDF
|
29 |
+
#. Invoices & Packing Slips 1.5.22) #-#-#-#-#
|
30 |
+
#. Author URI of the plugin/theme
|
31 |
+
msgid "http://www.wpovernight.com"
|
32 |
+
msgstr "http://www.wpovernight.com"
|
33 |
+
|
34 |
+
#. Plugin Name of the plugin/theme
|
35 |
+
msgid "WooCommerce PDF Invoices & Packing Slips"
|
36 |
+
msgstr "WooCommerce PDF Invoices & Packing Slips"
|
37 |
+
|
38 |
+
#: woocommerce-pdf-invoices-packingslips.php:880
|
39 |
+
msgid "Total"
|
40 |
+
msgstr "Za plačilo"
|
41 |
|
42 |
+
#: woocommerce-pdf-invoices-packingslips.php:877
|
43 |
+
msgid "Total ex. VAT"
|
44 |
+
msgstr "Skupaj brez DDV"
|
|
|
|
|
45 |
|
46 |
+
#: woocommerce-pdf-invoices-packingslips.php:840
|
47 |
+
msgid "Tax rate"
|
48 |
+
msgstr "Davčna stopnja"
|
|
|
|
|
|
|
|
|
|
|
49 |
|
50 |
+
#: woocommerce-pdf-invoices-packingslips.php:839
|
51 |
+
msgid "VAT"
|
52 |
+
msgstr "DDV"
|
|
|
|
|
|
|
|
|
|
|
53 |
|
54 |
+
#: woocommerce-pdf-invoices-packingslips.php:799
|
55 |
+
msgid "Discount"
|
56 |
+
msgstr "Popust"
|
|
|
57 |
|
58 |
+
#: woocommerce-pdf-invoices-packingslips.php:736
|
59 |
+
msgid "Shipping"
|
60 |
+
msgstr "Dostava"
|
61 |
|
62 |
+
#: woocommerce-pdf-invoices-packingslips.php:714
|
63 |
+
msgid "Subtotal"
|
64 |
+
msgstr "Skupaj"
|
65 |
|
66 |
+
#: woocommerce-pdf-invoices-packingslips.php:693
|
67 |
+
msgid "(Includes %s)"
|
68 |
+
msgstr "(vključuje %s)"
|
69 |
|
70 |
+
#: woocommerce-pdf-invoices-packingslips.php:534
|
71 |
+
msgid "Shipping method"
|
72 |
+
msgstr "Način dostave"
|
73 |
|
74 |
+
#: woocommerce-pdf-invoices-packingslips.php:523
|
75 |
+
msgid "Payment method"
|
76 |
+
msgstr "Način plačila"
|
77 |
|
78 |
+
#: woocommerce-pdf-invoices-packingslips.php:367
|
79 |
+
#: woocommerce-pdf-invoices-packingslips.php:428
|
80 |
+
msgid "N/A"
|
81 |
+
msgstr "Ni na voljo"
|
82 |
|
83 |
+
#: woocommerce-pdf-invoices-packingslips.php:123
|
84 |
+
msgid "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be installed & activated!"
|
85 |
+
msgstr "WooCommerce PDF Invoices & Packing Slips potrebujejo nameščen in aktiviran %sWooCommerce%s!"
|
86 |
|
87 |
+
#: templates/pdf/Simple/packing-slip.php:56
|
88 |
+
msgid "Shipping Method:"
|
89 |
+
msgstr "Način dostave:"
|
90 |
|
91 |
+
#: templates/pdf/Simple/packing-slip.php:29
|
92 |
+
msgid "Shipping Address:"
|
93 |
+
msgstr "Naslov plačnika:"
|
94 |
|
95 |
+
#: templates/pdf/Simple/invoice.php:112
|
96 |
+
#: templates/pdf/Simple/packing-slip.php:99
|
97 |
+
msgid "Customer Notes"
|
98 |
+
msgstr "Sporočila kupca"
|
99 |
|
100 |
+
#: templates/pdf/Simple/invoice.php:98 templates/pdf/Simple/packing-slip.php:85
|
101 |
+
msgid "Weight:"
|
102 |
+
msgstr "Teža:"
|
103 |
|
104 |
+
#: templates/pdf/Simple/invoice.php:97 templates/pdf/Simple/packing-slip.php:84
|
105 |
+
msgid "SKU:"
|
106 |
+
msgstr "Šifra:"
|
107 |
|
108 |
+
#: templates/pdf/Simple/invoice.php:96 templates/pdf/Simple/packing-slip.php:83
|
109 |
+
msgid "SKU"
|
110 |
+
msgstr "Šifra"
|
111 |
|
112 |
+
#: templates/pdf/Simple/invoice.php:91 templates/pdf/Simple/packing-slip.php:78
|
113 |
+
msgid "Description"
|
114 |
+
msgstr "Opis"
|
115 |
|
116 |
+
#: templates/pdf/Simple/invoice.php:84
|
117 |
+
msgid "Price"
|
118 |
+
msgstr "Cena"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
|
120 |
+
#: templates/pdf/Simple/invoice.php:83 templates/pdf/Simple/packing-slip.php:71
|
121 |
+
msgid "Quantity"
|
122 |
+
msgstr "Količina"
|
123 |
|
124 |
+
#: templates/pdf/Simple/invoice.php:82 templates/pdf/Simple/packing-slip.php:70
|
125 |
+
msgid "Product"
|
126 |
+
msgstr "Artikel"
|
127 |
|
128 |
+
#: templates/pdf/Simple/invoice.php:68
|
129 |
+
msgid "Payment Method:"
|
130 |
+
msgstr "Način plačila:"
|
131 |
|
132 |
+
#: templates/pdf/Simple/invoice.php:64 templates/pdf/Simple/packing-slip.php:52
|
133 |
+
msgid "Order Date:"
|
134 |
+
msgstr "Datum naročila:"
|
|
|
|
|
|
|
|
|
|
|
135 |
|
136 |
+
#: templates/pdf/Simple/invoice.php:60 templates/pdf/Simple/packing-slip.php:48
|
137 |
+
msgid "Order Number:"
|
138 |
+
msgstr "Št. naročila:"
|
139 |
|
140 |
+
#: templates/pdf/Simple/invoice.php:49
|
141 |
+
msgid "Invoice Number:"
|
142 |
+
msgstr "Št. računa:"
|
143 |
|
144 |
+
#: templates/pdf/Simple/invoice.php:40
|
145 |
+
msgid "Ship To:"
|
146 |
+
msgstr "Pošlji na:"
|
147 |
|
148 |
+
#: templates/pdf/Simple/invoice.php:29 templates/pdf/Simple/packing-slip.php:40
|
149 |
+
msgid "Billing Address:"
|
150 |
+
msgstr "Naslov plačnika:"
|
151 |
|
152 |
+
#: includes/wcpdf-extensions.php:88
|
153 |
+
msgid "For custom templates, contact us at %s."
|
154 |
+
msgstr "Za predloge po meri nas kontaktirajte na %s."
|
155 |
|
156 |
+
#: includes/wcpdf-extensions.php:87
|
157 |
+
msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
|
158 |
+
msgstr "Oglejte si Premium Predloge PDF Računov in Spremnic na %s."
|
159 |
|
160 |
+
#: includes/wcpdf-extensions.php:86
|
161 |
+
msgid "Two extra stylish premade templates (Modern & Business)"
|
162 |
+
msgstr "Dve dodatni moderni predlogi (Modern & Business)"
|
163 |
|
164 |
+
#: includes/wcpdf-extensions.php:85
|
165 |
+
msgid "Completely customize the invoice contents (prices, taxes, thumbnails) to your needs with a drag & drop customizer"
|
166 |
+
msgstr "Popolna prilagoditev vsebine računa (cene, davki, predogledne slike) vašim potrebam z metodo povleci in spusti"
|
167 |
|
168 |
+
#: includes/wcpdf-extensions.php:82
|
169 |
+
msgid "Advanced, customizable templates"
|
170 |
+
msgstr "Napredne, prilagodljive predloge"
|
171 |
|
172 |
+
#: includes/wcpdf-extensions.php:68
|
173 |
+
msgid "WooCommerce Automatic Order Printing"
|
174 |
+
msgstr "Samodejno tiskanje WooCommerce naročil"
|
175 |
|
176 |
+
#: includes/wcpdf-extensions.php:67
|
177 |
+
msgid "Check out the WooCommerce Automatic Order Printing extension from our partners at Simba Hosting"
|
178 |
+
msgstr "Oglejte si WooCommerce Automatic Order Printing dodatek naših partnerjev pri Simba Hosting"
|
179 |
|
180 |
+
#: includes/wcpdf-extensions.php:61
|
181 |
+
msgid "Automatically send new orders or packing slips to your printer, as soon as the customer orders!"
|
182 |
+
msgstr "Samodejno pošliljanje novih naročil ali spremnic v vaš printer takoj, ko stranka odda naročilo."
|
183 |
|
184 |
+
#: includes/wcpdf-extensions.php:49
|
185 |
+
msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
|
186 |
+
msgstr "Kupi WooCommerce PDF Invoices & Packing Slips to dropbox!"
|
187 |
|
188 |
+
#: includes/wcpdf-extensions.php:48
|
189 |
+
msgid "This extension conveniently uploads all the invoices (and other pdf documents from the professional extension) that are emailed to your customers to Dropbox. The best way to keep your invoice administration up to date!"
|
190 |
+
msgstr "Ta razširitev priročno naloži vse račune (in ostale pdf dokumente iz professional dodatka), ki so poslani strankam, na Dropbox. Najboljši način za ažurno administracijo računov!"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
|
192 |
+
#: includes/wcpdf-extensions.php:42
|
193 |
+
msgid "Upload all invoices automatically to your dropbox"
|
194 |
+
msgstr "Samodejni prenos vseh računov na vaš Dropbox"
|
195 |
|
196 |
+
#: includes/wcpdf-extensions.php:34
|
197 |
+
msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
|
198 |
+
msgstr "Kupi WooCommerce PDF Invoices & Packing Slips Professional!"
|
199 |
|
200 |
+
#: includes/wcpdf-extensions.php:32
|
201 |
+
msgid "Use the plugin in multilingual <b>WPML</b> setups"
|
202 |
+
msgstr "Uporabite ta vtičnik v večjezični <b>WPML</b> nastavitvi"
|
|
|
|
|
|
|
|
|
203 |
|
204 |
+
#: includes/wcpdf-extensions.php:31
|
205 |
+
msgid "<b>Customize</b> the <b>shipping & billing address</b> format to include additional custom fields, font sizes etc. without the need to create a custom template."
|
206 |
+
msgstr "<b>Uredite</b> <b>naslov za dostavo in račun</b> tako, da vključite dodatna polja po meri, velikost pisave ipd. brez potrebe po ustvarjanju nove predloge."
|
207 |
|
208 |
+
#: includes/wcpdf-extensions.php:30
|
209 |
+
msgid "Use <b>separate numbering systems</b> and/or format for proforma invoices and credit notes or utilize the main invoice numbering system"
|
210 |
+
msgstr "Uporabite <b>ločene sisteme za številčenje</b> in/ali format za predračune in dobropise ali uporabite glavni sistem za številčenje."
|
211 |
|
212 |
+
#: includes/wcpdf-extensions.php:29
|
213 |
+
msgid "Attach <b>up to 3 static files</b> (for example a terms & conditions document) to the WooCommerce emails of your choice."
|
214 |
+
msgstr "Priloži <b>do 3 statične datoteke</b> (npr. dokument s pogoji poslovanja) v WooCommerce e-obvestila po želji."
|
215 |
|
216 |
+
#: includes/wcpdf-extensions.php:28
|
217 |
+
msgid "Send out a separate <b>notification email</b> with (or without) PDF invoices/packing slips, for example to a drop-shipper or a supplier."
|
218 |
+
msgstr "Pošlji ločeno <b>e-poštno obvestilo</b> z (ali brez) PDF računi/spremnicami, npr. dobavniku."
|
|
|
|
|
|
|
|
|
219 |
|
220 |
+
#: includes/wcpdf-extensions.php:27
|
221 |
+
msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
|
222 |
+
msgstr "Pošlji/natisni/prenesi <b>PDF Dobropise in Predračune</b>"
|
223 |
|
224 |
+
#: includes/wcpdf-extensions.php:25
|
225 |
+
msgid "Supercharge WooCommerce PDF Invoices & Packing Slips with the following features:"
|
226 |
+
msgstr "Dopolnite WooCommerce PDF Invoices & Packing Slips s sledečimi funkcijami:"
|
227 |
|
228 |
+
#: includes/wcpdf-extensions.php:23
|
229 |
+
msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
|
230 |
+
msgstr "Pojdi Pro: Predračuni, dobropisi (=vračila) in več!"
|
231 |
|
232 |
+
#: includes/wcpdf-extensions.php:16
|
233 |
+
msgid "click items to read more"
|
234 |
+
msgstr "klikni za več informacij"
|
235 |
|
236 |
+
#: includes/wcpdf-extensions.php:15
|
237 |
+
msgid "Check out these premium extensions!"
|
238 |
+
msgstr "Preverite premium razširitve!"
|
239 |
|
240 |
+
#: includes/class-wcpdf-writepanels.php:289
|
241 |
+
msgid "m"
|
242 |
+
msgstr "min"
|
243 |
|
244 |
+
#: includes/class-wcpdf-writepanels.php:289
|
245 |
+
msgid "h"
|
246 |
+
msgstr "h"
|
247 |
|
248 |
+
#: includes/class-wcpdf-writepanels.php:287 templates/pdf/Simple/invoice.php:55
|
249 |
+
msgid "Invoice Date:"
|
250 |
+
msgstr "Datum računa:"
|
251 |
|
252 |
+
#: includes/class-wcpdf-writepanels.php:279
|
253 |
+
msgid "Invoice Number (unformatted!)"
|
254 |
+
msgstr "Št. računa (neoblikovana!)"
|
|
|
|
|
|
|
|
|
|
|
255 |
|
256 |
+
#: includes/class-wcpdf-writepanels.php:226
|
257 |
+
msgid "PDF Invoice data"
|
258 |
+
msgstr "Podatki PDF računa"
|
259 |
|
260 |
+
#: includes/class-wcpdf-writepanels.php:216
|
261 |
+
msgid "Create PDF"
|
262 |
+
msgstr "Ustvari PDF"
|
263 |
+
|
264 |
+
#: includes/class-wcpdf-writepanels.php:202
|
265 |
+
msgid "Download invoice (PDF)"
|
266 |
+
msgstr "Prenesi račun (PDF)"
|
267 |
|
268 |
+
#: includes/class-wcpdf-writepanels.php:146
|
269 |
+
msgid "Invoice Number"
|
270 |
+
msgstr "Št. računa"
|
271 |
+
|
272 |
+
#: includes/class-wcpdf-writepanels.php:119
|
273 |
+
#: includes/class-wcpdf-writepanels.php:248
|
274 |
+
#: includes/class-wcpdf-writepanels.php:249
|
275 |
msgid "PDF Packing Slip"
|
276 |
msgstr "PDF spremnica"
|
277 |
|
278 |
+
#: includes/class-wcpdf-writepanels.php:114
|
279 |
+
#: includes/class-wcpdf-writepanels.php:243
|
280 |
+
#: includes/class-wcpdf-writepanels.php:244
|
281 |
+
msgid "PDF Invoice"
|
282 |
+
msgstr "PDF račun"
|
283 |
|
284 |
+
#: includes/class-wcpdf-writepanels.php:33
|
285 |
+
msgid "PDF Packing Slips"
|
286 |
+
msgstr "PDF spremnice"
|
287 |
|
288 |
+
#: includes/class-wcpdf-settings.php:1217
|
289 |
+
msgid "These are used for the (optional) footer columns in the <em>Modern (Premium)</em> template, but can also be used for other elements in your custom template"
|
290 |
+
msgstr "Ta polja se lahko uporabijo v stolpcih noge v <em>Moderni (Premium)</em> predlogi ali za druge elemente v vaši predlogi po meri."
|
291 |
|
292 |
+
#: includes/class-wcpdf-settings.php:1208
|
293 |
+
msgid "<b>Warning!</b> The settings below are meant for debugging/development only. Do not use them on a live website!"
|
294 |
+
msgstr "<b>Opozorilo!</b> Spodnje nastavitve so namenjene razhroščevanju/razvoju. Ne uporabite jih na strani, ki je dostopna strankam."
|
295 |
|
296 |
+
#: includes/class-wcpdf-settings.php:1092
|
297 |
+
msgid "Image resolution"
|
298 |
+
msgstr "Resolucija slike"
|
299 |
|
300 |
+
#: includes/class-wcpdf-settings.php:752
|
301 |
+
msgid "Before version 1.5 of PDF Invoices, temporary files were stored in the plugin folder. This setting is only intended for backwards compatibility, not recommended on new installs!"
|
302 |
+
msgstr "Pred različico 1.5 (PDF Računi) so se začasne datoteke shranjevale v mapo z vtičniki. Ta nastavitev je namenjena samo za združljivost s starimi različicami in ni priporočena na novih namestitvah."
|
303 |
|
304 |
+
#: includes/class-wcpdf-settings.php:745
|
305 |
+
msgid "Use old tmp folder"
|
306 |
+
msgstr "Uporabi staro tmp mapo"
|
307 |
|
308 |
+
#: includes/class-wcpdf-settings.php:739
|
309 |
+
msgid "Send the template output as HTML to the browser instead of creating a PDF."
|
310 |
+
msgstr "Namesto kreiranja PDF datoteke, odpri predlogo kot HTML datoteko."
|
311 |
|
312 |
+
#: includes/class-wcpdf-settings.php:732
|
313 |
+
msgid "Output to HTML"
|
314 |
+
msgstr "Prikaži kot HTML"
|
315 |
|
316 |
+
#: includes/class-wcpdf-settings.php:726
|
317 |
+
msgid "Enable this option to output plugin errors if you're getting a blank page or other PDF generation issues"
|
318 |
+
msgstr "Omogočite to opcijo za prikaz napak vtičnika, če dobite prazno stran ali druge napake pri generiranje PDF dokumenta."
|
319 |
|
320 |
+
#: includes/class-wcpdf-settings.php:719
|
321 |
+
msgid "Enable debug output"
|
322 |
+
msgstr "Omogoči izpis razhroščevanja"
|
|
|
|
|
323 |
|
324 |
+
#: includes/class-wcpdf-settings.php:712
|
325 |
+
msgid "Debug settings"
|
326 |
+
msgstr "Nastavitve razhroščevanja"
|
327 |
|
328 |
+
#: includes/class-wcpdf-settings.php:670
|
329 |
+
msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
|
330 |
+
msgstr "To je 3. stolpec noge v <i>Moderni (Premium)</i> predlogi"
|
|
|
|
|
|
|
|
|
331 |
|
332 |
+
#: includes/class-wcpdf-settings.php:661
|
333 |
+
msgid "Extra field 3"
|
334 |
+
msgstr "Dodatno polje 3"
|
|
|
|
|
|
|
|
|
335 |
|
336 |
+
#: includes/class-wcpdf-settings.php:655
|
337 |
+
msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
|
338 |
+
msgstr "To je 2. stolpec noge v <i>Moderni (Premium)</i> predlogi"
|
|
|
|
|
|
|
|
|
|
|
339 |
|
340 |
+
#: includes/class-wcpdf-settings.php:646
|
341 |
+
msgid "Extra field 2"
|
342 |
+
msgstr "Dodatno polje 2"
|
343 |
|
344 |
+
#: includes/class-wcpdf-settings.php:640
|
345 |
+
msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
|
346 |
+
msgstr "To je 1. stolpec noge v <i>Moderni (Premium)</i> predlogi"
|
347 |
|
348 |
+
#: includes/class-wcpdf-settings.php:631
|
349 |
+
msgid "Extra field 1"
|
350 |
+
msgstr "Dodatno polje 1"
|
351 |
|
352 |
+
#: includes/class-wcpdf-settings.php:624
|
353 |
+
msgid "Extra template fields"
|
354 |
+
msgstr "Dodatna polja predloge"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
355 |
|
356 |
+
#: includes/class-wcpdf-settings.php:593
|
357 |
+
msgid "Display billing address on packing slip (in addition to the default shipping address) if different from shipping address"
|
358 |
+
msgstr "Prikaži naslov plačnika na spremnicah (poleg privzetega naslova za dostavo), če je različen od naslova za dostavo"
|
359 |
|
360 |
+
#: includes/class-wcpdf-settings.php:586
|
361 |
+
msgid "Display billing address"
|
362 |
+
msgstr "Prikaži naslov plačnika"
|
363 |
|
364 |
+
#: includes/class-wcpdf-settings.php:579
|
365 |
+
#: templates/pdf/Simple/packing-slip.php:9
|
366 |
+
#: templates/pdf/Simple/packing-slip.php:21
|
367 |
+
#: woocommerce-pdf-invoices-packingslips.php:223
|
368 |
+
msgid "Packing Slip"
|
369 |
+
msgstr "Spremnica"
|
370 |
|
371 |
+
#: includes/class-wcpdf-settings.php:572
|
372 |
+
msgid "note: if you have already created a custom invoice number format with a filter, the above settings will be ignored"
|
373 |
+
msgstr "pozor: zgornje nastavitve bodo ignorirane, če ste že ustvarili format številke računa po meri s filtrom"
|
374 |
|
375 |
+
#: includes/class-wcpdf-settings.php:569
|
376 |
+
msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
|
377 |
+
msgstr "vnesite število števk - vnesite \"6\" za prikaz 42 kot 000042"
|
|
|
378 |
|
379 |
+
#: includes/class-wcpdf-settings.php:567
|
380 |
+
msgid "Padding"
|
381 |
+
msgstr "Število števk"
|
382 |
+
|
383 |
+
#: includes/class-wcpdf-settings.php:562
|
384 |
+
msgid "Suffix"
|
385 |
+
msgstr "Pripona"
|
386 |
+
|
387 |
+
#: includes/class-wcpdf-settings.php:559
|
388 |
+
msgid "to use the order year and/or month, use [order_year] or [order_month] respectively"
|
389 |
+
msgstr "za uporabo letnice in/ali meseca, uporabite [order_year] in/ali [order_month]."
|
390 |
+
|
391 |
+
#: includes/class-wcpdf-settings.php:557
|
392 |
+
msgid "Prefix"
|
393 |
+
msgstr "Predpona"
|
394 |
+
|
395 |
+
#: includes/class-wcpdf-settings.php:548
|
396 |
+
msgid "Invoice number format"
|
397 |
+
msgstr "Format številke računa"
|
398 |
+
|
399 |
+
#: includes/class-wcpdf-settings.php:542
|
400 |
+
msgid "This is the number that will be used on the next invoice that is created. By default, numbering starts from the WooCommerce Order Number of the first invoice that is created and increases for every new invoice. Note that if you override this and set it lower than the highest (PDF) invoice number, this could create double invoice numbers!"
|
401 |
+
msgstr "To je število, ki bo uporabljeno pri naslednjem računu, ki bo ustvarjen. Privzeto je, da številčenje prične s številko prvega računa WooCommerce naročila in se poveča za vsak naslednji račun. Pazite, če ste to prepisali in nastavili na manjše, kot je največja (PDF) številka računa, saj lahko to privede do podvojevanja številke računa."
|
402 |
+
|
403 |
+
#: includes/class-wcpdf-settings.php:534
|
404 |
+
msgid "Next invoice number (without prefix/suffix etc.)"
|
405 |
+
msgstr "Naslednja številka računa (brez predpone/pripone ipd.)"
|
406 |
+
|
407 |
+
#: includes/class-wcpdf-settings.php:521
|
408 |
+
msgid "Display built-in sequential invoice number"
|
409 |
+
msgstr "Prikaži vdelano sekvenčno številko računa"
|
410 |
+
|
411 |
+
#: includes/class-wcpdf-settings.php:508
|
412 |
+
msgid "Display invoice date"
|
413 |
+
msgstr "Prikaži datum računa"
|
414 |
+
|
415 |
+
#: includes/class-wcpdf-settings.php:496 includes/class-wcpdf-settings.php:611
|
416 |
+
msgid "Display phone number"
|
417 |
+
msgstr "Prikaži tel. številko"
|
418 |
+
|
419 |
+
#: includes/class-wcpdf-settings.php:484 includes/class-wcpdf-settings.php:599
|
420 |
+
msgid "Display email address"
|
421 |
+
msgstr "Prikaži e-poštni naslov"
|
422 |
|
423 |
+
#: includes/class-wcpdf-settings.php:478
|
424 |
+
msgid "Display shipping address on invoice (in addition to the default billing address) if different from billing address"
|
425 |
+
msgstr "Prikaži naslov za dostavo na računu (poleg privzetega naslova plačnika), če je različen od naslova za dostavo."
|
426 |
+
|
427 |
+
#: includes/class-wcpdf-settings.php:471
|
428 |
+
msgid "Display shipping address"
|
429 |
+
msgstr "Prikaži naslov dostave"
|
430 |
+
|
431 |
+
#: includes/class-wcpdf-settings.php:464
|
432 |
+
#: includes/class-wcpdf-writepanels.php:277 templates/pdf/Simple/invoice.php:9
|
433 |
+
#: templates/pdf/Simple/invoice.php:21
|
434 |
+
#: woocommerce-pdf-invoices-packingslips.php:220
|
435 |
msgid "Invoice"
|
436 |
msgstr "Račun"
|
437 |
|
438 |
+
#: includes/class-wcpdf-settings.php:448
|
439 |
+
msgid "Footer: terms & conditions, policies, etc."
|
440 |
+
msgstr "Noga: splošni pogoji, zasebnost, pravice ipd."
|
|
|
|
|
441 |
|
442 |
+
#: includes/class-wcpdf-settings.php:433
|
443 |
+
msgid "Shop Address"
|
444 |
+
msgstr "Naslov trgovine"
|
445 |
|
446 |
+
#: includes/class-wcpdf-settings.php:420
|
447 |
+
msgid "Shop Name"
|
448 |
+
msgstr "Naziv trgovine"
|
449 |
|
450 |
+
#: includes/class-wcpdf-settings.php:413
|
451 |
+
msgid "Remove image"
|
452 |
+
msgstr "Odstrani sliko"
|
453 |
|
454 |
+
#: includes/class-wcpdf-settings.php:412
|
455 |
+
msgid "Set image"
|
456 |
+
msgstr "Nastavi sliko"
|
457 |
|
458 |
+
#: includes/class-wcpdf-settings.php:411
|
459 |
+
msgid "Select or upload your invoice header/logo"
|
460 |
+
msgstr "Izberite ali naložite svoj logotip/glavo računa"
|
461 |
|
462 |
+
#: includes/class-wcpdf-settings.php:404
|
463 |
+
msgid "Shop header/logo"
|
464 |
+
msgstr "Logotip/glava trgovine"
|
465 |
|
466 |
+
#: includes/class-wcpdf-settings.php:397
|
467 |
+
msgid "Letter"
|
468 |
+
msgstr "Pismo"
|
469 |
|
470 |
+
#: includes/class-wcpdf-settings.php:396
|
471 |
+
msgid "A4"
|
472 |
+
msgstr "A4"
|
473 |
|
474 |
+
#: includes/class-wcpdf-settings.php:388
|
475 |
+
msgid "Paper size"
|
476 |
+
msgstr "Velikost papirja"
|
477 |
|
478 |
+
#: includes/class-wcpdf-settings.php:382
|
479 |
+
msgid "Want to use your own template? Copy all the files from <code>%s</code> to your (child) theme in <code>%s</code> to customize them"
|
480 |
+
msgstr "Želite uporabiti svojo predlogo? Kopirajte vse datoteke iz <code>%s</code> v vašo (podrejeno) temo v <code>%s</code> in jo spremenite po želji"
|
481 |
|
482 |
+
#: includes/class-wcpdf-settings.php:374
|
483 |
+
msgid "Choose a template"
|
484 |
+
msgstr "Izberite predlogo"
|
485 |
|
486 |
+
#: includes/class-wcpdf-settings.php:362
|
487 |
+
msgid "PDF Template settings"
|
488 |
+
msgstr "Nastavitve PDF predloge"
|
|
|
489 |
|
490 |
+
#: includes/class-wcpdf-settings.php:324
|
491 |
+
msgid "Enable invoice number column in the orders list"
|
492 |
+
msgstr "Omogoči stolpec s številko računa na seznamu naročil"
|
|
|
|
|
|
|
|
|
|
|
493 |
|
494 |
+
#: includes/class-wcpdf-settings.php:309
|
495 |
+
msgid "Never"
|
496 |
+
msgstr "Nikoli"
|
|
|
497 |
|
498 |
+
#: includes/class-wcpdf-settings.php:308
|
499 |
+
msgid "Always"
|
500 |
+
msgstr "Vedno"
|
501 |
|
502 |
+
#: includes/class-wcpdf-settings.php:307
|
503 |
+
msgid "Only for specific order statuses (define below)"
|
504 |
+
msgstr "Samo za določene statuse naročil (določi spodaj)"
|
505 |
|
506 |
+
#: includes/class-wcpdf-settings.php:306
|
507 |
+
msgid "Only when an invoice is already created/emailed"
|
508 |
+
msgstr "Samo, če je račun že zgeneriran/poslan"
|
509 |
|
510 |
+
#: includes/class-wcpdf-settings.php:298
|
511 |
+
msgid "Allow My Account invoice download"
|
512 |
+
msgstr "Dovoli prenos računov na strani Moj Račun"
|
513 |
|
514 |
+
#: includes/class-wcpdf-settings.php:250
|
515 |
+
msgid "Interface"
|
516 |
+
msgstr "Vmesnik"
|
517 |
|
518 |
+
#: includes/class-wcpdf-settings.php:243
|
519 |
+
msgid "Disable automatic creation/attachment of invoices when only free products are ordered"
|
520 |
+
msgstr "Onemogoči samodejno kreiranje/priložitev računov, če so naročeni samo brezplačni izdelki"
|
521 |
|
522 |
+
#: includes/class-wcpdf-settings.php:236
|
523 |
+
msgid "Disable for free products"
|
524 |
+
msgstr "Onemogoči za brezplačne izdelke"
|
525 |
|
526 |
+
#: includes/class-wcpdf-settings.php:230
|
527 |
+
msgid "It looks like the temp folder (<code>%s</code>) is not writable, check the permissions for this folder! Without having write access to this folder, the plugin will not be able to email invoices."
|
528 |
+
msgstr "Zgleda, da temp mapa (<code>%s</code>) ni zapisljiva. Preverite dovoljenja za to mapo! Brez dovoljenja za zapisovanje v to mapo, vtičnik ne bo mogel pošiljati računov."
|
529 |
+
|
530 |
+
#: includes/class-wcpdf-settings.php:222
|
531 |
+
msgid "Attach invoice to:"
|
532 |
+
msgstr "Priloži račun:"
|
533 |
+
|
534 |
+
#: includes/class-wcpdf-settings.php:217
|
535 |
+
msgid "Customer Invoice email"
|
536 |
+
msgstr "Stranka - e-pošta z računom"
|
537 |
+
|
538 |
+
#: includes/class-wcpdf-settings.php:216
|
539 |
+
msgid "Customer Completed Order email"
|
540 |
+
msgstr "Stranka - e-pošta o zaključenem naročilu"
|
541 |
+
|
542 |
+
#: includes/class-wcpdf-settings.php:215
|
543 |
+
msgid "Customer Processing Order email"
|
544 |
+
msgstr "Stranka - e-pošta o naročilu v obdelavi"
|
545 |
+
|
546 |
+
#: includes/class-wcpdf-settings.php:214
|
547 |
+
msgid "Admin New Order email"
|
548 |
+
msgstr "Skrbnik - e-pošta o novem naročilu"
|
549 |
+
|
550 |
+
#: includes/class-wcpdf-settings.php:205
|
551 |
+
msgid "Open the PDF in a new browser tab/window"
|
552 |
+
msgstr "Odpri PDF v novem zavihku/oknu"
|
553 |
+
|
554 |
+
#: includes/class-wcpdf-settings.php:204
|
555 |
+
msgid "Download the PDF"
|
556 |
+
msgstr "Prenesi PDF"
|
557 |
+
|
558 |
+
#: includes/class-wcpdf-settings.php:196
|
559 |
+
msgid "How do you want to view the PDF?"
|
560 |
+
msgstr "Kako si želite ogledati PDF?"
|
561 |
+
|
562 |
+
#: includes/class-wcpdf-settings.php:189
|
563 |
+
msgid "General settings"
|
564 |
+
msgstr "Splošne nastavitve"
|
565 |
+
|
566 |
+
#: includes/class-wcpdf-settings.php:120
|
567 |
+
msgid "WooCommerce PDF Invoices"
|
568 |
+
msgstr "WooCommerce PDF računi"
|
569 |
+
|
570 |
+
#: includes/class-wcpdf-settings.php:108
|
571 |
+
msgid "Status"
|
572 |
+
msgstr "Status"
|
573 |
+
|
574 |
+
#: includes/class-wcpdf-settings.php:103
|
575 |
+
msgid "Template"
|
576 |
+
msgstr "Predloga"
|
577 |
+
|
578 |
+
#: includes/class-wcpdf-settings.php:102
|
579 |
+
msgid "General"
|
580 |
+
msgstr "Splošno"
|
581 |
+
|
582 |
+
#: includes/class-wcpdf-settings.php:80
|
583 |
+
msgid "Settings"
|
584 |
+
msgstr "Nastavitve"
|
585 |
+
|
586 |
+
#: includes/class-wcpdf-settings.php:38 includes/class-wcpdf-settings.php:39
|
587 |
+
#: includes/class-wcpdf-writepanels.php:32
|
588 |
+
msgid "PDF Invoices"
|
589 |
+
msgstr "PDF računi"
|
590 |
+
|
591 |
+
#: includes/class-wcpdf-export.php:434
|
592 |
+
msgid "packing-slip"
|
593 |
+
msgid_plural "packing-slips"
|
594 |
+
msgstr[0] "spremnica"
|
595 |
+
msgstr[1] "spremnici"
|
596 |
+
msgstr[2] "spremnice"
|
597 |
+
msgstr[3] "spremnic"
|
598 |
+
|
599 |
+
#: includes/class-wcpdf-export.php:430
|
600 |
+
msgid "invoice"
|
601 |
+
msgid_plural "invoices"
|
602 |
+
msgstr[0] "račun"
|
603 |
+
msgstr[1] "računa"
|
604 |
+
msgstr[2] "računi"
|
605 |
+
msgstr[3] "računov"
|
606 |
+
|
607 |
+
#: includes/class-wcpdf-export.php:349
|
608 |
+
msgid "Some of the export parameters are missing."
|
609 |
+
msgstr "Nekateri parametri za izvoz manjkajo."
|
610 |
+
|
611 |
+
#: includes/class-wcpdf-export.php:344 includes/class-wcpdf-export.php:354
|
612 |
+
#: includes/class-wcpdf-export.php:365 includes/class-wcpdf-export.php:373
|
613 |
+
msgid "You do not have sufficient permissions to access this page."
|
614 |
+
msgstr "Nimate dovoljenja za dostop do te strani."
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
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.
|
6 |
-
Stable tag: 1.5.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -63,11 +63,17 @@ In the search field type "WooCommerce PDF Invoices & Packing Slips" and click Se
|
|
63 |
|
64 |
== Frequently Asked Questions ==
|
65 |
|
66 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
|
68 |
-
= How do I create my own custom template? =
|
69 |
|
70 |
-
Copy the files from `wp-content/plugins/woocommerce-pdf-invoices-packing-slips/templates/pdf/Simple/` to your (child) theme in `wp-content/themes/yourtheme/woocommerce/pdf/yourtemplate` and customize them there. The new template will show up as 'yourtemplate' (the folder name) in the settings panel.
|
71 |
|
72 |
= Where can I find more templates? =
|
73 |
|
@@ -80,151 +86,9 @@ This is a feature of our Professional extension, which can be found at [wpoverni
|
|
80 |
You're more than welcome! This plugin is hosted on github, where you can post issues or make pull requests.
|
81 |
https://github.com/wpovernight/woocommerce-pdf-invoices-packing-slips
|
82 |
|
83 |
-
= My language is not included, how can I contribute? =
|
84 |
-
|
85 |
-
This plugin is translation ready, which means that you can translate it using standard WordPress methods.
|
86 |
-
|
87 |
-
1. Download POEdit at (http://www.poedit.net/download.php)
|
88 |
-
2. Open POEdit
|
89 |
-
3. File > New from POT
|
90 |
-
4. Open wpo_wcpdf.pot (from `woocommerce-pdf-invoices-packing-slips/languages/`)
|
91 |
-
5. A popup will ask you for your language
|
92 |
-
6. This step is a bit tricky, configuring the plurals. Somehow the settings can't be copied from the pot. Go to Catalogue > Preferences. Then enter nplurals=2; plural=n != 1; in the custom expression field
|
93 |
-
7. Enter the translations. invoice and packing-slip now have two translation fields, single & plural. Note that this is a filename, so replace spaces with a - just to be sure!
|
94 |
-
8. Save as `wpo_wcpdf-xx_XX.po`, where you replace xx_XX with your language code & country code suffix (da_DK, pl_PL, de_DE etc.)
|
95 |
-
|
96 |
-
= How can I use my own font? =
|
97 |
-
Although the plugin supports webfonts, this is somewhat limited and has a lot of caveats, read [this thread](https://wordpress.org/support/topic/webfonts-within-a-custom-template-not-rendering-in-pdf?replies=4#post-5395442) on the forum.
|
98 |
-
Some languages (Japanese, Chinese, etc.) are not supported by the default font included with the plugin, in this case a custom font is required.
|
99 |
-
The best method is to create a custom template first (see above), then add a `fonts/` folder to that template and use the following code (replace the font names/filenames) to load the font in the style.css from the pdf template:
|
100 |
-
`
|
101 |
-
<?php global $wpo_wcpdf;?>
|
102 |
-
/* Load font */
|
103 |
-
@font-face {
|
104 |
-
font-family: 'MyFont';
|
105 |
-
font-style: normal;
|
106 |
-
font-weight: normal;
|
107 |
-
src: local('MyFont'), local('MyFont'), url(<?php echo $wpo_wcpdf->export->template_path; ?>/fonts/myfont.ttf) format('truetype');
|
108 |
-
}
|
109 |
-
@font-face {
|
110 |
-
font-family: 'MyFont';
|
111 |
-
font-style: normal;
|
112 |
-
font-weight: bold;
|
113 |
-
src: local('MyFont Bold'), local('MyFont-Bold'), url(<?php echo $wpo_wcpdf->export->template_path; ?>/fonts/myfont-bold.ttf) format('truetype');
|
114 |
-
}
|
115 |
-
@font-face {
|
116 |
-
font-family: 'MyFont';
|
117 |
-
font-style: italic;
|
118 |
-
font-weight: normal;
|
119 |
-
src: local('MyFont Italic'), local('MyFont-Italic'), url(<?php echo $wpo_wcpdf->export->template_path; ?>/fonts/myfont-italic.ttf) format('truetype');
|
120 |
-
}
|
121 |
-
@font-face {
|
122 |
-
font-family: 'MyFont';
|
123 |
-
font-style: italic;
|
124 |
-
font-weight: bold;
|
125 |
-
src: local('MyFont Bold Italic'), local('MyFont-BoldItalic'), url(<?php echo $wpo_wcpdf->export->template_path; ?>/fonts/myfont-bolditalic.ttf) format('truetype');
|
126 |
-
}
|
127 |
-
`
|
128 |
-
then make sure you assign that font family to the body or other elements of the template:
|
129 |
-
`
|
130 |
-
font-family: 'MyFont';
|
131 |
-
`
|
132 |
-
|
133 |
-
Some notes:
|
134 |
-
|
135 |
-
* Only TTF fonts are supported.
|
136 |
-
* You can't use numeric font weights (like 700 instead of bold)!
|
137 |
-
* Avoid spaces or special characters in the font filenames.
|
138 |
-
* I have found that not all servers cope well with the font paths. If this is the case with your font, try to put the font in the root of your site and put that in the font url (i.e. `url(http://yoursite.com/fonts/myfont-italic.ttf)` )
|
139 |
-
|
140 |
-
Some font links:
|
141 |
-
|
142 |
-
* Japanese - http://ipafont.ipa.go.jp/index.html
|
143 |
-
* Chinese - http://www.study-area.org/apt/firefly-font/
|
144 |
-
|
145 |
= How can I display the HTML/CSS source for debugging/developing templates? =
|
146 |
There's a setting on the Status tab of the settings page that allows you to toggle HTML output. Don't forget to turn if off after you're done testing!
|
147 |
|
148 |
-
= How can I display custom fields in the invoice or packing slip? =
|
149 |
-
First, you need to create a custom template following instructions from the first item in this FAQ.
|
150 |
-
Then place the following snippet where you would like the custom field to appear:
|
151 |
-
|
152 |
-
`
|
153 |
-
<?php $wpo_wcpdf->custom_field('custom_fieldname', 'Custom field:'); ?>
|
154 |
-
`
|
155 |
-
|
156 |
-
Where you replace 'custom_fieldname' with the name of the field you want to display, and 'Custom field' with the label. The plugin only displays the field when it contains data. If you also want to display the label when the field is empty, you can pass a third parameter (true), like this:
|
157 |
-
|
158 |
-
`
|
159 |
-
<?php $wpo_wcpdf->custom_field('custom_fieldname', 'Custom field:', true); ?>
|
160 |
-
`
|
161 |
-
|
162 |
-
= How can I display order notes in the invoice or packing slip? =
|
163 |
-
First, you need to create a custom template following instructions from the first item in this FAQ.
|
164 |
-
Then place the following snippet where you would like the order notes to appear:
|
165 |
-
|
166 |
-
`
|
167 |
-
<?php $wpo_wcpdf->order_notes(); ?>
|
168 |
-
`
|
169 |
-
|
170 |
-
if you want to display all order notes, including the (private) admin notes, use:
|
171 |
-
`
|
172 |
-
<?php $wpo_wcpdf->order_notes('all'); ?>
|
173 |
-
`
|
174 |
-
|
175 |
-
= How do can I modify the pdf filename? =
|
176 |
-
You can do this via a filter in your theme's `functions.php` (Some themes have a "custom functions" area in the settings).
|
177 |
-
|
178 |
-
Here's a simple example for putting your shop name in front of the filname.
|
179 |
-
`
|
180 |
-
add_filter( 'wpo_wcpdf_filename', 'wpo_wcpdf_custom_filename', 10, 4 );
|
181 |
-
function wpo_wcpdf_custom_filename( $filename, $template_type, $order_ids, $context ) {
|
182 |
-
// prepend your shopname to the file
|
183 |
-
$new_filename = 'myshopname_' . $filename;
|
184 |
-
|
185 |
-
return $new_filename;
|
186 |
-
}
|
187 |
-
`
|
188 |
-
You can also use the $template_type ('invoice' or 'packing-slip'), $order_ids (single array) or $context ('download' or 'attachment') variables to make more complex rules for the filename.
|
189 |
-
|
190 |
-
= How can I add a download link to the invoice on the Thank you page? =
|
191 |
-
You can do this with an action in your theme's `functions.php` (Some themes have a "custom functions" area in the settings). Note that due to security restrictions, this will only work for registered/logged in users!
|
192 |
-
|
193 |
-
`
|
194 |
-
add_filter('woocommerce_thankyou_order_received_text', 'wpo_wcpdf_thank_you_link', 10, 2);
|
195 |
-
function wpo_wcpdf_thank_you_link( $text, $order ) {
|
196 |
-
if ( is_user_logged_in() ) {
|
197 |
-
$pdf_url = wp_nonce_url( admin_url( 'admin-ajax.php?action=generate_wpo_wcpdf&template_type=invoice&order_ids=' . $order->id . '&my-account'), 'generate_wpo_wcpdf' );
|
198 |
-
$text .= '<p><a href="'.esc_attr($pdf_url).'">Download a printable invoice / payment confirmation (PDF format)</a></p>';
|
199 |
-
}
|
200 |
-
return $text;
|
201 |
-
}
|
202 |
-
`
|
203 |
-
|
204 |
-
alternatively, you can hook this text to the `woocommerce_thankyou` action, see [this thread](https://wordpress.org/support/topic/suggestion-for-the-faq?replies=5#post-6298810) on the support forum.
|
205 |
-
|
206 |
-
= How can I get a copy of the invoice emailed to the shop manager? =
|
207 |
-
The easiest way to do this is to just tick the 'new order' box. However, this also means that an invoice will be created for all new orders, also the ones that are never completed.
|
208 |
-
|
209 |
-
Alternatively you can get a (BCC) copy of the completed order email by placing the following filter in your theme's `functions.php` (Some themes have a "custom functions" area in the settings)
|
210 |
-
Modify the name & email address to your own preferences,
|
211 |
-
|
212 |
-
`
|
213 |
-
add_filter( 'woocommerce_email_headers', 'mycustom_headers_filter_function', 10, 2);
|
214 |
-
|
215 |
-
function mycustom_headers_filter_function( $headers, $object ) {
|
216 |
-
if ($object == 'customer_completed_order') {
|
217 |
-
$headers .= 'BCC: Your name <your@email.com>' . "\r\n"; //just repeat this line again to insert another email address in BCC
|
218 |
-
}
|
219 |
-
|
220 |
-
return $headers;
|
221 |
-
}
|
222 |
-
`
|
223 |
-
|
224 |
-
|
225 |
-
= Fatal error: Allowed memory size of ######## bytes exhausted (tried to allocate ### bytes) =
|
226 |
-
|
227 |
-
This usually only happens on batch actions. PDF creation is a memory intensive job, especially if it includes several pages with images. Go to WooCommerce > System Status to check your WP Memory Limit. We recommend setting it to 128mb or more.
|
228 |
|
229 |
== Screenshots ==
|
230 |
|
@@ -235,6 +99,12 @@ This usually only happens on batch actions. PDF creation is a memory intensive j
|
|
235 |
|
236 |
== Changelog ==
|
237 |
|
|
|
|
|
|
|
|
|
|
|
|
|
238 |
= 1.5.38 =
|
239 |
* Fix: Thumbnail path fallback
|
240 |
* Fix: Edge/IE hour & minute pattern
|
2 |
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.7
|
6 |
+
Stable tag: 1.5.39
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
63 |
|
64 |
== Frequently Asked Questions ==
|
65 |
|
66 |
+
= Where can I find the documentation? =
|
67 |
+
|
68 |
+
[WooCommerce PDF Invoices & Packing Slips documentation](http://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/)
|
69 |
+
|
70 |
+
= It's not working! =
|
71 |
+
|
72 |
+
Check out our step by step diagnostic instructions here: https://wordpress.org/support/topic/read-this-first-9/
|
73 |
+
|
74 |
+
|
75 |
|
|
|
76 |
|
|
|
77 |
|
78 |
= Where can I find more templates? =
|
79 |
|
86 |
You're more than welcome! This plugin is hosted on github, where you can post issues or make pull requests.
|
87 |
https://github.com/wpovernight/woocommerce-pdf-invoices-packing-slips
|
88 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
= How can I display the HTML/CSS source for debugging/developing templates? =
|
90 |
There's a setting on the Status tab of the settings page that allows you to toggle HTML output. Don't forget to turn if off after you're done testing!
|
91 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
|
93 |
== Screenshots ==
|
94 |
|
99 |
|
100 |
== Changelog ==
|
101 |
|
102 |
+
= 1.5.39 =
|
103 |
+
* Feature: new template action hooks `wpo_wcpdf_before_document` & `wpo_wcpdf_after_document`
|
104 |
+
* Tweak: In totals, emphasize order total rather than last item
|
105 |
+
* Fix: User deprecation notices
|
106 |
+
* Translations: Updated Slovenian
|
107 |
+
|
108 |
= 1.5.38 =
|
109 |
* Fix: Thumbnail path fallback
|
110 |
* Fix: Edge/IE hour & minute pattern
|
templates/pdf/Simple/invoice.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
<?php global $wpo_wcpdf; ?>
|
|
|
|
|
2 |
<table class="head container">
|
3 |
<tr>
|
4 |
<td class="header">
|
@@ -108,10 +110,12 @@
|
|
108 |
<tr class="no-borders">
|
109 |
<td class="no-borders">
|
110 |
<div class="customer-notes">
|
|
|
111 |
<?php if ( $wpo_wcpdf->get_shipping_notes() ) : ?>
|
112 |
<h3><?php _e( 'Customer Notes', 'wpo_wcpdf' ); ?></h3>
|
113 |
<?php $wpo_wcpdf->shipping_notes(); ?>
|
114 |
<?php endif; ?>
|
|
|
115 |
</div>
|
116 |
</td>
|
117 |
<td class="no-borders" colspan="2">
|
@@ -137,4 +141,5 @@
|
|
137 |
<div id="footer">
|
138 |
<?php $wpo_wcpdf->footer(); ?>
|
139 |
</div><!-- #letter-footer -->
|
140 |
-
<?php endif; ?>
|
|
1 |
<?php global $wpo_wcpdf; ?>
|
2 |
+
<?php do_action( 'wpo_wcpdf_before_document', $wpo_wcpdf->export->template_type, $wpo_wcpdf->export->order ); ?>
|
3 |
+
|
4 |
<table class="head container">
|
5 |
<tr>
|
6 |
<td class="header">
|
110 |
<tr class="no-borders">
|
111 |
<td class="no-borders">
|
112 |
<div class="customer-notes">
|
113 |
+
<?php do_action( 'wpo_wcpdf_before_customer_notes', $wpo_wcpdf->export->template_type, $wpo_wcpdf->export->order ); ?>
|
114 |
<?php if ( $wpo_wcpdf->get_shipping_notes() ) : ?>
|
115 |
<h3><?php _e( 'Customer Notes', 'wpo_wcpdf' ); ?></h3>
|
116 |
<?php $wpo_wcpdf->shipping_notes(); ?>
|
117 |
<?php endif; ?>
|
118 |
+
<?php do_action( 'wpo_wcpdf_after_customer_notes', $wpo_wcpdf->export->template_type, $wpo_wcpdf->export->order ); ?>
|
119 |
</div>
|
120 |
</td>
|
121 |
<td class="no-borders" colspan="2">
|
141 |
<div id="footer">
|
142 |
<?php $wpo_wcpdf->footer(); ?>
|
143 |
</div><!-- #letter-footer -->
|
144 |
+
<?php endif; ?>
|
145 |
+
<?php do_action( 'wpo_wcpdf_after_document', $wpo_wcpdf->export->template_type, $wpo_wcpdf->export->order ); ?>
|
templates/pdf/Simple/packing-slip.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
<?php global $wpo_wcpdf; ?>
|
|
|
|
|
2 |
<table class="head container">
|
3 |
<tr>
|
4 |
<td class="header">
|
@@ -94,15 +96,19 @@
|
|
94 |
|
95 |
<?php do_action( 'wpo_wcpdf_after_order_details', $wpo_wcpdf->export->template_type, $wpo_wcpdf->export->order ); ?>
|
96 |
|
|
|
97 |
<div class="customer-notes">
|
98 |
<?php if ( $wpo_wcpdf->get_shipping_notes() ) : ?>
|
99 |
<h3><?php _e( 'Customer Notes', 'wpo_wcpdf' ); ?></h3>
|
100 |
<?php $wpo_wcpdf->shipping_notes(); ?>
|
101 |
<?php endif; ?>
|
102 |
</div>
|
|
|
103 |
|
104 |
<?php if ( $wpo_wcpdf->get_footer() ): ?>
|
105 |
<div id="footer">
|
106 |
<?php $wpo_wcpdf->footer(); ?>
|
107 |
</div><!-- #letter-footer -->
|
108 |
-
<?php endif; ?>
|
|
|
|
1 |
<?php global $wpo_wcpdf; ?>
|
2 |
+
<?php do_action( 'wpo_wcpdf_before_document', $wpo_wcpdf->export->template_type, $wpo_wcpdf->export->order ); ?>
|
3 |
+
|
4 |
<table class="head container">
|
5 |
<tr>
|
6 |
<td class="header">
|
96 |
|
97 |
<?php do_action( 'wpo_wcpdf_after_order_details', $wpo_wcpdf->export->template_type, $wpo_wcpdf->export->order ); ?>
|
98 |
|
99 |
+
<?php do_action( 'wpo_wcpdf_before_customer_notes', $wpo_wcpdf->export->template_type, $wpo_wcpdf->export->order ); ?>
|
100 |
<div class="customer-notes">
|
101 |
<?php if ( $wpo_wcpdf->get_shipping_notes() ) : ?>
|
102 |
<h3><?php _e( 'Customer Notes', 'wpo_wcpdf' ); ?></h3>
|
103 |
<?php $wpo_wcpdf->shipping_notes(); ?>
|
104 |
<?php endif; ?>
|
105 |
</div>
|
106 |
+
<?php do_action( 'wpo_wcpdf_after_customer_notes', $wpo_wcpdf->export->template_type, $wpo_wcpdf->export->order ); ?>
|
107 |
|
108 |
<?php if ( $wpo_wcpdf->get_footer() ): ?>
|
109 |
<div id="footer">
|
110 |
<?php $wpo_wcpdf->footer(); ?>
|
111 |
</div><!-- #letter-footer -->
|
112 |
+
<?php endif; ?>
|
113 |
+
|
114 |
+
<?php do_action( 'wpo_wcpdf_after_document', $wpo_wcpdf->export->template_type, $wpo_wcpdf->export->order ); ?>
|
templates/pdf/Simple/style.css
CHANGED
@@ -245,8 +245,8 @@ table.totals td.price {
|
|
245 |
width: 50%;
|
246 |
}
|
247 |
|
248 |
-
table.totals tr
|
249 |
-
table.totals tr
|
250 |
border-top: 2px solid #000;
|
251 |
border-bottom: 2px solid #000;
|
252 |
font-weight: bold;
|
245 |
width: 50%;
|
246 |
}
|
247 |
|
248 |
+
table.totals tr.order_total td,
|
249 |
+
table.totals tr.order_total th {
|
250 |
border-top: 2px solid #000;
|
251 |
border-bottom: 2px solid #000;
|
252 |
font-weight: bold;
|
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?
|
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.39
|
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.39';
|
37 |
|
38 |
// load the localisation & classes
|
39 |
add_action( 'plugins_loaded', array( $this, 'translations' ) ); // or use init?
|