WooCommerce PDF Invoices - Version 2.4.5

Version Description

  • April 15, 2016 =

  • Added: Filter 'bewpi_allowed_roles_to_download_invoice' (check FAQ)

  • Added: Watermark mPDF options

  • Added: Italian language files

  • Added: Actions 'bewpi_before_invoice_content' and 'bewpi_after_invoice_content' for WPML integration (WIP)

  • Added: Filter 'bewpi_attach_invoice_excluded_payment_methods' to attach invoice depending on payment methods

  • Improved: Norwegian language file

Download this release

Release Info

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

Code changes from version 2.4.4 to 2.4.5

bootstrap.php CHANGED
@@ -3,7 +3,7 @@
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.4.4
7
  * Author: Bas Elbers
8
  * Author URI: http://wcpdfinvoices.com
9
  * License: GPL-2.0+
@@ -19,7 +19,7 @@ function bewpi_plugins_loaded() {
19
 
20
  $wp_upload_dir = wp_upload_dir();
21
 
22
- define( 'BEWPI_VERSION', '2.4.4' );
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/' );
@@ -38,6 +38,8 @@ function bewpi_plugins_loaded() {
38
  require_once( BEWPI_DIR . 'includes/class-bewpi-invoice.php' );
39
  require_once( BEWPI_DIR . 'includes/be-woocommerce-pdf-invoices.php' );
40
 
 
 
41
  new BE_WooCommerce_PDF_Invoices();
42
  }
43
  add_action( 'plugins_loaded', 'bewpi_plugins_loaded', 10 );
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.4.5
7
  * Author: Bas Elbers
8
  * Author URI: http://wcpdfinvoices.com
9
  * License: GPL-2.0+
19
 
20
  $wp_upload_dir = wp_upload_dir();
21
 
22
+ define( 'BEWPI_VERSION', '2.4.5' );
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/' );
38
  require_once( BEWPI_DIR . 'includes/class-bewpi-invoice.php' );
39
  require_once( BEWPI_DIR . 'includes/be-woocommerce-pdf-invoices.php' );
40
 
41
+ load_plugin_textdomain( 'woocommerce-pdf-invoices', false, apply_filters( 'bewpi_lang_dir', BEWPI_LANG_DIR ) );
42
+
43
  new BE_WooCommerce_PDF_Invoices();
44
  }
45
  add_action( 'plugins_loaded', 'bewpi_plugins_loaded', 10 );
includes/abstracts/abstract-bewpi-document.php CHANGED
@@ -63,6 +63,8 @@ if ( ! class_exists( 'BEWPI_Abstract_Document' ) ) {
63
  if ( (bool)$this->template_options[ 'bewpi_show_payment_status' ] && $paid ) {
64
  $mpdf->SetWatermarkText( __( 'Paid', 'woocommerce-pdf-invoices' ) );
65
  $mpdf->showWatermarkText = true;
 
 
66
  }
67
 
68
  // debugging
63
  if ( (bool)$this->template_options[ 'bewpi_show_payment_status' ] && $paid ) {
64
  $mpdf->SetWatermarkText( __( 'Paid', 'woocommerce-pdf-invoices' ) );
65
  $mpdf->showWatermarkText = true;
66
+ $mpdf->watermarkTextAlpha = "0.2";
67
+ $mpdf->watermarkImgBehind = false;
68
  }
69
 
70
  // debugging
includes/abstracts/abstract-bewpi-invoice.php CHANGED
@@ -88,9 +88,11 @@ if ( ! class_exists( 'BEWPI_Abstract_Invoice' ) ) {
88
  */
89
  protected $counter_reset = false;
90
 
91
- /**
92
- * Initialize invoice with WooCommerce order
93
- * @param string $order
 
 
94
  */
95
  public function __construct($order_id, $type, $taxes_count = 0)
96
  {
@@ -315,6 +317,13 @@ if ( ! class_exists( 'BEWPI_Abstract_Invoice' ) ) {
315
  */
316
  protected function save($dest, $html_templates)
317
  {
 
 
 
 
 
 
 
318
  if ($this->exists()) {
319
  // delete postmeta and PDF
320
  $this->delete();
@@ -341,6 +350,8 @@ if ( ! class_exists( 'BEWPI_Abstract_Invoice' ) ) {
341
 
342
  parent::generate($html_sections, $dest, $paid);
343
 
 
 
344
  return $this->full_path;
345
  }
346
 
@@ -350,13 +361,13 @@ if ( ! class_exists( 'BEWPI_Abstract_Invoice' ) ) {
350
  */
351
  public function is_paid()
352
  {
353
- $payment_methods = apply_filters('bewpi_paid_watermark_excluded_payment_methods', array('cod'), $this->order->id);
354
  if (in_array($this->order->payment_method, $payment_methods)) {
355
  return false;
356
  }
357
 
358
  $order_statuses = apply_filters('bewpi_paid_watermark_excluded_order_statuses', array('pending', 'on-hold', 'auto-draft'), $this->order->id);
359
- return (!in_array($this->order->get_status(), $order_statuses ));
360
  }
361
 
362
  public function view()
@@ -414,7 +425,7 @@ if ( ! class_exists( 'BEWPI_Abstract_Invoice' ) ) {
414
  // get the relative path due to slow generation of invoice.
415
  $image_path = str_replace(get_site_url(), '..', $this->template_options['bewpi_company_logo']);
416
  // give the user the option to change the image (path/url) due to some errors of mPDF.
417
- $image_url = apply_filters( 'bewpi_company_logo_url', $image_path );
418
 
419
  echo '<img class="company-logo" src="' . $image_url . '"/>';
420
  } else {
@@ -551,8 +562,7 @@ if ( ! class_exists( 'BEWPI_Abstract_Invoice' ) ) {
551
  public function left_footer_column_html()
552
  {
553
  $left_footer_column_text = $this->template_options['bewpi_left_footer_column'];
554
- if (!empty($left_footer_column_text))
555
- {
556
  echo '<p>' . nl2br($this->replace_placeholders($left_footer_column_text)) . '</p>';
557
  }
558
  }
@@ -560,21 +570,21 @@ if ( ! class_exists( 'BEWPI_Abstract_Invoice' ) ) {
560
  public function right_footer_column_html()
561
  {
562
  $right_footer_column_text = $this->template_options['bewpi_right_footer_column'];
563
- if (!empty($right_footer_column_text))
564
- {
565
  echo '<p>' . nl2br($this->replace_placeholders($right_footer_column_text)) . '</p>';
566
  } else {
567
- echo '<p>' . sprintf( __( '%s of %s', 'woocommerce-pdf-invoices' ), '{PAGENO}', '{nbpg}' ) . '</p>';
568
  }
569
  }
570
 
571
- private function replace_placeholders( $str ) {
 
572
  $placeholders = apply_filters('bewpi_placeholders', array(
573
  '[payment_method]' => $this->order->payment_method_title,
574
  '[shipping_method]' => $this->order->get_shipping_method()
575
  ), $this->order->id);
576
 
577
- foreach ($placeholders as $placeholder => $value){
578
  $str = str_replace($placeholder, $value, $str);
579
  }
580
 
88
  */
89
  protected $counter_reset = false;
90
 
91
+ /***
92
+ * BEWPI_Abstract_Invoice constructor.
93
+ * @param $order_id
94
+ * @param $type
95
+ * @param int $taxes_count
96
  */
97
  public function __construct($order_id, $type, $taxes_count = 0)
98
  {
317
  */
318
  protected function save($dest, $html_templates)
319
  {
320
+ $this->general_options = get_option('bewpi_general_settings');
321
+ $this->template_options = get_option('bewpi_template_settings');
322
+
323
+ do_action("bewpi_before_invoice_content", $this->order->id);
324
+
325
+ $test = __('Invoice', 'woocommerce-pdf-invoices');
326
+
327
  if ($this->exists()) {
328
  // delete postmeta and PDF
329
  $this->delete();
350
 
351
  parent::generate($html_sections, $dest, $paid);
352
 
353
+ do_action("bewpi_after_invoice_content", $this->order->id);
354
+
355
  return $this->full_path;
356
  }
357
 
361
  */
362
  public function is_paid()
363
  {
364
+ $payment_methods = apply_filters('bewpi_paid_watermark_excluded_payment_methods', array('bacs', 'cod', 'cheque'), $this->order->id);
365
  if (in_array($this->order->payment_method, $payment_methods)) {
366
  return false;
367
  }
368
 
369
  $order_statuses = apply_filters('bewpi_paid_watermark_excluded_order_statuses', array('pending', 'on-hold', 'auto-draft'), $this->order->id);
370
+ return (!in_array($this->order->get_status(), $order_statuses));
371
  }
372
 
373
  public function view()
425
  // get the relative path due to slow generation of invoice.
426
  $image_path = str_replace(get_site_url(), '..', $this->template_options['bewpi_company_logo']);
427
  // give the user the option to change the image (path/url) due to some errors of mPDF.
428
+ $image_url = apply_filters('bewpi_company_logo_url', $image_path);
429
 
430
  echo '<img class="company-logo" src="' . $image_url . '"/>';
431
  } else {
562
  public function left_footer_column_html()
563
  {
564
  $left_footer_column_text = $this->template_options['bewpi_left_footer_column'];
565
+ if (!empty($left_footer_column_text)) {
 
566
  echo '<p>' . nl2br($this->replace_placeholders($left_footer_column_text)) . '</p>';
567
  }
568
  }
570
  public function right_footer_column_html()
571
  {
572
  $right_footer_column_text = $this->template_options['bewpi_right_footer_column'];
573
+ if (!empty($right_footer_column_text)) {
 
574
  echo '<p>' . nl2br($this->replace_placeholders($right_footer_column_text)) . '</p>';
575
  } else {
576
+ echo '<p>' . sprintf(__('%s of %s', 'woocommerce-pdf-invoices'), '{PAGENO}', '{nbpg}') . '</p>';
577
  }
578
  }
579
 
580
+ private function replace_placeholders($str)
581
+ {
582
  $placeholders = apply_filters('bewpi_placeholders', array(
583
  '[payment_method]' => $this->order->payment_method_title,
584
  '[shipping_method]' => $this->order->get_shipping_method()
585
  ), $this->order->id);
586
 
587
+ foreach ($placeholders as $placeholder => $value) {
588
  $str = str_replace($placeholder, $value, $str);
589
  }
590
 
includes/be-woocommerce-pdf-invoices.php CHANGED
@@ -104,7 +104,6 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
104
  }
105
 
106
  public function init() {
107
- $this->load_textdomain();
108
  $this->init_settings_tabs();
109
  $this->create_bewpi_dirs();
110
  $this->invoice_actions();
@@ -196,7 +195,7 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
196
  wp_die( __( 'Invalid order ID', 'woocommerce-pdf-invoices' ) );
197
 
198
  $user = wp_get_current_user();
199
- $allowed_roles = array( 'administrator', 'shop_manager' );
200
  $customer_user_id = get_post_meta( $order_id, '_customer_user', true );
201
  if ( ! array_intersect( $allowed_roles, $user->roles ) && get_current_user_id() != $customer_user_id )
202
  wp_die( __( 'Access denied', 'woocommerce-pdf-invoices' ) );
@@ -217,14 +216,6 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
217
  }
218
  }
219
 
220
- /**
221
- * Loads the textdomain and localizes the plugin options tabs.
222
- */
223
- public function load_textdomain() {
224
- $lang_dir = (string) BEWPI_LANG_DIR;
225
- load_plugin_textdomain( 'woocommerce-pdf-invoices', false, apply_filters( 'bewpi_lang_dir', $lang_dir ) );
226
- }
227
-
228
  public function init_settings_tabs() {
229
  $this->settings_tabs['bewpi_general_settings'] = __( 'General', 'woocommerce-pdf-invoices' );
230
  $this->settings_tabs['bewpi_template_settings'] = __( 'Template', 'woocommerce-pdf-invoices' );
@@ -361,19 +352,25 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
361
  * @return array
362
  */
363
  function attach_invoice_to_email( $attachments, $status, $order ) {
 
 
364
  $general_options = get_option( 'bewpi_general_settings' );
 
 
 
365
 
366
- $attachments = apply_filters( 'bewpi_email_attachments', $attachments, $status, $order );
 
 
 
367
 
368
- if ( $status == $general_options[ 'bewpi_email_type'] || ( $general_options['bewpi_new_order'] && $status == "new_order" ) ) {
369
- $invoice = new BEWPI_Invoice( $order->id );
370
- // create new invoice if doesn't exists, else get the full path..
371
- $full_path = ( ! $invoice->exists() ) ? $invoice->save( "F" ) : $invoice->get_full_path();
372
 
373
- // only add to attachments if it isn't already added.
374
- if ( !in_array( $full_path, $attachments ) ) {
375
- $attachments[] = $full_path;
376
- }
377
  }
378
 
379
  return $attachments;
104
  }
105
 
106
  public function init() {
 
107
  $this->init_settings_tabs();
108
  $this->create_bewpi_dirs();
109
  $this->invoice_actions();
195
  wp_die( __( 'Invalid order ID', 'woocommerce-pdf-invoices' ) );
196
 
197
  $user = wp_get_current_user();
198
+ $allowed_roles = apply_filters("bewpi_allowed_roles_to_download_invoice", array("administrator", "shop_manager"));
199
  $customer_user_id = get_post_meta( $order_id, '_customer_user', true );
200
  if ( ! array_intersect( $allowed_roles, $user->roles ) && get_current_user_id() != $customer_user_id )
201
  wp_die( __( 'Access denied', 'woocommerce-pdf-invoices' ) );
216
  }
217
  }
218
 
 
 
 
 
 
 
 
 
219
  public function init_settings_tabs() {
220
  $this->settings_tabs['bewpi_general_settings'] = __( 'General', 'woocommerce-pdf-invoices' );
221
  $this->settings_tabs['bewpi_template_settings'] = __( 'Template', 'woocommerce-pdf-invoices' );
352
  * @return array
353
  */
354
  function attach_invoice_to_email( $attachments, $status, $order ) {
355
+ $attachments = apply_filters( 'bewpi_email_attachments', $attachments, $status, $order );
356
+
357
  $general_options = get_option( 'bewpi_general_settings' );
358
+ if($status !== $general_options['bewpi_email_type'] || $status === 'new_order' && !$general_options['bewpi_new_order']){
359
+ return $attachments;
360
+ }
361
 
362
+ $payment_methods = apply_filters('bewpi_attach_invoice_excluded_payment_methods', array() );
363
+ if(in_array($order->payment_method, $payment_methods)){
364
+ return $attachments;
365
+ }
366
 
367
+ $invoice = new BEWPI_Invoice( $order->id );
368
+ // create new invoice if doesn't exists, else get the full path..
369
+ $full_path = ( ! $invoice->exists() ) ? $invoice->save( "F" ) : $invoice->get_full_path();
 
370
 
371
+ // only add to attachments if it isn't already added.
372
+ if ( !in_array( $full_path, $attachments ) ) {
373
+ $attachments[] = $full_path;
 
374
  }
375
 
376
  return $attachments;
lang/be-woocommerce-pdf-invoices-it_IT.mo ADDED
Binary file
lang/be-woocommerce-pdf-invoices-it_IT.po ADDED
@@ -0,0 +1,1054 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WooCommerce PDF Invoices\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2016-03-03 21:18+0100\n"
6
+ "PO-Revision-Date: 2016-04-09 17:19+0100\n"
7
+ "Last-Translator: iduran <iduran@solucionesc2.com>\n"
8
+ "Language-Team: \n"
9
+ "Language: it_IT\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=2; plural=n != 1;\n"
14
+ "X-Poedit-SourceCharset: UTF-8\n"
15
+ "X-Poedit-Basepath: .\n"
16
+ "X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;"
17
+ "__:1;_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
18
+ "_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;"
19
+ "esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;"
20
+ "esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
21
+ "X-Loco-Target-Locale: es_ES\n"
22
+ "X-Generator: Poedit 1.7.3\n"
23
+ "X-Poedit-SearchPath-0: ..\n"
24
+
25
+ #: includes/be-woocommerce-pdf-invoices-premium.php:89
26
+ #: includes/be-woocommerce-pdf-invoices.php:182
27
+ msgid "Invalid request"
28
+ msgstr ""
29
+
30
+ #: includes/be-woocommerce-pdf-invoices-premium.php:98
31
+ #: includes/be-woocommerce-pdf-invoices-premium.php:121
32
+ msgid "Something went wrong."
33
+ msgstr ""
34
+
35
+ #: includes/be-woocommerce-pdf-invoices-premium.php:109
36
+ #: includes/be-woocommerce-pdf-invoices-premium.php:132
37
+ msgid "No orders found."
38
+ msgstr ""
39
+
40
+ #: includes/be-woocommerce-pdf-invoices-premium.php:169
41
+ #: includes/be-woocommerce-pdf-invoices.php:136
42
+ msgid "Settings"
43
+ msgstr "Impostazioni"
44
+
45
+ #: includes/be-woocommerce-pdf-invoices-premium.php:170
46
+ #: includes/partials/settings-sidebar.php:50
47
+ msgid "Support"
48
+ msgstr "Supporto"
49
+
50
+ #: includes/be-woocommerce-pdf-invoices-premium.php:189
51
+ #, php-format
52
+ msgid ""
53
+ "<p><a href=\"%s\"><strong>WooCommerce PDF Invoices Premium</strong></a> "
54
+ "requires <a href=\"%s\"><strong>WooCommerce PDF Invoices</strong></a>. Get "
55
+ "the free version (%s+) and try again.</p>"
56
+ msgstr ""
57
+
58
+ #: includes/be-woocommerce-pdf-invoices-premium.php:195
59
+ #: includes/be-woocommerce-pdf-invoices.php:137
60
+ msgid "Premium"
61
+ msgstr "Premium"
62
+
63
+ #: includes/be-woocommerce-pdf-invoices-premium.php:210
64
+ msgid "Generate global invoice"
65
+ msgstr ""
66
+
67
+ #: includes/be-woocommerce-pdf-invoices-premium.php:264
68
+ msgid "Please select more then one order."
69
+ msgstr ""
70
+
71
+ #: includes/be-woocommerce-pdf-invoices-premium.php:360
72
+ msgid "Global invoice successfully generated! "
73
+ msgstr ""
74
+
75
+ #: includes/be-woocommerce-pdf-invoices.php:126
76
+ #, php-format
77
+ msgid ""
78
+ "Alrighty then! <a href=\"%s\">Let's start configuring <strong>WooCommerce "
79
+ "PDF Invoices</strong></a>."
80
+ msgstr ""
81
+ "Bene allora! <a href=\"%s\">Cominciamo la configurazione <strong>WooCommerce "
82
+ "PDF Fattura</strong></a>."
83
+
84
+ #: includes/be-woocommerce-pdf-invoices.php:185
85
+ msgid "Invalid order ID"
86
+ msgstr ""
87
+
88
+ #: includes/be-woocommerce-pdf-invoices.php:191
89
+ msgid "Access denied"
90
+ msgstr ""
91
+
92
+ #: includes/be-woocommerce-pdf-invoices.php:218
93
+ msgid "General"
94
+ msgstr "Generale"
95
+
96
+ #: includes/be-woocommerce-pdf-invoices.php:219
97
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:88
98
+ msgid "Template"
99
+ msgstr "Tema"
100
+
101
+ #: includes/be-woocommerce-pdf-invoices.php:251
102
+ msgid "Invoices"
103
+ msgstr "Fatture"
104
+
105
+ #: includes/be-woocommerce-pdf-invoices.php:294
106
+ #, php-format
107
+ msgid ""
108
+ "If you like <strong>WooCommerce PDF Invoices</strong> please leave us a "
109
+ "%s★★★★★%s rating. A huge thank you in advance!"
110
+ msgstr ""
111
+ "Se ti piace <strong>WooCommerce PDF Fattura</strong> ti preghiamo di "
112
+ "lasciare un% s ★★★★★% s voto. Un enorme grazie in anticipo!"
113
+
114
+ #: includes/be-woocommerce-pdf-invoices.php:295
115
+ #, php-format
116
+ msgid "Version %s"
117
+ msgstr "Versione %s"
118
+
119
+ #: includes/be-woocommerce-pdf-invoices.php:369
120
+ msgid "PDF Invoice"
121
+ msgstr "PDF Invoice"
122
+
123
+ #: includes/be-woocommerce-pdf-invoices.php:395
124
+ msgid "Invoiced on:"
125
+ msgstr "Fatturato in:"
126
+
127
+ #: includes/be-woocommerce-pdf-invoices.php:399
128
+ msgid "Invoice number:"
129
+ msgstr "Numero di fattura:"
130
+
131
+ #: includes/be-woocommerce-pdf-invoices.php:438
132
+ msgid "View invoice"
133
+ msgstr "Vedi fattura"
134
+
135
+ #: includes/be-woocommerce-pdf-invoices.php:438
136
+ msgid "View"
137
+ msgstr "Mostra"
138
+
139
+ #: includes/be-woocommerce-pdf-invoices.php:439
140
+ msgid "Cancel invoice"
141
+ msgstr "Cancella fattura"
142
+
143
+ #: includes/be-woocommerce-pdf-invoices.php:439
144
+ msgid "Cancel"
145
+ msgstr "Cancella"
146
+
147
+ #: includes/be-woocommerce-pdf-invoices.php:441
148
+ msgid "Are you sure to delete the invoice?"
149
+ msgstr "Sei sicuro di voler eliminare la fattura?"
150
+
151
+ #: includes/be-woocommerce-pdf-invoices.php:444
152
+ msgid "Create invoice"
153
+ msgstr "Creare fattura"
154
+
155
+ #: includes/be-woocommerce-pdf-invoices.php:444
156
+ msgid "Create"
157
+ msgstr "Crea"
158
+
159
+ #: includes/be-woocommerce-pdf-invoices.php:467
160
+ #, php-format
161
+ msgid "Invoice %s (PDF)"
162
+ msgstr "Fattura %s (PDF)"
163
+
164
+ #: includes/be-woocommerce-pdf-invoices.php:577
165
+ #, php-format
166
+ msgid ""
167
+ "You are working with <b>WooCommerce PDF Invoices</b> for some time now. We "
168
+ "really need your ★★★★★ rating. It will support future development big-time. "
169
+ "A huge thanks in advance and keep up the good work! <br /> <a href='%s' "
170
+ "target='_blank'>Yes, will do it right away!</a> - <a href='%s'>No, already "
171
+ "done it!</a>"
172
+ msgstr ""
173
+ "You are working with <b>WooCommerce PDF Invoices</b> for some time now. We "
174
+ "really need your ★★★★★ rating. It will support future development big-time. "
175
+ "A huge thanks in advance and keep up the good work! <br /> <a href='%s' "
176
+ "target='_blank'>Yes, will do it right away!</a> - <a href='%s'>No, already "
177
+ "done it!</a>"
178
+
179
+ #: includes/class-bewpi-invoice.php:50
180
+ msgid ""
181
+ "Whoops, no template found. Please select a template on the Template settings "
182
+ "page first."
183
+ msgstr ""
184
+ "Ops, nessun modello trovato. Selezionare prima un modello nella pagina delle "
185
+ "impostazioni."
186
+
187
+ #: includes/abstracts/abstract-bewpi-document.php:64
188
+ msgid "Paid"
189
+ msgstr "Pagato"
190
+
191
+ #: includes/abstracts/abstract-bewpi-invoice.php:262
192
+ #, php-format
193
+ msgid ""
194
+ "Could not create invoice. In order to reset invoice number with %d, delete "
195
+ "all invoices with invoice number %s and greater."
196
+ msgstr ""
197
+
198
+ #: includes/abstracts/abstract-bewpi-invoice.php:267
199
+ #, php-format
200
+ msgid ""
201
+ "Could not create invoice. Invoice with invoice number %s already exists. "
202
+ "First delete invoice and try again."
203
+ msgstr ""
204
+
205
+ #: includes/abstracts/abstract-bewpi-invoice.php:310
206
+ #, php-format
207
+ msgid ""
208
+ "Invoice with invoice number %s not found. First create invoice and try again."
209
+ msgstr ""
210
+
211
+ #: includes/abstracts/abstract-bewpi-invoice.php:372
212
+ #, php-format
213
+ msgid "VAT Number: %s"
214
+ msgstr ""
215
+
216
+ #: includes/abstracts/abstract-bewpi-invoice.php:383
217
+ #, php-format
218
+ msgid "Purchase Order Number: %s"
219
+ msgstr ""
220
+
221
+ #: includes/abstracts/abstract-bewpi-setting.php:98
222
+ msgid "Allowed HTML tags: "
223
+ msgstr ""
224
+
225
+ #: includes/abstracts/abstract-bewpi-setting.php:173
226
+ msgid "Remove logo"
227
+ msgstr "Elimina logo"
228
+
229
+ #: includes/admin/settings/class-bewpi-admin-settings-general.php:86
230
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:115
231
+ msgid "Attach to Email"
232
+ msgstr "Allega a e-mail"
233
+
234
+ #: includes/admin/settings/class-bewpi-admin-settings-general.php:94
235
+ msgid "Processing order"
236
+ msgstr "Ordine in lavorazione"
237
+
238
+ #: includes/admin/settings/class-bewpi-admin-settings-general.php:98
239
+ msgid "Completed order"
240
+ msgstr "Ordine Completato"
241
+
242
+ #: includes/admin/settings/class-bewpi-admin-settings-general.php:102
243
+ msgid "Customer invoice"
244
+ msgstr "Fattura Cliente"
245
+
246
+ #: includes/admin/settings/class-bewpi-admin-settings-general.php:106
247
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:135
248
+ msgid "Do not attach"
249
+ msgstr ""
250
+
251
+ #: includes/admin/settings/class-bewpi-admin-settings-general.php:120
252
+ msgid "Attach to New order Email"
253
+ msgstr "Allega a e-mail ordine nuovo"
254
+
255
+ #: includes/admin/settings/class-bewpi-admin-settings-general.php:127
256
+ msgid "View PDF"
257
+ msgstr ""
258
+
259
+ #: includes/admin/settings/class-bewpi-admin-settings-general.php:135
260
+ msgid "Download"
261
+ msgstr ""
262
+
263
+ #: includes/admin/settings/class-bewpi-admin-settings-general.php:139
264
+ msgid "Open in new browser tab/window"
265
+ msgstr ""
266
+
267
+ #: includes/admin/settings/class-bewpi-admin-settings-general.php:153
268
+ msgid "Enable download from account"
269
+ msgstr ""
270
+
271
+ #: includes/admin/settings/class-bewpi-admin-settings-general.php:154
272
+ msgid ""
273
+ "<br/><div class=\"bewpi-notes\">Let customers download invoice from account "
274
+ "page.</div>"
275
+ msgstr ""
276
+
277
+ #: includes/admin/settings/class-bewpi-admin-settings-general.php:166
278
+ msgid "Enable Email It In"
279
+ msgstr "Abilita email It In"
280
+
281
+ #: includes/admin/settings/class-bewpi-admin-settings-general.php:174
282
+ msgid "Email It In account"
283
+ msgstr "Conto Email It In"
284
+
285
+ #: includes/admin/settings/class-bewpi-admin-settings-general.php:179
286
+ #, php-format
287
+ msgid "Get your account from your Email It In %suser account%s."
288
+ msgstr "Ottieni il tuo account dal Email It In%suser account%s."
289
+
290
+ #: includes/admin/settings/class-bewpi-admin-settings-general.php:190
291
+ msgid "Enable mPDF debugging"
292
+ msgstr ""
293
+
294
+ #: includes/admin/settings/class-bewpi-admin-settings-general.php:191
295
+ msgid "Enable mPDF debugging if you aren't able to create an invoice."
296
+ msgstr ""
297
+
298
+ #: includes/admin/settings/class-bewpi-admin-settings-general.php:206
299
+ msgid "Email Options"
300
+ msgstr "Opzioni e-mail"
301
+
302
+ #: includes/admin/settings/class-bewpi-admin-settings-general.php:212
303
+ msgid "Download Options"
304
+ msgstr ""
305
+
306
+ #: includes/admin/settings/class-bewpi-admin-settings-general.php:218
307
+ msgid "Cloud Storage Options"
308
+ msgstr "Opzioni di Cloud Storage"
309
+
310
+ #: includes/admin/settings/class-bewpi-admin-settings-general.php:224
311
+ msgid "Debug Options"
312
+ msgstr ""
313
+
314
+ #: includes/admin/settings/class-bewpi-admin-settings-general.php:232
315
+ #, php-format
316
+ msgid ""
317
+ "Signup at %s to send invoices to your Dropbox, OneDrive, Google Drive or "
318
+ "Egnyte and enter your account below."
319
+ msgstr ""
320
+ "Iscriviti al%s per inviare le fatture al vostro Dropbox, Microsoft Onedrive, "
321
+ "Google Drive o Egnyte e inserisci il tuo conto qui sotto."
322
+
323
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:100
324
+ msgid "Color theme"
325
+ msgstr "Colore tema"
326
+
327
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:111
328
+ msgid "Date format"
329
+ msgstr "Formatto data"
330
+
331
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:116
332
+ #, php-format
333
+ msgid "%sFormat%s of invoice date and order date."
334
+ msgstr "%sFormat%s di data della fattura e la data dell'ordine."
335
+
336
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:131
337
+ msgid "Display prices including tax"
338
+ msgstr "Visualizzare prezzi i.v.a. inclusa"
339
+
340
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:132
341
+ msgid ""
342
+ "Line item totals will be including tax. <br/><b>Note</b>: Subtotal will "
343
+ "still be excluding tax, so disable it within the visible columns section."
344
+ msgstr ""
345
+ "Le voci verranno mostrate con IVA inclusa. <br/><b>Nota</b>: Subtotale sarà "
346
+ "mostrato con tasse escluse, quindi disattivarlo nella sezione colonne "
347
+ "visibile."
348
+
349
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:144
350
+ msgid "Shipping taxable"
351
+ msgstr "Spedizione imponibile"
352
+
353
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:145
354
+ msgid "Enable to display subtotal including shipping."
355
+ msgstr "Attiva per visualizzare il subtotale complesivo di spedizione."
356
+
357
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:157
358
+ msgid "Mark invoice as paid"
359
+ msgstr "Contrassegna fattura come pagato"
360
+
361
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:158
362
+ msgid "Invoice will be watermarked when order has been paid."
363
+ msgstr "Fattura sarà filigranata quando l'ordine è stato pagato."
364
+
365
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:166
366
+ msgid "Company name"
367
+ msgstr "Nome zienda"
368
+
369
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:177
370
+ msgid "Company logo"
371
+ msgstr "Logo azienda"
372
+
373
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:188
374
+ msgid "Company address"
375
+ msgstr "Indirizzo azienda"
376
+
377
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:193
378
+ msgid "Displayed in upper-right corner near logo."
379
+ msgstr ""
380
+
381
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:199
382
+ msgid "Company details"
383
+ msgstr "Dettagli azienda"
384
+
385
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:204
386
+ msgid "Displayed below company address."
387
+ msgstr ""
388
+
389
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:211
390
+ msgid "Thank you text"
391
+ msgstr ""
392
+
393
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:216
394
+ msgid "Displayed in big colored bar directly after invoice total."
395
+ msgstr ""
396
+
397
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:217
398
+ msgid "Thank you for your purchase!"
399
+ msgstr ""
400
+
401
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:227
402
+ msgid "Show customer notes"
403
+ msgstr "Mostra note del cliente"
404
+
405
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:234
406
+ msgid "Terms & conditions, policies etc."
407
+ msgstr "Termini e condizioni, politiche ecc"
408
+
409
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:239
410
+ #, php-format
411
+ msgid ""
412
+ "Displayed below customer notes and above footer. Want to attach additional "
413
+ "pages to the invoice? Take a look at the <a href=\"%s\">Premium</a> plugin."
414
+ msgstr ""
415
+
416
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:240
417
+ msgid "Items will be shipped within 2 days."
418
+ msgstr ""
419
+
420
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:246
421
+ msgid "Left footer column."
422
+ msgstr ""
423
+
424
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:252
425
+ #, php-format
426
+ msgid "<b>Payment method</b> %s"
427
+ msgstr ""
428
+
429
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:257
430
+ msgid "Right footer column."
431
+ msgstr ""
432
+
433
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:262
434
+ msgid "Leave empty to show page numbering."
435
+ msgstr ""
436
+
437
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:269
438
+ msgid "Type"
439
+ msgstr "Tipo"
440
+
441
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:277
442
+ msgid "WooCommerce order number"
443
+ msgstr "Numero d'ordine WooCommerce"
444
+
445
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:281
446
+ msgid "Sequential number"
447
+ msgstr "Numero sequenziale"
448
+
449
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:295
450
+ msgid "Reset invoice counter"
451
+ msgstr "Ripristina contatore fattura"
452
+
453
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:305
454
+ msgid "Next"
455
+ msgstr "Prossimo"
456
+
457
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:310
458
+ msgid ""
459
+ "Reset the invoice counter and start counting from given invoice number.<br/"
460
+ "><b>Note:</b> Only available for Sequential numbering and value will be "
461
+ "editable by selecting checkbox. Next number needs to be lower then highest "
462
+ "existing invoice number or delete invoices first."
463
+ msgstr ""
464
+
465
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:320
466
+ msgid "Digits"
467
+ msgstr "Cifre"
468
+
469
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:336
470
+ msgid "[prefix]"
471
+ msgstr "[prefisso]"
472
+
473
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:347
474
+ msgid "[suffix]"
475
+ msgstr "[suffisso]"
476
+
477
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:358
478
+ msgid "Format"
479
+ msgstr "Formato"
480
+
481
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:363
482
+ #, php-format
483
+ msgid ""
484
+ "Allowed placeholders: %s %s %s %s %s %s.<br/>%sNote:%s %s is required and "
485
+ "slashes aren't supported."
486
+ msgstr ""
487
+
488
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:377
489
+ msgid "Reset on 1st of january"
490
+ msgstr "Ripristina il 1 gennaio"
491
+
492
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:390
493
+ #: includes/templates/invoices/global/micro/body.php:44
494
+ #: includes/templates/invoices/simple/micro/body.php:48
495
+ msgid "SKU"
496
+ msgstr "SKU"
497
+
498
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:402
499
+ #: includes/templates/invoices/global/micro/body.php:236
500
+ #: includes/templates/invoices/simple/micro/body.php:101
501
+ msgid "Subtotal"
502
+ msgstr "Subtotale"
503
+
504
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:414
505
+ msgid "Tax (item)"
506
+ msgstr ""
507
+
508
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:426
509
+ msgid "Tax (total)"
510
+ msgstr ""
511
+
512
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:438
513
+ #: includes/templates/invoices/global/micro/body.php:220
514
+ #: includes/templates/invoices/simple/micro/body.php:85
515
+ msgid "Discount"
516
+ msgstr "Sconto"
517
+
518
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:450
519
+ #: includes/templates/invoices/global/micro/body.php:228
520
+ #: includes/templates/invoices/global/micro/body.php:244
521
+ #: includes/templates/invoices/simple/micro/body.php:93
522
+ #: includes/templates/invoices/simple/micro/body.php:109
523
+ msgid "Shipping"
524
+ msgstr "Spedizione"
525
+
526
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:464
527
+ msgid "General Options"
528
+ msgstr "Opzioni generali"
529
+
530
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:470
531
+ msgid "Invoice Number Options"
532
+ msgstr "Opzioni Numero di fattura"
533
+
534
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:476
535
+ msgid "Header Options"
536
+ msgstr "Opzioni intestazione"
537
+
538
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:482
539
+ msgid "Body Options"
540
+ msgstr ""
541
+
542
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:488
543
+ msgid "Footer Options"
544
+ msgstr "Opzioni piè "
545
+
546
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:494
547
+ msgid "Visible Columns"
548
+ msgstr "Colonne visibili"
549
+
550
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:500
551
+ msgid "These are the general template options."
552
+ msgstr "Queste sono le opzioni generali della tema."
553
+
554
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:501
555
+ msgid "These are the invoice number options."
556
+ msgstr "Queste sono le opzioni numero di fattura."
557
+
558
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:502
559
+ msgid "The header will be visible on every page. "
560
+ msgstr "L'intestazione sarà visibile in ogni pagina."
561
+
562
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:506
563
+ msgid "The footer will be visible on every page."
564
+ msgstr ""
565
+
566
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:506
567
+ msgid ""
568
+ "<b>Hint</b>: Use <code>[payment_method]</code> placeholder to display the "
569
+ "order payment method."
570
+ msgstr ""
571
+
572
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:509
573
+ msgid "Enable or disable the columns."
574
+ msgstr "Abilitare o disabilitare le colonne."
575
+
576
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:579
577
+ msgid "File is invalid and contains either '..' or './'."
578
+ msgstr "File non è valido o contiene '..' o './'."
579
+
580
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:586
581
+ msgid "File is invalid and contains ':' after the first character."
582
+ msgstr "File non è valido e contiene ':' dopo il primo carattere."
583
+
584
+ #: includes/admin/settings/class-bewpi-admin-settings-template.php:595
585
+ msgid "File should be less then 2MB."
586
+ msgstr "Il file deve essere inferiore a 2MB."
587
+
588
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:92
589
+ msgid "Purchase email"
590
+ msgstr ""
591
+
592
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:97
593
+ msgid ""
594
+ "Enter your email account from <a href=\"http://wcpdfinvoices.com"
595
+ "\">wcpdfinvoices.com</a>."
596
+ msgstr ""
597
+
598
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:103
599
+ msgid "License"
600
+ msgstr ""
601
+
602
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:108
603
+ msgid ""
604
+ "Enter your license key from <a href=\"http://wcpdfinvoices.com"
605
+ "\">wcpdfinvoices.com</a> to receive updates."
606
+ msgstr ""
607
+
608
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:123
609
+ msgid "Processing Renewal Order"
610
+ msgstr ""
611
+
612
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:127
613
+ msgid "Completed Renewal Order"
614
+ msgstr ""
615
+
616
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:131
617
+ msgid "Customer Renewal Invoice"
618
+ msgstr ""
619
+
620
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:149
621
+ msgid "Attach to New Renewal Order Email"
622
+ msgstr ""
623
+
624
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:157
625
+ msgid "PDF attachment"
626
+ msgstr ""
627
+
628
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:162
629
+ msgid "Add for example a PDF with your terms & conditions."
630
+ msgstr ""
631
+
632
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:168
633
+ msgid "Suppliers"
634
+ msgstr ""
635
+
636
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:173
637
+ msgid ""
638
+ "<b>Hint</b>: Send customer invoices to suppliers' Cloud Storages by simply "
639
+ "adding there Email It In email addresses. Email addresses need to be "
640
+ "seperated by comma's."
641
+ msgstr ""
642
+
643
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:184
644
+ msgid ""
645
+ "Enable customer generation<br/><div class=\"bewpi-notes\">Let customers "
646
+ "generate a global invoice from there account</div>"
647
+ msgstr ""
648
+
649
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:191
650
+ msgid "Customer generation period"
651
+ msgstr ""
652
+
653
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:196
654
+ msgid ""
655
+ "Should your customers have the ability to generate a global invoice by month "
656
+ "or by year?<br/><strong>Note:</strong> Customer generation should be enabled."
657
+ msgstr ""
658
+
659
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:199
660
+ msgid "Month"
661
+ msgstr ""
662
+
663
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:203
664
+ msgid "Year"
665
+ msgstr ""
666
+
667
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:217
668
+ msgid "Send to your Cloud Storage"
669
+ msgstr ""
670
+
671
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:229
672
+ msgid "Email to customer"
673
+ msgstr ""
674
+
675
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:241
676
+ msgid "Email to supplier(s)"
677
+ msgstr ""
678
+
679
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:248
680
+ msgid "Email subject"
681
+ msgstr ""
682
+
683
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:253
684
+ msgid "Subject for the global invoice email."
685
+ msgstr ""
686
+
687
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:260
688
+ msgid "Email message"
689
+ msgstr ""
690
+
691
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:265
692
+ msgid "Message for the global invoice email."
693
+ msgstr ""
694
+
695
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:279
696
+ msgid "Premium Options"
697
+ msgstr ""
698
+
699
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:285
700
+ msgid "Woocommerce Subscriptions Email Options"
701
+ msgstr ""
702
+
703
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:291
704
+ msgid "Attachment Options"
705
+ msgstr ""
706
+
707
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:297
708
+ msgid "Supplier Options"
709
+ msgstr ""
710
+
711
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:303
712
+ msgid "Global Invoice Options"
713
+ msgstr ""
714
+
715
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:310
716
+ msgid ""
717
+ "Attach PDF invoice to <a href=\"http://www.woothemes.com/products/"
718
+ "woocommerce-subscriptions/\">WooCommerce Subscriptions</a> email. Plugin "
719
+ "should be activated in order to work."
720
+ msgstr ""
721
+
722
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:311
723
+ msgid "Attach a PDF to the invoice."
724
+ msgstr ""
725
+
726
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:312
727
+ msgid "Send customer invoice automatically to your supplier(s)."
728
+ msgstr ""
729
+
730
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:313
731
+ msgid ""
732
+ "Generate global invoices on Orders page by selecting multiple orders and "
733
+ "applying action or let customers generate periodically from My Account page."
734
+ msgstr ""
735
+
736
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:407
737
+ msgid "File to large."
738
+ msgstr ""
739
+
740
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:410
741
+ msgid "Only PDF files are allowed."
742
+ msgstr ""
743
+
744
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:422
745
+ msgid "Remove"
746
+ msgstr ""
747
+
748
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:424
749
+ msgid "Choose"
750
+ msgstr ""
751
+
752
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:447
753
+ msgid "Active"
754
+ msgstr ""
755
+
756
+ #: includes/admin/settings/class-bewpipremium-admin-settings.php:449
757
+ msgid "Inactive"
758
+ msgstr ""
759
+
760
+ #: includes/partials/customer-generation.php:1
761
+ msgid "Generate Global Invoice"
762
+ msgstr ""
763
+
764
+ #: includes/partials/customer-generation.php:11
765
+ msgid "Select a month"
766
+ msgstr ""
767
+
768
+ #: includes/partials/customer-generation.php:24
769
+ msgid "Select a year"
770
+ msgstr ""
771
+
772
+ #: includes/partials/customer-generation.php:38
773
+ msgid "Generate invoice"
774
+ msgstr ""
775
+
776
+ #: includes/partials/settings-sidebar.php:2
777
+ msgid "WooCommerce PDF Invoices Premium"
778
+ msgstr ""
779
+
780
+ #: includes/partials/settings-sidebar.php:4
781
+ msgid ""
782
+ "This plugin offers a premium version which comes with the following features:"
783
+ msgstr ""
784
+
785
+ #: includes/partials/settings-sidebar.php:5
786
+ msgid "Bill periodically by generating and sending global invoices."
787
+ msgstr ""
788
+
789
+ #: includes/partials/settings-sidebar.php:6
790
+ msgid "Add additional PDF's to customer invoices."
791
+ msgstr ""
792
+
793
+ #: includes/partials/settings-sidebar.php:7
794
+ msgid "Send customer invoices directly to suppliers and others."
795
+ msgstr ""
796
+
797
+ #: includes/partials/settings-sidebar.php:8
798
+ #, php-format
799
+ msgid ""
800
+ "Compatible with <a href=\"%s\">WooCommerce Subscriptions</a> plugin emails."
801
+ msgstr ""
802
+
803
+ #: includes/partials/settings-sidebar.php:10
804
+ msgid "Learn more"
805
+ msgstr ""
806
+
807
+ #: includes/partials/settings-sidebar.php:13
808
+ msgid "Stay up-to-date"
809
+ msgstr ""
810
+
811
+ #: includes/partials/settings-sidebar.php:17
812
+ msgid ""
813
+ "We're constantly developing new features, stay up-to-date by subscribing to "
814
+ "our newsletter."
815
+ msgstr ""
816
+
817
+ #: includes/partials/settings-sidebar.php:23
818
+ msgid "Your email address"
819
+ msgstr "Il tuo indirizzo email"
820
+
821
+ #: includes/partials/settings-sidebar.php:29
822
+ msgid "Signup"
823
+ msgstr "Registrati"
824
+
825
+ #: includes/partials/settings-sidebar.php:32
826
+ msgid "No spam, ever. Unsubscribe at any time"
827
+ msgstr "Niente spam. Puoi disdire in qualsiasi momento"
828
+
829
+ #: includes/partials/settings-sidebar.php:41
830
+ msgid "About"
831
+ msgstr "Informazioni su"
832
+
833
+ #: includes/partials/settings-sidebar.php:43
834
+ msgid ""
835
+ "This plugin is an open source project wich aims to fill the invoicing gap of "
836
+ "<a href=\"http://www.woothemes.com/woocommerce\">WooCommerce</a>."
837
+ msgstr ""
838
+ "Questo plugin è un progetto open source che mira a colmare il gap di "
839
+ "fatturazione <a href=\"http://www.woothemes.com/woocommerce\">WooCommerce</"
840
+ "a>."
841
+
842
+ #: includes/partials/settings-sidebar.php:45
843
+ msgid "<b>Version</b>: "
844
+ msgstr "<b>Versione</b>: "
845
+
846
+ #: includes/partials/settings-sidebar.php:47
847
+ msgid "<b>Author</b>: <a href=\"https://github.com/baselbers\">Bas Elbers</a>"
848
+ msgstr "<b>Autore</b>: <a href=\"https://github.com/baselbers\">Bas Elbers</a>"
849
+
850
+ #: includes/partials/settings-sidebar.php:52
851
+ msgid ""
852
+ "We will never ask for donations, but to garantee future development, we do "
853
+ "need your support. Please show us your appreciation by leaving a <a href="
854
+ "\"https://wordpress.org/support/view/plugin-reviews/woocommerce-pdf-invoices?"
855
+ "rate=5#postform\">★★★★★</a> rating and vote for <a href=\"https://wordpress."
856
+ "org/plugins/woocommerce-pdf-invoices/\">works</a>."
857
+ msgstr ""
858
+ "Non chiederemo mai donazioni, ma a garanzia della sviluppo futuro, abbiamo "
859
+ "bisogno del vostro supporto. Vi preghiamo di mostrare il vostro "
860
+ "apprezzamento lasciando una <a href=\"https://wordpress.org/support/view/"
861
+ "plugin-reviews/woocommerce-pdf-invoices?rate=5#postform\">★★★★★</"
862
+ "a>valutazione e votare<a href=\"https://wordpress.org/plugins/woocommerce-"
863
+ "pdf-invoices/\">works</a>."
864
+
865
+ #: includes/partials/settings-sidebar.php:72
866
+ msgid ""
867
+ "Checkout this amazing free WooCommerce PDF Invoices plugin for WordPress!"
868
+ msgstr ""
869
+ "Checkout this amazing free WooCommerce PDF Invoices plugin for WordPress!"
870
+
871
+ #: includes/partials/settings-sidebar.php:77
872
+ msgid "Need Help?"
873
+ msgstr "Ho bisogno di aiuto?"
874
+
875
+ #: includes/partials/settings-sidebar.php:79
876
+ msgid "Frequently Asked Questions"
877
+ msgstr "Domande frequenti"
878
+
879
+ #: includes/partials/settings-sidebar.php:80
880
+ msgid "Support forum"
881
+ msgstr "Forum di supporto"
882
+
883
+ #: includes/partials/settings-sidebar.php:81
884
+ msgid "Request a feature"
885
+ msgstr "Richiedi una funzione"
886
+
887
+ #: includes/partials/settings-sidebar.php:82
888
+ msgid "Email us"
889
+ msgstr "Mandaci una email"
890
+
891
+ #: includes/templates/invoices/global/micro/body.php:5
892
+ #: includes/templates/invoices/simple/micro/body.php:5
893
+ msgid "Invoice to"
894
+ msgstr "Indirizzo Fatturazione"
895
+
896
+ #: includes/templates/invoices/global/micro/body.php:7
897
+ #: includes/templates/invoices/simple/micro/body.php:7
898
+ #, php-format
899
+ msgid "Phone: %s"
900
+ msgstr "Telefono: %s"
901
+
902
+ #: includes/templates/invoices/global/micro/body.php:11
903
+ #: includes/templates/invoices/simple/micro/body.php:11
904
+ msgid "Ship to"
905
+ msgstr "Indirizzo Spedizione"
906
+
907
+ #: includes/templates/invoices/global/micro/body.php:22
908
+ msgid "Global Invoice"
909
+ msgstr "Fattura Globale"
910
+
911
+ #: includes/templates/invoices/global/micro/body.php:40
912
+ #: includes/templates/invoices/simple/micro/body.php:44
913
+ msgid "Description"
914
+ msgstr "Descrizione"
915
+
916
+ #: includes/templates/invoices/global/micro/body.php:48
917
+ #: includes/templates/invoices/simple/micro/body.php:52
918
+ msgid "Cost"
919
+ msgstr "Prezzo"
920
+
921
+ #: includes/templates/invoices/global/micro/body.php:50
922
+ #: includes/templates/invoices/simple/micro/body.php:54
923
+ msgid "Qty"
924
+ msgstr "Q.tà"
925
+
926
+ #: includes/templates/invoices/global/micro/body.php:56
927
+ #: includes/templates/invoices/simple/micro/body.php:60
928
+ msgid "VAT"
929
+ msgstr "IVA"
930
+
931
+ #: includes/templates/invoices/global/micro/body.php:67
932
+ #: includes/templates/invoices/global/micro/body.php:280
933
+ #: includes/templates/invoices/simple/micro/body.php:71
934
+ #: includes/templates/invoices/simple/micro/body.php:145
935
+ msgid "Total"
936
+ msgstr "Totale"
937
+
938
+ #: includes/templates/invoices/global/micro/body.php:75
939
+ #, php-format
940
+ msgid "Order #%d - %s"
941
+ msgstr "Ordine #%d - %s"
942
+
943
+ #: includes/templates/invoices/global/micro/body.php:255
944
+ #: includes/templates/invoices/simple/micro/body.php:120
945
+ msgid "Fee"
946
+ msgstr "Quota"
947
+
948
+ #: includes/templates/invoices/global/micro/body.php:287
949
+ #: includes/templates/invoices/simple/micro/body.php:152
950
+ msgid "Refunded"
951
+ msgstr "Rimborsato"
952
+
953
+ #: includes/templates/invoices/global/micro/footer.php:15
954
+ #: includes/templates/invoices/simple/micro/footer.php:18
955
+ #, php-format
956
+ msgid "%s of %s"
957
+ msgstr ""
958
+
959
+ #: includes/templates/invoices/simple/micro/body.php:22
960
+ msgid "Invoice"
961
+ msgstr "Fattura"
962
+
963
+ #: includes/templates/invoices/simple/micro/body.php:25
964
+ #, php-format
965
+ msgid "Order Number: %s"
966
+ msgstr "Ordine Numero: %s"
967
+
968
+ #: includes/templates/invoices/simple/micro/body.php:26
969
+ #, php-format
970
+ msgid "Order Date: %s"
971
+ msgstr "Data Ordine: %s"
972
+
973
+ #: includes/templates/invoices/simple/micro/body.php:289
974
+ #: includes/templates/invoices/simple/micro/body.php:294
975
+ msgid "Customer note"
976
+ msgstr "Nota Cliente"
977
+
978
+ #~ msgid "Feel free to use "
979
+ #~ msgstr "Sentitevi liberi di usare"
980
+
981
+ #~ msgid ""
982
+ #~ "<b>Note</b>: If your logo doesn't show up, try to enable "
983
+ #~ "<code>allow_url_fopen</code>."
984
+ #~ msgstr ""
985
+ #~ "<b>Nota</b>: Se il logo non compare, prova ad utilizzare "
986
+ #~ "<code>allow_url_fopen</code>."
987
+
988
+ #~ msgid "Intro text"
989
+ #~ msgstr "Testo introduttivo"
990
+
991
+ #~ msgid ""
992
+ #~ "Reset the invoice counter and start with next invoice number. %s %sNote:"
993
+ #~ "%s Only available with sequential numbering type and you need to check "
994
+ #~ "the checkbox to actually reset the value."
995
+ #~ msgstr ""
996
+ #~ "Azzerare il contatore della fattura e iniziare con il prossimo numero "
997
+ #~ "della fattura. %s %sNota:%s Disponibile solo con numerazione sequenziale "
998
+ #~ "è sara necessario abilitare la casella per ripristinare realmente il "
999
+ #~ "valore."
1000
+
1001
+ #~ msgid ""
1002
+ #~ "Feel free to use the placeholders %s %s %s %s %s and %s. %s %sNote:%s %s "
1003
+ #~ "is required and slashes aren't supported."
1004
+ #~ msgstr ""
1005
+ #~ "Non esitare di utilizzare i segnaposto %s %s %s %s %s and %s. %s %sNota:"
1006
+ #~ "%s %s è obbligatorio e i slash non sono supportati."
1007
+
1008
+ #~ msgid "Tax"
1009
+ #~ msgstr "Imposta"
1010
+
1011
+ #~ msgid "The footer will be visible on every page. "
1012
+ #~ msgstr "Il piè sarà visibile in ogni pagina."
1013
+
1014
+ #~ msgid "Invoicing on Steroids"
1015
+ #~ msgstr "Invoicing on Steroids"
1016
+
1017
+ #~ msgid ""
1018
+ #~ "We're working on a more powerful version of this invoicing plugin. Be the "
1019
+ #~ "first to know when we're ready to launch and receive a unique one-time "
1020
+ #~ "discount!"
1021
+ #~ msgstr ""
1022
+ #~ "Stiamo lavorando su una versione più potente di questo plugin. Puoi "
1023
+ #~ "essere il primo a sapere quando saremo pronti a lanciare e riceverai uno "
1024
+ #~ "sconto unico!"
1025
+
1026
+ #~ msgid "%sPayment%s via"
1027
+ #~ msgstr "%sPagamento%s via"
1028
+
1029
+ #~ msgid ""
1030
+ #~ "Feel free to use the placeholders %s %s %s %s %s and %s. %s %sNote:%s %s "
1031
+ #~ "is required."
1032
+ #~ msgstr ""
1033
+ #~ "No dude en utilizar los marcadores de posición %s %s %s %s %s y %s. %s "
1034
+ #~ "%sNote:%s %s es necesario."
1035
+
1036
+ #~ msgid "Subtotal will be including tax and excluding discount and shipping."
1037
+ #~ msgstr "Subtotal es incluyendo impuestos y excepto el descuento y el envío."
1038
+
1039
+ #~ msgid ""
1040
+ #~ "Thank you for using <b>WooCommerce PDF Invoices</b> for some time now. "
1041
+ #~ "Please show us your appreciation by leaving a ★★★★★ rating. A huge thank "
1042
+ #~ "you in advance! <br /> <a href='%s' target='_blank'>Yes, will do it right "
1043
+ #~ "away!</a> - <a href='%s'>No, already done it!</a>"
1044
+ #~ msgstr ""
1045
+ #~ "Gracias por usar <b>WooCommerce PDF Facturas</b> por algún tiempo ahora. "
1046
+ #~ "Por favor, mostrar su agradecimiento al dejar una calificación ★★★★★. Un "
1047
+ #~ "enorme gracias por adelantado! <br /> <a href='%s' target='_blank'>Sí, lo "
1048
+ #~ "hará de inmediato!</a> - <a href='%s'>No, ya hecho!</a>"
1049
+
1050
+ #~ msgid "Order Number %s"
1051
+ #~ msgstr "Número de pedido: %s"
1052
+
1053
+ #~ msgid "Order Date %s"
1054
+ #~ msgstr "Fecha del pedido: %s"
lang/woocommerce-pdf-invoices-nb_NO.mo CHANGED
Binary file
lang/woocommerce-pdf-invoices-nb_NO.po CHANGED
@@ -2,14 +2,14 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices\n"
4
  "POT-Creation-Date: 2016-03-04 14:25+0100\n"
5
- "PO-Revision-Date: 2016-03-04 14:25+0100\n"
6
  "Last-Translator: Anders Sorensen <anders@zorensen.no>\n"
7
  "Language-Team: \n"
8
  "Language: nb\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.7.3\n"
13
  "X-Poedit-Basepath: ..\n"
14
  "X-Poedit-SourceCharset: UTF-8\n"
15
  "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
@@ -52,12 +52,12 @@ msgstr ""
52
  #: includes/abstracts/abstract-bewpi-invoice.php:372
53
  #, php-format
54
  msgid "VAT Number: %s"
55
- msgstr ""
56
 
57
  #: includes/abstracts/abstract-bewpi-invoice.php:383
58
  #, php-format
59
  msgid "Purchase Order Number: %s"
60
- msgstr ""
61
 
62
  #: includes/abstracts/abstract-bewpi-setting.php:98
63
  msgid "Allowed HTML tags: "
@@ -107,13 +107,15 @@ msgstr "Åpne i ny fane/vindu"
107
 
108
  #: includes/admin/settings/class-bewpi-admin-settings-general.php:153
109
  msgid "Enable download from account"
110
- msgstr ""
111
 
112
  #: includes/admin/settings/class-bewpi-admin-settings-general.php:154
113
  msgid ""
114
  "<br/><div class=\"bewpi-notes\">Let customers download invoice from account "
115
  "page.</div>"
116
  msgstr ""
 
 
117
 
118
  #: includes/admin/settings/class-bewpi-admin-settings-general.php:166
119
  msgid "Enable Email It In"
@@ -130,11 +132,11 @@ msgstr "Få din konto fra din Email It In %suser account%s."
130
 
131
  #: includes/admin/settings/class-bewpi-admin-settings-general.php:190
132
  msgid "Enable mPDF debugging"
133
- msgstr ""
134
 
135
  #: includes/admin/settings/class-bewpi-admin-settings-general.php:191
136
  msgid "Enable mPDF debugging if you aren't able to create an invoice."
137
- msgstr ""
138
 
139
  #: includes/admin/settings/class-bewpi-admin-settings-general.php:206
140
  msgid "Email Options"
@@ -142,7 +144,7 @@ msgstr "E-post alternativer"
142
 
143
  #: includes/admin/settings/class-bewpi-admin-settings-general.php:212
144
  msgid "Download Options"
145
- msgstr ""
146
 
147
  #: includes/admin/settings/class-bewpi-admin-settings-general.php:218
148
  msgid "Cloud Storage Options"
@@ -150,7 +152,7 @@ msgstr "Skylagringsalternativer"
150
 
151
  #: includes/admin/settings/class-bewpi-admin-settings-general.php:224
152
  msgid "Debug Options"
153
- msgstr ""
154
 
155
  #: includes/admin/settings/class-bewpi-admin-settings-general.php:232
156
  #, php-format
@@ -444,51 +446,55 @@ msgstr "Filen bør være under 2 megabyte."
444
 
445
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:92
446
  msgid "Purchase email"
447
- msgstr ""
448
 
449
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:97
450
  msgid ""
451
  "Enter your email account from <a href=\"http://wcpdfinvoices.com"
452
  "\">wcpdfinvoices.com</a>."
453
  msgstr ""
 
 
454
 
455
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:103
456
  msgid "License"
457
- msgstr ""
458
 
459
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:108
460
  msgid ""
461
  "Enter your license key from <a href=\"http://wcpdfinvoices.com"
462
  "\">wcpdfinvoices.com</a> to receive updates."
463
  msgstr ""
 
 
464
 
465
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:123
466
  msgid "Processing Renewal Order"
467
- msgstr ""
468
 
469
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:127
470
  msgid "Completed Renewal Order"
471
- msgstr ""
472
 
473
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:131
474
  msgid "Customer Renewal Invoice"
475
- msgstr ""
476
 
477
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:149
478
  msgid "Attach to New Renewal Order Email"
479
- msgstr ""
480
 
481
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:157
482
  msgid "PDF attachment"
483
- msgstr ""
484
 
485
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:162
486
  msgid "Add for example a PDF with your terms & conditions."
487
- msgstr ""
488
 
489
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:168
490
  msgid "Suppliers"
491
- msgstr ""
492
 
493
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:173
494
  msgid ""
@@ -496,78 +502,84 @@ msgid ""
496
  "adding there Email It In email addresses. Email addresses need to be "
497
  "seperated by comma's."
498
  msgstr ""
 
 
499
 
500
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:184
501
  msgid ""
502
  "Enable customer generation<br/><div class=\"bewpi-notes\">Let customers "
503
  "generate a global invoice from there account</div>"
504
  msgstr ""
 
 
505
 
506
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:191
507
  msgid "Customer generation period"
508
- msgstr ""
509
 
510
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:196
511
  msgid ""
512
  "Should your customers have the ability to generate a global invoice by month "
513
  "or by year?<br/><strong>Note:</strong> Customer generation should be enabled."
514
  msgstr ""
 
 
515
 
516
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:199
517
  msgid "Month"
518
- msgstr ""
519
 
520
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:203
521
  msgid "Year"
522
- msgstr ""
523
 
524
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:217
525
  msgid "Send to your Cloud Storage"
526
- msgstr ""
527
 
528
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:229
529
  msgid "Email to customer"
530
- msgstr ""
531
 
532
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:241
533
  msgid "Email to supplier(s)"
534
- msgstr ""
535
 
536
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:248
537
  msgid "Email subject"
538
- msgstr ""
539
 
540
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:253
541
  msgid "Subject for the global invoice email."
542
- msgstr ""
543
 
544
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:260
545
  msgid "Email message"
546
- msgstr ""
547
 
548
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:265
549
  msgid "Message for the global invoice email."
550
- msgstr ""
551
 
552
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:279
553
  msgid "Premium Options"
554
- msgstr ""
555
 
556
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:285
557
  msgid "Woocommerce Subscriptions Email Options"
558
- msgstr ""
559
 
560
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:291
561
  msgid "Attachment Options"
562
- msgstr ""
563
 
564
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:297
565
  msgid "Supplier Options"
566
- msgstr ""
567
 
568
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:303
569
  msgid "Global Invoice Options"
570
- msgstr ""
571
 
572
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:310
573
  msgid ""
@@ -575,59 +587,64 @@ msgid ""
575
  "woocommerce-subscriptions/\">WooCommerce Subscriptions</a> email. Plugin "
576
  "should be activated in order to work."
577
  msgstr ""
 
 
 
578
 
579
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:311
580
  msgid "Attach a PDF to the invoice."
581
- msgstr ""
582
 
583
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:312
584
  msgid "Send customer invoice automatically to your supplier(s)."
585
- msgstr ""
586
 
587
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:313
588
  msgid ""
589
  "Generate global invoices on Orders page by selecting multiple orders and "
590
  "applying action or let customers generate periodically from My Account page."
591
  msgstr ""
 
 
592
 
593
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:407
594
  msgid "File to large."
595
- msgstr ""
596
 
597
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:410
598
  msgid "Only PDF files are allowed."
599
- msgstr ""
600
 
601
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:422
602
  msgid "Remove"
603
- msgstr ""
604
 
605
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:424
606
  msgid "Choose"
607
- msgstr ""
608
 
609
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:447
610
  msgid "Active"
611
- msgstr ""
612
 
613
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:449
614
  msgid "Inactive"
615
- msgstr ""
616
 
617
  #: includes/be-woocommerce-pdf-invoices-premium.php:89
618
  #: includes/be-woocommerce-pdf-invoices.php:182
619
  msgid "Invalid request"
620
- msgstr ""
621
 
622
  #: includes/be-woocommerce-pdf-invoices-premium.php:98
623
  #: includes/be-woocommerce-pdf-invoices-premium.php:121
624
  msgid "Something went wrong."
625
- msgstr ""
626
 
627
  #: includes/be-woocommerce-pdf-invoices-premium.php:109
628
  #: includes/be-woocommerce-pdf-invoices-premium.php:132
629
  msgid "No orders found."
630
- msgstr ""
631
 
632
  #: includes/be-woocommerce-pdf-invoices-premium.php:169
633
  #: includes/be-woocommerce-pdf-invoices.php:136
@@ -646,6 +663,9 @@ msgid ""
646
  "requires <a href=\"%s\"><strong>WooCommerce PDF Invoices</strong></a>. Get "
647
  "the free version (%s+) and try again.</p>"
648
  msgstr ""
 
 
 
649
 
650
  #: includes/be-woocommerce-pdf-invoices-premium.php:195
651
  #: includes/be-woocommerce-pdf-invoices.php:137
@@ -658,11 +678,11 @@ msgstr "Opprett global faktura"
658
 
659
  #: includes/be-woocommerce-pdf-invoices-premium.php:264
660
  msgid "Please select more then one order."
661
- msgstr ""
662
 
663
  #: includes/be-woocommerce-pdf-invoices-premium.php:360
664
  msgid "Global invoice successfully generated! "
665
- msgstr ""
666
 
667
  #: includes/be-woocommerce-pdf-invoices.php:126
668
  #, php-format
@@ -675,11 +695,11 @@ msgstr ""
675
 
676
  #: includes/be-woocommerce-pdf-invoices.php:185
677
  msgid "Invalid order ID"
678
- msgstr ""
679
 
680
  #: includes/be-woocommerce-pdf-invoices.php:191
681
  msgid "Access denied"
682
- msgstr ""
683
 
684
  #: includes/be-woocommerce-pdf-invoices.php:218
685
  msgid "General"
@@ -772,19 +792,19 @@ msgstr ""
772
 
773
  #: includes/partials/customer-generation.php:1
774
  msgid "Generate Global Invoice"
775
- msgstr ""
776
 
777
  #: includes/partials/customer-generation.php:11
778
  msgid "Select a month"
779
- msgstr ""
780
 
781
  #: includes/partials/customer-generation.php:24
782
  msgid "Select a year"
783
- msgstr ""
784
 
785
  #: includes/partials/customer-generation.php:38
786
  msgid "Generate invoice"
787
- msgstr ""
788
 
789
  #: includes/partials/settings-sidebar.php:2
790
  msgid "WooCommerce PDF Invoices Premium"
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices\n"
4
  "POT-Creation-Date: 2016-03-04 14:25+0100\n"
5
+ "PO-Revision-Date: 2016-03-09 19:36+0100\n"
6
  "Last-Translator: Anders Sorensen <anders@zorensen.no>\n"
7
  "Language-Team: \n"
8
  "Language: nb\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.5\n"
13
  "X-Poedit-Basepath: ..\n"
14
  "X-Poedit-SourceCharset: UTF-8\n"
15
  "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
52
  #: includes/abstracts/abstract-bewpi-invoice.php:372
53
  #, php-format
54
  msgid "VAT Number: %s"
55
+ msgstr "MVA nummber: %s"
56
 
57
  #: includes/abstracts/abstract-bewpi-invoice.php:383
58
  #, php-format
59
  msgid "Purchase Order Number: %s"
60
+ msgstr "Ordrenummer: %s"
61
 
62
  #: includes/abstracts/abstract-bewpi-setting.php:98
63
  msgid "Allowed HTML tags: "
107
 
108
  #: includes/admin/settings/class-bewpi-admin-settings-general.php:153
109
  msgid "Enable download from account"
110
+ msgstr "Aktiver nedlastning fra konto"
111
 
112
  #: includes/admin/settings/class-bewpi-admin-settings-general.php:154
113
  msgid ""
114
  "<br/><div class=\"bewpi-notes\">Let customers download invoice from account "
115
  "page.</div>"
116
  msgstr ""
117
+ "<br/><div class=\"bewpi-notes\">La kunder laste ned faktura fra kontosiden.</"
118
+ "div>"
119
 
120
  #: includes/admin/settings/class-bewpi-admin-settings-general.php:166
121
  msgid "Enable Email It In"
132
 
133
  #: includes/admin/settings/class-bewpi-admin-settings-general.php:190
134
  msgid "Enable mPDF debugging"
135
+ msgstr "Aktiver mPDF feilsøking"
136
 
137
  #: includes/admin/settings/class-bewpi-admin-settings-general.php:191
138
  msgid "Enable mPDF debugging if you aren't able to create an invoice."
139
+ msgstr "Aktiver mPDF feilsøking om du ikke får opprettet fakturaer."
140
 
141
  #: includes/admin/settings/class-bewpi-admin-settings-general.php:206
142
  msgid "Email Options"
144
 
145
  #: includes/admin/settings/class-bewpi-admin-settings-general.php:212
146
  msgid "Download Options"
147
+ msgstr "Nedlastningalternativer"
148
 
149
  #: includes/admin/settings/class-bewpi-admin-settings-general.php:218
150
  msgid "Cloud Storage Options"
152
 
153
  #: includes/admin/settings/class-bewpi-admin-settings-general.php:224
154
  msgid "Debug Options"
155
+ msgstr "Feilsøkingsalternativer"
156
 
157
  #: includes/admin/settings/class-bewpi-admin-settings-general.php:232
158
  #, php-format
446
 
447
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:92
448
  msgid "Purchase email"
449
+ msgstr "E-post benyttet ved kjøp"
450
 
451
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:97
452
  msgid ""
453
  "Enter your email account from <a href=\"http://wcpdfinvoices.com"
454
  "\">wcpdfinvoices.com</a>."
455
  msgstr ""
456
+ "Skriv inn din e-post konto fra <a href=\"http://wcpdfinvoices.com"
457
+ "\">wcpdfinvoices.com</a>."
458
 
459
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:103
460
  msgid "License"
461
+ msgstr "Lisens"
462
 
463
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:108
464
  msgid ""
465
  "Enter your license key from <a href=\"http://wcpdfinvoices.com"
466
  "\">wcpdfinvoices.com</a> to receive updates."
467
  msgstr ""
468
+ "Skriv inn din lisensnøkkel fra <a href=\"http://wcpdfinvoices.com"
469
+ "\">wcpdfinvoices.com</a> for å motta oppdateringer."
470
 
471
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:123
472
  msgid "Processing Renewal Order"
473
+ msgstr "Behandler fornyelse ordre"
474
 
475
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:127
476
  msgid "Completed Renewal Order"
477
+ msgstr "Fullført fornyelse ordre"
478
 
479
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:131
480
  msgid "Customer Renewal Invoice"
481
+ msgstr "Kundens fornyelse faktura"
482
 
483
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:149
484
  msgid "Attach to New Renewal Order Email"
485
+ msgstr "Legg til ny fornyelse ordre e-post"
486
 
487
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:157
488
  msgid "PDF attachment"
489
+ msgstr "PDF vedlegg"
490
 
491
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:162
492
  msgid "Add for example a PDF with your terms & conditions."
493
+ msgstr "Legg til for eksempel en PDF med dine betingelser."
494
 
495
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:168
496
  msgid "Suppliers"
497
+ msgstr "Leverandører"
498
 
499
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:173
500
  msgid ""
502
  "adding there Email It In email addresses. Email addresses need to be "
503
  "seperated by comma's."
504
  msgstr ""
505
+ "<b>Hint</b>: Send kundefaktura til leverandørenes skylagringer ved å enkelt "
506
+ "legge til Email It In e-post adresser. E-post adressene må skilles med komma."
507
 
508
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:184
509
  msgid ""
510
  "Enable customer generation<br/><div class=\"bewpi-notes\">Let customers "
511
  "generate a global invoice from there account</div>"
512
  msgstr ""
513
+ "Aktiver kundegenerering<br/><div class=\"bewpi-notes\">La kunder generere "
514
+ "globale fakturaer fra deres konto.</div>"
515
 
516
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:191
517
  msgid "Customer generation period"
518
+ msgstr "Kunde genereringsperiode"
519
 
520
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:196
521
  msgid ""
522
  "Should your customers have the ability to generate a global invoice by month "
523
  "or by year?<br/><strong>Note:</strong> Customer generation should be enabled."
524
  msgstr ""
525
+ "Skal kundene dine ha tilgang til å opprette globale fakturaer per måned "
526
+ "eller per år?<br/><strong>Merk:</strong> Kundegenerering bør være aktivert."
527
 
528
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:199
529
  msgid "Month"
530
+ msgstr "Måned"
531
 
532
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:203
533
  msgid "Year"
534
+ msgstr "År"
535
 
536
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:217
537
  msgid "Send to your Cloud Storage"
538
+ msgstr "Send til din skylagring"
539
 
540
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:229
541
  msgid "Email to customer"
542
+ msgstr "E-post til kunde"
543
 
544
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:241
545
  msgid "Email to supplier(s)"
546
+ msgstr "E-post til leverandør(er)"
547
 
548
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:248
549
  msgid "Email subject"
550
+ msgstr "E-post emne"
551
 
552
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:253
553
  msgid "Subject for the global invoice email."
554
+ msgstr "Emne for global faktura e-post."
555
 
556
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:260
557
  msgid "Email message"
558
+ msgstr "E-post melding"
559
 
560
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:265
561
  msgid "Message for the global invoice email."
562
+ msgstr "Melding fra e-posten med global faktura."
563
 
564
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:279
565
  msgid "Premium Options"
566
+ msgstr "Premium alternativer"
567
 
568
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:285
569
  msgid "Woocommerce Subscriptions Email Options"
570
+ msgstr "WooCommerce Abonnement E-post Alternativer"
571
 
572
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:291
573
  msgid "Attachment Options"
574
+ msgstr "Vedleggsalternativer"
575
 
576
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:297
577
  msgid "Supplier Options"
578
+ msgstr "Leverandøralternativer"
579
 
580
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:303
581
  msgid "Global Invoice Options"
582
+ msgstr "Global faktura alternativer"
583
 
584
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:310
585
  msgid ""
587
  "woocommerce-subscriptions/\">WooCommerce Subscriptions</a> email. Plugin "
588
  "should be activated in order to work."
589
  msgstr ""
590
+ "Legg ved PDF faktura til <a href=\"http://www.woothemes.com/products/"
591
+ "woocommerce-subscriptions/\">WooCommerce Abonnement</a> e-post- Utvidelsen "
592
+ "må være aktivert før dette fungerer."
593
 
594
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:311
595
  msgid "Attach a PDF to the invoice."
596
+ msgstr "Legg ved en PDF til fakturaen."
597
 
598
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:312
599
  msgid "Send customer invoice automatically to your supplier(s)."
600
+ msgstr "Send kundefaktura automatisk til dine leverandører."
601
 
602
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:313
603
  msgid ""
604
  "Generate global invoices on Orders page by selecting multiple orders and "
605
  "applying action or let customers generate periodically from My Account page."
606
  msgstr ""
607
+ "Generer globale fakturaer på ordresiden ved å velge flere ordre og utføre "
608
+ "handlingen eller la kundene generere periodisk fra Min Konto -siden."
609
 
610
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:407
611
  msgid "File to large."
612
+ msgstr "Filen er for stor."
613
 
614
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:410
615
  msgid "Only PDF files are allowed."
616
+ msgstr "Kun PDF filer er tillatt."
617
 
618
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:422
619
  msgid "Remove"
620
+ msgstr "Fjern"
621
 
622
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:424
623
  msgid "Choose"
624
+ msgstr "Velg"
625
 
626
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:447
627
  msgid "Active"
628
+ msgstr "Aktiv"
629
 
630
  #: includes/admin/settings/class-bewpipremium-admin-settings.php:449
631
  msgid "Inactive"
632
+ msgstr "Inaktiv"
633
 
634
  #: includes/be-woocommerce-pdf-invoices-premium.php:89
635
  #: includes/be-woocommerce-pdf-invoices.php:182
636
  msgid "Invalid request"
637
+ msgstr "Ugyldig forespørsel"
638
 
639
  #: includes/be-woocommerce-pdf-invoices-premium.php:98
640
  #: includes/be-woocommerce-pdf-invoices-premium.php:121
641
  msgid "Something went wrong."
642
+ msgstr "Noe gikk galt."
643
 
644
  #: includes/be-woocommerce-pdf-invoices-premium.php:109
645
  #: includes/be-woocommerce-pdf-invoices-premium.php:132
646
  msgid "No orders found."
647
+ msgstr "Ingen ordre funnet."
648
 
649
  #: includes/be-woocommerce-pdf-invoices-premium.php:169
650
  #: includes/be-woocommerce-pdf-invoices.php:136
663
  "requires <a href=\"%s\"><strong>WooCommerce PDF Invoices</strong></a>. Get "
664
  "the free version (%s+) and try again.</p>"
665
  msgstr ""
666
+ "<p><a href=\"%s\"><strong>WooCommerce PDF Fakturaer Premium</strong></a> "
667
+ "krever <a href=\"%s\"><strong>WooCommerce PDF Fakturaer</strong></a>. Hent "
668
+ "gratisversjonen (%s+) og forsøk igjen.</p>"
669
 
670
  #: includes/be-woocommerce-pdf-invoices-premium.php:195
671
  #: includes/be-woocommerce-pdf-invoices.php:137
678
 
679
  #: includes/be-woocommerce-pdf-invoices-premium.php:264
680
  msgid "Please select more then one order."
681
+ msgstr "Vennligst velg mer enn èn ordre."
682
 
683
  #: includes/be-woocommerce-pdf-invoices-premium.php:360
684
  msgid "Global invoice successfully generated! "
685
+ msgstr "Global faktura generert! "
686
 
687
  #: includes/be-woocommerce-pdf-invoices.php:126
688
  #, php-format
695
 
696
  #: includes/be-woocommerce-pdf-invoices.php:185
697
  msgid "Invalid order ID"
698
+ msgstr "Ugyldig ordrenummer"
699
 
700
  #: includes/be-woocommerce-pdf-invoices.php:191
701
  msgid "Access denied"
702
+ msgstr "Tilgang nektet"
703
 
704
  #: includes/be-woocommerce-pdf-invoices.php:218
705
  msgid "General"
792
 
793
  #: includes/partials/customer-generation.php:1
794
  msgid "Generate Global Invoice"
795
+ msgstr "Generer Global Faktura"
796
 
797
  #: includes/partials/customer-generation.php:11
798
  msgid "Select a month"
799
+ msgstr "Velg en måned"
800
 
801
  #: includes/partials/customer-generation.php:24
802
  msgid "Select a year"
803
+ msgstr "Velg et år"
804
 
805
  #: includes/partials/customer-generation.php:38
806
  msgid "Generate invoice"
807
+ msgstr "Generer faktura"
808
 
809
  #: includes/partials/settings-sidebar.php:2
810
  msgid "WooCommerce PDF Invoices Premium"
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: baaaaas
3
  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.4.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -36,15 +36,15 @@ This WooCommerce plugin generates PDF invoices, attaches it to the WooCommerce e
36
  > - Compatible with [WooCommerce Subscriptions](http://www.woothemes.com/products/woocommerce-subscriptions) plugin emails.<br /><br />
37
  > [Upgrade to WooCommerce PDF Invoices Premium >>](http://wcpdfinvoices.com)
38
 
39
- = Support =
40
 
41
  Support can take place on the [forum page](https://wordpress.org/support/plugin/woocommerce-pdf-invoices), where we will try to respond as soon as possible.
42
 
43
- = Contributing =
44
 
45
  If you want to add code to the source code, report an issue or request an enhancement, feel free to use [GitHub](https://github.com/baselbers/woocommerce-pdf-invoices).
46
 
47
- = Translating =
48
 
49
  Contribute a translation on [GitHub](https://github.com/baselbers/woocommerce-pdf-invoices#translating).
50
 
@@ -60,12 +60,12 @@ Contribute a translation on [GitHub](https://github.com/baselbers/woocommerce-pd
60
 
61
  == Installation ==
62
 
63
- = Automatic installation =
64
  Automatic installation is the easiest option as WordPress handles the file transfers itself and you don't even need to leave your web browser. To do an automatic install of WooCommerce, log in to your WordPress admin panel, navigate to the Plugins menu and click Add New.
65
 
66
  In the search field type "WooCommerce PDF Invoices" and click Search Plugins. Once you've found our plugin you can view details about it such as the the point release, rating and description. Most importantly of course, you can install it by simply clicking Install Now. After clicking that link you will be asked if you're sure you want to install the plugin. Click yes and WordPress will automatically complete the installation.
67
 
68
- = Manual installation =
69
  The manual installation method involves downloading our plugin and uploading it to your webserver via your favourite FTP application.
70
 
71
  1. Download the plugin file to your computer and unzip it
@@ -74,13 +74,13 @@ The manual installation method involves downloading our plugin and uploading it
74
 
75
  == Frequently Asked Questions ==
76
 
77
- = How to add your custom template? =
78
- To easily get started, copy the default template files (including folder) called `plugins/woocommerce-pdf-invoices/includes/templates/invoices/simple/micro` to `uploads/bewpi-templates/invoices/simple` and rename the template folder `micro` to a template name you like. This way the plugin will detect the template and makes it available to select it within the template settings tab. Now go ahead en start making some changes to the template files! :)
79
 
80
- = How to add a fee to the invoice? =
81
- To add a fee to your invoice, simply add the following action to your themes `functions.php`.
82
 
83
- `add_action( 'woocommerce_cart_calculate_fees','add_woocommerce_fee' );
84
  function add_woocommerce_fee() {
85
  global $woocommerce;
86
 
@@ -89,26 +89,31 @@ function add_woocommerce_fee() {
89
 
90
  $amount = 5;
91
  $woocommerce->cart->add_fee( 'FEE_NAME', $amount, true, 'standard' );
92
- }`
 
 
93
 
94
- = How to hide order item meta? =
95
  To hide order item meta from the invoice, simply add the following filter to your themes `functions.php`.
96
 
97
- `add_filter( 'woocommerce_hidden_order_itemmeta', 'add_hidden_order_items' );
98
  function add_hidden_order_items( $order_items ) {
99
  $order_items[] = '_subscription_interval';
100
  $order_items[] = '_subscription_length';
101
  // end so on...
102
 
103
  return $order_items;
104
- }`
 
 
105
 
106
- = How to change PDF margins/options? =
107
- To change the options of the PDF, use below example.
108
 
109
- `function custom_bewpi_mpdf_options( $options ) {
 
110
  $options['mode'] = '';
111
- $options['format'] = '';
112
  $options['default_font_size'] = 0;
113
  $options['default_font'] = 'opensans';
114
  $options['margin_left'] = 14;
@@ -117,50 +122,110 @@ To change the options of the PDF, use below example.
117
  $options['margin_bottom'] = 0;
118
  $options['margin_header'] = 14;
119
  $options['margin_footer'] = 6;
120
- $options['orientation'] = 'P';
 
121
  return $options;
122
- }
123
- add_filter( 'bewpi_mpdf_options', 'custom_bewpi_mpdf_options' );`
 
 
 
 
 
 
 
 
 
124
 
125
- = How to display invoice download button on specific template files? =
126
- Let customers download there invoices from specific template pages by using below shortcode.
 
 
127
 
128
- `echo do_shortcode( '[bewpi-download-invoice title="Download (PDF) Invoice {formatted_invoice_number}" order_id="ORDER_ID"]' );`
 
129
 
130
- To use shortcode in WordPress editor:
 
 
131
 
132
- `[bewpi-download-invoice title="Download (PDF) Invoice {formatted_invoice_number}" order_id="ORDER_ID"]`
133
 
134
- = How to change direction of invoice to RTL? =
135
- To change the direction of the invoice to RTL or something else, add below filter to your themes functions.php.
 
136
 
137
- `function bewpi_mpdf( $mpdf ) {
138
- $mpdf->SetDirectionality( 'rtl' );
139
- return $mpdf;
140
- }
141
- add_filter( 'bewpi_mpdf', 'bewpi_mpdf' );`
142
 
143
- = Logo image shows a red cross? =
144
- Add below filter to themes functions.php to base64 the image. By default the relative path is used. Also read the sticky topic on the support forum for more solutions!
145
 
146
- `function convert_company_logo_to_base64( $company_logo_path ) {
 
147
  $company_logo_url = str_replace( '..', get_site_url(), $company_logo_path );
148
- $type = pathinfo( $company_logo_url, PATHINFO_EXTENSION );
149
- $data = wp_remote_fopen( $company_logo_url );
150
  $base64 = 'data:image/' . $type . ';base64,' . base64_encode( $data );
151
  return $base64;
152
- }
153
- add_filter( 'bewpi_company_logo_url', 'convert_company_logo_to_base64' );`
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
154
 
155
- = How to show 'Paid' watermark for BACS payment method and/or others? =
156
- Add below function to your themes functions.php.
157
 
158
- `function exclude_payment_method_for_watermark($payment_methods, $order_id){
159
- return array();
160
- }
161
- add_filter('bewpi_paid_watermark_excluded_payment_methods', 'exclude_payment_method_for_watermark', 10, 2);`
162
 
163
- == Changelog ==
 
 
 
 
 
164
 
165
  = 2.4.4 - March 11, 2016 =
166
 
3
  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.5
7
+ Stable tag: 2.4.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
36
  > - Compatible with [WooCommerce Subscriptions](http://www.woothemes.com/products/woocommerce-subscriptions) plugin emails.<br /><br />
37
  > [Upgrade to WooCommerce PDF Invoices Premium >>](http://wcpdfinvoices.com)
38
 
39
+ #### Support
40
 
41
  Support can take place on the [forum page](https://wordpress.org/support/plugin/woocommerce-pdf-invoices), where we will try to respond as soon as possible.
42
 
43
+ #### Contributing
44
 
45
  If you want to add code to the source code, report an issue or request an enhancement, feel free to use [GitHub](https://github.com/baselbers/woocommerce-pdf-invoices).
46
 
47
+ #### Translating
48
 
49
  Contribute a translation on [GitHub](https://github.com/baselbers/woocommerce-pdf-invoices#translating).
50
 
60
 
61
  == Installation ==
62
 
63
+ #### Automatic installation
64
  Automatic installation is the easiest option as WordPress handles the file transfers itself and you don't even need to leave your web browser. To do an automatic install of WooCommerce, log in to your WordPress admin panel, navigate to the Plugins menu and click Add New.
65
 
66
  In the search field type "WooCommerce PDF Invoices" and click Search Plugins. Once you've found our plugin you can view details about it such as the the point release, rating and description. Most importantly of course, you can install it by simply clicking Install Now. After clicking that link you will be asked if you're sure you want to install the plugin. Click yes and WordPress will automatically complete the installation.
67
 
68
+ #### Manual installation
69
  The manual installation method involves downloading our plugin and uploading it to your webserver via your favourite FTP application.
70
 
71
  1. Download the plugin file to your computer and unzip it
74
 
75
  == Frequently Asked Questions ==
76
 
77
+ #### How to add your custom template?
78
+ To getting started, copy the default template files (including folder) called `plugins/woocommerce-pdf-invoices/includes/templates/invoices/simple/micro` to `uploads/bewpi-templates/invoices/simple` and rename the template folder `micro`. The plugin will now detect the template and makes it available for selection within the template settings tab. Now go ahead en start making some changes to the template files! :)
79
 
80
+ #### How to add a fee to the invoice?
81
+ To add a fee to WooCommerce and your invoice, simply add the following action to your themes `functions.php`.
82
 
83
+ `
84
  function add_woocommerce_fee() {
85
  global $woocommerce;
86
 
89
 
90
  $amount = 5;
91
  $woocommerce->cart->add_fee( 'FEE_NAME', $amount, true, 'standard' );
92
+ }
93
+ add_action( 'woocommerce_cart_calculate_fees','add_woocommerce_fee' );
94
+ `
95
 
96
+ #### How to hide order item meta?
97
  To hide order item meta from the invoice, simply add the following filter to your themes `functions.php`.
98
 
99
+ `
100
  function add_hidden_order_items( $order_items ) {
101
  $order_items[] = '_subscription_interval';
102
  $order_items[] = '_subscription_length';
103
  // end so on...
104
 
105
  return $order_items;
106
+ }
107
+ add_filter( 'woocommerce_hidden_order_itemmeta', 'add_hidden_order_items' );
108
+ `
109
 
110
+ #### How to change the common PDF options?
111
+ To change the more common options of the PDF, use below example.
112
 
113
+ `
114
+ function custom_bewpi_mpdf_options( $options ) {
115
  $options['mode'] = '';
116
+ $options['format'] = ''; // use [format]-L or [format]-P to force orientation (A4-L will be size A4 with landscape orientation)
117
  $options['default_font_size'] = 0;
118
  $options['default_font'] = 'opensans';
119
  $options['margin_left'] = 14;
122
  $options['margin_bottom'] = 0;
123
  $options['margin_header'] = 14;
124
  $options['margin_footer'] = 6;
125
+ $options['orientation'] = 'P'; // Also try to force with format option
126
+
127
  return $options;
128
+ }
129
+ add_filter( 'bewpi_mpdf_options', 'custom_bewpi_mpdf_options' );
130
+ `
131
+
132
+ #### How to change the more advanced PDF options?
133
+ To fully customize the PDF, use below code. This filter gives you full control over the mPDF library. Check the mPDF [manual](https://www.dropbox.com/s/h44f7v5anvcmmvl/mpdfmanual.pdf?dl=0) for more info.
134
+
135
+ `
136
+ function bewpi_mpdf( $mpdf ) {
137
+ // change the direction of the invoice to RTL
138
+ $mpdf->SetDirectionality( 'rtl' );
139
 
140
+ return $mpdf;
141
+ }
142
+ add_filter( 'bewpi_mpdf', 'bewpi_mpdf' );
143
+ `
144
 
145
+ #### How to display invoice download button on specific template files?
146
+ Add below code to any template files. Replace {ORDER_ID} with the desired ID of the order to download the invoice from.
147
 
148
+ `
149
+ echo do_shortcode( '[bewpi-download-invoice title="Download (PDF) Invoice {formatted_invoice_number}" order_id="{ORDER_ID}"]' );
150
+ `
151
 
152
+ For use in WordPress editor:
153
 
154
+ `
155
+ [bewpi-download-invoice title="Download (PDF) Invoice {formatted_invoice_number}" order_id="{ORDER_ID}"]
156
+ `
157
 
158
+ Note: Download button will only show if PDF exists and order has been completed.
 
 
 
 
159
 
160
+ #### Logo image shows a red cross?
161
+ By default the relative path is used for better performance, try to base64 the image. Also read the sticky topic on the support forum for more solutions!
162
 
163
+ `
164
+ function convert_company_logo_to_base64( $company_logo_path ) {
165
  $company_logo_url = str_replace( '..', get_site_url(), $company_logo_path );
166
+ $type = pathinfo( $company_logo_url, PATHINFO_EXTENSION );
167
+ $data = wp_remote_fopen( $company_logo_url );
168
  $base64 = 'data:image/' . $type . ';base64,' . base64_encode( $data );
169
  return $base64;
170
+ }
171
+ add_filter( 'bewpi_company_logo_url', 'convert_company_logo_to_base64' );
172
+ `
173
+
174
+ #### How to remove 'Paid' watermark based on specific order statuses?
175
+ By default the 'Paid' watermark won't display for 'Pending', 'On-Hold' and 'Auto-Draft' statuses.
176
+
177
+ `
178
+ function bewpi_paid_watermark_excluded_order_statuses($order_statuses, $order_id){
179
+ // add (short) name of order status to exclude
180
+ return array('pending', 'on-hold', 'auto-draft');
181
+ }
182
+ add_filter('bewpi_paid_watermark_excluded_order_statuses', 'bewpi_paid_watermark_excluded_order_statuses', 10, 2);
183
+ `
184
+
185
+ #### How to remove 'Paid' watermark based on specific payment methods?
186
+ By default 'BACS', 'Cash on Delivery' and 'Cheque' payment methods are excluded, so the invoice won't get marked as paid.
187
+
188
+ `
189
+ function exclude_payment_method_for_watermark($payment_methods, $order_id){
190
+ // add (short) name of payment method to exclude
191
+ return array('bacs', 'cod', 'cheque', 'paypal');
192
+ }
193
+ add_filter('bewpi_paid_watermark_excluded_payment_methods', 'exclude_payment_method_for_watermark', 10, 2);
194
+ `
195
+
196
+ #### How to skip invoice generation based on specific payment methods?
197
+ Add the name of the payment method to the array.
198
+
199
+ `
200
+ function bewpi_attach_invoice_excluded_payment_methods($payment_methods) {
201
+ return array('bacs', 'cod', 'cheque', 'paypal');
202
+ }
203
+ add_filter('bewpi_attach_invoice_excluded_payment_methods', 'bewpi_attach_invoice_excluded_payment_methods', 10, 2);
204
+ `
205
+
206
+ #### How to allow specific roles to download invoice?
207
+ Add the name of the role to the array. By default shop managers and administrators are allowed to download invoices.
208
+
209
+ `
210
+ function bewpi_allowed_roles_to_download_invoice($allowed_roles) {
211
+ // available roles: shop_manager, customer, contributor, author, editor, administrator
212
+ $allowed_roles[] = "editor";
213
+
214
+ return $allowed_roles;
215
+ }
216
+ add_filter('bewpi_allowed_roles_to_download_invoice', 'bewpi_allowed_roles_to_download_invoice', 10, 2);
217
+ `
218
 
219
+ == Changelog ==
 
220
 
221
+ = 2.4.5 - April 15, 2016 =
 
 
 
222
 
223
+ - Added: Filter 'bewpi_allowed_roles_to_download_invoice' (check FAQ)
224
+ - Added: Watermark mPDF options
225
+ - Added: Italian language files
226
+ - Added: Actions 'bewpi_before_invoice_content' and 'bewpi_after_invoice_content' for WPML integration (WIP)
227
+ - Added: Filter 'bewpi_attach_invoice_excluded_payment_methods' to attach invoice depending on payment methods
228
+ - Improved: Norwegian language file
229
 
230
  = 2.4.4 - March 11, 2016 =
231