WooCommerce PDF Invoices & Packing Slips - Version 1.4.14

Version Description

  • Fix: fatal error when user registers at checkout (applies to credit notes only)
  • Translations: Updated German (Thanks Dietmar!)
  • Translations: Place your custom translations in wp-content/languages/woocommerce-pdf-invoices-packing-slips/wpo_wcpdf-LOCALE.mo to protect them from being overwritten by plugin updates.
Download this release

Release Info

Developer pomegranate
Plugin Icon 128x128 WooCommerce PDF Invoices & Packing Slips
Version 1.4.14
Comparing to
See all releases

Code changes from version 1.4.13 to 1.4.14

includes/class-wcpdf-export.php CHANGED
@@ -304,15 +304,18 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
304
  * Attach invoice to completed order or customer invoice email
305
  */
306
  public function attach_pdf_to_email ( $attachments, $status, $order ) {
307
- if ( in_array( $status, array( 'no_stock', 'low_stock', 'backorder' ) ) ) {
308
- return; // do not process low stock notifications etc!
 
309
  }
310
- $this->order = $order;
311
 
312
- if ( !isset( $status ) ) {
313
- return;
 
314
  }
315
 
 
 
316
  $tmp_path = apply_filters( 'wpo_wcpdf_tmp_path', WooCommerce_PDF_Invoices::$plugin_path . 'tmp/' );
317
 
318
  // clear pdf files from temp folder (from http://stackoverflow.com/a/13468943/1446634)
304
  * Attach invoice to completed order or customer invoice email
305
  */
306
  public function attach_pdf_to_email ( $attachments, $status, $order ) {
307
+ // check if all variables properly set
308
+ if ( !is_object( $order ) || !isset( $order->id ) || !isset( $status ) ) {
309
+ return $attachments;
310
  }
 
311
 
312
+ // do not process low stock notifications, user emails etc!
313
+ if ( in_array( $status, array( 'no_stock', 'low_stock', 'backorder' ) ) || get_post_type( $order->id ) != 'shop_order' ) {
314
+ return $attachments;
315
  }
316
 
317
+ $this->order = $order;
318
+
319
  $tmp_path = apply_filters( 'wpo_wcpdf_tmp_path', WooCommerce_PDF_Invoices::$plugin_path . 'tmp/' );
320
 
321
  // clear pdf files from temp folder (from http://stackoverflow.com/a/13468943/1446634)
includes/class-wcpdf-settings.php CHANGED
@@ -110,7 +110,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
110
  <?php
111
  do_action( 'wpo_wcpdf_before_settings_page', $active_tab );
112
 
113
- if ( !( class_exists('WooCommerce_PDF_IPS_Pro') && class_exists('WooCommerce_PDF_IPS_Dropbox') && class_exists('WooCommerce_PDF_IPS_Templates') ) ) {
114
  include('wcpdf-extensions.php');
115
  }
116
 
110
  <?php
111
  do_action( 'wpo_wcpdf_before_settings_page', $active_tab );
112
 
113
+ if ( !( class_exists('WooCommerce_PDF_IPS_Pro') && class_exists('WooCommerce_PDF_IPS_Dropbox') && class_exists('WooCommerce_PDF_IPS_Templates') && class_exists('WooCommerce_Ext_PrintOrders') ) ) {
114
  include('wcpdf-extensions.php');
115
  }
116
 
includes/class-wcpdf-writepanels.php CHANGED
@@ -190,7 +190,7 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices_Writepanels' ) ) {
190
  ),
191
  );
192
 
193
- $meta_actions = apply_filters( 'wpo_wcpdf_meta_box_actions', $meta_actions );
194
 
195
  ?>
196
  <ul class="wpo_wcpdf-actions">
190
  ),
191
  );
192
 
193
+ $meta_actions = apply_filters( 'wpo_wcpdf_meta_box_actions', $meta_actions, $post_id );
194
 
195
  ?>
196
  <ul class="wpo_wcpdf-actions">
languages/wpo_wcpdf-de_DE.mo CHANGED
Binary file
languages/wpo_wcpdf-de_DE.po CHANGED
@@ -1,125 +1,103 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
- "POT-Creation-Date: 2014-09-18 15:02+0100\n"
5
- "PO-Revision-Date: 2014-09-18 15:03+0100\n"
6
- "Last-Translator: \n"
7
- "Language-Team: WP Overnight <support@wpovernight.com>\n"
8
  "Language: de_DE\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.6.9\n"
13
  "X-Poedit-Basepath: ../\n"
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: includes/class-wcpdf-export.php:168 includes/class-wcpdf-export.php:173
20
- #: includes/class-wcpdf-export.php:178 includes/class-wcpdf-export.php:189
21
- #: includes/class-wcpdf-export.php:202
22
  msgid "You do not have sufficient permissions to access this page."
23
  msgstr "Du hast keine Berechtigung diese Seite anzuzeigen."
24
 
25
  # This is a filename (prefix). do not use spaces or special characters!
26
- #: includes/class-wcpdf-export.php:223 includes/class-wcpdf-export.php:303
27
  msgid "invoice"
28
  msgid_plural "invoices"
29
  msgstr[0] "Rechnung"
30
  msgstr[1] "Rechnungen"
31
 
32
  # This is a filename (prefix). do not use spaces or special characters!
33
- #: includes/class-wcpdf-export.php:225
34
  msgid "packing-slip"
35
  msgid_plural "packing-slips"
36
- msgstr[0] "Packzettel"
37
- msgstr[1] "Packzettel"
38
 
39
- #: includes/class-wcpdf-settings.php:36 includes/class-wcpdf-settings.php:37
40
- #: includes/class-wcpdf-writepanels.php:176
41
- #: includes/class-wcpdf-writepanels.php:177
42
  msgid "PDF Invoices"
43
  msgstr "PDF Rechnungen"
44
 
45
- #: includes/class-wcpdf-settings.php:60
46
  msgid "Settings"
47
  msgstr "Einstellungen"
48
 
49
- #: includes/class-wcpdf-settings.php:82
50
  msgid "General"
51
  msgstr "Allgemein"
52
 
53
- #: includes/class-wcpdf-settings.php:83
54
  msgid "Template"
55
  msgstr "Vorlage"
56
 
57
- #: includes/class-wcpdf-settings.php:92
58
  msgid "WooCommerce PDF Invoices"
59
  msgstr "WooCommerce PDF Rechnungen"
60
 
61
- #: includes/class-wcpdf-settings.php:98
62
  msgid "Status"
63
- msgstr ""
64
-
65
- #: includes/class-wcpdf-settings.php:109
66
- #, php-format
67
- msgid ""
68
- "Upload all invoices automatically to your dropbox!<br/>Check out the %s "
69
- "extension."
70
- msgstr ""
71
-
72
- #: includes/class-wcpdf-settings.php:119
73
- #, php-format
74
- msgid ""
75
- "Looking for more advanced templates? Check out the Premium PDF Invoice & "
76
- "Packing Slips templates at %s."
77
- msgstr ""
78
- "Suchst du weitere, forgeschrittenere Templates? Besuche die Premium PDF "
79
- "Invoice & Packing Slips Templates auf %s."
80
-
81
- #: includes/class-wcpdf-settings.php:120
82
- #, php-format
83
- msgid "For custom templates, contact us at %s."
84
- msgstr ""
85
 
86
- #: includes/class-wcpdf-settings.php:175
87
  msgid "General settings"
88
  msgstr "Allgemeine Einstellungen"
89
 
90
- #: includes/class-wcpdf-settings.php:182
91
  msgid "How do you want to view the PDF?"
92
  msgstr "Wie soll das PDF angezeigt werden?"
93
 
94
- #: includes/class-wcpdf-settings.php:190
95
  msgid "Download the PDF"
96
  msgstr "PDF runterladen"
97
 
98
- #: includes/class-wcpdf-settings.php:191
99
  msgid "Open the PDF in a new browser tab/window"
100
  msgstr "PDF in einem neuen Browser Tab/Fenster öffnen"
101
 
102
- #: includes/class-wcpdf-settings.php:201
103
- msgid "Attach invoice to:"
104
- msgstr ""
105
-
106
- #: includes/class-wcpdf-settings.php:209
107
  msgid "Admin New Order email"
108
- msgstr ""
109
 
110
- #: includes/class-wcpdf-settings.php:210
111
  msgid "Customer Processing Order email"
112
- msgstr ""
113
 
114
- #: includes/class-wcpdf-settings.php:211
115
  msgid "Customer Completed Order email"
116
- msgstr ""
117
 
118
- #: includes/class-wcpdf-settings.php:212
119
  msgid "Customer Invoice email"
120
- msgstr ""
 
 
 
 
121
 
122
- #: includes/class-wcpdf-settings.php:214
123
  #, php-format
124
  msgid ""
125
  "It looks like the temp folder (<code>%s</code>) is not writable, check the "
@@ -130,90 +108,80 @@ msgstr ""
130
  "überprüfe die Berechtigungen dieses Verzeichnisses. Ohne Schreibrechte "
131
  "können keine E-Mail - Rechnungen verschickt werden."
132
 
133
- #: includes/class-wcpdf-settings.php:220
134
  msgid "Enable invoice number column in the orders list"
135
- msgstr ""
136
 
137
- #: includes/class-wcpdf-settings.php:259
138
  msgid "PDF Template settings"
139
  msgstr "PDF Vorlageneinstellungen"
140
 
141
- #: includes/class-wcpdf-settings.php:271
142
  msgid "Choose a template"
143
- msgstr "Wähle eine Vorlage"
144
 
145
- #: includes/class-wcpdf-settings.php:279
146
  #, php-format
147
  msgid ""
148
  "Want to use your own template? Copy all the files from <code>%s</code> to "
149
- "<code>%s</code> to customize them"
150
  msgstr ""
151
  "Wenn du eigene Vorlagen verwenden willst, dann kopiere alle Dateien von "
152
  "<code>%s</code> nach <code>%s</code> und passe sie dort an."
153
 
154
- #: includes/class-wcpdf-settings.php:285
155
  msgid "Paper size"
156
  msgstr "Papierformat"
157
 
158
- #: includes/class-wcpdf-settings.php:293
159
  msgid "A4"
160
  msgstr "A4"
161
 
162
- #: includes/class-wcpdf-settings.php:294
163
  msgid "Letter"
164
- msgstr "Letter (US)"
165
 
166
- #: includes/class-wcpdf-settings.php:301
167
  msgid "Shop header/logo"
168
  msgstr "Briefkopf-Logo"
169
 
170
- #: includes/class-wcpdf-settings.php:308
171
  msgid "Select or upload your invoice header/logo"
172
  msgstr "Auswählen oder hochladen des Logos"
173
 
174
- #: includes/class-wcpdf-settings.php:309
175
  msgid "Set image"
176
  msgstr "Logo festlegen"
177
 
178
- #: includes/class-wcpdf-settings.php:310
179
  msgid "Remove image"
180
  msgstr "Logo entfernen"
181
 
182
- #: includes/class-wcpdf-settings.php:317
183
  msgid "Shop Name"
184
  msgstr "Shop Name"
185
 
186
- #: includes/class-wcpdf-settings.php:330
187
  msgid "Shop Address"
188
  msgstr "Shop Adresse"
189
 
190
- #: includes/class-wcpdf-settings.php:362
191
  msgid "Footer: terms & conditions, policies, etc."
192
  msgstr "Fußzeile: allgemeine Bestimmungen, etc."
193
 
194
- #: includes/class-wcpdf-settings.php:377
195
- msgid "Number to display on invoice"
196
- msgstr ""
197
 
198
  #: includes/class-wcpdf-settings.php:385
199
- msgid "WooCommerce order number"
200
- msgstr "WooCommerce Bestellnummer"
201
-
202
- #: includes/class-wcpdf-settings.php:386
203
- msgid "Built-in sequential invoice number"
204
- msgstr ""
205
-
206
- #: includes/class-wcpdf-settings.php:388
207
- msgid ""
208
- "If you are using the WooCommerce Sequential Order Numbers plugin, select the "
209
- "WooCommerce order number"
210
- msgstr ""
211
 
212
- #: includes/class-wcpdf-settings.php:394
213
  msgid "Next invoice number (without prefix/suffix etc.)"
214
- msgstr ""
215
 
216
- #: includes/class-wcpdf-settings.php:402
217
  msgid ""
218
  "This is the number that will be used on the next invoice that is created. By "
219
  "default, numbering starts from the WooCommerce Order Number of the first "
@@ -221,88 +189,87 @@ msgid ""
221
  "you override this and set it lower than the highest (PDF) invoice number, "
222
  "this could create double invoice numbers!"
223
  msgstr ""
 
 
 
 
 
 
224
 
225
- #: includes/class-wcpdf-settings.php:408
226
- #, fuzzy
227
  msgid "Invoice number format"
228
  msgstr "Rechnungsnummer"
229
 
230
- #: includes/class-wcpdf-settings.php:417
231
  msgid "Prefix"
232
- msgstr ""
233
 
234
- #: includes/class-wcpdf-settings.php:419
235
  msgid ""
236
  "to use the order year and/or month, use [order_year] or [order_month] "
237
  "respectively"
238
  msgstr ""
 
 
239
 
240
- #: includes/class-wcpdf-settings.php:422
241
  msgid "Suffix"
242
- msgstr ""
243
 
244
- #: includes/class-wcpdf-settings.php:427
245
  msgid "Padding"
246
- msgstr ""
247
 
248
- #: includes/class-wcpdf-settings.php:429
249
  msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
250
  msgstr ""
 
 
251
 
252
- #: includes/class-wcpdf-settings.php:432
253
  msgid ""
254
  "note: if you have already created a custom invoice number format with a "
255
  "filter, the above settings will be ignored"
256
  msgstr ""
 
 
257
 
258
- #: includes/class-wcpdf-settings.php:440
259
- msgid "Date to display on invoice"
260
- msgstr ""
261
-
262
- #: includes/class-wcpdf-settings.php:448
263
- msgid "Order date"
264
- msgstr "Bestelldatum"
265
-
266
- #: includes/class-wcpdf-settings.php:449
267
- msgid "Invoice date"
268
- msgstr "Rechnungsdatum"
269
-
270
- #: includes/class-wcpdf-settings.php:457
271
  msgid "Extra template fields"
272
  msgstr "Zusätzliche Vorlagenfelder"
273
 
274
- #: includes/class-wcpdf-settings.php:464
275
  msgid "Extra field 1"
276
  msgstr "Zusatzfeld 1"
277
 
278
- #: includes/class-wcpdf-settings.php:473
279
  msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
280
  msgstr ""
281
  "Das ist die Spalte 1 in der Fußzeile der <i>Modern (Premium)</i> Vorlage"
282
 
283
- #: includes/class-wcpdf-settings.php:479
284
  msgid "Extra field 2"
285
  msgstr "Zusatzfeld 2"
286
 
287
- #: includes/class-wcpdf-settings.php:488
288
  msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
289
  msgstr ""
290
  "Das ist die Spalte 2 in der Fußzeile der <i>Modern (Premium)</i> Vorlage"
291
 
292
- #: includes/class-wcpdf-settings.php:494
293
  msgid "Extra field 3"
294
  msgstr "Zusatzfeld 3"
295
 
296
- #: includes/class-wcpdf-settings.php:503
297
  msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
298
  msgstr ""
299
  "Das ist die Spalte 3 in der Fußzeile der <i>Modern (Premium)</i> Vorlage"
300
 
301
- #: includes/class-wcpdf-settings.php:760
302
  msgid "Image resolution"
303
  msgstr "Bildauflösung"
304
 
305
- #: includes/class-wcpdf-settings.php:871
306
  msgid ""
307
  "These are used for the (optional) footer columns in the <em>Modern "
308
  "(Premium)</em> template, but can also be used for other elements in your "
@@ -312,48 +279,165 @@ msgstr ""
312
  "(Premium)</em> Vorlage verwendet, können aber auch für andere Elemente in "
313
  "deiner angepassten Vorlage verwendet werden."
314
 
315
- #: includes/class-wcpdf-writepanels.php:102
 
 
 
 
 
 
 
 
 
 
 
 
 
 
316
  msgid "Invoice Number"
317
  msgstr "Rechnungsnummer"
318
 
319
- #: includes/class-wcpdf-writepanels.php:139
320
  msgid "Download invoice (PDF)"
321
- msgstr "PDF Rechnung runterladen"
322
 
323
- #: includes/class-wcpdf-writepanels.php:150
324
  msgid "Create PDF"
325
- msgstr "PDF Erzeugen"
326
-
327
- #: includes/class-wcpdf-writepanels.php:160
328
- msgid "PDF invoice"
329
- msgstr "PDF Rechnung"
330
-
331
- #: includes/class-wcpdf-writepanels.php:161
332
- msgid "PDF Packing Slip"
333
- msgstr "PDF Packliste"
334
-
335
- #: includes/class-wcpdf-writepanels.php:178
336
- #: includes/class-wcpdf-writepanels.php:179
337
- msgid "PDF Packing Slips"
338
- msgstr "PDF Packlisten"
339
 
340
- #: includes/class-wcpdf-writepanels.php:192
341
  msgid "PDF Invoice Number (unformatted!)"
342
- msgstr ""
343
 
344
- #: includes/class-wcpdf-writepanels.php:195
345
- #: templates/pdf/Simple/invoice.php:37
346
  msgid "Invoice Date:"
347
  msgstr "Rechnungsdatum:"
348
 
349
- #: includes/class-wcpdf-writepanels.php:196
350
  msgid "h"
351
- msgstr ""
352
 
353
- #: includes/class-wcpdf-writepanels.php:196
354
  msgid "m"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
355
  msgstr ""
356
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
357
  #: templates/pdf/Simple/html-document-wrapper.php:6
358
  #: templates/pdf/Simple/invoice.php:9 templates/pdf/Simple/invoice.php:21
359
  msgid "Invoice"
@@ -363,112 +447,105 @@ msgstr "Rechnung"
363
  #: templates/pdf/Simple/packing-slip.php:9
364
  #: templates/pdf/Simple/packing-slip.php:21
365
  msgid "Packing Slip"
366
- msgstr "Packliste"
367
 
368
- #: templates/pdf/Simple/invoice.php:40
369
- #: templates/pdf/Simple/packing-slip.php:30
370
- msgid "Order Date:"
371
- msgstr "Bestelldatum:"
372
-
373
- #: templates/pdf/Simple/invoice.php:46
374
  msgid "Invoice Number:"
375
  msgstr "Rechnungsnummer:"
376
 
377
- #: templates/pdf/Simple/invoice.php:49
378
- #: templates/pdf/Simple/packing-slip.php:32
379
  msgid "Order Number:"
380
  msgstr "Bestellnummer:"
381
 
382
- #: templates/pdf/Simple/invoice.php:56
 
 
 
 
 
383
  msgid "Payment Method:"
384
- msgstr "Zahlungsart:"
385
 
386
- #: templates/pdf/Simple/invoice.php:69
387
- #: templates/pdf/Simple/packing-slip.php:45
388
  msgid "Product"
389
  msgstr "Produkt"
390
 
391
- #: templates/pdf/Simple/invoice.php:70
392
- #: templates/pdf/Simple/packing-slip.php:46
393
  msgid "Quantity"
394
  msgstr "Anzahl"
395
 
396
- #: templates/pdf/Simple/invoice.php:71
397
  msgid "Price"
398
  msgstr "Preis"
399
 
400
- #: templates/pdf/Simple/invoice.php:77
401
  msgid "Description"
402
  msgstr "Beschreibung"
403
 
404
- #: templates/pdf/Simple/invoice.php:80
405
  msgid "SKU"
406
  msgstr "Art.-Nr."
407
 
408
- #: templates/pdf/Simple/invoice.php:81
409
- #: templates/pdf/Simple/packing-slip.php:54
410
  msgid "SKU:"
411
  msgstr "Art.-Nr.:"
412
 
413
- #: templates/pdf/Simple/invoice.php:82
414
- #: templates/pdf/Simple/packing-slip.php:55
415
  msgid "Weight:"
416
  msgstr "Gewicht:"
417
 
418
- #: templates/pdf/Simple/invoice.php:114
419
- #: templates/pdf/Simple/packing-slip.php:69
420
  msgid "Customer Notes"
421
- msgstr "Kundenanmerkungen"
422
 
423
- #: woocommerce-pdf-invoices-packingslips.php:96
424
  #, php-format
425
  msgid ""
426
  "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
427
  "installed & activated!"
428
- msgstr "WooCommerce PDF Invoices & Packing Slips benötigt %sWooCommerce%s !"
 
 
429
 
430
- #: woocommerce-pdf-invoices-packingslips.php:191
431
- #: woocommerce-pdf-invoices-packingslips.php:227
432
  msgid "N/A"
433
- msgstr "N/A"
434
 
435
- #: woocommerce-pdf-invoices-packingslips.php:264
436
  msgid "Payment method"
437
  msgstr "Zahlungsart"
438
 
439
- #: woocommerce-pdf-invoices-packingslips.php:275
440
  msgid "Shipping method"
441
  msgstr "Versandart"
442
 
443
- #: woocommerce-pdf-invoices-packingslips.php:375
444
  msgid "Subtotal"
445
  msgstr "Zwischensumme"
446
 
447
- #: woocommerce-pdf-invoices-packingslips.php:397
448
  msgid "Shipping"
449
  msgstr "Versand"
450
 
451
- #: woocommerce-pdf-invoices-packingslips.php:431
452
  msgid "Discount"
453
  msgstr "Rabatt"
454
 
455
- #: woocommerce-pdf-invoices-packingslips.php:470
456
  msgid "VAT"
457
- msgstr "MwSt."
458
 
459
- #: woocommerce-pdf-invoices-packingslips.php:507
460
  msgid "Total ex. VAT"
461
- msgstr "Gesamtsumme ohne MwSt."
462
 
463
- #: woocommerce-pdf-invoices-packingslips.php:510
464
  msgid "Total"
465
  msgstr "Gesamtsumme"
466
-
467
- #~ msgid "Invoice date:"
468
- #~ msgstr "Rechnungsdatum:"
469
-
470
- #~ msgid "..."
471
- #~ msgstr "..."
472
-
473
- #~ msgid "Email invoice (attach to order confirmation or invoice email)"
474
- #~ msgstr "Email-Rechnung (als Anhang zur Bestätigungsmail)"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
+ "POT-Creation-Date: 2014-11-19 12:22+0100\n"
5
+ "PO-Revision-Date: 2014-12-02 15:02+0100\n"
6
+ "Last-Translator: Dietmar Hohn <info@pronatur24.eu>\n"
7
+ "Language-Team: PROnatur24 <info@pronatur24.eu>\n"
8
  "Language: de_DE\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.6.10\n"
13
  "X-Poedit-Basepath: ../\n"
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: includes/class-wcpdf-export.php:179 includes/class-wcpdf-export.php:184
20
+ #: includes/class-wcpdf-export.php:189 includes/class-wcpdf-export.php:200
21
+ #: includes/class-wcpdf-export.php:208
22
  msgid "You do not have sufficient permissions to access this page."
23
  msgstr "Du hast keine Berechtigung diese Seite anzuzeigen."
24
 
25
  # This is a filename (prefix). do not use spaces or special characters!
26
+ #: includes/class-wcpdf-export.php:267
27
  msgid "invoice"
28
  msgid_plural "invoices"
29
  msgstr[0] "Rechnung"
30
  msgstr[1] "Rechnungen"
31
 
32
  # This is a filename (prefix). do not use spaces or special characters!
33
+ #: includes/class-wcpdf-export.php:271
34
  msgid "packing-slip"
35
  msgid_plural "packing-slips"
36
+ msgstr[0] "Lieferschein"
37
+ msgstr[1] "Lieferscheine"
38
 
39
+ #: includes/class-wcpdf-settings.php:38 includes/class-wcpdf-settings.php:39
40
+ #: includes/class-wcpdf-writepanels.php:31
 
41
  msgid "PDF Invoices"
42
  msgstr "PDF Rechnungen"
43
 
44
+ #: includes/class-wcpdf-settings.php:69
45
  msgid "Settings"
46
  msgstr "Einstellungen"
47
 
48
+ #: includes/class-wcpdf-settings.php:91
49
  msgid "General"
50
  msgstr "Allgemein"
51
 
52
+ #: includes/class-wcpdf-settings.php:92
53
  msgid "Template"
54
  msgstr "Vorlage"
55
 
56
+ #: includes/class-wcpdf-settings.php:101
57
  msgid "WooCommerce PDF Invoices"
58
  msgstr "WooCommerce PDF Rechnungen"
59
 
60
+ #: includes/class-wcpdf-settings.php:107
61
  msgid "Status"
62
+ msgstr "Status"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
 
64
+ #: includes/class-wcpdf-settings.php:168
65
  msgid "General settings"
66
  msgstr "Allgemeine Einstellungen"
67
 
68
+ #: includes/class-wcpdf-settings.php:175
69
  msgid "How do you want to view the PDF?"
70
  msgstr "Wie soll das PDF angezeigt werden?"
71
 
72
+ #: includes/class-wcpdf-settings.php:183
73
  msgid "Download the PDF"
74
  msgstr "PDF runterladen"
75
 
76
+ #: includes/class-wcpdf-settings.php:184
77
  msgid "Open the PDF in a new browser tab/window"
78
  msgstr "PDF in einem neuen Browser Tab/Fenster öffnen"
79
 
80
+ #: includes/class-wcpdf-settings.php:193
 
 
 
 
81
  msgid "Admin New Order email"
82
+ msgstr "Admin Neue Bestellung E-Mail"
83
 
84
+ #: includes/class-wcpdf-settings.php:194
85
  msgid "Customer Processing Order email"
86
+ msgstr "Kunde In Bearbeitung E-Mail"
87
 
88
+ #: includes/class-wcpdf-settings.php:195
89
  msgid "Customer Completed Order email"
90
+ msgstr "Kunde Bestellung abgeschlossen E-Mail"
91
 
92
+ #: includes/class-wcpdf-settings.php:196
93
  msgid "Customer Invoice email"
94
+ msgstr "Kunde Rechnung E-Mail"
95
+
96
+ #: includes/class-wcpdf-settings.php:201
97
+ msgid "Attach invoice to:"
98
+ msgstr "Rechnung anfügen zu:"
99
 
100
+ #: includes/class-wcpdf-settings.php:209
101
  #, php-format
102
  msgid ""
103
  "It looks like the temp folder (<code>%s</code>) is not writable, check the "
108
  "überprüfe die Berechtigungen dieses Verzeichnisses. Ohne Schreibrechte "
109
  "können keine E-Mail - Rechnungen verschickt werden."
110
 
111
+ #: includes/class-wcpdf-settings.php:215
112
  msgid "Enable invoice number column in the orders list"
113
+ msgstr "Aktivierung Spalte Rechnungsnummer in Bestellübersicht"
114
 
115
+ #: includes/class-wcpdf-settings.php:254
116
  msgid "PDF Template settings"
117
  msgstr "PDF Vorlageneinstellungen"
118
 
119
+ #: includes/class-wcpdf-settings.php:266
120
  msgid "Choose a template"
121
+ msgstr "Wähle ein Template"
122
 
123
+ #: includes/class-wcpdf-settings.php:274
124
  #, php-format
125
  msgid ""
126
  "Want to use your own template? Copy all the files from <code>%s</code> to "
127
+ "your (child) theme in <code>%s</code> to customize them"
128
  msgstr ""
129
  "Wenn du eigene Vorlagen verwenden willst, dann kopiere alle Dateien von "
130
  "<code>%s</code> nach <code>%s</code> und passe sie dort an."
131
 
132
+ #: includes/class-wcpdf-settings.php:280
133
  msgid "Paper size"
134
  msgstr "Papierformat"
135
 
136
+ #: includes/class-wcpdf-settings.php:288
137
  msgid "A4"
138
  msgstr "A4"
139
 
140
+ #: includes/class-wcpdf-settings.php:289
141
  msgid "Letter"
142
+ msgstr "Letter"
143
 
144
+ #: includes/class-wcpdf-settings.php:296
145
  msgid "Shop header/logo"
146
  msgstr "Briefkopf-Logo"
147
 
148
+ #: includes/class-wcpdf-settings.php:303
149
  msgid "Select or upload your invoice header/logo"
150
  msgstr "Auswählen oder hochladen des Logos"
151
 
152
+ #: includes/class-wcpdf-settings.php:304
153
  msgid "Set image"
154
  msgstr "Logo festlegen"
155
 
156
+ #: includes/class-wcpdf-settings.php:305
157
  msgid "Remove image"
158
  msgstr "Logo entfernen"
159
 
160
+ #: includes/class-wcpdf-settings.php:312
161
  msgid "Shop Name"
162
  msgstr "Shop Name"
163
 
164
+ #: includes/class-wcpdf-settings.php:325
165
  msgid "Shop Address"
166
  msgstr "Shop Adresse"
167
 
168
+ #: includes/class-wcpdf-settings.php:357
169
  msgid "Footer: terms & conditions, policies, etc."
170
  msgstr "Fußzeile: allgemeine Bestimmungen, etc."
171
 
172
+ #: includes/class-wcpdf-settings.php:372
173
+ msgid "Display invoice date"
174
+ msgstr "Rechnungsdatum anzeigen"
175
 
176
  #: includes/class-wcpdf-settings.php:385
177
+ msgid "Display built-in sequential invoice number"
178
+ msgstr "Anzeige integrierte fortlaufende Rechnungsnummer"
 
 
 
 
 
 
 
 
 
 
179
 
180
+ #: includes/class-wcpdf-settings.php:398
181
  msgid "Next invoice number (without prefix/suffix etc.)"
182
+ msgstr "Nächste Rechnungsnummer (ohne Präfix/Suffix usw.)"
183
 
184
+ #: includes/class-wcpdf-settings.php:406
185
  msgid ""
186
  "This is the number that will be used on the next invoice that is created. By "
187
  "default, numbering starts from the WooCommerce Order Number of the first "
189
  "you override this and set it lower than the highest (PDF) invoice number, "
190
  "this could create double invoice numbers!"
191
  msgstr ""
192
+ "Dies ist die Nummer welche für die nächste Rechnung verwendet wird. "
193
+ "Vordefiniert startet die Rechnungsnummerierung mit der WooCommerce "
194
+ "Bestellnummer auf der ersten generierten Rechnung und erhöht mit jeder neuen "
195
+ "Rechnung. Beachte bitte das die Überschreibung der höchsten (PDF) "
196
+ "Rechnungsnummer mit einer kleineren Nummer zu doppelten Rechnungsnummern "
197
+ "führen kann."
198
 
199
+ #: includes/class-wcpdf-settings.php:412
 
200
  msgid "Invoice number format"
201
  msgstr "Rechnungsnummer"
202
 
203
+ #: includes/class-wcpdf-settings.php:421
204
  msgid "Prefix"
205
+ msgstr "Präfix"
206
 
207
+ #: includes/class-wcpdf-settings.php:423
208
  msgid ""
209
  "to use the order year and/or month, use [order_year] or [order_month] "
210
  "respectively"
211
  msgstr ""
212
+ "um das Bestelljahr und/oder -monat zu nutzen, verwende [order_year] oder "
213
+ "[order_month]"
214
 
215
+ #: includes/class-wcpdf-settings.php:426
216
  msgid "Suffix"
217
+ msgstr "Suffix"
218
 
219
+ #: includes/class-wcpdf-settings.php:431
220
  msgid "Padding"
221
+ msgstr "Abstand"
222
 
223
+ #: includes/class-wcpdf-settings.php:433
224
  msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
225
  msgstr ""
226
+ "Anzahl der Zeichen hier eingeben - \"6\" eingeben um 42 als 000042 "
227
+ "darzustellen"
228
 
229
+ #: includes/class-wcpdf-settings.php:436
230
  msgid ""
231
  "note: if you have already created a custom invoice number format with a "
232
  "filter, the above settings will be ignored"
233
  msgstr ""
234
+ "beachte: solltest du schon mit einem Filter ein eigenes Format der "
235
+ "Rechnungsnummer erstellt haben, werden obige Einstellungen ignoriert"
236
 
237
+ #: includes/class-wcpdf-settings.php:443
 
 
 
 
 
 
 
 
 
 
 
 
238
  msgid "Extra template fields"
239
  msgstr "Zusätzliche Vorlagenfelder"
240
 
241
+ #: includes/class-wcpdf-settings.php:467
242
  msgid "Extra field 1"
243
  msgstr "Zusatzfeld 1"
244
 
245
+ #: includes/class-wcpdf-settings.php:476
246
  msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
247
  msgstr ""
248
  "Das ist die Spalte 1 in der Fußzeile der <i>Modern (Premium)</i> Vorlage"
249
 
250
+ #: includes/class-wcpdf-settings.php:482
251
  msgid "Extra field 2"
252
  msgstr "Zusatzfeld 2"
253
 
254
+ #: includes/class-wcpdf-settings.php:491
255
  msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
256
  msgstr ""
257
  "Das ist die Spalte 2 in der Fußzeile der <i>Modern (Premium)</i> Vorlage"
258
 
259
+ #: includes/class-wcpdf-settings.php:497
260
  msgid "Extra field 3"
261
  msgstr "Zusatzfeld 3"
262
 
263
+ #: includes/class-wcpdf-settings.php:506
264
  msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
265
  msgstr ""
266
  "Das ist die Spalte 3 in der Fußzeile der <i>Modern (Premium)</i> Vorlage"
267
 
268
+ #: includes/class-wcpdf-settings.php:764
269
  msgid "Image resolution"
270
  msgstr "Bildauflösung"
271
 
272
+ #: includes/class-wcpdf-settings.php:880
273
  msgid ""
274
  "These are used for the (optional) footer columns in the <em>Modern "
275
  "(Premium)</em> template, but can also be used for other elements in your "
279
  "(Premium)</em> Vorlage verwendet, können aber auch für andere Elemente in "
280
  "deiner angepassten Vorlage verwendet werden."
281
 
282
+ #: includes/class-wcpdf-writepanels.php:32
283
+ msgid "PDF Packing Slips"
284
+ msgstr "PDF Lieferscheine"
285
+
286
+ #: includes/class-wcpdf-writepanels.php:91
287
+ #: includes/class-wcpdf-writepanels.php:184
288
+ msgid "PDF Invoice"
289
+ msgstr "PDF Rechnung"
290
+
291
+ #: includes/class-wcpdf-writepanels.php:96
292
+ #: includes/class-wcpdf-writepanels.php:189
293
+ msgid "PDF Packing Slip"
294
+ msgstr "PDF Lieferschein"
295
+
296
+ #: includes/class-wcpdf-writepanels.php:123
297
  msgid "Invoice Number"
298
  msgstr "Rechnungsnummer"
299
 
300
+ #: includes/class-wcpdf-writepanels.php:160
301
  msgid "Download invoice (PDF)"
302
+ msgstr "Rechnung runterladen (PDF)"
303
 
304
+ #: includes/class-wcpdf-writepanels.php:171
305
  msgid "Create PDF"
306
+ msgstr "PDF erstellen"
 
 
 
 
 
 
 
 
 
 
 
 
 
307
 
308
+ #: includes/class-wcpdf-writepanels.php:232
309
  msgid "PDF Invoice Number (unformatted!)"
310
+ msgstr "PDF Rechnungsnummer (unformatiert)"
311
 
312
+ #: includes/class-wcpdf-writepanels.php:235
313
+ #: templates/pdf/Simple/invoice.php:36
314
  msgid "Invoice Date:"
315
  msgstr "Rechnungsdatum:"
316
 
317
+ #: includes/class-wcpdf-writepanels.php:236
318
  msgid "h"
319
+ msgstr "Std"
320
 
321
+ #: includes/class-wcpdf-writepanels.php:236
322
  msgid "m"
323
+ msgstr "Min"
324
+
325
+ #: includes/wcpdf-extensions.php:15
326
+ msgid "Check out these premium extensions!"
327
+ msgstr "Premium Erweiterungen schon gesehen?"
328
+
329
+ #: includes/wcpdf-extensions.php:16
330
+ msgid "click items to read more"
331
+ msgstr "klicke Elemente um weiterzulesen"
332
+
333
+ #: includes/wcpdf-extensions.php:23
334
+ msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
335
+ msgstr "Upgrade auf Pro: Proforma Rechnung, Gutschrift & mehr!"
336
+
337
+ #: includes/wcpdf-extensions.php:25
338
+ msgid ""
339
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the following "
340
+ "features:"
341
+ msgstr ""
342
+ "Verbessere WooCommerce PDF Invoices & Packing Slips mit diesen Funktionen:"
343
+
344
+ #: includes/wcpdf-extensions.php:27
345
+ msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
346
+ msgstr "E-Mail/Druck/Download <b>PDF Gutschrift & Proforma Rechnung</b>"
347
+
348
+ #: includes/wcpdf-extensions.php:28
349
+ msgid ""
350
+ "Attach a <b>static file</b> (for example a terms & conditions document) to "
351
+ "the WooCommerce emails of your choice."
352
+ msgstr ""
353
+ "Hinzufügen einer beliebigen <b>Datei </b> (beispielweise AGB, "
354
+ "Widerrufsbelehrung) zum WooCommerce E-Mail"
355
+
356
+ #: includes/wcpdf-extensions.php:29
357
+ msgid ""
358
+ "Use <b>separate numbering systems</b> and/or format for proforma invoices "
359
+ "and credit notes or utilize the main invoice numbering system"
360
+ msgstr ""
361
+ "Anwendung <b>separates Nummerierungssystem</b> und/oder Format für Proforma "
362
+ "Rechnungen und Gutschriften oder Änderung am Hauptsystem der "
363
+ "Rechnungsnummerierung"
364
+
365
+ #: includes/wcpdf-extensions.php:30
366
+ msgid ""
367
+ "<b>Customize</b> the <b>shipping & billing address</b> format to include "
368
+ "additional custom fields, font sizes etc. without the need to create a "
369
+ "custom template."
370
+ msgstr ""
371
+ "<b>Anpassung</b> vom <b>Liefer- & Rechnugnsadresse</b> Format um zusätzliche "
372
+ "freie Felder, Schriftgrößen, usw. einzufügen ohne ein individuellen Template "
373
+ "zu erstellen."
374
+
375
+ #: includes/wcpdf-extensions.php:31
376
+ msgid "Use the plugin in multilingual <b>WPML</b> setups"
377
+ msgstr "Nutzung vom Plugin für Multisprachen <b>WPML</b> Einrichtungen"
378
+
379
+ #: includes/wcpdf-extensions.php:33
380
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
381
+ msgstr "Hole WooCommerce PDF Invoices & Packing Slips Professional!"
382
+
383
+ #: includes/wcpdf-extensions.php:41
384
+ msgid "Upload all invoices automatically to your dropbox"
385
+ msgstr "Alle Rechnungen automatisch auf deine Dropbox hochladen"
386
+
387
+ #: includes/wcpdf-extensions.php:47
388
+ msgid ""
389
+ "This extension conveniently uploads all the invoices (and other pdf "
390
+ "documents from the professional extension) that are emailed to your "
391
+ "customers to Dropbox. The best way to keep your invoice administration up to "
392
+ "date!"
393
+ msgstr ""
394
+ "Diese Erweiterung lädt alle Rechnungen (und zusätzlich aktivieren PDF "
395
+ "Dokumente) die dem Kunden gemailt werden zur Dropbox. Die beste Weise um die "
396
+ "Rechnungsadministration aktuell zu halten!"
397
+
398
+ #: includes/wcpdf-extensions.php:48
399
+ msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
400
+ msgstr "Hole WooCommerce PDF Invoices & Packing Slips to dropbox!"
401
+
402
+ #: includes/wcpdf-extensions.php:60
403
+ msgid ""
404
+ "Automatically send new orders or packing slips to your printer, as soon as "
405
+ "the customer orders!"
406
+ msgstr ""
407
+
408
+ #: includes/wcpdf-extensions.php:66
409
+ msgid ""
410
+ "Check out the WooCommerce Automatic Order Printing extension from our "
411
+ "partners at Simba Hosting"
412
+ msgstr ""
413
+
414
+ #: includes/wcpdf-extensions.php:67
415
+ msgid "WooCommerce Automatic Order Printing"
416
  msgstr ""
417
 
418
+ #: includes/wcpdf-extensions.php:81
419
+ msgid "More advanced templates"
420
+ msgstr "Weiter entwickelte Voralgen"
421
+
422
+ #: includes/wcpdf-extensions.php:84
423
+ msgid "Stylish modern invoices & packing slips with product thumbnails!"
424
+ msgstr ""
425
+ "Stylisch moderne Rechnungen & Lieferscheine mit Miniaturbildern vom Produkt!"
426
+
427
+ #: includes/wcpdf-extensions.php:85
428
+ msgid "More tax details on the invoices!"
429
+ msgstr "Zusätzliche Steuerdetails auf der Rechnung!"
430
+
431
+ #: includes/wcpdf-extensions.php:86
432
+ #, php-format
433
+ msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
434
+ msgstr "Schau dir die Premium PDF Invoice & Packing Slips Vorlagen an auf %s."
435
+
436
+ #: includes/wcpdf-extensions.php:87
437
+ #, php-format
438
+ msgid "For custom templates, contact us at %s."
439
+ msgstr "Für individuelle Vorlagen kontaktiert uns auf %s."
440
+
441
  #: templates/pdf/Simple/html-document-wrapper.php:6
442
  #: templates/pdf/Simple/invoice.php:9 templates/pdf/Simple/invoice.php:21
443
  msgid "Invoice"
447
  #: templates/pdf/Simple/packing-slip.php:9
448
  #: templates/pdf/Simple/packing-slip.php:21
449
  msgid "Packing Slip"
450
+ msgstr "Lieferschein"
451
 
452
+ #: templates/pdf/Simple/invoice.php:32
 
 
 
 
 
453
  msgid "Invoice Number:"
454
  msgstr "Rechnungsnummer:"
455
 
456
+ #: templates/pdf/Simple/invoice.php:39
457
+ #: templates/pdf/Simple/packing-slip.php:33
458
  msgid "Order Number:"
459
  msgstr "Bestellnummer:"
460
 
461
+ #: templates/pdf/Simple/invoice.php:41
462
+ #: templates/pdf/Simple/packing-slip.php:31
463
+ msgid "Order Date:"
464
+ msgstr "Bestelldatum:"
465
+
466
+ #: templates/pdf/Simple/invoice.php:43
467
  msgid "Payment Method:"
468
+ msgstr "Zahlungsmethode:"
469
 
470
+ #: templates/pdf/Simple/invoice.php:58
471
+ #: templates/pdf/Simple/packing-slip.php:48
472
  msgid "Product"
473
  msgstr "Produkt"
474
 
475
+ #: templates/pdf/Simple/invoice.php:59
476
+ #: templates/pdf/Simple/packing-slip.php:49
477
  msgid "Quantity"
478
  msgstr "Anzahl"
479
 
480
+ #: templates/pdf/Simple/invoice.php:60
481
  msgid "Price"
482
  msgstr "Preis"
483
 
484
+ #: templates/pdf/Simple/invoice.php:66
485
  msgid "Description"
486
  msgstr "Beschreibung"
487
 
488
+ #: templates/pdf/Simple/invoice.php:69
489
  msgid "SKU"
490
  msgstr "Art.-Nr."
491
 
492
+ #: templates/pdf/Simple/invoice.php:70
493
+ #: templates/pdf/Simple/packing-slip.php:57
494
  msgid "SKU:"
495
  msgstr "Art.-Nr.:"
496
 
497
+ #: templates/pdf/Simple/invoice.php:71
498
+ #: templates/pdf/Simple/packing-slip.php:58
499
  msgid "Weight:"
500
  msgstr "Gewicht:"
501
 
502
+ #: templates/pdf/Simple/invoice.php:105
503
+ #: templates/pdf/Simple/packing-slip.php:73
504
  msgid "Customer Notes"
505
+ msgstr "Anmerkungen"
506
 
507
+ #: woocommerce-pdf-invoices-packingslips.php:98
508
  #, php-format
509
  msgid ""
510
  "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
511
  "installed & activated!"
512
+ msgstr ""
513
+ "WooCommerce PDF Invoices & Packing Slips benötigt %sWooCommerce%s "
514
+ "installiert und aktiviert!"
515
 
516
+ #: woocommerce-pdf-invoices-packingslips.php:206
517
+ #: woocommerce-pdf-invoices-packingslips.php:269
518
  msgid "N/A"
519
+ msgstr "nicht verfügbar"
520
 
521
+ #: woocommerce-pdf-invoices-packingslips.php:358
522
  msgid "Payment method"
523
  msgstr "Zahlungsart"
524
 
525
+ #: woocommerce-pdf-invoices-packingslips.php:369
526
  msgid "Shipping method"
527
  msgstr "Versandart"
528
 
529
+ #: woocommerce-pdf-invoices-packingslips.php:484
530
  msgid "Subtotal"
531
  msgstr "Zwischensumme"
532
 
533
+ #: woocommerce-pdf-invoices-packingslips.php:506
534
  msgid "Shipping"
535
  msgstr "Versand"
536
 
537
+ #: woocommerce-pdf-invoices-packingslips.php:540
538
  msgid "Discount"
539
  msgstr "Rabatt"
540
 
541
+ #: woocommerce-pdf-invoices-packingslips.php:579
542
  msgid "VAT"
543
+ msgstr "USt."
544
 
545
+ #: woocommerce-pdf-invoices-packingslips.php:616
546
  msgid "Total ex. VAT"
547
+ msgstr "Summe ohne USt."
548
 
549
+ #: woocommerce-pdf-invoices-packingslips.php:619
550
  msgid "Total"
551
  msgstr "Gesamtsumme"
 
 
 
 
 
 
 
 
 
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.0
6
- Stable tag: 1.4.13
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -236,6 +236,11 @@ This usually only happens on batch actions. PDF creation is a memory intensive j
236
 
237
  == Changelog ==
238
 
 
 
 
 
 
239
  = 1.4.13 =
240
  * Feature: use separate file for all your template specific functions (template-functions.php)
241
  * Translations: Added Slovenian (thanks gregy1403!)
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.0
6
+ Stable tag: 1.4.14
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
236
 
237
  == Changelog ==
238
 
239
+ = 1.4.14 =
240
+ * Fix: fatal error when user registers at checkout (applies to credit notes only)
241
+ * Translations: Updated German (Thanks Dietmar!)
242
+ * Translations: Place your custom translations in wp-content/languages/woocommerce-pdf-invoices-packing-slips/wpo_wcpdf-LOCALE.mo to protect them from being overwritten by plugin updates.
243
+
244
  = 1.4.13 =
245
  * Feature: use separate file for all your template specific functions (template-functions.php)
246
  * Translations: Added Slovenian (thanks gregy1403!)
templates/pdf/Simple/html-document-wrapper.php CHANGED
@@ -4,7 +4,8 @@
4
  <head>
5
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
6
  <title><?php echo ($wpo_wcpdf->export->template_type == 'invoice')?__( 'Invoice', 'wpo_wcpdf' ):__( 'Packing Slip', 'wpo_wcpdf' ) ?></title>
7
- <style><?php $wpo_wcpdf->template_styles(); ?></style>
 
8
  </head>
9
  <body class="<?php echo $wpo_wcpdf->export->template_type; ?>">
10
  <?php echo $wpo_wcpdf->export->output_body; ?>
4
  <head>
5
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
6
  <title><?php echo ($wpo_wcpdf->export->template_type == 'invoice')?__( 'Invoice', 'wpo_wcpdf' ):__( 'Packing Slip', 'wpo_wcpdf' ) ?></title>
7
+ <style type="text/css"><?php $wpo_wcpdf->template_styles(); ?></style>
8
+ <style type="text/css"><?php do_action( 'wpo_wcpdf_custom_styles', $wpo_wcpdf->export->template_type ); ?></style>
9
  </head>
10
  <body class="<?php echo $wpo_wcpdf->export->template_type; ?>">
11
  <?php echo $wpo_wcpdf->export->output_body; ?>
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.4.13
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.4.13';
37
 
38
  // load the localisation & classes
39
  add_action( 'plugins_loaded', array( $this, 'translations' ) ); // or use init?
@@ -43,8 +43,21 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices' ) ) {
43
 
44
  /**
45
  * Load the translation / textdomain files
 
 
46
  */
47
  public function translations() {
 
 
 
 
 
 
 
 
 
 
 
48
  load_plugin_textdomain( 'wpo_wcpdf', false, dirname( self::$plugin_basename ) . '/languages' );
49
  }
50
 
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.4.14
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.4.14';
37
 
38
  // load the localisation & classes
39
  add_action( 'plugins_loaded', array( $this, 'translations' ) ); // or use init?
43
 
44
  /**
45
  * Load the translation / textdomain files
46
+ *
47
+ * Note: the first-loaded translation file overrides any following ones if the same translation is present
48
  */
49
  public function translations() {
50
+ $locale = apply_filters( 'plugin_locale', get_locale(), 'wpo_wcpdf' );
51
+ $dir = trailingslashit( WP_LANG_DIR );
52
+
53
+ /**
54
+ * Frontend/global Locale. Looks in:
55
+ *
56
+ * - WP_LANG_DIR/woocommerce-pdf-invoices-packing-slips/wpo_wcpdf-LOCALE.mo
57
+ * - woocommerce-pdf-invoices-packing-slips/languages/wpo_wcpdf-LOCALE.mo (which if not found falls back to:)
58
+ * - WP_LANG_DIR/plugins/wpo_wcpdf-LOCALE.mo
59
+ */
60
+ load_textdomain( 'wpo_wcpdf', $dir . 'woocommerce-pdf-invoices-packing-slips/wpo_wcpdf-' . $locale . '.mo' );
61
  load_plugin_textdomain( 'wpo_wcpdf', false, dirname( self::$plugin_basename ) . '/languages' );
62
  }
63