WooCommerce Print Invoice & Delivery Note - Version 1.1

Version Description

  • Maintenance release.
  • UPDATE: Changed product price calculation due to changes in WooCommerce itself -- this led to new required versions for this plugin: at least WordPress 3.3 and WooCommerce 1.4 or higher (Note: If you still have WooCommerc 1.3.x running then use version 1.0 of the Delivery Notes plugin!)
  • UPDATE: Custom fields on settings page now accept proper img tags, so you can add logo images or such via HTML IMG tag (for example: <img src="your-image-url" width="100" height="100" alt="Logo" title="My Shop" />)
  • UPDATE: Corrected readme.txt file
  • NEW: Added Swedish translation - Thanx to Christopher Anderton
  • UPDATE: Updated German translations and also the .pot file for all translators!
Download this release

Release Info

Developer daveshine
Plugin Icon 128x128 WooCommerce Print Invoice & Delivery Note
Version 1.1
Comparing to
See all releases

Code changes from version 1.0 to 1.1

delivery-note-template/css/style.css CHANGED
@@ -1,12 +1,16 @@
1
  /**
2
  * @description WooCommerce Delivery Notes styles
 
3
  * @since 1.0
 
 
 
 
4
  *
5
  * @author David Decker - DECKERWEB
6
- * @author-link http://deckerweb.de/
7
- * @copyright Copyright 2011, David Decker - DECKERWEB
8
  * @license GPLv3
9
- * @package WooCommerce Delivery Notes
10
  */
11
 
12
  /* Table of Contents
@@ -54,8 +58,12 @@ table {
54
 
55
  /**
56
  * Edit all the following rules to your needs
 
 
 
57
  */
58
 
 
59
  body {
60
  background: #fff;
61
  color: #000;
@@ -64,6 +72,7 @@ body {
64
  line-height: 125%;
65
  }
66
 
 
67
  td,
68
  th {
69
  border: 1px #ccc solid;
@@ -76,6 +85,7 @@ th {
76
  font-weight: 700;
77
  }
78
 
 
79
  #container {
80
  margin-left: auto;
81
  margin-right: auto;
@@ -120,6 +130,7 @@ th {
120
  border: 1px solid #666;
121
  }
122
 
 
123
  #wcdn-head,
124
  #order-items,
125
  #order-summary {
@@ -248,16 +259,14 @@ th {
248
  font-size: 1.2em;
249
  font-style: italic;
250
  padding: 10px 20px;
251
- /* text-align: center; */
252
  }
253
 
254
  #order-notes .notes-shipping,
255
  #order-notes .notes-policies {
256
  color: #444;
257
- /* float: left; */
258
  font-size: .95em;
259
  line-height: 125%;
260
- /* width: 350px; */
261
  }
262
 
263
  /* Footer Imprint - #wcdn-footer */
1
  /**
2
  * @description WooCommerce Delivery Notes styles
3
+ *
4
  * @since 1.0
5
+ * @version 1.1
6
+ *
7
+ * @package WooCommerce Delivery Notes
8
+ * @subpackage Template
9
  *
10
  * @author David Decker - DECKERWEB
11
+ * @link http://deckerweb.de/
12
+ * @copyright Copyright 2011-2012, David Decker - DECKERWEB
13
  * @license GPLv3
 
14
  */
15
 
16
  /* Table of Contents
58
 
59
  /**
60
  * Edit all the following rules to your needs
61
+ *
62
+ * For having your custom template in your theme please see the FAQ section:
63
+ * @link http://wordpress.org/extend/plugins/woocommerce-delivery-notes/faq/
64
  */
65
 
66
+ /* Main Body */
67
  body {
68
  background: #fff;
69
  color: #000;
72
  line-height: 125%;
73
  }
74
 
75
+ /* Basic Table Styling */
76
  td,
77
  th {
78
  border: 1px #ccc solid;
85
  font-weight: 700;
86
  }
87
 
88
+ /* Main Sections of the Page */
89
  #container {
90
  margin-left: auto;
91
  margin-right: auto;
130
  border: 1px solid #666;
131
  }
132
 
133
+ /* Special Margin & Overflow Stylings */
134
  #wcdn-head,
135
  #order-items,
136
  #order-summary {
259
  font-size: 1.2em;
260
  font-style: italic;
261
  padding: 10px 20px;
 
262
  }
263
 
264
  #order-notes .notes-shipping,
265
  #order-notes .notes-policies {
266
  color: #444;
267
+ float: left;
268
  font-size: .95em;
269
  line-height: 125%;
 
270
  }
271
 
272
  /* Footer Imprint - #wcdn-footer */
delivery-note-template/template.php CHANGED
@@ -16,7 +16,7 @@
16
  <div id="header">
17
  <div class="options">
18
  <a href="#print" onclick="javascript:openPrintWindow();return false;"><?php _e( 'Print Page', 'woocommerce-delivery-notes' ); ?></a>
19
- </div><!-- .entry-content -->
20
  </div><!-- #header -->
21
 
22
  <div id="content">
@@ -30,7 +30,7 @@
30
  echo wcdn_company_name();
31
  } ?></div>
32
  <div class="company-info"><?php echo wcdn_company_info(); ?></div>
33
- </div>
34
 
35
  <div id="order-listing">
36
  <h3><?php _e( 'Recipient:', 'woocommerce-delivery-notes' ); ?></h3>
@@ -71,9 +71,11 @@
71
  <tfoot>
72
  <?php $items = wcdn_get_order_items(); foreach( $items as $item ) : ?><tr>
73
  <td class="description"><?php echo $item['name']; ?><?php if( $item['variation'] ) : ?> <span class="variation"><?php echo $item['variation']; ?></span><?php endif; ?>
74
- <?php if( $item['sku'] || $item['weight'] ) : ?><br /><?php endif; ?><?php if( $item['sku'] ) : ?><span class="sku"><?php _e( 'SKU:', 'woocommerce-delivery-notes' ); ?> <?php echo $item['sku']; ?></span><?php endif; ?><?php if( $item['weight'] ) : ?><span class="weight"> <?php _e( 'Weight:', 'woocommerce-delivery-notes' ); ?> <?php echo $item['weight']; ?></span><?php endif; ?></td>
 
 
75
  <td class="quantity"><?php echo $item['quantity']; ?></td>
76
- <td class="price"><?php echo $item['price'] ?></td>
77
  <tr><?php endforeach; ?>
78
  </tfoot>
79
  </table>
@@ -114,13 +116,19 @@
114
 
115
  <div id="order-notes">
116
  <div class="notes-personal"><?php echo wcdn_personal_notes(); ?></div>
117
- <div class="notes-shipping"><?php echo wcdn_shipping_notes(); ?></div>
 
 
 
 
 
 
118
  <div class="notes-policies"><?php echo wcdn_policies_conditions(); ?></div>
119
- </div>
120
 
121
  <div id="wcdn-footer">
122
  <div class="wcdn-footer-imprint"><?php echo wcdn_footer_imprint(); ?></div>
123
- </div>
124
  </div><!-- #page -->
125
  </div><!-- #content -->
126
 
16
  <div id="header">
17
  <div class="options">
18
  <a href="#print" onclick="javascript:openPrintWindow();return false;"><?php _e( 'Print Page', 'woocommerce-delivery-notes' ); ?></a>
19
+ </div><!-- .options -->
20
  </div><!-- #header -->
21
 
22
  <div id="content">
30
  echo wcdn_company_name();
31
  } ?></div>
32
  <div class="company-info"><?php echo wcdn_company_info(); ?></div>
33
+ </div><!-- #wcdn-head -->
34
 
35
  <div id="order-listing">
36
  <h3><?php _e( 'Recipient:', 'woocommerce-delivery-notes' ); ?></h3>
71
  <tfoot>
72
  <?php $items = wcdn_get_order_items(); foreach( $items as $item ) : ?><tr>
73
  <td class="description"><?php echo $item['name']; ?><?php if( $item['variation'] ) : ?> <span class="variation"><?php echo $item['variation']; ?></span><?php endif; ?>
74
+ <?php if( $item['sku'] || $item['weight'] ) : ?><br /><?php endif; ?><?php if( $item['sku'] ) : ?><span class="sku"><?php _e( 'SKU:', 'woocommerce-delivery-notes' ); ?> <?php echo $item['sku']; ?></span><?php endif; ?><?php if( $item['weight'] ) : ?><span class="weight"> <?php _e( 'Weight:', 'woocommerce-delivery-notes' );
75
+ echo '&nbsp;' . $item['weight'];
76
+ echo '&nbsp;' . get_option( 'woocommerce_weight_unit' ); ?></span><?php endif; ?></td>
77
  <td class="quantity"><?php echo $item['quantity']; ?></td>
78
+ <td class="price"><?php echo $item['price']; ?></td>
79
  <tr><?php endforeach; ?>
80
  </tfoot>
81
  </table>
116
 
117
  <div id="order-notes">
118
  <div class="notes-personal"><?php echo wcdn_personal_notes(); ?></div>
119
+ <div class="notes-shipping"><?php
120
+ if ( wcdn_shipping_notes() ) {
121
+ echo '<h3>' . __( 'Customer Notes:', 'woocommerce-delivery-notes' ) . '</h3>';
122
+ echo '<br />';
123
+ }
124
+
125
+ echo wcdn_shipping_notes(); ?></div>
126
  <div class="notes-policies"><?php echo wcdn_policies_conditions(); ?></div>
127
+ </div><!-- #order-notes -->
128
 
129
  <div id="wcdn-footer">
130
  <div class="wcdn-footer-imprint"><?php echo wcdn_footer_imprint(); ?></div>
131
+ </div><!-- #wcdn-footer -->
132
  </div><!-- #page -->
133
  </div><!-- #content -->
134
 
languages/woocommerce-delivery-notes-de_DE.mo CHANGED
Binary file
languages/woocommerce-delivery-notes-de_DE.po CHANGED
@@ -1,4 +1,4 @@
1
- # This German Language File: Copyright (C) 2011 by David Decker of deckerweb.de & genesisthemes.de
2
  # This file is distributed under the same license as the WooCommerce Delivery Notes Plugin package.
3
  #
4
  # Weitere deutsche Sprachdateien fuer WooCommerce und WordPress sind hier zu finden:
@@ -9,7 +9,7 @@ msgstr ""
9
  "Project-Id-Version: WooCommerce Delivery Notes (Plugin, SIE-Version)\n"
10
  "Report-Msgid-Bugs-To: http://wordpress.org/tags/woocommerce-delivery-notes\n"
11
  "POT-Creation-Date: 2011-12-26 14:02+0100\n"
12
- "PO-Revision-Date: 2011-12-30 01:43+0100\n"
13
  "Last-Translator: David Decker <deckerweb.mobil@googlemail.com>\n"
14
  "Language-Team: DECKERWEB <deckerweb.mobil@googlemail.com>\n"
15
  "MIME-Version: 1.0\n"
@@ -26,13 +26,13 @@ msgstr ""
26
  #@ woocommerce-delivery-notes
27
  #: delivery-note-template/template.php:5
28
  #: delivery-note-template/template.php:25
29
- #: wcdn-classes.php:101
30
  msgid "Delivery Note"
31
  msgstr "Lieferschein"
32
 
33
  #@ woocommerce-delivery-notes
34
  #: delivery-note-template/template.php:18
35
- #: delivery-note-template/template.php:129
36
  msgid "Print Page"
37
  msgstr "Seite ausdrucken"
38
 
@@ -47,53 +47,53 @@ msgid "Price"
47
  msgstr "Preis"
48
 
49
  #@ woocommerce-delivery-notes
50
- #: delivery-note-template/template.php:86
51
  msgid "Subtotal"
52
  msgstr "Zwischensumme"
53
 
54
  #@ woocommerce-delivery-notes
55
- #: delivery-note-template/template.php:91
56
  msgid "Shipping"
57
  msgstr "Versand"
58
 
59
  #@ woocommerce-delivery-notes
60
- #: delivery-note-template/template.php:97
61
  msgid "Tax"
62
  msgstr "Mwst."
63
 
64
  #@ woocommerce-delivery-notes
65
- #: delivery-note-template/template.php:103
66
  msgid "Discount"
67
  msgstr "Rabatt"
68
 
69
  #@ woocommerce-delivery-notes
70
- #: delivery-note-template/template.php:108
71
  msgid "Grand Total"
72
  msgstr "Gesamtsumme"
73
 
74
  #@ woocommerce-delivery-notes
75
- #: wcdn-classes.php:144
76
- #: wcdn-print.php:27
77
  msgid "You do not have sufficient permissions to access this page."
78
  msgstr "Sie haben keine ausreichende Rechte, um auf diese Seite zugreifen zu können."
79
 
80
  #@ woocommerce-delivery-notes
81
- #: wcdn-classes.php:115
82
  msgid "View &amp; Print Delivery Note"
83
  msgstr "Lieferschein Anzeigen &amp; Drucken"
84
 
85
  #@ woocommerce-delivery-notes
86
- #: wcdn-classes.php:132
87
  msgid "Delivery Notes Settings"
88
  msgstr "Lieferschein-Einstellungen"
89
 
90
  #@ woocommerce-delivery-notes
91
- #: wcdn-classes.php:160
92
  msgid "Settings saved."
93
  msgstr "Einstellungen gespeichert."
94
 
95
  #@ woocommerce-delivery-notes
96
- #: wcdn-classes.php:248
97
  msgid "Save Changes"
98
  msgstr "Änderungen speichern"
99
 
@@ -122,39 +122,33 @@ msgid "http://deckerweb.de/"
122
  msgstr "http://deckerweb.de/"
123
 
124
  #@ woocommerce-delivery-notes
125
- #. translators: plugin header field 'Version'
126
- #: woocommerce-delivery-notes.php:0
127
- msgid "1.0"
128
- msgstr "1.0"
129
-
130
- #@ woocommerce-delivery-notes
131
- #: woocommerce-delivery-notes.php:48
132
  msgid "Go to the settings page"
133
  msgstr "Zur Einstellungsseite des Plugins"
134
 
135
  #@ woocommerce-delivery-notes
136
- #: woocommerce-delivery-notes.php:48
137
  msgid "Settings"
138
  msgstr "Einstellungen"
139
 
140
  #@ woocommerce-delivery-notes
141
- #: wcdn-help.php:23
142
  msgid "FAQ"
143
  msgstr "FAQ - Häufige Fragen"
144
 
145
  #@ woocommerce-delivery-notes
146
- #: wcdn-help.php:24
147
  msgid "Support"
148
  msgstr "Hilfe und Unterstützung (Support)"
149
 
150
  #@ woocommerce-delivery-notes
151
- #: wcdn-help.php:25
152
- #: wcdn-help.php:147
153
  msgid "http://genesisthemes.de/en/donate/"
154
  msgstr "http://genesisthemes.de/spenden/"
155
 
156
  #@ woocommerce-delivery-notes
157
- #: wcdn-help.php:25
158
  msgid "Donate"
159
  msgstr "Spenden"
160
 
@@ -164,22 +158,22 @@ msgid "Product Name"
164
  msgstr "Produktbezeichnung"
165
 
166
  #@ woocommerce-delivery-notes
167
- #: wcdn-classes.php:194
168
  msgid "Company/Shop Address:"
169
  msgstr "Firmen-/ Shop-Anschrift:"
170
 
171
  #@ woocommerce-delivery-notes
172
- #: wcdn-classes.php:207
173
  msgid "Personal Notes:"
174
  msgstr "Persönliche Anmerkungen:"
175
 
176
  #@ woocommerce-delivery-notes
177
- #: wcdn-classes.php:220
178
  msgid "Returns Policy, Conditions, etc.:"
179
  msgstr "Rückgabe- und sonstige Bedingungen:"
180
 
181
  #@ woocommerce-delivery-notes
182
- #: wcdn-classes.php:233
183
  msgid "Footer Imprint:"
184
  msgstr "Fußzeile Impressum:"
185
 
@@ -209,56 +203,56 @@ msgid "Weight:"
209
  msgstr "Gewicht:"
210
 
211
  #@ woocommerce-delivery-notes
212
- #: wcdn-help.php:69
213
- #: wcdn-help.php:110
214
  msgid "What the Plugin Does"
215
  msgstr "Was das Plugin bewirkt"
216
 
217
  #@ woocommerce-delivery-notes
218
- #: wcdn-help.php:74
219
- #: wcdn-help.php:121
220
  msgid "FAQ - Frequently Asked Questions"
221
  msgstr "FAQ - Häufig gestellte Fragen"
222
 
223
  #@ woocommerce-delivery-notes
224
- #: wcdn-help.php:84
225
- #: wcdn-help.php:158
226
  msgid "Author - License"
227
  msgstr "Autor - Lizenz"
228
 
229
  #@ woocommerce-delivery-notes
230
- #: wcdn-help.php:79
231
- #: wcdn-help.php:146
232
  msgid "Support - Donations - Rating &amp; Tips"
233
  msgstr "Hilfe &amp; Unterstützung - Spenden - Bewertung &amp; Tipps"
234
 
235
  #@ woocommerce-delivery-notes
236
- #: wcdn-help.php:108
237
- #: wcdn-help.php:119
238
- #: wcdn-help.php:144
239
- #: wcdn-help.php:156
240
  msgid "Plugin: WooCommerce Delivery Notes"
241
  msgstr "Plugin: WooCommerce Lieferscheine"
242
 
243
  #@ woocommerce-delivery-notes
244
- #: wcdn-help.php:111
245
  msgid "This plugin enables you to add a simple Delivery Note page for printing for your orders in WooCommerce shop plugin. You can add your company postal address, further add personal notes, refund or other policies and a footer note/branding. This helps speed up your daily shop and order management. In some countries (e.g. in the European Union) it is also required to advice the customer with proper refund policies so this little plugin might help you a bit with that too."
246
  msgstr "Dieses Plugin ermöglicht es, einen einfachen Lieferschein zum Ausdrucken für das WooCommerce Shop-Plugin zu erhalten. Sie können Ihre Firmen-/ Shop-Informationen, ebenso persönliche Anmerkungen, weiterhin Bedingungen/ Widerrufbelehrung u.Ä. sowie eine Fußzeile (Impressum/ Branding) hinzufügen. Damit beschleunigen Sie die tägliche Shop-Verwaltung. Da in Ländern der Europäischen Union oftmals vorgeschrieben ist, Widerrufsbelehrungen u.Ä. der Bestellung beizulegen, können Sie dies hiermit besser erfüllen und außerdem Ihren Kunden bequem die Bestell-Infos in die Hand geben."
247
 
248
  #@ woocommerce-delivery-notes
249
- #: wcdn-help.php:147
250
  #, php-format
251
  msgid "<strong>Donations:</strong> Please %1$sdonate to support the further maintenance and development%2$s of the plugin. <em>Thank you in advance!</em>"
252
  msgstr "<strong>Spenden:</strong> Bitte %1$sspenden für die weitere Pflege und Entwicklung dieses Plugins%2$s. <em>Bereits im Voraus vielen Dank für jede Unterstützung!</em>"
253
 
254
  #@ woocommerce-delivery-notes
255
- #: wcdn-help.php:148
256
  #, php-format
257
  msgid "<strong>Support:</strong> Done via %1$sWordPress.org plugin page support forum%2$s. - Maybe I will setup my own support forum in the future, though."
258
  msgstr "<strong>Unterstützung (Support):</strong> Erfolgt via %1$sWordPress.org Plugin-Supportforum%2$s. - Hinweis: Eventuell wird es in Zukunft ein eigenes Supportforum geben."
259
 
260
  #@ woocommerce-delivery-notes
261
- #: wcdn-classes.php:181
262
  msgid "Company/Shop Name:"
263
  msgstr "Firmen-/ Shop-Name:"
264
 
@@ -269,177 +263,188 @@ msgid "This plugin adds simple Delivery Notes for the WooCommerce Shop Plugin. Y
269
  msgstr "Dieses Plugin stellt einfache Lieferscheine für das WooCommerce Shop Plugin bereit. Es können dabei auch Firmen-/ Shop-Infos ebenso wie persönliche Anmerkungen oder Bedingungen/ Widerrufsbelehrungen zur Druckseite hinzugefügt werden."
270
 
271
  #@ woocommerce-delivery-notes
272
- #: wcdn-classes.php:186
273
  msgid "Your custom company or shop name for the Delivery Note."
274
  msgstr "Ihr benutzerdefinierter Firmen- oder Shop-Name für den Lieferschein."
275
 
276
  #@ woocommerce-delivery-notes
277
- #: wcdn-classes.php:187
278
- #: wcdn-classes.php:200
279
- #: wcdn-classes.php:213
280
- #: wcdn-classes.php:226
281
- #: wcdn-classes.php:239
282
  msgid "Note:"
283
  msgstr "Hinweis:"
284
 
285
  #@ woocommerce-delivery-notes
286
- #: wcdn-classes.php:188
287
  msgid "Leave blank to use your default Website/ Blog title defined in WordPress settings."
288
  msgstr "Leer lassen, um den standardmäßigen Webseiten- bzw. Blogtitel zu verwenden, der in den WordPress-Einstellungen festgelegt wird."
289
 
290
  #@ woocommerce-delivery-notes
291
- #: wcdn-classes.php:199
292
  msgid "The postal address of the company/shop, which gets printed right of the company/shop name, above the order listings."
293
  msgstr "Die Postanschrift der Firma bzw. des Shops, welche rechts neben dem Firmen-/ Shopname ausgegeben wird, über den Bestelldaten."
294
 
295
  #@ woocommerce-delivery-notes
296
- #: wcdn-classes.php:201
297
  msgid "Here, you can also add some other contact information like the telephone and email."
298
  msgstr "Hier können Sie ebenfalls weitere Kontaktinformationen wie etwa Telefon oder E-Mail-Adresse angeben."
299
 
300
  #@ woocommerce-delivery-notes
301
- #: wcdn-classes.php:212
302
  msgid "Add some personal notes, or season greetings or whatever (e.g. Thank You for Your Order!, Merry Christmas!, etc.)."
303
  msgstr "Fügen Sie einige persönliche Anmerkungen wie Dank, jahreszeitliche Grüße hinzu (z.B.: Danke für Ihre Bestellung!, Frohe Weihnachten!, etc.)."
304
 
305
  #@ woocommerce-delivery-notes
306
- #: wcdn-classes.php:214
307
  msgid "This info gets printed below the order listings but above the regular shipping notes (added at WooCommerce single order pages). These personal notes here will get styled with bigger font size."
308
  msgstr "Diese Informationen werden direkt unter den Bestelldaten ausgegeben, aber über den regulären Bestellnotizen (die auf den WooCommerce-Bestellseiten hinzugefügt werden). Diese persönlichen Anmerkungen werden etwas hervorgehobener dargestellt, insbesondere mit etwas größerer Schriftgröße."
309
 
310
  #@ woocommerce-delivery-notes
311
- #: wcdn-classes.php:225
312
  msgid "Here you can add some more policies, conditions etc. For example add a returns policy in case the client would like to send back some goods."
313
  msgstr "Hier können Sie einige weitere Bedingungen angeben. Zum Beispiel Bedingungen für die Rückgabe, Widerrufsbelehrung etc."
314
 
315
  #@ woocommerce-delivery-notes
316
- #: wcdn-classes.php:227
317
  msgid "In some countries (e.g. in the European Union) this is required so please add any required info in accordance with the statutory regulations."
318
  msgstr "In einigen Ländern (z.B. innerhalb der EU) ist dies sogar vorgeschrieben - informieren Sie sich daher über die entsprechenden gesetzlichen Bestimmungen für Ihr Land."
319
 
320
  #@ woocommerce-delivery-notes
321
- #: wcdn-classes.php:238
322
  msgid "Add some further footer imprint, copyright notes etc. to get the printed sheets a bit more branded to your needs."
323
  msgstr "Fügen Sie Impressumangaben in der Fußzeile hinzu. Damit können die Ausdrucke noch stärker an Ihr CI bzw. rechtliche Anforderungen angepasst werden."
324
 
325
  #@ woocommerce-delivery-notes
326
- #: wcdn-classes.php:240
327
  msgid " This footer info gets printed in lower font size and a bit lighter text color."
328
  msgstr "Diese Informationen werden in kleinerer Schriftgröße und hellerer Textfarbe am Fuß ausgegeben."
329
 
330
  #@ woocommerce-delivery-notes
331
- #: wcdn-classes.php:170
332
  msgid "WooCommerce - Delivery Notes Settings"
333
  msgstr "WooCommerce - Lieferschein-Einstellungen"
334
 
335
  #@ woocommerce-delivery-notes
336
- #: wcdn-classes.php:172
337
  msgid "All setting fields below are optional - you can leave them empty to not use them at all or only apply what you need."
338
  msgstr "Alle Einstellungsfelder unten sind optional - Felder, die leer bleiben, erscheinen dann nicht auf dem Lieferschein."
339
 
340
  #@ woocommerce-delivery-notes
341
- #: wcdn-help.php:90
342
  msgid "Feedback and more about the Author"
343
  msgstr "Feedback und mehr über den Autor"
344
 
345
  #@ woocommerce-delivery-notes
346
- #: wcdn-help.php:92
347
  msgid "Social:"
348
  msgstr "Soziale Netzwerke:"
349
 
350
  #@ woocommerce-delivery-notes
351
- #: wcdn-help.php:92
352
  msgid "Twitter"
353
  msgstr "Twitter"
354
 
355
  #@ woocommerce-delivery-notes
356
- #: wcdn-help.php:92
357
  msgid "Facebook"
358
  msgstr "Facebook"
359
 
360
  #@ woocommerce-delivery-notes
361
- #: wcdn-help.php:92
362
  msgid "Google+"
363
  msgstr "Google+"
364
 
365
  #@ woocommerce-delivery-notes
366
- #: wcdn-help.php:112
367
  #, php-format
368
  msgid "Just look under <a href=\"%1$s\">WooCommerce > Orders</a> and there go to a single order view. On the right side you will see the Delivery Note meta box. Click and you get the delivery Note printing page. Yes, it is that easy :-)."
369
  msgstr "Schauen Sie einfach unter <a href=\"%1$s\">WooCommerce > Bestellungen</a> und rufen Sie dort eine einzelne Bestellung auf. Auf rechten Seite erscheint die <em>Lieferschein</em>-Metabox. Klicken Sie dort und es öffnet sich der Lieferschein zum Ausdrucken. Das ist schon alles :-)."
370
 
371
  #@ woocommerce-delivery-notes
372
- #: wcdn-help.php:124
373
- #: wcdn-help.php:132
374
  msgid "Question:"
375
  msgstr "Frage:"
376
 
377
  #@ woocommerce-delivery-notes
378
- #: wcdn-help.php:126
379
- #: wcdn-help.php:134
380
  msgid "Answer:"
381
  msgstr "Antwort:"
382
 
383
  #@ woocommerce-delivery-notes
384
- #: wcdn-help.php:149
385
  #, php-format
386
  msgid "<strong>Rating &amp; Tips:</strong> If you like the plugin please %1$srate at WordPress.org%2$s with 5 stars. <em>Thank you!</em> &mdash; %3$sMore plugins for WordPress by DECKERWEB%2$s"
387
  msgstr "<strong>Bewerten &amp; Tipps:</strong> Wenn das Plugin gefällt, einfach %1$sbei WordPress.org%2$s mit 5 Sternen bewerten. <em>Vielen Dank! :)</em> &mdash; %3$sMehr Plugins für Genesis von DECKERWEB%2$s"
388
 
389
  #@ woocommerce-delivery-notes
390
- #: wcdn-help.php:159
391
  #, php-format
392
  msgid "<strong>Author:</strong> David Decker of %1$sdeckerweb.de%2$s and %3$sGenesisThemes%2$s - Join me at %4$sTwitter%2$s, %5$sFacebook%2$s and %6$sGoogle Plus%2$s :-)"
393
  msgstr "<strong>Autor:</strong> David Decker von %1$sdeckerweb.de%2$s und %3$sGenesisThemes.de%2$s - Mich unterstützen bei %4$sTwitter%2$s, %5$sFacebook%2$s und %6$sGoogle Plus%2$s :-)"
394
 
395
  #@ woocommerce-delivery-notes
396
- #: wcdn-help.php:160
397
  #, php-format
398
  msgid "<strong>License:</strong> GPL v3 - %1$sMore info on the GPL license ...%2$s"
399
  msgstr "<strong>Lizenz:</strong> GPL v3 - %1$sMehr Informationen zur GPL-Lizenz (Engl.) ...%2$s"
400
 
401
  #@ woocommerce-delivery-notes
402
- #: wcdn-help.php:91
403
  msgid "Website"
404
  msgstr "Webseite"
405
 
406
  #@ woocommerce-delivery-notes
407
- #: wcdn-help.php:93
408
  msgid "at WordPress.org"
409
  msgstr "bei WordPress.org"
410
 
411
  #@ woocommerce-delivery-notes
412
- #: wcdn-help.php:91
413
  msgid "http://genesisthemes.de/en/"
414
  msgstr "http://deckerweb.de/"
415
 
416
  #@ woocommerce-delivery-notes
417
- #: wcdn-help.php:125
418
  msgid "Can I use a Custom Template for the printing page?"
419
  msgstr "Kann ein benutzerdefiniertes Template für die Lieferschein-Druckseite verwendet werden?"
420
 
421
  #@ woocommerce-delivery-notes
422
- #: wcdn-help.php:128
423
  msgid "Note: This works with both single themes and child themes (if you use some framework like Genesis). If your current active theme is a child theme put the custom folder there! (e.g. <code>/wp-content/themes/your-child-theme-name/woocommerce</code>)"
424
  msgstr "Hinweis: Dies funktioniert mit beiden, Single-Themes und Child Themes (wenn Frameworks wie etwa Genesis verwendet werden). Wenn Ihr derzeit aktives Theme ein Child Theme ist, fügen Sie den benutzerdefinierten Ordner dort ein! (z.B. <code>/wp-content/themes/ihr-child-theme-name/woocommerce</code>)"
425
 
426
  #@ woocommerce-delivery-notes
427
- #: wcdn-help.php:133
428
  msgid "What Template Functions can I use?"
429
  msgstr "Welche Template-Funktionen können verwendet werden?"
430
 
431
  #@ woocommerce-delivery-notes
432
- #: wcdn-help.php:127
433
  msgid "If you want to use your own template then all you need to do is copy the <code>/wp-content/plugins/woocommerce-delivery-notes/delivery-note-template</code> folder and paste it inside your <code>/wp-content/themes/your-theme-name/woocommerce</code> folder (if not there just create it). The folder from the plugin comes with the default template and the basic CSS stylesheet file. You can modifiy this to fit your own needs."
434
  msgstr "Wenn Sie Ihr eigenes Template verwenden wollen, müssen Sie den entsprechenden Ordner <code>/wp-content/plugins/woocommerce-delivery-notes/delivery-note-template</code> in Ihren Theme-Ordner kopieren <code>/wp-content/themes/ihr-theme-name/woocommerce</code>. Falls es diesen noch nicht gibt, einfach erstellen. Der Plugin-Ordner enthält das Standard-Template und das CSS-Stylesheet. Beide können an eigene Bedürfnisse angepasst werden."
435
 
436
  #@ woocommerce-delivery-notes
437
- #: wcdn-help.php:136
438
  msgid "Important note: This is only intended for developers who know what they do! Please be careful with adding any code/functions! The default template and functions should fit most use cases."
439
  msgstr "Wichtiger Hinweis: Dies wird nur empfohlen für Entwickler, die wissen, was sie tun! Bitte seien Sie vorsichtig beim Hinzufügen eigener Codes bzw. Funktionen! Das Standard-Template sollte für die meisten Anwendungsfälle bereits ausreichen."
440
 
441
  #@ woocommerce-delivery-notes
442
- #: wcdn-help.php:135
443
  msgid "Arbitrary php code and all WordPress functions are available in the template. Besides that there are many Delivery Notes specific template functions. Open the <code>woocommerce-delivery-notes/wcdn-print.php</code> file to see all available functions."
444
  msgstr "Im Template sind alle WordPress-Funktionen und beliebiger PHP-Code verfügbar. Außerdem sind viele Lieferschein-spezifische Template-Funktionen verfügbar. Diese sind in der Plugin-Datei <code>woocommerce-delivery-notes/wcdn-print.php</code> zu finden bzw. dokumentiert."
445
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This German Language File: Copyright (C) 2011-2012 by David Decker of deckerweb.de & genesisthemes.de
2
  # This file is distributed under the same license as the WooCommerce Delivery Notes Plugin package.
3
  #
4
  # Weitere deutsche Sprachdateien fuer WooCommerce und WordPress sind hier zu finden:
9
  "Project-Id-Version: WooCommerce Delivery Notes (Plugin, SIE-Version)\n"
10
  "Report-Msgid-Bugs-To: http://wordpress.org/tags/woocommerce-delivery-notes\n"
11
  "POT-Creation-Date: 2011-12-26 14:02+0100\n"
12
+ "PO-Revision-Date: 2012-02-07 02:55+0100\n"
13
  "Last-Translator: David Decker <deckerweb.mobil@googlemail.com>\n"
14
  "Language-Team: DECKERWEB <deckerweb.mobil@googlemail.com>\n"
15
  "MIME-Version: 1.0\n"
26
  #@ woocommerce-delivery-notes
27
  #: delivery-note-template/template.php:5
28
  #: delivery-note-template/template.php:25
29
+ #: wcdn-classes.php:105
30
  msgid "Delivery Note"
31
  msgstr "Lieferschein"
32
 
33
  #@ woocommerce-delivery-notes
34
  #: delivery-note-template/template.php:18
35
+ #: delivery-note-template/template.php:137
36
  msgid "Print Page"
37
  msgstr "Seite ausdrucken"
38
 
47
  msgstr "Preis"
48
 
49
  #@ woocommerce-delivery-notes
50
+ #: delivery-note-template/template.php:88
51
  msgid "Subtotal"
52
  msgstr "Zwischensumme"
53
 
54
  #@ woocommerce-delivery-notes
55
+ #: delivery-note-template/template.php:93
56
  msgid "Shipping"
57
  msgstr "Versand"
58
 
59
  #@ woocommerce-delivery-notes
60
+ #: delivery-note-template/template.php:99
61
  msgid "Tax"
62
  msgstr "Mwst."
63
 
64
  #@ woocommerce-delivery-notes
65
+ #: delivery-note-template/template.php:105
66
  msgid "Discount"
67
  msgstr "Rabatt"
68
 
69
  #@ woocommerce-delivery-notes
70
+ #: delivery-note-template/template.php:110
71
  msgid "Grand Total"
72
  msgstr "Gesamtsumme"
73
 
74
  #@ woocommerce-delivery-notes
75
+ #: wcdn-classes.php:149
76
+ #: wcdn-print.php:31
77
  msgid "You do not have sufficient permissions to access this page."
78
  msgstr "Sie haben keine ausreichende Rechte, um auf diese Seite zugreifen zu können."
79
 
80
  #@ woocommerce-delivery-notes
81
+ #: wcdn-classes.php:119
82
  msgid "View &amp; Print Delivery Note"
83
  msgstr "Lieferschein Anzeigen &amp; Drucken"
84
 
85
  #@ woocommerce-delivery-notes
86
+ #: wcdn-classes.php:136
87
  msgid "Delivery Notes Settings"
88
  msgstr "Lieferschein-Einstellungen"
89
 
90
  #@ woocommerce-delivery-notes
91
+ #: wcdn-classes.php:165
92
  msgid "Settings saved."
93
  msgstr "Einstellungen gespeichert."
94
 
95
  #@ woocommerce-delivery-notes
96
+ #: wcdn-classes.php:253
97
  msgid "Save Changes"
98
  msgstr "Änderungen speichern"
99
 
122
  msgstr "http://deckerweb.de/"
123
 
124
  #@ woocommerce-delivery-notes
125
+ #: woocommerce-delivery-notes.php:59
 
 
 
 
 
 
126
  msgid "Go to the settings page"
127
  msgstr "Zur Einstellungsseite des Plugins"
128
 
129
  #@ woocommerce-delivery-notes
130
+ #: woocommerce-delivery-notes.php:59
131
  msgid "Settings"
132
  msgstr "Einstellungen"
133
 
134
  #@ woocommerce-delivery-notes
135
+ #: wcdn-help.php:32
136
  msgid "FAQ"
137
  msgstr "FAQ - Häufige Fragen"
138
 
139
  #@ woocommerce-delivery-notes
140
+ #: wcdn-help.php:33
141
  msgid "Support"
142
  msgstr "Hilfe und Unterstützung (Support)"
143
 
144
  #@ woocommerce-delivery-notes
145
+ #: wcdn-help.php:34
146
+ #: wcdn-help.php:161
147
  msgid "http://genesisthemes.de/en/donate/"
148
  msgstr "http://genesisthemes.de/spenden/"
149
 
150
  #@ woocommerce-delivery-notes
151
+ #: wcdn-help.php:34
152
  msgid "Donate"
153
  msgstr "Spenden"
154
 
158
  msgstr "Produktbezeichnung"
159
 
160
  #@ woocommerce-delivery-notes
161
+ #: wcdn-classes.php:199
162
  msgid "Company/Shop Address:"
163
  msgstr "Firmen-/ Shop-Anschrift:"
164
 
165
  #@ woocommerce-delivery-notes
166
+ #: wcdn-classes.php:212
167
  msgid "Personal Notes:"
168
  msgstr "Persönliche Anmerkungen:"
169
 
170
  #@ woocommerce-delivery-notes
171
+ #: wcdn-classes.php:225
172
  msgid "Returns Policy, Conditions, etc.:"
173
  msgstr "Rückgabe- und sonstige Bedingungen:"
174
 
175
  #@ woocommerce-delivery-notes
176
+ #: wcdn-classes.php:238
177
  msgid "Footer Imprint:"
178
  msgstr "Fußzeile Impressum:"
179
 
203
  msgstr "Gewicht:"
204
 
205
  #@ woocommerce-delivery-notes
206
+ #: wcdn-help.php:81
207
+ #: wcdn-help.php:124
208
  msgid "What the Plugin Does"
209
  msgstr "Was das Plugin bewirkt"
210
 
211
  #@ woocommerce-delivery-notes
212
+ #: wcdn-help.php:86
213
+ #: wcdn-help.php:135
214
  msgid "FAQ - Frequently Asked Questions"
215
  msgstr "FAQ - Häufig gestellte Fragen"
216
 
217
  #@ woocommerce-delivery-notes
218
+ #: wcdn-help.php:96
219
+ #: wcdn-help.php:172
220
  msgid "Author - License"
221
  msgstr "Autor - Lizenz"
222
 
223
  #@ woocommerce-delivery-notes
224
+ #: wcdn-help.php:91
225
+ #: wcdn-help.php:160
226
  msgid "Support - Donations - Rating &amp; Tips"
227
  msgstr "Hilfe &amp; Unterstützung - Spenden - Bewertung &amp; Tipps"
228
 
229
  #@ woocommerce-delivery-notes
230
+ #: wcdn-help.php:122
231
+ #: wcdn-help.php:133
232
+ #: wcdn-help.php:158
233
+ #: wcdn-help.php:170
234
  msgid "Plugin: WooCommerce Delivery Notes"
235
  msgstr "Plugin: WooCommerce Lieferscheine"
236
 
237
  #@ woocommerce-delivery-notes
238
+ #: wcdn-help.php:125
239
  msgid "This plugin enables you to add a simple Delivery Note page for printing for your orders in WooCommerce shop plugin. You can add your company postal address, further add personal notes, refund or other policies and a footer note/branding. This helps speed up your daily shop and order management. In some countries (e.g. in the European Union) it is also required to advice the customer with proper refund policies so this little plugin might help you a bit with that too."
240
  msgstr "Dieses Plugin ermöglicht es, einen einfachen Lieferschein zum Ausdrucken für das WooCommerce Shop-Plugin zu erhalten. Sie können Ihre Firmen-/ Shop-Informationen, ebenso persönliche Anmerkungen, weiterhin Bedingungen/ Widerrufbelehrung u.Ä. sowie eine Fußzeile (Impressum/ Branding) hinzufügen. Damit beschleunigen Sie die tägliche Shop-Verwaltung. Da in Ländern der Europäischen Union oftmals vorgeschrieben ist, Widerrufsbelehrungen u.Ä. der Bestellung beizulegen, können Sie dies hiermit besser erfüllen und außerdem Ihren Kunden bequem die Bestell-Infos in die Hand geben."
241
 
242
  #@ woocommerce-delivery-notes
243
+ #: wcdn-help.php:161
244
  #, php-format
245
  msgid "<strong>Donations:</strong> Please %1$sdonate to support the further maintenance and development%2$s of the plugin. <em>Thank you in advance!</em>"
246
  msgstr "<strong>Spenden:</strong> Bitte %1$sspenden für die weitere Pflege und Entwicklung dieses Plugins%2$s. <em>Bereits im Voraus vielen Dank für jede Unterstützung!</em>"
247
 
248
  #@ woocommerce-delivery-notes
249
+ #: wcdn-help.php:162
250
  #, php-format
251
  msgid "<strong>Support:</strong> Done via %1$sWordPress.org plugin page support forum%2$s. - Maybe I will setup my own support forum in the future, though."
252
  msgstr "<strong>Unterstützung (Support):</strong> Erfolgt via %1$sWordPress.org Plugin-Supportforum%2$s. - Hinweis: Eventuell wird es in Zukunft ein eigenes Supportforum geben."
253
 
254
  #@ woocommerce-delivery-notes
255
+ #: wcdn-classes.php:186
256
  msgid "Company/Shop Name:"
257
  msgstr "Firmen-/ Shop-Name:"
258
 
263
  msgstr "Dieses Plugin stellt einfache Lieferscheine für das WooCommerce Shop Plugin bereit. Es können dabei auch Firmen-/ Shop-Infos ebenso wie persönliche Anmerkungen oder Bedingungen/ Widerrufsbelehrungen zur Druckseite hinzugefügt werden."
264
 
265
  #@ woocommerce-delivery-notes
266
+ #: wcdn-classes.php:191
267
  msgid "Your custom company or shop name for the Delivery Note."
268
  msgstr "Ihr benutzerdefinierter Firmen- oder Shop-Name für den Lieferschein."
269
 
270
  #@ woocommerce-delivery-notes
271
+ #: wcdn-classes.php:192
272
+ #: wcdn-classes.php:205
273
+ #: wcdn-classes.php:218
274
+ #: wcdn-classes.php:231
275
+ #: wcdn-classes.php:244
276
  msgid "Note:"
277
  msgstr "Hinweis:"
278
 
279
  #@ woocommerce-delivery-notes
280
+ #: wcdn-classes.php:193
281
  msgid "Leave blank to use your default Website/ Blog title defined in WordPress settings."
282
  msgstr "Leer lassen, um den standardmäßigen Webseiten- bzw. Blogtitel zu verwenden, der in den WordPress-Einstellungen festgelegt wird."
283
 
284
  #@ woocommerce-delivery-notes
285
+ #: wcdn-classes.php:204
286
  msgid "The postal address of the company/shop, which gets printed right of the company/shop name, above the order listings."
287
  msgstr "Die Postanschrift der Firma bzw. des Shops, welche rechts neben dem Firmen-/ Shopname ausgegeben wird, über den Bestelldaten."
288
 
289
  #@ woocommerce-delivery-notes
290
+ #: wcdn-classes.php:206
291
  msgid "Here, you can also add some other contact information like the telephone and email."
292
  msgstr "Hier können Sie ebenfalls weitere Kontaktinformationen wie etwa Telefon oder E-Mail-Adresse angeben."
293
 
294
  #@ woocommerce-delivery-notes
295
+ #: wcdn-classes.php:217
296
  msgid "Add some personal notes, or season greetings or whatever (e.g. Thank You for Your Order!, Merry Christmas!, etc.)."
297
  msgstr "Fügen Sie einige persönliche Anmerkungen wie Dank, jahreszeitliche Grüße hinzu (z.B.: Danke für Ihre Bestellung!, Frohe Weihnachten!, etc.)."
298
 
299
  #@ woocommerce-delivery-notes
300
+ #: wcdn-classes.php:219
301
  msgid "This info gets printed below the order listings but above the regular shipping notes (added at WooCommerce single order pages). These personal notes here will get styled with bigger font size."
302
  msgstr "Diese Informationen werden direkt unter den Bestelldaten ausgegeben, aber über den regulären Bestellnotizen (die auf den WooCommerce-Bestellseiten hinzugefügt werden). Diese persönlichen Anmerkungen werden etwas hervorgehobener dargestellt, insbesondere mit etwas größerer Schriftgröße."
303
 
304
  #@ woocommerce-delivery-notes
305
+ #: wcdn-classes.php:230
306
  msgid "Here you can add some more policies, conditions etc. For example add a returns policy in case the client would like to send back some goods."
307
  msgstr "Hier können Sie einige weitere Bedingungen angeben. Zum Beispiel Bedingungen für die Rückgabe, Widerrufsbelehrung etc."
308
 
309
  #@ woocommerce-delivery-notes
310
+ #: wcdn-classes.php:232
311
  msgid "In some countries (e.g. in the European Union) this is required so please add any required info in accordance with the statutory regulations."
312
  msgstr "In einigen Ländern (z.B. innerhalb der EU) ist dies sogar vorgeschrieben - informieren Sie sich daher über die entsprechenden gesetzlichen Bestimmungen für Ihr Land."
313
 
314
  #@ woocommerce-delivery-notes
315
+ #: wcdn-classes.php:243
316
  msgid "Add some further footer imprint, copyright notes etc. to get the printed sheets a bit more branded to your needs."
317
  msgstr "Fügen Sie Impressumangaben in der Fußzeile hinzu. Damit können die Ausdrucke noch stärker an Ihr CI bzw. rechtliche Anforderungen angepasst werden."
318
 
319
  #@ woocommerce-delivery-notes
320
+ #: wcdn-classes.php:245
321
  msgid " This footer info gets printed in lower font size and a bit lighter text color."
322
  msgstr "Diese Informationen werden in kleinerer Schriftgröße und hellerer Textfarbe am Fuß ausgegeben."
323
 
324
  #@ woocommerce-delivery-notes
325
+ #: wcdn-classes.php:175
326
  msgid "WooCommerce - Delivery Notes Settings"
327
  msgstr "WooCommerce - Lieferschein-Einstellungen"
328
 
329
  #@ woocommerce-delivery-notes
330
+ #: wcdn-classes.php:177
331
  msgid "All setting fields below are optional - you can leave them empty to not use them at all or only apply what you need."
332
  msgstr "Alle Einstellungsfelder unten sind optional - Felder, die leer bleiben, erscheinen dann nicht auf dem Lieferschein."
333
 
334
  #@ woocommerce-delivery-notes
335
+ #: wcdn-help.php:102
336
  msgid "Feedback and more about the Author"
337
  msgstr "Feedback und mehr über den Autor"
338
 
339
  #@ woocommerce-delivery-notes
340
+ #: wcdn-help.php:104
341
  msgid "Social:"
342
  msgstr "Soziale Netzwerke:"
343
 
344
  #@ woocommerce-delivery-notes
345
+ #: wcdn-help.php:104
346
  msgid "Twitter"
347
  msgstr "Twitter"
348
 
349
  #@ woocommerce-delivery-notes
350
+ #: wcdn-help.php:104
351
  msgid "Facebook"
352
  msgstr "Facebook"
353
 
354
  #@ woocommerce-delivery-notes
355
+ #: wcdn-help.php:104
356
  msgid "Google+"
357
  msgstr "Google+"
358
 
359
  #@ woocommerce-delivery-notes
360
+ #: wcdn-help.php:126
361
  #, php-format
362
  msgid "Just look under <a href=\"%1$s\">WooCommerce > Orders</a> and there go to a single order view. On the right side you will see the Delivery Note meta box. Click and you get the delivery Note printing page. Yes, it is that easy :-)."
363
  msgstr "Schauen Sie einfach unter <a href=\"%1$s\">WooCommerce > Bestellungen</a> und rufen Sie dort eine einzelne Bestellung auf. Auf rechten Seite erscheint die <em>Lieferschein</em>-Metabox. Klicken Sie dort und es öffnet sich der Lieferschein zum Ausdrucken. Das ist schon alles :-)."
364
 
365
  #@ woocommerce-delivery-notes
366
+ #: wcdn-help.php:138
367
+ #: wcdn-help.php:146
368
  msgid "Question:"
369
  msgstr "Frage:"
370
 
371
  #@ woocommerce-delivery-notes
372
+ #: wcdn-help.php:140
373
+ #: wcdn-help.php:148
374
  msgid "Answer:"
375
  msgstr "Antwort:"
376
 
377
  #@ woocommerce-delivery-notes
378
+ #: wcdn-help.php:163
379
  #, php-format
380
  msgid "<strong>Rating &amp; Tips:</strong> If you like the plugin please %1$srate at WordPress.org%2$s with 5 stars. <em>Thank you!</em> &mdash; %3$sMore plugins for WordPress by DECKERWEB%2$s"
381
  msgstr "<strong>Bewerten &amp; Tipps:</strong> Wenn das Plugin gefällt, einfach %1$sbei WordPress.org%2$s mit 5 Sternen bewerten. <em>Vielen Dank! :)</em> &mdash; %3$sMehr Plugins für Genesis von DECKERWEB%2$s"
382
 
383
  #@ woocommerce-delivery-notes
384
+ #: wcdn-help.php:173
385
  #, php-format
386
  msgid "<strong>Author:</strong> David Decker of %1$sdeckerweb.de%2$s and %3$sGenesisThemes%2$s - Join me at %4$sTwitter%2$s, %5$sFacebook%2$s and %6$sGoogle Plus%2$s :-)"
387
  msgstr "<strong>Autor:</strong> David Decker von %1$sdeckerweb.de%2$s und %3$sGenesisThemes.de%2$s - Mich unterstützen bei %4$sTwitter%2$s, %5$sFacebook%2$s und %6$sGoogle Plus%2$s :-)"
388
 
389
  #@ woocommerce-delivery-notes
390
+ #: wcdn-help.php:174
391
  #, php-format
392
  msgid "<strong>License:</strong> GPL v3 - %1$sMore info on the GPL license ...%2$s"
393
  msgstr "<strong>Lizenz:</strong> GPL v3 - %1$sMehr Informationen zur GPL-Lizenz (Engl.) ...%2$s"
394
 
395
  #@ woocommerce-delivery-notes
396
+ #: wcdn-help.php:103
397
  msgid "Website"
398
  msgstr "Webseite"
399
 
400
  #@ woocommerce-delivery-notes
401
+ #: wcdn-help.php:105
402
  msgid "at WordPress.org"
403
  msgstr "bei WordPress.org"
404
 
405
  #@ woocommerce-delivery-notes
406
+ #: wcdn-help.php:103
407
  msgid "http://genesisthemes.de/en/"
408
  msgstr "http://deckerweb.de/"
409
 
410
  #@ woocommerce-delivery-notes
411
+ #: wcdn-help.php:139
412
  msgid "Can I use a Custom Template for the printing page?"
413
  msgstr "Kann ein benutzerdefiniertes Template für die Lieferschein-Druckseite verwendet werden?"
414
 
415
  #@ woocommerce-delivery-notes
416
+ #: wcdn-help.php:142
417
  msgid "Note: This works with both single themes and child themes (if you use some framework like Genesis). If your current active theme is a child theme put the custom folder there! (e.g. <code>/wp-content/themes/your-child-theme-name/woocommerce</code>)"
418
  msgstr "Hinweis: Dies funktioniert mit beiden, Single-Themes und Child Themes (wenn Frameworks wie etwa Genesis verwendet werden). Wenn Ihr derzeit aktives Theme ein Child Theme ist, fügen Sie den benutzerdefinierten Ordner dort ein! (z.B. <code>/wp-content/themes/ihr-child-theme-name/woocommerce</code>)"
419
 
420
  #@ woocommerce-delivery-notes
421
+ #: wcdn-help.php:147
422
  msgid "What Template Functions can I use?"
423
  msgstr "Welche Template-Funktionen können verwendet werden?"
424
 
425
  #@ woocommerce-delivery-notes
426
+ #: wcdn-help.php:141
427
  msgid "If you want to use your own template then all you need to do is copy the <code>/wp-content/plugins/woocommerce-delivery-notes/delivery-note-template</code> folder and paste it inside your <code>/wp-content/themes/your-theme-name/woocommerce</code> folder (if not there just create it). The folder from the plugin comes with the default template and the basic CSS stylesheet file. You can modifiy this to fit your own needs."
428
  msgstr "Wenn Sie Ihr eigenes Template verwenden wollen, müssen Sie den entsprechenden Ordner <code>/wp-content/plugins/woocommerce-delivery-notes/delivery-note-template</code> in Ihren Theme-Ordner kopieren <code>/wp-content/themes/ihr-theme-name/woocommerce</code>. Falls es diesen noch nicht gibt, einfach erstellen. Der Plugin-Ordner enthält das Standard-Template und das CSS-Stylesheet. Beide können an eigene Bedürfnisse angepasst werden."
429
 
430
  #@ woocommerce-delivery-notes
431
+ #: wcdn-help.php:150
432
  msgid "Important note: This is only intended for developers who know what they do! Please be careful with adding any code/functions! The default template and functions should fit most use cases."
433
  msgstr "Wichtiger Hinweis: Dies wird nur empfohlen für Entwickler, die wissen, was sie tun! Bitte seien Sie vorsichtig beim Hinzufügen eigener Codes bzw. Funktionen! Das Standard-Template sollte für die meisten Anwendungsfälle bereits ausreichen."
434
 
435
  #@ woocommerce-delivery-notes
436
+ #: wcdn-help.php:149
437
  msgid "Arbitrary php code and all WordPress functions are available in the template. Besides that there are many Delivery Notes specific template functions. Open the <code>woocommerce-delivery-notes/wcdn-print.php</code> file to see all available functions."
438
  msgstr "Im Template sind alle WordPress-Funktionen und beliebiger PHP-Code verfügbar. Außerdem sind viele Lieferschein-spezifische Template-Funktionen verfügbar. Diese sind in der Plugin-Datei <code>woocommerce-delivery-notes/wcdn-print.php</code> zu finden bzw. dokumentiert."
439
 
440
+ #@ woocommerce-delivery-notes
441
+ #: delivery-note-template/template.php:121
442
+ msgid "Customer Notes:"
443
+ msgstr "Kunden-Bestellnotizen:"
444
+
445
+ #@ woocommerce-delivery-notes
446
+ #. translators: plugin header field 'Version'
447
+ #: woocommerce-delivery-notes.php:0
448
+ msgid "1.1"
449
+ msgstr "1.1"
450
+
languages/woocommerce-delivery-notes-sv_SE.mo ADDED
Binary file
languages/woocommerce-delivery-notes-sv_SE.po ADDED
@@ -0,0 +1,446 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file is distributed under the same license as the WooCommerce Delivery Notes Plugin package.
2
+ #
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: WooCommerce Delivery Notes\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/tags/woocommerce-delivery-notes\n"
7
+ "POT-Creation-Date: 2011-12-26 14:02+0100\n"
8
+ "PO-Revision-Date: 2012-02-07 02:57+0100\n"
9
+ "Last-Translator: Christopher Anderton\n"
10
+ "Language-Team: Christopher Anderton\n"
11
+ "MIME-Version: 1.0\n"
12
+ "Content-Type: text/plain; charset=UTF-8\n"
13
+ "Content-Transfer-Encoding: 8bit\n"
14
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
+ "X-Poedit-Language: SWEDISH\n"
16
+ "X-Poedit-Country: SWEDEN\n"
17
+ "X-Poedit-SourceCharset: utf-8\n"
18
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
19
+ "X-Textdomain-Support: yes\n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+
22
+ #@ woocommerce-delivery-notes
23
+ #: delivery-note-template/template.php:5
24
+ #: delivery-note-template/template.php:25
25
+ #: wcdn-classes.php:101
26
+ msgid "Delivery Note"
27
+ msgstr "Följesedel"
28
+
29
+ #@ woocommerce-delivery-notes
30
+ #: delivery-note-template/template.php:18
31
+ #: delivery-note-template/template.php:129
32
+ msgid "Print Page"
33
+ msgstr "Skriv ut sidan"
34
+
35
+ #@ woocommerce-delivery-notes
36
+ #: delivery-note-template/template.php:67
37
+ msgid "Quantity"
38
+ msgstr "Kvantitet"
39
+
40
+ #@ woocommerce-delivery-notes
41
+ #: delivery-note-template/template.php:68
42
+ msgid "Price"
43
+ msgstr "Pris"
44
+
45
+ #@ woocommerce-delivery-notes
46
+ #: delivery-note-template/template.php:86
47
+ msgid "Subtotal"
48
+ msgstr "Delsumma"
49
+
50
+ #@ woocommerce-delivery-notes
51
+ #: delivery-note-template/template.php:91
52
+ msgid "Shipping"
53
+ msgstr "Frakt"
54
+
55
+ #@ woocommerce-delivery-notes
56
+ #: delivery-note-template/template.php:97
57
+ msgid "Tax"
58
+ msgstr "Moms"
59
+
60
+ #@ woocommerce-delivery-notes
61
+ #: delivery-note-template/template.php:103
62
+ msgid "Discount"
63
+ msgstr "Rabatt"
64
+
65
+ #@ woocommerce-delivery-notes
66
+ #: delivery-note-template/template.php:108
67
+ msgid "Grand Total"
68
+ msgstr "Totalsumma"
69
+
70
+ #@ woocommerce-delivery-notes
71
+ #: wcdn-classes.php:144
72
+ #: wcdn-print.php:27
73
+ msgid "You do not have sufficient permissions to access this page."
74
+ msgstr "Du har inte tillräcklig behörighet för att komma åt denna sida."
75
+
76
+ #@ woocommerce-delivery-notes
77
+ #: wcdn-classes.php:115
78
+ msgid "View &amp; Print Delivery Note"
79
+ msgstr "Visa &amp; skriv ut följesedel"
80
+
81
+ #@ woocommerce-delivery-notes
82
+ #: wcdn-classes.php:132
83
+ msgid "Delivery Notes Settings"
84
+ msgstr "Inställningar för följesedel"
85
+
86
+ #@ woocommerce-delivery-notes
87
+ #: wcdn-classes.php:160
88
+ msgid "Settings saved."
89
+ msgstr "Inställningar sparade."
90
+
91
+ #@ woocommerce-delivery-notes
92
+ #: wcdn-classes.php:248
93
+ msgid "Save Changes"
94
+ msgstr "Spara ändringar"
95
+
96
+ #@ woocommerce-delivery-notes
97
+ #. translators: plugin header field 'Name'
98
+ #: woocommerce-delivery-notes.php:0
99
+ msgid "WooCommerce Delivery Notes"
100
+ msgstr "WooCommerce följesedel"
101
+
102
+ #@ woocommerce-delivery-notes
103
+ #. translators: plugin header field 'PluginURI'
104
+ #: woocommerce-delivery-notes.php:0
105
+ msgid "http://genesisthemes.de/en/wp-plugins/woocommerce-delivery-notes/"
106
+ msgstr "http://genesisthemes.de/en/wp-plugins/woocommerce-delivery-notes/"
107
+
108
+ #@ woocommerce-delivery-notes
109
+ #. translators: plugin header field 'Author'
110
+ #: woocommerce-delivery-notes.php:0
111
+ msgid "David Decker - DECKERWEB"
112
+ msgstr "David Decker - DECKERWEB"
113
+
114
+ #@ woocommerce-delivery-notes
115
+ #. translators: plugin header field 'AuthorURI'
116
+ #: woocommerce-delivery-notes.php:0
117
+ msgid "http://deckerweb.de/"
118
+ msgstr "http://deckerweb.de/"
119
+
120
+ #@ woocommerce-delivery-notes
121
+ #. translators: plugin header field 'Version'
122
+ #: woocommerce-delivery-notes.php:0
123
+ msgid "1.1"
124
+ msgstr "1.1"
125
+
126
+ #@ woocommerce-delivery-notes
127
+ #: woocommerce-delivery-notes.php:48
128
+ msgid "Go to the settings page"
129
+ msgstr "Gå till inställningssidan"
130
+
131
+ #@ woocommerce-delivery-notes
132
+ #: woocommerce-delivery-notes.php:48
133
+ msgid "Settings"
134
+ msgstr "Inställningar"
135
+
136
+ #@ woocommerce-delivery-notes
137
+ #: wcdn-help.php:23
138
+ msgid "FAQ"
139
+ msgstr "FAQ"
140
+
141
+ #@ woocommerce-delivery-notes
142
+ #: wcdn-help.php:24
143
+ msgid "Support"
144
+ msgstr "Support"
145
+
146
+ #@ woocommerce-delivery-notes
147
+ #: wcdn-help.php:25
148
+ #: wcdn-help.php:147
149
+ msgid "http://genesisthemes.de/en/donate/"
150
+ msgstr "http://genesisthemes.de/en/donate/"
151
+
152
+ #@ woocommerce-delivery-notes
153
+ #: wcdn-help.php:25
154
+ msgid "Donate"
155
+ msgstr "Donera"
156
+
157
+ #@ woocommerce-delivery-notes
158
+ #: delivery-note-template/template.php:66
159
+ msgid "Product Name"
160
+ msgstr "Produktnamn"
161
+
162
+ #@ woocommerce-delivery-notes
163
+ #: wcdn-classes.php:194
164
+ msgid "Company/Shop Address:"
165
+ msgstr "Företag- butiksadress:"
166
+
167
+ #@ woocommerce-delivery-notes
168
+ #: wcdn-classes.php:207
169
+ msgid "Personal Notes:"
170
+ msgstr "Personliga anteckningar:"
171
+
172
+ #@ woocommerce-delivery-notes
173
+ #: wcdn-classes.php:220
174
+ msgid "Returns Policy, Conditions, etc.:"
175
+ msgstr "Returvillkor, köpvillkor o.s.v."
176
+
177
+ #@ woocommerce-delivery-notes
178
+ #: wcdn-classes.php:233
179
+ msgid "Footer Imprint:"
180
+ msgstr "Sidfotsinnehåll:"
181
+
182
+ #@ woocommerce-delivery-notes
183
+ #: delivery-note-template/template.php:36
184
+ msgid "Recipient:"
185
+ msgstr "Mottagare:"
186
+
187
+ #@ woocommerce-delivery-notes
188
+ #: delivery-note-template/template.php:51
189
+ msgid "Order No."
190
+ msgstr "Beställning nr:"
191
+
192
+ #@ woocommerce-delivery-notes
193
+ #: delivery-note-template/template.php:55
194
+ msgid "Order Date"
195
+ msgstr "Beställningsdatum"
196
+
197
+ #@ woocommerce-delivery-notes
198
+ #: delivery-note-template/template.php:74
199
+ msgid "SKU:"
200
+ msgstr "Artikelnummer:"
201
+
202
+ #@ woocommerce-delivery-notes
203
+ #: delivery-note-template/template.php:74
204
+ msgid "Weight:"
205
+ msgstr "Vikt:"
206
+
207
+ #@ woocommerce-delivery-notes
208
+ #: wcdn-help.php:69
209
+ #: wcdn-help.php:110
210
+ msgid "What the Plugin Does"
211
+ msgstr "Vad tillägget gör"
212
+
213
+ #@ woocommerce-delivery-notes
214
+ #: wcdn-help.php:74
215
+ #: wcdn-help.php:121
216
+ msgid "FAQ - Frequently Asked Questions"
217
+ msgstr "FAQ - Frequently Asked Questions (Vanliga frågor)"
218
+
219
+ #@ woocommerce-delivery-notes
220
+ #: wcdn-help.php:84
221
+ #: wcdn-help.php:158
222
+ msgid "Author - License"
223
+ msgstr "Författare - Licens"
224
+
225
+ #@ woocommerce-delivery-notes
226
+ #: wcdn-help.php:79
227
+ #: wcdn-help.php:146
228
+ msgid "Support - Donations - Rating &amp; Tips"
229
+ msgstr "Support - Donationer - Betyg &amp; Tips"
230
+
231
+ #@ woocommerce-delivery-notes
232
+ #: wcdn-help.php:108
233
+ #: wcdn-help.php:119
234
+ #: wcdn-help.php:144
235
+ #: wcdn-help.php:156
236
+ msgid "Plugin: WooCommerce Delivery Notes"
237
+ msgstr "Tillägg: WooCommerce Delivery Notes"
238
+
239
+ #@ woocommerce-delivery-notes
240
+ #: wcdn-help.php:111
241
+ msgid "This plugin enables you to add a simple Delivery Note page for printing for your orders in WooCommerce shop plugin. You can add your company postal address, further add personal notes, refund or other policies and a footer note/branding. This helps speed up your daily shop and order management. In some countries (e.g. in the European Union) it is also required to advice the customer with proper refund policies so this little plugin might help you a bit with that too."
242
+ msgstr "Med detta tillägg kan du lägga till en enkel följesedels-sida för utskrift för din order i WooCommerce. Du kan lägga till ditt företags postadress, personliga anteckningar, återbetalningsinformation eller annat. Du kan lägga till en logotyp eller anteckning i sidfoten. Detta snabbar upp och hjälper till i den dagliga butiks- och orderhanteringen. I vissa länder (t ex inom EU) krävs det att det finns tydlig information om produktreturer och återbetalning. Detta lilla tillägg kan hjälpa dig med det också."
243
+
244
+ #@ woocommerce-delivery-notes
245
+ #: wcdn-help.php:147
246
+ #, php-format
247
+ msgid "<strong>Donations:</strong> Please %1$sdonate to support the further maintenance and development%2$s of the plugin. <em>Thank you in advance!</em>"
248
+ msgstr "<strong>Donationer:</strong> Var vänlig %1$sdonera för att stödja underhåll och utveckling%2$s av tillägget. <em>Tack på förhand!</em>"
249
+
250
+ #@ woocommerce-delivery-notes
251
+ #: wcdn-help.php:148
252
+ #, php-format
253
+ msgid "<strong>Support:</strong> Done via %1$sWordPress.org plugin page support forum%2$s. - Maybe I will setup my own support forum in the future, though."
254
+ msgstr "<strong> Support: </ strong> sker via %1$sWordPress.org tilläggssida Supportforum%2$s. - Jag kanske kommer att sätta upp mitt eget supportforum i framtiden."
255
+
256
+ #@ woocommerce-delivery-notes
257
+ #: wcdn-classes.php:181
258
+ msgid "Company/Shop Name:"
259
+ msgstr "Företag- butiksnamn:"
260
+
261
+ #@ woocommerce-delivery-notes
262
+ #. translators: plugin header field 'Description'
263
+ #: woocommerce-delivery-notes.php:0
264
+ msgid "This plugin adds simple Delivery Notes for the WooCommerce Shop Plugin. You can add company/shop info as well as personal notes and policies to the print page."
265
+ msgstr "Detta tillägg lägger till enkla följesedlar för WooCommerce Shop tillägget. Du kan lägga till företaget/butikens info samt personliga anteckningar och villkor till den utskriftssidan."
266
+
267
+ #@ woocommerce-delivery-notes
268
+ #: wcdn-classes.php:186
269
+ msgid "Your custom company or shop name for the Delivery Note."
270
+ msgstr "Ditt anpassade företags- eller butiksnamn på följesedeln."
271
+
272
+ #@ woocommerce-delivery-notes
273
+ #: wcdn-classes.php:187
274
+ #: wcdn-classes.php:200
275
+ #: wcdn-classes.php:213
276
+ #: wcdn-classes.php:226
277
+ #: wcdn-classes.php:239
278
+ msgid "Note:"
279
+ msgstr "OBS:"
280
+
281
+ #@ woocommerce-delivery-notes
282
+ #: wcdn-classes.php:188
283
+ msgid "Leave blank to use your default Website/ Blog title defined in WordPress settings."
284
+ msgstr "Lämna tomt för att använda din standardtitel för din webbsida eller blogg definierad i WordPress-inställningarna."
285
+
286
+ #@ woocommerce-delivery-notes
287
+ #: wcdn-classes.php:199
288
+ msgid "The postal address of the company/shop, which gets printed right of the company/shop name, above the order listings."
289
+ msgstr "Postadressen till företaget/butiken, som trycks till höger av företagets/butikens namn, ovanför orderlistan."
290
+
291
+ #@ woocommerce-delivery-notes
292
+ #: wcdn-classes.php:201
293
+ msgid "Here, you can also add some other contact information like the telephone and email."
294
+ msgstr "Här kan du lägga till annan kontaktinformation som telefon eller epost."
295
+
296
+ #@ woocommerce-delivery-notes
297
+ #: wcdn-classes.php:212
298
+ msgid "Add some personal notes, or season greetings or whatever (e.g. Thank You for Your Order!, Merry Christmas!, etc.)."
299
+ msgstr "Lägg till några personliga anteckningar eller hälsningar (t.ex. Tack för din beställning!, God Jul!, etc.)."
300
+
301
+ #@ woocommerce-delivery-notes
302
+ #: wcdn-classes.php:214
303
+ msgid "This info gets printed below the order listings but above the regular shipping notes (added at WooCommerce single order pages). These personal notes here will get styled with bigger font size."
304
+ msgstr "Denna information skrivs under orderlistan men ovanför de vanliga fraktanteckningarna (tillagt på WooCommerces enskilda ordersidor). Dessa personliga anteckningar kommer att visas med större textstorlek."
305
+
306
+ #@ woocommerce-delivery-notes
307
+ #: wcdn-classes.php:225
308
+ msgid "Here you can add some more policies, conditions etc. For example add a returns policy in case the client would like to send back some goods."
309
+ msgstr "Här kan du lägga fler villkor etc. T.ex. lägga till returinformation om kunden vill lämna tillbaks varor."
310
+
311
+ #@ woocommerce-delivery-notes
312
+ #: wcdn-classes.php:227
313
+ msgid "In some countries (e.g. in the European Union) this is required so please add any required info in accordance with the statutory regulations."
314
+ msgstr "I vissa länder (t.ex. i EU) krävs detta. Så lägg till all nödvändig information i enlighet med landets lagar."
315
+
316
+ #@ woocommerce-delivery-notes
317
+ #: wcdn-classes.php:238
318
+ msgid "Add some further footer imprint, copyright notes etc. to get the printed sheets a bit more branded to your needs."
319
+ msgstr "Lägg till ytterligare sidfotsinnehåll. Upphovsrättsanteckningar etc. För att få de utskrivna sidorna mer anpassade efter dina behov."
320
+
321
+ #@ woocommerce-delivery-notes
322
+ #: wcdn-classes.php:240
323
+ msgid " This footer info gets printed in lower font size and a bit lighter text color."
324
+ msgstr "Denna sidfotsinfo får tryckas i en lägre teckenstorlek och lite ljusare textfärg."
325
+
326
+ #@ woocommerce-delivery-notes
327
+ #: wcdn-classes.php:170
328
+ msgid "WooCommerce - Delivery Notes Settings"
329
+ msgstr "WooCommerce - Inställningar för följesedel"
330
+
331
+ #@ woocommerce-delivery-notes
332
+ #: wcdn-classes.php:172
333
+ msgid "All setting fields below are optional - you can leave them empty to not use them at all or only apply what you need."
334
+ msgstr "Alla inställningsfält är valfria - du kan lämna dem tomma för att inte använda dem alls, eller endast tillämpa vad du behöver."
335
+
336
+ #@ woocommerce-delivery-notes
337
+ #: wcdn-help.php:90
338
+ msgid "Feedback and more about the Author"
339
+ msgstr "Feedback och mer om författaren"
340
+
341
+ #@ woocommerce-delivery-notes
342
+ #: wcdn-help.php:92
343
+ msgid "Social:"
344
+ msgstr "Social:"
345
+
346
+ #@ woocommerce-delivery-notes
347
+ #: wcdn-help.php:92
348
+ msgid "Twitter"
349
+ msgstr "Twitter"
350
+
351
+ #@ woocommerce-delivery-notes
352
+ #: wcdn-help.php:92
353
+ msgid "Facebook"
354
+ msgstr "Facebook"
355
+
356
+ #@ woocommerce-delivery-notes
357
+ #: wcdn-help.php:92
358
+ msgid "Google+"
359
+ msgstr "Google+"
360
+
361
+ #@ woocommerce-delivery-notes
362
+ #: wcdn-help.php:112
363
+ #, php-format
364
+ msgid "Just look under <a href=\"%1$s\">WooCommerce > Orders</a> and there go to a single order view. On the right side you will see the Delivery Note meta box. Click and you get the delivery Note printing page. Yes, it is that easy :-)."
365
+ msgstr "Titta bara i <a href=\"%1$s\">WooCommerce > beställningar </ a> och gå till en singelorder vy. På höger sida kommer du att se metaboxen för följesedeln. Klicka och du får följesedelns urskiftssida. Ja, det är så lätt :-)."
366
+
367
+ #@ woocommerce-delivery-notes
368
+ #: wcdn-help.php:124
369
+ #: wcdn-help.php:132
370
+ msgid "Question:"
371
+ msgstr "Fråga:"
372
+
373
+ #@ woocommerce-delivery-notes
374
+ #: wcdn-help.php:126
375
+ #: wcdn-help.php:134
376
+ msgid "Answer:"
377
+ msgstr "Svar:"
378
+
379
+ #@ woocommerce-delivery-notes
380
+ #: wcdn-help.php:149
381
+ #, php-format
382
+ msgid "<strong>Rating &amp; Tips:</strong> If you like the plugin please %1$srate at WordPress.org%2$s with 5 stars. <em>Thank you!</em> &mdash; %3$sMore plugins for WordPress by DECKERWEB%2$s"
383
+ msgstr "<strong> Betyg &amp; tips: </strong> Om du gillar tillägget, betygsätt gärna %1$srate på WordPress.org%2$s med 5 stjärnor. <em> Tack! </em> &mdash; %3$sMer tillägg för WordPress av DECKERWEB%2$s"
384
+
385
+ #@ woocommerce-delivery-notes
386
+ #: wcdn-help.php:159
387
+ #, php-format
388
+ msgid "<strong>Author:</strong> David Decker of %1$sdeckerweb.de%2$s and %3$sGenesisThemes%2$s - Join me at %4$sTwitter%2$s, %5$sFacebook%2$s and %6$sGoogle Plus%2$s :-)"
389
+ msgstr "<strong>Författare:</strong> David Decker från %1$sdeckerweb.de%2$s and %3$sGenesisThemes%2$s - Följ mig på %4$sTwitter%2$s, %5$sFacebook%2$s and %6$sGoogle Plus%2$s :-)"
390
+
391
+ #@ woocommerce-delivery-notes
392
+ #: wcdn-help.php:160
393
+ #, php-format
394
+ msgid "<strong>License:</strong> GPL v3 - %1$sMore info on the GPL license ...%2$s"
395
+ msgstr "<strong>Licens:</strong> GPL v3 - %1$sMer info om GPL licensen ...%2$s"
396
+
397
+ #@ woocommerce-delivery-notes
398
+ #: wcdn-help.php:91
399
+ msgid "Website"
400
+ msgstr "Webbsida"
401
+
402
+ #@ woocommerce-delivery-notes
403
+ #: wcdn-help.php:93
404
+ msgid "at WordPress.org"
405
+ msgstr "på WordPress.org"
406
+
407
+ #@ woocommerce-delivery-notes
408
+ #: wcdn-help.php:91
409
+ msgid "http://genesisthemes.de/en/"
410
+ msgstr "http://genesisthemes.de/en/"
411
+
412
+ #@ woocommerce-delivery-notes
413
+ #: wcdn-help.php:125
414
+ msgid "Can I use a Custom Template for the printing page?"
415
+ msgstr "Kan jag använda en egen mall för urskriftssidan?"
416
+
417
+ #@ woocommerce-delivery-notes
418
+ #: wcdn-help.php:128
419
+ msgid "Note: This works with both single themes and child themes (if you use some framework like Genesis). If your current active theme is a child theme put the custom folder there! (e.g. <code>/wp-content/themes/your-child-theme-name/woocommerce</code>)"
420
+ msgstr "Obs: Detta fungerar med både singelteman och barnteman (om du använder vissa ramverk som Genesis). Om det nuvarande aktiva temat är ett barntema lägg din egena mapp där! (t.ex. <code>/wp-content/themes/ditt-barntema-namn/woocommerce</code>)"
421
+
422
+ #@ woocommerce-delivery-notes
423
+ #: wcdn-help.php:133
424
+ msgid "What Template Functions can I use?"
425
+ msgstr "Vilka mallfunktioner kan jag använda?"
426
+
427
+ #@ woocommerce-delivery-notes
428
+ #: wcdn-help.php:127
429
+ msgid "If you want to use your own template then all you need to do is copy the <code>/wp-content/plugins/woocommerce-delivery-notes/delivery-note-template</code> folder and paste it inside your <code>/wp-content/themes/your-theme-name/woocommerce</code> folder (if not there just create it). The folder from the plugin comes with the default template and the basic CSS stylesheet file. You can modifiy this to fit your own needs."
430
+ msgstr "Om du vill använda en egen mall så är allt du behöver göra är att kopiera <code>/wp-content/plugins/woocommerce-delivery-notes/delivery-note-template</code> mappen och klistra in den i <code > / wp-content/themes/ditt-temas-namn/woocommerce </code> mappen (om den inte finns så kan du skapa den själv). Tilläggets mapp kommer med en standardmall och de grundläggande CSS-stilarna. Du kan modifiera dessa så det passar dina behov."
431
+
432
+ #@ woocommerce-delivery-notes
433
+ #: wcdn-help.php:136
434
+ msgid "Important note: This is only intended for developers who know what they do! Please be careful with adding any code/functions! The default template and functions should fit most use cases."
435
+ msgstr "Viktigt: Detta är endast avsedd för utvecklare som vet vad de gör! Var försiktig med att lägga till någon kod / funktioner! En standardmall och funktioner bör passa de flesta situationer."
436
+
437
+ #@ woocommerce-delivery-notes
438
+ #: wcdn-help.php:135
439
+ msgid "Arbitrary php code and all WordPress functions are available in the template. Besides that there are many Delivery Notes specific template functions. Open the <code>woocommerce-delivery-notes/wcdn-print.php</code> file to see all available functions."
440
+ msgstr "Godtycklig PHP-kod och alla WordPress funktioner finns tillgängliga i mallen. Det finns även många specifika mall funktioner för tillägget. Öppna <code> woocommerce-delivery-notes/wcdn-print.php </code> fil för att se alla tillgängliga funktioner."
441
+
442
+ #@ woocommerce-delivery-notes
443
+ #: delivery-note-template/template.php:121
444
+ msgid "Customer Notes:"
445
+ msgstr "Kommentarer om kund:"
446
+
languages/woocommerce-delivery-notes.po ADDED
@@ -0,0 +1,445 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This German Language File: Copyright (C) 2011-2012 by David Decker of deckerweb.de & genesisthemes.de
2
+ # This file is distributed under the same license as the WooCommerce Delivery Notes Plugin package.
3
+ #
4
+ msgid ""
5
+ msgstr ""
6
+ "Project-Id-Version: WooCommerce Delivery Notes\n"
7
+ "Report-Msgid-Bugs-To: http://wordpress.org/tags/woocommerce-delivery-notes\n"
8
+ "POT-Creation-Date: 2011-12-26 14:02+0100\n"
9
+ "PO-Revision-Date: \n"
10
+ "Last-Translator: \n"
11
+ "Language-Team: \n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
16
+ "X-Poedit-SourceCharset: utf-8\n"
17
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
18
+ "X-Textdomain-Support: yes\n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+
21
+ #@ woocommerce-delivery-notes
22
+ #: delivery-note-template/template.php:5
23
+ #: delivery-note-template/template.php:25
24
+ #: wcdn-classes.php:101
25
+ msgid "Delivery Note"
26
+ msgstr ""
27
+
28
+ #@ woocommerce-delivery-notes
29
+ #: delivery-note-template/template.php:18
30
+ #: delivery-note-template/template.php:129
31
+ msgid "Print Page"
32
+ msgstr ""
33
+
34
+ #@ woocommerce-delivery-notes
35
+ #: delivery-note-template/template.php:67
36
+ msgid "Quantity"
37
+ msgstr ""
38
+
39
+ #@ woocommerce-delivery-notes
40
+ #: delivery-note-template/template.php:68
41
+ msgid "Price"
42
+ msgstr ""
43
+
44
+ #@ woocommerce-delivery-notes
45
+ #: delivery-note-template/template.php:86
46
+ msgid "Subtotal"
47
+ msgstr ""
48
+
49
+ #@ woocommerce-delivery-notes
50
+ #: delivery-note-template/template.php:91
51
+ msgid "Shipping"
52
+ msgstr ""
53
+
54
+ #@ woocommerce-delivery-notes
55
+ #: delivery-note-template/template.php:97
56
+ msgid "Tax"
57
+ msgstr ""
58
+
59
+ #@ woocommerce-delivery-notes
60
+ #: delivery-note-template/template.php:103
61
+ msgid "Discount"
62
+ msgstr ""
63
+
64
+ #@ woocommerce-delivery-notes
65
+ #: delivery-note-template/template.php:108
66
+ msgid "Grand Total"
67
+ msgstr ""
68
+
69
+ #@ woocommerce-delivery-notes
70
+ #: wcdn-classes.php:144
71
+ #: wcdn-print.php:27
72
+ msgid "You do not have sufficient permissions to access this page."
73
+ msgstr ""
74
+
75
+ #@ woocommerce-delivery-notes
76
+ #: wcdn-classes.php:115
77
+ msgid "View &amp; Print Delivery Note"
78
+ msgstr ""
79
+
80
+ #@ woocommerce-delivery-notes
81
+ #: wcdn-classes.php:132
82
+ msgid "Delivery Notes Settings"
83
+ msgstr ""
84
+
85
+ #@ woocommerce-delivery-notes
86
+ #: wcdn-classes.php:160
87
+ msgid "Settings saved."
88
+ msgstr ""
89
+
90
+ #@ woocommerce-delivery-notes
91
+ #: wcdn-classes.php:248
92
+ msgid "Save Changes"
93
+ msgstr ""
94
+
95
+ #@ woocommerce-delivery-notes
96
+ #. translators: plugin header field 'Name'
97
+ #: woocommerce-delivery-notes.php:0
98
+ msgid "WooCommerce Delivery Notes"
99
+ msgstr ""
100
+
101
+ #@ woocommerce-delivery-notes
102
+ #. translators: plugin header field 'PluginURI'
103
+ #: woocommerce-delivery-notes.php:0
104
+ msgid "http://genesisthemes.de/en/wp-plugins/woocommerce-delivery-notes/"
105
+ msgstr ""
106
+
107
+ #@ woocommerce-delivery-notes
108
+ #. translators: plugin header field 'Author'
109
+ #: woocommerce-delivery-notes.php:0
110
+ msgid "David Decker - DECKERWEB"
111
+ msgstr ""
112
+
113
+ #@ woocommerce-delivery-notes
114
+ #. translators: plugin header field 'AuthorURI'
115
+ #: woocommerce-delivery-notes.php:0
116
+ msgid "http://deckerweb.de/"
117
+ msgstr ""
118
+
119
+ #@ woocommerce-delivery-notes
120
+ #: woocommerce-delivery-notes.php:48
121
+ msgid "Go to the settings page"
122
+ msgstr ""
123
+
124
+ #@ woocommerce-delivery-notes
125
+ #: woocommerce-delivery-notes.php:48
126
+ msgid "Settings"
127
+ msgstr ""
128
+
129
+ #@ woocommerce-delivery-notes
130
+ #: wcdn-help.php:23
131
+ msgid "FAQ"
132
+ msgstr ""
133
+
134
+ #@ woocommerce-delivery-notes
135
+ #: wcdn-help.php:24
136
+ msgid "Support"
137
+ msgstr ""
138
+
139
+ #@ woocommerce-delivery-notes
140
+ #: wcdn-help.php:25
141
+ #: wcdn-help.php:147
142
+ msgid "http://genesisthemes.de/en/donate/"
143
+ msgstr ""
144
+
145
+ #@ woocommerce-delivery-notes
146
+ #: wcdn-help.php:25
147
+ msgid "Donate"
148
+ msgstr ""
149
+
150
+ #@ woocommerce-delivery-notes
151
+ #: delivery-note-template/template.php:66
152
+ msgid "Product Name"
153
+ msgstr ""
154
+
155
+ #@ woocommerce-delivery-notes
156
+ #: wcdn-classes.php:194
157
+ msgid "Company/Shop Address:"
158
+ msgstr ""
159
+
160
+ #@ woocommerce-delivery-notes
161
+ #: wcdn-classes.php:207
162
+ msgid "Personal Notes:"
163
+ msgstr ""
164
+
165
+ #@ woocommerce-delivery-notes
166
+ #: wcdn-classes.php:220
167
+ msgid "Returns Policy, Conditions, etc.:"
168
+ msgstr ""
169
+
170
+ #@ woocommerce-delivery-notes
171
+ #: wcdn-classes.php:233
172
+ msgid "Footer Imprint:"
173
+ msgstr ""
174
+
175
+ #@ woocommerce-delivery-notes
176
+ #: delivery-note-template/template.php:36
177
+ msgid "Recipient:"
178
+ msgstr ""
179
+
180
+ #@ woocommerce-delivery-notes
181
+ #: delivery-note-template/template.php:51
182
+ msgid "Order No."
183
+ msgstr ""
184
+
185
+ #@ woocommerce-delivery-notes
186
+ #: delivery-note-template/template.php:55
187
+ msgid "Order Date"
188
+ msgstr ""
189
+
190
+ #@ woocommerce-delivery-notes
191
+ #: delivery-note-template/template.php:74
192
+ msgid "SKU:"
193
+ msgstr ""
194
+
195
+ #@ woocommerce-delivery-notes
196
+ #: delivery-note-template/template.php:74
197
+ msgid "Weight:"
198
+ msgstr ""
199
+
200
+ #@ woocommerce-delivery-notes
201
+ #: wcdn-help.php:69
202
+ #: wcdn-help.php:110
203
+ msgid "What the Plugin Does"
204
+ msgstr ""
205
+
206
+ #@ woocommerce-delivery-notes
207
+ #: wcdn-help.php:74
208
+ #: wcdn-help.php:121
209
+ msgid "FAQ - Frequently Asked Questions"
210
+ msgstr ""
211
+
212
+ #@ woocommerce-delivery-notes
213
+ #: wcdn-help.php:84
214
+ #: wcdn-help.php:158
215
+ msgid "Author - License"
216
+ msgstr ""
217
+
218
+ #@ woocommerce-delivery-notes
219
+ #: wcdn-help.php:79
220
+ #: wcdn-help.php:146
221
+ msgid "Support - Donations - Rating &amp; Tips"
222
+ msgstr ""
223
+
224
+ #@ woocommerce-delivery-notes
225
+ #: wcdn-help.php:108
226
+ #: wcdn-help.php:119
227
+ #: wcdn-help.php:144
228
+ #: wcdn-help.php:156
229
+ msgid "Plugin: WooCommerce Delivery Notes"
230
+ msgstr ""
231
+
232
+ #@ woocommerce-delivery-notes
233
+ #: wcdn-help.php:111
234
+ msgid "This plugin enables you to add a simple Delivery Note page for printing for your orders in WooCommerce shop plugin. You can add your company postal address, further add personal notes, refund or other policies and a footer note/branding. This helps speed up your daily shop and order management. In some countries (e.g. in the European Union) it is also required to advice the customer with proper refund policies so this little plugin might help you a bit with that too."
235
+ msgstr ""
236
+
237
+ #@ woocommerce-delivery-notes
238
+ #: wcdn-help.php:147
239
+ #, php-format
240
+ msgid "<strong>Donations:</strong> Please %1$sdonate to support the further maintenance and development%2$s of the plugin. <em>Thank you in advance!</em>"
241
+ msgstr ""
242
+
243
+ #@ woocommerce-delivery-notes
244
+ #: wcdn-help.php:148
245
+ #, php-format
246
+ msgid "<strong>Support:</strong> Done via %1$sWordPress.org plugin page support forum%2$s. - Maybe I will setup my own support forum in the future, though."
247
+ msgstr ""
248
+
249
+ #@ woocommerce-delivery-notes
250
+ #: wcdn-classes.php:181
251
+ msgid "Company/Shop Name:"
252
+ msgstr ""
253
+
254
+ #@ woocommerce-delivery-notes
255
+ #. translators: plugin header field 'Description'
256
+ #: woocommerce-delivery-notes.php:0
257
+ msgid "This plugin adds simple Delivery Notes for the WooCommerce Shop Plugin. You can add company/shop info as well as personal notes and policies to the print page."
258
+ msgstr ""
259
+
260
+ #@ woocommerce-delivery-notes
261
+ #: wcdn-classes.php:186
262
+ msgid "Your custom company or shop name for the Delivery Note."
263
+ msgstr ""
264
+
265
+ #@ woocommerce-delivery-notes
266
+ #: wcdn-classes.php:187
267
+ #: wcdn-classes.php:200
268
+ #: wcdn-classes.php:213
269
+ #: wcdn-classes.php:226
270
+ #: wcdn-classes.php:239
271
+ msgid "Note:"
272
+ msgstr ""
273
+
274
+ #@ woocommerce-delivery-notes
275
+ #: wcdn-classes.php:188
276
+ msgid "Leave blank to use your default Website/ Blog title defined in WordPress settings."
277
+ msgstr ""
278
+
279
+ #@ woocommerce-delivery-notes
280
+ #: wcdn-classes.php:199
281
+ msgid "The postal address of the company/shop, which gets printed right of the company/shop name, above the order listings."
282
+ msgstr ""
283
+
284
+ #@ woocommerce-delivery-notes
285
+ #: wcdn-classes.php:201
286
+ msgid "Here, you can also add some other contact information like the telephone and email."
287
+ msgstr ""
288
+
289
+ #@ woocommerce-delivery-notes
290
+ #: wcdn-classes.php:212
291
+ msgid "Add some personal notes, or season greetings or whatever (e.g. Thank You for Your Order!, Merry Christmas!, etc.)."
292
+ msgstr ""
293
+
294
+ #@ woocommerce-delivery-notes
295
+ #: wcdn-classes.php:214
296
+ msgid "This info gets printed below the order listings but above the regular shipping notes (added at WooCommerce single order pages). These personal notes here will get styled with bigger font size."
297
+ msgstr ""
298
+
299
+ #@ woocommerce-delivery-notes
300
+ #: wcdn-classes.php:225
301
+ msgid "Here you can add some more policies, conditions etc. For example add a returns policy in case the client would like to send back some goods."
302
+ msgstr ""
303
+
304
+ #@ woocommerce-delivery-notes
305
+ #: wcdn-classes.php:227
306
+ msgid "In some countries (e.g. in the European Union) this is required so please add any required info in accordance with the statutory regulations."
307
+ msgstr ""
308
+
309
+ #@ woocommerce-delivery-notes
310
+ #: wcdn-classes.php:238
311
+ msgid "Add some further footer imprint, copyright notes etc. to get the printed sheets a bit more branded to your needs."
312
+ msgstr ""
313
+
314
+ #@ woocommerce-delivery-notes
315
+ #: wcdn-classes.php:240
316
+ msgid " This footer info gets printed in lower font size and a bit lighter text color."
317
+ msgstr "Diese Informationen werden in kleinerer Schriftgröße und hellerer Textfarbe am Fuß ausgegeben."
318
+
319
+ #@ woocommerce-delivery-notes
320
+ #: wcdn-classes.php:170
321
+ msgid "WooCommerce - Delivery Notes Settings"
322
+ msgstr ""
323
+
324
+ #@ woocommerce-delivery-notes
325
+ #: wcdn-classes.php:172
326
+ msgid "All setting fields below are optional - you can leave them empty to not use them at all or only apply what you need."
327
+ msgstr ""
328
+
329
+ #@ woocommerce-delivery-notes
330
+ #: wcdn-help.php:90
331
+ msgid "Feedback and more about the Author"
332
+ msgstr ""
333
+
334
+ #@ woocommerce-delivery-notes
335
+ #: wcdn-help.php:92
336
+ msgid "Social:"
337
+ msgstr ""
338
+
339
+ #@ woocommerce-delivery-notes
340
+ #: wcdn-help.php:92
341
+ msgid "Twitter"
342
+ msgstr ""
343
+
344
+ #@ woocommerce-delivery-notes
345
+ #: wcdn-help.php:92
346
+ msgid "Facebook"
347
+ msgstr ""
348
+
349
+ #@ woocommerce-delivery-notes
350
+ #: wcdn-help.php:92
351
+ msgid "Google+"
352
+ msgstr ""
353
+
354
+ #@ woocommerce-delivery-notes
355
+ #: wcdn-help.php:112
356
+ #, php-format
357
+ msgid "Just look under <a href=\"%1$s\">WooCommerce > Orders</a> and there go to a single order view. On the right side you will see the Delivery Note meta box. Click and you get the delivery Note printing page. Yes, it is that easy :-)."
358
+ msgstr ""
359
+
360
+ #@ woocommerce-delivery-notes
361
+ #: wcdn-help.php:124
362
+ #: wcdn-help.php:132
363
+ msgid "Question:"
364
+ msgstr ""
365
+
366
+ #@ woocommerce-delivery-notes
367
+ #: wcdn-help.php:126
368
+ #: wcdn-help.php:134
369
+ msgid "Answer:"
370
+ msgstr ""
371
+
372
+ #@ woocommerce-delivery-notes
373
+ #: wcdn-help.php:149
374
+ #, php-format
375
+ msgid "<strong>Rating &amp; Tips:</strong> If you like the plugin please %1$srate at WordPress.org%2$s with 5 stars. <em>Thank you!</em> &mdash; %3$sMore plugins for WordPress by DECKERWEB%2$s"
376
+ msgstr ""
377
+
378
+ #@ woocommerce-delivery-notes
379
+ #: wcdn-help.php:159
380
+ #, php-format
381
+ msgid "<strong>Author:</strong> David Decker of %1$sdeckerweb.de%2$s and %3$sGenesisThemes%2$s - Join me at %4$sTwitter%2$s, %5$sFacebook%2$s and %6$sGoogle Plus%2$s :-)"
382
+ msgstr ""
383
+
384
+ #@ woocommerce-delivery-notes
385
+ #: wcdn-help.php:160
386
+ #, php-format
387
+ msgid "<strong>License:</strong> GPL v3 - %1$sMore info on the GPL license ...%2$s"
388
+ msgstr ""
389
+
390
+ #@ woocommerce-delivery-notes
391
+ #: wcdn-help.php:91
392
+ msgid "Website"
393
+ msgstr ""
394
+
395
+ #@ woocommerce-delivery-notes
396
+ #: wcdn-help.php:93
397
+ msgid "at WordPress.org"
398
+ msgstr ""
399
+
400
+ #@ woocommerce-delivery-notes
401
+ #: wcdn-help.php:91
402
+ msgid "http://genesisthemes.de/en/"
403
+ msgstr ""
404
+
405
+ #@ woocommerce-delivery-notes
406
+ #: wcdn-help.php:125
407
+ msgid "Can I use a Custom Template for the printing page?"
408
+ msgstr ""
409
+
410
+ #@ woocommerce-delivery-notes
411
+ #: wcdn-help.php:128
412
+ msgid "Note: This works with both single themes and child themes (if you use some framework like Genesis). If your current active theme is a child theme put the custom folder there! (e.g. <code>/wp-content/themes/your-child-theme-name/woocommerce</code>)"
413
+ msgstr ""
414
+
415
+ #@ woocommerce-delivery-notes
416
+ #: wcdn-help.php:133
417
+ msgid "What Template Functions can I use?"
418
+ msgstr ""
419
+
420
+ #@ woocommerce-delivery-notes
421
+ #: wcdn-help.php:127
422
+ msgid "If you want to use your own template then all you need to do is copy the <code>/wp-content/plugins/woocommerce-delivery-notes/delivery-note-template</code> folder and paste it inside your <code>/wp-content/themes/your-theme-name/woocommerce</code> folder (if not there just create it). The folder from the plugin comes with the default template and the basic CSS stylesheet file. You can modifiy this to fit your own needs."
423
+ msgstr ""
424
+
425
+ #@ woocommerce-delivery-notes
426
+ #: wcdn-help.php:136
427
+ msgid "Important note: This is only intended for developers who know what they do! Please be careful with adding any code/functions! The default template and functions should fit most use cases."
428
+ msgstr ""
429
+
430
+ #@ woocommerce-delivery-notes
431
+ #: wcdn-help.php:135
432
+ msgid "Arbitrary php code and all WordPress functions are available in the template. Besides that there are many Delivery Notes specific template functions. Open the <code>woocommerce-delivery-notes/wcdn-print.php</code> file to see all available functions."
433
+ msgstr ""
434
+
435
+ #: delivery-note-template/template.php:121
436
+ #@ woocommerce-delivery-notes
437
+ msgid "Customer Notes:"
438
+ msgstr ""
439
+
440
+ #. translators: plugin header field 'Version'
441
+ #: woocommerce-delivery-notes.php:0
442
+ #@ woocommerce-delivery-notes
443
+ msgid "1.1"
444
+ msgstr ""
445
+
languages/woocommerce-delivery-notes.pot CHANGED
@@ -1,4 +1,4 @@
1
- # This German Language File: Copyright (C) 2011 by David Decker of deckerweb.de & genesisthemes.de
2
  # This file is distributed under the same license as the WooCommerce Delivery Notes Plugin package.
3
  #
4
  msgid ""
@@ -116,12 +116,6 @@ msgstr ""
116
  msgid "http://deckerweb.de/"
117
  msgstr ""
118
 
119
- #@ woocommerce-delivery-notes
120
- #. translators: plugin header field 'Version'
121
- #: woocommerce-delivery-notes.php:0
122
- msgid "1.0"
123
- msgstr ""
124
-
125
  #@ woocommerce-delivery-notes
126
  #: woocommerce-delivery-notes.php:48
127
  msgid "Go to the settings page"
@@ -438,3 +432,14 @@ msgstr ""
438
  msgid "Arbitrary php code and all WordPress functions are available in the template. Besides that there are many Delivery Notes specific template functions. Open the <code>woocommerce-delivery-notes/wcdn-print.php</code> file to see all available functions."
439
  msgstr ""
440
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This German Language File: Copyright (C) 2011-2012 by David Decker of deckerweb.de & genesisthemes.de
2
  # This file is distributed under the same license as the WooCommerce Delivery Notes Plugin package.
3
  #
4
  msgid ""
116
  msgid "http://deckerweb.de/"
117
  msgstr ""
118
 
 
 
 
 
 
 
119
  #@ woocommerce-delivery-notes
120
  #: woocommerce-delivery-notes.php:48
121
  msgid "Go to the settings page"
432
  msgid "Arbitrary php code and all WordPress functions are available in the template. Besides that there are many Delivery Notes specific template functions. Open the <code>woocommerce-delivery-notes/wcdn-print.php</code> file to see all available functions."
433
  msgstr ""
434
 
435
+ #: delivery-note-template/template.php:121
436
+ #@ woocommerce-delivery-notes
437
+ msgid "Customer Notes:"
438
+ msgstr ""
439
+
440
+ #. translators: plugin header field 'Version'
441
+ #: woocommerce-delivery-notes.php:0
442
+ #@ woocommerce-delivery-notes
443
+ msgid "1.1"
444
+ msgstr ""
445
+
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: daveshine
3
  Donate link: http://genesisthemes.de/en/donate/
4
  Tags: delivery notes, delivery, shipping, print, order, invoice, woocommerce, woo commerce, woothemes, administration, shop, shop manager, deckerweb
5
- Requires at least: 3.3
6
- Tested up to: 3.3
7
- Stable tag: 1.0
8
 
9
  This plugin adds Delivery Notes for the WooCommerce Shop Plugin. You can add company info as well as personal notes and policies to the print page.
10
 
@@ -18,13 +18,15 @@ The plugin adds a new side panel on the order page to allow shop administrators
18
  * The plugin comes with an attached template for the delivery note (printing) page - you could also copy this to your theme and customize it to your needs! The plugin will recognize the new place. (See under [FAQ here](http://wordpress.org/extend/plugins/woocommerce-delivery-notes/faq/))
19
  * All setting fields on the settings pages are optional - you can leave them empty to not use them at all or only apply what you need.
20
  * If the company/shop name field is left empty then the regular website/blog title is used (defined via regular WordPress options)
 
21
  * Included contextual help tab system with new WordPress 3.3 standard! (Will also be extended if needed!)
22
 
23
  = Localization =
24
  * English (default) - always included
25
  * German - always included
 
26
  * .pot file (`woocommerce-delivery-notes.pot`) for translators is also always included :)
27
- * Your translation? - [Just send it in](http://genesisthemes.de/en/contact/)
28
 
29
  Credit where credit is due: This plugin here is inspired and based on the work of Steve Clark, Trigvvy Gunderson and PiffPaffPuff and the awesome "Jigoshop Delivery Notes" plugin! See below how you can contribute to the further development of both:
30
 
@@ -41,7 +43,7 @@ Since this is a fork I've made the plugin available in a developer repository at
41
  * I am open for your suggestions and feedback - Thank you for using or trying out one of my plugins!
42
  * Drop me a line [@deckerweb](http://twitter.com/#!/deckerweb) on Twitter
43
  * Follow me on [my Facebook page](http://www.facebook.com/deckerweb.service)
44
- * Or follow me on [@David Decker](http://deckerweb.de/gplus) on Google Plus ;-)
45
 
46
  = More =
47
  * [Also see my other plugins](http://genesisthemes.de/en/wp-plugins/) or see [my WordPress.org profile page](http://profiles.wordpress.org/users/daveshine/)
@@ -55,6 +57,8 @@ Since this is a fork I've made the plugin available in a developer repository at
55
  4. On single order pages you'll find a new meta box on the right side where it says "View & Print Delivery Note" you can open the delivery note for the actual order and print it out directly
56
  5. Go and manage your orders - good luck with sales :)
57
 
 
 
58
  == Frequently Asked Questions ==
59
 
60
  = Can I use a Custom Template for the printing page? =
@@ -67,19 +71,40 @@ Various functions are available in the template, especially many Delivery Notes
67
 
68
  *Please note:* This is only intended for developers who know what they do! Please be careful with adding any code/functions! The default template and functions should fit most use cases.
69
 
 
 
 
 
 
 
 
 
 
70
  == Screenshots ==
71
 
72
- 1. Plugin's settings page where you can set up to four fields for the delivery note.
73
  2. Contextual help tabs on the plugin's settings page.
74
- 3. Delivery Note printing page with default template - and the four custom sections marked (yellow)
75
 
76
  == Changelog ==
77
 
 
 
 
 
 
 
 
 
78
  = 1.0 =
79
  * Initial release
80
  * Forked and extended from original plugin for Jigoshop ("Jigoshop Delivery Notes" at GitHub)
81
 
82
  == Upgrade Notice ==
 
 
 
 
83
  = 1.0 =
84
  Just released into the wild.
85
 
@@ -87,8 +112,9 @@ Just released into the wild.
87
 
88
  * English - default, always included
89
  * German: Deutsch - immer dabei! [Download auch via deckerweb.de](http://deckerweb.de/material/sprachdateien/woocommerce-und-extensions/#woocommerce-delivery-notes)
 
90
 
91
- Note: All my plugins are localized/ translateable by default. This is very important for all users worldwide. So please contribute your language to the plugin to make it even more useful. For translating I recommend the awesome ["Codestyling Localization" plugin](http://wordpress.org/extend/plugins/codestyling-localization/) and for validating the ["Poedit Editor"](http://www.poedit.net/).
92
 
93
  == Additional Info ==
94
  **Idea Behind / Philosophy:** Just a little plugin for all the WooCommerce shop managers out there to make their daily shop admin life a bit easier.
2
  Contributors: daveshine
3
  Donate link: http://genesisthemes.de/en/donate/
4
  Tags: delivery notes, delivery, shipping, print, order, invoice, woocommerce, woo commerce, woothemes, administration, shop, shop manager, deckerweb
5
+ Requires at least: 3.3 and WooCommerce 1.4+
6
+ Tested up to: 3.3.1
7
+ Stable tag: 1.1
8
 
9
  This plugin adds Delivery Notes for the WooCommerce Shop Plugin. You can add company info as well as personal notes and policies to the print page.
10
 
18
  * The plugin comes with an attached template for the delivery note (printing) page - you could also copy this to your theme and customize it to your needs! The plugin will recognize the new place. (See under [FAQ here](http://wordpress.org/extend/plugins/woocommerce-delivery-notes/faq/))
19
  * All setting fields on the settings pages are optional - you can leave them empty to not use them at all or only apply what you need.
20
  * If the company/shop name field is left empty then the regular website/blog title is used (defined via regular WordPress options)
21
+ * If there are added "Customer Notes" (regular WooCommerce feature) for an order these will automatically displayed at the bottom of the delivery note.
22
  * Included contextual help tab system with new WordPress 3.3 standard! (Will also be extended if needed!)
23
 
24
  = Localization =
25
  * English (default) - always included
26
  * German - always included
27
+ * Swedish - user-submitted, thanks to [Christopher Anderton](http://www.deluxive.se/)
28
  * .pot file (`woocommerce-delivery-notes.pot`) for translators is also always included :)
29
+ * *Your translation? - [Just send it in](http://genesisthemes.de/en/contact/)*
30
 
31
  Credit where credit is due: This plugin here is inspired and based on the work of Steve Clark, Trigvvy Gunderson and PiffPaffPuff and the awesome "Jigoshop Delivery Notes" plugin! See below how you can contribute to the further development of both:
32
 
43
  * I am open for your suggestions and feedback - Thank you for using or trying out one of my plugins!
44
  * Drop me a line [@deckerweb](http://twitter.com/#!/deckerweb) on Twitter
45
  * Follow me on [my Facebook page](http://www.facebook.com/deckerweb.service)
46
+ * Or follow me on [+David Decker](http://deckerweb.de/gplus) on Google Plus ;-)
47
 
48
  = More =
49
  * [Also see my other plugins](http://genesisthemes.de/en/wp-plugins/) or see [my WordPress.org profile page](http://profiles.wordpress.org/users/daveshine/)
57
  4. On single order pages you'll find a new meta box on the right side where it says "View & Print Delivery Note" you can open the delivery note for the actual order and print it out directly
58
  5. Go and manage your orders - good luck with sales :)
59
 
60
+ **Please note:** You must run WordPress 3.3 or higher and WooCommerce 1.4 or higher in order tun this plugin. This is due to changes in WooCommerc v1.4+!
61
+
62
  == Frequently Asked Questions ==
63
 
64
  = Can I use a Custom Template for the printing page? =
71
 
72
  *Please note:* This is only intended for developers who know what they do! Please be careful with adding any code/functions! The default template and functions should fit most use cases.
73
 
74
+ = What will actually get printed out? =
75
+ No worries, the print buttons at the top and the bottom will automatically be hidden on print!
76
+ The other sections get printed as styled via the packaged template (or your custom template if configured). For the shop/company name and all other notes sections: only these will get printed which are actually configured.
77
+ Beyond the styling of your template be aware of any special features of your used browser - I highly recommend to use the "Print Preview" feature of your browser which all current versions of Firefox, Chrome and Opera support.
78
+
79
+ = Can you update the plugin with feature X or option Y?
80
+ Mmh. Maybe.
81
+ The basic intention is to have the plugin at the same time as leightweight and useful as possible. So any feature request needs to ...
82
+
83
  == Screenshots ==
84
 
85
+ 1. Plugin's settings page where you can set up to five fields for the delivery note.
86
  2. Contextual help tabs on the plugin's settings page.
87
+ 3. Delivery Note printing page with default template - and the five custom sections marked (yellow)
88
 
89
  == Changelog ==
90
 
91
+ = 1.1 =
92
+ * Maintenance release.
93
+ * UPDATE: Changed product price calculation due to changes in WooCommerce itself -- this led to **new required versions** for this plugin: **at least WordPress 3.3 and WooCommerce 1.4** or higher (Note: If you still have WooCommerc 1.3.x running then use version 1.0 of the Delivery Notes plugin!)
94
+ * UPDATE: Custom fields on settings page now accept proper `img` tags, so you can add logo images or such via HTML IMG tag (for example: `<img src="your-image-url" width="100" height="100" alt="Logo" title="My Shop" />`)
95
+ * UPDATE: Corrected readme.txt file
96
+ * NEW: Added Swedish translation - Thanx to Christopher Anderton
97
+ * UPDATE: Updated German translations and also the .pot file for all translators!
98
+
99
  = 1.0 =
100
  * Initial release
101
  * Forked and extended from original plugin for Jigoshop ("Jigoshop Delivery Notes" at GitHub)
102
 
103
  == Upgrade Notice ==
104
+
105
+ = 1.1 =
106
+ Several changes: Changed price calculation due to WC 1.4+ changes. Added img tag support for fields on settings page. Corrected readme.txt file, added Swedish translations, also updated .pot file together with German translations.
107
+
108
  = 1.0 =
109
  Just released into the wild.
110
 
112
 
113
  * English - default, always included
114
  * German: Deutsch - immer dabei! [Download auch via deckerweb.de](http://deckerweb.de/material/sprachdateien/woocommerce-und-extensions/#woocommerce-delivery-notes)
115
+ * Swedish: Svenska - user-submitted by [Christopher Anderton](http://www.deluxive.se/)
116
 
117
+ *Note:* All my plugins are localized/ translateable by default. This is very important for all users worldwide. So please contribute your language to the plugin to make it even more useful. For translating I recommend the awesome ["Codestyling Localization" plugin](http://wordpress.org/extend/plugins/codestyling-localization/) and for validating the ["Poedit Editor"](http://www.poedit.net/).
118
 
119
  == Additional Info ==
120
  **Idea Behind / Philosophy:** Just a little plugin for all the WooCommerce shop managers out there to make their daily shop admin life a bit easier.
wcdn-classes.php CHANGED
@@ -2,10 +2,14 @@
2
  /**
3
  * All core plugin classes.
4
  *
5
- * @package WooCommerce Delivery Notes
6
- * @author David Decker - DECKERWEB
7
- * @license http://www.opensource.org/licenses/gpl-license.php GPL v3.0 (or later)
8
- * @link http://genesisthemes.de/en/wp-plugins/
 
 
 
 
9
  */
10
 
11
  /**
@@ -28,8 +32,8 @@ if ( !class_exists( 'WooCommerce_Delivery_Notes' ) ) {
28
  */
29
  public function WooCommerce_Delivery_Notes() {
30
  $this->prefix = 'wcdn_';
31
- $this->plugin_url = plugin_dir_url(__FILE__);
32
- $this->plugin_path = plugin_dir_path(__FILE__);
33
  }
34
 
35
  } // enf of class WooCommerce_Delivery_Notes
@@ -136,6 +140,7 @@ if ( !class_exists( 'WooCommerce_Delivery_Notes_Admin' ) ) {
136
  * Create the settings page content
137
  *
138
  * @since 1.0
 
139
  */
140
  public function ddw_wcdn_settings_page() {
141
 
@@ -146,8 +151,8 @@ if ( !class_exists( 'WooCommerce_Delivery_Notes_Admin' ) ) {
146
 
147
  // Save the field values
148
  $fields_submitted = $this->prefix . 'fields_submitted';
149
- if ( isset($_POST[ $fields_submitted ]) && $_POST[ $fields_submitted ] == 'submitted' ) {
150
- foreach ($_POST as $key => $value) {
151
  if ( get_option( $key ) != $value ) {
152
  update_option( $key, $value );
153
  }
@@ -164,93 +169,94 @@ if ( !class_exists( 'WooCommerce_Delivery_Notes_Admin' ) ) {
164
  // Show page content and settings fields
165
  ?>
166
  <div class="wrap">
167
- <div id="icon-options-general" class="icon32">
168
- <br />
169
- </div>
170
- <h2><?php _e( 'WooCommerce - Delivery Notes Settings', 'woocommerce-delivery-notes' ); ?></h2>
171
-
172
- <p><?php _e( 'All setting fields below are optional - you can leave them empty to not use them at all or only apply what you need.', 'woocommerce-delivery-notes' ); ?></p>
173
-
174
- <form method="post" action="">
175
- <input type="hidden" name="<?php echo $fields_submitted; ?>" value="submitted">
176
-
177
- <table class="form-table">
178
- <tbody>
179
- <tr>
180
- <th>
181
- <label for="<?php echo $this->prefix; ?>custom_company_name"><b><?php _e( 'Company/Shop Name:', 'woocommerce-delivery-notes' ); ?><b></label>
182
- </th>
183
- <td>
184
- <textarea name="<?php echo $this->prefix; ?>custom_company_name" rows="1" class="large-text"><?php echo get_option( $this->prefix . 'custom_company_name' ); ?></textarea>
185
- <span class="description"><?php
186
- echo __( 'Your custom company or shop name for the Delivery Note.', 'woocommerce-delivery-notes' );
187
- echo '<br /><strong>' . __( 'Note:', 'woocommerce-delivery-notes' ) . '</strong> ';
188
- echo __( 'Leave blank to use your default Website/ Blog title defined in WordPress settings.', 'woocommerce-delivery-notes' );
189
- ?></span>
190
- </td>
191
- </tr>
192
- <tr>
193
- <th>
194
- <label for="<?php echo $this->prefix; ?>company_address"><b><?php _e( 'Company/Shop Address:', 'woocommerce-delivery-notes' ); ?><b></label>
195
- </th>
196
- <td>
197
- <textarea name="<?php echo $this->prefix; ?>company_address" rows="6" class="large-text"><?php echo get_option( $this->prefix . 'company_address' ); ?></textarea>
198
- <span class="description"><?php
199
- echo __( 'The postal address of the company/shop, which gets printed right of the company/shop name, above the order listings.', 'woocommerce-delivery-notes' );
200
- echo '<br /><strong>' . __( 'Note:', 'woocommerce-delivery-notes' ) . '</strong> ';
201
- echo __( 'Here, you can also add some other contact information like the telephone and email.', 'woocommerce-delivery-notes' );
202
- ?></span>
203
- </td>
204
- </tr>
205
- <tr>
206
- <th>
207
- <label for="<?php echo $this->prefix; ?>personal_notes"><b><?php _e( 'Personal Notes:', 'woocommerce-delivery-notes' ); ?></b></label>
208
- </th>
209
- <td>
210
- <textarea name="<?php echo $this->prefix; ?>personal_notes" rows="3" class="large-text"><?php echo get_option( $this->prefix . 'personal_notes' ); ?></textarea>
211
- <span class="description"><?php
212
- echo __( 'Add some personal notes, or season greetings or whatever (e.g. Thank You for Your Order!, Merry Christmas!, etc.).', 'woocommerce-delivery-notes' );
213
- echo '<br /><strong>' . __( 'Note:', 'woocommerce-delivery-notes' ) . '</strong> ';
214
- echo __( 'This info gets printed below the order listings but above the regular shipping notes (added at WooCommerce single order pages). These personal notes here will get styled with bigger font size.', 'woocommerce-delivery-notes' );
215
- ?></span>
216
- </td>
217
- </tr>
218
- <tr>
219
- <th>
220
- <label for="<?php echo $this->prefix; ?>policies_conditions"><b><?php _e( 'Returns Policy, Conditions, etc.:', 'woocommerce-delivery-notes' ); ?></b></label>
221
- </th>
222
- <td>
223
- <textarea name="<?php echo $this->prefix; ?>policies_conditions" rows="6" class="large-text"><?php echo get_option( $this->prefix . 'policies_conditions' ); ?></textarea>
224
- <span class="description"><?php
225
- echo __( 'Here you can add some more policies, conditions etc. For example add a returns policy in case the client would like to send back some goods.', 'woocommerce-delivery-notes' );
226
- echo '<br /><strong>' . __( 'Note:', 'woocommerce-delivery-notes' ) . '</strong> ';
227
- echo __( 'In some countries (e.g. in the European Union) this is required so please add any required info in accordance with the statutory regulations.', 'woocommerce-delivery-notes' );
228
- ?></span>
229
- </td>
230
- </tr>
231
- <tr>
232
- <th>
233
- <label for="<?php echo $this->prefix; ?>footer_imprint"><b><?php _e( 'Footer Imprint:', 'woocommerce-delivery-notes' ); ?></b></label>
234
- </th>
235
- <td>
236
- <textarea name="<?php echo $this->prefix; ?>footer_imprint" rows="2" class="large-text"><?php echo get_option( $this->prefix . 'footer_imprint' ); ?></textarea>
237
- <span class="description"><?php
238
- echo __( 'Add some further footer imprint, copyright notes etc. to get the printed sheets a bit more branded to your needs.', 'woocommerce-delivery-notes' );
239
- echo '<br /><strong>' . __( 'Note:', 'woocommerce-delivery-notes' ) . '</strong> ';
240
- echo __(' This footer info gets printed in lower font size and a bit lighter text color.', 'woocommerce-delivery-notes' );
241
  ?></span>
242
- </td>
243
- </tr>
244
- </tbody>
245
- </table>
246
-
247
- <p class="submit">
248
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e( 'Save Changes', 'woocommerce-delivery-notes' ); ?>" />
249
- </p>
250
- </form>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
251
  </div><!-- .wrap -->
252
  <?php
253
- }
 
254
 
255
  } // end of class WooCommerce_Delivery_Notes_Admin
256
 
@@ -300,7 +306,7 @@ if ( !class_exists( 'WooCommerce_Delivery_Notes_Print' ) ) {
300
  $this->template_dir_url = trailingslashit( get_stylesheet_directory_uri() ) . 'woocommerce/' . $this->template_dir_name;
301
  $this->template_dir_path = trailingslashit( get_stylesheet_directory() ) . 'woocommerce/' . $this->template_dir_name;
302
 
303
- }
304
 
305
  // Read the file
306
  ob_start();
@@ -326,24 +332,56 @@ if ( !class_exists( 'WooCommerce_Delivery_Notes_Print' ) ) {
326
  * Get the current order items
327
  *
328
  * @since 1.0
 
 
 
 
329
  */
330
  public function get_order_items( $order_id ) {
 
 
 
 
331
  $order = $this->get_order( $order_id );
332
- $items = $order->items;
333
  $data_list = array();
334
 
335
  foreach ( $items as $item ) {
 
 
336
  $product = $order->get_product_from_item( $item );
337
 
 
 
 
 
 
 
 
338
  $data = array();
 
 
339
  $data['name'] = $item['name'];
 
 
340
  $data['variation'] = null;
341
- $data['quantity'] = $item['qty'];
342
- $data['price'] = woocommerce_price( $item['cost'] * $item['qty'], array('ex_tax_label' => 1) );
 
 
 
 
 
 
343
  $data['taxrate'] = $item['taxrate'];
 
 
344
  $data['sku'] = $product->sku;
345
- $data['weight'] = $product->data['weight'];
346
 
 
 
 
 
347
  if ( isset( $item['variation_id'] ) && $item['variation_id'] > 0 ) {
348
  $product = new woocommerce_product_variation( $item['variation_id'] );
349
  $data['variation'] = woocommerce_get_formatted_variation( $product->get_variation_attributes(), true );
@@ -359,6 +397,8 @@ if ( !class_exists( 'WooCommerce_Delivery_Notes_Print' ) ) {
359
  * Get the content for an option
360
  *
361
  * @since 1.0
 
 
362
  */
363
  public function get_setting( $name ) {
364
  return get_option( $this->prefix . $name );
2
  /**
3
  * All core plugin classes.
4
  *
5
+ * @package WooCommerce Delivery Notes
6
+ * @author David Decker - DECKERWEB
7
+ * @copyright Copyright 2011-2012, David Decker - DECKERWEB
8
+ * @license http://www.opensource.org/licenses/gpl-license.php GPL v3.0 (or later)
9
+ * @link http://genesisthemes.de/en/wp-plugins/woocommerce-delivery-notes/
10
+ * @link http://twitter.com/#!/deckerweb
11
+ *
12
+ * @since 1.0
13
  */
14
 
15
  /**
32
  */
33
  public function WooCommerce_Delivery_Notes() {
34
  $this->prefix = 'wcdn_';
35
+ $this->plugin_url = plugin_dir_url( __FILE__ );
36
+ $this->plugin_path = plugin_dir_path( __FILE__ );
37
  }
38
 
39
  } // enf of class WooCommerce_Delivery_Notes
140
  * Create the settings page content
141
  *
142
  * @since 1.0
143
+ * @version 1.1
144
  */
145
  public function ddw_wcdn_settings_page() {
146
 
151
 
152
  // Save the field values
153
  $fields_submitted = $this->prefix . 'fields_submitted';
154
+ if ( isset( $_POST[ $fields_submitted ] ) && $_POST[ $fields_submitted ] == 'submitted' ) {
155
+ foreach ( $_POST as $key => $value ) {
156
  if ( get_option( $key ) != $value ) {
157
  update_option( $key, $value );
158
  }
169
  // Show page content and settings fields
170
  ?>
171
  <div class="wrap">
172
+ <div id="icon-options-general" class="icon32">
173
+ <br />
174
+ </div>
175
+ <h2><?php _e( 'WooCommerce - Delivery Notes Settings', 'woocommerce-delivery-notes' ); ?></h2>
176
+
177
+ <p><?php _e( 'All setting fields below are optional - you can leave them empty to not use them at all or only apply what you need.', 'woocommerce-delivery-notes' ); ?></p>
178
+
179
+ <form method="post" action="">
180
+ <input type="hidden" name="<?php echo $fields_submitted; ?>" value="submitted">
181
+
182
+ <table class="form-table">
183
+ <tbody>
184
+ <tr>
185
+ <th>
186
+ <label for="<?php echo $this->prefix; ?>custom_company_name"><b><?php _e( 'Company/Shop Name:', 'woocommerce-delivery-notes' ); ?></b></label>
187
+ </th>
188
+ <td>
189
+ <textarea name="<?php echo $this->prefix; ?>custom_company_name" rows="1" class="large-text"><?php echo wp_kses_stripslashes( get_option( $this->prefix . 'custom_company_name' ) ); ?></textarea>
190
+ <span class="description"><?php
191
+ echo __( 'Your custom company or shop name for the Delivery Note.', 'woocommerce-delivery-notes' );
192
+ echo '<br /><strong>' . __( 'Note:', 'woocommerce-delivery-notes' ) . '</strong> ';
193
+ echo __( 'Leave blank to use your default Website/ Blog title defined in WordPress settings.', 'woocommerce-delivery-notes' );
194
+ ?></span>
195
+ </td>
196
+ </tr>
197
+ <tr>
198
+ <th>
199
+ <label for="<?php echo $this->prefix; ?>company_address"><b><?php _e( 'Company/Shop Address:', 'woocommerce-delivery-notes' ); ?></b></label>
200
+ </th>
201
+ <td>
202
+ <textarea name="<?php echo $this->prefix; ?>company_address" rows="6" class="large-text"><?php echo wp_kses_stripslashes( get_option( $this->prefix . 'company_address' ) ); ?></textarea>
203
+ <span class="description"><?php
204
+ echo __( 'The postal address of the company/shop, which gets printed right of the company/shop name, above the order listings.', 'woocommerce-delivery-notes' );
205
+ echo '<br /><strong>' . __( 'Note:', 'woocommerce-delivery-notes' ) . '</strong> ';
206
+ echo __( 'Here, you can also add some other contact information like the telephone and email.', 'woocommerce-delivery-notes' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
207
  ?></span>
208
+ </td>
209
+ </tr>
210
+ <tr>
211
+ <th>
212
+ <label for="<?php echo $this->prefix; ?>personal_notes"><b><?php _e( 'Personal Notes:', 'woocommerce-delivery-notes' ); ?></b></label>
213
+ </th>
214
+ <td>
215
+ <textarea name="<?php echo $this->prefix; ?>personal_notes" rows="3" class="large-text"><?php echo wp_kses_stripslashes( get_option( $this->prefix . 'personal_notes' ) ); ?></textarea>
216
+ <span class="description"><?php
217
+ echo __( 'Add some personal notes, or season greetings or whatever (e.g. Thank You for Your Order!, Merry Christmas!, etc.).', 'woocommerce-delivery-notes' );
218
+ echo '<br /><strong>' . __( 'Note:', 'woocommerce-delivery-notes' ) . '</strong> ';
219
+ echo __( 'This info gets printed below the order listings but above the regular shipping notes (added at WooCommerce single order pages). These personal notes here will get styled with bigger font size.', 'woocommerce-delivery-notes' );
220
+ ?></span>
221
+ </td>
222
+ </tr>
223
+ <tr>
224
+ <th>
225
+ <label for="<?php echo $this->prefix; ?>policies_conditions"><b><?php _e( 'Returns Policy, Conditions, etc.:', 'woocommerce-delivery-notes' ); ?></b></label>
226
+ </th>
227
+ <td>
228
+ <textarea name="<?php echo $this->prefix; ?>policies_conditions" rows="6" class="large-text"><?php echo wp_kses_stripslashes( get_option( $this->prefix . 'policies_conditions' ) ); ?></textarea>
229
+ <span class="description"><?php
230
+ echo __( 'Here you can add some more policies, conditions etc. For example add a returns policy in case the client would like to send back some goods.', 'woocommerce-delivery-notes' );
231
+ echo '<br /><strong>' . __( 'Note:', 'woocommerce-delivery-notes' ) . '</strong> ';
232
+ echo __( 'In some countries (e.g. in the European Union) this is required so please add any required info in accordance with the statutory regulations.', 'woocommerce-delivery-notes' );
233
+ ?></span>
234
+ </td>
235
+ </tr>
236
+ <tr>
237
+ <th>
238
+ <label for="<?php echo $this->prefix; ?>footer_imprint"><b><?php _e( 'Footer Imprint:', 'woocommerce-delivery-notes' ); ?></b></label>
239
+ </th>
240
+ <td>
241
+ <textarea name="<?php echo $this->prefix; ?>footer_imprint" rows="2" class="large-text"><?php echo wp_kses_stripslashes( get_option( $this->prefix . 'footer_imprint' ) ); ?></textarea>
242
+ <span class="description"><?php
243
+ echo __( 'Add some further footer imprint, copyright notes etc. to get the printed sheets a bit more branded to your needs.', 'woocommerce-delivery-notes' );
244
+ echo '<br /><strong>' . __( 'Note:', 'woocommerce-delivery-notes' ) . '</strong> ';
245
+ echo __(' This footer info gets printed in lower font size and a bit lighter text color.', 'woocommerce-delivery-notes' );
246
+ ?></span>
247
+ </td>
248
+ </tr>
249
+ </tbody>
250
+ </table>
251
+
252
+ <p class="submit">
253
+ <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e( 'Save Changes', 'woocommerce-delivery-notes' ); ?>" />
254
+ </p>
255
+ </form>
256
  </div><!-- .wrap -->
257
  <?php
258
+
259
+ } // end of function ddw_wcdn_settings_page
260
 
261
  } // end of class WooCommerce_Delivery_Notes_Admin
262
 
306
  $this->template_dir_url = trailingslashit( get_stylesheet_directory_uri() ) . 'woocommerce/' . $this->template_dir_name;
307
  $this->template_dir_path = trailingslashit( get_stylesheet_directory() ) . 'woocommerce/' . $this->template_dir_name;
308
 
309
+ } // end-if
310
 
311
  // Read the file
312
  ob_start();
332
  * Get the current order items
333
  *
334
  * @since 1.0
335
+ * @version 1.1
336
+ *
337
+ * @global $woocommerce
338
+ * @global $_product
339
  */
340
  public function get_order_items( $order_id ) {
341
+
342
+ global $woocommerce;
343
+ global $_product;
344
+
345
  $order = $this->get_order( $order_id );
346
+ $items = $order->get_items();
347
  $data_list = array();
348
 
349
  foreach ( $items as $item ) {
350
+
351
+ // Get product item data
352
  $product = $order->get_product_from_item( $item );
353
 
354
+ // Helper code: Get product price - line total
355
+ $pricehelp = $order->get_line_total( $item );
356
+
357
+ // Helper code: Calculate single product price
358
+ $singlepricehelp = ( $pricehelp / $item['qty'] );
359
+
360
+ // Array: Get array with data for printing template
361
  $data = array();
362
+
363
+ // Get item name
364
  $data['name'] = $item['name'];
365
+
366
+ // Check for item variation
367
  $data['variation'] = null;
368
+
369
+ // Get item quantity
370
+ $data['quantity'] = ( $pricehelp / $singlepricehelp );
371
+
372
+ // Get item price
373
+ $data['price'] = woocommerce_price( $pricehelp / $item['qty'], array( 'ex_tax_label' => 1 ) );
374
+
375
+ // Get item tax rate
376
  $data['taxrate'] = $item['taxrate'];
377
+
378
+ // Get item SKU
379
  $data['sku'] = $product->sku;
 
380
 
381
+ // Get item weight
382
+ $data['weight'] = $product->weight;
383
+
384
+ // Check for item variations
385
  if ( isset( $item['variation_id'] ) && $item['variation_id'] > 0 ) {
386
  $product = new woocommerce_product_variation( $item['variation_id'] );
387
  $data['variation'] = woocommerce_get_formatted_variation( $product->get_variation_attributes(), true );
397
  * Get the content for an option
398
  *
399
  * @since 1.0
400
+ *
401
+ * @return option
402
  */
403
  public function get_setting( $name ) {
404
  return get_option( $this->prefix . $name );
wcdn-help.php CHANGED
@@ -2,10 +2,15 @@
2
  /**
3
  * Load help tabs for admin settings page and support links on plugins listing page.
4
  *
5
- * @package WooCommerce Delivery Notes
6
- * @author David Decker - DECKERWEB
7
- * @license http://www.opensource.org/licenses/gpl-license.php GPL v3.0 (or later)
8
- * @link http://genesisthemes.de/en/wp-plugins/
 
 
 
 
 
9
  */
10
 
11
  add_filter( 'plugin_row_meta', 'ddw_wcdn_plugin_links', 10, 2 );
@@ -13,6 +18,10 @@ add_filter( 'plugin_row_meta', 'ddw_wcdn_plugin_links', 10, 2 );
13
  * Add various support links to plugin page
14
  *
15
  * @since 1.0
 
 
 
 
16
  */
17
  function ddw_wcdn_plugin_links( $wcdn_links, $wcdn_file ) {
18
 
@@ -29,12 +38,13 @@ function ddw_wcdn_plugin_links( $wcdn_links, $wcdn_file ) {
29
  }
30
 
31
 
32
-
33
  add_action( 'admin_menu', 'ddw_wcdn_help_tab_init', 15 );
34
  /**
35
  * Load help tab on settings page
36
  *
37
  * @since 1.0
 
 
38
  */
39
  function ddw_wcdn_help_tab_init() {
40
 
@@ -50,6 +60,8 @@ function ddw_wcdn_help_tab_init() {
50
  * Set up the help tab titles for the settings page - for WordPress 3.3 and higher
51
  *
52
  * @since 1.0
 
 
53
  */
54
  function ddw_wcdn_help_tabs() {
55
 
@@ -100,8 +112,10 @@ function ddw_wcdn_help_tabs() {
100
  * Add the actual help tabs content for the settings page - for WordPress 3.3 and higher
101
  *
102
  * @since 1.0
 
 
103
  */
104
- function ddw_wcdn_help_tab_content( $tab = 'wcdn-usage' ) {
105
  if ( $tab == 'wcdn-usage' ) {
106
 
107
  ob_start();
@@ -113,7 +127,7 @@ function ddw_wcdn_help_tab_content( $tab = 'wcdn-usage' ) {
113
 
114
  return ob_get_clean();
115
 
116
- } elseif ( $tab == 'wcdn-faq' ) {
117
 
118
  ob_start();
119
  echo '<h3>' . __( 'Plugin: WooCommerce Delivery Notes', 'woocommerce-delivery-notes' ) . '</h3>';
@@ -138,7 +152,7 @@ function ddw_wcdn_help_tab_content( $tab = 'wcdn-usage' ) {
138
 
139
  return ob_get_clean();
140
 
141
- } elseif ( $tab == 'wcdn-support-donation-rating-tips' ) {
142
 
143
  ob_start();
144
  echo '<h3>' . __( 'Plugin: WooCommerce Delivery Notes', 'woocommerce-delivery-notes' ) . '</h3>';
@@ -150,7 +164,7 @@ function ddw_wcdn_help_tab_content( $tab = 'wcdn-usage' ) {
150
 
151
  return ob_get_clean();
152
 
153
- } elseif ( $tab == 'wcdn-author-license' ) {
154
 
155
  ob_start();
156
  echo '<h3>' . __( 'Plugin: WooCommerce Delivery Notes', 'woocommerce-delivery-notes' ) . '</h3>';
@@ -161,6 +175,6 @@ function ddw_wcdn_help_tab_content( $tab = 'wcdn-usage' ) {
161
 
162
  return ob_get_clean();
163
 
164
- }
165
 
166
- }
2
  /**
3
  * Load help tabs for admin settings page and support links on plugins listing page.
4
  *
5
+ * @package WooCommerce Delivery Notes
6
+ * @subpackage Help
7
+ * @author David Decker - DECKERWEB
8
+ * @copyright Copyright 2011-2012, David Decker - DECKERWEB
9
+ * @license http://www.opensource.org/licenses/gpl-license.php GPL v3.0 (or later)
10
+ * @link http://genesisthemes.de/en/wp-plugins/woocommerce-delivery-notes/
11
+ * @link http://twitter.com/#!/deckerweb
12
+ *
13
+ * @since 1.0
14
  */
15
 
16
  add_filter( 'plugin_row_meta', 'ddw_wcdn_plugin_links', 10, 2 );
18
  * Add various support links to plugin page
19
  *
20
  * @since 1.0
21
+ *
22
+ * @param $wcdn_links
23
+ * @param $wcdn_file
24
+ * @return strings plugin links
25
  */
26
  function ddw_wcdn_plugin_links( $wcdn_links, $wcdn_file ) {
27
 
38
  }
39
 
40
 
 
41
  add_action( 'admin_menu', 'ddw_wcdn_help_tab_init', 15 );
42
  /**
43
  * Load help tab on settings page
44
  *
45
  * @since 1.0
46
+ *
47
+ * global $_wcdn_settings_pagehook
48
  */
49
  function ddw_wcdn_help_tab_init() {
50
 
60
  * Set up the help tab titles for the settings page - for WordPress 3.3 and higher
61
  *
62
  * @since 1.0
63
+ *
64
+ * global $_wcdn_settings_pagehook
65
  */
66
  function ddw_wcdn_help_tabs() {
67
 
112
  * Add the actual help tabs content for the settings page - for WordPress 3.3 and higher
113
  *
114
  * @since 1.0
115
+ *
116
+ * @return help tab strings
117
  */
118
+ function ddw_wcdn_help_tab_content( $tab = 'wcdn-usage' ) { // Tab general info
119
  if ( $tab == 'wcdn-usage' ) {
120
 
121
  ob_start();
127
 
128
  return ob_get_clean();
129
 
130
+ } elseif ( $tab == 'wcdn-faq' ) { // Tab FAQ area
131
 
132
  ob_start();
133
  echo '<h3>' . __( 'Plugin: WooCommerce Delivery Notes', 'woocommerce-delivery-notes' ) . '</h3>';
152
 
153
  return ob_get_clean();
154
 
155
+ } elseif ( $tab == 'wcdn-support-donation-rating-tips' ) { // Tab support, donation, rating, tips
156
 
157
  ob_start();
158
  echo '<h3>' . __( 'Plugin: WooCommerce Delivery Notes', 'woocommerce-delivery-notes' ) . '</h3>';
164
 
165
  return ob_get_clean();
166
 
167
+ } elseif ( $tab == 'wcdn-author-license' ) { // Tab author and license
168
 
169
  ob_start();
170
  echo '<h3>' . __( 'Plugin: WooCommerce Delivery Notes', 'woocommerce-delivery-notes' ) . '</h3>';
175
 
176
  return ob_get_clean();
177
 
178
+ } // end elseif
179
 
180
+ } // end of function ddw_wcdn_help_tab_content
wcdn-print.php CHANGED
@@ -2,10 +2,14 @@
2
  /**
3
  * Load all available data for the Delivery Notes printing page.
4
  *
5
- * @package WooCommerce Delivery Notes
6
- * @author David Decker - DECKERWEB
7
- * @license http://www.opensource.org/licenses/gpl-license.php GPL v3.0 (or later)
8
- * @link http://genesisthemes.de/en/wp-plugins/
 
 
 
 
9
  */
10
 
11
  /**
@@ -73,11 +77,14 @@ if ( !function_exists( 'wcdn_company_name' ) ) {
73
  * Return custom title name of Delivery Note (= custom title)
74
  *
75
  * @since 1.0
 
 
 
76
  */
77
  if ( !function_exists( 'wcdn_custom_company_name' ) ) {
78
  function wcdn_custom_company_name() {
79
  global $wcdn_print;
80
- return wpautop( wptexturize( $wcdn_print->get_setting( 'custom_company_name' ) ) );
81
  }
82
  }
83
 
@@ -86,6 +93,9 @@ if ( !function_exists( 'wcdn_custom_company_name' ) ) {
86
  * Return shop/company info if provided
87
  *
88
  * @since 1.0
 
 
 
89
  */
90
  if (!function_exists( 'wcdn_company_info' ) ) {
91
  function wcdn_company_info() {
@@ -99,6 +109,9 @@ if (!function_exists( 'wcdn_company_info' ) ) {
99
  * Return shipping name
100
  *
101
  * @since 1.0
 
 
 
102
  */
103
  if ( !function_exists( 'wcdn_shipping_name' ) ) {
104
  function wcdn_shipping_name() {
@@ -112,6 +125,9 @@ if ( !function_exists( 'wcdn_shipping_name' ) ) {
112
  * Return shipping company
113
  *
114
  * @since 1.0
 
 
 
115
  */
116
  if ( !function_exists( 'wcdn_shipping_company' ) ) {
117
  function wcdn_shipping_company() {
@@ -125,6 +141,9 @@ if ( !function_exists( 'wcdn_shipping_company' ) ) {
125
  * Return shipping address 1
126
  *
127
  * @since 1.0
 
 
 
128
  */
129
  if ( !function_exists( 'wcdn_shipping_address_1' ) ) {
130
  function wcdn_shipping_address_1() {
@@ -138,6 +157,9 @@ if ( !function_exists( 'wcdn_shipping_address_1' ) ) {
138
  * Return shipping address 2
139
  *
140
  * @since 1.0
 
 
 
141
  */
142
  if ( !function_exists( 'wcdn_shipping_address_2' ) ) {
143
  function wcdn_shipping_address_2() {
@@ -151,6 +173,9 @@ if ( !function_exists( 'wcdn_shipping_address_2' ) ) {
151
  * Return shipping city
152
  *
153
  * @since 1.0
 
 
 
154
  */
155
  if ( !function_exists( 'wcdn_shipping_city' ) ) {
156
  function wcdn_shipping_city() {
@@ -164,6 +189,9 @@ if ( !function_exists( 'wcdn_shipping_city' ) ) {
164
  * Return shipping state
165
  *
166
  * @since 1.0
 
 
 
167
  */
168
  if ( !function_exists( 'wcdn_shipping_state' ) ) {
169
  function wcdn_shipping_state() {
@@ -177,6 +205,9 @@ if ( !function_exists( 'wcdn_shipping_state' ) ) {
177
  * Return shipping postcode
178
  *
179
  * @since 1.0
 
 
 
180
  */
181
  if ( !function_exists( 'wcdn_shipping_postcode' ) ) {
182
  function wcdn_shipping_postcode() {
@@ -190,6 +221,9 @@ if ( !function_exists( 'wcdn_shipping_postcode' ) ) {
190
  * Return shipping country
191
  *
192
  * @since 1.0
 
 
 
193
  */
194
  if ( !function_exists( 'wcdn_shipping_country' ) ) {
195
  function wcdn_shipping_country() {
@@ -203,6 +237,9 @@ if ( !function_exists( 'wcdn_shipping_country' ) ) {
203
  * Return shipping notes
204
  *
205
  * @since 1.0
 
 
 
206
  */
207
  if ( !function_exists( 'wcdn_shipping_notes' ) ) {
208
  function wcdn_shipping_notes() {
@@ -216,6 +253,9 @@ if ( !function_exists( 'wcdn_shipping_notes' ) ) {
216
  * Return order id
217
  *
218
  * @since 1.0
 
 
 
219
  */
220
  if ( !function_exists( 'wcdn_order_number' ) ) {
221
  function wcdn_order_number() {
@@ -228,12 +268,15 @@ if ( !function_exists( 'wcdn_order_number' ) ) {
228
  * Return the order date
229
  *
230
  * @since 1.0
 
 
 
231
  */
232
  if ( !function_exists( 'wcdn_order_date')) {
233
  function wcdn_order_date() {
234
  global $wcdn_print;
235
  $order = $wcdn_print->get_order( $_GET['order'] );
236
- return date( get_option( 'date_format' ), strtotime( $order->order_date ) );
237
  }
238
  }
239
 
@@ -242,6 +285,9 @@ if ( !function_exists( 'wcdn_order_date')) {
242
  * Return the order items
243
  *
244
  * @since 1.0
 
 
 
245
  */
246
  if ( !function_exists( 'wcdn_get_order_items' ) ) {
247
  function wcdn_get_order_items() {
@@ -255,6 +301,9 @@ if ( !function_exists( 'wcdn_get_order_items' ) ) {
255
  * Return the order items price
256
  *
257
  * @since 1.0
 
 
 
258
  */
259
  if ( !function_exists( 'wcdn_format_price' ) ) {
260
  function wcdn_format_price( $price, $tax_rate = 0 ) {
@@ -268,6 +317,9 @@ if ( !function_exists( 'wcdn_format_price' ) ) {
268
  * Return the order subtotal
269
  *
270
  * @since 1.0
 
 
 
271
  */
272
  if ( !function_exists( 'wcdn_order_subtotal' ) ) {
273
  function wcdn_order_subtotal() {
@@ -281,6 +333,9 @@ if ( !function_exists( 'wcdn_order_subtotal' ) ) {
281
  * Return the order tax
282
  *
283
  * @since 1.0
 
 
 
284
  */
285
  if ( !function_exists( 'wcdn_order_tax' ) ) {
286
  function wcdn_order_tax() {
@@ -291,9 +346,12 @@ if ( !function_exists( 'wcdn_order_tax' ) ) {
291
 
292
 
293
  /**
294
- * Return the order shipping
295
  *
296
  * @since 1.0
 
 
 
297
  */
298
  if ( !function_exists( 'wcdn_order_shipping' ) ) {
299
  function wcdn_order_shipping() {
@@ -307,6 +365,9 @@ if ( !function_exists( 'wcdn_order_shipping' ) ) {
307
  * Return the order discount
308
  *
309
  * @since 1.0
 
 
 
310
  */
311
  if ( !function_exists( 'wcdn_order_discount' ) ) {
312
  function wcdn_order_discount() {
@@ -320,6 +381,9 @@ if ( !function_exists( 'wcdn_order_discount' ) ) {
320
  * Return the order grand total
321
  *
322
  * @since 1.0
 
 
 
323
  */
324
  if ( !function_exists( 'wcdn_order_total' ) ) {
325
  function wcdn_order_total() {
@@ -333,6 +397,9 @@ if ( !function_exists( 'wcdn_order_total' ) ) {
333
  * Return if the order has a shipping
334
  *
335
  * @since 1.0
 
 
 
336
  */
337
  if ( !function_exists( 'wcdn_has_shipping' ) ) {
338
  function wcdn_has_shipping() {
@@ -346,6 +413,9 @@ if ( !function_exists( 'wcdn_has_shipping' ) ) {
346
  * Return if the order has a tax
347
  *
348
  * @since 1.0
 
 
 
349
  */
350
  if ( !function_exists( 'wcdn_has_tax' ) ) {
351
  function wcdn_has_tax() {
@@ -359,6 +429,9 @@ if ( !function_exists( 'wcdn_has_tax' ) ) {
359
  * Return if the order has a discount
360
  *
361
  * @since 1.0
 
 
 
362
  */
363
  if ( !function_exists( 'wcdn_has_discount' ) ) {
364
  function wcdn_has_discount() {
@@ -372,6 +445,9 @@ if ( !function_exists( 'wcdn_has_discount' ) ) {
372
  * Return personal notes, season greetings etc.
373
  *
374
  * @since 1.0
 
 
 
375
  */
376
  if ( !function_exists( 'wcdn_personal_notes' ) ) {
377
  function wcdn_personal_notes() {
@@ -385,6 +461,9 @@ if ( !function_exists( 'wcdn_personal_notes' ) ) {
385
  * Return policy for returns
386
  *
387
  * @since 1.0
 
 
 
388
  */
389
  if ( !function_exists( 'wcdn_policies_conditions' ) ) {
390
  function wcdn_policies_conditions() {
@@ -398,6 +477,9 @@ if ( !function_exists( 'wcdn_policies_conditions' ) ) {
398
  * Return shop/company footer imprint, copyright etc.
399
  *
400
  * @since 1.0
 
 
 
401
  */
402
  if ( !function_exists( 'wcdn_footer_imprint' ) ) {
403
  function wcdn_footer_imprint() {
2
  /**
3
  * Load all available data for the Delivery Notes printing page.
4
  *
5
+ * @package WooCommerce Delivery Notes
6
+ * @author David Decker - DECKERWEB
7
+ * @copyright Copyright 2011-2012, David Decker - DECKERWEB
8
+ * @license http://www.opensource.org/licenses/gpl-license.php GPL v3.0 (or later)
9
+ * @link http://genesisthemes.de/en/wp-plugins/woocommerce-delivery-notes/
10
+ * @link http://twitter.com/#!/deckerweb
11
+ *
12
+ * @since 1.0
13
  */
14
 
15
  /**
77
  * Return custom title name of Delivery Note (= custom title)
78
  *
79
  * @since 1.0
80
+ *
81
+ * @global $wcdn_print
82
+ * @return string company name
83
  */
84
  if ( !function_exists( 'wcdn_custom_company_name' ) ) {
85
  function wcdn_custom_company_name() {
86
  global $wcdn_print;
87
+ return wpautop( wp_kses_stripslashes( $wcdn_print->get_setting( 'custom_company_name' ) ) );
88
  }
89
  }
90
 
93
  * Return shop/company info if provided
94
  *
95
  * @since 1.0
96
+ *
97
+ * @global $wcdn_print
98
+ * @return string company address
99
  */
100
  if (!function_exists( 'wcdn_company_info' ) ) {
101
  function wcdn_company_info() {
109
  * Return shipping name
110
  *
111
  * @since 1.0
112
+ *
113
+ * @global $wcdn_print
114
+ * @return string shipping name
115
  */
116
  if ( !function_exists( 'wcdn_shipping_name' ) ) {
117
  function wcdn_shipping_name() {
125
  * Return shipping company
126
  *
127
  * @since 1.0
128
+ *
129
+ * @global $wcdn_print
130
+ * @return string shipping company
131
  */
132
  if ( !function_exists( 'wcdn_shipping_company' ) ) {
133
  function wcdn_shipping_company() {
141
  * Return shipping address 1
142
  *
143
  * @since 1.0
144
+ *
145
+ * @global $wcdn_print
146
+ * @return string shipping address
147
  */
148
  if ( !function_exists( 'wcdn_shipping_address_1' ) ) {
149
  function wcdn_shipping_address_1() {
157
  * Return shipping address 2
158
  *
159
  * @since 1.0
160
+ *
161
+ * @global $wcdn_print
162
+ * @return string shipping address 2
163
  */
164
  if ( !function_exists( 'wcdn_shipping_address_2' ) ) {
165
  function wcdn_shipping_address_2() {
173
  * Return shipping city
174
  *
175
  * @since 1.0
176
+ *
177
+ * @global $wcdn_print
178
+ * @return string shipping city
179
  */
180
  if ( !function_exists( 'wcdn_shipping_city' ) ) {
181
  function wcdn_shipping_city() {
189
  * Return shipping state
190
  *
191
  * @since 1.0
192
+ *
193
+ * @global $wcdn_print
194
+ * @return string shipping state
195
  */
196
  if ( !function_exists( 'wcdn_shipping_state' ) ) {
197
  function wcdn_shipping_state() {
205
  * Return shipping postcode
206
  *
207
  * @since 1.0
208
+ *
209
+ * @global $wcdn_print
210
+ * @return string shipping postcode
211
  */
212
  if ( !function_exists( 'wcdn_shipping_postcode' ) ) {
213
  function wcdn_shipping_postcode() {
221
  * Return shipping country
222
  *
223
  * @since 1.0
224
+ *
225
+ * @global $wcdn_print
226
+ * @return string shipping country
227
  */
228
  if ( !function_exists( 'wcdn_shipping_country' ) ) {
229
  function wcdn_shipping_country() {
237
  * Return shipping notes
238
  *
239
  * @since 1.0
240
+ *
241
+ * @global $wcdn_print
242
+ * @return string shipping notes
243
  */
244
  if ( !function_exists( 'wcdn_shipping_notes' ) ) {
245
  function wcdn_shipping_notes() {
253
  * Return order id
254
  *
255
  * @since 1.0
256
+ *
257
+ * @global $wcdn_print
258
+ * @return string order id
259
  */
260
  if ( !function_exists( 'wcdn_order_number' ) ) {
261
  function wcdn_order_number() {
268
  * Return the order date
269
  *
270
  * @since 1.0
271
+ *
272
+ * @global $wcdn_print
273
+ * @return string order date
274
  */
275
  if ( !function_exists( 'wcdn_order_date')) {
276
  function wcdn_order_date() {
277
  global $wcdn_print;
278
  $order = $wcdn_print->get_order( $_GET['order'] );
279
+ return date_i18n( get_option( 'date_format' ), strtotime( $order->order_date ) );
280
  }
281
  }
282
 
285
  * Return the order items
286
  *
287
  * @since 1.0
288
+ *
289
+ * @global $wcdn_print
290
+ * @return strings order items
291
  */
292
  if ( !function_exists( 'wcdn_get_order_items' ) ) {
293
  function wcdn_get_order_items() {
301
  * Return the order items price
302
  *
303
  * @since 1.0
304
+ *
305
+ * @global $wcdn_print
306
+ * @return string items price
307
  */
308
  if ( !function_exists( 'wcdn_format_price' ) ) {
309
  function wcdn_format_price( $price, $tax_rate = 0 ) {
317
  * Return the order subtotal
318
  *
319
  * @since 1.0
320
+ *
321
+ * @global $wcdn_print
322
+ * @return string order subtotal
323
  */
324
  if ( !function_exists( 'wcdn_order_subtotal' ) ) {
325
  function wcdn_order_subtotal() {
333
  * Return the order tax
334
  *
335
  * @since 1.0
336
+ *
337
+ * @global $wcdn_print
338
+ * @return string order tax
339
  */
340
  if ( !function_exists( 'wcdn_order_tax' ) ) {
341
  function wcdn_order_tax() {
346
 
347
 
348
  /**
349
+ * Return the order shipping cost
350
  *
351
  * @since 1.0
352
+ *
353
+ * @global $wcdn_print
354
+ * @return string order shipping cost
355
  */
356
  if ( !function_exists( 'wcdn_order_shipping' ) ) {
357
  function wcdn_order_shipping() {
365
  * Return the order discount
366
  *
367
  * @since 1.0
368
+ *
369
+ * @global $wcdn_print
370
+ * @return string order discount
371
  */
372
  if ( !function_exists( 'wcdn_order_discount' ) ) {
373
  function wcdn_order_discount() {
381
  * Return the order grand total
382
  *
383
  * @since 1.0
384
+ *
385
+ * @global $wcdn_print
386
+ * @return string grand total
387
  */
388
  if ( !function_exists( 'wcdn_order_total' ) ) {
389
  function wcdn_order_total() {
397
  * Return if the order has a shipping
398
  *
399
  * @since 1.0
400
+ *
401
+ * @global $wcdn_print
402
+ * @return boolean
403
  */
404
  if ( !function_exists( 'wcdn_has_shipping' ) ) {
405
  function wcdn_has_shipping() {
413
  * Return if the order has a tax
414
  *
415
  * @since 1.0
416
+ *
417
+ * @global $wcdn_print
418
+ * @return boolean
419
  */
420
  if ( !function_exists( 'wcdn_has_tax' ) ) {
421
  function wcdn_has_tax() {
429
  * Return if the order has a discount
430
  *
431
  * @since 1.0
432
+ *
433
+ * @global $wcdn_print
434
+ * @return boolean
435
  */
436
  if ( !function_exists( 'wcdn_has_discount' ) ) {
437
  function wcdn_has_discount() {
445
  * Return personal notes, season greetings etc.
446
  *
447
  * @since 1.0
448
+ *
449
+ * @global $wcdn_print
450
+ * @return string personal notes
451
  */
452
  if ( !function_exists( 'wcdn_personal_notes' ) ) {
453
  function wcdn_personal_notes() {
461
  * Return policy for returns
462
  *
463
  * @since 1.0
464
+ *
465
+ * @global $wcdn_print
466
+ * @return string policy
467
  */
468
  if ( !function_exists( 'wcdn_policies_conditions' ) ) {
469
  function wcdn_policies_conditions() {
477
  * Return shop/company footer imprint, copyright etc.
478
  *
479
  * @since 1.0
480
+ *
481
+ * @global $wcdn_print
482
+ * @return string footer imprint
483
  */
484
  if ( !function_exists( 'wcdn_footer_imprint' ) ) {
485
  function wcdn_footer_imprint() {
woocommerce-delivery-notes.php CHANGED
@@ -2,8 +2,10 @@
2
  /**
3
  * Main plugin file. This plugin adds simple Delivery Notes for the WooCommerce Shop Plugin. You can add company/shop info as well as personal notes and policies to the print page.
4
  *
5
- * @package WooCommerceDeliveryNotes
6
- * @author David Decker
 
 
7
  *
8
  * @credits Inspired and based on the plugin "Jigoshop Delivery Notes" by Steve Clark, Trigvvy Gunderson and PiffPaffPuff
9
  * @link http://www.clark-studios.co.uk/blog/
@@ -12,7 +14,7 @@
12
  * Plugin Name: WooCommerce Delivery Notes
13
  * Plugin URI: http://genesisthemes.de/en/wp-plugins/woocommerce-delivery-notes/
14
  * Description: This plugin adds simple Delivery Notes for the WooCommerce Shop Plugin. You can add company/shop info as well as personal notes and policies to the print page.
15
- * Version: 1.0
16
  * Author: David Decker - DECKERWEB
17
  * Author URI: http://deckerweb.de/
18
  * License: GPLv3
@@ -29,12 +31,17 @@ define( 'WCDN_PLUGIN_DIR', dirname( __FILE__ ) );
29
  define( 'WCDN_PLUGIN_BASEDIR', dirname( plugin_basename( __FILE__ ) ) );
30
 
31
 
 
32
  /**
33
  * Load the text domain for translation of the plugin
34
  *
35
  * @since 1.0
 
36
  */
37
- load_plugin_textdomain( 'woocommerce-delivery-notes', false, WCDN_PLUGIN_BASEDIR . '/languages' );
 
 
 
38
 
39
 
40
  add_filter( 'plugin_action_links_' . plugin_basename(__FILE__) , 'ddw_wcdn_settings_link' );
@@ -42,6 +49,10 @@ add_filter( 'plugin_action_links_' . plugin_basename(__FILE__) , 'ddw_wcdn_setti
42
  * Add "Settings" link to plugin page
43
  *
44
  * @since 1.0
 
 
 
 
45
  */
46
  function ddw_wcdn_settings_link( $links ) {
47
 
2
  /**
3
  * Main plugin file. This plugin adds simple Delivery Notes for the WooCommerce Shop Plugin. You can add company/shop info as well as personal notes and policies to the print page.
4
  *
5
+ * @package WooCommerce Delivery Notes
6
+ * @author David Decker
7
+ * @link http://twitter.com/#!/deckerweb
8
+ * @copyright Copyright 2011-2012, David Decker - DECKERWEB
9
  *
10
  * @credits Inspired and based on the plugin "Jigoshop Delivery Notes" by Steve Clark, Trigvvy Gunderson and PiffPaffPuff
11
  * @link http://www.clark-studios.co.uk/blog/
14
  * Plugin Name: WooCommerce Delivery Notes
15
  * Plugin URI: http://genesisthemes.de/en/wp-plugins/woocommerce-delivery-notes/
16
  * Description: This plugin adds simple Delivery Notes for the WooCommerce Shop Plugin. You can add company/shop info as well as personal notes and policies to the print page.
17
+ * Version: 1.1
18
  * Author: David Decker - DECKERWEB
19
  * Author URI: http://deckerweb.de/
20
  * License: GPLv3
31
  define( 'WCDN_PLUGIN_BASEDIR', dirname( plugin_basename( __FILE__ ) ) );
32
 
33
 
34
+ add_action( 'init', 'ddw_wcdn_init' );
35
  /**
36
  * Load the text domain for translation of the plugin
37
  *
38
  * @since 1.0
39
+ * @version 1.1
40
  */
41
+ function ddw_wcdn_init() {
42
+
43
+ load_plugin_textdomain( 'woocommerce-delivery-notes', false, WCDN_PLUGIN_BASEDIR . '/languages' );
44
+ }
45
 
46
 
47
  add_filter( 'plugin_action_links_' . plugin_basename(__FILE__) , 'ddw_wcdn_settings_link' );
49
  * Add "Settings" link to plugin page
50
  *
51
  * @since 1.0
52
+ *
53
+ * @param $links
54
+ * @param $ddw_wcdn_settings_link
55
+ * @return string settings link
56
  */
57
  function ddw_wcdn_settings_link( $links ) {
58