Version Description
Major additions & improvements: Now with basic invoice support. Code cleanup & improvements. Added new partial translations, updated German translations plus .pot file for translators. Also, new plugin authorship!
Download this release
Release Info
Developer | daveshine |
Plugin | WooCommerce Print Invoice & Delivery Note |
Version | 1.2 |
Comparing to | |
See all releases |
Code changes from version 1.1 to 1.2
- classes/class-wcdn-print.php +213 -0
- classes/class-wcdn-settings.php +282 -0
- classes/class-wcdn-writepanel.php +99 -0
- css/style.css +9 -0
- delivery-note-template/css/style.css +0 -295
- languages/woocommerce-delivery-notes-de_DE.mo +0 -0
- languages/woocommerce-delivery-notes-de_DE.po +190 -249
- languages/woocommerce-delivery-notes-es_ES.mo +0 -0
- languages/woocommerce-delivery-notes-es_ES.po +304 -0
- languages/woocommerce-delivery-notes-fr_FR.mo +0 -0
- languages/woocommerce-delivery-notes-fr_FR.po +304 -0
- languages/woocommerce-delivery-notes-nl_NL.mo +0 -0
- languages/woocommerce-delivery-notes-nl_NL.po +304 -0
- languages/woocommerce-delivery-notes-sv_SE.mo +0 -0
- languages/woocommerce-delivery-notes-sv_SE.po +214 -356
- languages/woocommerce-delivery-notes.po +132 -283
- languages/woocommerce-delivery-notes.pot +132 -283
- readme.txt +94 -38
- 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 +254 -0
- delivery-note-template/template.php → templates/delivery-notes/print.php +36 -44
- wcdn-classes.php +0 -409
- wcdn-help.php +0 -180
- wcdn-print.php +0 -497
- woocommerce-delivery-notes-print.php +502 -0
- woocommerce-delivery-notes.php +114 -66
classes/class-wcdn-print.php
ADDED
@@ -0,0 +1,213 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Print class
|
5 |
+
*
|
6 |
+
* @since 1.0
|
7 |
+
*/
|
8 |
+
if ( ! class_exists( 'WooCommerce_Delivery_Notes_Print' ) ) {
|
9 |
+
|
10 |
+
class WooCommerce_Delivery_Notes_Print {
|
11 |
+
|
12 |
+
public $template_url;
|
13 |
+
public $template_dir;
|
14 |
+
public $template_base;
|
15 |
+
public $template_name;
|
16 |
+
public $theme_base;
|
17 |
+
public $theme_path;
|
18 |
+
public $order_id;
|
19 |
+
|
20 |
+
private $order;
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Constructor
|
24 |
+
*
|
25 |
+
* @since 1.0
|
26 |
+
*/
|
27 |
+
public function __construct() {
|
28 |
+
}
|
29 |
+
|
30 |
+
/**
|
31 |
+
* Load the class
|
32 |
+
*
|
33 |
+
* @since 1.0
|
34 |
+
*/
|
35 |
+
public function load( $order_id = 0 ) {
|
36 |
+
global $woocommerce;
|
37 |
+
|
38 |
+
$this->order_id = $order_id;
|
39 |
+
$this->template_name = 'delivery-note';
|
40 |
+
$this->template_base = 'templates/';
|
41 |
+
$this->theme_base = $woocommerce->template_url;
|
42 |
+
$this->template_dir = 'delivery-notes/';
|
43 |
+
$this->theme_path = trailingslashit( get_stylesheet_directory() );
|
44 |
+
|
45 |
+
if ( $this->order_id > 0 ) {
|
46 |
+
$this->order = new WC_Order( $this->order_id );
|
47 |
+
}
|
48 |
+
}
|
49 |
+
|
50 |
+
/**
|
51 |
+
* Load the admin hooks
|
52 |
+
*
|
53 |
+
* @since 1.0
|
54 |
+
*/
|
55 |
+
public function load_hooks() {
|
56 |
+
}
|
57 |
+
|
58 |
+
/**
|
59 |
+
* Read the template file
|
60 |
+
*
|
61 |
+
* @since 1.0
|
62 |
+
*/
|
63 |
+
public function get_print_page( $template_name = 'delivery-note' ) {
|
64 |
+
$this->template_name = $template_name;
|
65 |
+
return $this->get_template_content( 'print', $this->template_name );
|
66 |
+
}
|
67 |
+
|
68 |
+
/**
|
69 |
+
* Read the template file
|
70 |
+
*
|
71 |
+
* @since 1.0
|
72 |
+
*/
|
73 |
+
private function get_template_content( $slug, $name = '' ) {
|
74 |
+
$template = null;
|
75 |
+
$template_file = null;
|
76 |
+
|
77 |
+
// Look in yourtheme/woocommerce/delivery-notes/
|
78 |
+
$template_file = $this->theme_path . $this->theme_base . $this->template_dir . $slug.'-'.$name.'.php';
|
79 |
+
if ( !$template && $name && file_exists( $template_file) ) {
|
80 |
+
$template = $template_file;
|
81 |
+
$this->template_url = trailingslashit( get_stylesheet_directory_uri() ) . $this->theme_base . $this->template_dir;
|
82 |
+
}
|
83 |
+
|
84 |
+
// Fall back to slug.php in yourtheme/woocommerce/delivery-notes/
|
85 |
+
$template_file = $this->theme_path . $this->theme_base . $this->template_dir . $slug.'.php';
|
86 |
+
if ( !$template && file_exists( $template_file ) ) {
|
87 |
+
$template = $template_file;
|
88 |
+
$this->template_url = trailingslashit( get_stylesheet_directory_uri() ) . $this->theme_base . $this->template_dir;
|
89 |
+
}
|
90 |
+
|
91 |
+
// Legacy support for old custom template folder structure
|
92 |
+
$template_file = $this->theme_path . $this->theme_base . 'delivery-note-template/template.php';
|
93 |
+
if ( !$template && file_exists( $template_file ) ) {
|
94 |
+
$template = $template_file;
|
95 |
+
$this->template_url = trailingslashit( get_stylesheet_directory_uri() ) . 'delivery-note-template/';
|
96 |
+
}
|
97 |
+
|
98 |
+
// Look in pluginname/templates/delivery-notes/
|
99 |
+
$template_file = WooCommerce_Delivery_Notes::$plugin_path . $this->template_base . $this->template_dir . $slug.'-'.$name.'.php';
|
100 |
+
if ( !$template && $name && file_exists( $template_file ) ) {
|
101 |
+
$template = $template_file;
|
102 |
+
$this->template_url = WooCommerce_Delivery_Notes::$plugin_url . $this->template_base . $this->template_dir;
|
103 |
+
}
|
104 |
+
|
105 |
+
// Fall back to slug.php in pluginname/templates/delivery-notes/
|
106 |
+
$template_file = WooCommerce_Delivery_Notes::$plugin_path . $this->template_base . $this->template_dir . $slug.'.php';
|
107 |
+
if ( !$template && file_exists( $template_file ) ) {
|
108 |
+
$template = $template_file;
|
109 |
+
$this->template_url = WooCommerce_Delivery_Notes::$plugin_url . $this->template_base . $this->template_dir;
|
110 |
+
}
|
111 |
+
|
112 |
+
// Return the content of the template
|
113 |
+
if ( $template ) {
|
114 |
+
ob_start();
|
115 |
+
require_once( $template );
|
116 |
+
$content = ob_get_clean();
|
117 |
+
return $content;
|
118 |
+
}
|
119 |
+
|
120 |
+
// Return no content when no file was found
|
121 |
+
return;
|
122 |
+
}
|
123 |
+
|
124 |
+
/**
|
125 |
+
* Get the current order
|
126 |
+
*
|
127 |
+
* @since 1.0
|
128 |
+
*/
|
129 |
+
public function get_order() {
|
130 |
+
return $this->order;
|
131 |
+
}
|
132 |
+
|
133 |
+
/**
|
134 |
+
* Get the current order items
|
135 |
+
*
|
136 |
+
* @since 1.0
|
137 |
+
* @version 1.1
|
138 |
+
*/
|
139 |
+
public function get_order_items() {
|
140 |
+
global $woocommerce;
|
141 |
+
global $_product;
|
142 |
+
|
143 |
+
if(!$this->order) {
|
144 |
+
return;
|
145 |
+
}
|
146 |
+
|
147 |
+
$items = $this->order->get_items();
|
148 |
+
$data_list = array();
|
149 |
+
|
150 |
+
if ( sizeof( $items ) > 0 ) {
|
151 |
+
foreach ( $items as $item ) {
|
152 |
+
// Array with data for the printing template
|
153 |
+
$data = array();
|
154 |
+
|
155 |
+
// Create the product
|
156 |
+
if ( isset( $item['variation_id'] ) && $item['variation_id'] > 0 ) {
|
157 |
+
$product = new WC_Product_Variation( $item['variation_id'] );
|
158 |
+
$data['variation'] = woocommerce_get_formatted_variation( $product->get_variation_attributes(), true );
|
159 |
+
} else {
|
160 |
+
$product = new WC_Product( $item['id'] );
|
161 |
+
$data['variation'] = null;
|
162 |
+
}
|
163 |
+
|
164 |
+
// Set item name
|
165 |
+
$data['name'] = $item['name'];
|
166 |
+
|
167 |
+
// Set item quantity
|
168 |
+
$data['quantity'] = $item['qty'];
|
169 |
+
|
170 |
+
// Set item meta
|
171 |
+
$meta = new order_item_meta( $item['item_meta'] );
|
172 |
+
$data['meta'] = $meta->display(true, true);
|
173 |
+
|
174 |
+
// Set item download url
|
175 |
+
$data['download_url'] = null;
|
176 |
+
if ( $product->exists && $product->is_downloadable() && $this->order->status == 'completed' ) {
|
177 |
+
$data['download_url'] = $this->order->get_downloadable_file_url( $item['id'], $item['variation_id'] );
|
178 |
+
}
|
179 |
+
|
180 |
+
// Set the price
|
181 |
+
$data['price'] = $this->order->get_formatted_line_subtotal( $item );
|
182 |
+
|
183 |
+
// Set the single price
|
184 |
+
$data['single_price'] = $product->get_price();
|
185 |
+
|
186 |
+
// Set item SKU
|
187 |
+
$data['sku'] = $product->get_sku();
|
188 |
+
|
189 |
+
// Set item weight
|
190 |
+
$data['weight'] = $product->get_weight();
|
191 |
+
|
192 |
+
// Set item dimensions
|
193 |
+
$data['dimensions'] = $product->get_dimensions();
|
194 |
+
|
195 |
+
$data_list[] = $data;
|
196 |
+
}
|
197 |
+
}
|
198 |
+
|
199 |
+
return $data_list;
|
200 |
+
}
|
201 |
+
|
202 |
+
/**
|
203 |
+
* Get the content for an option
|
204 |
+
*
|
205 |
+
* @since 1.0
|
206 |
+
*/
|
207 |
+
public function get_setting( $name ) {
|
208 |
+
return get_option( WooCommerce_Delivery_Notes::$plugin_prefix . $name );
|
209 |
+
}
|
210 |
+
|
211 |
+
}
|
212 |
+
|
213 |
+
}
|
classes/class-wcdn-settings.php
ADDED
@@ -0,0 +1,282 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Settings class
|
5 |
+
*
|
6 |
+
* @since 1.0
|
7 |
+
*/
|
8 |
+
if ( ! class_exists( 'WooCommerce_Delivery_Notes_Settings' ) ) {
|
9 |
+
|
10 |
+
class WooCommerce_Delivery_Notes_Settings {
|
11 |
+
|
12 |
+
private $tab_name;
|
13 |
+
private $hidden_submit;
|
14 |
+
|
15 |
+
/**
|
16 |
+
* Constructor
|
17 |
+
*
|
18 |
+
* @since 1.0
|
19 |
+
*/
|
20 |
+
public function __construct() {
|
21 |
+
$this->tab_name = 'delivery-notes';
|
22 |
+
$this->hidden_submit = WooCommerce_Delivery_Notes::$plugin_prefix . 'submit';
|
23 |
+
}
|
24 |
+
|
25 |
+
/**
|
26 |
+
* Load the class
|
27 |
+
*
|
28 |
+
* @since 1.0
|
29 |
+
*/
|
30 |
+
public function load() {
|
31 |
+
add_action( 'admin_init', array( $this, 'load_hooks' ) );
|
32 |
+
}
|
33 |
+
|
34 |
+
/**
|
35 |
+
* Load the admin hooks
|
36 |
+
*
|
37 |
+
* @since 1.0
|
38 |
+
*/
|
39 |
+
public function load_hooks() {
|
40 |
+
add_filter( 'plugin_action_links_' . WooCommerce_Delivery_Notes::$plugin_basefile, array( $this, 'add_settings_link') );
|
41 |
+
add_filter( 'woocommerce_settings_tabs_array', array( $this, 'add_settings_tab' ) );
|
42 |
+
add_action( 'woocommerce_settings_tabs_' . $this->tab_name, array( $this, 'create_settings_page' ) );
|
43 |
+
add_action( 'woocommerce_update_options_' . $this->tab_name, array( $this, 'save_settings_page' ) );
|
44 |
+
add_action( 'admin_init', array( $this, 'load_help' ), 20 );
|
45 |
+
}
|
46 |
+
|
47 |
+
/**
|
48 |
+
* Add "Settings" link to plugin page
|
49 |
+
*
|
50 |
+
* @since 1.0
|
51 |
+
*/
|
52 |
+
public function add_settings_link( $links ) {
|
53 |
+
$settings = sprintf( '<a href="%s" title="%s">%s</a>' , admin_url( 'admin.php?page=woocommerce&tab=delivery-notes' ) , __( 'Go to the settings page', 'woocommerce-delivery-notes' ) , __( 'Settings', 'woocommerce-delivery-notes' ) );
|
54 |
+
array_unshift( $links, $settings );
|
55 |
+
|
56 |
+
return $links;
|
57 |
+
}
|
58 |
+
|
59 |
+
/**
|
60 |
+
* Load the help system
|
61 |
+
*
|
62 |
+
* @since 1.0
|
63 |
+
*/
|
64 |
+
public function load_help() {
|
65 |
+
// Get the hookname and load the help tabs
|
66 |
+
if ( isset($_GET['page']) && isset( $_GET['tab'] ) && $_GET['tab'] == $this->tab_name ) {
|
67 |
+
$menu_slug = plugin_basename( $_GET['page'] );
|
68 |
+
$hookname = get_plugin_page_hookname( $menu_slug, '' );
|
69 |
+
|
70 |
+
add_action( 'load-' . $hookname, array( $this, 'add_help_tabs' ) );
|
71 |
+
}
|
72 |
+
}
|
73 |
+
|
74 |
+
/**
|
75 |
+
* Add the help tabs
|
76 |
+
*
|
77 |
+
* @since 1.0
|
78 |
+
*/
|
79 |
+
public function add_help_tabs() {
|
80 |
+
// Check current admin screen
|
81 |
+
$screen = get_current_screen();
|
82 |
+
|
83 |
+
// Don't load help tab system prior WordPress 3.3
|
84 |
+
if ( ! class_exists( 'WP_Screen' ) || ! $screen ) {
|
85 |
+
return;
|
86 |
+
}
|
87 |
+
|
88 |
+
// Remove all existing tabs
|
89 |
+
$screen->remove_help_tabs();
|
90 |
+
|
91 |
+
// Create arrays with help tab titles
|
92 |
+
$screen->add_help_tab(array(
|
93 |
+
'id' => 'wcdn-usage',
|
94 |
+
'title' => __( 'About the Plugin', 'woocommerce-delivery-notes' ),
|
95 |
+
'content' =>
|
96 |
+
'<h3>' . __( 'Plugin: WooCommerce Print Invoices & Delivery Notes', 'woocommerce-delivery-notes' ) . '</h3>' .
|
97 |
+
'<h4>' . __( 'About the Plugin', 'woocommerce-delivery-notes' ) . '</h4>' .
|
98 |
+
'<p>' . __( 'This plugin enables you to add a Invoice or simple Delivery Note page for printing for your orders in WooCommerce shop plugin. You can add your company postal address, further add personal notes, refund or other policies and a footer note/branding. This helps speed up your daily shop and order management. In some countries (e.g. in the European Union) it is also required to advice the customer with proper refund policies so this little plugin might help you a bit with that too.', 'woocommerce-delivery-notes' ) . '</p>' .
|
99 |
+
'<p>' . sprintf( __( 'Just look under <a href="%1$s">WooCommerce > Orders</a> and there go to a single order view. On the right side you will see the Order Print meta box. Click one of the buttons and you get the invoice or delivery note printing page. Yes, it is that easy :-).', 'woocommerce-delivery-notes' ), admin_url( 'edit.php?post_type=shop_order' ) ) . '</p>'
|
100 |
+
) );
|
101 |
+
|
102 |
+
// Create help sidebar
|
103 |
+
$screen->set_help_sidebar(
|
104 |
+
'<p><strong>' . __( 'For more information:', 'woocommerce-delivery-notes' ) . '</strong></p>'.
|
105 |
+
'<p><a href="http://wordpress.org/extend/plugins/woocommerce-delivery-notes/faq/" target="_blank">' . __( 'Frequently Asked Questions', 'woocommerce-delivery-notes' ) . '</a></p>' .
|
106 |
+
'<p><a href="http://wordpress.org/extend/plugins/woocommerce-delivery-notes/" target="_blank">' . __( 'Project on WordPress.org', 'woocommerce-delivery-notes' ) . '</a></p>' .
|
107 |
+
'<p><a href="https://github.com/piffpaffpuff/woocommerce-delivery-notes" target="_blank">' . __( 'Project on GitHub', 'woocommerce-delivery-notes' ) . '</a></p>' .
|
108 |
+
'<p><a href="http://wordpress.org/tags/woocommerce-delivery-notes?forum_id=10" target="_blank">' . __( 'Discuss in the Forum', 'woocommerce-delivery-notes' ) . '</a></p>'
|
109 |
+
);
|
110 |
+
}
|
111 |
+
|
112 |
+
/**
|
113 |
+
* Add a tab to the settings page
|
114 |
+
*
|
115 |
+
* @since 1.0
|
116 |
+
*/
|
117 |
+
public function add_settings_tab( $tabs ) {
|
118 |
+
$tabs[$this->tab_name] = __( 'Print', 'woocommerce-delivery-notes' );
|
119 |
+
|
120 |
+
return $tabs;
|
121 |
+
}
|
122 |
+
|
123 |
+
/**
|
124 |
+
* Create the settings page content
|
125 |
+
*
|
126 |
+
* @since 1.0
|
127 |
+
* @version 1.1
|
128 |
+
*/
|
129 |
+
public function create_settings_page() {
|
130 |
+
?>
|
131 |
+
<h3><?php _e( 'Invoices and Delivery Notes', 'woocommerce-delivery-notes' ); ?></h3>
|
132 |
+
<table class="form-table">
|
133 |
+
<tbody>
|
134 |
+
<tr>
|
135 |
+
<th>
|
136 |
+
<label for="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>custom_company_name"><?php _e( 'Company/Shop Name', 'woocommerce-delivery-notes' ); ?></label>
|
137 |
+
</th>
|
138 |
+
<td>
|
139 |
+
<textarea name="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>custom_company_name" rows="2" class="large-text"><?php echo wp_kses_stripslashes( get_option( WooCommerce_Delivery_Notes::$plugin_prefix . 'custom_company_name' ) ); ?></textarea>
|
140 |
+
<span class="description">
|
141 |
+
<?php _e( 'Your custom company or shop name for the Delivery Note.', 'woocommerce-delivery-notes' ); ?>
|
142 |
+
<br /><strong><?php _e( 'Note:', 'woocommerce-delivery-notes' ); ?></strong>
|
143 |
+
<?php _e( 'Leave blank to use the default Website/ Blog title defined in WordPress settings.', 'woocommerce-delivery-notes' ); ?>
|
144 |
+
</span>
|
145 |
+
</td>
|
146 |
+
</tr>
|
147 |
+
<tr>
|
148 |
+
<th>
|
149 |
+
<label for="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>company_address"><?php _e( 'Company/Shop Address', 'woocommerce-delivery-notes' ); ?></label>
|
150 |
+
</th>
|
151 |
+
<td>
|
152 |
+
<textarea name="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>company_address" rows="5" class="large-text"><?php echo wp_kses_stripslashes( get_option( WooCommerce_Delivery_Notes::$plugin_prefix . 'company_address' ) ); ?></textarea>
|
153 |
+
<span class="description">
|
154 |
+
<?php _e( 'The postal address of the company/shop, which gets printed right of the company/shop name, above the order listings.', 'woocommerce-delivery-notes' ); ?>
|
155 |
+
<br /><strong><?php _e( 'Note:', 'woocommerce-delivery-notes' ); ?></strong>
|
156 |
+
<?php _e('Leave blank to not print an address.', 'woocommerce-delivery-notes' ); ?>
|
157 |
+
</span>
|
158 |
+
</td>
|
159 |
+
</tr>
|
160 |
+
<tr>
|
161 |
+
<th>
|
162 |
+
<label for="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>personal_notes"><?php _e( 'Personal Notes', 'woocommerce-delivery-notes' ); ?></label>
|
163 |
+
</th>
|
164 |
+
<td>
|
165 |
+
<textarea name="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>personal_notes" rows="5" class="large-text"><?php echo wp_kses_stripslashes( get_option( WooCommerce_Delivery_Notes::$plugin_prefix . 'personal_notes' ) ); ?></textarea>
|
166 |
+
<span class="description">
|
167 |
+
<?php _e( 'Add some personal notes, or season greetings or whatever (e.g. Thank You for Your Order!, Merry Christmas!, etc.).', 'woocommerce-delivery-notes' ); ?>
|
168 |
+
<br /><strong><?php _e( 'Note:', 'woocommerce-delivery-notes' ); ?></strong>
|
169 |
+
<?php _e('Leave blank to not print any personal notes.', 'woocommerce-delivery-notes' ); ?>
|
170 |
+
</span>
|
171 |
+
</td>
|
172 |
+
</tr>
|
173 |
+
<tr>
|
174 |
+
<th>
|
175 |
+
<label for="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>policies_conditions"><?php _e( 'Returns Policy, Conditions, etc.:', 'woocommerce-delivery-notes' ); ?></label>
|
176 |
+
</th>
|
177 |
+
<td>
|
178 |
+
<textarea name="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>policies_conditions" rows="5" class="large-text"><?php echo wp_kses_stripslashes( get_option( WooCommerce_Delivery_Notes::$plugin_prefix . 'policies_conditions' ) ); ?></textarea>
|
179 |
+
<span class="description">
|
180 |
+
<?php _e( 'Here you can add some more policies, conditions etc. For example add a returns policy in case the client would like to send back some goods. In some countries (e.g. in the European Union) this is required so please add any required info in accordance with the statutory regulations.', 'woocommerce-delivery-notes' ); ?>
|
181 |
+
<br /><strong><?php _e( 'Note:', 'woocommerce-delivery-notes' ); ?></strong>
|
182 |
+
<?php _e('Leave blank to not print any policies or conditions.', 'woocommerce-delivery-notes' ); ?>
|
183 |
+
</span>
|
184 |
+
</td>
|
185 |
+
</tr>
|
186 |
+
<tr>
|
187 |
+
<th>
|
188 |
+
<label for="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>footer_imprint"><?php _e( 'Footer Imprint', 'woocommerce-delivery-notes' ); ?></label>
|
189 |
+
</th>
|
190 |
+
<td>
|
191 |
+
<textarea name="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>footer_imprint" rows="5" class="large-text"><?php echo wp_kses_stripslashes( get_option( WooCommerce_Delivery_Notes::$plugin_prefix . 'footer_imprint' ) ); ?></textarea>
|
192 |
+
<span class="description">
|
193 |
+
<?php _e( 'Add some further footer imprint, copyright notes etc. to get the printed sheets a bit more branded to your needs.', 'woocommerce-delivery-notes' ); ?>
|
194 |
+
<br /><strong><?php _e( 'Note:', 'woocommerce-delivery-notes' ); ?></strong>
|
195 |
+
<?php _e('Leave blank to not print a footer.', 'woocommerce-delivery-notes' ); ?>
|
196 |
+
</span>
|
197 |
+
</td>
|
198 |
+
</tr>
|
199 |
+
</tbody>
|
200 |
+
</table>
|
201 |
+
<h3><?php _e( 'Preview Options', 'woocommerce-delivery-notes' ); ?></h3>
|
202 |
+
<table class="form-table">
|
203 |
+
<tbody>
|
204 |
+
<tr>
|
205 |
+
<th>
|
206 |
+
<?php _e( 'Preview opens', 'woocommerce-delivery-notes' ); ?>
|
207 |
+
</th>
|
208 |
+
<td>
|
209 |
+
<input name="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>open_print_window" type="hidden" value="no" />
|
210 |
+
<label for="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>open_print_window"><input name="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>open_print_window" type="checkbox" value="yes" <?php checked( get_option( WooCommerce_Delivery_Notes::$plugin_prefix . 'open_print_window' ), 'yes' );?> /> <?php _e( 'Start printing when the preview page opens', 'woocommerce-delivery-notes' ); ?></label>
|
211 |
+
</td>
|
212 |
+
</tr>
|
213 |
+
</tbody>
|
214 |
+
</table>
|
215 |
+
<h3><?php _e( 'Order Numbering Options', 'woocommerce-delivery-notes' ); ?></h3>
|
216 |
+
<table class="form-table">
|
217 |
+
<tbody>
|
218 |
+
<tr>
|
219 |
+
<th>
|
220 |
+
<label for="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>before_order_number"><?php _e( 'Before order number', 'woocommerce-delivery-notes' ); ?></label>
|
221 |
+
</th>
|
222 |
+
<td>
|
223 |
+
<input name="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>before_order_number" type="text" value="<?php echo wp_kses_stripslashes( get_option( WooCommerce_Delivery_Notes::$plugin_prefix . 'before_order_number' ) ); ?>" />
|
224 |
+
<span class="description"><?php _e( 'This text will be placed before the order number ie. "YOUR-TEXT123".', 'woocommerce-delivery-notes' ); ?></span>
|
225 |
+
</td>
|
226 |
+
</tr>
|
227 |
+
<tr>
|
228 |
+
<th>
|
229 |
+
<label for="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>after_order_number"><?php _e( 'After order number', 'woocommerce-delivery-notes' ); ?></label>
|
230 |
+
</th>
|
231 |
+
<td>
|
232 |
+
<input name="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>after_order_number" type="text" value="<?php echo wp_kses_stripslashes( get_option( WooCommerce_Delivery_Notes::$plugin_prefix . 'after_order_number' ) ); ?>" />
|
233 |
+
<span class="description"><?php _e( 'This text will be placed after the order number ie. "123YOUR-TEXT".', 'woocommerce-delivery-notes' ); ?></span>
|
234 |
+
</td>
|
235 |
+
</tr>
|
236 |
+
<tr>
|
237 |
+
<th>
|
238 |
+
<label for="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>order_number_offset"><?php _e( 'Number Offset', 'woocommerce-delivery-notes' ); ?></label>
|
239 |
+
</th>
|
240 |
+
<td>
|
241 |
+
<?php $value = intval( get_option( WooCommerce_Delivery_Notes::$plugin_prefix . 'order_number_offset' ) ); ?>
|
242 |
+
<input name="<?php echo WooCommerce_Delivery_Notes::$plugin_prefix; ?>order_number_offset" type="text" value="<?php echo ( is_int( $value ) ? wp_kses_stripslashes( $value ) : '' ); ?>" />
|
243 |
+
<span class="description"><?php _e( 'This adds an offset to the WooCommerce order number. Helpful for a contiguous numbering.', 'woocommerce-delivery-notes' ); ?>
|
244 |
+
<strong><?php _e( 'Note:', 'woocommerce-delivery-notes' ); ?></strong>
|
245 |
+
<?php _e( 'Only positive or negative numbers are allowed.', 'woocommerce-delivery-notes' ); ?></span>
|
246 |
+
</td>
|
247 |
+
</tr>
|
248 |
+
</tbody>
|
249 |
+
</table>
|
250 |
+
|
251 |
+
<input type="hidden" name="<?php echo $this->hidden_submit; ?>" value="submitted">
|
252 |
+
<?php
|
253 |
+
}
|
254 |
+
|
255 |
+
/**
|
256 |
+
* Save all settings
|
257 |
+
*
|
258 |
+
* @since 1.0
|
259 |
+
* @version 1.1
|
260 |
+
*/
|
261 |
+
public function save_settings_page() {
|
262 |
+
if ( isset( $_POST[ $this->hidden_submit ] ) && $_POST[ $this->hidden_submit ] == 'submitted' ) {
|
263 |
+
foreach ( $_POST as $key => $value ) {
|
264 |
+
if ( $key != $this->hidden_submit && strpos( $key, WooCommerce_Delivery_Notes::$plugin_prefix ) !== false ) {
|
265 |
+
if ( empty( $value ) ) {
|
266 |
+
delete_option( $key );
|
267 |
+
} else {
|
268 |
+
if ( get_option( $key ) && get_option( $key ) != $value ) {
|
269 |
+
update_option( $key, $value );
|
270 |
+
}
|
271 |
+
else {
|
272 |
+
add_option( $key, $value );
|
273 |
+
}
|
274 |
+
}
|
275 |
+
}
|
276 |
+
}
|
277 |
+
}
|
278 |
+
}
|
279 |
+
|
280 |
+
}
|
281 |
+
|
282 |
+
}
|
classes/class-wcdn-writepanel.php
ADDED
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Writepanel class
|
5 |
+
*
|
6 |
+
* @since 1.0
|
7 |
+
*/
|
8 |
+
if ( !class_exists( 'WooCommerce_Delivery_Notes_Writepanel' ) ) {
|
9 |
+
|
10 |
+
class WooCommerce_Delivery_Notes_Writepanel {
|
11 |
+
|
12 |
+
/**
|
13 |
+
* Constructor
|
14 |
+
*
|
15 |
+
* @since 1.0
|
16 |
+
*/
|
17 |
+
public function __construct() {
|
18 |
+
}
|
19 |
+
|
20 |
+
/**
|
21 |
+
* Load the class
|
22 |
+
*
|
23 |
+
* @since 1.0
|
24 |
+
*/
|
25 |
+
public function load() {
|
26 |
+
add_action( 'admin_init', array( $this, 'load_hooks' ) );
|
27 |
+
}
|
28 |
+
|
29 |
+
/**
|
30 |
+
* Load the admin hooks
|
31 |
+
*
|
32 |
+
* @since 1.0
|
33 |
+
*/
|
34 |
+
public function load_hooks() {
|
35 |
+
add_filter( 'plugin_row_meta', array( $this, 'add_support_links' ), 10, 2 );
|
36 |
+
add_action( 'add_meta_boxes_shop_order', array( $this, 'add_box' ) );
|
37 |
+
add_action( 'admin_print_styles-post.php', array( $this, 'print_styles' ) );
|
38 |
+
}
|
39 |
+
|
40 |
+
/**
|
41 |
+
* Load the styles
|
42 |
+
*
|
43 |
+
* @since 1.0
|
44 |
+
*/
|
45 |
+
public function print_styles() {
|
46 |
+
global $post_type;
|
47 |
+
|
48 |
+
if ( $post_type == 'shop_order' ) {
|
49 |
+
wp_enqueue_style( 'delivery-notes-styles', WooCommerce_Delivery_Notes::$plugin_url . 'css/style.css' );
|
50 |
+
}
|
51 |
+
}
|
52 |
+
|
53 |
+
/**
|
54 |
+
* Add various support links to plugin page
|
55 |
+
*
|
56 |
+
* @since 1.0
|
57 |
+
*/
|
58 |
+
public function add_support_links( $links, $file ) {
|
59 |
+
if ( !current_user_can( 'install_plugins' ) ) {
|
60 |
+
return $links;
|
61 |
+
}
|
62 |
+
|
63 |
+
if ( $file == WooCommerce_Delivery_Notes::$plugin_basefile ) {
|
64 |
+
$links[] = '<a href="http://wordpress.org/extend/plugins/woocommerce-delivery-notes/faq/" target="_new" title="' . __( 'FAQ', 'woocommerce-delivery-notes' ) . '">' . __( 'FAQ', 'woocommerce-delivery-notes' ) . '</a>';
|
65 |
+
$links[] = '<a href="http://wordpress.org/tags/woocommerce-delivery-notes?forum_id=10" target="_new" title="' . __( 'Support', 'woocommerce-delivery-notes' ) . '">' . __( 'Support', 'woocommerce-delivery-notes' ) . '</a>';
|
66 |
+
$links[] = '<a href="' . __( 'http://genesisthemes.de/en/donate/', 'woocommerce-delivery-notes' ) . '" target="_new" title="' . __( 'Donate', 'woocommerce-delivery-notes' ) . '">' . __( 'Donate', 'woocommerce-delivery-notes' ) . '</a>';
|
67 |
+
}
|
68 |
+
|
69 |
+
return $links;
|
70 |
+
}
|
71 |
+
|
72 |
+
/**
|
73 |
+
* Add the meta box on the single order page
|
74 |
+
*
|
75 |
+
* @since 1.0
|
76 |
+
*/
|
77 |
+
public function add_box() {
|
78 |
+
add_meta_box( 'woocommerce-delivery-notes-box', __( 'Order Print', 'woocommerce-delivery-notes' ), array( $this, 'create_box_content' ), 'shop_order', 'side', 'default' );
|
79 |
+
}
|
80 |
+
|
81 |
+
/**
|
82 |
+
* Create the meta box content on the single order page
|
83 |
+
*
|
84 |
+
* @since 1.0
|
85 |
+
*/
|
86 |
+
public function create_box_content() {
|
87 |
+
global $post_id;
|
88 |
+
|
89 |
+
?>
|
90 |
+
<ul class="woocommerce-delivery-notes-actions">
|
91 |
+
<li><a href="<?php echo WooCommerce_Delivery_Notes::$plugin_url; ?>woocommerce-delivery-notes-print.php?order=<?php echo $post_id; ?>&name=invoice" id="woocommerce-delivery-notes-print-invoice" class="button button" target="_blank"><?php _e( 'Print Invoice', 'woocommerce-delivery-notes' ); ?></a></li>
|
92 |
+
<li><a href="<?php echo WooCommerce_Delivery_Notes::$plugin_url; ?>woocommerce-delivery-notes-print.php?order=<?php echo $post_id; ?>&name=delivery-note" id="woocommerce-delivery-notes-print-delivery-note" class="button button" target="_blank"><?php _e( 'Print Delivery Note', 'woocommerce-delivery-notes' ); ?></a></li>
|
93 |
+
</ul>
|
94 |
+
<?php
|
95 |
+
}
|
96 |
+
|
97 |
+
}
|
98 |
+
|
99 |
+
}
|
css/style.css
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
ul.woocommerce-delivery-notes-actions {
|
2 |
+
margin: 0px;
|
3 |
+
}
|
4 |
+
ul.woocommerce-delivery-notes-actions li {
|
5 |
+
text-align: center;
|
6 |
+
padding: 6px 0px;
|
7 |
+
margin: 0px;
|
8 |
+
width: 49%;
|
9 |
+
}
|
delivery-note-template/css/style.css
DELETED
@@ -1,295 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* @description WooCommerce Delivery Notes styles
|
3 |
-
*
|
4 |
-
* @since 1.0
|
5 |
-
* @version 1.1
|
6 |
-
*
|
7 |
-
* @package WooCommerce Delivery Notes
|
8 |
-
* @subpackage Template
|
9 |
-
*
|
10 |
-
* @author David Decker - DECKERWEB
|
11 |
-
* @link http://deckerweb.de/
|
12 |
-
* @copyright Copyright 2011-2012, David Decker - DECKERWEB
|
13 |
-
* @license GPLv3
|
14 |
-
*/
|
15 |
-
|
16 |
-
/* Table of Contents
|
17 |
-
|
18 |
-
* CSS Reset
|
19 |
-
* Delivery Note Page Layout
|
20 |
-
* CSS Media Queries for Print
|
21 |
-
|
22 |
-
*/
|
23 |
-
|
24 |
-
/* CSS Reset (Do not edit)
|
25 |
-
------------------------------------------*/
|
26 |
-
|
27 |
-
/**
|
28 |
-
* @link http://meyerweb.com/eric/tools/css/reset/
|
29 |
-
* @version v2.0 | 20110126
|
30 |
-
* @license none (public domain)
|
31 |
-
*/
|
32 |
-
|
33 |
-
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, table {
|
34 |
-
border: 0 none;
|
35 |
-
font: inherit;
|
36 |
-
margin: 0;
|
37 |
-
padding: 0;
|
38 |
-
vertical-align: baseline;
|
39 |
-
}
|
40 |
-
|
41 |
-
body {
|
42 |
-
line-height: 1;
|
43 |
-
}
|
44 |
-
|
45 |
-
ol,
|
46 |
-
ul {
|
47 |
-
list-style: none;
|
48 |
-
}
|
49 |
-
|
50 |
-
table {
|
51 |
-
border-collapse: collapse;
|
52 |
-
border-spacing: 0;
|
53 |
-
}
|
54 |
-
|
55 |
-
|
56 |
-
/* Delivery Note Page Layout
|
57 |
-
------------------------------------------*/
|
58 |
-
|
59 |
-
/**
|
60 |
-
* Edit all the following rules to your needs
|
61 |
-
*
|
62 |
-
* For having your custom template in your theme please see the FAQ section:
|
63 |
-
* @link http://wordpress.org/extend/plugins/woocommerce-delivery-notes/faq/
|
64 |
-
*/
|
65 |
-
|
66 |
-
/* Main Body */
|
67 |
-
body {
|
68 |
-
background: #fff;
|
69 |
-
color: #000;
|
70 |
-
font-family: sans-serif;
|
71 |
-
font-size: .875em;
|
72 |
-
line-height: 125%;
|
73 |
-
}
|
74 |
-
|
75 |
-
/* Basic Table Styling */
|
76 |
-
td,
|
77 |
-
th {
|
78 |
-
border: 1px #ccc solid;
|
79 |
-
padding: 3px 5px;
|
80 |
-
vertical-align: top;
|
81 |
-
}
|
82 |
-
|
83 |
-
th {
|
84 |
-
color: #000;
|
85 |
-
font-weight: 700;
|
86 |
-
}
|
87 |
-
|
88 |
-
/* Main Sections of the Page */
|
89 |
-
#container {
|
90 |
-
margin-left: auto;
|
91 |
-
margin-right: auto;
|
92 |
-
padding-left: 80px;
|
93 |
-
padding-right: 80px;
|
94 |
-
padding-top: 40px;
|
95 |
-
text-align: left;
|
96 |
-
width: 900px;
|
97 |
-
}
|
98 |
-
|
99 |
-
#header,
|
100 |
-
#footer {
|
101 |
-
overflow: hidden;
|
102 |
-
padding-bottom: 20px;
|
103 |
-
padding-top: 20px;
|
104 |
-
}
|
105 |
-
|
106 |
-
#footer {
|
107 |
-
margin-top: 40px;
|
108 |
-
}
|
109 |
-
|
110 |
-
/* Options link - "Print Page" */
|
111 |
-
.options a {
|
112 |
-
background-color: #f2f2f2;
|
113 |
-
border: 1px solid #bbb;
|
114 |
-
border-radius: 11px;
|
115 |
-
-webkit-border-radius: 11px;
|
116 |
-
-moz-border-radius: 11px;
|
117 |
-
color: #000;
|
118 |
-
display: block;
|
119 |
-
float: right;
|
120 |
-
font-size: .90em;
|
121 |
-
height: 22px;
|
122 |
-
line-height: 22px;
|
123 |
-
padding-left: 20px;
|
124 |
-
padding-right: 20px;
|
125 |
-
text-decoration: none;
|
126 |
-
}
|
127 |
-
|
128 |
-
.options a:active {
|
129 |
-
background-color: #eee;
|
130 |
-
border: 1px solid #666;
|
131 |
-
}
|
132 |
-
|
133 |
-
/* Special Margin & Overflow Stylings */
|
134 |
-
#wcdn-head,
|
135 |
-
#order-items,
|
136 |
-
#order-summary {
|
137 |
-
margin-bottom: 60px;
|
138 |
-
}
|
139 |
-
|
140 |
-
#order-info {
|
141 |
-
margin-bottom: 100px;
|
142 |
-
}
|
143 |
-
|
144 |
-
#wcdn-head,
|
145 |
-
#order-info,
|
146 |
-
#order-summary,
|
147 |
-
#order-notes {
|
148 |
-
overflow: hidden;
|
149 |
-
}
|
150 |
-
|
151 |
-
/* Delivery Notes Head - #wcdn-head */
|
152 |
-
#wcdn-head .wcdn-heading {
|
153 |
-
border-bottom: 1px solid #ccc;
|
154 |
-
border-top: 1px solid #ccc;
|
155 |
-
font-size: 1.1em;
|
156 |
-
font-weight: 700;
|
157 |
-
margin-bottom: 15px;
|
158 |
-
padding: 9px 0 6px;
|
159 |
-
text-align: center;
|
160 |
-
text-transform: uppercase;
|
161 |
-
width: 100%;
|
162 |
-
}
|
163 |
-
|
164 |
-
#wcdn-head div {
|
165 |
-
width: 400px;
|
166 |
-
}
|
167 |
-
|
168 |
-
#wcdn-head .company-name {
|
169 |
-
float: left;
|
170 |
-
font-size: 2.5em;
|
171 |
-
line-height: 125%;
|
172 |
-
}
|
173 |
-
|
174 |
-
#wcdn-head .company-info {
|
175 |
-
float: right;
|
176 |
-
text-align: right;
|
177 |
-
}
|
178 |
-
|
179 |
-
/* Order Listing/Info - #order-listing */
|
180 |
-
#order-listing h3 {
|
181 |
-
font-size: 1.1em;
|
182 |
-
font-weight: 700;
|
183 |
-
}
|
184 |
-
|
185 |
-
#order-listing .shipping-info {
|
186 |
-
float: left;
|
187 |
-
margin-left: 20px;
|
188 |
-
width: 350px;
|
189 |
-
}
|
190 |
-
|
191 |
-
#order-listing table {
|
192 |
-
float: right;
|
193 |
-
width: 350px;
|
194 |
-
}
|
195 |
-
|
196 |
-
#order-listing th {
|
197 |
-
width: 165px;
|
198 |
-
}
|
199 |
-
|
200 |
-
/* Order Items - #order-items */
|
201 |
-
#order-items {
|
202 |
-
clear: both;
|
203 |
-
margin-top: 20px;
|
204 |
-
}
|
205 |
-
|
206 |
-
#order-items table {
|
207 |
-
width: 100%;
|
208 |
-
}
|
209 |
-
|
210 |
-
#order-items .description {
|
211 |
-
width: 539px;
|
212 |
-
}
|
213 |
-
|
214 |
-
#order-items .quantity {
|
215 |
-
width: 165px;
|
216 |
-
}
|
217 |
-
|
218 |
-
#order-items .sku,
|
219 |
-
#order-items .weight {
|
220 |
-
color: #666;
|
221 |
-
font-size: 0.85em;
|
222 |
-
font-style: italic;
|
223 |
-
margin-left: 15px;
|
224 |
-
}
|
225 |
-
|
226 |
-
/* Order Summary - #order-summary */
|
227 |
-
#order-summary table {
|
228 |
-
float: right;
|
229 |
-
width: 350px;
|
230 |
-
}
|
231 |
-
|
232 |
-
#order-summary th {
|
233 |
-
width: 165px;
|
234 |
-
}
|
235 |
-
|
236 |
-
#order-summary #total-label,
|
237 |
-
#order-summary #total-number {
|
238 |
-
border-top: 2px solid #999;
|
239 |
-
border-bottom: 3px solid #999;
|
240 |
-
padding-top: 7px;
|
241 |
-
}
|
242 |
-
|
243 |
-
|
244 |
-
/* Order Notes - #order-notes */
|
245 |
-
#order-notes {
|
246 |
-
border-top: 1px solid #ccc;
|
247 |
-
margin-top: 60px;
|
248 |
-
padding-top: 10px;
|
249 |
-
}
|
250 |
-
|
251 |
-
#order-notes .notes-personal,
|
252 |
-
#order-notes .notes-shipping,
|
253 |
-
#order-notes .notes-policies {
|
254 |
-
margin-bottom: 20px;
|
255 |
-
}
|
256 |
-
|
257 |
-
#order-notes .notes-personal {
|
258 |
-
color: #666;
|
259 |
-
font-size: 1.2em;
|
260 |
-
font-style: italic;
|
261 |
-
padding: 10px 20px;
|
262 |
-
}
|
263 |
-
|
264 |
-
#order-notes .notes-shipping,
|
265 |
-
#order-notes .notes-policies {
|
266 |
-
color: #444;
|
267 |
-
float: left;
|
268 |
-
font-size: .95em;
|
269 |
-
line-height: 125%;
|
270 |
-
}
|
271 |
-
|
272 |
-
/* Footer Imprint - #wcdn-footer */
|
273 |
-
#wcdn-footer {
|
274 |
-
border-top: 1px solid #ccc;
|
275 |
-
padding: 10px 20px;
|
276 |
-
}
|
277 |
-
|
278 |
-
#wcdn-footer .wcdn-footer-imprint {
|
279 |
-
color: #666;
|
280 |
-
float: right;
|
281 |
-
font-size: .80em;
|
282 |
-
font-style: italic;
|
283 |
-
text-align: right;
|
284 |
-
}
|
285 |
-
|
286 |
-
|
287 |
-
/* CSS Media Queries for Print
|
288 |
-
------------------------------------------*/
|
289 |
-
|
290 |
-
@media print {
|
291 |
-
#header,
|
292 |
-
#footer {
|
293 |
-
display: none;
|
294 |
-
}
|
295 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
languages/woocommerce-delivery-notes-de_DE.mo
CHANGED
Binary file
|
languages/woocommerce-delivery-notes-de_DE.po
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
# This German Language File: Copyright (C) 2011-2012 by David Decker of deckerweb.de & genesisthemes.de
|
2 |
-
# This file is distributed under the same license as the WooCommerce Delivery Notes Plugin package.
|
3 |
#
|
4 |
# Weitere deutsche Sprachdateien fuer WooCommerce und WordPress sind hier zu finden:
|
5 |
# --> http://deckerweb.de/sprachdateien/
|
6 |
#
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
-
"Project-Id-Version: WooCommerce Delivery Notes (Plugin, SIE-Version)\n"
|
10 |
"Report-Msgid-Bugs-To: http://wordpress.org/tags/woocommerce-delivery-notes\n"
|
11 |
-
"POT-Creation-Date:
|
12 |
-
"PO-Revision-Date: 2012-
|
13 |
"Last-Translator: David Decker <deckerweb.mobil@googlemail.com>\n"
|
14 |
"Language-Team: DECKERWEB <deckerweb.mobil@googlemail.com>\n"
|
15 |
"MIME-Version: 1.0\n"
|
@@ -24,427 +24,368 @@ msgstr ""
|
|
24 |
"X-Poedit-SearchPath-0: .\n"
|
25 |
|
26 |
#@ woocommerce-delivery-notes
|
27 |
-
#: delivery-
|
28 |
-
#: delivery-
|
29 |
-
#: wcdn-classes.php:105
|
30 |
msgid "Delivery Note"
|
31 |
msgstr "Lieferschein"
|
32 |
|
33 |
#@ woocommerce-delivery-notes
|
34 |
-
#: delivery-
|
35 |
-
#: delivery-
|
36 |
msgid "Print Page"
|
37 |
msgstr "Seite ausdrucken"
|
38 |
|
39 |
#@ woocommerce-delivery-notes
|
40 |
-
#: delivery-
|
41 |
msgid "Quantity"
|
42 |
msgstr "Menge"
|
43 |
|
44 |
#@ woocommerce-delivery-notes
|
45 |
-
#: delivery-
|
46 |
msgid "Price"
|
47 |
msgstr "Preis"
|
48 |
|
49 |
#@ woocommerce-delivery-notes
|
50 |
-
#: delivery-
|
51 |
msgid "Subtotal"
|
52 |
msgstr "Zwischensumme"
|
53 |
|
54 |
#@ woocommerce-delivery-notes
|
55 |
-
#: delivery-
|
56 |
msgid "Shipping"
|
57 |
msgstr "Versand"
|
58 |
|
59 |
#@ woocommerce-delivery-notes
|
60 |
-
#: delivery-
|
61 |
msgid "Tax"
|
62 |
msgstr "Mwst."
|
63 |
|
64 |
#@ woocommerce-delivery-notes
|
65 |
-
#: delivery-
|
66 |
msgid "Discount"
|
67 |
msgstr "Rabatt"
|
68 |
|
69 |
#@ woocommerce-delivery-notes
|
70 |
-
#: delivery-
|
71 |
msgid "Grand Total"
|
72 |
msgstr "Gesamtsumme"
|
73 |
|
74 |
#@ woocommerce-delivery-notes
|
75 |
-
#:
|
76 |
-
#: wcdn-print.php:31
|
77 |
msgid "You do not have sufficient permissions to access this page."
|
78 |
msgstr "Sie haben keine ausreichende Rechte, um auf diese Seite zugreifen zu können."
|
79 |
|
80 |
#@ woocommerce-delivery-notes
|
81 |
-
#: wcdn-
|
82 |
-
msgid "View & Print Delivery Note"
|
83 |
-
msgstr "Lieferschein Anzeigen & Drucken"
|
84 |
-
|
85 |
-
#@ woocommerce-delivery-notes
|
86 |
-
#: wcdn-classes.php:136
|
87 |
-
msgid "Delivery Notes Settings"
|
88 |
-
msgstr "Lieferschein-Einstellungen"
|
89 |
-
|
90 |
-
#@ woocommerce-delivery-notes
|
91 |
-
#: wcdn-classes.php:165
|
92 |
-
msgid "Settings saved."
|
93 |
-
msgstr "Einstellungen gespeichert."
|
94 |
-
|
95 |
-
#@ woocommerce-delivery-notes
|
96 |
-
#: wcdn-classes.php:253
|
97 |
-
msgid "Save Changes"
|
98 |
-
msgstr "Änderungen speichern"
|
99 |
-
|
100 |
-
#@ woocommerce-delivery-notes
|
101 |
-
#. translators: plugin header field 'Name'
|
102 |
-
#: woocommerce-delivery-notes.php:0
|
103 |
-
msgid "WooCommerce Delivery Notes"
|
104 |
-
msgstr "WooCommerce Lieferscheine"
|
105 |
-
|
106 |
-
#@ woocommerce-delivery-notes
|
107 |
-
#. translators: plugin header field 'PluginURI'
|
108 |
-
#: woocommerce-delivery-notes.php:0
|
109 |
-
msgid "http://genesisthemes.de/en/wp-plugins/woocommerce-delivery-notes/"
|
110 |
-
msgstr "http://genesisthemes.de/plugins/woocommerce-delivery-notes/"
|
111 |
-
|
112 |
-
#@ woocommerce-delivery-notes
|
113 |
-
#. translators: plugin header field 'Author'
|
114 |
-
#: woocommerce-delivery-notes.php:0
|
115 |
-
msgid "David Decker - DECKERWEB"
|
116 |
-
msgstr "David Decker - DECKERWEB.de"
|
117 |
-
|
118 |
-
#@ woocommerce-delivery-notes
|
119 |
-
#. translators: plugin header field 'AuthorURI'
|
120 |
-
#: woocommerce-delivery-notes.php:0
|
121 |
-
msgid "http://deckerweb.de/"
|
122 |
-
msgstr "http://deckerweb.de/"
|
123 |
-
|
124 |
-
#@ woocommerce-delivery-notes
|
125 |
-
#: woocommerce-delivery-notes.php:59
|
126 |
msgid "Go to the settings page"
|
127 |
msgstr "Zur Einstellungsseite des Plugins"
|
128 |
|
129 |
#@ woocommerce-delivery-notes
|
130 |
-
#:
|
131 |
msgid "Settings"
|
132 |
msgstr "Einstellungen"
|
133 |
|
134 |
#@ woocommerce-delivery-notes
|
135 |
-
#: wcdn-
|
136 |
msgid "FAQ"
|
137 |
msgstr "FAQ - Häufige Fragen"
|
138 |
|
139 |
#@ woocommerce-delivery-notes
|
140 |
-
#: wcdn-
|
141 |
msgid "Support"
|
142 |
msgstr "Hilfe und Unterstützung (Support)"
|
143 |
|
144 |
#@ woocommerce-delivery-notes
|
145 |
-
#: wcdn-
|
146 |
-
#: wcdn-help.php:161
|
147 |
msgid "http://genesisthemes.de/en/donate/"
|
148 |
msgstr "http://genesisthemes.de/spenden/"
|
149 |
|
150 |
#@ woocommerce-delivery-notes
|
151 |
-
#: wcdn-
|
152 |
msgid "Donate"
|
153 |
msgstr "Spenden"
|
154 |
|
155 |
#@ woocommerce-delivery-notes
|
156 |
-
#: delivery-
|
157 |
msgid "Product Name"
|
158 |
msgstr "Produktbezeichnung"
|
159 |
|
160 |
#@ woocommerce-delivery-notes
|
161 |
-
#: wcdn-
|
162 |
-
msgid "Company/Shop Address:"
|
163 |
-
msgstr "Firmen-/ Shop-Anschrift:"
|
164 |
-
|
165 |
-
#@ woocommerce-delivery-notes
|
166 |
-
#: wcdn-classes.php:212
|
167 |
-
msgid "Personal Notes:"
|
168 |
-
msgstr "Persönliche Anmerkungen:"
|
169 |
-
|
170 |
-
#@ woocommerce-delivery-notes
|
171 |
-
#: wcdn-classes.php:225
|
172 |
msgid "Returns Policy, Conditions, etc.:"
|
173 |
msgstr "Rückgabe- und sonstige Bedingungen:"
|
174 |
|
175 |
#@ woocommerce-delivery-notes
|
176 |
-
#:
|
177 |
-
msgid "Footer Imprint:"
|
178 |
-
msgstr "Fußzeile Impressum:"
|
179 |
-
|
180 |
-
#@ woocommerce-delivery-notes
|
181 |
-
#: delivery-note-template/template.php:36
|
182 |
-
msgid "Recipient:"
|
183 |
-
msgstr "Empfänger:"
|
184 |
-
|
185 |
-
#@ woocommerce-delivery-notes
|
186 |
-
#: delivery-note-template/template.php:51
|
187 |
msgid "Order No."
|
188 |
msgstr "Bestell-Nr."
|
189 |
|
190 |
#@ woocommerce-delivery-notes
|
191 |
-
#: delivery-
|
192 |
msgid "Order Date"
|
193 |
msgstr "Bestelldatum"
|
194 |
|
195 |
#@ woocommerce-delivery-notes
|
196 |
-
#: delivery-
|
197 |
msgid "SKU:"
|
198 |
msgstr "Art.-Nr.:"
|
199 |
|
200 |
#@ woocommerce-delivery-notes
|
201 |
-
#: delivery-
|
202 |
msgid "Weight:"
|
203 |
msgstr "Gewicht:"
|
204 |
|
205 |
#@ woocommerce-delivery-notes
|
206 |
-
#: wcdn-
|
207 |
-
|
208 |
-
|
209 |
-
msgstr "Was das Plugin bewirkt"
|
210 |
|
211 |
#@ woocommerce-delivery-notes
|
212 |
-
#: wcdn-
|
213 |
-
|
214 |
-
|
215 |
-
msgstr "FAQ - Häufig gestellte Fragen"
|
216 |
|
217 |
#@ woocommerce-delivery-notes
|
218 |
-
#: wcdn-
|
219 |
-
#: wcdn-
|
220 |
-
|
221 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
222 |
|
223 |
#@ woocommerce-delivery-notes
|
224 |
-
#: wcdn-
|
225 |
-
|
226 |
-
|
227 |
-
msgstr "Hilfe & Unterstützung - Spenden - Bewertung & Tipps"
|
228 |
|
229 |
#@ woocommerce-delivery-notes
|
230 |
-
#: wcdn-
|
231 |
-
|
232 |
-
|
233 |
-
#: wcdn-help.php:170
|
234 |
-
msgid "Plugin: WooCommerce Delivery Notes"
|
235 |
-
msgstr "Plugin: WooCommerce Lieferscheine"
|
236 |
|
237 |
#@ woocommerce-delivery-notes
|
238 |
-
#: wcdn-
|
239 |
-
|
240 |
-
|
|
|
241 |
|
242 |
#@ woocommerce-delivery-notes
|
243 |
-
#: wcdn-
|
244 |
-
|
245 |
-
|
246 |
-
msgstr "<strong>Spenden:</strong> Bitte %1$sspenden für die weitere Pflege und Entwicklung dieses Plugins%2$s. <em>Bereits im Voraus vielen Dank für jede Unterstützung!</em>"
|
247 |
|
248 |
#@ woocommerce-delivery-notes
|
249 |
-
#: wcdn-
|
250 |
-
|
251 |
-
|
252 |
-
msgstr "<strong>Unterstützung (Support):</strong> Erfolgt via %1$sWordPress.org Plugin-Supportforum%2$s. - Hinweis: Eventuell wird es in Zukunft ein eigenes Supportforum geben."
|
253 |
|
254 |
#@ woocommerce-delivery-notes
|
255 |
-
#: wcdn-
|
256 |
-
msgid "
|
257 |
-
msgstr "
|
258 |
|
259 |
#@ woocommerce-delivery-notes
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
msgstr "Dieses Plugin stellt einfache Lieferscheine für das WooCommerce Shop Plugin bereit. Es können dabei auch Firmen-/ Shop-Infos ebenso wie persönliche Anmerkungen oder Bedingungen/ Widerrufsbelehrungen zur Druckseite hinzugefügt werden."
|
264 |
|
265 |
#@ woocommerce-delivery-notes
|
266 |
-
#: wcdn-
|
267 |
-
msgid "
|
268 |
-
msgstr "
|
269 |
|
270 |
#@ woocommerce-delivery-notes
|
271 |
-
#: wcdn-
|
272 |
-
|
273 |
-
|
274 |
-
#: wcdn-classes.php:231
|
275 |
-
#: wcdn-classes.php:244
|
276 |
-
msgid "Note:"
|
277 |
-
msgstr "Hinweis:"
|
278 |
|
279 |
#@ woocommerce-delivery-notes
|
280 |
-
#: wcdn-
|
281 |
-
msgid "
|
282 |
-
msgstr "
|
283 |
|
284 |
#@ woocommerce-delivery-notes
|
285 |
-
#: wcdn-
|
286 |
-
msgid "
|
287 |
-
msgstr "
|
288 |
|
289 |
#@ woocommerce-delivery-notes
|
290 |
-
#: wcdn-
|
291 |
-
msgid "
|
292 |
-
msgstr "
|
293 |
|
294 |
#@ woocommerce-delivery-notes
|
295 |
-
#: wcdn-
|
296 |
-
msgid "
|
297 |
-
msgstr "
|
298 |
|
299 |
#@ woocommerce-delivery-notes
|
300 |
-
#: wcdn-
|
301 |
-
msgid "
|
302 |
-
msgstr "
|
303 |
|
304 |
#@ woocommerce-delivery-notes
|
305 |
-
#: wcdn-
|
306 |
-
msgid "
|
307 |
-
msgstr "
|
308 |
|
309 |
#@ woocommerce-delivery-notes
|
310 |
-
#: wcdn-
|
311 |
-
msgid "
|
312 |
-
msgstr "
|
313 |
|
314 |
#@ woocommerce-delivery-notes
|
315 |
-
#: wcdn-
|
316 |
-
msgid "
|
317 |
-
msgstr "
|
318 |
|
319 |
#@ woocommerce-delivery-notes
|
320 |
-
#: wcdn-
|
321 |
-
msgid "
|
322 |
-
msgstr "
|
323 |
|
324 |
#@ woocommerce-delivery-notes
|
325 |
-
#: wcdn-
|
326 |
-
msgid "
|
327 |
-
msgstr "
|
328 |
|
329 |
#@ woocommerce-delivery-notes
|
330 |
-
#: wcdn-
|
331 |
-
msgid "
|
332 |
-
msgstr "
|
333 |
|
334 |
#@ woocommerce-delivery-notes
|
335 |
-
#: wcdn-
|
336 |
-
msgid "
|
337 |
-
msgstr "
|
338 |
|
339 |
#@ woocommerce-delivery-notes
|
340 |
-
#: wcdn-
|
341 |
-
msgid "
|
342 |
-
msgstr "
|
343 |
|
344 |
#@ woocommerce-delivery-notes
|
345 |
-
#: wcdn-
|
346 |
-
msgid "
|
347 |
-
msgstr "
|
348 |
|
349 |
#@ woocommerce-delivery-notes
|
350 |
-
#: wcdn-
|
351 |
-
msgid "
|
352 |
-
msgstr "
|
353 |
|
354 |
#@ woocommerce-delivery-notes
|
355 |
-
#: wcdn-
|
356 |
-
msgid "
|
357 |
-
msgstr "
|
358 |
|
359 |
#@ woocommerce-delivery-notes
|
360 |
-
#: wcdn-
|
361 |
-
|
362 |
-
|
363 |
-
msgstr "Schauen Sie einfach unter <a href=\"%1$s\">WooCommerce > Bestellungen</a> und rufen Sie dort eine einzelne Bestellung auf. Auf rechten Seite erscheint die <em>Lieferschein</em>-Metabox. Klicken Sie dort und es öffnet sich der Lieferschein zum Ausdrucken. Das ist schon alles :-)."
|
364 |
|
365 |
#@ woocommerce-delivery-notes
|
366 |
-
#: wcdn-
|
367 |
-
|
368 |
-
|
369 |
-
msgstr "Frage:"
|
370 |
|
371 |
#@ woocommerce-delivery-notes
|
372 |
-
#: wcdn-
|
373 |
-
|
374 |
-
|
375 |
-
msgstr "Antwort:"
|
376 |
|
377 |
#@ woocommerce-delivery-notes
|
378 |
-
#: wcdn-
|
379 |
-
|
380 |
-
|
381 |
-
msgstr "<strong>Bewerten & Tipps:</strong> Wenn das Plugin gefällt, einfach %1$sbei WordPress.org%2$s mit 5 Sternen bewerten. <em>Vielen Dank! :)</em> — %3$sMehr Plugins für Genesis von DECKERWEB%2$s"
|
382 |
|
383 |
#@ woocommerce-delivery-notes
|
384 |
-
#: wcdn-
|
385 |
-
|
386 |
-
|
387 |
-
msgstr "<strong>Autor:</strong> David Decker von %1$sdeckerweb.de%2$s und %3$sGenesisThemes.de%2$s - Mich unterstützen bei %4$sTwitter%2$s, %5$sFacebook%2$s und %6$sGoogle Plus%2$s :-)"
|
388 |
|
389 |
#@ woocommerce-delivery-notes
|
390 |
-
#: wcdn-
|
391 |
-
|
392 |
-
|
393 |
-
msgstr "<strong>Lizenz:</strong> GPL v3 - %1$sMehr Informationen zur GPL-Lizenz (Engl.) ...%2$s"
|
394 |
|
395 |
#@ woocommerce-delivery-notes
|
396 |
-
#: wcdn-
|
397 |
-
msgid "
|
398 |
-
msgstr "
|
399 |
|
400 |
#@ woocommerce-delivery-notes
|
401 |
-
#: wcdn-
|
402 |
-
msgid "
|
403 |
-
msgstr "
|
404 |
|
405 |
#@ woocommerce-delivery-notes
|
406 |
-
#: wcdn-
|
407 |
-
msgid "
|
408 |
-
msgstr "
|
409 |
|
410 |
#@ woocommerce-delivery-notes
|
411 |
-
#:
|
412 |
-
|
413 |
-
|
|
|
414 |
|
415 |
#@ woocommerce-delivery-notes
|
416 |
-
#:
|
417 |
-
msgid "
|
418 |
-
msgstr "
|
419 |
|
420 |
#@ woocommerce-delivery-notes
|
421 |
-
#:
|
422 |
-
msgid "
|
423 |
-
msgstr "
|
424 |
|
425 |
#@ woocommerce-delivery-notes
|
426 |
-
|
427 |
-
|
428 |
-
|
|
|
429 |
|
430 |
#@ woocommerce-delivery-notes
|
431 |
-
|
432 |
-
|
433 |
-
|
|
|
|
|
434 |
|
435 |
#@ woocommerce-delivery-notes
|
436 |
-
|
437 |
-
|
438 |
-
|
|
|
439 |
|
440 |
#@ woocommerce-delivery-notes
|
441 |
-
|
442 |
-
|
443 |
-
|
|
|
444 |
|
445 |
#@ woocommerce-delivery-notes
|
446 |
#. translators: plugin header field 'Version'
|
447 |
#: woocommerce-delivery-notes.php:0
|
448 |
-
msgid "1.
|
449 |
-
msgstr "1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
450 |
|
1 |
# This German Language File: Copyright (C) 2011-2012 by David Decker of deckerweb.de & genesisthemes.de
|
2 |
+
# This file is distributed under the same license as the WooCommerce Print Invoices & Delivery Notes Plugin package.
|
3 |
#
|
4 |
# Weitere deutsche Sprachdateien fuer WooCommerce und WordPress sind hier zu finden:
|
5 |
# --> http://deckerweb.de/sprachdateien/
|
6 |
#
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
+
"Project-Id-Version: WooCommerce Print Invoices & Delivery Notes (Plugin, SIE-Version)\n"
|
10 |
"Report-Msgid-Bugs-To: http://wordpress.org/tags/woocommerce-delivery-notes\n"
|
11 |
+
"POT-Creation-Date: 2012-05-06 19:17+0100\n"
|
12 |
+
"PO-Revision-Date: 2012-05-07 10:17+0100\n"
|
13 |
"Last-Translator: David Decker <deckerweb.mobil@googlemail.com>\n"
|
14 |
"Language-Team: DECKERWEB <deckerweb.mobil@googlemail.com>\n"
|
15 |
"MIME-Version: 1.0\n"
|
24 |
"X-Poedit-SearchPath-0: .\n"
|
25 |
|
26 |
#@ woocommerce-delivery-notes
|
27 |
+
#: templates/delivery-notes/print.php:5
|
28 |
+
#: templates/delivery-notes/print.php:21
|
|
|
29 |
msgid "Delivery Note"
|
30 |
msgstr "Lieferschein"
|
31 |
|
32 |
#@ woocommerce-delivery-notes
|
33 |
+
#: templates/delivery-notes/print.php:129
|
34 |
+
#: woocommerce-delivery-notes-print.php:90
|
35 |
msgid "Print Page"
|
36 |
msgstr "Seite ausdrucken"
|
37 |
|
38 |
#@ woocommerce-delivery-notes
|
39 |
+
#: templates/delivery-notes/print.php:58
|
40 |
msgid "Quantity"
|
41 |
msgstr "Menge"
|
42 |
|
43 |
#@ woocommerce-delivery-notes
|
44 |
+
#: templates/delivery-notes/print.php:59
|
45 |
msgid "Price"
|
46 |
msgstr "Preis"
|
47 |
|
48 |
#@ woocommerce-delivery-notes
|
49 |
+
#: templates/delivery-notes/print.php:79
|
50 |
msgid "Subtotal"
|
51 |
msgstr "Zwischensumme"
|
52 |
|
53 |
#@ woocommerce-delivery-notes
|
54 |
+
#: templates/delivery-notes/print.php:84
|
55 |
msgid "Shipping"
|
56 |
msgstr "Versand"
|
57 |
|
58 |
#@ woocommerce-delivery-notes
|
59 |
+
#: templates/delivery-notes/print.php:90
|
60 |
msgid "Tax"
|
61 |
msgstr "Mwst."
|
62 |
|
63 |
#@ woocommerce-delivery-notes
|
64 |
+
#: templates/delivery-notes/print.php:96
|
65 |
msgid "Discount"
|
66 |
msgstr "Rabatt"
|
67 |
|
68 |
#@ woocommerce-delivery-notes
|
69 |
+
#: templates/delivery-notes/print.php:101
|
70 |
msgid "Grand Total"
|
71 |
msgstr "Gesamtsumme"
|
72 |
|
73 |
#@ woocommerce-delivery-notes
|
74 |
+
#: woocommerce-delivery-notes-print.php:23
|
|
|
75 |
msgid "You do not have sufficient permissions to access this page."
|
76 |
msgstr "Sie haben keine ausreichende Rechte, um auf diese Seite zugreifen zu können."
|
77 |
|
78 |
#@ woocommerce-delivery-notes
|
79 |
+
#: classes/class-wcdn-settings.php:53
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
msgid "Go to the settings page"
|
81 |
msgstr "Zur Einstellungsseite des Plugins"
|
82 |
|
83 |
#@ woocommerce-delivery-notes
|
84 |
+
#: classes/class-wcdn-settings.php:53
|
85 |
msgid "Settings"
|
86 |
msgstr "Einstellungen"
|
87 |
|
88 |
#@ woocommerce-delivery-notes
|
89 |
+
#: classes/class-wcdn-writepanel.php:64
|
90 |
msgid "FAQ"
|
91 |
msgstr "FAQ - Häufige Fragen"
|
92 |
|
93 |
#@ woocommerce-delivery-notes
|
94 |
+
#: classes/class-wcdn-writepanel.php:65
|
95 |
msgid "Support"
|
96 |
msgstr "Hilfe und Unterstützung (Support)"
|
97 |
|
98 |
#@ woocommerce-delivery-notes
|
99 |
+
#: classes/class-wcdn-writepanel.php:66
|
|
|
100 |
msgid "http://genesisthemes.de/en/donate/"
|
101 |
msgstr "http://genesisthemes.de/spenden/"
|
102 |
|
103 |
#@ woocommerce-delivery-notes
|
104 |
+
#: classes/class-wcdn-writepanel.php:66
|
105 |
msgid "Donate"
|
106 |
msgstr "Spenden"
|
107 |
|
108 |
#@ woocommerce-delivery-notes
|
109 |
+
#: templates/delivery-notes/print.php:57
|
110 |
msgid "Product Name"
|
111 |
msgstr "Produktbezeichnung"
|
112 |
|
113 |
#@ woocommerce-delivery-notes
|
114 |
+
#: classes/class-wcdn-settings.php:175
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
115 |
msgid "Returns Policy, Conditions, etc.:"
|
116 |
msgstr "Rückgabe- und sonstige Bedingungen:"
|
117 |
|
118 |
#@ woocommerce-delivery-notes
|
119 |
+
#: templates/delivery-notes/print.php:44
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
msgid "Order No."
|
121 |
msgstr "Bestell-Nr."
|
122 |
|
123 |
#@ woocommerce-delivery-notes
|
124 |
+
#: templates/delivery-notes/print.php:48
|
125 |
msgid "Order Date"
|
126 |
msgstr "Bestelldatum"
|
127 |
|
128 |
#@ woocommerce-delivery-notes
|
129 |
+
#: templates/delivery-notes/print.php:65
|
130 |
msgid "SKU:"
|
131 |
msgstr "Art.-Nr.:"
|
132 |
|
133 |
#@ woocommerce-delivery-notes
|
134 |
+
#: templates/delivery-notes/print.php:65
|
135 |
msgid "Weight:"
|
136 |
msgstr "Gewicht:"
|
137 |
|
138 |
#@ woocommerce-delivery-notes
|
139 |
+
#: classes/class-wcdn-settings.php:96
|
140 |
+
msgid "Plugin: WooCommerce Print Invoices & Delivery Notes"
|
141 |
+
msgstr "Plugin: WooCommerce Rechnungen & Lieferscheine drucken"
|
|
|
142 |
|
143 |
#@ woocommerce-delivery-notes
|
144 |
+
#: classes/class-wcdn-settings.php:141
|
145 |
+
msgid "Your custom company or shop name for the Delivery Note."
|
146 |
+
msgstr "Ihr benutzerdefinierter Firmen- oder Shop-Name für den Lieferschein."
|
|
|
147 |
|
148 |
#@ woocommerce-delivery-notes
|
149 |
+
#: classes/class-wcdn-settings.php:142
|
150 |
+
#: classes/class-wcdn-settings.php:155
|
151 |
+
#: classes/class-wcdn-settings.php:168
|
152 |
+
#: classes/class-wcdn-settings.php:181
|
153 |
+
#: classes/class-wcdn-settings.php:194
|
154 |
+
#: classes/class-wcdn-settings.php:244
|
155 |
+
msgid "Note:"
|
156 |
+
msgstr "Hinweis:"
|
157 |
+
|
158 |
+
#@ woocommerce-delivery-notes
|
159 |
+
#: classes/class-wcdn-settings.php:154
|
160 |
+
msgid "The postal address of the company/shop, which gets printed right of the company/shop name, above the order listings."
|
161 |
+
msgstr "Die Postanschrift der Firma bzw. des Shops, welche rechts neben dem Firmen-/ Shopname ausgegeben wird, über den Bestelldaten."
|
162 |
|
163 |
#@ woocommerce-delivery-notes
|
164 |
+
#: classes/class-wcdn-settings.php:167
|
165 |
+
msgid "Add some personal notes, or season greetings or whatever (e.g. Thank You for Your Order!, Merry Christmas!, etc.)."
|
166 |
+
msgstr "Fügen Sie einige persönliche Anmerkungen wie Dank, jahreszeitliche Grüße hinzu (z.B.: Danke für Ihre Bestellung!, Frohe Weihnachten!, etc.)."
|
|
|
167 |
|
168 |
#@ woocommerce-delivery-notes
|
169 |
+
#: classes/class-wcdn-settings.php:193
|
170 |
+
msgid "Add some further footer imprint, copyright notes etc. to get the printed sheets a bit more branded to your needs."
|
171 |
+
msgstr "Fügen Sie Impressumangaben in der Fußzeile hinzu. Damit können die Ausdrucke noch stärker an Ihr CI bzw. rechtliche Anforderungen angepasst werden."
|
|
|
|
|
|
|
172 |
|
173 |
#@ woocommerce-delivery-notes
|
174 |
+
#: classes/class-wcdn-settings.php:94
|
175 |
+
#: classes/class-wcdn-settings.php:97
|
176 |
+
msgid "About the Plugin"
|
177 |
+
msgstr "Über das Plugin"
|
178 |
|
179 |
#@ woocommerce-delivery-notes
|
180 |
+
#: classes/class-wcdn-settings.php:104
|
181 |
+
msgid "For more information:"
|
182 |
+
msgstr "Weitere Informationen:"
|
|
|
183 |
|
184 |
#@ woocommerce-delivery-notes
|
185 |
+
#: classes/class-wcdn-settings.php:105
|
186 |
+
msgid "Frequently Asked Questions"
|
187 |
+
msgstr "Häufige Fragen (FAQ)"
|
|
|
188 |
|
189 |
#@ woocommerce-delivery-notes
|
190 |
+
#: classes/class-wcdn-settings.php:106
|
191 |
+
msgid "Project on WordPress.org"
|
192 |
+
msgstr "Projekt bei WordPress.org"
|
193 |
|
194 |
#@ woocommerce-delivery-notes
|
195 |
+
#: classes/class-wcdn-settings.php:107
|
196 |
+
msgid "Project on GitHub"
|
197 |
+
msgstr "Projekt bei GitHub"
|
|
|
198 |
|
199 |
#@ woocommerce-delivery-notes
|
200 |
+
#: classes/class-wcdn-settings.php:108
|
201 |
+
msgid "Discuss in the Forum"
|
202 |
+
msgstr "Im Forum diskutieren"
|
203 |
|
204 |
#@ woocommerce-delivery-notes
|
205 |
+
#: classes/class-wcdn-settings.php:118
|
206 |
+
msgid "Print"
|
207 |
+
msgstr "Druck"
|
|
|
|
|
|
|
|
|
208 |
|
209 |
#@ woocommerce-delivery-notes
|
210 |
+
#: classes/class-wcdn-settings.php:131
|
211 |
+
msgid "Invoices and Delivery Notes"
|
212 |
+
msgstr "Rechnungen und Lieferscheine"
|
213 |
|
214 |
#@ woocommerce-delivery-notes
|
215 |
+
#: classes/class-wcdn-settings.php:136
|
216 |
+
msgid "Company/Shop Name"
|
217 |
+
msgstr "Firmen-/ Shopname"
|
218 |
|
219 |
#@ woocommerce-delivery-notes
|
220 |
+
#: classes/class-wcdn-settings.php:143
|
221 |
+
msgid "Leave blank to use the default Website/ Blog title defined in WordPress settings."
|
222 |
+
msgstr "Leer lassen, um den standardmäßigen Webseiten- bzw. Blogtitel zu verwenden, der in den WordPress-Einstellungen festgelegt wird."
|
223 |
|
224 |
#@ woocommerce-delivery-notes
|
225 |
+
#: classes/class-wcdn-settings.php:149
|
226 |
+
msgid "Company/Shop Address"
|
227 |
+
msgstr "Firmen-/ Shop-Anschrift"
|
228 |
|
229 |
#@ woocommerce-delivery-notes
|
230 |
+
#: classes/class-wcdn-settings.php:156
|
231 |
+
msgid "Leave blank to not print an address."
|
232 |
+
msgstr "Leer lassen, um keine Anschrift mit auszudrucken."
|
233 |
|
234 |
#@ woocommerce-delivery-notes
|
235 |
+
#: classes/class-wcdn-settings.php:162
|
236 |
+
msgid "Personal Notes"
|
237 |
+
msgstr "Persönliche Anmerkungen"
|
238 |
|
239 |
#@ woocommerce-delivery-notes
|
240 |
+
#: classes/class-wcdn-settings.php:169
|
241 |
+
msgid "Leave blank to not print any personal notes."
|
242 |
+
msgstr "Leer lassen, um keine persönlichen Anmerkungen mit auszudrucken."
|
243 |
|
244 |
#@ woocommerce-delivery-notes
|
245 |
+
#: classes/class-wcdn-settings.php:180
|
246 |
+
msgid "Here you can add some more policies, conditions etc. For example add a returns policy in case the client would like to send back some goods. In some countries (e.g. in the European Union) this is required so please add any required info in accordance with the statutory regulations."
|
247 |
+
msgstr "Hier können Sie einige weitere Bedingungen angeben. Zum Beispiel Bedingungen für die Rückgabe, Widerrufsbelehrung etc. In einigen Ländern (z.B. innerhalb der EU) ist dies sogar vorgeschrieben - informieren Sie sich daher über die entsprechenden gesetzlichen Bestimmungen für Ihr Land."
|
248 |
|
249 |
#@ woocommerce-delivery-notes
|
250 |
+
#: classes/class-wcdn-settings.php:182
|
251 |
+
msgid "Leave blank to not print any policies or conditions."
|
252 |
+
msgstr "Leer lassen, um keine Bedingungen mit auszudrucken."
|
253 |
|
254 |
#@ woocommerce-delivery-notes
|
255 |
+
#: classes/class-wcdn-settings.php:188
|
256 |
+
msgid "Footer Imprint"
|
257 |
+
msgstr "Fußzeile Impressum"
|
258 |
|
259 |
#@ woocommerce-delivery-notes
|
260 |
+
#: classes/class-wcdn-settings.php:195
|
261 |
+
msgid "Leave blank to not print a footer."
|
262 |
+
msgstr "Leer lassen, um keine Impressumangaben in der Fußzeile mit auszudrucken."
|
263 |
|
264 |
#@ woocommerce-delivery-notes
|
265 |
+
#: classes/class-wcdn-settings.php:201
|
266 |
+
msgid "Preview Options"
|
267 |
+
msgstr "Vorschau-Optionen"
|
268 |
|
269 |
#@ woocommerce-delivery-notes
|
270 |
+
#: classes/class-wcdn-settings.php:206
|
271 |
+
msgid "Preview opens"
|
272 |
+
msgstr "Vorschau öffnet"
|
273 |
|
274 |
#@ woocommerce-delivery-notes
|
275 |
+
#: classes/class-wcdn-settings.php:210
|
276 |
+
msgid "Start printing when the preview page opens"
|
277 |
+
msgstr "Mit dem Druck beginnen, wenn die Druckvorschau-Seite öffnet"
|
278 |
|
279 |
#@ woocommerce-delivery-notes
|
280 |
+
#: classes/class-wcdn-settings.php:215
|
281 |
+
msgid "Order Numbering Options"
|
282 |
+
msgstr "Bestellnummern-Optionen"
|
283 |
|
284 |
#@ woocommerce-delivery-notes
|
285 |
+
#: classes/class-wcdn-settings.php:220
|
286 |
+
msgid "Before order number"
|
287 |
+
msgstr "Vor der Bestellnummer"
|
288 |
|
289 |
#@ woocommerce-delivery-notes
|
290 |
+
#: classes/class-wcdn-settings.php:224
|
291 |
+
msgid "This text will be placed before the order number ie. \"YOUR-TEXT123\"."
|
292 |
+
msgstr "Dieser Text wird der Bestellnummer vorangestellt, zum Beispiel <code>IHR-TEXT123</code>."
|
|
|
293 |
|
294 |
#@ woocommerce-delivery-notes
|
295 |
+
#: classes/class-wcdn-settings.php:229
|
296 |
+
msgid "After order number"
|
297 |
+
msgstr "Nach der Bestellnummer"
|
|
|
298 |
|
299 |
#@ woocommerce-delivery-notes
|
300 |
+
#: classes/class-wcdn-settings.php:233
|
301 |
+
msgid "This text will be placed after the order number ie. \"123YOUR-TEXT\"."
|
302 |
+
msgstr "Dieser Text wird nach der Bestellnummer angefügt, zum Beispiel <code>123IHR-TEXT</code>."
|
|
|
303 |
|
304 |
#@ woocommerce-delivery-notes
|
305 |
+
#: classes/class-wcdn-settings.php:238
|
306 |
+
msgid "Number Offset"
|
307 |
+
msgstr "Nummern-Versatz"
|
|
|
308 |
|
309 |
#@ woocommerce-delivery-notes
|
310 |
+
#: classes/class-wcdn-settings.php:243
|
311 |
+
msgid "This adds an offset to the WooCommerce order number. Helpful for a contiguous numbering."
|
312 |
+
msgstr "Dies fügt einen Versatz zur WooCommerce-Bestellnummer hinzu. Hilfreich für fortlaufende Nummerierung."
|
|
|
313 |
|
314 |
#@ woocommerce-delivery-notes
|
315 |
+
#: classes/class-wcdn-settings.php:245
|
316 |
+
msgid "Only positive or negative numbers are allowed."
|
317 |
+
msgstr "Nur positive oder negative Zahlen sind erlaubt."
|
|
|
318 |
|
319 |
#@ woocommerce-delivery-notes
|
320 |
+
#: classes/class-wcdn-writepanel.php:78
|
321 |
+
msgid "Order Print"
|
322 |
+
msgstr "Bestellung drucken"
|
323 |
|
324 |
#@ woocommerce-delivery-notes
|
325 |
+
#: classes/class-wcdn-writepanel.php:91
|
326 |
+
msgid "Print Invoice"
|
327 |
+
msgstr "Rechnung drucken"
|
328 |
|
329 |
#@ woocommerce-delivery-notes
|
330 |
+
#: classes/class-wcdn-writepanel.php:92
|
331 |
+
msgid "Print Delivery Note"
|
332 |
+
msgstr "Lieferschein drucken"
|
333 |
|
334 |
#@ woocommerce-delivery-notes
|
335 |
+
#: templates/delivery-notes/print.php:5
|
336 |
+
#: templates/delivery-notes/print.php:21
|
337 |
+
msgid "Invoice"
|
338 |
+
msgstr "Rechnung"
|
339 |
|
340 |
#@ woocommerce-delivery-notes
|
341 |
+
#: templates/delivery-notes/print.php:29
|
342 |
+
msgid "Recipient"
|
343 |
+
msgstr "Empfänger"
|
344 |
|
345 |
#@ woocommerce-delivery-notes
|
346 |
+
#: templates/delivery-notes/print.php:111
|
347 |
+
msgid "Customer Notes"
|
348 |
+
msgstr "Kundennotizen"
|
349 |
|
350 |
#@ woocommerce-delivery-notes
|
351 |
+
#. translators: plugin header field 'Name'
|
352 |
+
#: woocommerce-delivery-notes.php:0
|
353 |
+
msgid "WooCommerce Print Invoices & Delivery Notes"
|
354 |
+
msgstr "WooCommerce Rechnungen & Lieferscheine drucken"
|
355 |
|
356 |
#@ woocommerce-delivery-notes
|
357 |
+
#. translators: plugin header field 'PluginURI'
|
358 |
+
#. translators: plugin header field 'AuthorURI'
|
359 |
+
#: woocommerce-delivery-notes.php:0
|
360 |
+
msgid "https://github.com/piffpaffpuff/woocommerce-delivery-notes"
|
361 |
+
msgstr "https://github.com/piffpaffpuff/woocommerce-delivery-notes"
|
362 |
|
363 |
#@ woocommerce-delivery-notes
|
364 |
+
#. translators: plugin header field 'Description'
|
365 |
+
#: woocommerce-delivery-notes.php:0
|
366 |
+
msgid "Print order invoices & delivery notes for WooCommerce shop. You can add company/shop info as well as personal notes & policies to print pages."
|
367 |
+
msgstr "Dieses Plugin stellt einfache Rechnungen und Lieferscheine für das WooCommerce Shop Plugin bereit. Es können dabei auch Firmen-/ Shop-Infos ebenso wie persönliche Anmerkungen oder Bedingungen/ Widerrufsbelehrungen zu den Druckseiten hinzugefügt werden."
|
368 |
|
369 |
#@ woocommerce-delivery-notes
|
370 |
+
#. translators: plugin header field 'Author'
|
371 |
+
#: woocommerce-delivery-notes.php:0
|
372 |
+
msgid "Steve Clark, Triggvy Gunderson, David Decker"
|
373 |
+
msgstr "Steve Clark, Triggvy Gunderson, David Decker"
|
374 |
|
375 |
#@ woocommerce-delivery-notes
|
376 |
#. translators: plugin header field 'Version'
|
377 |
#: woocommerce-delivery-notes.php:0
|
378 |
+
msgid "1.2"
|
379 |
+
msgstr "1.2"
|
380 |
+
|
381 |
+
#@ woocommerce-delivery-notes
|
382 |
+
#: classes/class-wcdn-settings.php:98
|
383 |
+
msgid "This plugin enables you to add a Invoice or simple Delivery Note page for printing for your orders in WooCommerce shop plugin. You can add your company postal address, further add personal notes, refund or other policies and a footer note/branding. This helps speed up your daily shop and order management. In some countries (e.g. in the European Union) it is also required to advice the customer with proper refund policies so this little plugin might help you a bit with that too."
|
384 |
+
msgstr "Dieses Plugin ermöglicht es, eine einfache Rechnung oder einen einfachen Lieferschein zum Ausdrucken für das WooCommerce Shop-Plugin zu erhalten. Sie können Ihre Firmen-/ Shop-Informationen, ebenso persönliche Anmerkungen, weiterhin Bedingungen/ Widerrufsbelehrung u.Ä. sowie eine Fußzeile (Impressum/ Branding) hinzufügen. Damit beschleunigen Sie die tägliche Shop-Verwaltung. Da in Ländern der Europäischen Union oftmals vorgeschrieben ist, Widerrufsbelehrungen u.Ä. der Bestellung beizulegen, können Sie dies hiermit besser erfüllen und außerdem Ihren Kunden bequem die Bestell-Infos in die Hand geben."
|
385 |
+
|
386 |
+
#@ woocommerce-delivery-notes
|
387 |
+
#: classes/class-wcdn-settings.php:99
|
388 |
+
#, php-format
|
389 |
+
msgid "Just look under <a href=\"%1$s\">WooCommerce > Orders</a> and there go to a single order view. On the right side you will see the Order Print meta box. Click one of the buttons and you get the invoice or delivery note printing page. Yes, it is that easy :-)."
|
390 |
+
msgstr "Schauen Sie einfach unter <a href=\"%1$s\">WooCommerce > Bestellungen</a> und rufen Sie dort eine einzelne Bestellung auf. Auf rechten Seite erscheint die <em>Bestellung drucken</em> Metabox. Klicken Sie dort und es öffnet sich die Rechnung oder der Lieferschein zum Ausdrucken. Das ist schon alles :-)."
|
391 |
|
languages/woocommerce-delivery-notes-es_ES.mo
ADDED
Binary file
|
languages/woocommerce-delivery-notes-es_ES.po
ADDED
@@ -0,0 +1,304 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Translation of WooCommerce Print Invoices & Delivery Notes in Spanish (Spain)
|
2 |
+
# This file is distributed under the same license as the WooCommerce Print Invoices & Delivery Notes package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"PO-Revision-Date: 2012-05-07 10:17+0100\n"
|
6 |
+
"MIME-Version: 1.0\n"
|
7 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
+
"Content-Transfer-Encoding: 8bit\n"
|
9 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
+
"X-Generator: GlotPress/0.1\n"
|
11 |
+
"Project-Id-Version: WooCommerce Print Invoices & Delivery Notes\n"
|
12 |
+
"POT-Creation-Date: \n"
|
13 |
+
"Last-Translator: David Decker <deckerweb.mobil@googlemail.com>\n"
|
14 |
+
"Language-Team: \n"
|
15 |
+
|
16 |
+
#: templates/delivery-notes/print.php:5
|
17 |
+
#: templates/delivery-notes/print.php:21
|
18 |
+
msgid "Delivery Note"
|
19 |
+
msgstr "Nota de Entrega"
|
20 |
+
|
21 |
+
#: templates/delivery-notes/print.php:129
|
22 |
+
#: woocommerce-delivery-notes-print.php:90
|
23 |
+
msgid "Print Page"
|
24 |
+
msgstr "Imprimir página"
|
25 |
+
|
26 |
+
#: templates/delivery-notes/print.php:58
|
27 |
+
msgid "Quantity"
|
28 |
+
msgstr "Cantidad"
|
29 |
+
|
30 |
+
#: templates/delivery-notes/print.php:59
|
31 |
+
msgid "Price"
|
32 |
+
msgstr "Precio"
|
33 |
+
|
34 |
+
#: templates/delivery-notes/print.php:79
|
35 |
+
msgid "Subtotal"
|
36 |
+
msgstr "Subtotal"
|
37 |
+
|
38 |
+
#: templates/delivery-notes/print.php:84
|
39 |
+
msgid "Shipping"
|
40 |
+
msgstr "Envío"
|
41 |
+
|
42 |
+
#: templates/delivery-notes/print.php:90
|
43 |
+
msgid "Tax"
|
44 |
+
msgstr "Impuestos"
|
45 |
+
|
46 |
+
#: templates/delivery-notes/print.php:96
|
47 |
+
msgid "Discount"
|
48 |
+
msgstr "Descuento"
|
49 |
+
|
50 |
+
#: templates/delivery-notes/print.php:101
|
51 |
+
msgid "Grand Total"
|
52 |
+
msgstr "Total"
|
53 |
+
|
54 |
+
#: woocommerce-delivery-notes-print.php:23
|
55 |
+
msgid "You do not have sufficient permissions to access this page."
|
56 |
+
msgstr "No tienes los permisos suficientes para acceder a esta página."
|
57 |
+
|
58 |
+
#: classes/class-wcdn-settings.php:53
|
59 |
+
msgid "Go to the settings page"
|
60 |
+
msgstr "Ir a la página de ajustes"
|
61 |
+
|
62 |
+
#: classes/class-wcdn-settings.php:53
|
63 |
+
msgid "Settings"
|
64 |
+
msgstr "Ajustes"
|
65 |
+
|
66 |
+
#: classes/class-wcdn-writepanel.php:64
|
67 |
+
msgid "FAQ"
|
68 |
+
msgstr "FAQ"
|
69 |
+
|
70 |
+
#: classes/class-wcdn-writepanel.php:65
|
71 |
+
msgid "Support"
|
72 |
+
msgstr "Soporte"
|
73 |
+
|
74 |
+
#: classes/class-wcdn-writepanel.php:66
|
75 |
+
msgid "http://genesisthemes.de/en/donate/"
|
76 |
+
msgstr "http://genesisthemes.de/en/donate/"
|
77 |
+
|
78 |
+
#: classes/class-wcdn-writepanel.php:66
|
79 |
+
msgid "Donate"
|
80 |
+
msgstr "Donación"
|
81 |
+
|
82 |
+
#: templates/delivery-notes/print.php:57
|
83 |
+
msgid "Product Name"
|
84 |
+
msgstr "Producto"
|
85 |
+
|
86 |
+
#: classes/class-wcdn-settings.php:175
|
87 |
+
msgid "Returns Policy, Conditions, etc.:"
|
88 |
+
msgstr "Política de Devoluciones, Condiciones, etc.:"
|
89 |
+
|
90 |
+
#: templates/delivery-notes/print.php:44
|
91 |
+
msgid "Order No."
|
92 |
+
msgstr "Pedido No."
|
93 |
+
|
94 |
+
#: templates/delivery-notes/print.php:48
|
95 |
+
msgid "Order Date"
|
96 |
+
msgstr "Fecha de Pedido"
|
97 |
+
|
98 |
+
#: templates/delivery-notes/print.php:65
|
99 |
+
msgid "SKU:"
|
100 |
+
msgstr "SKU:"
|
101 |
+
|
102 |
+
#: templates/delivery-notes/print.php:65
|
103 |
+
msgid "Weight:"
|
104 |
+
msgstr "Peso:"
|
105 |
+
|
106 |
+
#: classes/class-wcdn-settings.php:96
|
107 |
+
msgid "Plugin: WooCommerce Print Invoices & Delivery Notes"
|
108 |
+
msgstr ""
|
109 |
+
|
110 |
+
#: classes/class-wcdn-settings.php:141
|
111 |
+
msgid "Your custom company or shop name for the Delivery Note."
|
112 |
+
msgstr "Tu nombre de empresa personalizado o el nombre de la tienda de la Nota de Entrega."
|
113 |
+
|
114 |
+
#: classes/class-wcdn-settings.php:142
|
115 |
+
#: classes/class-wcdn-settings.php:155
|
116 |
+
#: classes/class-wcdn-settings.php:168
|
117 |
+
#: classes/class-wcdn-settings.php:181
|
118 |
+
#: classes/class-wcdn-settings.php:194
|
119 |
+
#: classes/class-wcdn-settings.php:244
|
120 |
+
msgid "Note:"
|
121 |
+
msgstr "Nota:"
|
122 |
+
|
123 |
+
#: classes/class-wcdn-settings.php:154
|
124 |
+
msgid "The postal address of the company/shop, which gets printed right of the company/shop name, above the order listings."
|
125 |
+
msgstr "La dirección postal de la compañia/tienda, quedara impresa a la derecha del nombre de la compañia/tienda, debajo del listado de pedido."
|
126 |
+
|
127 |
+
#: classes/class-wcdn-settings.php:167
|
128 |
+
msgid "Add some personal notes, or season greetings or whatever (e.g. Thank You for Your Order!, Merry Christmas!, etc.)."
|
129 |
+
msgstr "Añade notas personales, o felicitaciones o cualquier cosa (ej. ¡Gracias por tu pedido!, ¡Feliz Navidad!, ect.)"
|
130 |
+
|
131 |
+
#: classes/class-wcdn-settings.php:193
|
132 |
+
msgid "Add some further footer imprint, copyright notes etc. to get the printed sheets a bit more branded to your needs."
|
133 |
+
msgstr "Añade además de notas a pie de página, notas de copyright etc. para obtener hojas impresas que se ajusten un poco mas a tu marca."
|
134 |
+
|
135 |
+
#: classes/class-wcdn-settings.php:94
|
136 |
+
#: classes/class-wcdn-settings.php:97
|
137 |
+
msgid "About the Plugin"
|
138 |
+
msgstr ""
|
139 |
+
|
140 |
+
#: classes/class-wcdn-settings.php:104
|
141 |
+
msgid "For more information:"
|
142 |
+
msgstr ""
|
143 |
+
|
144 |
+
#: classes/class-wcdn-settings.php:105
|
145 |
+
msgid "Frequently Asked Questions"
|
146 |
+
msgstr ""
|
147 |
+
|
148 |
+
#: classes/class-wcdn-settings.php:106
|
149 |
+
msgid "Project on WordPress.org"
|
150 |
+
msgstr ""
|
151 |
+
|
152 |
+
#: classes/class-wcdn-settings.php:107
|
153 |
+
msgid "Project on GitHub"
|
154 |
+
msgstr ""
|
155 |
+
|
156 |
+
#: classes/class-wcdn-settings.php:108
|
157 |
+
msgid "Discuss in the Forum"
|
158 |
+
msgstr ""
|
159 |
+
|
160 |
+
#: classes/class-wcdn-settings.php:118
|
161 |
+
msgid "Print"
|
162 |
+
msgstr ""
|
163 |
+
|
164 |
+
#: classes/class-wcdn-settings.php:131
|
165 |
+
msgid "Invoices and Delivery Notes"
|
166 |
+
msgstr ""
|
167 |
+
|
168 |
+
#: classes/class-wcdn-settings.php:136
|
169 |
+
msgid "Company/Shop Name"
|
170 |
+
msgstr ""
|
171 |
+
|
172 |
+
#: classes/class-wcdn-settings.php:143
|
173 |
+
msgid "Leave blank to use the default Website/ Blog title defined in WordPress settings."
|
174 |
+
msgstr ""
|
175 |
+
|
176 |
+
#: classes/class-wcdn-settings.php:149
|
177 |
+
msgid "Company/Shop Address"
|
178 |
+
msgstr ""
|
179 |
+
|
180 |
+
#: classes/class-wcdn-settings.php:156
|
181 |
+
msgid "Leave blank to not print an address."
|
182 |
+
msgstr ""
|
183 |
+
|
184 |
+
#: classes/class-wcdn-settings.php:162
|
185 |
+
msgid "Personal Notes"
|
186 |
+
msgstr ""
|
187 |
+
|
188 |
+
#: classes/class-wcdn-settings.php:169
|
189 |
+
msgid "Leave blank to not print any personal notes."
|
190 |
+
msgstr ""
|
191 |
+
|
192 |
+
#: classes/class-wcdn-settings.php:180
|
193 |
+
msgid "Here you can add some more policies, conditions etc. For example add a returns policy in case the client would like to send back some goods. In some countries (e.g. in the European Union) this is required so please add any required info in accordance with the statutory regulations."
|
194 |
+
msgstr ""
|
195 |
+
|
196 |
+
#: classes/class-wcdn-settings.php:182
|
197 |
+
msgid "Leave blank to not print any policies or conditions."
|
198 |
+
msgstr ""
|
199 |
+
|
200 |
+
#: classes/class-wcdn-settings.php:188
|
201 |
+
msgid "Footer Imprint"
|
202 |
+
msgstr ""
|
203 |
+
|
204 |
+
#: classes/class-wcdn-settings.php:195
|
205 |
+
msgid "Leave blank to not print a footer."
|
206 |
+
msgstr ""
|
207 |
+
|
208 |
+
#: classes/class-wcdn-settings.php:201
|
209 |
+
msgid "Preview Options"
|
210 |
+
msgstr ""
|
211 |
+
|
212 |
+
#: classes/class-wcdn-settings.php:206
|
213 |
+
msgid "Preview opens"
|
214 |
+
msgstr ""
|
215 |
+
|
216 |
+
#: classes/class-wcdn-settings.php:210
|
217 |
+
msgid "Start printing when the preview page opens"
|
218 |
+
msgstr ""
|
219 |
+
|
220 |
+
#: classes/class-wcdn-settings.php:215
|
221 |
+
msgid "Order Numbering Options"
|
222 |
+
msgstr ""
|
223 |
+
|
224 |
+
#: classes/class-wcdn-settings.php:220
|
225 |
+
msgid "Before order number"
|
226 |
+
msgstr ""
|
227 |
+
|
228 |
+
#: classes/class-wcdn-settings.php:224
|
229 |
+
msgid "This text will be placed before the order number ie. \"YOUR-TEXT123\"."
|
230 |
+
msgstr ""
|
231 |
+
|
232 |
+
#: classes/class-wcdn-settings.php:229
|
233 |
+
msgid "After order number"
|
234 |
+
msgstr ""
|
235 |
+
|
236 |
+
#: classes/class-wcdn-settings.php:233
|
237 |
+
msgid "This text will be placed after the order number ie. \"123YOUR-TEXT\"."
|
238 |
+
msgstr ""
|
239 |
+
|
240 |
+
#: classes/class-wcdn-settings.php:238
|
241 |
+
msgid "Number Offset"
|
242 |
+
msgstr ""
|
243 |
+
|
244 |
+
#: classes/class-wcdn-settings.php:243
|
245 |
+
msgid "This adds an offset to the WooCommerce order number. Helpful for a contiguous numbering."
|
246 |
+
msgstr ""
|
247 |
+
|
248 |
+
#: classes/class-wcdn-settings.php:245
|
249 |
+
msgid "Only positive or negative numbers are allowed."
|
250 |
+
msgstr ""
|
251 |
+
|
252 |
+
#: classes/class-wcdn-writepanel.php:78
|
253 |
+
msgid "Order Print"
|
254 |
+
msgstr ""
|
255 |
+
|
256 |
+
#: classes/class-wcdn-writepanel.php:91
|
257 |
+
msgid "Print Invoice"
|
258 |
+
msgstr ""
|
259 |
+
|
260 |
+
#: classes/class-wcdn-writepanel.php:92
|
261 |
+
msgid "Print Delivery Note"
|
262 |
+
msgstr ""
|
263 |
+
|
264 |
+
#: templates/delivery-notes/print.php:5
|
265 |
+
#: templates/delivery-notes/print.php:21
|
266 |
+
msgid "Invoice"
|
267 |
+
msgstr ""
|
268 |
+
|
269 |
+
#: templates/delivery-notes/print.php:29
|
270 |
+
msgid "Recipient"
|
271 |
+
msgstr ""
|
272 |
+
|
273 |
+
#: templates/delivery-notes/print.php:111
|
274 |
+
msgid "Customer Notes"
|
275 |
+
msgstr ""
|
276 |
+
|
277 |
+
#: woocommerce-delivery-notes.php:0
|
278 |
+
msgid "WooCommerce Print Invoices & Delivery Notes"
|
279 |
+
msgstr ""
|
280 |
+
|
281 |
+
#: woocommerce-delivery-notes.php:0
|
282 |
+
msgid "https://github.com/piffpaffpuff/woocommerce-delivery-notes"
|
283 |
+
msgstr "https://github.com/piffpaffpuff/woocommerce-delivery-notes"
|
284 |
+
|
285 |
+
#: woocommerce-delivery-notes.php:0
|
286 |
+
msgid "Print order invoices & delivery notes for WooCommerce shop plugin. You can add company/shop info as well as personal notes & policies to print pages."
|
287 |
+
msgstr ""
|
288 |
+
|
289 |
+
#: woocommerce-delivery-notes.php:0
|
290 |
+
msgid "Steve Clark, Triggvy Gunderson, David Decker"
|
291 |
+
msgstr "Steve Clark, Triggvy Gunderson, David Decker"
|
292 |
+
|
293 |
+
#: woocommerce-delivery-notes.php:0
|
294 |
+
msgid "1.2"
|
295 |
+
msgstr "1.2"
|
296 |
+
|
297 |
+
#: classes/class-wcdn-settings.php:98
|
298 |
+
msgid "This plugin enables you to add a Invoice or simple Delivery Note page for printing for your orders in WooCommerce shop plugin. You can add your company postal address, further add personal notes, refund or other policies and a footer note/branding. This helps speed up your daily shop and order management. In some countries (e.g. in the European Union) it is also required to advice the customer with proper refund policies so this little plugin might help you a bit with that too."
|
299 |
+
msgstr ""
|
300 |
+
|
301 |
+
#: classes/class-wcdn-settings.php:99
|
302 |
+
msgid "Just look under <a href=\"%1$s\">WooCommerce > Orders</a> and there go to a single order view. On the right side you will see the Order Print meta box. Click one of the buttons and you get the invoice or delivery note printing page. Yes, it is that easy :-)."
|
303 |
+
msgstr ""
|
304 |
+
|
languages/woocommerce-delivery-notes-fr_FR.mo
ADDED
Binary file
|
languages/woocommerce-delivery-notes-fr_FR.po
ADDED
@@ -0,0 +1,304 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Translation of WooCommerce Print Invoices & Delivery Notes in French (France)
|
2 |
+
# This file is distributed under the same license as the WooCommerce Print Invoices & Delivery Notes package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"PO-Revision-Date: 2012-05-07 10:17+0100\n"
|
6 |
+
"MIME-Version: 1.0\n"
|
7 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
+
"Content-Transfer-Encoding: 8bit\n"
|
9 |
+
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
10 |
+
"X-Generator: GlotPress/0.1\n"
|
11 |
+
"Project-Id-Version: WooCommerce Print Invoices & Delivery Notes\n"
|
12 |
+
"POT-Creation-Date: \n"
|
13 |
+
"Last-Translator: David Decker <deckerweb.mobil@googlemail.com>\n"
|
14 |
+
"Language-Team: \n"
|
15 |
+
|
16 |
+
#: templates/delivery-notes/print.php:5
|
17 |
+
#: templates/delivery-notes/print.php:21
|
18 |
+
msgid "Delivery Note"
|
19 |
+
msgstr "Bon de livraison"
|
20 |
+
|
21 |
+
#: templates/delivery-notes/print.php:129
|
22 |
+
#: woocommerce-delivery-notes-print.php:90
|
23 |
+
msgid "Print Page"
|
24 |
+
msgstr "Imprimer"
|
25 |
+
|
26 |
+
#: templates/delivery-notes/print.php:58
|
27 |
+
msgid "Quantity"
|
28 |
+
msgstr "Quantité"
|
29 |
+
|
30 |
+
#: templates/delivery-notes/print.php:59
|
31 |
+
msgid "Price"
|
32 |
+
msgstr "Prix"
|
33 |
+
|
34 |
+
#: templates/delivery-notes/print.php:79
|
35 |
+
msgid "Subtotal"
|
36 |
+
msgstr "Sous-total"
|
37 |
+
|
38 |
+
#: templates/delivery-notes/print.php:84
|
39 |
+
msgid "Shipping"
|
40 |
+
msgstr "Livraison"
|
41 |
+
|
42 |
+
#: templates/delivery-notes/print.php:90
|
43 |
+
msgid "Tax"
|
44 |
+
msgstr "TVA"
|
45 |
+
|
46 |
+
#: templates/delivery-notes/print.php:96
|
47 |
+
msgid "Discount"
|
48 |
+
msgstr "Rabais"
|
49 |
+
|
50 |
+
#: templates/delivery-notes/print.php:101
|
51 |
+
msgid "Grand Total"
|
52 |
+
msgstr "Total"
|
53 |
+
|
54 |
+
#: woocommerce-delivery-notes-print.php:23
|
55 |
+
msgid "You do not have sufficient permissions to access this page."
|
56 |
+
msgstr "Vous n'avez pas l'autorisation d'accéder à cette page."
|
57 |
+
|
58 |
+
#: classes/class-wcdn-settings.php:53
|
59 |
+
msgid "Go to the settings page"
|
60 |
+
msgstr "Aller à la page de configuration"
|
61 |
+
|
62 |
+
#: classes/class-wcdn-settings.php:53
|
63 |
+
msgid "Settings"
|
64 |
+
msgstr "Paramètres"
|
65 |
+
|
66 |
+
#: classes/class-wcdn-writepanel.php:64
|
67 |
+
msgid "FAQ"
|
68 |
+
msgstr "FAQ"
|
69 |
+
|
70 |
+
#: classes/class-wcdn-writepanel.php:65
|
71 |
+
msgid "Support"
|
72 |
+
msgstr "Support"
|
73 |
+
|
74 |
+
#: classes/class-wcdn-writepanel.php:66
|
75 |
+
msgid "http://genesisthemes.de/en/donate/"
|
76 |
+
msgstr "http://genesisthemes.de/en/donate/"
|
77 |
+
|
78 |
+
#: classes/class-wcdn-writepanel.php:66
|
79 |
+
msgid "Donate"
|
80 |
+
msgstr "Faire un don"
|
81 |
+
|
82 |
+
#: templates/delivery-notes/print.php:57
|
83 |
+
msgid "Product Name"
|
84 |
+
msgstr "Désignation"
|
85 |
+
|
86 |
+
#: classes/class-wcdn-settings.php:175
|
87 |
+
msgid "Returns Policy, Conditions, etc.:"
|
88 |
+
msgstr "Conditions de remboursement, CGV, etc... :"
|
89 |
+
|
90 |
+
#: templates/delivery-notes/print.php:44
|
91 |
+
msgid "Order No."
|
92 |
+
msgstr "Commande No."
|
93 |
+
|
94 |
+
#: templates/delivery-notes/print.php:48
|
95 |
+
msgid "Order Date"
|
96 |
+
msgstr "Date de la commande"
|
97 |
+
|
98 |
+
#: templates/delivery-notes/print.php:65
|
99 |
+
msgid "SKU:"
|
100 |
+
msgstr "Unité:"
|
101 |
+
|
102 |
+
#: templates/delivery-notes/print.php:65
|
103 |
+
msgid "Weight:"
|
104 |
+
msgstr "Poids:"
|
105 |
+
|
106 |
+
#: classes/class-wcdn-settings.php:96
|
107 |
+
msgid "Plugin: WooCommerce Print Invoices & Delivery Notes"
|
108 |
+
msgstr ""
|
109 |
+
|
110 |
+
#: classes/class-wcdn-settings.php:141
|
111 |
+
msgid "Your custom company or shop name for the Delivery Note."
|
112 |
+
msgstr "Le nom de votre entreprise/commerce sur le bon de livraison."
|
113 |
+
|
114 |
+
#: classes/class-wcdn-settings.php:142
|
115 |
+
#: classes/class-wcdn-settings.php:155
|
116 |
+
#: classes/class-wcdn-settings.php:168
|
117 |
+
#: classes/class-wcdn-settings.php:181
|
118 |
+
#: classes/class-wcdn-settings.php:194
|
119 |
+
#: classes/class-wcdn-settings.php:244
|
120 |
+
msgid "Note:"
|
121 |
+
msgstr "Nota:"
|
122 |
+
|
123 |
+
#: classes/class-wcdn-settings.php:154
|
124 |
+
msgid "The postal address of the company/shop, which gets printed right of the company/shop name, above the order listings."
|
125 |
+
msgstr "L'adresse postale de l'entreprise/du commerce qui est imprimée à droite du nom de l'entreprise/du commerce, au-dessus de la liste des commandes."
|
126 |
+
|
127 |
+
#: classes/class-wcdn-settings.php:167
|
128 |
+
msgid "Add some personal notes, or season greetings or whatever (e.g. Thank You for Your Order!, Merry Christmas!, etc.)."
|
129 |
+
msgstr "Ajouter des notes personnelles, ou des voeux de saison ou ce que vous voulez (ex: Merci pour votre commande, Joyeux Noël, etc.)."
|
130 |
+
|
131 |
+
#: classes/class-wcdn-settings.php:193
|
132 |
+
msgid "Add some further footer imprint, copyright notes etc. to get the printed sheets a bit more branded to your needs."
|
133 |
+
msgstr "Ajouter des mentions de bas de page, droits d'auteur etc."
|
134 |
+
|
135 |
+
#: classes/class-wcdn-settings.php:94
|
136 |
+
#: classes/class-wcdn-settings.php:97
|
137 |
+
msgid "About the Plugin"
|
138 |
+
msgstr ""
|
139 |
+
|
140 |
+
#: classes/class-wcdn-settings.php:104
|
141 |
+
msgid "For more information:"
|
142 |
+
msgstr ""
|
143 |
+
|
144 |
+
#: classes/class-wcdn-settings.php:105
|
145 |
+
msgid "Frequently Asked Questions"
|
146 |
+
msgstr ""
|
147 |
+
|
148 |
+
#: classes/class-wcdn-settings.php:106
|
149 |
+
msgid "Project on WordPress.org"
|
150 |
+
msgstr ""
|
151 |
+
|
152 |
+
#: classes/class-wcdn-settings.php:107
|
153 |
+
msgid "Project on GitHub"
|
154 |
+
msgstr ""
|
155 |
+
|
156 |
+
#: classes/class-wcdn-settings.php:108
|
157 |
+
msgid "Discuss in the Forum"
|
158 |
+
msgstr ""
|
159 |
+
|
160 |
+
#: classes/class-wcdn-settings.php:118
|
161 |
+
msgid "Print"
|
162 |
+
msgstr ""
|
163 |
+
|
164 |
+
#: classes/class-wcdn-settings.php:131
|
165 |
+
msgid "Invoices and Delivery Notes"
|
166 |
+
msgstr ""
|
167 |
+
|
168 |
+
#: classes/class-wcdn-settings.php:136
|
169 |
+
msgid "Company/Shop Name"
|
170 |
+
msgstr ""
|
171 |
+
|
172 |
+
#: classes/class-wcdn-settings.php:143
|
173 |
+
msgid "Leave blank to use the default Website/ Blog title defined in WordPress settings."
|
174 |
+
msgstr ""
|
175 |
+
|
176 |
+
#: classes/class-wcdn-settings.php:149
|
177 |
+
msgid "Company/Shop Address"
|
178 |
+
msgstr ""
|
179 |
+
|
180 |
+
#: classes/class-wcdn-settings.php:156
|
181 |
+
msgid "Leave blank to not print an address."
|
182 |
+
msgstr ""
|
183 |
+
|
184 |
+
#: classes/class-wcdn-settings.php:162
|
185 |
+
msgid "Personal Notes"
|
186 |
+
msgstr ""
|
187 |
+
|
188 |
+
#: classes/class-wcdn-settings.php:169
|
189 |
+
msgid "Leave blank to not print any personal notes."
|
190 |
+
msgstr ""
|
191 |
+
|
192 |
+
#: classes/class-wcdn-settings.php:180
|
193 |
+
msgid "Here you can add some more policies, conditions etc. For example add a returns policy in case the client would like to send back some goods. In some countries (e.g. in the European Union) this is required so please add any required info in accordance with the statutory regulations."
|
194 |
+
msgstr ""
|
195 |
+
|
196 |
+
#: classes/class-wcdn-settings.php:182
|
197 |
+
msgid "Leave blank to not print any policies or conditions."
|
198 |
+
msgstr ""
|
199 |
+
|
200 |
+
#: classes/class-wcdn-settings.php:188
|
201 |
+
msgid "Footer Imprint"
|
202 |
+
msgstr ""
|
203 |
+
|
204 |
+
#: classes/class-wcdn-settings.php:195
|
205 |
+
msgid "Leave blank to not print a footer."
|
206 |
+
msgstr ""
|
207 |
+
|
208 |
+
#: classes/class-wcdn-settings.php:201
|
209 |
+
msgid "Preview Options"
|
210 |
+
msgstr ""
|
211 |
+
|
212 |
+
#: classes/class-wcdn-settings.php:206
|
213 |
+
msgid "Preview opens"
|
214 |
+
msgstr ""
|
215 |
+
|
216 |
+
#: classes/class-wcdn-settings.php:210
|
217 |
+
msgid "Start printing when the preview page opens"
|
218 |
+
msgstr ""
|
219 |
+
|
220 |
+
#: classes/class-wcdn-settings.php:215
|
221 |
+
msgid "Order Numbering Options"
|
222 |
+
msgstr ""
|
223 |
+
|
224 |
+
#: classes/class-wcdn-settings.php:220
|
225 |
+
msgid "Before order number"
|
226 |
+
msgstr ""
|
227 |
+
|
228 |
+
#: classes/class-wcdn-settings.php:224
|
229 |
+
msgid "This text will be placed before the order number ie. \"YOUR-TEXT123\"."
|
230 |
+
msgstr ""
|
231 |
+
|
232 |
+
#: classes/class-wcdn-settings.php:229
|
233 |
+
msgid "After order number"
|
234 |
+
msgstr ""
|
235 |
+
|
236 |
+
#: classes/class-wcdn-settings.php:233
|
237 |
+
msgid "This text will be placed after the order number ie. \"123YOUR-TEXT\"."
|
238 |
+
msgstr ""
|
239 |
+
|
240 |
+
#: classes/class-wcdn-settings.php:238
|
241 |
+
msgid "Number Offset"
|
242 |
+
msgstr ""
|
243 |
+
|
244 |
+
#: classes/class-wcdn-settings.php:243
|
245 |
+
msgid "This adds an offset to the WooCommerce order number. Helpful for a contiguous numbering."
|
246 |
+
msgstr ""
|
247 |
+
|
248 |
+
#: classes/class-wcdn-settings.php:245
|
249 |
+
msgid "Only positive or negative numbers are allowed."
|
250 |
+
msgstr ""
|
251 |
+
|
252 |
+
#: classes/class-wcdn-writepanel.php:78
|
253 |
+
msgid "Order Print"
|
254 |
+
msgstr ""
|
255 |
+
|
256 |
+
#: classes/class-wcdn-writepanel.php:91
|
257 |
+
msgid "Print Invoice"
|
258 |
+
msgstr ""
|
259 |
+
|
260 |
+
#: classes/class-wcdn-writepanel.php:92
|
261 |
+
msgid "Print Delivery Note"
|
262 |
+
msgstr ""
|
263 |
+
|
264 |
+
#: templates/delivery-notes/print.php:5
|
265 |
+
#: templates/delivery-notes/print.php:21
|
266 |
+
msgid "Invoice"
|
267 |
+
msgstr ""
|
268 |
+
|
269 |
+
#: templates/delivery-notes/print.php:29
|
270 |
+
msgid "Recipient"
|
271 |
+
msgstr ""
|
272 |
+
|
273 |
+
#: templates/delivery-notes/print.php:111
|
274 |
+
msgid "Customer Notes"
|
275 |
+
msgstr ""
|
276 |
+
|
277 |
+
#: woocommerce-delivery-notes.php:0
|
278 |
+
msgid "WooCommerce Print Invoices & Delivery Notes"
|
279 |
+
msgstr ""
|
280 |
+
|
281 |
+
#: woocommerce-delivery-notes.php:0
|
282 |
+
msgid "https://github.com/piffpaffpuff/woocommerce-delivery-notes"
|
283 |
+
msgstr "https://github.com/piffpaffpuff/woocommerce-delivery-notes"
|
284 |
+
|
285 |
+
#: woocommerce-delivery-notes.php:0
|
286 |
+
msgid "Print order invoices & delivery notes for WooCommerce shop plugin. You can add company/shop info as well as personal notes & policies to print pages."
|
287 |
+
msgstr ""
|
288 |
+
|
289 |
+
#: woocommerce-delivery-notes.php:0
|
290 |
+
msgid "Steve Clark, Triggvy Gunderson, David Decker"
|
291 |
+
msgstr "Steve Clark, Triggvy Gunderson, David Decker"
|
292 |
+
|
293 |
+
#: woocommerce-delivery-notes.php:0
|
294 |
+
msgid "1.2"
|
295 |
+
msgstr "1.2"
|
296 |
+
|
297 |
+
#: classes/class-wcdn-settings.php:98
|
298 |
+
msgid "This plugin enables you to add a Invoice or simple Delivery Note page for printing for your orders in WooCommerce shop plugin. You can add your company postal address, further add personal notes, refund or other policies and a footer note/branding. This helps speed up your daily shop and order management. In some countries (e.g. in the European Union) it is also required to advice the customer with proper refund policies so this little plugin might help you a bit with that too."
|
299 |
+
msgstr ""
|
300 |
+
|
301 |
+
#: classes/class-wcdn-settings.php:99
|
302 |
+
msgid "Just look under <a href=\"%1$s\">WooCommerce > Orders</a> and there go to a single order view. On the right side you will see the Order Print meta box. Click one of the buttons and you get the invoice or delivery note printing page. Yes, it is that easy :-)."
|
303 |
+
msgstr ""
|
304 |
+
|
languages/woocommerce-delivery-notes-nl_NL.mo
ADDED
Binary file
|
languages/woocommerce-delivery-notes-nl_NL.po
ADDED
@@ -0,0 +1,304 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Translation of WooCommerce Print Invoices & Delivery Notes in Dutch
|
2 |
+
# This file is distributed under the same license as the WooCommerce Print Invoices & Delivery Notes package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"PO-Revision-Date: 2012-05-07 10:17+0100\n"
|
6 |
+
"MIME-Version: 1.0\n"
|
7 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
+
"Content-Transfer-Encoding: 8bit\n"
|
9 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
+
"X-Generator: GlotPress/0.1\n"
|
11 |
+
"Project-Id-Version: WooCommerce Print Invoices & Delivery Notes\n"
|
12 |
+
"POT-Creation-Date: \n"
|
13 |
+
"Last-Translator: David Decker <deckerweb.mobil@googlemail.com>\n"
|
14 |
+
"Language-Team: \n"
|
15 |
+
|
16 |
+
#: templates/delivery-notes/print.php:5
|
17 |
+
#: templates/delivery-notes/print.php:21
|
18 |
+
msgid "Delivery Note"
|
19 |
+
msgstr "Pakbon"
|
20 |
+
|
21 |
+
#: templates/delivery-notes/print.php:129
|
22 |
+
#: woocommerce-delivery-notes-print.php:90
|
23 |
+
msgid "Print Page"
|
24 |
+
msgstr "Print Pagina"
|
25 |
+
|
26 |
+
#: templates/delivery-notes/print.php:58
|
27 |
+
msgid "Quantity"
|
28 |
+
msgstr "Hoeveelheid"
|
29 |
+
|
30 |
+
#: templates/delivery-notes/print.php:59
|
31 |
+
msgid "Price"
|
32 |
+
msgstr "Prijs"
|
33 |
+
|
34 |
+
#: templates/delivery-notes/print.php:79
|
35 |
+
msgid "Subtotal"
|
36 |
+
msgstr "Subtotaal"
|
37 |
+
|
38 |
+
#: templates/delivery-notes/print.php:84
|
39 |
+
msgid "Shipping"
|
40 |
+
msgstr "Verzendkosten"
|
41 |
+
|
42 |
+
#: templates/delivery-notes/print.php:90
|
43 |
+
msgid "Tax"
|
44 |
+
msgstr "BTW"
|
45 |
+
|
46 |
+
#: templates/delivery-notes/print.php:96
|
47 |
+
msgid "Discount"
|
48 |
+
msgstr "Korting"
|
49 |
+
|
50 |
+
#: templates/delivery-notes/print.php:101
|
51 |
+
msgid "Grand Total"
|
52 |
+
msgstr "Totaal"
|
53 |
+
|
54 |
+
#: woocommerce-delivery-notes-print.php:23
|
55 |
+
msgid "You do not have sufficient permissions to access this page."
|
56 |
+
msgstr "U heeft niet voldoende rechten om deze pagina te bekijken."
|
57 |
+
|
58 |
+
#: classes/class-wcdn-settings.php:53
|
59 |
+
msgid "Go to the settings page"
|
60 |
+
msgstr "Ga naar de instellingen"
|
61 |
+
|
62 |
+
#: classes/class-wcdn-settings.php:53
|
63 |
+
msgid "Settings"
|
64 |
+
msgstr "Instellingen"
|
65 |
+
|
66 |
+
#: classes/class-wcdn-writepanel.php:64
|
67 |
+
msgid "FAQ"
|
68 |
+
msgstr "FAQ"
|
69 |
+
|
70 |
+
#: classes/class-wcdn-writepanel.php:65
|
71 |
+
msgid "Support"
|
72 |
+
msgstr "Ondersteuning"
|
73 |
+
|
74 |
+
#: classes/class-wcdn-writepanel.php:66
|
75 |
+
msgid "http://genesisthemes.de/en/donate/"
|
76 |
+
msgstr "http://genesisthemes.de/en/donate/"
|
77 |
+
|
78 |
+
#: classes/class-wcdn-writepanel.php:66
|
79 |
+
msgid "Donate"
|
80 |
+
msgstr "Doneer"
|
81 |
+
|
82 |
+
#: templates/delivery-notes/print.php:57
|
83 |
+
msgid "Product Name"
|
84 |
+
msgstr "Product Naam"
|
85 |
+
|
86 |
+
#: classes/class-wcdn-settings.php:175
|
87 |
+
msgid "Returns Policy, Conditions, etc.:"
|
88 |
+
msgstr "Algemene Voorwaarden:"
|
89 |
+
|
90 |
+
#: templates/delivery-notes/print.php:44
|
91 |
+
msgid "Order No."
|
92 |
+
msgstr "Bestelling nummer"
|
93 |
+
|
94 |
+
#: templates/delivery-notes/print.php:48
|
95 |
+
msgid "Order Date"
|
96 |
+
msgstr "Bestel Datum"
|
97 |
+
|
98 |
+
#: templates/delivery-notes/print.php:65
|
99 |
+
msgid "SKU:"
|
100 |
+
msgstr "Art.Nr."
|
101 |
+
|
102 |
+
#: templates/delivery-notes/print.php:65
|
103 |
+
msgid "Weight:"
|
104 |
+
msgstr "Gewicht:"
|
105 |
+
|
106 |
+
#: classes/class-wcdn-settings.php:96
|
107 |
+
msgid "Plugin: WooCommerce Print Invoices & Delivery Notes"
|
108 |
+
msgstr ""
|
109 |
+
|
110 |
+
#: classes/class-wcdn-settings.php:141
|
111 |
+
msgid "Your custom company or shop name for the Delivery Note."
|
112 |
+
msgstr ""
|
113 |
+
|
114 |
+
#: classes/class-wcdn-settings.php:142
|
115 |
+
#: classes/class-wcdn-settings.php:155
|
116 |
+
#: classes/class-wcdn-settings.php:168
|
117 |
+
#: classes/class-wcdn-settings.php:181
|
118 |
+
#: classes/class-wcdn-settings.php:194
|
119 |
+
#: classes/class-wcdn-settings.php:244
|
120 |
+
msgid "Note:"
|
121 |
+
msgstr "Opmerking:"
|
122 |
+
|
123 |
+
#: classes/class-wcdn-settings.php:154
|
124 |
+
msgid "The postal address of the company/shop, which gets printed right of the company/shop name, above the order listings."
|
125 |
+
msgstr ""
|
126 |
+
|
127 |
+
#: classes/class-wcdn-settings.php:167
|
128 |
+
msgid "Add some personal notes, or season greetings or whatever (e.g. Thank You for Your Order!, Merry Christmas!, etc.)."
|
129 |
+
msgstr ""
|
130 |
+
|
131 |
+
#: classes/class-wcdn-settings.php:193
|
132 |
+
msgid "Add some further footer imprint, copyright notes etc. to get the printed sheets a bit more branded to your needs."
|
133 |
+
msgstr ""
|
134 |
+
|
135 |
+
#: classes/class-wcdn-settings.php:94
|
136 |
+
#: classes/class-wcdn-settings.php:97
|
137 |
+
msgid "About the Plugin"
|
138 |
+
msgstr ""
|
139 |
+
|
140 |
+
#: classes/class-wcdn-settings.php:104
|
141 |
+
msgid "For more information:"
|
142 |
+
msgstr ""
|
143 |
+
|
144 |
+
#: classes/class-wcdn-settings.php:105
|
145 |
+
msgid "Frequently Asked Questions"
|
146 |
+
msgstr ""
|
147 |
+
|
148 |
+
#: classes/class-wcdn-settings.php:106
|
149 |
+
msgid "Project on WordPress.org"
|
150 |
+
msgstr ""
|
151 |
+
|
152 |
+
#: classes/class-wcdn-settings.php:107
|
153 |
+
msgid "Project on GitHub"
|
154 |
+
msgstr ""
|
155 |
+
|
156 |
+
#: classes/class-wcdn-settings.php:108
|
157 |
+
msgid "Discuss in the Forum"
|
158 |
+
msgstr ""
|
159 |
+
|
160 |
+
#: classes/class-wcdn-settings.php:118
|
161 |
+
msgid "Print"
|
162 |
+
msgstr ""
|
163 |
+
|
164 |
+
#: classes/class-wcdn-settings.php:131
|
165 |
+
msgid "Invoices and Delivery Notes"
|
166 |
+
msgstr ""
|
167 |
+
|
168 |
+
#: classes/class-wcdn-settings.php:136
|
169 |
+
msgid "Company/Shop Name"
|
170 |
+
msgstr ""
|
171 |
+
|
172 |
+
#: classes/class-wcdn-settings.php:143
|
173 |
+
msgid "Leave blank to use the default Website/ Blog title defined in WordPress settings."
|
174 |
+
msgstr ""
|
175 |
+
|
176 |
+
#: classes/class-wcdn-settings.php:149
|
177 |
+
msgid "Company/Shop Address"
|
178 |
+
msgstr ""
|
179 |
+
|
180 |
+
#: classes/class-wcdn-settings.php:156
|
181 |
+
msgid "Leave blank to not print an address."
|
182 |
+
msgstr ""
|
183 |
+
|
184 |
+
#: classes/class-wcdn-settings.php:162
|
185 |
+
msgid "Personal Notes"
|
186 |
+
msgstr ""
|
187 |
+
|
188 |
+
#: classes/class-wcdn-settings.php:169
|
189 |
+
msgid "Leave blank to not print any personal notes."
|
190 |
+
msgstr ""
|
191 |
+
|
192 |
+
#: classes/class-wcdn-settings.php:180
|
193 |
+
msgid "Here you can add some more policies, conditions etc. For example add a returns policy in case the client would like to send back some goods. In some countries (e.g. in the European Union) this is required so please add any required info in accordance with the statutory regulations."
|
194 |
+
msgstr ""
|
195 |
+
|
196 |
+
#: classes/class-wcdn-settings.php:182
|
197 |
+
msgid "Leave blank to not print any policies or conditions."
|
198 |
+
msgstr ""
|
199 |
+
|
200 |
+
#: classes/class-wcdn-settings.php:188
|
201 |
+
msgid "Footer Imprint"
|
202 |
+
msgstr ""
|
203 |
+
|
204 |
+
#: classes/class-wcdn-settings.php:195
|
205 |
+
msgid "Leave blank to not print a footer."
|
206 |
+
msgstr ""
|
207 |
+
|
208 |
+
#: classes/class-wcdn-settings.php:201
|
209 |
+
msgid "Preview Options"
|
210 |
+
msgstr ""
|
211 |
+
|
212 |
+
#: classes/class-wcdn-settings.php:206
|
213 |
+
msgid "Preview opens"
|
214 |
+
msgstr ""
|
215 |
+
|
216 |
+
#: classes/class-wcdn-settings.php:210
|
217 |
+
msgid "Start printing when the preview page opens"
|
218 |
+
msgstr ""
|
219 |
+
|
220 |
+
#: classes/class-wcdn-settings.php:215
|
221 |
+
msgid "Order Numbering Options"
|
222 |
+
msgstr ""
|
223 |
+
|
224 |
+
#: classes/class-wcdn-settings.php:220
|
225 |
+
msgid "Before order number"
|
226 |
+
msgstr ""
|
227 |
+
|
228 |
+
#: classes/class-wcdn-settings.php:224
|
229 |
+
msgid "This text will be placed before the order number ie. \"YOUR-TEXT123\"."
|
230 |
+
msgstr ""
|
231 |
+
|
232 |
+
#: classes/class-wcdn-settings.php:229
|
233 |
+
msgid "After order number"
|
234 |
+
msgstr ""
|
235 |
+
|
236 |
+
#: classes/class-wcdn-settings.php:233
|
237 |
+
msgid "This text will be placed after the order number ie. \"123YOUR-TEXT\"."
|
238 |
+
msgstr ""
|
239 |
+
|
240 |
+
#: classes/class-wcdn-settings.php:238
|
241 |
+
msgid "Number Offset"
|
242 |
+
msgstr ""
|
243 |
+
|
244 |
+
#: classes/class-wcdn-settings.php:243
|
245 |
+
msgid "This adds an offset to the WooCommerce order number. Helpful for a contiguous numbering."
|
246 |
+
msgstr ""
|
247 |
+
|
248 |
+
#: classes/class-wcdn-settings.php:245
|
249 |
+
msgid "Only positive or negative numbers are allowed."
|
250 |
+
msgstr ""
|
251 |
+
|
252 |
+
#: classes/class-wcdn-writepanel.php:78
|
253 |
+
msgid "Order Print"
|
254 |
+
msgstr ""
|
255 |
+
|
256 |
+
#: classes/class-wcdn-writepanel.php:91
|
257 |
+
msgid "Print Invoice"
|
258 |
+
msgstr ""
|
259 |
+
|
260 |
+
#: classes/class-wcdn-writepanel.php:92
|
261 |
+
msgid "Print Delivery Note"
|
262 |
+
msgstr ""
|
263 |
+
|
264 |
+
#: templates/delivery-notes/print.php:5
|
265 |
+
#: templates/delivery-notes/print.php:21
|
266 |
+
msgid "Invoice"
|
267 |
+
msgstr ""
|
268 |
+
|
269 |
+
#: templates/delivery-notes/print.php:29
|
270 |
+
msgid "Recipient"
|
271 |
+
msgstr ""
|
272 |
+
|
273 |
+
#: templates/delivery-notes/print.php:111
|
274 |
+
msgid "Customer Notes"
|
275 |
+
msgstr ""
|
276 |
+
|
277 |
+
#: woocommerce-delivery-notes.php:0
|
278 |
+
msgid "WooCommerce Print Invoices & Delivery Notes"
|
279 |
+
msgstr ""
|
280 |
+
|
281 |
+
#: woocommerce-delivery-notes.php:0
|
282 |
+
msgid "https://github.com/piffpaffpuff/woocommerce-delivery-notes"
|
283 |
+
msgstr "https://github.com/piffpaffpuff/woocommerce-delivery-notes"
|
284 |
+
|
285 |
+
#: woocommerce-delivery-notes.php:0
|
286 |
+
msgid "Print order invoices & delivery notes for WooCommerce shop plugin. You can add company/shop info as well as personal notes & policies to print pages."
|
287 |
+
msgstr ""
|
288 |
+
|
289 |
+
#: woocommerce-delivery-notes.php:0
|
290 |
+
msgid "Steve Clark, Triggvy Gunderson, David Decker"
|
291 |
+
msgstr "Steve Clark, Triggvy Gunderson, David Decker"
|
292 |
+
|
293 |
+
#: woocommerce-delivery-notes.php:0
|
294 |
+
msgid "1.2"
|
295 |
+
msgstr "1.2"
|
296 |
+
|
297 |
+
#: classes/class-wcdn-settings.php:98
|
298 |
+
msgid "This plugin enables you to add a Invoice or simple Delivery Note page for printing for your orders in WooCommerce shop plugin. You can add your company postal address, further add personal notes, refund or other policies and a footer note/branding. This helps speed up your daily shop and order management. In some countries (e.g. in the European Union) it is also required to advice the customer with proper refund policies so this little plugin might help you a bit with that too."
|
299 |
+
msgstr ""
|
300 |
+
|
301 |
+
#: classes/class-wcdn-settings.php:99
|
302 |
+
msgid "Just look under <a href=\"%1$s\">WooCommerce > Orders</a> and there go to a single order view. On the right side you will see the Order Print meta box. Click one of the buttons and you get the invoice or delivery note printing page. Yes, it is that easy :-)."
|
303 |
+
msgstr ""
|
304 |
+
|
languages/woocommerce-delivery-notes-sv_SE.mo
CHANGED
Binary file
|
languages/woocommerce-delivery-notes-sv_SE.po
CHANGED
@@ -1,446 +1,304 @@
|
|
1 |
-
#
|
2 |
-
#
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"
|
6 |
-
"Report-Msgid-Bugs-To: http://wordpress.org/tags/woocommerce-delivery-notes\n"
|
7 |
-
"POT-Creation-Date: 2011-12-26 14:02+0100\n"
|
8 |
-
"PO-Revision-Date: 2012-02-07 02:57+0100\n"
|
9 |
-
"Last-Translator: Christopher Anderton\n"
|
10 |
-
"Language-Team: Christopher Anderton\n"
|
11 |
"MIME-Version: 1.0\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
15 |
-
"X-
|
16 |
-
"
|
17 |
-
"
|
18 |
-
"
|
19 |
-
"
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
#: delivery-note-template/template.php:5
|
24 |
-
#: delivery-note-template/template.php:25
|
25 |
-
#: wcdn-classes.php:101
|
26 |
msgid "Delivery Note"
|
27 |
msgstr "Följesedel"
|
28 |
|
29 |
-
|
30 |
-
#: delivery-
|
31 |
-
#: delivery-note-template/template.php:129
|
32 |
msgid "Print Page"
|
33 |
msgstr "Skriv ut sidan"
|
34 |
|
35 |
-
|
36 |
-
#: delivery-note-template/template.php:67
|
37 |
msgid "Quantity"
|
38 |
msgstr "Kvantitet"
|
39 |
|
40 |
-
|
41 |
-
#: delivery-note-template/template.php:68
|
42 |
msgid "Price"
|
43 |
msgstr "Pris"
|
44 |
|
45 |
-
|
46 |
-
#: delivery-note-template/template.php:86
|
47 |
msgid "Subtotal"
|
48 |
msgstr "Delsumma"
|
49 |
|
50 |
-
|
51 |
-
#: delivery-note-template/template.php:91
|
52 |
msgid "Shipping"
|
53 |
msgstr "Frakt"
|
54 |
|
55 |
-
|
56 |
-
#: delivery-note-template/template.php:97
|
57 |
msgid "Tax"
|
58 |
msgstr "Moms"
|
59 |
|
60 |
-
|
61 |
-
#: delivery-note-template/template.php:103
|
62 |
msgid "Discount"
|
63 |
msgstr "Rabatt"
|
64 |
|
65 |
-
|
66 |
-
#: delivery-note-template/template.php:108
|
67 |
msgid "Grand Total"
|
68 |
msgstr "Totalsumma"
|
69 |
|
70 |
-
|
71 |
-
#: wcdn-classes.php:144
|
72 |
-
#: wcdn-print.php:27
|
73 |
msgid "You do not have sufficient permissions to access this page."
|
74 |
msgstr "Du har inte tillräcklig behörighet för att komma åt denna sida."
|
75 |
|
76 |
-
|
77 |
-
#: wcdn-classes.php:115
|
78 |
-
msgid "View & Print Delivery Note"
|
79 |
-
msgstr "Visa & skriv ut följesedel"
|
80 |
-
|
81 |
-
#@ woocommerce-delivery-notes
|
82 |
-
#: wcdn-classes.php:132
|
83 |
-
msgid "Delivery Notes Settings"
|
84 |
-
msgstr "Inställningar för följesedel"
|
85 |
-
|
86 |
-
#@ woocommerce-delivery-notes
|
87 |
-
#: wcdn-classes.php:160
|
88 |
-
msgid "Settings saved."
|
89 |
-
msgstr "Inställningar sparade."
|
90 |
-
|
91 |
-
#@ woocommerce-delivery-notes
|
92 |
-
#: wcdn-classes.php:248
|
93 |
-
msgid "Save Changes"
|
94 |
-
msgstr "Spara ändringar"
|
95 |
-
|
96 |
-
#@ woocommerce-delivery-notes
|
97 |
-
#. translators: plugin header field 'Name'
|
98 |
-
#: woocommerce-delivery-notes.php:0
|
99 |
-
msgid "WooCommerce Delivery Notes"
|
100 |
-
msgstr "WooCommerce följesedel"
|
101 |
-
|
102 |
-
#@ woocommerce-delivery-notes
|
103 |
-
#. translators: plugin header field 'PluginURI'
|
104 |
-
#: woocommerce-delivery-notes.php:0
|
105 |
-
msgid "http://genesisthemes.de/en/wp-plugins/woocommerce-delivery-notes/"
|
106 |
-
msgstr "http://genesisthemes.de/en/wp-plugins/woocommerce-delivery-notes/"
|
107 |
-
|
108 |
-
#@ woocommerce-delivery-notes
|
109 |
-
#. translators: plugin header field 'Author'
|
110 |
-
#: woocommerce-delivery-notes.php:0
|
111 |
-
msgid "David Decker - DECKERWEB"
|
112 |
-
msgstr "David Decker - DECKERWEB"
|
113 |
-
|
114 |
-
#@ woocommerce-delivery-notes
|
115 |
-
#. translators: plugin header field 'AuthorURI'
|
116 |
-
#: woocommerce-delivery-notes.php:0
|
117 |
-
msgid "http://deckerweb.de/"
|
118 |
-
msgstr "http://deckerweb.de/"
|
119 |
-
|
120 |
-
#@ woocommerce-delivery-notes
|
121 |
-
#. translators: plugin header field 'Version'
|
122 |
-
#: woocommerce-delivery-notes.php:0
|
123 |
-
msgid "1.1"
|
124 |
-
msgstr "1.1"
|
125 |
-
|
126 |
-
#@ woocommerce-delivery-notes
|
127 |
-
#: woocommerce-delivery-notes.php:48
|
128 |
msgid "Go to the settings page"
|
129 |
msgstr "Gå till inställningssidan"
|
130 |
|
131 |
-
|
132 |
-
#: woocommerce-delivery-notes.php:48
|
133 |
msgid "Settings"
|
134 |
msgstr "Inställningar"
|
135 |
|
136 |
-
|
137 |
-
#: wcdn-help.php:23
|
138 |
msgid "FAQ"
|
139 |
msgstr "FAQ"
|
140 |
|
141 |
-
|
142 |
-
#: wcdn-help.php:24
|
143 |
msgid "Support"
|
144 |
msgstr "Support"
|
145 |
|
146 |
-
|
147 |
-
#: wcdn-help.php:25
|
148 |
-
#: wcdn-help.php:147
|
149 |
msgid "http://genesisthemes.de/en/donate/"
|
150 |
msgstr "http://genesisthemes.de/en/donate/"
|
151 |
|
152 |
-
|
153 |
-
#: wcdn-help.php:25
|
154 |
msgid "Donate"
|
155 |
msgstr "Donera"
|
156 |
|
157 |
-
|
158 |
-
#: delivery-note-template/template.php:66
|
159 |
msgid "Product Name"
|
160 |
msgstr "Produktnamn"
|
161 |
|
162 |
-
|
163 |
-
#: wcdn-classes.php:194
|
164 |
-
msgid "Company/Shop Address:"
|
165 |
-
msgstr "Företag- butiksadress:"
|
166 |
-
|
167 |
-
#@ woocommerce-delivery-notes
|
168 |
-
#: wcdn-classes.php:207
|
169 |
-
msgid "Personal Notes:"
|
170 |
-
msgstr "Personliga anteckningar:"
|
171 |
-
|
172 |
-
#@ woocommerce-delivery-notes
|
173 |
-
#: wcdn-classes.php:220
|
174 |
msgid "Returns Policy, Conditions, etc.:"
|
175 |
msgstr "Returvillkor, köpvillkor o.s.v."
|
176 |
|
177 |
-
|
178 |
-
#: wcdn-classes.php:233
|
179 |
-
msgid "Footer Imprint:"
|
180 |
-
msgstr "Sidfotsinnehåll:"
|
181 |
-
|
182 |
-
#@ woocommerce-delivery-notes
|
183 |
-
#: delivery-note-template/template.php:36
|
184 |
-
msgid "Recipient:"
|
185 |
-
msgstr "Mottagare:"
|
186 |
-
|
187 |
-
#@ woocommerce-delivery-notes
|
188 |
-
#: delivery-note-template/template.php:51
|
189 |
msgid "Order No."
|
190 |
msgstr "Beställning nr:"
|
191 |
|
192 |
-
|
193 |
-
#: delivery-note-template/template.php:55
|
194 |
msgid "Order Date"
|
195 |
msgstr "Beställningsdatum"
|
196 |
|
197 |
-
|
198 |
-
#: delivery-note-template/template.php:74
|
199 |
msgid "SKU:"
|
200 |
msgstr "Artikelnummer:"
|
201 |
|
202 |
-
|
203 |
-
#: delivery-note-template/template.php:74
|
204 |
msgid "Weight:"
|
205 |
msgstr "Vikt:"
|
206 |
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
msgid "What the Plugin Does"
|
211 |
-
msgstr "Vad tillägget gör"
|
212 |
-
|
213 |
-
#@ woocommerce-delivery-notes
|
214 |
-
#: wcdn-help.php:74
|
215 |
-
#: wcdn-help.php:121
|
216 |
-
msgid "FAQ - Frequently Asked Questions"
|
217 |
-
msgstr "FAQ - Frequently Asked Questions (Vanliga frågor)"
|
218 |
-
|
219 |
-
#@ woocommerce-delivery-notes
|
220 |
-
#: wcdn-help.php:84
|
221 |
-
#: wcdn-help.php:158
|
222 |
-
msgid "Author - License"
|
223 |
-
msgstr "Författare - Licens"
|
224 |
-
|
225 |
-
#@ woocommerce-delivery-notes
|
226 |
-
#: wcdn-help.php:79
|
227 |
-
#: wcdn-help.php:146
|
228 |
-
msgid "Support - Donations - Rating & Tips"
|
229 |
-
msgstr "Support - Donationer - Betyg & Tips"
|
230 |
-
|
231 |
-
#@ woocommerce-delivery-notes
|
232 |
-
#: wcdn-help.php:108
|
233 |
-
#: wcdn-help.php:119
|
234 |
-
#: wcdn-help.php:144
|
235 |
-
#: wcdn-help.php:156
|
236 |
-
msgid "Plugin: WooCommerce Delivery Notes"
|
237 |
-
msgstr "Tillägg: WooCommerce Delivery Notes"
|
238 |
-
|
239 |
-
#@ woocommerce-delivery-notes
|
240 |
-
#: wcdn-help.php:111
|
241 |
-
msgid "This plugin enables you to add a simple Delivery Note page for printing for your orders in WooCommerce shop plugin. You can add your company postal address, further add personal notes, refund or other policies and a footer note/branding. This helps speed up your daily shop and order management. In some countries (e.g. in the European Union) it is also required to advice the customer with proper refund policies so this little plugin might help you a bit with that too."
|
242 |
-
msgstr "Med detta tillägg kan du lägga till en enkel följesedels-sida för utskrift för din order i WooCommerce. Du kan lägga till ditt företags postadress, personliga anteckningar, återbetalningsinformation eller annat. Du kan lägga till en logotyp eller anteckning i sidfoten. Detta snabbar upp och hjälper till i den dagliga butiks- och orderhanteringen. I vissa länder (t ex inom EU) krävs det att det finns tydlig information om produktreturer och återbetalning. Detta lilla tillägg kan hjälpa dig med det också."
|
243 |
-
|
244 |
-
#@ woocommerce-delivery-notes
|
245 |
-
#: wcdn-help.php:147
|
246 |
-
#, php-format
|
247 |
-
msgid "<strong>Donations:</strong> Please %1$sdonate to support the further maintenance and development%2$s of the plugin. <em>Thank you in advance!</em>"
|
248 |
-
msgstr "<strong>Donationer:</strong> Var vänlig %1$sdonera för att stödja underhåll och utveckling%2$s av tillägget. <em>Tack på förhand!</em>"
|
249 |
-
|
250 |
-
#@ woocommerce-delivery-notes
|
251 |
-
#: wcdn-help.php:148
|
252 |
-
#, php-format
|
253 |
-
msgid "<strong>Support:</strong> Done via %1$sWordPress.org plugin page support forum%2$s. - Maybe I will setup my own support forum in the future, though."
|
254 |
-
msgstr "<strong> Support: </ strong> sker via %1$sWordPress.org tilläggssida Supportforum%2$s. - Jag kanske kommer att sätta upp mitt eget supportforum i framtiden."
|
255 |
-
|
256 |
-
#@ woocommerce-delivery-notes
|
257 |
-
#: wcdn-classes.php:181
|
258 |
-
msgid "Company/Shop Name:"
|
259 |
-
msgstr "Företag- butiksnamn:"
|
260 |
-
|
261 |
-
#@ woocommerce-delivery-notes
|
262 |
-
#. translators: plugin header field 'Description'
|
263 |
-
#: woocommerce-delivery-notes.php:0
|
264 |
-
msgid "This plugin adds simple Delivery Notes for the WooCommerce Shop Plugin. You can add company/shop info as well as personal notes and policies to the print page."
|
265 |
-
msgstr "Detta tillägg lägger till enkla följesedlar för WooCommerce Shop tillägget. Du kan lägga till företaget/butikens info samt personliga anteckningar och villkor till den utskriftssidan."
|
266 |
|
267 |
-
|
268 |
-
#: wcdn-classes.php:186
|
269 |
msgid "Your custom company or shop name for the Delivery Note."
|
270 |
msgstr "Ditt anpassade företags- eller butiksnamn på följesedeln."
|
271 |
|
272 |
-
|
273 |
-
#: wcdn-
|
274 |
-
#: wcdn-
|
275 |
-
#: wcdn-
|
276 |
-
#: wcdn-
|
277 |
-
#: wcdn-
|
278 |
msgid "Note:"
|
279 |
msgstr "OBS:"
|
280 |
|
281 |
-
|
282 |
-
#: wcdn-classes.php:188
|
283 |
-
msgid "Leave blank to use your default Website/ Blog title defined in WordPress settings."
|
284 |
-
msgstr "Lämna tomt för att använda din standardtitel för din webbsida eller blogg definierad i WordPress-inställningarna."
|
285 |
-
|
286 |
-
#@ woocommerce-delivery-notes
|
287 |
-
#: wcdn-classes.php:199
|
288 |
msgid "The postal address of the company/shop, which gets printed right of the company/shop name, above the order listings."
|
289 |
msgstr "Postadressen till företaget/butiken, som trycks till höger av företagets/butikens namn, ovanför orderlistan."
|
290 |
|
291 |
-
|
292 |
-
#: wcdn-classes.php:201
|
293 |
-
msgid "Here, you can also add some other contact information like the telephone and email."
|
294 |
-
msgstr "Här kan du lägga till annan kontaktinformation som telefon eller epost."
|
295 |
-
|
296 |
-
#@ woocommerce-delivery-notes
|
297 |
-
#: wcdn-classes.php:212
|
298 |
msgid "Add some personal notes, or season greetings or whatever (e.g. Thank You for Your Order!, Merry Christmas!, etc.)."
|
299 |
msgstr "Lägg till några personliga anteckningar eller hälsningar (t.ex. Tack för din beställning!, God Jul!, etc.)."
|
300 |
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
msgstr "Denna information skrivs under orderlistan men ovanför de vanliga fraktanteckningarna (tillagt på WooCommerces enskilda ordersidor). Dessa personliga anteckningar kommer att visas med större textstorlek."
|
305 |
|
306 |
-
|
307 |
-
#: wcdn-
|
308 |
-
msgid "
|
309 |
-
msgstr "
|
310 |
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
msgstr "I vissa länder (t.ex. i EU) krävs detta. Så lägg till all nödvändig information i enlighet med landets lagar."
|
315 |
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
320 |
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
#:
|
343 |
-
msgid "
|
344 |
-
msgstr "
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
#:
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
#@ woocommerce-delivery-notes
|
374 |
-
#: wcdn-help.php:126
|
375 |
-
#: wcdn-help.php:134
|
376 |
-
msgid "Answer:"
|
377 |
-
msgstr "Svar:"
|
378 |
-
|
379 |
-
#@ woocommerce-delivery-notes
|
380 |
-
#: wcdn-help.php:149
|
381 |
-
#, php-format
|
382 |
-
msgid "<strong>Rating & Tips:</strong> If you like the plugin please %1$srate at WordPress.org%2$s with 5 stars. <em>Thank you!</em> — %3$sMore plugins for WordPress by DECKERWEB%2$s"
|
383 |
-
msgstr "<strong> Betyg & tips: </strong> Om du gillar tillägget, betygsätt gärna %1$srate på WordPress.org%2$s med 5 stjärnor. <em> Tack! </em> — %3$sMer tillägg för WordPress av DECKERWEB%2$s"
|
384 |
-
|
385 |
-
#@ woocommerce-delivery-notes
|
386 |
-
#: wcdn-help.php:159
|
387 |
-
#, php-format
|
388 |
-
msgid "<strong>Author:</strong> David Decker of %1$sdeckerweb.de%2$s and %3$sGenesisThemes%2$s - Join me at %4$sTwitter%2$s, %5$sFacebook%2$s and %6$sGoogle Plus%2$s :-)"
|
389 |
-
msgstr "<strong>Författare:</strong> David Decker från %1$sdeckerweb.de%2$s and %3$sGenesisThemes%2$s - Följ mig på %4$sTwitter%2$s, %5$sFacebook%2$s and %6$sGoogle Plus%2$s :-)"
|
390 |
-
|
391 |
-
#@ woocommerce-delivery-notes
|
392 |
-
#: wcdn-help.php:160
|
393 |
-
#, php-format
|
394 |
-
msgid "<strong>License:</strong> GPL v3 - %1$sMore info on the GPL license ...%2$s"
|
395 |
-
msgstr "<strong>Licens:</strong> GPL v3 - %1$sMer info om GPL licensen ...%2$s"
|
396 |
-
|
397 |
-
#@ woocommerce-delivery-notes
|
398 |
-
#: wcdn-help.php:91
|
399 |
-
msgid "Website"
|
400 |
-
msgstr "Webbsida"
|
401 |
-
|
402 |
-
#@ woocommerce-delivery-notes
|
403 |
-
#: wcdn-help.php:93
|
404 |
-
msgid "at WordPress.org"
|
405 |
-
msgstr "på WordPress.org"
|
406 |
-
|
407 |
-
#@ woocommerce-delivery-notes
|
408 |
-
#: wcdn-help.php:91
|
409 |
-
msgid "http://genesisthemes.de/en/"
|
410 |
-
msgstr "http://genesisthemes.de/en/"
|
411 |
-
|
412 |
-
#@ woocommerce-delivery-notes
|
413 |
-
#: wcdn-help.php:125
|
414 |
-
msgid "Can I use a Custom Template for the printing page?"
|
415 |
-
msgstr "Kan jag använda en egen mall för urskriftssidan?"
|
416 |
-
|
417 |
-
#@ woocommerce-delivery-notes
|
418 |
-
#: wcdn-help.php:128
|
419 |
-
msgid "Note: This works with both single themes and child themes (if you use some framework like Genesis). If your current active theme is a child theme put the custom folder there! (e.g. <code>/wp-content/themes/your-child-theme-name/woocommerce</code>)"
|
420 |
-
msgstr "Obs: Detta fungerar med både singelteman och barnteman (om du använder vissa ramverk som Genesis). Om det nuvarande aktiva temat är ett barntema lägg din egena mapp där! (t.ex. <code>/wp-content/themes/ditt-barntema-namn/woocommerce</code>)"
|
421 |
-
|
422 |
-
#@ woocommerce-delivery-notes
|
423 |
-
#: wcdn-help.php:133
|
424 |
-
msgid "What Template Functions can I use?"
|
425 |
-
msgstr "Vilka mallfunktioner kan jag använda?"
|
426 |
-
|
427 |
-
#@ woocommerce-delivery-notes
|
428 |
-
#: wcdn-help.php:127
|
429 |
-
msgid "If you want to use your own template then all you need to do is copy the <code>/wp-content/plugins/woocommerce-delivery-notes/delivery-note-template</code> folder and paste it inside your <code>/wp-content/themes/your-theme-name/woocommerce</code> folder (if not there just create it). The folder from the plugin comes with the default template and the basic CSS stylesheet file. You can modifiy this to fit your own needs."
|
430 |
-
msgstr "Om du vill använda en egen mall så är allt du behöver göra är att kopiera <code>/wp-content/plugins/woocommerce-delivery-notes/delivery-note-template</code> mappen och klistra in den i <code > / wp-content/themes/ditt-temas-namn/woocommerce </code> mappen (om den inte finns så kan du skapa den själv). Tilläggets mapp kommer med en standardmall och de grundläggande CSS-stilarna. Du kan modifiera dessa så det passar dina behov."
|
431 |
-
|
432 |
-
#@ woocommerce-delivery-notes
|
433 |
-
#: wcdn-help.php:136
|
434 |
-
msgid "Important note: This is only intended for developers who know what they do! Please be careful with adding any code/functions! The default template and functions should fit most use cases."
|
435 |
-
msgstr "Viktigt: Detta är endast avsedd för utvecklare som vet vad de gör! Var försiktig med att lägga till någon kod / funktioner! En standardmall och funktioner bör passa de flesta situationer."
|
436 |
-
|
437 |
-
#@ woocommerce-delivery-notes
|
438 |
-
#: wcdn-help.php:135
|
439 |
-
msgid "Arbitrary php code and all WordPress functions are available in the template. Besides that there are many Delivery Notes specific template functions. Open the <code>woocommerce-delivery-notes/wcdn-print.php</code> file to see all available functions."
|
440 |
-
msgstr "Godtycklig PHP-kod och alla WordPress funktioner finns tillgängliga i mallen. Det finns även många specifika mall funktioner för tillägget. Öppna <code> woocommerce-delivery-notes/wcdn-print.php </code> fil för att se alla tillgängliga funktioner."
|
441 |
-
|
442 |
-
#@ woocommerce-delivery-notes
|
443 |
-
#: delivery-note-template/template.php:121
|
444 |
-
msgid "Customer Notes:"
|
445 |
-
msgstr "Kommentarer om kund:"
|
446 |
|
1 |
+
# Translation of WooCommerce Print Invoices & Delivery Notes in Swedish
|
2 |
+
# This file is distributed under the same license as the WooCommerce Print Invoices & Delivery Notes package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"PO-Revision-Date: 2012-05-07 10:17+0100\n"
|
|
|
|
|
|
|
|
|
|
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
+
"X-Generator: GlotPress/0.1\n"
|
11 |
+
"Project-Id-Version: WooCommerce Print Invoices & Delivery Notes\n"
|
12 |
+
"POT-Creation-Date: \n"
|
13 |
+
"Last-Translator: David Decker <deckerweb.mobil@googlemail.com>\n"
|
14 |
+
"Language-Team: \n"
|
15 |
+
|
16 |
+
#: templates/delivery-notes/print.php:5
|
17 |
+
#: templates/delivery-notes/print.php:21
|
|
|
|
|
|
|
18 |
msgid "Delivery Note"
|
19 |
msgstr "Följesedel"
|
20 |
|
21 |
+
#: templates/delivery-notes/print.php:129
|
22 |
+
#: woocommerce-delivery-notes-print.php:90
|
|
|
23 |
msgid "Print Page"
|
24 |
msgstr "Skriv ut sidan"
|
25 |
|
26 |
+
#: templates/delivery-notes/print.php:58
|
|
|
27 |
msgid "Quantity"
|
28 |
msgstr "Kvantitet"
|
29 |
|
30 |
+
#: templates/delivery-notes/print.php:59
|
|
|
31 |
msgid "Price"
|
32 |
msgstr "Pris"
|
33 |
|
34 |
+
#: templates/delivery-notes/print.php:79
|
|
|
35 |
msgid "Subtotal"
|
36 |
msgstr "Delsumma"
|
37 |
|
38 |
+
#: templates/delivery-notes/print.php:84
|
|
|
39 |
msgid "Shipping"
|
40 |
msgstr "Frakt"
|
41 |
|
42 |
+
#: templates/delivery-notes/print.php:90
|
|
|
43 |
msgid "Tax"
|
44 |
msgstr "Moms"
|
45 |
|
46 |
+
#: templates/delivery-notes/print.php:96
|
|
|
47 |
msgid "Discount"
|
48 |
msgstr "Rabatt"
|
49 |
|
50 |
+
#: templates/delivery-notes/print.php:101
|
|
|
51 |
msgid "Grand Total"
|
52 |
msgstr "Totalsumma"
|
53 |
|
54 |
+
#: woocommerce-delivery-notes-print.php:23
|
|
|
|
|
55 |
msgid "You do not have sufficient permissions to access this page."
|
56 |
msgstr "Du har inte tillräcklig behörighet för att komma åt denna sida."
|
57 |
|
58 |
+
#: classes/class-wcdn-settings.php:53
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
msgid "Go to the settings page"
|
60 |
msgstr "Gå till inställningssidan"
|
61 |
|
62 |
+
#: classes/class-wcdn-settings.php:53
|
|
|
63 |
msgid "Settings"
|
64 |
msgstr "Inställningar"
|
65 |
|
66 |
+
#: classes/class-wcdn-writepanel.php:64
|
|
|
67 |
msgid "FAQ"
|
68 |
msgstr "FAQ"
|
69 |
|
70 |
+
#: classes/class-wcdn-writepanel.php:65
|
|
|
71 |
msgid "Support"
|
72 |
msgstr "Support"
|
73 |
|
74 |
+
#: classes/class-wcdn-writepanel.php:66
|
|
|
|
|
75 |
msgid "http://genesisthemes.de/en/donate/"
|
76 |
msgstr "http://genesisthemes.de/en/donate/"
|
77 |
|
78 |
+
#: classes/class-wcdn-writepanel.php:66
|
|
|
79 |
msgid "Donate"
|
80 |
msgstr "Donera"
|
81 |
|
82 |
+
#: templates/delivery-notes/print.php:57
|
|
|
83 |
msgid "Product Name"
|
84 |
msgstr "Produktnamn"
|
85 |
|
86 |
+
#: classes/class-wcdn-settings.php:175
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
msgid "Returns Policy, Conditions, etc.:"
|
88 |
msgstr "Returvillkor, köpvillkor o.s.v."
|
89 |
|
90 |
+
#: templates/delivery-notes/print.php:44
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
msgid "Order No."
|
92 |
msgstr "Beställning nr:"
|
93 |
|
94 |
+
#: templates/delivery-notes/print.php:48
|
|
|
95 |
msgid "Order Date"
|
96 |
msgstr "Beställningsdatum"
|
97 |
|
98 |
+
#: templates/delivery-notes/print.php:65
|
|
|
99 |
msgid "SKU:"
|
100 |
msgstr "Artikelnummer:"
|
101 |
|
102 |
+
#: templates/delivery-notes/print.php:65
|
|
|
103 |
msgid "Weight:"
|
104 |
msgstr "Vikt:"
|
105 |
|
106 |
+
#: classes/class-wcdn-settings.php:96
|
107 |
+
msgid "Plugin: WooCommerce Print Invoices & Delivery Notes"
|
108 |
+
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
109 |
|
110 |
+
#: classes/class-wcdn-settings.php:141
|
|
|
111 |
msgid "Your custom company or shop name for the Delivery Note."
|
112 |
msgstr "Ditt anpassade företags- eller butiksnamn på följesedeln."
|
113 |
|
114 |
+
#: classes/class-wcdn-settings.php:142
|
115 |
+
#: classes/class-wcdn-settings.php:155
|
116 |
+
#: classes/class-wcdn-settings.php:168
|
117 |
+
#: classes/class-wcdn-settings.php:181
|
118 |
+
#: classes/class-wcdn-settings.php:194
|
119 |
+
#: classes/class-wcdn-settings.php:244
|
120 |
msgid "Note:"
|
121 |
msgstr "OBS:"
|
122 |
|
123 |
+
#: classes/class-wcdn-settings.php:154
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
msgid "The postal address of the company/shop, which gets printed right of the company/shop name, above the order listings."
|
125 |
msgstr "Postadressen till företaget/butiken, som trycks till höger av företagets/butikens namn, ovanför orderlistan."
|
126 |
|
127 |
+
#: classes/class-wcdn-settings.php:167
|
|
|
|
|
|
|
|
|
|
|
|
|
128 |
msgid "Add some personal notes, or season greetings or whatever (e.g. Thank You for Your Order!, Merry Christmas!, etc.)."
|
129 |
msgstr "Lägg till några personliga anteckningar eller hälsningar (t.ex. Tack för din beställning!, God Jul!, etc.)."
|
130 |
|
131 |
+
#: classes/class-wcdn-settings.php:193
|
132 |
+
msgid "Add some further footer imprint, copyright notes etc. to get the printed sheets a bit more branded to your needs."
|
133 |
+
msgstr "Lägg till ytterligare sidfotsinnehåll. Upphovsrättsanteckningar etc. För att få de utskrivna sidorna mer anpassade efter dina behov."
|
|
|
134 |
|
135 |
+
#: classes/class-wcdn-settings.php:94
|
136 |
+
#: classes/class-wcdn-settings.php:97
|
137 |
+
msgid "About the Plugin"
|
138 |
+
msgstr ""
|
139 |
|
140 |
+
#: classes/class-wcdn-settings.php:104
|
141 |
+
msgid "For more information:"
|
142 |
+
msgstr ""
|
|
|
143 |
|
144 |
+
#: classes/class-wcdn-settings.php:105
|
145 |
+
msgid "Frequently Asked Questions"
|
146 |
+
msgstr ""
|
147 |
+
|
148 |
+
#: classes/class-wcdn-settings.php:106
|
149 |
+
msgid "Project on WordPress.org"
|
150 |
+
msgstr ""
|
151 |
+
|
152 |
+
#: classes/class-wcdn-settings.php:107
|
153 |
+
msgid "Project on GitHub"
|
154 |
+
msgstr ""
|
155 |
+
|
156 |
+
#: classes/class-wcdn-settings.php:108
|
157 |
+
msgid "Discuss in the Forum"
|
158 |
+
msgstr ""
|
159 |
+
|
160 |
+
#: classes/class-wcdn-settings.php:118
|
161 |
+
msgid "Print"
|
162 |
+
msgstr ""
|
163 |
+
|
164 |
+
#: classes/class-wcdn-settings.php:131
|
165 |
+
msgid "Invoices and Delivery Notes"
|
166 |
+
msgstr ""
|
167 |
+
|
168 |
+
#: classes/class-wcdn-settings.php:136
|
169 |
+
msgid "Company/Shop Name"
|
170 |
+
msgstr ""
|
171 |
+
|
172 |
+
#: classes/class-wcdn-settings.php:143
|
173 |
+
msgid "Leave blank to use the default Website/ Blog title defined in WordPress settings."
|
174 |
+
msgstr ""
|
175 |
+
|
176 |
+
#: classes/class-wcdn-settings.php:149
|
177 |
+
msgid "Company/Shop Address"
|
178 |
+
msgstr ""
|
179 |
+
|
180 |
+
#: classes/class-wcdn-settings.php:156
|
181 |
+
msgid "Leave blank to not print an address."
|
182 |
+
msgstr ""
|
183 |
+
|
184 |
+
#: classes/class-wcdn-settings.php:162
|
185 |
+
msgid "Personal Notes"
|
186 |
+
msgstr ""
|
187 |
+
|
188 |
+
#: classes/class-wcdn-settings.php:169
|
189 |
+
msgid "Leave blank to not print any personal notes."
|
190 |
+
msgstr ""
|
191 |
+
|
192 |
+
#: classes/class-wcdn-settings.php:180
|
193 |
+
msgid "Here you can add some more policies, conditions etc. For example add a returns policy in case the client would like to send back some goods. In some countries (e.g. in the European Union) this is required so please add any required info in accordance with the statutory regulations."
|
194 |
+
msgstr ""
|
195 |
+
|
196 |
+
#: classes/class-wcdn-settings.php:182
|
197 |
+
msgid "Leave blank to not print any policies or conditions."
|
198 |
+
msgstr ""
|
199 |
+
|
200 |
+
#: classes/class-wcdn-settings.php:188
|
201 |
+
msgid "Footer Imprint"
|
202 |
+
msgstr ""
|
203 |
+
|
204 |
+
#: classes/class-wcdn-settings.php:195
|
205 |
+
msgid "Leave blank to not print a footer."
|
206 |
+
msgstr ""
|
207 |
+
|
208 |
+
#: classes/class-wcdn-settings.php:201
|
209 |
+
msgid "Preview Options"
|
210 |
+
msgstr ""
|
211 |
+
|
212 |
+
#: classes/class-wcdn-settings.php:206
|
213 |
+
msgid "Preview opens"
|
214 |
+
msgstr ""
|
215 |
+
|
216 |
+
#: classes/class-wcdn-settings.php:210
|
217 |
+
msgid "Start printing when the preview page opens"
|
218 |
+
msgstr ""
|
219 |
+
|
220 |
+
#: classes/class-wcdn-settings.php:215
|
221 |
+
msgid "Order Numbering Options"
|
222 |
+
msgstr ""
|
223 |
+
|
224 |
+
#: classes/class-wcdn-settings.php:220
|
225 |
+
msgid "Before order number"
|
226 |
+
msgstr ""
|
227 |
+
|
228 |
+
#: classes/class-wcdn-settings.php:224
|
229 |
+
msgid "This text will be placed before the order number ie. \"YOUR-TEXT123\"."
|
230 |
+
msgstr ""
|
231 |
+
|
232 |
+
#: classes/class-wcdn-settings.php:229
|
233 |
+
msgid "After order number"
|
234 |
+
msgstr ""
|
235 |
+
|
236 |
+
#: classes/class-wcdn-settings.php:233
|
237 |
+
msgid "This text will be placed after the order number ie. \"123YOUR-TEXT\"."
|
238 |
+
msgstr ""
|
239 |
+
|
240 |
+
#: classes/class-wcdn-settings.php:238
|
241 |
+
msgid "Number Offset"
|
242 |
+
msgstr ""
|
243 |
+
|
244 |
+
#: classes/class-wcdn-settings.php:243
|
245 |
+
msgid "This adds an offset to the WooCommerce order number. Helpful for a contiguous numbering."
|
246 |
+
msgstr ""
|
247 |
+
|
248 |
+
#: classes/class-wcdn-settings.php:245
|
249 |
+
msgid "Only positive or negative numbers are allowed."
|
250 |
+
msgstr ""
|
251 |
|
252 |
+
#: classes/class-wcdn-writepanel.php:78
|
253 |
+
msgid "Order Print"
|
254 |
+
msgstr ""
|
255 |
+
|
256 |
+
#: classes/class-wcdn-writepanel.php:91
|
257 |
+
msgid "Print Invoice"
|
258 |
+
msgstr ""
|
259 |
+
|
260 |
+
#: classes/class-wcdn-writepanel.php:92
|
261 |
+
msgid "Print Delivery Note"
|
262 |
+
msgstr ""
|
263 |
+
|
264 |
+
#: templates/delivery-notes/print.php:5
|
265 |
+
#: templates/delivery-notes/print.php:21
|
266 |
+
msgid "Invoice"
|
267 |
+
msgstr ""
|
268 |
+
|
269 |
+
#: templates/delivery-notes/print.php:29
|
270 |
+
msgid "Recipient"
|
271 |
+
msgstr ""
|
272 |
+
|
273 |
+
#: templates/delivery-notes/print.php:111
|
274 |
+
msgid "Customer Notes"
|
275 |
+
msgstr ""
|
276 |
+
|
277 |
+
#: woocommerce-delivery-notes.php:0
|
278 |
+
msgid "WooCommerce Print Invoices & Delivery Notes"
|
279 |
+
msgstr ""
|
280 |
+
|
281 |
+
#: woocommerce-delivery-notes.php:0
|
282 |
+
msgid "https://github.com/piffpaffpuff/woocommerce-delivery-notes"
|
283 |
+
msgstr "https://github.com/piffpaffpuff/woocommerce-delivery-notes"
|
284 |
+
|
285 |
+
#: woocommerce-delivery-notes.php:0
|
286 |
+
msgid "Print order invoices & delivery notes for WooCommerce shop plugin. You can add company/shop info as well as personal notes & policies to print pages."
|
287 |
+
msgstr ""
|
288 |
+
|
289 |
+
#: woocommerce-delivery-notes.php:0
|
290 |
+
msgid "Steve Clark, Triggvy Gunderson, David Decker"
|
291 |
+
msgstr "Steve Clark, Triggvy Gunderson, David Decker"
|
292 |
+
|
293 |
+
#: woocommerce-delivery-notes.php:0
|
294 |
+
msgid "1.2"
|
295 |
+
msgstr "1.2"
|
296 |
+
|
297 |
+
#: classes/class-wcdn-settings.php:98
|
298 |
+
msgid "This plugin enables you to add a Invoice or simple Delivery Note page for printing for your orders in WooCommerce shop plugin. You can add your company postal address, further add personal notes, refund or other policies and a footer note/branding. This helps speed up your daily shop and order management. In some countries (e.g. in the European Union) it is also required to advice the customer with proper refund policies so this little plugin might help you a bit with that too."
|
299 |
+
msgstr ""
|
300 |
+
|
301 |
+
#: classes/class-wcdn-settings.php:99
|
302 |
+
msgid "Just look under <a href=\"%1$s\">WooCommerce > Orders</a> and there go to a single order view. On the right side you will see the Order Print meta box. Click one of the buttons and you get the invoice or delivery note printing page. Yes, it is that easy :-)."
|
303 |
+
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
304 |
|
languages/woocommerce-delivery-notes.po
CHANGED
@@ -1,445 +1,294 @@
|
|
1 |
-
#
|
2 |
-
# This file is distributed under the same license as the WooCommerce Delivery Notes
|
3 |
-
#
|
4 |
msgid ""
|
5 |
msgstr ""
|
6 |
-
"
|
7 |
-
"Report-Msgid-Bugs-To: http://wordpress.org/tags/woocommerce-delivery-notes\n"
|
8 |
-
"POT-Creation-Date: 2011-12-26 14:02+0100\n"
|
9 |
-
"PO-Revision-Date: \n"
|
10 |
-
"Last-Translator: \n"
|
11 |
-
"Language-Team: \n"
|
12 |
"MIME-Version: 1.0\n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
16 |
-
"X-
|
17 |
-
"
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
#@ woocommerce-delivery-notes
|
22 |
-
#: delivery-note-template/template.php:5
|
23 |
-
#: delivery-note-template/template.php:25
|
24 |
-
#: wcdn-classes.php:101
|
25 |
msgid "Delivery Note"
|
26 |
msgstr ""
|
27 |
|
28 |
-
|
29 |
-
#: delivery-
|
30 |
-
#: delivery-note-template/template.php:129
|
31 |
msgid "Print Page"
|
32 |
msgstr ""
|
33 |
|
34 |
-
|
35 |
-
#: delivery-note-template/template.php:67
|
36 |
msgid "Quantity"
|
37 |
msgstr ""
|
38 |
|
39 |
-
|
40 |
-
#: delivery-note-template/template.php:68
|
41 |
msgid "Price"
|
42 |
msgstr ""
|
43 |
|
44 |
-
|
45 |
-
#: delivery-note-template/template.php:86
|
46 |
msgid "Subtotal"
|
47 |
msgstr ""
|
48 |
|
49 |
-
|
50 |
-
#: delivery-note-template/template.php:91
|
51 |
msgid "Shipping"
|
52 |
msgstr ""
|
53 |
|
54 |
-
|
55 |
-
#: delivery-note-template/template.php:97
|
56 |
msgid "Tax"
|
57 |
msgstr ""
|
58 |
|
59 |
-
|
60 |
-
#: delivery-note-template/template.php:103
|
61 |
msgid "Discount"
|
62 |
msgstr ""
|
63 |
|
64 |
-
|
65 |
-
#: delivery-note-template/template.php:108
|
66 |
msgid "Grand Total"
|
67 |
msgstr ""
|
68 |
|
69 |
-
|
70 |
-
#: wcdn-classes.php:144
|
71 |
-
#: wcdn-print.php:27
|
72 |
msgid "You do not have sufficient permissions to access this page."
|
73 |
msgstr ""
|
74 |
|
75 |
-
|
76 |
-
#: wcdn-classes.php:115
|
77 |
-
msgid "View & Print Delivery Note"
|
78 |
-
msgstr ""
|
79 |
-
|
80 |
-
#@ woocommerce-delivery-notes
|
81 |
-
#: wcdn-classes.php:132
|
82 |
-
msgid "Delivery Notes Settings"
|
83 |
-
msgstr ""
|
84 |
-
|
85 |
-
#@ woocommerce-delivery-notes
|
86 |
-
#: wcdn-classes.php:160
|
87 |
-
msgid "Settings saved."
|
88 |
-
msgstr ""
|
89 |
-
|
90 |
-
#@ woocommerce-delivery-notes
|
91 |
-
#: wcdn-classes.php:248
|
92 |
-
msgid "Save Changes"
|
93 |
-
msgstr ""
|
94 |
-
|
95 |
-
#@ woocommerce-delivery-notes
|
96 |
-
#. translators: plugin header field 'Name'
|
97 |
-
#: woocommerce-delivery-notes.php:0
|
98 |
-
msgid "WooCommerce Delivery Notes"
|
99 |
-
msgstr ""
|
100 |
-
|
101 |
-
#@ woocommerce-delivery-notes
|
102 |
-
#. translators: plugin header field 'PluginURI'
|
103 |
-
#: woocommerce-delivery-notes.php:0
|
104 |
-
msgid "http://genesisthemes.de/en/wp-plugins/woocommerce-delivery-notes/"
|
105 |
-
msgstr ""
|
106 |
-
|
107 |
-
#@ woocommerce-delivery-notes
|
108 |
-
#. translators: plugin header field 'Author'
|
109 |
-
#: woocommerce-delivery-notes.php:0
|
110 |
-
msgid "David Decker - DECKERWEB"
|
111 |
-
msgstr ""
|
112 |
-
|
113 |
-
#@ woocommerce-delivery-notes
|
114 |
-
#. translators: plugin header field 'AuthorURI'
|
115 |
-
#: woocommerce-delivery-notes.php:0
|
116 |
-
msgid "http://deckerweb.de/"
|
117 |
-
msgstr ""
|
118 |
-
|
119 |
-
#@ woocommerce-delivery-notes
|
120 |
-
#: woocommerce-delivery-notes.php:48
|
121 |
msgid "Go to the settings page"
|
122 |
msgstr ""
|
123 |
|
124 |
-
|
125 |
-
#: woocommerce-delivery-notes.php:48
|
126 |
msgid "Settings"
|
127 |
msgstr ""
|
128 |
|
129 |
-
|
130 |
-
#: wcdn-help.php:23
|
131 |
msgid "FAQ"
|
132 |
msgstr ""
|
133 |
|
134 |
-
|
135 |
-
#: wcdn-help.php:24
|
136 |
msgid "Support"
|
137 |
msgstr ""
|
138 |
|
139 |
-
|
140 |
-
#: wcdn-help.php:25
|
141 |
-
#: wcdn-help.php:147
|
142 |
msgid "http://genesisthemes.de/en/donate/"
|
143 |
msgstr ""
|
144 |
|
145 |
-
|
146 |
-
#: wcdn-help.php:25
|
147 |
msgid "Donate"
|
148 |
msgstr ""
|
149 |
|
150 |
-
|
151 |
-
#: delivery-note-template/template.php:66
|
152 |
msgid "Product Name"
|
153 |
msgstr ""
|
154 |
|
155 |
-
|
156 |
-
#: wcdn-classes.php:194
|
157 |
-
msgid "Company/Shop Address:"
|
158 |
-
msgstr ""
|
159 |
-
|
160 |
-
#@ woocommerce-delivery-notes
|
161 |
-
#: wcdn-classes.php:207
|
162 |
-
msgid "Personal Notes:"
|
163 |
-
msgstr ""
|
164 |
-
|
165 |
-
#@ woocommerce-delivery-notes
|
166 |
-
#: wcdn-classes.php:220
|
167 |
msgid "Returns Policy, Conditions, etc.:"
|
168 |
msgstr ""
|
169 |
|
170 |
-
|
171 |
-
#: wcdn-classes.php:233
|
172 |
-
msgid "Footer Imprint:"
|
173 |
-
msgstr ""
|
174 |
-
|
175 |
-
#@ woocommerce-delivery-notes
|
176 |
-
#: delivery-note-template/template.php:36
|
177 |
-
msgid "Recipient:"
|
178 |
-
msgstr ""
|
179 |
-
|
180 |
-
#@ woocommerce-delivery-notes
|
181 |
-
#: delivery-note-template/template.php:51
|
182 |
msgid "Order No."
|
183 |
msgstr ""
|
184 |
|
185 |
-
|
186 |
-
#: delivery-note-template/template.php:55
|
187 |
msgid "Order Date"
|
188 |
msgstr ""
|
189 |
|
190 |
-
|
191 |
-
#: delivery-note-template/template.php:74
|
192 |
msgid "SKU:"
|
193 |
msgstr ""
|
194 |
|
195 |
-
|
196 |
-
#: delivery-note-template/template.php:74
|
197 |
msgid "Weight:"
|
198 |
msgstr ""
|
199 |
|
200 |
-
|
201 |
-
|
202 |
-
#: wcdn-help.php:110
|
203 |
-
msgid "What the Plugin Does"
|
204 |
msgstr ""
|
205 |
|
206 |
-
|
207 |
-
|
208 |
-
#: wcdn-help.php:121
|
209 |
-
msgid "FAQ - Frequently Asked Questions"
|
210 |
msgstr ""
|
211 |
|
212 |
-
|
213 |
-
#: wcdn-
|
214 |
-
#: wcdn-
|
215 |
-
msgid "
|
216 |
msgstr ""
|
217 |
|
218 |
-
|
219 |
-
|
220 |
-
#: wcdn-help.php:146
|
221 |
-
msgid "Support - Donations - Rating & Tips"
|
222 |
msgstr ""
|
223 |
|
224 |
-
|
225 |
-
|
226 |
-
#: wcdn-help.php:119
|
227 |
-
#: wcdn-help.php:144
|
228 |
-
#: wcdn-help.php:156
|
229 |
-
msgid "Plugin: WooCommerce Delivery Notes"
|
230 |
msgstr ""
|
231 |
|
232 |
-
|
233 |
-
|
234 |
-
msgid "This plugin enables you to add a simple Delivery Note page for printing for your orders in WooCommerce shop plugin. You can add your company postal address, further add personal notes, refund or other policies and a footer note/branding. This helps speed up your daily shop and order management. In some countries (e.g. in the European Union) it is also required to advice the customer with proper refund policies so this little plugin might help you a bit with that too."
|
235 |
msgstr ""
|
236 |
|
237 |
-
|
238 |
-
|
239 |
-
#, php-format
|
240 |
-
msgid "<strong>Donations:</strong> Please %1$sdonate to support the further maintenance and development%2$s of the plugin. <em>Thank you in advance!</em>"
|
241 |
msgstr ""
|
242 |
|
243 |
-
|
244 |
-
|
245 |
-
#, php-format
|
246 |
-
msgid "<strong>Support:</strong> Done via %1$sWordPress.org plugin page support forum%2$s. - Maybe I will setup my own support forum in the future, though."
|
247 |
msgstr ""
|
248 |
|
249 |
-
|
250 |
-
|
251 |
-
msgid "Company/Shop Name:"
|
252 |
msgstr ""
|
253 |
|
254 |
-
|
255 |
-
|
256 |
-
#: woocommerce-delivery-notes.php:0
|
257 |
-
msgid "This plugin adds simple Delivery Notes for the WooCommerce Shop Plugin. You can add company/shop info as well as personal notes and policies to the print page."
|
258 |
msgstr ""
|
259 |
|
260 |
-
|
261 |
-
|
262 |
-
msgid "Your custom company or shop name for the Delivery Note."
|
263 |
msgstr ""
|
264 |
|
265 |
-
|
266 |
-
|
267 |
-
#: wcdn-classes.php:200
|
268 |
-
#: wcdn-classes.php:213
|
269 |
-
#: wcdn-classes.php:226
|
270 |
-
#: wcdn-classes.php:239
|
271 |
-
msgid "Note:"
|
272 |
msgstr ""
|
273 |
|
274 |
-
|
275 |
-
|
276 |
-
msgid "Leave blank to use your default Website/ Blog title defined in WordPress settings."
|
277 |
msgstr ""
|
278 |
|
279 |
-
|
280 |
-
|
281 |
-
msgid "The postal address of the company/shop, which gets printed right of the company/shop name, above the order listings."
|
282 |
msgstr ""
|
283 |
|
284 |
-
|
285 |
-
|
286 |
-
msgid "Here, you can also add some other contact information like the telephone and email."
|
287 |
msgstr ""
|
288 |
|
289 |
-
|
290 |
-
|
291 |
-
msgid "Add some personal notes, or season greetings or whatever (e.g. Thank You for Your Order!, Merry Christmas!, etc.)."
|
292 |
msgstr ""
|
293 |
|
294 |
-
|
295 |
-
|
296 |
-
msgid "This info gets printed below the order listings but above the regular shipping notes (added at WooCommerce single order pages). These personal notes here will get styled with bigger font size."
|
297 |
msgstr ""
|
298 |
|
299 |
-
|
300 |
-
|
301 |
-
msgid "Here you can add some more policies, conditions etc. For example add a returns policy in case the client would like to send back some goods."
|
302 |
msgstr ""
|
303 |
|
304 |
-
|
305 |
-
|
306 |
-
msgid "In some countries (e.g. in the European Union) this is required so please add any required info in accordance with the statutory regulations."
|
307 |
msgstr ""
|
308 |
|
309 |
-
|
310 |
-
|
311 |
-
|
|
|
|
|
|
|
312 |
msgstr ""
|
313 |
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
msgstr "Diese Informationen werden in kleinerer Schriftgröße und hellerer Textfarbe am Fuß ausgegeben."
|
318 |
|
319 |
-
|
320 |
-
|
321 |
-
msgid "WooCommerce - Delivery Notes Settings"
|
322 |
msgstr ""
|
323 |
|
324 |
-
|
325 |
-
|
326 |
-
msgid "All setting fields below are optional - you can leave them empty to not use them at all or only apply what you need."
|
327 |
msgstr ""
|
328 |
|
329 |
-
|
330 |
-
|
331 |
-
msgid "Feedback and more about the Author"
|
332 |
msgstr ""
|
333 |
|
334 |
-
|
335 |
-
|
336 |
-
msgid "Social:"
|
337 |
msgstr ""
|
338 |
|
339 |
-
|
340 |
-
|
341 |
-
msgid "Twitter"
|
342 |
msgstr ""
|
343 |
|
344 |
-
|
345 |
-
|
346 |
-
msgid "Facebook"
|
347 |
msgstr ""
|
348 |
|
349 |
-
|
350 |
-
|
351 |
-
msgid "Google+"
|
352 |
msgstr ""
|
353 |
|
354 |
-
|
355 |
-
|
356 |
-
#, php-format
|
357 |
-
msgid "Just look under <a href=\"%1$s\">WooCommerce > Orders</a> and there go to a single order view. On the right side you will see the Delivery Note meta box. Click and you get the delivery Note printing page. Yes, it is that easy :-)."
|
358 |
msgstr ""
|
359 |
|
360 |
-
|
361 |
-
|
362 |
-
#: wcdn-help.php:132
|
363 |
-
msgid "Question:"
|
364 |
msgstr ""
|
365 |
|
366 |
-
|
367 |
-
|
368 |
-
#: wcdn-help.php:134
|
369 |
-
msgid "Answer:"
|
370 |
msgstr ""
|
371 |
|
372 |
-
|
373 |
-
|
374 |
-
#, php-format
|
375 |
-
msgid "<strong>Rating & Tips:</strong> If you like the plugin please %1$srate at WordPress.org%2$s with 5 stars. <em>Thank you!</em> — %3$sMore plugins for WordPress by DECKERWEB%2$s"
|
376 |
msgstr ""
|
377 |
|
378 |
-
|
379 |
-
|
380 |
-
#, php-format
|
381 |
-
msgid "<strong>Author:</strong> David Decker of %1$sdeckerweb.de%2$s and %3$sGenesisThemes%2$s - Join me at %4$sTwitter%2$s, %5$sFacebook%2$s and %6$sGoogle Plus%2$s :-)"
|
382 |
msgstr ""
|
383 |
|
384 |
-
|
385 |
-
|
386 |
-
#, php-format
|
387 |
-
msgid "<strong>License:</strong> GPL v3 - %1$sMore info on the GPL license ...%2$s"
|
388 |
msgstr ""
|
389 |
|
390 |
-
|
391 |
-
|
392 |
-
msgid "Website"
|
393 |
msgstr ""
|
394 |
|
395 |
-
|
396 |
-
|
397 |
-
msgid "at WordPress.org"
|
398 |
msgstr ""
|
399 |
|
400 |
-
|
401 |
-
|
402 |
-
msgid "http://genesisthemes.de/en/"
|
403 |
msgstr ""
|
404 |
|
405 |
-
|
406 |
-
|
407 |
-
msgid "Can I use a Custom Template for the printing page?"
|
408 |
msgstr ""
|
409 |
|
410 |
-
|
411 |
-
|
412 |
-
msgid "Note: This works with both single themes and child themes (if you use some framework like Genesis). If your current active theme is a child theme put the custom folder there! (e.g. <code>/wp-content/themes/your-child-theme-name/woocommerce</code>)"
|
413 |
msgstr ""
|
414 |
|
415 |
-
|
416 |
-
|
417 |
-
msgid "What Template Functions can I use?"
|
418 |
msgstr ""
|
419 |
|
420 |
-
|
421 |
-
|
422 |
-
msgid "If you want to use your own template then all you need to do is copy the <code>/wp-content/plugins/woocommerce-delivery-notes/delivery-note-template</code> folder and paste it inside your <code>/wp-content/themes/your-theme-name/woocommerce</code> folder (if not there just create it). The folder from the plugin comes with the default template and the basic CSS stylesheet file. You can modifiy this to fit your own needs."
|
423 |
msgstr ""
|
424 |
|
425 |
-
|
426 |
-
|
427 |
-
msgid "Important note: This is only intended for developers who know what they do! Please be careful with adding any code/functions! The default template and functions should fit most use cases."
|
428 |
msgstr ""
|
429 |
|
430 |
-
|
431 |
-
|
432 |
-
msgid "Arbitrary php code and all WordPress functions are available in the template. Besides that there are many Delivery Notes specific template functions. Open the <code>woocommerce-delivery-notes/wcdn-print.php</code> file to see all available functions."
|
433 |
msgstr ""
|
434 |
|
435 |
-
#: delivery-
|
436 |
-
|
437 |
-
msgid "Customer Notes:"
|
438 |
msgstr ""
|
439 |
|
440 |
-
#. translators: plugin header field 'Version'
|
441 |
#: woocommerce-delivery-notes.php:0
|
442 |
-
|
443 |
-
msgid "1.1"
|
444 |
msgstr ""
|
445 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-06 17:20:01+0000\n"
|
|
|
|
|
|
|
|
|
|
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
+
"X-Generator: GlotPress/0.1\n"
|
11 |
+
"Project-Id-Version: WooCommerce Print Invoices & Delivery Notes\n"
|
12 |
+
|
13 |
+
#: templates/delivery-notes/print.php:5 templates/delivery-notes/print.php:21
|
|
|
|
|
|
|
|
|
|
|
14 |
msgid "Delivery Note"
|
15 |
msgstr ""
|
16 |
|
17 |
+
#: templates/delivery-notes/print.php:129
|
18 |
+
#: woocommerce-delivery-notes-print.php:90
|
|
|
19 |
msgid "Print Page"
|
20 |
msgstr ""
|
21 |
|
22 |
+
#: templates/delivery-notes/print.php:58
|
|
|
23 |
msgid "Quantity"
|
24 |
msgstr ""
|
25 |
|
26 |
+
#: templates/delivery-notes/print.php:59
|
|
|
27 |
msgid "Price"
|
28 |
msgstr ""
|
29 |
|
30 |
+
#: templates/delivery-notes/print.php:79
|
|
|
31 |
msgid "Subtotal"
|
32 |
msgstr ""
|
33 |
|
34 |
+
#: templates/delivery-notes/print.php:84
|
|
|
35 |
msgid "Shipping"
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: templates/delivery-notes/print.php:90
|
|
|
39 |
msgid "Tax"
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: templates/delivery-notes/print.php:96
|
|
|
43 |
msgid "Discount"
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: templates/delivery-notes/print.php:101
|
|
|
47 |
msgid "Grand Total"
|
48 |
msgstr ""
|
49 |
|
50 |
+
#: woocommerce-delivery-notes-print.php:23
|
|
|
|
|
51 |
msgid "You do not have sufficient permissions to access this page."
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: classes/class-wcdn-settings.php:53
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
msgid "Go to the settings page"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: classes/class-wcdn-settings.php:53
|
|
|
59 |
msgid "Settings"
|
60 |
msgstr ""
|
61 |
|
62 |
+
#: classes/class-wcdn-writepanel.php:64
|
|
|
63 |
msgid "FAQ"
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: classes/class-wcdn-writepanel.php:65
|
|
|
67 |
msgid "Support"
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: classes/class-wcdn-writepanel.php:66
|
|
|
|
|
71 |
msgid "http://genesisthemes.de/en/donate/"
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: classes/class-wcdn-writepanel.php:66
|
|
|
75 |
msgid "Donate"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: templates/delivery-notes/print.php:57
|
|
|
79 |
msgid "Product Name"
|
80 |
msgstr ""
|
81 |
|
82 |
+
#: classes/class-wcdn-settings.php:175
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
msgid "Returns Policy, Conditions, etc.:"
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: templates/delivery-notes/print.php:44
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
msgid "Order No."
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: templates/delivery-notes/print.php:48
|
|
|
91 |
msgid "Order Date"
|
92 |
msgstr ""
|
93 |
|
94 |
+
#: templates/delivery-notes/print.php:65
|
|
|
95 |
msgid "SKU:"
|
96 |
msgstr ""
|
97 |
|
98 |
+
#: templates/delivery-notes/print.php:65
|
|
|
99 |
msgid "Weight:"
|
100 |
msgstr ""
|
101 |
|
102 |
+
#: classes/class-wcdn-settings.php:96
|
103 |
+
msgid "Plugin: WooCommerce Print Invoices & Delivery Notes"
|
|
|
|
|
104 |
msgstr ""
|
105 |
|
106 |
+
#: classes/class-wcdn-settings.php:141
|
107 |
+
msgid "Your custom company or shop name for the Delivery Note."
|
|
|
|
|
108 |
msgstr ""
|
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:154
|
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:167
|
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:193
|
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:94 classes/class-wcdn-settings.php:97
|
129 |
+
msgid "About the Plugin"
|
|
|
|
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: classes/class-wcdn-settings.php:104
|
133 |
+
msgid "For more information:"
|
|
|
|
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: classes/class-wcdn-settings.php:105
|
137 |
+
msgid "Frequently Asked Questions"
|
|
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: classes/class-wcdn-settings.php:106
|
141 |
+
msgid "Project on WordPress.org"
|
|
|
|
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: classes/class-wcdn-settings.php:107
|
145 |
+
msgid "Project on GitHub"
|
|
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: classes/class-wcdn-settings.php:108
|
149 |
+
msgid "Discuss in the Forum"
|
|
|
|
|
|
|
|
|
|
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: classes/class-wcdn-settings.php:118
|
153 |
+
msgid "Print"
|
|
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: classes/class-wcdn-settings.php:131
|
157 |
+
msgid "Invoices and Delivery Notes"
|
|
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: classes/class-wcdn-settings.php:136
|
161 |
+
msgid "Company/Shop Name"
|
|
|
162 |
msgstr ""
|
163 |
|
164 |
+
#: classes/class-wcdn-settings.php:143
|
165 |
+
msgid "Leave blank to use the default Website/ Blog title defined in WordPress settings."
|
|
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: classes/class-wcdn-settings.php:149
|
169 |
+
msgid "Company/Shop Address"
|
|
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: classes/class-wcdn-settings.php:156
|
173 |
+
msgid "Leave blank to not print an address."
|
|
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: classes/class-wcdn-settings.php:162
|
177 |
+
msgid "Personal Notes"
|
|
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: classes/class-wcdn-settings.php:169
|
181 |
+
msgid "Leave blank to not print any personal notes."
|
182 |
+
msgstr ""
|
183 |
+
|
184 |
+
#: classes/class-wcdn-settings.php:180
|
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:182
|
189 |
+
msgid "Leave blank to not print any policies or conditions."
|
190 |
+
msgstr ""
|
|
|
191 |
|
192 |
+
#: classes/class-wcdn-settings.php:188
|
193 |
+
msgid "Footer Imprint"
|
|
|
194 |
msgstr ""
|
195 |
|
196 |
+
#: classes/class-wcdn-settings.php:195
|
197 |
+
msgid "Leave blank to not print a footer."
|
|
|
198 |
msgstr ""
|
199 |
|
200 |
+
#: classes/class-wcdn-settings.php:201
|
201 |
+
msgid "Preview Options"
|
|
|
202 |
msgstr ""
|
203 |
|
204 |
+
#: classes/class-wcdn-settings.php:206
|
205 |
+
msgid "Preview opens"
|
|
|
206 |
msgstr ""
|
207 |
|
208 |
+
#: classes/class-wcdn-settings.php:210
|
209 |
+
msgid "Start printing when the preview page opens"
|
|
|
210 |
msgstr ""
|
211 |
|
212 |
+
#: classes/class-wcdn-settings.php:215
|
213 |
+
msgid "Order Numbering Options"
|
|
|
214 |
msgstr ""
|
215 |
|
216 |
+
#: classes/class-wcdn-settings.php:220
|
217 |
+
msgid "Before order number"
|
|
|
218 |
msgstr ""
|
219 |
|
220 |
+
#: classes/class-wcdn-settings.php:224
|
221 |
+
msgid "This text will be placed before the order number ie. \"YOUR-TEXT123\"."
|
|
|
|
|
222 |
msgstr ""
|
223 |
|
224 |
+
#: classes/class-wcdn-settings.php:229
|
225 |
+
msgid "After order number"
|
|
|
|
|
226 |
msgstr ""
|
227 |
|
228 |
+
#: classes/class-wcdn-settings.php:233
|
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 ""
|
247 |
|
248 |
+
#: classes/class-wcdn-writepanel.php:91
|
249 |
+
msgid "Print Invoice"
|
|
|
250 |
msgstr ""
|
251 |
|
252 |
+
#: classes/class-wcdn-writepanel.php:92
|
253 |
+
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 |
|
260 |
+
#: templates/delivery-notes/print.php:29
|
261 |
+
msgid "Recipient"
|
|
|
262 |
msgstr ""
|
263 |
|
264 |
+
#: templates/delivery-notes/print.php:111
|
265 |
+
msgid "Customer Notes"
|
|
|
266 |
msgstr ""
|
267 |
|
268 |
+
#: woocommerce-delivery-notes.php:0
|
269 |
+
msgid "WooCommerce Print Invoices & Delivery Notes"
|
|
|
270 |
msgstr ""
|
271 |
|
272 |
+
#: woocommerce-delivery-notes.php:0
|
273 |
+
msgid "https://github.com/piffpaffpuff/woocommerce-delivery-notes"
|
|
|
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 |
#: woocommerce-delivery-notes.php:0
|
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:99
|
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 ""
|
languages/woocommerce-delivery-notes.pot
CHANGED
@@ -1,445 +1,294 @@
|
|
1 |
-
#
|
2 |
-
# This file is distributed under the same license as the WooCommerce Delivery Notes
|
3 |
-
#
|
4 |
msgid ""
|
5 |
msgstr ""
|
6 |
-
"
|
7 |
-
"Report-Msgid-Bugs-To: http://wordpress.org/tags/woocommerce-delivery-notes\n"
|
8 |
-
"POT-Creation-Date: 2011-12-26 14:02+0100\n"
|
9 |
-
"PO-Revision-Date: \n"
|
10 |
-
"Last-Translator: \n"
|
11 |
-
"Language-Team: \n"
|
12 |
"MIME-Version: 1.0\n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
16 |
-
"X-
|
17 |
-
"
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
#@ woocommerce-delivery-notes
|
22 |
-
#: delivery-note-template/template.php:5
|
23 |
-
#: delivery-note-template/template.php:25
|
24 |
-
#: wcdn-classes.php:101
|
25 |
msgid "Delivery Note"
|
26 |
msgstr ""
|
27 |
|
28 |
-
|
29 |
-
#: delivery-
|
30 |
-
#: delivery-note-template/template.php:129
|
31 |
msgid "Print Page"
|
32 |
msgstr ""
|
33 |
|
34 |
-
|
35 |
-
#: delivery-note-template/template.php:67
|
36 |
msgid "Quantity"
|
37 |
msgstr ""
|
38 |
|
39 |
-
|
40 |
-
#: delivery-note-template/template.php:68
|
41 |
msgid "Price"
|
42 |
msgstr ""
|
43 |
|
44 |
-
|
45 |
-
#: delivery-note-template/template.php:86
|
46 |
msgid "Subtotal"
|
47 |
msgstr ""
|
48 |
|
49 |
-
|
50 |
-
#: delivery-note-template/template.php:91
|
51 |
msgid "Shipping"
|
52 |
msgstr ""
|
53 |
|
54 |
-
|
55 |
-
#: delivery-note-template/template.php:97
|
56 |
msgid "Tax"
|
57 |
msgstr ""
|
58 |
|
59 |
-
|
60 |
-
#: delivery-note-template/template.php:103
|
61 |
msgid "Discount"
|
62 |
msgstr ""
|
63 |
|
64 |
-
|
65 |
-
#: delivery-note-template/template.php:108
|
66 |
msgid "Grand Total"
|
67 |
msgstr ""
|
68 |
|
69 |
-
|
70 |
-
#: wcdn-classes.php:144
|
71 |
-
#: wcdn-print.php:27
|
72 |
msgid "You do not have sufficient permissions to access this page."
|
73 |
msgstr ""
|
74 |
|
75 |
-
|
76 |
-
#: wcdn-classes.php:115
|
77 |
-
msgid "View & Print Delivery Note"
|
78 |
-
msgstr ""
|
79 |
-
|
80 |
-
#@ woocommerce-delivery-notes
|
81 |
-
#: wcdn-classes.php:132
|
82 |
-
msgid "Delivery Notes Settings"
|
83 |
-
msgstr ""
|
84 |
-
|
85 |
-
#@ woocommerce-delivery-notes
|
86 |
-
#: wcdn-classes.php:160
|
87 |
-
msgid "Settings saved."
|
88 |
-
msgstr ""
|
89 |
-
|
90 |
-
#@ woocommerce-delivery-notes
|
91 |
-
#: wcdn-classes.php:248
|
92 |
-
msgid "Save Changes"
|
93 |
-
msgstr ""
|
94 |
-
|
95 |
-
#@ woocommerce-delivery-notes
|
96 |
-
#. translators: plugin header field 'Name'
|
97 |
-
#: woocommerce-delivery-notes.php:0
|
98 |
-
msgid "WooCommerce Delivery Notes"
|
99 |
-
msgstr ""
|
100 |
-
|
101 |
-
#@ woocommerce-delivery-notes
|
102 |
-
#. translators: plugin header field 'PluginURI'
|
103 |
-
#: woocommerce-delivery-notes.php:0
|
104 |
-
msgid "http://genesisthemes.de/en/wp-plugins/woocommerce-delivery-notes/"
|
105 |
-
msgstr ""
|
106 |
-
|
107 |
-
#@ woocommerce-delivery-notes
|
108 |
-
#. translators: plugin header field 'Author'
|
109 |
-
#: woocommerce-delivery-notes.php:0
|
110 |
-
msgid "David Decker - DECKERWEB"
|
111 |
-
msgstr ""
|
112 |
-
|
113 |
-
#@ woocommerce-delivery-notes
|
114 |
-
#. translators: plugin header field 'AuthorURI'
|
115 |
-
#: woocommerce-delivery-notes.php:0
|
116 |
-
msgid "http://deckerweb.de/"
|
117 |
-
msgstr ""
|
118 |
-
|
119 |
-
#@ woocommerce-delivery-notes
|
120 |
-
#: woocommerce-delivery-notes.php:48
|
121 |
msgid "Go to the settings page"
|
122 |
msgstr ""
|
123 |
|
124 |
-
|
125 |
-
#: woocommerce-delivery-notes.php:48
|
126 |
msgid "Settings"
|
127 |
msgstr ""
|
128 |
|
129 |
-
|
130 |
-
#: wcdn-help.php:23
|
131 |
msgid "FAQ"
|
132 |
msgstr ""
|
133 |
|
134 |
-
|
135 |
-
#: wcdn-help.php:24
|
136 |
msgid "Support"
|
137 |
msgstr ""
|
138 |
|
139 |
-
|
140 |
-
#: wcdn-help.php:25
|
141 |
-
#: wcdn-help.php:147
|
142 |
msgid "http://genesisthemes.de/en/donate/"
|
143 |
msgstr ""
|
144 |
|
145 |
-
|
146 |
-
#: wcdn-help.php:25
|
147 |
msgid "Donate"
|
148 |
msgstr ""
|
149 |
|
150 |
-
|
151 |
-
#: delivery-note-template/template.php:66
|
152 |
msgid "Product Name"
|
153 |
msgstr ""
|
154 |
|
155 |
-
|
156 |
-
#: wcdn-classes.php:194
|
157 |
-
msgid "Company/Shop Address:"
|
158 |
-
msgstr ""
|
159 |
-
|
160 |
-
#@ woocommerce-delivery-notes
|
161 |
-
#: wcdn-classes.php:207
|
162 |
-
msgid "Personal Notes:"
|
163 |
-
msgstr ""
|
164 |
-
|
165 |
-
#@ woocommerce-delivery-notes
|
166 |
-
#: wcdn-classes.php:220
|
167 |
msgid "Returns Policy, Conditions, etc.:"
|
168 |
msgstr ""
|
169 |
|
170 |
-
|
171 |
-
#: wcdn-classes.php:233
|
172 |
-
msgid "Footer Imprint:"
|
173 |
-
msgstr ""
|
174 |
-
|
175 |
-
#@ woocommerce-delivery-notes
|
176 |
-
#: delivery-note-template/template.php:36
|
177 |
-
msgid "Recipient:"
|
178 |
-
msgstr ""
|
179 |
-
|
180 |
-
#@ woocommerce-delivery-notes
|
181 |
-
#: delivery-note-template/template.php:51
|
182 |
msgid "Order No."
|
183 |
msgstr ""
|
184 |
|
185 |
-
|
186 |
-
#: delivery-note-template/template.php:55
|
187 |
msgid "Order Date"
|
188 |
msgstr ""
|
189 |
|
190 |
-
|
191 |
-
#: delivery-note-template/template.php:74
|
192 |
msgid "SKU:"
|
193 |
msgstr ""
|
194 |
|
195 |
-
|
196 |
-
#: delivery-note-template/template.php:74
|
197 |
msgid "Weight:"
|
198 |
msgstr ""
|
199 |
|
200 |
-
|
201 |
-
|
202 |
-
#: wcdn-help.php:110
|
203 |
-
msgid "What the Plugin Does"
|
204 |
msgstr ""
|
205 |
|
206 |
-
|
207 |
-
|
208 |
-
#: wcdn-help.php:121
|
209 |
-
msgid "FAQ - Frequently Asked Questions"
|
210 |
msgstr ""
|
211 |
|
212 |
-
|
213 |
-
#: wcdn-
|
214 |
-
#: wcdn-
|
215 |
-
msgid "
|
216 |
msgstr ""
|
217 |
|
218 |
-
|
219 |
-
|
220 |
-
#: wcdn-help.php:146
|
221 |
-
msgid "Support - Donations - Rating & Tips"
|
222 |
msgstr ""
|
223 |
|
224 |
-
|
225 |
-
|
226 |
-
#: wcdn-help.php:119
|
227 |
-
#: wcdn-help.php:144
|
228 |
-
#: wcdn-help.php:156
|
229 |
-
msgid "Plugin: WooCommerce Delivery Notes"
|
230 |
msgstr ""
|
231 |
|
232 |
-
|
233 |
-
|
234 |
-
msgid "This plugin enables you to add a simple Delivery Note page for printing for your orders in WooCommerce shop plugin. You can add your company postal address, further add personal notes, refund or other policies and a footer note/branding. This helps speed up your daily shop and order management. In some countries (e.g. in the European Union) it is also required to advice the customer with proper refund policies so this little plugin might help you a bit with that too."
|
235 |
msgstr ""
|
236 |
|
237 |
-
|
238 |
-
|
239 |
-
#, php-format
|
240 |
-
msgid "<strong>Donations:</strong> Please %1$sdonate to support the further maintenance and development%2$s of the plugin. <em>Thank you in advance!</em>"
|
241 |
msgstr ""
|
242 |
|
243 |
-
|
244 |
-
|
245 |
-
#, php-format
|
246 |
-
msgid "<strong>Support:</strong> Done via %1$sWordPress.org plugin page support forum%2$s. - Maybe I will setup my own support forum in the future, though."
|
247 |
msgstr ""
|
248 |
|
249 |
-
|
250 |
-
|
251 |
-
msgid "Company/Shop Name:"
|
252 |
msgstr ""
|
253 |
|
254 |
-
|
255 |
-
|
256 |
-
#: woocommerce-delivery-notes.php:0
|
257 |
-
msgid "This plugin adds simple Delivery Notes for the WooCommerce Shop Plugin. You can add company/shop info as well as personal notes and policies to the print page."
|
258 |
msgstr ""
|
259 |
|
260 |
-
|
261 |
-
|
262 |
-
msgid "Your custom company or shop name for the Delivery Note."
|
263 |
msgstr ""
|
264 |
|
265 |
-
|
266 |
-
|
267 |
-
#: wcdn-classes.php:200
|
268 |
-
#: wcdn-classes.php:213
|
269 |
-
#: wcdn-classes.php:226
|
270 |
-
#: wcdn-classes.php:239
|
271 |
-
msgid "Note:"
|
272 |
msgstr ""
|
273 |
|
274 |
-
|
275 |
-
|
276 |
-
msgid "Leave blank to use your default Website/ Blog title defined in WordPress settings."
|
277 |
msgstr ""
|
278 |
|
279 |
-
|
280 |
-
|
281 |
-
msgid "The postal address of the company/shop, which gets printed right of the company/shop name, above the order listings."
|
282 |
msgstr ""
|
283 |
|
284 |
-
|
285 |
-
|
286 |
-
msgid "Here, you can also add some other contact information like the telephone and email."
|
287 |
msgstr ""
|
288 |
|
289 |
-
|
290 |
-
|
291 |
-
msgid "Add some personal notes, or season greetings or whatever (e.g. Thank You for Your Order!, Merry Christmas!, etc.)."
|
292 |
msgstr ""
|
293 |
|
294 |
-
|
295 |
-
|
296 |
-
msgid "This info gets printed below the order listings but above the regular shipping notes (added at WooCommerce single order pages). These personal notes here will get styled with bigger font size."
|
297 |
msgstr ""
|
298 |
|
299 |
-
|
300 |
-
|
301 |
-
msgid "Here you can add some more policies, conditions etc. For example add a returns policy in case the client would like to send back some goods."
|
302 |
msgstr ""
|
303 |
|
304 |
-
|
305 |
-
|
306 |
-
msgid "In some countries (e.g. in the European Union) this is required so please add any required info in accordance with the statutory regulations."
|
307 |
msgstr ""
|
308 |
|
309 |
-
|
310 |
-
|
311 |
-
|
|
|
|
|
|
|
312 |
msgstr ""
|
313 |
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
msgstr "Diese Informationen werden in kleinerer Schriftgröße und hellerer Textfarbe am Fuß ausgegeben."
|
318 |
|
319 |
-
|
320 |
-
|
321 |
-
msgid "WooCommerce - Delivery Notes Settings"
|
322 |
msgstr ""
|
323 |
|
324 |
-
|
325 |
-
|
326 |
-
msgid "All setting fields below are optional - you can leave them empty to not use them at all or only apply what you need."
|
327 |
msgstr ""
|
328 |
|
329 |
-
|
330 |
-
|
331 |
-
msgid "Feedback and more about the Author"
|
332 |
msgstr ""
|
333 |
|
334 |
-
|
335 |
-
|
336 |
-
msgid "Social:"
|
337 |
msgstr ""
|
338 |
|
339 |
-
|
340 |
-
|
341 |
-
msgid "Twitter"
|
342 |
msgstr ""
|
343 |
|
344 |
-
|
345 |
-
|
346 |
-
msgid "Facebook"
|
347 |
msgstr ""
|
348 |
|
349 |
-
|
350 |
-
|
351 |
-
msgid "Google+"
|
352 |
msgstr ""
|
353 |
|
354 |
-
|
355 |
-
|
356 |
-
#, php-format
|
357 |
-
msgid "Just look under <a href=\"%1$s\">WooCommerce > Orders</a> and there go to a single order view. On the right side you will see the Delivery Note meta box. Click and you get the delivery Note printing page. Yes, it is that easy :-)."
|
358 |
msgstr ""
|
359 |
|
360 |
-
|
361 |
-
|
362 |
-
#: wcdn-help.php:132
|
363 |
-
msgid "Question:"
|
364 |
msgstr ""
|
365 |
|
366 |
-
|
367 |
-
|
368 |
-
#: wcdn-help.php:134
|
369 |
-
msgid "Answer:"
|
370 |
msgstr ""
|
371 |
|
372 |
-
|
373 |
-
|
374 |
-
#, php-format
|
375 |
-
msgid "<strong>Rating & Tips:</strong> If you like the plugin please %1$srate at WordPress.org%2$s with 5 stars. <em>Thank you!</em> — %3$sMore plugins for WordPress by DECKERWEB%2$s"
|
376 |
msgstr ""
|
377 |
|
378 |
-
|
379 |
-
|
380 |
-
#, php-format
|
381 |
-
msgid "<strong>Author:</strong> David Decker of %1$sdeckerweb.de%2$s and %3$sGenesisThemes%2$s - Join me at %4$sTwitter%2$s, %5$sFacebook%2$s and %6$sGoogle Plus%2$s :-)"
|
382 |
msgstr ""
|
383 |
|
384 |
-
|
385 |
-
|
386 |
-
#, php-format
|
387 |
-
msgid "<strong>License:</strong> GPL v3 - %1$sMore info on the GPL license ...%2$s"
|
388 |
msgstr ""
|
389 |
|
390 |
-
|
391 |
-
|
392 |
-
msgid "Website"
|
393 |
msgstr ""
|
394 |
|
395 |
-
|
396 |
-
|
397 |
-
msgid "at WordPress.org"
|
398 |
msgstr ""
|
399 |
|
400 |
-
|
401 |
-
|
402 |
-
msgid "http://genesisthemes.de/en/"
|
403 |
msgstr ""
|
404 |
|
405 |
-
|
406 |
-
|
407 |
-
msgid "Can I use a Custom Template for the printing page?"
|
408 |
msgstr ""
|
409 |
|
410 |
-
|
411 |
-
|
412 |
-
msgid "Note: This works with both single themes and child themes (if you use some framework like Genesis). If your current active theme is a child theme put the custom folder there! (e.g. <code>/wp-content/themes/your-child-theme-name/woocommerce</code>)"
|
413 |
msgstr ""
|
414 |
|
415 |
-
|
416 |
-
|
417 |
-
msgid "What Template Functions can I use?"
|
418 |
msgstr ""
|
419 |
|
420 |
-
|
421 |
-
|
422 |
-
msgid "If you want to use your own template then all you need to do is copy the <code>/wp-content/plugins/woocommerce-delivery-notes/delivery-note-template</code> folder and paste it inside your <code>/wp-content/themes/your-theme-name/woocommerce</code> folder (if not there just create it). The folder from the plugin comes with the default template and the basic CSS stylesheet file. You can modifiy this to fit your own needs."
|
423 |
msgstr ""
|
424 |
|
425 |
-
|
426 |
-
|
427 |
-
msgid "Important note: This is only intended for developers who know what they do! Please be careful with adding any code/functions! The default template and functions should fit most use cases."
|
428 |
msgstr ""
|
429 |
|
430 |
-
|
431 |
-
|
432 |
-
msgid "Arbitrary php code and all WordPress functions are available in the template. Besides that there are many Delivery Notes specific template functions. Open the <code>woocommerce-delivery-notes/wcdn-print.php</code> file to see all available functions."
|
433 |
msgstr ""
|
434 |
|
435 |
-
#: delivery-
|
436 |
-
|
437 |
-
msgid "Customer Notes:"
|
438 |
msgstr ""
|
439 |
|
440 |
-
#. translators: plugin header field 'Version'
|
441 |
#: woocommerce-delivery-notes.php:0
|
442 |
-
|
443 |
-
msgid "1.1"
|
444 |
msgstr ""
|
445 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-06 17:20:01+0000\n"
|
|
|
|
|
|
|
|
|
|
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
+
"X-Generator: GlotPress/0.1\n"
|
11 |
+
"Project-Id-Version: WooCommerce Print Invoices & Delivery Notes\n"
|
12 |
+
|
13 |
+
#: templates/delivery-notes/print.php:5 templates/delivery-notes/print.php:21
|
|
|
|
|
|
|
|
|
|
|
14 |
msgid "Delivery Note"
|
15 |
msgstr ""
|
16 |
|
17 |
+
#: templates/delivery-notes/print.php:129
|
18 |
+
#: woocommerce-delivery-notes-print.php:90
|
|
|
19 |
msgid "Print Page"
|
20 |
msgstr ""
|
21 |
|
22 |
+
#: templates/delivery-notes/print.php:58
|
|
|
23 |
msgid "Quantity"
|
24 |
msgstr ""
|
25 |
|
26 |
+
#: templates/delivery-notes/print.php:59
|
|
|
27 |
msgid "Price"
|
28 |
msgstr ""
|
29 |
|
30 |
+
#: templates/delivery-notes/print.php:79
|
|
|
31 |
msgid "Subtotal"
|
32 |
msgstr ""
|
33 |
|
34 |
+
#: templates/delivery-notes/print.php:84
|
|
|
35 |
msgid "Shipping"
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: templates/delivery-notes/print.php:90
|
|
|
39 |
msgid "Tax"
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: templates/delivery-notes/print.php:96
|
|
|
43 |
msgid "Discount"
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: templates/delivery-notes/print.php:101
|
|
|
47 |
msgid "Grand Total"
|
48 |
msgstr ""
|
49 |
|
50 |
+
#: woocommerce-delivery-notes-print.php:23
|
|
|
|
|
51 |
msgid "You do not have sufficient permissions to access this page."
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: classes/class-wcdn-settings.php:53
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
msgid "Go to the settings page"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: classes/class-wcdn-settings.php:53
|
|
|
59 |
msgid "Settings"
|
60 |
msgstr ""
|
61 |
|
62 |
+
#: classes/class-wcdn-writepanel.php:64
|
|
|
63 |
msgid "FAQ"
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: classes/class-wcdn-writepanel.php:65
|
|
|
67 |
msgid "Support"
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: classes/class-wcdn-writepanel.php:66
|
|
|
|
|
71 |
msgid "http://genesisthemes.de/en/donate/"
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: classes/class-wcdn-writepanel.php:66
|
|
|
75 |
msgid "Donate"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: templates/delivery-notes/print.php:57
|
|
|
79 |
msgid "Product Name"
|
80 |
msgstr ""
|
81 |
|
82 |
+
#: classes/class-wcdn-settings.php:175
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
msgid "Returns Policy, Conditions, etc.:"
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: templates/delivery-notes/print.php:44
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
msgid "Order No."
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: templates/delivery-notes/print.php:48
|
|
|
91 |
msgid "Order Date"
|
92 |
msgstr ""
|
93 |
|
94 |
+
#: templates/delivery-notes/print.php:65
|
|
|
95 |
msgid "SKU:"
|
96 |
msgstr ""
|
97 |
|
98 |
+
#: templates/delivery-notes/print.php:65
|
|
|
99 |
msgid "Weight:"
|
100 |
msgstr ""
|
101 |
|
102 |
+
#: classes/class-wcdn-settings.php:96
|
103 |
+
msgid "Plugin: WooCommerce Print Invoices & Delivery Notes"
|
|
|
|
|
104 |
msgstr ""
|
105 |
|
106 |
+
#: classes/class-wcdn-settings.php:141
|
107 |
+
msgid "Your custom company or shop name for the Delivery Note."
|
|
|
|
|
108 |
msgstr ""
|
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:154
|
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:167
|
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:193
|
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:94 classes/class-wcdn-settings.php:97
|
129 |
+
msgid "About the Plugin"
|
|
|
|
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: classes/class-wcdn-settings.php:104
|
133 |
+
msgid "For more information:"
|
|
|
|
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: classes/class-wcdn-settings.php:105
|
137 |
+
msgid "Frequently Asked Questions"
|
|
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: classes/class-wcdn-settings.php:106
|
141 |
+
msgid "Project on WordPress.org"
|
|
|
|
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: classes/class-wcdn-settings.php:107
|
145 |
+
msgid "Project on GitHub"
|
|
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: classes/class-wcdn-settings.php:108
|
149 |
+
msgid "Discuss in the Forum"
|
|
|
|
|
|
|
|
|
|
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: classes/class-wcdn-settings.php:118
|
153 |
+
msgid "Print"
|
|
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: classes/class-wcdn-settings.php:131
|
157 |
+
msgid "Invoices and Delivery Notes"
|
|
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: classes/class-wcdn-settings.php:136
|
161 |
+
msgid "Company/Shop Name"
|
|
|
162 |
msgstr ""
|
163 |
|
164 |
+
#: classes/class-wcdn-settings.php:143
|
165 |
+
msgid "Leave blank to use the default Website/ Blog title defined in WordPress settings."
|
|
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: classes/class-wcdn-settings.php:149
|
169 |
+
msgid "Company/Shop Address"
|
|
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: classes/class-wcdn-settings.php:156
|
173 |
+
msgid "Leave blank to not print an address."
|
|
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: classes/class-wcdn-settings.php:162
|
177 |
+
msgid "Personal Notes"
|
|
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: classes/class-wcdn-settings.php:169
|
181 |
+
msgid "Leave blank to not print any personal notes."
|
182 |
+
msgstr ""
|
183 |
+
|
184 |
+
#: classes/class-wcdn-settings.php:180
|
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:182
|
189 |
+
msgid "Leave blank to not print any policies or conditions."
|
190 |
+
msgstr ""
|
|
|
191 |
|
192 |
+
#: classes/class-wcdn-settings.php:188
|
193 |
+
msgid "Footer Imprint"
|
|
|
194 |
msgstr ""
|
195 |
|
196 |
+
#: classes/class-wcdn-settings.php:195
|
197 |
+
msgid "Leave blank to not print a footer."
|
|
|
198 |
msgstr ""
|
199 |
|
200 |
+
#: classes/class-wcdn-settings.php:201
|
201 |
+
msgid "Preview Options"
|
|
|
202 |
msgstr ""
|
203 |
|
204 |
+
#: classes/class-wcdn-settings.php:206
|
205 |
+
msgid "Preview opens"
|
|
|
206 |
msgstr ""
|
207 |
|
208 |
+
#: classes/class-wcdn-settings.php:210
|
209 |
+
msgid "Start printing when the preview page opens"
|
|
|
210 |
msgstr ""
|
211 |
|
212 |
+
#: classes/class-wcdn-settings.php:215
|
213 |
+
msgid "Order Numbering Options"
|
|
|
214 |
msgstr ""
|
215 |
|
216 |
+
#: classes/class-wcdn-settings.php:220
|
217 |
+
msgid "Before order number"
|
|
|
218 |
msgstr ""
|
219 |
|
220 |
+
#: classes/class-wcdn-settings.php:224
|
221 |
+
msgid "This text will be placed before the order number ie. \"YOUR-TEXT123\"."
|
|
|
|
|
222 |
msgstr ""
|
223 |
|
224 |
+
#: classes/class-wcdn-settings.php:229
|
225 |
+
msgid "After order number"
|
|
|
|
|
226 |
msgstr ""
|
227 |
|
228 |
+
#: classes/class-wcdn-settings.php:233
|
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 ""
|
247 |
|
248 |
+
#: classes/class-wcdn-writepanel.php:91
|
249 |
+
msgid "Print Invoice"
|
|
|
250 |
msgstr ""
|
251 |
|
252 |
+
#: classes/class-wcdn-writepanel.php:92
|
253 |
+
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 |
|
260 |
+
#: templates/delivery-notes/print.php:29
|
261 |
+
msgid "Recipient"
|
|
|
262 |
msgstr ""
|
263 |
|
264 |
+
#: templates/delivery-notes/print.php:111
|
265 |
+
msgid "Customer Notes"
|
|
|
266 |
msgstr ""
|
267 |
|
268 |
+
#: woocommerce-delivery-notes.php:0
|
269 |
+
msgid "WooCommerce Print Invoices & Delivery Notes"
|
|
|
270 |
msgstr ""
|
271 |
|
272 |
+
#: woocommerce-delivery-notes.php:0
|
273 |
+
msgid "https://github.com/piffpaffpuff/woocommerce-delivery-notes"
|
|
|
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 |
#: woocommerce-delivery-notes.php:0
|
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:99
|
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 ""
|
readme.txt
CHANGED
@@ -1,120 +1,176 @@
|
|
1 |
-
=== WooCommerce Delivery Notes ===
|
2 |
-
Contributors: daveshine
|
3 |
Donate link: http://genesisthemes.de/en/donate/
|
4 |
-
Tags: delivery notes, delivery, shipping, print, order, invoice,
|
5 |
Requires at least: 3.3 and WooCommerce 1.4+
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 1.
|
|
|
|
|
8 |
|
9 |
-
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
-
With this plugin you can print out delivery notes for the orders via the WooCommerce Shop Plugin
|
14 |
|
15 |
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.
|
16 |
|
17 |
-
=
|
18 |
-
* The plugin comes with an attached template for the delivery note (printing) page - you could also copy this to your theme and customize it to your needs! The plugin will recognize the new place. (See under [FAQ here](http://wordpress.org/extend/plugins/woocommerce-delivery-notes/faq/))
|
19 |
-
* All setting fields on the settings pages are optional - you can leave them empty to not use them at all or only apply what you need.
|
20 |
* If the company/shop name field is left empty then the regular website/blog title is used (defined via regular WordPress options)
|
21 |
* If there are added "Customer Notes" (regular WooCommerce feature) for an order these will automatically displayed at the bottom of the delivery note.
|
22 |
-
* Included
|
23 |
|
24 |
= Localization =
|
25 |
* English (default) - always included
|
26 |
* German - always included
|
27 |
-
*
|
|
|
|
|
|
|
28 |
* .pot file (`woocommerce-delivery-notes.pot`) for translators is also always included :)
|
|
|
29 |
* *Your translation? - [Just send it in](http://genesisthemes.de/en/contact/)*
|
30 |
|
31 |
-
Credit where credit is due: This plugin here is inspired and based on the work of Steve Clark, Trigvvy Gunderson and
|
32 |
|
33 |
= Contribute =
|
34 |
Since this is a fork I've made the plugin available in a developer repository at GitHub just like the original.
|
35 |
|
36 |
-
* [Forked WooCommerce Delivery Notes repository at GitHub.com](https://github.com/
|
37 |
* [Original Jigoshop Delivery Notes repository at GitHub.com](https://github.com/piffpaffpuff/jigoshop-delivery-notes)
|
38 |
* Thank you in advance for all feedback, suggestions, contributions/commits!
|
39 |
|
40 |
-
[A plugin from deckerweb.de and GenesisThemes](http://genesisthemes.de/en/)
|
41 |
-
|
42 |
= Feedback =
|
43 |
-
*
|
44 |
-
* Drop
|
45 |
-
* Follow
|
46 |
-
* Or follow
|
47 |
|
48 |
= More =
|
49 |
-
* [
|
50 |
-
*
|
|
|
51 |
|
52 |
== Installation ==
|
53 |
|
54 |
1. Upload the entire `woocommerce-delivery-notes` folder to the `/wp-content/plugins/` directory
|
55 |
2. Activate the plugin through the 'Plugins' menu in WordPress
|
56 |
-
3. Look under the WooCommerce menu
|
57 |
-
4. On single order pages you'll find a new meta box on the right side where it says "
|
58 |
5. Go and manage your orders - good luck with sales :)
|
59 |
|
60 |
**Please note:** You must run WordPress 3.3 or higher and WooCommerce 1.4 or higher in order tun this plugin. This is due to changes in WooCommerc v1.4+!
|
61 |
|
|
|
|
|
62 |
== Frequently Asked Questions ==
|
63 |
|
64 |
-
= Can I use a
|
65 |
-
If you want to use your own template then all you need to do is copy the `/wp-content/plugins/woocommerce-delivery-notes/delivery-
|
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 |
= What Template Functions can I use? =
|
70 |
-
Various functions are available in the template, especially many Delivery Notes specific template functions. Open the `woocommerce-delivery-notes/
|
71 |
|
72 |
*Please note:* This is only intended for developers who know what they do! Please be careful with adding any code/functions! The default template and functions should fit most use cases.
|
73 |
|
74 |
= What will actually get printed out? =
|
75 |
No worries, the print buttons at the top and the bottom will automatically be hidden on print!
|
|
|
76 |
The other sections get printed as styled via the packaged template (or your custom template if configured). For the shop/company name and all other notes sections: only these will get printed which are actually configured.
|
|
|
77 |
Beyond the styling of your template be aware of any special features of your used browser - I highly recommend to use the "Print Preview" feature of your browser which all current versions of Firefox, Chrome and Opera support.
|
78 |
|
79 |
-
= Can you update the plugin with feature X or option Y?
|
80 |
Mmh. Maybe.
|
81 |
-
|
|
|
82 |
|
83 |
== Screenshots ==
|
84 |
|
85 |
-
1. Plugin's settings page where you can set up to five fields for the delivery note.
|
86 |
-
2.
|
87 |
-
3.
|
|
|
|
|
88 |
|
89 |
== Changelog ==
|
90 |
|
91 |
-
= 1.
|
92 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
* UPDATE: Changed product price calculation due to changes in WooCommerce itself -- this led to **new required versions** for this plugin: **at least WordPress 3.3 and WooCommerce 1.4** or higher (Note: If you still have WooCommerc 1.3.x running then use version 1.0 of the Delivery Notes plugin!)
|
94 |
* UPDATE: Custom fields on settings page now accept proper `img` tags, so you can add logo images or such via HTML IMG tag (for example: `<img src="your-image-url" width="100" height="100" alt="Logo" title="My Shop" />`)
|
95 |
* UPDATE: Corrected readme.txt file
|
96 |
* NEW: Added Swedish translation - Thanx to Christopher Anderton
|
97 |
* UPDATE: Updated German translations and also the .pot file for all translators!
|
98 |
|
99 |
-
= 1.0 =
|
100 |
* Initial release
|
101 |
* Forked and extended from original plugin for Jigoshop ("Jigoshop Delivery Notes" at GitHub)
|
102 |
|
103 |
== Upgrade Notice ==
|
104 |
|
|
|
|
|
|
|
105 |
= 1.1 =
|
106 |
Several changes: Changed price calculation due to WC 1.4+ changes. Added img tag support for fields on settings page. Corrected readme.txt file, added Swedish translations, also updated .pot file together with German translations.
|
107 |
|
108 |
= 1.0 =
|
109 |
Just released into the wild.
|
110 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
== Translations ==
|
112 |
|
113 |
* English - default, always included
|
114 |
-
* German: Deutsch - immer dabei! [Download auch via deckerweb.de](http://deckerweb.de/material/sprachdateien/woocommerce-und-extensions/#woocommerce-delivery-notes)
|
115 |
-
*
|
|
|
|
|
|
|
|
|
116 |
|
117 |
-
|
|
|
|
|
118 |
|
119 |
== Additional Info ==
|
120 |
**Idea Behind / Philosophy:** Just a little plugin for all the WooCommerce shop managers out there to make their daily shop admin life a bit easier.
|
|
|
|
|
|
1 |
+
=== WooCommerce Print Invoices & Delivery Notes ===
|
2 |
+
Contributors: chabis, daveshine, deckerweb
|
3 |
Donate link: http://genesisthemes.de/en/donate/
|
4 |
+
Tags: delivery notes, delivery, shipping, print, order, invoice, invoices, woocommerce, woothemes, shop, shop manager, deckerweb
|
5 |
Requires at least: 3.3 and WooCommerce 1.4+
|
6 |
+
Tested up to: 3.4
|
7 |
+
Stable tag: 1.2
|
8 |
+
License: GPLv3 or later
|
9 |
+
License URI: http://www.opensource.org/licenses/gpl-license.php
|
10 |
|
11 |
+
Print order invoices & delivery notes for WooCommerce shop. You can add company/shop info as well as personal notes & policies to print pages.
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
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.
|
16 |
|
17 |
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.
|
18 |
|
19 |
+
= Features =
|
20 |
+
* 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/))
|
21 |
+
* 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.
|
22 |
* If the company/shop name field is left empty then the regular website/blog title is used (defined via regular WordPress options)
|
23 |
* If there are added "Customer Notes" (regular WooCommerce feature) for an order these will automatically displayed at the bottom of the delivery note.
|
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 |
= Contribute =
|
40 |
Since this is a fork I've made the plugin available in a developer repository at GitHub just like the original.
|
41 |
|
42 |
+
* [Forked WooCommerce Delivery Notes repository at GitHub.com](https://github.com/piffpaffpuff/woocommerce-delivery-notes)
|
43 |
* [Original Jigoshop Delivery Notes repository at GitHub.com](https://github.com/piffpaffpuff/jigoshop-delivery-notes)
|
44 |
* Thank you in advance for all feedback, suggestions, contributions/commits!
|
45 |
|
|
|
|
|
46 |
= Feedback =
|
47 |
+
* 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)
|
48 |
+
* Drop Dave a line [@deckerweb](http://twitter.com/#!/deckerweb) on Twitter
|
49 |
+
* Follow Dave on [my Facebook page](http://www.facebook.com/deckerweb.service)
|
50 |
+
* Or follow Dave on [+David Decker](http://deckerweb.de/gplus) on Google Plus ;-)
|
51 |
|
52 |
= More =
|
53 |
+
* [Other plugins from main plugin author](http://profiles.wordpress.org/chabis/)
|
54 |
+
* [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/)
|
55 |
+
* Tip for Genesis users: [*GenesisFinder* - Find then create. Your Genesis Framework Search Engine.](http://genesisfinder.com/)
|
56 |
|
57 |
== Installation ==
|
58 |
|
59 |
1. Upload the entire `woocommerce-delivery-notes` folder to the `/wp-content/plugins/` directory
|
60 |
2. Activate the plugin through the 'Plugins' menu in WordPress
|
61 |
+
3. Look under the regular WooCommerce settings menu: "WooCommerce > Settings > Tab "Print" and adjust them to your needs
|
62 |
+
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
|
63 |
5. Go and manage your orders - good luck with sales :)
|
64 |
|
65 |
**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+!
|
66 |
|
67 |
+
**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").
|
68 |
+
|
69 |
== Frequently Asked Questions ==
|
70 |
|
71 |
+
= Can I use a custom template for the printing page? =
|
72 |
+
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.
|
73 |
|
74 |
*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`)
|
75 |
|
76 |
+
= Can I use a different custom template for invoices and delivery notes? =
|
77 |
+
Yes. Create in the `your-theme-name/woocommerce/delivery-notes` folder a file named `print-invoice.php` and another `print-delivery-note.php`. Now write some nice code to make your templates look as you like.
|
78 |
+
|
79 |
+
*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.
|
80 |
+
|
81 |
= What Template Functions can I use? =
|
82 |
+
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.
|
83 |
|
84 |
*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.
|
85 |
|
86 |
= What will actually get printed out? =
|
87 |
No worries, the print buttons at the top and the bottom will automatically be hidden on print!
|
88 |
+
|
89 |
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.
|
90 |
+
|
91 |
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.
|
92 |
|
93 |
+
= Can you update the plugin with feature X or option Y? =
|
94 |
Mmh. Maybe.
|
95 |
+
|
96 |
+
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.
|
97 |
|
98 |
== Screenshots ==
|
99 |
|
100 |
+
1. Plugin's settings page where you can set up to five fields for the delivery note. [Click for larger image view](http://s.wordpress.org/extend/plugins/woocommerce-delivery-notes/screenshot-1.png)
|
101 |
+
2. Help tabs on the plugin's settings page with some info and important plugin links.
|
102 |
+
3. Single Order Edit page with the meta box and the print buttons.
|
103 |
+
4. Delivery Note printing page with default template - and the five custom sections marked (yellow). [Click for larger image view](http://s.wordpress.org/extend/plugins/woocommerce-delivery-notes/screenshot-4.png)
|
104 |
+
5. Invoce printing page with default template - and the five custom sections marked (yellow). [Click for larger image view](http://s.wordpress.org/extend/plugins/woocommerce-delivery-notes/screenshot-5.png)
|
105 |
|
106 |
== Changelog ==
|
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 |
+
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!
|
142 |
+
|
143 |
= 1.1 =
|
144 |
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.
|
145 |
|
146 |
= 1.0 =
|
147 |
Just released into the wild.
|
148 |
|
149 |
+
== Plugin Links ==
|
150 |
+
* [Translations (GlotPress)](http://translate.wpautobahn.com/projects/wordpress-plugins-deckerweb/woocommerce-delivery-notes)
|
151 |
+
* [User support forums](http://wordpress.org/tags/woocommerce-delivery-notes?forum_id=10)
|
152 |
+
* [Developers: reports bugs & issues](https://github.com/piffpaffpuff/woocommerce-delivery-notes/issues)
|
153 |
+
* [Developers: contribute](https://github.com/piffpaffpuff/woocommerce-delivery-notes)
|
154 |
+
|
155 |
+
== Donate ==
|
156 |
+
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.
|
157 |
+
|
158 |
== Translations ==
|
159 |
|
160 |
* English - default, always included
|
161 |
+
* German (de_DE): Deutsch - immer dabei! [Download auch via deckerweb.de](http://deckerweb.de/material/sprachdateien/woocommerce-und-extensions/#woocommerce-delivery-notes)
|
162 |
+
* Dutch (nl_NL): Nederlands - user-submitted by [Ramon van Belzen](http://profiles.wordpress.org/Ramoonus/)
|
163 |
+
* Swedish (sv_SE): Svenska - user-submitted by [Christopher Anderton](http://www.deluxive.se/)
|
164 |
+
* Spanish (es_ES): Español - user-submitted by @JAVidania
|
165 |
+
* French (fr_FR): Français - user-submitted by Olivier
|
166 |
+
* 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.
|
167 |
|
168 |
+
**Easy plugin translation platform with GlotPress tool: [Translate "WooCommerce Print Invoices & Delivery Notes"...](http://translate.wpautobahn.com/projects/wordpress-plugins-deckerweb/woocommerce-delivery-notes)**
|
169 |
+
|
170 |
+
*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.
|
171 |
|
172 |
== Additional Info ==
|
173 |
**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.
|
174 |
+
|
175 |
+
== Credits ==
|
176 |
+
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
ADDED
Binary file
|
screenshot-5.png
ADDED
Binary file
|
templates/delivery-notes/css/style.css
ADDED
@@ -0,0 +1,254 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* Table of Contents
|
2 |
+
|
3 |
+
* CSS Reset
|
4 |
+
* Delivery Note Page Layout
|
5 |
+
* CSS Media Queries for Print
|
6 |
+
|
7 |
+
*/
|
8 |
+
|
9 |
+
/* CSS Reset and Print Button (Do not edit)
|
10 |
+
------------------------------------------*/
|
11 |
+
|
12 |
+
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, table, ol, ul {
|
13 |
+
border: 0 none;
|
14 |
+
font: inherit;
|
15 |
+
margin: 0;
|
16 |
+
padding: 0;
|
17 |
+
vertical-align: baseline;
|
18 |
+
}
|
19 |
+
|
20 |
+
body {
|
21 |
+
line-height: 1;
|
22 |
+
}
|
23 |
+
|
24 |
+
ol,
|
25 |
+
ul {
|
26 |
+
list-style: none;
|
27 |
+
}
|
28 |
+
|
29 |
+
table {
|
30 |
+
border-collapse: collapse;
|
31 |
+
border-spacing: 0;
|
32 |
+
}
|
33 |
+
|
34 |
+
/* Main Sections of the Page */
|
35 |
+
#container {
|
36 |
+
margin-left: auto;
|
37 |
+
margin-right: auto;
|
38 |
+
padding-top: 7%;
|
39 |
+
padding-left: 10%;
|
40 |
+
padding-right: 10%;
|
41 |
+
text-align: left;
|
42 |
+
}
|
43 |
+
|
44 |
+
#header,
|
45 |
+
#footer {
|
46 |
+
overflow: hidden;
|
47 |
+
margin-bottom: 2em;
|
48 |
+
margin-top: 2em;
|
49 |
+
}
|
50 |
+
|
51 |
+
/* Options link - "Print Page" */
|
52 |
+
.options a {
|
53 |
+
background-color: #f2f2f2;
|
54 |
+
border: 1px solid #bbb;
|
55 |
+
border-radius: 11px;
|
56 |
+
-webkit-border-radius: 11px;
|
57 |
+
-moz-border-radius: 11px;
|
58 |
+
color: #000;
|
59 |
+
display: block;
|
60 |
+
float: right;
|
61 |
+
font-size: 0.875em;
|
62 |
+
height: 22px;
|
63 |
+
line-height: 22px;
|
64 |
+
padding-left: 20px;
|
65 |
+
padding-right: 20px;
|
66 |
+
text-decoration: none;
|
67 |
+
}
|
68 |
+
|
69 |
+
.options a:active {
|
70 |
+
background-color: #eee;
|
71 |
+
border: 1px solid #666;
|
72 |
+
}
|
73 |
+
|
74 |
+
|
75 |
+
/* Template Page Layout
|
76 |
+
------------------------------------------*/
|
77 |
+
|
78 |
+
/**
|
79 |
+
* Edit all the following rules to your needs
|
80 |
+
*/
|
81 |
+
|
82 |
+
/* Main Body */
|
83 |
+
body {
|
84 |
+
background: #fff;
|
85 |
+
color: #000;
|
86 |
+
font-family: "HelveticaNeue", Helvetica, Arial, sans-serif;
|
87 |
+
font-size: 0.875em;
|
88 |
+
line-height: 125%;
|
89 |
+
}
|
90 |
+
|
91 |
+
h1,
|
92 |
+
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;
|
108 |
+
}
|
109 |
+
|
110 |
+
td,
|
111 |
+
th {
|
112 |
+
border-left: 1px #ccc solid;
|
113 |
+
border-right: 1px #ccc solid;
|
114 |
+
border-bottom: 1px #ccc solid;
|
115 |
+
padding: 0.375em;
|
116 |
+
vertical-align: middle;
|
117 |
+
}
|
118 |
+
|
119 |
+
th {
|
120 |
+
color: #000;
|
121 |
+
font-weight: bold;
|
122 |
+
text-align: left;
|
123 |
+
}
|
124 |
+
|
125 |
+
/* Special Margin & Overflow Stylings */
|
126 |
+
#letter-header,
|
127 |
+
#order-items,
|
128 |
+
#order-summary,
|
129 |
+
#order-notes {
|
130 |
+
margin-bottom: 3em;
|
131 |
+
}
|
132 |
+
|
133 |
+
#order-info,
|
134 |
+
#order-summary {
|
135 |
+
margin-bottom: 6em;
|
136 |
+
}
|
137 |
+
|
138 |
+
#page,
|
139 |
+
#letter-header,
|
140 |
+
#order-listing,
|
141 |
+
#order-summary,
|
142 |
+
#order-notes,
|
143 |
+
#letter-footer {
|
144 |
+
overflow: hidden;
|
145 |
+
}
|
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 |
+
float: left;
|
155 |
+
}
|
156 |
+
|
157 |
+
#letter-header .company-info {
|
158 |
+
float: left;
|
159 |
+
margin-top: 0.45em;
|
160 |
+
}
|
161 |
+
|
162 |
+
/* Order Listing/Info - #order-listing */
|
163 |
+
#order-listing {
|
164 |
+
width: 50%;
|
165 |
+
margin-right: 15%;
|
166 |
+
float: left;
|
167 |
+
}
|
168 |
+
|
169 |
+
/* Order Info - #order-info */
|
170 |
+
#order-info {
|
171 |
+
float: left;
|
172 |
+
}
|
173 |
+
|
174 |
+
/* Order Items - #order-items */
|
175 |
+
#order-items {
|
176 |
+
clear: both;
|
177 |
+
}
|
178 |
+
|
179 |
+
#order-items table {
|
180 |
+
width: 100%;
|
181 |
+
}
|
182 |
+
|
183 |
+
#order-items .description {
|
184 |
+
width: 65%;
|
185 |
+
}
|
186 |
+
|
187 |
+
#order-items .price {
|
188 |
+
width: 17.5%;
|
189 |
+
}
|
190 |
+
|
191 |
+
#order-items .sku,
|
192 |
+
#order-items .weight {
|
193 |
+
color: #666;
|
194 |
+
font-size: 0.75em;
|
195 |
+
font-style: italic;
|
196 |
+
}
|
197 |
+
|
198 |
+
/* Order Summary - #order-summary */
|
199 |
+
#order-summary table {
|
200 |
+
float: right;
|
201 |
+
width: 35%;
|
202 |
+
}
|
203 |
+
|
204 |
+
#order-summary .price {
|
205 |
+
width: 50%;
|
206 |
+
}
|
207 |
+
|
208 |
+
#order-summary #total-label,
|
209 |
+
#order-summary #total-number {
|
210 |
+
border-top: 2px solid #000;
|
211 |
+
border-bottom: 2px solid #000;
|
212 |
+
}
|
213 |
+
|
214 |
+
#order-summary #total-number {
|
215 |
+
font-weight: bold;
|
216 |
+
}
|
217 |
+
|
218 |
+
|
219 |
+
/* Order Notes - #order-notes */
|
220 |
+
|
221 |
+
#order-notes {
|
222 |
+
}
|
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: 1.25em;
|
237 |
+
color: #666;
|
238 |
+
font-size: 0.75em;
|
239 |
+
font-style: italic;
|
240 |
+
}
|
241 |
+
|
242 |
+
|
243 |
+
/* CSS Media Queries for Print
|
244 |
+
------------------------------------------*/
|
245 |
+
|
246 |
+
@media print {
|
247 |
+
#header,
|
248 |
+
#footer {
|
249 |
+
display: none;
|
250 |
+
}
|
251 |
+
body {
|
252 |
+
font-size: 8pt;
|
253 |
+
}
|
254 |
+
}
|
delivery-note-template/template.php → templates/delivery-notes/print.php
RENAMED
@@ -2,40 +2,33 @@
|
|
2 |
<html>
|
3 |
<head>
|
4 |
<meta charset="utf-8">
|
5 |
-
<title><?php _e( 'Delivery Note', 'woocommerce-delivery-notes' ); ?></title>
|
6 |
<link rel="stylesheet" href="<?php echo wcdn_template_url(); ?>css/style.css" type="text/css" media="screen,print" charset="utf-8"/>
|
7 |
-
|
8 |
-
function openPrintWindow() {
|
9 |
-
window.print();
|
10 |
-
}
|
11 |
-
</script>
|
12 |
</head>
|
13 |
|
14 |
<body>
|
15 |
<div id="container">
|
16 |
<div id="header">
|
17 |
<div class="options">
|
18 |
-
|
19 |
</div><!-- .options -->
|
20 |
</div><!-- #header -->
|
21 |
|
22 |
<div id="content">
|
23 |
<div id="page">
|
24 |
-
<div id="
|
25 |
-
<
|
26 |
-
<div class="company-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
} ?></div>
|
32 |
-
<div class="company-info"><?php echo wcdn_company_info(); ?></div>
|
33 |
-
</div><!-- #wcdn-head -->
|
34 |
|
35 |
<div id="order-listing">
|
36 |
-
<h3><?php _e( 'Recipient
|
37 |
<div class="shipping-info">
|
38 |
-
|
39 |
<?php echo wcdn_shipping_name(); ?><br />
|
40 |
<?php echo wcdn_shipping_address_1(); ?><br />
|
41 |
<?php if( wcdn_shipping_address_2() ) : ?><?php echo wcdn_shipping_address_2(); ?><br /><?php endif; ?>
|
@@ -44,21 +37,19 @@
|
|
44 |
|
45 |
<?php if( wcdn_shipping_country() ) : ?><br /><?php echo wcdn_shipping_country(); ?><?php endif; ?>
|
46 |
</div><!-- .shipping-info -->
|
47 |
-
|
48 |
-
<table id="order-info">
|
49 |
-
<tbody>
|
50 |
-
<tr>
|
51 |
-
<th class="order-number-label"><?php _e( 'Order No.', 'woocommerce-delivery-notes' ); ?></th>
|
52 |
-
<td class="order-number"><?php echo wcdn_order_number(); ?></td>
|
53 |
-
</tr>
|
54 |
-
<tr>
|
55 |
-
<th class="order-date-label"><?php _e( 'Order Date', 'woocommerce-delivery-notes' ); ?></th>
|
56 |
-
<td class="order-date"><?php echo wcdn_order_date(); ?></td>
|
57 |
-
</tr>
|
58 |
-
</tbody>
|
59 |
-
</table><!-- #order-info -->
|
60 |
</div><!-- #order-listing -->
|
61 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
<div id="order-items">
|
63 |
<table>
|
64 |
<thead>
|
@@ -115,20 +106,21 @@
|
|
115 |
</div><!-- #order-summery -->
|
116 |
|
117 |
<div id="order-notes">
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
<div class="notes-personal"><?php echo wcdn_personal_notes(); ?></div>
|
119 |
-
<div class="notes-shipping"><?php
|
120 |
-
if ( wcdn_shipping_notes() ) {
|
121 |
-
echo '<h3>' . __( 'Customer Notes:', 'woocommerce-delivery-notes' ) . '</h3>';
|
122 |
-
echo '<br />';
|
123 |
-
}
|
124 |
-
|
125 |
-
echo wcdn_shipping_notes(); ?></div>
|
126 |
-
<div class="notes-policies"><?php echo wcdn_policies_conditions(); ?></div>
|
127 |
</div><!-- #order-notes -->
|
128 |
-
|
129 |
-
|
130 |
-
<div
|
131 |
-
|
|
|
|
|
|
|
132 |
</div><!-- #page -->
|
133 |
</div><!-- #content -->
|
134 |
|
2 |
<html>
|
3 |
<head>
|
4 |
<meta charset="utf-8">
|
5 |
+
<title><?php if( wcdn_template_name() == 'invoice' ) : ?><?php _e( 'Invoice', 'woocommerce-delivery-notes' ); ?><?php else : ?><?php _e( 'Delivery Note', 'woocommerce-delivery-notes' ); ?><?php endif; ?></title>
|
6 |
<link rel="stylesheet" href="<?php echo wcdn_template_url(); ?>css/style.css" type="text/css" media="screen,print" charset="utf-8"/>
|
7 |
+
<?php echo wcdn_template_javascript(); ?>
|
|
|
|
|
|
|
|
|
8 |
</head>
|
9 |
|
10 |
<body>
|
11 |
<div id="container">
|
12 |
<div id="header">
|
13 |
<div class="options">
|
14 |
+
<?php echo wcdn_template_print_button(); ?>
|
15 |
</div><!-- .options -->
|
16 |
</div><!-- #header -->
|
17 |
|
18 |
<div id="content">
|
19 |
<div id="page">
|
20 |
+
<div id="letter-header">
|
21 |
+
<h3 class="heading"><?php if( wcdn_template_name() == 'invoice' ) : ?><?php _e( 'Invoice', 'woocommerce-delivery-notes' ); ?><?php else : ?><?php _e( 'Delivery Note', 'woocommerce-delivery-notes' ); ?><?php endif; ?></h3>
|
22 |
+
<div class="company-info">
|
23 |
+
<h1><?php echo wcdn_company_name(); ?></h1>
|
24 |
+
<div class="company-address"><?php echo wcdn_company_info(); ?></div>
|
25 |
+
</div>
|
26 |
+
</div><!-- #letter-header -->
|
|
|
|
|
|
|
27 |
|
28 |
<div id="order-listing">
|
29 |
+
<h3><?php _e( 'Recipient', 'woocommerce-delivery-notes' ); ?></h3>
|
30 |
<div class="shipping-info">
|
31 |
+
<?php if( wcdn_shipping_company() ) : ?><?php echo wcdn_shipping_company(); ?><br /><?php endif; ?>
|
32 |
<?php echo wcdn_shipping_name(); ?><br />
|
33 |
<?php echo wcdn_shipping_address_1(); ?><br />
|
34 |
<?php if( wcdn_shipping_address_2() ) : ?><?php echo wcdn_shipping_address_2(); ?><br /><?php endif; ?>
|
37 |
|
38 |
<?php if( wcdn_shipping_country() ) : ?><br /><?php echo wcdn_shipping_country(); ?><?php endif; ?>
|
39 |
</div><!-- .shipping-info -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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>
|
46 |
+
</li>
|
47 |
+
<li>
|
48 |
+
<h3 class="order-date-label"><?php _e( 'Order Date', 'woocommerce-delivery-notes' ); ?></h3>
|
49 |
+
<span class="order-date"><?php echo wcdn_order_date(); ?></span>
|
50 |
+
</li>
|
51 |
+
</ul><!-- #order-info -->
|
52 |
+
|
53 |
<div id="order-items">
|
54 |
<table>
|
55 |
<thead>
|
106 |
</div><!-- #order-summery -->
|
107 |
|
108 |
<div id="order-notes">
|
109 |
+
<div class="notes-shipping">
|
110 |
+
<?php if ( wcdn_shipping_notes() ) : ?>
|
111 |
+
<h3><?php _e( 'Customer Notes', 'woocommerce-delivery-notes' ); ?></h3>
|
112 |
+
<?php echo wcdn_shipping_notes(); ?>
|
113 |
+
<?php endif; ?>
|
114 |
+
</div>
|
115 |
<div class="notes-personal"><?php echo wcdn_personal_notes(); ?></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
</div><!-- #order-notes -->
|
117 |
+
|
118 |
+
<?php if ( wcdn_policies_conditions() || wcdn_footer_imprint() ) : ?>
|
119 |
+
<div id="letter-footer">
|
120 |
+
<div class="policies"><?php echo wcdn_policies_conditions(); ?></div>
|
121 |
+
<div class="imprint"><?php echo wcdn_footer_imprint(); ?></div>
|
122 |
+
</div><!-- #letter-footer -->
|
123 |
+
<?php endif; ?>
|
124 |
</div><!-- #page -->
|
125 |
</div><!-- #content -->
|
126 |
|
wcdn-classes.php
DELETED
@@ -1,409 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* All core plugin classes.
|
4 |
-
*
|
5 |
-
* @package WooCommerce Delivery Notes
|
6 |
-
* @author David Decker - DECKERWEB
|
7 |
-
* @copyright Copyright 2011-2012, David Decker - DECKERWEB
|
8 |
-
* @license http://www.opensource.org/licenses/gpl-license.php GPL v3.0 (or later)
|
9 |
-
* @link http://genesisthemes.de/en/wp-plugins/woocommerce-delivery-notes/
|
10 |
-
* @link http://twitter.com/#!/deckerweb
|
11 |
-
*
|
12 |
-
* @since 1.0
|
13 |
-
*/
|
14 |
-
|
15 |
-
/**
|
16 |
-
* Base class
|
17 |
-
*
|
18 |
-
* @since 1.0
|
19 |
-
*/
|
20 |
-
if ( !class_exists( 'WooCommerce_Delivery_Notes' ) ) {
|
21 |
-
|
22 |
-
class WooCommerce_Delivery_Notes {
|
23 |
-
|
24 |
-
public $prefix;
|
25 |
-
public $plugin_url;
|
26 |
-
public $plugin_path;
|
27 |
-
|
28 |
-
/**
|
29 |
-
* Constructor
|
30 |
-
*
|
31 |
-
* @since 1.0
|
32 |
-
*/
|
33 |
-
public function WooCommerce_Delivery_Notes() {
|
34 |
-
$this->prefix = 'wcdn_';
|
35 |
-
$this->plugin_url = plugin_dir_url( __FILE__ );
|
36 |
-
$this->plugin_path = plugin_dir_path( __FILE__ );
|
37 |
-
}
|
38 |
-
|
39 |
-
} // enf of class WooCommerce_Delivery_Notes
|
40 |
-
|
41 |
-
} // enf of conditional
|
42 |
-
|
43 |
-
|
44 |
-
/**
|
45 |
-
* Admin class
|
46 |
-
*
|
47 |
-
* @since 1.0
|
48 |
-
*/
|
49 |
-
if ( !class_exists( 'WooCommerce_Delivery_Notes_Admin' ) ) {
|
50 |
-
|
51 |
-
class WooCommerce_Delivery_Notes_Admin extends WooCommerce_Delivery_Notes {
|
52 |
-
|
53 |
-
/**
|
54 |
-
* Constructor
|
55 |
-
*
|
56 |
-
* @since 1.0
|
57 |
-
*/
|
58 |
-
public function WooCommerce_Delivery_Notes_Admin() {
|
59 |
-
parent::WooCommerce_Delivery_Notes();
|
60 |
-
|
61 |
-
// Load the plugin when WooCommerce is enabled
|
62 |
-
if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
|
63 |
-
add_action( 'init', array( $this, 'load_all_hooks' ) );
|
64 |
-
}
|
65 |
-
}
|
66 |
-
|
67 |
-
/**
|
68 |
-
* Load the admin hooks
|
69 |
-
*
|
70 |
-
* @since 1.0
|
71 |
-
*/
|
72 |
-
public function load_all_hooks() {
|
73 |
-
|
74 |
-
add_action( 'admin_print_styles', array( $this, 'add_styles' ) );
|
75 |
-
add_action( 'admin_print_scripts', array( $this, 'add_scripts' ) );
|
76 |
-
add_action( 'add_meta_boxes', array( $this, 'add_box' ) );
|
77 |
-
add_action( 'admin_menu', array( $this, 'add_menu' ) );
|
78 |
-
}
|
79 |
-
|
80 |
-
/**
|
81 |
-
* Add the styles
|
82 |
-
*
|
83 |
-
* @since 1.0
|
84 |
-
*/
|
85 |
-
public function add_styles() {
|
86 |
-
wp_enqueue_style( 'thickbox' );
|
87 |
-
}
|
88 |
-
|
89 |
-
/**
|
90 |
-
* Add the scripts
|
91 |
-
*
|
92 |
-
* @since 1.0
|
93 |
-
*/
|
94 |
-
public function add_scripts() {
|
95 |
-
wp_enqueue_script( 'media-upload' );
|
96 |
-
wp_enqueue_script( 'thickbox' );
|
97 |
-
}
|
98 |
-
|
99 |
-
/**
|
100 |
-
* Add the meta box on the single order page
|
101 |
-
*
|
102 |
-
* @since 1.0
|
103 |
-
*/
|
104 |
-
public function add_box() {
|
105 |
-
add_meta_box( 'woocommerce-delivery-notes-box', __( 'Delivery Note', 'woocommerce-delivery-notes' ), array( $this, 'create_box_content' ), 'shop_order', 'side', 'default' );
|
106 |
-
}
|
107 |
-
|
108 |
-
/**
|
109 |
-
* Create the meta box content on the single order page
|
110 |
-
*
|
111 |
-
* @since 1.0
|
112 |
-
*/
|
113 |
-
public function create_box_content() {
|
114 |
-
global $post_id;
|
115 |
-
|
116 |
-
?>
|
117 |
-
<table class="form-table">
|
118 |
-
<tr>
|
119 |
-
<td><a href="<?php echo $this->plugin_url; ?>wcdn-print.php?order=<?php echo $post_id; ?>" id="print_delivery_note" class="button button-primary" target="_blank"><?php _e( 'View & Print Delivery Note', 'woocommerce-delivery-notes' ); ?></a></td>
|
120 |
-
</tr>
|
121 |
-
</table>
|
122 |
-
<?php
|
123 |
-
}
|
124 |
-
|
125 |
-
/**
|
126 |
-
* Add the sub menu entry for the WooCommerce admin page menu
|
127 |
-
*
|
128 |
-
* @since 1.0
|
129 |
-
*/
|
130 |
-
public function add_menu() {
|
131 |
-
|
132 |
-
// Pagehook for settings page
|
133 |
-
global $_wcdn_settings_pagehook;
|
134 |
-
|
135 |
-
// Register settings page menu
|
136 |
-
$_wcdn_settings_pagehook = add_submenu_page( 'woocommerce', __( 'Delivery Notes Settings', 'woocommerce-delivery-notes' ), __( 'Delivery Notes Settings', 'woocommerce-delivery-notes' ), 'manage_woocommerce', 'woocommerce_delivery_notes', array($this, 'ddw_wcdn_settings_page' ) );
|
137 |
-
}
|
138 |
-
|
139 |
-
/**
|
140 |
-
* Create the settings page content
|
141 |
-
*
|
142 |
-
* @since 1.0
|
143 |
-
* @version 1.1
|
144 |
-
*/
|
145 |
-
public function ddw_wcdn_settings_page() {
|
146 |
-
|
147 |
-
// Check the user capabilities
|
148 |
-
if ( !current_user_can( 'manage_woocommerce' ) ) {
|
149 |
-
wp_die( __( 'You do not have sufficient permissions to access this page.', 'woocommerce-delivery-notes' ) );
|
150 |
-
}
|
151 |
-
|
152 |
-
// Save the field values
|
153 |
-
$fields_submitted = $this->prefix . 'fields_submitted';
|
154 |
-
if ( isset( $_POST[ $fields_submitted ] ) && $_POST[ $fields_submitted ] == 'submitted' ) {
|
155 |
-
foreach ( $_POST as $key => $value ) {
|
156 |
-
if ( get_option( $key ) != $value ) {
|
157 |
-
update_option( $key, $value );
|
158 |
-
}
|
159 |
-
else {
|
160 |
-
add_option( $key, $value, '', 'no' );
|
161 |
-
}
|
162 |
-
}
|
163 |
-
|
164 |
-
?><div id="setting-error-settings_updated" class="updated settings-error">
|
165 |
-
<p><strong><?php _e( 'Settings saved.', 'woocommerce-delivery-notes' ); ?></strong></p>
|
166 |
-
</div><?php
|
167 |
-
}
|
168 |
-
|
169 |
-
// Show page content and settings fields
|
170 |
-
?>
|
171 |
-
<div class="wrap">
|
172 |
-
<div id="icon-options-general" class="icon32">
|
173 |
-
<br />
|
174 |
-
</div>
|
175 |
-
<h2><?php _e( 'WooCommerce - Delivery Notes Settings', 'woocommerce-delivery-notes' ); ?></h2>
|
176 |
-
|
177 |
-
<p><?php _e( 'All setting fields below are optional - you can leave them empty to not use them at all or only apply what you need.', 'woocommerce-delivery-notes' ); ?></p>
|
178 |
-
|
179 |
-
<form method="post" action="">
|
180 |
-
<input type="hidden" name="<?php echo $fields_submitted; ?>" value="submitted">
|
181 |
-
|
182 |
-
<table class="form-table">
|
183 |
-
<tbody>
|
184 |
-
<tr>
|
185 |
-
<th>
|
186 |
-
<label for="<?php echo $this->prefix; ?>custom_company_name"><b><?php _e( 'Company/Shop Name:', 'woocommerce-delivery-notes' ); ?></b></label>
|
187 |
-
</th>
|
188 |
-
<td>
|
189 |
-
<textarea name="<?php echo $this->prefix; ?>custom_company_name" rows="1" class="large-text"><?php echo wp_kses_stripslashes( get_option( $this->prefix . 'custom_company_name' ) ); ?></textarea>
|
190 |
-
<span class="description"><?php
|
191 |
-
echo __( 'Your custom company or shop name for the Delivery Note.', 'woocommerce-delivery-notes' );
|
192 |
-
echo '<br /><strong>' . __( 'Note:', 'woocommerce-delivery-notes' ) . '</strong> ';
|
193 |
-
echo __( 'Leave blank to use your default Website/ Blog title defined in WordPress settings.', 'woocommerce-delivery-notes' );
|
194 |
-
?></span>
|
195 |
-
</td>
|
196 |
-
</tr>
|
197 |
-
<tr>
|
198 |
-
<th>
|
199 |
-
<label for="<?php echo $this->prefix; ?>company_address"><b><?php _e( 'Company/Shop Address:', 'woocommerce-delivery-notes' ); ?></b></label>
|
200 |
-
</th>
|
201 |
-
<td>
|
202 |
-
<textarea name="<?php echo $this->prefix; ?>company_address" rows="6" class="large-text"><?php echo wp_kses_stripslashes( get_option( $this->prefix . 'company_address' ) ); ?></textarea>
|
203 |
-
<span class="description"><?php
|
204 |
-
echo __( 'The postal address of the company/shop, which gets printed right of the company/shop name, above the order listings.', 'woocommerce-delivery-notes' );
|
205 |
-
echo '<br /><strong>' . __( 'Note:', 'woocommerce-delivery-notes' ) . '</strong> ';
|
206 |
-
echo __( 'Here, you can also add some other contact information like the telephone and email.', 'woocommerce-delivery-notes' );
|
207 |
-
?></span>
|
208 |
-
</td>
|
209 |
-
</tr>
|
210 |
-
<tr>
|
211 |
-
<th>
|
212 |
-
<label for="<?php echo $this->prefix; ?>personal_notes"><b><?php _e( 'Personal Notes:', 'woocommerce-delivery-notes' ); ?></b></label>
|
213 |
-
</th>
|
214 |
-
<td>
|
215 |
-
<textarea name="<?php echo $this->prefix; ?>personal_notes" rows="3" class="large-text"><?php echo wp_kses_stripslashes( get_option( $this->prefix . 'personal_notes' ) ); ?></textarea>
|
216 |
-
<span class="description"><?php
|
217 |
-
echo __( 'Add some personal notes, or season greetings or whatever (e.g. Thank You for Your Order!, Merry Christmas!, etc.).', 'woocommerce-delivery-notes' );
|
218 |
-
echo '<br /><strong>' . __( 'Note:', 'woocommerce-delivery-notes' ) . '</strong> ';
|
219 |
-
echo __( 'This info gets printed below the order listings but above the regular shipping notes (added at WooCommerce single order pages). These personal notes here will get styled with bigger font size.', 'woocommerce-delivery-notes' );
|
220 |
-
?></span>
|
221 |
-
</td>
|
222 |
-
</tr>
|
223 |
-
<tr>
|
224 |
-
<th>
|
225 |
-
<label for="<?php echo $this->prefix; ?>policies_conditions"><b><?php _e( 'Returns Policy, Conditions, etc.:', 'woocommerce-delivery-notes' ); ?></b></label>
|
226 |
-
</th>
|
227 |
-
<td>
|
228 |
-
<textarea name="<?php echo $this->prefix; ?>policies_conditions" rows="6" class="large-text"><?php echo wp_kses_stripslashes( get_option( $this->prefix . 'policies_conditions' ) ); ?></textarea>
|
229 |
-
<span class="description"><?php
|
230 |
-
echo __( 'Here you can add some more policies, conditions etc. For example add a returns policy in case the client would like to send back some goods.', 'woocommerce-delivery-notes' );
|
231 |
-
echo '<br /><strong>' . __( 'Note:', 'woocommerce-delivery-notes' ) . '</strong> ';
|
232 |
-
echo __( 'In some countries (e.g. in the European Union) this is required so please add any required info in accordance with the statutory regulations.', 'woocommerce-delivery-notes' );
|
233 |
-
?></span>
|
234 |
-
</td>
|
235 |
-
</tr>
|
236 |
-
<tr>
|
237 |
-
<th>
|
238 |
-
<label for="<?php echo $this->prefix; ?>footer_imprint"><b><?php _e( 'Footer Imprint:', 'woocommerce-delivery-notes' ); ?></b></label>
|
239 |
-
</th>
|
240 |
-
<td>
|
241 |
-
<textarea name="<?php echo $this->prefix; ?>footer_imprint" rows="2" class="large-text"><?php echo wp_kses_stripslashes( get_option( $this->prefix . 'footer_imprint' ) ); ?></textarea>
|
242 |
-
<span class="description"><?php
|
243 |
-
echo __( 'Add some further footer imprint, copyright notes etc. to get the printed sheets a bit more branded to your needs.', 'woocommerce-delivery-notes' );
|
244 |
-
echo '<br /><strong>' . __( 'Note:', 'woocommerce-delivery-notes' ) . '</strong> ';
|
245 |
-
echo __(' This footer info gets printed in lower font size and a bit lighter text color.', 'woocommerce-delivery-notes' );
|
246 |
-
?></span>
|
247 |
-
</td>
|
248 |
-
</tr>
|
249 |
-
</tbody>
|
250 |
-
</table>
|
251 |
-
|
252 |
-
<p class="submit">
|
253 |
-
<input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e( 'Save Changes', 'woocommerce-delivery-notes' ); ?>" />
|
254 |
-
</p>
|
255 |
-
</form>
|
256 |
-
</div><!-- .wrap -->
|
257 |
-
<?php
|
258 |
-
|
259 |
-
} // end of function ddw_wcdn_settings_page
|
260 |
-
|
261 |
-
} // end of class WooCommerce_Delivery_Notes_Admin
|
262 |
-
|
263 |
-
} // end of conditional
|
264 |
-
|
265 |
-
|
266 |
-
/**
|
267 |
-
* Print class
|
268 |
-
*
|
269 |
-
* @since 1.0
|
270 |
-
*/
|
271 |
-
if ( !class_exists( 'WooCommerce_Delivery_Notes_Print' ) ) {
|
272 |
-
|
273 |
-
class WooCommerce_Delivery_Notes_Print extends WooCommerce_Delivery_Notes {
|
274 |
-
|
275 |
-
public $template_name;
|
276 |
-
public $template_dir_name;
|
277 |
-
public $template_dir_url;
|
278 |
-
public $template_dir_path;
|
279 |
-
|
280 |
-
private $order;
|
281 |
-
|
282 |
-
/**
|
283 |
-
* Constructor
|
284 |
-
*
|
285 |
-
* @since 1.0
|
286 |
-
*/
|
287 |
-
public function WooCommerce_Delivery_Notes_Print() {
|
288 |
-
parent::WooCommerce_Delivery_Notes();
|
289 |
-
|
290 |
-
$this->template_name = 'template.php';
|
291 |
-
$this->template_dir_name = 'delivery-note-template/';
|
292 |
-
$this->template_dir_url = $this->plugin_url . $this->template_dir_name;
|
293 |
-
$this->template_dir_path = $this->plugin_path . $this->template_dir_name;
|
294 |
-
}
|
295 |
-
|
296 |
-
/**
|
297 |
-
* Read the template file
|
298 |
-
*
|
299 |
-
* @since 1.0
|
300 |
-
*/
|
301 |
-
public function get_template_content() {
|
302 |
-
|
303 |
-
// Check for a custom template folder in the theme
|
304 |
-
$is_custom_html = @file_exists( trailingslashit( get_stylesheet_directory() ) . 'woocommerce/' . $this->template_dir_name . $this->template_name);
|
305 |
-
if ( $is_custom_html ) {
|
306 |
-
$this->template_dir_url = trailingslashit( get_stylesheet_directory_uri() ) . 'woocommerce/' . $this->template_dir_name;
|
307 |
-
$this->template_dir_path = trailingslashit( get_stylesheet_directory() ) . 'woocommerce/' . $this->template_dir_name;
|
308 |
-
|
309 |
-
} // end-if
|
310 |
-
|
311 |
-
// Read the file
|
312 |
-
ob_start();
|
313 |
-
require_once $this->template_dir_path . $this->template_name;
|
314 |
-
$content = ob_get_clean();
|
315 |
-
|
316 |
-
return $content;
|
317 |
-
}
|
318 |
-
|
319 |
-
/**
|
320 |
-
* Get the current order
|
321 |
-
*
|
322 |
-
* @since 1.0
|
323 |
-
*/
|
324 |
-
public function get_order( $order_id ) {
|
325 |
-
if ( !isset( $this->order ) && $order_id ) {
|
326 |
-
$this->order = new woocommerce_order( $order_id );
|
327 |
-
}
|
328 |
-
return $this->order;
|
329 |
-
}
|
330 |
-
|
331 |
-
/**
|
332 |
-
* Get the current order items
|
333 |
-
*
|
334 |
-
* @since 1.0
|
335 |
-
* @version 1.1
|
336 |
-
*
|
337 |
-
* @global $woocommerce
|
338 |
-
* @global $_product
|
339 |
-
*/
|
340 |
-
public function get_order_items( $order_id ) {
|
341 |
-
|
342 |
-
global $woocommerce;
|
343 |
-
global $_product;
|
344 |
-
|
345 |
-
$order = $this->get_order( $order_id );
|
346 |
-
$items = $order->get_items();
|
347 |
-
$data_list = array();
|
348 |
-
|
349 |
-
foreach ( $items as $item ) {
|
350 |
-
|
351 |
-
// Get product item data
|
352 |
-
$product = $order->get_product_from_item( $item );
|
353 |
-
|
354 |
-
// Helper code: Get product price - line total
|
355 |
-
$pricehelp = $order->get_line_total( $item );
|
356 |
-
|
357 |
-
// Helper code: Calculate single product price
|
358 |
-
$singlepricehelp = ( $pricehelp / $item['qty'] );
|
359 |
-
|
360 |
-
// Array: Get array with data for printing template
|
361 |
-
$data = array();
|
362 |
-
|
363 |
-
// Get item name
|
364 |
-
$data['name'] = $item['name'];
|
365 |
-
|
366 |
-
// Check for item variation
|
367 |
-
$data['variation'] = null;
|
368 |
-
|
369 |
-
// Get item quantity
|
370 |
-
$data['quantity'] = ( $pricehelp / $singlepricehelp );
|
371 |
-
|
372 |
-
// Get item price
|
373 |
-
$data['price'] = woocommerce_price( $pricehelp / $item['qty'], array( 'ex_tax_label' => 1 ) );
|
374 |
-
|
375 |
-
// Get item tax rate
|
376 |
-
$data['taxrate'] = $item['taxrate'];
|
377 |
-
|
378 |
-
// Get item SKU
|
379 |
-
$data['sku'] = $product->sku;
|
380 |
-
|
381 |
-
// Get item weight
|
382 |
-
$data['weight'] = $product->weight;
|
383 |
-
|
384 |
-
// Check for item variations
|
385 |
-
if ( isset( $item['variation_id'] ) && $item['variation_id'] > 0 ) {
|
386 |
-
$product = new woocommerce_product_variation( $item['variation_id'] );
|
387 |
-
$data['variation'] = woocommerce_get_formatted_variation( $product->get_variation_attributes(), true );
|
388 |
-
}
|
389 |
-
|
390 |
-
$data_list[] = $data;
|
391 |
-
}
|
392 |
-
|
393 |
-
return $data_list;
|
394 |
-
}
|
395 |
-
|
396 |
-
/**
|
397 |
-
* Get the content for an option
|
398 |
-
*
|
399 |
-
* @since 1.0
|
400 |
-
*
|
401 |
-
* @return option
|
402 |
-
*/
|
403 |
-
public function get_setting( $name ) {
|
404 |
-
return get_option( $this->prefix . $name );
|
405 |
-
}
|
406 |
-
|
407 |
-
} // enf of class WooCommerce_Delivery_Notes_Print
|
408 |
-
|
409 |
-
} // enf of conditional
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wcdn-help.php
DELETED
@@ -1,180 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Load help tabs for admin settings page and support links on plugins listing page.
|
4 |
-
*
|
5 |
-
* @package WooCommerce Delivery Notes
|
6 |
-
* @subpackage Help
|
7 |
-
* @author David Decker - DECKERWEB
|
8 |
-
* @copyright Copyright 2011-2012, David Decker - DECKERWEB
|
9 |
-
* @license http://www.opensource.org/licenses/gpl-license.php GPL v3.0 (or later)
|
10 |
-
* @link http://genesisthemes.de/en/wp-plugins/woocommerce-delivery-notes/
|
11 |
-
* @link http://twitter.com/#!/deckerweb
|
12 |
-
*
|
13 |
-
* @since 1.0
|
14 |
-
*/
|
15 |
-
|
16 |
-
add_filter( 'plugin_row_meta', 'ddw_wcdn_plugin_links', 10, 2 );
|
17 |
-
/**
|
18 |
-
* Add various support links to plugin page
|
19 |
-
*
|
20 |
-
* @since 1.0
|
21 |
-
*
|
22 |
-
* @param $wcdn_links
|
23 |
-
* @param $wcdn_file
|
24 |
-
* @return strings plugin links
|
25 |
-
*/
|
26 |
-
function ddw_wcdn_plugin_links( $wcdn_links, $wcdn_file ) {
|
27 |
-
|
28 |
-
if ( !current_user_can( 'install_plugins' ) )
|
29 |
-
return $wcdn_links;
|
30 |
-
|
31 |
-
if ( $wcdn_file == WCDN_PLUGIN_BASEDIR . '/woocommerce-delivery-notes.php' ) {
|
32 |
-
$wcdn_links[] = '<a href="http://wordpress.org/extend/plugins/woocommerce-delivery-notes/faq/" target="_new" title="' . __( 'FAQ', 'woocommerce-delivery-notes' ) . '">' . __( 'FAQ', 'woocommerce-delivery-notes' ) . '</a>';
|
33 |
-
$wcdn_links[] = '<a href="http://wordpress.org/tags/woocommerce-delivery-notes?forum_id=10" target="_new" title="' . __( 'Support', 'woocommerce-delivery-notes' ) . '">' . __( 'Support', 'woocommerce-delivery-notes' ) . '</a>';
|
34 |
-
$wcdn_links[] = '<a href="' . __( 'http://genesisthemes.de/en/donate/', 'woocommerce-delivery-notes' ) . '" target="_new" title="' . __( 'Donate', 'woocommerce-delivery-notes' ) . '">' . __( 'Donate', 'woocommerce-delivery-notes' ) . '</a>';
|
35 |
-
}
|
36 |
-
|
37 |
-
return $wcdn_links;
|
38 |
-
}
|
39 |
-
|
40 |
-
|
41 |
-
add_action( 'admin_menu', 'ddw_wcdn_help_tab_init', 15 );
|
42 |
-
/**
|
43 |
-
* Load help tab on settings page
|
44 |
-
*
|
45 |
-
* @since 1.0
|
46 |
-
*
|
47 |
-
* global $_wcdn_settings_pagehook
|
48 |
-
*/
|
49 |
-
function ddw_wcdn_help_tab_init() {
|
50 |
-
|
51 |
-
// Pagehook for settings page
|
52 |
-
global $_wcdn_settings_pagehook;
|
53 |
-
|
54 |
-
// Load help tabs for WordPress 3.3 and higher
|
55 |
-
add_action( 'load-'.$_wcdn_settings_pagehook, 'ddw_wcdn_help_tabs' );
|
56 |
-
}
|
57 |
-
|
58 |
-
|
59 |
-
/**
|
60 |
-
* Set up the help tab titles for the settings page - for WordPress 3.3 and higher
|
61 |
-
*
|
62 |
-
* @since 1.0
|
63 |
-
*
|
64 |
-
* global $_wcdn_settings_pagehook
|
65 |
-
*/
|
66 |
-
function ddw_wcdn_help_tabs() {
|
67 |
-
|
68 |
-
// Pagehook for settings page
|
69 |
-
global $_wcdn_settings_pagehook;
|
70 |
-
|
71 |
-
// Check current admin screen
|
72 |
-
$screen = get_current_screen();
|
73 |
-
|
74 |
-
// Don't load help tab system prior WordPress 3.3
|
75 |
-
if( !class_exists( 'WP_Screen' ) || !$screen || $screen->id != $_wcdn_settings_pagehook )
|
76 |
-
return;
|
77 |
-
|
78 |
-
// Create arrays with help tab titles
|
79 |
-
$screen->add_help_tab(array(
|
80 |
-
'id' => 'wcdn-usage',
|
81 |
-
'title' => __( 'What the Plugin Does', 'woocommerce-delivery-notes' ),
|
82 |
-
'content' => ddw_wcdn_help_tab_content( 'wcdn-usage' )
|
83 |
-
) );
|
84 |
-
$screen->add_help_tab(array(
|
85 |
-
'id' => 'wcdn-faq',
|
86 |
-
'title' => __( 'FAQ - Frequently Asked Questions', 'woocommerce-delivery-notes' ),
|
87 |
-
'content' => ddw_wcdn_help_tab_content( 'wcdn-faq' )
|
88 |
-
) );
|
89 |
-
$screen->add_help_tab(array(
|
90 |
-
'id' => 'wcdn-support-donation-rating-tips',
|
91 |
-
'title' => __( 'Support - Donations - Rating & Tips', 'woocommerce-delivery-notes' ),
|
92 |
-
'content' => ddw_wcdn_help_tab_content( 'wcdn-support-donation-rating-tips' )
|
93 |
-
) );
|
94 |
-
$screen->add_help_tab(array(
|
95 |
-
'id' => 'wcdn-autor-license',
|
96 |
-
'title' => __( 'Author - License', 'woocommerce-delivery-notes' ),
|
97 |
-
'content' => ddw_wcdn_help_tab_content( 'wcdn-author-license' )
|
98 |
-
) );
|
99 |
-
|
100 |
-
// Create help sidebar
|
101 |
-
$screen->set_help_sidebar(
|
102 |
-
'<p><strong>' . __( 'Feedback and more about the Author', 'woocommerce-delivery-notes' ) . '</strong></p>'.
|
103 |
-
'<p><a href="' . __( 'http://genesisthemes.de/en/', 'woocommerce-delivery-notes' ) . '" target="_blank" title="' . __( 'Website', 'woocommerce-delivery-notes' ) . '">' . __( 'Website', 'woocommerce-delivery-notes' ) . '</a></p>'.
|
104 |
-
'<p>' . __( 'Social:', 'woocommerce-delivery-notes' ) . '<br /><a href="http://twitter.com/#!/deckerweb" target="_blank">' . __( 'Twitter', 'woocommerce-delivery-notes' ) . '</a> | <a href="http://www.facebook.com/deckerweb.service" target="_blank">' . __( 'Facebook', 'woocommerce-delivery-notes' ) . '</a> | <a href="http://deckerweb.de/gplus" target="_blank">' . __( 'Google+', 'woocommerce-delivery-notes' ) . '</a></p>'.
|
105 |
-
'<p><a href="http://profiles.wordpress.org/users/daveshine/" target="_blank">' . __( 'at WordPress.org', 'woocommerce-delivery-notes' ) . '</a></p>'
|
106 |
-
);
|
107 |
-
|
108 |
-
}
|
109 |
-
|
110 |
-
|
111 |
-
/**
|
112 |
-
* Add the actual help tabs content for the settings page - for WordPress 3.3 and higher
|
113 |
-
*
|
114 |
-
* @since 1.0
|
115 |
-
*
|
116 |
-
* @return help tab strings
|
117 |
-
*/
|
118 |
-
function ddw_wcdn_help_tab_content( $tab = 'wcdn-usage' ) { // Tab general info
|
119 |
-
if ( $tab == 'wcdn-usage' ) {
|
120 |
-
|
121 |
-
ob_start();
|
122 |
-
echo '<h3>' . __( 'Plugin: WooCommerce Delivery Notes', 'woocommerce-delivery-notes' ) . '</h3>';
|
123 |
-
|
124 |
-
echo '<h4>' . __( 'What the Plugin Does', 'woocommerce-delivery-notes' ) . '</h4>';
|
125 |
-
echo '<p>' . __( 'This plugin enables you to add a simple Delivery Note page for printing for your orders in WooCommerce shop plugin. You can add your company postal address, further add personal notes, refund or other policies and a footer note/branding. This helps speed up your daily shop and order management. In some countries (e.g. in the European Union) it is also required to advice the customer with proper refund policies so this little plugin might help you a bit with that too.', 'woocommerce-delivery-notes' ) . '</p>';
|
126 |
-
echo '<p>' . sprintf( __( 'Just look under <a href="%1$s">WooCommerce > Orders</a> and there go to a single order view. On the right side you will see the Delivery Note meta box. Click and you get the delivery Note printing page. Yes, it is that easy :-).', 'woocommerce-delivery-notes' ), admin_url( 'edit.php?post_type=shop_order' ) ) . '</p>';
|
127 |
-
|
128 |
-
return ob_get_clean();
|
129 |
-
|
130 |
-
} elseif ( $tab == 'wcdn-faq' ) { // Tab FAQ area
|
131 |
-
|
132 |
-
ob_start();
|
133 |
-
echo '<h3>' . __( 'Plugin: WooCommerce Delivery Notes', 'woocommerce-delivery-notes' ) . '</h3>';
|
134 |
-
|
135 |
-
echo '<h4>' . __( 'FAQ - Frequently Asked Questions', 'woocommerce-delivery-notes' ) . '</h4>';
|
136 |
-
|
137 |
-
// First FAQ entry
|
138 |
-
echo '<p><em><strong>' . __( 'Question:', 'woocommerce-delivery-notes' ) . '</strong> ';
|
139 |
-
echo __( 'Can I use a Custom Template for the printing page?', 'woocommerce-delivery-notes' ) . '</em><br />';
|
140 |
-
echo '<strong>' . __( 'Answer:', 'woocommerce-delivery-notes' ) . '</strong> ';
|
141 |
-
echo __( 'If you want to use your own template then all you need to do is copy the <code>/wp-content/plugins/woocommerce-delivery-notes/delivery-note-template</code> folder and paste it inside your <code>/wp-content/themes/your-theme-name/woocommerce</code> folder (if not there just create it). The folder from the plugin comes with the default template and the basic CSS stylesheet file. You can modifiy this to fit your own needs.', 'woocommerce-delivery-notes' );
|
142 |
-
echo '<br />' . __( 'Note: This works with both single themes and child themes (if you use some framework like Genesis). If your current active theme is a child theme put the custom folder there! (e.g. <code>/wp-content/themes/your-child-theme-name/woocommerce</code>)', 'woocommerce-delivery-notes' ) . '</p>';
|
143 |
-
|
144 |
-
// Second FAQ entry - show this one only for admins
|
145 |
-
if ( current_user_can( 'install_plugins' ) ) {
|
146 |
-
echo '<p><em><strong>' . __( 'Question:', 'woocommerce-delivery-notes' ) . '</strong> ';
|
147 |
-
echo __( 'What Template Functions can I use?', 'woocommerce-delivery-notes' ) . '</em><br />';
|
148 |
-
echo '<strong>' . __( 'Answer:', 'woocommerce-delivery-notes' ) . '</strong> ';
|
149 |
-
echo __( 'Arbitrary php code and all WordPress functions are available in the template. Besides that there are many Delivery Notes specific template functions. Open the <code>woocommerce-delivery-notes/wcdn-print.php</code> file to see all available functions.', 'woocommerce-delivery-notes' );
|
150 |
-
echo '<br />' . __( 'Important note: This is only intended for developers who know what they do! Please be careful with adding any code/functions! The default template and functions should fit most use cases.', 'woocommerce-delivery-notes' ) . '</p>';
|
151 |
-
}
|
152 |
-
|
153 |
-
return ob_get_clean();
|
154 |
-
|
155 |
-
} elseif ( $tab == 'wcdn-support-donation-rating-tips' ) { // Tab support, donation, rating, tips
|
156 |
-
|
157 |
-
ob_start();
|
158 |
-
echo '<h3>' . __( 'Plugin: WooCommerce Delivery Notes', 'woocommerce-delivery-notes' ) . '</h3>';
|
159 |
-
|
160 |
-
echo '<h4>' . __( 'Support - Donations - Rating & Tips', 'woocommerce-delivery-notes' ) . '</h4>';
|
161 |
-
echo '<p>• ' . sprintf( __( '<strong>Donations:</strong> Please %1$sdonate to support the further maintenance and development%2$s of the plugin. <em>Thank you in advance!</em>', 'woocommerce-delivery-notes' ), '<a href="' . __( 'http://genesisthemes.de/en/donate/', 'woocommerce-delivery-notes' ) . '" target="_new">', '</a>' ) . '</p>';
|
162 |
-
echo '<p>• ' . sprintf( __( '<strong>Support:</strong> Done via %1$sWordPress.org plugin page support forum%2$s. - Maybe I will setup my own support forum in the future, though.', 'woocommerce-delivery-notes' ), '<a href="http://wordpress.org/tags/woocommerce-delivery-notes?forum_id=10" target="_new" title="WordPress.org Plugin Support Forum ...">', '</a>' ) . '</p>';
|
163 |
-
echo '<p>• ' . sprintf( __( '<strong>Rating & Tips:</strong> If you like the plugin please %1$srate at WordPress.org%2$s with 5 stars. <em>Thank you!</em> — %3$sMore plugins for WordPress by DECKERWEB%2$s', 'woocommerce-delivery-notes' ), '<a href="http://wordpress.org/extend/plugins/genesis-layout-extras/" target="_new">', '</a>', '<a href="http://wordpress.org/extend/plugins/tags/deckerweb" target="_new" title="DECKERWEB WordPress Plugins ...">' ) . '</p>';
|
164 |
-
|
165 |
-
return ob_get_clean();
|
166 |
-
|
167 |
-
} elseif ( $tab == 'wcdn-author-license' ) { // Tab author and license
|
168 |
-
|
169 |
-
ob_start();
|
170 |
-
echo '<h3>' . __( 'Plugin: WooCommerce Delivery Notes', 'woocommerce-delivery-notes' ) . '</h3>';
|
171 |
-
|
172 |
-
echo '<h4>' . __( 'Author - License', 'woocommerce-delivery-notes' ) . '</h4>';
|
173 |
-
echo '<p>• ' . sprintf( __( '<strong>Author:</strong> David Decker of %1$sdeckerweb.de%2$s and %3$sGenesisThemes%2$s - Join me at %4$sTwitter%2$s, %5$sFacebook%2$s and %6$sGoogle Plus%2$s :-)', 'woocommerce-delivery-notes' ), '<a href="http://deckerweb.de/" target="_new">', '</a>', '<a href="http://genesisthemes.de/en/" target="_new">', '<a href="http://twitter.com/#!/deckerweb" target="_new" title="Twitter @deckerweb ...">', '<a href="http://www.facebook.com/deckerweb.service" target="_new" title="deckerweb Facebook ...">', '<a href="http://deckerweb.de/gplus" target="_new" title="deckerweb Google Plus ...">' ) . '</p>';
|
174 |
-
echo '<p>• ' . sprintf( __( '<strong>License:</strong> GPL v3 - %1$sMore info on the GPL license ...%2$s', 'woocommerce-delivery-notes' ), '<a href="http://www.opensource.org/licenses/gpl-license.php" target="_new" title="GPL ...">', '</a>' ) . '</p>';
|
175 |
-
|
176 |
-
return ob_get_clean();
|
177 |
-
|
178 |
-
} // end elseif
|
179 |
-
|
180 |
-
} // end of function ddw_wcdn_help_tab_content
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wcdn-print.php
DELETED
@@ -1,497 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Load all available data for the Delivery Notes printing page.
|
4 |
-
*
|
5 |
-
* @package WooCommerce Delivery Notes
|
6 |
-
* @author David Decker - DECKERWEB
|
7 |
-
* @copyright Copyright 2011-2012, David Decker - DECKERWEB
|
8 |
-
* @license http://www.opensource.org/licenses/gpl-license.php GPL v3.0 (or later)
|
9 |
-
* @link http://genesisthemes.de/en/wp-plugins/woocommerce-delivery-notes/
|
10 |
-
* @link http://twitter.com/#!/deckerweb
|
11 |
-
*
|
12 |
-
* @since 1.0
|
13 |
-
*/
|
14 |
-
|
15 |
-
/**
|
16 |
-
* Load Wordpress to use its functions
|
17 |
-
*
|
18 |
-
* @since 1.0
|
19 |
-
*/
|
20 |
-
if ( !defined( 'ABSPATH' ) ) {
|
21 |
-
require_once '../../../wp-load.php';
|
22 |
-
}
|
23 |
-
|
24 |
-
|
25 |
-
/**
|
26 |
-
* Check the current user capabilities
|
27 |
-
*
|
28 |
-
* @since 1.0
|
29 |
-
*/
|
30 |
-
if ( !current_user_can( 'manage_options' ) || !$_GET['order'] ) {
|
31 |
-
wp_die( __( 'You do not have sufficient permissions to access this page.', 'woocommerce-delivery-notes' ) );
|
32 |
-
}
|
33 |
-
|
34 |
-
|
35 |
-
/**
|
36 |
-
* Load the plugin's classes
|
37 |
-
*
|
38 |
-
* @since 1.0
|
39 |
-
*/
|
40 |
-
require_once 'wcdn-classes.php';
|
41 |
-
|
42 |
-
|
43 |
-
/**
|
44 |
-
* Create plugin instance
|
45 |
-
*
|
46 |
-
* @since 1.0
|
47 |
-
*/
|
48 |
-
$wcdn_print = new WooCommerce_Delivery_Notes_Print();
|
49 |
-
|
50 |
-
|
51 |
-
/**
|
52 |
-
* Return Delivery Note template url
|
53 |
-
*
|
54 |
-
* @since 1.0
|
55 |
-
*/
|
56 |
-
if ( !function_exists( 'wcdn_template_url' ) ) {
|
57 |
-
function wcdn_template_url() {
|
58 |
-
global $wcdn_print;
|
59 |
-
return $wcdn_print->template_dir_url;
|
60 |
-
}
|
61 |
-
}
|
62 |
-
|
63 |
-
|
64 |
-
/**
|
65 |
-
* Return default title name of Delivery Note (= default Website Name)
|
66 |
-
*
|
67 |
-
* @since 1.0
|
68 |
-
*/
|
69 |
-
if ( !function_exists( 'wcdn_company_name' ) ) {
|
70 |
-
function wcdn_company_name() {
|
71 |
-
return get_bloginfo( 'name' );
|
72 |
-
}
|
73 |
-
}
|
74 |
-
|
75 |
-
|
76 |
-
/**
|
77 |
-
* Return custom title name of Delivery Note (= custom title)
|
78 |
-
*
|
79 |
-
* @since 1.0
|
80 |
-
*
|
81 |
-
* @global $wcdn_print
|
82 |
-
* @return string company name
|
83 |
-
*/
|
84 |
-
if ( !function_exists( 'wcdn_custom_company_name' ) ) {
|
85 |
-
function wcdn_custom_company_name() {
|
86 |
-
global $wcdn_print;
|
87 |
-
return wpautop( wp_kses_stripslashes( $wcdn_print->get_setting( 'custom_company_name' ) ) );
|
88 |
-
}
|
89 |
-
}
|
90 |
-
|
91 |
-
|
92 |
-
/**
|
93 |
-
* Return shop/company info if provided
|
94 |
-
*
|
95 |
-
* @since 1.0
|
96 |
-
*
|
97 |
-
* @global $wcdn_print
|
98 |
-
* @return string company address
|
99 |
-
*/
|
100 |
-
if (!function_exists( 'wcdn_company_info' ) ) {
|
101 |
-
function wcdn_company_info() {
|
102 |
-
global $wcdn_print;
|
103 |
-
return wpautop( wptexturize( $wcdn_print->get_setting( 'company_address' ) ) );
|
104 |
-
}
|
105 |
-
}
|
106 |
-
|
107 |
-
|
108 |
-
/**
|
109 |
-
* Return shipping name
|
110 |
-
*
|
111 |
-
* @since 1.0
|
112 |
-
*
|
113 |
-
* @global $wcdn_print
|
114 |
-
* @return string shipping name
|
115 |
-
*/
|
116 |
-
if ( !function_exists( 'wcdn_shipping_name' ) ) {
|
117 |
-
function wcdn_shipping_name() {
|
118 |
-
global $wcdn_print;
|
119 |
-
return $wcdn_print->get_order( $_GET['order'] )->shipping_first_name . ' ' . $wcdn_print->get_order( $_GET['order'] )->shipping_last_name;
|
120 |
-
}
|
121 |
-
}
|
122 |
-
|
123 |
-
|
124 |
-
/**
|
125 |
-
* Return shipping company
|
126 |
-
*
|
127 |
-
* @since 1.0
|
128 |
-
*
|
129 |
-
* @global $wcdn_print
|
130 |
-
* @return string shipping company
|
131 |
-
*/
|
132 |
-
if ( !function_exists( 'wcdn_shipping_company' ) ) {
|
133 |
-
function wcdn_shipping_company() {
|
134 |
-
global $wcdn_print;
|
135 |
-
return $wcdn_print->get_order( $_GET['order'] )->shipping_company;
|
136 |
-
}
|
137 |
-
}
|
138 |
-
|
139 |
-
|
140 |
-
/**
|
141 |
-
* Return shipping address 1
|
142 |
-
*
|
143 |
-
* @since 1.0
|
144 |
-
*
|
145 |
-
* @global $wcdn_print
|
146 |
-
* @return string shipping address
|
147 |
-
*/
|
148 |
-
if ( !function_exists( 'wcdn_shipping_address_1' ) ) {
|
149 |
-
function wcdn_shipping_address_1() {
|
150 |
-
global $wcdn_print;
|
151 |
-
return $wcdn_print->get_order( $_GET['order'] )->shipping_address_1;
|
152 |
-
}
|
153 |
-
}
|
154 |
-
|
155 |
-
|
156 |
-
/**
|
157 |
-
* Return shipping address 2
|
158 |
-
*
|
159 |
-
* @since 1.0
|
160 |
-
*
|
161 |
-
* @global $wcdn_print
|
162 |
-
* @return string shipping address 2
|
163 |
-
*/
|
164 |
-
if ( !function_exists( 'wcdn_shipping_address_2' ) ) {
|
165 |
-
function wcdn_shipping_address_2() {
|
166 |
-
global $wcdn_print;
|
167 |
-
return $wcdn_print->get_order( $_GET['order'] )->shipping_address_2;
|
168 |
-
}
|
169 |
-
}
|
170 |
-
|
171 |
-
|
172 |
-
/**
|
173 |
-
* Return shipping city
|
174 |
-
*
|
175 |
-
* @since 1.0
|
176 |
-
*
|
177 |
-
* @global $wcdn_print
|
178 |
-
* @return string shipping city
|
179 |
-
*/
|
180 |
-
if ( !function_exists( 'wcdn_shipping_city' ) ) {
|
181 |
-
function wcdn_shipping_city() {
|
182 |
-
global $wcdn_print;
|
183 |
-
return $wcdn_print->get_order( $_GET['order'] )->shipping_city;
|
184 |
-
}
|
185 |
-
}
|
186 |
-
|
187 |
-
|
188 |
-
/**
|
189 |
-
* Return shipping state
|
190 |
-
*
|
191 |
-
* @since 1.0
|
192 |
-
*
|
193 |
-
* @global $wcdn_print
|
194 |
-
* @return string shipping state
|
195 |
-
*/
|
196 |
-
if ( !function_exists( 'wcdn_shipping_state' ) ) {
|
197 |
-
function wcdn_shipping_state() {
|
198 |
-
global $wcdn_print;
|
199 |
-
return $wcdn_print->get_order( $_GET['order'] )->shipping_state;
|
200 |
-
}
|
201 |
-
}
|
202 |
-
|
203 |
-
|
204 |
-
/**
|
205 |
-
* Return shipping postcode
|
206 |
-
*
|
207 |
-
* @since 1.0
|
208 |
-
*
|
209 |
-
* @global $wcdn_print
|
210 |
-
* @return string shipping postcode
|
211 |
-
*/
|
212 |
-
if ( !function_exists( 'wcdn_shipping_postcode' ) ) {
|
213 |
-
function wcdn_shipping_postcode() {
|
214 |
-
global $wcdn_print;
|
215 |
-
return $wcdn_print->get_order( $_GET['order'] )->shipping_postcode;
|
216 |
-
}
|
217 |
-
}
|
218 |
-
|
219 |
-
|
220 |
-
/**
|
221 |
-
* Return shipping country
|
222 |
-
*
|
223 |
-
* @since 1.0
|
224 |
-
*
|
225 |
-
* @global $wcdn_print
|
226 |
-
* @return string shipping country
|
227 |
-
*/
|
228 |
-
if ( !function_exists( 'wcdn_shipping_country' ) ) {
|
229 |
-
function wcdn_shipping_country() {
|
230 |
-
global $wcdn_print;
|
231 |
-
return $wcdn_print->get_order( $_GET['order'] )->shipping_country;
|
232 |
-
}
|
233 |
-
}
|
234 |
-
|
235 |
-
|
236 |
-
/**
|
237 |
-
* Return shipping notes
|
238 |
-
*
|
239 |
-
* @since 1.0
|
240 |
-
*
|
241 |
-
* @global $wcdn_print
|
242 |
-
* @return string shipping notes
|
243 |
-
*/
|
244 |
-
if ( !function_exists( 'wcdn_shipping_notes' ) ) {
|
245 |
-
function wcdn_shipping_notes() {
|
246 |
-
global $wcdn_print;
|
247 |
-
return wpautop( wptexturize( $wcdn_print->get_order( $_GET['order'] )->customer_note ) );
|
248 |
-
}
|
249 |
-
}
|
250 |
-
|
251 |
-
|
252 |
-
/**
|
253 |
-
* Return order id
|
254 |
-
*
|
255 |
-
* @since 1.0
|
256 |
-
*
|
257 |
-
* @global $wcdn_print
|
258 |
-
* @return string order id
|
259 |
-
*/
|
260 |
-
if ( !function_exists( 'wcdn_order_number' ) ) {
|
261 |
-
function wcdn_order_number() {
|
262 |
-
return $_GET['order'];
|
263 |
-
}
|
264 |
-
}
|
265 |
-
|
266 |
-
|
267 |
-
/**
|
268 |
-
* Return the order date
|
269 |
-
*
|
270 |
-
* @since 1.0
|
271 |
-
*
|
272 |
-
* @global $wcdn_print
|
273 |
-
* @return string order date
|
274 |
-
*/
|
275 |
-
if ( !function_exists( 'wcdn_order_date')) {
|
276 |
-
function wcdn_order_date() {
|
277 |
-
global $wcdn_print;
|
278 |
-
$order = $wcdn_print->get_order( $_GET['order'] );
|
279 |
-
return date_i18n( get_option( 'date_format' ), strtotime( $order->order_date ) );
|
280 |
-
}
|
281 |
-
}
|
282 |
-
|
283 |
-
|
284 |
-
/**
|
285 |
-
* Return the order items
|
286 |
-
*
|
287 |
-
* @since 1.0
|
288 |
-
*
|
289 |
-
* @global $wcdn_print
|
290 |
-
* @return strings order items
|
291 |
-
*/
|
292 |
-
if ( !function_exists( 'wcdn_get_order_items' ) ) {
|
293 |
-
function wcdn_get_order_items() {
|
294 |
-
global $wcdn_print;
|
295 |
-
return $wcdn_print->get_order_items( $_GET['order'] );
|
296 |
-
}
|
297 |
-
}
|
298 |
-
|
299 |
-
|
300 |
-
/**
|
301 |
-
* Return the order items price
|
302 |
-
*
|
303 |
-
* @since 1.0
|
304 |
-
*
|
305 |
-
* @global $wcdn_print
|
306 |
-
* @return string items price
|
307 |
-
*/
|
308 |
-
if ( !function_exists( 'wcdn_format_price' ) ) {
|
309 |
-
function wcdn_format_price( $price, $tax_rate = 0 ) {
|
310 |
-
$tax_included = ( $tax_rate > 0 ) ? 0 : 1;
|
311 |
-
return woocommerce_price( ( ( $price / 100 ) * $tax_rate ) + $price, array( 'ex_tax_label' => $tax_included ) );
|
312 |
-
}
|
313 |
-
}
|
314 |
-
|
315 |
-
|
316 |
-
/**
|
317 |
-
* Return the order subtotal
|
318 |
-
*
|
319 |
-
* @since 1.0
|
320 |
-
*
|
321 |
-
* @global $wcdn_print
|
322 |
-
* @return string order subtotal
|
323 |
-
*/
|
324 |
-
if ( !function_exists( 'wcdn_order_subtotal' ) ) {
|
325 |
-
function wcdn_order_subtotal() {
|
326 |
-
global $wcdn_print;
|
327 |
-
return $wcdn_print->get_order( $_GET['order'] )->get_subtotal_to_display();
|
328 |
-
}
|
329 |
-
}
|
330 |
-
|
331 |
-
|
332 |
-
/**
|
333 |
-
* Return the order tax
|
334 |
-
*
|
335 |
-
* @since 1.0
|
336 |
-
*
|
337 |
-
* @global $wcdn_print
|
338 |
-
* @return string order tax
|
339 |
-
*/
|
340 |
-
if ( !function_exists( 'wcdn_order_tax' ) ) {
|
341 |
-
function wcdn_order_tax() {
|
342 |
-
global $wcdn_print;
|
343 |
-
return woocommerce_price( $wcdn_print->get_order( $_GET['order'] )->get_total_tax() );
|
344 |
-
}
|
345 |
-
}
|
346 |
-
|
347 |
-
|
348 |
-
/**
|
349 |
-
* Return the order shipping cost
|
350 |
-
*
|
351 |
-
* @since 1.0
|
352 |
-
*
|
353 |
-
* @global $wcdn_print
|
354 |
-
* @return string order shipping cost
|
355 |
-
*/
|
356 |
-
if ( !function_exists( 'wcdn_order_shipping' ) ) {
|
357 |
-
function wcdn_order_shipping() {
|
358 |
-
global $wcdn_print;
|
359 |
-
return $wcdn_print->get_order( $_GET['order'] )->get_shipping_to_display();
|
360 |
-
}
|
361 |
-
}
|
362 |
-
|
363 |
-
|
364 |
-
/**
|
365 |
-
* Return the order discount
|
366 |
-
*
|
367 |
-
* @since 1.0
|
368 |
-
*
|
369 |
-
* @global $wcdn_print
|
370 |
-
* @return string order discount
|
371 |
-
*/
|
372 |
-
if ( !function_exists( 'wcdn_order_discount' ) ) {
|
373 |
-
function wcdn_order_discount() {
|
374 |
-
global $wcdn_print;
|
375 |
-
return woocommerce_price( $wcdn_print->get_order( $_GET['order'] )->order_discount );
|
376 |
-
}
|
377 |
-
}
|
378 |
-
|
379 |
-
|
380 |
-
/**
|
381 |
-
* Return the order grand total
|
382 |
-
*
|
383 |
-
* @since 1.0
|
384 |
-
*
|
385 |
-
* @global $wcdn_print
|
386 |
-
* @return string grand total
|
387 |
-
*/
|
388 |
-
if ( !function_exists( 'wcdn_order_total' ) ) {
|
389 |
-
function wcdn_order_total() {
|
390 |
-
global $wcdn_print;
|
391 |
-
return woocommerce_price( $wcdn_print->get_order( $_GET['order'] )->order_total );
|
392 |
-
}
|
393 |
-
}
|
394 |
-
|
395 |
-
|
396 |
-
/**
|
397 |
-
* Return if the order has a shipping
|
398 |
-
*
|
399 |
-
* @since 1.0
|
400 |
-
*
|
401 |
-
* @global $wcdn_print
|
402 |
-
* @return boolean
|
403 |
-
*/
|
404 |
-
if ( !function_exists( 'wcdn_has_shipping' ) ) {
|
405 |
-
function wcdn_has_shipping() {
|
406 |
-
global $wcdn_print;
|
407 |
-
return ( $wcdn_print->get_order( $_GET['order'] )->order_shipping > 0 ) ? true : false;
|
408 |
-
}
|
409 |
-
}
|
410 |
-
|
411 |
-
|
412 |
-
/**
|
413 |
-
* Return if the order has a tax
|
414 |
-
*
|
415 |
-
* @since 1.0
|
416 |
-
*
|
417 |
-
* @global $wcdn_print
|
418 |
-
* @return boolean
|
419 |
-
*/
|
420 |
-
if ( !function_exists( 'wcdn_has_tax' ) ) {
|
421 |
-
function wcdn_has_tax() {
|
422 |
-
global $wcdn_print;
|
423 |
-
return ( $wcdn_print->get_order( $_GET['order'] )->get_total_tax() > 0) ? true : false;
|
424 |
-
}
|
425 |
-
}
|
426 |
-
|
427 |
-
|
428 |
-
/**
|
429 |
-
* Return if the order has a discount
|
430 |
-
*
|
431 |
-
* @since 1.0
|
432 |
-
*
|
433 |
-
* @global $wcdn_print
|
434 |
-
* @return boolean
|
435 |
-
*/
|
436 |
-
if ( !function_exists( 'wcdn_has_discount' ) ) {
|
437 |
-
function wcdn_has_discount() {
|
438 |
-
global $wcdn_print;
|
439 |
-
return ( $wcdn_print->get_order( $_GET['order'] )->order_discount > 0 ) ? true : false;
|
440 |
-
}
|
441 |
-
}
|
442 |
-
|
443 |
-
|
444 |
-
/**
|
445 |
-
* Return personal notes, season greetings etc.
|
446 |
-
*
|
447 |
-
* @since 1.0
|
448 |
-
*
|
449 |
-
* @global $wcdn_print
|
450 |
-
* @return string personal notes
|
451 |
-
*/
|
452 |
-
if ( !function_exists( 'wcdn_personal_notes' ) ) {
|
453 |
-
function wcdn_personal_notes() {
|
454 |
-
global $wcdn_print;
|
455 |
-
return wpautop( wptexturize( $wcdn_print->get_setting( 'personal_notes' ) ) );
|
456 |
-
}
|
457 |
-
}
|
458 |
-
|
459 |
-
|
460 |
-
/**
|
461 |
-
* Return policy for returns
|
462 |
-
*
|
463 |
-
* @since 1.0
|
464 |
-
*
|
465 |
-
* @global $wcdn_print
|
466 |
-
* @return string policy
|
467 |
-
*/
|
468 |
-
if ( !function_exists( 'wcdn_policies_conditions' ) ) {
|
469 |
-
function wcdn_policies_conditions() {
|
470 |
-
global $wcdn_print;
|
471 |
-
return wpautop( wptexturize( $wcdn_print->get_setting( 'policies_conditions' ) ) );
|
472 |
-
}
|
473 |
-
}
|
474 |
-
|
475 |
-
|
476 |
-
/**
|
477 |
-
* Return shop/company footer imprint, copyright etc.
|
478 |
-
*
|
479 |
-
* @since 1.0
|
480 |
-
*
|
481 |
-
* @global $wcdn_print
|
482 |
-
* @return string footer imprint
|
483 |
-
*/
|
484 |
-
if ( !function_exists( 'wcdn_footer_imprint' ) ) {
|
485 |
-
function wcdn_footer_imprint() {
|
486 |
-
global $wcdn_print;
|
487 |
-
return wpautop( wptexturize( $wcdn_print->get_setting( 'footer_imprint' ) ) );
|
488 |
-
}
|
489 |
-
}
|
490 |
-
|
491 |
-
|
492 |
-
/*
|
493 |
-
* Finally output the template
|
494 |
-
*
|
495 |
-
* @since 1.0
|
496 |
-
*/
|
497 |
-
echo $wcdn_print->get_template_content();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
woocommerce-delivery-notes-print.php
ADDED
@@ -0,0 +1,502 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
10 |
+
*
|
11 |
+
* @since 1.0
|
12 |
+
*/
|
13 |
+
if ( !defined( 'ABSPATH' ) ) {
|
14 |
+
require_once '../../../wp-load.php';
|
15 |
+
}
|
16 |
+
|
17 |
+
/**
|
18 |
+
* Check the current user capabilities
|
19 |
+
*
|
20 |
+
* @since 1.0
|
21 |
+
*/
|
22 |
+
if (!current_user_can('manage_woocommerce_orders') || empty($id) || empty($name)) {
|
23 |
+
wp_die( __( 'You do not have sufficient permissions to access this page.', 'woocommerce-delivery-notes' ) );
|
24 |
+
}
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Load the order
|
28 |
+
*
|
29 |
+
* @since 1.0
|
30 |
+
*/
|
31 |
+
$wcdn->print->load( $id );
|
32 |
+
|
33 |
+
/**
|
34 |
+
* Return Delivery Note template url
|
35 |
+
*
|
36 |
+
* @since 1.0
|
37 |
+
*/
|
38 |
+
if ( !function_exists( 'wcdn_template_url' ) ) {
|
39 |
+
function wcdn_template_url() {
|
40 |
+
global $wcdn;
|
41 |
+
return $wcdn->print->template_url;
|
42 |
+
}
|
43 |
+
}
|
44 |
+
|
45 |
+
/**
|
46 |
+
* Return Type of print
|
47 |
+
*
|
48 |
+
* @since 1.0
|
49 |
+
*/
|
50 |
+
if ( !function_exists( 'wcdn_template_name' ) ) {
|
51 |
+
function wcdn_template_name() {
|
52 |
+
global $wcdn;
|
53 |
+
return $wcdn->print->template_name;
|
54 |
+
}
|
55 |
+
}
|
56 |
+
|
57 |
+
/**
|
58 |
+
* Return javascript
|
59 |
+
*
|
60 |
+
* @since 1.0
|
61 |
+
*/
|
62 |
+
if ( !function_exists( 'wcdn_template_javascript' ) ) {
|
63 |
+
function wcdn_template_javascript() {
|
64 |
+
global $wcdn;
|
65 |
+
|
66 |
+
$js = '<script type="text/javascript">
|
67 |
+
function openPrintWindow() {
|
68 |
+
window.print();
|
69 |
+
return false;
|
70 |
+
}';
|
71 |
+
|
72 |
+
if( checked( $wcdn->print->get_setting( 'open_print_window' ), 'yes', false ) ) {
|
73 |
+
$js .= 'window.onload = openPrintWindow;';
|
74 |
+
}
|
75 |
+
|
76 |
+
$js .= '</script>';
|
77 |
+
|
78 |
+
return $js;
|
79 |
+
}
|
80 |
+
}
|
81 |
+
|
82 |
+
/**
|
83 |
+
* Return print button
|
84 |
+
*
|
85 |
+
* @since 1.0
|
86 |
+
*/
|
87 |
+
if ( !function_exists( 'wcdn_template_print_button' ) ) {
|
88 |
+
function wcdn_template_print_button() {
|
89 |
+
?>
|
90 |
+
<a href="#print" onclick="javascript:openPrintWindow();return false;"><?php _e( 'Print Page', 'woocommerce-delivery-notes' ); ?></a>
|
91 |
+
<?php
|
92 |
+
}
|
93 |
+
}
|
94 |
+
|
95 |
+
/**
|
96 |
+
* Return default title name of Delivery Note
|
97 |
+
*
|
98 |
+
* @since 1.0
|
99 |
+
*/
|
100 |
+
if ( !function_exists( 'wcdn_company_name' ) ) {
|
101 |
+
function 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 |
+
}
|
109 |
+
}
|
110 |
+
}
|
111 |
+
|
112 |
+
/**
|
113 |
+
* Return shop/company info if provided
|
114 |
+
*
|
115 |
+
* @since 1.0
|
116 |
+
*
|
117 |
+
* @global $wcdn->print
|
118 |
+
* @return string company address
|
119 |
+
*/
|
120 |
+
if ( ! function_exists( 'wcdn_company_info' ) ) {
|
121 |
+
function wcdn_company_info() {
|
122 |
+
global $wcdn;
|
123 |
+
return wpautop( wptexturize( $wcdn->print->get_setting( 'company_address' ) ) );
|
124 |
+
}
|
125 |
+
}
|
126 |
+
|
127 |
+
/**
|
128 |
+
* Return shipping name
|
129 |
+
*
|
130 |
+
* @since 1.0
|
131 |
+
*
|
132 |
+
* @global $wcdn->print
|
133 |
+
* @return string shipping name
|
134 |
+
*/
|
135 |
+
if ( ! function_exists( 'wcdn_shipping_name' ) ) {
|
136 |
+
function wcdn_shipping_name() {
|
137 |
+
global $wcdn;
|
138 |
+
return $wcdn->print->get_order()->shipping_first_name . ' ' . $wcdn->print->get_order()->shipping_last_name;
|
139 |
+
}
|
140 |
+
}
|
141 |
+
|
142 |
+
/**
|
143 |
+
* Return shipping company
|
144 |
+
*
|
145 |
+
* @since 1.0
|
146 |
+
*
|
147 |
+
* @global $wcdn->print
|
148 |
+
* @return string shipping company
|
149 |
+
*/
|
150 |
+
if ( ! function_exists( 'wcdn_shipping_company' ) ) {
|
151 |
+
function wcdn_shipping_company() {
|
152 |
+
global $wcdn;
|
153 |
+
return $wcdn->print->get_order()->shipping_company;
|
154 |
+
}
|
155 |
+
}
|
156 |
+
|
157 |
+
/**
|
158 |
+
* Return shipping address 1
|
159 |
+
*
|
160 |
+
* @since 1.0
|
161 |
+
*
|
162 |
+
* @global $wcdn->print
|
163 |
+
* @return string shipping address
|
164 |
+
*/
|
165 |
+
if ( ! function_exists( 'wcdn_shipping_address_1' ) ) {
|
166 |
+
function wcdn_shipping_address_1() {
|
167 |
+
global $wcdn;
|
168 |
+
return $wcdn->print->get_order()->shipping_address_1;
|
169 |
+
}
|
170 |
+
}
|
171 |
+
|
172 |
+
/**
|
173 |
+
* Return shipping address 2
|
174 |
+
*
|
175 |
+
* @since 1.0
|
176 |
+
*
|
177 |
+
* @global $wcdn->print
|
178 |
+
* @return string shipping address 2
|
179 |
+
*/
|
180 |
+
if ( ! function_exists( 'wcdn_shipping_address_2' ) ) {
|
181 |
+
function wcdn_shipping_address_2() {
|
182 |
+
global $wcdn;
|
183 |
+
return $wcdn->print->get_order()->shipping_address_2;
|
184 |
+
}
|
185 |
+
}
|
186 |
+
|
187 |
+
/**
|
188 |
+
* Return shipping city
|
189 |
+
*
|
190 |
+
* @since 1.0
|
191 |
+
*
|
192 |
+
* @global $wcdn->print
|
193 |
+
* @return string shipping city
|
194 |
+
*/
|
195 |
+
if ( ! function_exists( 'wcdn_shipping_city' ) ) {
|
196 |
+
function wcdn_shipping_city() {
|
197 |
+
global $wcdn;
|
198 |
+
return $wcdn->print->get_order()->shipping_city;
|
199 |
+
}
|
200 |
+
}
|
201 |
+
|
202 |
+
/**
|
203 |
+
* Return shipping state
|
204 |
+
*
|
205 |
+
* @since 1.0
|
206 |
+
*
|
207 |
+
* @global $wcdn->print
|
208 |
+
* @return string shipping state
|
209 |
+
*/
|
210 |
+
if ( ! function_exists( 'wcdn_shipping_state' ) ) {
|
211 |
+
function wcdn_shipping_state() {
|
212 |
+
global $wcdn;
|
213 |
+
return $wcdn->print->get_order()->shipping_state;
|
214 |
+
}
|
215 |
+
}
|
216 |
+
|
217 |
+
/**
|
218 |
+
* Return shipping postcode
|
219 |
+
*
|
220 |
+
* @since 1.0
|
221 |
+
*
|
222 |
+
* @global $wcdn->print
|
223 |
+
* @return string shipping postcode
|
224 |
+
*/
|
225 |
+
if ( ! function_exists( 'wcdn_shipping_postcode' ) ) {
|
226 |
+
function wcdn_shipping_postcode() {
|
227 |
+
global $wcdn;
|
228 |
+
return $wcdn->print->get_order()->shipping_postcode;
|
229 |
+
}
|
230 |
+
}
|
231 |
+
|
232 |
+
/**
|
233 |
+
* Return shipping country
|
234 |
+
*
|
235 |
+
* @since 1.0
|
236 |
+
*
|
237 |
+
* @global $wcdn->print
|
238 |
+
* @return string shipping country
|
239 |
+
*/
|
240 |
+
if ( ! function_exists( 'wcdn_shipping_country' ) ) {
|
241 |
+
function wcdn_shipping_country() {
|
242 |
+
global $wcdn, $woocommerce;
|
243 |
+
$country = $wcdn->print->get_order()->shipping_country;
|
244 |
+
$full_country = ( isset( $woocommerce->countries->countries[$country] ) ) ? $woocommerce->countries->countries[$country] : $country;
|
245 |
+
return $full_country;
|
246 |
+
}
|
247 |
+
}
|
248 |
+
|
249 |
+
/**
|
250 |
+
* Return shipping notes
|
251 |
+
*
|
252 |
+
* @since 1.0
|
253 |
+
*
|
254 |
+
* @global $wcdn->print
|
255 |
+
* @return string shipping notes
|
256 |
+
*/
|
257 |
+
if ( ! function_exists( 'wcdn_shipping_notes' ) ) {
|
258 |
+
function wcdn_shipping_notes() {
|
259 |
+
global $wcdn;
|
260 |
+
return wpautop( wptexturize( $wcdn->print->get_order()->customer_note ) );
|
261 |
+
}
|
262 |
+
}
|
263 |
+
|
264 |
+
/**
|
265 |
+
* Return order id
|
266 |
+
*
|
267 |
+
* @since 1.0
|
268 |
+
*
|
269 |
+
* @global $wcdn->print
|
270 |
+
* @return string order id
|
271 |
+
*/
|
272 |
+
if ( ! function_exists( 'wcdn_order_number' ) ) {
|
273 |
+
function wcdn_order_number() {
|
274 |
+
global $wcdn;
|
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 |
+
$number = $before . ( intval( $offset ) + intval( $wcdn->print->order_id ) ) . $after;
|
279 |
+
return $number;
|
280 |
+
}
|
281 |
+
}
|
282 |
+
|
283 |
+
/**
|
284 |
+
* Return the order date
|
285 |
+
*
|
286 |
+
* @since 1.0
|
287 |
+
*
|
288 |
+
* @global $wcdn->print
|
289 |
+
* @return string order date
|
290 |
+
*/
|
291 |
+
if ( ! function_exists( 'wcdn_order_date' ) ) {
|
292 |
+
function wcdn_order_date() {
|
293 |
+
global $wcdn;
|
294 |
+
$order = $wcdn->print->get_order();
|
295 |
+
return date_i18n( get_option( 'date_format' ), strtotime( $order->order_date ) );
|
296 |
+
}
|
297 |
+
}
|
298 |
+
|
299 |
+
/**
|
300 |
+
* Return the order items
|
301 |
+
*
|
302 |
+
* @since 1.0
|
303 |
+
*
|
304 |
+
* @global $wcdn->print
|
305 |
+
* @return strings order items
|
306 |
+
*/
|
307 |
+
if ( ! function_exists( 'wcdn_get_order_items' ) ) {
|
308 |
+
function wcdn_get_order_items() {
|
309 |
+
global $wcdn;
|
310 |
+
return $wcdn->print->get_order_items();
|
311 |
+
}
|
312 |
+
}
|
313 |
+
|
314 |
+
/**
|
315 |
+
* Return the order items price
|
316 |
+
*
|
317 |
+
* @since 1.0
|
318 |
+
*
|
319 |
+
* @global $wcdn->print
|
320 |
+
* @return string items price
|
321 |
+
*/
|
322 |
+
if ( !function_exists( 'wcdn_format_price' ) ) {
|
323 |
+
function wcdn_format_price( $price, $tax_rate = 0 ) {
|
324 |
+
$tax_included = ( $tax_rate > 0 ) ? 0 : 1;
|
325 |
+
return woocommerce_price( ( ( $price / 100 ) * $tax_rate ) + $price, array( 'ex_tax_label' => $tax_included ) );
|
326 |
+
}
|
327 |
+
}
|
328 |
+
|
329 |
+
/**
|
330 |
+
* Return the order subtotal
|
331 |
+
*
|
332 |
+
* @since 1.0
|
333 |
+
*
|
334 |
+
* @global $wcdn->print
|
335 |
+
* @return string order subtotal
|
336 |
+
*/
|
337 |
+
if ( !function_exists( 'wcdn_order_subtotal' ) ) {
|
338 |
+
function wcdn_order_subtotal() {
|
339 |
+
global $wcdn;
|
340 |
+
return $wcdn->print->get_order()->get_subtotal_to_display();
|
341 |
+
}
|
342 |
+
}
|
343 |
+
|
344 |
+
/**
|
345 |
+
* Return the order tax
|
346 |
+
*
|
347 |
+
* @since 1.0
|
348 |
+
*
|
349 |
+
* @global $wcdn->print
|
350 |
+
* @return string order tax
|
351 |
+
*/
|
352 |
+
if ( ! function_exists( 'wcdn_order_tax' ) ) {
|
353 |
+
function wcdn_order_tax() {
|
354 |
+
global $wcdn;
|
355 |
+
return woocommerce_price( $wcdn->print->get_order()->get_total_tax() );
|
356 |
+
}
|
357 |
+
}
|
358 |
+
|
359 |
+
/**
|
360 |
+
* Return the order shipping cost
|
361 |
+
*
|
362 |
+
* @since 1.0
|
363 |
+
*
|
364 |
+
* @global $wcdn->print
|
365 |
+
* @return string order shipping cost
|
366 |
+
*/
|
367 |
+
if ( ! function_exists( 'wcdn_order_shipping' ) ) {
|
368 |
+
function wcdn_order_shipping() {
|
369 |
+
global $wcdn;
|
370 |
+
return $wcdn->print->get_order()->get_shipping_to_display();
|
371 |
+
}
|
372 |
+
}
|
373 |
+
|
374 |
+
/**
|
375 |
+
* Return the order discount
|
376 |
+
*
|
377 |
+
* @since 1.0
|
378 |
+
*
|
379 |
+
* @global $wcdn->print
|
380 |
+
* @return string order discount
|
381 |
+
*/
|
382 |
+
if ( ! function_exists( 'wcdn_order_discount' ) ) {
|
383 |
+
function wcdn_order_discount() {
|
384 |
+
global $wcdn;
|
385 |
+
return woocommerce_price( $wcdn->print->get_order()->order_discount );
|
386 |
+
}
|
387 |
+
}
|
388 |
+
|
389 |
+
/**
|
390 |
+
* Return the order grand total
|
391 |
+
*
|
392 |
+
* @since 1.0
|
393 |
+
*
|
394 |
+
* @global $wcdn->print
|
395 |
+
* @return string grand total
|
396 |
+
*/
|
397 |
+
if ( ! function_exists( 'wcdn_order_total' ) ) {
|
398 |
+
function wcdn_order_total() {
|
399 |
+
global $wcdn;
|
400 |
+
return woocommerce_price( $wcdn->print->get_order()->order_total );
|
401 |
+
}
|
402 |
+
}
|
403 |
+
|
404 |
+
/**
|
405 |
+
* Return if the order has a shipping
|
406 |
+
*
|
407 |
+
* @since 1.0
|
408 |
+
*
|
409 |
+
* @global $wcdn->print
|
410 |
+
* @return boolean
|
411 |
+
*/
|
412 |
+
if ( ! function_exists( 'wcdn_has_shipping' ) ) {
|
413 |
+
function wcdn_has_shipping() {
|
414 |
+
global $wcdn;
|
415 |
+
return ( $wcdn->print->get_order()->order_shipping > 0 ) ? true : false;
|
416 |
+
}
|
417 |
+
}
|
418 |
+
|
419 |
+
/**
|
420 |
+
* Return if the order has a tax
|
421 |
+
*
|
422 |
+
* @since 1.0
|
423 |
+
*
|
424 |
+
* @global $wcdn->print
|
425 |
+
* @return boolean
|
426 |
+
*/
|
427 |
+
if ( ! function_exists( 'wcdn_has_tax' ) ) {
|
428 |
+
function wcdn_has_tax() {
|
429 |
+
global $wcdn;
|
430 |
+
return ( $wcdn->print->get_order()->get_total_tax() > 0 ) ? true : false;
|
431 |
+
}
|
432 |
+
}
|
433 |
+
|
434 |
+
/**
|
435 |
+
* Return if the order has a discount
|
436 |
+
*
|
437 |
+
* @since 1.0
|
438 |
+
*
|
439 |
+
* @global $wcdn->print
|
440 |
+
* @return boolean
|
441 |
+
*/
|
442 |
+
if ( ! function_exists( 'wcdn_has_discount' ) ) {
|
443 |
+
function wcdn_has_discount() {
|
444 |
+
global $wcdn;
|
445 |
+
return ( $wcdn->print->get_order()->order_discount > 0 ) ? true : false;
|
446 |
+
}
|
447 |
+
}
|
448 |
+
|
449 |
+
/**
|
450 |
+
* Return personal notes, season greetings etc.
|
451 |
+
*
|
452 |
+
* @since 1.0
|
453 |
+
*
|
454 |
+
* @global $wcdn->print
|
455 |
+
* @return string personal notes
|
456 |
+
*/
|
457 |
+
if ( ! function_exists( 'wcdn_personal_notes' ) ) {
|
458 |
+
function wcdn_personal_notes() {
|
459 |
+
global $wcdn;
|
460 |
+
return wpautop( wptexturize( $wcdn->print->get_setting( 'personal_notes' ) ) );
|
461 |
+
}
|
462 |
+
}
|
463 |
+
|
464 |
+
/**
|
465 |
+
* Return policy for returns
|
466 |
+
*
|
467 |
+
* @since 1.0
|
468 |
+
*
|
469 |
+
* @global $wcdn->print
|
470 |
+
* @return string policy
|
471 |
+
*/
|
472 |
+
if ( ! function_exists( 'wcdn_policies_conditions' ) ) {
|
473 |
+
function wcdn_policies_conditions() {
|
474 |
+
global $wcdn;
|
475 |
+
return wpautop( wptexturize( $wcdn->print->get_setting( 'policies_conditions' ) ) );
|
476 |
+
}
|
477 |
+
}
|
478 |
+
|
479 |
+
/**
|
480 |
+
* Return shop/company footer imprint, copyright etc.
|
481 |
+
*
|
482 |
+
* @since 1.0
|
483 |
+
*
|
484 |
+
* @global $wcdn->print
|
485 |
+
* @return string footer imprint
|
486 |
+
*/
|
487 |
+
if ( ! function_exists( 'wcdn_footer_imprint' ) ) {
|
488 |
+
function wcdn_footer_imprint() {
|
489 |
+
global $wcdn;
|
490 |
+
return wpautop( wptexturize( $wcdn->print->get_setting( 'footer_imprint' ) ) );
|
491 |
+
}
|
492 |
+
}
|
493 |
+
|
494 |
+
/**
|
495 |
+
* Show the template
|
496 |
+
*
|
497 |
+
* @since 1.0
|
498 |
+
*
|
499 |
+
* @global $wcdn->print
|
500 |
+
* @return string footer imprint
|
501 |
+
*/
|
502 |
+
echo $wcdn->print->get_print_page( $name );
|
woocommerce-delivery-notes.php
CHANGED
@@ -1,89 +1,137 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Main plugin file.
|
|
|
|
|
4 |
*
|
5 |
-
* @package WooCommerce Delivery Notes
|
6 |
-
* @
|
7 |
-
* @link http://twitter.com/#!/deckerweb
|
8 |
-
* @copyright Copyright 2011-2012, David Decker - DECKERWEB
|
9 |
*
|
10 |
-
* @credits
|
11 |
-
* @link
|
12 |
-
* @link
|
13 |
*
|
14 |
-
* Plugin Name: WooCommerce Delivery Notes
|
15 |
-
* Plugin URI:
|
16 |
-
* Description:
|
17 |
-
* Version: 1.
|
18 |
-
* Author: David Decker
|
19 |
-
* Author URI:
|
20 |
-
* License: GPLv3
|
|
|
21 |
* Text Domain: woocommerce-delivery-notes
|
22 |
* Domain Path: /languages/
|
23 |
-
*/
|
24 |
-
|
25 |
-
/**
|
26 |
-
* Setting constants
|
27 |
*
|
28 |
-
*
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
*
|
37 |
-
*
|
38 |
-
*
|
39 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
*/
|
41 |
-
function ddw_wcdn_init() {
|
42 |
-
|
43 |
-
load_plugin_textdomain( 'woocommerce-delivery-notes', false, WCDN_PLUGIN_BASEDIR . '/languages' );
|
44 |
-
}
|
45 |
-
|
46 |
|
47 |
-
add_filter( 'plugin_action_links_' . plugin_basename(__FILE__) , 'ddw_wcdn_settings_link' );
|
48 |
/**
|
49 |
-
*
|
50 |
*
|
51 |
* @since 1.0
|
52 |
-
*
|
53 |
-
* @param $links
|
54 |
-
* @param $ddw_wcdn_settings_link
|
55 |
-
* @return string settings link
|
56 |
*/
|
57 |
-
|
58 |
|
59 |
-
|
60 |
|
61 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
|
63 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
}
|
66 |
|
67 |
-
|
68 |
-
/**
|
69 |
-
* Load admin help tabs and support links on plugins listing page
|
70 |
-
*
|
71 |
-
* @since 1.0
|
72 |
-
*/
|
73 |
-
require_once 'wcdn-help.php';
|
74 |
-
|
75 |
-
|
76 |
/**
|
77 |
-
*
|
78 |
-
*
|
79 |
-
* @since 1.0
|
80 |
-
*/
|
81 |
-
require_once 'wcdn-classes.php';
|
82 |
-
|
83 |
-
|
84 |
-
/**
|
85 |
-
* Create an admin instance
|
86 |
-
*
|
87 |
* @since 1.0
|
88 |
*/
|
89 |
-
$
|
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Main plugin file.
|
4 |
+
* Print order invoices & delivery notes for WooCommerce shop plugin.
|
5 |
+
* You can add company/shop info as well as personal notes & policies to print pages.
|
6 |
*
|
7 |
+
* @package WooCommerce Print Invoices & Delivery Notes
|
8 |
+
* @copyright Copyright 2011-2012 Steve Clark, Trigvvy Gunderson, David Decker - DECKERWEB
|
|
|
|
|
9 |
*
|
10 |
+
* @credits Inspired and based on the plugin "Jigoshop Delivery Notes" by Steve Clark and Trigvvy Gunderson
|
11 |
+
* @link http://www.clark-studios.co.uk/blog/
|
12 |
+
* @link https://github.com/piffpaffpuff
|
13 |
*
|
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
|
21 |
+
* License URI: http://www.opensource.org/licenses/gpl-license.php
|
22 |
* Text Domain: woocommerce-delivery-notes
|
23 |
* Domain Path: /languages/
|
|
|
|
|
|
|
|
|
24 |
*
|
25 |
+
* Copyright 2011-2012 Steve Clark, Trigvvy Gunderson, David Decker - DECKERWEB
|
26 |
+
*
|
27 |
+
* This file is part of WooCommerce Print Invoices & Delivery Notes,
|
28 |
+
* a plugin for WordPress.
|
29 |
+
*
|
30 |
+
* WooCommerce Print Invoices & Delivery Notes is free software:
|
31 |
+
* You can redistribute it and/or modify it under the terms of the
|
32 |
+
* GNU General Public License as published by the Free Software
|
33 |
+
* Foundation, either version 2 of the License, or (at your option)
|
34 |
+
* any later version.
|
35 |
+
*
|
36 |
+
* WooCommerce Print Invoices & Delivery Notes is distributed in the hope that
|
37 |
+
* it will be useful, but WITHOUT ANY WARRANTY; without even the
|
38 |
+
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
39 |
+
* PURPOSE. See the GNU General Public License for more details.
|
40 |
+
*
|
41 |
+
* You should have received a copy of the GNU General Public License
|
42 |
+
* along with WordPress. If not, see <http://www.gnu.org/licenses/>.
|
43 |
*/
|
|
|
|
|
|
|
|
|
|
|
44 |
|
|
|
45 |
/**
|
46 |
+
* Base class
|
47 |
*
|
48 |
* @since 1.0
|
|
|
|
|
|
|
|
|
49 |
*/
|
50 |
+
if ( ! class_exists( 'WooCommerce_Delivery_Notes' ) ) {
|
51 |
|
52 |
+
class WooCommerce_Delivery_Notes {
|
53 |
|
54 |
+
public static $plugin_prefix;
|
55 |
+
public static $plugin_url;
|
56 |
+
public static $plugin_path;
|
57 |
+
public static $plugin_basefile;
|
58 |
+
|
59 |
+
public $writepanel;
|
60 |
+
public $settings;
|
61 |
+
public $print;
|
62 |
|
63 |
+
/**
|
64 |
+
* Constructor
|
65 |
+
*
|
66 |
+
* @since 1.0
|
67 |
+
*/
|
68 |
+
public function __construct() {
|
69 |
+
self::$plugin_prefix = 'wcdn_';
|
70 |
+
self::$plugin_basefile = plugin_basename(__FILE__);
|
71 |
+
self::$plugin_url = plugin_dir_url(self::$plugin_basefile);
|
72 |
+
self::$plugin_path = trailingslashit(dirname(__FILE__));
|
73 |
+
}
|
74 |
+
|
75 |
+
/**
|
76 |
+
* Load the hooks
|
77 |
+
*
|
78 |
+
* @since 1.0
|
79 |
+
*/
|
80 |
+
public function load() {
|
81 |
+
add_action( 'init', array( $this, 'load_hooks' ) );
|
82 |
+
}
|
83 |
+
|
84 |
+
/**
|
85 |
+
* Load the main plugin classes and functions
|
86 |
+
*
|
87 |
+
* @since 1.0
|
88 |
+
*/
|
89 |
+
public function includes() {
|
90 |
+
include_once( 'classes/class-wcdn-writepanel.php' );
|
91 |
+
include_once( 'classes/class-wcdn-settings.php' );
|
92 |
+
include_once( 'classes/class-wcdn-print.php' );
|
93 |
+
}
|
94 |
|
95 |
+
/**
|
96 |
+
* Load the hooks
|
97 |
+
*
|
98 |
+
* @since 1.0
|
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();
|
105 |
+
$this->settings = new WooCommerce_Delivery_Notes_Settings();
|
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 |
+
|
115 |
+
/**
|
116 |
+
* Check if woocommerce is activated
|
117 |
+
*
|
118 |
+
* @since 1.0
|
119 |
+
*/
|
120 |
+
public function is_woocommerce_activated() {
|
121 |
+
if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
|
122 |
+
return true;
|
123 |
+
} else {
|
124 |
+
return false;
|
125 |
+
}
|
126 |
+
}
|
127 |
+
|
128 |
+
}
|
129 |
}
|
130 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
/**
|
132 |
+
* Instance of plugin
|
133 |
+
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
* @since 1.0
|
135 |
*/
|
136 |
+
$wcdn = new WooCommerce_Delivery_Notes();
|
137 |
+
$wcdn->load();
|