WooCommerce PDF Invoices & Packing Slips - Version 1.4.5

Version Description

  • Fix: Double date conversion for order date on invoice number filter (to avoid i18n date issues)
  • Fix: Template selector reset after update
  • Translations: added Norwegian (Thanks Aleksander!)
Download this release

Release Info

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

Code changes from version 1.4.4 to 1.4.5

includes/class-wcpdf-export.php CHANGED
@@ -34,7 +34,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
34
  $this->template_path = isset( $this->template_settings['template_path'] )?$this->template_settings['template_path']:'';
35
 
36
  // backwards compatible template path (1.4.4+ uses relative paths instead of absolute)
37
- if (strpos($this->template_path, ABSPATH) == false) {
38
  // add site base path, double check it exists!
39
  if ( file_exists( ABSPATH . $this->template_path ) ) {
40
  $this->template_path = ABSPATH . $this->template_path;
@@ -365,7 +365,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
365
  // get invoice number from post meta
366
  $invoice_number = get_post_meta( $order_id, '_wcpdf_invoice_number', true );
367
 
368
- return apply_filters( 'wpo_wcpdf_invoice_number', $invoice_number, $this->order->get_order_number(), $this->order->id, date_i18n( get_option( 'date_format' ), strtotime( $this->order->order_date ) ) );
369
  }
370
 
371
  public function format_invoice_number( $invoice_number, $order_number, $order_id, $order_date ) {
34
  $this->template_path = isset( $this->template_settings['template_path'] )?$this->template_settings['template_path']:'';
35
 
36
  // backwards compatible template path (1.4.4+ uses relative paths instead of absolute)
37
+ if (strpos($this->template_path, ABSPATH) === false) {
38
  // add site base path, double check it exists!
39
  if ( file_exists( ABSPATH . $this->template_path ) ) {
40
  $this->template_path = ABSPATH . $this->template_path;
365
  // get invoice number from post meta
366
  $invoice_number = get_post_meta( $order_id, '_wcpdf_invoice_number', true );
367
 
368
+ return apply_filters( 'wpo_wcpdf_invoice_number', $invoice_number, $this->order->get_order_number(), $this->order->id, $this->order->order_date );
369
  }
370
 
371
  public function format_invoice_number( $invoice_number, $order_number, $order_id, $order_date ) {
includes/class-wcpdf-settings.php CHANGED
@@ -264,7 +264,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
264
  add_settings_field(
265
  'template_path',
266
  __( 'Choose a template', 'wpo_wcpdf' ),
267
- array( &$this, 'select_element_callback' ),
268
  $option,
269
  'template_settings',
270
  array(
@@ -805,6 +805,50 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
805
  }
806
 
807
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
808
  /**
809
  * Section null callback.
810
  *
264
  add_settings_field(
265
  'template_path',
266
  __( 'Choose a template', 'wpo_wcpdf' ),
267
+ array( &$this, 'template_select_element_callback' ),
268
  $option,
269
  'template_settings',
270
  array(
805
  }
806
 
807
 
808
+ /**
809
+ * Template select element callback.
810
+ *
811
+ * @param array $args Field arguments.
812
+ *
813
+ * @return string Select field.
814
+ */
815
+ public function template_select_element_callback( $args ) {
816
+ $menu = $args['menu'];
817
+ $id = $args['id'];
818
+
819
+ $options = get_option( $menu );
820
+
821
+ if ( isset( $options[$id] ) ) {
822
+ $current = $options[$id];
823
+ } else {
824
+ $current = isset( $args['default'] ) ? $args['default'] : '';
825
+ }
826
+
827
+ $html = sprintf( '<select id="%1$s" name="%2$s[%1$s]">', $id, $menu );
828
+
829
+ // backwards compatible template path (1.4.4+ uses relative paths instead of absolute)
830
+ if (strpos($current, ABSPATH) !== false) {
831
+ // check if folder exists, then strip site base path.
832
+ if ( file_exists( $current ) ) {
833
+ $current = str_replace( ABSPATH, '', $current );
834
+ }
835
+ }
836
+
837
+ foreach ( $args['options'] as $key => $label ) {
838
+ $html .= sprintf( '<option value="%s"%s>%s</option>', $key, selected( $current, $key, false ), $label );
839
+ }
840
+
841
+ $html .= '</select>';
842
+
843
+ // Displays option description.
844
+ if ( isset( $args['description'] ) ) {
845
+ $html .= sprintf( '<p class="description">%s</p>', $args['description'] );
846
+ }
847
+
848
+ echo $html;
849
+
850
+ }
851
+
852
  /**
853
  * Section null callback.
854
  *
includes/class-wcpdf-writepanels.php CHANGED
@@ -191,7 +191,7 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices_Writepanels' ) ) {
191
  if (!empty($invoice_exists)) {
192
  woocommerce_wp_text_input( array( 'id' => '_wcpdf_invoice_number', 'label' => __( 'PDF Invoice Number (unformatted!)', 'wpo_wcpdf' ) ) );
193
  $invoice_date = get_post_meta($order->id,'_wcpdf_invoice_date',true);
194
- ?>bla
195
  <p class="form-field form-field-wide"><label for="wcpdf_invoice_date"><?php _e( 'Invoice Date:', 'wpo_wcpdf' ); ?></label>
196
  <input type="text" class="date-picker-field" name="wcpdf_invoice_date" id="wcpdf_invoice_date" maxlength="10" value="<?php echo date_i18n( 'Y-m-d', strtotime( $invoice_date ) ); ?>" pattern="[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|1[0-9]|2[0-9]|3[01])" />@<input type="text" class="hour" placeholder="<?php _e( 'h', 'woocommerce' ) ?>" name="wcpdf_invoice_date_hour" id="wcpdf_invoice_date_hour" maxlength="2" size="2" value="<?php echo date_i18n( 'H', strtotime( $invoice_date ) ); ?>" pattern="\-?\d+(\.\d{0,})?" />:<input type="text" class="minute" placeholder="<?php _e( 'm', 'woocommerce' ) ?>" name="wcpdf_invoice_date_minute" id="wcpdf_invoice_date_minute" maxlength="2" size="2" value="<?php echo date_i18n( 'i', strtotime( $invoice_date ) ); ?>" pattern="\-?\d+(\.\d{0,})?" />
197
  </p>
191
  if (!empty($invoice_exists)) {
192
  woocommerce_wp_text_input( array( 'id' => '_wcpdf_invoice_number', 'label' => __( 'PDF Invoice Number (unformatted!)', 'wpo_wcpdf' ) ) );
193
  $invoice_date = get_post_meta($order->id,'_wcpdf_invoice_date',true);
194
+ ?>
195
  <p class="form-field form-field-wide"><label for="wcpdf_invoice_date"><?php _e( 'Invoice Date:', 'wpo_wcpdf' ); ?></label>
196
  <input type="text" class="date-picker-field" name="wcpdf_invoice_date" id="wcpdf_invoice_date" maxlength="10" value="<?php echo date_i18n( 'Y-m-d', strtotime( $invoice_date ) ); ?>" pattern="[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|1[0-9]|2[0-9]|3[01])" />@<input type="text" class="hour" placeholder="<?php _e( 'h', 'woocommerce' ) ?>" name="wcpdf_invoice_date_hour" id="wcpdf_invoice_date_hour" maxlength="2" size="2" value="<?php echo date_i18n( 'H', strtotime( $invoice_date ) ); ?>" pattern="\-?\d+(\.\d{0,})?" />:<input type="text" class="minute" placeholder="<?php _e( 'm', 'woocommerce' ) ?>" name="wcpdf_invoice_date_minute" id="wcpdf_invoice_date_minute" maxlength="2" size="2" value="<?php echo date_i18n( 'i', strtotime( $invoice_date ) ); ?>" pattern="\-?\d+(\.\d{0,})?" />
197
  </p>
languages/wpo_wcpdf-nb_NO.mo ADDED
Binary file
languages/wpo_wcpdf-nb_NO.po ADDED
@@ -0,0 +1,443 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
+ "POT-Creation-Date: 2014-05-12 22:22+0100\n"
5
+ "PO-Revision-Date: 2014-08-19 19:47+0100\n"
6
+ "Last-Translator: Aleksander Soltvedt <aleksander@filament.no>\n"
7
+ "Language-Team: WP Overnight <support@wpovernight.com>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Generator: Poedit 1.6.5\n"
12
+ "X-Poedit-Basepath: ../\n"
13
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
+ "X-Poedit-SourceCharset: UTF-8\n"
15
+ "X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
16
+ "Language: nb\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: includes/class-wcpdf-export.php:151 includes/class-wcpdf-export.php:156
20
+ #: includes/class-wcpdf-export.php:161 includes/class-wcpdf-export.php:172
21
+ #: includes/class-wcpdf-export.php:185
22
+ msgid "You do not have sufficient permissions to access this page."
23
+ msgstr "Du har ikke nok rettigheter til denne siden"
24
+
25
+ # This is a filename (prefix). do not use spaces or special characters!
26
+ #: includes/class-wcpdf-export.php:206 includes/class-wcpdf-export.php:285
27
+ msgid "invoice"
28
+ msgid_plural "invoices"
29
+ msgstr[0] "Faktura"
30
+ msgstr[1] "Fakturaer"
31
+
32
+ # This is a filename (prefix). do not use spaces or special characters!
33
+ #: includes/class-wcpdf-export.php:208
34
+ msgid "packing-slip"
35
+ msgid_plural "packing-slips"
36
+ msgstr[0] "Pakkseddel"
37
+ msgstr[1] "Pakksedler"
38
+
39
+ #: includes/class-wcpdf-settings.php:36 includes/class-wcpdf-settings.php:37
40
+ #: includes/class-wcpdf-writepanels.php:173
41
+ #: includes/class-wcpdf-writepanels.php:174
42
+ msgid "PDF Invoices"
43
+ msgstr "PDF Faktura"
44
+
45
+ #: includes/class-wcpdf-settings.php:60
46
+ msgid "Settings"
47
+ msgstr "Innstillinger"
48
+
49
+ #: includes/class-wcpdf-settings.php:82
50
+ msgid "General"
51
+ msgstr "Genrelt"
52
+
53
+ #: includes/class-wcpdf-settings.php:83
54
+ msgid "Template"
55
+ msgstr ""
56
+
57
+ #: includes/class-wcpdf-settings.php:92
58
+ msgid "WooCommerce PDF Invoices"
59
+ msgstr "WooCommerce PDF Faktura"
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
+ "Last opp alle fakturaer automatisk til din dropbox! br/>Sjekk ut %s "
72
+ "utvidelsen."
73
+
74
+ #: includes/class-wcpdf-settings.php:119
75
+ #, php-format
76
+ msgid ""
77
+ "Looking for more advanced templates? Check out the Premium PDF Invoice & "
78
+ "Packing Slips templates at %s."
79
+ msgstr ""
80
+ "Ser du etter en mer avansert template? Sjekk ut Premium PDF Invoice & "
81
+ "Packing Slips templates hos %s."
82
+
83
+ #: includes/class-wcpdf-settings.php:120
84
+ #, php-format
85
+ msgid "For custom templates, contact us at %s."
86
+ msgstr "For egendefinerte templates, kontakt oss på %s"
87
+
88
+ #: includes/class-wcpdf-settings.php:175
89
+ msgid "General settings"
90
+ msgstr "Generelle innstillinger"
91
+
92
+ #: includes/class-wcpdf-settings.php:182
93
+ msgid "How do you want to view the PDF?"
94
+ msgstr "Hvordan vil du se PDF`en?"
95
+
96
+ #: includes/class-wcpdf-settings.php:190
97
+ msgid "Download the PDF"
98
+ msgstr "Last ned PDF`en"
99
+
100
+ #: includes/class-wcpdf-settings.php:191
101
+ msgid "Open the PDF in a new browser tab/window"
102
+ msgstr "Åpne PDF`en i ett nytt vindu"
103
+
104
+ #: includes/class-wcpdf-settings.php:201
105
+ msgid "Attach invoice to:"
106
+ msgstr "Legg ved faktura til:"
107
+
108
+ #: includes/class-wcpdf-settings.php:209
109
+ msgid "Admin New Order email"
110
+ msgstr "Admin ny ordre epost"
111
+
112
+ #: includes/class-wcpdf-settings.php:210
113
+ msgid "Customer Processing Order email"
114
+ msgstr "Kundens Behandler Ordre epost"
115
+
116
+ #: includes/class-wcpdf-settings.php:211
117
+ msgid "Customer Completed Order email"
118
+ msgstr "Kundens Fullført Ordre epost"
119
+
120
+ #: includes/class-wcpdf-settings.php:212
121
+ msgid "Customer Invoice email"
122
+ msgstr "Kundens Faktura epost"
123
+
124
+ #: includes/class-wcpdf-settings.php:214
125
+ #, php-format
126
+ msgid ""
127
+ "It looks like the temp folder (<code>%s</code>) is not writable, check the "
128
+ "permissions for this folder! Without having write access to this folder, the "
129
+ "plugin will not be able to email invoices."
130
+ msgstr ""
131
+
132
+ #: includes/class-wcpdf-settings.php:220
133
+ msgid "Enable invoice number column in the orders list"
134
+ msgstr "Aktiver Faktura nummer kolonne i ordre listen"
135
+
136
+ #: includes/class-wcpdf-settings.php:259
137
+ msgid "PDF Template settings"
138
+ msgstr "PDF Template innstillinger"
139
+
140
+ #: includes/class-wcpdf-settings.php:266
141
+ msgid "Choose a template"
142
+ msgstr "Velg din template"
143
+
144
+ #: includes/class-wcpdf-settings.php:274
145
+ msgid ""
146
+ "Want to use your own template? Copy all the files from <code>woocommerce-pdf-"
147
+ "invoices-packing-slips/templates/pdf/Simple/</code> to <code>yourtheme/"
148
+ "woocommerce/pdf/yourtemplate/</code> to customize them"
149
+ msgstr ""
150
+
151
+ #: includes/class-wcpdf-settings.php:280
152
+ msgid "Paper size"
153
+ msgstr "Papir størrelse"
154
+
155
+ #: includes/class-wcpdf-settings.php:288
156
+ msgid "A4"
157
+ msgstr ""
158
+
159
+ #: includes/class-wcpdf-settings.php:289
160
+ msgid "Letter"
161
+ msgstr ""
162
+
163
+ #: includes/class-wcpdf-settings.php:296
164
+ msgid "Shop header/logo"
165
+ msgstr "Butikkens Header/Logo"
166
+
167
+ #: includes/class-wcpdf-settings.php:303
168
+ msgid "Select or upload your invoice header/logo"
169
+ msgstr "Velg eller last opp din faktura header/logo"
170
+
171
+ #: includes/class-wcpdf-settings.php:304
172
+ msgid "Set image"
173
+ msgstr "Velg bilde"
174
+
175
+ #: includes/class-wcpdf-settings.php:305
176
+ msgid "Remove image"
177
+ msgstr "Fjern Bilde"
178
+
179
+ #: includes/class-wcpdf-settings.php:312
180
+ msgid "Shop Name"
181
+ msgstr "Butikkens Navn"
182
+
183
+ #: includes/class-wcpdf-settings.php:325
184
+ msgid "Shop Address"
185
+ msgstr "Butikkens Adresse"
186
+
187
+ #: includes/class-wcpdf-settings.php:357
188
+ msgid "Footer: terms & conditions, policies, etc."
189
+ msgstr "Footer: Betingelser og Vilkår"
190
+
191
+ #: includes/class-wcpdf-settings.php:372
192
+ msgid "Number to display on invoice"
193
+ msgstr "Nummer som skal vise på faktura"
194
+
195
+ #: includes/class-wcpdf-settings.php:380
196
+ msgid "WooCommerce order number"
197
+ msgstr "WooCommerce Ordre nummer"
198
+
199
+ #: includes/class-wcpdf-settings.php:381
200
+ msgid "Built-in sequential invoice number"
201
+ msgstr ""
202
+
203
+ #: includes/class-wcpdf-settings.php:383
204
+ msgid ""
205
+ "If you are using the WooCommerce Sequential Order Numbers plugin, select the "
206
+ "WooCommerce order number"
207
+ msgstr ""
208
+
209
+ #: includes/class-wcpdf-settings.php:389
210
+ msgid "Next invoice number (without prefix/suffix etc.)"
211
+ msgstr ""
212
+
213
+ #: includes/class-wcpdf-settings.php:397
214
+ msgid ""
215
+ "This is the number that will be used on the next invoice that is created. By "
216
+ "default, numbering starts from the WooCommerce Order Number of the first "
217
+ "invoice that is created and increases for every new invoice. Note that if "
218
+ "you override this and set it lower than the highest (PDF) invoice number, "
219
+ "this could create double invoice numbers!"
220
+ msgstr ""
221
+
222
+ #: includes/class-wcpdf-settings.php:403
223
+ msgid "Invoice number format"
224
+ msgstr ""
225
+
226
+ #: includes/class-wcpdf-settings.php:412
227
+ msgid "Prefix"
228
+ msgstr ""
229
+
230
+ #: includes/class-wcpdf-settings.php:414
231
+ msgid ""
232
+ "to use the order year and/or month, use [order_year] or [order_month] "
233
+ "respectively"
234
+ msgstr ""
235
+
236
+ #: includes/class-wcpdf-settings.php:417
237
+ msgid "Suffix"
238
+ msgstr ""
239
+
240
+ #: includes/class-wcpdf-settings.php:422
241
+ msgid "Padding"
242
+ msgstr ""
243
+
244
+ #: includes/class-wcpdf-settings.php:424
245
+ msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
246
+ msgstr ""
247
+
248
+ #: includes/class-wcpdf-settings.php:427
249
+ msgid ""
250
+ "note: if you have already created a custom invoice number format with a "
251
+ "filter, the above settings will be ignored"
252
+ msgstr ""
253
+
254
+ #: includes/class-wcpdf-settings.php:435
255
+ msgid "Date to display on invoice"
256
+ msgstr ""
257
+
258
+ #: includes/class-wcpdf-settings.php:443
259
+ msgid "Order date"
260
+ msgstr ""
261
+
262
+ #: includes/class-wcpdf-settings.php:444
263
+ msgid "Invoice date"
264
+ msgstr ""
265
+
266
+ #: includes/class-wcpdf-settings.php:452
267
+ msgid "Extra template fields"
268
+ msgstr ""
269
+
270
+ #: includes/class-wcpdf-settings.php:459
271
+ msgid "Extra field 1"
272
+ msgstr ""
273
+
274
+ #: includes/class-wcpdf-settings.php:468
275
+ msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
276
+ msgstr ""
277
+
278
+ #: includes/class-wcpdf-settings.php:474
279
+ msgid "Extra field 2"
280
+ msgstr ""
281
+
282
+ #: includes/class-wcpdf-settings.php:483
283
+ msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
284
+ msgstr ""
285
+
286
+ #: includes/class-wcpdf-settings.php:489
287
+ msgid "Extra field 3"
288
+ msgstr ""
289
+
290
+ #: includes/class-wcpdf-settings.php:498
291
+ msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
292
+ msgstr ""
293
+
294
+ #: includes/class-wcpdf-settings.php:755
295
+ msgid "Image resolution"
296
+ msgstr "Bilde oppløsning"
297
+
298
+ #: includes/class-wcpdf-settings.php:822
299
+ msgid ""
300
+ "These are used for the (optional) footer columns in the <em>Modern "
301
+ "(Premium)</em> template, but can also be used for other elements in your "
302
+ "custom template"
303
+ msgstr ""
304
+
305
+ #: includes/class-wcpdf-writepanels.php:102
306
+ msgid "Invoice Number"
307
+ msgstr "Faktura nummer"
308
+
309
+ #: includes/class-wcpdf-writepanels.php:133
310
+ msgid "Create PDF"
311
+ msgstr "Opprett PDF"
312
+
313
+ #: includes/class-wcpdf-writepanels.php:143
314
+ msgid "Download invoice (PDF)"
315
+ msgstr "Last ned faktura (PDF)"
316
+
317
+ #: includes/class-wcpdf-writepanels.php:157
318
+ msgid "PDF invoice"
319
+ msgstr "PDF Faktura"
320
+
321
+ #: includes/class-wcpdf-writepanels.php:158
322
+ msgid "PDF Packing Slip"
323
+ msgstr "PDF Pakkseddel"
324
+
325
+ #: includes/class-wcpdf-writepanels.php:175
326
+ #: includes/class-wcpdf-writepanels.php:176
327
+ msgid "PDF Packing Slips"
328
+ msgstr "PDF Pakksedler"
329
+
330
+ #: includes/class-wcpdf-writepanels.php:189
331
+ msgid "PDF Invoice Number (unformatted!)"
332
+ msgstr ""
333
+
334
+ #: templates/pdf/Simple/html-document-wrapper.php:6
335
+ #: templates/pdf/Simple/invoice.php:9 templates/pdf/Simple/invoice.php:21
336
+ msgid "Invoice"
337
+ msgstr "Faktura"
338
+
339
+ #: templates/pdf/Simple/html-document-wrapper.php:6
340
+ #: templates/pdf/Simple/packing-slip.php:9
341
+ #: templates/pdf/Simple/packing-slip.php:21
342
+ msgid "Packing Slip"
343
+ msgstr "Pakkseddel"
344
+
345
+ #: templates/pdf/Simple/invoice.php:37
346
+ msgid "Invoice Date:"
347
+ msgstr "Faktura Dato"
348
+
349
+ #: templates/pdf/Simple/invoice.php:40
350
+ #: templates/pdf/Simple/packing-slip.php:30
351
+ msgid "Order Date:"
352
+ msgstr "Ordre Dato:"
353
+
354
+ #: templates/pdf/Simple/invoice.php:46
355
+ msgid "Invoice Number:"
356
+ msgstr "Faktura nummer:"
357
+
358
+ #: templates/pdf/Simple/invoice.php:49
359
+ #: templates/pdf/Simple/packing-slip.php:32
360
+ msgid "Order Number:"
361
+ msgstr "Ordrenummer:"
362
+
363
+ #: templates/pdf/Simple/invoice.php:56
364
+ msgid "Payment Method:"
365
+ msgstr "Betlingsmåte:"
366
+
367
+ #: templates/pdf/Simple/invoice.php:69
368
+ #: templates/pdf/Simple/packing-slip.php:45
369
+ msgid "Product"
370
+ msgstr "Produkt:"
371
+
372
+ #: templates/pdf/Simple/invoice.php:70
373
+ #: templates/pdf/Simple/packing-slip.php:46
374
+ msgid "Quantity"
375
+ msgstr "Antall"
376
+
377
+ #: templates/pdf/Simple/invoice.php:71
378
+ msgid "Price"
379
+ msgstr "Pris"
380
+
381
+ #: templates/pdf/Simple/invoice.php:77
382
+ msgid "Description"
383
+ msgstr "Beskrivelse"
384
+
385
+ #: templates/pdf/Simple/invoice.php:80
386
+ #: templates/pdf/Simple/packing-slip.php:54
387
+ msgid "SKU:"
388
+ msgstr "Art.nr"
389
+
390
+ #: templates/pdf/Simple/invoice.php:81
391
+ #: templates/pdf/Simple/packing-slip.php:55
392
+ msgid "Weight:"
393
+ msgstr "Vekt"
394
+
395
+ #: templates/pdf/Simple/invoice.php:113
396
+ #: templates/pdf/Simple/packing-slip.php:69
397
+ msgid "Customer Notes"
398
+ msgstr "Kundenotat"
399
+
400
+ #: woocommerce-pdf-invoices-packingslips.php:96
401
+ #, php-format
402
+ msgid ""
403
+ "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
404
+ "installed & activated!"
405
+ msgstr ""
406
+
407
+ #: woocommerce-pdf-invoices-packingslips.php:191
408
+ #: woocommerce-pdf-invoices-packingslips.php:227
409
+ msgid "N/A"
410
+ msgstr ""
411
+
412
+ #: woocommerce-pdf-invoices-packingslips.php:249
413
+ msgid "Payment method"
414
+ msgstr "Betalingsmåte"
415
+
416
+ #: woocommerce-pdf-invoices-packingslips.php:260
417
+ msgid "Shipping method"
418
+ msgstr "Leveringsmåte"
419
+
420
+ #: woocommerce-pdf-invoices-packingslips.php:360
421
+ msgid "Subtotal"
422
+ msgstr "Total"
423
+
424
+ #: woocommerce-pdf-invoices-packingslips.php:382
425
+ msgid "Shipping"
426
+ msgstr "Frakt"
427
+
428
+ #: woocommerce-pdf-invoices-packingslips.php:416
429
+ msgid "Discount"
430
+ msgstr "Avslag"
431
+
432
+ #: woocommerce-pdf-invoices-packingslips.php:455
433
+ msgid "VAT"
434
+ msgstr "MVA"
435
+
436
+ #: woocommerce-pdf-invoices-packingslips.php:487
437
+ msgid "Total ex. VAT"
438
+ msgstr "Totalt ex.MVA"
439
+
440
+ #: woocommerce-pdf-invoices-packingslips.php:490
441
+ msgid "Total"
442
+ msgstr "Totalt"
443
+
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: pomegranate
3
  Tags: woocommerce, print, pdf, bulk, packing slips, invoices, delivery notes, invoice, packing slip, export, email
4
  Requires at least: 3.5 and WooCommerce 2.0
5
- Tested up to: 3.9.1 and WooCommerce 2.1
6
- Stable tag: 1.4.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -20,7 +20,7 @@ This WooCommerce extension automatically adds a PDF invoice to the order confirm
20
  * **Fully customizable** HTML/CSS invoice templates
21
  * Users can download their invoices from the My Account page
22
  * Sequential invoice numbers - with custom formatting
23
- * **Available in: Czech, Dutch, English, French, German, Hungarian, Italian, Polish, Romanian, Russian, Slovak, Spanish, Swedish & Ukrainian**
24
 
25
  Upload all invoices automatically to dropbox with our [WooCommerce PDF Invoices & Packing Slips to Dropbox](https://wpovernight.com/downloads/woocommerce-pdf-invoices-packing-slips-premium-templates/) extension!
26
 
@@ -182,6 +182,11 @@ This usually only happens on batch actions. PDF creation is a memory intensive j
182
 
183
  == Changelog ==
184
 
 
 
 
 
 
185
  = 1.4.4 =
186
  * Feature: Editable invoice date per order/invoice.
187
  * Feature: HTML is now allowed in footer and other settings fields.
2
  Contributors: pomegranate
3
  Tags: woocommerce, print, pdf, bulk, packing slips, invoices, delivery notes, invoice, packing slip, export, email
4
  Requires at least: 3.5 and WooCommerce 2.0
5
+ Tested up to: 3.9.2 and WooCommerce 2.1
6
+ Stable tag: 1.4.5
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
20
  * **Fully customizable** HTML/CSS invoice templates
21
  * Users can download their invoices from the My Account page
22
  * Sequential invoice numbers - with custom formatting
23
+ * **Available in: Czech, Dutch, English, French, German, Hungarian, Italian, Norwegian, Polish, Romanian, Russian, Slovak, Spanish, Swedish & Ukrainian**
24
 
25
  Upload all invoices automatically to dropbox with our [WooCommerce PDF Invoices & Packing Slips to Dropbox](https://wpovernight.com/downloads/woocommerce-pdf-invoices-packing-slips-premium-templates/) extension!
26
 
182
 
183
  == Changelog ==
184
 
185
+ = 1.4.5 =
186
+ * Fix: Double date conversion for order date on invoice number filter (to avoid i18n date issues)
187
+ * Fix: Template selector reset after update
188
+ * Translations: added Norwegian (Thanks Aleksander!)
189
+
190
  = 1.4.4 =
191
  * Feature: Editable invoice date per order/invoice.
192
  * Feature: HTML is now allowed in footer and other settings fields.
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.4
7
  * Author: Ewout Fernhout
8
  * Author URI: http://www.wpovernight.com
9
  * License: GPLv2 or later
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.5
7
  * Author: Ewout Fernhout
8
  * Author URI: http://www.wpovernight.com
9
  * License: GPLv2 or later