WooCommerce Print Invoice & Delivery Note - Version 1.2

Version Description

Major additions & improvements: Now with basic invoice support. Code cleanup & improvements. Added new partial translations, updated German translations plus .pot file for translators. Also, new plugin authorship!

Download this release

Release Info

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

Code changes from version 1.1 to 1.2

classes/class-wcdn-print.php ADDED
@@ -0,0 +1,213 @@
1
+ <?php
2
+
3
+ /**
4
+ * Print class
5
+ *
6
+ * @since 1.0
7
+ */
8
+ if ( ! class_exists( 'WooCommerce_Delivery_Notes_Print' ) ) {
9
+
10
+ class WooCommerce_Delivery_Notes_Print {
11
+
12
+ public $template_url;
13
+ public $template_dir;
14
+ public $template_base;
15
+ public $template_name;
16
+ public $theme_base;
17
+ public $theme_path;
18
+ public $order_id;
19
+
20
+ private $order;
21
+
22
+ /**
23
+ * Constructor
24
+ *
25
+ * @since 1.0
26
+ */
27
+ public function __construct() {
28
+ }
29
+
30
+ /**
31
+ * Load the class
32
+ *
33
+ * @since 1.0
34
+ */
35
+ public function load( $order_id = 0 ) {
36
+ global $woocommerce;
37
+
38
+ $this->order_id = $order_id;
39
+ $this->template_name = 'delivery-note';
40
+ $this->template_base = 'templates/';
41
+ $this->theme_base = $woocommerce->template_url;
42
+ $this->template_dir = 'delivery-notes/';
43
+ $this->theme_path = trailingslashit( get_stylesheet_directory() );
44
+
45
+ if ( $this->order_id > 0 ) {
46
+ $this->order = new WC_Order( $this->order_id );
47
+ }
48
+ }
49
+
50
+ /**
51
+ * Load the admin hooks
52
+ *
53
+ * @since 1.0
54
+ */
55
+ public function load_hooks() {
56
+ }
57
+
58
+ /**
59
+ * Read the template file
60
+ *
61
+ * @since 1.0
62
+ */
63
+ public function get_print_page( $template_name = 'delivery-note' ) {
64
+ $this->template_name = $template_name;
65
+ return $this->get_template_content( 'print', $this->template_name );
66
+ }
67
+
68
+ /**
69
+ * Read the template file
70
+ *
71
+ * @since 1.0
72
+ */
73
+ private function get_template_content( $slug, $name = '' ) {
74
+ $template = null;
75
+ $template_file = null;
76
+
77
+ // Look in yourtheme/woocommerce/delivery-notes/
78
+ $template_file = $this->theme_path . $this->theme_base . $this->template_dir . $slug.'-'.$name.'.php';
79
+ if ( !$template && $name && file_exists( $template_file) ) {
80
+ $template = $template_file;
81
+ $this->template_url = trailingslashit( get_stylesheet_directory_uri() ) . $this->theme_base . $this->template_dir;
82
+ }
83
+
84
+ // Fall back to slug.php in yourtheme/woocommerce/delivery-notes/
85
+ $template_file = $this->theme_path . $this->theme_base . $this->template_dir . $slug.'.php';
86
+ if ( !$template && file_exists( $template_file ) ) {
87
+ $template = $template_file;
88
+ $this->template_url = trailingslashit( get_stylesheet_directory_uri() ) . $this->theme_base . $this->template_dir;
89
+ }
90
+
91
+ // Legacy support for old custom template folder structure
92
+ $template_file = $this->theme_path . $this->theme_base . 'delivery-note-template/template.php';
93
+ if ( !$template && file_exists( $template_file ) ) {
94
+ $template = $template_file;
95
+ $this->template_url = trailingslashit( get_stylesheet_directory_uri() ) . 'delivery-note-template/';
96
+ }
97
+
98
+ // Look in pluginname/templates/delivery-notes/
99
+ $template_file = WooCommerce_Delivery_Notes::$plugin_path . $this->template_base . $this->template_dir . $slug.'-'.$name.'.php';
100
+ if ( !$template && $name && file_exists( $template_file ) ) {
101
+ $template = $template_file;
102
+ $this->template_url = WooCommerce_Delivery_Notes::$plugin_url . $this->template_base . $this->template_dir;
103
+ }
104
+
105
+ // Fall back to slug.php in pluginname/templates/delivery-notes/
106
+ $template_file = WooCommerce_Delivery_Notes::$plugin_path . $this->template_base . $this->template_dir . $slug.'.php';
107
+ if ( !$template && file_exists( $template_file ) ) {
108
+ $template = $template_file;
109
+ $this->template_url = WooCommerce_Delivery_Notes::$plugin_url . $this->template_base . $this->template_dir;
110
+ }
111
+
112
+ // Return the content of the template
113
+ if ( $template ) {
114
+ ob_start();
115
+ require_once( $template );
116
+ $content = ob_get_clean();
117
+ return $content;
118
+ }
119
+
120
+ // Return no content when no file was found
121
+ return;
122
+ }
123
+
124
+ /**
125
+ * Get the current order
126
+ *
127
+ * @since 1.0
128
+ */
129
+ public function get_order() {
130
+ return $this->order;
131
+ }
132
+
133
+ /**
134
+ * Get the current order items
135
+ *
136
+ * @since 1.0
137
+ * @version 1.1
138
+ */
139
+ public function get_order_items() {
140
+ global $woocommerce;
141
+ global $_product;
142
+
143
+ if(!$this->order) {
144
+ return;
145
+ }
146
+
147
+ $items = $this->order->get_items();
148
+ $data_list = array();
149
+
150
+ if ( sizeof( $items ) > 0 ) {
151
+ foreach ( $items as $item ) {
152
+ // Array with data for the printing template
153
+ $data = array();
154
+
155
+ // Create the product
156
+ if ( isset( $item['variation_id'] ) && $item['variation_id'] > 0 ) {
157
+ $product = new WC_Product_Variation( $item['variation_id'] );
158
+ $data['variation'] = woocommerce_get_formatted_variation( $product->get_variation_attributes(), true );
159
+ } else {
160
+ $product = new WC_Product( $item['id'] );
161
+ $data['variation'] = null;
162
+ }
163
+
164
+ // Set item name
165
+ $data['name'] = $item['name'];
166
+
167
+ // Set item quantity
168
+ $data['quantity'] = $item['qty'];
169
+
170
+ // Set item meta
171
+ $meta = new order_item_meta( $item['item_meta'] );
172
+ $data['meta'] = $meta->display(true, true);
173
+
174
+ // Set item download url
175
+ $data['download_url'] = null;
176
+ if ( $product->exists && $product->is_downloadable() && $this->order->status == 'completed' ) {
177
+ $data['download_url'] = $this->order->get_downloadable_file_url( $item['id'], $item['variation_id'] );
178
+ }
179
+
180
+ // Set the price
181
+ $data['price'] = $this->order->get_formatted_line_subtotal( $item );
182
+
183
+ // Set the single price
184
+ $data['single_price'] = $product->get_price();
185
+
186
+ // Set item SKU
187
+ $data['sku'] = $product->get_sku();
188
+
189
+ // Set item weight
190
+ $data['weight'] = $product->get_weight();
191
+
192
+ // Set item dimensions
193
+ $data['dimensions'] = $product->get_dimensions();
194
+
195
+ $data_list[] = $data;
196
+ }
197
+ }
198
+
199
+ return $data_list;
200
+ }
201
+
202
+ /**
203
+ * Get the content for an option
204
+ *
205
+ * @since 1.0
206
+ */
207
+ public function get_setting( $name ) {
208
+ return get_option( WooCommerce_Delivery_Notes::$plugin_prefix . $name );
209
+ }
210
+
211
+ }
212
+
213
+ }
classes/class-wcdn-settings.php ADDED
@@ -0,0 +1,282 @@
1
+ <?php
2
+
3
+ /**
4
+ * Settings class
5
+ *
6
+ * @since 1.0
7
+ */
8
+ if ( ! class_exists( 'WooCommerce_Delivery_Notes_Settings' ) ) {
9
+
10
+ class WooCommerce_Delivery_Notes_Settings {
11
+
12
+ private $tab_name;
13
+ private $hidden_submit;
14
+
15
+ /**
16
+ * Constructor
17
+ *
18
+ * @since 1.0
19
+ */
20
+ public function __construct() {
21
+ $this->tab_name = 'delivery-notes';
22
+ $this->hidden_submit = WooCommerce_Delivery_Notes::$plugin_prefix . 'submit';
23
+ }
24
+
25
+ /**
26
+ * Load the class
27
+ *
28
+ * @since 1.0
29
+ */
30
+ public function load() {
31
+ add_action( 'admin_init', array( $this, 'load_hooks' ) );
32
+ }
33
+
34
+ /**
35
+ * Load the admin hooks
36
+ *
37
+ * @since 1.0
38
+ */
39
+ public function load_hooks() {
40
+ add_filter( 'plugin_action_links_' . WooCommerce_Delivery_Notes::$plugin_basefile, array( $this, 'add_settings_link') );
41
+ add_filter( 'woocommerce_settings_tabs_array', array( $this, 'add_settings_tab' ) );
42
+ add_action( 'woocommerce_settings_tabs_' . $this->tab_name, array( $this, 'create_settings_page' ) );
43
+ add_action( 'woocommerce_update_options_' . $this->tab_name, array( $this, 'save_settings_page' ) );
44
+ add_action( 'admin_init', array( $this, 'load_help' ), 20 );
45
+ }
46
+
47
+ /**
48
+ * Add "Settings" link to plugin page
49
+ *
50
+ * @since 1.0
51
+ */
52
+ public function add_settings_link( $links ) {
53
+ $settings = sprintf( '<a href="%s" title="%s">%s</a>' , admin_url( 'admin.php?page=woocommerce&tab=delivery-notes' ) , __( 'Go to the settings page', 'woocommerce-delivery-notes' ) , __( 'Settings', 'woocommerce-delivery-notes' ) );
54
+ array_unshift( $links, $settings );
55
+
56
+ return $links;
57
+ }
58
+
59
+ /**
60
+ * Load the help system
61
+ *
62
+ * @since 1.0
63
+ */
64
+ public function load_help() {
65
+ // Get the hookname and load the help tabs
66
+ if ( isset($_GET['page']) && isset( $_GET['tab'] ) && $_GET['tab'] == $this->tab_name ) {
67
+ $menu_slug = plugin_basename( $_GET['page'] );
68
+ $hookname = get_plugin_page_hookname( $menu_slug, '' );
69
+
70
+ add_action( 'load-' . $hookname, array( $this, 'add_help_tabs' ) );
71
+ }
72
+ }
73
+
74
+ /**
75
+ * Add the help tabs
76
+ *
77
+ * @since 1.0
78
+ */
79
+ public function add_help_tabs() {
80
+ // Check current admin screen
81
+ $screen = get_current_screen();
82
+
83
+ // Don't load help tab system prior WordPress 3.3
84
+ if ( ! class_exists( 'WP_Screen' ) || ! $screen ) {
85
+ return;
86
+ }
87
+
88
+ // Remove all existing tabs
89
+ $screen->remove_help_tabs();
90
+
91
+ // Create arrays with help tab titles
92
+ $screen->add_help_tab(array(
93
+ 'id' => 'wcdn-usage',
94
+ 'title' => __( 'About the Plugin', 'woocommerce-delivery-notes' ),
95
+ 'content' =>
96
+ '<h3>' . __( 'Plugin: WooCommerce Print Invoices & Delivery Notes', 'woocommerce-delivery-notes' ) . '</h3>' .
97
+ '<h4>' . __( 'About the Plugin', 'woocommerce-delivery-notes' ) . '</h4>' .
98
+ '<p>' . __( 'This plugin enables you to add a Invoice or 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.', 'woocommerce-delivery-notes' ) . '</p>' .
99
+ '<p>' . sprintf( __( '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 Order Print meta box. Click one of the buttons and you get the invoice or delivery note printing page. Yes, it is that easy :-).', 'woocommerce-delivery-notes' ), admin_url( 'edit.php?post_type=shop_order' ) ) . '</p>'
100
+ ) );
101
+
102
+ // Create help sidebar
103
+ $screen->set_help_sidebar(
104
+ '<p><strong>' . __( 'For more information:', 'woocommerce-delivery-notes' ) . '</strong></p>'.
105
+ '<p><a href="http://wordpress.org/extend/plugins/woocommerce-delivery-notes/faq/" target="_blank">' . __( 'Frequently Asked Questions', 'woocommerce-delivery-notes' ) . '</a></p>' .
106
+ '<p><a href="http://wordpress.org/extend/plugins/woocommerce-delivery-notes/" target="_blank">' . __( 'Project on WordPress.org', 'woocommerce-delivery-notes' ) . '</a></p>' .
107
+ '<p><a href="https://github.com/piffpaffpuff/woocommerce-delivery-notes" target="_blank">' . __( 'Project on GitHub', 'woocommerce-delivery-notes' ) . '</a></p>' .
108
+ '<p><a href="http://wordpress.org/tags/woocommerce-delivery-notes?forum_id=10" target="_blank">' . __( 'Discuss in the Forum', 'woocommerce-delivery-notes' ) . '</a></p>'
109
+ );
110
+ }
111
+
112
+ /**
113
+ * Add a tab to the settings page
114
+ *
115
+ * @since 1.0
116
+ */
117
+ public function add_settings_tab( $tabs ) {
118
+ $tabs[$this->tab_name] = __( 'Print', 'woocommerce-delivery-notes' );
119
+
120
+ return $tabs;
121
+ }
122
+
123
+ /**
124
+ * Create the settings page content
125
+ *
126
+ * @since 1.0
127
+ * @version 1.1
128
+ */
129
+ public function create_settings_page() {
130
+ ?>
131
+ <h3><?php _e( 'Invoices and Delivery Notes', 'woocommerce-delivery-notes' ); ?></h3>
132
+ <table class="form-table">
133
+ <tbody>
134
+ <tr>
135
+ <th>
136
+ <label for="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>custom_company_name"><?php _e( 'Company/Shop Name', 'woocommerce-delivery-notes' ); ?></label>
137
+ </th>
138
+ <td>
139
+ <textarea name="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>custom_company_name" rows="2" class="large-text"><?php echo wp_kses_stripslashes( get_option( WooCommerce_Delivery_Notes::$plugin_prefix . 'custom_company_name' ) ); ?></textarea>
140
+ <span class="description">
141
+ <?php _e( 'Your custom company or shop name for the Delivery Note.', 'woocommerce-delivery-notes' ); ?>
142
+ <br /><strong><?php _e( 'Note:', 'woocommerce-delivery-notes' ); ?></strong>
143
+ <?php _e( 'Leave blank to use the default Website/ Blog title defined in WordPress settings.', 'woocommerce-delivery-notes' ); ?>
144
+ </span>
145
+ </td>
146
+ </tr>
147
+ <tr>
148
+ <th>
149
+ <label for="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>company_address"><?php _e( 'Company/Shop Address', 'woocommerce-delivery-notes' ); ?></label>
150
+ </th>
151
+ <td>
152
+ <textarea name="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>company_address" rows="5" class="large-text"><?php echo wp_kses_stripslashes( get_option( WooCommerce_Delivery_Notes::$plugin_prefix . 'company_address' ) ); ?></textarea>
153
+ <span class="description">
154
+ <?php _e( 'The postal address of the company/shop, which gets printed right of the company/shop name, above the order listings.', 'woocommerce-delivery-notes' ); ?>
155
+ <br /><strong><?php _e( 'Note:', 'woocommerce-delivery-notes' ); ?></strong>
156
+ <?php _e('Leave blank to not print an address.', 'woocommerce-delivery-notes' ); ?>
157
+ </span>
158
+ </td>
159
+ </tr>
160
+ <tr>
161
+ <th>
162
+ <label for="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>personal_notes"><?php _e( 'Personal Notes', 'woocommerce-delivery-notes' ); ?></label>
163
+ </th>
164
+ <td>
165
+ <textarea name="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>personal_notes" rows="5" class="large-text"><?php echo wp_kses_stripslashes( get_option( WooCommerce_Delivery_Notes::$plugin_prefix . 'personal_notes' ) ); ?></textarea>
166
+ <span class="description">
167
+ <?php _e( 'Add some personal notes, or season greetings or whatever (e.g. Thank You for Your Order!, Merry Christmas!, etc.).', 'woocommerce-delivery-notes' ); ?>
168
+ <br /><strong><?php _e( 'Note:', 'woocommerce-delivery-notes' ); ?></strong>
169
+ <?php _e('Leave blank to not print any personal notes.', 'woocommerce-delivery-notes' ); ?>
170
+ </span>
171
+ </td>
172
+ </tr>
173
+ <tr>
174
+ <th>
175
+ <label for="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>policies_conditions"><?php _e( 'Returns Policy, Conditions, etc.:', 'woocommerce-delivery-notes' ); ?></label>
176
+ </th>
177
+ <td>
178
+ <textarea name="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>policies_conditions" rows="5" class="large-text"><?php echo wp_kses_stripslashes( get_option( WooCommerce_Delivery_Notes::$plugin_prefix . 'policies_conditions' ) ); ?></textarea>
179
+ <span class="description">
180
+ <?php _e( '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. 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' ); ?>
181
+ <br /><strong><?php _e( 'Note:', 'woocommerce-delivery-notes' ); ?></strong>
182
+ <?php _e('Leave blank to not print any policies or conditions.', 'woocommerce-delivery-notes' ); ?>
183
+ </span>
184
+ </td>
185
+ </tr>
186
+ <tr>
187
+ <th>
188
+ <label for="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>footer_imprint"><?php _e( 'Footer Imprint', 'woocommerce-delivery-notes' ); ?></label>
189
+ </th>
190
+ <td>
191
+ <textarea name="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>footer_imprint" rows="5" class="large-text"><?php echo wp_kses_stripslashes( get_option( WooCommerce_Delivery_Notes::$plugin_prefix . 'footer_imprint' ) ); ?></textarea>
192
+ <span class="description">
193
+ <?php _e( 'Add some further footer imprint, copyright notes etc. to get the printed sheets a bit more branded to your needs.', 'woocommerce-delivery-notes' ); ?>
194
+ <br /><strong><?php _e( 'Note:', 'woocommerce-delivery-notes' ); ?></strong>
195
+ <?php _e('Leave blank to not print a footer.', 'woocommerce-delivery-notes' ); ?>
196
+ </span>
197
+ </td>
198
+ </tr>
199
+ </tbody>
200
+ </table>
201
+ <h3><?php _e( 'Preview Options', 'woocommerce-delivery-notes' ); ?></h3>
202
+ <table class="form-table">
203
+ <tbody>
204
+ <tr>
205
+ <th>
206
+ <?php _e( 'Preview opens', 'woocommerce-delivery-notes' ); ?>
207
+ </th>
208
+ <td>
209
+ <input name="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>open_print_window" type="hidden" value="no" />
210
+ <label for="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>open_print_window"><input name="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>open_print_window" type="checkbox" value="yes" <?php checked( get_option( WooCommerce_Delivery_Notes::$plugin_prefix . 'open_print_window' ), 'yes' );?> /> <?php _e( 'Start printing when the preview page opens', 'woocommerce-delivery-notes' ); ?></label>
211
+ </td>
212
+ </tr>
213
+ </tbody>
214
+ </table>
215
+ <h3><?php _e( 'Order Numbering Options', 'woocommerce-delivery-notes' ); ?></h3>
216
+ <table class="form-table">
217
+ <tbody>
218
+ <tr>
219
+ <th>
220
+ <label for="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>before_order_number"><?php _e( 'Before order number', 'woocommerce-delivery-notes' ); ?></label>
221
+ </th>
222
+ <td>
223
+ <input name="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>before_order_number" type="text" value="<?php echo wp_kses_stripslashes( get_option( WooCommerce_Delivery_Notes::$plugin_prefix . 'before_order_number' ) ); ?>" />
224
+ <span class="description"><?php _e( 'This text will be placed before the order number ie. "YOUR-TEXT123".', 'woocommerce-delivery-notes' ); ?></span>
225
+ </td>
226
+ </tr>
227
+ <tr>
228
+ <th>
229
+ <label for="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>after_order_number"><?php _e( 'After order number', 'woocommerce-delivery-notes' ); ?></label>
230
+ </th>
231
+ <td>
232
+ <input name="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>after_order_number" type="text" value="<?php echo wp_kses_stripslashes( get_option( WooCommerce_Delivery_Notes::$plugin_prefix . 'after_order_number' ) ); ?>" />
233
+ <span class="description"><?php _e( 'This text will be placed after the order number ie. "123YOUR-TEXT".', 'woocommerce-delivery-notes' ); ?></span>
234
+ </td>
235
+ </tr>
236
+ <tr>
237
+ <th>
238
+ <label for="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>order_number_offset"><?php _e( 'Number Offset', 'woocommerce-delivery-notes' ); ?></label>
239
+ </th>
240
+ <td>
241
+ <?php $value = intval( get_option( WooCommerce_Delivery_Notes::$plugin_prefix . 'order_number_offset' ) ); ?>
242
+ <input name="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>order_number_offset" type="text" value="<?php echo ( is_int( $value ) ? wp_kses_stripslashes( $value ) : '' ); ?>" />
243
+ <span class="description"><?php _e( 'This adds an offset to the WooCommerce order number. Helpful for a contiguous numbering.', 'woocommerce-delivery-notes' ); ?>
244
+ <strong><?php _e( 'Note:', 'woocommerce-delivery-notes' ); ?></strong>
245
+ <?php _e( 'Only positive or negative numbers are allowed.', 'woocommerce-delivery-notes' ); ?></span>
246
+ </td>
247
+ </tr>
248
+ </tbody>
249
+ </table>
250
+
251
+ <input type="hidden" name="<?php echo $this->hidden_submit; ?>" value="submitted">
252
+ <?php
253
+ }
254
+
255
+ /**
256
+ * Save all settings
257
+ *
258
+ * @since 1.0
259
+ * @version 1.1
260
+ */
261
+ public function save_settings_page() {
262
+ if ( isset( $_POST[ $this->hidden_submit ] ) && $_POST[ $this->hidden_submit ] == 'submitted' ) {
263
+ foreach ( $_POST as $key => $value ) {
264
+ if ( $key != $this->hidden_submit && strpos( $key, WooCommerce_Delivery_Notes::$plugin_prefix ) !== false ) {
265
+ if ( empty( $value ) ) {
266
+ delete_option( $key );
267
+ } else {
268
+ if ( get_option( $key ) && get_option( $key ) != $value ) {
269
+ update_option( $key, $value );
270
+ }
271
+ else {
272
+ add_option( $key, $value );
273
+ }
274
+ }
275
+ }
276
+ }
277
+ }
278
+ }
279
+
280
+ }
281
+
282
+ }
classes/class-wcdn-writepanel.php ADDED
@@ -0,0 +1,99 @@
1
+ <?php
2
+
3
+ /**
4
+ * Writepanel class
5
+ *
6
+ * @since 1.0
7
+ */
8
+ if ( !class_exists( 'WooCommerce_Delivery_Notes_Writepanel' ) ) {
9
+
10
+ class WooCommerce_Delivery_Notes_Writepanel {
11
+
12
+ /**
13
+ * Constructor
14
+ *
15
+ * @since 1.0
16
+ */
17
+ public function __construct() {
18
+ }
19
+
20
+ /**
21
+ * Load the class
22
+ *
23
+ * @since 1.0
24
+ */
25
+ public function load() {
26
+ add_action( 'admin_init', array( $this, 'load_hooks' ) );
27
+ }
28
+
29
+ /**
30
+ * Load the admin hooks
31
+ *
32
+ * @since 1.0
33
+ */
34
+ public function load_hooks() {
35
+ add_filter( 'plugin_row_meta', array( $this, 'add_support_links' ), 10, 2 );
36
+ add_action( 'add_meta_boxes_shop_order', array( $this, 'add_box' ) );
37
+ add_action( 'admin_print_styles-post.php', array( $this, 'print_styles' ) );
38
+ }
39
+
40
+ /**
41
+ * Load the styles
42
+ *
43
+ * @since 1.0
44
+ */
45
+ public function print_styles() {
46
+ global $post_type;
47
+
48
+ if ( $post_type == 'shop_order' ) {
49
+ wp_enqueue_style( 'delivery-notes-styles', WooCommerce_Delivery_Notes::$plugin_url . 'css/style.css' );
50
+ }
51
+ }
52
+
53
+ /**
54
+ * Add various support links to plugin page
55
+ *
56
+ * @since 1.0
57
+ */
58
+ public function add_support_links( $links, $file ) {
59
+ if ( !current_user_can( 'install_plugins' ) ) {
60
+ return $links;
61
+ }
62
+
63
+ if ( $file == WooCommerce_Delivery_Notes::$plugin_basefile ) {
64
+ $links[] = '<a href="http://wordpress.org/extend/plugins/woocommerce-delivery-notes/faq/" target="_new" title="' . __( 'FAQ', 'woocommerce-delivery-notes' ) . '">' . __( 'FAQ', 'woocommerce-delivery-notes' ) . '</a>';
65
+ $links[] = '<a href="http://wordpress.org/tags/woocommerce-delivery-notes?forum_id=10" target="_new" title="' . __( 'Support', 'woocommerce-delivery-notes' ) . '">' . __( 'Support', 'woocommerce-delivery-notes' ) . '</a>';
66
+ $links[] = '<a href="' . __( 'http://genesisthemes.de/en/donate/', 'woocommerce-delivery-notes' ) . '" target="_new" title="' . __( 'Donate', 'woocommerce-delivery-notes' ) . '">' . __( 'Donate', 'woocommerce-delivery-notes' ) . '</a>';
67
+ }
68
+
69
+ return $links;
70
+ }
71
+
72
+ /**
73
+ * Add the meta box on the single order page
74
+ *
75
+ * @since 1.0
76
+ */
77
+ public function add_box() {
78
+ add_meta_box( 'woocommerce-delivery-notes-box', __( 'Order Print', 'woocommerce-delivery-notes' ), array( $this, 'create_box_content' ), 'shop_order', 'side', 'default' );
79
+ }
80
+
81
+ /**
82
+ * Create the meta box content on the single order page
83
+ *
84
+ * @since 1.0
85
+ */
86
+ public function create_box_content() {
87
+ global $post_id;
88
+
89
+ ?>
90
+ <ul class="woocommerce-delivery-notes-actions">
91
+ <li><a href="<?php echo WooCommerce_Delivery_Notes::$plugin_url; ?>woocommerce-delivery-notes-print.php?order=<?php echo $post_id; ?>&name=invoice" id="woocommerce-delivery-notes-print-invoice" class="button button" target="_blank"><?php _e( 'Print Invoice', 'woocommerce-delivery-notes' ); ?></a></li>
92
+ <li><a href="<?php echo WooCommerce_Delivery_Notes::$plugin_url; ?>woocommerce-delivery-notes-print.php?order=<?php echo $post_id; ?>&name=delivery-note" id="woocommerce-delivery-notes-print-delivery-note" class="button button" target="_blank"><?php _e( 'Print Delivery Note', 'woocommerce-delivery-notes' ); ?></a></li>
93
+ </ul>
94
+ <?php
95
+ }
96
+
97
+ }
98
+
99
+ }
css/style.css ADDED
@@ -0,0 +1,9 @@
1
+ ul.woocommerce-delivery-notes-actions {
2
+ margin: 0px;
3
+ }
4
+ ul.woocommerce-delivery-notes-actions li {
5
+ text-align: center;
6
+ padding: 6px 0px;
7
+ margin: 0px;
8
+ width: 49%;
9
+ }
delivery-note-template/css/style.css DELETED
@@ -1,295 +0,0 @@
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
17
-
18
- * CSS Reset
19
- * Delivery Note Page Layout
20
- * CSS Media Queries for Print
21
-
22
- */
23
-
24
- /* CSS Reset (Do not edit)
25
- ------------------------------------------*/
26
-
27
- /**
28
- * @link http://meyerweb.com/eric/tools/css/reset/
29
- * @version v2.0 | 20110126
30
- * @license none (public domain)
31
- */
32
-
33
- html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, table {
34
- border: 0 none;
35
- font: inherit;
36
- margin: 0;
37
- padding: 0;
38
- vertical-align: baseline;
39
- }
40
-
41
- body {
42
- line-height: 1;
43
- }
44
-
45
- ol,
46
- ul {
47
- list-style: none;
48
- }
49
-
50
- table {
51
- border-collapse: collapse;
52
- border-spacing: 0;
53
- }
54
-
55
-
56
- /* Delivery Note Page Layout
57
- ------------------------------------------*/
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;
70
- font-family: sans-serif;
71
- font-size: .875em;
72
- line-height: 125%;
73
- }
74
-
75
- /* Basic Table Styling */
76
- td,
77
- th {
78
- border: 1px #ccc solid;
79
- padding: 3px 5px;
80
- vertical-align: top;
81
- }
82
-
83
- th {
84
- color: #000;
85
- font-weight: 700;
86
- }
87
-
88
- /* Main Sections of the Page */
89
- #container {
90
- margin-left: auto;
91
- margin-right: auto;
92
- padding-left: 80px;
93
- padding-right: 80px;
94
- padding-top: 40px;
95
- text-align: left;
96
- width: 900px;
97
- }
98
-
99
- #header,
100
- #footer {
101
- overflow: hidden;
102
- padding-bottom: 20px;
103
- padding-top: 20px;
104
- }
105
-
106
- #footer {
107
- margin-top: 40px;
108
- }
109
-
110
- /* Options link - "Print Page" */
111
- .options a {
112
- background-color: #f2f2f2;
113
- border: 1px solid #bbb;
114
- border-radius: 11px;
115
- -webkit-border-radius: 11px;
116
- -moz-border-radius: 11px;
117
- color: #000;
118
- display: block;
119
- float: right;
120
- font-size: .90em;
121
- height: 22px;
122
- line-height: 22px;
123
- padding-left: 20px;
124
- padding-right: 20px;
125
- text-decoration: none;
126
- }
127
-
128
- .options a:active {
129
- background-color: #eee;
130
- border: 1px solid #666;
131
- }
132
-
133
- /* Special Margin & Overflow Stylings */
134
- #wcdn-head,
135
- #order-items,
136
- #order-summary {
137
- margin-bottom: 60px;
138
- }
139
-
140
- #order-info {
141
- margin-bottom: 100px;
142
- }
143
-
144
- #wcdn-head,
145
- #order-info,
146
- #order-summary,
147
- #order-notes {
148
- overflow: hidden;
149
- }
150
-
151
- /* Delivery Notes Head - #wcdn-head */
152
- #wcdn-head .wcdn-heading {
153
- border-bottom: 1px solid #ccc;
154
- border-top: 1px solid #ccc;
155
- font-size: 1.1em;
156
- font-weight: 700;
157
- margin-bottom: 15px;
158
- padding: 9px 0 6px;
159
- text-align: center;
160
- text-transform: uppercase;
161
- width: 100%;
162
- }
163
-
164
- #wcdn-head div {
165
- width: 400px;
166
- }
167
-
168
- #wcdn-head .company-name {
169
- float: left;
170
- font-size: 2.5em;
171
- line-height: 125%;
172
- }
173
-
174
- #wcdn-head .company-info {
175
- float: right;
176
- text-align: right;
177
- }
178
-
179
- /* Order Listing/Info - #order-listing */
180
- #order-listing h3 {
181
- font-size: 1.1em;
182
- font-weight: 700;
183
- }
184
-
185
- #order-listing .shipping-info {
186
- float: left;
187
- margin-left: 20px;
188
- width: 350px;
189
- }
190
-
191
- #order-listing table {
192
- float: right;
193
- width: 350px;
194
- }
195
-
196
- #order-listing th {
197
- width: 165px;
198
- }
199
-
200
- /* Order Items - #order-items */
201
- #order-items {
202
- clear: both;
203
- margin-top: 20px;
204
- }
205
-
206
- #order-items table {
207
- width: 100%;
208
- }
209
-
210
- #order-items .description {
211
- width: 539px;
212
- }
213
-
214
- #order-items .quantity {
215
- width: 165px;
216
- }
217
-
218
- #order-items .sku,
219
- #order-items .weight {
220
- color: #666;
221
- font-size: 0.85em;
222
- font-style: italic;
223
- margin-left: 15px;
224
- }
225
-
226
- /* Order Summary - #order-summary */
227
- #order-summary table {
228
- float: right;
229
- width: 350px;
230
- }
231
-
232
- #order-summary th {
233
- width: 165px;
234
- }
235
-
236
- #order-summary #total-label,
237
- #order-summary #total-number {
238
- border-top: 2px solid #999;
239
- border-bottom: 3px solid #999;
240
- padding-top: 7px;
241
- }
242
-
243
-
244
- /* Order Notes - #order-notes */
245
- #order-notes {
246
- border-top: 1px solid #ccc;
247
- margin-top: 60px;
248
- padding-top: 10px;
249
- }
250
-
251
- #order-notes .notes-personal,
252
- #order-notes .notes-shipping,
253
- #order-notes .notes-policies {
254
- margin-bottom: 20px;
255
- }
256
-
257
- #order-notes .notes-personal {
258
- color: #666;
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 */
273
- #wcdn-footer {
274
- border-top: 1px solid #ccc;
275
- padding: 10px 20px;
276
- }
277
-
278
- #wcdn-footer .wcdn-footer-imprint {
279
- color: #666;
280
- float: right;
281
- font-size: .80em;
282
- font-style: italic;
283
- text-align: right;
284
- }
285
-
286
-
287
- /* CSS Media Queries for Print
288
- ------------------------------------------*/
289
-
290
- @media print {
291
- #header,
292
- #footer {
293
- display: none;
294
- }
295
- }
languages/woocommerce-delivery-notes-de_DE.mo CHANGED
Binary file
languages/woocommerce-delivery-notes-de_DE.po CHANGED
@@ -1,15 +1,15 @@
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:
5
# --> http://deckerweb.de/sprachdateien/
6
#
7
msgid ""
8
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: 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"
@@ -24,427 +24,368 @@ msgstr ""
24
"X-Poedit-SearchPath-0: .\n"
25
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
39
#@ woocommerce-delivery-notes
40
- #: delivery-note-template/template.php:67
41
msgid "Quantity"
42
msgstr "Menge"
43
44
#@ woocommerce-delivery-notes
45
- #: delivery-note-template/template.php:68
46
msgid "Price"
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
-
100
- #@ woocommerce-delivery-notes
101
- #. translators: plugin header field 'Name'
102
- #: woocommerce-delivery-notes.php:0
103
- msgid "WooCommerce Delivery Notes"
104
- msgstr "WooCommerce Lieferscheine"
105
-
106
- #@ woocommerce-delivery-notes
107
- #. translators: plugin header field 'PluginURI'
108
- #: woocommerce-delivery-notes.php:0
109
- msgid "http://genesisthemes.de/en/wp-plugins/woocommerce-delivery-notes/"
110
- msgstr "http://genesisthemes.de/plugins/woocommerce-delivery-notes/"
111
-
112
- #@ woocommerce-delivery-notes
113
- #. translators: plugin header field 'Author'
114
- #: woocommerce-delivery-notes.php:0
115
- msgid "David Decker - DECKERWEB"
116
- msgstr "David Decker - DECKERWEB.de"
117
-
118
- #@ woocommerce-delivery-notes
119
- #. translators: plugin header field 'AuthorURI'
120
- #: woocommerce-delivery-notes.php:0
121
- msgid "http://deckerweb.de/"
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
155
#@ woocommerce-delivery-notes
156
- #: delivery-note-template/template.php:66
157
msgid "Product Name"
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
-
180
- #@ woocommerce-delivery-notes
181
- #: delivery-note-template/template.php:36
182
- msgid "Recipient:"
183
- msgstr "Empfänger:"
184
-
185
- #@ woocommerce-delivery-notes
186
- #: delivery-note-template/template.php:51
187
msgid "Order No."
188
msgstr "Bestell-Nr."
189
190
#@ woocommerce-delivery-notes
191
- #: delivery-note-template/template.php:55
192
msgid "Order Date"
193
msgstr "Bestelldatum"
194
195
#@ woocommerce-delivery-notes
196
- #: delivery-note-template/template.php:74
197
msgid "SKU:"
198
msgstr "Art.-Nr.:"
199
200
#@ woocommerce-delivery-notes
201
- #: delivery-note-template/template.php:74
202
msgid "Weight:"
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
259
#@ woocommerce-delivery-notes
260
- #. translators: plugin header field 'Description'
261
- #: woocommerce-delivery-notes.php:0
262
- 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."
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
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 Print Invoices & Delivery Notes Plugin package.
3
#
4
# Weitere deutsche Sprachdateien fuer WooCommerce und WordPress sind hier zu finden:
5
# --> http://deckerweb.de/sprachdateien/
6
#
7
msgid ""
8
msgstr ""
9
+ "Project-Id-Version: WooCommerce Print Invoices & Delivery Notes (Plugin, SIE-Version)\n"
10
"Report-Msgid-Bugs-To: http://wordpress.org/tags/woocommerce-delivery-notes\n"
11
+ "POT-Creation-Date: 2012-05-06 19:17+0100\n"
12
+ "PO-Revision-Date: 2012-05-07 10:17+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"
24
"X-Poedit-SearchPath-0: .\n"
25
26
#@ woocommerce-delivery-notes
27
+ #: templates/delivery-notes/print.php:5
28
+ #: templates/delivery-notes/print.php:21
29
msgid "Delivery Note"
30
msgstr "Lieferschein"
31
32
#@ woocommerce-delivery-notes
33
+ #: templates/delivery-notes/print.php:129
34
+ #: woocommerce-delivery-notes-print.php:90
35
msgid "Print Page"
36
msgstr "Seite ausdrucken"
37
38
#@ woocommerce-delivery-notes
39
+ #: templates/delivery-notes/print.php:58
40
msgid "Quantity"
41
msgstr "Menge"
42
43
#@ woocommerce-delivery-notes
44
+ #: templates/delivery-notes/print.php:59
45
msgid "Price"
46
msgstr "Preis"
47
48
#@ woocommerce-delivery-notes
49
+ #: templates/delivery-notes/print.php:79
50
msgid "Subtotal"
51
msgstr "Zwischensumme"
52
53
#@ woocommerce-delivery-notes
54
+ #: templates/delivery-notes/print.php:84
55
msgid "Shipping"
56
msgstr "Versand"
57
58
#@ woocommerce-delivery-notes
59
+ #: templates/delivery-notes/print.php:90
60
msgid "Tax"
61
msgstr "Mwst."
62
63
#@ woocommerce-delivery-notes
64
+ #: templates/delivery-notes/print.php:96
65
msgid "Discount"
66
msgstr "Rabatt"
67
68
#@ woocommerce-delivery-notes
69
+ #: templates/delivery-notes/print.php:101
70
msgid "Grand Total"
71
msgstr "Gesamtsumme"
72
73
#@ woocommerce-delivery-notes
74
+ #: woocommerce-delivery-notes-print.php:23
75
msgid "You do not have sufficient permissions to access this page."
76
msgstr "Sie haben keine ausreichende Rechte, um auf diese Seite zugreifen zu können."
77
78
#@ woocommerce-delivery-notes
79
+ #: classes/class-wcdn-settings.php:53
80
msgid "Go to the settings page"
81
msgstr "Zur Einstellungsseite des Plugins"
82
83
#@ woocommerce-delivery-notes
84
+ #: classes/class-wcdn-settings.php:53
85
msgid "Settings"
86
msgstr "Einstellungen"
87
88
#@ woocommerce-delivery-notes
89
+ #: classes/class-wcdn-writepanel.php:64
90
msgid "FAQ"
91
msgstr "FAQ - Häufige Fragen"
92
93
#@ woocommerce-delivery-notes
94
+ #: classes/class-wcdn-writepanel.php:65
95
msgid "Support"
96
msgstr "Hilfe und Unterstützung (Support)"
97
98
#@ woocommerce-delivery-notes
99
+ #: classes/class-wcdn-writepanel.php:66
100
msgid "http://genesisthemes.de/en/donate/"
101
msgstr "http://genesisthemes.de/spenden/"
102
103
#@ woocommerce-delivery-notes
104
+ #: classes/class-wcdn-writepanel.php:66
105
msgid "Donate"
106
msgstr "Spenden"
107
108
#@ woocommerce-delivery-notes
109
+ #: templates/delivery-notes/print.php:57
110
msgid "Product Name"
111
msgstr "Produktbezeichnung"
112
113
#@ woocommerce-delivery-notes
114
+ #: classes/class-wcdn-settings.php:175
115
msgid "Returns Policy, Conditions, etc.:"
116
msgstr "Rückgabe- und sonstige Bedingungen:"
117
118
#@ woocommerce-delivery-notes
119
+ #: templates/delivery-notes/print.php:44
120
msgid "Order No."
121
msgstr "Bestell-Nr."
122
123
#@ woocommerce-delivery-notes
124
+ #: templates/delivery-notes/print.php:48
125
msgid "Order Date"
126
msgstr "Bestelldatum"
127
128
#@ woocommerce-delivery-notes
129
+ #: templates/delivery-notes/print.php:65
130
msgid "SKU:"
131
msgstr "Art.-Nr.:"
132
133
#@ woocommerce-delivery-notes
134
+ #: templates/delivery-notes/print.php:65
135
msgid "Weight:"
136
msgstr "Gewicht:"
137
138
#@ woocommerce-delivery-notes
139
+ #: classes/class-wcdn-settings.php:96
140
+ msgid "Plugin: WooCommerce Print Invoices & Delivery Notes"
141
+ msgstr "Plugin: WooCommerce Rechnungen & Lieferscheine drucken"
142
143
#@ woocommerce-delivery-notes
144
+ #: classes/class-wcdn-settings.php:141
145
+ msgid "Your custom company or shop name for the Delivery Note."
146
+ msgstr "Ihr benutzerdefinierter Firmen- oder Shop-Name für den Lieferschein."
147
148
#@ woocommerce-delivery-notes
149
+ #: classes/class-wcdn-settings.php:142
150
+ #: classes/class-wcdn-settings.php:155
151
+ #: classes/class-wcdn-settings.php:168
152
+ #: classes/class-wcdn-settings.php:181
153
+ #: classes/class-wcdn-settings.php:194
154
+ #: classes/class-wcdn-settings.php:244
155
+ msgid "Note:"
156
+ msgstr "Hinweis:"
157
+
158
+ #@ woocommerce-delivery-notes
159
+ #: classes/class-wcdn-settings.php:154
160
+ msgid "The postal address of the company/shop, which gets printed right of the company/shop name, above the order listings."
161
+ msgstr "Die Postanschrift der Firma bzw. des Shops, welche rechts neben dem Firmen-/ Shopname ausgegeben wird, über den Bestelldaten."
162
163
#@ woocommerce-delivery-notes
164
+ #: classes/class-wcdn-settings.php:167
165
+ msgid "Add some personal notes, or season greetings or whatever (e.g. Thank You for Your Order!, Merry Christmas!, etc.)."
166
+ msgstr "Fügen Sie einige persönliche Anmerkungen wie Dank, jahreszeitliche Grüße hinzu (z.B.: Danke für Ihre Bestellung!, Frohe Weihnachten!, etc.)."
167
168
#@ woocommerce-delivery-notes
169
+ #: classes/class-wcdn-settings.php:193
170
+ msgid "Add some further footer imprint, copyright notes etc. to get the printed sheets a bit more branded to your needs."
171
+ 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."
172
173
#@ woocommerce-delivery-notes
174
+ #: classes/class-wcdn-settings.php:94
175
+ #: classes/class-wcdn-settings.php:97
176
+ msgid "About the Plugin"
177
+ msgstr "Über das Plugin"
178
179
#@ woocommerce-delivery-notes
180
+ #: classes/class-wcdn-settings.php:104
181
+ msgid "For more information:"
182
+ msgstr "Weitere Informationen:"
183
184
#@ woocommerce-delivery-notes
185
+ #: classes/class-wcdn-settings.php:105
186
+ msgid "Frequently Asked Questions"
187
+ msgstr "Häufige Fragen (FAQ)"
188
189
#@ woocommerce-delivery-notes
190
+ #: classes/class-wcdn-settings.php:106
191
+ msgid "Project on WordPress.org"
192
+ msgstr "Projekt bei WordPress.org"
193
194
#@ woocommerce-delivery-notes
195
+ #: classes/class-wcdn-settings.php:107
196
+ msgid "Project on GitHub"
197
+ msgstr "Projekt bei GitHub"
198
199
#@ woocommerce-delivery-notes
200
+ #: classes/class-wcdn-settings.php:108
201
+ msgid "Discuss in the Forum"
202
+ msgstr "Im Forum diskutieren"
203
204
#@ woocommerce-delivery-notes
205
+ #: classes/class-wcdn-settings.php:118
206
+ msgid "Print"
207
+ msgstr "Druck"
208
209
#@ woocommerce-delivery-notes
210
+ #: classes/class-wcdn-settings.php:131
211
+ msgid "Invoices and Delivery Notes"
212
+ msgstr "Rechnungen und Lieferscheine"
213
214
#@ woocommerce-delivery-notes
215
+ #: classes/class-wcdn-settings.php:136
216
+ msgid "Company/Shop Name"
217
+ msgstr "Firmen-/ Shopname"
218
219
#@ woocommerce-delivery-notes
220
+ #: classes/class-wcdn-settings.php:143
221
+ msgid "Leave blank to use the default Website/ Blog title defined in WordPress settings."
222
+ msgstr "Leer lassen, um den standardmäßigen Webseiten- bzw. Blogtitel zu verwenden, der in den WordPress-Einstellungen festgelegt wird."
223
224
#@ woocommerce-delivery-notes
225
+ #: classes/class-wcdn-settings.php:149
226
+ msgid "Company/Shop Address"
227
+ msgstr "Firmen-/ Shop-Anschrift"
228
229
#@ woocommerce-delivery-notes
230
+ #: classes/class-wcdn-settings.php:156
231
+ msgid "Leave blank to not print an address."
232
+ msgstr "Leer lassen, um keine Anschrift mit auszudrucken."
233
234
#@ woocommerce-delivery-notes
235
+ #: classes/class-wcdn-settings.php:162
236
+ msgid "Personal Notes"
237
+ msgstr "Persönliche Anmerkungen"
238
239
#@ woocommerce-delivery-notes
240
+ #: classes/class-wcdn-settings.php:169
241
+ msgid "Leave blank to not print any personal notes."
242
+ msgstr "Leer lassen, um keine persönlichen Anmerkungen mit auszudrucken."
243
244
#@ woocommerce-delivery-notes
245
+ #: classes/class-wcdn-settings.php:180
246
+ 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. In some countries (e.g. in the European Union) this is required so please add any required info in accordance with the statutory regulations."
247
+ msgstr "Hier können Sie einige weitere Bedingungen angeben. Zum Beispiel Bedingungen für die Rückgabe, Widerrufsbelehrung etc. 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."
248
249
#@ woocommerce-delivery-notes
250
+ #: classes/class-wcdn-settings.php:182
251
+ msgid "Leave blank to not print any policies or conditions."
252
+ msgstr "Leer lassen, um keine Bedingungen mit auszudrucken."
253
254
#@ woocommerce-delivery-notes
255
+ #: classes/class-wcdn-settings.php:188
256
+ msgid "Footer Imprint"
257
+ msgstr "Fußzeile Impressum"
258
259
#@ woocommerce-delivery-notes
260
+ #: classes/class-wcdn-settings.php:195
261
+ msgid "Leave blank to not print a footer."
262
+ msgstr "Leer lassen, um keine Impressumangaben in der Fußzeile mit auszudrucken."
263
264
#@ woocommerce-delivery-notes
265
+ #: classes/class-wcdn-settings.php:201
266
+ msgid "Preview Options"
267
+ msgstr "Vorschau-Optionen"
268
269
#@ woocommerce-delivery-notes
270
+ #: classes/class-wcdn-settings.php:206
271
+ msgid "Preview opens"
272
+ msgstr "Vorschau öffnet"
273
274
#@ woocommerce-delivery-notes
275
+ #: classes/class-wcdn-settings.php:210
276
+ msgid "Start printing when the preview page opens"
277
+ msgstr "Mit dem Druck beginnen, wenn die Druckvorschau-Seite öffnet"
278
279
#@ woocommerce-delivery-notes
280
+ #: classes/class-wcdn-settings.php:215
281
+ msgid "Order Numbering Options"
282
+ msgstr "Bestellnummern-Optionen"
283
284
#@ woocommerce-delivery-notes
285
+ #: classes/class-wcdn-settings.php:220
286
+ msgid "Before order number"
287
+ msgstr "Vor der Bestellnummer"
288
289
#@ woocommerce-delivery-notes
290
+ #: classes/class-wcdn-settings.php:224
291
+ msgid "This text will be placed before the order number ie. \"YOUR-TEXT123\"."
292
+ msgstr "Dieser Text wird der Bestellnummer vorangestellt, zum Beispiel <code>IHR-TEXT123</code>."
293
294
#@ woocommerce-delivery-notes
295
+ #: classes/class-wcdn-settings.php:229
296
+ msgid "After order number"
297
+ msgstr "Nach der Bestellnummer"
298
299
#@ woocommerce-delivery-notes
300
+ #: classes/class-wcdn-settings.php:233
301
+ msgid "This text will be placed after the order number ie. \"123YOUR-TEXT\"."
302
+ msgstr "Dieser Text wird nach der Bestellnummer angefügt, zum Beispiel <code>123IHR-TEXT</code>."
303
304
#@ woocommerce-delivery-notes
305
+ #: classes/class-wcdn-settings.php:238
306
+ msgid "Number Offset"
307
+ msgstr "Nummern-Versatz"
308
309
#@ woocommerce-delivery-notes
310
+ #: classes/class-wcdn-settings.php:243
311
+ msgid "This adds an offset to the WooCommerce order number. Helpful for a contiguous numbering."
312
+ msgstr "Dies fügt einen Versatz zur WooCommerce-Bestellnummer hinzu. Hilfreich für fortlaufende Nummerierung."
313
314
#@ woocommerce-delivery-notes
315
+ #: classes/class-wcdn-settings.php:245
316
+ msgid "Only positive or negative numbers are allowed."
317
+ msgstr "Nur positive oder negative Zahlen sind erlaubt."
318
319
#@ woocommerce-delivery-notes
320
+ #: classes/class-wcdn-writepanel.php:78
321
+ msgid "Order Print"
322
+ msgstr "Bestellung drucken"
323
324
#@ woocommerce-delivery-notes
325
+ #: classes/class-wcdn-writepanel.php:91
326
+ msgid "Print Invoice"
327
+ msgstr "Rechnung drucken"
328
329
#@ woocommerce-delivery-notes
330
+ #: classes/class-wcdn-writepanel.php:92
331
+ msgid "Print Delivery Note"
332
+ msgstr "Lieferschein drucken"
333
334
#@ woocommerce-delivery-notes
335
+ #: templates/delivery-notes/print.php:5
336
+ #: templates/delivery-notes/print.php:21
337
+ msgid "Invoice"
338
+ msgstr "Rechnung"
339
340
#@ woocommerce-delivery-notes
341
+ #: templates/delivery-notes/print.php:29
342
+ msgid "Recipient"
343
+ msgstr "Empfänger"
344
345
#@ woocommerce-delivery-notes
346
+ #: templates/delivery-notes/print.php:111
347
+ msgid "Customer Notes"
348
+ msgstr "Kundennotizen"
349
350
#@ woocommerce-delivery-notes
351
+ #. translators: plugin header field 'Name'
352
+ #: woocommerce-delivery-notes.php:0
353
+ msgid "WooCommerce Print Invoices & Delivery Notes"
354
+ msgstr "WooCommerce Rechnungen & Lieferscheine drucken"
355
356
#@ woocommerce-delivery-notes
357
+ #. translators: plugin header field 'PluginURI'
358
+ #. translators: plugin header field 'AuthorURI'
359
+ #: woocommerce-delivery-notes.php:0
360
+ msgid "https://github.com/piffpaffpuff/woocommerce-delivery-notes"
361
+ msgstr "https://github.com/piffpaffpuff/woocommerce-delivery-notes"
362
363
#@ woocommerce-delivery-notes
364
+ #. translators: plugin header field 'Description'
365
+ #: woocommerce-delivery-notes.php:0
366
+ msgid "Print order invoices & delivery notes for WooCommerce shop. You can add company/shop info as well as personal notes & policies to print pages."
367
+ msgstr "Dieses Plugin stellt einfache Rechnungen und Lieferscheine für das WooCommerce Shop Plugin bereit. Es können dabei auch Firmen-/ Shop-Infos ebenso wie persönliche Anmerkungen oder Bedingungen/ Widerrufsbelehrungen zu den Druckseiten hinzugefügt werden."
368
369
#@ woocommerce-delivery-notes
370
+ #. translators: plugin header field 'Author'
371
+ #: woocommerce-delivery-notes.php:0
372
+ msgid "Steve Clark, Triggvy Gunderson, David Decker"
373
+ msgstr "Steve Clark, Triggvy Gunderson, David Decker"
374
375
#@ woocommerce-delivery-notes
376
#. translators: plugin header field 'Version'
377
#: woocommerce-delivery-notes.php:0
378
+ msgid "1.2"
379
+ msgstr "1.2"
380
+
381
+ #@ woocommerce-delivery-notes
382
+ #: classes/class-wcdn-settings.php:98
383
+ msgid "This plugin enables you to add a Invoice or 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."
384
+ msgstr "Dieses Plugin ermöglicht es, eine einfache Rechnung oder 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/ Widerrufsbelehrung 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."
385
+
386
+ #@ woocommerce-delivery-notes
387
+ #: classes/class-wcdn-settings.php:99
388
+ #, php-format
389
+ 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 Order Print meta box. Click one of the buttons and you get the invoice or delivery note printing page. Yes, it is that easy :-)."
390
+ 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>Bestellung drucken</em> Metabox. Klicken Sie dort und es öffnet sich die Rechnung oder der Lieferschein zum Ausdrucken. Das ist schon alles :-)."
391
languages/woocommerce-delivery-notes-es_ES.mo ADDED
Binary file
languages/woocommerce-delivery-notes-es_ES.po ADDED
@@ -0,0 +1,304 @@
1
+ # Translation of WooCommerce Print Invoices & Delivery Notes in Spanish (Spain)
2
+ # This file is distributed under the same license as the WooCommerce Print Invoices & Delivery Notes package.
3
+ msgid ""
4
+ msgstr ""
5
+ "PO-Revision-Date: 2012-05-07 10:17+0100\n"
6
+ "MIME-Version: 1.0\n"
7
+ "Content-Type: text/plain; charset=UTF-8\n"
8
+ "Content-Transfer-Encoding: 8bit\n"
9
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
10
+ "X-Generator: GlotPress/0.1\n"
11
+ "Project-Id-Version: WooCommerce Print Invoices & Delivery Notes\n"
12
+ "POT-Creation-Date: \n"
13
+ "Last-Translator: David Decker <deckerweb.mobil@googlemail.com>\n"
14
+ "Language-Team: \n"
15
+
16
+ #: templates/delivery-notes/print.php:5
17
+ #: templates/delivery-notes/print.php:21
18
+ msgid "Delivery Note"
19
+ msgstr "Nota de Entrega"
20
+
21
+ #: templates/delivery-notes/print.php:129
22
+ #: woocommerce-delivery-notes-print.php:90
23
+ msgid "Print Page"
24
+ msgstr "Imprimir página"
25
+
26
+ #: templates/delivery-notes/print.php:58
27
+ msgid "Quantity"
28
+ msgstr "Cantidad"
29
+
30
+ #: templates/delivery-notes/print.php:59
31
+ msgid "Price"
32
+ msgstr "Precio"
33
+
34
+ #: templates/delivery-notes/print.php:79
35
+ msgid "Subtotal"
36
+ msgstr "Subtotal"
37
+
38
+ #: templates/delivery-notes/print.php:84
39
+ msgid "Shipping"
40
+ msgstr "Envío"
41
+
42
+ #: templates/delivery-notes/print.php:90
43
+ msgid "Tax"
44
+ msgstr "Impuestos"
45
+
46
+ #: templates/delivery-notes/print.php:96
47
+ msgid "Discount"
48
+ msgstr "Descuento"
49
+
50
+ #: templates/delivery-notes/print.php:101
51
+ msgid "Grand Total"
52
+ msgstr "Total"
53
+
54
+ #: woocommerce-delivery-notes-print.php:23
55
+ msgid "You do not have sufficient permissions to access this page."
56
+ msgstr "No tienes los permisos suficientes para acceder a esta página."
57
+
58
+ #: classes/class-wcdn-settings.php:53
59
+ msgid "Go to the settings page"
60
+ msgstr "Ir a la página de ajustes"
61
+
62
+ #: classes/class-wcdn-settings.php:53
63
+ msgid "Settings"
64
+ msgstr "Ajustes"
65
+
66
+ #: classes/class-wcdn-writepanel.php:64
67
+ msgid "FAQ"
68
+ msgstr "FAQ"
69
+
70
+ #: classes/class-wcdn-writepanel.php:65
71
+ msgid "Support"
72
+ msgstr "Soporte"
73
+
74
+ #: classes/class-wcdn-writepanel.php:66
75
+ msgid "http://genesisthemes.de/en/donate/"
76
+ msgstr "http://genesisthemes.de/en/donate/"
77
+
78
+ #: classes/class-wcdn-writepanel.php:66
79
+ msgid "Donate"
80
+ msgstr "Donación"
81
+
82
+ #: templates/delivery-notes/print.php:57
83
+ msgid "Product Name"
84
+ msgstr "Producto"
85
+
86
+ #: classes/class-wcdn-settings.php:175
87
+ msgid "Returns Policy, Conditions, etc.:"
88
+ msgstr "Política de Devoluciones, Condiciones, etc.:"
89
+
90
+ #: templates/delivery-notes/print.php:44
91
+ msgid "Order No."
92
+ msgstr "Pedido No."
93
+
94
+ #: templates/delivery-notes/print.php:48
95
+ msgid "Order Date"
96
+ msgstr "Fecha de Pedido"
97
+
98
+ #: templates/delivery-notes/print.php:65
99
+ msgid "SKU:"
100
+ msgstr "SKU:"
101
+
102
+ #: templates/delivery-notes/print.php:65
103
+ msgid "Weight:"
104
+ msgstr "Peso:"
105
+
106
+ #: classes/class-wcdn-settings.php:96
107
+ msgid "Plugin: WooCommerce Print Invoices & Delivery Notes"
108
+ msgstr ""
109
+
110
+ #: classes/class-wcdn-settings.php:141
111
+ msgid "Your custom company or shop name for the Delivery Note."
112
+ msgstr "Tu nombre de empresa personalizado o el nombre de la tienda de la Nota de Entrega."
113
+
114
+ #: classes/class-wcdn-settings.php:142
115
+ #: classes/class-wcdn-settings.php:155
116
+ #: classes/class-wcdn-settings.php:168
117
+ #: classes/class-wcdn-settings.php:181
118
+ #: classes/class-wcdn-settings.php:194
119
+ #: classes/class-wcdn-settings.php:244
120
+ msgid "Note:"
121
+ msgstr "Nota:"
122
+
123
+ #: classes/class-wcdn-settings.php:154
124
+ msgid "The postal address of the company/shop, which gets printed right of the company/shop name, above the order listings."
125
+ msgstr "La dirección postal de la compañia/tienda, quedara impresa a la derecha del nombre de la compañia/tienda, debajo del listado de pedido."
126
+
127
+ #: classes/class-wcdn-settings.php:167
128
+ msgid "Add some personal notes, or season greetings or whatever (e.g. Thank You for Your Order!, Merry Christmas!, etc.)."
129
+ msgstr "Añade notas personales, o felicitaciones o cualquier cosa (ej. ¡Gracias por tu pedido!, ¡Feliz Navidad!, ect.)"
130
+
131
+ #: classes/class-wcdn-settings.php:193
132
+ msgid "Add some further footer imprint, copyright notes etc. to get the printed sheets a bit more branded to your needs."
133
+ msgstr "Añade además de notas a pie de página, notas de copyright etc. para obtener hojas impresas que se ajusten un poco mas a tu marca."
134
+
135
+ #: classes/class-wcdn-settings.php:94
136
+ #: classes/class-wcdn-settings.php:97
137
+ msgid "About the Plugin"
138
+ msgstr ""
139
+
140
+ #: classes/class-wcdn-settings.php:104
141
+ msgid "For more information:"
142
+ msgstr ""
143
+
144
+ #: classes/class-wcdn-settings.php:105
145
+ msgid "Frequently Asked Questions"
146
+ msgstr ""
147
+
148
+ #: classes/class-wcdn-settings.php:106
149
+ msgid "Project on WordPress.org"
150
+ msgstr ""
151
+
152
+ #: classes/class-wcdn-settings.php:107
153
+ msgid "Project on GitHub"
154
+ msgstr ""
155
+
156
+ #: classes/class-wcdn-settings.php:108
157
+ msgid "Discuss in the Forum"
158
+ msgstr ""
159
+
160
+ #: classes/class-wcdn-settings.php:118
161
+ msgid "Print"
162
+ msgstr ""
163
+
164
+ #: classes/class-wcdn-settings.php:131
165
+ msgid "Invoices and Delivery Notes"
166
+ msgstr ""
167
+
168
+ #: classes/class-wcdn-settings.php:136
169
+ msgid "Company/Shop Name"
170
+ msgstr ""
171
+
172
+ #: classes/class-wcdn-settings.php:143
173
+ msgid "Leave blank to use the default Website/ Blog title defined in WordPress settings."
174
+ msgstr ""
175
+
176
+ #: classes/class-wcdn-settings.php:149
177
+ msgid "Company/Shop Address"
178
+ msgstr ""
179
+
180
+ #: classes/class-wcdn-settings.php:156
181
+ msgid "Leave blank to not print an address."
182
+ msgstr ""
183
+
184
+ #: classes/class-wcdn-settings.php:162
185
+ msgid "Personal Notes"
186
+ msgstr ""
187
+
188
+ #: classes/class-wcdn-settings.php:169
189
+ msgid "Leave blank to not print any personal notes."
190
+ msgstr ""
191
+
192
+ #: classes/class-wcdn-settings.php:180
193
+ 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. In some countries (e.g. in the European Union) this is required so please add any required info in accordance with the statutory regulations."
194
+ msgstr ""
195
+
196
+ #: classes/class-wcdn-settings.php:182
197
+ msgid "Leave blank to not print any policies or conditions."
198
+ msgstr ""
199
+
200
+ #: classes/class-wcdn-settings.php:188
201
+ msgid "Footer Imprint"
202
+ msgstr ""
203
+
204
+ #: classes/class-wcdn-settings.php:195
205
+ msgid "Leave blank to not print a footer."
206
+ msgstr ""
207
+
208
+ #: classes/class-wcdn-settings.php:201
209
+ msgid "Preview Options"
210
+ msgstr ""
211
+
212
+ #: classes/class-wcdn-settings.php:206
213
+ msgid "Preview opens"
214
+ msgstr ""
215
+
216
+ #: classes/class-wcdn-settings.php:210
217
+ msgid "Start printing when the preview page opens"
218
+ msgstr ""
219
+
220
+ #: classes/class-wcdn-settings.php:215
221
+ msgid "Order Numbering Options"
222
+ msgstr ""
223
+
224
+ #: classes/class-wcdn-settings.php:220
225
+ msgid "Before order number"
226
+ msgstr ""
227
+
228
+ #: classes/class-wcdn-settings.php:224
229
+ msgid "This text will be placed before the order number ie. \"YOUR-TEXT123\"."
230
+ msgstr ""
231
+
232
+ #: classes/class-wcdn-settings.php:229
233
+ msgid "After order number"
234
+ msgstr ""
235
+
236
+ #: classes/class-wcdn-settings.php:233
237
+ msgid "This text will be placed after the order number ie. \"123YOUR-TEXT\"."
238
+ msgstr ""
239
+
240
+ #: classes/class-wcdn-settings.php:238
241
+ msgid "Number Offset"
242
+ msgstr ""
243
+
244
+ #: classes/class-wcdn-settings.php:243
245
+ msgid "This adds an offset to the WooCommerce order number. Helpful for a contiguous numbering."
246
+ msgstr ""
247
+
248
+ #: classes/class-wcdn-settings.php:245
249
+ msgid "Only positive or negative numbers are allowed."
250
+ msgstr ""
251
+
252
+ #: classes/class-wcdn-writepanel.php:78
253
+ msgid "Order Print"
254
+ msgstr ""
255
+
256
+ #: classes/class-wcdn-writepanel.php:91
257
+ msgid "Print Invoice"
258
+ msgstr ""
259
+
260
+ #: classes/class-wcdn-writepanel.php:92
261
+ msgid "Print Delivery Note"
262
+ msgstr ""
263
+
264
+ #: templates/delivery-notes/print.php:5
265
+ #: templates/delivery-notes/print.php:21
266
+ msgid "Invoice"
267
+ msgstr ""
268
+
269
+ #: templates/delivery-notes/print.php:29
270
+ msgid "Recipient"
271
+ msgstr ""
272
+
273
+ #: templates/delivery-notes/print.php:111
274
+ msgid "Customer Notes"
275
+ msgstr ""
276
+
277
+ #: woocommerce-delivery-notes.php:0
278
+ msgid "WooCommerce Print Invoices & Delivery Notes"
279
+ msgstr ""
280
+
281
+ #: woocommerce-delivery-notes.php:0
282
+ msgid "https://github.com/piffpaffpuff/woocommerce-delivery-notes"
283
+ msgstr "https://github.com/piffpaffpuff/woocommerce-delivery-notes"
284
+
285
+ #: woocommerce-delivery-notes.php:0
286
+ msgid "Print order invoices & delivery notes for WooCommerce shop plugin. You can add company/shop info as well as personal notes & policies to print pages."
287
+ msgstr ""
288
+
289
+ #: woocommerce-delivery-notes.php:0
290
+ msgid "Steve Clark, Triggvy Gunderson, David Decker"
291
+ msgstr "Steve Clark, Triggvy Gunderson, David Decker"
292
+
293
+ #: woocommerce-delivery-notes.php:0
294
+ msgid "1.2"
295
+ msgstr "1.2"
296
+
297
+ #: classes/class-wcdn-settings.php:98
298
+ msgid "This plugin enables you to add a Invoice or 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."
299
+ msgstr ""
300
+
301
+ #: classes/class-wcdn-settings.php:99
302
+ 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 Order Print meta box. Click one of the buttons and you get the invoice or delivery note printing page. Yes, it is that easy :-)."
303
+ msgstr ""
304
+
languages/woocommerce-delivery-notes-fr_FR.mo ADDED
Binary file
languages/woocommerce-delivery-notes-fr_FR.po ADDED
@@ -0,0 +1,304 @@
1
+ # Translation of WooCommerce Print Invoices & Delivery Notes in French (France)
2
+ # This file is distributed under the same license as the WooCommerce Print Invoices & Delivery Notes package.
3
+ msgid ""
4
+ msgstr ""
5
+ "PO-Revision-Date: 2012-05-07 10:17+0100\n"
6
+ "MIME-Version: 1.0\n"
7
+ "Content-Type: text/plain; charset=UTF-8\n"
8
+ "Content-Transfer-Encoding: 8bit\n"
9
+ "Plural-Forms: nplurals=2; plural=n > 1;\n"
10
+ "X-Generator: GlotPress/0.1\n"
11
+ "Project-Id-Version: WooCommerce Print Invoices & Delivery Notes\n"
12
+ "POT-Creation-Date: \n"
13
+ "Last-Translator: David Decker <deckerweb.mobil@googlemail.com>\n"
14
+ "Language-Team: \n"
15
+
16
+ #: templates/delivery-notes/print.php:5
17
+ #: templates/delivery-notes/print.php:21
18
+ msgid "Delivery Note"
19
+ msgstr "Bon de livraison"
20
+
21
+ #: templates/delivery-notes/print.php:129
22
+ #: woocommerce-delivery-notes-print.php:90
23
+ msgid "Print Page"
24
+ msgstr "Imprimer"
25
+
26
+ #: templates/delivery-notes/print.php:58
27
+ msgid "Quantity"
28
+ msgstr "Quantité"
29
+
30
+ #: templates/delivery-notes/print.php:59
31
+ msgid "Price"
32
+ msgstr "Prix"
33
+
34
+ #: templates/delivery-notes/print.php:79
35
+ msgid "Subtotal"
36
+ msgstr "Sous-total"
37
+
38
+ #: templates/delivery-notes/print.php:84
39
+ msgid "Shipping"
40
+ msgstr "Livraison"
41
+
42
+ #: templates/delivery-notes/print.php:90
43
+ msgid "Tax"
44
+ msgstr "TVA"
45
+
46
+ #: templates/delivery-notes/print.php:96
47
+ msgid "Discount"
48
+ msgstr "Rabais"
49
+
50
+ #: templates/delivery-notes/print.php:101
51
+ msgid "Grand Total"
52
+ msgstr "Total"
53
+
54
+ #: woocommerce-delivery-notes-print.php:23
55
+ msgid "You do not have sufficient permissions to access this page."
56
+ msgstr "Vous n'avez pas l'autorisation d'accéder à cette page."
57
+
58
+ #: classes/class-wcdn-settings.php:53
59
+ msgid "Go to the settings page"
60
+ msgstr "Aller à la page de configuration"
61
+
62
+ #: classes/class-wcdn-settings.php:53
63
+ msgid "Settings"
64
+ msgstr "Paramètres"
65
+
66
+ #: classes/class-wcdn-writepanel.php:64