WooCommerce PDF Invoices - Version 2.3.20

Version Description

  • December 30, 2015 =

  • Improved: Changed textdomain to plugin slug due to preparation of WordPress translations packages

Download this release

Release Info

Developer baaaaas
Plugin Icon 128x128 WooCommerce PDF Invoices
Version 2.3.20
Comparing to
See all releases

Code changes from version 2.3.19 to 2.3.20

Files changed (33) hide show
  1. bootstrap.php +4 -3
  2. includes/abstracts/abstract-bewpi-document.php +3 -1
  3. includes/abstracts/abstract-bewpi-invoice.php +11 -9
  4. includes/abstracts/abstract-bewpi-setting.php +2 -2
  5. includes/admin/settings/class-bewpi-admin-settings-general.php +18 -18
  6. includes/admin/settings/class-bewpi-admin-settings-template.php +59 -59
  7. includes/be-woocommerce-pdf-invoices.php +47 -47
  8. includes/class-bewpi-invoice.php +1 -1
  9. includes/templates/invoices/global/micro/body.php +17 -17
  10. includes/templates/invoices/global/micro/footer.php +1 -1
  11. includes/templates/invoices/simple/micro/body.php +96 -96
  12. includes/templates/invoices/simple/micro/footer.php +1 -1
  13. includes/templates/invoices/simple/micro/style.css +1 -1
  14. lang/be-woocommerce-pdf-invoices-de_DE.mo +0 -0
  15. lang/be-woocommerce-pdf-invoices-de_DE.po +0 -431
  16. lang/be-woocommerce-pdf-invoices-sk_SK.mo +0 -42
  17. lang/{be-woocommerce-pdf-invoices-es_ES.mo → woocommerce-pdf-invoices-es_ES.mo} +0 -0
  18. lang/{be-woocommerce-pdf-invoices-es_ES.po → woocommerce-pdf-invoices-es_ES.po} +9 -9
  19. lang/{be-woocommerce-pdf-invoices-fr_FR.mo → woocommerce-pdf-invoices-fr_FR.mo} +0 -0
  20. lang/{be-woocommerce-pdf-invoices-fr_FR.po → woocommerce-pdf-invoices-fr_FR.po} +9 -9
  21. lang/{be-woocommerce-pdf-invoices-nb_NO.mo → woocommerce-pdf-invoices-nb_NO.mo} +0 -0
  22. lang/{be-woocommerce-pdf-invoices-nb_NO.po → woocommerce-pdf-invoices-nb_NO.po} +9 -9
  23. lang/{be-woocommerce-pdf-invoices-nl_NL.mo → woocommerce-pdf-invoices-nl_NL.mo} +0 -0
  24. lang/{be-woocommerce-pdf-invoices-nl_NL.po → woocommerce-pdf-invoices-nl_NL.po} +9 -9
  25. lang/{be-woocommerce-pdf-invoices-ro_RO.mo → woocommerce-pdf-invoices-ro_RO.mo} +0 -0
  26. lang/{be-woocommerce-pdf-invoices-ro_RO.po → woocommerce-pdf-invoices-ro_RO.po} +12 -12
  27. lang/{be-woocommerce-pdf-invoices-sk_SK.po → woocommerce-pdf-invoices-sk_SK.po} +38 -40
  28. lang/{be-woocommerce-pdf-invoices-sl_SI.mo → woocommerce-pdf-invoices-sl_SI.mo} +0 -0
  29. lang/{be-woocommerce-pdf-invoices-sl_SI.po → woocommerce-pdf-invoices-sl_SI.po} +9 -9
  30. lang/{be-woocommerce-pdf-invoices-sv_SE.mo → woocommerce-pdf-invoices-sv_SE.mo} +0 -0
  31. lang/{be-woocommerce-pdf-invoices-sv_SE.po → woocommerce-pdf-invoices-sv_SE.po} +9 -9
  32. lang/{be-woocommerce-pdf-invoices.pot → woocommerce-pdf-invoices.pot} +8 -8
  33. readme.txt +5 -1
bootstrap.php CHANGED
@@ -3,12 +3,13 @@
3
  * Plugin Name: WooCommerce PDF Invoices
4
  * Plugin URI: https://wordpress.org/plugins/woocommerce-pdf-invoices
5
  * Description: Automatically generate and attach customizable PDF Invoices to WooCommerce emails and connect with Dropbox, Google Drive, OneDrive or Egnyte.
6
- * Version: 2.3.19
7
  * Author: Bas Elbers
8
  * Author URI: http://wcpdfinvoices.com
9
  * License: GPL-2.0+
10
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
11
- * Text Domain: be-woocommerce-pdf-invoices
 
12
  */
13
 
14
  function bewpi_plugins_loaded() {
@@ -18,7 +19,7 @@ function bewpi_plugins_loaded() {
18
 
19
  $wp_upload_dir = wp_upload_dir();
20
 
21
- define( 'BEWPI_VERSION', '2.3.19' );
22
  define( 'BEWPI_URL', plugins_url( '', __FILE__ ) . '/' );
23
  define( 'BEWPI_DIR', plugin_dir_path( __FILE__ ) . '/' );
24
  define( 'BEWPI_TEMPLATES_DIR', plugin_dir_path( __FILE__ ) . 'includes/templates/' );
3
  * Plugin Name: WooCommerce PDF Invoices
4
  * Plugin URI: https://wordpress.org/plugins/woocommerce-pdf-invoices
5
  * Description: Automatically generate and attach customizable PDF Invoices to WooCommerce emails and connect with Dropbox, Google Drive, OneDrive or Egnyte.
6
+ * Version: 2.3.20
7
  * Author: Bas Elbers
8
  * Author URI: http://wcpdfinvoices.com
9
  * License: GPL-2.0+
10
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
11
+ * Text Domain: woocommerce-pdf-invoices
12
+ * Domain Path: /lang
13
  */
14
 
15
  function bewpi_plugins_loaded() {
19
 
20
  $wp_upload_dir = wp_upload_dir();
21
 
22
+ define( 'BEWPI_VERSION', '2.3.20' );
23
  define( 'BEWPI_URL', plugins_url( '', __FILE__ ) . '/' );
24
  define( 'BEWPI_DIR', plugin_dir_path( __FILE__ ) . '/' );
25
  define( 'BEWPI_TEMPLATES_DIR', plugin_dir_path( __FILE__ ) . 'includes/templates/' );
includes/abstracts/abstract-bewpi-document.php CHANGED
@@ -61,7 +61,7 @@ if ( ! class_exists( 'BEWPI_Abstract_Document' ) ) {
61
  $mpdf->useOnlyCoreFonts = false; // false is default
62
 
63
  if ( (bool)$this->template_options[ 'bewpi_show_payment_status' ] && $paid ) {
64
- $mpdf->SetWatermarkText( __( 'Paid', 'be-woocommerce-pdf-invoices' ) );
65
  $mpdf->showWatermarkText = true;
66
  }
67
 
@@ -72,6 +72,8 @@ if ( ! class_exists( 'BEWPI_Abstract_Document' ) ) {
72
  $mpdf->setAutoTopMargin = 'stretch';
73
  $mpdf->setAutoBottomMargin = 'stretch';
74
  $mpdf->autoMarginPadding = 10;
 
 
75
 
76
  if ( ! empty ( $html_sections['header'] ) )
77
  $mpdf->SetHTMLHeader( $html_sections['header'] );
61
  $mpdf->useOnlyCoreFonts = false; // false is default
62
 
63
  if ( (bool)$this->template_options[ 'bewpi_show_payment_status' ] && $paid ) {
64
+ $mpdf->SetWatermarkText( __( 'Paid', 'woocommerce-pdf-invoices' ) );
65
  $mpdf->showWatermarkText = true;
66
  }
67
 
72
  $mpdf->setAutoTopMargin = 'stretch';
73
  $mpdf->setAutoBottomMargin = 'stretch';
74
  $mpdf->autoMarginPadding = 10;
75
+ //$mpdf->debug = true;
76
+ //$mpdf->showImageErrors = true;
77
 
78
  if ( ! empty ( $html_sections['header'] ) )
79
  $mpdf->SetHTMLHeader( $html_sections['header'] );
includes/abstracts/abstract-bewpi-invoice.php CHANGED
@@ -252,12 +252,12 @@ if ( ! class_exists( 'BEWPI_Abstract_Invoice' ) ) {
252
  if ( $this->exists() ) {
253
  if ( $this->counter_reset ) {
254
  // user used invoice number reset, but invoice already exists with this invoice number
255
- wp_die( sprintf( __( 'Could not create invoice. In order to reset invoice number with %d, delete all invoices with invoice number %s and greater.', 'be-woocommerce-pdf-invoices' ), (int)$this->template_options[ 'bewpi_next_invoice_number' ], $this->formatted_number ),
256
  '',
257
  array( 'response' => 200, 'back_link' => true )
258
  );
259
  } else {
260
- wp_die( sprintf( __( 'Could not create invoice. Invoice with invoice number %s already exists. First delete invoice and try again.', 'be-woocommerce-pdf-invoices' ), $this->formatted_number ),
261
  '',
262
  array( 'response' => 200, 'back_link' => true )
263
  );
@@ -296,7 +296,7 @@ if ( ! class_exists( 'BEWPI_Abstract_Invoice' ) ) {
296
  */
297
  public function view() {
298
  if ( ! $this->exists() )
299
- wp_die( sprintf( __( 'Invoice with invoice number %s not found. First create invoice and try again.', 'be-woocommerce-pdf-invoices' ), $this->formatted_number ),
300
  '',
301
  array( 'response' => 200, 'back_link' => true )
302
  );
@@ -337,15 +337,17 @@ if ( ! class_exists( 'BEWPI_Abstract_Invoice' ) ) {
337
  * Convert image to base64 due to incompatibility of subdomains with MPDF
338
  */
339
  public function get_company_logo_html() {
340
- if ( ! empty( $this->template_options['bewpi_company_logo'] ) ) :
341
- $image_url = $this->template_options['bewpi_company_logo'];
 
342
  // get the relative path due to slow generation of invoice. Not fully tested yet.
343
  //$image_url = '..' . str_replace( get_site_url(), '', $image_url );
 
344
  $image_url = image_to_base64( $image_url );
345
- echo '<img class="company-logo" src="' . $image_url . '"/>';
346
- else :
347
- echo '<h1 class="company-logo">' . $this->template_options['bewpi_company_name'] . '</h1>';
348
- endif;
349
  }
350
 
351
  private function output_to_buffer( $full_path ) {
252
  if ( $this->exists() ) {
253
  if ( $this->counter_reset ) {
254
  // user used invoice number reset, but invoice already exists with this invoice number
255
+ wp_die( sprintf( __( 'Could not create invoice. In order to reset invoice number with %d, delete all invoices with invoice number %s and greater.', 'woocommerce-pdf-invoices' ), (int)$this->template_options[ 'bewpi_next_invoice_number' ], $this->formatted_number ),
256
  '',
257
  array( 'response' => 200, 'back_link' => true )
258
  );
259
  } else {
260
+ wp_die( sprintf( __( 'Could not create invoice. Invoice with invoice number %s already exists. First delete invoice and try again.', 'woocommerce-pdf-invoices' ), $this->formatted_number ),
261
  '',
262
  array( 'response' => 200, 'back_link' => true )
263
  );
296
  */
297
  public function view() {
298
  if ( ! $this->exists() )
299
+ wp_die( sprintf( __( 'Invoice with invoice number %s not found. First create invoice and try again.', 'woocommerce-pdf-invoices' ), $this->formatted_number ),
300
  '',
301
  array( 'response' => 200, 'back_link' => true )
302
  );
337
  * Convert image to base64 due to incompatibility of subdomains with MPDF
338
  */
339
  public function get_company_logo_html() {
340
+ if ( ! empty( $this->template_options['bewpi_company_logo'] ) ) {
341
+ $image_url = $this->template_options['bewpi_company_logo'];
342
+
343
  // get the relative path due to slow generation of invoice. Not fully tested yet.
344
  //$image_url = '..' . str_replace( get_site_url(), '', $image_url );
345
+
346
  $image_url = image_to_base64( $image_url );
347
+ echo '<img class="company-logo" src="' . $image_url . '"/>';
348
+ } else {
349
+ echo '<h1 class="company-logo">' . $this->template_options['bewpi_company_name'] . '</h1>';
350
+ }
351
  }
352
 
353
  private function output_to_buffer( $full_path ) {
includes/abstracts/abstract-bewpi-setting.php CHANGED
@@ -95,7 +95,7 @@ if ( ! class_exists( 'BEWPI_Abstract_Setting' ) ) {
95
  $encoded_tags = array_map( 'htmlspecialchars', $this->allowed_tags );
96
  $tags_string = '<code>' . join( '</code>, <code>', $encoded_tags ) . '</code>';
97
 
98
- return __( 'Allowed HTML tags: ', 'be-woocommerce-pdf-invoices' ) . $tags_string . '.';
99
  }
100
 
101
  public function select_callback( $args ) {
@@ -170,7 +170,7 @@ if ( ! class_exists( 'BEWPI_Abstract_Setting' ) ) {
170
  <img id="<?php echo $args['id'] . '-delete'; ?>"
171
  src="<?php echo BEWPI_URL . '/assets/images/delete-icon.png'; ?>"
172
  onclick="Settings.removeCompanyLogo()"
173
- title="<?php _e( 'Remove logo', 'be-woocommerce-pdf-invoices' ); ?>"/>
174
  </div>
175
  <?php
176
  endif;
95
  $encoded_tags = array_map( 'htmlspecialchars', $this->allowed_tags );
96
  $tags_string = '<code>' . join( '</code>, <code>', $encoded_tags ) . '</code>';
97
 
98
+ return __( 'Allowed HTML tags: ', 'woocommerce-pdf-invoices' ) . $tags_string . '.';
99
  }
100
 
101
  public function select_callback( $args ) {
170
  <img id="<?php echo $args['id'] . '-delete'; ?>"
171
  src="<?php echo BEWPI_URL . '/assets/images/delete-icon.png'; ?>"
172
  onclick="Settings.removeCompanyLogo()"
173
+ title="<?php _e( 'Remove logo', 'woocommerce-pdf-invoices' ); ?>"/>
174
  </div>
175
  <?php
176
  endif;
includes/admin/settings/class-bewpi-admin-settings-general.php CHANGED
@@ -83,7 +83,7 @@ if ( ! class_exists( 'BEWPI_General_Settings' ) ) {
83
  array(
84
  'id' => 'bewpi-email-type',
85
  'name' => $this->prefix . 'email_type',
86
- 'title' => __( 'Attach to Email', 'be-woocommerce-pdf-invoices' ),
87
  'callback' => array( &$this, 'select_callback' ),
88
  'page' => $this->settings_key,
89
  'section' => 'email',
@@ -91,19 +91,19 @@ if ( ! class_exists( 'BEWPI_General_Settings' ) ) {
91
  'desc' => '',
92
  'options' => array(
93
  array(
94
- 'name' => __( 'Processing order', 'be-woocommerce-pdf-invoices' ),
95
  'value' => 'customer_processing_order'
96
  ),
97
  array(
98
- 'name' => __( 'Completed order', 'be-woocommerce-pdf-invoices' ),
99
  'value' => 'customer_completed_order'
100
  ),
101
  array(
102
- 'name' => __( 'Customer invoice', 'be-woocommerce-pdf-invoices' ),
103
  'value' => 'customer_invoice'
104
  ),
105
  array(
106
- 'name' => __( 'Do not attach', 'be-woocommerce-pdf-invoices' ),
107
  'value' => ''
108
  )
109
  ),
@@ -117,14 +117,14 @@ if ( ! class_exists( 'BEWPI_General_Settings' ) ) {
117
  'page' => $this->settings_key,
118
  'section' => 'email',
119
  'type' => 'checkbox',
120
- 'desc' => __( 'Attach to New order Email', 'be-woocommerce-pdf-invoices' ),
121
  'class' => 'bewpi-checkbox-option-title',
122
  'default' => 0
123
  ),
124
  array(
125
  'id' => 'bewpi-view-pdf',
126
  'name' => $this->prefix . 'view_pdf',
127
- 'title' => __( 'View PDF', 'be-woocommerce-pdf-invoices' ),
128
  'callback' => array( &$this, 'select_callback' ),
129
  'page' => $this->settings_key,
130
  'section' => 'download',
@@ -132,11 +132,11 @@ if ( ! class_exists( 'BEWPI_General_Settings' ) ) {
132
  'desc' => '',
133
  'options' => array(
134
  array(
135
- 'name' => __( 'Download', 'be-woocommerce-pdf-invoices' ),
136
  'value' => 'download'
137
  ),
138
  array(
139
- 'name' => __( 'Open in new browser tab/window', 'be-woocommerce-pdf-invoices' ),
140
  'value' => 'browser'
141
  )
142
  ),
@@ -150,8 +150,8 @@ if ( ! class_exists( 'BEWPI_General_Settings' ) ) {
150
  'page' => $this->settings_key,
151
  'section' => 'download',
152
  'type' => 'checkbox',
153
- 'desc' => __( 'Enable download from account', 'be-woocommerce-pdf-invoices' )
154
- . __( '<br/><div class="bewpi-notes">Let customers download invoice from account page.</div>', 'be-woocommerce-pdf-invoices' ),
155
  'class' => 'bewpi-checkbox-option-title',
156
  'default' => 1
157
  ),
@@ -163,7 +163,7 @@ if ( ! class_exists( 'BEWPI_General_Settings' ) ) {
163
  'page' => $this->settings_key,
164
  'section' => 'cloud_storage',
165
  'type' => 'checkbox',
166
- 'desc' => __( 'Enable Email It In', 'be-woocommerce-pdf-invoices' ),
167
  'class' => 'bewpi-checkbox-option-title',
168
  'default' => 0
169
  ),
@@ -171,12 +171,12 @@ if ( ! class_exists( 'BEWPI_General_Settings' ) ) {
171
  array(
172
  'id' => 'bewpi-email-it-in-account',
173
  'name' => $this->prefix . 'email_it_in_account',
174
- 'title' => __( 'Email It In account', 'be-woocommerce-pdf-invoices' ),
175
  'callback' => array( &$this, 'input_callback' ),
176
  'page' => $this->settings_key,
177
  'section' => 'cloud_storage',
178
  'type' => 'text',
179
- 'desc' => sprintf( __( 'Get your account from your Email It In %suser account%s.', 'be-woocommerce-pdf-invoices' ), '<a href="https://www.emailitin.com/user_account">', '</a>' ),
180
  'default' => ''
181
  )
182
  );
@@ -190,19 +190,19 @@ if ( ! class_exists( 'BEWPI_General_Settings' ) ) {
190
  private function add_settings_sections() {
191
  add_settings_section(
192
  'email',
193
- __( 'Email Options', 'be-woocommerce-pdf-invoices' ),
194
  array( &$this, 'email_desc_callback' ),
195
  $this->settings_key
196
  );
197
  add_settings_section(
198
  'download',
199
- __( 'Download Options', 'be-woocommerce-pdf-invoices' ),
200
  array( &$this, 'download_desc_callback' ),
201
  $this->settings_key
202
  );
203
  add_settings_section(
204
  'cloud_storage',
205
- __( 'Cloud Storage Options', 'be-woocommerce-pdf-invoices' ),
206
  array( &$this, 'cloud_storage_desc_callback' ),
207
  $this->settings_key
208
  );
@@ -210,7 +210,7 @@ if ( ! class_exists( 'BEWPI_General_Settings' ) ) {
210
 
211
  public function email_desc_callback() { }
212
  public function download_desc_callback() {}
213
- public function cloud_storage_desc_callback() { printf( __( 'Signup at %s to send invoices to your Dropbox, OneDrive, Google Drive or Egnyte and enter your account below.', 'be-woocommerce-pdf-invoices' ), '<a href="https://emailitin.com">Email It In</a>' ); }
214
 
215
  /**
216
  * Adds settings fields
83
  array(
84
  'id' => 'bewpi-email-type',
85
  'name' => $this->prefix . 'email_type',
86
+ 'title' => __( 'Attach to Email', 'woocommerce-pdf-invoices' ),
87
  'callback' => array( &$this, 'select_callback' ),
88
  'page' => $this->settings_key,
89
  'section' => 'email',
91
  'desc' => '',
92
  'options' => array(
93
  array(
94
+ 'name' => __( 'Processing order', 'woocommerce-pdf-invoices' ),
95
  'value' => 'customer_processing_order'
96
  ),
97
  array(
98
+ 'name' => __( 'Completed order', 'woocommerce-pdf-invoices' ),
99
  'value' => 'customer_completed_order'
100
  ),
101
  array(
102
+ 'name' => __( 'Customer invoice', 'woocommerce-pdf-invoices' ),
103
  'value' => 'customer_invoice'
104
  ),
105
  array(
106
+ 'name' => __( 'Do not attach', 'woocommerce-pdf-invoices' ),
107
  'value' => ''
108
  )
109
  ),
117
  'page' => $this->settings_key,
118
  'section' => 'email',
119
  'type' => 'checkbox',
120
+ 'desc' => __( 'Attach to New order Email', 'woocommerce-pdf-invoices' ),
121
  'class' => 'bewpi-checkbox-option-title',
122
  'default' => 0
123
  ),
124
  array(
125
  'id' => 'bewpi-view-pdf',
126
  'name' => $this->prefix . 'view_pdf',
127
+ 'title' => __( 'View PDF', 'woocommerce-pdf-invoices' ),
128
  'callback' => array( &$this, 'select_callback' ),
129
  'page' => $this->settings_key,
130
  'section' => 'download',
132
  'desc' => '',
133
  'options' => array(
134
  array(
135
+ 'name' => __( 'Download', 'woocommerce-pdf-invoices' ),
136
  'value' => 'download'
137
  ),
138
  array(
139
+ 'name' => __( 'Open in new browser tab/window', 'woocommerce-pdf-invoices' ),
140
  'value' => 'browser'
141
  )
142
  ),
150
  'page' => $this->settings_key,
151
  'section' => 'download',
152
  'type' => 'checkbox',
153
+ 'desc' => __( 'Enable download from account', 'woocommerce-pdf-invoices' )
154
+ . __( '<br/><div class="bewpi-notes">Let customers download invoice from account page.</div>', 'woocommerce-pdf-invoices' ),
155
  'class' => 'bewpi-checkbox-option-title',
156
  'default' => 1
157
  ),
163
  'page' => $this->settings_key,
164
  'section' => 'cloud_storage',
165
  'type' => 'checkbox',
166
+ 'desc' => __( 'Enable Email It In', 'woocommerce-pdf-invoices' ),
167
  'class' => 'bewpi-checkbox-option-title',
168
  'default' => 0
169
  ),
171
  array(
172
  'id' => 'bewpi-email-it-in-account',
173
  'name' => $this->prefix . 'email_it_in_account',
174
+ 'title' => __( 'Email It In account', 'woocommerce-pdf-invoices' ),
175
  'callback' => array( &$this, 'input_callback' ),
176
  'page' => $this->settings_key,
177
  'section' => 'cloud_storage',
178
  'type' => 'text',
179
+ 'desc' => sprintf( __( 'Get your account from your Email It In %suser account%s.', 'woocommerce-pdf-invoices' ), '<a href="https://www.emailitin.com/user_account">', '</a>' ),
180
  'default' => ''
181
  )
182
  );
190
  private function add_settings_sections() {
191
  add_settings_section(
192
  'email',
193
+ __( 'Email Options', 'woocommerce-pdf-invoices' ),
194
  array( &$this, 'email_desc_callback' ),
195
  $this->settings_key
196
  );
197
  add_settings_section(
198
  'download',
199
+ __( 'Download Options', 'woocommerce-pdf-invoices' ),
200
  array( &$this, 'download_desc_callback' ),
201
  $this->settings_key
202
  );
203
  add_settings_section(
204
  'cloud_storage',
205
+ __( 'Cloud Storage Options', 'woocommerce-pdf-invoices' ),
206
  array( &$this, 'cloud_storage_desc_callback' ),
207
  $this->settings_key
208
  );
210
 
211
  public function email_desc_callback() { }
212
  public function download_desc_callback() {}
213
+ public function cloud_storage_desc_callback() { printf( __( 'Signup at %s to send invoices to your Dropbox, OneDrive, Google Drive or Egnyte and enter your account below.', 'woocommerce-pdf-invoices' ), '<a href="https://emailitin.com">Email It In</a>' ); }
214
 
215
  /**
216
  * Adds settings fields
includes/admin/settings/class-bewpi-admin-settings-template.php CHANGED
@@ -85,7 +85,7 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
85
  array(
86
  'id' => 'bewpi-template-name',
87
  'name' => $this->prefix . 'template_name',
88
- 'title' => __( 'Template', 'be-woocommerce-pdf-invoices' ),
89
  'callback' => array( &$this, 'select_callback' ),
90
  'page' => $this->settings_key,
91
  'section' => 'general',
@@ -97,7 +97,7 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
97
  array(
98
  'id' => 'bewpi-color-theme',
99
  'name' => $this->prefix . 'color_theme',
100
- 'title' => __( 'Color theme', 'be-woocommerce-pdf-invoices' ),
101
  'callback' => array( &$this, 'input_callback' ),
102
  'page' => $this->settings_key,
103
  'section' => 'general',
@@ -108,12 +108,12 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
108
  array(
109
  'id' => 'bewpi-date-format',
110
  'name' => $this->prefix . 'date_format',
111
- 'title' => __( 'Date format', 'be-woocommerce-pdf-invoices' ),
112
  'callback' => array( &$this, 'input_callback' ),
113
  'page' => $this->settings_key,
114
  'section' => 'general',
115
  'type' => 'text',
116
- 'desc' => sprintf( __( '%sFormat%s of invoice date and order date.', 'be-woocommerce-pdf-invoices' ),
117
  '<a href="http://php.net/manual/en/datetime.formats.date.php">', '</a>' ), // F jS Y or d.m.y or d-m-Y
118
  'default' => 'F j, Y',
119
  'attrs' => array(
@@ -128,8 +128,8 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
128
  'page' => $this->settings_key,
129
  'section' => 'general',
130
  'type' => 'checkbox',
131
- 'desc' => __( 'Display prices including tax', 'be-woocommerce-pdf-invoices' )
132
- . "<br/><div class='bewpi-notes'>" . __( 'Line item totals will be including tax. <br/><b>Note</b>: Subtotal will still be excluding tax, so disable it within the visible columns section.', 'be-woocommerce-pdf-invoices' ) . "</div>",
133
  'class' => 'bewpi-checkbox-option-title',
134
  'default' => 0
135
  ),
@@ -141,8 +141,8 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
141
  'page' => $this->settings_key,
142
  'section' => 'general',
143
  'type' => 'checkbox',
144
- 'desc' => __( 'Shipping taxable', 'be-woocommerce-pdf-invoices' )
145
- . "<br/><div class='bewpi-notes'>" . __( 'Enable to display subtotal including shipping.', 'be-woocommerce-pdf-invoices' ) . "</div>",
146
  'class' => 'bewpi-checkbox-option-title',
147
  'default' => 0
148
  ),
@@ -154,8 +154,8 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
154
  'page' => $this->settings_key,
155
  'section' => 'general',
156
  'type' => 'checkbox',
157
- 'desc' => __( 'Mark invoice as paid', 'be-woocommerce-pdf-invoices' )
158
- . "<br/><div class='bewpi-notes'>" . __( 'Invoice will be watermarked when order has been paid.', 'be-woocommerce-pdf-invoices' ) . "</div>",
159
  'class' => 'bewpi-checkbox-option-title',
160
  'default' => 0
161
  ),
@@ -163,7 +163,7 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
163
  array(
164
  'id' => 'bewpi-company-name',
165
  'name' => $this->prefix . 'company_name',
166
- 'title' => __( 'Company name', 'be-woocommerce-pdf-invoices' ),
167
  'callback' => array( &$this, 'input_callback' ),
168
  'page' => $this->settings_key,
169
  'section' => 'header',
@@ -174,7 +174,7 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
174
  array(
175
  'id' => 'bewpi-company-logo',
176
  'name' => $this->prefix . 'company_logo',
177
- 'title' => __( 'Company logo', 'be-woocommerce-pdf-invoices' ),
178
  'callback' => array( &$this, 'logo_callback' ),
179
  'page' => $this->settings_key,
180
  'section' => 'header',
@@ -185,36 +185,36 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
185
  array(
186
  'id' => 'bewpi-company-address',
187
  'name' => $this->prefix . 'company_address',
188
- 'title' => __( 'Company address', 'be-woocommerce-pdf-invoices' ),
189
  'callback' => array( &$this, 'textarea_callback' ),
190
  'page' => $this->settings_key,
191
  'section' => 'header',
192
  'type' => 'text',
193
- 'desc' => __( 'Displayed in upper-right corner near logo.', 'be-woocommerce-pdf-invoices' ),
194
  'default' => ''
195
  ),
196
  array(
197
  'id' => 'bewpi-company-details',
198
  'name' => $this->prefix . 'company_details',
199
- 'title' => __( 'Company details', 'be-woocommerce-pdf-invoices' ),
200
  'callback' => array( &$this, 'textarea_callback' ),
201
  'page' => $this->settings_key,
202
  'section' => 'header',
203
  'type' => 'text',
204
- 'desc' => __( 'Displayed below company address.', 'be-woocommerce-pdf-invoices' ),
205
  'default' => ''
206
  ),
207
  // Body
208
  array(
209
  'id' => 'bewpi-intro-text',
210
  'name' => $this->prefix . 'intro_text',
211
- 'title' => __( 'Thank you text', 'be-woocommerce-pdf-invoices' ),
212
  'callback' => array( &$this, 'textarea_callback' ),
213
  'page' => $this->settings_key,
214
  'section' => 'header',
215
  'type' => 'text',
216
- 'desc' => __( 'Displayed in big colored bar directly after invoice total.', 'be-woocommerce-pdf-invoices' ),
217
- 'default' => __( 'Thank you for your purchase!', 'be-woocommerce-pdf-invoices' )
218
  ),
219
  array(
220
  'id' => 'bewpi-show-customer-notes',
@@ -224,49 +224,49 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
224
  'page' => $this->settings_key,
225
  'section' => 'body',
226
  'type' => 'checkbox',
227
- 'desc' => __( 'Show customer notes', 'be-woocommerce-pdf-invoices' ),
228
  'class' => 'bewpi-checkbox-option-title',
229
  'default' => 1
230
  ),
231
  array(
232
  'id' => 'bewpi-terms',
233
  'name' => $this->prefix . 'terms',
234
- 'title' => __( 'Terms & conditions, policies etc.', 'be-woocommerce-pdf-invoices' ),
235
  'callback' => array( &$this, 'textarea_callback' ),
236
  'page' => $this->settings_key,
237
  'section' => 'body',
238
  'type' => 'text',
239
- 'desc' => sprintf( __( 'Displayed below customer notes and above footer. Want to attach additional pages to the invoice? Take a look at the <a href="%s">Premium</a> plugin.', 'be-woocommerce-pdf-invoices' ), 'http://wcpdfinvoices.com' ),
240
- 'default' => __( 'Items will be shipped within 2 days.', 'be-woocommerce-pdf-invoices' )
241
  ),
242
  // Footer
243
  array(
244
  'id' => 'bewpi-left-footer-column',
245
  'name' => $this->prefix . 'left_footer_column',
246
- 'title' => __( 'Left footer column.', 'be-woocommerce-pdf-invoices' ),
247
  'callback' => array( &$this, 'textarea_callback' ),
248
  'page' => $this->settings_key,
249
  'section' => 'footer',
250
  'type' => 'text',
251
  'desc' => '',
252
- 'default' => sprintf( __( '<b>Payment method</b> %s', 'be-woocommerce-pdf-invoices' ), '[payment_method]' )
253
  ),
254
  array(
255
  'id' => 'bewpi-right-footer-column',
256
  'name' => $this->prefix . 'right_footer_column',
257
- 'title' => __( 'Right footer column.', 'be-woocommerce-pdf-invoices' ),
258
  'callback' => array( &$this, 'textarea_callback' ),
259
  'page' => $this->settings_key,
260
  'section' => 'footer',
261
  'type' => 'text',
262
- 'desc' => __( 'Leave empty to show page numbering.', 'be-woocommerce-pdf-invoices' ),
263
  'default' => ''
264
  ),
265
  // Invoice number section
266
  array(
267
  'id' => 'bewpi-invoice-number-type',
268
  'name' => $this->prefix . 'invoice_number_type',
269
- 'title' => __( 'Type', 'be-woocommerce-pdf-invoices' ),
270
  'callback' => array( &$this, 'select_callback' ),
271
  'page' => $this->settings_key,
272
  'section' => 'invoice_number',
@@ -274,11 +274,11 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
274
  'desc' => '',
275
  'options' => array(
276
  array(
277
- 'name' => __( 'WooCommerce order number', 'be-woocommerce-pdf-invoices' ),
278
  'value' => 'woocommerce_order_number'
279
  ),
280
  array(
281
- 'name' => __( 'Sequential number', 'be-woocommerce-pdf-invoices' ),
282
  'value' => 'sequential_number'
283
  )
284
  ),
@@ -292,7 +292,7 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
292
  'page' => $this->settings_key,
293
  'section' => 'invoice_number',
294
  'type' => 'checkbox',
295
- 'desc' => __( 'Reset invoice counter', 'be-woocommerce-pdf-invoices' ),
296
  'class' => 'bewpi-checkbox-option-title',
297
  'default' => 0,
298
  'attrs' => array(
@@ -302,12 +302,12 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
302
  array(
303
  'id' => 'bewpi-next-invoice-number',
304
  'name' => $this->prefix . 'next_invoice_number',
305
- 'title' => __( 'Next', 'be-woocommerce-pdf-invoices' ),
306
  'callback' => array( &$this, 'input_callback' ),
307
  'page' => $this->settings_key,
308
  'section' => 'invoice_number',
309
  'type' => 'number',
310
- 'desc' => __( 'Reset the invoice counter and start counting from given invoice number.<br/><b>Note:</b> Only available for Sequential numbering and value will be editable by selecting checkbox. Next number needs to be lower then highest existing invoice number or delete invoices first.', 'be-woocommerce-pdf-invoices' ),
311
  'default' => 1,
312
  'attrs' => array(
313
  'disabled',
@@ -317,7 +317,7 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
317
  array(
318
  'id' => 'bewpi-invoice-number-digits',
319
  'name' => $this->prefix . 'invoice_number_digits',
320
- 'title' => __( 'Digits', 'be-woocommerce-pdf-invoices' ),
321
  'callback' => array( &$this, 'input_callback' ),
322
  'page' => $this->settings_key,
323
  'section' => 'invoice_number',
@@ -333,7 +333,7 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
333
  array(
334
  'id' => 'bewpi-invoice-number-prefix',
335
  'name' => $this->prefix . 'invoice_number_prefix',
336
- 'title' => __( '[prefix]', 'be-woocommerce-pdf-invoices' ),
337
  'callback' => array( &$this, 'input_callback' ),
338
  'page' => $this->settings_key,
339
  'section' => 'invoice_number',
@@ -344,7 +344,7 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
344
  array(
345
  'id' => 'bewpi-invoice-number-suffix',
346
  'name' => $this->prefix . 'invoice_number_suffix',
347
- 'title' => __( '[suffix]', 'be-woocommerce-pdf-invoices' ),
348
  'callback' => array( &$this, 'input_callback' ),
349
  'page' => $this->settings_key,
350
  'section' => 'invoice_number',
@@ -355,12 +355,12 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
355
  array(
356
  'id' => 'bewpi-invoice-number-format',
357
  'name' => $this->prefix . 'invoice_number_format',
358
- 'title' => __( 'Format', 'be-woocommerce-pdf-invoices' ),
359
  'callback' => array( &$this, 'input_callback' ),
360
  'page' => $this->settings_key,
361
  'section' => 'invoice_number',
362
  'type' => 'text',
363
- 'desc' => sprintf( __( 'Allowed placeholders: %s %s %s %s %s %s.<br/>%sNote:%s %s is required and slashes aren\'t supported.', 'be-woocommerce-pdf-invoices' ), '<code>[prefix]</code>', '<code>[suffix]</code>', '<code>[number]</code>', '<code>[m]</code>', '<code>[Y]</code>', '<code>[y]</code>', '<b>', '</b>', '<code>[number]</code>' ),
364
  'default' => '[number]-[Y]',
365
  'attrs' => array(
366
  'required'
@@ -374,7 +374,7 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
374
  'page' => $this->settings_key,
375
  'section' => 'invoice_number',
376
  'type' => 'checkbox',
377
- 'desc' => __( 'Reset on 1st of january', 'be-woocommerce-pdf-invoices' ),
378
  'class' => 'bewpi-checkbox-option-title',
379
  'default' => 1
380
  ),
@@ -387,7 +387,7 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
387
  'page' => $this->settings_key,
388
  'section' => 'visible_columns',
389
  'type' => 'checkbox',
390
- 'desc' => __( 'SKU', 'be-woocommerce-pdf-invoices' ),
391
  'class' => 'bewpi-checkbox-option-title',
392
  'default' => 0
393
  ),
@@ -399,7 +399,7 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
399
  'page' => $this->settings_key,
400
  'section' => 'visible_columns',
401
  'type' => 'checkbox',
402
- 'desc' => __( 'Subtotal', 'be-woocommerce-pdf-invoices' ),
403
  'class' => 'bewpi-checkbox-option-title',
404
  'default' => 1
405
  ),
@@ -411,7 +411,7 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
411
  'page' => $this->settings_key,
412
  'section' => 'visible_columns',
413
  'type' => 'checkbox',
414
- 'desc' => __( 'Tax (item)', 'be-woocommerce-pdf-invoices' ),
415
  'class' => 'bewpi-checkbox-option-title',
416
  'default' => 0
417
  ),
@@ -423,7 +423,7 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
423
  'page' => $this->settings_key,
424
  'section' => 'visible_columns',
425
  'type' => 'checkbox',
426
- 'desc' => __( 'Tax (total)', 'be-woocommerce-pdf-invoices' ),
427
  'class' => 'bewpi-checkbox-option-title',
428
  'default' => 1
429
  ),
@@ -435,7 +435,7 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
435
  'page' => $this->settings_key,
436
  'section' => 'visible_columns',
437
  'type' => 'checkbox',
438
- 'desc' => __( 'Discount', 'be-woocommerce-pdf-invoices' ),
439
  'class' => 'bewpi-checkbox-option-title',
440
  'default' => 1
441
  ),
@@ -447,7 +447,7 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
447
  'page' => $this->settings_key,
448
  'section' => 'visible_columns',
449
  'type' => 'checkbox',
450
- 'desc' => __( 'Shipping', 'be-woocommerce-pdf-invoices' ),
451
  'class' => 'bewpi-checkbox-option-title',
452
  'default' => 1
453
  )
@@ -461,52 +461,52 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
461
  private function add_settings_sections() {
462
  add_settings_section(
463
  'general',
464
- __( 'General Options', 'be-woocommerce-pdf-invoices' ),
465
  array( &$this, 'general_desc_callback' ),
466
  $this->settings_key
467
  );
468
  add_settings_section(
469
  'invoice_number',
470
- __( 'Invoice Number Options', 'be-woocommerce-pdf-invoices' ),
471
  array( &$this, 'invoice_number_desc_callback' ),
472
  $this->settings_key
473
  );
474
  add_settings_section(
475
  'header',
476
- __( 'Header Options', 'be-woocommerce-pdf-invoices' ),
477
  array( &$this, 'header_desc_callback' ),
478
  $this->settings_key
479
  );
480
  add_settings_section(
481
  'body',
482
- __( 'Body Options', 'be-woocommerce-pdf-invoices' ),
483
  array( &$this, 'body_desc_callback' ),
484
  $this->settings_key
485
  );
486
  add_settings_section(
487
  'footer',
488
- __( 'Footer Options', 'be-woocommerce-pdf-invoices' ),
489
  array( &$this, 'footer_desc_callback' ),
490
  $this->settings_key
491
  );
492
  add_settings_section(
493
  'visible_columns',
494
- __( 'Visible Columns', 'be-woocommerce-pdf-invoices' ),
495
  array( &$this, 'visible_columns_desc_callback' ),
496
  $this->settings_key
497
  );
498
  }
499
 
500
- public function general_desc_callback() { _e( 'These are the general template options.', 'be-woocommerce-pdf-invoices' ); }
501
- public function invoice_number_desc_callback() { _e( 'These are the invoice number options.', 'be-woocommerce-pdf-invoices' ); }
502
- public function header_desc_callback() { _e( 'The header will be visible on every page. ' . $this->get_allowed_tags_str(), 'be-woocommerce-pdf-invoices' ); }
503
  public function body_desc_callback() { }
504
 
505
  public function footer_desc_callback() {
506
- echo __( 'The footer will be visible on every page.', 'be-woocommerce-pdf-invoices' ) . '<br/>' . $this->get_allowed_tags_str() . '<br/>' . __( '<b>Hint</b>: Use <code>[payment_method]</code> placeholder to display the order payment method.', 'be-woocommerce-pdf-invoices' );
507
  }
508
 
509
- public function visible_columns_desc_callback() { _e( 'Enable or disable the columns.', 'be-woocommerce-pdf-invoices' ); }
510
 
511
  /**
512
  * Adds all settings fields.
@@ -576,14 +576,14 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
576
  add_settings_error(
577
  esc_attr( $this->settings_key ),
578
  'file-invalid-2',
579
- __( 'File is invalid and contains either \'..\' or \'./\'.', 'be-woocommerce-pdf-invoices' )
580
  );
581
  break;
582
  case 2:
583
  add_settings_error(
584
  esc_attr( $this->settings_key ),
585
  'file-invalid-3',
586
- __( 'File is invalid and contains \':\' after the first character.', 'be-woocommerce-pdf-invoices' )
587
  );
588
  break;
589
  }
@@ -592,7 +592,7 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
592
  add_settings_error(
593
  esc_attr( $this->settings_key ),
594
  'file-invalid-1',
595
- __( 'File should be less then 2MB.', 'be-woocommerce-pdf-invoices' )
596
  );
597
  }
598
  } else if ( isset( $_POST['bewpi_company_logo'] ) && !empty( $_POST['bewpi_company_logo'] ) ) {
85
  array(
86
  'id' => 'bewpi-template-name',
87
  'name' => $this->prefix . 'template_name',
88
+ 'title' => __( 'Template', 'woocommerce-pdf-invoices' ),
89
  'callback' => array( &$this, 'select_callback' ),
90
  'page' => $this->settings_key,
91
  'section' => 'general',
97
  array(
98
  'id' => 'bewpi-color-theme',
99
  'name' => $this->prefix . 'color_theme',
100
+ 'title' => __( 'Color theme', 'woocommerce-pdf-invoices' ),
101
  'callback' => array( &$this, 'input_callback' ),
102
  'page' => $this->settings_key,
103
  'section' => 'general',
108
  array(
109
  'id' => 'bewpi-date-format',
110
  'name' => $this->prefix . 'date_format',
111
+ 'title' => __( 'Date format', 'woocommerce-pdf-invoices' ),
112
  'callback' => array( &$this, 'input_callback' ),
113
  'page' => $this->settings_key,
114
  'section' => 'general',
115
  'type' => 'text',
116
+ 'desc' => sprintf( __( '%sFormat%s of invoice date and order date.', 'woocommerce-pdf-invoices' ),
117
  '<a href="http://php.net/manual/en/datetime.formats.date.php">', '</a>' ), // F jS Y or d.m.y or d-m-Y
118
  'default' => 'F j, Y',
119
  'attrs' => array(
128
  'page' => $this->settings_key,
129
  'section' => 'general',
130
  'type' => 'checkbox',
131
+ 'desc' => __( 'Display prices including tax', 'woocommerce-pdf-invoices' )
132
+ . "<br/><div class='bewpi-notes'>" . __( 'Line item totals will be including tax. <br/><b>Note</b>: Subtotal will still be excluding tax, so disable it within the visible columns section.', 'woocommerce-pdf-invoices' ) . "</div>",
133
  'class' => 'bewpi-checkbox-option-title',
134
  'default' => 0
135
  ),
141
  'page' => $this->settings_key,
142
  'section' => 'general',
143
  'type' => 'checkbox',
144
+ 'desc' => __( 'Shipping taxable', 'woocommerce-pdf-invoices' )
145
+ . "<br/><div class='bewpi-notes'>" . __( 'Enable to display subtotal including shipping.', 'woocommerce-pdf-invoices' ) . "</div>",
146
  'class' => 'bewpi-checkbox-option-title',
147
  'default' => 0
148
  ),
154
  'page' => $this->settings_key,
155
  'section' => 'general',
156
  'type' => 'checkbox',
157
+ 'desc' => __( 'Mark invoice as paid', 'woocommerce-pdf-invoices' )
158
+ . "<br/><div class='bewpi-notes'>" . __( 'Invoice will be watermarked when order has been paid.', 'woocommerce-pdf-invoices' ) . "</div>",
159
  'class' => 'bewpi-checkbox-option-title',
160
  'default' => 0
161
  ),
163
  array(
164
  'id' => 'bewpi-company-name',
165
  'name' => $this->prefix . 'company_name',
166
+ 'title' => __( 'Company name', 'woocommerce-pdf-invoices' ),
167
  'callback' => array( &$this, 'input_callback' ),
168
  'page' => $this->settings_key,
169
  'section' => 'header',
174
  array(
175
  'id' => 'bewpi-company-logo',
176
  'name' => $this->prefix . 'company_logo',
177
+ 'title' => __( 'Company logo', 'woocommerce-pdf-invoices' ),
178
  'callback' => array( &$this, 'logo_callback' ),
179
  'page' => $this->settings_key,
180
  'section' => 'header',
185
  array(
186
  'id' => 'bewpi-company-address',
187
  'name' => $this->prefix . 'company_address',
188
+ 'title' => __( 'Company address', 'woocommerce-pdf-invoices' ),
189
  'callback' => array( &$this, 'textarea_callback' ),
190
  'page' => $this->settings_key,
191
  'section' => 'header',
192
  'type' => 'text',
193
+ 'desc' => __( 'Displayed in upper-right corner near logo.', 'woocommerce-pdf-invoices' ),
194
  'default' => ''
195
  ),
196
  array(
197
  'id' => 'bewpi-company-details',
198
  'name' => $this->prefix . 'company_details',
199
+ 'title' => __( 'Company details', 'woocommerce-pdf-invoices' ),
200
  'callback' => array( &$this, 'textarea_callback' ),
201
  'page' => $this->settings_key,
202
  'section' => 'header',
203
  'type' => 'text',
204
+ 'desc' => __( 'Displayed below company address.', 'woocommerce-pdf-invoices' ),
205
  'default' => ''
206
  ),
207
  // Body
208
  array(
209
  'id' => 'bewpi-intro-text',
210
  'name' => $this->prefix . 'intro_text',
211
+ 'title' => __( 'Thank you text', 'woocommerce-pdf-invoices' ),
212
  'callback' => array( &$this, 'textarea_callback' ),
213
  'page' => $this->settings_key,
214
  'section' => 'header',
215
  'type' => 'text',
216
+ 'desc' => __( 'Displayed in big colored bar directly after invoice total.', 'woocommerce-pdf-invoices' ),
217
+ 'default' => __( 'Thank you for your purchase!', 'woocommerce-pdf-invoices' )
218
  ),
219
  array(
220
  'id' => 'bewpi-show-customer-notes',
224
  'page' => $this->settings_key,
225
  'section' => 'body',
226
  'type' => 'checkbox',
227
+ 'desc' => __( 'Show customer notes', 'woocommerce-pdf-invoices' ),
228
  'class' => 'bewpi-checkbox-option-title',
229
  'default' => 1
230
  ),
231
  array(
232
  'id' => 'bewpi-terms',
233
  'name' => $this->prefix . 'terms',
234
+ 'title' => __( 'Terms & conditions, policies etc.', 'woocommerce-pdf-invoices' ),
235
  'callback' => array( &$this, 'textarea_callback' ),
236
  'page' => $this->settings_key,
237
  'section' => 'body',
238
  'type' => 'text',
239
+ 'desc' => sprintf( __( 'Displayed below customer notes and above footer. Want to attach additional pages to the invoice? Take a look at the <a href="%s">Premium</a> plugin.', 'woocommerce-pdf-invoices' ), 'http://wcpdfinvoices.com' ),
240
+ 'default' => __( 'Items will be shipped within 2 days.', 'woocommerce-pdf-invoices' )
241
  ),
242
  // Footer
243
  array(
244
  'id' => 'bewpi-left-footer-column',
245
  'name' => $this->prefix . 'left_footer_column',
246
+ 'title' => __( 'Left footer column.', 'woocommerce-pdf-invoices' ),
247
  'callback' => array( &$this, 'textarea_callback' ),
248
  'page' => $this->settings_key,
249
  'section' => 'footer',
250
  'type' => 'text',
251
  'desc' => '',
252
+ 'default' => sprintf( __( '<b>Payment method</b> %s', 'woocommerce-pdf-invoices' ), '[payment_method]' )
253
  ),
254
  array(
255
  'id' => 'bewpi-right-footer-column',
256
  'name' => $this->prefix . 'right_footer_column',
257
+ 'title' => __( 'Right footer column.', 'woocommerce-pdf-invoices' ),
258
  'callback' => array( &$this, 'textarea_callback' ),
259
  'page' => $this->settings_key,
260
  'section' => 'footer',
261
  'type' => 'text',
262
+ 'desc' => __( 'Leave empty to show page numbering.', 'woocommerce-pdf-invoices' ),
263
  'default' => ''
264
  ),
265
  // Invoice number section
266
  array(
267
  'id' => 'bewpi-invoice-number-type',
268
  'name' => $this->prefix . 'invoice_number_type',
269
+ 'title' => __( 'Type', 'woocommerce-pdf-invoices' ),
270
  'callback' => array( &$this, 'select_callback' ),
271
  'page' => $this->settings_key,
272
  'section' => 'invoice_number',
274
  'desc' => '',
275
  'options' => array(
276
  array(
277
+ 'name' => __( 'WooCommerce order number', 'woocommerce-pdf-invoices' ),
278
  'value' => 'woocommerce_order_number'
279
  ),
280
  array(
281
+ 'name' => __( 'Sequential number', 'woocommerce-pdf-invoices' ),
282
  'value' => 'sequential_number'
283
  )
284
  ),
292
  'page' => $this->settings_key,
293
  'section' => 'invoice_number',
294
  'type' => 'checkbox',
295
+ 'desc' => __( 'Reset invoice counter', 'woocommerce-pdf-invoices' ),
296
  'class' => 'bewpi-checkbox-option-title',
297
  'default' => 0,
298
  'attrs' => array(
302
  array(
303
  'id' => 'bewpi-next-invoice-number',
304
  'name' => $this->prefix . 'next_invoice_number',
305
+ 'title' => __( 'Next', 'woocommerce-pdf-invoices' ),
306
  'callback' => array( &$this, 'input_callback' ),
307
  'page' => $this->settings_key,
308
  'section' => 'invoice_number',
309
  'type' => 'number',
310
+ 'desc' => __( 'Reset the invoice counter and start counting from given invoice number.<br/><b>Note:</b> Only available for Sequential numbering and value will be editable by selecting checkbox. Next number needs to be lower then highest existing invoice number or delete invoices first.', 'woocommerce-pdf-invoices' ),
311
  'default' => 1,
312
  'attrs' => array(
313
  'disabled',
317
  array(
318
  'id' => 'bewpi-invoice-number-digits',
319
  'name' => $this->prefix . 'invoice_number_digits',
320
+ 'title' => __( 'Digits', 'woocommerce-pdf-invoices' ),
321
  'callback' => array( &$this, 'input_callback' ),
322
  'page' => $this->settings_key,
323
  'section' => 'invoice_number',
333
  array(
334
  'id' => 'bewpi-invoice-number-prefix',
335
  'name' => $this->prefix . 'invoice_number_prefix',
336
+ 'title' => __( '[prefix]', 'woocommerce-pdf-invoices' ),
337
  'callback' => array( &$this, 'input_callback' ),
338
  'page' => $this->settings_key,
339
  'section' => 'invoice_number',
344
  array(
345
  'id' => 'bewpi-invoice-number-suffix',
346
  'name' => $this->prefix . 'invoice_number_suffix',
347
+ 'title' => __( '[suffix]', 'woocommerce-pdf-invoices' ),
348
  'callback' => array( &$this, 'input_callback' ),
349
  'page' => $this->settings_key,
350
  'section' => 'invoice_number',
355
  array(
356
  'id' => 'bewpi-invoice-number-format',
357
  'name' => $this->prefix . 'invoice_number_format',
358
+ 'title' => __( 'Format', 'woocommerce-pdf-invoices' ),
359
  'callback' => array( &$this, 'input_callback' ),
360
  'page' => $this->settings_key,
361
  'section' => 'invoice_number',
362
  'type' => 'text',
363
+ 'desc' => sprintf( __( 'Allowed placeholders: %s %s %s %s %s %s.<br/>%sNote:%s %s is required and slashes aren\'t supported.', 'woocommerce-pdf-invoices' ), '<code>[prefix]</code>', '<code>[suffix]</code>', '<code>[number]</code>', '<code>[m]</code>', '<code>[Y]</code>', '<code>[y]</code>', '<b>', '</b>', '<code>[number]</code>' ),
364
  'default' => '[number]-[Y]',
365
  'attrs' => array(
366
  'required'
374
  'page' => $this->settings_key,
375
  'section' => 'invoice_number',
376
  'type' => 'checkbox',
377
+ 'desc' => __( 'Reset on 1st of january', 'woocommerce-pdf-invoices' ),
378
  'class' => 'bewpi-checkbox-option-title',
379
  'default' => 1
380
  ),
387
  'page' => $this->settings_key,
388
  'section' => 'visible_columns',
389
  'type' => 'checkbox',
390
+ 'desc' => __( 'SKU', 'woocommerce-pdf-invoices' ),
391
  'class' => 'bewpi-checkbox-option-title',
392
  'default' => 0
393
  ),
399
  'page' => $this->settings_key,
400
  'section' => 'visible_columns',
401
  'type' => 'checkbox',
402
+ 'desc' => __( 'Subtotal', 'woocommerce-pdf-invoices' ),
403
  'class' => 'bewpi-checkbox-option-title',
404
  'default' => 1
405
  ),
411
  'page' => $this->settings_key,
412
  'section' => 'visible_columns',
413
  'type' => 'checkbox',
414
+ 'desc' => __( 'Tax (item)', 'woocommerce-pdf-invoices' ),
415
  'class' => 'bewpi-checkbox-option-title',
416
  'default' => 0
417
  ),
423
  'page' => $this->settings_key,
424
  'section' => 'visible_columns',
425
  'type' => 'checkbox',
426
+ 'desc' => __( 'Tax (total)', 'woocommerce-pdf-invoices' ),
427
  'class' => 'bewpi-checkbox-option-title',
428
  'default' => 1
429
  ),
435
  'page' => $this->settings_key,
436
  'section' => 'visible_columns',
437
  'type' => 'checkbox',
438
+ 'desc' => __( 'Discount', 'woocommerce-pdf-invoices' ),
439
  'class' => 'bewpi-checkbox-option-title',
440
  'default' => 1
441
  ),
447
  'page' => $this->settings_key,
448
  'section' => 'visible_columns',
449
  'type' => 'checkbox',
450
+ 'desc' => __( 'Shipping', 'woocommerce-pdf-invoices' ),
451
  'class' => 'bewpi-checkbox-option-title',
452
  'default' => 1
453
  )
461
  private function add_settings_sections() {
462
  add_settings_section(
463
  'general',
464
+ __( 'General Options', 'woocommerce-pdf-invoices' ),
465
  array( &$this, 'general_desc_callback' ),
466
  $this->settings_key
467
  );
468
  add_settings_section(
469
  'invoice_number',
470
+ __( 'Invoice Number Options', 'woocommerce-pdf-invoices' ),
471
  array( &$this, 'invoice_number_desc_callback' ),
472
  $this->settings_key
473
  );
474
  add_settings_section(
475
  'header',
476
+ __( 'Header Options', 'woocommerce-pdf-invoices' ),
477
  array( &$this, 'header_desc_callback' ),
478
  $this->settings_key
479
  );
480
  add_settings_section(
481
  'body',
482
+ __( 'Body Options', 'woocommerce-pdf-invoices' ),
483
  array( &$this, 'body_desc_callback' ),
484
  $this->settings_key
485
  );
486
  add_settings_section(
487
  'footer',
488
+ __( 'Footer Options', 'woocommerce-pdf-invoices' ),
489
  array( &$this, 'footer_desc_callback' ),
490
  $this->settings_key
491
  );
492
  add_settings_section(
493
  'visible_columns',
494
+ __( 'Visible Columns', 'woocommerce-pdf-invoices' ),
495
  array( &$this, 'visible_columns_desc_callback' ),
496
  $this->settings_key
497
  );
498
  }
499
 
500
+ public function general_desc_callback() { _e( 'These are the general template options.', 'woocommerce-pdf-invoices' ); }
501
+ public function invoice_number_desc_callback() { _e( 'These are the invoice number options.', 'woocommerce-pdf-invoices' ); }
502
+ public function header_desc_callback() { _e( 'The header will be visible on every page. ' . $this->get_allowed_tags_str(), 'woocommerce-pdf-invoices' ); }
503
  public function body_desc_callback() { }
504
 
505
  public function footer_desc_callback() {
506
+ echo __( 'The footer will be visible on every page.', 'woocommerce-pdf-invoices' ) . '<br/>' . $this->get_allowed_tags_str() . '<br/>' . __( '<b>Hint</b>: Use <code>[payment_method]</code> placeholder to display the order payment method.', 'woocommerce-pdf-invoices' );
507
  }
508
 
509
+ public function visible_columns_desc_callback() { _e( 'Enable or disable the columns.', 'woocommerce-pdf-invoices' ); }
510
 
511
  /**
512
  * Adds all settings fields.
576
  add_settings_error(
577
  esc_attr( $this->settings_key ),
578
  'file-invalid-2',
579
+ __( 'File is invalid and contains either \'..\' or \'./\'.', 'woocommerce-pdf-invoices' )
580
  );
581
  break;
582
  case 2:
583
  add_settings_error(
584
  esc_attr( $this->settings_key ),
585
  'file-invalid-3',
586
+ __( 'File is invalid and contains \':\' after the first character.', 'woocommerce-pdf-invoices' )
587
  );
588
  break;
589
  }
592
  add_settings_error(
593
  esc_attr( $this->settings_key ),
594
  'file-invalid-1',
595
+ __( 'File should be less then 2MB.', 'woocommerce-pdf-invoices' )
596
  );
597
  }
598
  } else if ( isset( $_POST['bewpi_company_logo'] ) && !empty( $_POST['bewpi_company_logo'] ) ) {
includes/be-woocommerce-pdf-invoices.php CHANGED
@@ -123,7 +123,7 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
123
  ?>
124
  <div id="bewpi-plugin-activated-notice" class="updated notice is-dismissible">
125
  <p>
126
- <?php printf( __( 'Alrighty then! <a href="%s">Let\'s start configuring <strong>WooCommerce PDF Invoices</strong></a>.', 'be-woocommerce-pdf-invoices' ), admin_url() . 'admin.php?page=bewpi-invoices' ); ?>
127
  </p>
128
  <?php printf( '<a href="%1$s" class="notice-dismiss"></a>', '?bewpi_hide_activation_notice=0' ); ?>
129
  </div>
@@ -133,8 +133,8 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
133
 
134
  function add_plugin_action_links( $links ) {
135
  return array_merge( array(
136
- '<a href="' . admin_url( 'admin.php?page=bewpi-invoices' ) . '">' . __( 'Settings', 'be-woocommerce-pdf-invoices' ) . '</a>',
137
- '<a href="http://wcpdfinvoices.com" target="_blank">' . __( 'Premium', 'be-woocommerce-pdf-invoices' ) . '</a>'
138
  ), $links );
139
  }
140
 
@@ -179,16 +179,16 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
179
  $nonce = $_REQUEST['nonce'];
180
 
181
  if ( ! wp_verify_nonce( $nonce, $action ) )
182
- wp_die( __( 'Invalid request', 'be-woocommerce-pdf-invoices' ) );
183
 
184
  if ( empty( $order_id ) )
185
- wp_die( __( 'Invalid order ID', 'be-woocommerce-pdf-invoices' ) );
186
 
187
  $user = wp_get_current_user();
188
  $allowed_roles = array( 'administrator', 'shop_manager' );
189
  $customer_user_id = get_post_meta( $order_id, '_customer_user', true );
190
  if ( ! array_intersect( $allowed_roles, $user->roles ) && get_current_user_id() != $customer_user_id )
191
- wp_die( __( 'Access denied', 'be-woocommerce-pdf-invoices' ) );
192
 
193
  $invoice = new BEWPI_Invoice( $order_id );
194
  switch ( $_GET['bewpi_action'] ) {
@@ -211,12 +211,12 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
211
  */
212
  public function load_textdomain() {
213
  $lang_dir = (string) BEWPI_LANG_DIR;
214
- load_plugin_textdomain( 'be-woocommerce-pdf-invoices', false, apply_filters( 'bewpi_lang_dir', $lang_dir ) );
215
  }
216
 
217
  public function init_settings_tabs() {
218
- $this->settings_tabs['bewpi_general_settings'] = __( 'General', 'be-woocommerce-pdf-invoices' );
219
- $this->settings_tabs['bewpi_template_settings'] = __( 'Template', 'be-woocommerce-pdf-invoices' );
220
 
221
  $this->settings_tabs = apply_filters( 'bewpi_settings_tabs', $this->settings_tabs );
222
  }
@@ -239,7 +239,7 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
239
  * Adds submenu to WooCommerce menu.
240
  */
241
  public function add_woocommerce_submenu_page() {
242
- add_submenu_page( 'woocommerce', __( 'Invoices', 'be-woocommerce-pdf-invoices' ), __( 'Invoices', 'be-woocommerce-pdf-invoices' ), 'manage_options', $this->options_key, array(
243
  &$this,
244
  'options_page'
245
  ) );
@@ -278,8 +278,8 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
278
  <script type="text/javascript">
279
  window.onload = function () {
280
  // Change footer text into rate text for WPI.
281
- document.getElementById("footer-thankyou").innerHTML = "<?php printf( __( 'If you like <strong>WooCommerce PDF Invoices</strong> please leave us a %s★★★★★%s rating. A huge thank you in advance!', 'be-woocommerce-pdf-invoices' ), '<a href=\'https://wordpress.org/support/view/plugin-reviews/woocommerce-pdf-invoices?rate=5#postform\'>', '</a>' ); ?>";
282
- document.getElementById("footer-upgrade").innerHTML = "<?php printf( __( 'Version %s', 'be-woocommerce-pdf-invoices' ), BEWPI_VERSION ); ?>";
283
  };
284
  </script>
285
  <div class="wrap">
@@ -303,19 +303,19 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
303
  private function options_page_sidebar_html() {
304
  ?>
305
  <aside class="bewpi_sidebar premium">
306
- <h3><?php _e( 'WooCommerce PDF Invoices Premium', 'be-woocommerce-pdf-invoices' ); ?></h3>
307
  <p>
308
- <?php _e( 'This plugin offers a premium version which comes with the following features:', 'be-woocommerce-pdf-invoices' ); ?><br/>
309
- - <?php _e( 'Bill periodically by generating and sending global invoices.', 'be-woocommerce-pdf-invoices' ); ?><br/>
310
- - <?php _e( 'Add additional PDF\'s to customer invoices.', 'be-woocommerce-pdf-invoices' ); ?><br/>
311
- - <?php _e( 'Send customer invoices directly to suppliers and others.', 'be-woocommerce-pdf-invoices' ); ?><br/>
312
- - <?php printf( __( 'Compatible with <a href="%s">WooCommerce Subscriptions</a> plugin emails.', 'be-woocommerce-pdf-invoices' ), "http://www.woothemes.com/products/woocommerce-subscriptions/" ); ?><br/>
313
  </p>
314
- <a class="bewpi-learn-more" href="http://wcpdfinvoices.com" target="_blank"><?php _e ( 'Learn more', 'be-woocommerce-pdf-invoices' ); ?></a>
315
  </aside>
316
 
317
  <aside class="bewpi_sidebar premium">
318
- <h3><?php _e( 'Stay up-to-date', 'be-woocommerce-pdf-invoices' ); ?></h3>
319
  <!-- Begin MailChimp Signup Form -->
320
  <link href="//cdn-images.mailchimp.com/embedcode/slim-081711.css" rel="stylesheet" type="text/css">
321
  <style type="text/css">
@@ -324,17 +324,17 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
324
  #mc_embed_signup input.button { margin: 0 !important; }
325
  </style>
326
  <p>
327
- <?php _e( 'We\'re constantly developing new features, stay up-to-date by subscribing to our newsletter.', 'be-woocommerce-pdf-invoices' ); ?>
328
  </p>
329
  <div id="mc_embed_signup">
330
  <form action="//wcpdfinvoices.us11.list-manage.com/subscribe/post?u=f270649bc41a9687a38a8977f&amp;id=395e1e319a" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate style="padding: 0">
331
  <div id="mc_embed_signup_scroll">
332
  <?php $user_email = get_the_author_meta( 'user_email', get_current_user_id() ) ?>
333
- <input style="width: 100%; border-radius: 0; margin-top: 20px; border: 1px solid #ccc;" type="email" value="<?php if( $user_email !== "" ) echo $user_email; ?>" name="EMAIL" class="email" id="mce-EMAIL" placeholder="<?php _e( 'Your email address', 'be-woocommerce-pdf-invoices' ); ?>" required>
334
  <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
335
  <div style="position: absolute; left: -5000px;"><input type="text" name="b_f270649bc41a9687a38a8977f_395e1e319a" tabindex="-1" value=""></div>
336
- <div class="clear"><input style="width: 100%; background-color: #F48C2D; border-radius: 0; height: 37px;box-shadow: none;" type="submit" value="<?php _e( 'Signup', 'be-woocommerce-pdf-invoices' ); ?>" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
337
- <div style="font-size: 11px; text-align: center; margin-top: 1px !important;"><?php _e( 'No spam, ever. Unsubscribe at any time', 'be-woocommerce-pdf-invoices' ); ?></div>
338
  </div>
339
  </form>
340
  </div>
@@ -342,15 +342,15 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
342
  </aside>
343
 
344
  <aside class="bewpi_sidebar about">
345
- <h3><?php _e( 'About', 'be-woocommerce-pdf-invoices' ); ?></h3>
346
- <p><?php _e( 'This plugin is an open source project wich aims to fill the invoicing gap of <a href="http://www.woothemes.com/woocommerce">WooCommerce</a>.' , 'be-woocommerce-pdf-invoices' ); ?></p>
347
- <?php _e( '<b>Version</b>: ' . BEWPI_VERSION, 'be-woocommerce-pdf-invoices' ); ?>
348
  <br/>
349
- <?php _e( '<b>Author</b>: <a href="https://github.com/baselbers">Bas Elbers</a>', 'be-woocommerce-pdf-invoices' ); ?>
350
  </aside>
351
  <aside class="bewpi_sidebar support">
352
- <h3><?php _e( 'Support', 'be-woocommerce-pdf-invoices' ); ?></h3>
353
- <p><?php _e( 'We will never ask for donations, but to garantee future development, we do need your support. Please show us your appreciation by leaving a <a href="https://wordpress.org/support/view/plugin-reviews/woocommerce-pdf-invoices?rate=5#postform">★★★★★</a> rating and vote for <a href="https://wordpress.org/plugins/woocommerce-pdf-invoices/">works</a>.', 'be-woocommerce-pdf-invoices' ); ?></p>
354
  <!-- Github star -->
355
  <div class="github btn">
356
  <iframe src="https://ghbtns.com/github-btn.html?user=baselbers&repo=woocommerce-pdf-invoices&type=star&count=true" frameborder="0" scrolling="0" width="170px" height="20px"></iframe>
@@ -369,17 +369,17 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
369
  </div>
370
  <!-- Tweet -->
371
  <div class="twitter btn">
372
- <a href="https://twitter.com/share" class="twitter-share-button" data-url="https://wordpress.org/plugins/woocommerce-pdf-invoices/" data-text="<?php _e( 'Checkout this amazing free WooCommerce PDF Invoices plugin for WordPress!', 'be-woocommerce-pdf-invoices' ); ?>">Tweet</a>
373
  <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
374
  </div>
375
  </aside>
376
  <aside class="bewpi_sidebar need-help">
377
- <h3><?php _e( 'Need Help?', 'be-woocommerce-pdf-invoices' ); ?></h3>
378
  <ul>
379
- <li><a href="https://wordpress.org/plugins/woocommerce-pdf-invoices/faq/"><?php _e( 'Frequently Asked Questions', 'be-woocommerce-pdf-invoices' ); ?> </a></li>
380
- <li><a href="https://wordpress.org/support/plugin/woocommerce-pdf-invoices"><?php _e( 'Support forum', 'be-woocommerce-pdf-invoices' ); ?></a></li>
381
- <li><a href="https://wordpress.org/support/plugin/woocommerce-pdf-invoices"><?php _e( 'Request a feature', 'be-woocommerce-pdf-invoices' ); ?></a></li>
382
- <li><a href="mailto:baselbers@hotmail.com"><?php _e( 'Email us', 'be-woocommerce-pdf-invoices' ); ?></a></li>
383
  </ul>
384
  </aside>
385
  <?php
@@ -434,7 +434,7 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
434
  * Adds a box to the main column on the Post and Page edit screens.
435
  */
436
  function add_meta_box_to_order_page() {
437
- add_meta_box( 'order_page_create_invoice', __( 'PDF Invoice', 'be-woocommerce-pdf-invoices' ), array(
438
  &$this,
439
  'woocommerce_order_details_page_meta_box_create_invoice'
440
  ), 'shop_order', 'side', 'high' );
@@ -460,11 +460,11 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
460
  private function show_invoice_number_info( $date, $number ) {
461
  echo '<table class="invoice-info" width="100%">
462
  <tr>
463
- <td>' . __( 'Invoiced on:', 'be-woocommerce-pdf-invoices' ) . '</td>
464
  <td align="right"><b>' . $date . '</b></td>
465
  </tr>
466
  <tr>
467
- <td>' . __( 'Invoice number:', 'be-woocommerce-pdf-invoices' ) . '</td>
468
  <td align="right"><b>' . $number . '</b></td>
469
  </tr>
470
  </table>';
@@ -480,9 +480,9 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
480
  * @param array $arr
481
  */
482
  private function show_invoice_button( $title, $order_id, $wpi_action, $btn_title, $arr = array() ) {
483
- $title = __( $title, 'be-woocommerce-pdf-invoices');
484
  $href = admin_url() . 'post.php?post=' . $order_id . '&action=edit&bewpi_action=' . $wpi_action . '&nonce=' . wp_create_nonce( $wpi_action );
485
- $btn_title = __( $btn_title, 'be-woocommerce-pdf-invoices');
486
  $attr = '';
487
 
488
  foreach ( $arr as $str ) {
@@ -502,13 +502,13 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
502
 
503
  if ( $invoice->exists() ) {
504
  $this->show_invoice_number_info( $invoice->get_formatted_invoice_date(), $invoice->get_formatted_number() );
505
- $this->show_invoice_button( __( 'View invoice', 'be-woocommerce-pdf-invoices'), $post->ID, 'view', __( 'View', 'be-woocommerce-pdf-invoices'), array( 'class="invoice-btn button grant_access"', 'target="_blank"' ) );
506
- $this->show_invoice_button( __( 'Cancel invoice', 'be-woocommerce-pdf-invoices'), $post->ID, 'cancel', __( 'Cancel', 'be-woocommerce-pdf-invoices' ), array(
507
  'class="invoice-btn button grant_access"',
508
- 'onclick="return confirm(\'' . __( 'Are you sure to delete the invoice?', 'be-woocommerce-pdf-invoices') . '\')"'
509
  ) );
510
  } else {
511
- $this->show_invoice_button( __( 'Create invoice', 'be-woocommerce-pdf-invoices'), $post->ID, 'create', __( 'Create', 'be-woocommerce-pdf-invoices'), array( 'class="invoice-btn button grant_access"' ) );
512
  }
513
  }
514
 
@@ -531,7 +531,7 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
531
  $url = admin_url( 'admin-ajax.php?bewpi_action=view&post=' . $order->id . '&nonce=' . wp_create_nonce( 'view' ) );
532
  $actions[ 'invoice' ] = array(
533
  'url' => $url,
534
- 'name' => sprintf( __( 'Invoice %s (PDF)', 'be-woocommerce-pdf-invoices' ), $invoice->get_formatted_number() )
535
  );
536
 
537
  return $actions;
@@ -641,7 +641,7 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
641
  $query_string = '?' . http_build_query( array_merge( $query_params, array( self::OPTION_ADMIN_NOTICE_KEY => '1' ) ) );
642
 
643
  echo '<div class="updated"><p>';
644
- printf( __( "You are working with <b>WooCommerce PDF Invoices</b> for some time now. We really need your ★★★★★ rating. It will support future development big-time. A huge thanks in advance and keep up the good work! <br /> <a href='%s' target='_blank'>Yes, will do it right away!</a> - <a href='%s'>No, already done it!</a>", 'be-woocommerce-pdf-invoices' ), 'https://wordpress.org/support/view/plugin-reviews/woocommerce-pdf-invoices?rate=5#postform', $query_string );
645
  echo "</p></div>";
646
  }
647
  }
123
  ?>
124
  <div id="bewpi-plugin-activated-notice" class="updated notice is-dismissible">
125
  <p>
126
+ <?php printf( __( 'Alrighty then! <a href="%s">Let\'s start configuring <strong>WooCommerce PDF Invoices</strong></a>.', 'woocommerce-pdf-invoices' ), admin_url() . 'admin.php?page=bewpi-invoices' ); ?>
127
  </p>
128
  <?php printf( '<a href="%1$s" class="notice-dismiss"></a>', '?bewpi_hide_activation_notice=0' ); ?>
129
  </div>
133
 
134
  function add_plugin_action_links( $links ) {
135
  return array_merge( array(
136
+ '<a href="' . admin_url( 'admin.php?page=bewpi-invoices' ) . '">' . __( 'Settings', 'woocommerce-pdf-invoices' ) . '</a>',
137
+ '<a href="http://wcpdfinvoices.com" target="_blank">' . __( 'Premium', 'woocommerce-pdf-invoices' ) . '</a>'
138
  ), $links );
139
  }
140
 
179
  $nonce = $_REQUEST['nonce'];
180
 
181
  if ( ! wp_verify_nonce( $nonce, $action ) )
182
+ wp_die( __( 'Invalid request', 'woocommerce-pdf-invoices' ) );
183
 
184
  if ( empty( $order_id ) )
185
+ wp_die( __( 'Invalid order ID', 'woocommerce-pdf-invoices' ) );
186
 
187
  $user = wp_get_current_user();
188
  $allowed_roles = array( 'administrator', 'shop_manager' );
189
  $customer_user_id = get_post_meta( $order_id, '_customer_user', true );
190
  if ( ! array_intersect( $allowed_roles, $user->roles ) && get_current_user_id() != $customer_user_id )
191
+ wp_die( __( 'Access denied', 'woocommerce-pdf-invoices' ) );
192
 
193
  $invoice = new BEWPI_Invoice( $order_id );
194
  switch ( $_GET['bewpi_action'] ) {
211
  */
212
  public function load_textdomain() {
213
  $lang_dir = (string) BEWPI_LANG_DIR;
214
+ load_plugin_textdomain( 'woocommerce-pdf-invoices', false, apply_filters( 'bewpi_lang_dir', $lang_dir ) );
215
  }
216
 
217
  public function init_settings_tabs() {
218
+ $this->settings_tabs['bewpi_general_settings'] = __( 'General', 'woocommerce-pdf-invoices' );
219
+ $this->settings_tabs['bewpi_template_settings'] = __( 'Template', 'woocommerce-pdf-invoices' );
220
 
221
  $this->settings_tabs = apply_filters( 'bewpi_settings_tabs', $this->settings_tabs );
222
  }
239
  * Adds submenu to WooCommerce menu.
240
  */
241
  public function add_woocommerce_submenu_page() {
242
+ add_submenu_page( 'woocommerce', __( 'Invoices', 'woocommerce-pdf-invoices' ), __( 'Invoices', 'woocommerce-pdf-invoices' ), 'manage_options', $this->options_key, array(
243
  &$this,
244
  'options_page'
245
  ) );
278
  <script type="text/javascript">
279
  window.onload = function () {
280
  // Change footer text into rate text for WPI.
281
+ document.getElementById("footer-thankyou").innerHTML = "<?php printf( __( 'If you like <strong>WooCommerce PDF Invoices</strong> please leave us a %s★★★★★%s rating. A huge thank you in advance!', 'woocommerce-pdf-invoices' ), '<a href=\'https://wordpress.org/support/view/plugin-reviews/woocommerce-pdf-invoices?rate=5#postform\'>', '</a>' ); ?>";
282
+ document.getElementById("footer-upgrade").innerHTML = "<?php printf( __( 'Version %s', 'woocommerce-pdf-invoices' ), BEWPI_VERSION ); ?>";
283
  };
284
  </script>
285
  <div class="wrap">
303
  private function options_page_sidebar_html() {
304
  ?>
305
  <aside class="bewpi_sidebar premium">
306
+ <h3><?php _e( 'WooCommerce PDF Invoices Premium', 'woocommerce-pdf-invoices' ); ?></h3>
307
  <p>
308
+ <?php _e( 'This plugin offers a premium version which comes with the following features:', 'woocommerce-pdf-invoices' ); ?><br/>
309
+ - <?php _e( 'Bill periodically by generating and sending global invoices.', 'woocommerce-pdf-invoices' ); ?><br/>
310
+ - <?php _e( 'Add additional PDF\'s to customer invoices.', 'woocommerce-pdf-invoices' ); ?><br/>
311
+ - <?php _e( 'Send customer invoices directly to suppliers and others.', 'woocommerce-pdf-invoices' ); ?><br/>
312
+ - <?php printf( __( 'Compatible with <a href="%s">WooCommerce Subscriptions</a> plugin emails.', 'woocommerce-pdf-invoices' ), "http://www.woothemes.com/products/woocommerce-subscriptions/" ); ?><br/>
313
  </p>
314
+ <a class="bewpi-learn-more" href="http://wcpdfinvoices.com" target="_blank"><?php _e ( 'Learn more', 'woocommerce-pdf-invoices' ); ?></a>
315
  </aside>
316
 
317
  <aside class="bewpi_sidebar premium">
318
+ <h3><?php _e( 'Stay up-to-date', 'woocommerce-pdf-invoices' ); ?></h3>
319
  <!-- Begin MailChimp Signup Form -->
320
  <link href="//cdn-images.mailchimp.com/embedcode/slim-081711.css" rel="stylesheet" type="text/css">
321
  <style type="text/css">
324
  #mc_embed_signup input.button { margin: 0 !important; }
325
  </style>
326
  <p>
327
+ <?php _e( 'We\'re constantly developing new features, stay up-to-date by subscribing to our newsletter.', 'woocommerce-pdf-invoices' ); ?>
328
  </p>
329
  <div id="mc_embed_signup">
330
  <form action="//wcpdfinvoices.us11.list-manage.com/subscribe/post?u=f270649bc41a9687a38a8977f&amp;id=395e1e319a" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate style="padding: 0">
331
  <div id="mc_embed_signup_scroll">
332
  <?php $user_email = get_the_author_meta( 'user_email', get_current_user_id() ) ?>
333
+ <input style="width: 100%; border-radius: 0; margin-top: 20px; border: 1px solid #ccc;" type="email" value="<?php if( $user_email !== "" ) echo $user_email; ?>" name="EMAIL" class="email" id="mce-EMAIL" placeholder="<?php _e( 'Your email address', 'woocommerce-pdf-invoices' ); ?>" required>
334
  <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
335
  <div style="position: absolute; left: -5000px;"><input type="text" name="b_f270649bc41a9687a38a8977f_395e1e319a" tabindex="-1" value=""></div>
336
+ <div class="clear"><input style="width: 100%; background-color: #F48C2D; border-radius: 0; height: 37px;box-shadow: none;" type="submit" value="<?php _e( 'Signup', 'woocommerce-pdf-invoices' ); ?>" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
337
+ <div style="font-size: 11px; text-align: center; margin-top: 1px !important;"><?php _e( 'No spam, ever. Unsubscribe at any time', 'woocommerce-pdf-invoices' ); ?></div>
338
  </div>
339
  </form>
340
  </div>
342
  </aside>
343
 
344
  <aside class="bewpi_sidebar about">
345
+ <h3><?php _e( 'About', 'woocommerce-pdf-invoices' ); ?></h3>
346
+ <p><?php _e( 'This plugin is an open source project wich aims to fill the invoicing gap of <a href="http://www.woothemes.com/woocommerce">WooCommerce</a>.' , 'woocommerce-pdf-invoices' ); ?></p>
347
+ <?php _e( '<b>Version</b>: ' . BEWPI_VERSION, 'woocommerce-pdf-invoices' ); ?>
348
  <br/>
349
+ <?php _e( '<b>Author</b>: <a href="https://github.com/baselbers">Bas Elbers</a>', 'woocommerce-pdf-invoices' ); ?>
350
  </aside>
351
  <aside class="bewpi_sidebar support">
352
+ <h3><?php _e( 'Support', 'woocommerce-pdf-invoices' ); ?></h3>
353
+ <p><?php _e( 'We will never ask for donations, but to garantee future development, we do need your support. Please show us your appreciation by leaving a <a href="https://wordpress.org/support/view/plugin-reviews/woocommerce-pdf-invoices?rate=5#postform">★★★★★</a> rating and vote for <a href="https://wordpress.org/plugins/woocommerce-pdf-invoices/">works</a>.', 'woocommerce-pdf-invoices' ); ?></p>
354
  <!-- Github star -->
355
  <div class="github btn">
356
  <iframe src="https://ghbtns.com/github-btn.html?user=baselbers&repo=woocommerce-pdf-invoices&type=star&count=true" frameborder="0" scrolling="0" width="170px" height="20px"></iframe>
369
  </div>
370
  <!-- Tweet -->
371
  <div class="twitter btn">
372
+ <a href="https://twitter.com/share" class="twitter-share-button" data-url="https://wordpress.org/plugins/woocommerce-pdf-invoices/" data-text="<?php _e( 'Checkout this amazing free WooCommerce PDF Invoices plugin for WordPress!', 'woocommerce-pdf-invoices' ); ?>">Tweet</a>
373
  <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
374
  </div>
375
  </aside>
376
  <aside class="bewpi_sidebar need-help">
377
+ <h3><?php _e( 'Need Help?', 'woocommerce-pdf-invoices' ); ?></h3>
378
  <ul>
379
+ <li><a href="https://wordpress.org/plugins/woocommerce-pdf-invoices/faq/"><?php _e( 'Frequently Asked Questions', 'woocommerce-pdf-invoices' ); ?> </a></li>
380
+ <li><a href="https://wordpress.org/support/plugin/woocommerce-pdf-invoices"><?php _e( 'Support forum', 'woocommerce-pdf-invoices' ); ?></a></li>
381
+ <li><a href="https://wordpress.org/support/plugin/woocommerce-pdf-invoices"><?php _e( 'Request a feature', 'woocommerce-pdf-invoices' ); ?></a></li>
382
+ <li><a href="mailto:baselbers@hotmail.com"><?php _e( 'Email us', 'woocommerce-pdf-invoices' ); ?></a></li>
383
  </ul>
384
  </aside>
385
  <?php
434
  * Adds a box to the main column on the Post and Page edit screens.
435
  */
436
  function add_meta_box_to_order_page() {
437
+ add_meta_box( 'order_page_create_invoice', __( 'PDF Invoice', 'woocommerce-pdf-invoices' ), array(
438
  &$this,
439
  'woocommerce_order_details_page_meta_box_create_invoice'
440
  ), 'shop_order', 'side', 'high' );
460
  private function show_invoice_number_info( $date, $number ) {
461
  echo '<table class="invoice-info" width="100%">
462
  <tr>
463
+ <td>' . __( 'Invoiced on:', 'woocommerce-pdf-invoices' ) . '</td>
464
  <td align="right"><b>' . $date . '</b></td>
465
  </tr>
466
  <tr>
467
+ <td>' . __( 'Invoice number:', 'woocommerce-pdf-invoices' ) . '</td>
468
  <td align="right"><b>' . $number . '</b></td>
469
  </tr>
470
  </table>';
480
  * @param array $arr
481
  */
482
  private function show_invoice_button( $title, $order_id, $wpi_action, $btn_title, $arr = array() ) {
483
+ $title = __( $title, 'woocommerce-pdf-invoices');
484
  $href = admin_url() . 'post.php?post=' . $order_id . '&action=edit&bewpi_action=' . $wpi_action . '&nonce=' . wp_create_nonce( $wpi_action );
485
+ $btn_title = __( $btn_title, 'woocommerce-pdf-invoices');
486
  $attr = '';
487
 
488
  foreach ( $arr as $str ) {
502
 
503
  if ( $invoice->exists() ) {
504
  $this->show_invoice_number_info( $invoice->get_formatted_invoice_date(), $invoice->get_formatted_number() );
505
+ $this->show_invoice_button( __( 'View invoice', 'woocommerce-pdf-invoices'), $post->ID, 'view', __( 'View', 'woocommerce-pdf-invoices'), array( 'class="invoice-btn button grant_access"', 'target="_blank"' ) );
506
+ $this->show_invoice_button( __( 'Cancel invoice', 'woocommerce-pdf-invoices'), $post->ID, 'cancel', __( 'Cancel', 'woocommerce-pdf-invoices' ), array(
507
  'class="invoice-btn button grant_access"',
508
+ 'onclick="return confirm(\'' . __( 'Are you sure to delete the invoice?', 'woocommerce-pdf-invoices') . '\')"'
509
  ) );
510
  } else {
511
+ $this->show_invoice_button( __( 'Create invoice', 'woocommerce-pdf-invoices'), $post->ID, 'create', __( 'Create', 'woocommerce-pdf-invoices'), array( 'class="invoice-btn button grant_access"' ) );
512
  }
513
  }
514
 
531
  $url = admin_url( 'admin-ajax.php?bewpi_action=view&post=' . $order->id . '&nonce=' . wp_create_nonce( 'view' ) );
532
  $actions[ 'invoice' ] = array(
533
  'url' => $url,
534
+ 'name' => sprintf( __( 'Invoice %s (PDF)', 'woocommerce-pdf-invoices' ), $invoice->get_formatted_number() )
535
  );
536
 
537
  return $actions;
641
  $query_string = '?' . http_build_query( array_merge( $query_params, array( self::OPTION_ADMIN_NOTICE_KEY => '1' ) ) );
642
 
643
  echo '<div class="updated"><p>';
644
+ printf( __( "You are working with <b>WooCommerce PDF Invoices</b> for some time now. We really need your ★★★★★ rating. It will support future development big-time. A huge thanks in advance and keep up the good work! <br /> <a href='%s' target='_blank'>Yes, will do it right away!</a> - <a href='%s'>No, already done it!</a>", 'woocommerce-pdf-invoices' ), 'https://wordpress.org/support/view/plugin-reviews/woocommerce-pdf-invoices?rate=5#postform', $query_string );
645
  echo "</p></div>";
646
  }
647
  }
includes/class-bewpi-invoice.php CHANGED
@@ -45,7 +45,7 @@ if ( ! class_exists( 'BEWPI_Invoice' ) ) {
45
 
46
  public function save( $dest, $html_templates = array() ) {
47
  if ( $this->template_name == "" )
48
- wp_die( __( 'Whoops, no template found. Please select a template on the Template settings page first.', 'be-woocommerce-pdf-invoices' ) );
49
 
50
  $template_dir_name = $this->get_template_dir( $this->template_name );
51
 
45
 
46
  public function save( $dest, $html_templates = array() ) {
47
  if ( $this->template_name == "" )
48
+ wp_die( __( 'Whoops, no template found. Please select a template on the Template settings page first.', 'woocommerce-pdf-invoices' ) );
49
 
50
  $template_dir_name = $this->get_template_dir( $this->template_name );
51
 
includes/templates/invoices/global/micro/body.php CHANGED
@@ -2,13 +2,13 @@
2
  <tbody>
3
  <tr>
4
  <td class="address small-font">
5
- <b><?php _e( 'Invoice to', 'be-woocommerce-pdf-invoices' ); ?></b><br/>
6
  <?php echo $this->order->get_formatted_billing_address(); ?><br/>
7
- <?php if ( $this->order->billing_phone != "" ) printf( __( 'Phone: %s', 'be-woocommerce-pdf-invoices' ), $this->order->billing_phone ); ?>
8
  </td>
9
  <td class="address small-font">
10
  <?php if ( $this->order->get_formatted_shipping_address() != "" ) { ?>
11
- <b><?php _e( 'Ship to', 'be-woocommerce-pdf-invoices' ); ?></b><br/>
12
  <?php echo $this->order->get_formatted_shipping_address(); ?>
13
  <?php } ?>
14
  </td>
@@ -19,7 +19,7 @@
19
  <tbody>
20
  <tr>
21
  <td class="invoice-details">
22
- <h1 class="title"><?php _e( 'Global Invoice', 'be-woocommerce-pdf-invoices' ); ?></h1>
23
  <span class="number" style="color: <?php echo $this->template_options['bewpi_color_theme']; ?>;"><?php echo $this->get_formatted_number(); ?></span><br/>
24
  <span class="small-font"><?php echo $this->get_formatted_invoice_date(); ?></span><br/><br/>
25
  </td>
@@ -37,23 +37,23 @@
37
  <thead>
38
  <tr class="table-headers">
39
  <!-- Description -->
40
- <th class="align-left"><?php _e( 'Description', 'be-woocommerce-pdf-invoices' ); ?></th>
41
  <!-- SKU -->
42
  <?php
43
  if( $this->template_options['bewpi_show_sku'] ) {
44
- echo '<th class="align-left">' . __( "SKU", 'be-woocommerce-pdf-invoices') . '</th>';
45
  }
46
  ?>
47
  <!-- Cost -->
48
- <th class="align-left"><?php _e( 'Cost', 'be-woocommerce-pdf-invoices' ); ?></th>
49
  <!-- Qty -->
50
- <th class="align-left"><?php _e( 'Qty', 'be-woocommerce-pdf-invoices' ); ?></th>
51
  <!-- Tax -->
52
  <?php
53
  $order_taxes = $this->get_taxes();
54
  if ( $this->template_options['bewpi_show_tax'] && wc_tax_enabled() && empty( $legacy_order ) && ! empty( $order_taxes ) ) :
55
  foreach ( $order_taxes as $tax_id => $tax_item ) :
56
- $tax_label = __( 'VAT', 'be-woocommerce-pdf-invoices' );
57
  $column_label = ! empty( $tax_item->label ) ? $tax_item->label : $tax_label;
58
  ?>
59
  <th class="align-left">
@@ -64,7 +64,7 @@
64
  endif;
65
  ?>
66
  <!-- Total -->
67
- <th class="align-right"><?php _e( 'Total', 'be-woocommerce-pdf-invoices' ); ?></th>
68
  </tr>
69
  </thead>
70
  <!-- Products -->
@@ -72,7 +72,7 @@
72
  <?php foreach ( $this->orders as $order ) :
73
  $order = wc_get_order( $order->id ); ?>
74
  <tr>
75
- <td><strong><?php printf( __( 'Order #%d - %s', 'be-woocommerce-pdf-invoices' ), $order->get_order_number(), $this->get_formatted_order_date( $order->id ) ); ?></strong></td>
76
  </tr>
77
  <?php foreach( $order->get_items( 'line_item' ) as $item_id => $item ) :
78
  $product = wc_get_product( $item['product_id'] ); ?>
@@ -217,7 +217,7 @@
217
  <?php if( $this->template_options['bewpi_show_discount'] && $this->get_total_discount() !== 0 ) { ?>
218
  <tr class="discount after-products">
219
  <td colspan="<?php echo $this->colspan['left']; ?>"></td>
220
- <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php _e( 'Discount', 'be-woocommerce-pdf-invoices' ); ?></td>
221
  <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right"><?php echo wc_price( $this->get_total_discount(), array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
222
  </tr>
223
  <?php } ?>
@@ -225,7 +225,7 @@
225
  <?php if( $this->template_options['bewpi_show_shipping'] && (bool)$this->template_options["bewpi_shipping_taxable"] ) { ?>
226
  <tr class="shipping after-products">
227
  <td colspan="<?php echo $this->colspan['left']; ?>"></td>
228
- <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php _e( 'Shipping', 'be-woocommerce-pdf-invoices' ); ?></td>
229
  <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right"><?php echo wc_price( $this->get_total_shipping(), array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
230
  </tr>
231
  <?php } ?>
@@ -233,7 +233,7 @@
233
  <?php if( $this->template_options['bewpi_show_subtotal'] ) { ?>
234
  <tr class="subtotal after-products">
235
  <td colspan="<?php echo $this->colspan['left']; ?>"></td>
236
- <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php _e( 'Subtotal', 'be-woocommerce-pdf-invoices' ); ?></td>
237
  <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right"><?php echo wc_price( $this->get_subtotal(), array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
238
  </tr>
239
  <?php } ?>
@@ -241,7 +241,7 @@
241
  <?php if( $this->template_options['bewpi_show_shipping'] && ! (bool)$this->template_options["bewpi_shipping_taxable"] ) { ?>
242
  <tr class="shipping after-products">
243
  <td colspan="<?php echo $this->colspan['left']; ?>"></td>
244
- <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php _e( 'Shipping', 'be-woocommerce-pdf-invoices' ); ?></td>
245
  <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right"><?php echo wc_price( $this->get_total_shipping(), array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
246
  </tr>
247
  <?php } ?>
@@ -277,14 +277,14 @@
277
  <!-- Total -->
278
  <tr class="after-products">
279
  <td colspan="<?php echo $this->colspan['left']; ?>"></td>
280
- <td colspan="<?php echo $this->colspan['right_left']; ?>" class="total"><?php _e( 'Total', 'be-woocommerce-pdf-invoices' ); ?></td>
281
  <td colspan="<?php echo $this->colspan['right_right']; ?>" class="grand-total align-right" style="color: <?php echo $this->template_options['bewpi_color_theme']; ?>;"><?php echo $this->get_total(); ?></td>
282
  </tr>
283
  <!-- Refunded -->
284
  <?php if ( $this->get_total_refunded() > 0 ) { ?>
285
  <tr class="after-products">
286
  <td colspan="<?php echo $this->colspan['left']; ?>"></td>
287
- <td colspan="<?php echo $this->colspan['right_left']; ?>" class="refunded"><?php _e( 'Refunded', 'be-woocommerce-pdf-invoices' ); ?></td>
288
  <td colspan="<?php echo $this->colspan['right_right']; ?>" class="refunded align-right"><?php echo '-' . wc_price( $this->get_total_refunded(), array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
289
  </tr>
290
  <?php } ?>
2
  <tbody>
3
  <tr>
4
  <td class="address small-font">
5
+ <b><?php _e( 'Invoice to', 'woocommerce-pdf-invoices' ); ?></b><br/>
6
  <?php echo $this->order->get_formatted_billing_address(); ?><br/>
7
+ <?php if ( $this->order->billing_phone != "" ) printf( __( 'Phone: %s', 'woocommerce-pdf-invoices' ), $this->order->billing_phone ); ?>
8
  </td>
9
  <td class="address small-font">
10
  <?php if ( $this->order->get_formatted_shipping_address() != "" ) { ?>
11
+ <b><?php _e( 'Ship to', 'woocommerce-pdf-invoices' ); ?></b><br/>
12
  <?php echo $this->order->get_formatted_shipping_address(); ?>
13
  <?php } ?>
14
  </td>
19
  <tbody>
20
  <tr>
21
  <td class="invoice-details">
22
+ <h1 class="title"><?php _e( 'Global Invoice', 'woocommerce-pdf-invoices' ); ?></h1>
23
  <span class="number" style="color: <?php echo $this->template_options['bewpi_color_theme']; ?>;"><?php echo $this->get_formatted_number(); ?></span><br/>
24
  <span class="small-font"><?php echo $this->get_formatted_invoice_date(); ?></span><br/><br/>
25
  </td>
37
  <thead>
38
  <tr class="table-headers">
39
  <!-- Description -->
40
+ <th class="align-left"><?php _e( 'Description', 'woocommerce-pdf-invoices' ); ?></th>
41
  <!-- SKU -->
42
  <?php
43
  if( $this->template_options['bewpi_show_sku'] ) {
44
+ echo '<th class="align-left">' . __( "SKU", 'woocommerce-pdf-invoices') . '</th>';
45
  }
46
  ?>
47
  <!-- Cost -->
48
+ <th class="align-left"><?php _e( 'Cost', 'woocommerce-pdf-invoices' ); ?></th>
49
  <!-- Qty -->
50
+ <th class="align-left"><?php _e( 'Qty', 'woocommerce-pdf-invoices' ); ?></th>
51
  <!-- Tax -->
52
  <?php
53
  $order_taxes = $this->get_taxes();
54
  if ( $this->template_options['bewpi_show_tax'] && wc_tax_enabled() && empty( $legacy_order ) && ! empty( $order_taxes ) ) :
55
  foreach ( $order_taxes as $tax_id => $tax_item ) :
56
+ $tax_label = __( 'VAT', 'woocommerce-pdf-invoices' );
57
  $column_label = ! empty( $tax_item->label ) ? $tax_item->label : $tax_label;
58
  ?>
59
  <th class="align-left">
64
  endif;
65
  ?>
66
  <!-- Total -->
67
+ <th class="align-right"><?php _e( 'Total', 'woocommerce-pdf-invoices' ); ?></th>
68
  </tr>
69
  </thead>
70
  <!-- Products -->
72
  <?php foreach ( $this->orders as $order ) :
73
  $order = wc_get_order( $order->id ); ?>
74
  <tr>
75
+ <td><strong><?php printf( __( 'Order #%d - %s', 'woocommerce-pdf-invoices' ), $order->get_order_number(), $this->get_formatted_order_date( $order->id ) ); ?></strong></td>
76
  </tr>
77
  <?php foreach( $order->get_items( 'line_item' ) as $item_id => $item ) :
78
  $product = wc_get_product( $item['product_id'] ); ?>
217
  <?php if( $this->template_options['bewpi_show_discount'] && $this->get_total_discount() !== 0 ) { ?>
218
  <tr class="discount after-products">
219
  <td colspan="<?php echo $this->colspan['left']; ?>"></td>
220
+ <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php _e( 'Discount', 'woocommerce-pdf-invoices' ); ?></td>
221
  <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right"><?php echo wc_price( $this->get_total_discount(), array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
222
  </tr>
223
  <?php } ?>
225
  <?php if( $this->template_options['bewpi_show_shipping'] && (bool)$this->template_options["bewpi_shipping_taxable"] ) { ?>
226
  <tr class="shipping after-products">
227
  <td colspan="<?php echo $this->colspan['left']; ?>"></td>
228
+ <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php _e( 'Shipping', 'woocommerce-pdf-invoices' ); ?></td>
229
  <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right"><?php echo wc_price( $this->get_total_shipping(), array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
230
  </tr>
231
  <?php } ?>
233
  <?php if( $this->template_options['bewpi_show_subtotal'] ) { ?>
234
  <tr class="subtotal after-products">
235
  <td colspan="<?php echo $this->colspan['left']; ?>"></td>
236
+ <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php _e( 'Subtotal', 'woocommerce-pdf-invoices' ); ?></td>
237
  <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right"><?php echo wc_price( $this->get_subtotal(), array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
238
  </tr>
239
  <?php } ?>
241
  <?php if( $this->template_options['bewpi_show_shipping'] && ! (bool)$this->template_options["bewpi_shipping_taxable"] ) { ?>
242
  <tr class="shipping after-products">
243
  <td colspan="<?php echo $this->colspan['left']; ?>"></td>
244
+ <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php _e( 'Shipping', 'woocommerce-pdf-invoices' ); ?></td>
245
  <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right"><?php echo wc_price( $this->get_total_shipping(), array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
246
  </tr>
247
  <?php } ?>
277
  <!-- Total -->
278
  <tr class="after-products">
279
  <td colspan="<?php echo $this->colspan['left']; ?>"></td>
280
+ <td colspan="<?php echo $this->colspan['right_left']; ?>" class="total"><?php _e( 'Total', 'woocommerce-pdf-invoices' ); ?></td>
281
  <td colspan="<?php echo $this->colspan['right_right']; ?>" class="grand-total align-right" style="color: <?php echo $this->template_options['bewpi_color_theme']; ?>;"><?php echo $this->get_total(); ?></td>
282
  </tr>
283
  <!-- Refunded -->
284
  <?php if ( $this->get_total_refunded() > 0 ) { ?>
285
  <tr class="after-products">
286
  <td colspan="<?php echo $this->colspan['left']; ?>"></td>
287
+ <td colspan="<?php echo $this->colspan['right_left']; ?>" class="refunded"><?php _e( 'Refunded', 'woocommerce-pdf-invoices' ); ?></td>
288
  <td colspan="<?php echo $this->colspan['right_right']; ?>" class="refunded align-right"><?php echo '-' . wc_price( $this->get_total_refunded(), array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
289
  </tr>
290
  <?php } ?>
includes/templates/invoices/global/micro/footer.php CHANGED
@@ -12,7 +12,7 @@
12
  if ( $this->template_options[ 'bewpi_right_footer_column' ] !== "" ) {
13
  echo nl2br( $this->template_options['bewpi_right_footer_column'] );
14
  } else {
15
- printf( __( '%s of %s', 'be-woocommerce-pdf-invoices' ), '{PAGENO}', '{nbpg}' );
16
  }
17
  ?>
18
  </p>
12
  if ( $this->template_options[ 'bewpi_right_footer_column' ] !== "" ) {
13
  echo nl2br( $this->template_options['bewpi_right_footer_column'] );
14
  } else {
15
+ printf( __( '%s of %s', 'woocommerce-pdf-invoices' ), '{PAGENO}', '{nbpg}' );
16
  }
17
  ?>
18
  </p>
includes/templates/invoices/simple/micro/body.php CHANGED
@@ -2,13 +2,13 @@
2
  <tbody>
3
  <tr>
4
  <td class="address small-font">
5
- <b><?php _e( 'Invoice to', 'be-woocommerce-pdf-invoices' ); ?></b><br/>
6
  <?php echo $this->order->get_formatted_billing_address(); ?><br/>
7
- <?php if ( $this->order->billing_phone != "" ) printf( __( 'Phone: %s', 'be-woocommerce-pdf-invoices' ), $this->order->billing_phone ); ?>
8
  </td>
9
  <td class="address small-font">
10
  <?php if ( $this->order->get_formatted_shipping_address() != "" ) { ?>
11
- <b><?php _e( 'Ship to', 'be-woocommerce-pdf-invoices' ); ?></b><br/>
12
  <?php echo $this->order->get_formatted_shipping_address(); ?>
13
  <?php } ?>
14
  </td>
@@ -19,11 +19,11 @@
19
  <tbody>
20
  <tr>
21
  <td class="invoice-details">
22
- <h1 class="title"><?php _e( 'Invoice', 'be-woocommerce-pdf-invoices' ); ?></h1>
23
  <span class="number" style="color: <?php echo $this->template_options['bewpi_color_theme']; ?>;"><?php echo $this->get_formatted_number(); ?></span><br/>
24
  <span class="small-font"><?php echo $this->get_formatted_invoice_date(); ?></span><br/><br/>
25
- <span class="small-font"><?php printf( __( 'Order Number: %s', 'be-woocommerce-pdf-invoices' ), $this->order->get_order_number() ); ?></span><br/>
26
- <span class="small-font"><?php printf( __( 'Order Date: %s', 'be-woocommerce-pdf-invoices' ), $this->get_formatted_order_date() ); ?></span><br/><br/>
27
  </td>
28
  <td class="total-amount" bgcolor="<?php echo $this->template_options['bewpi_color_theme']; ?>">
29
  <span>
@@ -39,23 +39,23 @@
39
  <thead>
40
  <tr class="table-headers">
41
  <!-- Description -->
42
- <th class="align-left"><?php _e( 'Description', 'be-woocommerce-pdf-invoices' ); ?></th>
43
  <!-- SKU -->
44
  <?php
45
  if( $this->template_options['bewpi_show_sku'] ) {
46
- echo '<th class="align-left">' . __( "SKU", 'be-woocommerce-pdf-invoices' ) . '</th>';
47
  }
48
  ?>
49
  <!-- Cost -->
50
- <th class="align-left"><?php _e( 'Cost', 'be-woocommerce-pdf-invoices' ); ?></th>
51
  <!-- Qty -->
52
- <th class="align-left"><?php _e( 'Qty', 'be-woocommerce-pdf-invoices' ); ?></th>
53
  <!-- Tax -->
54
  <?php
55
  $order_taxes = $this->order->get_taxes();
56
  if ( $this->template_options['bewpi_show_tax'] && wc_tax_enabled() && empty( $legacy_order ) && ! empty( $order_taxes ) ) :
57
  foreach ( $order_taxes as $tax_id => $tax_item ) :
58
- $tax_label = __( 'VAT', 'be-woocommerce-pdf-invoices' );
59
  $column_label = ! empty( $tax_item['label'] ) ? $tax_item['label'] : $tax_label;
60
  ?>
61
  <th class="align-left">
@@ -66,10 +66,92 @@
66
  endif;
67
  ?>
68
  <!-- Total -->
69
- <th class="align-right"><?php _e( 'Total', 'be-woocommerce-pdf-invoices' ); ?></th>
70
  </tr>
71
  </thead>
72
  <!-- Products -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  <tbody>
74
  <?php foreach( $this->order->get_items( 'line_item' ) as $item_id => $item ) {
75
  $product = wc_get_product( $item['product_id'] ); ?>
@@ -192,89 +274,7 @@
192
  </td>
193
  </tr>
194
  <?php } ?>
195
- <!-- Space -->
196
- <tr class="space">
197
- <td colspan="<?php echo $this->columns_count; ?>"></td>
198
- </tr>
199
  </tbody>
200
- <tfoot>
201
- <!-- Table footers -->
202
- <!-- Discount -->
203
- <?php if( $this->template_options['bewpi_show_discount'] && $this->order->get_total_discount() !== 0.00 ) { ?>
204
- <tr class="discount after-products">
205
- <td colspan="<?php echo $this->colspan['left']; ?>"></td>
206
- <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php _e( 'Discount', 'be-woocommerce-pdf-invoices' ); ?></td>
207
- <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right"><?php echo wc_price( $this->order->get_total_discount(), array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
208
- </tr>
209
- <?php } ?>
210
- <!-- Shipping -->
211
- <?php if( $this->template_options['bewpi_show_shipping'] && (bool)$this->template_options["bewpi_shipping_taxable"] ) { ?>
212
- <tr class="shipping after-products">
213
- <td colspan="<?php echo $this->colspan['left']; ?>"></td>
214
- <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php _e( 'Shipping', 'be-woocommerce-pdf-invoices' ); ?></td>
215
- <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right"><?php echo wc_price( $this->order->get_total_shipping(), array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
216
- </tr>
217
- <?php } ?>
218
- <!-- Subtotal -->
219
- <?php if( $this->template_options['bewpi_show_subtotal'] ) { ?>
220
- <tr class="subtotal after-products">
221
- <td colspan="<?php echo $this->colspan['left']; ?>"></td>
222
- <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php _e( 'Subtotal', 'be-woocommerce-pdf-invoices' ); ?></td>
223
- <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right"><?php echo wc_price( $this->get_subtotal(), array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
224
- </tr>
225
- <?php } ?>
226
- <!-- Shipping -->
227
- <?php if( $this->template_options['bewpi_show_shipping'] && ! (bool)$this->template_options["bewpi_shipping_taxable"] ) { ?>
228
- <tr class="shipping after-products">
229
- <td colspan="<?php echo $this->colspan['left']; ?>"></td>
230
- <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php _e( 'Shipping', 'be-woocommerce-pdf-invoices' ); ?></td>
231
- <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right"><?php echo wc_price( $this->order->get_total_shipping(), array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
232
- </tr>
233
- <?php } ?>
234
- <!-- Fees -->
235
- <?php
236
- $line_items_fee = $this->order->get_items( 'fee' );
237
- foreach ( $line_items_fee as $item_id => $item ) :
238
- ?>
239
- <tr class="after-products">
240
- <td colspan="<?php echo $this->colspan['left']; ?>"></td>
241
- <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php echo ! empty( $item['name'] ) ? esc_html( $item['name'] ) : __( 'Fee', 'woocommerce' ); ?></td>
242
- <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right">
243
- <?php
244
- echo ( isset( $item['line_total'] ) ) ? wc_price( wc_round_tax_total( $item['line_total'] ) ) : '';
245
-
246
- if ( $refunded = $this->order->get_total_refunded_for_item( $item_id, 'fee' ) ) {
247
- echo '<br/><small class="refunded">-' . wc_price( $refunded, array( 'currency' => $this->order->get_order_currency() ) ) . '</small>';
248
- }
249
- ?>
250
- </td>
251
- </tr>
252
- <?php endforeach; ?>
253
- <!-- Tax -->
254
- <?php if( $this->template_options['bewpi_show_tax_total'] && wc_tax_enabled() ) :
255
- foreach ( $this->order->get_tax_totals() as $code => $tax ) : ?>
256
- <tr class="after-products">
257
- <td colspan="<?php echo $this->colspan['left']; ?>"></td>
258
- <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php echo $tax->label; ?></td>
259
- <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right"><?php echo $tax->formatted_amount; ?></td>
260
- </tr>
261
- <?php endforeach; ?>
262
- <?php endif; ?>
263
- <!-- Total -->
264
- <tr class="after-products">
265
- <td colspan="<?php echo $this->colspan['left']; ?>"></td>
266
- <td colspan="<?php echo $this->colspan['right_left']; ?>" class="total"><?php _e( 'Total', 'be-woocommerce-pdf-invoices' ); ?></td>
267
- <td colspan="<?php echo $this->colspan['right_right']; ?>" class="grand-total align-right" style="color: <?php echo $this->template_options['bewpi_color_theme']; ?>;"><?php echo $this->get_total(); ?></td>
268
- </tr>
269
- <!-- Refunded -->
270
- <?php if ( $this->order->get_total_refunded() > 0 ) { ?>
271
- <tr class="after-products">
272
- <td colspan="<?php echo $this->colspan['left']; ?>"></td>
273
- <td colspan="<?php echo $this->colspan['right_left']; ?>" class="refunded"><?php _e( 'Refunded', 'be-woocommerce-pdf-invoices' ); ?></td>
274
- <td colspan="<?php echo $this->colspan['right_right']; ?>" class="refunded align-right"><?php echo '-' . wc_price( $this->order->get_total_refunded(), array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
275
- </tr>
276
- <?php } ?>
277
- </tfoot>
278
  </table>
279
  <table id="terms-notes">
280
  <!-- Notes & terms -->
@@ -285,12 +285,12 @@
285
  if ( $this->template_options['bewpi_show_customer_notes'] ) :
286
  // Note added by customer.
287
  if ( $this->order->post->post_excerpt != "" ) {
288
- echo '<p><strong>' . __( 'Customer note', 'be-woocommerce-pdf-invoices' ) . ' </strong> ' . $this->order->post->post_excerpt . '</p>';
289
  }
290
  // Notes added by administrator on order details page.
291
  $customer_order_notes = $this->order->get_customer_order_notes();
292
  if ( count( $customer_order_notes ) > 0 ) {
293
- echo '<p><strong>' . __('Customer note', 'be-woocommerce-pdf-invoices') . ' </strong>' . $customer_order_notes[0]->comment_content . '</p>';
294
  }
295
  endif;
296
  ?>
2
  <tbody>
3
  <tr>
4
  <td class="address small-font">
5
+ <b><?php _e( 'Invoice to', 'woocommerce-pdf-invoices' ); ?></b><br/>
6
  <?php echo $this->order->get_formatted_billing_address(); ?><br/>
7
+ <?php if ( $this->order->billing_phone != "" ) printf( __( 'Phone: %s', 'woocommerce-pdf-invoices' ), $this->order->billing_phone ); ?>
8
  </td>
9
  <td class="address small-font">
10
  <?php if ( $this->order->get_formatted_shipping_address() != "" ) { ?>
11
+ <b><?php _e( 'Ship to', 'woocommerce-pdf-invoices' ); ?></b><br/>
12
  <?php echo $this->order->get_formatted_shipping_address(); ?>
13
  <?php } ?>
14
  </td>
19
  <tbody>
20
  <tr>
21
  <td class="invoice-details">
22
+ <h1 class="title"><?php _e( 'Invoice', 'woocommerce-pdf-invoices' ); ?></h1>
23
  <span class="number" style="color: <?php echo $this->template_options['bewpi_color_theme']; ?>;"><?php echo $this->get_formatted_number(); ?></span><br/>
24
  <span class="small-font"><?php echo $this->get_formatted_invoice_date(); ?></span><br/><br/>
25
+ <span class="small-font"><?php printf( __( 'Order Number: %s', 'woocommerce-pdf-invoices' ), $this->order->get_order_number() ); ?></span><br/>
26
+ <span class="small-font"><?php printf( __( 'Order Date: %s', 'woocommerce-pdf-invoices' ), $this->get_formatted_order_date() ); ?></span><br/><br/>
27
  </td>
28
  <td class="total-amount" bgcolor="<?php echo $this->template_options['bewpi_color_theme']; ?>">
29
  <span>
39
  <thead>
40
  <tr class="table-headers">
41
  <!-- Description -->
42
+ <th class="align-left"><?php _e( 'Description', 'woocommerce-pdf-invoices' ); ?></th>
43
  <!-- SKU -->
44
  <?php
45
  if( $this->template_options['bewpi_show_sku'] ) {
46
+ echo '<th class="align-left">' . __( "SKU", 'woocommerce-pdf-invoices' ) . '</th>';
47
  }
48
  ?>
49
  <!-- Cost -->
50
+ <th class="align-left"><?php _e( 'Cost', 'woocommerce-pdf-invoices' ); ?></th>
51
  <!-- Qty -->
52
+ <th class="align-left"><?php _e( 'Qty', 'woocommerce-pdf-invoices' ); ?></th>
53
  <!-- Tax -->
54
  <?php
55
  $order_taxes = $this->order->get_taxes();
56
  if ( $this->template_options['bewpi_show_tax'] && wc_tax_enabled() && empty( $legacy_order ) && ! empty( $order_taxes ) ) :
57
  foreach ( $order_taxes as $tax_id => $tax_item ) :
58
+ $tax_label = __( 'VAT', 'woocommerce-pdf-invoices' );
59
  $column_label = ! empty( $tax_item['label'] ) ? $tax_item['label'] : $tax_label;
60
  ?>
61
  <th class="align-left">
66
  endif;
67
  ?>
68
  <!-- Total -->
69
+ <th class="align-right"><?php _e( 'Total', 'woocommerce-pdf-invoices' ); ?></th>
70
  </tr>
71
  </thead>
72
  <!-- Products -->
73
+ <tfoot>
74
+ <!-- Space -->
75
+ <tr class="space">
76
+ <td colspan="<?php echo $this->columns_count; ?>"></td>
77
+ </tr>
78
+ <!-- Table footers -->
79
+ <!-- Discount -->
80
+ <?php if( $this->template_options['bewpi_show_discount'] && $this->order->get_total_discount() !== 0.00 ) { ?>
81
+ <tr class="discount after-products">
82
+ <td colspan="<?php echo $this->colspan['left']; ?>"></td>
83
+ <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php _e( 'Discount', 'woocommerce-pdf-invoices' ); ?></td>
84
+ <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right"><?php echo wc_price( $this->order->get_total_discount(), array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
85
+ </tr>
86
+ <?php } ?>
87
+ <!-- Shipping -->
88
+ <?php if( $this->template_options['bewpi_show_shipping'] && (bool)$this->template_options["bewpi_shipping_taxable"] ) { ?>
89
+ <tr class="shipping after-products">
90
+ <td colspan="<?php echo $this->colspan['left']; ?>"></td>
91
+ <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php _e( 'Shipping', 'woocommerce-pdf-invoices' ); ?></td>
92
+ <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right"><?php echo wc_price( $this->order->get_total_shipping(), array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
93
+ </tr>
94
+ <?php } ?>
95
+ <!-- Subtotal -->
96
+ <?php if( $this->template_options['bewpi_show_subtotal'] ) { ?>
97
+ <tr class="subtotal after-products">
98
+ <td colspan="<?php echo $this->colspan['left']; ?>"></td>
99
+ <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php _e( 'Subtotal', 'woocommerce-pdf-invoices' ); ?></td>
100
+ <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right"><?php echo wc_price( $this->get_subtotal(), array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
101
+ </tr>
102
+ <?php } ?>
103
+ <!-- Shipping -->
104
+ <?php if( $this->template_options['bewpi_show_shipping'] && ! (bool)$this->template_options["bewpi_shipping_taxable"] ) { ?>
105
+ <tr class="shipping after-products">
106
+ <td colspan="<?php echo $this->colspan['left']; ?>"></td>
107
+ <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php _e( 'Shipping', 'woocommerce-pdf-invoices' ); ?></td>
108
+ <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right"><?php echo wc_price( $this->order->get_total_shipping(), array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
109
+ </tr>
110
+ <?php } ?>
111
+ <!-- Fees -->
112
+ <?php
113
+ $line_items_fee = $this->order->get_items( 'fee' );
114
+ foreach ( $line_items_fee as $item_id => $item ) :
115
+ ?>
116
+ <tr class="after-products">
117
+ <td colspan="<?php echo $this->colspan['left']; ?>"></td>
118
+ <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php echo ! empty( $item['name'] ) ? esc_html( $item['name'] ) : __( 'Fee', 'woocommerce' ); ?></td>
119
+ <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right">
120
+ <?php
121
+ echo ( isset( $item['line_total'] ) ) ? wc_price( wc_round_tax_total( $item['line_total'] ) ) : '';
122
+
123
+ if ( $refunded = $this->order->get_total_refunded_for_item( $item_id, 'fee' ) ) {
124
+ echo '<br/><small class="refunded">-' . wc_price( $refunded, array( 'currency' => $this->order->get_order_currency() ) ) . '</small>';
125
+ }
126
+ ?>
127
+ </td>
128
+ </tr>
129
+ <?php endforeach; ?>
130
+ <!-- Tax -->
131
+ <?php if( $this->template_options['bewpi_show_tax_total'] && wc_tax_enabled() ) :
132
+ foreach ( $this->order->get_tax_totals() as $code => $tax ) : ?>
133
+ <tr class="after-products">
134
+ <td colspan="<?php echo $this->colspan['left']; ?>"></td>
135
+ <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php echo $tax->label; ?></td>
136
+ <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right"><?php echo $tax->formatted_amount; ?></td>
137
+ </tr>
138
+ <?php endforeach; ?>
139
+ <?php endif; ?>
140
+ <!-- Total -->
141
+ <tr class="after-products">
142
+ <td colspan="<?php echo $this->colspan['left']; ?>"></td>
143
+ <td colspan="<?php echo $this->colspan['right_left']; ?>" class="total"><?php _e( 'Total', 'woocommerce-pdf-invoices' ); ?></td>
144
+ <td colspan="<?php echo $this->colspan['right_right']; ?>" class="grand-total align-right" style="color: <?php echo $this->template_options['bewpi_color_theme']; ?>;"><?php echo $this->get_total(); ?></td>
145
+ </tr>
146
+ <!-- Refunded -->
147
+ <?php if ( $this->order->get_total_refunded() > 0 ) { ?>
148
+ <tr class="after-products">
149
+ <td colspan="<?php echo $this->colspan['left']; ?>"></td>
150
+ <td colspan="<?php echo $this->colspan['right_left']; ?>" class="refunded"><?php _e( 'Refunded', 'woocommerce-pdf-invoices' ); ?></td>
151
+ <td colspan="<?php echo $this->colspan['right_right']; ?>" class="refunded align-right"><?php echo '-' . wc_price( $this->order->get_total_refunded(), array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
152
+ </tr>
153
+ <?php } ?>
154
+ </tfoot>
155
  <tbody>
156
  <?php foreach( $this->order->get_items( 'line_item' ) as $item_id => $item ) {
157
  $product = wc_get_product( $item['product_id'] ); ?>
274
  </td>
275
  </tr>
276
  <?php } ?>
 
 
 
 
277
  </tbody>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
278
  </table>
279
  <table id="terms-notes">
280
  <!-- Notes & terms -->
285
  if ( $this->template_options['bewpi_show_customer_notes'] ) :
286
  // Note added by customer.
287
  if ( $this->order->post->post_excerpt != "" ) {
288
+ echo '<p><strong>' . __( 'Customer note', 'woocommerce-pdf-invoices' ) . ' </strong> ' . $this->order->post->post_excerpt . '</p>';
289
  }
290
  // Notes added by administrator on order details page.
291
  $customer_order_notes = $this->order->get_customer_order_notes();
292
  if ( count( $customer_order_notes ) > 0 ) {
293
+ echo '<p><strong>' . __('Customer note', 'woocommerce-pdf-invoices') . ' </strong>' . $customer_order_notes[0]->comment_content . '</p>';
294
  }
295
  endif;
296
  ?>
includes/templates/invoices/simple/micro/footer.php CHANGED
@@ -15,7 +15,7 @@
15
  $this->order->payment_method_title,
16
  $this->template_options['bewpi_right_footer_column'] ) );
17
  } else {
18
- printf( __( '%s of %s', 'be-woocommerce-pdf-invoices' ), '{PAGENO}', '{nbpg}' );
19
  }
20
  ?>
21
  </p>
15
  $this->order->payment_method_title,
16
  $this->template_options['bewpi_right_footer_column'] ) );
17
  } else {
18
+ printf( __( '%s of %s', 'woocommerce-pdf-invoices' ), '{PAGENO}', '{nbpg}' );
19
  }
20
  ?>
21
  </p>
includes/templates/invoices/simple/micro/style.css CHANGED
@@ -1,4 +1,4 @@
1
- div, table, td, tr, tfoot, tbody, thead, span, h1, h2, h3, h4 {
2
  /*border: 1px solid black;*/
3
  }
4
  h1.company-logo {
1
+ div, table, td, tr, tfoot, tbody, thead, span, h1, h2, h3, h4, img {
2
  /*border: 1px solid black;*/
3
  }
4
  h1.company-logo {
lang/be-woocommerce-pdf-invoices-de_DE.mo DELETED
Binary file
lang/be-woocommerce-pdf-invoices-de_DE.po DELETED
@@ -1,431 +0,0 @@
1
- # Copyright (C) 2015 WooCommerce PDF Invoices
2
- # This file is distributed under the same license as the WooCommerce PDF Invoices package.
3
- msgid ""
4
- msgstr ""
5
- "Project-Id-Version: WooCommerce PDF Invoices 2.3.6\n"
6
- "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-pdf-invoices\n"
7
- "POT-Creation-Date: 2015-09-27 18:52:53+00:00\n"
8
- "MIME-Version: 1.0\n"
9
- "Content-Type: text/plain; charset=UTF-8\n"
10
- "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2015-10-28 21:04+0100\n"
12
- "Language-Team: kiweno <georg@kiweno.com>\n"
13
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
14
- "Language: de_DE\n"
15
- "X-Generator: Poedit 1.8.2\n"
16
- "X-Poedit-Basepath: C:/wamp/www/wordpress/wp-content/plugins/woocommerce-pdf-invoices\n"
17
- "Last-Translator: \n"
18
- "X-Poedit-SourceCharset: UTF-8\n"
19
-
20
- #: includes/abstracts/abstract-bewpi-document.php:69
21
- msgid "Paid"
22
- msgstr "Bezahlt"
23
-
24
- #: includes/abstracts/abstract-bewpi-setting.php:87
25
- msgid "Feel free to use "
26
- msgstr "Nach belieben"
27
-
28
- #: includes/abstracts/abstract-bewpi-setting.php:155
29
- msgid "Remove Logo"
30
- msgstr "Logo entfernen"
31
-
32
- #: includes/admin/settings/class-bewpi-admin-settings-general.php:84
33
- msgid "Attach to Email"
34
- msgstr "Zur E-Mail hinzufügen"
35
-
36
- #: includes/admin/settings/class-bewpi-admin-settings-general.php:92
37
- msgid "Processing order"
38
- msgstr "Bestellung wird bearbeitet"
39
-
40
- #: includes/admin/settings/class-bewpi-admin-settings-general.php:96
41
- msgid "Completed order"
42
- msgstr "Fertiggestellte Bestellung"
43
-
44
- #: includes/admin/settings/class-bewpi-admin-settings-general.php:100
45
- msgid "Customer invoice"
46
- msgstr "Rechnung"
47
-
48
- #: includes/admin/settings/class-bewpi-admin-settings-general.php:114
49
- msgid "Attach to New order Email"
50
- msgstr "Zu neuer Bestellungs-E-Mail hinzufügen"
51
-
52
- #: includes/admin/settings/class-bewpi-admin-settings-general.php:126
53
- msgid "Enable Email It In"
54
- msgstr "Aktiviere Email It In"
55
-
56
- #: includes/admin/settings/class-bewpi-admin-settings-general.php:134
57
- msgid "Email It In account"
58
- msgstr "Email It In Account"
59
-
60
- #: includes/admin/settings/class-bewpi-admin-settings-general.php:139
61
- msgid "Get your account from your Email It In %suser account%s."
62
- msgstr "Hol dir deinen Account über deinen Email It In %suser account%s."
63
-
64
- #: includes/admin/settings/class-bewpi-admin-settings-general.php:152
65
- msgid "Email Options"
66
- msgstr "E-Mail Optionen"
67
-
68
- #: includes/admin/settings/class-bewpi-admin-settings-general.php:158
69
- msgid "Cloud Storage Options"
70
- msgstr "Cloud Storage Optionen"
71
-
72
- #: includes/admin/settings/class-bewpi-admin-settings-general.php:165
73
- msgid ""
74
- "Signup at %s to send invoices to your Dropbox, OneDrive, Google Drive or Egnyte and "
75
- "enter your account below."
76
- msgstr ""
77
- "Logge dich unter %s ein um Rechnungen an Dropbox, OneDrive, Google Drive oder Egnyte zu "
78
- "senden und gib entsprechende Accounts unten an."
79
-
80
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:87
81
- #: includes/be-woocommerce-pdf-invoices.php:248
82
- msgid "Template"
83
- msgstr "Template"
84
-
85
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:99
86
- msgid "Color theme"
87
- msgstr "Farbschema"
88
-
89
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:110
90
- msgid "Date format"
91
- msgstr "Datumsformat"
92
-
93
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:115
94
- msgid "%sFormat%s of invoice date and order date."
95
- msgstr "%sFormat%s von Rechnungs- und Bestellungsdatum"
96
-
97
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:130
98
- msgid "Display prices including tax"
99
- msgstr "Zeige Preis inkl. USt."
100
-
101
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:142
102
- msgid "Mark invoice as paid"
103
- msgstr "Markiere Rechnung als bezahlt"
104
-
105
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:143
106
- msgid "Invoice will be watermarked when order has been paid."
107
- msgstr ""
108
- "Die Rechnung wird mit einem Wasserzeichen versehen, wenn die Bestellung bezahlt wurde."
109
-
110
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:151
111
- msgid "Company name"
112
- msgstr "Firmenname"
113
-
114
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:162
115
- msgid "Company logo"
116
- msgstr "Firmenlogo"
117
-
118
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:167
119
- msgid ""
120
- "<b>Note</b>: If your logo doesn't show up, try to enable <code>allow_url_fopen</code>."
121
- msgstr ""
122
- "<b>Note</b>: If your logo doesn't show up, try to enable <code>allow_url_fopen</code>."
123
-
124
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:173
125
- msgid "Company address"
126
- msgstr "Firmenadresse"
127
-
128
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:184
129
- msgid "Company details"
130
- msgstr "Firmendetails"
131
-
132
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:195
133
- msgid "Intro text"
134
- msgstr "Intro"
135
-
136
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:207
137
- msgid "Terms & conditions, policies etc."
138
- msgstr "AGBs, Regelungen, etc."
139
-
140
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:223
141
- msgid "Show customer notes"
142
- msgstr "Kundeninformationen anzeigen"
143
-
144
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:231
145
- msgid "Type"
146
- msgstr "Typ"
147
-
148
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:239
149
- msgid "WooCommerce order number"
150
- msgstr "WooCommerce Bestellnummer"
151
-
152
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:243
153
- msgid "Sequential number"
154
- msgstr "Rechnungsnummer"
155
-
156
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:257
157
- msgid "Reset invoice counter"
158
- msgstr "Rechnungs-Counter zurücksetzen"
159
-
160
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:267
161
- msgid "Next"
162
- msgstr "Nächste(s)"
163
-
164
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:272
165
- msgid ""
166
- "Reset the invoice counter and start with next invoice number. %s %sNote:%s Only "
167
- "available with sequential numbering type and you need to check the checkbox to actually "
168
- "reset the value."
169
- msgstr ""
170
- "Rechnungs-Counter zurücksetzen und mit nächster Rechnungsnummer starten. %s %sHinweis:"
171
- "%s Nur bei laufender Durchnummerierung verfügbar; es muss die „Zurücksetzen“-Checkbox "
172
- "selektiert sein."
173
-
174
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:281
175
- msgid "Digits"
176
- msgstr "Zeichen"
177
-
178
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:297
179
- msgid "[prefix]"
180
- msgstr "[prefix]"
181
-
182
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:308
183
- msgid "[suffix]"
184
- msgstr "[suffix]"
185
-
186
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:319
187
- msgid "Format"
188
- msgstr "Format"
189
-
190
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:324
191
- msgid ""
192
- "Feel free to use the placeholders %s %s %s %s %s and %s. %s %sNote:%s %s is required."
193
- msgstr "Verfügbare Platzhalter %s %s %s %s %s und %s. %s %sHinweis:%s %s ist notwendig."
194
-
195
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:338
196
- msgid "Reset on 1st of january"
197
- msgstr "Am 1. Jänner zurücksetzen"
198
-
199
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:351
200
- #: includes/templates/invoices/global/micro/body.php:10
201
- #: includes/templates/invoices/simple/micro/body.php:8
202
- msgid "SKU"
203
- msgstr "Art.-Nr.:"
204
-
205
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:363
206
- #: includes/templates/invoices/global/micro/body.php:184
207
- #: includes/templates/invoices/global/micro/body.php:208
208
- #: includes/templates/invoices/simple/micro/body.php:164
209
- #: includes/templates/invoices/simple/micro/body.php:188
210
- msgid "Subtotal"
211
- msgstr "Zwischensumme"
212
-
213
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:375
214
- msgid "Tax"
215
- msgstr "Steuer"
216
-
217
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:387
218
- #: includes/templates/invoices/global/micro/body.php:192
219
- #: includes/templates/invoices/simple/micro/body.php:172
220
- msgid "Discount"
221
- msgstr "Rabatt"
222
-
223
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:399
224
- #: includes/templates/invoices/global/micro/body.php:200
225
- #: includes/templates/invoices/simple/micro/body.php:180
226
- msgid "Shipping"
227
- msgstr "Versand"
228
-
229
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:413
230
- msgid "General Options"
231
- msgstr "Optionen"
232
-
233
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:419
234
- msgid "Invoice Number Options"
235
- msgstr "Rechnungsnummer"
236
-
237
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:425
238
- msgid "Header Options"
239
- msgstr "Kopfzeile"
240
-
241
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:431
242
- msgid "Footer Options"
243
- msgstr "Fußzeile"
244
-
245
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:437
246
- msgid "Visible Columns"
247
- msgstr "Sichtbare Spalten"
248
-
249
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:443
250
- msgid "These are the general template options."
251
- msgstr "Generelle Template Optionen"
252
-
253
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:444
254
- msgid "These are the invoice number options."
255
- msgstr "Optionen zur Rechnungsnummer"
256
-
257
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:447
258
- msgid "Enable or disable the columns."
259
- msgstr "Spalten ein-/ausschalten"
260
-
261
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:517
262
- msgid "File is invalid and contains either '..' or './'."
263
- msgstr "Datei ist fehlerhaft oder enthält '..' oder './'."
264
-
265
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:524
266
- msgid "File is invalid and contains ':' after the first character."
267
- msgstr "Datei ist fehlerhaft oder enthält ':' nach dem ersten Zeichen."
268
-
269
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:533
270
- msgid "File should be less then 2MB."
271
- msgstr "Datei muss <2MB sein."
272
-
273
- #: includes/be-woocommerce-pdf-invoices.php:247
274
- msgid "General"
275
- msgstr "Allgemein"
276
-
277
- #: includes/be-woocommerce-pdf-invoices.php:270
278
- msgid "Invoices"
279
- msgstr "Rechnungen"
280
-
281
- #: includes/be-woocommerce-pdf-invoices.php:378
282
- msgid "PDF Invoice"
283
- msgstr "PDF Rechnungen"
284
-
285
- #: includes/be-woocommerce-pdf-invoices.php:404
286
- msgid "Invoiced on:"
287
- msgstr "Datiert mit:"
288
-
289
- #: includes/be-woocommerce-pdf-invoices.php:408
290
- msgid "Invoice number:"
291
- msgstr "Rechnungsnummer:"
292
-
293
- #: includes/be-woocommerce-pdf-invoices.php:446
294
- msgid "View invoice"
295
- msgstr "Rechnung anzeigen"
296
-
297
- #: includes/be-woocommerce-pdf-invoices.php:446
298
- msgid "View"
299
- msgstr "Anzeigen"
300
-
301
- #: includes/be-woocommerce-pdf-invoices.php:447
302
- msgid "Cancel invoice"
303
- msgstr "Rechnung zurückziehen"
304
-
305
- #: includes/be-woocommerce-pdf-invoices.php:447
306
- msgid "Cancel"
307
- msgstr "Abbrechen"
308
-
309
- #: includes/be-woocommerce-pdf-invoices.php:449
310
- msgid "Are you sure to delete the invoice?"
311
- msgstr "Rechnung wirklich löschen?"
312
-
313
- #: includes/be-woocommerce-pdf-invoices.php:452
314
- msgid "Create invoice"
315
- msgstr "Rechnung erstellen"
316
-
317
- #: includes/be-woocommerce-pdf-invoices.php:452
318
- msgid "Create"
319
- msgstr "Erstellen"
320
-
321
- #: includes/be-woocommerce-pdf-invoices.php:485
322
- msgid "Invoice %s (PDF)"
323
- msgstr "Rechnung %s (PDF)"
324
-
325
- #: includes/be-woocommerce-pdf-invoices.php:564
326
- msgid ""
327
- "Fantastic! You are working with <b>WooCommerce PDF Invoices</b> for some time now. We "
328
- "really need your ★★★★★ rating. It will support future development big-time! A huge "
329
- "thank you in advance! <br /> <a href='%s' target='_blank'>Yes, will do it right away!</"
330
- "a> - <a href='%s'>No, already done it!</a>"
331
- msgstr ""
332
- "Fantastic! You are working with <b>WooCommerce PDF Invoices</b> for some time now. We "
333
- "really need your ★★★★★ rating. It will support future development big-time! A huge "
334
- "thank you in advance! <br /> <a href='%s' target='_blank'>Yes, will do it right away!</"
335
- "a> - <a href='%s'>No, already done it!</a>"
336
-
337
- #: includes/be-woocommerce-pdf-invoices.php:575
338
- msgid "Generate global invoice"
339
- msgstr "Weltweite Rechnung erstellen"
340
-
341
- #: includes/templates/invoices/global/micro/body.php:6
342
- #: includes/templates/invoices/simple/micro/body.php:5
343
- msgid "Description"
344
- msgstr "Artikelbeschreibung"
345
-
346
- #: includes/templates/invoices/global/micro/body.php:14
347
- #: includes/templates/invoices/simple/micro/body.php:11
348
- msgid "Cost"
349
- msgstr "Kosten"
350
-
351
- #: includes/templates/invoices/global/micro/body.php:16
352
- #: includes/templates/invoices/simple/micro/body.php:12
353
- msgid "Qty"
354
- msgstr "Menge"
355
-
356
- #: includes/templates/invoices/global/micro/body.php:22
357
- #: includes/templates/invoices/simple/micro/body.php:19
358
- msgid "VAT"
359
- msgstr "MwSt."
360
-
361
- #: includes/templates/invoices/global/micro/body.php:33
362
- #: includes/templates/invoices/global/micro/body.php:244
363
- #: includes/templates/invoices/simple/micro/body.php:30
364
- #: includes/templates/invoices/simple/micro/body.php:224
365
- msgid "Total"
366
- msgstr "Summe"
367
-
368
- #: includes/templates/invoices/global/micro/body.php:41
369
- msgid "Order #%d - %s"
370
- msgstr "Bestellung #%d - %s"
371
-
372
- #: includes/templates/invoices/global/micro/body.php:219
373
- #: includes/templates/invoices/simple/micro/body.php:199
374
- msgid "Fee"
375
- msgstr "Gebühr"
376
-
377
- #: includes/templates/invoices/global/micro/body.php:251
378
- #: includes/templates/invoices/simple/micro/body.php:231
379
- msgid "Refunded"
380
- msgstr "Rückerstattet"
381
-
382
- #: includes/templates/invoices/global/micro/header.php:13
383
- #: includes/templates/invoices/simple/micro/header.php:13
384
- msgid "Invoice to"
385
- msgstr "Rechnung an"
386
-
387
- #: includes/templates/invoices/global/micro/header.php:18
388
- #: includes/templates/invoices/simple/micro/header.php:18
389
- msgid "Ship to"
390
- msgstr "Versand nach"
391
-
392
- #: includes/templates/invoices/global/micro/header.php:28
393
- msgid "Global Invoice"
394
- msgstr "Weltweite Rechnung"
395
-
396
- #: includes/templates/invoices/simple/micro/footer.php:9
397
- #: includes/templates/invoices/simple/micro/footer.php:13
398
- msgid "Customer note"
399
- msgstr "Anmerkung des Kunden"
400
-
401
- #: includes/templates/invoices/simple/micro/footer.php:21
402
- msgid "%sPayment%s via"
403
- msgstr "%sZahlung%s via"
404
-
405
- #: includes/templates/invoices/simple/micro/header.php:28
406
- msgid "Invoice"
407
- msgstr "Rechnung"
408
-
409
- #: includes/templates/invoices/simple/micro/header.php:31
410
- msgid "Order Number: %s"
411
- msgstr "Bestellnummer: %s"
412
-
413
- #: includes/templates/invoices/simple/micro/header.php:32
414
- msgid "Order Date: %s"
415
- msgstr "Bestelldatum: %s"
416
-
417
- #. Plugin Name of the plugin/theme
418
- msgid "WooCommerce PDF Invoices"
419
- msgstr "WooCommerce PDF Invoices"
420
-
421
- #. Description of the plugin/theme
422
- msgid ""
423
- "Automatically or manually create and send PDF Invoices for WooCommerce orders and "
424
- "connect with Dropbox, Google Drive, OneDrive or Egnyte."
425
- msgstr ""
426
- "Automatically or manually create and send PDF Invoices for WooCommerce orders and "
427
- "connect with Dropbox, Google Drive, OneDrive or Egnyte."
428
-
429
- #. Author of the plugin/theme
430
- msgid "baaaaas"
431
- msgstr "baaaaas"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lang/be-woocommerce-pdf-invoices-sk_SK.mo DELETED
@@ -1,42 +0,0 @@
1
- Þ• ƒ 4 ³ L * " D M _ ’ ò U r x c Œ b ð # S
2
- w
3
-
4
- ¡
5
- ®
6
- µ
7
- Ä
8
- Ú
9
- æ
10
- ö
11
- 0 { 5 l ± % 4
12
- E S _ k r { ˜ ” ¹ : N * ‰
13
- ´ Â Ë Ü
14
- ð þ 7 . V … ; ‰ 1 Å ÷ $ + F N 8 ^ — ¦ € µ 6 > O f
15
- v 5  M · $ # @ d ‘ x
16
-
17
- * / N ] l } ‰ Ž ˜   ± µ ¾ Ê Ü ò
18
- / 3 E N V _ p m „ ò û
19
-
20
- ( ! 1 S p )  * © ' Ô % ü Œ " ¯ µ º
21
- ¾ É Î × ä e ô X Z ³ @ Ì z
22
- ˆ 1  C  _ f  \  ì õ i ^ x + × ! & !
23
- ?! M! V! ! h! Š! š! §!
24
- ¿! Ê! ×! í! ~ ò! e q" ×" á" ô" # # .# 4# D# K# j# ž ‰# > ($ ( g$ $ $ §$ ¾$ Ñ$ å$ ô$ ( % ! 2% / T% „% 7 % 8 Å% $ þ% #& 2& :& R& ^& 7 u& ­& À&  Ó& U' ^' p' …' –' ? ª' C ê' .( B( # K( * o( š( • ·( ! M) o) ‚) , ) ¼) Ñ) è) *
25
-
26
- * * !* ** E* H* R* c* * ž* 0 µ* æ+ , ,
27
- !, ,,
28
- ;, F, a,  , - - - '- >- N- X- s- Ž- (  - , É- % ö- $ . ‘ A. Ó. Ú. ï. ó. ý.
29
- / / (/ h </ b ¥0 1 ' 1 w - J E f u K D & b [ 6 x } 7 T ; p
30
- z 8 % 9 H
31
- a V s X # t ! " ‚ $ C A m ? N ƒ  + ~ h ` q M 3 G Z . c ) \ W , r ^ L Y B j = / P o O 1 U ( 4 F 5 l I < y Q { | i @ _ > S e € 0 2 ' * n d R : g  k ] v %s of %s %sFormat%s of invoice date and order date. <b>Author</b>: <a href="https://github.com/baselbers">Bas Elbers</a> <b>Hint</b>: Use <code>[payment_method]</code> placeholder to display the order payment method. <b>Payment method</b> %s <b>Version</b>: <br/><div class="bewpi-notes">Let customers download invoice from account page.</div> About Allowed HTML tags: Allowed placeholders: %s %s %s %s %s %s.<br/>%sNote:%s %s is required and slashes aren't supported. Alrighty then! <a href="%s">Let's start configuring <strong>WooCommerce PDF Invoices</strong></a>. Are you sure to delete the invoice? Attach to Email Attach to New order Email Body Options Cancel Cancel invoice Cloud Storage Options Color theme Company address Company details Company logo Company name Completed order Cost Could not create invoice. In order to reset invoice number with %d, delete all invoices with invoice number %s and greater. Could not create invoice. Invoice with invoice number %s already exists. First delete invoice and try again. Create Create invoice Customer invoice Customer note Date format Description Digits Discount Display prices including tax Displayed below company address. Displayed below customer notes and above footer. Want to attach additional pages to the invoice? Take a look at the <a href="%s">Premium</a> plugin. Displayed in big colored bar directly after invoice total. Displayed in upper-right corner near logo. Do not attach Download Download Options Email It In account Email Options Email us Enable Email It In Enable download from account Enable or disable the columns. Enable to display subtotal including shipping. Fee File is invalid and contains ':' after the first character. File is invalid and contains either '..' or './'. File should be less then 2MB. Footer Options Format Frequently Asked Questions General General Options Get your account from your Email It In %suser account%s. Global Invoice Header Options If you like <strong>WooCommerce PDF Invoices</strong> please leave us a %s★★★★★%s rating. A huge thank you in advance! Invoice Invoice %s (PDF) Invoice Number Options Invoice number: Invoice to Invoice will be watermarked when order has been paid. Invoice with invoice number %s not found. First create invoice and try again. Invoiced on: Invoices Items will be shipped within 2 days. Leave empty to show page numbering. Left footer column. Line item totals will be including tax. <br/><b>Note</b>: Subtotal will still be excluding tax, so disable it within the visible columns section. Mark invoice as paid Need Help? Next Open in new browser tab/window Order #%d - %s Order Date: %s Order Number: %s PDF Invoice Paid Phone: %s Premium Processing order Qty Refunded Remove logo Request a feature Reset invoice counter Reset on 1st of january Reset the invoice counter and start counting from given invoice number.<br/><b>Note:</b> Only available for Sequential numbering and value will be editable by selecting checkbox. Next number needs to be lower then highest existing invoice number or delete invoices first. Right footer column. SKU Sequential number Settings Ship to Shipping Shipping taxable Show customer notes Signup at %s to send invoices to your Dropbox, OneDrive, Google Drive or Egnyte and enter your account below. Subtotal Support Support forum Tax (item) Tax (total) Template Terms & conditions, policies etc. Thank you for your purchase! Thank you text The footer will be visible on every page. The header will be visible on every page. These are the general template options. These are the invoice number options. This plugin is an open source project wich aims to fill the invoicing gap of <a href="http://www.woothemes.com/woocommerce">WooCommerce</a>. Total Type VAT Version %s View View PDF View invoice Visible Columns We will never ask for donations, but to garantee future development, we do need your support. Please show us your appreciation by leaving a <a href="https://wordpress.org/support/view/plugin-reviews/woocommerce-pdf-invoices?rate=5#postform">★★★★★</a> rating and vote for <a href="https://wordpress.org/plugins/woocommerce-pdf-invoices/">works</a>. Whoops, no template found. Please select a template on the Template settings page first. WooCommerce order number You are working with <b>WooCommerce PDF Invoices</b> for some time now. We really need your ★★★★★ rating. It will support future development big-time. A huge thanks in advance and keep up the good work! <br /> <a href='%s' target='_blank'>Yes, will do it right away!</a> - <a href='%s'>No, already done it!</a> Project-Id-Version: WooCommerce PDF Invoices
32
- Report-Msgid-Bugs-To:
33
- POT-Creation-Date: 2015-12-12 23:36+0100
34
- PO-Revision-Date: 2015-12-19 03:35+0100
35
- Last-Translator: Jaroslav Semančík
36
- Language-Team:
37
- Language: SK_sk
38
- MIME-Version: 1.0
39
- Content-Type: text/plain; charset=UTF-8
40
- Content-Transfer-Encoding: 8bit
41
- Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;
42
- %s z %s %sFormat%s dátumu faktúry a dátum objednávky. <b>Autor</b>: <a href="https://github.com/baselbers">Bas Elbers</a> <b>Nápoveda</b>: Na zobrazenie spôsobu platby použite značku <code>[payment_method]</code>. <b>Spôsob platby</b> %s <b>Verzia</b>: <br/><div class="bewpi-notes">Umožniť zákazníkom stiahnuť si faktúry zo svojho účtu. O module Povolené HTML značky: Povolené značky: %s %s %s %s %s %s.<br/>%sPoznámka:%s %s je povinné a nesmú sa používať lomítka. V poriadku! <a href="%s">Začnime konfigurovať <strong>WooCommerce PDF Invoices</strong></a>. Ste si istý, že chcete faktúru zrušiť? Priložiť k e-mailu Priložiť k e-mailu Nová objednávka Telo faktúry Zrušiť Zrušiť faktúru Nastavenie pre uloženie v cloude Farba šablóny Adresa firmy Ďalšie údaje o firme Logo firmy Názov firmy Objednávka vybavená Cena Nepodarilo sa vytvoriť faktúru. Na nastavenie číslovania faktúr od %d zmažte všetky faktúry s číslom od %s vyššie. Nepodarilo sa vytvoriť faktúru. Faktúra s číslom %s už existuje. Zmažte ju a skúste to znova. Vytvoriť Vytvoriť faktúru Klientská faktúra Poznámka zákazníka Formát dátumu Popis Počet číslic Zľava Zobrazovať ceny vrátane dane Zobrazia sa pod adresou firmy. Zobrazia sa pod poznámkou zákazníka a nad pätou strany. Chcete pridať k faktúre ďaľšie strany? Pozrite sa na <a href="%s">platenú verziu</a> modulu. Zobrazený vo veľkom farebnom bloku hneď pod sumou faktúry. Zobraziť v pravom hornom rohu pri logu. Neprikladať Stiahnuť Nastavenia sťahovania Účet Email it In Nastavenia e-mailov Napíšte nám Povoliť Email It In Povoliť stiahnutie z účtu zákazníka Povoliť alebo zakázať stĺpce. Medzisúčet zobrazovať vrátane poštovného. Poplatok Neplatný názov súboru, obsahuje z prvým znakom ':'. Neplatný názov súboru, obsahuje buď '..' alebo './'. Súbor by mal byť menší než 2MB. Päta faktúry Formát Často kladené otázky Všeobecné Všeobecné nastavenia Použiť účet z Vášho Email It In %suser account%s. Globálna faktúra Záhlavie faktúry Ak sa Vám <strong>WooCommerce PDF Invoices</strong> páči, ohodnoťte nás, prosím, %s★★★★★%s Vopred veľká vďaka. Faktúra Faktúra %s (PDF) Číslovanie faktúr Číslo faktúry Fakturačná adresa Po zaplatení objednávky budú faktúry označené vodoznakom. Faktúra s číslom %s sa nenašla. Vytvorte ju a skúste to znova. Faktúrované dňa: Faktúry Tovar bude odoslaný do dvoch dní. Nechajte prázdne pre číslovanie strán. Ľavý stĺpec päty strany. Položky v riadkoch budú zahŕňať daň. <br/><b>Poznámka</b>: Medzisúčet bude stále bez dane, preto ho v časti Viditeľné stĺpce zakážte. Označiť faktúru ako zaplatenú Potrebujete pomoc? Nasledujúca Otvoriť v novej záložke/okne prehliadača Objednávka #%d - %s Dátum objednávky: %s Číslo objednávky: %s PDF Faktúra Zaplatené Telefón Platené Objednávka sa spracováva Ks Vrátené Odstrániť logo Navrhnuť novú funkčnosť Vynulovať počítadlo fakúr. Vynulovať 1. januára Vynulovať počítadlo faktúr a začať číslovanie od danej hodnoty.<br/ ><b>Poznámka</b> Možné len pri poradovom číslovaní a hodnota sa bude dať upraviť zvolením checkboxu. Nasledujúce číslo musí byť menšie než najväčšie číslo existujúcej faktúry alebo najprv faktúry zmažte. Pravý stĺpec päty strany. Kód tovaru Poradové číslo Nastavenia Dodacia adresa Poštovné Poštovné je zdaniteľné Zobraziť poznámku zákazníka Pre posielanie faktúr na Váš Dropbox, OneDrive, Google Drive alebo Egnyte sa zaregistrujte na %s a dole zadajte údaje účtu. Medzisúčet Podpora Fórum podpory Daň (pri položkách) Daň (celková) Šablóna Obchodné podmienky a pod. Ďakujeme za Váš nákup! Text poďakovania Päta bude zobrazená na každej strane. Záhlavie bude zobrazené na každej strane. Všeobecné nastavenia pre šablónu. Nastavenia pre číslovanie faktúr. Tento modul je open source projekt, ktorého cieľom je doplniť do <a href="http://www.woothemes.com/woocommerce">WooCommerce</a> faktúrovanie. Celkom Spôsob číslovania DPH Verzia %s Zobraziť Zobraziť PDF Zobraziť faktúru Viditeľné stĺpce Nikdy nebudeme žiadať dary, ale na zabezpečenie vývoja aj v budúcnosti potrebujeme Vašu podporu. Oceňte nás, prosím, zanechaním <a href="https://wordpress.org/support/view/plugin-reviews/woocommerce-pdf-invoices?rate=5#postform">★★★★★</a> hodnotenia a hlasujte za <a href="https://wordpress.org/plugins/woocommerce-pdf-invoices/">modul</a>. Hups, šablóna sa nenašla. Nastavte, prosím, najprv šablónu na stránke Nastavenia šablóny. Číslo objednávky Nejaký čas už pracujete s <b>WooCommerce PDF Invoices</b>. Veľmi potrebujeme vaše ★★★★★ hodnotenie. Podporíte tým vývoj do budúcna. Vopred veľká vďaka a nech sa darí! <br /> <a href='%s' target='_blank'>Áno, hneď idem na to!</a> - <a href='%s'>Nie, už som to urobil(a).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lang/{be-woocommerce-pdf-invoices-es_ES.mo → woocommerce-pdf-invoices-es_ES.mo} RENAMED
Binary file
lang/{be-woocommerce-pdf-invoices-es_ES.po → woocommerce-pdf-invoices-es_ES.po} RENAMED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-12-25 14:47+0100\n"
6
- "PO-Revision-Date: 2015-12-25 14:47+0100\n"
7
  "Last-Translator: iduran <iduran@solucionesc2.com>\n"
8
  "Language-Team: \n"
9
  "Language: es_ES\n"
@@ -311,7 +311,7 @@ msgstr "Identificador"
311
 
312
  #: ../includes/admin/settings/class-bewpi-admin-settings-template.php:402
313
  #: ../includes/templates/invoices/global/micro/body.php:236
314
- #: ../includes/templates/invoices/simple/micro/body.php:222
315
  msgid "Subtotal"
316
  msgstr "Subtotal"
317
 
@@ -325,15 +325,15 @@ msgstr ""
325
 
326
  #: ../includes/admin/settings/class-bewpi-admin-settings-template.php:438
327
  #: ../includes/templates/invoices/global/micro/body.php:220
328
- #: ../includes/templates/invoices/simple/micro/body.php:206
329
  msgid "Discount"
330
  msgstr "Descuento"
331
 
332
  #: ../includes/admin/settings/class-bewpi-admin-settings-template.php:450
333
  #: ../includes/templates/invoices/global/micro/body.php:228
334
  #: ../includes/templates/invoices/global/micro/body.php:244
335
- #: ../includes/templates/invoices/simple/micro/body.php:214
336
- #: ../includes/templates/invoices/simple/micro/body.php:230
337
  msgid "Shipping"
338
  msgstr "Envío"
339
 
@@ -659,7 +659,7 @@ msgstr "Impuestos"
659
  #: ../includes/templates/invoices/global/micro/body.php:67
660
  #: ../includes/templates/invoices/global/micro/body.php:280
661
  #: ../includes/templates/invoices/simple/micro/body.php:69
662
- #: ../includes/templates/invoices/simple/micro/body.php:266
663
  msgid "Total"
664
  msgstr "Total"
665
 
@@ -669,12 +669,12 @@ msgid "Order #%d - %s"
669
  msgstr ""
670
 
671
  #: ../includes/templates/invoices/global/micro/body.php:255
672
- #: ../includes/templates/invoices/simple/micro/body.php:241
673
  msgid "Fee"
674
  msgstr "Cuota"
675
 
676
  #: ../includes/templates/invoices/global/micro/body.php:287
677
- #: ../includes/templates/invoices/simple/micro/body.php:273
678
  msgid "Refunded"
679
  msgstr "Rembolsado"
680
 
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-12-30 21:26+0100\n"
6
+ "PO-Revision-Date: 2015-12-30 21:26+0100\n"
7
  "Last-Translator: iduran <iduran@solucionesc2.com>\n"
8
  "Language-Team: \n"
9
  "Language: es_ES\n"
311
 
312
  #: ../includes/admin/settings/class-bewpi-admin-settings-template.php:402
313
  #: ../includes/templates/invoices/global/micro/body.php:236
314
+ #: ../includes/templates/invoices/simple/micro/body.php:99
315
  msgid "Subtotal"
316
  msgstr "Subtotal"
317
 
325
 
326
  #: ../includes/admin/settings/class-bewpi-admin-settings-template.php:438
327
  #: ../includes/templates/invoices/global/micro/body.php:220
328
+ #: ../includes/templates/invoices/simple/micro/body.php:83
329
  msgid "Discount"
330
  msgstr "Descuento"
331
 
332
  #: ../includes/admin/settings/class-bewpi-admin-settings-template.php:450
333
  #: ../includes/templates/invoices/global/micro/body.php:228
334
  #: ../includes/templates/invoices/global/micro/body.php:244
335
+ #: ../includes/templates/invoices/simple/micro/body.php:91
336
+ #: ../includes/templates/invoices/simple/micro/body.php:107
337
  msgid "Shipping"
338
  msgstr "Envío"
339
 
659
  #: ../includes/templates/invoices/global/micro/body.php:67
660
  #: ../includes/templates/invoices/global/micro/body.php:280
661
  #: ../includes/templates/invoices/simple/micro/body.php:69
662
+ #: ../includes/templates/invoices/simple/micro/body.php:143
663
  msgid "Total"
664
  msgstr "Total"
665
 
669
  msgstr ""
670
 
671
  #: ../includes/templates/invoices/global/micro/body.php:255
672
+ #: ../includes/templates/invoices/simple/micro/body.php:118
673
  msgid "Fee"
674
  msgstr "Cuota"
675
 
676
  #: ../includes/templates/invoices/global/micro/body.php:287
677
+ #: ../includes/templates/invoices/simple/micro/body.php:150
678
  msgid "Refunded"
679
  msgstr "Rembolsado"
680
 
lang/{be-woocommerce-pdf-invoices-fr_FR.mo → woocommerce-pdf-invoices-fr_FR.mo} RENAMED
Binary file
lang/{be-woocommerce-pdf-invoices-fr_FR.po → woocommerce-pdf-invoices-fr_FR.po} RENAMED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices\n"
4
- "POT-Creation-Date: 2015-12-25 14:48+0100\n"
5
- "PO-Revision-Date: 2015-12-25 14:48+0100\n"
6
  "Last-Translator: Mosaika.fr <bonjour@mosaika.fr>\n"
7
  "Language-Team: Pierre SAIKALI <pierre@mosaika.fr>\n"
8
  "Language: fr_FR\n"
@@ -310,7 +310,7 @@ msgstr "UGS"
310
 
311
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:402
312
  #: includes/templates/invoices/global/micro/body.php:236
313
- #: includes/templates/invoices/simple/micro/body.php:222
314
  msgid "Subtotal"
315
  msgstr "Sous-total"
316
 
@@ -324,15 +324,15 @@ msgstr ""
324
 
325
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:438
326
  #: includes/templates/invoices/global/micro/body.php:220
327
- #: includes/templates/invoices/simple/micro/body.php:206
328
  msgid "Discount"
329
  msgstr "Réduction"
330
 
331
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:450
332
  #: includes/templates/invoices/global/micro/body.php:228
333
  #: includes/templates/invoices/global/micro/body.php:244
334
- #: includes/templates/invoices/simple/micro/body.php:214
335
- #: includes/templates/invoices/simple/micro/body.php:230
336
  msgid "Shipping"
337
  msgstr "Livraison"
338
 
@@ -658,7 +658,7 @@ msgstr "TVA"
658
  #: includes/templates/invoices/global/micro/body.php:67
659
  #: includes/templates/invoices/global/micro/body.php:280
660
  #: includes/templates/invoices/simple/micro/body.php:69
661
- #: includes/templates/invoices/simple/micro/body.php:266
662
  msgid "Total"
663
  msgstr "Total"
664
 
@@ -668,12 +668,12 @@ msgid "Order #%d - %s"
668
  msgstr ""
669
 
670
  #: includes/templates/invoices/global/micro/body.php:255
671
- #: includes/templates/invoices/simple/micro/body.php:241
672
  msgid "Fee"
673
  msgstr ""
674
 
675
  #: includes/templates/invoices/global/micro/body.php:287
676
- #: includes/templates/invoices/simple/micro/body.php:273
677
  msgid "Refunded"
678
  msgstr "Remboursement"
679
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices\n"
4
+ "POT-Creation-Date: 2015-12-30 21:26+0100\n"
5
+ "PO-Revision-Date: 2015-12-30 21:26+0100\n"
6
  "Last-Translator: Mosaika.fr <bonjour@mosaika.fr>\n"
7
  "Language-Team: Pierre SAIKALI <pierre@mosaika.fr>\n"
8
  "Language: fr_FR\n"
310
 
311
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:402
312
  #: includes/templates/invoices/global/micro/body.php:236
313
+ #: includes/templates/invoices/simple/micro/body.php:99
314
  msgid "Subtotal"
315
  msgstr "Sous-total"
316
 
324
 
325
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:438
326
  #: includes/templates/invoices/global/micro/body.php:220
327
+ #: includes/templates/invoices/simple/micro/body.php:83
328
  msgid "Discount"
329
  msgstr "Réduction"
330
 
331
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:450
332
  #: includes/templates/invoices/global/micro/body.php:228
333
  #: includes/templates/invoices/global/micro/body.php:244
334
+ #: includes/templates/invoices/simple/micro/body.php:91
335
+ #: includes/templates/invoices/simple/micro/body.php:107
336
  msgid "Shipping"
337
  msgstr "Livraison"
338
 
658
  #: includes/templates/invoices/global/micro/body.php:67
659
  #: includes/templates/invoices/global/micro/body.php:280
660
  #: includes/templates/invoices/simple/micro/body.php:69
661
+ #: includes/templates/invoices/simple/micro/body.php:143
662
  msgid "Total"
663
  msgstr "Total"
664
 
668
  msgstr ""
669
 
670
  #: includes/templates/invoices/global/micro/body.php:255
671
+ #: includes/templates/invoices/simple/micro/body.php:118
672
  msgid "Fee"
673
  msgstr ""
674
 
675
  #: includes/templates/invoices/global/micro/body.php:287
676
+ #: includes/templates/invoices/simple/micro/body.php:150
677
  msgid "Refunded"
678
  msgstr "Remboursement"
679
 
lang/{be-woocommerce-pdf-invoices-nb_NO.mo → woocommerce-pdf-invoices-nb_NO.mo} RENAMED
Binary file
lang/{be-woocommerce-pdf-invoices-nb_NO.po → woocommerce-pdf-invoices-nb_NO.po} RENAMED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices\n"
4
- "POT-Creation-Date: 2015-12-25 14:48+0100\n"
5
- "PO-Revision-Date: 2015-12-25 14:48+0100\n"
6
  "Last-Translator: Anders Sorensen <anders@zorensen.no>\n"
7
  "Language-Team: \n"
8
  "Language: nb\n"
@@ -328,7 +328,7 @@ msgstr "Prod.Nr."
328
 
329
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:402
330
  #: includes/templates/invoices/global/micro/body.php:236
331
- #: includes/templates/invoices/simple/micro/body.php:222
332
  msgid "Subtotal"
333
  msgstr "Delsum"
334
 
@@ -342,15 +342,15 @@ msgstr "Skatt (totalt)"
342
 
343
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:438
344
  #: includes/templates/invoices/global/micro/body.php:220
345
- #: includes/templates/invoices/simple/micro/body.php:206
346
  msgid "Discount"
347
  msgstr "Rabatt"
348
 
349
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:450
350
  #: includes/templates/invoices/global/micro/body.php:228
351
  #: includes/templates/invoices/global/micro/body.php:244
352
- #: includes/templates/invoices/simple/micro/body.php:214
353
- #: includes/templates/invoices/simple/micro/body.php:230
354
  msgid "Shipping"
355
  msgstr "Frakt"
356
 
@@ -704,7 +704,7 @@ msgstr "MVA"
704
  #: includes/templates/invoices/global/micro/body.php:67
705
  #: includes/templates/invoices/global/micro/body.php:280
706
  #: includes/templates/invoices/simple/micro/body.php:69
707
- #: includes/templates/invoices/simple/micro/body.php:266
708
  msgid "Total"
709
  msgstr "Totalt"
710
 
@@ -714,12 +714,12 @@ msgid "Order #%d - %s"
714
  msgstr "Ordre #%d - %s"
715
 
716
  #: includes/templates/invoices/global/micro/body.php:255
717
- #: includes/templates/invoices/simple/micro/body.php:241
718
  msgid "Fee"
719
  msgstr "Avgift"
720
 
721
  #: includes/templates/invoices/global/micro/body.php:287
722
- #: includes/templates/invoices/simple/micro/body.php:273
723
  msgid "Refunded"
724
  msgstr "Refundert"
725
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices\n"
4
+ "POT-Creation-Date: 2015-12-30 21:26+0100\n"
5
+ "PO-Revision-Date: 2015-12-30 21:26+0100\n"
6
  "Last-Translator: Anders Sorensen <anders@zorensen.no>\n"
7
  "Language-Team: \n"
8
  "Language: nb\n"
328
 
329
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:402
330
  #: includes/templates/invoices/global/micro/body.php:236
331
+ #: includes/templates/invoices/simple/micro/body.php:99
332
  msgid "Subtotal"
333
  msgstr "Delsum"
334
 
342
 
343
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:438
344
  #: includes/templates/invoices/global/micro/body.php:220
345
+ #: includes/templates/invoices/simple/micro/body.php:83
346
  msgid "Discount"
347
  msgstr "Rabatt"
348
 
349
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:450
350
  #: includes/templates/invoices/global/micro/body.php:228
351
  #: includes/templates/invoices/global/micro/body.php:244
352
+ #: includes/templates/invoices/simple/micro/body.php:91
353
+ #: includes/templates/invoices/simple/micro/body.php:107
354
  msgid "Shipping"
355
  msgstr "Frakt"
356
 
704
  #: includes/templates/invoices/global/micro/body.php:67
705
  #: includes/templates/invoices/global/micro/body.php:280
706
  #: includes/templates/invoices/simple/micro/body.php:69
707
+ #: includes/templates/invoices/simple/micro/body.php:143
708
  msgid "Total"
709
  msgstr "Totalt"
710
 
714
  msgstr "Ordre #%d - %s"
715
 
716
  #: includes/templates/invoices/global/micro/body.php:255
717
+ #: includes/templates/invoices/simple/micro/body.php:118
718
  msgid "Fee"
719
  msgstr "Avgift"
720
 
721
  #: includes/templates/invoices/global/micro/body.php:287
722
+ #: includes/templates/invoices/simple/micro/body.php:150
723
  msgid "Refunded"
724
  msgstr "Refundert"
725
 
lang/{be-woocommerce-pdf-invoices-nl_NL.mo → woocommerce-pdf-invoices-nl_NL.mo} RENAMED
Binary file
lang/{be-woocommerce-pdf-invoices-nl_NL.po → woocommerce-pdf-invoices-nl_NL.po} RENAMED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices\n"
4
- "POT-Creation-Date: 2015-12-25 14:48+0100\n"
5
- "PO-Revision-Date: 2015-12-25 14:48+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: nl_NL\n"
@@ -312,7 +312,7 @@ msgstr "Productcode"
312
 
313
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:402
314
  #: includes/templates/invoices/global/micro/body.php:236
315
- #: includes/templates/invoices/simple/micro/body.php:222
316
  msgid "Subtotal"
317
  msgstr "Subtotaal"
318
 
@@ -326,15 +326,15 @@ msgstr ""
326
 
327
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:438
328
  #: includes/templates/invoices/global/micro/body.php:220
329
- #: includes/templates/invoices/simple/micro/body.php:206
330
  msgid "Discount"
331
  msgstr "Korting"
332
 
333
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:450
334
  #: includes/templates/invoices/global/micro/body.php:228
335
  #: includes/templates/invoices/global/micro/body.php:244
336
- #: includes/templates/invoices/simple/micro/body.php:214
337
- #: includes/templates/invoices/simple/micro/body.php:230
338
  msgid "Shipping"
339
  msgstr "Verzending"
340
 
@@ -669,7 +669,7 @@ msgstr "BTW"
669
  #: includes/templates/invoices/global/micro/body.php:67
670
  #: includes/templates/invoices/global/micro/body.php:280
671
  #: includes/templates/invoices/simple/micro/body.php:69
672
- #: includes/templates/invoices/simple/micro/body.php:266
673
  msgid "Total"
674
  msgstr "Totaal"
675
 
@@ -679,12 +679,12 @@ msgid "Order #%d - %s"
679
  msgstr "Bestelling #%d - %s"
680
 
681
  #: includes/templates/invoices/global/micro/body.php:255
682
- #: includes/templates/invoices/simple/micro/body.php:241
683
  msgid "Fee"
684
  msgstr "Handelingskosten"
685
 
686
  #: includes/templates/invoices/global/micro/body.php:287
687
- #: includes/templates/invoices/simple/micro/body.php:273
688
  msgid "Refunded"
689
  msgstr "Terugbetaald"
690
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices\n"
4
+ "POT-Creation-Date: 2015-12-30 21:26+0100\n"
5
+ "PO-Revision-Date: 2015-12-30 21:26+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: nl_NL\n"
312
 
313
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:402
314
  #: includes/templates/invoices/global/micro/body.php:236
315
+ #: includes/templates/invoices/simple/micro/body.php:99
316
  msgid "Subtotal"
317
  msgstr "Subtotaal"
318
 
326
 
327
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:438
328
  #: includes/templates/invoices/global/micro/body.php:220
329
+ #: includes/templates/invoices/simple/micro/body.php:83
330
  msgid "Discount"
331
  msgstr "Korting"
332
 
333
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:450
334
  #: includes/templates/invoices/global/micro/body.php:228
335
  #: includes/templates/invoices/global/micro/body.php:244
336
+ #: includes/templates/invoices/simple/micro/body.php:91
337
+ #: includes/templates/invoices/simple/micro/body.php:107
338
  msgid "Shipping"
339
  msgstr "Verzending"
340
 
669
  #: includes/templates/invoices/global/micro/body.php:67
670
  #: includes/templates/invoices/global/micro/body.php:280
671
  #: includes/templates/invoices/simple/micro/body.php:69
672
+ #: includes/templates/invoices/simple/micro/body.php:143
673
  msgid "Total"
674
  msgstr "Totaal"
675
 
679
  msgstr "Bestelling #%d - %s"
680
 
681
  #: includes/templates/invoices/global/micro/body.php:255
682
+ #: includes/templates/invoices/simple/micro/body.php:118
683
  msgid "Fee"
684
  msgstr "Handelingskosten"
685
 
686
  #: includes/templates/invoices/global/micro/body.php:287
687
+ #: includes/templates/invoices/simple/micro/body.php:150
688
  msgid "Refunded"
689
  msgstr "Terugbetaald"
690
 
lang/{be-woocommerce-pdf-invoices-ro_RO.mo → woocommerce-pdf-invoices-ro_RO.mo} RENAMED
Binary file
lang/{be-woocommerce-pdf-invoices-ro_RO.po → woocommerce-pdf-invoices-ro_RO.po} RENAMED
@@ -7,17 +7,17 @@ msgid ""
7
  msgstr ""
8
  "Project-Id-Version: \n"
9
  "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2015-12-25 09:22+0200\n"
11
- "PO-Revision-Date: 2015-12-25 12:45+0200\n"
 
12
  "Language-Team: \n"
 
13
  "MIME-Version: 1.0\n"
14
  "Content-Type: text/plain; charset=UTF-8\n"
15
  "Content-Transfer-Encoding: 8bit\n"
16
- "X-Generator: Poedit 1.8.6\n"
17
- "Last-Translator: \n"
18
  "Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?"
19
  "2:1));\n"
20
- "Language: ro\n"
21
 
22
  #: includes/be-woocommerce-pdf-invoices.php:126
23
  #, php-format
@@ -549,7 +549,7 @@ msgstr "Cod produs (SKU)"
549
 
550
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:402
551
  #: includes/templates/invoices/global/micro/body.php:236
552
- #: includes/templates/invoices/simple/micro/body.php:222
553
  msgid "Subtotal"
554
  msgstr "Subtotal"
555
 
@@ -563,15 +563,15 @@ msgstr "Taxe (total)"
563
 
564
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:438
565
  #: includes/templates/invoices/global/micro/body.php:220
566
- #: includes/templates/invoices/simple/micro/body.php:206
567
  msgid "Discount"
568
  msgstr "Reducere"
569
 
570
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:450
571
  #: includes/templates/invoices/global/micro/body.php:228
572
  #: includes/templates/invoices/global/micro/body.php:244
573
- #: includes/templates/invoices/simple/micro/body.php:214
574
- #: includes/templates/invoices/simple/micro/body.php:230
575
  msgid "Shipping"
576
  msgstr "Costuri de livrare"
577
 
@@ -680,7 +680,7 @@ msgstr "TVA"
680
  #: includes/templates/invoices/global/micro/body.php:67
681
  #: includes/templates/invoices/global/micro/body.php:280
682
  #: includes/templates/invoices/simple/micro/body.php:69
683
- #: includes/templates/invoices/simple/micro/body.php:266
684
  msgid "Total"
685
  msgstr "Total"
686
 
@@ -690,12 +690,12 @@ msgid "Order #%d - %s"
690
  msgstr "Ordin #%d - %s"
691
 
692
  #: includes/templates/invoices/global/micro/body.php:255
693
- #: includes/templates/invoices/simple/micro/body.php:241
694
  msgid "Fee"
695
  msgstr "Taxe"
696
 
697
  #: includes/templates/invoices/global/micro/body.php:287
698
- #: includes/templates/invoices/simple/micro/body.php:273
699
  msgid "Refunded"
700
  msgstr "Returnat"
701
 
7
  msgstr ""
8
  "Project-Id-Version: \n"
9
  "Report-Msgid-Bugs-To: \n"
10
+ "POT-Creation-Date: 2015-12-30 21:15+0100\n"
11
+ "PO-Revision-Date: 2015-12-30 21:26+0100\n"
12
+ "Last-Translator: \n"
13
  "Language-Team: \n"
14
+ "Language: ro\n"
15
  "MIME-Version: 1.0\n"
16
  "Content-Type: text/plain; charset=UTF-8\n"
17
  "Content-Transfer-Encoding: 8bit\n"
18
+ "X-Generator: Poedit 1.7.3\n"
 
19
  "Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?"
20
  "2:1));\n"
 
21
 
22
  #: includes/be-woocommerce-pdf-invoices.php:126
23
  #, php-format
549
 
550
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:402
551
  #: includes/templates/invoices/global/micro/body.php:236
552
+ #: includes/templates/invoices/simple/micro/body.php:99
553
  msgid "Subtotal"
554
  msgstr "Subtotal"
555
 
563
 
564
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:438
565
  #: includes/templates/invoices/global/micro/body.php:220
566
+ #: includes/templates/invoices/simple/micro/body.php:83
567
  msgid "Discount"
568
  msgstr "Reducere"
569
 
570
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:450
571
  #: includes/templates/invoices/global/micro/body.php:228
572
  #: includes/templates/invoices/global/micro/body.php:244
573
+ #: includes/templates/invoices/simple/micro/body.php:91
574
+ #: includes/templates/invoices/simple/micro/body.php:107
575
  msgid "Shipping"
576
  msgstr "Costuri de livrare"
577
 
680
  #: includes/templates/invoices/global/micro/body.php:67
681
  #: includes/templates/invoices/global/micro/body.php:280
682
  #: includes/templates/invoices/simple/micro/body.php:69
683
+ #: includes/templates/invoices/simple/micro/body.php:143
684
  msgid "Total"
685
  msgstr "Total"
686
 
690
  msgstr "Ordin #%d - %s"
691
 
692
  #: includes/templates/invoices/global/micro/body.php:255
693
+ #: includes/templates/invoices/simple/micro/body.php:118
694
  msgid "Fee"
695
  msgstr "Taxe"
696
 
697
  #: includes/templates/invoices/global/micro/body.php:287
698
+ #: includes/templates/invoices/simple/micro/body.php:150
699
  msgid "Refunded"
700
  msgstr "Returnat"
701
 
lang/{be-woocommerce-pdf-invoices-sk_SK.po → woocommerce-pdf-invoices-sk_SK.po} RENAMED
@@ -3,14 +3,15 @@ msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2015-12-12 23:36+0100\n"
6
- "PO-Revision-Date: 2015-12-19 03:35+0100\n"
7
  "Last-Translator: Jaroslav Semančík\n"
8
  "Language-Team: \n"
9
- "Language: SK_sk\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
 
14
 
15
  #: ../includes/abstracts/abstract-bewpi-document.php:64
16
  msgid "Paid"
@@ -22,8 +23,8 @@ msgid ""
22
  "Could not create invoice. In order to reset invoice number with %d, delete "
23
  "all invoices with invoice number %s and greater."
24
  msgstr ""
25
- "Nepodarilo sa vytvoriť faktúru. Na nastavenie číslovania faktúr od %d "
26
- "zmažte všetky faktúry s číslom od %s vyššie."
27
 
28
  #: ../includes/abstracts/abstract-bewpi-invoice.php:260
29
  #, php-format
@@ -31,15 +32,14 @@ msgid ""
31
  "Could not create invoice. Invoice with invoice number %s already exists. "
32
  "First delete invoice and try again."
33
  msgstr ""
34
- "Nepodarilo sa vytvoriť faktúru. Faktúra s číslom %s už existuje. "
35
- "Zmažte ju a skúste to znova."
36
 
37
  #: ../includes/abstracts/abstract-bewpi-invoice.php:299
38
  #, php-format
39
  msgid ""
40
  "Invoice with invoice number %s not found. First create invoice and try again."
41
- msgstr ""
42
- "Faktúra s číslom %s sa nenašla. Vytvorte ju a skúste to znova."
43
 
44
  #: ../includes/abstracts/abstract-bewpi-setting.php:90
45
  msgid "Allowed HTML tags: "
@@ -112,8 +112,8 @@ msgid ""
112
  "Signup at %s to send invoices to your Dropbox, OneDrive, Google Drive or "
113
  "Egnyte and enter your account below."
114
  msgstr ""
115
- "Pre posielanie faktúr na Váš Dropbox, OneDrive, Google Drive alebo "
116
- "Egnyte sa zaregistrujte na %s a dole zadajte údaje účtu."
117
 
118
  #: ../includes/admin/settings/class-bewpi-admin-settings-template.php:88
119
  #: ../includes/be-woocommerce-pdf-invoices.php:222
@@ -139,11 +139,11 @@ msgstr "Zobrazovať ceny vrátane dane"
139
 
140
  #: ../includes/admin/settings/class-bewpi-admin-settings-template.php:132
141
  msgid ""
142
- "Line item totals will be including tax. <br/><b>Note</b>: Subtotal will "
143
- "still be excluding tax, so disable it within the visible columns section."
144
  msgstr ""
145
- "Položky v riadkoch budú zahŕňať daň. <br/><b>Poznámka</b>: Medzisúčet "
146
- "bude stále bez dane, preto ho v časti Viditeľné stĺpce zakážte."
147
 
148
  #: ../includes/admin/settings/class-bewpi-admin-settings-template.php:144
149
  msgid "Shipping taxable"
@@ -211,9 +211,8 @@ msgid ""
211
  "Displayed below customer notes and above footer. Want to attach additional "
212
  "pages to the invoice? Take a look at the <a href=\"%s\">Premium</a> plugin."
213
  msgstr ""
214
- "Zobrazia sa pod poznámkou zákazníka a nad pätou strany. Chcete pridať "
215
- "k faktúre ďaľšie strany? Pozrite sa na <a href=\"%s\">platenú verziu</a> "
216
- "modulu."
217
 
218
  #: ../includes/admin/settings/class-bewpi-admin-settings-template.php:240
219
  msgid "Items will be shipped within 2 days."
@@ -265,8 +264,8 @@ msgid ""
265
  msgstr ""
266
  "Vynulovať počítadlo faktúr a začať číslovanie od danej hodnoty.<br/ "
267
  "><b>Poznámka</b> Možné len pri poradovom číslovaní a hodnota sa bude dať "
268
- "upraviť zvolením checkboxu. Nasledujúce číslo musí byť menšie než "
269
- "najväčšie číslo existujúcej faktúry alebo najprv faktúry zmažte."
270
 
271
  #: ../includes/admin/settings/class-bewpi-admin-settings-template.php:320
272
  msgid "Digits"
@@ -290,8 +289,8 @@ msgid ""
290
  "Allowed placeholders: %s %s %s %s %s %s.<br/>%sNote:%s %s is required and "
291
  "slashes aren't supported."
292
  msgstr ""
293
- "Povolené značky: %s %s %s %s %s %s.<br/>%sPoznámka:%s %s je povinné "
294
- "a nesmú sa používať lomítka."
295
 
296
  #: ../includes/admin/settings/class-bewpi-admin-settings-template.php:377
297
  msgid "Reset on 1st of january"
@@ -398,11 +397,11 @@ msgstr "Súbor by mal byť menší než 2MB."
398
  #: ../includes/be-woocommerce-pdf-invoices.php:132
399
  #, php-format
400
  msgid ""
401
- "Alrighty then! <a href=\"%s\">Let's start configuring <strong>WooCommerce "
402
- "PDF Invoices</strong></a>."
403
  msgstr ""
404
- "V poriadku! <a href=\"%s\">Začnime konfigurovať <strong>WooCommerce "
405
- "PDF Invoices</strong></a>."
406
 
407
  #: ../includes/be-woocommerce-pdf-invoices.php:142
408
  msgid "Settings"
@@ -495,9 +494,9 @@ msgstr "O module"
495
  msgid ""
496
  "This plugin is an open source project wich aims to fill the invoicing gap of "
497
  "<a href=\"http://www.woothemes.com/woocommerce\">WooCommerce</a>."
498
- msgstr "Tento modul je open source projekt, ktorého cieľom je doplniť do "
499
- "<a href=\"http://www.woothemes.com/woocommerce\">WooCommerce</a> "
500
- "faktúrovanie."
501
 
502
  #: ../includes/be-woocommerce-pdf-invoices.php:350
503
  msgid "<b>Version</b>: "
@@ -519,11 +518,11 @@ msgid ""
519
  "rate=5#postform\">★★★★★</a> rating and vote for <a href=\"https://wordpress."
520
  "org/plugins/woocommerce-pdf-invoices/\">works</a>."
521
  msgstr ""
522
- "Nikdy nebudeme žiadať dary, ale na zabezpečenie vývoja aj v "
523
- "budúcnosti potrebujeme Vašu podporu. Oceňte nás, prosím, zanechaním <a href="
524
- "\"https://wordpress.org/support/view/plugin-reviews/woocommerce-pdf-invoices?"
525
- "rate=5#postform\">★★★★★</a> hodnotenia a hlasujte za "
526
- "<a href=\"https://wordpress.org/plugins/woocommerce-pdf-invoices/\">modul</a>."
527
 
528
  #: ../includes/be-woocommerce-pdf-invoices.php:375
529
  msgid ""
@@ -599,16 +598,15 @@ msgstr "Faktúra %s (PDF)"
599
  #, php-format
600
  msgid ""
601
  "You are working with <b>WooCommerce PDF Invoices</b> for some time now. We "
602
- "really need your ★★★★★ rating. It will support future development big-time. "
603
- "A huge thanks in advance and keep up the good work! <br /> <a href='%s' "
604
  "target='_blank'>Yes, will do it right away!</a> - <a href='%s'>No, already "
605
  "done it!</a>"
606
  msgstr ""
607
  "Nejaký čas už pracujete s <b>WooCommerce PDF Invoices</b>. Veľmi potrebujeme "
608
  "vaše ★★★★★ hodnotenie. Podporíte tým vývoj do budúcna. Vopred veľká vďaka a "
609
- "nech sa darí! <br /> <a href='%s' "
610
- "target='_blank'>Áno, hneď idem na to!</a> - <a href='%s'>Nie, už som to "
611
- "urobil(a)."
612
 
613
  #: ../includes/class-bewpi-invoice.php:48
614
  msgid ""
@@ -711,8 +709,8 @@ msgstr "Povoliť stiahnutie z účtu zákazníka"
711
 
712
  #: ../includes/admin/settings/class-bewpi-admin-settings-general.php:154
713
  msgid ""
714
- "<br/><div class=\"bewpi-notes\">Let customers download invoice from "
715
- "account page.</div>"
716
  msgstr ""
717
  "<br/><div class=\"bewpi-notes\">Umožniť zákazníkom stiahnuť si faktúry zo "
718
  "svojho účtu."
3
  "Project-Id-Version: WooCommerce PDF Invoices\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2015-12-12 23:36+0100\n"
6
+ "PO-Revision-Date: 2015-12-30 21:26+0100\n"
7
  "Last-Translator: Jaroslav Semančík\n"
8
  "Language-Team: \n"
9
+ "Language: sk_SK\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
14
+ "X-Generator: Poedit 1.7.3\n"
15
 
16
  #: ../includes/abstracts/abstract-bewpi-document.php:64
17
  msgid "Paid"
23
  "Could not create invoice. In order to reset invoice number with %d, delete "
24
  "all invoices with invoice number %s and greater."
25
  msgstr ""
26
+ "Nepodarilo sa vytvoriť faktúru. Na nastavenie číslovania faktúr od %d zmažte "
27
+ "všetky faktúry s číslom od %s vyššie."
28
 
29
  #: ../includes/abstracts/abstract-bewpi-invoice.php:260
30
  #, php-format
32
  "Could not create invoice. Invoice with invoice number %s already exists. "
33
  "First delete invoice and try again."
34
  msgstr ""
35
+ "Nepodarilo sa vytvoriť faktúru. Faktúra s číslom %s už existuje. Zmažte ju a "
36
+ "skúste to znova."
37
 
38
  #: ../includes/abstracts/abstract-bewpi-invoice.php:299
39
  #, php-format
40
  msgid ""
41
  "Invoice with invoice number %s not found. First create invoice and try again."
42
+ msgstr "Faktúra s číslom %s sa nenašla. Vytvorte ju a skúste to znova."
 
43
 
44
  #: ../includes/abstracts/abstract-bewpi-setting.php:90
45
  msgid "Allowed HTML tags: "
112
  "Signup at %s to send invoices to your Dropbox, OneDrive, Google Drive or "
113
  "Egnyte and enter your account below."
114
  msgstr ""
115
+ "Pre posielanie faktúr na Váš Dropbox, OneDrive, Google Drive alebo Egnyte sa "
116
+ "zaregistrujte na %s a dole zadajte údaje účtu."
117
 
118
  #: ../includes/admin/settings/class-bewpi-admin-settings-template.php:88
119
  #: ../includes/be-woocommerce-pdf-invoices.php:222
139
 
140
  #: ../includes/admin/settings/class-bewpi-admin-settings-template.php:132
141
  msgid ""
142
+ "Line item totals will be including tax. <br/><b>Note</b>: Subtotal will still "
143
+ "be excluding tax, so disable it within the visible columns section."
144
  msgstr ""
145
+ "Položky v riadkoch budú zahŕňať daň. <br/><b>Poznámka</b>: Medzisúčet bude "
146
+ "stále bez dane, preto ho v časti Viditeľné stĺpce zakážte."
147
 
148
  #: ../includes/admin/settings/class-bewpi-admin-settings-template.php:144
149
  msgid "Shipping taxable"
211
  "Displayed below customer notes and above footer. Want to attach additional "
212
  "pages to the invoice? Take a look at the <a href=\"%s\">Premium</a> plugin."
213
  msgstr ""
214
+ "Zobrazia sa pod poznámkou zákazníka a nad pätou strany. Chcete pridať k "
215
+ "faktúre ďaľšie strany? Pozrite sa na <a href=\"%s\">platenú verziu</a> modulu."
 
216
 
217
  #: ../includes/admin/settings/class-bewpi-admin-settings-template.php:240
218
  msgid "Items will be shipped within 2 days."
264
  msgstr ""
265
  "Vynulovať počítadlo faktúr a začať číslovanie od danej hodnoty.<br/ "
266
  "><b>Poznámka</b> Možné len pri poradovom číslovaní a hodnota sa bude dať "
267
+ "upraviť zvolením checkboxu. Nasledujúce číslo musí byť menšie než najväčšie "
268
+ "číslo existujúcej faktúry alebo najprv faktúry zmažte."
269
 
270
  #: ../includes/admin/settings/class-bewpi-admin-settings-template.php:320
271
  msgid "Digits"
289
  "Allowed placeholders: %s %s %s %s %s %s.<br/>%sNote:%s %s is required and "
290
  "slashes aren't supported."
291
  msgstr ""
292
+ "Povolené značky: %s %s %s %s %s %s.<br/>%sPoznámka:%s %s je povinné a nesmú "
293
+ "sa používať lomítka."
294
 
295
  #: ../includes/admin/settings/class-bewpi-admin-settings-template.php:377
296
  msgid "Reset on 1st of january"
397
  #: ../includes/be-woocommerce-pdf-invoices.php:132
398
  #, php-format
399
  msgid ""
400
+ "Alrighty then! <a href=\"%s\">Let's start configuring <strong>WooCommerce PDF "
401
+ "Invoices</strong></a>."
402
  msgstr ""
403
+ "V poriadku! <a href=\"%s\">Začnime konfigurovať <strong>WooCommerce PDF "
404
+ "Invoices</strong></a>."
405
 
406
  #: ../includes/be-woocommerce-pdf-invoices.php:142
407
  msgid "Settings"
494
  msgid ""
495
  "This plugin is an open source project wich aims to fill the invoicing gap of "
496
  "<a href=\"http://www.woothemes.com/woocommerce\">WooCommerce</a>."
497
+ msgstr ""
498
+ "Tento modul je open source projekt, ktorého cieľom je doplniť do <a href="
499
+ "\"http://www.woothemes.com/woocommerce\">WooCommerce</a> faktúrovanie."
500
 
501
  #: ../includes/be-woocommerce-pdf-invoices.php:350
502
  msgid "<b>Version</b>: "
518
  "rate=5#postform\">★★★★★</a> rating and vote for <a href=\"https://wordpress."
519
  "org/plugins/woocommerce-pdf-invoices/\">works</a>."
520
  msgstr ""
521
+ "Nikdy nebudeme žiadať dary, ale na zabezpečenie vývoja aj v budúcnosti "
522
+ "potrebujeme Vašu podporu. Oceňte nás, prosím, zanechaním <a href=\"https://"
523
+ "wordpress.org/support/view/plugin-reviews/woocommerce-pdf-invoices?"
524
+ "rate=5#postform\">★★★★★</a> hodnotenia a hlasujte za <a href=\"https://"
525
+ "wordpress.org/plugins/woocommerce-pdf-invoices/\">modul</a>."
526
 
527
  #: ../includes/be-woocommerce-pdf-invoices.php:375
528
  msgid ""
598
  #, php-format
599
  msgid ""
600
  "You are working with <b>WooCommerce PDF Invoices</b> for some time now. We "
601
+ "really need your ★★★★★ rating. It will support future development big-time. A "
602
+ "huge thanks in advance and keep up the good work! <br /> <a href='%s' "
603
  "target='_blank'>Yes, will do it right away!</a> - <a href='%s'>No, already "
604
  "done it!</a>"
605
  msgstr ""
606
  "Nejaký čas už pracujete s <b>WooCommerce PDF Invoices</b>. Veľmi potrebujeme "
607
  "vaše ★★★★★ hodnotenie. Podporíte tým vývoj do budúcna. Vopred veľká vďaka a "
608
+ "nech sa darí! <br /> <a href='%s' target='_blank'>Áno, hneď idem na to!</a> - "
609
+ "<a href='%s'>Nie, už som to urobil(a)."
 
610
 
611
  #: ../includes/class-bewpi-invoice.php:48
612
  msgid ""
709
 
710
  #: ../includes/admin/settings/class-bewpi-admin-settings-general.php:154
711
  msgid ""
712
+ "<br/><div class=\"bewpi-notes\">Let customers download invoice from account "
713
+ "page.</div>"
714
  msgstr ""
715
  "<br/><div class=\"bewpi-notes\">Umožniť zákazníkom stiahnuť si faktúry zo "
716
  "svojho účtu."
lang/{be-woocommerce-pdf-invoices-sl_SI.mo → woocommerce-pdf-invoices-sl_SI.mo} RENAMED
Binary file
lang/{be-woocommerce-pdf-invoices-sl_SI.po → woocommerce-pdf-invoices-sl_SI.po} RENAMED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices\n"
4
- "POT-Creation-Date: 2015-12-25 14:48+0100\n"
5
- "PO-Revision-Date: 2015-12-25 14:48+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: nl_NL\n"
@@ -308,7 +308,7 @@ msgstr "Koda"
308
 
309
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:402
310
  #: includes/templates/invoices/global/micro/body.php:236
311
- #: includes/templates/invoices/simple/micro/body.php:222
312
  msgid "Subtotal"
313
  msgstr "Skupaj"
314
 
@@ -322,15 +322,15 @@ msgstr ""
322
 
323
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:438
324
  #: includes/templates/invoices/global/micro/body.php:220
325
- #: includes/templates/invoices/simple/micro/body.php:206
326
  msgid "Discount"
327
  msgstr "Popust"
328
 
329
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:450
330
  #: includes/templates/invoices/global/micro/body.php:228
331
  #: includes/templates/invoices/global/micro/body.php:244
332
- #: includes/templates/invoices/simple/micro/body.php:214
333
- #: includes/templates/invoices/simple/micro/body.php:230
334
  msgid "Shipping"
335
  msgstr "Poštnina"
336
 
@@ -656,7 +656,7 @@ msgstr ""
656
  #: includes/templates/invoices/global/micro/body.php:67
657
  #: includes/templates/invoices/global/micro/body.php:280
658
  #: includes/templates/invoices/simple/micro/body.php:69
659
- #: includes/templates/invoices/simple/micro/body.php:266
660
  msgid "Total"
661
  msgstr "Skupaj"
662
 
@@ -666,12 +666,12 @@ msgid "Order #%d - %s"
666
  msgstr ""
667
 
668
  #: includes/templates/invoices/global/micro/body.php:255
669
- #: includes/templates/invoices/simple/micro/body.php:241
670
  msgid "Fee"
671
  msgstr ""
672
 
673
  #: includes/templates/invoices/global/micro/body.php:287
674
- #: includes/templates/invoices/simple/micro/body.php:273
675
  msgid "Refunded"
676
  msgstr ""
677
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices\n"
4
+ "POT-Creation-Date: 2015-12-30 21:26+0100\n"
5
+ "PO-Revision-Date: 2015-12-30 21:26+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: nl_NL\n"
308
 
309
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:402
310
  #: includes/templates/invoices/global/micro/body.php:236
311
+ #: includes/templates/invoices/simple/micro/body.php:99
312
  msgid "Subtotal"
313
  msgstr "Skupaj"
314
 
322
 
323
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:438
324
  #: includes/templates/invoices/global/micro/body.php:220
325
+ #: includes/templates/invoices/simple/micro/body.php:83
326
  msgid "Discount"
327
  msgstr "Popust"
328
 
329
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:450
330
  #: includes/templates/invoices/global/micro/body.php:228
331
  #: includes/templates/invoices/global/micro/body.php:244
332
+ #: includes/templates/invoices/simple/micro/body.php:91
333
+ #: includes/templates/invoices/simple/micro/body.php:107
334
  msgid "Shipping"
335
  msgstr "Poštnina"
336
 
656
  #: includes/templates/invoices/global/micro/body.php:67
657
  #: includes/templates/invoices/global/micro/body.php:280
658
  #: includes/templates/invoices/simple/micro/body.php:69
659
+ #: includes/templates/invoices/simple/micro/body.php:143
660
  msgid "Total"
661
  msgstr "Skupaj"
662
 
666
  msgstr ""
667
 
668
  #: includes/templates/invoices/global/micro/body.php:255
669
+ #: includes/templates/invoices/simple/micro/body.php:118
670
  msgid "Fee"
671
  msgstr ""
672
 
673
  #: includes/templates/invoices/global/micro/body.php:287
674
+ #: includes/templates/invoices/simple/micro/body.php:150
675
  msgid "Refunded"
676
  msgstr ""
677
 
lang/{be-woocommerce-pdf-invoices-sv_SE.mo → woocommerce-pdf-invoices-sv_SE.mo} RENAMED
Binary file
lang/{be-woocommerce-pdf-invoices-sv_SE.po → woocommerce-pdf-invoices-sv_SE.po} RENAMED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices\n"
4
- "POT-Creation-Date: 2015-12-19 12:37+0100\n"
5
- "PO-Revision-Date: 2015-12-19 12:37+0100\n"
6
  "Last-Translator: Mikael Akerlund <mikael.akerlund@sponsorhjalpen.se>\n"
7
  "Language-Team: \n"
8
  "Language: sv\n"
@@ -308,7 +308,7 @@ msgstr "SKU"
308
 
309
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:402
310
  #: includes/templates/invoices/global/micro/body.php:236
311
- #: includes/templates/invoices/simple/micro/body.php:222
312
  msgid "Subtotal"
313
  msgstr "Delsumma"
314
 
@@ -322,15 +322,15 @@ msgstr ""
322
 
323
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:438
324
  #: includes/templates/invoices/global/micro/body.php:220
325
- #: includes/templates/invoices/simple/micro/body.php:206
326
  msgid "Discount"
327
  msgstr "Rabatt"
328
 
329
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:450
330
  #: includes/templates/invoices/global/micro/body.php:228
331
  #: includes/templates/invoices/global/micro/body.php:244
332
- #: includes/templates/invoices/simple/micro/body.php:214
333
- #: includes/templates/invoices/simple/micro/body.php:230
334
  msgid "Shipping"
335
  msgstr "Frakt"
336
 
@@ -656,7 +656,7 @@ msgstr "Moms"
656
  #: includes/templates/invoices/global/micro/body.php:67
657
  #: includes/templates/invoices/global/micro/body.php:280
658
  #: includes/templates/invoices/simple/micro/body.php:69
659
- #: includes/templates/invoices/simple/micro/body.php:266
660
  msgid "Total"
661
  msgstr "Total"
662
 
@@ -666,12 +666,12 @@ msgid "Order #%d - %s"
666
  msgstr "Order #%d - %s"
667
 
668
  #: includes/templates/invoices/global/micro/body.php:255
669
- #: includes/templates/invoices/simple/micro/body.php:241
670
  msgid "Fee"
671
  msgstr "Avgift"
672
 
673
  #: includes/templates/invoices/global/micro/body.php:287
674
- #: includes/templates/invoices/simple/micro/body.php:273
675
  msgid "Refunded"
676
  msgstr "Betalas"
677
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices\n"
4
+ "POT-Creation-Date: 2015-12-30 21:26+0100\n"
5
+ "PO-Revision-Date: 2015-12-30 21:26+0100\n"
6
  "Last-Translator: Mikael Akerlund <mikael.akerlund@sponsorhjalpen.se>\n"
7
  "Language-Team: \n"
8
  "Language: sv\n"
308
 
309
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:402
310
  #: includes/templates/invoices/global/micro/body.php:236
311
+ #: includes/templates/invoices/simple/micro/body.php:99
312
  msgid "Subtotal"
313
  msgstr "Delsumma"
314
 
322
 
323
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:438
324
  #: includes/templates/invoices/global/micro/body.php:220
325
+ #: includes/templates/invoices/simple/micro/body.php:83
326
  msgid "Discount"
327
  msgstr "Rabatt"
328
 
329
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:450
330
  #: includes/templates/invoices/global/micro/body.php:228
331
  #: includes/templates/invoices/global/micro/body.php:244
332
+ #: includes/templates/invoices/simple/micro/body.php:91
333
+ #: includes/templates/invoices/simple/micro/body.php:107
334
  msgid "Shipping"
335
  msgstr "Frakt"
336
 
656
  #: includes/templates/invoices/global/micro/body.php:67
657
  #: includes/templates/invoices/global/micro/body.php:280
658
  #: includes/templates/invoices/simple/micro/body.php:69
659
+ #: includes/templates/invoices/simple/micro/body.php:143
660
  msgid "Total"
661
  msgstr "Total"
662
 
666
  msgstr "Order #%d - %s"
667
 
668
  #: includes/templates/invoices/global/micro/body.php:255
669
+ #: includes/templates/invoices/simple/micro/body.php:118
670
  msgid "Fee"
671
  msgstr "Avgift"
672
 
673
  #: includes/templates/invoices/global/micro/body.php:287
674
+ #: includes/templates/invoices/simple/micro/body.php:150
675
  msgid "Refunded"
676
  msgstr "Betalas"
677
 
lang/{be-woocommerce-pdf-invoices.pot → woocommerce-pdf-invoices.pot} RENAMED
@@ -8,7 +8,7 @@ msgid ""
8
  msgstr ""
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2015-12-25 14:27+0100\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -523,7 +523,7 @@ msgstr ""
523
 
524
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:402
525
  #: includes/templates/invoices/global/micro/body.php:236
526
- #: includes/templates/invoices/simple/micro/body.php:222
527
  msgid "Subtotal"
528
  msgstr ""
529
 
@@ -537,15 +537,15 @@ msgstr ""
537
 
538
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:438
539
  #: includes/templates/invoices/global/micro/body.php:220
540
- #: includes/templates/invoices/simple/micro/body.php:206
541
  msgid "Discount"
542
  msgstr ""
543
 
544
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:450
545
  #: includes/templates/invoices/global/micro/body.php:228
546
  #: includes/templates/invoices/global/micro/body.php:244
547
- #: includes/templates/invoices/simple/micro/body.php:214
548
- #: includes/templates/invoices/simple/micro/body.php:230
549
  msgid "Shipping"
550
  msgstr ""
551
 
@@ -654,7 +654,7 @@ msgstr ""
654
  #: includes/templates/invoices/global/micro/body.php:67
655
  #: includes/templates/invoices/global/micro/body.php:280
656
  #: includes/templates/invoices/simple/micro/body.php:69
657
- #: includes/templates/invoices/simple/micro/body.php:266
658
  msgid "Total"
659
  msgstr ""
660
 
@@ -664,12 +664,12 @@ msgid "Order #%d - %s"
664
  msgstr ""
665
 
666
  #: includes/templates/invoices/global/micro/body.php:255
667
- #: includes/templates/invoices/simple/micro/body.php:241
668
  msgid "Fee"
669
  msgstr ""
670
 
671
  #: includes/templates/invoices/global/micro/body.php:287
672
- #: includes/templates/invoices/simple/micro/body.php:273
673
  msgid "Refunded"
674
  msgstr ""
675
 
8
  msgstr ""
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
  "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2015-12-30 21:15+0100\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
523
 
524
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:402
525
  #: includes/templates/invoices/global/micro/body.php:236
526
+ #: includes/templates/invoices/simple/micro/body.php:99
527
  msgid "Subtotal"
528
  msgstr ""
529
 
537
 
538
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:438
539
  #: includes/templates/invoices/global/micro/body.php:220
540
+ #: includes/templates/invoices/simple/micro/body.php:83
541
  msgid "Discount"
542
  msgstr ""
543
 
544
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:450
545
  #: includes/templates/invoices/global/micro/body.php:228
546
  #: includes/templates/invoices/global/micro/body.php:244
547
+ #: includes/templates/invoices/simple/micro/body.php:91
548
+ #: includes/templates/invoices/simple/micro/body.php:107
549
  msgid "Shipping"
550
  msgstr ""
551
 
654
  #: includes/templates/invoices/global/micro/body.php:67
655
  #: includes/templates/invoices/global/micro/body.php:280
656
  #: includes/templates/invoices/simple/micro/body.php:69
657
+ #: includes/templates/invoices/simple/micro/body.php:143
658
  msgid "Total"
659
  msgstr ""
660
 
664
  msgstr ""
665
 
666
  #: includes/templates/invoices/global/micro/body.php:255
667
+ #: includes/templates/invoices/simple/micro/body.php:118
668
  msgid "Fee"
669
  msgstr ""
670
 
671
  #: includes/templates/invoices/global/micro/body.php:287
672
+ #: includes/templates/invoices/simple/micro/body.php:150
673
  msgid "Refunded"
674
  msgstr ""
675
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:
4
  Tags: woocommerce pdf invoices, invoice, generate, pdf, woocommerce, attachment, email, completed order, customer invoice, processing order, attach, automatic, vat, rate, sequential, number
5
  Requires at least: 3.8
6
  Tested up to: 4.4
7
- Stable tag: 2.3.19
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -133,6 +133,10 @@ To change the options of the PDF, use below example.
133
 
134
  == Changelog ==
135
 
 
 
 
 
136
  = 2.3.19 - December 30, 2015 =
137
 
138
  - Fixed: Translations not properly configured by removing Domain Path.
4
  Tags: woocommerce pdf invoices, invoice, generate, pdf, woocommerce, attachment, email, completed order, customer invoice, processing order, attach, automatic, vat, rate, sequential, number
5
  Requires at least: 3.8
6
  Tested up to: 4.4
7
+ Stable tag: 2.3.20
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
133
 
134
  == Changelog ==
135
 
136
+ = 2.3.20 - December 30, 2015 =
137
+
138
+ - Improved: Changed textdomain to plugin slug due to preparation of WordPress translations packages
139
+
140
  = 2.3.19 - December 30, 2015 =
141
 
142
  - Fixed: Translations not properly configured by removing Domain Path.