Version Description
The sequential order numbers plugin requires at least WooCommerce 1.5.3.
Download this release
Release Info
Developer | chabis |
Plugin | WooCommerce Print Invoice & Delivery Note |
Version | 1.2.1 |
Comparing to | |
See all releases |
Code changes from version 1.2 to 1.2.1
- classes/class-wcdn-print.php +3 -0
- classes/class-wcdn-settings.php +154 -12
- classes/class-wcdn-writepanel.php +1 -1
- css/style.css +21 -5
- js/script-media-uploader.js +11 -0
- js/script.js +50 -0
- languages/woocommerce-delivery-notes-de_DE.mo +0 -0
- languages/woocommerce-delivery-notes-de_DE.po +123 -91
- languages/woocommerce-delivery-notes-es_ES.mo +0 -0
- languages/woocommerce-delivery-notes-es_ES.po +1 -1
- languages/woocommerce-delivery-notes-fr_FR.mo +0 -0
- languages/woocommerce-delivery-notes-fr_FR.po +1 -1
- languages/woocommerce-delivery-notes-nl_NL.mo +0 -0
- languages/woocommerce-delivery-notes-nl_NL.po +1 -1
- languages/woocommerce-delivery-notes-sv_SE.mo +0 -0
- languages/woocommerce-delivery-notes-sv_SE.po +1 -1
- languages/woocommerce-delivery-notes.po +105 -81
- languages/woocommerce-delivery-notes.pot +105 -81
- readme.txt +179 -176
- screenshot-1.png +0 -0
- screenshot-2.png +0 -0
- screenshot-3.png +0 -0
- screenshot-4.png +0 -0
- screenshot-5.png +0 -0
- templates/delivery-notes/css/style.css +95 -40
- templates/delivery-notes/print.php +7 -5
- woocommerce-delivery-notes-print.php +65 -10
- woocommerce-delivery-notes.php +4 -4
classes/class-wcdn-print.php
CHANGED
@@ -192,6 +192,9 @@ if ( ! class_exists( 'WooCommerce_Delivery_Notes_Print' ) ) {
|
|
192 |
// Set item dimensions
|
193 |
$data['dimensions'] = $product->get_dimensions();
|
194 |
|
|
|
|
|
|
|
195 |
$data_list[] = $data;
|
196 |
}
|
197 |
}
|
192 |
// Set item dimensions
|
193 |
$data['dimensions'] = $product->get_dimensions();
|
194 |
|
195 |
+
// Pass complete item array - more freedom for template developers
|
196 |
+
$data['item'] = $item;
|
197 |
+
|
198 |
$data_list[] = $data;
|
199 |
}
|
200 |
}
|
classes/class-wcdn-settings.php
CHANGED
@@ -18,7 +18,7 @@ if ( ! class_exists( 'WooCommerce_Delivery_Notes_Settings' ) ) {
|
|
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 |
|
@@ -42,6 +42,102 @@ if ( ! class_exists( 'WooCommerce_Delivery_Notes_Settings' ) ) {
|
|
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 |
/**
|
@@ -50,7 +146,7 @@ if ( ! class_exists( 'WooCommerce_Delivery_Notes_Settings' ) ) {
|
|
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=
|
54 |
array_unshift( $links, $settings );
|
55 |
|
56 |
return $links;
|
@@ -63,7 +159,7 @@ if ( ! class_exists( 'WooCommerce_Delivery_Notes_Settings' ) ) {
|
|
63 |
*/
|
64 |
public function load_help() {
|
65 |
// Get the hookname and load the help tabs
|
66 |
-
if (
|
67 |
$menu_slug = plugin_basename( $_GET['page'] );
|
68 |
$hookname = get_plugin_page_hookname( $menu_slug, '' );
|
69 |
|
@@ -104,7 +200,7 @@ if ( ! class_exists( 'WooCommerce_Delivery_Notes_Settings' ) ) {
|
|
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/
|
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 |
}
|
@@ -114,12 +210,39 @@ if ( ! class_exists( 'WooCommerce_Delivery_Notes_Settings' ) ) {
|
|
114 |
*
|
115 |
* @since 1.0
|
116 |
*/
|
117 |
-
public function add_settings_tab(
|
118 |
$tabs[$this->tab_name] = __( 'Print', 'woocommerce-delivery-notes' );
|
119 |
|
120 |
return $tabs;
|
121 |
}
|
122 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
/**
|
124 |
* Create the settings page content
|
125 |
*
|
@@ -131,6 +254,25 @@ if ( ! class_exists( 'WooCommerce_Delivery_Notes_Settings' ) ) {
|
|
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>
|
@@ -138,7 +280,7 @@ if ( ! class_exists( 'WooCommerce_Delivery_Notes_Settings' ) ) {
|
|
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
|
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>
|
@@ -235,14 +377,14 @@ if ( ! class_exists( 'WooCommerce_Delivery_Notes_Settings' ) ) {
|
|
235 |
</tr>
|
236 |
<tr>
|
237 |
<th>
|
238 |
-
<label for="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>order_number_offset"><?php _e( '
|
239 |
</th>
|
240 |
<td>
|
241 |
-
<?php
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
<?php
|
246 |
</td>
|
247 |
</tr>
|
248 |
</tbody>
|
18 |
* @since 1.0
|
19 |
*/
|
20 |
public function __construct() {
|
21 |
+
$this->tab_name = 'woocommerce-delivery-notes';
|
22 |
$this->hidden_submit = WooCommerce_Delivery_Notes::$plugin_prefix . 'submit';
|
23 |
}
|
24 |
|
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 |
+
add_action( 'admin_print_styles', array( $this, 'add_styles' ) );
|
46 |
+
add_action( 'admin_print_scripts', array( $this, 'add_scripts' ) );
|
47 |
+
add_action( 'admin_print_scripts-media-upload-popup', array( $this, 'add_media_scripts_and_styles' ) );
|
48 |
+
add_filter( 'media_upload_tabs', array( $this, 'remove_media_tabs' ) );
|
49 |
+
add_action( 'wp_ajax_load_thumbnail', array( $this, 'load_thumbnail_ajax' ) );
|
50 |
+
add_filter( 'attachment_fields_to_edit', array( $this, 'edit_media_options' ), 20, 2 );
|
51 |
+
}
|
52 |
+
|
53 |
+
/**
|
54 |
+
* Add the styles
|
55 |
+
*/
|
56 |
+
public function add_styles() {
|
57 |
+
if( $this->is_settings_page() ) {
|
58 |
+
wp_enqueue_style( 'thickbox' );
|
59 |
+
wp_enqueue_style( 'woocommerce-delivery-notes-styles', WooCommerce_Delivery_Notes::$plugin_url . 'css/style.css' );
|
60 |
+
}
|
61 |
+
}
|
62 |
+
|
63 |
+
/**
|
64 |
+
* Add the scripts
|
65 |
+
*/
|
66 |
+
public function add_scripts() {
|
67 |
+
if( $this->is_settings_page() ) {
|
68 |
+
wp_enqueue_script( 'media-upload' );
|
69 |
+
wp_enqueue_script( 'thickbox' );
|
70 |
+
wp_enqueue_script( 'woocommerce-delivery-notes-scripts', WooCommerce_Delivery_Notes::$plugin_url . 'js/script.js', array( 'jquery', 'media-upload', 'thickbox' ) );
|
71 |
+
}
|
72 |
+
}
|
73 |
+
|
74 |
+
/**
|
75 |
+
* Add the media uploader scripts
|
76 |
+
*/
|
77 |
+
public function add_media_scripts_and_styles() {
|
78 |
+
wp_enqueue_style( 'woocommerce-delivery-notes-styles', WooCommerce_Delivery_Notes::$plugin_url . 'css/style.css' );
|
79 |
+
wp_enqueue_script( 'woocommerce-delivery-notes-media-scripts', WooCommerce_Delivery_Notes::$plugin_url . 'js/script-media-uploader.js', array( 'jquery' ) );
|
80 |
+
}
|
81 |
+
|
82 |
+
/**
|
83 |
+
* Check if we are on settings page
|
84 |
+
*
|
85 |
+
* @since 1.0
|
86 |
+
*/
|
87 |
+
public function is_settings_page() {
|
88 |
+
if ( isset($_GET['page']) && isset( $_GET['tab'] ) && $_GET['tab'] == $this->tab_name ) {
|
89 |
+
return true;
|
90 |
+
} else {
|
91 |
+
return false;
|
92 |
+
}
|
93 |
+
}
|
94 |
+
|
95 |
+
/**
|
96 |
+
* Check if sequential order plugin is activated
|
97 |
+
*
|
98 |
+
* @since 1.0
|
99 |
+
*/
|
100 |
+
public function is_woocommerce_sequential_order_numbers_activated() {
|
101 |
+
if ( in_array( 'woocommerce-sequential-order-numbers/woocommerce-sequential-order-numbers.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
|
102 |
+
return true;
|
103 |
+
} else {
|
104 |
+
return false;
|
105 |
+
}
|
106 |
+
}
|
107 |
+
|
108 |
+
/**
|
109 |
+
* Remove the media uploader tabs
|
110 |
+
*/
|
111 |
+
public function remove_media_tabs( $tabs ) {
|
112 |
+
if( isset( $_GET['post_id'] ) && $_GET['post_id'] == 0 ) {
|
113 |
+
unset( $tabs['type_url'] );
|
114 |
+
}
|
115 |
+
return $tabs;
|
116 |
+
}
|
117 |
+
|
118 |
+
/**
|
119 |
+
* Modfy the media uploader input fields
|
120 |
+
*/
|
121 |
+
public function edit_media_options( $fields, $post ) {
|
122 |
+
if ( isset( $_GET['post_id'] ) ) {
|
123 |
+
$calling_post_id = absint( $_GET['post_id'] );
|
124 |
+
} elseif ( isset( $_POST ) && count( $_POST ) ) {
|
125 |
+
$calling_post_id = $post->post_parent;
|
126 |
+
}
|
127 |
+
|
128 |
+
// only add the thickbox media managment page (media.php)
|
129 |
+
if( empty( $calling_post_id ) ) {
|
130 |
+
if ( isset( $fields['image-size'] ) && isset( $post->ID ) ) {
|
131 |
+
if( substr($post->post_mime_type, 0, 5) == 'image' && !isset( $_GET['attachment_id'] ) ) {
|
132 |
+
$attachment_id = $post->ID;
|
133 |
+
$fields['additional_buttons']['label'] = '';
|
134 |
+
$fields['additional_buttons']['input'] = 'html';
|
135 |
+
$fields['additional_buttons']['html'] = get_submit_button( __( 'Use as Company Logo', 'woocommerce-delivery-notes' ), 'button use-image-button', 'use-image-button-' . $attachment_id, false );
|
136 |
+
}
|
137 |
+
}
|
138 |
+
}
|
139 |
+
|
140 |
+
return $fields;
|
141 |
}
|
142 |
|
143 |
/**
|
146 |
* @since 1.0
|
147 |
*/
|
148 |
public function add_settings_link( $links ) {
|
149 |
+
$settings = sprintf( '<a href="%s" title="%s">%s</a>' , admin_url( 'admin.php?page=woocommerce&tab=' . $this->tab_name ) , __( 'Go to the settings page', 'woocommerce-delivery-notes' ) , __( 'Settings', 'woocommerce-delivery-notes' ) );
|
150 |
array_unshift( $links, $settings );
|
151 |
|
152 |
return $links;
|
159 |
*/
|
160 |
public function load_help() {
|
161 |
// Get the hookname and load the help tabs
|
162 |
+
if ( $this->is_settings_page() ) {
|
163 |
$menu_slug = plugin_basename( $_GET['page'] );
|
164 |
$hookname = get_plugin_page_hookname( $menu_slug, '' );
|
165 |
|
200 |
'<p><strong>' . __( 'For more information:', 'woocommerce-delivery-notes' ) . '</strong></p>'.
|
201 |
'<p><a href="http://wordpress.org/extend/plugins/woocommerce-delivery-notes/faq/" target="_blank">' . __( 'Frequently Asked Questions', 'woocommerce-delivery-notes' ) . '</a></p>' .
|
202 |
'<p><a href="http://wordpress.org/extend/plugins/woocommerce-delivery-notes/" target="_blank">' . __( 'Project on WordPress.org', 'woocommerce-delivery-notes' ) . '</a></p>' .
|
203 |
+
'<p><a href="https://github.com/deckerweb/woocommerce-delivery-notes" target="_blank">' . __( 'Project on GitHub', 'woocommerce-delivery-notes' ) . '</a></p>' .
|
204 |
'<p><a href="http://wordpress.org/tags/woocommerce-delivery-notes?forum_id=10" target="_blank">' . __( 'Discuss in the Forum', 'woocommerce-delivery-notes' ) . '</a></p>'
|
205 |
);
|
206 |
}
|
210 |
*
|
211 |
* @since 1.0
|
212 |
*/
|
213 |
+
public function add_settings_tab($tabs) {
|
214 |
$tabs[$this->tab_name] = __( 'Print', 'woocommerce-delivery-notes' );
|
215 |
|
216 |
return $tabs;
|
217 |
}
|
218 |
|
219 |
+
/**
|
220 |
+
* Load thumbnail with ajax
|
221 |
+
*/
|
222 |
+
public function load_thumbnail_ajax() {
|
223 |
+
$attachment_id = (int)$_POST['attachment_id'];
|
224 |
+
|
225 |
+
// Verify the id
|
226 |
+
if( !$attachment_id ) {
|
227 |
+
die();
|
228 |
+
}
|
229 |
+
|
230 |
+
// create the thumbnail
|
231 |
+
$this->create_thumbnail( $attachment_id );
|
232 |
+
|
233 |
+
exit;
|
234 |
+
}
|
235 |
+
|
236 |
+
/**
|
237 |
+
* Create the thumbnail
|
238 |
+
*/
|
239 |
+
public function create_thumbnail( $attachment_id ) {
|
240 |
+
$attachment_src = wp_get_attachment_image_src( $attachment_id, array( 200, 200 ), false );
|
241 |
+
?>
|
242 |
+
<img src="<?php echo $attachment_src[0]; ?>" width="<?php echo $attachment_src[1]; ?>" height="<?php echo $attachment_src[2]; ?>" />
|
243 |
+
<?php
|
244 |
+
}
|
245 |
+
|
246 |
/**
|
247 |
* Create the settings page content
|
248 |
*
|
254 |
<h3><?php _e( 'Invoices and Delivery Notes', 'woocommerce-delivery-notes' ); ?></h3>
|
255 |
<table class="form-table">
|
256 |
<tbody>
|
257 |
+
<tr class="hide-if-no-js">
|
258 |
+
<?php
|
259 |
+
$attachment_id = get_option( WooCommerce_Delivery_Notes::$plugin_prefix . 'company_logo_image_id' );
|
260 |
+
?>
|
261 |
+
<th>
|
262 |
+
<label for="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>company_logo_image_id"><?php _e( 'Company/Shop Logo', 'woocommerce-delivery-notes' ); ?></label>
|
263 |
+
</th>
|
264 |
+
<td>
|
265 |
+
<input id="company-logo-image-id" type="hidden" name="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>company_logo_image_id" rows="2" class="regular-text" value="<?php echo $attachment_id ?>" />
|
266 |
+
<span id="company-logo-placeholder"><?php if( !empty( $attachment_id ) ) : ?><?php $this->create_thumbnail( $attachment_id ); ?><?php endif; ?></span>
|
267 |
+
<a href="#" id="company-logo-remove-button" <?php if( empty( $attachment_id ) ) : ?>style="display: none;"<?php endif; ?>><?php _e( 'Remove Logo', 'woocommerce-delivery-notes' ); ?></a>
|
268 |
+
<a href="#" <?php if( !empty( $attachment_id ) ) : ?>style="display: none;"<?php endif; ?> id="company-logo-add-button"><?php _e( 'Set Logo', 'woocommerce-delivery-notes' ); ?></a>
|
269 |
+
<span class="description">
|
270 |
+
<?php _e( 'A company/shop logo representing your business.', 'woocommerce-delivery-notes' ); ?>
|
271 |
+
<br /><strong><?php _e( 'Note:', 'woocommerce-delivery-notes' ); ?></strong>
|
272 |
+
<?php _e( 'The Logo will be resized if it is larger than 300px × 300px.', 'woocommerce-delivery-notes' ); ?>
|
273 |
+
</span>
|
274 |
+
</td>
|
275 |
+
</tr>
|
276 |
<tr>
|
277 |
<th>
|
278 |
<label for="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>custom_company_name"><?php _e( 'Company/Shop Name', 'woocommerce-delivery-notes' ); ?></label>
|
280 |
<td>
|
281 |
<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>
|
282 |
<span class="description">
|
283 |
+
<?php _e( 'Your company/shop name for the Delivery Note.', 'woocommerce-delivery-notes' ); ?>
|
284 |
<br /><strong><?php _e( 'Note:', 'woocommerce-delivery-notes' ); ?></strong>
|
285 |
<?php _e( 'Leave blank to use the default Website/ Blog title defined in WordPress settings.', 'woocommerce-delivery-notes' ); ?>
|
286 |
</span>
|
377 |
</tr>
|
378 |
<tr>
|
379 |
<th>
|
380 |
+
<label for="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>order_number_offset"><?php _e( 'Sequential order number', 'woocommerce-delivery-notes' ); ?></label>
|
381 |
</th>
|
382 |
<td>
|
383 |
+
<?php if( $this->is_woocommerce_sequential_order_numbers_activated() ) : ?>
|
384 |
+
<?php _e( 'Sequential numbering is enabled.', 'woocommerce-delivery-notes' ); ?>
|
385 |
+
<?php else : ?>
|
386 |
+
<?php printf( __( 'Install and activate the free <a href="%s">WooCommerce Sequential Order Numbers</a> Plugin.', 'woocommerce-delivery-notes' ), 'http://wordpress.org/extend/plugins/woocommerce-sequential-order-numbers/' ); ?>
|
387 |
+
<?php endif; ?>
|
388 |
</td>
|
389 |
</tr>
|
390 |
</tbody>
|
classes/class-wcdn-writepanel.php
CHANGED
@@ -46,7 +46,7 @@ if ( !class_exists( 'WooCommerce_Delivery_Notes_Writepanel' ) ) {
|
|
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 |
|
46 |
global $post_type;
|
47 |
|
48 |
if ( $post_type == 'shop_order' ) {
|
49 |
+
wp_enqueue_style( 'woocommerce-delivery-notes-styles', WooCommerce_Delivery_Notes::$plugin_url . 'css/style.css' );
|
50 |
}
|
51 |
}
|
52 |
|
css/style.css
CHANGED
@@ -1,9 +1,25 @@
|
|
1 |
ul.woocommerce-delivery-notes-actions {
|
2 |
-
|
3 |
}
|
4 |
ul.woocommerce-delivery-notes-actions li {
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
}
|
|
|
|
|
|
1 |
ul.woocommerce-delivery-notes-actions {
|
2 |
+
text-align: center;
|
3 |
}
|
4 |
ul.woocommerce-delivery-notes-actions li {
|
5 |
+
margin: 5px;
|
6 |
+
display: inline-block;
|
7 |
+
}
|
8 |
+
#company-logo-placeholder {
|
9 |
+
display: block;
|
10 |
+
}
|
11 |
+
#company-logo-placeholder.loading {
|
12 |
+
background-image: url("../../../../wp-admin/images/loading.gif");
|
13 |
+
background-repeat: no-repeat;
|
14 |
+
height: 20px;
|
15 |
+
}
|
16 |
+
#company-logo-placeholder img {
|
17 |
+
cursor: pointer;
|
18 |
+
}
|
19 |
+
#media-upload .savesend input.button,
|
20 |
+
#media-upload #go_button {
|
21 |
+
display: none;
|
22 |
}
|
23 |
+
.savesend input.button.use-image-button {
|
24 |
+
display: block;
|
25 |
+
}
|
js/script-media-uploader.js
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery(document).ready(function($) {
|
2 |
+
|
3 |
+
// button to send media to content
|
4 |
+
$('#media-upload .use-image-button').live('click', function(event) {
|
5 |
+
var id = Number($(this).attr('id').substr(17));
|
6 |
+
var image = $(this).closest('.describe').find('.thumbnail').attr('src');
|
7 |
+
var win = window.dialogArguments || opener || parent || top;
|
8 |
+
win.sendImageToContent(id, image);
|
9 |
+
event.preventDefault();
|
10 |
+
});
|
11 |
+
});
|
js/script.js
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery(document).ready(function($) {
|
2 |
+
|
3 |
+
// button to open the media uploader
|
4 |
+
$('#company-logo-add-button, #company-logo-placeholder img').on('click', function(event) {
|
5 |
+
tb_show('', 'media-upload.php?post_id=0&type=image&TB_iframe=true');
|
6 |
+
event.preventDefault();
|
7 |
+
});
|
8 |
+
|
9 |
+
// button to remove the media
|
10 |
+
$('#company-logo-remove-button').on('click', function(event) {
|
11 |
+
removeImage();
|
12 |
+
event.preventDefault();
|
13 |
+
});
|
14 |
+
|
15 |
+
// this javascript is called from the custom
|
16 |
+
// button inside the media manager. see the
|
17 |
+
// script-media-uploader.js for details.
|
18 |
+
// close the media uploader and set the media
|
19 |
+
window.sendImageToContent = function(id, image) {
|
20 |
+
console.log(this);
|
21 |
+
tb_remove();
|
22 |
+
|
23 |
+
$('#company-logo-image-id').val(id);
|
24 |
+
$('#company-logo-placeholder').addClass('loading').empty();
|
25 |
+
|
26 |
+
// load the image
|
27 |
+
var data = {
|
28 |
+
attachment_id: id,
|
29 |
+
action: 'load_thumbnail'
|
30 |
+
}
|
31 |
+
|
32 |
+
$.post(ajaxurl, data, function(response) {
|
33 |
+
$('#company-logo-placeholder').removeClass('loading').append(response);
|
34 |
+
$('#company-logo-add-button').hide();
|
35 |
+
$('#company-logo-remove-button').show();
|
36 |
+
}).error(function() {
|
37 |
+
removeImage();
|
38 |
+
});
|
39 |
+
}
|
40 |
+
|
41 |
+
// remove media
|
42 |
+
function removeImage() {
|
43 |
+
$('#company-logo-image-id').val('');
|
44 |
+
$('#company-logo-placeholder').removeClass('loading').empty();
|
45 |
+
$('#company-logo-add-button').show();
|
46 |
+
$('#company-logo-remove-button').hide();
|
47 |
+
}
|
48 |
+
|
49 |
+
});
|
50 |
+
|
languages/woocommerce-delivery-notes-de_DE.mo
CHANGED
Binary file
|
languages/woocommerce-delivery-notes-de_DE.po
CHANGED
@@ -9,7 +9,7 @@ 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-
|
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,62 +26,62 @@ msgstr ""
|
|
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 |
-
#:
|
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:
|
40 |
msgid "Quantity"
|
41 |
msgstr "Menge"
|
42 |
|
43 |
#@ woocommerce-delivery-notes
|
44 |
-
#: templates/delivery-notes/print.php:
|
45 |
msgid "Price"
|
46 |
msgstr "Preis"
|
47 |
|
48 |
#@ woocommerce-delivery-notes
|
49 |
-
#: templates/delivery-notes/print.php:
|
50 |
msgid "Subtotal"
|
51 |
msgstr "Zwischensumme"
|
52 |
|
53 |
#@ woocommerce-delivery-notes
|
54 |
-
#: templates/delivery-notes/print.php:
|
55 |
msgid "Shipping"
|
56 |
msgstr "Versand"
|
57 |
|
58 |
#@ woocommerce-delivery-notes
|
59 |
-
#: templates/delivery-notes/print.php:
|
60 |
msgid "Tax"
|
61 |
msgstr "Mwst."
|
62 |
|
63 |
#@ woocommerce-delivery-notes
|
64 |
-
#: templates/delivery-notes/print.php:
|
65 |
msgid "Discount"
|
66 |
msgstr "Rabatt"
|
67 |
|
68 |
#@ woocommerce-delivery-notes
|
69 |
-
#: templates/delivery-notes/print.php:
|
70 |
msgid "Grand Total"
|
71 |
msgstr "Gesamtsumme"
|
72 |
|
73 |
#@ woocommerce-delivery-notes
|
74 |
-
#: woocommerce-delivery-notes-print.php:
|
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:
|
80 |
msgid "Go to the settings page"
|
81 |
msgstr "Zur Einstellungsseite des Plugins"
|
82 |
|
83 |
#@ woocommerce-delivery-notes
|
84 |
-
#: classes/class-wcdn-settings.php:
|
85 |
msgid "Settings"
|
86 |
msgstr "Einstellungen"
|
87 |
|
@@ -106,216 +106,196 @@ msgid "Donate"
|
|
106 |
msgstr "Spenden"
|
107 |
|
108 |
#@ woocommerce-delivery-notes
|
109 |
-
#: templates/delivery-notes/print.php:
|
110 |
msgid "Product Name"
|
111 |
msgstr "Produktbezeichnung"
|
112 |
|
113 |
#@ woocommerce-delivery-notes
|
114 |
-
#: classes/class-wcdn-settings.php:
|
115 |
msgid "Returns Policy, Conditions, etc.:"
|
116 |
msgstr "Rückgabe- und sonstige Bedingungen:"
|
117 |
|
118 |
#@ woocommerce-delivery-notes
|
119 |
-
#: templates/delivery-notes/print.php:
|
120 |
msgid "Order No."
|
121 |
msgstr "Bestell-Nr."
|
122 |
|
123 |
#@ woocommerce-delivery-notes
|
124 |
-
#: templates/delivery-notes/print.php:
|
125 |
msgid "Order Date"
|
126 |
msgstr "Bestelldatum"
|
127 |
|
128 |
#@ woocommerce-delivery-notes
|
129 |
-
#: templates/delivery-notes/print.php:
|
130 |
msgid "SKU:"
|
131 |
msgstr "Art.-Nr.:"
|
132 |
|
133 |
#@ woocommerce-delivery-notes
|
134 |
-
#: templates/delivery-notes/print.php:
|
135 |
msgid "Weight:"
|
136 |
msgstr "Gewicht:"
|
137 |
|
138 |
#@ woocommerce-delivery-notes
|
139 |
-
#: classes/class-wcdn-settings.php:
|
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:
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
#: classes/class-wcdn-settings.php:
|
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:
|
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:
|
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:
|
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:
|
175 |
-
#: classes/class-wcdn-settings.php:
|
176 |
msgid "About the Plugin"
|
177 |
msgstr "Über das Plugin"
|
178 |
|
179 |
#@ woocommerce-delivery-notes
|
180 |
-
#: classes/class-wcdn-settings.php:
|
181 |
msgid "For more information:"
|
182 |
msgstr "Weitere Informationen:"
|
183 |
|
184 |
#@ woocommerce-delivery-notes
|
185 |
-
#: classes/class-wcdn-settings.php:
|
186 |
msgid "Frequently Asked Questions"
|
187 |
msgstr "Häufige Fragen (FAQ)"
|
188 |
|
189 |
#@ woocommerce-delivery-notes
|
190 |
-
#: classes/class-wcdn-settings.php:
|
191 |
msgid "Project on WordPress.org"
|
192 |
msgstr "Projekt bei WordPress.org"
|
193 |
|
194 |
#@ woocommerce-delivery-notes
|
195 |
-
#: classes/class-wcdn-settings.php:
|
196 |
msgid "Project on GitHub"
|
197 |
msgstr "Projekt bei GitHub"
|
198 |
|
199 |
#@ woocommerce-delivery-notes
|
200 |
-
#: classes/class-wcdn-settings.php:
|
201 |
msgid "Discuss in the Forum"
|
202 |
msgstr "Im Forum diskutieren"
|
203 |
|
204 |
#@ woocommerce-delivery-notes
|
205 |
-
#: classes/class-wcdn-settings.php:
|
206 |
msgid "Print"
|
207 |
msgstr "Druck"
|
208 |
|
209 |
#@ woocommerce-delivery-notes
|
210 |
-
#: classes/class-wcdn-settings.php:
|
211 |
msgid "Invoices and Delivery Notes"
|
212 |
msgstr "Rechnungen und Lieferscheine"
|
213 |
|
214 |
#@ woocommerce-delivery-notes
|
215 |
-
#: classes/class-wcdn-settings.php:
|
216 |
msgid "Company/Shop Name"
|
217 |
msgstr "Firmen-/ Shopname"
|
218 |
|
219 |
#@ woocommerce-delivery-notes
|
220 |
-
#: classes/class-wcdn-settings.php:
|
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:
|
226 |
msgid "Company/Shop Address"
|
227 |
msgstr "Firmen-/ Shop-Anschrift"
|
228 |
|
229 |
#@ woocommerce-delivery-notes
|
230 |
-
#: classes/class-wcdn-settings.php:
|
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:
|
236 |
msgid "Personal Notes"
|
237 |
msgstr "Persönliche Anmerkungen"
|
238 |
|
239 |
#@ woocommerce-delivery-notes
|
240 |
-
#: classes/class-wcdn-settings.php:
|
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:
|
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:
|
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:
|
256 |
msgid "Footer Imprint"
|
257 |
msgstr "Fußzeile Impressum"
|
258 |
|
259 |
#@ woocommerce-delivery-notes
|
260 |
-
#: classes/class-wcdn-settings.php:
|
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:
|
266 |
msgid "Preview Options"
|
267 |
msgstr "Vorschau-Optionen"
|
268 |
|
269 |
#@ woocommerce-delivery-notes
|
270 |
-
#: classes/class-wcdn-settings.php:
|
271 |
msgid "Preview opens"
|
272 |
msgstr "Vorschau öffnet"
|
273 |
|
274 |
#@ woocommerce-delivery-notes
|
275 |
-
#: classes/class-wcdn-settings.php:
|
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:
|
281 |
msgid "Order Numbering Options"
|
282 |
msgstr "Bestellnummern-Optionen"
|
283 |
|
284 |
#@ woocommerce-delivery-notes
|
285 |
-
#: classes/class-wcdn-settings.php:
|
286 |
msgid "Before order number"
|
287 |
msgstr "Vor der Bestellnummer"
|
288 |
|
289 |
#@ woocommerce-delivery-notes
|
290 |
-
#: classes/class-wcdn-settings.php:
|
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:
|
296 |
msgid "After order number"
|
297 |
msgstr "Nach der Bestellnummer"
|
298 |
|
299 |
#@ woocommerce-delivery-notes
|
300 |
-
#: classes/class-wcdn-settings.php:
|
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"
|
@@ -334,6 +314,7 @@ msgstr "Lieferschein drucken"
|
|
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 |
|
@@ -343,7 +324,7 @@ msgid "Recipient"
|
|
343 |
msgstr "Empfänger"
|
344 |
|
345 |
#@ woocommerce-delivery-notes
|
346 |
-
#: templates/delivery-notes/print.php:
|
347 |
msgid "Customer Notes"
|
348 |
msgstr "Kundennotizen"
|
349 |
|
@@ -360,12 +341,6 @@ msgstr "WooCommerce Rechnungen & Lieferscheine drucken"
|
|
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
|
@@ -373,19 +348,76 @@ msgid "Steve Clark, Triggvy Gunderson, David Decker"
|
|
373 |
msgstr "Steve Clark, Triggvy Gunderson, David Decker"
|
374 |
|
375 |
#@ woocommerce-delivery-notes
|
376 |
-
|
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:
|
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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-08 22:02+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 |
#: templates/delivery-notes/print.php:5
|
28 |
#: templates/delivery-notes/print.php:21
|
29 |
+
#: templates/delivery-notes/print.php:45
|
30 |
msgid "Delivery Note"
|
31 |
msgstr "Lieferschein"
|
32 |
|
33 |
#@ woocommerce-delivery-notes
|
34 |
+
#: woocommerce-delivery-notes-print.php:91
|
|
|
35 |
msgid "Print Page"
|
36 |
msgstr "Seite ausdrucken"
|
37 |
|
38 |
#@ woocommerce-delivery-notes
|
39 |
+
#: templates/delivery-notes/print.php:63
|
40 |
msgid "Quantity"
|
41 |
msgstr "Menge"
|
42 |
|
43 |
#@ woocommerce-delivery-notes
|
44 |
+
#: templates/delivery-notes/print.php:64
|
45 |
msgid "Price"
|
46 |
msgstr "Preis"
|
47 |
|
48 |
#@ woocommerce-delivery-notes
|
49 |
+
#: templates/delivery-notes/print.php:84
|
50 |
msgid "Subtotal"
|
51 |
msgstr "Zwischensumme"
|
52 |
|
53 |
#@ woocommerce-delivery-notes
|
54 |
+
#: templates/delivery-notes/print.php:89
|
55 |
msgid "Shipping"
|
56 |
msgstr "Versand"
|
57 |
|
58 |
#@ woocommerce-delivery-notes
|
59 |
+
#: templates/delivery-notes/print.php:95
|
60 |
msgid "Tax"
|
61 |
msgstr "Mwst."
|
62 |
|
63 |
#@ woocommerce-delivery-notes
|
64 |
+
#: templates/delivery-notes/print.php:101
|
65 |
msgid "Discount"
|
66 |
msgstr "Rabatt"
|
67 |
|
68 |
#@ woocommerce-delivery-notes
|
69 |
+
#: templates/delivery-notes/print.php:106
|
70 |
msgid "Grand Total"
|
71 |
msgstr "Gesamtsumme"
|
72 |
|
73 |
#@ woocommerce-delivery-notes
|
74 |
+
#: woocommerce-delivery-notes-print.php:18
|
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:149
|
80 |
msgid "Go to the settings page"
|
81 |
msgstr "Zur Einstellungsseite des Plugins"
|
82 |
|
83 |
#@ woocommerce-delivery-notes
|
84 |
+
#: classes/class-wcdn-settings.php:149
|
85 |
msgid "Settings"
|
86 |
msgstr "Einstellungen"
|
87 |
|
106 |
msgstr "Spenden"
|
107 |
|
108 |
#@ woocommerce-delivery-notes
|
109 |
+
#: templates/delivery-notes/print.php:62
|
110 |
msgid "Product Name"
|
111 |
msgstr "Produktbezeichnung"
|
112 |
|
113 |
#@ woocommerce-delivery-notes
|
114 |
+
#: classes/class-wcdn-settings.php:317
|
115 |
msgid "Returns Policy, Conditions, etc.:"
|
116 |
msgstr "Rückgabe- und sonstige Bedingungen:"
|
117 |
|
118 |
#@ woocommerce-delivery-notes
|
119 |
+
#: templates/delivery-notes/print.php:49
|
120 |
msgid "Order No."
|
121 |
msgstr "Bestell-Nr."
|
122 |
|
123 |
#@ woocommerce-delivery-notes
|
124 |
+
#: templates/delivery-notes/print.php:53
|
125 |
msgid "Order Date"
|
126 |
msgstr "Bestelldatum"
|
127 |
|
128 |
#@ woocommerce-delivery-notes
|
129 |
+
#: templates/delivery-notes/print.php:70
|
130 |
msgid "SKU:"
|
131 |
msgstr "Art.-Nr.:"
|
132 |
|
133 |
#@ woocommerce-delivery-notes
|
134 |
+
#: templates/delivery-notes/print.php:70
|
135 |
msgid "Weight:"
|
136 |
msgstr "Gewicht:"
|
137 |
|
138 |
#@ woocommerce-delivery-notes
|
139 |
+
#: classes/class-wcdn-settings.php:192
|
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:271
|
145 |
+
#: classes/class-wcdn-settings.php:284
|
146 |
+
#: classes/class-wcdn-settings.php:297
|
147 |
+
#: classes/class-wcdn-settings.php:310
|
148 |
+
#: classes/class-wcdn-settings.php:323
|
149 |
+
#: classes/class-wcdn-settings.php:336
|
|
|
|
|
|
|
|
|
|
|
150 |
msgid "Note:"
|
151 |
msgstr "Hinweis:"
|
152 |
|
153 |
#@ woocommerce-delivery-notes
|
154 |
+
#: classes/class-wcdn-settings.php:296
|
155 |
msgid "The postal address of the company/shop, which gets printed right of the company/shop name, above the order listings."
|
156 |
msgstr "Die Postanschrift der Firma bzw. des Shops, welche rechts neben dem Firmen-/ Shopname ausgegeben wird, über den Bestelldaten."
|
157 |
|
158 |
#@ woocommerce-delivery-notes
|
159 |
+
#: classes/class-wcdn-settings.php:309
|
160 |
msgid "Add some personal notes, or season greetings or whatever (e.g. Thank You for Your Order!, Merry Christmas!, etc.)."
|
161 |
msgstr "Fügen Sie einige persönliche Anmerkungen wie Dank, jahreszeitliche Grüße hinzu (z.B.: Danke für Ihre Bestellung!, Frohe Weihnachten!, etc.)."
|
162 |
|
163 |
#@ woocommerce-delivery-notes
|
164 |
+
#: classes/class-wcdn-settings.php:335
|
165 |
msgid "Add some further footer imprint, copyright notes etc. to get the printed sheets a bit more branded to your needs."
|
166 |
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."
|
167 |
|
168 |
#@ woocommerce-delivery-notes
|
169 |
+
#: classes/class-wcdn-settings.php:190
|
170 |
+
#: classes/class-wcdn-settings.php:193
|
171 |
msgid "About the Plugin"
|
172 |
msgstr "Über das Plugin"
|
173 |
|
174 |
#@ woocommerce-delivery-notes
|
175 |
+
#: classes/class-wcdn-settings.php:200
|
176 |
msgid "For more information:"
|
177 |
msgstr "Weitere Informationen:"
|
178 |
|
179 |
#@ woocommerce-delivery-notes
|
180 |
+
#: classes/class-wcdn-settings.php:201
|
181 |
msgid "Frequently Asked Questions"
|
182 |
msgstr "Häufige Fragen (FAQ)"
|
183 |
|
184 |
#@ woocommerce-delivery-notes
|
185 |
+
#: classes/class-wcdn-settings.php:202
|
186 |
msgid "Project on WordPress.org"
|
187 |
msgstr "Projekt bei WordPress.org"
|
188 |
|
189 |
#@ woocommerce-delivery-notes
|
190 |
+
#: classes/class-wcdn-settings.php:203
|
191 |
msgid "Project on GitHub"
|
192 |
msgstr "Projekt bei GitHub"
|
193 |
|
194 |
#@ woocommerce-delivery-notes
|
195 |
+
#: classes/class-wcdn-settings.php:204
|
196 |
msgid "Discuss in the Forum"
|
197 |
msgstr "Im Forum diskutieren"
|
198 |
|
199 |
#@ woocommerce-delivery-notes
|
200 |
+
#: classes/class-wcdn-settings.php:214
|
201 |
msgid "Print"
|
202 |
msgstr "Druck"
|
203 |
|
204 |
#@ woocommerce-delivery-notes
|
205 |
+
#: classes/class-wcdn-settings.php:254
|
206 |
msgid "Invoices and Delivery Notes"
|
207 |
msgstr "Rechnungen und Lieferscheine"
|
208 |
|
209 |
#@ woocommerce-delivery-notes
|
210 |
+
#: classes/class-wcdn-settings.php:278
|
211 |
msgid "Company/Shop Name"
|
212 |
msgstr "Firmen-/ Shopname"
|
213 |
|
214 |
#@ woocommerce-delivery-notes
|
215 |
+
#: classes/class-wcdn-settings.php:285
|
216 |
msgid "Leave blank to use the default Website/ Blog title defined in WordPress settings."
|
217 |
msgstr "Leer lassen, um den standardmäßigen Webseiten- bzw. Blogtitel zu verwenden, der in den WordPress-Einstellungen festgelegt wird."
|
218 |
|
219 |
#@ woocommerce-delivery-notes
|
220 |
+
#: classes/class-wcdn-settings.php:291
|
221 |
msgid "Company/Shop Address"
|
222 |
msgstr "Firmen-/ Shop-Anschrift"
|
223 |
|
224 |
#@ woocommerce-delivery-notes
|
225 |
+
#: classes/class-wcdn-settings.php:298
|
226 |
msgid "Leave blank to not print an address."
|
227 |
msgstr "Leer lassen, um keine Anschrift mit auszudrucken."
|
228 |
|
229 |
#@ woocommerce-delivery-notes
|
230 |
+
#: classes/class-wcdn-settings.php:304
|
231 |
msgid "Personal Notes"
|
232 |
msgstr "Persönliche Anmerkungen"
|
233 |
|
234 |
#@ woocommerce-delivery-notes
|
235 |
+
#: classes/class-wcdn-settings.php:311
|
236 |
msgid "Leave blank to not print any personal notes."
|
237 |
msgstr "Leer lassen, um keine persönlichen Anmerkungen mit auszudrucken."
|
238 |
|
239 |
#@ woocommerce-delivery-notes
|
240 |
+
#: classes/class-wcdn-settings.php:322
|
241 |
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."
|
242 |
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."
|
243 |
|
244 |
#@ woocommerce-delivery-notes
|
245 |
+
#: classes/class-wcdn-settings.php:324
|
246 |
msgid "Leave blank to not print any policies or conditions."
|
247 |
msgstr "Leer lassen, um keine Bedingungen mit auszudrucken."
|
248 |
|
249 |
#@ woocommerce-delivery-notes
|
250 |
+
#: classes/class-wcdn-settings.php:330
|
251 |
msgid "Footer Imprint"
|
252 |
msgstr "Fußzeile Impressum"
|
253 |
|
254 |
#@ woocommerce-delivery-notes
|
255 |
+
#: classes/class-wcdn-settings.php:337
|
256 |
msgid "Leave blank to not print a footer."
|
257 |
msgstr "Leer lassen, um keine Impressumangaben in der Fußzeile mit auszudrucken."
|
258 |
|
259 |
#@ woocommerce-delivery-notes
|
260 |
+
#: classes/class-wcdn-settings.php:343
|
261 |
msgid "Preview Options"
|
262 |
msgstr "Vorschau-Optionen"
|
263 |
|
264 |
#@ woocommerce-delivery-notes
|
265 |
+
#: classes/class-wcdn-settings.php:348
|
266 |
msgid "Preview opens"
|
267 |
msgstr "Vorschau öffnet"
|
268 |
|
269 |
#@ woocommerce-delivery-notes
|
270 |
+
#: classes/class-wcdn-settings.php:352
|
271 |
msgid "Start printing when the preview page opens"
|
272 |
msgstr "Mit dem Druck beginnen, wenn die Druckvorschau-Seite öffnet"
|
273 |
|
274 |
#@ woocommerce-delivery-notes
|
275 |
+
#: classes/class-wcdn-settings.php:357
|
276 |
msgid "Order Numbering Options"
|
277 |
msgstr "Bestellnummern-Optionen"
|
278 |
|
279 |
#@ woocommerce-delivery-notes
|
280 |
+
#: classes/class-wcdn-settings.php:362
|
281 |
msgid "Before order number"
|
282 |
msgstr "Vor der Bestellnummer"
|
283 |
|
284 |
#@ woocommerce-delivery-notes
|
285 |
+
#: classes/class-wcdn-settings.php:366
|
286 |
msgid "This text will be placed before the order number ie. \"YOUR-TEXT123\"."
|
287 |
msgstr "Dieser Text wird der Bestellnummer vorangestellt, zum Beispiel <code>IHR-TEXT123</code>."
|
288 |
|
289 |
#@ woocommerce-delivery-notes
|
290 |
+
#: classes/class-wcdn-settings.php:371
|
291 |
msgid "After order number"
|
292 |
msgstr "Nach der Bestellnummer"
|
293 |
|
294 |
#@ woocommerce-delivery-notes
|
295 |
+
#: classes/class-wcdn-settings.php:375
|
296 |
msgid "This text will be placed after the order number ie. \"123YOUR-TEXT\"."
|
297 |
msgstr "Dieser Text wird nach der Bestellnummer angefügt, zum Beispiel <code>123IHR-TEXT</code>."
|
298 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
299 |
#@ woocommerce-delivery-notes
|
300 |
#: classes/class-wcdn-writepanel.php:78
|
301 |
msgid "Order Print"
|
314 |
#@ woocommerce-delivery-notes
|
315 |
#: templates/delivery-notes/print.php:5
|
316 |
#: templates/delivery-notes/print.php:21
|
317 |
+
#: templates/delivery-notes/print.php:45
|
318 |
msgid "Invoice"
|
319 |
msgstr "Rechnung"
|
320 |
|
324 |
msgstr "Empfänger"
|
325 |
|
326 |
#@ woocommerce-delivery-notes
|
327 |
+
#: templates/delivery-notes/print.php:116
|
328 |
msgid "Customer Notes"
|
329 |
msgstr "Kundennotizen"
|
330 |
|
341 |
msgid "https://github.com/piffpaffpuff/woocommerce-delivery-notes"
|
342 |
msgstr "https://github.com/piffpaffpuff/woocommerce-delivery-notes"
|
343 |
|
|
|
|
|
|
|
|
|
|
|
|
|
344 |
#@ woocommerce-delivery-notes
|
345 |
#. translators: plugin header field 'Author'
|
346 |
#: woocommerce-delivery-notes.php:0
|
348 |
msgstr "Steve Clark, Triggvy Gunderson, David Decker"
|
349 |
|
350 |
#@ woocommerce-delivery-notes
|
351 |
+
#: classes/class-wcdn-settings.php:194
|
|
|
|
|
|
|
|
|
|
|
|
|
352 |
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."
|
353 |
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."
|
354 |
|
355 |
#@ woocommerce-delivery-notes
|
356 |
+
#: classes/class-wcdn-settings.php:195
|
357 |
#, php-format
|
358 |
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 :-)."
|
359 |
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 :-)."
|
360 |
|
361 |
+
#@ woocommerce-delivery-notes
|
362 |
+
#: classes/class-wcdn-settings.php:135
|
363 |
+
msgid "Use as Company Logo"
|
364 |
+
msgstr "Als Firmenlogo verwenden"
|
365 |
+
|
366 |
+
#@ woocommerce-delivery-notes
|
367 |
+
#: classes/class-wcdn-settings.php:262
|
368 |
+
msgid "Company/Shop Logo"
|
369 |
+
msgstr "Firmen-/ Shop-Logo"
|
370 |
+
|
371 |
+
#@ woocommerce-delivery-notes
|
372 |
+
#: classes/class-wcdn-settings.php:267
|
373 |
+
msgid "Remove Logo"
|
374 |
+
msgstr "Logo entfernen"
|
375 |
+
|
376 |
+
#@ woocommerce-delivery-notes
|
377 |
+
#: classes/class-wcdn-settings.php:268
|
378 |
+
msgid "Set Logo"
|
379 |
+
msgstr "Logo festlegen"
|
380 |
+
|
381 |
+
#@ woocommerce-delivery-notes
|
382 |
+
#: classes/class-wcdn-settings.php:270
|
383 |
+
msgid "A company/shop logo representing your business."
|
384 |
+
msgstr "Ein Firmen-/ Shop-Logo, welches Ihr Geschäft repräsentiert."
|
385 |
+
|
386 |
+
#@ woocommerce-delivery-notes
|
387 |
+
#: classes/class-wcdn-settings.php:272
|
388 |
+
msgid "The Logo will be resized if it is larger than 300px × 300px."
|
389 |
+
msgstr "Das Logo wird entsprechend verkleinert, falls es größer als 300 × 300 Pixel sein sollte."
|
390 |
+
|
391 |
+
#@ woocommerce-delivery-notes
|
392 |
+
#: classes/class-wcdn-settings.php:283
|
393 |
+
msgid "Your company/shop name for the Delivery Note."
|
394 |
+
msgstr "Ihr Firmen-/ Shop-Name für den Lieferschein/ die Rechnung."
|
395 |
+
|
396 |
+
#@ woocommerce-delivery-notes
|
397 |
+
#: classes/class-wcdn-settings.php:380
|
398 |
+
msgid "Sequential order number"
|
399 |
+
msgstr "Fortlaufende Bestellnummer"
|
400 |
+
|
401 |
+
#@ woocommerce-delivery-notes
|
402 |
+
#: classes/class-wcdn-settings.php:384
|
403 |
+
msgid "Sequential numbering is enabled."
|
404 |
+
msgstr "Fortlaufende Nummerierung ist aktiviert."
|
405 |
+
|
406 |
+
#@ woocommerce-delivery-notes
|
407 |
+
#: classes/class-wcdn-settings.php:386
|
408 |
+
#, php-format
|
409 |
+
msgid "Install and activate the free <a href=\"%s\">WooCommerce Sequential Order Numbers</a> Plugin."
|
410 |
+
msgstr "Installieren und aktivieren Sie das kostenlose Plugin <a href=\"%s\">WooCommerce Sequential Order Numbers</a>."
|
411 |
+
|
412 |
+
#@ woocommerce-delivery-notes
|
413 |
+
#. translators: plugin header field 'Description'
|
414 |
+
#: woocommerce-delivery-notes.php:0
|
415 |
+
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."
|
416 |
+
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."
|
417 |
+
|
418 |
+
#@ woocommerce-delivery-notes
|
419 |
+
#. translators: plugin header field 'Version'
|
420 |
+
#: woocommerce-delivery-notes.php:0
|
421 |
+
msgid "1.2.1"
|
422 |
+
msgstr "1.2.1"
|
423 |
+
|
languages/woocommerce-delivery-notes-es_ES.mo
CHANGED
Binary file
|
languages/woocommerce-delivery-notes-es_ES.po
CHANGED
@@ -2,7 +2,7 @@
|
|
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-
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
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-08 22:03+0100\n"
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
languages/woocommerce-delivery-notes-fr_FR.mo
CHANGED
Binary file
|
languages/woocommerce-delivery-notes-fr_FR.po
CHANGED
@@ -2,7 +2,7 @@
|
|
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-
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
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-08 22:03+0100\n"
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
languages/woocommerce-delivery-notes-nl_NL.mo
CHANGED
Binary file
|
languages/woocommerce-delivery-notes-nl_NL.po
CHANGED
@@ -2,7 +2,7 @@
|
|
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-
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
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-08 22:03+0100\n"
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
languages/woocommerce-delivery-notes-sv_SE.mo
CHANGED
Binary file
|
languages/woocommerce-delivery-notes-sv_SE.po
CHANGED
@@ -2,7 +2,7 @@
|
|
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-
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
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-08 22:03+0100\n"
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
languages/woocommerce-delivery-notes.po
CHANGED
@@ -1,8 +1,7 @@
|
|
1 |
-
# Translation of WooCommerce Print Invoices & Delivery Notes
|
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-
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -10,52 +9,100 @@ msgstr ""
|
|
10 |
"X-Generator: GlotPress/0.1\n"
|
11 |
"Project-Id-Version: WooCommerce Print Invoices & Delivery Notes\n"
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
#: templates/delivery-notes/print.php:5 templates/delivery-notes/print.php:21
|
|
|
14 |
msgid "Delivery Note"
|
15 |
msgstr ""
|
16 |
|
17 |
-
#:
|
18 |
-
#: woocommerce-delivery-notes-print.php:90
|
19 |
msgid "Print Page"
|
20 |
msgstr ""
|
21 |
|
22 |
-
#: templates/delivery-notes/print.php:
|
23 |
msgid "Quantity"
|
24 |
msgstr ""
|
25 |
|
26 |
-
#: templates/delivery-notes/print.php:
|
27 |
msgid "Price"
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: templates/delivery-notes/print.php:
|
31 |
msgid "Subtotal"
|
32 |
msgstr ""
|
33 |
|
34 |
-
#: templates/delivery-notes/print.php:
|
35 |
msgid "Shipping"
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: templates/delivery-notes/print.php:
|
39 |
msgid "Tax"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: templates/delivery-notes/print.php:
|
43 |
msgid "Discount"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: templates/delivery-notes/print.php:
|
47 |
msgid "Grand Total"
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: woocommerce-delivery-notes-print.php:
|
51 |
msgid "You do not have sufficient permissions to access this page."
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: classes/class-wcdn-settings.php:
|
55 |
msgid "Go to the settings page"
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: classes/class-wcdn-settings.php:
|
59 |
msgid "Settings"
|
60 |
msgstr ""
|
61 |
|
@@ -75,172 +122,156 @@ msgstr ""
|
|
75 |
msgid "Donate"
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: templates/delivery-notes/print.php:
|
79 |
msgid "Product Name"
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: classes/class-wcdn-settings.php:
|
83 |
msgid "Returns Policy, Conditions, etc.:"
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: templates/delivery-notes/print.php:
|
87 |
msgid "Order No."
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: templates/delivery-notes/print.php:
|
91 |
msgid "Order Date"
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: templates/delivery-notes/print.php:
|
95 |
msgid "SKU:"
|
96 |
msgstr ""
|
97 |
|
98 |
-
#: templates/delivery-notes/print.php:
|
99 |
msgid "Weight:"
|
100 |
msgstr ""
|
101 |
|
102 |
-
#: classes/class-wcdn-settings.php:
|
103 |
msgid "Plugin: WooCommerce Print Invoices & Delivery Notes"
|
104 |
msgstr ""
|
105 |
|
106 |
-
#: classes/class-wcdn-settings.php:
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
#: classes/class-wcdn-settings.php:142 classes/class-wcdn-settings.php:155
|
111 |
-
#: classes/class-wcdn-settings.php:168 classes/class-wcdn-settings.php:181
|
112 |
-
#: classes/class-wcdn-settings.php:194 classes/class-wcdn-settings.php:244
|
113 |
msgid "Note:"
|
114 |
msgstr ""
|
115 |
|
116 |
-
#: classes/class-wcdn-settings.php:
|
117 |
msgid "The postal address of the company/shop, which gets printed right of the company/shop name, above the order listings."
|
118 |
msgstr ""
|
119 |
|
120 |
-
#: classes/class-wcdn-settings.php:
|
121 |
msgid "Add some personal notes, or season greetings or whatever (e.g. Thank You for Your Order!, Merry Christmas!, etc.)."
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: classes/class-wcdn-settings.php:
|
125 |
msgid "Add some further footer imprint, copyright notes etc. to get the printed sheets a bit more branded to your needs."
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: classes/class-wcdn-settings.php:
|
129 |
msgid "About the Plugin"
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: classes/class-wcdn-settings.php:
|
133 |
msgid "For more information:"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: classes/class-wcdn-settings.php:
|
137 |
msgid "Frequently Asked Questions"
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: classes/class-wcdn-settings.php:
|
141 |
msgid "Project on WordPress.org"
|
142 |
msgstr ""
|
143 |
|
144 |
-
#: classes/class-wcdn-settings.php:
|
145 |
msgid "Project on GitHub"
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: classes/class-wcdn-settings.php:
|
149 |
msgid "Discuss in the Forum"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: classes/class-wcdn-settings.php:
|
153 |
msgid "Print"
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: classes/class-wcdn-settings.php:
|
157 |
msgid "Invoices and Delivery Notes"
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: classes/class-wcdn-settings.php:
|
161 |
msgid "Company/Shop Name"
|
162 |
msgstr ""
|
163 |
|
164 |
-
#: classes/class-wcdn-settings.php:
|
165 |
msgid "Leave blank to use the default Website/ Blog title defined in WordPress settings."
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: classes/class-wcdn-settings.php:
|
169 |
msgid "Company/Shop Address"
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: classes/class-wcdn-settings.php:
|
173 |
msgid "Leave blank to not print an address."
|
174 |
msgstr ""
|
175 |
|
176 |
-
#: classes/class-wcdn-settings.php:
|
177 |
msgid "Personal Notes"
|
178 |
msgstr ""
|
179 |
|
180 |
-
#: classes/class-wcdn-settings.php:
|
181 |
msgid "Leave blank to not print any personal notes."
|
182 |
msgstr ""
|
183 |
|
184 |
-
#: classes/class-wcdn-settings.php:
|
185 |
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."
|
186 |
msgstr ""
|
187 |
|
188 |
-
#: classes/class-wcdn-settings.php:
|
189 |
msgid "Leave blank to not print any policies or conditions."
|
190 |
msgstr ""
|
191 |
|
192 |
-
#: classes/class-wcdn-settings.php:
|
193 |
msgid "Footer Imprint"
|
194 |
msgstr ""
|
195 |
|
196 |
-
#: classes/class-wcdn-settings.php:
|
197 |
msgid "Leave blank to not print a footer."
|
198 |
msgstr ""
|
199 |
|
200 |
-
#: classes/class-wcdn-settings.php:
|
201 |
msgid "Preview Options"
|
202 |
msgstr ""
|
203 |
|
204 |
-
#: classes/class-wcdn-settings.php:
|
205 |
msgid "Preview opens"
|
206 |
msgstr ""
|
207 |
|
208 |
-
#: classes/class-wcdn-settings.php:
|
209 |
msgid "Start printing when the preview page opens"
|
210 |
msgstr ""
|
211 |
|
212 |
-
#: classes/class-wcdn-settings.php:
|
213 |
msgid "Order Numbering Options"
|
214 |
msgstr ""
|
215 |
|
216 |
-
#: classes/class-wcdn-settings.php:
|
217 |
msgid "Before order number"
|
218 |
msgstr ""
|
219 |
|
220 |
-
#: classes/class-wcdn-settings.php:
|
221 |
msgid "This text will be placed before the order number ie. \"YOUR-TEXT123\"."
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: classes/class-wcdn-settings.php:
|
225 |
msgid "After order number"
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: classes/class-wcdn-settings.php:
|
229 |
msgid "This text will be placed after the order number ie. \"123YOUR-TEXT\"."
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: classes/class-wcdn-settings.php:238
|
233 |
-
msgid "Number Offset"
|
234 |
-
msgstr ""
|
235 |
-
|
236 |
-
#: classes/class-wcdn-settings.php:243
|
237 |
-
msgid "This adds an offset to the WooCommerce order number. Helpful for a contiguous numbering."
|
238 |
-
msgstr ""
|
239 |
-
|
240 |
-
#: classes/class-wcdn-settings.php:245
|
241 |
-
msgid "Only positive or negative numbers are allowed."
|
242 |
-
msgstr ""
|
243 |
-
|
244 |
#: classes/class-wcdn-writepanel.php:78
|
245 |
msgid "Order Print"
|
246 |
msgstr ""
|
@@ -254,6 +285,7 @@ msgid "Print Delivery Note"
|
|
254 |
msgstr ""
|
255 |
|
256 |
#: templates/delivery-notes/print.php:5 templates/delivery-notes/print.php:21
|
|
|
257 |
msgid "Invoice"
|
258 |
msgstr ""
|
259 |
|
@@ -261,7 +293,7 @@ msgstr ""
|
|
261 |
msgid "Recipient"
|
262 |
msgstr ""
|
263 |
|
264 |
-
#: templates/delivery-notes/print.php:
|
265 |
msgid "Customer Notes"
|
266 |
msgstr ""
|
267 |
|
@@ -270,25 +302,17 @@ msgid "WooCommerce Print Invoices & Delivery Notes"
|
|
270 |
msgstr ""
|
271 |
|
272 |
#: woocommerce-delivery-notes.php:0
|
273 |
-
msgid "
|
274 |
-
msgstr ""
|
275 |
-
|
276 |
-
#: woocommerce-delivery-notes.php:0
|
277 |
-
msgid "Print order invoices & delivery notes for WooCommerce shop. You can add company/shop info as well as personal notes & policies to print pages."
|
278 |
msgstr ""
|
279 |
|
280 |
#: woocommerce-delivery-notes.php:0
|
281 |
msgid "Steve Clark, Triggvy Gunderson, David Decker"
|
282 |
msgstr ""
|
283 |
|
284 |
-
#:
|
285 |
-
msgid "1.2"
|
286 |
-
msgstr ""
|
287 |
-
|
288 |
-
#: classes/class-wcdn-settings.php:98
|
289 |
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."
|
290 |
msgstr ""
|
291 |
|
292 |
-
#: classes/class-wcdn-settings.php:
|
293 |
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 :-)."
|
294 |
msgstr ""
|
|
|
1 |
# This file is distributed under the same license as the WooCommerce Print Invoices & Delivery Notes package.
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
+
"PO-Revision-Date: 2012-05-08 20:01:21+0000\n"
|
5 |
"MIME-Version: 1.0\n"
|
6 |
"Content-Type: text/plain; charset=UTF-8\n"
|
7 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"X-Generator: GlotPress/0.1\n"
|
10 |
"Project-Id-Version: WooCommerce Print Invoices & Delivery Notes\n"
|
11 |
|
12 |
+
#: woocommerce-delivery-notes.php:0
|
13 |
+
msgid "1.2.1"
|
14 |
+
msgstr ""
|
15 |
+
|
16 |
+
#: classes/class-wcdn-settings.php:135
|
17 |
+
msgid "Use as Company Logo"
|
18 |
+
msgstr ""
|
19 |
+
|
20 |
+
#: classes/class-wcdn-settings.php:262
|
21 |
+
msgid "Company/Shop Logo"
|
22 |
+
msgstr ""
|
23 |
+
|
24 |
+
#: classes/class-wcdn-settings.php:267
|
25 |
+
msgid "Remove Logo"
|
26 |
+
msgstr ""
|
27 |
+
|
28 |
+
#: classes/class-wcdn-settings.php:268
|
29 |
+
msgid "Set Logo"
|
30 |
+
msgstr ""
|
31 |
+
|
32 |
+
#: classes/class-wcdn-settings.php:270
|
33 |
+
msgid "A company/shop logo representing your business."
|
34 |
+
msgstr ""
|
35 |
+
|
36 |
+
#: classes/class-wcdn-settings.php:272
|
37 |
+
msgid "The Logo will be resized if it is larger than 300px × 300px."
|
38 |
+
msgstr ""
|
39 |
+
|
40 |
+
#: classes/class-wcdn-settings.php:283
|
41 |
+
msgid "Your company/shop name for the Delivery Note."
|
42 |
+
msgstr ""
|
43 |
+
|
44 |
+
#: classes/class-wcdn-settings.php:380
|
45 |
+
msgid "Sequential order number"
|
46 |
+
msgstr ""
|
47 |
+
|
48 |
+
#: classes/class-wcdn-settings.php:384
|
49 |
+
msgid "Sequential numbering is enabled."
|
50 |
+
msgstr ""
|
51 |
+
|
52 |
+
#: classes/class-wcdn-settings.php:386
|
53 |
+
msgid "Install and activate the free <a href=\"%s\">WooCommerce Sequential Order Numbers</a> Plugin."
|
54 |
+
msgstr ""
|
55 |
+
|
56 |
+
#: woocommerce-delivery-notes.php:0
|
57 |
+
msgid "https://github.com/piffpaffpuff/woocommerce-delivery-notes"
|
58 |
+
msgstr ""
|
59 |
+
|
60 |
#: templates/delivery-notes/print.php:5 templates/delivery-notes/print.php:21
|
61 |
+
#: templates/delivery-notes/print.php:45
|
62 |
msgid "Delivery Note"
|
63 |
msgstr ""
|
64 |
|
65 |
+
#: woocommerce-delivery-notes-print.php:91
|
|
|
66 |
msgid "Print Page"
|
67 |
msgstr ""
|
68 |
|
69 |
+
#: templates/delivery-notes/print.php:63
|
70 |
msgid "Quantity"
|
71 |
msgstr ""
|
72 |
|
73 |
+
#: templates/delivery-notes/print.php:64
|
74 |
msgid "Price"
|
75 |
msgstr ""
|
76 |
|
77 |
+
#: templates/delivery-notes/print.php:84
|
78 |
msgid "Subtotal"
|
79 |
msgstr ""
|
80 |
|
81 |
+
#: templates/delivery-notes/print.php:89
|
82 |
msgid "Shipping"
|
83 |
msgstr ""
|
84 |
|
85 |
+
#: templates/delivery-notes/print.php:95
|
86 |
msgid "Tax"
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: templates/delivery-notes/print.php:101
|
90 |
msgid "Discount"
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: templates/delivery-notes/print.php:106
|
94 |
msgid "Grand Total"
|
95 |
msgstr ""
|
96 |
|
97 |
+
#: woocommerce-delivery-notes-print.php:18
|
98 |
msgid "You do not have sufficient permissions to access this page."
|
99 |
msgstr ""
|
100 |
|
101 |
+
#: classes/class-wcdn-settings.php:149
|
102 |
msgid "Go to the settings page"
|
103 |
msgstr ""
|
104 |
|
105 |
+
#: classes/class-wcdn-settings.php:149
|
106 |
msgid "Settings"
|
107 |
msgstr ""
|
108 |
|
122 |
msgid "Donate"
|
123 |
msgstr ""
|
124 |
|
125 |
+
#: templates/delivery-notes/print.php:62
|
126 |
msgid "Product Name"
|
127 |
msgstr ""
|
128 |
|
129 |
+
#: classes/class-wcdn-settings.php:317
|
130 |
msgid "Returns Policy, Conditions, etc.:"
|
131 |
msgstr ""
|
132 |
|
133 |
+
#: templates/delivery-notes/print.php:49
|
134 |
msgid "Order No."
|
135 |
msgstr ""
|
136 |
|
137 |
+
#: templates/delivery-notes/print.php:53
|
138 |
msgid "Order Date"
|
139 |
msgstr ""
|
140 |
|
141 |
+
#: templates/delivery-notes/print.php:70
|
142 |
msgid "SKU:"
|
143 |
msgstr ""
|
144 |
|
145 |
+
#: templates/delivery-notes/print.php:70
|
146 |
msgid "Weight:"
|
147 |
msgstr ""
|
148 |
|
149 |
+
#: classes/class-wcdn-settings.php:192
|
150 |
msgid "Plugin: WooCommerce Print Invoices & Delivery Notes"
|
151 |
msgstr ""
|
152 |
|
153 |
+
#: classes/class-wcdn-settings.php:271 classes/class-wcdn-settings.php:284
|
154 |
+
#: classes/class-wcdn-settings.php:297 classes/class-wcdn-settings.php:310
|
155 |
+
#: classes/class-wcdn-settings.php:323 classes/class-wcdn-settings.php:336
|
|
|
|
|
|
|
|
|
156 |
msgid "Note:"
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: classes/class-wcdn-settings.php:296
|
160 |
msgid "The postal address of the company/shop, which gets printed right of the company/shop name, above the order listings."
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: classes/class-wcdn-settings.php:309
|
164 |
msgid "Add some personal notes, or season greetings or whatever (e.g. Thank You for Your Order!, Merry Christmas!, etc.)."
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: classes/class-wcdn-settings.php:335
|
168 |
msgid "Add some further footer imprint, copyright notes etc. to get the printed sheets a bit more branded to your needs."
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: classes/class-wcdn-settings.php:190 classes/class-wcdn-settings.php:193
|
172 |
msgid "About the Plugin"
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: classes/class-wcdn-settings.php:200
|
176 |
msgid "For more information:"
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: classes/class-wcdn-settings.php:201
|
180 |
msgid "Frequently Asked Questions"
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: classes/class-wcdn-settings.php:202
|
184 |
msgid "Project on WordPress.org"
|
185 |
msgstr ""
|
186 |
|
187 |
+
#: classes/class-wcdn-settings.php:203
|
188 |
msgid "Project on GitHub"
|
189 |
msgstr ""
|
190 |
|
191 |
+
#: classes/class-wcdn-settings.php:204
|
192 |
msgid "Discuss in the Forum"
|
193 |
msgstr ""
|
194 |
|
195 |
+
#: classes/class-wcdn-settings.php:214
|
196 |
msgid "Print"
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: classes/class-wcdn-settings.php:254
|
200 |
msgid "Invoices and Delivery Notes"
|
201 |
msgstr ""
|
202 |
|
203 |
+
#: classes/class-wcdn-settings.php:278
|
204 |
msgid "Company/Shop Name"
|
205 |
msgstr ""
|
206 |
|
207 |
+
#: classes/class-wcdn-settings.php:285
|
208 |
msgid "Leave blank to use the default Website/ Blog title defined in WordPress settings."
|
209 |
msgstr ""
|
210 |
|
211 |
+
#: classes/class-wcdn-settings.php:291
|
212 |
msgid "Company/Shop Address"
|
213 |
msgstr ""
|
214 |
|
215 |
+
#: classes/class-wcdn-settings.php:298
|
216 |
msgid "Leave blank to not print an address."
|
217 |
msgstr ""
|
218 |
|
219 |
+
#: classes/class-wcdn-settings.php:304
|
220 |
msgid "Personal Notes"
|
221 |
msgstr ""
|
222 |
|
223 |
+
#: classes/class-wcdn-settings.php:311
|
224 |
msgid "Leave blank to not print any personal notes."
|
225 |
msgstr ""
|
226 |
|
227 |
+
#: classes/class-wcdn-settings.php:322
|
228 |
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."
|
229 |
msgstr ""
|
230 |
|
231 |
+
#: classes/class-wcdn-settings.php:324
|
232 |
msgid "Leave blank to not print any policies or conditions."
|
233 |
msgstr ""
|
234 |
|
235 |
+
#: classes/class-wcdn-settings.php:330
|
236 |
msgid "Footer Imprint"
|
237 |
msgstr ""
|
238 |
|
239 |
+
#: classes/class-wcdn-settings.php:337
|
240 |
msgid "Leave blank to not print a footer."
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: classes/class-wcdn-settings.php:343
|
244 |
msgid "Preview Options"
|
245 |
msgstr ""
|
246 |
|
247 |
+
#: classes/class-wcdn-settings.php:348
|
248 |
msgid "Preview opens"
|
249 |
msgstr ""
|
250 |
|
251 |
+
#: classes/class-wcdn-settings.php:352
|
252 |
msgid "Start printing when the preview page opens"
|
253 |
msgstr ""
|
254 |
|
255 |
+
#: classes/class-wcdn-settings.php:357
|
256 |
msgid "Order Numbering Options"
|
257 |
msgstr ""
|
258 |
|
259 |
+
#: classes/class-wcdn-settings.php:362
|
260 |
msgid "Before order number"
|
261 |
msgstr ""
|
262 |
|
263 |
+
#: classes/class-wcdn-settings.php:366
|
264 |
msgid "This text will be placed before the order number ie. \"YOUR-TEXT123\"."
|
265 |
msgstr ""
|
266 |
|
267 |
+
#: classes/class-wcdn-settings.php:371
|
268 |
msgid "After order number"
|
269 |
msgstr ""
|
270 |
|
271 |
+
#: classes/class-wcdn-settings.php:375
|
272 |
msgid "This text will be placed after the order number ie. \"123YOUR-TEXT\"."
|
273 |
msgstr ""
|
274 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
275 |
#: classes/class-wcdn-writepanel.php:78
|
276 |
msgid "Order Print"
|
277 |
msgstr ""
|
285 |
msgstr ""
|
286 |
|
287 |
#: templates/delivery-notes/print.php:5 templates/delivery-notes/print.php:21
|
288 |
+
#: templates/delivery-notes/print.php:45
|
289 |
msgid "Invoice"
|
290 |
msgstr ""
|
291 |
|
293 |
msgid "Recipient"
|
294 |
msgstr ""
|
295 |
|
296 |
+
#: templates/delivery-notes/print.php:116
|
297 |
msgid "Customer Notes"
|
298 |
msgstr ""
|
299 |
|
302 |
msgstr ""
|
303 |
|
304 |
#: woocommerce-delivery-notes.php:0
|
305 |
+
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."
|
|
|
|
|
|
|
|
|
306 |
msgstr ""
|
307 |
|
308 |
#: woocommerce-delivery-notes.php:0
|
309 |
msgid "Steve Clark, Triggvy Gunderson, David Decker"
|
310 |
msgstr ""
|
311 |
|
312 |
+
#: classes/class-wcdn-settings.php:194
|
|
|
|
|
|
|
|
|
313 |
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."
|
314 |
msgstr ""
|
315 |
|
316 |
+
#: classes/class-wcdn-settings.php:195
|
317 |
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 :-)."
|
318 |
msgstr ""
|
languages/woocommerce-delivery-notes.pot
CHANGED
@@ -1,8 +1,7 @@
|
|
1 |
-
# Translation of WooCommerce Print Invoices & Delivery Notes
|
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-
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -10,52 +9,100 @@ msgstr ""
|
|
10 |
"X-Generator: GlotPress/0.1\n"
|
11 |
"Project-Id-Version: WooCommerce Print Invoices & Delivery Notes\n"
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
#: templates/delivery-notes/print.php:5 templates/delivery-notes/print.php:21
|
|
|
14 |
msgid "Delivery Note"
|
15 |
msgstr ""
|
16 |
|
17 |
-
#:
|
18 |
-
#: woocommerce-delivery-notes-print.php:90
|
19 |
msgid "Print Page"
|
20 |
msgstr ""
|
21 |
|
22 |
-
#: templates/delivery-notes/print.php:
|
23 |
msgid "Quantity"
|
24 |
msgstr ""
|
25 |
|
26 |
-
#: templates/delivery-notes/print.php:
|
27 |
msgid "Price"
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: templates/delivery-notes/print.php:
|
31 |
msgid "Subtotal"
|
32 |
msgstr ""
|
33 |
|
34 |
-
#: templates/delivery-notes/print.php:
|
35 |
msgid "Shipping"
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: templates/delivery-notes/print.php:
|
39 |
msgid "Tax"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: templates/delivery-notes/print.php:
|
43 |
msgid "Discount"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: templates/delivery-notes/print.php:
|
47 |
msgid "Grand Total"
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: woocommerce-delivery-notes-print.php:
|
51 |
msgid "You do not have sufficient permissions to access this page."
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: classes/class-wcdn-settings.php:
|
55 |
msgid "Go to the settings page"
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: classes/class-wcdn-settings.php:
|
59 |
msgid "Settings"
|
60 |
msgstr ""
|
61 |
|
@@ -75,172 +122,156 @@ msgstr ""
|
|
75 |
msgid "Donate"
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: templates/delivery-notes/print.php:
|
79 |
msgid "Product Name"
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: classes/class-wcdn-settings.php:
|
83 |
msgid "Returns Policy, Conditions, etc.:"
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: templates/delivery-notes/print.php:
|
87 |
msgid "Order No."
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: templates/delivery-notes/print.php:
|
91 |
msgid "Order Date"
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: templates/delivery-notes/print.php:
|
95 |
msgid "SKU:"
|
96 |
msgstr ""
|
97 |
|
98 |
-
#: templates/delivery-notes/print.php:
|
99 |
msgid "Weight:"
|
100 |
msgstr ""
|
101 |
|
102 |
-
#: classes/class-wcdn-settings.php:
|
103 |
msgid "Plugin: WooCommerce Print Invoices & Delivery Notes"
|
104 |
msgstr ""
|
105 |
|
106 |
-
#: classes/class-wcdn-settings.php:
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
#: classes/class-wcdn-settings.php:142 classes/class-wcdn-settings.php:155
|
111 |
-
#: classes/class-wcdn-settings.php:168 classes/class-wcdn-settings.php:181
|
112 |
-
#: classes/class-wcdn-settings.php:194 classes/class-wcdn-settings.php:244
|
113 |
msgid "Note:"
|
114 |
msgstr ""
|
115 |
|
116 |
-
#: classes/class-wcdn-settings.php:
|
117 |
msgid "The postal address of the company/shop, which gets printed right of the company/shop name, above the order listings."
|
118 |
msgstr ""
|
119 |
|
120 |
-
#: classes/class-wcdn-settings.php:
|
121 |
msgid "Add some personal notes, or season greetings or whatever (e.g. Thank You for Your Order!, Merry Christmas!, etc.)."
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: classes/class-wcdn-settings.php:
|
125 |
msgid "Add some further footer imprint, copyright notes etc. to get the printed sheets a bit more branded to your needs."
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: classes/class-wcdn-settings.php:
|
129 |
msgid "About the Plugin"
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: classes/class-wcdn-settings.php:
|
133 |
msgid "For more information:"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: classes/class-wcdn-settings.php:
|
137 |
msgid "Frequently Asked Questions"
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: classes/class-wcdn-settings.php:
|
141 |
msgid "Project on WordPress.org"
|
142 |
msgstr ""
|
143 |
|
144 |
-
#: classes/class-wcdn-settings.php:
|
145 |
msgid "Project on GitHub"
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: classes/class-wcdn-settings.php:
|
149 |
msgid "Discuss in the Forum"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: classes/class-wcdn-settings.php:
|
153 |
msgid "Print"
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: classes/class-wcdn-settings.php:
|
157 |
msgid "Invoices and Delivery Notes"
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: classes/class-wcdn-settings.php:
|
161 |
msgid "Company/Shop Name"
|
162 |
msgstr ""
|
163 |
|
164 |
-
#: classes/class-wcdn-settings.php:
|
165 |
msgid "Leave blank to use the default Website/ Blog title defined in WordPress settings."
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: classes/class-wcdn-settings.php:
|
169 |
msgid "Company/Shop Address"
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: classes/class-wcdn-settings.php:
|
173 |
msgid "Leave blank to not print an address."
|
174 |
msgstr ""
|
175 |
|
176 |
-
#: classes/class-wcdn-settings.php:
|
177 |
msgid "Personal Notes"
|
178 |
msgstr ""
|
179 |
|
180 |
-
#: classes/class-wcdn-settings.php:
|
181 |
msgid "Leave blank to not print any personal notes."
|
182 |
msgstr ""
|
183 |
|
184 |
-
#: classes/class-wcdn-settings.php:
|
185 |
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."
|
186 |
msgstr ""
|
187 |
|
188 |
-
#: classes/class-wcdn-settings.php:
|
189 |
msgid "Leave blank to not print any policies or conditions."
|
190 |
msgstr ""
|
191 |
|
192 |
-
#: classes/class-wcdn-settings.php:
|
193 |
msgid "Footer Imprint"
|
194 |
msgstr ""
|
195 |
|
196 |
-
#: classes/class-wcdn-settings.php:
|
197 |
msgid "Leave blank to not print a footer."
|
198 |
msgstr ""
|
199 |
|
200 |
-
#: classes/class-wcdn-settings.php:
|
201 |
msgid "Preview Options"
|
202 |
msgstr ""
|
203 |
|
204 |
-
#: classes/class-wcdn-settings.php:
|
205 |
msgid "Preview opens"
|
206 |
msgstr ""
|
207 |
|
208 |
-
#: classes/class-wcdn-settings.php:
|
209 |
msgid "Start printing when the preview page opens"
|
210 |
msgstr ""
|
211 |
|
212 |
-
#: classes/class-wcdn-settings.php:
|
213 |
msgid "Order Numbering Options"
|
214 |
msgstr ""
|
215 |
|
216 |
-
#: classes/class-wcdn-settings.php:
|
217 |
msgid "Before order number"
|
218 |
msgstr ""
|
219 |
|
220 |
-
#: classes/class-wcdn-settings.php:
|
221 |
msgid "This text will be placed before the order number ie. \"YOUR-TEXT123\"."
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: classes/class-wcdn-settings.php:
|
225 |
msgid "After order number"
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: classes/class-wcdn-settings.php:
|
229 |
msgid "This text will be placed after the order number ie. \"123YOUR-TEXT\"."
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: classes/class-wcdn-settings.php:238
|
233 |
-
msgid "Number Offset"
|
234 |
-
msgstr ""
|
235 |
-
|
236 |
-
#: classes/class-wcdn-settings.php:243
|
237 |
-
msgid "This adds an offset to the WooCommerce order number. Helpful for a contiguous numbering."
|
238 |
-
msgstr ""
|
239 |
-
|
240 |
-
#: classes/class-wcdn-settings.php:245
|
241 |
-
msgid "Only positive or negative numbers are allowed."
|
242 |
-
msgstr ""
|
243 |
-
|
244 |
#: classes/class-wcdn-writepanel.php:78
|
245 |
msgid "Order Print"
|
246 |
msgstr ""
|
@@ -254,6 +285,7 @@ msgid "Print Delivery Note"
|
|
254 |
msgstr ""
|
255 |
|
256 |
#: templates/delivery-notes/print.php:5 templates/delivery-notes/print.php:21
|
|
|
257 |
msgid "Invoice"
|
258 |
msgstr ""
|
259 |
|
@@ -261,7 +293,7 @@ msgstr ""
|
|
261 |
msgid "Recipient"
|
262 |
msgstr ""
|
263 |
|
264 |
-
#: templates/delivery-notes/print.php:
|
265 |
msgid "Customer Notes"
|
266 |
msgstr ""
|
267 |
|
@@ -270,25 +302,17 @@ msgid "WooCommerce Print Invoices & Delivery Notes"
|
|
270 |
msgstr ""
|
271 |
|
272 |
#: woocommerce-delivery-notes.php:0
|
273 |
-
msgid "
|
274 |
-
msgstr ""
|
275 |
-
|
276 |
-
#: woocommerce-delivery-notes.php:0
|
277 |
-
msgid "Print order invoices & delivery notes for WooCommerce shop. You can add company/shop info as well as personal notes & policies to print pages."
|
278 |
msgstr ""
|
279 |
|
280 |
#: woocommerce-delivery-notes.php:0
|
281 |
msgid "Steve Clark, Triggvy Gunderson, David Decker"
|
282 |
msgstr ""
|
283 |
|
284 |
-
#:
|
285 |
-
msgid "1.2"
|
286 |
-
msgstr ""
|
287 |
-
|
288 |
-
#: classes/class-wcdn-settings.php:98
|
289 |
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."
|
290 |
msgstr ""
|
291 |
|
292 |
-
#: classes/class-wcdn-settings.php:
|
293 |
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 :-)."
|
294 |
msgstr ""
|
|
|
1 |
# This file is distributed under the same license as the WooCommerce Print Invoices & Delivery Notes package.
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
+
"PO-Revision-Date: 2012-05-08 20:01:21+0000\n"
|
5 |
"MIME-Version: 1.0\n"
|
6 |
"Content-Type: text/plain; charset=UTF-8\n"
|
7 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"X-Generator: GlotPress/0.1\n"
|
10 |
"Project-Id-Version: WooCommerce Print Invoices & Delivery Notes\n"
|
11 |
|
12 |
+
#: woocommerce-delivery-notes.php:0
|
13 |
+
msgid "1.2.1"
|
14 |
+
msgstr ""
|
15 |
+
|
16 |
+
#: classes/class-wcdn-settings.php:135
|
17 |
+
msgid "Use as Company Logo"
|
18 |
+
msgstr ""
|
19 |
+
|
20 |
+
#: classes/class-wcdn-settings.php:262
|
21 |
+
msgid "Company/Shop Logo"
|
22 |
+
msgstr ""
|
23 |
+
|
24 |
+
#: classes/class-wcdn-settings.php:267
|
25 |
+
msgid "Remove Logo"
|
26 |
+
msgstr ""
|
27 |
+
|
28 |
+
#: classes/class-wcdn-settings.php:268
|
29 |
+
msgid "Set Logo"
|
30 |
+
msgstr ""
|
31 |
+
|
32 |
+
#: classes/class-wcdn-settings.php:270
|
33 |
+
msgid "A company/shop logo representing your business."
|
34 |
+
msgstr ""
|
35 |
+
|
36 |
+
#: classes/class-wcdn-settings.php:272
|
37 |
+
msgid "The Logo will be resized if it is larger than 300px × 300px."
|
38 |
+
msgstr ""
|
39 |
+
|
40 |
+
#: classes/class-wcdn-settings.php:283
|
41 |
+
msgid "Your company/shop name for the Delivery Note."
|
42 |
+
msgstr ""
|
43 |
+
|
44 |
+
#: classes/class-wcdn-settings.php:380
|
45 |
+
msgid "Sequential order number"
|
46 |
+
msgstr ""
|
47 |
+
|
48 |
+
#: classes/class-wcdn-settings.php:384
|
49 |
+
msgid "Sequential numbering is enabled."
|
50 |
+
msgstr ""
|
51 |
+
|
52 |
+
#: classes/class-wcdn-settings.php:386
|
53 |
+
msgid "Install and activate the free <a href=\"%s\">WooCommerce Sequential Order Numbers</a> Plugin."
|
54 |
+
msgstr ""
|
55 |
+
|
56 |
+
#: woocommerce-delivery-notes.php:0
|
57 |
+
msgid "https://github.com/piffpaffpuff/woocommerce-delivery-notes"
|
58 |
+
msgstr ""
|
59 |
+
|
60 |
#: templates/delivery-notes/print.php:5 templates/delivery-notes/print.php:21
|
61 |
+
#: templates/delivery-notes/print.php:45
|
62 |
msgid "Delivery Note"
|
63 |
msgstr ""
|
64 |
|
65 |
+
#: woocommerce-delivery-notes-print.php:91
|
|
|
66 |
msgid "Print Page"
|
67 |
msgstr ""
|
68 |
|
69 |
+
#: templates/delivery-notes/print.php:63
|
70 |
msgid "Quantity"
|
71 |
msgstr ""
|
72 |
|
73 |
+
#: templates/delivery-notes/print.php:64
|
74 |
msgid "Price"
|
75 |
msgstr ""
|
76 |
|
77 |
+
#: templates/delivery-notes/print.php:84
|
78 |
msgid "Subtotal"
|
79 |
msgstr ""
|
80 |
|
81 |
+
#: templates/delivery-notes/print.php:89
|
82 |
msgid "Shipping"
|
83 |
msgstr ""
|
84 |
|
85 |
+
#: templates/delivery-notes/print.php:95
|
86 |
msgid "Tax"
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: templates/delivery-notes/print.php:101
|
90 |
msgid "Discount"
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: templates/delivery-notes/print.php:106
|
94 |
msgid "Grand Total"
|
95 |
msgstr ""
|
96 |
|
97 |
+
#: woocommerce-delivery-notes-print.php:18
|
98 |
msgid "You do not have sufficient permissions to access this page."
|
99 |
msgstr ""
|
100 |
|
101 |
+
#: classes/class-wcdn-settings.php:149
|
102 |
msgid "Go to the settings page"
|
103 |
msgstr ""
|
104 |
|
105 |
+
#: classes/class-wcdn-settings.php:149
|
106 |
msgid "Settings"
|
107 |
msgstr ""
|
108 |
|
122 |
msgid "Donate"
|
123 |
msgstr ""
|
124 |
|
125 |
+
#: templates/delivery-notes/print.php:62
|
126 |
msgid "Product Name"
|
127 |
msgstr ""
|
128 |
|
129 |
+
#: classes/class-wcdn-settings.php:317
|
130 |
msgid "Returns Policy, Conditions, etc.:"
|
131 |
msgstr ""
|
132 |
|
133 |
+
#: templates/delivery-notes/print.php:49
|
134 |
msgid "Order No."
|
135 |
msgstr ""
|
136 |
|
137 |
+
#: templates/delivery-notes/print.php:53
|
138 |
msgid "Order Date"
|
139 |
msgstr ""
|
140 |
|
141 |
+
#: templates/delivery-notes/print.php:70
|
142 |
msgid "SKU:"
|
143 |
msgstr ""
|
144 |
|
145 |
+
#: templates/delivery-notes/print.php:70
|
146 |
msgid "Weight:"
|
147 |
msgstr ""
|
148 |
|
149 |
+
#: classes/class-wcdn-settings.php:192
|
150 |
msgid "Plugin: WooCommerce Print Invoices & Delivery Notes"
|
151 |
msgstr ""
|
152 |
|
153 |
+
#: classes/class-wcdn-settings.php:271 classes/class-wcdn-settings.php:284
|
154 |
+
#: classes/class-wcdn-settings.php:297 classes/class-wcdn-settings.php:310
|
155 |
+
#: classes/class-wcdn-settings.php:323 classes/class-wcdn-settings.php:336
|
|
|
|
|
|
|
|
|
156 |
msgid "Note:"
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: classes/class-wcdn-settings.php:296
|
160 |
msgid "The postal address of the company/shop, which gets printed right of the company/shop name, above the order listings."
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: classes/class-wcdn-settings.php:309
|
164 |
msgid "Add some personal notes, or season greetings or whatever (e.g. Thank You for Your Order!, Merry Christmas!, etc.)."
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: classes/class-wcdn-settings.php:335
|
168 |
msgid "Add some further footer imprint, copyright notes etc. to get the printed sheets a bit more branded to your needs."
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: classes/class-wcdn-settings.php:190 classes/class-wcdn-settings.php:193
|
172 |
msgid "About the Plugin"
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: classes/class-wcdn-settings.php:200
|
176 |
msgid "For more information:"
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: classes/class-wcdn-settings.php:201
|
180 |
msgid "Frequently Asked Questions"
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: classes/class-wcdn-settings.php:202
|
184 |
msgid "Project on WordPress.org"
|
185 |
msgstr ""
|
186 |
|
187 |
+
#: classes/class-wcdn-settings.php:203
|
188 |
msgid "Project on GitHub"
|
189 |
msgstr ""
|
190 |
|
191 |
+
#: classes/class-wcdn-settings.php:204
|
192 |
msgid "Discuss in the Forum"
|
193 |
msgstr ""
|
194 |
|
195 |
+
#: classes/class-wcdn-settings.php:214
|
196 |
msgid "Print"
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: classes/class-wcdn-settings.php:254
|
200 |
msgid "Invoices and Delivery Notes"
|
201 |
msgstr ""
|
202 |
|
203 |
+
#: classes/class-wcdn-settings.php:278
|
204 |
msgid "Company/Shop Name"
|
205 |
msgstr ""
|
206 |
|
207 |
+
#: classes/class-wcdn-settings.php:285
|
208 |
msgid "Leave blank to use the default Website/ Blog title defined in WordPress settings."
|
209 |
msgstr ""
|
210 |
|
211 |
+
#: classes/class-wcdn-settings.php:291
|
212 |
msgid "Company/Shop Address"
|
213 |
msgstr ""
|
214 |
|
215 |
+
#: classes/class-wcdn-settings.php:298
|
216 |
msgid "Leave blank to not print an address."
|
217 |
msgstr ""
|
218 |
|
219 |
+
#: classes/class-wcdn-settings.php:304
|
220 |
msgid "Personal Notes"
|
221 |
msgstr ""
|
222 |
|
223 |
+
#: classes/class-wcdn-settings.php:311
|
224 |
msgid "Leave blank to not print any personal notes."
|
225 |
msgstr ""
|
226 |
|
227 |
+
#: classes/class-wcdn-settings.php:322
|
228 |
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."
|
229 |
msgstr ""
|
230 |
|
231 |
+
#: classes/class-wcdn-settings.php:324
|
232 |
msgid "Leave blank to not print any policies or conditions."
|
233 |
msgstr ""
|
234 |
|
235 |
+
#: classes/class-wcdn-settings.php:330
|
236 |
msgid "Footer Imprint"
|
237 |
msgstr ""
|
238 |
|
239 |
+
#: classes/class-wcdn-settings.php:337
|
240 |
msgid "Leave blank to not print a footer."
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: classes/class-wcdn-settings.php:343
|
244 |
msgid "Preview Options"
|
245 |
msgstr ""
|
246 |
|
247 |
+
#: classes/class-wcdn-settings.php:348
|
248 |
msgid "Preview opens"
|
249 |
msgstr ""
|
250 |
|
251 |
+
#: classes/class-wcdn-settings.php:352
|
252 |
msgid "Start printing when the preview page opens"
|
253 |
msgstr ""
|
254 |
|
255 |
+
#: classes/class-wcdn-settings.php:357
|
256 |
msgid "Order Numbering Options"
|
257 |
msgstr ""
|
258 |
|
259 |
+
#: classes/class-wcdn-settings.php:362
|
260 |
msgid "Before order number"
|
261 |
msgstr ""
|
262 |
|
263 |
+
#: classes/class-wcdn-settings.php:366
|
264 |
msgid "This text will be placed before the order number ie. \"YOUR-TEXT123\"."
|
265 |
msgstr ""
|
266 |
|
267 |
+
#: classes/class-wcdn-settings.php:371
|
268 |
msgid "After order number"
|
269 |
msgstr ""
|
270 |
|
271 |
+
#: classes/class-wcdn-settings.php:375
|
272 |
msgid "This text will be placed after the order number ie. \"123YOUR-TEXT\"."
|
273 |
msgstr ""
|
274 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
275 |
#: classes/class-wcdn-writepanel.php:78
|
276 |
msgid "Order Print"
|
277 |
msgstr ""
|
285 |
msgstr ""
|
286 |
|
287 |
#: templates/delivery-notes/print.php:5 templates/delivery-notes/print.php:21
|
288 |
+
#: templates/delivery-notes/print.php:45
|
289 |
msgid "Invoice"
|
290 |
msgstr ""
|
291 |
|
293 |
msgid "Recipient"
|
294 |
msgstr ""
|
295 |
|
296 |
+
#: templates/delivery-notes/print.php:116
|
297 |
msgid "Customer Notes"
|
298 |
msgstr ""
|
299 |
|
302 |
msgstr ""
|
303 |
|
304 |
#: woocommerce-delivery-notes.php:0
|
305 |
+
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."
|
|
|
|
|
|
|
|
|
306 |
msgstr ""
|
307 |
|
308 |
#: woocommerce-delivery-notes.php:0
|
309 |
msgid "Steve Clark, Triggvy Gunderson, David Decker"
|
310 |
msgstr ""
|
311 |
|
312 |
+
#: classes/class-wcdn-settings.php:194
|
|
|
|
|
|
|
|
|
313 |
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."
|
314 |
msgstr ""
|
315 |
|
316 |
+
#: classes/class-wcdn-settings.php:195
|
317 |
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 :-)."
|
318 |
msgstr ""
|
readme.txt
CHANGED
@@ -1,176 +1,179 @@
|
|
1 |
-
=== WooCommerce Print Invoices & Delivery Notes ===
|
2 |
-
Contributors: chabis, daveshine, deckerweb
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
License:
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
*
|
21 |
-
*
|
22 |
-
* If
|
23 |
-
*
|
24 |
-
* Included help tab system with new WordPress 3.3 standard! (Will also be extended if needed!)
|
25 |
-
|
26 |
-
= Localization =
|
27 |
-
* English (default) - always included
|
28 |
-
* German - always included
|
29 |
-
* Dutch - user-submitted, thanks to [Ramon van Belzen](http://profiles.wordpress.org/Ramoonus/) -- Currently 37% complete
|
30 |
-
* Swedish - user-submitted, thanks to [Christopher Anderton](http://www.deluxive.se/) -- Currently 42% complete
|
31 |
-
* Spanish - user-submitted by @JAVidania -- Currently 42% complete
|
32 |
-
* French - user-submitted by Olivier -- Currently 42% complete
|
33 |
-
* .pot file (`woocommerce-delivery-notes.pot`) for translators is also always included :)
|
34 |
-
* Easy plugin translation platform with GlotPress tool: [Translate "WooCommerce Print Invoices & Delivery Notes"...](http://translate.wpautobahn.com/projects/wordpress-plugins-deckerweb/woocommerce-delivery-notes)
|
35 |
-
* *Your translation? - [Just send it in](http://genesisthemes.de/en/contact/)*
|
36 |
-
|
37 |
-
Credit where credit is due: This plugin here is inspired and based on the work of Steve Clark, Trigvvy Gunderson and the awesome "Jigoshop Delivery Notes" plugin! See below how you can contribute to the further development of both:
|
38 |
-
|
39 |
-
=
|
40 |
-
|
41 |
-
|
42 |
-
*
|
43 |
-
*
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
*
|
48 |
-
*
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
=
|
87 |
-
|
88 |
-
|
89 |
-
The
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
2.
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
= 1.2 (2012-05-06) =
|
109 |
-
* IMPORTANT CHANGE: New main development and authorship now: [WordPress.org user "chabis"](http://profiles.wordpress.org/chabis/) - with daveshine (David Decker) remaining as a co-author.
|
110 |
-
* *New features:*
|
111 |
-
* NEW: Basic invoice template support.
|
112 |
-
* NEW: Custom order number.
|
113 |
-
* NEW: New cleaner looking print template.
|
114 |
-
* CODE: Restructured classes - plugin now completely relies on classes!
|
115 |
-
* CODE: General code cleanup and numerous improvements.
|
116 |
-
* UPDATE: Settings are now part of the "WooCommerce" settings, now see: WooCommerce > Settings > Tab "Print"
|
117 |
-
* UPDATE - IMPORTANT CHANGE: Template folder renaming -- custom templates must be renamed in order to work! -- See [FAQ section here](http://wordpress.org/extend/plugins/woocommerce-delivery-notes/faq/) for more info on that...
|
118 |
-
* UPDATE: Updated all existing screenshots and added two new ones.
|
119 |
-
* UPDATE: Updated readme.txt here with changed documentation and all other important new stuff, regarding authorship, plugin links etc.
|
120 |
-
* NEW: Added new partial translations for: Dutch, French, Spanish - all user-submitted! Big thanks to Ramon, Olivier and @JAVidania
|
121 |
-
* UPDATE: Updated German translations and also the .pot file for all translators!
|
122 |
-
* UPDATE: Extended GPL License info in readme.txt as well as main plugin file.
|
123 |
-
* NEW: Added banner image on WordPress.org for better plugin branding :)
|
124 |
-
* NEW: Easy plugin translation platform with GlotPress tool: [Translate "WooCommerce Print Invoices & Delivery Notes"...](http://translate.wpautobahn.com/projects/wordpress-plugins-deckerweb/woocommerce-delivery-notes)
|
125 |
-
|
126 |
-
= 1.1 (2012-02-07) =
|
127 |
-
* *Maintenance release*
|
128 |
-
* 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!)
|
129 |
-
* 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" />`)
|
130 |
-
* UPDATE: Corrected readme.txt file
|
131 |
-
* NEW: Added Swedish translation - Thanx to Christopher Anderton
|
132 |
-
* UPDATE: Updated German translations and also the .pot file for all translators!
|
133 |
-
|
134 |
-
= 1.0 (2011-12-30) =
|
135 |
-
* Initial release
|
136 |
-
* Forked and extended from original plugin for Jigoshop ("Jigoshop Delivery Notes" at GitHub)
|
137 |
-
|
138 |
-
== Upgrade Notice ==
|
139 |
-
|
140 |
-
= 1.2 =
|
141 |
-
|
142 |
-
|
143 |
-
= 1.
|
144 |
-
|
145 |
-
|
146 |
-
= 1.
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
* [
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
==
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
*
|
164 |
-
*
|
165 |
-
*
|
166 |
-
*
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
==
|
176 |
-
|
|
|
|
|
|
1 |
+
=== WooCommerce Print Invoices & Delivery Notes ===
|
2 |
+
Contributors: chabis, daveshine, deckerweb
|
3 |
+
Tags: delivery notes, delivery, shipping, print, order, invoice, invoices, woocommerce, woothemes, shop, shop manager, deckerweb
|
4 |
+
Requires at least: 3.3 and WooCommerce 1.5.3+
|
5 |
+
Tested up to: 3.4
|
6 |
+
Stable tag: 1.2.1
|
7 |
+
License: GPLv3 or later
|
8 |
+
License URI: http://www.opensource.org/licenses/gpl-license.php
|
9 |
+
|
10 |
+
Print order invoices & delivery notes for WooCommerce shop. You can add company/shop info as well as personal notes & policies to print pages.
|
11 |
+
|
12 |
+
== Description ==
|
13 |
+
|
14 |
+
With this plugin you can print out **simple invoices and delivery notes** for the orders **via the WooCommerce Shop Plugin**. You can edit the Company/Shop name, Company/Shop postal address and also add personal notes, conditions/policies (like a refund policy) and a footer imprint/branding.
|
15 |
+
|
16 |
+
The plugin adds a new side panel on the order page to allow shop administrators to print out delivery notes. This is useful for a lot of shops that sell goods which need delivery notes for shipping or with added refund policies etc. In some countries (e.g. in the European Union) such refund policies are required so this plugin could help to combine this with the order info for the customer.
|
17 |
+
|
18 |
+
= Features =
|
19 |
+
* The plugin comes with an attached template for the invoice and 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/))
|
20 |
+
* All setting fields on the plugin's settings pages are optional - you can leave them empty to not use them at all or only apply what you need.
|
21 |
+
* If the company/shop name field is left empty then the regular website/blog title is used (defined via regular WordPress options)
|
22 |
+
* If there are added "Customer Notes" (regular WooCommerce feature) for an order these will automatically displayed at the bottom of the delivery note.
|
23 |
+
* Modify the order numbering by prepend or append text to it.
|
24 |
+
* Included help tab system with new WordPress 3.3 standard! (Will also be extended if needed!)
|
25 |
+
|
26 |
+
= Localization =
|
27 |
+
* English (default) - always included
|
28 |
+
* German - always included
|
29 |
+
* Dutch - user-submitted, thanks to [Ramon van Belzen](http://profiles.wordpress.org/Ramoonus/) -- Currently 37% complete
|
30 |
+
* Swedish - user-submitted, thanks to [Christopher Anderton](http://www.deluxive.se/) -- Currently 42% complete
|
31 |
+
* Spanish - user-submitted by @JAVidania -- Currently 42% complete
|
32 |
+
* French - user-submitted by Olivier -- Currently 42% complete
|
33 |
+
* .pot file (`woocommerce-delivery-notes.pot`) for translators is also always included :)
|
34 |
+
* Easy plugin translation platform with GlotPress tool: [Translate "WooCommerce Print Invoices & Delivery Notes"...](http://translate.wpautobahn.com/projects/wordpress-plugins-deckerweb/woocommerce-delivery-notes)
|
35 |
+
* *Your translation? - [Just send it in](http://genesisthemes.de/en/contact/)*
|
36 |
+
|
37 |
+
Credit where credit is due: This plugin here is inspired and based on the work of Steve Clark, Trigvvy Gunderson and the awesome "Jigoshop Delivery Notes" plugin! See below how you can contribute to the further development of both:
|
38 |
+
|
39 |
+
= Feedback =
|
40 |
+
* We are open for your suggestions and feedback! Use the [plugin's forum](http://wordpress.org/tags/woocommerce-delivery-notes?forum_id=10) or [report & contribute on GitHub](https://github.com/piffpaffpuff/woocommerce-delivery-notes/issues)
|
41 |
+
* Drop Dave a line [@deckerweb](http://twitter.com/#!/deckerweb) on Twitter
|
42 |
+
* Follow Dave on [my Facebook page](http://www.facebook.com/deckerweb.service)
|
43 |
+
* Or follow Dave on [+David Decker](http://deckerweb.de/gplus) on Google Plus ;-)
|
44 |
+
|
45 |
+
= More =
|
46 |
+
* [Other plugins from main plugin author](http://profiles.wordpress.org/chabis/)
|
47 |
+
* [Also see other by plugin co-author DECKERWEB](http://genesisthemes.de/en/wp-plugins/) or see [his WordPress.org profile page](http://profiles.wordpress.org/daveshine/)
|
48 |
+
* Tip for Genesis users: [*GenesisFinder* - Find then create. Your Genesis Framework Search Engine.](http://genesisfinder.com/)
|
49 |
+
|
50 |
+
== Installation ==
|
51 |
+
|
52 |
+
1. Upload the entire `woocommerce-delivery-notes` folder to the `/wp-content/plugins/` directory
|
53 |
+
2. Activate the plugin through the 'Plugins' menu in WordPress
|
54 |
+
3. Look under the regular WooCommerce settings menu: "WooCommerce > Settings > Tab "Print" and adjust them to your needs
|
55 |
+
4. On single order pages you'll find a new meta box on the right side where it says "Order Print" you can open the invoice or delivery note for the actual order and print it out directly
|
56 |
+
5. Go and manage your orders - good luck with sales :)
|
57 |
+
|
58 |
+
**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+!
|
59 |
+
|
60 |
+
**Own translation/wording:** For custom and update-secure language files please upload them to `/wp-content/languages/woocommerce-delivery-notes/` (just create this folder) - This enables you to use fully custom translations that won't be overridden on plugin updates. Also, complete custom English wording is possible with that, just use a language file like `woocommerce-delivery-notes-en_US.mo/.po` to achieve that (for creating one see the tools on "Other Notes").
|
61 |
+
|
62 |
+
== Frequently Asked Questions ==
|
63 |
+
|
64 |
+
= Can I use a custom template for the printing page? =
|
65 |
+
If you want to use your own template then all you need to do is copy the `/wp-content/plugins/woocommerce-delivery-notes/templates/delivery-notes` folder and paste it inside your `/wp-content/themes/your-theme-name/woocommerce` 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.
|
66 |
+
|
67 |
+
*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. `/wp-content/themes/your-child-theme-name/woocommerce`)
|
68 |
+
|
69 |
+
= Can I use a different custom template for invoices and delivery notes? =
|
70 |
+
Yes. Create in the `your-theme-name/woocommerce/delivery-notes` folder a file named `print-invoice.php` and another `print-delivery-note.php`. Or just create a file `print.php` to use the same template for invoices and delivery notes. Now write some nice code to make your templates look as you like.
|
71 |
+
|
72 |
+
*Note:* The `print.php` isn't needed when you have a `print-invoice.php` and `print-delivery-note.php` file. However the template system falls back to the `print.php` file inside your themes folder and then inside the plugins folder when `print-invoice.php` and/or `print-delivery-note.php` weren't found.
|
73 |
+
|
74 |
+
= What Template Functions can I use? =
|
75 |
+
Various functions are available in the template, especially many Delivery Notes specific template functions. Open the `woocommerce-delivery-notes/woocommerce-delivery-notes-print.php` file to see all available functions.
|
76 |
+
|
77 |
+
*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.
|
78 |
+
|
79 |
+
= What will actually get printed out? =
|
80 |
+
No worries, the print bar at the top will automatically be hidden on print!
|
81 |
+
|
82 |
+
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.
|
83 |
+
|
84 |
+
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.
|
85 |
+
|
86 |
+
= Can you update the plugin with feature X or option Y? =
|
87 |
+
Mmh. Maybe.
|
88 |
+
|
89 |
+
The basic intention is to have the plugin at the same time as leightweight and useful as possible. So any feature request needs to be reviewed for that reasons.
|
90 |
+
|
91 |
+
== Screenshots ==
|
92 |
+
|
93 |
+
1. Plugin's settings page where you can set up to five fields for the delivery note. [Click for larger image view](http://www.wordpress.org/extend/plugins/woocommerce-delivery-notes/screenshot-1.png)
|
94 |
+
2. Single Order Edit page with the meta box and the print buttons.
|
95 |
+
3. Invoice printing page with default template - and the five custom sections. [Click for larger image view](http://www.wordpress.org/extend/plugins/woocommerce-delivery-notes/screenshot-3.png)
|
96 |
+
4. Delivery Note printing page with default template - and the five custom sections. [Click for larger image view](http://www.wordpress.org/extend/plugins/woocommerce-delivery-notes/screenshot-4.png)
|
97 |
+
5. Help tabs on the plugin's settings page with some info and important plugin links. [Click for larger image view](http://www.wordpress.org/extend/plugins/woocommerce-delivery-notes/screenshot-5.png)
|
98 |
+
|
99 |
+
== Changelog ==
|
100 |
+
|
101 |
+
= 1.2.1 (2012-05-08) =
|
102 |
+
* NEW: Company logo upload.
|
103 |
+
* NEW: Order numbering supports the sequential order numbers plugin. The offset field was removed because the plugin is much better. (thanks FoxRunSoftware, welovewordpress).
|
104 |
+
* FIX: Print page doesn't block the user when get vars aren't set.
|
105 |
+
* UPDATE: Template shows customer phone number (thanks welovewordpress).
|
106 |
+
* UPDATE: Template item list contains more data fields (thanks welovewordpress).
|
107 |
+
|
108 |
+
= 1.2 (2012-05-06) =
|
109 |
+
* IMPORTANT CHANGE: New main development and authorship now: [WordPress.org user "chabis"](http://profiles.wordpress.org/chabis/) - with daveshine (David Decker) remaining as a co-author.
|
110 |
+
* *New features:*
|
111 |
+
* NEW: Basic invoice template support.
|
112 |
+
* NEW: Custom order number.
|
113 |
+
* NEW: New cleaner looking print template.
|
114 |
+
* CODE: Restructured classes - plugin now completely relies on classes!
|
115 |
+
* CODE: General code cleanup and numerous improvements.
|
116 |
+
* UPDATE: Settings are now part of the "WooCommerce" settings, now see: WooCommerce > Settings > Tab "Print"
|
117 |
+
* UPDATE - IMPORTANT CHANGE: Template folder renaming -- custom templates must be renamed in order to work! -- See [FAQ section here](http://wordpress.org/extend/plugins/woocommerce-delivery-notes/faq/) for more info on that...
|
118 |
+
* UPDATE: Updated all existing screenshots and added two new ones.
|
119 |
+
* UPDATE: Updated readme.txt here with changed documentation and all other important new stuff, regarding authorship, plugin links etc.
|
120 |
+
* NEW: Added new partial translations for: Dutch, French, Spanish - all user-submitted! Big thanks to Ramon, Olivier and @JAVidania
|
121 |
+
* UPDATE: Updated German translations and also the .pot file for all translators!
|
122 |
+
* UPDATE: Extended GPL License info in readme.txt as well as main plugin file.
|
123 |
+
* NEW: Added banner image on WordPress.org for better plugin branding :)
|
124 |
+
* NEW: Easy plugin translation platform with GlotPress tool: [Translate "WooCommerce Print Invoices & Delivery Notes"...](http://translate.wpautobahn.com/projects/wordpress-plugins-deckerweb/woocommerce-delivery-notes)
|
125 |
+
|
126 |
+
= 1.1 (2012-02-07) =
|
127 |
+
* *Maintenance release*
|
128 |
+
* 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!)
|
129 |
+
* 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" />`)
|
130 |
+
* UPDATE: Corrected readme.txt file
|
131 |
+
* NEW: Added Swedish translation - Thanx to Christopher Anderton
|
132 |
+
* UPDATE: Updated German translations and also the .pot file for all translators!
|
133 |
+
|
134 |
+
= 1.0 (2011-12-30) =
|
135 |
+
* Initial release
|
136 |
+
* Forked and extended from original plugin for Jigoshop ("Jigoshop Delivery Notes" at GitHub)
|
137 |
+
|
138 |
+
== Upgrade Notice ==
|
139 |
+
|
140 |
+
= 1.2.1 =
|
141 |
+
The sequential order numbers plugin requires at least WooCommerce 1.5.3.
|
142 |
+
|
143 |
+
= 1.2 =
|
144 |
+
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!
|
145 |
+
|
146 |
+
= 1.1 =
|
147 |
+
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.
|
148 |
+
|
149 |
+
= 1.0 =
|
150 |
+
Just released into the wild.
|
151 |
+
|
152 |
+
== Plugin Links ==
|
153 |
+
* [Translations (GlotPress)](http://translate.wpautobahn.com/projects/wordpress-plugins-deckerweb/woocommerce-delivery-notes)
|
154 |
+
* [User support forums](http://wordpress.org/tags/woocommerce-delivery-notes?forum_id=10)
|
155 |
+
* [Developers: reports bugs & issues](https://github.com/piffpaffpuff/woocommerce-delivery-notes/issues)
|
156 |
+
* [Developers: contribute](https://github.com/piffpaffpuff/woocommerce-delivery-notes)
|
157 |
+
|
158 |
+
== Donate ==
|
159 |
+
Enjoy using *WooCommerce Print Invoices & Delivery Notes*? Please consider [making a small donation](http://genesisthemes.de/en/donate/) to support the project's continued development.
|
160 |
+
|
161 |
+
== Translations ==
|
162 |
+
|
163 |
+
* English - default, always included
|
164 |
+
* German (de_DE): Deutsch - immer dabei! [Download auch via deckerweb.de](http://deckerweb.de/material/sprachdateien/woocommerce-und-extensions/#woocommerce-delivery-notes)
|
165 |
+
* Dutch (nl_NL): Nederlands - user-submitted by [Ramon van Belzen](http://profiles.wordpress.org/Ramoonus/)
|
166 |
+
* Swedish (sv_SE): Svenska - user-submitted by [Christopher Anderton](http://www.deluxive.se/)
|
167 |
+
* Spanish (es_ES): Español - user-submitted by @JAVidania
|
168 |
+
* French (fr_FR): Français - user-submitted by Olivier
|
169 |
+
* For custom and update-secure language files please upload them to `/wp-content/languages/woocommerce-delivery-notes/` (just create this folder) - This enables you to use fully custom translations that won't be overridden on plugin updates. Also, complete custom English wording is possible with that as well, just use a language file like `woocommerce-delivery-notes-en_US.mo/.po` to achieve that.
|
170 |
+
|
171 |
+
**Easy plugin translation platform with GlotPress tool: [Translate "WooCommerce Print Invoices & Delivery Notes"...](http://translate.wpautobahn.com/projects/wordpress-plugins-deckerweb/woocommerce-delivery-notes)**
|
172 |
+
|
173 |
+
*Note:* All my plugins are internationalized/ 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/), which works fine on Windows, Mac and Linux.
|
174 |
+
|
175 |
+
== Additional Info ==
|
176 |
+
**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.
|
177 |
+
|
178 |
+
== Credits ==
|
179 |
+
Thanks to WooThemes company and WooCommerce team for promoting this plugin on their official homepage as well as on the download page here on wordpress.org! ;-)
|
screenshot-1.png
CHANGED
Binary file
|
screenshot-2.png
CHANGED
Binary file
|
screenshot-3.png
CHANGED
Binary file
|
screenshot-4.png
CHANGED
Binary file
|
screenshot-5.png
CHANGED
Binary file
|
templates/delivery-notes/css/style.css
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
|
7 |
*/
|
8 |
|
9 |
-
/* CSS Reset and Print
|
10 |
------------------------------------------*/
|
11 |
|
12 |
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, table, ol, ul {
|
@@ -31,53 +31,92 @@ table {
|
|
31 |
border-spacing: 0;
|
32 |
}
|
33 |
|
34 |
-
/*
|
35 |
-
#
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
padding-right: 10%;
|
41 |
-
text-align: left;
|
42 |
}
|
43 |
|
44 |
-
|
45 |
-
#footer {
|
46 |
overflow: hidden;
|
47 |
-
|
48 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
}
|
50 |
|
51 |
-
/* Options link - "Print Page" */
|
52 |
.options a {
|
53 |
-
background-color: #f2f2f2;
|
54 |
border: 1px solid #bbb;
|
55 |
-
border-radius:
|
56 |
-
-
|
57 |
-
-
|
58 |
-
|
|
|
|
|
59 |
display: block;
|
60 |
float: right;
|
61 |
font-size: 0.875em;
|
62 |
-
height:
|
63 |
-
line-height:
|
64 |
-
padding-left:
|
65 |
-
padding-right:
|
66 |
text-decoration: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
}
|
68 |
|
69 |
.options a:active {
|
70 |
-
|
71 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
}
|
73 |
|
74 |
|
75 |
/* Template Page Layout
|
76 |
------------------------------------------*/
|
77 |
|
78 |
-
|
79 |
-
|
80 |
-
|
|
|
|
|
|
|
|
|
|
|
81 |
|
82 |
/* Main Body */
|
83 |
body {
|
@@ -93,15 +132,17 @@ h2,
|
|
93 |
h3,
|
94 |
h4 {
|
95 |
font-weight: bold;
|
96 |
-
margin-bottom: 1.25em;
|
97 |
}
|
98 |
|
99 |
-
p,
|
100 |
li,
|
101 |
ul {
|
102 |
margin-bottom: 1.25em;
|
103 |
}
|
104 |
|
|
|
|
|
|
|
|
|
105 |
/* Basic Table Styling */
|
106 |
table {
|
107 |
border-top: 1px #ccc solid;
|
@@ -146,29 +187,34 @@ th {
|
|
146 |
|
147 |
/* Delivery Notes Head */
|
148 |
#letter-header .heading {
|
|
|
149 |
width: 50%;
|
150 |
-
margin-right: 15%;
|
151 |
font-weight: bold;
|
152 |
font-size: 2em;
|
153 |
line-height: 125%;
|
154 |
-
|
|
|
|
|
|
|
|
|
155 |
}
|
156 |
|
157 |
#letter-header .company-info {
|
158 |
-
float:
|
|
|
159 |
margin-top: 0.45em;
|
160 |
}
|
161 |
|
162 |
-
/* Order Listing
|
163 |
#order-listing {
|
164 |
-
|
165 |
-
|
166 |
-
float: left;
|
167 |
}
|
168 |
|
169 |
/* Order Info - #order-info */
|
170 |
#order-info {
|
171 |
float: left;
|
|
|
172 |
}
|
173 |
|
174 |
/* Order Items - #order-items */
|
@@ -223,22 +269,31 @@ th {
|
|
223 |
#order-notes .notes-shipping {
|
224 |
float: left;
|
225 |
width: 50%;
|
226 |
-
margin-right: 15%;
|
227 |
}
|
228 |
#order-notes .notes-personal {
|
|
|
|
|
229 |
font-weight: bold;
|
230 |
-
float: left;
|
231 |
}
|
232 |
|
233 |
/* Footer Imprint */
|
234 |
#letter-footer {
|
235 |
border-top: 1px solid #ccc;
|
236 |
-
padding-top:
|
237 |
color: #666;
|
238 |
font-size: 0.75em;
|
239 |
font-style: italic;
|
240 |
}
|
241 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
242 |
|
243 |
/* CSS Media Queries for Print
|
244 |
------------------------------------------*/
|
6 |
|
7 |
*/
|
8 |
|
9 |
+
/* Simple CSS Reset and Print options
|
10 |
------------------------------------------*/
|
11 |
|
12 |
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, table, ol, ul {
|
31 |
border-spacing: 0;
|
32 |
}
|
33 |
|
34 |
+
/* Options */
|
35 |
+
#header {
|
36 |
+
position: fixed;
|
37 |
+
top: 0px;
|
38 |
+
left: 0px;
|
39 |
+
right: 0px;
|
|
|
|
|
40 |
}
|
41 |
|
42 |
+
.options {
|
|
|
43 |
overflow: hidden;
|
44 |
+
padding: 0.5em;
|
45 |
+
text-shadow: 0px 1px 0px #ffffff;
|
46 |
+
filter: dropshadow(color=#ffffff, offx=0, offy=1);
|
47 |
+
background: #F1F1F1;
|
48 |
+
background-image: -ms-linear-gradient(top, #F9F9F9, #ECECEC);
|
49 |
+
background-image: -moz-linear-gradient(top, #F9F9F9, #ECECEC);
|
50 |
+
background-image: -o-linear-gradient(top, #F9F9F9, #ECECEC);
|
51 |
+
background-image: -webkit-gradient(linear, left top, left bottom, from(#F9F9F9), to(#ECECEC));
|
52 |
+
background-image: -webkit-linear-gradient(top, #F9F9F9, #ECECEC);
|
53 |
+
background-image: linear-gradient(top, #F9F9F9, #ECECEC);
|
54 |
+
border-bottom: 1px solid #DFDFDF;
|
55 |
+
border-top: 1px solid #DFDFDF;
|
56 |
}
|
57 |
|
|
|
58 |
.options a {
|
|
|
59 |
border: 1px solid #bbb;
|
60 |
+
-webkit-border-radius: 12px;
|
61 |
+
-moz-border-radius: 12px;
|
62 |
+
-ms-border-radius: 12px;
|
63 |
+
-o-border-radius: 12px;
|
64 |
+
border-radius: 12px;
|
65 |
+
color: #464646;
|
66 |
display: block;
|
67 |
float: right;
|
68 |
font-size: 0.875em;
|
69 |
+
height: 20px;
|
70 |
+
line-height: 20px;
|
71 |
+
padding-left: 15px;
|
72 |
+
padding-right: 15px;
|
73 |
text-decoration: none;
|
74 |
+
background: #F1F1F1;
|
75 |
+
background: -moz-linear-gradient(top, #ffffff 0%, #efefef 100%);
|
76 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#efefef));
|
77 |
+
background: -webkit-linear-gradient(top, #ffffff 0%,#efefef 100%);
|
78 |
+
background: -o-linear-gradient(top, #ffffff 0%,#efefef 100%);
|
79 |
+
background: -ms-linear-gradient(top, #ffffff 0%,#efefef 100%);
|
80 |
+
background: linear-gradient(top, #ffffff 0%,#efefef 100%);
|
81 |
+
-webkit-box-shadow: inset 0px 1px 0px 0px #ffffff;
|
82 |
+
-moz-box-shadow: inset 0px 1px 0px 0px #ffffff;
|
83 |
+
-ms-box-shadow: inset 0px 1px 0px 0px #ffffff;
|
84 |
+
-o-box-shadow: inset 0px 1px 0px 0px #ffffff;
|
85 |
+
box-shadow: inset 0px 1px 0px 0px #ffffff;
|
86 |
+
}
|
87 |
+
|
88 |
+
.options a:hover {
|
89 |
+
border-color: #999;
|
90 |
+
color: #000;
|
91 |
}
|
92 |
|
93 |
.options a:active {
|
94 |
+
border-color: #666;
|
95 |
+
-webkit-box-shadow: inset 0px 0px 6px 0px rgba(0, 0, 0, 0.45);
|
96 |
+
-moz-box-shadow: inset 0px 0px 6px 0px rgba(0, 0, 0, 0.45);
|
97 |
+
-ms-box-shadow: inset 0px 0px 6px 0px rgba(0, 0, 0, 0.45);
|
98 |
+
-o-box-shadow: inset 0px 0px 6px 0px rgba(0, 0, 0, 0.45);
|
99 |
+
box-shadow: inset 0px 0px 6px 0px rgba(0, 0, 0, 0.45);
|
100 |
+
background: -moz-linear-gradient(top, #ffffff 0%, #efefef 100%);
|
101 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#efefef));
|
102 |
+
background: -webkit-linear-gradient(top, #efefef 0%,#e6e6e6 100%);
|
103 |
+
background: -o-linear-gradient(top, #ffffff 0%,#efefef 100%);
|
104 |
+
background: -ms-linear-gradient(top, #ffffff 0%,#efefef 100%);
|
105 |
+
background: linear-gradient(top, #ffffff 0%,#efefef 100%);
|
106 |
}
|
107 |
|
108 |
|
109 |
/* Template Page Layout
|
110 |
------------------------------------------*/
|
111 |
|
112 |
+
#content {
|
113 |
+
margin-left: auto;
|
114 |
+
margin-right: auto;
|
115 |
+
padding-top: 7%;
|
116 |
+
padding-left: 10%;
|
117 |
+
padding-right: 10%;
|
118 |
+
text-align: left;
|
119 |
+
}
|
120 |
|
121 |
/* Main Body */
|
122 |
body {
|
132 |
h3,
|
133 |
h4 {
|
134 |
font-weight: bold;
|
|
|
135 |
}
|
136 |
|
|
|
137 |
li,
|
138 |
ul {
|
139 |
margin-bottom: 1.25em;
|
140 |
}
|
141 |
|
142 |
+
p + p {
|
143 |
+
margin-top: 1.25em;
|
144 |
+
}
|
145 |
+
|
146 |
/* Basic Table Styling */
|
147 |
table {
|
148 |
border-top: 1px #ccc solid;
|
187 |
|
188 |
/* Delivery Notes Head */
|
189 |
#letter-header .heading {
|
190 |
+
float: left;
|
191 |
width: 50%;
|
|
|
192 |
font-weight: bold;
|
193 |
font-size: 2em;
|
194 |
line-height: 125%;
|
195 |
+
}
|
196 |
+
|
197 |
+
|
198 |
+
#letter-header .company-name {
|
199 |
+
font-weight: bold;
|
200 |
}
|
201 |
|
202 |
#letter-header .company-info {
|
203 |
+
float: right;
|
204 |
+
width: 35%;
|
205 |
margin-top: 0.45em;
|
206 |
}
|
207 |
|
208 |
+
/* Order Listing - #order-listing */
|
209 |
#order-listing {
|
210 |
+
float: right;
|
211 |
+
width: 35%;
|
|
|
212 |
}
|
213 |
|
214 |
/* Order Info - #order-info */
|
215 |
#order-info {
|
216 |
float: left;
|
217 |
+
width: 50%;
|
218 |
}
|
219 |
|
220 |
/* Order Items - #order-items */
|
269 |
#order-notes .notes-shipping {
|
270 |
float: left;
|
271 |
width: 50%;
|
|
|
272 |
}
|
273 |
#order-notes .notes-personal {
|
274 |
+
float: right;
|
275 |
+
width: 35%;
|
276 |
font-weight: bold;
|
|
|
277 |
}
|
278 |
|
279 |
/* Footer Imprint */
|
280 |
#letter-footer {
|
281 |
border-top: 1px solid #ccc;
|
282 |
+
padding-top: 1em;
|
283 |
color: #666;
|
284 |
font-size: 0.75em;
|
285 |
font-style: italic;
|
286 |
}
|
287 |
|
288 |
+
#letter-footer p + p {
|
289 |
+
margin-top: 1em;
|
290 |
+
}
|
291 |
+
|
292 |
+
#letter-footer .policies,
|
293 |
+
#letter-footer .imprint {
|
294 |
+
margin-bottom: 1em;
|
295 |
+
}
|
296 |
+
|
297 |
|
298 |
/* CSS Media Queries for Print
|
299 |
------------------------------------------*/
|
templates/delivery-notes/print.php
CHANGED
@@ -18,9 +18,9 @@
|
|
18 |
<div id="content">
|
19 |
<div id="page">
|
20 |
<div id="letter-header">
|
21 |
-
<
|
22 |
<div class="company-info">
|
23 |
-
<
|
24 |
<div class="company-address"><?php echo wcdn_company_info(); ?></div>
|
25 |
</div>
|
26 |
</div><!-- #letter-header -->
|
@@ -40,6 +40,11 @@
|
|
40 |
</div><!-- #order-listing -->
|
41 |
|
42 |
<ul id="order-info">
|
|
|
|
|
|
|
|
|
|
|
43 |
<li>
|
44 |
<h3 class="order-number-label"><?php _e( 'Order No.', 'woocommerce-delivery-notes' ); ?></h3>
|
45 |
<span class="order-number"><?php echo wcdn_order_number(); ?></span>
|
@@ -125,9 +130,6 @@
|
|
125 |
</div><!-- #content -->
|
126 |
|
127 |
<div id="footer">
|
128 |
-
<div class="options">
|
129 |
-
<a href="#print" onclick="javascript:openPrintWindow();return false;"><?php _e( 'Print Page', 'woocommerce-delivery-notes' ); ?></a>
|
130 |
-
</div><!-- .options -->
|
131 |
</div><!-- #footer -->
|
132 |
</div><!-- #container -->
|
133 |
</body>
|
18 |
<div id="content">
|
19 |
<div id="page">
|
20 |
<div id="letter-header">
|
21 |
+
<div class="heading"><?php if( wcdn_company_logo_id() ) : ?><?php echo wcdn_company_logo(); ?><?php else : ?><?php if( wcdn_template_name() == 'invoice' ) : ?><?php _e( 'Invoice', 'woocommerce-delivery-notes' ); ?><?php else : ?><?php _e( 'Delivery Note', 'woocommerce-delivery-notes' ); ?><?php endif; ?><?php endif; ?></div>
|
22 |
<div class="company-info">
|
23 |
+
<div class="company-name"><?php echo wcdn_company_name(); ?></div>
|
24 |
<div class="company-address"><?php echo wcdn_company_info(); ?></div>
|
25 |
</div>
|
26 |
</div><!-- #letter-header -->
|
40 |
</div><!-- #order-listing -->
|
41 |
|
42 |
<ul id="order-info">
|
43 |
+
<?php if( wcdn_company_logo() ) : ?>
|
44 |
+
<li>
|
45 |
+
<h3 class="order-number-label"><?php if( wcdn_template_name() == 'invoice' ) : ?><?php _e( 'Invoice', 'woocommerce-delivery-notes' ); ?><?php else : ?><?php _e( 'Delivery Note', 'woocommerce-delivery-notes' ); ?><?php endif; ?></h3>
|
46 |
+
</li>
|
47 |
+
<?php endif; ?>
|
48 |
<li>
|
49 |
<h3 class="order-number-label"><?php _e( 'Order No.', 'woocommerce-delivery-notes' ); ?></h3>
|
50 |
<span class="order-number"><?php echo wcdn_order_number(); ?></span>
|
130 |
</div><!-- #content -->
|
131 |
|
132 |
<div id="footer">
|
|
|
|
|
|
|
133 |
</div><!-- #footer -->
|
134 |
</div><!-- #container -->
|
135 |
</body>
|
woocommerce-delivery-notes-print.php
CHANGED
@@ -1,9 +1,4 @@
|
|
1 |
<?php
|
2 |
-
/**
|
3 |
-
* Load all available data for the Delivery Notes printing page.
|
4 |
-
*/
|
5 |
-
$id = $_GET['order'];
|
6 |
-
$name = $_GET['name'];
|
7 |
|
8 |
/**
|
9 |
* Load Wordpress to use its functions
|
@@ -19,10 +14,16 @@ if ( !defined( 'ABSPATH' ) ) {
|
|
19 |
*
|
20 |
* @since 1.0
|
21 |
*/
|
22 |
-
if (!current_user_can('manage_woocommerce_orders') || empty($
|
23 |
wp_die( __( 'You do not have sufficient permissions to access this page.', 'woocommerce-delivery-notes' ) );
|
24 |
}
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
/**
|
27 |
* Load the order
|
28 |
*
|
@@ -91,7 +92,36 @@ if ( !function_exists( 'wcdn_template_print_button' ) ) {
|
|
91 |
<?php
|
92 |
}
|
93 |
}
|
94 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
/**
|
96 |
* Return default title name of Delivery Note
|
97 |
*
|
@@ -102,7 +132,7 @@ if ( !function_exists( 'wcdn_company_name' ) ) {
|
|
102 |
global $wcdn;
|
103 |
$name = trim( $wcdn->print->get_setting( 'custom_company_name' ) );
|
104 |
if( !empty( $name ) ) {
|
105 |
-
return wpautop( $name );
|
106 |
} else {
|
107 |
return get_bloginfo( 'name' );
|
108 |
}
|
@@ -261,6 +291,21 @@ if ( ! function_exists( 'wcdn_shipping_notes' ) ) {
|
|
261 |
}
|
262 |
}
|
263 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
264 |
/**
|
265 |
* Return order id
|
266 |
*
|
@@ -275,7 +320,17 @@ if ( ! function_exists( 'wcdn_order_number' ) ) {
|
|
275 |
$before = trim( $wcdn->print->get_setting( 'before_order_number' ) );
|
276 |
$after = trim( $wcdn->print->get_setting( 'after_order_number' ) );
|
277 |
$offset = trim( $wcdn->print->get_setting( 'order_number_offset' ) );
|
278 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
279 |
return $number;
|
280 |
}
|
281 |
}
|
@@ -312,7 +367,7 @@ if ( ! function_exists( 'wcdn_get_order_items' ) ) {
|
|
312 |
}
|
313 |
|
314 |
/**
|
315 |
-
* Return the
|
316 |
*
|
317 |
* @since 1.0
|
318 |
*
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
/**
|
4 |
* Load Wordpress to use its functions
|
14 |
*
|
15 |
* @since 1.0
|
16 |
*/
|
17 |
+
if (!current_user_can('manage_woocommerce_orders') || empty($_GET['order']) || empty($_GET['name'])) {
|
18 |
wp_die( __( 'You do not have sufficient permissions to access this page.', 'woocommerce-delivery-notes' ) );
|
19 |
}
|
20 |
|
21 |
+
/**
|
22 |
+
* Load all available data for the Delivery Notes printing page.
|
23 |
+
*/
|
24 |
+
$id = $_GET['order'];
|
25 |
+
$name = $_GET['name'];
|
26 |
+
|
27 |
/**
|
28 |
* Load the order
|
29 |
*
|
92 |
<?php
|
93 |
}
|
94 |
}
|
95 |
+
|
96 |
+
/**
|
97 |
+
* Return logo id
|
98 |
+
*
|
99 |
+
* @since 1.0
|
100 |
+
*/
|
101 |
+
if ( !function_exists( 'wcdn_company_logo_id' ) ) {
|
102 |
+
function wcdn_company_logo_id() {
|
103 |
+
global $wcdn;
|
104 |
+
return $wcdn->print->get_setting( 'company_logo_image_id' );
|
105 |
+
}
|
106 |
+
}
|
107 |
+
|
108 |
+
/**
|
109 |
+
* Return logo html
|
110 |
+
*
|
111 |
+
* @since 1.0
|
112 |
+
*/
|
113 |
+
if ( !function_exists( 'wcdn_company_logo' ) ) {
|
114 |
+
function wcdn_company_logo() {
|
115 |
+
global $wcdn;
|
116 |
+
$attachment_id = $wcdn->print->get_setting( 'company_logo_image_id' );
|
117 |
+
if( !empty( $attachment_id ) ) {
|
118 |
+
$attachment_src = wp_get_attachment_image_src( $attachment_id, array( 300, 300 ), false );
|
119 |
+
return '<img src="' . $attachment_src[0] . '" width="' . $attachment_src[1] . '" height="' . $attachment_src[2] . '" />';
|
120 |
+
}
|
121 |
+
return;
|
122 |
+
}
|
123 |
+
}
|
124 |
+
|
125 |
/**
|
126 |
* Return default title name of Delivery Note
|
127 |
*
|
132 |
global $wcdn;
|
133 |
$name = trim( $wcdn->print->get_setting( 'custom_company_name' ) );
|
134 |
if( !empty( $name ) ) {
|
135 |
+
return wpautop( wptexturize( $name ) );
|
136 |
} else {
|
137 |
return get_bloginfo( 'name' );
|
138 |
}
|
291 |
}
|
292 |
}
|
293 |
|
294 |
+
/**
|
295 |
+
* Return billing phone
|
296 |
+
*
|
297 |
+
* @since 1.0
|
298 |
+
*
|
299 |
+
* @global $wcdn->print
|
300 |
+
* @return string billing phone
|
301 |
+
*/
|
302 |
+
if ( ! function_exists( 'wcdn_billing_phone' ) ) {
|
303 |
+
function wcdn_billing_phone() {
|
304 |
+
global $wcdn;
|
305 |
+
return $wcdn->print->get_order()->billing_phone;
|
306 |
+
}
|
307 |
+
}
|
308 |
+
|
309 |
/**
|
310 |
* Return order id
|
311 |
*
|
320 |
$before = trim( $wcdn->print->get_setting( 'before_order_number' ) );
|
321 |
$after = trim( $wcdn->print->get_setting( 'after_order_number' ) );
|
322 |
$offset = trim( $wcdn->print->get_setting( 'order_number_offset' ) );
|
323 |
+
|
324 |
+
// get custom order number as provided by the plugin
|
325 |
+
// http://wordpress.org/extend/plugins/woocommerce-sequential-order-numbers/
|
326 |
+
// if custom order number is zero, fall back to ID
|
327 |
+
$order_id = $wcdn->print->order_id;
|
328 |
+
|
329 |
+
if ( !empty( $wcdn->print->get_order()->order_custom_fields['_order_number'] ) ) {
|
330 |
+
$order_id = $wcdn->print->get_order()->order_custom_fields['_order_number'][0];
|
331 |
+
}
|
332 |
+
|
333 |
+
$number = $before . ( intval( $offset ) + intval( $order_id ) ) . $after;
|
334 |
return $number;
|
335 |
}
|
336 |
}
|
367 |
}
|
368 |
|
369 |
/**
|
370 |
+
* Return the formatted price
|
371 |
*
|
372 |
* @since 1.0
|
373 |
*
|
woocommerce-delivery-notes.php
CHANGED
@@ -14,7 +14,7 @@
|
|
14 |
* Plugin Name: WooCommerce Print Invoices & Delivery Notes
|
15 |
* Plugin URI: https://github.com/piffpaffpuff/woocommerce-delivery-notes
|
16 |
* Description: Print order invoices & delivery notes for WooCommerce shop plugin. You can add company/shop info as well as personal notes & policies to print pages.
|
17 |
-
* Version: 1.2
|
18 |
* Author: Steve Clark, Triggvy Gunderson, David Decker
|
19 |
* Author URI: https://github.com/piffpaffpuff/woocommerce-delivery-notes
|
20 |
* License: GPLv3 or later
|
@@ -99,6 +99,9 @@ if ( ! class_exists( 'WooCommerce_Delivery_Notes' ) ) {
|
|
99 |
*/
|
100 |
public function load_hooks() {
|
101 |
if ( $this->is_woocommerce_activated() ) {
|
|
|
|
|
|
|
102 |
$this->includes();
|
103 |
$this->writepanel = new WooCommerce_Delivery_Notes_Writepanel();
|
104 |
$this->writepanel->load();
|
@@ -106,9 +109,6 @@ if ( ! class_exists( 'WooCommerce_Delivery_Notes' ) ) {
|
|
106 |
$this->settings->load();
|
107 |
$this->print = new WooCommerce_Delivery_Notes_Print();
|
108 |
$this->print->load();
|
109 |
-
|
110 |
-
load_plugin_textdomain( 'woocommerce-delivery-notes', false, dirname( self::$plugin_basefile ) . '/../../languages/woocommerce-delivery-notes/' );
|
111 |
-
load_plugin_textdomain( 'woocommerce-delivery-notes', false, dirname( self::$plugin_basefile ) . '/languages' );
|
112 |
}
|
113 |
}
|
114 |
|
14 |
* Plugin Name: WooCommerce Print Invoices & Delivery Notes
|
15 |
* Plugin URI: https://github.com/piffpaffpuff/woocommerce-delivery-notes
|
16 |
* Description: Print order invoices & delivery notes for WooCommerce shop plugin. You can add company/shop info as well as personal notes & policies to print pages.
|
17 |
+
* Version: 1.2.1
|
18 |
* Author: Steve Clark, Triggvy Gunderson, David Decker
|
19 |
* Author URI: https://github.com/piffpaffpuff/woocommerce-delivery-notes
|
20 |
* License: GPLv3 or later
|
99 |
*/
|
100 |
public function load_hooks() {
|
101 |
if ( $this->is_woocommerce_activated() ) {
|
102 |
+
load_plugin_textdomain( 'woocommerce-delivery-notes', false, dirname( self::$plugin_basefile ) . '/../../languages/woocommerce-delivery-notes/' );
|
103 |
+
load_plugin_textdomain( 'woocommerce-delivery-notes', false, dirname( self::$plugin_basefile ) . '/languages' );
|
104 |
+
|
105 |
$this->includes();
|
106 |
$this->writepanel = new WooCommerce_Delivery_Notes_Writepanel();
|
107 |
$this->writepanel->load();
|
109 |
$this->settings->load();
|
110 |
$this->print = new WooCommerce_Delivery_Notes_Print();
|
111 |
$this->print->load();
|
|
|
|
|
|
|
112 |
}
|
113 |
}
|
114 |
|