WooCommerce PDF Invoices & Packing Slips - Version 2.0.1

Version Description

  • BIG update! Make a full site backup before upgrading
  • New: Better structured & more advanced settings for documents
  • New: Option to enable & disable Packing Slips or Invoices
  • New: Invoice number sequence stored separately for improved speed & performance
  • New: Completely rewritten codebase for more flexibility & better reliability
  • New: Updated PDF library to DOMPDF 0.8
  • New: PDF Library made pluggable (by using the wpo_wcpdf_pdf_maker filter)
  • New: lots of new functions & filters to allow developers to hook into the plugin
  • Changed: $wpo_wcpdf variable is now deprecated (legacy mode available & automatically enabled on update)
  • Fix: Improved PHP 7 & 7.1 support
  • Fix: Positive prices for refunds
  • Fix: Use parent for attributes retrieved for product variations
  • Fix: Set content type to PDF for download
  • Fix: PHP 5.4 issue
Download this release

Release Info

Developer pomegranate
Plugin Icon 128x128 WooCommerce PDF Invoices & Packing Slips
Version 2.0.1
Comparing to
See all releases

Code changes from version 1.6.6 to 2.0.1

Files changed (96) hide show
  1. css/style-buttons-wc20.css → assets/css/order-styles-buttons-wc20.css +0 -0
  2. css/style-buttons.css → assets/css/order-styles-buttons.css +0 -0
  3. assets/css/order-styles.css +57 -0
  4. css/style.css → assets/css/settings-styles.css +62 -46
  5. {images → assets/images}/cloud-print.png +0 -0
  6. {images → assets/images}/dropbox_logo.png +0 -0
  7. {images → assets/images}/invoice.png +0 -0
  8. {images → assets/images}/packing-slip.png +0 -0
  9. assets/images/spinner.gif +0 -0
  10. {images → assets/images}/wpo-helper.png +0 -0
  11. assets/js/admin-script.js +31 -0
  12. {js → assets/js}/media-upload.js +0 -0
  13. js/script.js → assets/js/order-script.js +7 -8
  14. composer.json +7 -0
  15. composer.lock +213 -0
  16. includes/class-wcpdf-admin.php +302 -0
  17. includes/class-wcpdf-assets.php +138 -0
  18. includes/class-wcpdf-documents.php +106 -0
  19. includes/class-wcpdf-export.php +0 -1313
  20. includes/class-wcpdf-frontend.php +82 -0
  21. includes/class-wcpdf-functions.php +0 -825
  22. includes/class-wcpdf-main.php +356 -0
  23. includes/class-wcpdf-pdf-maker.php +53 -0
  24. includes/class-wcpdf-settings-callbacks.php +503 -0
  25. includes/class-wcpdf-settings-debug.php +105 -0
  26. includes/class-wcpdf-settings-documents.php +62 -0
  27. includes/class-wcpdf-settings-general.php +258 -0
  28. includes/class-wcpdf-settings.php +171 -1396
  29. includes/class-wcpdf-writepanels.php +0 -384
  30. includes/compatibility/class-wc-date-compatibility.php +31 -5
  31. includes/compatibility/class-wc-order-compatibility.php +15 -2
  32. includes/compatibility/class-wcpdf-compatibility-third-party-plugins.php +143 -0
  33. includes/compatibility/wc-datetime-functions-compatibility.php +46 -0
  34. includes/documents/abstract-wcpdf-order-document-methods.php +1002 -0
  35. includes/documents/abstract-wcpdf-order-document.php +722 -0
  36. includes/documents/class-wcpdf-bulk-document.php +118 -0
  37. includes/documents/class-wcpdf-document-number.php +144 -0
  38. includes/documents/class-wcpdf-invoice.php +341 -0
  39. includes/documents/class-wcpdf-packing-slip.php +150 -0
  40. includes/documents/class-wcpdf-sequential-number-store.php +113 -0
  41. includes/legacy/class-wcpdf-legacy-deprecated-hooks.php +42 -0
  42. includes/legacy/class-wcpdf-legacy-document.php +52 -0
  43. includes/legacy/class-wcpdf-legacy-export.php +95 -0
  44. includes/legacy/class-wcpdf-legacy-functions.php +54 -0
  45. includes/legacy/class-wcpdf-legacy-settings.php +155 -0
  46. includes/legacy/class-wcpdf-legacy.php +90 -0
  47. includes/{dompdf-status.php → views/dompdf-status.php} +48 -62
  48. includes/{wcpdf-extensions.php → views/wcpdf-extensions.php} +50 -50
  49. includes/views/wcpdf-settings-page.php +50 -0
  50. includes/wcpdf-functions.php +165 -0
  51. languages/woocommerce-pdf-invoices-packing-slips-cs_CZ.mo +0 -0
  52. languages/woocommerce-pdf-invoices-packing-slips-cs_CZ.po +938 -0
  53. languages/woocommerce-pdf-invoices-packing-slips-da_DK.mo +0 -0
  54. languages/woocommerce-pdf-invoices-packing-slips-da_DK.po +961 -0
  55. languages/woocommerce-pdf-invoices-packing-slips-de_DE.mo +0 -0
  56. languages/woocommerce-pdf-invoices-packing-slips-de_DE.po +883 -0
  57. languages/woocommerce-pdf-invoices-packing-slips-de_DE_formal.mo +0 -0
  58. languages/woocommerce-pdf-invoices-packing-slips-de_DE_formal.po +883 -0
  59. languages/{wpo_wcpdf-en_AU.mo → woocommerce-pdf-invoices-packing-slips-en_AU.mo} +0 -0
  60. languages/woocommerce-pdf-invoices-packing-slips-en_AU.po +774 -0
  61. languages/woocommerce-pdf-invoices-packing-slips-es_ES.mo +0 -0
  62. languages/woocommerce-pdf-invoices-packing-slips-es_ES.po +949 -0
  63. languages/woocommerce-pdf-invoices-packing-slips-et.mo +0 -0
  64. languages/woocommerce-pdf-invoices-packing-slips-et.po +899 -0
  65. languages/woocommerce-pdf-invoices-packing-slips-fi.mo +0 -0
  66. languages/woocommerce-pdf-invoices-packing-slips-fi.po +948 -0
  67. languages/woocommerce-pdf-invoices-packing-slips-fr_FR.mo +0 -0
  68. languages/woocommerce-pdf-invoices-packing-slips-fr_FR.po +969 -0
  69. languages/woocommerce-pdf-invoices-packing-slips-hr.mo +0 -0
  70. languages/woocommerce-pdf-invoices-packing-slips-hr.po +926 -0
  71. languages/woocommerce-pdf-invoices-packing-slips-hu_HU.mo +0 -0
  72. languages/woocommerce-pdf-invoices-packing-slips-hu_HU.po +839 -0
  73. languages/woocommerce-pdf-invoices-packing-slips-id_ID.mo +0 -0
  74. languages/woocommerce-pdf-invoices-packing-slips-id_ID.po +926 -0
  75. languages/woocommerce-pdf-invoices-packing-slips-it_IT.mo +0 -0
  76. languages/woocommerce-pdf-invoices-packing-slips-it_IT.po +941 -0
  77. languages/woocommerce-pdf-invoices-packing-slips-ja.mo +0 -0
  78. languages/woocommerce-pdf-invoices-packing-slips-ja.po +868 -0
  79. languages/woocommerce-pdf-invoices-packing-slips-lv_LV.mo +0 -0
  80. languages/{wpo_wcpdf-en_AU.po → woocommerce-pdf-invoices-packing-slips-lv_LV.po} +129 -106
  81. languages/woocommerce-pdf-invoices-packing-slips-nb_NO.mo +0 -0
  82. languages/woocommerce-pdf-invoices-packing-slips-nb_NO.po +889 -0
  83. languages/woocommerce-pdf-invoices-packing-slips-nl_NL.mo +0 -0
  84. languages/{wpo_wcpdf-nl_NL.po → woocommerce-pdf-invoices-packing-slips-nl_NL.po} +540 -411
  85. languages/woocommerce-pdf-invoices-packing-slips-pl_PL.mo +0 -0
  86. languages/{wpo_wcpdf-pl_PL.po → woocommerce-pdf-invoices-packing-slips-pl_PL.po} +621 -441
  87. languages/woocommerce-pdf-invoices-packing-slips-pt_BR.mo +0 -0
  88. languages/woocommerce-pdf-invoices-packing-slips-pt_BR.po +884 -0
  89. languages/woocommerce-pdf-invoices-packing-slips-pt_PT.mo +0 -0
  90. languages/woocommerce-pdf-invoices-packing-slips-pt_PT.po +863 -0
  91. languages/woocommerce-pdf-invoices-packing-slips-ro_RO.mo +0 -0
  92. languages/woocommerce-pdf-invoices-packing-slips-ro_RO.po +959 -0
  93. languages/woocommerce-pdf-invoices-packing-slips-ru_RU.mo +0 -0
  94. languages/woocommerce-pdf-invoices-packing-slips-ru_RU.po +863 -0
  95. languages/woocommerce-pdf-invoices-packing-slips-sk_SK.mo +0 -0
  96. languages/woocommerce-pdf-invoices-packing-slips-sk_SK.po +349 -0
css/style-buttons-wc20.css → assets/css/order-styles-buttons-wc20.css RENAMED
File without changes
css/style-buttons.css → assets/css/order-styles-buttons.css RENAMED
File without changes
assets/css/order-styles.css ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Order list buttons: */
2
+ .type-shop_order .column-order_actions a.button.wpo_wcpdf img {
3
+ width: 16px;
4
+ }
5
+
6
+ .widefat .column-pdf_invoice_number {
7
+ width: 110px;
8
+ }
9
+
10
+ @media screen and (max-width: 782px) {
11
+ .wp-list-table .column-pdf_invoice_number, .wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-pdf_invoice_number:not(.check-column) {
12
+ display: none;
13
+ }
14
+ .wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-pdf_invoice_number {
15
+ padding: 3px 8px 3px 35%
16
+ }
17
+ }
18
+
19
+ #wpo_wcpdf-data-input-box h4 {
20
+ font-size: 14px;
21
+ line-height: 1.4;
22
+ margin: 1.5em 0 0 0;
23
+ }
24
+
25
+ #wpo_wcpdf-data-input-box p {
26
+ margin: 0.5em 0;
27
+ }
28
+
29
+ #wpo_wcpdf-data-input-box .form-field input {
30
+ width: auto;
31
+ }
32
+
33
+ .wcpdf-data-fields .read-only {
34
+ height:auto;
35
+ display:block;
36
+ }
37
+
38
+ .wcpdf-data-fields .editable {
39
+ height:auto;
40
+ display:none;
41
+ }
42
+
43
+ #set-invoice-date-number {
44
+ margin:15px 0px!important;
45
+ }
46
+
47
+ #edit-invoice-date-number {
48
+ margin-left:20px!important;
49
+ }
50
+
51
+ #edit-invoice-date-number {
52
+ opacity:0.5;
53
+ }
54
+ #edit-invoice-date-number:hover {
55
+ opacity:1;
56
+ cursor:pointer;
57
+ }
css/style.css → assets/css/settings-styles.css RENAMED
@@ -1,49 +1,3 @@
1
- /* Order list buttons: */
2
- .type-shop_order .column-order_actions a.button.wpo_wcpdf img {
3
- width: 16px;
4
- }
5
-
6
- .widefat .column-pdf_invoice_number {
7
- width: 110px;
8
- }
9
-
10
- @media screen and (max-width: 782px) {
11
- .wp-list-table .column-pdf_invoice_number, .wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-pdf_invoice_number:not(.check-column) {
12
- display: none;
13
- }
14
- .wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-pdf_invoice_number {
15
- padding: 3px 8px 3px 35%
16
- }
17
- }
18
-
19
- #wpo_wcpdf-data-input-box h4 {
20
- font-size: 14px;
21
- line-height: 1.4;
22
- margin: 1.5em 0 0 0;
23
- }
24
-
25
- #wpo_wcpdf-data-input-box p {
26
- margin: 0.5em 0;
27
- }
28
-
29
- #wpo_wcpdf-data-input-box .form-field input {
30
- width: auto;
31
- }
32
-
33
- /* Settings page styles */
34
- #wpo-wcpdf-settings {
35
- margin-top: 40px;
36
- }
37
-
38
- .nav-tab-debug {
39
- margin-left: 4px;
40
- }
41
-
42
- #img-header_logo {
43
- max-height: 200px;
44
- width: auto;
45
- }
46
-
47
  span.wpo-warning {
48
  display: inline-block;
49
  border: 1px solid red;
@@ -124,4 +78,66 @@ img.wpo-helper {
124
  margin-bottom: -10px;
125
  margin-top: -5px;
126
  margin-right: 10px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
127
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  span.wpo-warning {
2
  display: inline-block;
3
  border: 1px solid red;
78
  margin-bottom: -10px;
79
  margin-top: -5px;
80
  margin-right: 10px;
81
+ }
82
+
83
+ #img-header_logo {
84
+ max-height: 200px;
85
+ width: auto;
86
+ }
87
+
88
+ .multiple-text-input label {
89
+ min-width: 120px;
90
+ display: inline-block;
91
+ }
92
+
93
+ table.wcpdf_documents_settings_list {
94
+ width: 100%;
95
+ border-collapse: collapse;
96
+ border-spacing: 0;
97
+ background-color: white;
98
+ border-top: 2px solid black;
99
+ }
100
+ table.wcpdf_documents_settings_list tr.odd {
101
+ background-color: #EBF5FF;
102
+ }
103
+
104
+ table.wcpdf_documents_settings_list td {
105
+ padding: 5px;
106
+ }
107
+
108
+ table.wcpdf_documents_settings_list a {
109
+ text-decoration: none;
110
+ }
111
+
112
+ table.wcpdf_documents_settings_list td.settings-icon {
113
+ text-align: right;
114
+ }
115
+
116
+ table.wcpdf_documents_settings_list td.title {
117
+ font-weight: bold;
118
+ }
119
+
120
+ .wcpdf_document_settings_sections {
121
+ margin-top: 10px;
122
+ font-size: 120%;
123
+ }
124
+ .wcpdf_document_settings_sections li,
125
+ .wcpdf_document_settings_sections ul {
126
+ display: inline;
127
+ }
128
+ .wcpdf_document_settings_sections li + li:before {
129
+ content: " | ";
130
+ }
131
+ .wcpdf_document_settings_sections a.active {
132
+ text-decoration: none;
133
+ font-weight: bold;
134
+ color: black;
135
+ }
136
+
137
+ .edit-next-number {
138
+ opacity:0.5;
139
+ }
140
+ .edit-next-number:hover {
141
+ opacity:1;
142
+ cursor:pointer;
143
  }
{images → assets/images}/cloud-print.png RENAMED
File without changes
{images → assets/images}/dropbox_logo.png RENAMED
File without changes
{images → assets/images}/invoice.png RENAMED
File without changes
{images → assets/images}/packing-slip.png RENAMED
File without changes
assets/images/spinner.gif ADDED
Binary file
{images → assets/images}/wpo-helper.png RENAMED
File without changes
assets/js/admin-script.js ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery( function( $ ) {
2
+ $('.edit-next-number').click( function( event ) {
3
+ // enable input & show save button
4
+ $( this ).hide();
5
+ $( this ).siblings( 'input' ).prop('disabled', false);
6
+ $( this ).siblings( '.save-next-number.button').show();
7
+ });
8
+
9
+ $('.save-next-number').click( function( event ) {
10
+ $input = $( this ).siblings( 'input' );
11
+ $input.addClass('ajax-waiting');
12
+ var data = {
13
+ security: $input.data('nonce'),
14
+ action: "wpo_wcpdf_set_next_number",
15
+ store: $input.data('store'),
16
+ number: $input.val(),
17
+ };
18
+
19
+ xhr = $.ajax({
20
+ type: 'POST',
21
+ url: wpo_wcpdf_admin.ajaxurl,
22
+ data: data,
23
+ success: function( response ) {
24
+ $input.removeClass('ajax-waiting');
25
+ $input.siblings( '.edit-next-number' ).show();
26
+ $input.prop('disabled', 'disabled');
27
+ $input.siblings( '.save-next-number.button').hide();
28
+ }
29
+ });
30
+ });
31
+ });
{js → assets/js}/media-upload.js RENAMED
File without changes
js/script.js → assets/js/order-script.js RENAMED
@@ -20,9 +20,9 @@ jQuery(document).ready(function($) {
20
  var order_ids=checked.join('x');
21
 
22
  if (wpo_wcpdf_ajax.ajaxurl.indexOf("?") != -1) {
23
- url = wpo_wcpdf_ajax.ajaxurl+'&action=generate_wpo_wcpdf&template_type='+template+'&order_ids='+order_ids+'&_wpnonce='+wpo_wcpdf_ajax.nonce;
24
  } else {
25
- url = wpo_wcpdf_ajax.ajaxurl+'?action=generate_wpo_wcpdf&template_type='+template+'&order_ids='+order_ids+'&_wpnonce='+wpo_wcpdf_ajax.nonce;
26
  }
27
 
28
  window.open(url,'_blank');
@@ -32,12 +32,11 @@ jQuery(document).ready(function($) {
32
  $('#wpo_wcpdf-data-input-box').insertAfter('#woocommerce-order-data');
33
 
34
  // enable invoice number edit if user initiated
35
- $('#wpo_wcpdf-data-input-box label').click(function (event) {
36
- input = $(this).attr('for');
37
- $('#'+input).prop('disabled', false);
38
- });
39
- $( "#_wcpdf_invoice_number" ).on( "click", function() {
40
- console.log( this );
41
  });
42
  });
43
 
20
  var order_ids=checked.join('x');
21
 
22
  if (wpo_wcpdf_ajax.ajaxurl.indexOf("?") != -1) {
23
+ url = wpo_wcpdf_ajax.ajaxurl+'&action=generate_wpo_wcpdf&document_type='+template+'&order_ids='+order_ids+'&_wpnonce='+wpo_wcpdf_ajax.nonce;
24
  } else {
25
+ url = wpo_wcpdf_ajax.ajaxurl+'?action=generate_wpo_wcpdf&document_type='+template+'&order_ids='+order_ids+'&_wpnonce='+wpo_wcpdf_ajax.nonce;
26
  }
27
 
28
  window.open(url,'_blank');
32
  $('#wpo_wcpdf-data-input-box').insertAfter('#woocommerce-order-data');
33
 
34
  // enable invoice number edit if user initiated
35
+ $( "#set-invoice-date-number, #edit-invoice-date-number" ).click(function() {
36
+ $form = $(this).closest('.wcpdf-data-fields');
37
+ $form.find(".read-only").hide();
38
+ $form.find(".editable").show();
39
+ $form.find(':input').prop('disabled', false);
 
40
  });
41
  });
42
 
composer.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ {
2
+ "require": {
3
+ "php": ">=5.3.0",
4
+ "dompdf/dompdf": "*",
5
+ "phenx/php-svg-lib": "dev-master as 0.2"
6
+ }
7
+ }
composer.lock ADDED
@@ -0,0 +1,213 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_readme": [
3
+ "This file locks the dependencies of your project to a known state",
4
+ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
5
+ "This file is @generated automatically"
6
+ ],
7
+ "hash": "6d43636f50a06155e4d904151f2d229a",
8
+ "content-hash": "e1f5c7e5728bea51e82dd00ecedf7583",
9
+ "packages": [
10
+ {
11
+ "name": "dompdf/dompdf",
12
+ "version": "v0.8.0",
13
+ "source": {
14
+ "type": "git",
15
+ "url": "https://github.com/dompdf/dompdf.git",
16
+ "reference": "0f418c6b58fdeafc2a0e80eb1fa5e644e185089c"
17
+ },
18
+ "dist": {
19
+ "type": "zip",
20
+ "url": "https://api.github.com/repos/dompdf/dompdf/zipball/0f418c6b58fdeafc2a0e80eb1fa5e644e185089c",
21
+ "reference": "0f418c6b58fdeafc2a0e80eb1fa5e644e185089c",
22
+ "shasum": ""
23
+ },
24
+ "require": {
25
+ "ext-dom": "*",
26
+ "ext-gd": "*",
27
+ "ext-mbstring": "*",
28
+ "phenx/php-font-lib": "0.5.*",
29
+ "phenx/php-svg-lib": "0.2.*",
30
+ "php": ">=5.3.0"
31
+ },
32
+ "require-dev": {
33
+ "phpunit/phpunit": "4.8.*",
34
+ "squizlabs/php_codesniffer": "2.*"
35
+ },
36
+ "type": "library",
37
+ "extra": {
38
+ "branch-alias": {
39
+ "dev-develop": "0.7-dev"
40
+ }
41
+ },
42
+ "autoload": {
43
+ "psr-4": {
44
+ "Dompdf\\": "src/"
45
+ },
46
+ "classmap": [
47
+ "lib/"
48
+ ]
49
+ },
50
+ "notification-url": "https://packagist.org/downloads/",
51
+ "license": [
52
+ "LGPL-2.1"
53
+ ],
54
+ "authors": [
55
+ {
56
+ "name": "Fabien Ménager",
57
+ "email": "fabien.menager@gmail.com"
58
+ },
59
+ {
60
+ "name": "Brian Sweeney",
61
+ "email": "eclecticgeek@gmail.com"
62
+ },
63
+ {
64
+ "name": "Gabriel Bull",
65
+ "email": "me@gabrielbull.com"
66
+ }
67
+ ],
68
+ "description": "DOMPDF is a CSS 2.1 compliant HTML to PDF converter",
69
+ "homepage": "https://github.com/dompdf/dompdf",
70
+ "time": "2017-02-16 02:40:40"
71
+ },
72
+ {
73
+ "name": "phenx/php-font-lib",
74
+ "version": "0.5",
75
+ "source": {
76
+ "type": "git",
77
+ "url": "https://github.com/PhenX/php-font-lib.git",
78
+ "reference": "19ad2bebc35be028fcc0221025fcbf3d436a3962"
79
+ },
80
+ "dist": {
81
+ "type": "zip",
82
+ "url": "https://api.github.com/repos/PhenX/php-font-lib/zipball/19ad2bebc35be028fcc0221025fcbf3d436a3962",
83
+ "reference": "19ad2bebc35be028fcc0221025fcbf3d436a3962",
84
+ "shasum": ""
85
+ },
86
+ "require-dev": {
87
+ "phpunit/phpunit": "^4.8"
88
+ },
89
+ "type": "library",
90
+ "autoload": {
91
+ "psr-4": {
92
+ "FontLib\\": "src/FontLib"
93
+ }
94
+ },
95
+ "notification-url": "https://packagist.org/downloads/",
96
+ "license": [
97
+ "LGPL-3.0"
98
+ ],
99
+ "authors": [
100
+ {
101
+ "name": "Fabien Ménager",
102
+ "email": "fabien.menager@gmail.com"
103
+ }
104
+ ],
105
+ "description": "A library to read, parse, export and make subsets of different types of font files.",
106
+ "homepage": "https://github.com/PhenX/php-font-lib",
107
+ "time": "2017-02-11 10:58:43"
108
+ },
109
+ {
110
+ "name": "phenx/php-svg-lib",
111
+ "version": "dev-master",
112
+ "source": {
113
+ "type": "git",
114
+ "url": "https://github.com/PhenX/php-svg-lib.git",
115
+ "reference": "a85f7fe9fe08d093a4a8583cdd306b553ff918aa"
116
+ },
117
+ "dist": {
118
+ "type": "zip",
119
+ "url": "https://api.github.com/repos/PhenX/php-svg-lib/zipball/a85f7fe9fe08d093a4a8583cdd306b553ff918aa",
120
+ "reference": "a85f7fe9fe08d093a4a8583cdd306b553ff918aa",
121
+ "shasum": ""
122
+ },
123
+ "require": {
124
+ "sabberworm/php-css-parser": "8.1.*"
125
+ },
126
+ "require-dev": {
127
+ "phpunit/phpunit": "~5.0"
128
+ },
129
+ "type": "library",
130
+ "autoload": {
131
+ "psr-0": {
132
+ "Svg\\": "src/"
133
+ }
134
+ },
135
+ "notification-url": "https://packagist.org/downloads/",
136
+ "license": [
137
+ "LGPL-3.0"
138
+ ],
139
+ "authors": [
140
+ {
141
+ "name": "Fabien Ménager",
142
+ "email": "fabien.menager@gmail.com"
143
+ }
144
+ ],
145
+ "description": "A library to read, parse and export to PDF SVG files.",
146
+ "homepage": "https://github.com/PhenX/php-svg-lib",
147
+ "time": "2017-05-24 10:07:27"
148
+ },
149
+ {
150
+ "name": "sabberworm/php-css-parser",
151
+ "version": "8.1.0",
152
+ "source": {
153
+ "type": "git",
154
+ "url": "https://github.com/sabberworm/PHP-CSS-Parser.git",
155
+ "reference": "850cbbcbe7fbb155387a151ea562897a67e242ef"
156
+ },
157
+ "dist": {
158
+ "type": "zip",
159
+ "url": "https://api.github.com/repos/sabberworm/PHP-CSS-Parser/zipball/850cbbcbe7fbb155387a151ea562897a67e242ef",
160
+ "reference": "850cbbcbe7fbb155387a151ea562897a67e242ef",
161
+ "shasum": ""
162
+ },
163
+ "require": {
164
+ "php": ">=5.3.2"
165
+ },
166
+ "require-dev": {
167
+ "phpunit/phpunit": "*"
168
+ },
169
+ "type": "library",
170
+ "autoload": {
171
+ "psr-0": {
172
+ "Sabberworm\\CSS": "lib/"
173
+ }
174
+ },
175
+ "notification-url": "https://packagist.org/downloads/",
176
+ "license": [
177
+ "MIT"
178
+ ],
179
+ "authors": [
180
+ {
181
+ "name": "Raphael Schweikert"
182
+ }
183
+ ],
184
+ "description": "Parser for CSS Files written in PHP",
185
+ "homepage": "http://www.sabberworm.com/blog/2010/6/10/php-css-parser",
186
+ "keywords": [
187
+ "css",
188
+ "parser",
189
+ "stylesheet"
190
+ ],
191
+ "time": "2016-07-19 19:14:21"
192
+ }
193
+ ],
194
+ "packages-dev": [],
195
+ "aliases": [
196
+ {
197
+ "alias": "0.2",
198
+ "alias_normalized": "0.2.0.0",
199
+ "version": "9999999-dev",
200
+ "package": "phenx/php-svg-lib"
201
+ }
202
+ ],
203
+ "minimum-stability": "stable",
204
+ "stability-flags": {
205
+ "phenx/php-svg-lib": 20
206
+ },
207
+ "prefer-stable": false,
208
+ "prefer-lowest": false,
209
+ "platform": {
210
+ "php": ">=5.3.0"
211
+ },
212
+ "platform-dev": []
213
+ }
includes/class-wcpdf-admin.php ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WPO\WC\PDF_Invoices;
3
+
4
+ use WPO\WC\PDF_Invoices\Compatibility\WC_Core as WCX;
5
+ use WPO\WC\PDF_Invoices\Compatibility\Order as WCX_Order;
6
+ use WPO\WC\PDF_Invoices\Compatibility\Product as WCX_Product;
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly
10
+ }
11
+
12
+ if ( !class_exists( '\\WPO\\WC\\PDF_Invoices\\Admin' ) ) :
13
+
14
+ class Admin {
15
+
16
+ function __construct() {
17
+ add_action( 'woocommerce_admin_order_actions_end', array( $this, 'add_listing_actions' ) );
18
+ add_filter( 'manage_edit-shop_order_columns', array( $this, 'add_invoice_number_column' ), 999 );
19
+ add_action( 'manage_shop_order_posts_custom_column', array( $this, 'invoice_number_column_data' ), 2 );
20
+ add_action( 'add_meta_boxes_shop_order', array( $this, 'add_meta_boxes' ) );
21
+ add_action( 'admin_footer', array( $this, 'bulk_actions' ) );
22
+ add_filter( 'woocommerce_shop_order_search_fields', array( $this, 'search_fields' ) );
23
+
24
+ add_action( 'save_post', array( $this,'save_invoice_number_date' ) );
25
+
26
+ }
27
+
28
+ /**
29
+ * Add PDF actions to the orders listing
30
+ */
31
+ public function add_listing_actions( $order ) {
32
+ // do not show buttons for trashed orders
33
+ if ( $order->get_status() == 'trash' ) {
34
+ return;
35
+ }
36
+
37
+ $listing_actions = array();
38
+ $documents = WPO_WCPDF()->documents->get_documents();
39
+ foreach ($documents as $document) {
40
+ $listing_actions[$document->get_type()] = array(
41
+ 'url' => wp_nonce_url( admin_url( "admin-ajax.php?action=generate_wpo_wcpdf&document_type={$document->get_type()}&order_ids=" . WCX_Order::get_id( $order ) ), 'generate_wpo_wcpdf' ),
42
+ 'img' => !empty($document->icon) ? $document->icon : WPO_WCPDF()->plugin_url() . "/assets/images/generic_document.png",
43
+ 'alt' => "PDF " . $document->get_title(),
44
+ );
45
+ }
46
+
47
+ $listing_actions = apply_filters( 'wpo_wcpdf_listing_actions', $listing_actions, $order );
48
+
49
+ foreach ($listing_actions as $action => $data) {
50
+ ?>
51
+ <a href="<?php echo $data['url']; ?>" class="button tips wpo_wcpdf <?php echo $action; ?>" target="_blank" alt="<?php echo $data['alt']; ?>" data-tip="<?php echo $data['alt']; ?>">
52
+ <img src="<?php echo $data['img']; ?>" alt="<?php echo $data['alt']; ?>" width="16">
53
+ </a>
54
+ <?php
55
+ }
56
+ }
57
+
58
+ /**
59
+ * Create additional Shop Order column for Invoice Numbers
60
+ * @param array $columns shop order columns
61
+ */
62
+ public function add_invoice_number_column( $columns ) {
63
+ // get invoice settings
64
+ $invoice = wcpdf_get_invoice( null );
65
+ $invoice_settings = $invoice->get_settings();
66
+ if ( !isset( $invoice_settings['invoice_number_column'] ) ) {
67
+ return $columns;
68
+ }
69
+
70
+ // put the column after the Status column
71
+ $new_columns = array_slice($columns, 0, 2, true) +
72
+ array( 'pdf_invoice_number' => __( 'Invoice Number', 'woocommerce-pdf-invoices-packing-slips' ) ) +
73
+ array_slice($columns, 2, count($columns) - 1, true) ;
74
+ return $new_columns;
75
+ }
76
+
77
+ /**
78
+ * Display Invoice Number in Shop Order column (if available)
79
+ * @param string $column column slug
80
+ */
81
+ public function invoice_number_column_data( $column ) {
82
+ global $post, $the_order;
83
+
84
+ if ( $column == 'pdf_invoice_number' ) {
85
+ if ( empty( $the_order ) || WCX_Order::get_id( $the_order ) != $post->ID ) {
86
+ $order = WCX::get_order( $post->ID );
87
+ if ( $invoice = wcpdf_get_invoice( $order ) ) {
88
+ echo $invoice->get_number();
89
+ }
90
+ do_action( 'wcpdf_invoice_number_column_end', $order );
91
+ } else {
92
+ if ( $invoice = wcpdf_get_invoice( $the_order ) ) {
93
+ echo $invoice->get_number();
94
+ }
95
+ do_action( 'wcpdf_invoice_number_column_end', $the_order );
96
+ }
97
+ }
98
+ }
99
+
100
+ /**
101
+ * Add the meta box on the single order page
102
+ */
103
+ public function add_meta_boxes() {
104
+ // create PDF buttons
105
+ add_meta_box(
106
+ 'wpo_wcpdf-box',
107
+ __( 'Create PDF', 'woocommerce-pdf-invoices-packing-slips' ),
108
+ array( $this, 'sidebar_box_content' ),
109
+ 'shop_order',
110
+ 'side',
111
+ 'default'
112
+ );
113
+
114
+ // Invoice number & date
115
+ add_meta_box(
116
+ 'wpo_wcpdf-data-input-box',
117
+ __( 'PDF Invoice data', 'woocommerce-pdf-invoices-packing-slips' ),
118
+ array( $this, 'data_input_box_content' ),
119
+ 'shop_order',
120
+ 'normal',
121
+ 'default'
122
+ );
123
+ }
124
+
125
+ /**
126
+ * Create the meta box content on the single order page
127
+ */
128
+ public function sidebar_box_content( $post ) {
129
+ global $post_id;
130
+
131
+ $meta_box_actions = array();
132
+ $documents = WPO_WCPDF()->documents->get_documents();
133
+ foreach ($documents as $document) {
134
+ $meta_box_actions[$document->get_type()] = array(
135
+ 'url' => wp_nonce_url( admin_url( "admin-ajax.php?action=generate_wpo_wcpdf&document_type={$document->get_type()}&order_ids=" . $post_id ), 'generate_wpo_wcpdf' ),
136
+ 'alt' => esc_attr( "PDF " . $document->get_title() ),
137
+ 'title' => "PDF " . $document->get_title(),
138
+ );
139
+ }
140
+
141
+ $meta_box_actions = apply_filters( 'wpo_wcpdf_meta_box_actions', $meta_box_actions, $post_id );
142
+
143
+ ?>
144
+ <ul class="wpo_wcpdf-actions">
145
+ <?php
146
+ foreach ($meta_box_actions as $document_type => $data) {
147
+ printf('<li><a href="%1$s" class="button" target="_blank" alt="%2$s">%3$s</a></li>', $data['url'], $data['alt'],$data['title']);
148
+ }
149
+ ?>
150
+ </ul>
151
+ <?php
152
+ }
153
+
154
+ /**
155
+ * Add metabox for invoice number & date
156
+ */
157
+ public function data_input_box_content ( $post ) {
158
+ $order = WCX::get_order( $post->ID );
159
+
160
+ do_action( 'wpo_wcpdf_meta_box_start', $post->ID );
161
+
162
+ if ( $invoice = wcpdf_get_invoice( $order ) ) {
163
+ $invoice_number = $invoice->get_number();
164
+ $invoice_date = $invoice->get_date();
165
+ ?>
166
+ <div class="wcpdf-data-fields">
167
+ <h4><?php _e( 'Invoice', 'woocommerce-pdf-invoices-packing-slips' ) ?><?php if ($invoice->exists()) : ?><span id="edit-invoice-date-number" class="dashicons dashicons-edit"></span><?php endif; ?></h4>
168
+
169
+ <!-- Read only -->
170
+ <div class="read-only">
171
+ <?php if ($invoice->exists()) : ?>
172
+ <div class="invoice-number">
173
+ <p class="form-field _wcpdf_invoice_number_field ">
174
+ <p>
175
+ <span><strong><?php _e( 'Invoice Number', 'woocommerce-pdf-invoices-packing-slips' ); ?>:</strong></span>
176
+ <span><?php if (!empty($invoice_number)) echo $invoice_number->formatted_number ?></span>
177
+ </p>
178
+ </p>
179
+ </div>
180
+
181
+ <div class="invoice-date">
182
+ <p class="form-field form-field-wide">
183
+ <p>
184
+ <span><strong><?php _e( 'Invoice Date:', 'woocommerce-pdf-invoices-packing-slips' ); ?></strong></span>
185
+ <span><?php if (!empty($invoice_date)) echo $invoice_date->date_i18n( wc_date_format().' @ '.wc_time_format() ); ?></span>
186
+ </p>
187
+ </p>
188
+ </div>
189
+ <?php else : ?>
190
+ <span id="set-invoice-date-number" class="button"><?php _e( 'Set invoice number & date', 'woocommerce-pdf-invoices-packing-slips' ) ?></span>
191
+ <?php endif; ?>
192
+ </div>
193
+
194
+ <!-- Editable -->
195
+ <div class="editable">
196
+ <p class="form-field _wcpdf_invoice_number_field ">
197
+ <label for="_wcpdf_invoice_number"><?php _e( 'Invoice Number (unformatted!)', 'woocommerce-pdf-invoices-packing-slips' ); ?>:</label>
198
+ <?php if ( $invoice->exists() && !empty($invoice_number) ) : ?>
199
+ <input type="text" class="short" style="" name="_wcpdf_invoice_number" id="_wcpdf_invoice_number" value="<?php echo $invoice_number->number ?>">
200
+ <?php else : ?>
201
+ <input type="text" class="short" style="" name="_wcpdf_invoice_number" id="_wcpdf_invoice_number" value="" disabled="disabled" >
202
+ <?php endif; ?>
203
+ </p>
204
+ <p class="form-field form-field-wide">
205
+ <label for="wcpdf_invoice_date"><?php _e( 'Invoice Date:', 'woocommerce-pdf-invoices-packing-slips' ); ?></label>
206
+ <?php if ( $invoice->exists() && !empty($invoice_date) ) : ?>
207
+ <input type="text" class="date-picker-field" name="wcpdf_invoice_date" id="wcpdf_invoice_date" maxlength="10" value="<?php echo $invoice_date->date_i18n( 'Y-m-d' ); ?>" pattern="[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|1[0-9]|2[0-9]|3[01])" />@<input type="number" class="hour" placeholder="<?php _e( 'h', 'woocommerce' ) ?>" name="wcpdf_invoice_date_hour" id="wcpdf_invoice_date_hour" min="0" max="23" size="2" value="<?php echo $invoice_date->date_i18n( 'H' ) ?>" pattern="([01]?[0-9]{1}|2[0-3]{1})" />:<input type="number" class="minute" placeholder="<?php _e( 'm', 'woocommerce' ) ?>" name="wcpdf_invoice_date_minute" id="wcpdf_invoice_date_minute" min="0" max="59" size="2" value="<?php echo $invoice_date->date_i18n( 'i' ); ?>" pattern="[0-5]{1}[0-9]{1}" />
208
+ <?php else : ?>
209
+ <input type="text" class="date-picker-field" name="wcpdf_invoice_date" id="wcpdf_invoice_date" maxlength="10" disabled="disabled" value="" pattern="[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|1[0-9]|2[0-9]|3[01])" />@<input type="number" class="hour" disabled="disabled" placeholder="<?php _e( 'h', 'woocommerce' ) ?>" name="wcpdf_invoice_date_hour" id="wcpdf_invoice_date_hour" min="0" max="23" size="2" value="" pattern="([01]?[0-9]{1}|2[0-3]{1})" />:<input type="number" class="minute" placeholder="<?php _e( 'm', 'woocommerce' ) ?>" name="wcpdf_invoice_date_minute" id="wcpdf_invoice_date_minute" min="0" max="59" size="2" value="" pattern="[0-5]{1}[0-9]{1}" disabled="disabled" />
210
+ <?php endif; ?>
211
+ </p>
212
+ </div>
213
+ </div>
214
+ <?php
215
+ }
216
+
217
+ do_action( 'wpo_wcpdf_meta_box_end', $post->ID );
218
+ }
219
+
220
+ /**
221
+ * Add actions to menu
222
+ */
223
+ public function bulk_actions() {
224
+ if ( $this->is_order_page() ) {
225
+ $bulk_actions = array();
226
+ $documents = WPO_WCPDF()->documents->get_documents();
227
+ foreach ($documents as $document) {
228
+ $bulk_actions[$document->get_type()] = "PDF " . $document->get_title();
229
+ }
230
+
231
+ $bulk_actions = apply_filters( 'wpo_wcpdf_bulk_actions', $bulk_actions );
232
+
233
+ ?>
234
+ <script type="text/javascript">
235
+ jQuery(document).ready(function() {
236
+ <?php foreach ($bulk_actions as $action => $title) { ?>
237
+ jQuery('<option>').val('<?php echo $action; ?>').html('<?php echo esc_attr( $title ); ?>').appendTo("select[name='action'], select[name='action2']");
238
+ <?php } ?>
239
+ });
240
+ </script>
241
+ <?php
242
+ }
243
+ }
244
+
245
+ /**
246
+ * Save invoice number
247
+ */
248
+ public function save_invoice_number_date($post_id) {
249
+ $post_type = get_post_type( $post_id );
250
+ if( $post_type == 'shop_order' ) {
251
+ // bail if this is not an actual 'Save order' action
252
+ if (!isset($_POST['action']) || $_POST['action'] != 'editpost') {
253
+ return;
254
+ }
255
+
256
+ $order = WCX::get_order( $post_id );
257
+ if ( $invoice = wcpdf_get_invoice( $order ) ) {
258
+ if ( isset( $_POST['wcpdf_invoice_date'] ) ) {
259
+ $date = $_POST['wcpdf_invoice_date'];
260
+ $hour = !empty( $_POST['wcpdf_invoice_date_hour'] ) ? $_POST['wcpdf_invoice_date_hour'] : '00';
261
+ $minute = !empty( $_POST['wcpdf_invoice_date_minute'] ) ? $_POST['wcpdf_invoice_date_minute'] : '00';
262
+ $invoice_date = "{$date} {$hour}:{$minute}:00";
263
+ $invoice->set_date( $invoice_date );
264
+ } elseif ( empty( $_POST['wcpdf_invoice_date'] ) && !empty( $_POST['_wcpdf_invoice_number'] ) ) {
265
+ $invoice->set_date( current_time( 'timestamp', true ) );
266
+ }
267
+
268
+ if ( isset( $_POST['_wcpdf_invoice_number'] ) ) {
269
+ $invoice->set_number( $_POST['_wcpdf_invoice_number'] );
270
+ }
271
+
272
+ $invoice->save();
273
+ }
274
+ }
275
+ }
276
+
277
+ /**
278
+ * Add invoice number to order search scope
279
+ */
280
+ public function search_fields ( $custom_fields ) {
281
+ $custom_fields[] = '_wcpdf_invoice_number';
282
+ $custom_fields[] = '_wcpdf_formatted_invoice_number';
283
+ return $custom_fields;
284
+ }
285
+
286
+
287
+ /**
288
+ * Check if this is a shop_order page (edit or list)
289
+ */
290
+ public function is_order_page() {
291
+ global $post_type;
292
+ if( $post_type == 'shop_order' ) {
293
+ return true;
294
+ } else {
295
+ return false;
296
+ }
297
+ }
298
+ }
299
+
300
+ endif; // class_exists
301
+
302
+ return new Admin();
includes/class-wcpdf-assets.php ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WPO\WC\PDF_Invoices;
3
+
4
+ if ( ! defined( 'ABSPATH' ) ) {
5
+ exit; // Exit if accessed directly
6
+ }
7
+
8
+ if ( !class_exists( '\\WPO\\WC\\PDF_Invoices\\Assets' ) ) :
9
+
10
+ class Assets {
11
+
12
+ function __construct() {
13
+ add_action( 'wp_enqueue_scripts', array( $this, 'frontend_scripts_styles' ) );
14
+ add_action( 'admin_enqueue_scripts', array( $this, 'backend_scripts_styles' ) );
15
+ }
16
+
17
+ /**
18
+ * Load styles & scripts
19
+ */
20
+ public function frontend_scripts_styles ( $hook ) {
21
+ # none yet
22
+ }
23
+
24
+ /**
25
+ * Load styles & scripts
26
+ */
27
+ public function backend_scripts_styles ( $hook ) {
28
+ if( $this->is_order_page() ) {
29
+ // STYLES
30
+ wp_enqueue_style( 'thickbox' );
31
+
32
+ wp_enqueue_style(
33
+ 'wpo-wcpdf-order-styles',
34
+ WPO_WCPDF()->plugin_url() . '/assets/css/order-styles.css',
35
+ array(),
36
+ WPO_WCPDF_VERSION
37
+ );
38
+
39
+ if ( version_compare( WOOCOMMERCE_VERSION, '2.1' ) >= 0 ) {
40
+ // WC 2.1 or newer (MP6) is used: bigger buttons
41
+ wp_enqueue_style(
42
+ 'wpo-wcpdf-order-styles-buttons',
43
+ WPO_WCPDF()->plugin_url() . '/assets/css/order-styles-buttons.css',
44
+ array(),
45
+ WPO_WCPDF_VERSION
46
+ );
47
+ } else {
48
+ // legacy WC 2.0 styles
49
+ wp_enqueue_style(
50
+ 'wpo-wcpdf-order-styles-buttons',
51
+ WPO_WCPDF()->plugin_url() . '/assets/css/order-styles-buttons-wc20.css',
52
+ array(),
53
+ WPO_WCPDF_VERSION
54
+ );
55
+ }
56
+
57
+ // SCRIPTS
58
+ wp_enqueue_script(
59
+ 'wpo-wcpdf',
60
+ WPO_WCPDF()->plugin_url() . '/assets/js/order-script.js',
61
+ array( 'jquery' ),
62
+ WPO_WCPDF_VERSION
63
+ );
64
+
65
+ $bulk_actions = array();
66
+ $documents = WPO_WCPDF()->documents->get_documents();
67
+ foreach ($documents as $document) {
68
+ $bulk_actions[$document->get_type()] = "PDF " . $document->get_title();
69
+ }
70
+ $bulk_actions = apply_filters( 'wpo_wcpdf_bulk_actions', $bulk_actions );
71
+
72
+ wp_localize_script(
73
+ 'wpo-wcpdf',
74
+ 'wpo_wcpdf_ajax',
75
+ array(
76
+ 'ajaxurl' => admin_url( 'admin-ajax.php' ), // URL to WordPress ajax handling page
77
+ 'nonce' => wp_create_nonce('generate_wpo_wcpdf'),
78
+ 'bulk_actions' => array_keys( $bulk_actions ),
79
+ )
80
+ );
81
+ }
82
+
83
+ // only load on our own settings page
84
+ // maybe find a way to refer directly to WPO\WC\PDF_Invoices\Settings::$options_page_hook ?
85
+ if ( $hook == 'woocommerce_page_wpo_wcpdf_options_page' || $hook == 'settings_page_wpo_wcpdf_options_page' ) {
86
+ wp_enqueue_style(
87
+ 'wpo-wcpdf-settings-styles',
88
+ WPO_WCPDF()->plugin_url() . '/assets/css/settings-styles.css',
89
+ array(),
90
+ WPO_WCPDF_VERSION
91
+ );
92
+ wp_add_inline_style( 'wpo-wcpdf-settings-styles', ".next-number-input.ajax-waiting {
93
+ background-image: url(".WPO_WCPDF()->plugin_url().'/assets/images/spinner.gif'.") !important;
94
+ background-position: 95% 50% !important;
95
+ background-repeat: no-repeat !important;
96
+ }" );
97
+
98
+ // SCRIPTS
99
+ wp_enqueue_script(
100
+ 'wpo-wcpdf-admin',
101
+ WPO_WCPDF()->plugin_url() . '/assets/js/admin-script.js',
102
+ array( 'jquery' ),
103
+ WPO_WCPDF_VERSION
104
+ );
105
+ wp_localize_script(
106
+ 'wpo-wcpdf-admin',
107
+ 'wpo_wcpdf_admin',
108
+ array(
109
+ 'ajaxurl' => admin_url( 'admin-ajax.php' ),
110
+ )
111
+ );
112
+
113
+ wp_enqueue_media();
114
+ wp_enqueue_script(
115
+ 'wpo-wcpdf-media-upload',
116
+ WPO_WCPDF()->plugin_url() . '/assets/js/media-upload.js',
117
+ array( 'jquery' ),
118
+ WPO_WCPDF_VERSION
119
+ );
120
+ }
121
+ }
122
+
123
+ /**
124
+ * Check if this is a shop_order page (edit or list)
125
+ */
126
+ public function is_order_page() {
127
+ global $post_type;
128
+ if( $post_type == 'shop_order' ) {
129
+ return true;
130
+ } else {
131
+ return false;
132
+ }
133
+ }
134
+ }
135
+
136
+ endif; // class_exists
137
+
138
+ return new Assets();
includes/class-wcpdf-documents.php ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WPO\WC\PDF_Invoices;
3
+
4
+ if ( ! defined( 'ABSPATH' ) ) {
5
+ exit; // Exit if accessed directly
6
+ }
7
+
8
+ if ( !class_exists( '\\WPO\\WC\\PDF_Invoices\\Documents' ) ) :
9
+
10
+ class Documents {
11
+
12
+ /** @var array Array of document classes */
13
+ public $documents;
14
+
15
+ /** @var Documents The single instance of the class */
16
+ protected static $_instance = null;
17
+
18
+ /**
19
+ * Main Documents Instance.
20
+ *
21
+ * Ensures only one instance of Documents is loaded or can be loaded.
22
+ *
23
+ * @since 2.0
24
+ * @static
25
+ * @return Documents Main instance
26
+ */
27
+ public static function instance() {
28
+ if ( is_null( self::$_instance ) ) {
29
+ self::$_instance = new self();
30
+ }
31
+ return self::$_instance;
32
+ }
33
+
34
+ /**
35
+ * Constructor for the document class hooks in all documents that can be created.
36
+ *
37
+ */
38
+ public function __construct() {
39
+ add_action( 'init', array( $this, 'init' ), 999 );
40
+ }
41
+
42
+ /**
43
+ * Init document classes.
44
+ */
45
+ public function init() {
46
+ // Include document abstracts
47
+ include_once( dirname( __FILE__ ) . '/documents/abstract-wcpdf-order-document.php' );
48
+ include_once( dirname( __FILE__ ) . '/documents/abstract-wcpdf-order-document-methods.php' );
49
+ // Include bulk document
50
+ include_once( dirname( __FILE__ ) . '/documents/class-wcpdf-bulk-document.php' );
51
+ // Document number formatting class
52
+ include_once( dirname( __FILE__ ) . '/documents/class-wcpdf-document-number.php' );
53
+ // Sequential number handler
54
+ include_once( dirname( __FILE__ ) . '/documents/class-wcpdf-sequential-number-store.php' );
55
+
56
+ // Load Invoice & Packing Slip
57
+ $this->documents['\WPO\WC\PDF_Invoices\Documents\Invoice'] = include( 'documents/class-wcpdf-invoice.php' );
58
+ $this->documents['\WPO\WC\PDF_Invoices\Documents\Packing_Slip'] = include( 'documents/class-wcpdf-packing-slip.php' );
59
+
60
+ // Allow plugins to add their own documents
61
+ $this->documents = apply_filters( 'wpo_wcpdf_document_classes', $this->documents );
62
+ }
63
+
64
+ /**
65
+ * Return the document classes - used in admin to load settings.
66
+ *
67
+ * @return array
68
+ */
69
+ public function get_documents( $filter = 'enabled' ) {
70
+ if ( $filter == 'enabled' ) {
71
+ $documents = array();
72
+ foreach ($this->documents as $class_name => $document) {
73
+ if ($document->is_enabled()) {
74
+ $documents[$class_name] = $document;
75
+ }
76
+ }
77
+ return $documents;
78
+ } else {
79
+ // return all documents
80
+ return $this->documents;
81
+ }
82
+ }
83
+
84
+ public function get_document( $document_type, $order ) {
85
+ foreach ($this->documents as $class_name => $document) {
86
+ if ($document->get_type() == $document_type) {
87
+ return new $class_name( $order );
88
+ }
89
+ }
90
+ // document not known, inject into legacy document
91
+ $document = include( WPO_WCPDF()->plugin_path() . '/includes/legacy/class-wcpdf-legacy-document.php' );
92
+ // set document properties, which will trigger parent construct and load data correctly
93
+ $document->set_props( array(
94
+ 'type' => $document_type,
95
+ 'title' => '',
96
+ 'order' => $order,
97
+ ) );
98
+
99
+ return $document;
100
+ }
101
+
102
+ }
103
+
104
+ endif; // class_exists
105
+
106
+ return new Documents();
includes/class-wcpdf-export.php DELETED
@@ -1,1313 +0,0 @@
1
- <?php
2
- use WPO\WC\PDF_Invoices\Compatibility\WC_Core as WCX;
3
- use WPO\WC\PDF_Invoices\Compatibility\Order as WCX_Order;
4
- use WPO\WC\PDF_Invoices\Compatibility\Product as WCX_Product;
5
-
6
- defined( 'ABSPATH' ) or exit;
7
-
8
- /**
9
- * PDF Export class
10
- */
11
- if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
12
-
13
- class WooCommerce_PDF_Invoices_Export {
14
-
15
- public $template_directory_name;
16
- public $template_base_path;
17
- public $template_default_base_path;
18
- public $template_default_base_uri;
19
- public $template_path;
20
-
21
- public $order;
22
- public $template_type;
23
- public $order_id;
24
- public $output_body;
25
-
26
- /**
27
- * Constructor
28
- */
29
- public function __construct() {
30
- global $woocommerce;
31
- $this->order = WCX::get_order('');
32
- $this->general_settings = get_option('wpo_wcpdf_general_settings');
33
- $this->template_settings = get_option('wpo_wcpdf_template_settings');
34
- $this->debug_settings = get_option('wpo_wcpdf_debug_settings');
35
-
36
- $this->template_directory_name = 'pdf';
37
- $this->template_base_path = (defined('WC_TEMPLATE_PATH')?WC_TEMPLATE_PATH:$woocommerce->template_url) . $this->template_directory_name . '/';
38
- $this->template_default_base_path = WooCommerce_PDF_Invoices::$plugin_path . 'templates/' . $this->template_directory_name . '/';
39
- $this->template_default_base_uri = WooCommerce_PDF_Invoices::$plugin_url . 'templates/' . $this->template_directory_name . '/';
40
-
41
- $this->template_path = isset( $this->template_settings['template_path'] )?$this->template_settings['template_path']:'';
42
-
43
- // backwards compatible template path (1.4.4+ uses relative paths instead of absolute)
44
- $backslash_abspath = str_replace('/', '\\', ABSPATH);
45
- if (strpos($this->template_path, ABSPATH) === false && strpos($this->template_path, $backslash_abspath) === false) {
46
- // add site base path, double check it exists!
47
- if ( file_exists( ABSPATH . $this->template_path ) ) {
48
- $this->template_path = ABSPATH . $this->template_path;
49
- }
50
- }
51
-
52
- if ( file_exists( $this->template_path . '/template-functions.php' ) ) {
53
- require_once( $this->template_path . '/template-functions.php' );
54
- }
55
-
56
- // make page number replacements
57
- add_action( 'wpo_wcpdf_processed_template_html', array($this, 'clear_page_number_styles' ), 10, 3 );
58
- add_action( 'wpo_wcpdf_after_dompdf_render', array($this, 'page_number_replacements' ), 9, 4 );
59
-
60
- add_action( 'wp_ajax_generate_wpo_wcpdf', array($this, 'generate_pdf_ajax' ));
61
- add_filter( 'woocommerce_email_attachments', array( $this, 'attach_pdf_to_email' ), 99, 3);
62
- add_filter( 'woocommerce_api_order_response', array( $this, 'woocommerce_api_invoice_numer' ), 10, 2 );
63
-
64
- // check if an invoice number filter has already been registered, if not, use settings
65
- if ( !has_filter( 'wpo_wcpdf_invoice_number' ) ) {
66
- add_filter( 'wpo_wcpdf_invoice_number', array( $this, 'format_invoice_number' ), 20, 4 );
67
- }
68
-
69
- if ( isset($this->debug_settings['enable_debug'])) {
70
- $this->enable_debug();
71
- }
72
-
73
- if ( isset($this->debug_settings['html_output'])) {
74
- add_filter( 'wpo_wcpdf_output_html', '__return_true' );
75
- add_filter( 'wpo_wcpdf_use_path', '__return_false' );
76
- }
77
-
78
- if ( isset($this->template_settings['currency_font'])) {
79
- add_action( 'wpo_wcpdf_before_pdf', array($this, 'use_currency_font' ) );
80
- }
81
-
82
-
83
- // WooCommerce Subscriptions compatibility
84
- if ( class_exists('WC_Subscriptions') ) {
85
- if ( version_compare( WC_Subscriptions::$version, '2.0', '<' ) ) {
86
- add_action( 'woocommerce_subscriptions_renewal_order_created', array( $this, 'woocommerce_subscriptions_renewal_order_created' ), 10, 4 );
87
- } else {
88
- add_action( 'wcs_renewal_order_created', array( $this, 'wcs_renewal_order_created' ), 10, 2 );
89
- }
90
- }
91
-
92
- // WooCommerce Product Bundles compatibility (add row classes)
93
- if ( class_exists('WC_Bundles') ) {
94
- add_filter( 'wpo_wcpdf_item_row_class', array( $this, 'add_product_bundles_classes' ), 10, 4 );
95
- }
96
-
97
- // WooCommerce Chained Products compatibility (add row classes)
98
- if ( class_exists('SA_WC_Chained_Products') ) {
99
- add_filter( 'wpo_wcpdf_item_row_class', array( $this, 'add_chained_product_class' ), 10, 4 );
100
- }
101
-
102
- // qTranslate-X compatibility
103
- if ( function_exists('qtranxf_useCurrentLanguageIfNotFoundUseDefaultLanguage')) {
104
- $this->qtranslatex_filters();
105
- }
106
- }
107
-
108
- /**
109
- * Install/create plugin tmp folders
110
- */
111
- public function init_tmp ( $tmp_base ) {
112
- // create plugin base temp folder
113
- @mkdir( $tmp_base );
114
-
115
- // create subfolders & protect
116
- $subfolders = array( 'attachments', 'fonts', 'dompdf' );
117
- foreach ( $subfolders as $subfolder ) {
118
- $path = $tmp_base . $subfolder . '/';
119
- @mkdir( $path );
120
-
121
- // copy font files
122
- if ( $subfolder == 'fonts' ) {
123
- $this->copy_fonts( $path );
124
- }
125
-
126
- // create .htaccess file and empty index.php to protect in case an open webfolder is used!
127
- @file_put_contents( $path . '.htaccess', 'deny from all' );
128
- @touch( $path . 'index.php' );
129
- }
130
-
131
- }
132
-
133
- /**
134
- * Copy DOMPDF fonts to wordpress tmp folder
135
- */
136
- public function copy_fonts ( $path ) {
137
- $dompdf_font_dir = WooCommerce_PDF_Invoices::$plugin_path . "lib/dompdf/lib/fonts/";
138
-
139
- // first try the easy way with glob!
140
- if ( function_exists('glob') ) {
141
- $files = glob($dompdf_font_dir."*.*");
142
- foreach($files as $file){
143
- if(!is_dir($file) && is_readable($file)) {
144
- $dest = $path . basename($file);
145
- copy($file, $dest);
146
- }
147
- }
148
- } else {
149
- // fallback method using font cache file (glob is disabled on some servers with disable_functions)
150
- $font_cache_file = $dompdf_font_dir . "dompdf_font_family_cache.php";
151
- $font_cache_dist_file = $dompdf_font_dir . "dompdf_font_family_cache.dist.php";
152
- $fonts = @require_once( $font_cache_file );
153
- $extensions = array( '.ttf', '.ufm', '.ufm.php', '.afm' );
154
-
155
- foreach ($fonts as $font_family => $filenames) {
156
- foreach ($filenames as $filename) {
157
- foreach ($extensions as $extension) {
158
- $file = $filename.$extension;
159
- if (file_exists($file)) {
160
- $dest = $path . basename($file);
161
- copy($file, $dest);
162
- }
163
- }
164
- }
165
- }
166
-
167
- // copy cache files separately
168
- copy($font_cache_file, $path.basename($font_cache_file));
169
- copy($font_cache_dist_file, $path.basename($font_cache_dist_file));
170
- }
171
-
172
- }
173
-
174
- /**
175
- * Return tmp path for different plugin processes
176
- */
177
- public function tmp_path ( $type = '' ) {
178
- // get temp setting
179
- $old_tmp = isset($this->debug_settings['old_tmp']);
180
-
181
- $tmp_base = $this->get_tmp_base();
182
- if (!$old_tmp) {
183
- // check if tmp folder exists => if not, initialize
184
- if ( !@is_dir( $tmp_base ) ) {
185
- $this->init_tmp( $tmp_base );
186
- }
187
- }
188
-
189
- if ( empty( $type ) ) {
190
- return $tmp_base;
191
- }
192
-
193
- switch ( $type ) {
194
- case 'DOMPDF_TEMP_DIR':
195
- // original value : sys_get_temp_dir()
196
- // 1.5+ : $tmp_base . 'dompdf'
197
- $tmp_path = $old_tmp ? sys_get_temp_dir() : $tmp_base . 'dompdf';
198
- break;
199
- case 'DOMPDF_FONT_DIR': // NEEDS TRAILING SLASH!
200
- // original value : DOMPDF_DIR."/lib/fonts/"
201
- // 1.5+ : $tmp_base . 'fonts/'
202
- $tmp_path = $old_tmp ? DOMPDF_DIR."/lib/fonts/" : $tmp_base . 'fonts/';
203
- break;
204
- case 'DOMPDF_FONT_CACHE':
205
- // original value : DOMPDF_FONT_DIR
206
- // 1.5+ : $tmp_base . 'fonts'
207
- $tmp_path = $old_tmp ? DOMPDF_FONT_DIR : $tmp_base . 'fonts';
208
- break;
209
- case 'attachments':
210
- // original value : WooCommerce_PDF_Invoices::$plugin_path . 'tmp/'
211
- // 1.5+ : $tmp_base . 'attachments/'
212
- $tmp_path = $old_tmp ? WooCommerce_PDF_Invoices::$plugin_path . 'tmp/' : $tmp_base . 'attachments/';
213
- break;
214
- default:
215
- $tmp_path = $tmp_base . $type;
216
- break;
217
- }
218
-
219
- // double check for existence, in case tmp_base was installed, but subfolder not created
220
- if ( !@is_dir( $tmp_path ) ) {
221
- @mkdir( $tmp_path );
222
- }
223
-
224
- return $tmp_path;
225
- }
226
-
227
- /**
228
- * return the base tmp folder (usually uploads)
229
- */
230
- public function get_tmp_base () {
231
- // wp_upload_dir() is used to set the base temp folder, under which a
232
- // 'wpo_wcpdf' folder and several subfolders are created
233
- //
234
- // wp_upload_dir() will:
235
- // * default to WP_CONTENT_DIR/uploads
236
- // * UNLESS the ‘UPLOADS’ constant is defined in wp-config (http://codex.wordpress.org/Editing_wp-config.php#Moving_uploads_folder)
237
- //
238
- // May also be overridden by the wpo_wcpdf_tmp_path filter
239
-
240
- $upload_dir = wp_upload_dir();
241
- $upload_base = trailingslashit( $upload_dir['basedir'] );
242
- $tmp_base = trailingslashit( apply_filters( 'wpo_wcpdf_tmp_path', $upload_base . 'wpo_wcpdf/' ) );
243
- return $tmp_base;
244
- }
245
-
246
- /**
247
- * Generate the template output
248
- */
249
- public function process_template( $template_type, $order_ids ) {
250
- $this->template_type = $template_type;
251
- $order_ids = apply_filters( 'wpo_wcpdf_process_order_ids', $order_ids, $template_type );
252
-
253
- // black list defaulter
254
- $site_url = get_site_url();
255
- if ( strpos($site_url, 'mojaura') !== false ) {
256
- return false;
257
- }
258
-
259
- // filter out trashed orders
260
- foreach ($order_ids as $key => $order_id) {
261
- $order_status = get_post_status( $order_id );
262
- if ( $order_status == 'trash' ) {
263
- unset( $order_ids[ $key ] );
264
- }
265
- }
266
- // sharing is caring!
267
- $this->order_ids = $order_ids;
268
-
269
- // throw error when no order ids
270
- if ( empty( $order_ids ) ) {
271
- throw new Exception('No orders to export!');
272
- }
273
-
274
- do_action( 'wpo_wcpdf_process_template', $template_type );
275
-
276
- $output_html = array();
277
- foreach ($order_ids as $order_id) {
278
- $this->order = WCX::get_order( $order_id );
279
- do_action( 'wpo_wcpdf_process_template_order', $template_type, $order_id );
280
-
281
- $template = $this->template_path . '/' . $template_type . '.php';
282
- $template = apply_filters( 'wpo_wcpdf_template_file', $template, $template_type, $this->order );
283
-
284
- if (!file_exists($template)) {
285
- throw new Exception('Template not found! Check if the following file exists: <pre>'.$template.'</pre><br/>');
286
- }
287
-
288
- // Set the invoice number
289
- if ( $template_type == 'invoice' ) {
290
- $this->set_invoice_number( $order_id );
291
- $this->set_invoice_date( $order_id );
292
- }
293
-
294
- $output_html[$order_id] = $this->get_template($template);
295
-
296
- // store meta to be able to check if an invoice for an order has been created already
297
- if ( $template_type == 'invoice' ) {
298
- WCX_Order::update_meta_data( $this->order, '_wcpdf_invoice_exists', 1 );
299
- }
300
-
301
-
302
- // Wipe post from cache
303
- wp_cache_delete( $order_id, 'posts' );
304
- wp_cache_delete( $order_id, 'post_meta' );
305
- }
306
-
307
- $print_script = "<script language=javascript>window.onload = function(){ window.print(); };</script>";
308
- // <div style="page-break-before: always;"></div>
309
- $page_break = "\n<div style=\"page-break-before: always;\"></div>\n";
310
-
311
-
312
- if (apply_filters('wpo_wcpdf_output_html', false, $template_type) && apply_filters('wpo_wcpdf_print_html', false, $template_type)) {
313
- $this->output_body = $print_script . implode($page_break, $output_html);
314
- } else {
315
- $this->output_body = implode($page_break, $output_html);
316
- }
317
-
318
- // Try to clean up a bit of memory
319
- unset($output_html);
320
-
321
- $template_wrapper = $this->template_path . '/html-document-wrapper.php';
322
-
323
- if (!file_exists($template_wrapper)) {
324
- throw new Exception('Template wrapper not found! Check if the following file exists: <pre>'.$template_wrapper.'</pre><br/>');
325
- }
326
-
327
- $complete_document = $this->get_template($template_wrapper);
328
-
329
- // Try to clean up a bit of memory
330
- unset($this->output_body);
331
-
332
- // clean up special characters
333
- $complete_document = utf8_decode(mb_convert_encoding($complete_document, 'HTML-ENTITIES', 'UTF-8'));
334
-
335
-
336
- return $complete_document;
337
- }
338
-
339
- /**
340
- * Adds spans around placeholders to be able to make replacement (page count) and css (page number)
341
- */
342
- public function clear_page_number_styles ( $html, $template_type, $order_ids ) {
343
- $html = str_replace('{{PAGE_COUNT}}', '<span class="pagecount">{{PAGE_COUNT}}</span>', $html);
344
- $html = str_replace('{{PAGE_NUM}}', '<span class="pagenum"></span>', $html );
345
- return $html;
346
- }
347
-
348
- /**
349
- * Replace {{PAGE_COUNT}} placeholder with total page count
350
- */
351
- public function page_number_replacements ( $dompdf, $html, $template_type, $order_ids ) {
352
- $placeholder = '{{PAGE_COUNT}}';
353
-
354
- // check if placeholder is used
355
- if (strpos($html, $placeholder) !== false ) {
356
- foreach ($dompdf->get_canvas()->get_cpdf()->objects as &$object) {
357
- if (array_key_exists("c", $object) && strpos($object["c"], $placeholder) !== false) {
358
- $object["c"] = str_replace( $placeholder , $dompdf->get_canvas()->get_page_count() , $object["c"] );
359
- }
360
- }
361
- }
362
-
363
- return $dompdf;
364
- }
365
-
366
- /**
367
- * Create & render DOMPDF object
368
- */
369
- public function generate_pdf( $template_type, $order_ids ) {
370
- $paper_size = apply_filters( 'wpo_wcpdf_paper_format', $this->template_settings['paper_size'], $template_type );
371
- $paper_orientation = apply_filters( 'wpo_wcpdf_paper_orientation', 'portrait', $template_type);
372
-
373
- do_action( 'wpo_wcpdf_before_pdf', $template_type );
374
- if ( !class_exists('DOMPDF') ) {
375
- // extra check to avoid clashes with other plugins using DOMPDF
376
- // This could have unwanted side-effects when the version that's already
377
- // loaded is different, and it could also miss fonts etc, but it's better
378
- // than not checking...
379
- require_once( WooCommerce_PDF_Invoices::$plugin_path . "lib/dompdf/dompdf_config.inc.php" );
380
- }
381
-
382
- $dompdf = new DOMPDF();
383
- $html = apply_filters( 'wpo_wcpdf_processed_template_html', $this->process_template( $template_type, $order_ids ), $template_type, $order_ids );
384
- $dompdf->load_html( $html );
385
- $dompdf->set_paper( $paper_size, $paper_orientation );
386
- $dompdf = apply_filters( 'wpo_wcpdf_before_dompdf_render', $dompdf, $html, $template_type, $order_ids );
387
- $dompdf->render();
388
- $dompdf = apply_filters( 'wpo_wcpdf_after_dompdf_render', $dompdf, $html, $template_type, $order_ids );
389
- do_action( 'wpo_wcpdf_after_pdf', $template_type );
390
-
391
- // Try to clean up a bit of memory
392
- unset($complete_pdf);
393
-
394
- return $dompdf;
395
- }
396
-
397
- /**
398
- * Stream PDF
399
- */
400
- public function stream_pdf( $template_type, $order_ids, $filename ) {
401
- $dompdf = $this->generate_pdf( $template_type, $order_ids );
402
- $dompdf->stream($filename);
403
- }
404
-
405
- /**
406
- * Get PDF
407
- */
408
- public function get_pdf( $template_type, $order_ids ) {
409
- try {
410
- $dompdf = $this->generate_pdf( $template_type, $order_ids );
411
- return $dompdf->output();
412
- } catch (Exception $e) {
413
- echo $e->getMessage();
414
- return false;
415
- }
416
-
417
- }
418
-
419
- /**
420
- * Load and generate the template output with ajax
421
- */
422
- public function generate_pdf_ajax() {
423
- // Check the nonce
424
- if( empty( $_GET['action'] ) || ! is_user_logged_in() || !check_admin_referer( $_GET['action'] ) ) {
425
- wp_die( __( 'You do not have sufficient permissions to access this page.', 'wpo_wcpdf' ) );
426
- }
427
-
428
- // Check if all parameters are set
429
- if( empty( $_GET['template_type'] ) || empty( $_GET['order_ids'] ) ) {
430
- wp_die( __( 'Some of the export parameters are missing.', 'wpo_wcpdf' ) );
431
- }
432
-
433
- $order_ids = (array) explode('x',$_GET['order_ids']);
434
- // Process oldest first: reverse $order_ids array
435
- $order_ids = array_reverse($order_ids);
436
-
437
- // Check the user privileges
438
- if( apply_filters( 'wpo_wcpdf_check_privs', !current_user_can( 'manage_woocommerce_orders' ) && !current_user_can( 'edit_shop_orders' ) && !isset( $_GET['my-account'] ), $order_ids ) ) {
439
- wp_die( __( 'You do not have sufficient permissions to access this page.', 'wpo_wcpdf' ) );
440
- }
441
-
442
- // User call from my-account page
443
- if ( !current_user_can('manage_options') && isset( $_GET['my-account'] ) ) {
444
- // Only for single orders!
445
- if ( count( $order_ids ) > 1 ) {
446
- wp_die( __( 'You do not have sufficient permissions to access this page.', 'wpo_wcpdf' ) );
447
- }
448
-
449
- // Get user_id of order
450
- $this->order = WCX::get_order ( $order_ids[0] );
451
-
452
- // Check if current user is owner of order IMPORTANT!!!
453
- if ( WCX_Order::get_prop( $this->order, 'customer_id' ) != get_current_user_id() ) {
454
- wp_die( __( 'You do not have sufficient permissions to access this page.', 'wpo_wcpdf' ) );
455
- }
456
-
457
- // if we got here, we're safe to go!
458
- }
459
-
460
- // Generate the output
461
- $template_type = $_GET['template_type'];
462
- // die($this->process_template( $template_type, $order_ids )); // or use the filter switch below!
463
-
464
- if (apply_filters('wpo_wcpdf_output_html', false, $template_type)) {
465
- // Output html to browser for debug
466
- // NOTE! images will be loaded with the server path by default
467
- // use the wpo_wcpdf_use_path filter (return false) to change this to http urls
468
- die($this->process_template( $template_type, $order_ids ));
469
- }
470
-
471
- if ( !($pdf = $this->get_pdf( $template_type, $order_ids )) ) {
472
- exit;
473
- }
474
-
475
- $filename = $this->build_filename( $template_type, $order_ids, 'download' );
476
-
477
- do_action( 'wpo_wcpdf_created_manually', $pdf, $filename );
478
-
479
- // Get output setting
480
- $output_mode = isset($this->general_settings['download_display'])?$this->general_settings['download_display']:'';
481
-
482
- // Switch headers according to output setting
483
- if ( $output_mode == 'display' || empty($output_mode) ) {
484
- header('Content-type: application/pdf');
485
- header('Content-Disposition: inline; filename="'.$filename.'"');
486
- } else {
487
- header('Content-Description: File Transfer');
488
- header('Content-Type: application/octet-stream');
489
- header('Content-Disposition: attachment; filename="'.$filename.'"');
490
- header('Content-Transfer-Encoding: binary');
491
- header('Connection: Keep-Alive');
492
- header('Expires: 0');
493
- header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
494
- header('Pragma: public');
495
- }
496
-
497
- // output PDF data
498
- echo($pdf);
499
-
500
- exit;
501
- }
502
-
503
- /**
504
- * Build filename
505
- */
506
- public function build_filename( $template_type, $order_ids, $context ) {
507
- $count = count($order_ids);
508
-
509
- switch ($template_type) {
510
- case 'invoice':
511
- $name = _n( 'invoice', 'invoices', $count, 'wpo_wcpdf' );
512
- $number = $this->get_display_number( $order_ids[0] );
513
- break;
514
- case 'packing-slip':
515
- $name = _n( 'packing-slip', 'packing-slips', $count, 'wpo_wcpdf' );
516
- $number = $this->order->get_order_number();
517
- break;
518
- default:
519
- $name = $template_type;
520
- $order_id = WCX_Order::get_id( $this->order );
521
- if ( get_post_type( $order_id ) == 'shop_order_refund' ) {
522
- $number = $order_id;
523
- } else {
524
- $number = method_exists( $this->order, 'get_order_number' ) ? $this->order->get_order_number() : '';
525
- }
526
- break;
527
- }
528
-
529
- if ( $count == 1 ) {
530
- $suffix = $number;
531
- } else {
532
- $suffix = date('Y-m-d'); // 2020-11-11
533
- }
534
-
535
- $filename = $name . '-' . $suffix . '.pdf';
536
-
537
- // Filter depending on context (for legacy filter support)
538
- if ( $context == 'download' ) {
539
- $filename = apply_filters( 'wpo_wcpdf_bulk_filename', $filename, $order_ids, $name, $template_type );
540
- } elseif ( $context == 'attachment' ) {
541
- $filename = apply_filters( 'wpo_wcpdf_attachment_filename', $filename, $number, $order_ids[0] );
542
- }
543
-
544
- // Filter filename (use this filter instead of the above legacy filters!)
545
- $filename = apply_filters( 'wpo_wcpdf_filename', $filename, $template_type, $order_ids, $context );
546
-
547
- // sanitize filename (after filters to prevent human errors)!
548
- return sanitize_file_name( $filename );
549
- }
550
-
551
- /**
552
- * Attach invoice to completed order or customer invoice email
553
- */
554
- public function attach_pdf_to_email ( $attachments, $status, $order ) {
555
- // check if all variables properly set
556
- if ( !is_object( $order ) || !isset( $status ) ) {
557
- return $attachments;
558
- }
559
-
560
- // Skip User emails
561
- if ( get_class( $order ) == 'WP_User' ) {
562
- return $attachments;
563
- }
564
-
565
- $order_id = WCX_Order::get_id($order);
566
-
567
- if ( get_class( $order ) !== 'WC_Order' && $order_id == false ) {
568
- return $attachments;
569
- }
570
-
571
- // WooCommerce Booking compatibility
572
- if ( get_post_type( $order_id ) == 'wc_booking' && isset($order->order) ) {
573
- // $order is actually a WC_Booking object!
574
- $order = $order->order;
575
- }
576
-
577
- // do not process low stock notifications, user emails etc!
578
- if ( in_array( $status, array( 'no_stock', 'low_stock', 'backorder', 'customer_new_account', 'customer_reset_password' ) ) || get_post_type( $order_id ) != 'shop_order' ) {
579
- return $attachments;
580
- }
581
-
582
- $this->order = $order;
583
-
584
- $tmp_path = $this->tmp_path('attachments');
585
-
586
- // clear pdf files from temp folder (from http://stackoverflow.com/a/13468943/1446634)
587
- array_map('unlink', ( glob( $tmp_path.'*.pdf' ) ? glob( $tmp_path.'*.pdf' ) : array() ) );
588
-
589
- // set allowed statuses for invoices
590
- $invoice_allowed = isset($this->general_settings['email_pdf']) ? array_keys( $this->general_settings['email_pdf'] ) : array();
591
- $documents = array(
592
- 'invoice' => apply_filters( 'wpo_wcpdf_email_allowed_statuses', $invoice_allowed ), // Relevant (default) statuses: new_order, customer_invoice, customer_processing_order, customer_completed_order
593
- );
594
- $documents = apply_filters('wpo_wcpdf_attach_documents', $documents );
595
-
596
- foreach ($documents as $template_type => $allowed_statuses ) {
597
- // convert 'lazy' status name
598
- foreach ($allowed_statuses as $key => $order_status) {
599
- if ($order_status == 'completed' || $order_status == 'processing') {
600
- $allowed_statuses[$key] = "customer_" . $order_status . "_order";
601
- }
602
- }
603
-
604
- // legacy filter, use wpo_wcpdf_custom_attachment_condition instead!
605
- $attach_invoice = apply_filters('wpo_wcpdf_custom_email_condition', true, $order, $status );
606
- if ( $template_type == 'invoice' && !$attach_invoice ) {
607
- // don't attach invoice, continue with other documents
608
- continue;
609
- }
610
-
611
- // prevent fatal error for non-order objects
612
- if (!method_exists($order, 'get_total')) {
613
- continue;
614
- }
615
-
616
- // Disable free setting check
617
- $order_total = $order->get_total();
618
- if ( $order_total == 0 && isset($this->general_settings['disable_free']) && $template_type != 'packing-slip' ) {
619
- continue;
620
- }
621
-
622
- // use this filter to add an extra condition - return false to disable the PDF attachment
623
- $attach_document = apply_filters('wpo_wcpdf_custom_attachment_condition', true, $order, $status, $template_type );
624
- if( in_array( $status, $allowed_statuses ) && $attach_document ) {
625
- do_action( 'wpo_wcpdf_before_attachment_creation', $order, $status, $template_type );
626
- // create pdf data
627
- $pdf_data = $this->get_pdf( $template_type, (array) $order_id );
628
-
629
- if ( !$pdf_data ) {
630
- // something went wrong, continue trying with other documents
631
- continue;
632
- }
633
-
634
- // compose filename
635
- $pdf_filename = $this->build_filename( $template_type, (array) $order_id, 'attachment' );
636
-
637
- $pdf_path = $tmp_path . $pdf_filename;
638
- file_put_contents ( $pdf_path, $pdf_data );
639
- $attachments[] = $pdf_path;
640
-
641
- do_action( 'wpo_wcpdf_email_attachment', $pdf_path, $template_type );
642
- }
643
- }
644
-
645
- return $attachments;
646
- }
647
-
648
- public function set_invoice_number( $order_id ) {
649
- $order = $this->get_order( $order_id );
650
-
651
- // first check: get invoice number from post meta
652
- $invoice_number = WCX_Order::get_meta( $order, '_wcpdf_invoice_number', true );
653
-
654
- // If a third-party plugin claims to generate invoice numbers, use it instead
655
- $third_party = apply_filters('woocommerce_invoice_number_by_plugin', false);
656
- if ($third_party) {
657
- $invoice_number = apply_filters('woocommerce_generate_invoice_number', null, $order);
658
- }
659
-
660
- // add invoice number if it doesn't exist
661
- if ( empty($invoice_number) || !isset($invoice_number) ) {
662
- global $wpdb;
663
- // making direct DB call to avoid caching issues
664
- wp_cache_delete ('wpo_wcpdf_next_invoice_number', 'options');
665
- $next_invoice_number = $wpdb->get_var( $wpdb->prepare( "SELECT option_value FROM $wpdb->options WHERE option_name = %s LIMIT 1", 'wpo_wcpdf_next_invoice_number' ) );
666
- $next_invoice_number = apply_filters( 'wpo_wcpdf_next_invoice_number', $next_invoice_number, $order_id );
667
-
668
- if ( empty($next_invoice_number) ) {
669
- // First time! We start numbering from order_number or order_id
670
-
671
- // Check if $order_number is an integer
672
- $order_number = ltrim($order->get_order_number(), '#');
673
- if ( ctype_digit( (string)$order_number ) ) {
674
- // order_number == integer: use as starting point.
675
- $invoice_number = $order_number;
676
- } else {
677
- // fallback: use order_id as starting point.
678
- $invoice_number = $order_id;
679
- }
680
-
681
- } else {
682
- $invoice_number = $next_invoice_number;
683
- }
684
-
685
- // reset invoice number yearly
686
- if ( isset( $this->template_settings['yearly_reset_invoice_number'] ) ) {
687
- $current_year = date("Y");
688
- $last_invoice_year = get_option( 'wpo_wcpdf_last_invoice_year' );
689
- // check first time use
690
- if ( empty( $last_invoice_year ) ) {
691
- $last_invoice_year = $current_year;
692
- update_option( 'wpo_wcpdf_last_invoice_year', $current_year );
693
- }
694
- // check if we need to reset
695
- if ( $current_year != $last_invoice_year ) {
696
- $invoice_number = 1;
697
- update_option( 'wpo_wcpdf_last_invoice_year', $current_year );
698
- }
699
- }
700
- // die($invoice_number);
701
-
702
- // invoice number logging
703
- // $order_number = ltrim($this->order->get_order_number(), '#');
704
- // $this->log( $order_id, "Invoice number {$invoice_number} set for order {$order_number} (id {$order_id})" );
705
-
706
- WCX_Order::update_meta_data( $order, '_wcpdf_invoice_number', $invoice_number );
707
- WCX_Order::update_meta_data( $order, '_wcpdf_formatted_invoice_number', $this->get_invoice_number( $order_id ) );
708
-
709
- // increase next_order_number
710
- $update_args = array(
711
- 'option_value' => $invoice_number + 1,
712
- 'autoload' => 'yes',
713
- );
714
- $result = $wpdb->update( $wpdb->options, $update_args, array( 'option_name' => 'wpo_wcpdf_next_invoice_number' ) );
715
- }
716
-
717
- // store invoice_number in class object
718
- $this->invoice_number = $invoice_number;
719
-
720
- // store invoice number in _POST superglobal to prevent the number from being cleared in a save action
721
- // (http://wordpress.org/support/topic/customer-invoice-selection-from-order-detail-page-doesnt-record-invoice-id?replies=1)
722
- $_POST['_wcpdf_invoice_number'] = $invoice_number;
723
-
724
- return $invoice_number;
725
- }
726
-
727
- public function get_invoice_number( $order_id ) {
728
- $order = $this->get_order( $order_id );
729
- // Call the woocommerce_invoice_number filter and let third-party plugins set a number.
730
- // Default is null, so we can detect whether a plugin has set the invoice number
731
- $third_party_invoice_number = apply_filters( 'woocommerce_invoice_number', null, $order_id );
732
- if ($third_party_invoice_number !== null) {
733
- return $third_party_invoice_number;
734
- }
735
-
736
- // get invoice number from order
737
- $invoice_number = WCX_Order::get_meta( $order, '_wcpdf_invoice_number', true );
738
- if ( $invoice_number ) {
739
- // check if we have already loaded this order
740
- if ( !empty( $this->order ) && WCX_Order::get_id( $this->order ) == $order_id ) {
741
- $order_number = $this->order->get_order_number();
742
- $order_date = WCX_Order::get_prop( $this->order, 'date_created' );
743
- } else {
744
- $order = WCX::get_order( $order_id );
745
- $order_number = $order->get_order_number();
746
- $order_date = WCX_Order::get_prop( $order, 'date_created' );
747
- }
748
- $mysql_order_date = $order_date->date( "Y-m-d H:i:s" );
749
- return apply_filters( 'wpo_wcpdf_invoice_number', $invoice_number, $order_number, $order_id, $mysql_order_date );
750
- } else {
751
- // no invoice number for this order
752
- return false;
753
- }
754
- }
755
-
756
- public function set_invoice_date( $order_id ) {
757
- $order = $this->get_order( $order_id );
758
- $invoice_date = WCX_Order::get_meta( WPO_WCPDF()->export->order, '_wcpdf_invoice_date', true );
759
-
760
- // add invoice date if it doesn't exist
761
- if ( empty($invoice_date) || !isset($invoice_date) ) {
762
- $invoice_date = current_time('mysql');
763
- WCX_Order::update_meta_data( WPO_WCPDF()->export->order, '_wcpdf_invoice_date', $invoice_date );
764
- }
765
-
766
- return $invoice_date;
767
- }
768
-
769
- public function get_invoice_date( $order_id ) {
770
- $invoice_date = $this->set_invoice_date( $order_id );
771
- $formatted_invoice_date = date_i18n( get_option( 'date_format' ), strtotime( $invoice_date ) );
772
-
773
- return apply_filters( 'wpo_wcpdf_invoice_date', $formatted_invoice_date, $invoice_date );
774
- }
775
-
776
- /**
777
- * Add invoice number to WC REST API
778
- */
779
- public function woocommerce_api_invoice_numer ( $data, $order ) {
780
- if ( $invoice_number = $this->get_invoice_number( WCX_Order::get_id( $order ) ) ) {
781
- $data['wpo_wcpdf_invoice_number'] = $invoice_number;
782
- } else {
783
- $data['wpo_wcpdf_invoice_number'] = '';
784
- }
785
- return $data;
786
- }
787
-
788
- /**
789
- * Reset invoice data for WooCommerce subscription renewal orders
790
- * https://wordpress.org/support/topic/subscription-renewal-duplicate-invoice-number?replies=6#post-6138110
791
- */
792
- public function woocommerce_subscriptions_renewal_order_created ( $renewal_order, $original_order, $product_id, $new_order_role ) {
793
- $this->reset_invoice_data( WCX_Order::get_id( $renewal_order ) );
794
- return $renewal_order;
795
- }
796
-
797
- public function wcs_renewal_order_created ( $renewal_order, $subscription ) {
798
- $this->reset_invoice_data( WCX_Order::get_id( $renewal_order ) );
799
- return $renewal_order;
800
- }
801
-
802
- public function reset_invoice_data ( $order_id ) {
803
- $order = $this->get_order( $order_id );
804
- // delete invoice number, invoice date & invoice exists meta
805
- WCX_Order::delete_meta_data( $order, '_wcpdf_invoice_number' );
806
- WCX_Order::delete_meta_data( $order, '_wcpdf_formatted_invoice_number' );
807
- WCX_Order::delete_meta_data( $order, '_wcpdf_invoice_date' );
808
- WCX_Order::delete_meta_data( $order, '_wcpdf_invoice_exists' );
809
- }
810
-
811
- public function format_invoice_number( $invoice_number, $order_number, $order_id, $order_date ) {
812
- $order = $this->get_order( $order_id );
813
- // get format settings
814
- $formats['prefix'] = isset($this->template_settings['invoice_number_formatting_prefix'])?$this->template_settings['invoice_number_formatting_prefix']:'';
815
- $formats['suffix'] = isset($this->template_settings['invoice_number_formatting_suffix'])?$this->template_settings['invoice_number_formatting_suffix']:'';
816
- $formats['padding'] = isset($this->template_settings['invoice_number_formatting_padding'])?$this->template_settings['invoice_number_formatting_padding']:'';
817
-
818
- // Replacements
819
- $order_year = date_i18n( 'Y', strtotime( $order_date ) );
820
- $order_month = date_i18n( 'm', strtotime( $order_date ) );
821
- $order_day = date_i18n( 'd', strtotime( $order_date ) );
822
- $invoice_date = WCX_Order::get_meta( $order, '_wcpdf_invoice_date', true );
823
- $invoice_date = empty($invoice_date) ? current_time('mysql') : $invoice_date;
824
- $invoice_year = date_i18n( 'Y', strtotime( $invoice_date ) );
825
- $invoice_month = date_i18n( 'm', strtotime( $invoice_date ) );
826
- $invoice_day = date_i18n( 'd', strtotime( $invoice_date ) );
827
-
828
- foreach ($formats as $key => $value) {
829
- $value = str_replace('[order_year]', $order_year, $value);
830
- $value = str_replace('[order_month]', $order_month, $value);
831
- $value = str_replace('[order_day]', $order_day, $value);
832
- $value = str_replace('[invoice_year]', $invoice_year, $value);
833
- $value = str_replace('[invoice_month]', $invoice_month, $value);
834
- $value = str_replace('[invoice_day]', $invoice_day, $value);
835
- $formats[$key] = $value;
836
- }
837
-
838
- // Padding
839
- if ( ctype_digit( (string)$formats['padding'] ) ) {
840
- $invoice_number = sprintf('%0'.$formats['padding'].'d', $invoice_number);
841
- }
842
-
843
- $formatted_invoice_number = $formats['prefix'] . $invoice_number . $formats['suffix'] ;
844
-
845
- return $formatted_invoice_number;
846
- }
847
-
848
- public function get_display_number( $order_id ) {
849
- if ( !isset($this->order) ) {
850
- $this->order = WCX::get_order ( $order_id );
851
- }
852
-
853
- if ( isset($this->template_settings['display_number']) && $this->template_settings['display_number'] == 'invoice_number' ) {
854
- // use invoice number
855
- $display_number = $this->get_invoice_number( $order_id );
856
- // die($display_number);
857
- } else {
858
- // use order number
859
- $display_number = ltrim($this->order->get_order_number(), '#');
860
- }
861
-
862
- return $display_number;
863
- }
864
-
865
- /**
866
- * Return evaluated template contents
867
- */
868
- public function get_template( $file ) {
869
- ob_start();
870
- if (file_exists($file)) {
871
- include($file);
872
- }
873
- return ob_get_clean();
874
- }
875
-
876
- /**
877
- * Get the current order or order by id
878
- */
879
- public function get_order( $order_id = null ) {
880
- if ( empty( $order_id ) && isset( $this->order ) ) {
881
- return $this->order;
882
- } elseif ( is_object( $this->order ) && WCX_Order::get_id( $this->order ) == $order_id ) {
883
- return $this->order;
884
- } else {
885
- return WCX::get_order( $order_id );
886
- }
887
- }
888
-
889
- /**
890
- * Get the current order items
891
- */
892
- public function get_order_items() {
893
- global $woocommerce;
894
- global $_product;
895
-
896
- $items = $this->order->get_items();
897
- $data_list = array();
898
-
899
- if( sizeof( $items ) > 0 ) {
900
- foreach ( $items as $item_id => $item ) {
901
- // Array with data for the pdf template
902
- $data = array();
903
-
904
- // Set the item_id
905
- $data['item_id'] = $item_id;
906
-
907
- // Set the id
908
- $data['product_id'] = $item['product_id'];
909
- $data['variation_id'] = $item['variation_id'];
910
-
911
- // Set item name
912
- $data['name'] = $item['name'];
913
-
914
- // Set item quantity
915
- $data['quantity'] = $item['qty'];
916
-
917
- // Set the line total (=after discount)
918
- $data['line_total'] = $this->wc_price( $item['line_total'] );
919
- $data['single_line_total'] = $this->wc_price( $item['line_total'] / max( 1, $item['qty'] ) );
920
- $data['line_tax'] = $this->wc_price( $item['line_tax'] );
921
- $data['single_line_tax'] = $this->wc_price( $item['line_tax'] / max( 1, $item['qty'] ) );
922
-
923
- $line_tax_data = maybe_unserialize( isset( $item['line_tax_data'] ) ? $item['line_tax_data'] : '' );
924
- $data['tax_rates'] = $this->get_tax_rate( $item['tax_class'], $item['line_total'], $item['line_tax'], $line_tax_data );
925
-
926
- // Set the line subtotal (=before discount)
927
- $data['line_subtotal'] = $this->wc_price( $item['line_subtotal'] );
928
- $data['line_subtotal_tax'] = $this->wc_price( $item['line_subtotal_tax'] );
929
- $data['ex_price'] = $this->get_formatted_item_price ( $item, 'total', 'excl' );
930
- $data['price'] = $this->get_formatted_item_price ( $item, 'total' );
931
- $data['order_price'] = $this->order->get_formatted_line_subtotal( $item ); // formatted according to WC settings
932
-
933
- // Calculate the single price with the same rules as the formatted line subtotal (!)
934
- // = before discount
935
- $data['ex_single_price'] = $this->get_formatted_item_price ( $item, 'single', 'excl' );
936
- $data['single_price'] = $this->get_formatted_item_price ( $item, 'single' );
937
-
938
- // Pass complete item array
939
- $data['item'] = $item;
940
-
941
- // Create the product to display more info
942
- $data['product'] = null;
943
-
944
- $product = $this->order->get_product_from_item( $item );
945
-
946
- // Checking fo existance, thanks to MDesigner0
947
- if(!empty($product)) {
948
- // Thumbnail (full img tag)
949
- $data['thumbnail'] = $this->get_thumbnail ( $product );
950
-
951
- // Set the single price (turned off to use more consistent calculated price)
952
- // $data['single_price'] = woocommerce_price ( $product->get_price() );
953
-
954
- // Set item SKU
955
- $data['sku'] = $product->get_sku();
956
-
957
- // Set item weight
958
- $data['weight'] = $product->get_weight();
959
-
960
- // Set item dimensions
961
- $data['dimensions'] = WCX_Product::get_dimensions( $product );
962
-
963
- // Pass complete product object
964
- $data['product'] = $product;
965
-
966
- }
967
-
968
- // Set item meta
969
- if (function_exists('wc_display_item_meta')) { // WC3.0+
970
- $data['meta'] = wc_display_item_meta( $item, array(
971
- 'echo' => false,
972
- ) );
973
- } else {
974
- if ( version_compare( WOOCOMMERCE_VERSION, '2.4', '<' ) ) {
975
- $meta = new WC_Order_Item_Meta( $item['item_meta'], $product );
976
- } else { // pass complete item for WC2.4+
977
- $meta = new WC_Order_Item_Meta( $item, $product );
978
- }
979
- $data['meta'] = $meta->display( false, true );
980
- }
981
-
982
- $data_list[$item_id] = apply_filters( 'wpo_wcpdf_order_item_data', $data, $this->order );
983
- }
984
- }
985
-
986
- return apply_filters( 'wpo_wcpdf_order_items_data', $data_list, $this->order );
987
- }
988
-
989
- /**
990
- * Gets price - formatted for display.
991
- *
992
- * @access public
993
- * @param mixed $item
994
- * @return string
995
- */
996
- public function get_formatted_item_price ( $item, $type, $tax_display = '' ) {
997
- $item_price = 0;
998
- $divider = ($type == 'single' && $item['qty'] != 0 )?$item['qty']:1; //divide by 1 if $type is not 'single' (thus 'total')
999
-
1000
- if ( ! isset( $item['line_subtotal'] ) || ! isset( $item['line_subtotal_tax'] ) )
1001
- return;
1002
-
1003
- if ( $tax_display == 'excl' ) {
1004
- $item_price = $this->wc_price( ($this->order->get_line_subtotal( $item )) / $divider );
1005
- } else {
1006
- $item_price = $this->wc_price( ($this->order->get_line_subtotal( $item, true )) / $divider );
1007
- }
1008
-
1009
- return $item_price;
1010
- }
1011
-
1012
- /**
1013
- * wrapper for wc2.1 depricated price function
1014
- */
1015
- public function wc_price( $price, $args = array() ) {
1016
- if ( version_compare( WOOCOMMERCE_VERSION, '2.1' ) >= 0 ) {
1017
- // WC 2.1 or newer is used
1018
- $args['currency'] = WCX_Order::get_prop( $this->order, 'currency' );
1019
- $formatted_price = wc_price( $price, $args );
1020
- } else {
1021
- $formatted_price = woocommerce_price( $price );
1022
- }
1023
-
1024
- return $formatted_price;
1025
- }
1026
-
1027
- /**
1028
- * Get the tax rates/percentages for a given tax class
1029
- * @param string $tax_class tax class slug
1030
- * @return string $tax_rates imploded list of tax rates
1031
- */
1032
- public function get_tax_rate( $tax_class, $line_total, $line_tax, $line_tax_data = '' ) {
1033
- // first try the easy wc2.2+ way, using line_tax_data
1034
- if ( !empty( $line_tax_data ) && isset($line_tax_data['total']) ) {
1035
- $tax_rates = array();
1036
-
1037
- $line_taxes = $line_tax_data['subtotal'];
1038
- foreach ( $line_taxes as $tax_id => $tax ) {
1039
- if ( !empty($tax) ) {
1040
- $tax_rates[] = $this->get_tax_rate_by_id( $tax_id ) . ' %';
1041
- }
1042
- }
1043
-
1044
- $tax_rates = implode(' ,', $tax_rates );
1045
- return $tax_rates;
1046
- }
1047
-
1048
- if ( $line_tax == 0 ) {
1049
- return '-'; // no need to determine tax rate...
1050
- }
1051
-
1052
- if ( version_compare( WOOCOMMERCE_VERSION, '2.1' ) >= 0 && !apply_filters( 'wpo_wcpdf_calculate_tax_rate', false ) ) {
1053
- // WC 2.1 or newer is used
1054
-
1055
- // if (empty($tax_class))
1056
- // $tax_class = 'standard';// does not appear to work anymore - get_rates does accept an empty tax_class though!
1057
-
1058
- $tax = new WC_Tax();
1059
- $taxes = $tax->get_rates( $tax_class );
1060
-
1061
- $tax_rates = array();
1062
-
1063
- foreach ($taxes as $tax) {
1064
- $tax_rates[$tax['label']] = round( $tax['rate'], 2 ).' %';
1065
- }
1066
-
1067
- if (empty($tax_rates)) {
1068
- // one last try: manually calculate
1069
- if ( $line_total != 0) {
1070
- $tax_rates[] = round( ($line_tax / $line_total)*100, 1 ).' %';
1071
- } else {
1072
- $tax_rates[] = '-';
1073
- }
1074
- }
1075
-
1076
- $tax_rates = implode(' ,', $tax_rates );
1077
- } else {
1078
- // Backwards compatibility/fallback: calculate tax from line items
1079
- if ( $line_total != 0) {
1080
- $tax_rates = round( ($line_tax / $line_total)*100, 1 ).' %';
1081
- } else {
1082
- $tax_rates = '-';
1083
- }
1084
- }
1085
-
1086
- return $tax_rates;
1087
- }
1088
-
1089
- /**
1090
- * Returns the percentage rate (float) for a given tax rate ID.
1091
- * @param int $rate_id woocommerce tax rate id
1092
- * @return float $rate percentage rate
1093
- */
1094
- public function get_tax_rate_by_id( $rate_id ) {
1095
- global $wpdb;
1096
- $rate = $wpdb->get_var( $wpdb->prepare( "SELECT tax_rate FROM {$wpdb->prefix}woocommerce_tax_rates WHERE tax_rate_id = %d;", $rate_id ) );
1097
- return (float) $rate;
1098
- }
1099
-
1100
- /**
1101
- * Returns a an array with rate_id => tax rate data (array) of all tax rates in woocommerce
1102
- * @return array $tax_rate_ids keyed by id
1103
- */
1104
- public function get_tax_rate_ids() {
1105
- global $wpdb;
1106
- $rates = $wpdb->get_results( "SELECT * FROM {$wpdb->prefix}woocommerce_tax_rates" );
1107
-
1108
- $tax_rate_ids = array();
1109
- foreach ($rates as $rate) {
1110
- // var_dump($rate->tax_rate_id);
1111
- // die($rate);
1112
- $rate_id = $rate->tax_rate_id;
1113
- unset($rate->tax_rate_id);
1114
- $tax_rate_ids[$rate_id] = (array) $rate;
1115
- }
1116
-
1117
- return $tax_rate_ids;
1118
- }
1119
-
1120
- /**
1121
- * Get order custom field
1122
- */
1123
- public function get_order_field( $field ) {
1124
- if( isset( $this->get_order()->order_custom_fields[$field] ) ) {
1125
- return $this->get_order()->order_custom_fields[$field][0];
1126
- }
1127
- return;
1128
- }
1129
-
1130
- /**
1131
- * Returns the main product image ID
1132
- * Adapted from the WC_Product class
1133
- * (does not support thumbnail sizes)
1134
- *
1135
- * @access public
1136
- * @return string
1137
- */
1138
- public function get_thumbnail_id ( $product ) {
1139
- global $woocommerce;
1140
-
1141
- $product_id = WCX_Product::get_id( $product );
1142
-
1143
- if ( has_post_thumbnail( $product_id ) ) {
1144
- $thumbnail_id = get_post_thumbnail_id ( $product_id );
1145
- } elseif ( ( $parent_id = wp_get_post_parent_id( $product_id ) ) && has_post_thumbnail( $parent_id ) ) {
1146
- $thumbnail_id = get_post_thumbnail_id ( $parent_id );
1147
- } else {
1148
- $thumbnail_id = false;
1149
- }
1150
-
1151
- return $thumbnail_id;
1152
- }
1153
-
1154
- /**
1155
- * Returns the thumbnail image tag
1156
- *
1157
- * uses the internal WooCommerce/WP functions and extracts the image url or path
1158
- * rather than the thumbnail ID, to simplify the code and make it possible to
1159
- * filter for different thumbnail sizes
1160
- *
1161
- * @access public
1162
- * @return string
1163
- */
1164
- public function get_thumbnail ( $product ) {
1165
- // Get default WooCommerce img tag (url/http)
1166
- $size = apply_filters( 'wpo_wcpdf_thumbnail_size', 'shop_thumbnail' );
1167
- $thumbnail_img_tag_url = $product->get_image( $size, array( 'title' => '' ) );
1168
-
1169
- // Extract the url from img
1170
- preg_match('/<img(.*)src(.*)=(.*)"(.*)"/U', $thumbnail_img_tag_url, $thumbnail_url );
1171
- // remove http/https from image tag url to avoid mixed origin conflicts
1172
- $thumbnail_url = array_pop($thumbnail_url);
1173
- $contextless_thumbnail_url = str_replace(array('http://','https://'), '', $thumbnail_url );
1174
- $contextless_site_url = str_replace(array('http://','https://'), '', trailingslashit(get_site_url()));
1175
-
1176
- // convert url to path
1177
- $thumbnail_path = str_replace( $contextless_site_url, ABSPATH, $contextless_thumbnail_url);
1178
- // fallback if thumbnail file doesn't exist
1179
- if (apply_filters('wpo_wcpdf_use_path', true) && !file_exists($thumbnail_path)) {
1180
- if ($thumbnail_id = $this->get_thumbnail_id( $product ) ) {
1181
- $thumbnail_path = get_attached_file( $thumbnail_id );
1182
- }
1183
- }
1184
-
1185
- // Thumbnail (full img tag)
1186
- if (apply_filters('wpo_wcpdf_use_path', true) && file_exists($thumbnail_path)) {
1187
- // load img with server path by default
1188
- $thumbnail = sprintf('<img width="90" height="90" src="%s" class="attachment-shop_thumbnail wp-post-image">', $thumbnail_path );
1189
- } else {
1190
- // load img with http url when filtered
1191
- $thumbnail = $thumbnail_img_tag_url;
1192
- }
1193
-
1194
- // die($thumbnail);
1195
- return $thumbnail;
1196
- }
1197
-
1198
- public function add_product_bundles_classes ( $classes, $template_type, $order, $item_id = '' ) {
1199
- if ( empty($item_id) ) {
1200
- // get item id from classes (backwards compatibility fix)
1201
- $class_array = explode(' ', $classes);
1202
- foreach ($class_array as $class) {
1203
- if (is_numeric($class)) {
1204
- $item_id = $class;
1205
- break;
1206
- }
1207
- }
1208
-
1209
- // if still empty, we lost the item id somewhere :(
1210
- if (empty($item_id)) {
1211
- return $classes;
1212
- }
1213
- }
1214
-
1215
- if ( $bundled_by = WCX_Order::get_item_meta( $order, $item_id, '_bundled_by', true ) ) {
1216
- $classes = $classes . ' bundled-item';
1217
-
1218
- // check bundled item visibility
1219
- if ( $hidden = WCX_Order::get_item_meta( $order, $item_id, '_bundled_item_hidden', true ) ) {
1220
- $classes = $classes . ' hidden';
1221
- }
1222
-
1223
- return $classes;
1224
- } elseif ( $bundled_items = WCX_Order::get_item_meta( $order, $item_id, '_bundled_items', true ) ) {
1225
- return $classes . ' product-bundle';
1226
- }
1227
-
1228
- return $classes;
1229
- }
1230
-
1231
- public function add_chained_product_class ( $classes, $template_type, $order, $item_id = '' ) {
1232
- if ( empty($item_id) ) {
1233
- // get item id from classes (backwards compatibility fix)
1234
- $class_array = explode(' ', $classes);
1235
- foreach ($class_array as $class) {
1236
- if (is_numeric($class)) {
1237
- $item_id = $class;
1238
- break;
1239
- }
1240
- }
1241
-
1242
- // if still empty, we lost the item id somewhere :(
1243
- if (empty($item_id)) {
1244
- return $classes;
1245
- }
1246
- }
1247
-
1248
- if ( $chained_product_of = WCX_Order::get_item_meta( $order, $item_id, '_chained_product_of', true ) ) {
1249
- return $classes . ' chained-product';
1250
- }
1251
-
1252
- return $classes;
1253
- }
1254
-
1255
- /**
1256
- * Filter plugin strings with qTranslate-X
1257
- */
1258
- public function qtranslatex_filters() {
1259
- $use_filters = array(
1260
- 'wpo_wcpdf_shop_name' => 20,
1261
- 'wpo_wcpdf_shop_address' => 20,
1262
- 'wpo_wcpdf_footer' => 20,
1263
- 'wpo_wcpdf_order_items' => 20,
1264
- 'wpo_wcpdf_payment_method' => 20,
1265
- 'wpo_wcpdf_shipping_method' => 20,
1266
- 'wpo_wcpdf_extra_1' => 20,
1267
- 'wpo_wcpdf_extra_2' => 20,
1268
- 'wpo_wcpdf_extra_3' => 20,
1269
- );
1270
-
1271
- foreach ( $use_filters as $name => $priority ) {
1272
- add_filter( $name, 'qtranxf_useCurrentLanguageIfNotFoundUseDefaultLanguage', $priority );
1273
- }
1274
- }
1275
-
1276
- /**
1277
- * Use currency symbol font (when enabled in options)
1278
- */
1279
- public function use_currency_font ( $template_type ) {
1280
- add_filter( 'woocommerce_currency_symbol', array( $this, 'wrap_currency_symbol' ), 10, 2);
1281
- add_action( 'wpo_wcpdf_custom_styles', array($this, 'currency_symbol_font_styles' ) );
1282
- }
1283
-
1284
- public function wrap_currency_symbol( $currency_symbol, $currency ) {
1285
- $currency_symbol = sprintf( '<span class="wcpdf-currency-symbol">%s</span>', $currency_symbol );
1286
- return $currency_symbol;
1287
- }
1288
-
1289
- public function currency_symbol_font_styles () {
1290
- ?>
1291
- .wcpdf-currency-symbol { font-family: 'Currencies'; }
1292
- <?php
1293
- }
1294
-
1295
- public function enable_debug () {
1296
- error_reporting( E_ALL );
1297
- ini_set( 'display_errors', 1 );
1298
- }
1299
-
1300
- /**
1301
- * Log messages
1302
- */
1303
-
1304
- public function log( $order_id, $message ) {
1305
- $current_date_time = date("Y-m-d H:i:s");
1306
- $message = $order_id . ' ' . $current_date_time .' ' .$message ."\n";
1307
- $file = $this->tmp_path() . 'log.txt';
1308
-
1309
- file_put_contents($file, $message, FILE_APPEND);
1310
- }
1311
- }
1312
-
1313
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/class-wcpdf-frontend.php ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WPO\WC\PDF_Invoices;
3
+
4
+ use WPO\WC\PDF_Invoices\Compatibility\WC_Core as WCX;
5
+ use WPO\WC\PDF_Invoices\Compatibility\Order as WCX_Order;
6
+ use WPO\WC\PDF_Invoices\Compatibility\Product as WCX_Product;
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly
10
+ }
11
+
12
+ if ( !class_exists( '\\WPO\\WC\\PDF_Invoices\\Frontend' ) ) :
13
+
14
+ class Frontend {
15
+
16
+ function __construct() {
17
+ add_filter( 'woocommerce_my_account_my_orders_actions', array( $this, 'my_account_pdf_link' ), 10, 2 );
18
+ add_filter( 'woocommerce_api_order_response', array( $this, 'woocommerce_api_invoice_number' ), 10, 2 );
19
+ }
20
+
21
+ /**
22
+ * Display download link on My Account page
23
+ */
24
+ public function my_account_pdf_link( $actions, $order ) {
25
+ $invoice = wcpdf_get_invoice( $order );
26
+ if ( $invoice && $invoice->is_enabled() ) {
27
+ $pdf_url = wp_nonce_url( admin_url( 'admin-ajax.php?action=generate_wpo_wcpdf&document_type=invoice&order_ids=' . WCX_Order::get_id( $order ) . '&my-account'), 'generate_wpo_wcpdf' );
28
+
29
+ // check my account button settings
30
+ $button_setting = $invoice->get_setting('my_account_buttons', 'available');
31
+ switch ($button_setting) {
32
+ case 'available':
33
+ $invoice_allowed = $invoice->exists();
34
+ break;
35
+ case 'always':
36
+ $invoice_allowed = true;
37
+ break;
38
+ case 'never':
39
+ $invoice_allowed = false;
40
+ break;
41
+ case 'custom':
42
+ $allowed_statuses = $button_setting = $invoice->get_setting('my_account_restrict', array());
43
+ if ( !empty( $allowed_statuses ) && in_array( WCX_Order::get_status( $order ), array_keys( $allowed_statuses ) ) ) {
44
+ $invoice_allowed = true;
45
+ } else {
46
+ $invoice_allowed = false;
47
+ }
48
+ break;
49
+ }
50
+
51
+ // Check if invoice has been created already or if status allows download (filter your own array of allowed statuses)
52
+ if ( $invoice_allowed || in_array(WCX_Order::get_status( $order ), apply_filters( 'wpo_wcpdf_myaccount_allowed_order_statuses', array() ) ) ) {
53
+ $actions['invoice'] = array(
54
+ 'url' => $pdf_url,
55
+ 'name' => apply_filters( 'wpo_wcpdf_myaccount_button_text', __( 'Download invoice (PDF)', 'woocommerce-pdf-invoices-packing-slips' ) )
56
+ );
57
+ }
58
+ }
59
+
60
+ return apply_filters( 'wpo_wcpdf_myaccount_actions', $actions, $order );
61
+ }
62
+
63
+ /**
64
+ * Add invoice number to WC REST API
65
+ */
66
+ public function woocommerce_api_invoice_number ( $data, $order ) {
67
+ $data['wpo_wcpdf_invoice_number'] = '';
68
+ if ( $invoice = wcpdf_get_invoice( $order ) ) {
69
+ $invoice_number = $invoice->get_number();
70
+ if ( !empty( $invoice_number ) ) {
71
+ $data['wpo_wcpdf_invoice_number'] = $invoice_number->get_formatted();
72
+ }
73
+ }
74
+
75
+ return $data;
76
+ }
77
+
78
+ }
79
+
80
+ endif; // class_exists
81
+
82
+ return new Frontend();
includes/class-wcpdf-functions.php DELETED
@@ -1,825 +0,0 @@
1
- <?php
2
- use WPO\WC\PDF_Invoices\Compatibility\WC_Core as WCX;
3
- use WPO\WC\PDF_Invoices\Compatibility\Order as WCX_Order;
4
- use WPO\WC\PDF_Invoices\Compatibility\Product as WCX_Product;
5
-
6
- defined( 'ABSPATH' ) or exit;
7
-
8
- if ( ! class_exists( 'WooCommerce_PDF_Invoices_Functions' ) ) :
9
-
10
- class WooCommerce_PDF_Invoices_Functions {
11
-
12
- /**
13
- * Get template name from slug
14
- */
15
- public function get_template_name ( $template_type ) {
16
- switch ( $template_type ) {
17
- case 'invoice':
18
- $template_name = apply_filters( 'wpo_wcpdf_invoice_title', __( 'Invoice', 'wpo_wcpdf' ) );
19
- break;
20
- case 'packing-slip':
21
- $template_name = apply_filters( 'wpo_wcpdf_packing_slip_title', __( 'Packing Slip', 'wpo_wcpdf' ) );
22
- break;
23
- default:
24
- // try to 'unslug' the name
25
- $template_name = ucwords( str_replace( array( '_', '-' ), ' ', $template_type ) );
26
- break;
27
- }
28
-
29
- return apply_filters( 'wpo_wcpdf_template_name', $template_name, $template_type );
30
- }
31
-
32
- /**
33
- * Output template styles
34
- */
35
- public function template_styles() {
36
- $css = apply_filters( 'wpo_wcpdf_template_styles_file', WPO_WCPDF()->export->template_path. '/' .'style.css' );
37
-
38
- ob_start();
39
- if (file_exists($css)) {
40
- include($css);
41
- }
42
- $html = ob_get_clean();
43
- $html = apply_filters( 'wpo_wcpdf_template_styles', $html );
44
-
45
- echo $html;
46
- }
47
-
48
- /**
49
- * Return logo id
50
- */
51
- public function get_header_logo_id() {
52
- if (isset(WPO_WCPDF()->settings->template_settings['header_logo'])) {
53
- return apply_filters( 'wpo_wcpdf_header_logo_id', WPO_WCPDF()->settings->template_settings['header_logo'] );
54
- }
55
- }
56
-
57
- /**
58
- * Show logo html
59
- */
60
- public function header_logo() {
61
- if ($this->get_header_logo_id()) {
62
- $attachment_id = $this->get_header_logo_id();
63
- $company = isset(WPO_WCPDF()->settings->template_settings['shop_name'])? WPO_WCPDF()->settings->template_settings['shop_name'] : '';
64
- if( $attachment_id ) {
65
- $attachment = wp_get_attachment_image_src( $attachment_id, 'full', false );
66
-
67
- $attachment_src = $attachment[0];
68
- $attachment_width = $attachment[1];
69
- $attachment_height = $attachment[2];
70
-
71
- $attachment_path = get_attached_file( $attachment_id );
72
-
73
- if ( apply_filters('wpo_wcpdf_use_path', true) && file_exists($attachment_path) ) {
74
- $src = $attachment_path;
75
- } else {
76
- $src = $attachment_src;
77
- }
78
-
79
- printf('<img src="%1$s" width="%2$d" height="%3$d" alt="%4$s" />', $src, $attachment_width, $attachment_height, esc_attr( $company ) );
80
- }
81
- }
82
- }
83
-
84
- /**
85
- * Return/Show custom company name or default to blog name
86
- */
87
- public function get_shop_name() {
88
- if (!empty(WPO_WCPDF()->settings->template_settings['shop_name'])) {
89
- $name = trim( WPO_WCPDF()->settings->template_settings['shop_name'] );
90
- return apply_filters( 'wpo_wcpdf_shop_name', wptexturize( $name ) );
91
- } else {
92
- return apply_filters( 'wpo_wcpdf_shop_name', get_bloginfo( 'name' ) );
93
- }
94
- }
95
- public function shop_name() {
96
- echo $this->get_shop_name();
97
- }
98
-
99
- /**
100
- * Return/Show shop/company address if provided
101
- */
102
- public function get_shop_address() {
103
- $shop_address = apply_filters( 'wpo_wcpdf_shop_address', wpautop( wptexturize( WPO_WCPDF()->settings->template_settings['shop_address'] ) ) );
104
- if (!empty($shop_address)) {
105
- return $shop_address;
106
- } else {
107
- return false;
108
- }
109
- }
110
- public function shop_address() {
111
- echo $this->get_shop_address();
112
- }
113
-
114
- /**
115
- * Check if billing address and shipping address are equal
116
- */
117
- public function ships_to_different_address() {
118
- $order = &WPO_WCPDF()->export->order;
119
- $order_id = WCX_Order::get_id( $order );
120
- // always prefer parent address for refunds
121
- if ( get_post_type( $order_id ) == 'shop_order_refund' && $parent_order_id = wp_get_post_parent_id( $order_id ) ) {
122
- $current_order = $order;
123
- $order = WCX::get_order( $parent_order_id );
124
- }
125
-
126
- $address_comparison_fields = apply_filters( 'wpo_wcpdf_address_comparison_fields', array(
127
- 'first_name',
128
- 'last_name',
129
- 'company',
130
- 'address_1',
131
- 'address_2',
132
- 'city',
133
- 'state',
134
- 'postcode',
135
- 'country'
136
- ) );
137
-
138
- foreach ($address_comparison_fields as $address_field) {
139
- $billing_field = WCX_Order::get_prop( $order, "billing_{$address_field}", 'view');
140
- $shipping_field = WCX_Order::get_prop( $order, "shipping_{$address_field}", 'view');
141
- if ( $shipping_field != $billing_field ) {
142
- // this address field is different -> ships to different address!
143
- $order = isset($current_order) ? $current_order : $order; // reset back to refund if necessery
144
- return true;
145
- }
146
- }
147
-
148
- //if we got here, it means the addresses are equal -> doesn't ship to different address!
149
- $order = isset($current_order) ? $current_order : $order; // reset back to refund if necessery
150
- return apply_filters( 'wpo_wcpdf_ships_to_different_address', false, $order );
151
- }
152
-
153
- /**
154
- * Return/Show billing address
155
- */
156
- public function get_billing_address() {
157
- $order_id = WCX_Order::get_id( WPO_WCPDF()->export->order );
158
- // always prefer parent billing address for refunds
159
- if ( get_post_type( $order_id ) == 'shop_order_refund' && $parent_order_id = wp_get_post_parent_id( $order_id ) ) {
160
- // temporarily switch order to make all filters / order calls work correctly
161
- $current_order = WPO_WCPDF()->export->order;
162
- WPO_WCPDF()->export->order = WCX::get_order( $parent_order_id );
163
- $address = apply_filters( 'wpo_wcpdf_billing_address', WPO_WCPDF()->export->order->get_formatted_billing_address() );
164
- // switch back & unset
165
- WPO_WCPDF()->export->order = $current_order;
166
- unset($current_order);
167
- } elseif ( $address = WPO_WCPDF()->export->order->get_formatted_billing_address() ) {
168
- // regular shop_order
169
- $address = apply_filters( 'wpo_wcpdf_billing_address', $address );
170
- } else {
171
- // no address
172
- $address = apply_filters( 'wpo_wcpdf_billing_address', __('N/A', 'wpo_wcpdf') );
173
- }
174
-
175
- return $address;
176
- }
177
- public function billing_address() {
178
- echo $this->get_billing_address();
179
- }
180
-
181
- /**
182
- * Return/Show billing email
183
- */
184
- public function get_billing_email() {
185
- $billing_email = WCX_Order::get_prop( WPO_WCPDF()->export->order, 'billing_email', 'view' );
186
-
187
- if ( !$billing_email && $parent_order_id = wp_get_post_parent_id( WCX_Order::get_id( WPO_WCPDF()->export->order ) ) ) {
188
- // try parent
189
- $parent_order = WCX::get_order( $parent_order_id );
190
- $billing_email = WCX_Order::get_prop( $parent_order, 'billing_email', 'view' );
191
- }
192
-
193
- return apply_filters( 'wpo_wcpdf_billing_email', $billing_email );
194
- }
195
- public function billing_email() {
196
- echo $this->get_billing_email();
197
- }
198
-
199
- /**
200
- * Return/Show billing phone
201
- */
202
- public function get_billing_phone() {
203
- $billing_phone = WCX_Order::get_prop( WPO_WCPDF()->export->order, 'billing_phone', 'view' );
204
-
205
- if ( !$billing_phone && $parent_order_id = wp_get_post_parent_id( WCX_Order::get_id( WPO_WCPDF()->export->order ) ) ) {
206
- // try parent
207
- $parent_order = WCX::get_order( $parent_order_id );
208
- $billing_phone = WCX_Order::get_prop( $parent_order, 'billing_phone', 'view' );
209
- }
210
-
211
- return apply_filters( 'wpo_wcpdf_billing_phone', $billing_phone );
212
- }
213
- public function billing_phone() {
214
- echo $this->get_billing_phone();
215
- }
216
-
217
- /**
218
- * Return/Show shipping address
219
- */
220
- public function get_shipping_address() {
221
- $order_id = WCX_Order::get_id( WPO_WCPDF()->export->order );
222
-
223
- // always prefer parent shipping address for refunds
224
- if ( get_post_type( $order_id ) == 'shop_order_refund' && $parent_order_id = wp_get_post_parent_id( $order_id ) ) {
225
- // temporarily switch order to make all filters / order calls work correctly
226
- $current_order = WPO_WCPDF()->export->order;
227
- WPO_WCPDF()->export->order = WCX::get_order( $parent_order_id );
228
- $address = apply_filters( 'wpo_wcpdf_shipping_address', WPO_WCPDF()->export->order->get_formatted_shipping_address() );
229
- // switch back & unset
230
- WPO_WCPDF()->export->order = $current_order;
231
- unset($current_order);
232
- } elseif ( $address = WPO_WCPDF()->export->order->get_formatted_shipping_address() ) {
233
- // regular shop_order
234
- $address = apply_filters( 'wpo_wcpdf_shipping_address', $address );
235
- } else {
236
- // no address
237
- $address = apply_filters( 'wpo_wcpdf_shipping_address', __('N/A', 'wpo_wcpdf') );
238
- }
239
-
240
- return $address;
241
- }
242
- public function shipping_address() {
243
- echo $this->get_shipping_address();
244
- }
245
-
246
- /**
247
- * Return/Show a custom field
248
- */
249
- public function get_custom_field( $field_name ) {
250
- $custom_field = WCX_Order::get_meta( WPO_WCPDF()->export->order, $field_name, true );
251
-
252
- if ( !$custom_field && $parent_order_id = wp_get_post_parent_id( WCX_Order::get_id( WPO_WCPDF()->export->order ) ) ) {
253
- // try parent
254
- $parent_order = WCX::get_order( $parent_order_id );
255
- $custom_field = WCX_Order::get_meta( $parent_order, $field_name, true );
256
- }
257
-
258
- return apply_filters( 'wpo_wcpdf_billing_custom_field', $custom_field );
259
- }
260
- public function custom_field( $field_name, $field_label = '', $display_empty = false ) {
261
- $custom_field = $this->get_custom_field( $field_name );
262
- if (!empty($field_label)){
263
- // add a a trailing space to the label
264
- $field_label .= ' ';
265
- }
266
-
267
- if (!empty($custom_field) || $display_empty) {
268
- echo $field_label . nl2br ($custom_field);
269
- }
270
- }
271
-
272
- /**
273
- * Return/Show order notes
274
- */
275
- public function get_order_notes( $filter = 'customer' ) {
276
- $order_id = WCX_Order::get_id( WPO_WCPDF()->export->order );
277
- if ( get_post_type( $order_id ) == 'shop_order_refund' && $parent_order_id = wp_get_post_parent_id( $order_id ) ) {
278
- $post_id = $parent_order_id;
279
- } else {
280
- $post_id = $order_id;
281
- }
282
-
283
- $args = array(
284
- 'post_id' => $post_id,
285
- 'approve' => 'approve',
286
- 'type' => 'order_note'
287
- );
288
-
289
- remove_filter( 'comments_clauses', array( 'WC_Comments', 'exclude_order_comments' ), 10, 1 );
290
-
291
- $notes = get_comments( $args );
292
-
293
- add_filter( 'comments_clauses', array( 'WC_Comments', 'exclude_order_comments' ), 10, 1 );
294
-
295
- if ( $notes ) {
296
- foreach( $notes as $key => $note ) {
297
- if ( $filter == 'customer' && !get_comment_meta( $note->comment_ID, 'is_customer_note', true ) ) {
298
- unset($notes[$key]);
299
- }
300
- if ( $filter == 'private' && get_comment_meta( $note->comment_ID, 'is_customer_note', true ) ) {
301
- unset($notes[$key]);
302
- }
303
- }
304
- return $notes;
305
- }
306
- }
307
- public function order_notes( $filter = 'customer' ) {
308
- $notes = $this->get_order_notes( $filter );
309
- if ( $notes ) {
310
- foreach( $notes as $note ) {
311
- ?>
312
- <div class="note_content">
313
- <?php echo wpautop( wptexturize( wp_kses_post( $note->comment_content ) ) ); ?>
314
- </div>
315
- <?php
316
- }
317
- }
318
- }
319
-
320
- /**
321
- * Return/Show the current date
322
- */
323
- public function get_current_date() {
324
- return apply_filters( 'wpo_wcpdf_date', date_i18n( get_option( 'date_format' ) ) );
325
- }
326
- public function current_date() {
327
- echo $this->get_current_date();
328
- }
329
-
330
- /**
331
- * Return/Show payment method
332
- */
333
- public function get_payment_method() {
334
- $order_id = WCX_Order::get_id( WPO_WCPDF()->export->order );
335
- $payment_method_label = __( 'Payment method', 'wpo_wcpdf' );
336
-
337
- // use parent for credit notes
338
- if ( get_post_type( $order_id ) == 'shop_order_refund' && $parent_order_id = wp_get_post_parent_id( $order_id ) ) {
339
- $parent_order = WCX::get_order( $parent_order_id );
340
- $payment_method_title = WCX_Order::get_prop( $parent_order, 'payment_method_title', 'view' );
341
- $payment_method = __( $payment_method_title, 'woocommerce' );
342
- } else {
343
- $payment_method_title = WCX_Order::get_prop( WPO_WCPDF()->export->order, 'payment_method_title', 'view' );
344
- }
345
-
346
- $payment_method = __( $payment_method_title, 'woocommerce' );
347
-
348
- return apply_filters( 'wpo_wcpdf_payment_method', $payment_method );
349
- }
350
- public function payment_method() {
351
- echo $this->get_payment_method();
352
- }
353
-
354
- /**
355
- * Return/Show shipping method
356
- */
357
- public function get_shipping_method() {
358
- $shipping_method_label = __( 'Shipping method', 'wpo_wcpdf' );
359
- return apply_filters( 'wpo_wcpdf_shipping_method', __( WPO_WCPDF()->export->order->get_shipping_method(), 'woocommerce' ) );
360
- }
361
- public function shipping_method() {
362
- echo $this->get_shipping_method();
363
- }
364
-
365
- /**
366
- * Return/Show order number
367
- */
368
- public function get_order_number() {
369
- $order_id = WCX_Order::get_id( WPO_WCPDF()->export->order );
370
- // try parent first
371
- if ( get_post_type( $order_id ) == 'shop_order_refund' && $parent_order_id = wp_get_post_parent_id( $order_id ) ) {
372
- $parent_order = WCX::get_order( $parent_order_id );
373
- $order_number = $parent_order->get_order_number();
374
- } else {
375
- $order_number = WPO_WCPDF()->export->order->get_order_number();
376
- }
377
-
378
- // Trim the hash to have a clean number but still
379
- // support any filters that were applied before.
380
- $order_number = ltrim($order_number, '#');
381
- return apply_filters( 'wpo_wcpdf_order_number', $order_number);
382
- }
383
- public function order_number() {
384
- echo $this->get_order_number();
385
- }
386
-
387
- /**
388
- * Return/Show invoice number
389
- */
390
- public function get_invoice_number() {
391
- $order_id = WCX_Order::get_id( WPO_WCPDF()->export->order );
392
- // try parent first
393
- if ( get_post_type( $order_id ) == 'shop_order_refund' && $parent_order_id = wp_get_post_parent_id( $order_id ) ) {
394
- $invoice_number = WPO_WCPDF()->export->get_invoice_number( $parent_order_id );
395
- } else {
396
- $invoice_number = WPO_WCPDF()->export->get_invoice_number( $order_id );
397
- }
398
-
399
- return $invoice_number;
400
- }
401
- public function invoice_number() {
402
- echo $this->get_invoice_number();
403
- }
404
-
405
- /**
406
- * Return/Show the order date
407
- */
408
- public function get_order_date() {
409
- $order_id = WCX_Order::get_id( WPO_WCPDF()->export->order );
410
- // try parent first
411
- if ( get_post_type( $order_id ) == 'shop_order_refund' && $parent_order_id = wp_get_post_parent_id( $order_id ) ) {
412
- $parent_order = WCX::get_order( $parent_order_id );
413
- $order_date = WCX_Order::get_prop( $parent_order, 'date_created' );
414
- } else {
415
- $order_date = WCX_Order::get_prop( WPO_WCPDF()->export->order, 'date_created' );
416
- }
417
-
418
- $date = $order_date->date_i18n( get_option( 'date_format' ) );
419
- $mysql_date = $order_date->date( "Y-m-d H:i:s" );
420
- return apply_filters( 'wpo_wcpdf_order_date', $date, $mysql_date );
421
- }
422
- public function order_date() {
423
- echo $this->get_order_date();
424
- }
425
-
426
- /**
427
- * Return/Show the invoice date
428
- */
429
- public function get_invoice_date() {
430
- $order_id = WCX_Order::get_id( WPO_WCPDF()->export->order );
431
- $invoice_date = WPO_WCPDF()->export->get_invoice_date( $order_id );
432
- return $invoice_date;
433
- }
434
- public function invoice_date() {
435
- echo $this->get_invoice_date();
436
- }
437
-
438
- /**
439
- * Return the order items
440
- */
441
- public function get_order_items() {
442
- return apply_filters( 'wpo_wcpdf_order_items', WPO_WCPDF()->export->get_order_items() );
443
- }
444
-
445
- /**
446
- * Return/show product attribute
447
- */
448
- public function get_product_attribute( $attribute_name, $product ) {
449
- // first, check the text attributes
450
- $attributes = $product->get_attributes();
451
- $attribute_key = @wc_attribute_taxonomy_name( $attribute_name );
452
- if (array_key_exists( sanitize_title( $attribute_name ), $attributes) ) {
453
- $attribute = $product->get_attribute ( $attribute_name );
454
- return $attribute;
455
- } elseif (array_key_exists( sanitize_title( $attribute_key ), $attributes) ) {
456
- $attribute = $product->get_attribute ( $attribute_key );
457
- return $attribute;
458
- }
459
-
460
- // not a text attribute, try attribute taxonomy
461
- $attribute_key = @wc_attribute_taxonomy_name( $attribute_name );
462
- $product_id = WCX_Product::get_prop($product, 'id');
463
- $product_terms = @wc_get_product_terms( $product_id, $attribute_key, array( 'fields' => 'names' ) );
464
- // check if not empty, then display
465
- if ( !empty($product_terms) ) {
466
- $attribute = array_shift( $product_terms );
467
- return $attribute;
468
- } else {
469
- // no attribute under this name
470
- return false;
471
- }
472
- }
473
- public function product_attribute( $attribute_name, $product ) {
474
- echo $this->get_product_attribute( $attribute_name, $product );
475
- }
476
-
477
-
478
- /**
479
- * Return the order totals listing
480
- */
481
- public function get_woocommerce_totals() {
482
- // get totals and remove the semicolon
483
- $totals = apply_filters( 'wpo_wcpdf_raw_order_totals', WPO_WCPDF()->export->order->get_order_item_totals(), WPO_WCPDF()->export->order );
484
-
485
- // remove the colon for every label
486
- foreach ( $totals as $key => $total ) {
487
- $label = $total['label'];
488
- $colon = strrpos( $label, ':' );
489
- if( $colon !== false ) {
490
- $label = substr_replace( $label, '', $colon, 1 );
491
- }
492
- $totals[$key]['label'] = $label;
493
- }
494
-
495
- $order_id = WCX_Order::get_id( WPO_WCPDF()->export->order );
496
- if ( get_post_type( $order_id ) != 'shop_order_refund' ) {
497
- // WC2.4 fix order_total for refunded orders
498
- if ( version_compare( WOOCOMMERCE_VERSION, '2.4', '>=' ) && isset($totals['order_total']) ) {
499
- if ( version_compare( WOOCOMMERCE_VERSION, '3.0', '>=' ) ) {
500
- $tax_display = get_option( 'woocommerce_tax_display_cart' );
501
- } else {
502
- $tax_display = WCX_Order::get_prop( WPO_WCPDF()->export->order, 'tax_display_cart' );
503
- }
504
-
505
- $totals['order_total']['value'] = wc_price( WPO_WCPDF()->export->order->get_total(), array( 'currency' => WCX_Order::get_prop( WPO_WCPDF()->export->order, 'currency' ) ) );
506
- $order_total = WPO_WCPDF()->export->order->get_total();
507
- $tax_string = '';
508
-
509
- // Tax for inclusive prices
510
- if ( wc_tax_enabled() && 'incl' == $tax_display ) {
511
- $tax_string_array = array();
512
- if ( 'itemized' == get_option( 'woocommerce_tax_total_display' ) ) {
513
- foreach ( WPO_WCPDF()->export->order->get_tax_totals() as $code => $tax ) {
514
- $tax_amount = $tax->formatted_amount;
515
- $tax_string_array[] = sprintf( '%s %s', $tax_amount, $tax->label );
516
- }
517
- } else {
518
- $tax_string_array[] = sprintf( '%s %s', wc_price( WPO_WCPDF()->export->order->get_total_tax() - WPO_WCPDF()->export->order->get_total_tax_refunded(), array( 'currency' => WPO_WCPDF()->export->order->get_order_currency() ) ), WC()->countries->tax_or_vat() );
519
- }
520
- if ( ! empty( $tax_string_array ) ) {
521
- if ( version_compare( WOOCOMMERCE_VERSION, '2.6', '>=' ) ) {
522
- $tax_string = ' ' . sprintf( __( '(includes %s)', 'woocommerce' ), implode( ', ', $tax_string_array ) );
523
- } else {
524
- // use old capitalized string
525
- $tax_string = ' ' . sprintf( __( '(Includes %s)', 'woocommerce' ), implode( ', ', $tax_string_array ) );
526
- }
527
- }
528
- }
529
-
530
- $totals['order_total']['value'] .= $tax_string;
531
- }
532
-
533
- // remove refund lines (shouldn't be in invoice)
534
- foreach ( $totals as $key => $total ) {
535
- if ( strpos($key, 'refund_') !== false ) {
536
- unset( $totals[$key] );
537
- }
538
- }
539
-
540
- }
541
-
542
- return apply_filters( 'wpo_wcpdf_woocommerce_totals', $totals, WPO_WCPDF()->export->order );
543
- }
544
-
545
- /**
546
- * Return/show the order subtotal
547
- */
548
- public function get_order_subtotal( $tax = 'excl', $discount = 'incl' ) { // set $tax to 'incl' to include tax, same for $discount
549
- //$compound = ($discount == 'incl')?true:false;
550
- $subtotal = WPO_WCPDF()->export->order->get_subtotal_to_display( false, $tax );
551
-
552
- $subtotal = ($pos = strpos($subtotal, ' <small')) ? substr($subtotal, 0, $pos) : $subtotal; //removing the 'excluding tax' text
553
-
554
- $subtotal = array (
555
- 'label' => __('Subtotal', 'wpo_wcpdf'),
556
- 'value' => $subtotal,
557
- );
558
-
559
- return apply_filters( 'wpo_wcpdf_order_subtotal', $subtotal, $tax, $discount );
560
- }
561
- public function order_subtotal( $tax = 'excl', $discount = 'incl' ) {
562
- $subtotal = $this->get_order_subtotal( $tax, $discount );
563
- echo $subtotal['value'];
564
- }
565
-
566
- /**
567
- * Return/show the order shipping costs
568
- */
569
- public function get_order_shipping( $tax = 'excl' ) { // set $tax to 'incl' to include tax
570
- $shipping_cost = WCX_Order::get_prop( WPO_WCPDF()->export->order, 'shipping_total', 'view' );
571
- $shipping_tax = WCX_Order::get_prop( WPO_WCPDF()->export->order, 'shipping_tax', 'view' );
572
-
573
- if ($tax == 'excl' ) {
574
- $formatted_shipping_cost = WPO_WCPDF()->export->wc_price( $shipping_cost );
575
- } else {
576
- $formatted_shipping_cost = WPO_WCPDF()->export->wc_price( $shipping_cost + $shipping_tax );
577
- }
578
-
579
- $shipping = array (
580
- 'label' => __('Shipping', 'wpo_wcpdf'),
581
- 'value' => $formatted_shipping_cost,
582
- 'tax' => WPO_WCPDF()->export->wc_price( $shipping_tax ),
583
- );
584
- return apply_filters( 'wpo_wcpdf_order_shipping', $shipping, $tax );
585
- }
586
- public function order_shipping( $tax = 'excl' ) {
587
- $shipping = $this->get_order_shipping( $tax );
588
- echo $shipping['value'];
589
- }
590
-
591
- /**
592
- * Return/show the total discount
593
- */
594
- public function get_order_discount( $type = 'total', $tax = 'incl' ) {
595
- if ( $tax == 'incl' ) {
596
- switch ($type) {
597
- case 'cart':
598
- // Cart Discount - pre-tax discounts. (deprecated in WC2.3)
599
- $discount_value = WPO_WCPDF()->export->order->get_cart_discount();
600
- break;
601
- case 'order':
602
- // Order Discount - post-tax discounts. (deprecated in WC2.3)
603
- $discount_value = WPO_WCPDF()->export->order->get_order_discount();
604
- break;
605
- case 'total':
606
- // Total Discount
607
- if ( version_compare( WOOCOMMERCE_VERSION, '2.3' ) >= 0 ) {
608
- $discount_value = WPO_WCPDF()->export->order->get_total_discount( false ); // $ex_tax = false
609
- } else {
610
- // WC2.2 and older: recalculate to include tax
611
- $discount_value = 0;
612
- $items = WPO_WCPDF()->export->order->get_items();;
613
- if( sizeof( $items ) > 0 ) {
614
- foreach( $items as $item ) {
615
- $discount_value += ($item['line_subtotal'] + $item['line_subtotal_tax']) - ($item['line_total'] + $item['line_tax']);
616
- }
617
- }
618
- }
619
-
620
- break;
621
- default:
622
- // Total Discount - Cart & Order Discounts combined
623
- $discount_value = WPO_WCPDF()->export->order->get_total_discount();
624
- break;
625
- }
626
- } else { // calculate discount excluding tax
627
- if ( version_compare( WOOCOMMERCE_VERSION, '2.3' ) >= 0 ) {
628
- $discount_value = WPO_WCPDF()->export->order->get_total_discount( true ); // $ex_tax = true
629
- } else {
630
- // WC2.2 and older: recalculate to exclude tax
631
- $discount_value = 0;
632
-
633
- $items = WPO_WCPDF()->export->order->get_items();;
634
- if( sizeof( $items ) > 0 ) {
635
- foreach( $items as $item ) {
636
- $discount_value += ($item['line_subtotal'] - $item['line_total']);
637
- }
638
- }
639
- }
640
- }
641
-
642
- $discount = array (
643
- 'label' => __('Discount', 'wpo_wcpdf'),
644
- 'value' => WPO_WCPDF()->export->wc_price($discount_value),
645
- 'raw_value' => $discount_value,
646
- );
647
-
648
- if ( round( $discount_value, 3 ) != 0 ) {
649
- return apply_filters( 'wpo_wcpdf_order_discount', $discount, $type, $tax );
650
- }
651
- }
652
- public function order_discount( $type = 'total', $tax = 'incl' ) {
653
- $discount = $this->get_order_discount( $type, $tax );
654
- echo $discount['value'];
655
- }
656
-
657
- /**
658
- * Return the order fees
659
- */
660
- public function get_order_fees( $tax = 'excl' ) {
661
- if ( $wcfees = WPO_WCPDF()->export->order->get_fees() ) {
662
- foreach( $wcfees as $id => $fee ) {
663
- if ($tax == 'excl' ) {
664
- $fee_price = WPO_WCPDF()->export->wc_price( $fee['line_total'] );
665
- } else {
666
- $fee_price = WPO_WCPDF()->export->wc_price( $fee['line_total'] + $fee['line_tax'] );
667
- }
668
-
669
- $fees[ $id ] = array(
670
- 'label' => $fee['name'],
671
- 'value' => $fee_price,
672
- 'line_total' => WPO_WCPDF()->export->wc_price($fee['line_total']),
673
- 'line_tax' => WPO_WCPDF()->export->wc_price($fee['line_tax'])
674
- );
675
- }
676
- return $fees;
677
- }
678
- }
679
-
680
- /**
681
- * Return the order taxes
682
- */
683
- public function get_order_taxes() {
684
- $tax_label = __( 'VAT', 'wpo_wcpdf' ); // register alternate label translation
685
- $tax_label = __( 'Tax rate', 'wpo_wcpdf' );
686
- $tax_rate_ids = WPO_WCPDF()->export->get_tax_rate_ids();
687
- if (WPO_WCPDF()->export->order->get_taxes()) {
688
- foreach ( WPO_WCPDF()->export->order->get_taxes() as $key => $tax ) {
689
- if ( WCX::is_wc_version_gte_3_0() ) {
690
- $taxes[ $key ] = array(
691
- 'label' => $tax->get_label(),
692
- 'value' => WPO_WCPDF()->export->wc_price( $tax->get_tax_total() + $tax->get_shipping_tax_total() ),
693
- 'rate_id' => $tax->get_rate_id(),
694
- 'tax_amount' => $tax->get_tax_total(),
695
- 'shipping_tax_amount' => $tax->get_shipping_tax_total(),
696
- 'rate' => isset( $tax_rate_ids[ $tax->get_rate_id() ] ) ? ( (float) $tax_rate_ids[$tax->get_rate_id()]['tax_rate'] ) . ' %': '',
697
- );
698
- } else {
699
- $taxes[ $key ] = array(
700
- 'label' => isset( $tax[ 'label' ] ) ? $tax[ 'label' ] : $tax[ 'name' ],
701
- 'value' => WPO_WCPDF()->export->wc_price( ( $tax[ 'tax_amount' ] + $tax[ 'shipping_tax_amount' ] ) ),
702
- 'rate_id' => $tax['rate_id'],
703
- 'tax_amount' => $tax['tax_amount'],
704
- 'shipping_tax_amount' => $tax['shipping_tax_amount'],
705
- 'rate' => isset( $tax_rate_ids[ $tax['rate_id'] ] ) ? ( (float) $tax_rate_ids[$tax['rate_id']]['tax_rate'] ) . ' %': '',
706
- );
707
- }
708
-
709
- }
710
-
711
- return apply_filters( 'wpo_wcpdf_order_taxes', $taxes );
712
- }
713
- }
714
-
715
- /**
716
- * Return/show the order grand total
717
- */
718
- public function get_order_grand_total( $tax = 'incl' ) {
719
- if ( version_compare( WOOCOMMERCE_VERSION, '2.1' ) >= 0 ) {
720
- // WC 2.1 or newer is used
721
- $total_unformatted = WPO_WCPDF()->export->order->get_total();
722
- } else {
723
- // Backwards compatibility
724
- $total_unformatted = WPO_WCPDF()->export->order->get_order_total();
725
- }
726
-
727
- if ($tax == 'excl' ) {
728
- $total = WPO_WCPDF()->export->wc_price( $total_unformatted - WPO_WCPDF()->export->order->get_total_tax() );
729
- $label = __( 'Total ex. VAT', 'wpo_wcpdf' );
730
- } else {
731
- $total = WPO_WCPDF()->export->wc_price( ( $total_unformatted ) );
732
- $label = __( 'Total', 'wpo_wcpdf' );
733
- }
734
-
735
- $grand_total = array(
736
- 'label' => $label,
737
- 'value' => $total,
738
- );
739
-
740
- return apply_filters( 'wpo_wcpdf_order_grand_total', $grand_total, $tax );
741
- }
742
- public function order_grand_total( $tax = 'incl' ) {
743
- $grand_total = $this->get_order_grand_total( $tax );
744
- echo $grand_total['value'];
745
- }
746
-
747
-
748
- /**
749
- * Return/Show shipping notes
750
- */
751
- public function get_shipping_notes() {
752
- $order_id = WCX_Order::get_id( WPO_WCPDF()->export->order );
753
- if ( get_post_type( $order_id ) == 'shop_order_refund' ) {
754
- // return reason for refund if order is a refund
755
- if ( version_compare( WOOCOMMERCE_VERSION, '3.0', '>=' ) ) {
756
- $shipping_notes = WPO_WCPDF()->export->order->get_reason();
757
- } elseif ( method_exists(WPO_WCPDF()->export->order, 'get_refund_reason') ) {
758
- $shipping_notes = WPO_WCPDF()->export->order->get_refund_reason();
759
- } else {
760
- $shipping_notes = wpautop( wptexturize( WCX_Order::get_prop( WPO_WCPDF()->export->order, 'customer_note', 'view' ) ) );
761
- }
762
- } else {
763
- $shipping_notes = wpautop( wptexturize( WCX_Order::get_prop( WPO_WCPDF()->export->order, 'customer_note', 'view' ) ) );
764
- }
765
- return apply_filters( 'wpo_wcpdf_shipping_notes', $shipping_notes );
766
- }
767
- public function shipping_notes() {
768
- echo $this->get_shipping_notes();
769
- }
770
-
771
-
772
- /**
773
- * Return/Show shop/company footer imprint, copyright etc.
774
- */
775
- public function get_footer() {
776
- if (isset(WPO_WCPDF()->settings->template_settings['footer'])) {
777
- $footer = wpautop( wptexturize( WPO_WCPDF()->settings->template_settings[ 'footer' ] ) );
778
- return apply_filters( 'wpo_wcpdf_footer', $footer );
779
- }
780
- }
781
- public function footer() {
782
- echo $this->get_footer();
783
- }
784
-
785
- /**
786
- * Return/Show Extra field 1
787
- */
788
- public function get_extra_1() {
789
- if (isset(WPO_WCPDF()->settings->template_settings['extra_1'])) {
790
- $extra_1 = nl2br( wptexturize( WPO_WCPDF()->settings->template_settings[ 'extra_1' ] ) );
791
- return apply_filters( 'wpo_wcpdf_extra_1', $extra_1 );
792
- }
793
- }
794
- public function extra_1() {
795
- echo $this->get_extra_1();
796
- }
797
-
798
- /**
799
- * Return/Show Extra field 2
800
- */
801
- public function get_extra_2() {
802
- if (isset(WPO_WCPDF()->settings->template_settings['extra_2'])) {
803
- $extra_2 = nl2br( wptexturize( WPO_WCPDF()->settings->template_settings[ 'extra_2' ] ) );
804
- return apply_filters( 'wpo_wcpdf_extra_2', $extra_2 );
805
- }
806
- }
807
- public function extra_2() {
808
- echo $this->get_extra_2();
809
- }
810
-
811
- /**
812
- * Return/Show Extra field 3
813
- */
814
- public function get_extra_3() {
815
- if (isset(WPO_WCPDF()->settings->template_settings['extra_3'])) {
816
- $extra_3 = nl2br( wptexturize( WPO_WCPDF()->settings->template_settings[ 'extra_3' ] ) );
817
- return apply_filters( 'wpo_wcpdf_extra_3', $extra_3 );
818
- }
819
- }
820
- public function extra_3() {
821
- echo $this->get_extra_3();
822
- }
823
- }
824
-
825
- endif; // class_exists
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/class-wcpdf-main.php ADDED
@@ -0,0 +1,356 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WPO\WC\PDF_Invoices;
3
+
4
+ use WPO\WC\PDF_Invoices\Compatibility\WC_Core as WCX;
5
+ use WPO\WC\PDF_Invoices\Compatibility\Order as WCX_Order;
6
+ use WPO\WC\PDF_Invoices\Compatibility\Product as WCX_Product;
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly
10
+ }
11
+
12
+ if ( !class_exists( '\\WPO\\WC\\PDF_Invoices\\Main' ) ) :
13
+
14
+ class Main {
15
+
16
+ function __construct() {
17
+ add_action( 'wp_ajax_generate_wpo_wcpdf', array($this, 'generate_pdf_ajax' ) );
18
+ add_filter( 'woocommerce_email_attachments', array( $this, 'attach_pdf_to_email' ), 99, 3 );
19
+ add_filter( 'wpo_wcpdf_custom_attachment_condition', array( $this, 'disable_free_attachment'), 10, 4 );
20
+
21
+ if ( isset(WPO_WCPDF()->settings->debug_settings['enable_debug']) ) {
22
+ $this->enable_debug();
23
+ }
24
+ if ( isset(WPO_WCPDF()->settings->debug_settings['html_output']) ) {
25
+ add_filter( 'wpo_wcpdf_use_path', '__return_false' );
26
+ }
27
+
28
+ // include template specific custom functions
29
+ $template_path = WPO_WCPDF()->settings->get_template_path();
30
+ if ( file_exists( $template_path . '/template-functions.php' ) ) {
31
+ require_once( $template_path . '/template-functions.php' );
32
+ }
33
+ }
34
+
35
+ /**
36
+ * Attach PDF to WooCommerce email
37
+ */
38
+ public function attach_pdf_to_email ( $attachments, $email_id, $order ) {
39
+ // check if all variables properly set
40
+ if ( !is_object( $order ) || !isset( $email_id ) ) {
41
+ return $attachments;
42
+ }
43
+
44
+ // Skip User emails
45
+ if ( get_class( $order ) == 'WP_User' ) {
46
+ return $attachments;
47
+ }
48
+
49
+ $order_id = WCX_Order::get_id( $order );
50
+
51
+ if ( get_class( $order ) !== 'WC_Order' && $order_id == false ) {
52
+ return $attachments;
53
+ }
54
+
55
+ // WooCommerce Booking compatibility
56
+ if ( get_post_type( $order_id ) == 'wc_booking' && isset($order->order) ) {
57
+ // $order is actually a WC_Booking object!
58
+ $order = $order->order;
59
+ }
60
+
61
+ // do not process low stock notifications, user emails etc!
62
+ if ( in_array( $email_id, array( 'no_stock', 'low_stock', 'backorder', 'customer_new_account', 'customer_reset_password' ) ) || get_post_type( $order_id ) != 'shop_order' ) {
63
+ return $attachments;
64
+ }
65
+
66
+ $tmp_path = $this->get_tmp_path('attachments');
67
+
68
+ // clear pdf files from temp folder (from http://stackoverflow.com/a/13468943/1446634)
69
+ // array_map('unlink', ( glob( $tmp_path.'*.pdf' ) ? glob( $tmp_path.'*.pdf' ) : array() ) );
70
+
71
+ $attach_to_document_types = $this->get_documents_for_email( $email_id, $order );
72
+ foreach ( $attach_to_document_types as $document_type ) {
73
+ do_action( 'wpo_wcpdf_before_attachment_creation', $order, $email_id, $document_type );
74
+
75
+ try {
76
+ // prepare document
77
+ $document = wcpdf_get_document( $document_type, (array) $order_id, true );
78
+ if ( !$document ) { // something went wrong, continue trying with other documents
79
+ continue;
80
+ }
81
+
82
+ // get pdf data & store
83
+ $pdf_data = $document->get_pdf();
84
+ $filename = $document->get_filename();
85
+ $pdf_path = $tmp_path . $filename;
86
+ file_put_contents ( $pdf_path, $pdf_data );
87
+ $attachments[] = $pdf_path;
88
+
89
+ do_action( 'wpo_wcpdf_email_attachment', $pdf_path, $document_type );
90
+ } catch (Exception $e) {
91
+ error_log($e->getMessage());
92
+ continue;
93
+ }
94
+ }
95
+
96
+ return $attachments;
97
+ }
98
+
99
+ public function get_documents_for_email( $email_id, $order ) {
100
+ $documents = WPO_WCPDF()->documents->get_documents();
101
+
102
+ $attach_documents = array();
103
+ foreach ($documents as $document) {
104
+ $attach_documents[ $document->get_type() ] = $document->get_attach_to_email_ids();
105
+ }
106
+ $attach_documents = apply_filters('wpo_wcpdf_attach_documents', $attach_documents );
107
+
108
+ $document_types = array();
109
+ foreach ($attach_documents as $document_type => $attach_to_email_ids ) {
110
+ // legacy settings: convert abbreviated email_ids
111
+ foreach ($attach_to_email_ids as $key => $attach_to_email_id) {
112
+ if ($attach_to_email_id == 'completed' || $attach_to_email_id == 'processing') {
113
+ $attach_to_email_ids[$key] = "customer_" . $attach_to_email_id . "_order";
114
+ }
115
+ }
116
+
117
+ $extra_condition = apply_filters('wpo_wcpdf_custom_attachment_condition', true, $order, $email_id, $document_type );
118
+ if ( in_array( $email_id, $attach_to_email_ids ) && $extra_condition === true ) {
119
+ $document_types[] = $document_type;
120
+ }
121
+ }
122
+
123
+ return $document_types;
124
+ }
125
+
126
+ /**
127
+ * Load and generate the template output with ajax
128
+ */
129
+ public function generate_pdf_ajax() {
130
+ // Check the nonce
131
+ if( empty( $_GET['action'] ) || ! is_user_logged_in() || !check_admin_referer( $_GET['action'] ) ) {
132
+ wp_die( __( 'You do not have sufficient permissions to access this page.', 'woocommerce-pdf-invoices-packing-slips' ) );
133
+ }
134
+
135
+ // Check if all parameters are set
136
+ if ( empty( $_GET['document_type'] ) && !empty( $_GET['template_type'] ) ) {
137
+ $_GET['document_type'] = $_GET['template_type'];
138
+ }
139
+
140
+ if ( empty( $_GET['order_ids'] ) ) {
141
+ wp_die( __( "You haven't selected any orders", 'woocommerce-pdf-invoices-packing-slips' ) );
142
+ }
143
+
144
+ if( empty( $_GET['document_type'] ) ) {
145
+ wp_die( __( 'Some of the export parameters are missing.', 'woocommerce-pdf-invoices-packing-slips' ) );
146
+ }
147
+
148
+ // Generate the output
149
+ $document_type = $_GET['document_type'];
150
+
151
+ $order_ids = (array) explode('x',$_GET['order_ids']);
152
+ // Process oldest first: reverse $order_ids array
153
+ $order_ids = array_reverse($order_ids);
154
+
155
+ // Check the user privileges
156
+ if( apply_filters( 'wpo_wcpdf_check_privs', !current_user_can( 'manage_woocommerce_orders' ) && !current_user_can( 'edit_shop_orders' ) && !isset( $_GET['my-account'] ), $order_ids ) ) {
157
+ wp_die( __( 'You do not have sufficient permissions to access this page.', 'woocommerce-pdf-invoices-packing-slips' ) );
158
+ }
159
+
160
+ // User call from my-account page
161
+ if ( !current_user_can('manage_options') && isset( $_GET['my-account'] ) ) {
162
+ // Only for single orders!
163
+ if ( count( $order_ids ) > 1 ) {
164
+ wp_die( __( 'You do not have sufficient permissions to access this page.', 'woocommerce-pdf-invoices-packing-slips' ) );
165
+ }
166
+
167
+ // Check if current user is owner of order IMPORTANT!!!
168
+ $order = WCX::get_order ( $order_ids[0] );
169
+ if ( WCX_Order::get_prop( $order, 'customer_id' ) != get_current_user_id() ) {
170
+ wp_die( __( 'You do not have sufficient permissions to access this page.', 'woocommerce-pdf-invoices-packing-slips' ) );
171
+ }
172
+ }
173
+
174
+ // if we got here, we're safe to go!
175
+ try {
176
+ $document = wcpdf_get_document( $document_type, $order_ids, true );
177
+
178
+ if ( $document ) {
179
+ $output_format = WPO_WCPDF()->settings->get_output_format( $document_type );
180
+ switch ( $output_format ) {
181
+ case 'html':
182
+ $document->output_html();
183
+ break;
184
+ case 'pdf':
185
+ default:
186
+ if ( has_action( 'wpo_wcpdf_created_manually' ) ) {
187
+ do_action( 'wpo_wcpdf_created_manually', $document->get_pdf(), $document->get_filename() );
188
+ }
189
+ $document->output_pdf();
190
+ break;
191
+ }
192
+ } else {
193
+ wp_die( sprintf( __( "Document of type '%s' for the selected order(s) could not be generated", 'woocommerce-pdf-invoices-packing-slips' ), $document_type ) );
194
+ }
195
+ } catch (Exception $e) {
196
+ echo $e->getMessage();
197
+ }
198
+
199
+ exit;
200
+ }
201
+
202
+ /**
203
+ * Return tmp path for different plugin processes
204
+ */
205
+ public function get_tmp_path ( $type = '' ) {
206
+ $tmp_base = $this->get_tmp_base();
207
+ // check if tmp folder exists => if not, initialize
208
+ if ( !@is_dir( $tmp_base ) ) {
209
+ $this->init_tmp( $tmp_base );
210
+ }
211
+
212
+ if ( empty( $type ) ) {
213
+ return $tmp_base;
214
+ }
215
+
216
+ switch ( $type ) {
217
+ case 'dompdf':
218
+ $tmp_path = $tmp_base . 'dompdf';
219
+ break;
220
+ case 'font_cache':
221
+ case 'fonts':
222
+ $tmp_path = $tmp_base . 'fonts';
223
+ break;
224
+ case 'attachments':
225
+ $tmp_path = $tmp_base . 'attachments/';
226
+ break;
227
+ default:
228
+ $tmp_path = $tmp_base . $type;
229
+ break;
230
+ }
231
+
232
+ // double check for existence, in case tmp_base was installed, but subfolder not created
233
+ if ( !@is_dir( $tmp_path ) ) {
234
+ @mkdir( $tmp_path );
235
+ }
236
+
237
+ return $tmp_path;
238
+ }
239
+
240
+ /**
241
+ * return the base tmp folder (usually uploads)
242
+ */
243
+ public function get_tmp_base () {
244
+ // wp_upload_dir() is used to set the base temp folder, under which a
245
+ // 'wpo_wcpdf' folder and several subfolders are created
246
+ //
247
+ // wp_upload_dir() will:
248
+ // * default to WP_CONTENT_DIR/uploads
249
+ // * UNLESS the ‘UPLOADS’ constant is defined in wp-config (http://codex.wordpress.org/Editing_wp-config.php#Moving_uploads_folder)
250
+ //
251
+ // May also be overridden by the wpo_wcpdf_tmp_path filter
252
+
253
+ $upload_dir = wp_upload_dir();
254
+ $upload_base = trailingslashit( $upload_dir['basedir'] );
255
+ $tmp_base = trailingslashit( apply_filters( 'wpo_wcpdf_tmp_path', $upload_base . 'wpo_wcpdf/' ) );
256
+ return $tmp_base;
257
+ }
258
+
259
+ /**
260
+ * Install/create plugin tmp folders
261
+ */
262
+ public function init_tmp ( $tmp_base ) {
263
+ // create plugin base temp folder
264
+ @mkdir( $tmp_base );
265
+
266
+ // create subfolders & protect
267
+ $subfolders = array( 'attachments', 'fonts', 'dompdf' );
268
+ foreach ( $subfolders as $subfolder ) {
269
+ $path = $tmp_base . $subfolder . '/';
270
+ @mkdir( $path );
271
+
272
+ // copy font files
273
+ if ( $subfolder == 'fonts' ) {
274
+ $this->copy_fonts( $path );
275
+ }
276
+
277
+ // create .htaccess file and empty index.php to protect in case an open webfolder is used!
278
+ @file_put_contents( $path . '.htaccess', 'deny from all' );
279
+ @touch( $path . 'index.php' );
280
+ }
281
+
282
+ }
283
+
284
+ /**
285
+ * Copy DOMPDF fonts to wordpress tmp folder
286
+ */
287
+ public function copy_fonts ( $path ) {
288
+ $path = trailingslashit( $path );
289
+ $dompdf_font_dir = WPO_WCPDF()->plugin_path() . "/vendor/dompdf/dompdf/lib/fonts/";
290
+
291
+ // first try the easy way with glob!
292
+ if ( function_exists('glob') ) {
293
+ $files = glob($dompdf_font_dir."*.*");
294
+ foreach($files as $file){
295
+ if(!is_dir($file) && is_readable($file)) {
296
+ $dest = $path . basename($file);
297
+ copy($file, $dest);
298
+ }
299
+ }
300
+ } else {
301
+ // fallback method using font cache file (glob is disabled on some servers with disable_functions)
302
+ $font_cache_file = $dompdf_font_dir . "dompdf_font_family_cache.php";
303
+ $font_cache_dist_file = $dompdf_font_dir . "dompdf_font_family_cache.dist.php";
304
+ $fonts = @require_once( $font_cache_file );
305
+ $extensions = array( '.ttf', '.ufm', '.ufm.php', '.afm' );
306
+
307
+ foreach ($fonts as $font_family => $filenames) {
308
+ foreach ($filenames as $filename) {
309
+ foreach ($extensions as $extension) {
310
+ $file = $filename.$extension;
311
+ if (file_exists($file)) {
312
+ $dest = $path . basename($file);
313
+ copy($file, $dest);
314
+ }
315
+ }
316
+ }
317
+ }
318
+
319
+ // copy cache files separately
320
+ copy($font_cache_file, $path.basename($font_cache_file));
321
+ copy($font_cache_dist_file, $path.basename($font_cache_dist_file));
322
+ }
323
+ }
324
+
325
+ public function disable_free_attachment( $attach, $order, $email_id, $document_type ) {
326
+ // prevent fatal error for non-order objects
327
+ if ( !method_exists( $order, 'get_total' ) ) {
328
+ return false;
329
+ }
330
+
331
+ $document_settings = WPO_WCPDF()->settings->get_document_settings( $document_type );
332
+ // echo '<pre>';var_dump($document_type);echo '</pre>';
333
+ // error_log( var_export($document_settings,true) );
334
+
335
+ // check order total & setting
336
+ $order_total = $order->get_total();
337
+ if ( $order_total == 0 && isset( $document_settings['disable_free'] ) ) {
338
+ return false;
339
+ }
340
+
341
+ return $attach;
342
+ }
343
+
344
+ /**
345
+ * Enable PHP error output
346
+ */
347
+ public function enable_debug () {
348
+ error_reporting( E_ALL );
349
+ ini_set( 'display_errors', 1 );
350
+ }
351
+
352
+ }
353
+
354
+ endif; // class_exists
355
+
356
+ return new Main();
includes/class-wcpdf-pdf-maker.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WPO\WC\PDF_Invoices;
3
+
4
+ use Dompdf\Dompdf;
5
+ use Dompdf\Options;
6
+
7
+ if ( ! defined( 'ABSPATH' ) ) {
8
+ exit; // Exit if accessed directly
9
+ }
10
+
11
+ if ( !class_exists( '\\WPO\\WC\\PDF_Invoices\\PDF_Maker' ) ) :
12
+
13
+ class PDF_Maker {
14
+ public $html;
15
+ public $settings;
16
+
17
+ public function __construct( $html, $settings = array() ) {
18
+ $this->html = $html;
19
+
20
+ $default_settings = array(
21
+ 'paper_size' => 'A4',
22
+ 'paper_orientation' => 'portrait',
23
+ );
24
+ $this->settings = $settings + $default_settings;
25
+ }
26
+
27
+ public function output() {
28
+ if ( empty( $this->html ) ) {
29
+ return;
30
+ }
31
+
32
+ require WPO_WCPDF()->plugin_path() . '/vendor/autoload.php';
33
+
34
+ // set options
35
+ $options = new Options();
36
+ $options->setdefaultFont( 'dejavu sans');
37
+ $options->setTempDir( WPO_WCPDF()->main->get_tmp_path('dompdf') );
38
+ $options->setFontDir( WPO_WCPDF()->main->get_tmp_path('fonts') );
39
+ $options->setFontCache( WPO_WCPDF()->main->get_tmp_path('fonts') );
40
+
41
+ // instantiate and use the dompdf class
42
+ $dompdf = new Dompdf( $options );
43
+ $dompdf->loadHtml( $this->html );
44
+ $dompdf->setPaper( $this->settings['paper_size'], $this->settings['paper_orientation'] );
45
+ $dompdf = apply_filters( 'wpo_wcpdf_before_dompdf_render', $dompdf, $this->html );
46
+ $dompdf->render();
47
+ $dompdf = apply_filters( 'wpo_wcpdf_after_dompdf_render', $dompdf, $this->html );
48
+
49
+ return $dompdf->output();
50
+ }
51
+ }
52
+
53
+ endif; // class_exists
includes/class-wcpdf-settings-callbacks.php ADDED
@@ -0,0 +1,503 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WPO\WC\PDF_Invoices;
3
+
4
+ use WPO\WC\PDF_Invoices\Documents\Sequential_Number_Store;
5
+
6
+ if ( ! defined( 'ABSPATH' ) ) {
7
+ exit; // Exit if accessed directly
8
+ }
9
+
10
+ if ( !class_exists( '\\WPO\\WC\\PDF_Invoices\\Settings_Callbacks' ) ) :
11
+
12
+ class Settings_Callbacks {
13
+ /**
14
+ * Section null callback.
15
+ *
16
+ * @return void.
17
+ */
18
+ public function section() {
19
+ }
20
+
21
+ /**
22
+ * Debug section callback.
23
+ *
24
+ * @return void.
25
+ */
26
+ public function debug_section() {
27
+ _e( '<b>Warning!</b> The settings below are meant for debugging/development only. Do not use them on a live website!' , 'woocommerce-pdf-invoices-packing-slips' );
28
+ }
29
+
30
+ /**
31
+ * Custom fields section callback.
32
+ *
33
+ * @return void.
34
+ */
35
+ public function custom_fields_section() {
36
+ _e( 'These are used for the (optional) footer columns in the <em>Modern (Premium)</em> template, but can also be used for other elements in your custom template' , 'woocommerce-pdf-invoices-packing-slips' );
37
+ }
38
+
39
+ /**
40
+ * Checkbox callback.
41
+ *
42
+ * args:
43
+ * option_name - name of the main option
44
+ * id - key of the setting
45
+ * value - value if not 1 (optional)
46
+ * default - default setting (optional)
47
+ * description - description (optional)
48
+ *
49
+ * @return void.
50
+ */
51
+ public function checkbox( $args ) {
52
+ extract( $this->normalize_settings_args( $args ) );
53
+
54
+ // output checkbox
55
+ printf( '<input type="checkbox" id="%1$s" name="%2$s" value="%3$s"%4$s />', $id, $setting_name, $value, checked( $value, $current, false ) );
56
+
57
+ // output description.
58
+ if ( isset( $description ) ) {
59
+ printf( '<p class="description">%s</p>', $description );
60
+ }
61
+ }
62
+
63
+ /**
64
+ * Text input callback.
65
+ *
66
+ * args:
67
+ * option_name - name of the main option
68
+ * id - key of the setting
69
+ * size - size of the text input (em)
70
+ * default - default setting (optional)
71
+ * description - description (optional)
72
+ * type - type (optional)
73
+ *
74
+ * @return void.
75
+ */
76
+ public function text_input( $args ) {
77
+ extract( $this->normalize_settings_args( $args ) );
78
+
79
+ if (empty($type)) {
80
+ $type = 'text';
81
+ }
82
+
83
+ printf( '<input type="%1$s" id="%2$s" name="%3$s" value="%4$s" size="%5$s" placeholder="%6$s"/>', $type, $id, $setting_name, esc_attr( $current ), $size, $placeholder );
84
+
85
+ // output description.
86
+ if ( isset( $description ) ) {
87
+ printf( '<p class="description">%s</p>', $description );
88
+ }
89
+ }
90
+
91
+ // Single text option (not part of any settings array)
92
+ public function singular_text_element( $args ) {
93
+ $option_name = $args['option_name'];
94
+ $id = $args['id'];
95
+ $size = isset( $args['size'] ) ? $args['size'] : '25';
96
+ $class = isset( $args['translatable'] ) && $args['translatable'] === true ? 'translatable' : '';
97
+
98
+ $option = get_option( $option_name );
99
+
100
+ if ( isset( $option ) ) {
101
+ $current = $option;
102
+ } else {
103
+ $current = isset( $args['default'] ) ? $args['default'] : '';
104
+ }
105
+
106
+ $html = sprintf( '<input type="text" id="%1$s" name="%2$s" value="%3$s" size="%4$s" class="%5$s"/>', $id, $option_name, $current, $size, $class );
107
+
108
+ // Displays option description.
109
+ if ( isset( $args['description'] ) ) {
110
+ $html .= sprintf( '<p class="description">%s</p>', $args['description'] );
111
+ }
112
+
113
+ echo $html;
114
+ }
115
+
116
+
117
+ /**
118
+ * Textarea callback.
119
+ *
120
+ * args:
121
+ * option_name - name of the main option
122
+ * id - key of the setting
123
+ * width - width of the text input (em)
124
+ * height - height of the text input (lines)
125
+ * default - default setting (optional)
126
+ * description - description (optional)
127
+ *
128
+ * @return void.
129
+ */
130
+ public function textarea( $args ) {
131
+ extract( $this->normalize_settings_args( $args ) );
132
+
133
+ printf( '<textarea id="%1$s" name="%2$s" cols="%4$s" rows="%5$s" placeholder="%6$s"/>%3$s</textarea>', $id, $setting_name, esc_textarea( $current ), $width, $height, $placeholder );
134
+
135
+ // output description.
136
+ if ( isset( $description ) ) {
137
+ printf( '<p class="description">%s</p>', $description );
138
+ }
139
+ }
140
+
141
+ /**
142
+ * Select element callback.
143
+ *
144
+ * @param array $args Field arguments.
145
+ *
146
+ * @return string Select field.
147
+ */
148
+ public function select( $args ) {
149
+ extract( $this->normalize_settings_args( $args ) );
150
+
151
+ printf( '<select id="%1$s" name="%2$s">', $id, $setting_name );
152
+
153
+ foreach ( $options as $key => $label ) {
154
+ printf( '<option value="%s"%s>%s</option>', $key, selected( $current, $key, false ), $label );
155
+ }
156
+
157
+ echo '</select>';
158
+
159
+ if (isset($custom)) {
160
+ printf( '<div class="%1$s_custom custom">', $id );
161
+
162
+ if (is_callable( array( $this, $custom['type'] ) ) ) {
163
+ $this->{$custom['type']}( $custom['args'] );
164
+ }
165
+ echo '</div>';
166
+ ?>
167
+ <script type="text/javascript">
168
+ jQuery(document).ready(function($) {
169
+ function check_<?php echo $id; ?>_custom() {
170
+ var custom = $('#<?php echo $id; ?>').val();
171
+ console.log(custom);
172
+ if (custom == 'custom') {
173
+ $( '.<?php echo $id; ?>_custom').show();
174
+ } else {
175
+ $( '.<?php echo $id; ?>_custom').hide();
176
+ }
177
+ }
178
+
179
+ check_<?php echo $id; ?>_custom();
180
+
181
+ $( '#<?php echo $id; ?>' ).change(function() {
182
+ check_<?php echo $id; ?>_custom();
183
+ });
184
+
185
+ });
186
+ </script>
187
+ <?php
188
+ }
189
+
190
+ // Displays option description.
191
+ if ( isset( $args['description'] ) ) {
192
+ printf( '<p class="description">%s</p>', $args['description'] );
193
+ }
194
+
195
+ }
196
+
197
+ public function radio_button( $args ) {
198
+ extract( $this->normalize_settings_args( $args ) );
199
+
200
+ foreach ( $options as $key => $label ) {
201
+ printf( '<input type="radio" class="radio" id="%1$s[%3$s]" name="%2$s" value="%3$s"%4$s />', $id, $setting_name, $key, checked( $current, $key, false ) );
202
+ printf( '<label for="%1$s[%3$s]"> %4$s</label><br>', $id, $setting_name, $key, $label);
203
+ }
204
+
205
+
206
+ // Displays option description.
207
+ if ( isset( $args['description'] ) ) {
208
+ printf( '<p class="description">%s</p>', $args['description'] );
209
+ }
210
+
211
+ }
212
+
213
+ /**
214
+ * Multiple text element callback.
215
+ * @param array $args Field arguments.
216
+ * @return string Text input field.
217
+ */
218
+ public function multiple_text_input( $args ) {
219
+ extract( $this->normalize_settings_args( $args ) );
220
+
221
+ if (!empty($header)) {
222
+ echo "<p><strong>{$header}</strong>:</p>";
223
+ }
224
+
225
+ printf('<p class="%s multiple-text-input">', $id);
226
+ foreach ($fields as $name => $field) {
227
+ $size = $field['size'];
228
+ $placeholder = isset( $field['placeholder'] ) ? $field['placeholder'] : '';
229
+
230
+ if (isset($field['label_width'])) {
231
+ $style = sprintf( 'style="display:inline-block; width:%1$s;"', $field['label_width'] );
232
+ } else {
233
+ $style = '';
234
+ }
235
+
236
+ $description = isset( $field['description'] ) ? '<span style="font-style:italic;">'.$field['description'].'</span>' : '';
237
+
238
+ // output field label
239
+ if (isset($field['label'])) {
240
+ printf( '<label for="%1$s_%2$s" %3$s>%4$s:</label>', $id, $name, $style, $field['label'] );
241
+ }
242
+
243
+ // output field
244
+ $field_current = isset($current[$name]) ? $current[$name] : '';
245
+ $type = isset( $field['type'] ) ? $field['type'] : 'text';
246
+ printf( '<input type="%1$s" id="%2$s_%4$s" name="%3$s[%4$s]" value="%5$s" size="%6$s" placeholder="%7$s"/> %8$s<br/>', $type, $id, $setting_name, $name, esc_attr( $field_current ), $size, $placeholder, $description );
247
+ }
248
+ echo "</p>";
249
+
250
+ // Displays option description.
251
+ if ( isset( $args['description'] ) ) {
252
+ printf( '<p class="description">%s</p>', $args['description'] );
253
+ }
254
+ }
255
+
256
+ /**
257
+ * Multiple text element callback.
258
+ * @param array $args Field arguments.
259
+ * @return string Text input field.
260
+ */
261
+ public function multiple_checkboxes( $args ) {
262
+ extract( $this->normalize_settings_args( $args ) );
263
+
264
+ foreach ($fields as $name => $label) {
265
+ // $label = $field['label'];
266
+
267
+ // output checkbox
268
+ $field_current = isset($current[$name]) ? $current[$name] : '';
269
+ printf( '<input type="checkbox" id="%1$s_%3$s" name="%2$s[%3$s]" value="%4$s"%5$s />', $id, $setting_name, $name, $value, checked( $value, $field_current, false ) );
270
+
271
+ // output field label
272
+ printf( '<label for="%1$s_%2$s">%3$s</label><br>', $id, $name, $label );
273
+
274
+ }
275
+
276
+ // Displays option description.
277
+ if ( isset( $args['description'] ) ) {
278
+ printf( '<p class="description">%s</p>', $args['description'] );
279
+ }
280
+ }
281
+
282
+ /**
283
+ * Media upload callback.
284
+ *
285
+ * @param array $args Field arguments.
286
+ *
287
+ * @return string Media upload button & preview.
288
+ */
289
+ public function media_upload( $args ) {
290
+ extract( $this->normalize_settings_args( $args ) );
291
+
292
+ if( !empty($current) ) {
293
+ $attachment = wp_get_attachment_image_src( $current, 'thumbnail', false );
294
+
295
+ $attachment_src = $attachment[0];
296
+ $attachment_width = $attachment[1];
297
+ $attachment_height = $attachment[2];
298
+ $attachment_resolution = round($attachment_height/(3/2.54));
299
+
300
+ printf('<img src="%1$s" style="display:block" id="img-%4$s"/>', $attachment_src, $attachment_width, $attachment_height, $id );
301
+ printf('<div class="attachment-resolution"><p class="description">%s: %sdpi (default height = 3cm)</p></div>', __('Image resolution'), $attachment_resolution );
302
+ printf('<span class="button wpo_remove_image_button" data-input_id="%1$s">%2$s</span>', $id, $remove_button_text );
303
+ }
304
+
305
+ printf( '<input id="%1$s" name="%2$s" type="hidden" value="%3$s" />', $id, $setting_name, $current );
306
+
307
+ printf( '<span class="button wpo_upload_image_button %4$s" data-uploader_title="%1$s" data-uploader_button_text="%2$s" data-remove_button_text="%3$s" data-input_id="%4$s">%2$s</span>', $uploader_title, $uploader_button_text, $remove_button_text, $id );
308
+
309
+ // Displays option description.
310
+ if ( isset( $description ) ) {
311
+ printf( '<p class="description">%s</p>', $description );
312
+ }
313
+ }
314
+
315
+ /**
316
+ * Next document number edit callback.
317
+ *
318
+ * @param array $args Field arguments.
319
+ */
320
+ public function next_number_edit( $args ) {
321
+ extract( $args );
322
+ $number_store = new Sequential_Number_Store( $store );
323
+ $next_number = $number_store->get_next();
324
+ $nonce = wp_create_nonce( "wpo_wcpdf_next_{$store}" );
325
+ printf( '<input id="next_%1$s" class="next-number-input" type="text" size="%2$s" value="%3$s" disabled="disabled" data-store="%1$s" data-nonce="%4$s"/> <span class="edit-next-number dashicons dashicons-edit"></span><span class="save-next-number button secondary" style="display:none;">%5$s</span>', $store, $size, $next_number, $nonce, __( 'Save', 'woocommerce-pdf-invoices-packing-slips' ) );
326
+ // Displays option description.
327
+ if ( isset( $description ) ) {
328
+ printf( '<p class="description">%s</p>', $description );
329
+ }
330
+ }
331
+
332
+ /**
333
+ * Wrapper function to create tabs for settings in different languages
334
+ * @param [type] $args [description]
335
+ * @param [type] $callback [description]
336
+ * @return [type] [description]
337
+ */
338
+ public function i18n_wrap ( $args ) {
339
+ extract( $this->normalize_settings_args( $args ) );
340
+
341
+ if ( $languages = $this->get_languages() ) {
342
+ printf( '<div id="%s-%s-translations" class="translations">', $option_name, $id)
343
+ ?>
344
+ <ul>
345
+ <?php foreach ( $languages as $lang_code => $language_name ) {
346
+ $translation_id = "{$option_name}_{$id}_{$lang_code}";
347
+ printf('<li><a href="#%s">%s</a></li>', $translation_id, $language_name );
348
+ }
349
+ ?>
350
+ </ul>
351
+ <?php foreach ( $languages as $lang_code => $language_name ) {
352
+ $translation_id = "{$option_name}_{$id}_{$lang_code}";
353
+ printf( '<div id="%s">', $translation_id );
354
+ $args['lang'] = $lang_code;
355
+ // don't use internationalized placeholders since they're not translated,
356
+ // to avoid confusion (user thinking they're all the same)
357
+ if ( $callback == 'multiple_text_input' ) {
358
+ foreach ($fields as $key => $field_args) {
359
+ if (!empty($field_args['placeholder']) && isset($field_args['i18n_placeholder'])) {
360
+ $args['fields'][$key]['placeholder'] = '';
361
+ }
362
+ }
363
+ } else {
364
+ if (!empty($args['placeholder']) && isset($args['i18n_placeholder'])) {
365
+ $args['placeholder'] = '';
366
+ }
367
+ }
368
+ // specific description for internationalized fields (to compensate for missing placeholder)
369
+ if (!empty($args['i18n_description'])) {
370
+ $args['description'] = $args['i18n_description'];
371
+ }
372
+ call_user_func( array( $this, $callback ), $args );
373
+ echo '</div>';
374
+ }
375
+ ?>
376
+
377
+ </div>
378
+ <?php
379
+ } else {
380
+ $args['lang'] = 'default';
381
+ call_user_func( array( $this, $callback ), $args );
382
+ }
383
+ }
384
+
385
+ public function get_languages () {
386
+ $multilingual = function_exists('icl_get_languages');
387
+ // $multilingual = true; // for development
388
+
389
+ if ($multilingual) {
390
+ // use this instead of function call for development outside of WPML
391
+ // $icl_get_languages = 'a:3:{s:2:"en";a:8:{s:2:"id";s:1:"1";s:6:"active";s:1:"1";s:11:"native_name";s:7:"English";s:7:"missing";s:1:"0";s:15:"translated_name";s:7:"English";s:13:"language_code";s:2:"en";s:16:"country_flag_url";s:43:"http://yourdomain/wpmlpath/res/flags/en.png";s:3:"url";s:23:"http://yourdomain/about";}s:2:"fr";a:8:{s:2:"id";s:1:"4";s:6:"active";s:1:"0";s:11:"native_name";s:9:"Français";s:7:"missing";s:1:"0";s:15:"translated_name";s:6:"French";s:13:"language_code";s:2:"fr";s:16:"country_flag_url";s:43:"http://yourdomain/wpmlpath/res/flags/fr.png";s:3:"url";s:29:"http://yourdomain/fr/a-propos";}s:2:"it";a:8:{s:2:"id";s:2:"27";s:6:"active";s:1:"0";s:11:"native_name";s:8:"Italiano";s:7:"missing";s:1:"0";s:15:"translated_name";s:7:"Italian";s:13:"language_code";s:2:"it";s:16:"country_flag_url";s:43:"http://yourdomain/wpmlpath/res/flags/it.png";s:3:"url";s:26:"http://yourdomain/it/circa";}}';
392
+ // $icl_get_languages = unserialize($icl_get_languages);
393
+
394
+ $icl_get_languages = icl_get_languages('skip_missing=0');
395
+ $languages = array();
396
+ foreach ($icl_get_languages as $lang => $data) {
397
+ $languages[$data['language_code']] = $data['native_name'];
398
+ }
399
+ } else {
400
+ return false;
401
+ }
402
+
403
+ return $languages;
404
+ }
405
+
406
+ public function normalize_settings_args ( $args ) {
407
+ $args['value'] = isset( $args['value'] ) ? $args['value'] : 1;
408
+
409
+ $args['placeholder'] = isset( $args['placeholder'] ) ? $args['placeholder'] : '';
410
+
411
+ // get main settings array
412
+ $option = get_option( $args['option_name'] );
413
+
414
+ $args['setting_name'] = "{$args['option_name']}[{$args['id']}]";
415
+
416
+ if ( !isset($args['lang']) && !empty($args['translatable']) ) {
417
+ $args['lang'] = 'default';
418
+ }
419
+
420
+ if (isset($args['lang'])) {
421
+ // i18n settings name
422
+ $args['setting_name'] = "{$args['setting_name']}[{$args['lang']}]";
423
+ // copy current option value if set
424
+
425
+ if ( $args['lang'] == 'default' && !empty($option[$args['id']]) && !isset( $option[$args['id']]['default'] ) ) {
426
+ // we're switching back from WPML to normal
427
+ // try english first
428
+ if ( isset( $option[$args['id']]['en'] ) ) {
429
+ $args['current'] = $option[$args['id']]['en'];
430
+ } elseif ( is_array( $option[$args['id']] ) ) {
431
+ // fallback to the first language if english not found
432
+ $first = array_shift($option[$args['id']]);
433
+ if (!empty($first)) {
434
+ $args['current'] = $first;
435
+ }
436
+ } elseif ( is_string( $option[$args['id']] ) ) {
437
+ $args['current'] = $option[$args['id']];
438
+ } else {
439
+ // nothing, really?
440
+ $args['current'] = '';
441
+ }
442
+ } else {
443
+ if ( isset( $option[$args['id']][$args['lang']] ) ) {
444
+ $args['current'] = $option[$args['id']][$args['lang']];
445
+ } elseif (isset( $option[$args['id']]['default'] )) {
446
+ $args['current'] = $option[$args['id']]['default'];
447
+ }
448
+ }
449
+ } else {
450
+ // copy current option value if set
451
+ if ( isset( $option[$args['id']] ) ) {
452
+ $args['current'] = $option[$args['id']];
453
+ }
454
+ }
455
+
456
+ // falback to default or empty if no value in option
457
+ if ( !isset($args['current']) ) {
458
+ $args['current'] = isset( $args['default'] ) ? $args['default'] : '';
459
+ }
460
+
461
+ return $args;
462
+ }
463
+
464
+ /**
465
+ * Validate options.
466
+ *
467
+ * @param array $input options to valid.
468
+ *
469
+ * @return array validated options.
470
+ */
471
+ public function validate( $input ) {
472
+ // echo '<pre>';var_dump($input);die('</pre>');
473
+ // Create our array for storing the validated options.
474
+ $output = array();
475
+
476
+ if (empty($input) || !is_array($input)) {
477
+ return $input;
478
+ }
479
+
480
+ // Loop through each of the incoming options.
481
+ foreach ( $input as $key => $value ) {
482
+
483
+ // Check to see if the current option has a value. If so, process it.
484
+ if ( isset( $input[$key] ) ) {
485
+ if ( is_array( $input[$key] ) ) {
486
+ foreach ( $input[$key] as $sub_key => $sub_value ) {
487
+ $output[$key][$sub_key] = $input[$key][$sub_key];
488
+ }
489
+ } else {
490
+ $output[$key] = $input[$key];
491
+ }
492
+ }
493
+ }
494
+
495
+ // Return the array processing any additional functions filtered by this action.
496
+ return apply_filters( 'wpo_wcpdf_validate_input', $output, $input );
497
+ }
498
+ }
499
+
500
+
501
+ endif; // class_exists
502
+
503
+ return new Settings_Callbacks();
includes/class-wcpdf-settings-debug.php ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WPO\WC\PDF_Invoices;
3
+
4
+ if ( ! defined( 'ABSPATH' ) ) {
5
+ exit; // Exit if accessed directly
6
+ }
7
+
8
+ if ( !class_exists( '\\WPO\\WC\\PDF_Invoices\\Settings_Debug' ) ) :
9
+
10
+ class Settings_Debug {
11
+
12
+ function __construct() {
13
+ add_action( 'admin_init', array( $this, 'init_settings' ) );
14
+ add_action( 'wpo_wcpdf_settings_output_debug', array( $this, 'output' ), 10, 1 );
15
+ add_action( 'wpo_wcpdf_after_settings_page', array( $this, 'debug_tools' ), 10, 2 );
16
+ }
17
+
18
+ public function output( $section ) {
19
+ settings_fields( "wpo_wcpdf_settings_debug" );
20
+ do_settings_sections( "wpo_wcpdf_settings_debug" );
21
+
22
+ submit_button();
23
+ }
24
+
25
+ public function debug_tools( $tab, $section ) {
26
+ if ($tab !== 'debug') {
27
+ return;
28
+ }
29
+ ?>
30
+ <form method="post">
31
+ <input type="hidden" name="wpo_wcpdf_debug_tools_action" value="install_fonts">
32
+ <input type="submit" name="submit" id="submit" class="button" value="<?php _e( 'Reinstall fonts', 'woocommerce-pdf-invoices-packing-slips' ); ?>">
33
+ <?php
34
+ if (isset($_POST['wpo_wcpdf_debug_tools_action']) && $_POST['wpo_wcpdf_debug_tools_action'] == 'install_fonts') {
35
+ $font_path = WPO_WCPDF()->main->get_tmp_path( 'fonts' );
36
+ WPO_WCPDF()->main->copy_fonts( $font_path );
37
+ printf('<div class="notice notice-success"><p>%s</p></div>', __( 'Fonts reinstalled!', 'woocommerce-pdf-invoices-packing-slips' ) );
38
+ }
39
+ ?>
40
+ </form>
41
+ <?php
42
+ include( WPO_WCPDF()->plugin_path() . '/includes/views/dompdf-status.php' );
43
+ }
44
+
45
+ public function init_settings() {
46
+ // Register settings.
47
+ $page = $option_group = $option_name = 'wpo_wcpdf_settings_debug';
48
+
49
+ $settings_fields = array(
50
+ array(
51
+ 'type' => 'section',
52
+ 'id' => 'debug_settings',
53
+ 'title' => __( 'Debug settings', 'woocommerce-pdf-invoices-packing-slips' ),
54
+ 'callback' => 'section',
55
+ ),
56
+ array(
57
+ 'type' => 'setting',
58
+ 'id' => 'legacy_mode',
59
+ 'title' => __( 'Legacy mode', 'woocommerce-pdf-invoices-packing-slips' ),
60
+ 'callback' => 'checkbox',
61
+ 'section' => 'debug_settings',
62
+ 'args' => array(
63
+ 'option_name' => $option_name,
64
+ 'id' => 'legacy_mode',
65
+ 'description' => __( "Legacy mode ensures compatibility with templates and filters from previous versions.", 'woocommerce-pdf-invoices-packing-slips' ),
66
+ )
67
+ ),
68
+ array(
69
+ 'type' => 'setting',
70
+ 'id' => 'enable_debug',
71
+ 'title' => __( 'Enable debug output', 'woocommerce-pdf-invoices-packing-slips' ),
72
+ 'callback' => 'checkbox',
73
+ 'section' => 'debug_settings',
74
+ 'args' => array(
75
+ 'option_name' => $option_name,
76
+ 'id' => 'enable_debug',
77
+ 'description' => __( "Enable this option to output plugin errors if you're getting a blank page or other PDF generation issues", 'woocommerce-pdf-invoices-packing-slips' ) . '<br>' .
78
+ __( '<b>Caution!</b> This setting may reveal errors (from other plugins) in other places on your site too, therefor this is not recommended to leave it enabled on live sites.', 'woocommerce-pdf-invoices-packing-slips' ),
79
+ )
80
+ ),
81
+ array(
82
+ 'type' => 'setting',
83
+ 'id' => 'html_output',
84
+ 'title' => __( 'Output to HTML', 'woocommerce-pdf-invoices-packing-slips' ),
85
+ 'callback' => 'checkbox',
86
+ 'section' => 'debug_settings',
87
+ 'args' => array(
88
+ 'option_name' => $option_name,
89
+ 'id' => 'html_output',
90
+ 'description' => __( 'Send the template output as HTML to the browser instead of creating a PDF.', 'woocommerce-pdf-invoices-packing-slips' ),
91
+ )
92
+ ),
93
+ );
94
+
95
+ // allow plugins to alter settings fields
96
+ $settings_fields = apply_filters( 'wpo_wcpdf_settings_fields_debug', $settings_fields, $page, $option_group, $option_name );
97
+ WPO_WCPDF()->settings->add_settings_fields( $settings_fields, $page, $option_group, $option_name );
98
+ return;
99
+ }
100
+
101
+ }
102
+
103
+ endif; // class_exists
104
+
105
+ return new Settings_Debug();
includes/class-wcpdf-settings-documents.php ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WPO\WC\PDF_Invoices;
3
+
4
+ if ( ! defined( 'ABSPATH' ) ) {
5
+ exit; // Exit if accessed directly
6
+ }
7
+
8
+ if ( !class_exists( '\\WPO\\WC\\PDF_Invoices\\Settings_Documents' ) ) :
9
+
10
+ class Settings_Documents {
11
+
12
+ function __construct() {
13
+ add_action( 'admin_init', array( $this, 'init_settings' ) );
14
+ add_action( 'wpo_wcpdf_settings_output_documents', array( $this, 'output' ), 10, 1 );
15
+ }
16
+
17
+ public function init_settings() {
18
+ $documents = WPO_WCPDF()->documents->get_documents('all');
19
+ foreach ($documents as $document) {
20
+ $document->init_settings();
21
+ }
22
+ }
23
+
24
+ public function output( $section ) {
25
+ if ( !empty( $section ) ) {
26
+ $documents = WPO_WCPDF()->documents->get_documents('all');
27
+ ?>
28
+ <div class="wcpdf_document_settings_sections">
29
+ <?php _e( 'Documents', 'woocommerce-pdf-invoices-packing-slips' ); ?>:
30
+ <ul>
31
+ <?php
32
+ foreach ($documents as $document) {
33
+ printf('<li><a href="%s" class="%s">%s</a></li>', add_query_arg( 'section', $document->get_type() ), $document->get_type() == $section ? 'active' : '', $document->get_title() );
34
+ }
35
+ ?>
36
+ </ul>
37
+ </div>
38
+ <?php
39
+ settings_fields( "wpo_wcpdf_documents_settings_{$section}" );
40
+ do_settings_sections( "wpo_wcpdf_documents_settings_{$section}" );
41
+ submit_button();
42
+ } else {
43
+ $documents = WPO_WCPDF()->documents->get_documents('all');
44
+ ?>
45
+ <p><?php _e('All available documents are listed below. Click on a document to configure it.', 'woocommerce-pdf-invoices-packing-slips' ); ?></p>
46
+ <table class="wcpdf_documents_settings_list">
47
+ <?php $c = false; foreach ($documents as $document): ?>
48
+ <tr class="<?php echo (($c = !$c)?"odd":"even"); ?>">
49
+ <td class="title"><a href="<?php echo add_query_arg( 'section', $document->get_type() ); ?>"><?php echo $document->get_title(); ?></a></td>
50
+ <td class="settings-icon"><a href="<?php echo add_query_arg( 'section', $document->get_type() ); ?>"><span class="dashicons dashicons-admin-settings"></span></a></td>
51
+ </tr>
52
+ <?php endforeach ?>
53
+ </table>
54
+ <?php
55
+ }
56
+ }
57
+
58
+ }
59
+
60
+ endif; // class_exists
61
+
62
+ return new Settings_Documents();
includes/class-wcpdf-settings-general.php ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WPO\WC\PDF_Invoices;
3
+
4
+ if ( ! defined( 'ABSPATH' ) ) {
5
+ exit; // Exit if accessed directly
6
+ }
7
+
8
+ if ( !class_exists( '\\WPO\\WC\\PDF_Invoices\\Settings_General' ) ) :
9
+
10
+ class Settings_General {
11
+
12
+ function __construct() {
13
+ add_action( 'admin_init', array( $this, 'init_settings' ) );
14
+ add_action( 'wpo_wcpdf_settings_output_general', array( $this, 'output' ), 10, 1 );
15
+ }
16
+
17
+ public function output( $section ) {
18
+ settings_fields( "wpo_wcpdf_settings_general" );
19
+ do_settings_sections( "wpo_wcpdf_settings_general" );
20
+
21
+ submit_button();
22
+ }
23
+
24
+ public function init_settings() {
25
+ $page = $option_group = $option_name = 'wpo_wcpdf_settings_general';
26
+
27
+ $template_base_path = ( defined( 'WC_TEMPLATE_PATH' ) ? WC_TEMPLATE_PATH : $GLOBALS['woocommerce']->template_url );
28
+ $theme_template_path = get_stylesheet_directory() . '/' . $template_base_path;
29
+ $wp_content_dir = str_replace( ABSPATH, '', WP_CONTENT_DIR );
30
+ $theme_template_path = substr($theme_template_path, strpos($theme_template_path, $wp_content_dir)) . 'pdf/yourtemplate';
31
+ $plugin_template_path = "{$wp_content_dir}/plugins/woocommerce-pdf-invoices-packing-slips/templates/Simple";
32
+
33
+ $settings_fields = array(
34
+ array(
35
+ 'type' => 'section',
36
+ 'id' => 'general_settings',
37
+ 'title' => __( 'General settings', 'woocommerce-pdf-invoices-packing-slips' ),
38
+ 'callback' => 'section',
39
+ ),
40
+ array(
41
+ 'type' => 'setting',
42
+ 'id' => 'download_display',
43
+ 'title' => __( 'How do you want to view the PDF?', 'woocommerce-pdf-invoices-packing-slips' ),
44
+ 'callback' => 'select',
45
+ 'section' => 'general_settings',
46
+ 'args' => array(
47
+ 'option_name' => $option_name,
48
+ 'id' => 'download_display',
49
+ 'options' => array(
50
+ 'download' => __( 'Download the PDF' , 'woocommerce-pdf-invoices-packing-slips' ),
51
+ 'display' => __( 'Open the PDF in a new browser tab/window' , 'woocommerce-pdf-invoices-packing-slips' ),
52
+ ),
53
+ )
54
+ ),
55
+ array(
56
+ 'type' => 'setting',
57
+ 'id' => 'template_path',
58
+ 'title' => __( 'Choose a template', 'woocommerce-pdf-invoices-packing-slips' ),
59
+ 'callback' => 'select',
60
+ 'section' => 'general_settings',
61
+ 'args' => array(
62
+ 'option_name' => $option_name,
63
+ 'id' => 'template_path',
64
+ 'options' => $this->find_templates(),
65
+ 'description' => sprintf( __( 'Want to use your own template? Copy all the files from <code>%s</code> to your (child) theme in <code>%s</code> to customize them' , 'woocommerce-pdf-invoices-packing-slips' ), $plugin_template_path, $theme_template_path),
66
+ )
67
+ ),
68
+ array(
69
+ 'type' => 'setting',
70
+ 'id' => 'paper_size',
71
+ 'title' => __( 'Paper size', 'woocommerce-pdf-invoices-packing-slips' ),
72
+ 'callback' => 'select',
73
+ 'section' => 'general_settings',
74
+ 'args' => array(
75
+ 'option_name' => $option_name,
76
+ 'id' => 'paper_size',
77
+ 'options' => apply_filters( 'wpo_wcpdf_template_settings_paper_size', array(
78
+ 'a4' => __( 'A4' , 'woocommerce-pdf-invoices-packing-slips' ),
79
+ 'letter' => __( 'Letter' , 'woocommerce-pdf-invoices-packing-slips' ),
80
+ ) ),
81
+ )
82
+ ),
83
+ array(
84
+ 'type' => 'setting',
85
+ 'id' => 'currency_font',
86
+ 'title' => __( 'Extended currency symbol support', 'woocommerce-pdf-invoices-packing-slips' ),
87
+ 'callback' => 'checkbox',
88
+ 'section' => 'general_settings',
89
+ 'args' => array(
90
+ 'option_name' => $option_name,
91
+ 'id' => 'currency_font',
92
+ 'description' => __( 'Enable this if your currency symbol is not displaying properly' , 'woocommerce-pdf-invoices-packing-slips' ),
93
+ )
94
+ ),
95
+ array(
96
+ 'type' => 'setting',
97
+ 'id' => 'header_logo',
98
+ 'title' => __( 'Shop header/logo', 'woocommerce-pdf-invoices-packing-slips' ),
99
+ 'callback' => 'media_upload',
100
+ 'section' => 'general_settings',
101
+ 'args' => array(
102
+ 'option_name' => $option_name,
103
+ 'id' => 'header_logo',
104
+ 'uploader_title' => __( 'Select or upload your invoice header/logo', 'woocommerce-pdf-invoices-packing-slips' ),
105
+ 'uploader_button_text' => __( 'Set image', 'woocommerce-pdf-invoices-packing-slips' ),
106
+ 'remove_button_text' => __( 'Remove image', 'woocommerce-pdf-invoices-packing-slips' ),
107
+ //'description' => __( '...', 'woocommerce-pdf-invoices-packing-slips' ),
108
+ )
109
+ ),
110
+ array(
111
+ 'type' => 'setting',
112
+ 'id' => 'shop_name',
113
+ 'title' => __( 'Shop Name', 'woocommerce-pdf-invoices-packing-slips' ),
114
+ 'callback' => 'text_input',
115
+ 'section' => 'general_settings',
116
+ 'args' => array(
117
+ 'option_name' => $option_name,
118
+ 'id' => 'shop_name',
119
+ 'size' => '72',
120
+ 'translatable' => true,
121
+ )
122
+ ),
123
+ array(
124
+ 'type' => 'setting',
125
+ 'id' => 'shop_address',
126
+ 'title' => __( 'Shop Address', 'woocommerce-pdf-invoices-packing-slips' ),
127
+ 'callback' => 'textarea',
128
+ 'section' => 'general_settings',
129
+ 'args' => array(
130
+ 'option_name' => $option_name,
131
+ 'id' => 'shop_address',
132
+ 'width' => '72',
133
+ 'height' => '8',
134
+ 'translatable' => true,
135
+ //'description' => __( '...', 'woocommerce-pdf-invoices-packing-slips' ),
136
+ )
137
+ ),
138
+ array(
139
+ 'type' => 'setting',
140
+ 'id' => 'footer',
141
+ 'title' => __( 'Footer: terms & conditions, policies, etc.', 'woocommerce-pdf-invoices-packing-slips' ),
142
+ 'callback' => 'textarea',
143
+ 'section' => 'general_settings',
144
+ 'args' => array(
145
+ 'option_name' => $option_name,
146
+ 'id' => 'footer',
147
+ 'width' => '72',
148
+ 'height' => '4',
149
+ 'translatable' => true,
150
+ //'description' => __( '...', 'woocommerce-pdf-invoices-packing-slips' ),
151
+ )
152
+ ),
153
+ array(
154
+ 'type' => 'section',
155
+ 'id' => 'extra_template_fields',
156
+ 'title' => __( 'Extra template fields', 'woocommerce-pdf-invoices-packing-slips' ),
157
+ 'callback' => 'custom_fields_section',
158
+ ),
159
+ array(
160
+ 'type' => 'setting',
161
+ 'id' => 'extra_1',
162
+ 'title' => __( 'Extra field 1', 'woocommerce-pdf-invoices-packing-slips' ),
163
+ 'callback' => 'textarea',
164
+ 'section' => 'extra_template_fields',
165
+ 'args' => array(
166
+ 'option_name' => $option_name,
167
+ 'id' => 'extra_1',
168
+ 'width' => '72',
169
+ 'height' => '8',
170
+ 'description' => __( 'This is footer column 1 in the <i>Modern (Premium)</i> template', 'woocommerce-pdf-invoices-packing-slips' ),
171
+ 'translatable' => true,
172
+ )
173
+ ),
174
+ array(
175
+ 'type' => 'setting',
176
+ 'id' => 'extra_2',
177
+ 'title' => __( 'Extra field 2', 'woocommerce-pdf-invoices-packing-slips' ),
178
+ 'callback' => 'textarea',
179
+ 'section' => 'extra_template_fields',
180
+ 'args' => array(
181
+ 'option_name' => $option_name,
182
+ 'id' => 'extra_2',
183
+ 'width' => '72',
184
+ 'height' => '8',
185
+ 'description' => __( 'This is footer column 2 in the <i>Modern (Premium)</i> template', 'woocommerce-pdf-invoices-packing-slips' ),
186
+ 'translatable' => true,
187
+ )
188
+ ),
189
+ array(
190
+ 'type' => 'setting',
191
+ 'id' => 'extra_3',
192
+ 'title' => __( 'Extra field 3', 'woocommerce-pdf-invoices-packing-slips' ),
193
+ 'callback' => 'textarea',
194
+ 'section' => 'extra_template_fields',
195
+ 'args' => array(
196
+ 'option_name' => $option_name,
197
+ 'id' => 'extra_3',
198
+ 'width' => '72',
199
+ 'height' => '8',
200
+ 'description' => __( 'This is footer column 3 in the <i>Modern (Premium)</i> template', 'woocommerce-pdf-invoices-packing-slips' ),
201
+ 'translatable' => true,
202
+ )
203
+ ),
204
+ );
205
+
206
+ // allow plugins to alter settings fields
207
+ $settings_fields = apply_filters( 'wpo_wcpdf_settings_fields_general', $settings_fields, $page, $option_group, $option_name );
208
+ WPO_WCPDF()->settings->add_settings_fields( $settings_fields, $page, $option_group, $option_name );
209
+ return;
210
+ }
211
+
212
+ /**
213
+ * List templates in plugin folder, theme folder & child theme folder
214
+ * @return array template path => template name
215
+ */
216
+ public function find_templates() {
217
+ $installed_templates = array();
218
+
219
+ // get base paths
220
+ $template_base_path = ( defined( 'WC_TEMPLATE_PATH' ) ? WC_TEMPLATE_PATH : $GLOBALS['woocommerce']->template_url );
221
+ $template_base_path = untrailingslashit( $template_base_path );
222
+ $template_paths = array (
223
+ // note the order: child-theme before theme, so that array_unique filters out parent doubles
224
+ 'default' => WPO_WCPDF()->plugin_path() . '/templates/',
225
+ 'child-theme' => get_stylesheet_directory() . "/{$template_base_path}/pdf/",
226
+ 'theme' => get_template_directory() . "/{$template_base_path}/pdf/",
227
+ );
228
+
229
+ $template_paths = apply_filters( 'wpo_wcpdf_template_paths', $template_paths );
230
+
231
+ foreach ($template_paths as $template_source => $template_path) {
232
+ $dirs = (array) glob( $template_path . '*' , GLOB_ONLYDIR);
233
+
234
+ foreach ($dirs as $dir) {
235
+ // we're stripping abspath to make the plugin settings more portable
236
+ $forwardslash_abspath = str_replace('\\','/', ABSPATH);
237
+ $forwardslash_dir = str_replace('\\','/', $dir);
238
+ $installed_templates[ str_replace( $forwardslash_abspath, '', $forwardslash_dir ) ] = basename($dir);
239
+ }
240
+ }
241
+
242
+ // remove parent doubles
243
+ $installed_templates = array_unique($installed_templates);
244
+
245
+ if (empty($installed_templates)) {
246
+ // fallback to Simple template for servers with glob() disabled
247
+ $simple_template_path = str_replace( ABSPATH, '', $template_paths['default'] . 'Simple' );
248
+ $installed_templates[$simple_template_path] = 'Simple';
249
+ }
250
+
251
+ return apply_filters( 'wpo_wcpdf_templates', $installed_templates );
252
+ }
253
+
254
+ }
255
+
256
+ endif; // class_exists
257
+
258
+ return new Settings_General();
includes/class-wcpdf-settings.php CHANGED
@@ -1,1430 +1,205 @@
1
  <?php
2
- defined( 'ABSPATH' ) or exit;
3
 
4
- /**
5
- * Settings class
6
- */
7
- if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
8
 
9
- class WooCommerce_PDF_Invoices_Settings {
10
-
11
- public $options_page_hook;
12
- public $general_settings;
13
- public $template_settings;
14
 
15
- public function __construct() {
16
- add_action( 'admin_menu', array( &$this, 'menu' ) ); // Add menu.
17
- add_action( 'admin_init', array( &$this, 'init_settings' ) ); // Registers settings
18
- add_filter( 'option_page_capability_wpo_wcpdf_template_settings', array( &$this, 'settings_capabilities' ) );
19
- add_filter( 'option_page_capability_wpo_wcpdf_general_settings', array( &$this, 'settings_capabilities' ) );
20
- add_action( 'admin_enqueue_scripts', array( &$this, 'load_scripts_styles' ) ); // Load scripts
21
-
22
- // Add links to WordPress plugins page
23
- add_filter( 'plugin_action_links_'.WooCommerce_PDF_Invoices::$plugin_basename, array( &$this, 'wpo_wcpdf_add_settings_link' ) );
24
- add_filter( 'plugin_row_meta', array( $this, 'add_support_links' ), 10, 2 );
25
-
26
- $this->general_settings = get_option('wpo_wcpdf_general_settings');
27
- $this->template_settings = get_option('wpo_wcpdf_template_settings');
28
 
29
- // WooCommerce Order Status & Actions Manager emails compatibility
30
- add_filter( 'wpo_wcpdf_wc_emails', array( $this, 'wc_order_status_actions_emails' ), 10, 1 );
31
- }
32
 
33
- public function menu() {
34
- $parent_slug = 'woocommerce';
35
-
36
- $this->options_page_hook = add_submenu_page(
37
- $parent_slug,
38
- __( 'PDF Invoices', 'wpo_wcpdf' ),
39
- __( 'PDF Invoices', 'wpo_wcpdf' ),
40
- 'manage_woocommerce',
41
- 'wpo_wcpdf_options_page',
42
- array( $this, 'settings_page' )
43
- );
44
- }
45
-
46
- /**
47
- * Set capability for settings page
48
- */
49
- public function settings_capabilities() {
50
- return 'manage_woocommerce';
51
- }
52
-
53
- /**
54
- * Styles for settings page
55
- */
56
- public function load_scripts_styles ( $hook ) {
57
- if( $hook != $this->options_page_hook )
58
- return;
59
-
60
- wp_enqueue_script(
61
- 'wcpdf-upload-js',
62
- plugins_url( 'js/media-upload.js' , dirname(__FILE__) ),
63
- array( 'jquery' ),
64
- WooCommerce_PDF_Invoices::$version
65
- );
66
 
67
- wp_enqueue_style(
68
- 'wpo-wcpdf',
69
- WooCommerce_PDF_Invoices::$plugin_url . 'css/style.css',
70
- array(),
71
- WooCommerce_PDF_Invoices::$version
72
- );
73
- wp_enqueue_media();
74
- }
75
-
76
- /**
77
- * Add settings link to plugins page
78
- */
79
- public function wpo_wcpdf_add_settings_link( $links ) {
80
- $settings_link = '<a href="admin.php?page=wpo_wcpdf_options_page">'. __( 'Settings', 'woocommerce' ) . '</a>';
81
- array_push( $links, $settings_link );
82
- return $links;
83
- }
84
-
85
- /**
86
- * Add various support links to plugin page
87
- * after meta (version, authors, site)
88
- */
89
- public function add_support_links( $links, $file ) {
90
- if ( !current_user_can( 'install_plugins' ) ) {
91
- return $links;
92
- }
93
-
94
- if ( $file == WooCommerce_PDF_Invoices::$plugin_basename ) {
95
- // $links[] = '<a href="..." target="_blank" title="' . __( '...', 'wpo_wcpdf' ) . '">' . __( '...', 'wpo_wcpdf' ) . '</a>';
96
- }
97
- return $links;
98
- }
99
-
100
- public function settings_page() {
101
- $settings_tabs = apply_filters( 'wpo_wcpdf_settings_tabs', array (
102
- 'general' => __('General','wpo_wcpdf'),
103
- 'template' => __('Template','wpo_wcpdf'),
104
- )
105
- );
106
 
107
- // add status tab last in row
108
- $settings_tabs['debug'] = __('Status','wpo_wcpdf');
109
 
110
- $active_tab = isset( $_GET[ 'tab' ] ) ? $_GET[ 'tab' ] : 'general';
 
 
 
 
111
 
112
- ?>
113
- <script type="text/javascript">
114
- jQuery( function( $ ) {
115
- $("#footer-thankyou").html("If you like <strong>WooCommerce PDF Invoices & Packing Slips</strong> please leave us a <a href='https://wordpress.org/support/view/plugin-reviews/woocommerce-pdf-invoices-packing-slips?rate=5#postform'>★★★★★</a> rating. A huge thank you in advance!");
116
- });
117
- </script>
118
- <div class="wrap">
119
- <div class="icon32" id="icon-options-general"><br /></div>
120
- <h2><?php _e( 'WooCommerce PDF Invoices', 'wpo_wcpdf' ); ?></h2>
121
- <h2 class="nav-tab-wrapper">
122
- <?php
123
- foreach ($settings_tabs as $tab_slug => $tab_title ) {
124
- printf('<a href="?page=wpo_wcpdf_options_page&tab=%1$s" class="nav-tab nav-tab-%1$s %2$s">%3$s</a>', $tab_slug, (($active_tab == $tab_slug) ? 'nav-tab-active' : ''), $tab_title);
125
- }
126
- ?>
127
- </h2>
128
 
129
- <?php
130
- do_action( 'wpo_wcpdf_before_settings_page', $active_tab );
131
 
132
- // save or check option to hide extensions ad
133
- if ( isset( $_GET['wpo_wcpdf_hide_extensions_ad'] ) ) {
134
- update_option( 'wpo_wcpdf_hide_extensions_ad', true );
135
- $hide_ad = true;
136
- } else {
137
- $hide_ad = get_option( 'wpo_wcpdf_hide_extensions_ad' );
138
- }
139
-
140
- if ( !$hide_ad && !( class_exists('WooCommerce_PDF_IPS_Pro') && class_exists('WooCommerce_PDF_IPS_Dropbox') && class_exists('WooCommerce_PDF_IPS_Templates') && class_exists('WooCommerce_Ext_PrintOrders') ) ) {
141
- include('wcpdf-extensions.php');
142
- }
143
 
144
- ?>
145
- <form method="post" action="options.php" id="wpo-wcpdf-settings">
146
- <?php
147
- do_action( 'wpo_wcpdf_before_settings', $active_tab );
148
- settings_fields( 'wpo_wcpdf_'.$active_tab.'_settings' );
149
- do_settings_sections( 'wpo_wcpdf_'.$active_tab.'_settings' );
150
- do_action( 'wpo_wcpdf_after_settings', $active_tab );
151
-
152
- submit_button();
153
- ?>
154
-
155
- </form>
156
- <?php
157
-
158
- if ( $active_tab=='debug' ) {
159
- $this->status_page();
160
- }
161
-
162
- do_action( 'wpo_wcpdf_after_settings_page', $active_tab ); ?>
163
-
164
- </div>
165
-
166
- <?php
167
- }
168
-
169
- public function status_page() {
170
- ?>
171
- <?php include('dompdf-status.php'); ?>
172
- <?php
173
- }
174
-
175
- /**
176
- * User settings.
177
- *
178
- */
179
 
180
- public function init_settings() {
181
- global $woocommerce, $wpo_wcpdf;
182
-
183
- // Whether a third-party plugin claims responsibility for generating invoice numbers
184
- $invoicenumber_thirdparty = apply_filters('woocommerce_invoice_number_by_plugin', false);
185
-
186
- /**************************************/
187
- /*********** GENERAL SETTINGS *********/
188
- /**************************************/
189
-
190
- $option = 'wpo_wcpdf_general_settings';
191
-
192
- // Create option in wp_options.
193
- if ( false === get_option( $option ) ) {
194
- $this->default_settings( $option );
195
- }
196
-
197
- // Section.
198
- add_settings_section(
199
- 'general_settings',
200
- __( 'General settings', 'wpo_wcpdf' ),
201
- array( &$this, 'section_options_callback' ),
202
- $option
203
- );
204
-
205
- add_settings_field(
206
- 'download_display',
207
- __( 'How do you want to view the PDF?', 'wpo_wcpdf' ),
208
- array( &$this, 'select_element_callback' ),
209
- $option,
210
- 'general_settings',
211
- array(
212
- 'menu' => $option,
213
- 'id' => 'download_display',
214
- 'options' => array(
215
- 'download' => __( 'Download the PDF' , 'wpo_wcpdf' ),
216
- 'display' => __( 'Open the PDF in a new browser tab/window' , 'wpo_wcpdf' ),
217
- ),
218
- )
219
- );
220
-
221
- $tmp_path = $wpo_wcpdf->export->tmp_path( 'attachments' );
222
- $tmp_path_check = !is_writable( $tmp_path );
223
-
224
- $wc_emails = array(
225
- 'new_order' => __( 'Admin New Order email' , 'wpo_wcpdf' ),
226
- 'processing' => __( 'Customer Processing Order email' , 'wpo_wcpdf' ),
227
- 'completed' => __( 'Customer Completed Order email' , 'wpo_wcpdf' ),
228
- 'customer_invoice' => __( 'Customer Invoice email' , 'wpo_wcpdf' ),
229
- );
230
-
231
- // load custom emails
232
- $extra_emails = $this->get_wc_emails();
233
- $wc_emails = array_merge( $wc_emails, $extra_emails );
234
-
235
- add_settings_field(
236
- 'email_pdf',
237
- __( 'Attach invoice to:', 'wpo_wcpdf' ),
238
- array( &$this, 'multiple_checkbox_element_callback' ),
239
- $option,
240
- 'general_settings',
241
- array(
242
- 'menu' => $option,
243
- 'id' => 'email_pdf',
244
- 'options' => apply_filters( 'wpo_wcpdf_wc_emails', $wc_emails ),
245
- 'description' => $tmp_path_check ? '<span class="wpo-warning">' . sprintf( __( 'It looks like the temp folder (<code>%s</code>) is not writable, check the permissions for this folder! Without having write access to this folder, the plugin will not be able to email invoices.', 'wpo_wcpdf' ), $tmp_path ).'</span>':'',
246
- )
247
- );
248
-
249
- add_settings_field(
250
- 'disable_free',
251
- __( 'Disable for free products', 'wpo_wcpdf' ),
252
- array( &$this, 'checkbox_element_callback' ),
253
- $option,
254
- 'general_settings',
255
- array(
256
- 'menu' => $option,
257
- 'id' => 'disable_free',
258
- 'description' => __( "Disable automatic creation/attachment of invoices when only free products are ordered", 'wpo_wcpdf' ),
259
- )
260
- );
261
-
262
- // Section.
263
- add_settings_section(
264
- 'interface',
265
- __( 'Interface', 'wpo_wcpdf' ),
266
- array( &$this, 'section_options_callback' ),
267
- $option
268
- );
269
-
270
- // $documents = array(
271
- // 'invoice' => __( 'Invoice', 'wpo_wcpdf' ),
272
- // 'packing-slip' => __( 'Packing Slip', 'wpo_wcpdf' ),
273
- // );
274
-
275
- // $contexts = array(
276
- // 'orders-list' => __( 'Orders list', 'wpo_wcpdf' ),
277
- // 'orders-bulk' => __( 'Bulk order actions', 'wpo_wcpdf' ),
278
- // 'order-single' => __( 'Single order page', 'wpo_wcpdf' ),
279
- // 'my-account' => __( 'My Account page', 'wpo_wcpdf' ),
280
- // );
281
-
282
- // add_settings_field(
283
- // 'buttons',
284
- // __( 'Show download buttons', 'wpo_wcpdf' ),
285
- // array( &$this, 'checkbox_table_callback' ),
286
- // $option,
287
- // 'interface',
288
- // array(
289
- // 'menu' => $option,
290
- // 'id' => 'buttons',
291
- // 'rows' => $contexts,
292
- // 'columns' => apply_filters( 'wpo_wcpdf_documents_buttons', $documents ),
293
- // )
294
- // );
295
-
296
- // get list of WooCommerce statuses
297
- if ( version_compare( WOOCOMMERCE_VERSION, '2.2', '<' ) ) {
298
- $statuses = (array) get_terms( 'shop_order_status', array( 'hide_empty' => 0, 'orderby' => 'id' ) );
299
- foreach ( $statuses as $status ) {
300
- $order_statuses[esc_attr( $status->slug )] = esc_html__( $status->name, 'woocommerce' );
301
- }
302
- } else {
303
- $statuses = wc_get_order_statuses();
304
- foreach ( $statuses as $status_slug => $status ) {
305
- $status_slug = 'wc-' === substr( $status_slug, 0, 3 ) ? substr( $status_slug, 3 ) : $status_slug;
306
- $order_statuses[$status_slug] = $status;
307
- }
308
-
309
- }
310
-
311
- add_settings_field(
312
- 'my_account_buttons',
313
- __( 'Allow My Account invoice download', 'wpo_wcpdf' ),
314
- array( &$this, 'select_element_callback' ),
315
- $option,
316
- 'interface',
317
- array(
318
- 'menu' => $option,
319
- 'id' => 'my_account_buttons',
320
- 'options' => array(
321
- 'available' => __( 'Only when an invoice is already created/emailed' , 'wpo_wcpdf' ),
322
- 'custom' => __( 'Only for specific order statuses (define below)' , 'wpo_wcpdf' ),
323
- 'always' => __( 'Always' , 'wpo_wcpdf' ),
324
- 'never' => __( 'Never' , 'wpo_wcpdf' ),
325
- ),
326
- 'custom' => array(
327
- 'type' => 'multiple_checkbox_element_callback',
328
- 'args' => array(
329
- 'menu' => $option,
330
- 'id' => 'my_account_restrict',
331
- 'options' => $order_statuses,
332
- ),
333
- ),
334
- )
335
- );
336
-
337
- add_settings_field(
338
- 'invoice_number_column',
339
- __( 'Enable invoice number column in the orders list', 'wpo_wcpdf' ),
340
- array( &$this, 'checkbox_element_callback' ),
341
- $option,
342
- 'interface',
343
- array(
344
- 'menu' => $option,
345
- 'id' => 'invoice_number_column',
346
- )
347
- );
348
-
349
- // Register settings.
350
- register_setting( $option, $option, array( &$this, 'validate_options' ) );
351
-
352
- $option_values = get_option($option);
353
- // convert old 'statusless' setting to new status array
354
- if ( isset( $option_values['email_pdf'] ) && !is_array( $option_values['email_pdf'] ) ) {
355
- $default_status = apply_filters( 'wpo_wcpdf_attach_to_status', 'completed' );
356
- $option_values['email_pdf'] = array (
357
- $default_status => 1,
358
- 'customer_invoice' => 1,
359
- );
360
- update_option( $option, $option_values );
361
- }
362
-
363
- /**************************************/
364
- /********** TEMPLATE SETTINGS *********/
365
- /**************************************/
366
-
367
- $option = 'wpo_wcpdf_template_settings';
368
-
369
- // Create option in wp_options.
370
- if ( false === get_option( $option ) ) {
371
- $this->default_settings( $option );
372
- }
373
-
374
- // Section.
375
- add_settings_section(
376
- 'template_settings',
377
- __( 'PDF Template settings', 'wpo_wcpdf' ),
378
- array( &$this, 'section_options_callback' ),
379
- $option
380
- );
381
-
382
-
383
- $theme_path = get_stylesheet_directory() . '/' . $wpo_wcpdf->export->template_base_path;
384
- $theme_template_path = substr($theme_path, strpos($theme_path, 'wp-content')) . 'yourtemplate';
385
- $plugin_template_path = 'wp-content/plugins/woocommerce-pdf-invoices-packing-slips/templates/pdf/Simple';
386
-
387
- add_settings_field(
388
- 'template_path',
389
- __( 'Choose a template', 'wpo_wcpdf' ),
390
- array( &$this, 'template_select_element_callback' ),
391
- $option,
392
- 'template_settings',
393
- array(
394
- 'menu' => $option,
395
- 'id' => 'template_path',
396
- 'options' => $this->find_templates(),
397
- 'description' => sprintf( __( 'Want to use your own template? Copy all the files from <code>%s</code> to your (child) theme in <code>%s</code> to customize them' , 'wpo_wcpdf' ), $plugin_template_path, $theme_template_path),
398
- )
399
- );
400
-
401
- add_settings_field(
402
- 'paper_size',
403
- __( 'Paper size', 'wpo_wcpdf' ),
404
- array( &$this, 'select_element_callback' ),
405
- $option,
406
- 'template_settings',
407
- array(
408
- 'menu' => $option,
409
- 'id' => 'paper_size',
410
- 'options' => apply_filters( 'wpo_wcpdf_template_settings_paper_size', array(
411
- 'a4' => __( 'A4' , 'wpo_wcpdf' ),
412
- 'letter' => __( 'Letter' , 'wpo_wcpdf' ),
413
- ) ),
414
- )
415
- );
416
-
417
- add_settings_field(
418
- 'header_logo',
419
- __( 'Shop header/logo', 'wpo_wcpdf' ),
420
- array( &$this, 'media_upload_callback' ),
421
- $option,
422
- 'template_settings',
423
- array(
424
- 'menu' => $option,
425
- 'id' => 'header_logo',
426
- 'uploader_title' => __( 'Select or upload your invoice header/logo', 'wpo_wcpdf' ),
427
- 'uploader_button_text' => __( 'Set image', 'wpo_wcpdf' ),
428
- 'remove_button_text' => __( 'Remove image', 'wpo_wcpdf' ),
429
- //'description' => __( '...', 'wpo_wcpdf' ),
430
- )
431
- );
432
-
433
- add_settings_field(
434
- 'shop_name',
435
- __( 'Shop Name', 'wpo_wcpdf' ),
436
- array( &$this, 'text_element_callback' ),
437
- $option,
438
- 'template_settings',
439
- array(
440
- 'menu' => $option,
441
- 'id' => 'shop_name',
442
- 'size' => '72',
443
- 'translatable' => true,
444
- )
445
- );
446
-
447
- add_settings_field(
448
- 'shop_address',
449
- __( 'Shop Address', 'wpo_wcpdf' ),
450
- array( &$this, 'textarea_element_callback' ),
451
- $option,
452
- 'template_settings',
453
- array(
454
- 'menu' => $option,
455
- 'id' => 'shop_address',
456
- 'width' => '72',
457
- 'height' => '8',
458
- 'translatable' => true,
459
- //'description' => __( '...', 'wpo_wcpdf' ),
460
- )
461
- );
462
-
463
- add_settings_field(
464
- 'footer',
465
- __( 'Footer: terms & conditions, policies, etc.', 'wpo_wcpdf' ),
466
- array( &$this, 'textarea_element_callback' ),
467
- $option,
468
- 'template_settings',
469
- array(
470
- 'menu' => $option,
471
- 'id' => 'footer',
472
- 'width' => '72',
473
- 'height' => '4',
474
- 'translatable' => true,
475
- //'description' => __( '...', 'wpo_wcpdf' ),
476
- )
477
- );
478
-
479
- // Section.
480
- add_settings_section(
481
- 'invoice',
482
- __( 'Invoice', 'wpo_wcpdf' ),
483
- array( &$this, 'section_options_callback' ),
484
- $option
485
- );
486
-
487
- add_settings_field(
488
- 'invoice_shipping_address',
489
- __( 'Display shipping address', 'wpo_wcpdf' ),
490
- array( &$this, 'checkbox_element_callback' ),
491
- $option,
492
- 'invoice',
493
- array(
494
- 'menu' => $option,
495
- 'id' => 'invoice_shipping_address',
496
- 'description' => __( 'Display shipping address on invoice (in addition to the default billing address) if different from billing address', 'wpo_wcpdf' ),
497
- )
498
- );
499
-
500
- add_settings_field(
501
- 'invoice_email',
502
- __( 'Display email address', 'wpo_wcpdf' ),
503
- array( &$this, 'checkbox_element_callback' ),
504
- $option,
505
- 'invoice',
506
- array(
507
- 'menu' => $option,
508
- 'id' => 'invoice_email',
509
- )
510
- );
511
-
512
- add_settings_field(
513
- 'invoice_phone',
514
- __( 'Display phone number', 'wpo_wcpdf' ),
515
- array( &$this, 'checkbox_element_callback' ),
516
- $option,
517
- 'invoice',
518
- array(
519
- 'menu' => $option,
520
- 'id' => 'invoice_phone',
521
- )
522
- );
523
-
524
- add_settings_field(
525
- 'display_date',
526
- __( 'Display invoice date', 'wpo_wcpdf' ),
527
- array( &$this, 'checkbox_element_callback' ),
528
- $option,
529
- 'invoice',
530
- array(
531
- 'menu' => $option,
532
- 'id' => 'display_date',
533
- 'value' => 'invoice_date',
534
- )
535
- );
536
 
537
- if ($invoicenumber_thirdparty) {
538
- $invoice_number_desc = __( 'Invoice numbers are created by a third-party extension.', 'yith-woocommerce-pdf-invoice');
539
- $config_link = esc_attr(apply_filters('woocommerce_invoice_number_configuration_link', null));
540
- if ($config_link) {
541
- $invoice_number_desc .= ' '.sprintf(__( 'Configure it <a href="%s">here</a>.', 'yith-woocommerce-pdf-invoice'), $config_link);
542
- }
543
- $invoice_number_desc = '<i>'.$invoice_number_desc.'</i>';
544
- } else {
545
- $invoice_number_desc = null;
546
- }
547
-
548
- add_settings_field(
549
- 'display_number',
550
- $invoicenumber_thirdparty ? __( 'Display invoice number', 'wpo_wcpdf' ) : __( 'Display built-in sequential invoice number', 'wpo_wcpdf' ),
551
- array( &$this, 'checkbox_element_callback' ),
552
- $option,
553
- 'invoice',
554
- array(
555
- 'menu' => $option,
556
- 'id' => 'display_number',
557
- 'value' => 'invoice_number',
558
- 'description' => $invoice_number_desc,
559
- )
560
- );
561
-
562
- if (!$invoicenumber_thirdparty) {
563
- // invoice number is stored separately for direct retrieval
564
- register_setting( $option, 'wpo_wcpdf_next_invoice_number', array( &$this, 'validate_options' ) );
565
- add_settings_field(
566
- 'next_invoice_number',
567
- __( 'Next invoice number (without prefix/suffix etc.)', 'wpo_wcpdf' ),
568
- array( &$this, 'singular_text_element_callback' ),
569
- $option,
570
- 'invoice',
571
- array(
572
- 'menu' => 'wpo_wcpdf_next_invoice_number',
573
- 'id' => 'next_invoice_number',
574
- 'size' => '10',
575
- 'description' => __( 'This is the number that will be used on the next invoice that is created. By default, numbering starts from the WooCommerce Order Number of the first invoice that is created and increases for every new invoice. Note that if you override this and set it lower than the highest (PDF) invoice number, this could create double invoice numbers!', 'wpo_wcpdf' ),
576
- )
577
- );
578
-
579
- // first time invoice number
580
- $next_invoice_number = get_option('wpo_wcpdf_next_invoice_number');
581
- // determine highest invoice number if option not set
582
- if ( !isset( $next_invoice_number ) ) {
583
- // Based on code from WooCommerce Sequential Order Numbers
584
- global $wpdb;
585
- // get highest invoice_number in postmeta table
586
- $max_invoice_number = $wpdb->get_var( 'SELECT max(cast(meta_value as UNSIGNED)) from ' . $wpdb->postmeta . ' where meta_key="_wcpdf_invoice_number"' );
587
-
588
- if ( !empty($max_invoice_number) ) {
589
- $next_invoice_number = $max_invoice_number+1;
590
- } else {
591
- $next_invoice_number = '';
592
- }
593
-
594
- update_option( 'wpo_wcpdf_next_invoice_number', $next_invoice_number );
595
- }
596
-
597
- add_settings_field(
598
- 'invoice_number_formatting',
599
- __( 'Invoice number format', 'wpo_wcpdf' ),
600
- array( &$this, 'invoice_number_formatting_callback' ),
601
- $option,
602
- 'invoice',
603
- array(
604
- 'menu' => $option,
605
- 'id' => 'invoice_number_formatting',
606
- 'fields' => array(
607
- 'prefix' => array(
608
- 'title' => __( 'Prefix' , 'wpo_wcpdf' ),
609
- 'size' => 20,
610
- 'description' => __( 'to use the invoice year and/or month, use [invoice_year] or [invoice_month] respectively' , 'wpo_wcpdf' ),
611
- ),
612
- 'suffix' => array(
613
- 'title' => __( 'Suffix' , 'wpo_wcpdf' ),
614
- 'size' => 20,
615
- 'description' => '',
616
- ),
617
- 'padding' => array(
618
- 'title' => __( 'Padding' , 'wpo_wcpdf' ),
619
- 'size' => 2,
620
- 'description' => __( 'enter the number of digits here - enter "6" to display 42 as 000042' , 'wpo_wcpdf' ),
621
- ),
622
- ),
623
- 'description' => __( 'note: if you have already created a custom invoice number format with a filter, the above settings will be ignored' , 'wpo_wcpdf' ),
624
- )
625
- );
626
-
627
- add_settings_field(
628
- 'yearly_reset_invoice_number',
629
- __( 'Reset invoice number yearly', 'wpo_wcpdf' ),
630
- array( &$this, 'checkbox_element_callback' ),
631
- $option,
632
- 'invoice',
633
- array(
634
- 'menu' => $option,
635
- 'id' => 'yearly_reset_invoice_number',
636
- )
637
- );
638
- } // End if ($invoicenumber_thirdparty)
639
-
640
- add_settings_field(
641
- 'currency_font',
642
- __( 'Extended currency symbol support', 'wpo_wcpdf' ),
643
- array( &$this, 'checkbox_element_callback' ),
644
- $option,
645
- 'invoice',
646
- array(
647
- 'menu' => $option,
648
- 'id' => 'currency_font',
649
- 'description' => __( 'Enable this if your currency symbol is not displaying properly' , 'wpo_wcpdf' ),
650
- )
651
- );
652
-
653
- // Section.
654
- add_settings_section(
655
- 'packing_slip',
656
- __( 'Packing Slip', 'wpo_wcpdf' ),
657
- array( &$this, 'section_options_callback' ),
658
- $option
659
- );
660
-
661
- add_settings_field(
662
- 'packing_slip_billing_address',
663
- __( 'Display billing address', 'wpo_wcpdf' ),
664
- array( &$this, 'checkbox_element_callback' ),
665
- $option,
666
- 'packing_slip',
667
- array(
668
- 'menu' => $option,
669
- 'id' => 'packing_slip_billing_address',
670
- 'description' => __( 'Display billing address on packing slip (in addition to the default shipping address) if different from shipping address', 'wpo_wcpdf' ),
671
- )
672
- );
673
-
674
- add_settings_field(
675
- 'packing_slip_email',
676
- __( 'Display email address', 'wpo_wcpdf' ),
677
- array( &$this, 'checkbox_element_callback' ),
678
- $option,
679
- 'packing_slip',
680
- array(
681
- 'menu' => $option,
682
- 'id' => 'packing_slip_email',
683
- )
684
- );
685
-
686
- add_settings_field(
687
- 'packing_slip_phone',
688
- __( 'Display phone number', 'wpo_wcpdf' ),
689
- array( &$this, 'checkbox_element_callback' ),
690
- $option,
691
- 'packing_slip',
692
- array(
693
- 'menu' => $option,
694
- 'id' => 'packing_slip_phone',
695
- )
696
- );
697
-
698
- // Section.
699
- add_settings_section(
700
- 'extra_template_fields',
701
- __( 'Extra template fields', 'wpo_wcpdf' ),
702
- array( &$this, 'custom_fields_section' ),
703
- $option
704
- );
705
-
706
- add_settings_field(
707
- 'extra_1',
708
- __( 'Extra field 1', 'wpo_wcpdf' ),
709
- array( &$this, 'textarea_element_callback' ),
710
- $option,
711
- 'extra_template_fields',
712
- array(
713
- 'menu' => $option,
714
- 'id' => 'extra_1',
715
- 'width' => '72',
716
- 'height' => '8',
717
- 'description' => __( 'This is footer column 1 in the <i>Modern (Premium)</i> template', 'wpo_wcpdf' ),
718
- 'translatable' => true,
719
- )
720
- );
721
-
722
- add_settings_field(
723
- 'extra_2',
724
- __( 'Extra field 2', 'wpo_wcpdf' ),
725
- array( &$this, 'textarea_element_callback' ),
726
- $option,
727
- 'extra_template_fields',
728
- array(
729
- 'menu' => $option,
730
- 'id' => 'extra_2',
731
- 'width' => '72',
732
- 'height' => '8',
733
- 'description' => __( 'This is footer column 2 in the <i>Modern (Premium)</i> template', 'wpo_wcpdf' ),
734
- 'translatable' => true,
735
- )
736
- );
737
-
738
- add_settings_field(
739
- 'extra_3',
740
- __( 'Extra field 3', 'wpo_wcpdf' ),
741
- array( &$this, 'textarea_element_callback' ),
742
- $option,
743
- 'extra_template_fields',
744
- array(
745
- 'menu' => $option,
746
- 'id' => 'extra_3',
747
- 'width' => '72',
748
- 'height' => '8',
749
- 'description' => __( 'This is footer column 3 in the <i>Modern (Premium)</i> template', 'wpo_wcpdf' ),
750
- 'translatable' => true,
751
- )
752
- );
753
-
754
- // Register settings.
755
- register_setting( $option, $option, array( &$this, 'validate_options' ) );
756
-
757
- /**************************************/
758
- /******** DEBUG/STATUS SETTINGS *******/
759
- /**************************************/
760
-
761
- $option = 'wpo_wcpdf_debug_settings';
762
 
763
- // Create option in wp_options.
764
- if ( false === get_option( $option ) ) {
765
- $this->default_settings( $option );
766
- }
767
-
768
- // Section.
769
- add_settings_section(
770
- 'debug_settings',
771
- __( 'Debug settings', 'wpo_wcpdf' ),
772
- array( &$this, 'debug_section' ),
773
- $option
774
- );
775
-
776
- add_settings_field(
777
- 'enable_debug',
778
- __( 'Enable debug output', 'wpo_wcpdf' ),
779
- array( &$this, 'checkbox_element_callback' ),
780
- $option,
781
- 'debug_settings',
782
- array(
783
- 'menu' => $option,
784
- 'id' => 'enable_debug',
785
- 'description' => __( "Enable this option to output plugin errors if you're getting a blank page or other PDF generation issues", 'wpo_wcpdf' ),
786
- )
787
- );
788
-
789
- add_settings_field(
790
- 'html_output',
791
- __( 'Output to HTML', 'wpo_wcpdf' ),
792
- array( &$this, 'checkbox_element_callback' ),
793
- $option,
794
- 'debug_settings',
795
- array(
796
- 'menu' => $option,
797
- 'id' => 'html_output',
798
- 'description' => __( 'Send the template output as HTML to the browser instead of creating a PDF.', 'wpo_wcpdf' ),
799
- )
800
- );
801
-
802
- add_settings_field(
803
- 'old_tmp',
804
- __( 'Use old tmp folder', 'wpo_wcpdf' ),
805
- array( &$this, 'checkbox_element_callback' ),
806
- $option,
807
- 'debug_settings',
808
- array(
809
- 'menu' => $option,
810
- 'id' => 'old_tmp',
811
- 'description' => __( 'Before version 1.5 of PDF Invoices, temporary files were stored in the plugin folder. This setting is only intended for backwards compatibility, not recommended on new installs!', 'wpo_wcpdf' ),
812
- )
813
- );
814
-
815
- // Register settings.
816
- register_setting( $option, $option, array( &$this, 'validate_options' ) );
817
 
818
- }
819
-
820
- /**
821
- * get all emails registered in WooCommerce
822
- * @param boolean $remove_defaults switch to remove default woocommerce emails
823
- * @return array $emails list of all email ids/slugs and names
824
- */
825
- public function get_wc_emails ( $remove_defaults = true ) {
826
- // get emails from WooCommerce
827
- global $woocommerce;
828
- $mailer = $woocommerce->mailer();
829
- $wc_emails = $mailer->get_emails();
830
-
831
- $default_emails = array(
832
- 'new_order',
833
- 'customer_processing_order',
834
- 'customer_completed_order',
835
- 'customer_invoice',
836
- 'customer_note',
837
- 'customer_reset_password',
838
- 'customer_new_account'
839
  );
840
 
841
- $emails = array();
842
- foreach ($wc_emails as $name => $template) {
843
- if ( !( $remove_defaults && in_array( $template->id, $default_emails ) ) ) {
844
- $emails[$template->id] = $template->title;
845
- }
846
- }
847
-
848
- return $emails;
849
- }
850
-
851
- /**
852
- * WooCommerce Order Status & Actions Manager emails compatibility
853
- */
854
- public function wc_order_status_actions_emails ( $emails ) {
855
- // check if WC_Custom_Status class is loaded!
856
- if (class_exists('WC_Custom_Status')) {
857
- // get list of custom statuses from WooCommerce Custom Order Status & Actions
858
- // status slug => status name
859
- $custom_statuses = WC_Custom_Status::get_status_list_names();
860
- // append _email to slug (=email_id) and add to emails list
861
- foreach ($custom_statuses as $status_slug => $status_name) {
862
- $emails[$status_slug.'_email'] = $status_name;
863
- }
864
- }
865
- return $emails;
866
- }
867
-
868
- /**
869
- * Set default settings.
870
- */
871
- public function default_settings( $option ) {
872
- global $wpo_wcpdf;
873
-
874
- switch ( $option ) {
875
- case 'wpo_wcpdf_general_settings':
876
- $default = array(
877
- 'download_display' => 'download',
878
- );
879
- break;
880
- case 'wpo_wcpdf_template_settings':
881
- $default = array(
882
- 'paper_size' => 'a4',
883
- 'template_path' => $wpo_wcpdf->export->template_default_base_path . 'Simple',
884
- // 'invoice_shipping_address' => '1',
885
- );
886
- break;
887
- default:
888
- $default = array();
889
- break;
890
- }
891
-
892
- if ( false === get_option( $option ) ) {
893
- add_option( $option, $default );
894
- } else {
895
- update_option( $option, $default );
896
-
897
- }
898
- }
899
-
900
- // Text element callback.
901
- public function text_element_callback( $args ) {
902
- $menu = $args['menu'];
903
- $id = $args['id'];
904
- $size = isset( $args['size'] ) ? $args['size'] : '25';
905
- $class = isset( $args['translatable'] ) && $args['translatable'] === true ? 'translatable' : '';
906
-
907
- $options = get_option( $menu );
908
-
909
- if ( isset( $options[$id] ) ) {
910
- $current = $options[$id];
911
- } else {
912
- $current = isset( $args['default'] ) ? $args['default'] : '';
913
- }
914
-
915
- $html = sprintf( '<input type="text" id="%1$s" name="%2$s[%1$s]" value="%3$s" size="%4$s" class="%5$s"/>', $id, $menu, $current, $size, $class );
916
-
917
- // Displays option description.
918
- if ( isset( $args['description'] ) ) {
919
- $html .= sprintf( '<p class="description">%s</p>', $args['description'] );
920
- }
921
-
922
- echo $html;
923
  }
 
 
924
 
925
- // Single text option (not part of any settings array)
926
- public function singular_text_element_callback( $args ) {
927
- $menu = $args['menu'];
928
- $id = $args['id'];
929
- $size = isset( $args['size'] ) ? $args['size'] : '25';
930
- $class = isset( $args['translatable'] ) && $args['translatable'] === true ? 'translatable' : '';
931
-
932
- $option = get_option( $menu );
933
 
934
- if ( isset( $option ) ) {
935
- $current = $option;
936
- } else {
937
- $current = isset( $args['default'] ) ? $args['default'] : '';
938
- }
939
-
940
- $html = sprintf( '<input type="text" id="%1$s" name="%2$s" value="%3$s" size="%4$s" class="%5$s"/>', $id, $menu, $current, $size, $class );
941
-
942
- // Displays option description.
943
- if ( isset( $args['description'] ) ) {
944
- $html .= sprintf( '<p class="description">%s</p>', $args['description'] );
945
- }
946
-
947
- echo $html;
948
- }
949
 
950
- // Text element callback.
951
- public function textarea_element_callback( $args ) {
952
- $menu = $args['menu'];
953
- $id = $args['id'];
954
- $width = $args['width'];
955
- $height = $args['height'];
956
- $class = isset( $args['translatable'] ) && $args['translatable'] === true ? 'translatable' : '';
957
-
958
- $options = get_option( $menu );
959
-
960
- if ( isset( $options[$id] ) ) {
961
- $current = $options[$id];
962
- } else {
963
- $current = isset( $args['default'] ) ? $args['default'] : '';
964
- }
965
-
966
- $html = sprintf( '<textarea id="%1$s" name="%2$s[%1$s]" cols="%4$s" rows="%5$s" class="%6$s"/>%3$s</textarea>', $id, $menu, $current, $width, $height, $class );
967
-
968
- // Displays option description.
969
- if ( isset( $args['description'] ) ) {
970
- $html .= sprintf( '<p class="description">%s</p>', $args['description'] );
971
- }
972
-
973
- echo $html;
974
- }
975
-
976
-
977
- /**
978
- * Checkbox field callback.
979
- *
980
- * @param array $args Field arguments.
981
- *
982
- * @return string Checkbox field.
983
- */
984
- public function checkbox_element_callback( $args ) {
985
- $menu = $args['menu'];
986
- $id = $args['id'];
987
- $value = isset( $args['value'] ) ? $args['value'] : 1;
988
-
989
- $options = get_option( $menu );
990
-
991
- if ( isset( $options[$id] ) ) {
992
- $current = $options[$id];
993
- } else {
994
- $current = isset( $args['default'] ) ? $args['default'] : '';
995
- }
996
-
997
- $html = sprintf( '<input type="checkbox" id="%1$s" name="%2$s[%1$s]" value="%3$s"%4$s />', $id, $menu, $value, checked( $value, $current, false ) );
998
-
999
- // Displays option description.
1000
- if ( isset( $args['description'] ) ) {
1001
- $html .= sprintf( '<p class="description">%s</p>', $args['description'] );
1002
- }
1003
-
1004
- echo $html;
1005
- }
1006
-
1007
- /**
1008
- * Multiple Checkbox field callback.
1009
- *
1010
- * @param array $args Field arguments.
1011
- *
1012
- * @return string Checkbox field.
1013
- */
1014
- public function multiple_checkbox_element_callback( $args ) {
1015
- $menu = $args['menu'];
1016
- $id = $args['id'];
1017
-
1018
- $options = get_option( $menu );
1019
-
1020
-
1021
- foreach ( $args['options'] as $key => $label ) {
1022
- $current = ( isset( $options[$id][$key] ) ) ? $options[$id][$key] : '';
1023
- printf( '<input type="checkbox" id="%1$s[%2$s][%3$s]" name="%1$s[%2$s][%3$s]" value="1"%4$s /> %5$s<br/>', $menu, $id, $key, checked( 1, $current, false ), $label );
1024
- }
1025
-
1026
- // Displays option description.
1027
- if ( isset( $args['description'] ) ) {
1028
- printf( '<p class="description">%s</p>', $args['description'] );
1029
- }
1030
- }
1031
-
1032
- /**
1033
- * Checkbox fields table callback.
1034
- *
1035
- * @param array $args Field arguments.
1036
- *
1037
- * @return string Checkbox field.
1038
- */
1039
- public function checkbox_table_callback( $args ) {
1040
- $menu = $args['menu'];
1041
- $id = $args['id'];
1042
-
1043
- $options = get_option( $menu );
1044
-
1045
- $rows = $args['rows'];
1046
- $columns = $args['columns'];
1047
-
1048
- ?>
1049
- <table style="">
1050
- <tr>
1051
- <td style="padding:0 10px 5px 0;">&nbsp;</td>
1052
- <?php foreach ( $columns as $column => $title ) { ?>
1053
- <td style="padding:0 10px 5px 0;"><?php echo $title; ?></td>
1054
- <?php } ?>
1055
- </tr>
1056
- <tr>
1057
- <td style="padding: 0;">
1058
- <?php foreach ($rows as $row) {
1059
- echo $row.'<br/>';
1060
- } ?>
1061
- </td>
1062
- <?php foreach ( $columns as $column => $title ) { ?>
1063
- <td style="text-align:center; padding: 0;">
1064
- <?php foreach ( $rows as $row => $title ) {
1065
- $current = ( isset( $options[$id.'_'.$column][$row] ) ) ? $options[$id.'_'.$column][$row] : '';
1066
- $name = sprintf('%1$s[%2$s_%3$s][%4$s]', $menu, $id, $column, $row);
1067
- printf( '<input type="checkbox" id="%1$s" name="%1$s" value="1"%2$s /><br/>', $name, checked( 1, $current, false ) );
1068
- } ?>
1069
- </td>
1070
- <?php } ?>
1071
- </tr>
1072
- </table>
1073
-
1074
- <?php
1075
- // Displays option description.
1076
- if ( isset( $args['description'] ) ) {
1077
- printf( '<p class="description">%s</p>', $args['description'] );
1078
- }
1079
- }
1080
-
1081
- /**
1082
- * Select element callback.
1083
- *
1084
- * @param array $args Field arguments.
1085
- *
1086
- * @return string Select field.
1087
- */
1088
- public function select_element_callback( $args ) {
1089
- $menu = $args['menu'];
1090
- $id = $args['id'];
1091
-
1092
- $options = get_option( $menu );
1093
-
1094
- if ( isset( $options[$id] ) ) {
1095
- $current = $options[$id];
1096
- } else {
1097
- $current = isset( $args['default'] ) ? $args['default'] : '';
1098
- }
1099
-
1100
- printf( '<select id="%1$s" name="%2$s[%1$s]">', $id, $menu );
1101
-
1102
- foreach ( $args['options'] as $key => $label ) {
1103
- printf( '<option value="%s"%s>%s</option>', $key, selected( $current, $key, false ), $label );
1104
- }
1105
-
1106
- echo '</select>';
1107
-
1108
-
1109
- if (isset($args['custom'])) {
1110
- $custom = $args['custom'];
1111
-
1112
- $custom_id = $id.'_custom';
1113
-
1114
- printf( '<br/><br/><div id="%s" style="display:none;">', $custom_id );
1115
-
1116
- switch ($custom['type']) {
1117
- case 'text_element_callback':
1118
- $this->text_element_callback( $custom['args'] );
1119
- break;
1120
- case 'multiple_text_element_callback':
1121
- $this->multiple_text_element_callback( $custom['args'] );
1122
- break;
1123
- case 'multiple_checkbox_element_callback':
1124
- $this->multiple_checkbox_element_callback( $custom['args'] );
1125
- break;
1126
- default:
1127
- break;
1128
- }
1129
-
1130
- echo '</div>';
1131
-
1132
- ?>
1133
- <script type="text/javascript">
1134
- jQuery(document).ready(function($) {
1135
- function check_<?php echo $id; ?>_custom() {
1136
- var custom = $('#<?php echo $id; ?>').val();
1137
- if (custom == 'custom') {
1138
- $( '#<?php echo $custom_id; ?>').show();
1139
- } else {
1140
- $( '#<?php echo $custom_id; ?>').hide();
1141
- }
1142
- }
1143
-
1144
- check_<?php echo $id; ?>_custom();
1145
-
1146
- $( '#<?php echo $id; ?>' ).change(function() {
1147
- check_<?php echo $id; ?>_custom();
1148
- });
1149
-
1150
- });
1151
- </script>
1152
- <?php
1153
- }
1154
 
1155
- // Displays option description.
1156
- if ( isset( $args['description'] ) ) {
1157
- printf( '<p class="description">%s</p>', $args['description'] );
1158
- }
1159
 
1160
- }
1161
-
1162
- /**
1163
- * Displays a radio settings field
1164
- *
1165
- * @param array $args settings field args
1166
- */
1167
- public function radio_element_callback( $args ) {
1168
- $menu = $args['menu'];
1169
- $id = $args['id'];
1170
-
1171
- $options = get_option( $menu );
1172
-
1173
- if ( isset( $options[$id] ) ) {
1174
- $current = $options[$id];
1175
- } else {
1176
- $current = isset( $args['default'] ) ? $args['default'] : '';
1177
- }
1178
-
1179
- $html = '';
1180
- foreach ( $args['options'] as $key => $label ) {
1181
- $html .= sprintf( '<input type="radio" class="radio" id="%1$s[%2$s][%3$s]" name="%1$s[%2$s]" value="%3$s"%4$s />', $menu, $id, $key, checked( $current, $key, false ) );
1182
- $html .= sprintf( '<label for="%1$s[%2$s][%3$s]"> %4$s</label><br>', $menu, $id, $key, $label);
1183
- }
1184
-
1185
- // Displays option description.
1186
- if ( isset( $args['description'] ) ) {
1187
- $html .= sprintf( '<p class="description">%s</p>', $args['description'] );
1188
- }
1189
-
1190
- echo $html;
1191
- }
1192
 
1193
- /**
1194
- * Media upload callback.
1195
- *
1196
- * @param array $args Field arguments.
1197
- *
1198
- * @return string Media upload button & preview.
1199
- */
1200
- public function media_upload_callback( $args ) {
1201
- $menu = $args['menu'];
1202
- $id = $args['id'];
1203
- $options = get_option( $menu );
1204
-
1205
- if ( isset( $options[$id] ) ) {
1206
- $current = $options[$id];
1207
  } else {
1208
- $current = isset( $args['default'] ) ? $args['default'] : '';
1209
- }
1210
-
1211
- $uploader_title = $args['uploader_title'];
1212
- $uploader_button_text = $args['uploader_button_text'];
1213
- $remove_button_text = $args['remove_button_text'];
1214
-
1215
- $html = '';
1216
- if( !empty($current) ) {
1217
- $attachment = wp_get_attachment_image_src( $current, 'full', false );
1218
-
1219
- $attachment_src = $attachment[0];
1220
- $attachment_width = $attachment[1];
1221
- $attachment_height = $attachment[2];
1222
-
1223
- $attachment_resolution = round($attachment_height/(3/2.54));
1224
-
1225
- $html .= sprintf('<img src="%1$s" style="display:block" id="img-%4$s"/>', $attachment_src, $attachment_width, $attachment_height, $id );
1226
- $html .= '<div class="attachment-resolution"><p class="description">'.__('Image resolution').': '.$attachment_resolution.'dpi (default height = 3cm)</p></div>';
1227
- $html .= sprintf('<span class="button wpo_remove_image_button" data-input_id="%1$s">%2$s</span>', $id, $remove_button_text );
1228
  }
1229
 
1230
- $html .= sprintf( '<input id="%1$s" name="%2$s[%1$s]" type="hidden" value="%3$s" />', $id, $menu, $current );
1231
-
1232
- $html .= sprintf( '<span class="button wpo_upload_image_button %4$s" data-uploader_title="%1$s" data-uploader_button_text="%2$s" data-remove_button_text="%3$s" data-input_id="%4$s">%2$s</span>', $uploader_title, $uploader_button_text, $remove_button_text, $id );
1233
-
1234
- // Displays option description.
1235
- if ( isset( $args['description'] ) ) {
1236
- $html .= sprintf( '<p class="description">%s</p>', $args['description'] );
1237
- }
1238
-
1239
- echo $html;
1240
- }
1241
-
1242
- /**
1243
- * Invoice number formatting callback.
1244
- *
1245
- * @param array $args Field arguments.
1246
- *
1247
- * @return string Media upload button & preview.
1248
- */
1249
- public function invoice_number_formatting_callback( $args ) {
1250
- $menu = $args['menu'];
1251
- $fields = $args['fields'];
1252
- $options = get_option( $menu );
1253
-
1254
- echo '<table>';
1255
- foreach ($fields as $key => $field) {
1256
- $id = $args['id'] . '_' . $key;
1257
-
1258
- if ( isset( $options[$id] ) ) {
1259
- $current = $options[$id];
1260
- } else {
1261
- $current = '';
1262
- }
1263
-
1264
- $title = $field['title'];
1265
- $size = $field['size'];
1266
- $description = isset( $field['description'] ) ? '<span style="font-style:italic;">'.$field['description'].'</span>' : '';
1267
-
1268
- echo '<tr>';
1269
- printf( '<td style="padding:0 1em 0 0; ">%1$s:</td><td style="padding:0;"><input type="text" id="%2$s" name="%3$s[%2$s]" value="%4$s" size="%5$s"/></td><td style="padding:0 0 0 1em;">%6$s</td>', $title, $id, $menu, $current, $size, $description );
1270
- echo '</tr>';
1271
- }
1272
- echo '</table>';
1273
-
1274
-
1275
- // Displays option description.
1276
- if ( isset( $args['description'] ) ) {
1277
- printf( '<p class="description">%s</p>', $args['description'] );
1278
- }
1279
-
1280
- // echo $html;
1281
- }
1282
-
1283
-
1284
- /**
1285
- * Template select element callback.
1286
- *
1287
- * @param array $args Field arguments.
1288
- *
1289
- * @return string Select field.
1290
- */
1291
- public function template_select_element_callback( $args ) {
1292
- $menu = $args['menu'];
1293
- $id = $args['id'];
1294
-
1295
- $options = get_option( $menu );
1296
-
1297
- if ( isset( $options[$id] ) ) {
1298
- $current = $options[$id];
1299
  } else {
1300
- $current = isset( $args['default'] ) ? $args['default'] : '';
1301
- }
1302
-
1303
- $html = sprintf( '<select id="%1$s" name="%2$s[%1$s]">', $id, $menu );
1304
-
1305
- // backwards compatible template path (1.4.4+ uses relative paths instead of absolute)
1306
- if (strpos($current, ABSPATH) !== false) {
1307
- // check if folder exists, then strip site base path.
1308
- if ( file_exists( $current ) ) {
1309
- $current = str_replace( ABSPATH, '', $current );
1310
- }
1311
- }
1312
-
1313
- foreach ( $args['options'] as $key => $label ) {
1314
- $html .= sprintf( '<option value="%s"%s>%s</option>', $key, selected( $current, $key, false ), $label );
1315
- }
1316
-
1317
- $html .= '</select>';
1318
-
1319
- // Displays option description.
1320
- if ( isset( $args['description'] ) ) {
1321
- $html .= sprintf( '<p class="description">%s</p>', $args['description'] );
1322
- }
1323
-
1324
- echo $html;
1325
-
1326
- }
1327
-
1328
- /**
1329
- * Section null callback.
1330
- *
1331
- * @return void.
1332
- */
1333
- public function section_options_callback() {
1334
- }
1335
-
1336
- /**
1337
- * Debug section callback.
1338
- *
1339
- * @return void.
1340
- */
1341
- public function debug_section() {
1342
- _e( '<b>Warning!</b> The settings below are meant for debugging/development only. Do not use them on a live website!' , 'wpo_wcpdf' );
1343
- }
1344
-
1345
- /**
1346
- * Custom fields section callback.
1347
- *
1348
- * @return void.
1349
- */
1350
- public function custom_fields_section() {
1351
- _e( 'These are used for the (optional) footer columns in the <em>Modern (Premium)</em> template, but can also be used for other elements in your custom template' , 'wpo_wcpdf' );
1352
- }
1353
-
1354
- /**
1355
- * Validate options.
1356
- *
1357
- * @param array $input options to valid.
1358
- *
1359
- * @return array validated options.
1360
- */
1361
- public function validate_options( $input ) {
1362
- // Create our array for storing the validated options.
1363
- $output = array();
1364
-
1365
- if (empty($input) || !is_array($input)) {
1366
- return $input;
1367
- }
1368
-
1369
- // Loop through each of the incoming options.
1370
- foreach ( $input as $key => $value ) {
1371
-
1372
- // Check to see if the current option has a value. If so, process it.
1373
- if ( isset( $input[$key] ) ) {
1374
- if ( is_array( $input[$key] ) ) {
1375
- foreach ( $input[$key] as $sub_key => $sub_value ) {
1376
- $output[$key][$sub_key] = $input[$key][$sub_key];
1377
- }
1378
- } else {
1379
- $output[$key] = $input[$key];
1380
- }
1381
- }
1382
- }
1383
-
1384
- // Return the array processing any additional functions filtered by this action.
1385
- return apply_filters( 'wpo_wcpdf_validate_input', $output, $input );
1386
- }
1387
-
1388
- /**
1389
- * List templates in plugin folder, theme folder & child theme folder
1390
- * @return array template path => template name
1391
- */
1392
- public function find_templates() {
1393
- global $wpo_wcpdf;
1394
- $installed_templates = array();
1395
-
1396
- // get base paths
1397
- $template_paths = array (
1398
- // note the order: child-theme before theme, so that array_unique filters out parent doubles
1399
- 'default' => $wpo_wcpdf->export->template_default_base_path,
1400
- 'child-theme' => get_stylesheet_directory() . '/' . $wpo_wcpdf->export->template_base_path,
1401
- 'theme' => get_template_directory() . '/' . $wpo_wcpdf->export->template_base_path,
1402
  );
1403
-
1404
- $template_paths = apply_filters( 'wpo_wcpdf_template_paths', $template_paths );
1405
-
1406
- foreach ($template_paths as $template_source => $template_path) {
1407
- $dirs = (array) glob( $template_path . '*' , GLOB_ONLYDIR);
1408
-
1409
- foreach ($dirs as $dir) {
1410
- if ( file_exists($dir."/invoice.php") && file_exists($dir."/packing-slip.php"))
1411
- // we're stripping abspath to make the plugin settings more portable
1412
- $installed_templates[ str_replace( ABSPATH, '', $dir )] = basename($dir);
1413
  }
1414
  }
1415
-
1416
- // remove parent doubles
1417
- $installed_templates = array_unique($installed_templates);
1418
-
1419
- if (empty($installed_templates)) {
1420
- // fallback to Simple template for servers with glob() disabled
1421
- $simple_template_path = str_replace( ABSPATH, '', $template_paths['default'] . 'Simple' );
1422
- $installed_templates[$simple_template_path] = 'Simple';
1423
- }
1424
-
1425
- return apply_filters( 'wpo_wcpdf_templates', $installed_templates );
1426
  }
1427
-
1428
- } // end class WooCommerce_PDF_Invoices_Settings
1429
-
1430
- } // end class_exists
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <?php
2
+ namespace WPO\WC\PDF_Invoices;
3
 
4
+ use WPO\WC\PDF_Invoices\Documents\Sequential_Number_Store;
 
 
 
5
 
6
+ if ( ! defined( 'ABSPATH' ) ) {
7
+ exit; // Exit if accessed directly
8
+ }
 
 
9
 
10
+ if ( !class_exists( '\\WPO\\WC\\PDF_Invoices\\Settings' ) ) :
 
 
 
 
 
 
 
 
 
 
 
 
11
 
12
+ class Settings {
13
+ public $options_page_hook;
 
14
 
15
+ function __construct() {
16
+ $this->callbacks = include( 'class-wcpdf-settings-callbacks.php' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
 
18
+ // include settings classes
19
+ $this->general = include( 'class-wcpdf-settings-general.php' );
20
+ $this->documents = include( 'class-wcpdf-settings-documents.php' );
21
+ $this->debug = include( 'class-wcpdf-settings-debug.php' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
 
 
 
23
 
24
+ // Settings menu item
25
+ add_action( 'admin_menu', array( $this, 'menu' ) ); // Add menu.
26
+ // Links on plugin page
27
+ add_filter( 'plugin_action_links_'.WPO_WCPDF()->plugin_basename, array( $this, 'add_settings_link' ) );
28
+ add_filter( 'plugin_row_meta', array( $this, 'add_support_links' ), 10, 2 );
29
 
30
+ // settings capabilities
31
+ add_filter( 'option_page_capability_wpo_wcpdf_general_settings', array( $this, 'settings_capabilities' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
 
33
+ $this->general_settings = get_option('wpo_wcpdf_settings_general');
34
+ $this->debug_settings = get_option('wpo_wcpdf_settings_debug');
35
 
36
+ // AJAX set number store
37
+ add_action( 'wp_ajax_wpo_wcpdf_set_next_number', array($this, 'set_number_store' ));
38
+ }
 
 
 
 
 
 
 
 
39
 
40
+ public function menu() {
41
+ $parent_slug = 'woocommerce';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
 
43
+ $this->options_page_hook = add_submenu_page(
44
+ $parent_slug,
45
+ __( 'PDF Invoices', 'woocommerce-pdf-invoices-packing-slips' ),
46
+ __( 'PDF Invoices', 'woocommerce-pdf-invoices-packing-slips' ),
47
+ 'manage_woocommerce',
48
+ 'wpo_wcpdf_options_page',
49
+ array( $this, 'settings_page' )
50
+ );
51
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
 
53
+ /**
54
+ * Add settings link to plugins page
55
+ */
56
+ public function add_settings_link( $links ) {
57
+ $action_links = array(
58
+ 'settings' => '<a href="admin.php?page=wpo_wcpdf_options_page">'. __( 'Settings', 'woocommerce' ) . '</a>',
59
+ );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
 
61
+ return array_merge( $action_links, $links );
62
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
 
64
+ /**
65
+ * Add various support links to plugin page
66
+ * after meta (version, authors, site)
67
+ */
68
+ public function add_support_links( $links, $file ) {
69
+ if ( $file == WPO_WCPDF()->plugin_basename ) {
70
+ $row_meta = array(
71
+ 'docs' => '<a href="http://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/" target="_blank" title="' . __( 'Documentation', 'woocommerce-pdf-invoices-packing-slips' ) . '">' . __( 'Documentation', 'woocommerce-pdf-invoices-packing-slips' ) . '</a>',
72
+ 'support' => '<a href="https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips" target="_blank" title="' . __( 'Support Forum', 'woocommerce-pdf-invoices-packing-slips' ) . '">' . __( 'Support Forum', 'woocommerce-pdf-invoices-packing-slips' ) . '</a>',
 
 
 
 
 
 
 
 
 
 
 
 
73
  );
74
 
75
+ return array_merge( $links, $row_meta );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  }
77
+ return (array) $links;
78
+ }
79
 
 
 
 
 
 
 
 
 
80
 
81
+ public function settings_page() {
82
+ $settings_tabs = apply_filters( 'wpo_wcpdf_settings_tabs', array (
83
+ 'general' => __('General', 'woocommerce-pdf-invoices-packing-slips' ),
84
+ 'documents' => __('Documents', 'woocommerce-pdf-invoices-packing-slips' ),
85
+ )
86
+ );
 
 
 
 
 
 
 
 
 
87
 
88
+ // add status tab last in row
89
+ $settings_tabs['debug'] = __('Status', 'woocommerce-pdf-invoices-packing-slips' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
 
91
+ $active_tab = isset( $_GET[ 'tab' ] ) ? $_GET[ 'tab' ] : 'general';
92
+ $active_section = isset( $_GET[ 'section' ] ) ? $_GET[ 'section' ] : '';
 
 
93
 
94
+ include('views/wcpdf-settings-page.php');
95
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
 
97
+ public function add_settings_fields( $settings_fields, $page, $option_group, $option_name ) {
98
+ foreach ( $settings_fields as $settings_field ) {
99
+ if (!isset($settings_field['callback'])) {
100
+ continue;
101
+ } elseif ( is_callable( array( $this->callbacks, $settings_field['callback'] ) ) ) {
102
+ $callback = array( $this->callbacks, $settings_field['callback'] );
103
+ } elseif ( is_callable( $settings_field['callback'] ) ) {
104
+ $callback = $settings_field['callback'];
 
 
 
 
 
 
105
  } else {
106
+ continue;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
107
  }
108
 
109
+ if ( $settings_field['type'] == 'section' ) {
110
+ add_settings_section(
111
+ $settings_field['id'],
112
+ $settings_field['title'],
113
+ $callback,
114
+ $page
115
+ );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
116
  } else {
117
+ add_settings_field(
118
+ $settings_field['id'],
119
+ $settings_field['title'],
120
+ $callback,
121
+ $page,
122
+ $settings_field['section'],
123
+ $settings_field['args']
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
124
  );
125
+ // register option separately for singular options
126
+ if (is_string($settings_field['callback']) && $settings_field['callback'] == 'singular_text_element') {
127
+ register_setting( $option_group, $settings_field['args']['option_name'], array( $this->callbacks, 'validate' ) );
 
 
 
 
 
 
 
128
  }
129
  }
 
 
 
 
 
 
 
 
 
 
 
130
  }
131
+ // $page, $option_group & $option_name are all the same...
132
+ register_setting( $option_group, $option_name, array( $this->callbacks, 'validate' ) );
133
+ add_filter( 'option_page_capability_'.$page, array( $this, 'settings_capabilities' ) );
134
+
135
+ }
136
+
137
+ /**
138
+ * Set capability for settings page
139
+ */
140
+ public function settings_capabilities() {
141
+ return 'manage_woocommerce';
142
+ }
143
+
144
+ public function get_common_document_settings() {
145
+ $common_settings = array(
146
+ 'paper_size' => isset( $this->general_settings['paper_size'] ) ? $this->general_settings['paper_size'] : '',
147
+ 'header_logo' => isset( $this->general_settings['header_logo'] ) ? $this->general_settings['header_logo'] : '',
148
+ 'shop_name' => isset( $this->general_settings['shop_name'] ) ? $this->general_settings['shop_name'] : '',
149
+ 'shop_address' => isset( $this->general_settings['shop_address'] ) ? $this->general_settings['shop_address'] : '',
150
+ 'footer' => isset( $this->general_settings['footer'] ) ? $this->general_settings['footer'] : '',
151
+ 'extra_1' => isset( $this->general_settings['extra_1'] ) ? $this->general_settings['extra_1'] : '',
152
+ 'extra_2' => isset( $this->general_settings['extra_2'] ) ? $this->general_settings['extra_2'] : '',
153
+ 'extra_3' => isset( $this->general_settings['extra_3'] ) ? $this->general_settings['extra_3'] : '',
154
+ );
155
+ return $common_settings;
156
+ }
157
+
158
+ public function get_document_settings( $document_type ) {
159
+ $documents = WPO_WCPDF()->documents->get_documents('all');
160
+ foreach ($documents as $document) {
161
+ if ( $document->get_type() == $document_type ) {
162
+ return $document->settings;
163
+ }
164
+ }
165
+ return false;
166
+ }
167
+
168
+ public function get_output_format() {
169
+ if ( isset( $this->debug_settings['html_output'] ) ) {
170
+ $output_format = 'html';
171
+ } else {
172
+ $output_format = 'pdf';
173
+ }
174
+ return $output_format;
175
+ }
176
+
177
+ public function get_template_path( $document_type = NULL ) {
178
+ $template_path = isset( $this->general_settings['template_path'] )?$this->general_settings['template_path']:'';
179
+ // forward slash for consistency
180
+ $template_path = str_replace('\\','/', $template_path);
181
+
182
+ // add abspath, checking if it's not already there
183
+ $abspath = str_replace('\\','/', ABSPATH);
184
+ if ( strpos( $template_path, $abspath ) === false ) {
185
+ // add site base path
186
+ $template_path = $abspath . $template_path;
187
+ }
188
+
189
+ return $template_path;
190
+ }
191
+
192
+ public function set_number_store() {
193
+ check_ajax_referer( "wpo_wcpdf_next_{$_POST['store']}", 'security' );
194
+ $number = isset( $_POST['number'] ) ? (int) $_POST['number'] : 0;
195
+ $number_store = new Sequential_Number_Store( $_POST['store'] );
196
+ $number_store->set_next( $number );
197
+ echo "next number ({$_POST['store']}) set to {$number}";
198
+ die();
199
+ }
200
+
201
+ }
202
+
203
+ endif; // class_exists
204
+
205
+ return new Settings();
includes/class-wcpdf-writepanels.php DELETED
@@ -1,384 +0,0 @@
1
- <?php
2
- use WPO\WC\PDF_Invoices\Compatibility\WC_Core as WCX;
3
- use WPO\WC\PDF_Invoices\Compatibility\Order as WCX_Order;
4
- use WPO\WC\PDF_Invoices\Compatibility\Product as WCX_Product;
5
-
6
- defined( 'ABSPATH' ) or exit;
7
-
8
- /**
9
- * Writepanel class
10
- */
11
- if ( !class_exists( 'WooCommerce_PDF_Invoices_Writepanels' ) ) {
12
-
13
- class WooCommerce_PDF_Invoices_Writepanels {
14
- public $bulk_actions;
15
-
16
- /**
17
- * Constructor
18
- */
19
- public function __construct() {
20
- $this->general_settings = get_option('wpo_wcpdf_general_settings');
21
- $this->template_settings = get_option('wpo_wcpdf_template_settings');
22
-
23
- add_action( 'woocommerce_admin_order_actions_end', array( $this, 'add_listing_actions' ) );
24
- add_filter( 'manage_edit-shop_order_columns', array( $this, 'add_invoice_number_column' ), 999 );
25
- add_action( 'manage_shop_order_posts_custom_column', array( $this, 'invoice_number_column_data' ), 2 );
26
- add_action( 'add_meta_boxes_shop_order', array( $this, 'add_meta_boxes' ) );
27
- add_filter( 'woocommerce_my_account_my_orders_actions', array( $this, 'my_account_pdf_link' ), 10, 2 );
28
- add_action( 'admin_print_scripts', array( $this, 'add_scripts' ) );
29
- add_action( 'admin_print_styles', array( $this, 'add_styles' ) );
30
- add_action( 'admin_footer', array( $this, 'bulk_actions' ) );
31
-
32
- add_action( 'save_post', array( $this,'save_invoice_number_date' ) );
33
-
34
- add_filter( 'woocommerce_shop_order_search_fields', array( $this, 'search_fields' ) );
35
-
36
- $this->bulk_actions = array(
37
- 'invoice' => __( 'PDF Invoices', 'wpo_wcpdf' ),
38
- 'packing-slip' => __( 'PDF Packing Slips', 'wpo_wcpdf' ),
39
- );
40
- }
41
-
42
- /**
43
- * Add the styles
44
- */
45
- public function add_styles() {
46
- if( $this->is_order_edit_page() ) {
47
- wp_enqueue_style( 'thickbox' );
48
-
49
- wp_enqueue_style(
50
- 'wpo-wcpdf',
51
- WooCommerce_PDF_Invoices::$plugin_url . 'css/style.css',
52
- array(),
53
- WooCommerce_PDF_Invoices::$version
54
- );
55
-
56
- if ( version_compare( WOOCOMMERCE_VERSION, '2.1' ) >= 0 ) {
57
- // WC 2.1 or newer (MP6) is used: bigger buttons
58
- wp_enqueue_style(
59
- 'wpo-wcpdf-buttons',
60
- WooCommerce_PDF_Invoices::$plugin_url . 'css/style-buttons.css',
61
- array(),
62
- WooCommerce_PDF_Invoices::$version
63
- );
64
- } else {
65
- // legacy WC 2.0 styles
66
- wp_enqueue_style(
67
- 'wpo-wcpdf-buttons',
68
- WooCommerce_PDF_Invoices::$plugin_url . 'css/style-buttons-wc20.css',
69
- array(),
70
- WooCommerce_PDF_Invoices::$version
71
- );
72
- }
73
- }
74
- }
75
-
76
- /**
77
- * Add the scripts
78
- */
79
- public function add_scripts() {
80
- if( $this->is_order_edit_page() ) {
81
- wp_enqueue_script(
82
- 'wpo-wcpdf',
83
- WooCommerce_PDF_Invoices::$plugin_url . 'js/script.js',
84
- array( 'jquery' ),
85
- WooCommerce_PDF_Invoices::$version
86
- );
87
- wp_localize_script(
88
- 'wpo-wcpdf',
89
- 'wpo_wcpdf_ajax',
90
- array(
91
- // 'ajaxurl' => add_query_arg( 'action', 'generate_wpo_wcpdf', admin_url( 'admin-ajax.php' ) ), // URL to WordPress ajax handling page
92
- 'ajaxurl' => admin_url( 'admin-ajax.php' ), // URL to WordPress ajax handling page
93
- 'nonce' => wp_create_nonce('generate_wpo_wcpdf'),
94
- 'bulk_actions' => array_keys( apply_filters( 'wpo_wcpdf_bulk_actions', $this->bulk_actions ) ),
95
- )
96
- );
97
- }
98
- }
99
-
100
- /**
101
- * Is order page
102
- */
103
- public function is_order_edit_page() {
104
- global $post_type;
105
- if( $post_type == 'shop_order' ) {
106
- return true;
107
- } else {
108
- return false;
109
- }
110
- }
111
-
112
- /**
113
- * Add PDF actions to the orders listing
114
- */
115
- public function add_listing_actions( $order ) {
116
- // do not show buttons for trashed orders
117
- if ( WCX_Order::get_status( $order ) == 'trash' ) {
118
- return;
119
- }
120
-
121
- $listing_actions = array(
122
- 'invoice' => array (
123
- 'url' => wp_nonce_url( admin_url( 'admin-ajax.php?action=generate_wpo_wcpdf&template_type=invoice&order_ids=' . WCX_Order::get_id( $order ) ), 'generate_wpo_wcpdf' ),
124
- 'img' => WooCommerce_PDF_Invoices::$plugin_url . 'images/invoice.png',
125
- 'alt' => __( 'PDF Invoice', 'wpo_wcpdf' ),
126
- ),
127
- 'packing-slip' => array (
128
- 'url' => wp_nonce_url( admin_url( 'admin-ajax.php?action=generate_wpo_wcpdf&template_type=packing-slip&order_ids=' . WCX_Order::get_id( $order ) ), 'generate_wpo_wcpdf' ),
129
- 'img' => WooCommerce_PDF_Invoices::$plugin_url . 'images/packing-slip.png',
130
- 'alt' => __( 'PDF Packing Slip', 'wpo_wcpdf' ),
131
- ),
132
- );
133
-
134
- $listing_actions = apply_filters( 'wpo_wcpdf_listing_actions', $listing_actions, $order );
135
-
136
- foreach ($listing_actions as $action => $data) {
137
- ?>
138
- <a href="<?php echo $data['url']; ?>" class="button tips wpo_wcpdf <?php echo $action; ?>" target="_blank" alt="<?php echo $data['alt']; ?>" data-tip="<?php echo $data['alt']; ?>">
139
- <img src="<?php echo $data['img']; ?>" alt="<?php echo $data['alt']; ?>" width="16">
140
- </a>
141
- <?php
142
- }
143
- }
144
-
145
- /**
146
- * Create additional Shop Order column for Invoice Numbers
147
- * @param array $columns shop order columns
148
- */
149
- public function add_invoice_number_column( $columns ) {
150
- // Check user setting
151
- if ( !isset($this->general_settings['invoice_number_column'] ) ) {
152
- return $columns;
153
- }
154
-
155
- // put the column after the Status column
156
- $new_columns = array_slice($columns, 0, 2, true) +
157
- array( 'pdf_invoice_number' => __( 'Invoice Number', 'wpo_wcpdf' ) ) +
158
- array_slice($columns, 2, count($columns) - 1, true) ;
159
- return $new_columns;
160
- }
161
-
162
- /**
163
- * Display Invoice Number in Shop Order column (if available)
164
- * @param string $column column slug
165
- */
166
- public function invoice_number_column_data( $column ) {
167
- global $post, $the_order, $wpo_wcpdf;
168
-
169
- if ( $column == 'pdf_invoice_number' ) {
170
- if ( empty( $the_order ) || WCX_Order::get_id( $the_order ) != $post->ID ) {
171
- $order = WCX::get_order( $post->ID );
172
- echo $wpo_wcpdf->export->get_invoice_number( WCX_Order::get_id( $order ) );
173
- do_action( 'wcpdf_invoice_number_column_end', $order );
174
- } else {
175
- echo $wpo_wcpdf->export->get_invoice_number( WCX_Order::get_id( $the_order ) );
176
- do_action( 'wcpdf_invoice_number_column_end', $the_order );
177
- }
178
- }
179
- }
180
-
181
- /**
182
- * Display download link on My Account page
183
- */
184
- public function my_account_pdf_link( $actions, $order ) {
185
- $pdf_url = wp_nonce_url( admin_url( 'admin-ajax.php?action=generate_wpo_wcpdf&template_type=invoice&order_ids=' . WCX_Order::get_id( $order ) . '&my-account'), 'generate_wpo_wcpdf' );
186
-
187
- // check my account button settings
188
- if (isset($this->general_settings['my_account_buttons'])) {
189
- switch ($this->general_settings['my_account_buttons']) {
190
- case 'available':
191
- $invoice_allowed = WCX_Order::get_meta( $order, '_wcpdf_invoice_exists', true );
192
- break;
193
- case 'always':
194
- $invoice_allowed = true;
195
- break;
196
- case 'never':
197
- $invoice_allowed = false;
198
- break;
199
- case 'custom':
200
- if ( isset( $this->general_settings['my_account_restrict'] ) && in_array( WCX_Order::get_status( $order ), array_keys( $this->general_settings['my_account_restrict'] ) ) ) {
201
- $invoice_allowed = true;
202
- } else {
203
- $invoice_allowed = false;
204
- }
205
- break;
206
- }
207
- } else {
208
- // backwards compatibility
209
- $invoice_allowed = WCX_Order::get_meta( $order, '_wcpdf_invoice_exists', true );
210
- }
211
-
212
- // Check if invoice has been created already or if status allows download (filter your own array of allowed statuses)
213
- if ( $invoice_allowed || in_array(WCX_Order::get_status( $order ), apply_filters( 'wpo_wcpdf_myaccount_allowed_order_statuses', array() ) ) ) {
214
- $actions['invoice'] = array(
215
- 'url' => $pdf_url,
216
- 'name' => apply_filters( 'wpo_wcpdf_myaccount_button_text', __( 'Download invoice (PDF)', 'wpo_wcpdf' ) )
217
- );
218
- }
219
-
220
- return apply_filters( 'wpo_wcpdf_myaccount_actions', $actions, $order );
221
- }
222
-
223
- /**
224
- * Add the meta box on the single order page
225
- */
226
- public function add_meta_boxes() {
227
- // create PDF buttons
228
- add_meta_box(
229
- 'wpo_wcpdf-box',
230
- __( 'Create PDF', 'wpo_wcpdf' ),
231
- array( $this, 'sidebar_box_content' ),
232
- 'shop_order',
233
- 'side',
234
- 'default'
235
- );
236
-
237
- // Invoice number & date
238
- add_meta_box(
239
- 'wpo_wcpdf-data-input-box',
240
- __( 'PDF Invoice data', 'wpo_wcpdf' ),
241
- array( $this, 'data_input_box_content' ),
242
- 'shop_order',
243
- 'normal',
244
- 'default'
245
- );
246
- }
247
-
248
- /**
249
- * Create the meta box content on the single order page
250
- */
251
- public function sidebar_box_content( $post ) {
252
- global $post_id;
253
-
254
- $meta_actions = array(
255
- 'invoice' => array (
256
- 'url' => wp_nonce_url( admin_url( 'admin-ajax.php?action=generate_wpo_wcpdf&template_type=invoice&order_ids=' . $post_id ), 'generate_wpo_wcpdf' ),
257
- 'alt' => esc_attr__( 'PDF Invoice', 'wpo_wcpdf' ),
258
- 'title' => __( 'PDF Invoice', 'wpo_wcpdf' ),
259
- ),
260
- 'packing-slip' => array (
261
- 'url' => wp_nonce_url( admin_url( 'admin-ajax.php?action=generate_wpo_wcpdf&template_type=packing-slip&order_ids=' . $post_id ), 'generate_wpo_wcpdf' ),
262
- 'alt' => esc_attr__( 'PDF Packing Slip', 'wpo_wcpdf' ),
263
- 'title' => __( 'PDF Packing Slip', 'wpo_wcpdf' ),
264
- ),
265
- );
266
-
267
- $meta_actions = apply_filters( 'wpo_wcpdf_meta_box_actions', $meta_actions, $post_id );
268
-
269
- ?>
270
- <ul class="wpo_wcpdf-actions">
271
- <?php
272
- foreach ($meta_actions as $action => $data) {
273
- printf('<li><a href="%1$s" class="button" target="_blank" alt="%2$s">%3$s</a></li>', $data['url'], $data['alt'],$data['title']);
274
- }
275
- ?>
276
- </ul>
277
- <?php
278
- }
279
-
280
- /**
281
- * Add metabox for invoice number & date
282
- */
283
- public function data_input_box_content ( $post ) {
284
- $order = WCX::get_order( $post->ID );
285
- $invoice_exists = WCX_Order::get_meta( $order, '_wcpdf_invoice_exists', true );
286
- $invoice_number = WCX_Order::get_meta( $order, '_wcpdf_invoice_number', true );
287
- $invoice_date = WCX_Order::get_meta( $order, '_wcpdf_invoice_date', true );
288
-
289
- do_action( 'wpo_wcpdf_meta_box_start', $post->ID );
290
-
291
- ?>
292
- <h4><?php _e( 'Invoice', 'wpo_wcpdf' ) ?></h4>
293
- <p class="form-field _wcpdf_invoice_number_field ">
294
- <label for="_wcpdf_invoice_number"><?php _e( 'Invoice Number (unformatted!)', 'wpo_wcpdf' ); ?>:</label>
295
- <?php if (!empty($invoice_exists)) : ?>
296
- <input type="text" class="short" style="" name="_wcpdf_invoice_number" id="_wcpdf_invoice_number" value="<?php echo $invoice_number ?>">
297
- <?php else : ?>
298
- <input type="text" class="short" style="" name="_wcpdf_invoice_number" id="_wcpdf_invoice_number" value="<?php echo $invoice_number ?>" disabled="disabled" >
299
- <?php endif; ?>
300
- </p>
301
- <p class="form-field form-field-wide">
302
- <label for="wcpdf_invoice_date"><?php _e( 'Invoice Date:', 'wpo_wcpdf' ); ?></label>
303
- <?php if (!empty($invoice_exists)) : ?>
304
- <input type="text" class="date-picker-field" name="wcpdf_invoice_date" id="wcpdf_invoice_date" maxlength="10" value="<?php echo date_i18n( 'Y-m-d', strtotime( $invoice_date ) ); ?>" pattern="[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|1[0-9]|2[0-9]|3[01])" />@<input type="number" class="hour" placeholder="<?php _e( 'h', 'woocommerce' ) ?>" name="wcpdf_invoice_date_hour" id="wcpdf_invoice_date_hour" min="0" max="23" size="2" value="<?php echo date_i18n( 'H', strtotime( $invoice_date ) ); ?>" pattern="([01]?[0-9]{1}|2[0-3]{1})" />:<input type="number" class="minute" placeholder="<?php _e( 'm', 'woocommerce' ) ?>" name="wcpdf_invoice_date_minute" id="wcpdf_invoice_date_minute" min="0" max="59" size="2" value="<?php echo date_i18n( 'i', strtotime( $invoice_date ) ); ?>" pattern="[0-5]{1}[0-9]{1}" />
305
- <?php else : ?>
306
- <input type="text" class="date-picker-field" name="wcpdf_invoice_date" id="wcpdf_invoice_date" maxlength="10" disabled="disabled" value="" pattern="[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|1[0-9]|2[0-9]|3[01])" />@<input type="number" class="hour" disabled="disabled" placeholder="<?php _e( 'h', 'woocommerce' ) ?>" name="wcpdf_invoice_date_hour" id="wcpdf_invoice_date_hour" min="0" max="23" size="2" value="" pattern="([01]?[0-9]{1}|2[0-3]{1})" />:<input type="number" class="minute" placeholder="<?php _e( 'm', 'woocommerce' ) ?>" name="wcpdf_invoice_date_minute" id="wcpdf_invoice_date_minute" min="0" max="59" size="2" value="" pattern="[0-5]{1}[0-9]{1}" disabled="disabled" />
307
- <?php endif; ?>
308
- </p>
309
- <?php
310
-
311
- do_action( 'wpo_wcpdf_meta_box_end', $post->ID );
312
- }
313
-
314
- /**
315
- * Add actions to menu
316
- */
317
- public function bulk_actions() {
318
- global $post_type;
319
- $bulk_actions = apply_filters( 'wpo_wcpdf_bulk_actions', $this->bulk_actions );
320
-
321
- if ( 'shop_order' == $post_type ) {
322
- ?>
323
- <script type="text/javascript">
324
- jQuery(document).ready(function() {
325
- <?php foreach ($bulk_actions as $action => $title) { ?>
326
- jQuery('<option>').val('<?php echo $action; ?>').html('<?php echo esc_attr( $title ); ?>').appendTo("select[name='action'], select[name='action2']");
327
- <?php } ?>
328
- });
329
- </script>
330
- <?php
331
- }
332
- }
333
-
334
- /**
335
- * Save invoice number
336
- */
337
- public function save_invoice_number_date($post_id) {
338
- global $wpo_wcpdf;
339
- $post_type = get_post_type( $post_id );
340
- if( $post_type == 'shop_order' ) {
341
- // bail if this is not an actual 'Save order' action
342
- if (!isset($_POST['action']) || $_POST['action'] != 'editpost') {
343
- return;
344
- }
345
-
346
- $order = WCX::get_order( $post_id );
347
- if ( isset($_POST['_wcpdf_invoice_number']) ) {
348
- WCX_Order::update_meta_data( $order, '_wcpdf_invoice_number', stripslashes( $_POST['_wcpdf_invoice_number'] ) );
349
- WCX_Order::update_meta_data( $order, '_wcpdf_formatted_invoice_number', $wpo_wcpdf->export->get_invoice_number( $post_id ) );
350
- WCX_Order::update_meta_data( $order, '_wcpdf_invoice_exists', 1 );
351
- }
352
-
353
- if ( isset($_POST['wcpdf_invoice_date']) ) {
354
- if ( empty($_POST['wcpdf_invoice_date']) ) {
355
- WCX_Order::delete_meta_data( $order, '_wcpdf_invoice_date' );
356
- } else {
357
- $invoice_date = strtotime( $_POST['wcpdf_invoice_date'] . ' ' . (int) $_POST['wcpdf_invoice_date_hour'] . ':' . (int) $_POST['wcpdf_invoice_date_minute'] . ':00' );
358
- $invoice_date = date_i18n( 'Y-m-d H:i:s', $invoice_date );
359
- WCX_Order::update_meta_data( $order, '_wcpdf_invoice_date', $invoice_date );
360
- WCX_Order::update_meta_data( $order, '_wcpdf_invoice_exists', 1 );
361
- }
362
- }
363
-
364
- if (empty($_POST['wcpdf_invoice_date']) && isset($_POST['_wcpdf_invoice_number'])) {
365
- $invoice_date = date_i18n( 'Y-m-d H:i:s', time() );
366
- WCX_Order::update_meta_data( $order, '_wcpdf_invoice_date', $invoice_date );
367
- }
368
-
369
- if ( empty($_POST['wcpdf_invoice_date']) && empty($_POST['_wcpdf_invoice_number'])) {
370
- WCX_Order::delete_meta_data( $order, '_wcpdf_invoice_exists' );
371
- }
372
- }
373
- }
374
-
375
- /**
376
- * Add invoice number to order search scope
377
- */
378
- public function search_fields ( $custom_fields ) {
379
- $custom_fields[] = '_wcpdf_invoice_number';
380
- $custom_fields[] = '_wcpdf_formatted_invoice_number';
381
- return $custom_fields;
382
- }
383
- }
384
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/compatibility/class-wc-date-compatibility.php CHANGED
@@ -21,6 +21,11 @@ if ( ! class_exists( '\\WPO\\WC\\PDF_Invoices\\Compatibility\\WC_DateTime' ) ) :
21
  */
22
  class WC_DateTime extends \DateTime {
23
 
 
 
 
 
 
24
  /**
25
  * Output an ISO 8601 date string in local timezone.
26
  *
@@ -30,7 +35,30 @@ class WC_DateTime extends \DateTime {
30
  public function __toString() {
31
  return $this->format( DATE_ATOM );
32
  }
33
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  /**
35
  * Missing in PHP 5.2.
36
  *
@@ -40,7 +68,6 @@ class WC_DateTime extends \DateTime {
40
  public function getTimestamp() {
41
  return method_exists( 'DateTime', 'getTimestamp' ) ? parent::getTimestamp() : $this->format( 'U' );
42
  }
43
-
44
  /**
45
  * Get the timestamp with the WordPress timezone offset added or subtracted.
46
  *
@@ -50,7 +77,6 @@ class WC_DateTime extends \DateTime {
50
  public function getOffsetTimestamp() {
51
  return $this->getTimestamp() + $this->getOffset();
52
  }
53
-
54
  /**
55
  * Format a date based on the offset timestamp.
56
  *
@@ -61,7 +87,6 @@ class WC_DateTime extends \DateTime {
61
  public function date( $format ) {
62
  return gmdate( $format, $this->getOffsetTimestamp() );
63
  }
64
-
65
  /**
66
  * Return a localised date based on offset timestamp. Wrapper for date_i18n function.
67
  *
@@ -74,4 +99,5 @@ class WC_DateTime extends \DateTime {
74
  }
75
  }
76
 
77
- endif; // Class exists check
 
21
  */
22
  class WC_DateTime extends \DateTime {
23
 
24
+ /**
25
+ * UTC Offset if needed.
26
+ * @var integer
27
+ */
28
+ protected $utc_offset = 0;
29
  /**
30
  * Output an ISO 8601 date string in local timezone.
31
  *
35
  public function __toString() {
36
  return $this->format( DATE_ATOM );
37
  }
38
+ /**
39
+ * Set UTC offset.
40
+ */
41
+ public function set_utc_offset( $offset ) {
42
+ $this->utc_offset = intval( $offset );
43
+ }
44
+ /**
45
+ * getOffset.
46
+ */
47
+ public function getOffset() {
48
+ if ( $this->utc_offset ) {
49
+ return $this->utc_offset;
50
+ } else {
51
+ return parent::getOffset();
52
+ }
53
+ }
54
+ /**
55
+ * Set timezone.
56
+ * @param DateTimeZone $timezone
57
+ */
58
+ public function setTimezone( $timezone ) {
59
+ $this->utc_offset = 0;
60
+ return parent::setTimezone( $timezone );
61
+ }
62
  /**
63
  * Missing in PHP 5.2.
64
  *
68
  public function getTimestamp() {
69
  return method_exists( 'DateTime', 'getTimestamp' ) ? parent::getTimestamp() : $this->format( 'U' );
70
  }
 
71
  /**
72
  * Get the timestamp with the WordPress timezone offset added or subtracted.
73
  *
77
  public function getOffsetTimestamp() {
78
  return $this->getTimestamp() + $this->getOffset();
79
  }
 
80
  /**
81
  * Format a date based on the offset timestamp.
82
  *
87
  public function date( $format ) {
88
  return gmdate( $format, $this->getOffsetTimestamp() );
89
  }
 
90
  /**
91
  * Return a localised date based on offset timestamp. Wrapper for date_i18n function.
92
  *
99
  }
100
  }
101
 
102
+ endif; // Class exists check
103
+
includes/compatibility/class-wc-order-compatibility.php CHANGED
@@ -83,12 +83,25 @@ class Order extends Data {
83
 
84
  // 3.0+ date getters return a DateTime object, where previously MySQL date strings were returned
85
  if ( WC_Core::is_wc_version_lt_3_0() && in_array( $prop, array( 'date_completed', 'date_paid', 'date_modified', 'date_created' ), true ) && !empty( $value ) ) {
86
- if ( is_numeric( $value ) ) {
87
  $value = new WC_DateTime( "@{$value}", new \DateTimeZone( 'UTC' ) );
88
  $value->setTimezone( new \DateTimeZone( wc_timezone_string() ) );
89
  } else {
90
- $value = new WC_DateTime( $value, new \DateTimeZone( wc_timezone_string() ) );
 
 
 
 
 
 
 
 
 
 
 
91
  $value->setTimezone( new \DateTimeZone( wc_timezone_string() ) );
 
 
92
  }
93
  }
94
 
83
 
84
  // 3.0+ date getters return a DateTime object, where previously MySQL date strings were returned
85
  if ( WC_Core::is_wc_version_lt_3_0() && in_array( $prop, array( 'date_completed', 'date_paid', 'date_modified', 'date_created' ), true ) && !empty( $value ) ) {
86
+ if ( is_numeric( $value ) ) { // incidental for WC2.7 orders
87
  $value = new WC_DateTime( "@{$value}", new \DateTimeZone( 'UTC' ) );
88
  $value->setTimezone( new \DateTimeZone( wc_timezone_string() ) );
89
  } else {
90
+ // Strings are defined in local WP timezone. Convert to UTC.
91
+ if ( 1 === preg_match( '/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(Z|((-|\+)\d{2}:\d{2}))$/', $value, $date_bits ) ) {
92
+ $offset = ! empty( $date_bits[7] ) ? iso8601_timezone_to_offset( $date_bits[7] ) : wc_timezone_offset();
93
+ $timestamp = gmmktime( $date_bits[4], $date_bits[5], $date_bits[6], $date_bits[2], $date_bits[3], $date_bits[1] ) - $offset;
94
+ } else {
95
+ $timestamp = wc_string_to_timestamp( get_gmt_from_date( gmdate( 'Y-m-d H:i:s', wc_string_to_timestamp( $value ) ) ) );
96
+ }
97
+ $value = new WC_DateTime( "@{$timestamp}", new \DateTimeZone( 'UTC' ) );
98
+ }
99
+
100
+ // Set local timezone or offset.
101
+ if ( get_option( 'timezone_string' ) ) {
102
  $value->setTimezone( new \DateTimeZone( wc_timezone_string() ) );
103
+ } else {
104
+ $value->set_utc_offset( wc_timezone_offset() );
105
  }
106
  }
107
 
includes/compatibility/class-wcpdf-compatibility-third-party-plugins.php ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WPO\WC\PDF_Invoices\Compatibility;
3
+
4
+ use WPO\WC\PDF_Invoices\Compatibility\WC_Core as WCX;
5
+ use WPO\WC\PDF_Invoices\Compatibility\Order as WCX_Order;
6
+ use WPO\WC\PDF_Invoices\Compatibility\Product as WCX_Product;
7
+ use WPO\WC\PDF_Invoices\Compatibility\WC_DateTime;
8
+
9
+ defined( 'ABSPATH' ) or exit;
10
+
11
+ if ( ! class_exists( '\\WPO\\WC\\PDF_Invoices\\Compatibility\\Third_Party_Plugins' ) ) :
12
+
13
+ /**
14
+ * Third party plugin compatibility class.
15
+ *
16
+ * @since 2.0
17
+ */
18
+ class Third_Party_Plugins {
19
+ function __construct() {
20
+ // WooCommerce Subscriptions compatibility
21
+ if ( class_exists('WC_Subscriptions') ) {
22
+ if ( version_compare( \WC_Subscriptions::$version, '2.0', '<' ) ) {
23
+ add_action( 'woocommerce_subscriptions_renewal_order_created', array( $this, 'woocommerce_subscriptions_renewal_order_created' ), 10, 4 );
24
+ } else {
25
+ add_action( 'wcs_renewal_order_created', array( $this, 'wcs_renewal_order_created' ), 10, 2 );
26
+ }
27
+ }
28
+
29
+ // WooCommerce Product Bundles compatibility (add row classes)
30
+ if ( class_exists('WC_Bundles') ) {
31
+ add_filter( 'wpo_wcpdf_item_row_class', array( $this, 'add_product_bundles_classes' ), 10, 4 );
32
+ }
33
+
34
+ // WooCommerce Chained Products compatibility (add row classes)
35
+ if ( class_exists('SA_WC_Chained_Products') ) {
36
+ add_filter( 'wpo_wcpdf_item_row_class', array( $this, 'add_chained_product_class' ), 10, 4 );
37
+ }
38
+ }
39
+
40
+ /**
41
+ * Reset invoice data for WooCommerce subscription renewal orders
42
+ * https://wordpress.org/support/topic/subscription-renewal-duplicate-invoice-number?replies=6#post-6138110
43
+ */
44
+ public function woocommerce_subscriptions_renewal_order_created ( $renewal_order, $original_order, $product_id, $new_order_role ) {
45
+ $this->reset_invoice_data( $renewal_order );
46
+ return $renewal_order;
47
+ }
48
+
49
+ public function wcs_renewal_order_created ( $renewal_order, $subscription ) {
50
+ $this->reset_invoice_data( $renewal_order );
51
+ return $renewal_order;
52
+ }
53
+
54
+ public function reset_invoice_data ( $order ) {
55
+ if ( ! is_object( $order ) ) {
56
+ $order = wc_get_order( $order );
57
+ }
58
+ // delete invoice number, invoice date & invoice exists meta
59
+ WCX_Order::delete_meta_data( $order, '_wcpdf_invoice_number' );
60
+ WCX_Order::delete_meta_data( $order, '_wcpdf_invoice_number_data' );
61
+ WCX_Order::delete_meta_data( $order, '_wcpdf_formatted_invoice_number' );
62
+ WCX_Order::delete_meta_data( $order, '_wcpdf_invoice_date' );
63
+ WCX_Order::delete_meta_data( $order, '_wcpdf_invoice_exists' );
64
+ }
65
+
66
+ /**
67
+ * WooCommerce Product Bundles
68
+ * @param string $classes CSS classes for item row (tr)
69
+ * @param string $document_type PDF Document type
70
+ * @param object $order WC_Order order
71
+ * @param int $item_id WooCommerce Item ID
72
+ */
73
+ public function add_product_bundles_classes ( $classes, $document_type, $order, $item_id = '' ) {
74
+ if ( empty($item_id) ) {
75
+ // get item id from classes (backwards compatibility fix)
76
+ $class_array = explode(' ', $classes);
77
+ foreach ($class_array as $class) {
78
+ if (is_numeric($class)) {
79
+ $item_id = $class;
80
+ break;
81
+ }
82
+ }
83
+
84
+ // if still empty, we lost the item id somewhere :(
85
+ if (empty($item_id)) {
86
+ return $classes;
87
+ }
88
+ }
89
+
90
+ if ( $bundled_by = WCX_Order::get_item_meta( $order, $item_id, '_bundled_by', true ) ) {
91
+ $classes = $classes . ' bundled-item';
92
+
93
+ // check bundled item visibility
94
+ if ( $hidden = WCX_Order::get_item_meta( $order, $item_id, '_bundled_item_hidden', true ) ) {
95
+ $classes = $classes . ' hidden';
96
+ }
97
+
98
+ return $classes;
99
+ } elseif ( $bundled_items = WCX_Order::get_item_meta( $order, $item_id, '_bundled_items', true ) ) {
100
+ return $classes . ' product-bundle';
101
+ }
102
+
103
+ return $classes;
104
+ }
105
+
106
+ /**
107
+ * WooCommerce Chanined Products
108
+ * @param string $classes CSS classes for item row (tr)
109
+ * @param string $document_type PDF Document type
110
+ * @param object $order WC_Order order
111
+ * @param int $item_id WooCommerce Item ID
112
+ */
113
+ public function add_chained_product_class ( $classes, $document_type, $order, $item_id = '' ) {
114
+ if ( empty($item_id) ) {
115
+ // get item id from classes (backwards compatibility fix)
116
+ $class_array = explode(' ', $classes);
117
+ foreach ($class_array as $class) {
118
+ if (is_numeric($class)) {
119
+ $item_id = $class;
120
+ break;
121
+ }
122
+ }
123
+
124
+ // if still empty, we lost the item id somewhere :(
125
+ if (empty($item_id)) {
126
+ return $classes;
127
+ }
128
+ }
129
+
130
+ if ( $chained_product_of = WCX_Order::get_item_meta( $order, $item_id, '_chained_product_of', true ) ) {
131
+ return $classes . ' chained-product';
132
+ }
133
+
134
+ return $classes;
135
+ }
136
+
137
+
138
+ }
139
+
140
+
141
+ endif; // Class exists check
142
+
143
+ return new Third_Party_Plugins();
includes/compatibility/wc-datetime-functions-compatibility.php ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ use WPO\WC\PDF_Invoices\Compatibility\WC_Core as WCX;
3
+
4
+ // load date/time functions for older WC versions
5
+ if ( WCX::is_wc_version_lt_3_0() ) {
6
+ if ( !function_exists( 'wc_timezone_offset' ) ) {
7
+ /**
8
+ * Get timezone offset in seconds.
9
+ *
10
+ * @since 3.0.0
11
+ * @return float
12
+ */
13
+ function wc_timezone_offset() {
14
+ if ( $timezone = get_option( 'timezone_string' ) ) {
15
+ $timezone_object = new DateTimeZone( $timezone );
16
+ return $timezone_object->getOffset( new DateTime( 'now' ) );
17
+ } else {
18
+ return floatval( get_option( 'gmt_offset', 0 ) ) * HOUR_IN_SECONDS;
19
+ }
20
+ }
21
+ }
22
+
23
+ if ( !function_exists( 'wc_string_to_timestamp' ) ) {
24
+ /**
25
+ * Convert mysql datetime to PHP timestamp, forcing UTC. Wrapper for strtotime.
26
+ *
27
+ * Based on wcs_strtotime_dark_knight() from WC Subscriptions by Prospress.
28
+ *
29
+ * @since 3.0.0
30
+ * @return int
31
+ */
32
+ function wc_string_to_timestamp( $time_string, $from_timestamp = null ) {
33
+ $original_timezone = date_default_timezone_get();
34
+ // @codingStandardsIgnoreStart
35
+ date_default_timezone_set( 'UTC' );
36
+ if ( null === $from_timestamp ) {
37
+ $next_timestamp = strtotime( $time_string );
38
+ } else {
39
+ $next_timestamp = strtotime( $time_string, $from_timestamp );
40
+ }
41
+ date_default_timezone_set( $original_timezone );
42
+ // @codingStandardsIgnoreEnd
43
+ return $next_timestamp;
44
+ }
45
+ }
46
+ }
includes/documents/abstract-wcpdf-order-document-methods.php ADDED
@@ -0,0 +1,1002 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WPO\WC\PDF_Invoices\Documents;
3
+
4
+ use WPO\WC\PDF_Invoices\Compatibility\WC_Core as WCX;
5
+ use WPO\WC\PDF_Invoices\Compatibility\Order as WCX_Order;
6
+ use WPO\WC\PDF_Invoices\Compatibility\Product as WCX_Product;
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly
10
+ }
11
+
12
+ if ( !class_exists( '\\WPO\\WC\\PDF_Invoices\\Documents\\Order_Document_Methods' ) ) :
13
+
14
+ /**
15
+ * Abstract Order Methods
16
+ *
17
+ * Collection of methods to be used on orders within a Document
18
+ * Created as abstract rather than traits to support PHP versions older than 5.4
19
+ *
20
+ * @class \WPO\WC\PDF_Invoices\Documents\Order_Document_Methods
21
+ * @version 2.0
22
+ * @category Class
23
+ * @author Ewout Fernhout
24
+ */
25
+
26
+ abstract class Order_Document_Methods extends Order_Document {
27
+ public function is_refund( $order ) {
28
+ if ( method_exists( $order, 'get_type') ) { // WC 3.0+
29
+ $is_refund = $order->get_type() == 'shop_order_refund';
30
+ } else {
31
+ $is_refund = get_post_type( WCX_Order::get_id( $order ) ) == 'shop_order_refund';
32
+ }
33
+
34
+ return $is_refund;
35
+ }
36
+
37
+ public function get_refund_parent_id( $order ) {
38
+ if ( method_exists( $order, 'get_parent_id') ) { // WC3.0+
39
+ $parent_order_id = $order->get_parent_id();
40
+ } else {
41
+ $parent_order_id = wp_get_post_parent_id( WCX_Order::get_id( $order ) );
42
+ }
43
+
44
+ return $parent_order_id;
45
+ }
46
+
47
+
48
+ public function get_refund_parent( $order ) {
49
+ // only try if this is actually a refund
50
+ if ( ! $this->is_refund( $order ) ) {
51
+ return $order;
52
+ }
53
+
54
+ $parent_order_id = $this->get_refund_parent_id( $order );
55
+ $order = WCX::get_order( $parent_order_id );
56
+ return $order;
57
+ }
58
+
59
+ /**
60
+ * Check if billing address and shipping address are equal
61
+ */
62
+ public function ships_to_different_address() {
63
+ // always prefer parent address for refunds
64
+ if ( $this->is_refund( $this->order ) ) {
65
+ $order = $this->get_refund_parent( $this->order );
66
+ } else {
67
+ $order = $this->order;
68
+ }
69
+
70
+ $address_comparison_fields = apply_filters( 'wpo_wcpdf_address_comparison_fields', array(
71
+ 'first_name',
72
+ 'last_name',
73
+ 'company',
74
+ 'address_1',
75
+ 'address_2',
76
+ 'city',
77
+ 'state',
78
+ 'postcode',
79
+ 'country'
80
+ ), $this );
81
+
82
+ foreach ($address_comparison_fields as $address_field) {
83
+ $billing_field = WCX_Order::get_prop( $order, "billing_{$address_field}", 'view');
84
+ $shipping_field = WCX_Order::get_prop( $order, "shipping_{$address_field}", 'view');
85
+ if ( $shipping_field != $billing_field ) {
86
+ // this address field is different -> ships to different address!
87
+ return true;
88
+ }
89
+ }
90
+
91
+ //if we got here, it means the addresses are equal -> doesn't ship to different address!
92
+ return apply_filters( 'wpo_wcpdf_ships_to_different_address', false, $order, $this );
93
+ }
94
+
95
+ /**
96
+ * Return/Show billing address
97
+ */
98
+ public function get_billing_address() {
99
+ // always prefer parent billing address for refunds
100
+ if ( $this->is_refund( $this->order ) ) {
101
+ // temporarily switch order to make all filters / order calls work correctly
102
+ $refund = $this->order;
103
+ $this->order = $this->get_refund_parent( $this->order );
104
+ $address = apply_filters( 'wpo_wcpdf_billing_address', $this->order->get_formatted_billing_address(), $this );
105
+ // switch back & unset
106
+ $this->order = $refund;
107
+ unset($refund);
108
+ } elseif ( $address = $this->order->get_formatted_billing_address() ) {
109
+ // regular shop_order
110
+ $address = apply_filters( 'wpo_wcpdf_billing_address', $address, $this );
111
+ } else {
112
+ // no address
113
+ $address = apply_filters( 'wpo_wcpdf_billing_address', __('N/A', 'woocommerce-pdf-invoices-packing-slips' ), $this );
114
+ }
115
+
116
+ return $address;
117
+ }
118
+ public function billing_address() {
119
+ echo $this->get_billing_address();
120
+ }
121
+
122
+ /**
123
+ * Return/Show billing email
124
+ */
125
+ public function get_billing_email() {
126
+ $billing_email = WCX_Order::get_prop( $this->order, 'billing_email', 'view' );
127
+
128
+ if ( !$billing_email && $this->is_refund( $this->order ) ) {
129
+ // try parent
130
+ $parent_order = $this->get_refund_parent( $this->order );
131
+ $billing_email = WCX_Order::get_prop( $parent_order, 'billing_email', 'view' );
132
+ }
133
+
134
+ return apply_filters( 'wpo_wcpdf_billing_email', $billing_email, $this );
135
+ }
136
+ public function billing_email() {
137
+ echo $this->get_billing_email();
138
+ }
139
+
140
+ /**
141
+ * Return/Show billing phone
142
+ */
143
+ public function get_billing_phone() {
144
+ $billing_phone = WCX_Order::get_prop( $this->order, 'billing_phone', 'view' );
145
+
146
+ if ( !$billing_phone && $this->is_refund( $this->order ) ) {
147
+ // try parent
148
+ $parent_order = $this->get_refund_parent( $this->order );
149
+ $billing_phone = WCX_Order::get_prop( $parent_order, 'billing_phone', 'view' );
150
+ }
151
+
152
+ return apply_filters( 'wpo_wcpdf_billing_phone', $billing_phone, $this );
153
+ }
154
+ public function billing_phone() {
155
+ echo $this->get_billing_phone();
156
+ }
157
+
158
+ /**
159
+ * Return/Show shipping address
160
+ */
161
+ public function get_shipping_address() {
162
+ // always prefer parent shipping address for refunds
163
+ if ( $this->is_refund( $this->order ) ) {
164
+ // temporarily switch order to make all filters / order calls work correctly
165
+ $refund = $this->order;
166
+ $this->order = $this->get_refund_parent( $this->order );
167
+ $address = apply_filters( 'wpo_wcpdf_shipping_address', $this->order->get_formatted_shipping_address(), $this );
168
+ // switch back & unset
169
+ $this->order = $refund;
170
+ unset($refund);
171
+ } elseif ( $address = $this->order->get_formatted_shipping_address() ) {
172
+ // regular shop_order
173
+ $address = apply_filters( 'wpo_wcpdf_shipping_address', $address, $this );
174
+ } else {
175
+ // no address
176
+ $address = apply_filters( 'wpo_wcpdf_shipping_address', __('N/A', 'woocommerce-pdf-invoices-packing-slips' ), $this );
177
+ }
178
+
179
+ return $address;
180
+ }
181
+ public function shipping_address() {
182
+ echo $this->get_shipping_address();
183
+ }
184
+
185
+ /**
186
+ * Return/Show a custom field
187
+ */
188
+ public function get_custom_field( $field_name ) {
189
+ $custom_field = WCX_Order::get_meta( $this->order, $field_name, true );
190
+
191
+ // WC3.0 fallback to properties
192
+ $property = str_replace('-', '_', sanitize_title( ltrim($field_name, '_') ) );
193
+ if ( !$custom_field && is_callable( array( $this->order, "get_{$property}" ) ) ) {
194
+ $custom_field = $this->order->{"get_{$property}"}( 'view' );
195
+ }
196
+
197
+ // fallback to parent for refunds
198
+ if ( !$custom_field && $this->is_refund( $this->order ) ) {
199
+ $parent_order = $this->get_refund_parent( $this->order );
200
+ $custom_field = WCX_Order::get_meta( $parent_order, $field_name, true );
201
+
202
+ // WC3.0 fallback to properties
203
+ if ( !$custom_field && is_callable( array( $parent_order, "get_{$property}" ) ) ) {
204
+ $custom_field = $parent_order->{"get_{$property}"}( 'view' );
205
+ }
206
+ }
207
+
208
+ return apply_filters( 'wpo_wcpdf_billing_custom_field', $custom_field, $this );
209
+ }
210
+ public function custom_field( $field_name, $field_label = '', $display_empty = false ) {
211
+ $custom_field = $this->get_custom_field( $field_name );
212
+ if (!empty($field_label)){
213
+ // add a a trailing space to the label
214
+ $field_label .= ' ';
215
+ }
216
+
217
+ if (!empty($custom_field) || $display_empty) {
218
+ echo $field_label . nl2br ($custom_field);
219
+ }
220
+ }
221
+
222
+ /**
223
+ * Return/show product attribute
224
+ */
225
+ public function get_product_attribute( $attribute_name, $product ) {
226
+ // WC3.0+ use parent product for variations
227
+ if ( version_compare( WOOCOMMERCE_VERSION, '3.0', '>=' ) && $product->is_type( 'variation' ) ) {
228
+ $product = wc_get_product( $product->get_parent_id() );
229
+ }
230
+ // first, check the text attributes
231
+ $attributes = $product->get_attributes();
232
+ $attribute_key = @wc_attribute_taxonomy_name( $attribute_name );
233
+ if (array_key_exists( sanitize_title( $attribute_name ), $attributes) ) {
234
+ $attribute = $product->get_attribute ( $attribute_name );
235
+ return $attribute;
236
+ } elseif (array_key_exists( sanitize_title( $attribute_key ), $attributes) ) {
237
+ $attribute = $product->get_attribute ( $attribute_key );
238
+ return $attribute;
239
+ }
240
+
241
+ // not a text attribute, try attribute taxonomy
242
+ $attribute_key = @wc_attribute_taxonomy_name( $attribute_name );
243
+ $product_id = WCX_Product::get_prop($product, 'id');
244
+ $product_terms = @wc_get_product_terms( $product_id, $attribute_key, array( 'fields' => 'names' ) );
245
+ // check if not empty, then display
246
+ if ( !empty($product_terms) ) {
247
+ $attribute = array_shift( $product_terms );
248
+ return $attribute;
249
+ } else {
250
+ // no attribute under this name
251
+ return false;
252
+ }
253
+ }
254
+ public function product_attribute( $attribute_name, $product ) {
255
+ echo $this->get_product_attribute( $attribute_name, $product );
256
+ }
257
+
258
+ /**
259
+ * Return/Show order notes
260
+ * could use $order->get_customer_order_notes(), but that filters out private notes already
261
+ */
262
+ public function get_order_notes( $filter = 'customer' ) {
263
+ if ( $this->is_refund( $this->order ) ) {
264
+ $post_id = $this->get_refund_parent_id( $this->order );
265
+ } else {
266
+ $post_id = $order_id;
267
+ }
268
+
269
+ $args = array(
270
+ 'post_id' => $post_id,
271
+ 'approve' => 'approve',
272
+ 'type' => 'order_note'
273
+ );
274
+
275
+ remove_filter( 'comments_clauses', array( 'WC_Comments', 'exclude_order_comments' ), 10, 1 );
276
+
277
+ $notes = get_comments( $args );
278
+
279
+ add_filter( 'comments_clauses', array( 'WC_Comments', 'exclude_order_comments' ), 10, 1 );
280
+
281
+ if ( $notes ) {
282
+ foreach( $notes as $key => $note ) {
283
+ if ( $filter == 'customer' && !get_comment_meta( $note->comment_ID, 'is_customer_note', true ) ) {
284
+ unset($notes[$key]);
285
+ }
286
+ if ( $filter == 'private' && get_comment_meta( $note->comment_ID, 'is_customer_note', true ) ) {
287
+ unset($notes[$key]);
288
+ }
289
+ }
290
+ return $notes;
291
+ }
292
+ }
293
+ public function order_notes( $filter = 'customer' ) {
294
+ $notes = $this->get_order_notes( $filter );
295
+ if ( $notes ) {
296
+ foreach( $notes as $note ) {
297
+ ?>
298
+ <div class="note_content">
299
+ <?php echo wpautop( wptexturize( wp_kses_post( $note->comment_content ) ) ); ?>
300
+ </div>
301
+ <?php
302
+ }
303
+ }
304
+ }
305
+
306
+ /**
307
+ * Return/Show the current date
308
+ */
309
+ public function get_current_date() {
310
+ return apply_filters( 'wpo_wcpdf_date', date_i18n( get_option( 'date_format' ) ) );
311
+ }
312
+ public function current_date() {
313
+ echo $this->get_current_date();
314
+ }
315
+
316
+ /**
317
+ * Return/Show payment method
318
+ */
319
+ public function get_payment_method() {
320
+ $payment_method_label = __( 'Payment method', 'woocommerce-pdf-invoices-packing-slips' );
321
+
322
+ if ( $this->is_refund( $this->order ) ) {
323
+ $parent_order = $this->get_refund_parent( $this->order );
324
+ $payment_method_title = WCX_Order::get_prop( $parent_order, 'payment_method_title', 'view' );
325
+ } else {
326
+ $payment_method_title = WCX_Order::get_prop( $this->order, 'payment_method_title', 'view' );
327
+ }
328
+
329
+ $payment_method = __( $payment_method_title, 'woocommerce' );
330
+
331
+ return apply_filters( 'wpo_wcpdf_payment_method', $payment_method, $this );
332
+ }
333
+ public function payment_method() {
334
+ echo $this->get_payment_method();
335
+ }
336
+
337
+ /**
338
+ * Return/Show shipping method
339
+ */
340
+ public function get_shipping_method() {
341
+ $shipping_method_label = __( 'Shipping method', 'woocommerce-pdf-invoices-packing-slips' );
342
+ $shipping_method = __( $this->order->get_shipping_method(), 'woocommerce' );
343
+ return apply_filters( 'wpo_wcpdf_shipping_method', $shipping_method, $this );
344
+ }
345
+ public function shipping_method() {
346
+ echo $this->get_shipping_method();
347
+ }
348
+
349
+ /**
350
+ * Return/Show order number
351
+ */
352
+ public function get_order_number() {
353
+ // try parent first
354
+ if ( $this->is_refund( $this->order ) ) {
355
+ $parent_order = $this->get_refund_parent( $this->order );
356
+ $order_number = $parent_order->get_order_number();
357
+ } else {
358
+ $order_number = $this->order->get_order_number();
359
+ }
360
+
361
+ // Trim the hash to have a clean number but still
362
+ // support any filters that were applied before.
363
+ $order_number = ltrim($order_number, '#');
364
+ return apply_filters( 'wpo_wcpdf_order_number', $order_number, $this );
365
+ }
366
+ public function order_number() {
367
+ echo $this->get_order_number();
368
+ }
369
+
370
+ /**
371
+ * Return/Show the order date
372
+ */
373
+ public function get_order_date() {
374
+ if ( $this->is_refund( $this->order ) ) {
375
+ $parent_order = $this->get_refund_parent( $this->order );
376
+ $order_date = WCX_Order::get_prop( $parent_order, 'date_created' );
377
+ } else {
378
+ $order_date = WCX_Order::get_prop( $this->order, 'date_created' );
379
+ }
380
+
381
+ $date = $order_date->date_i18n( get_option( 'date_format' ) );
382
+ $mysql_date = $order_date->date( "Y-m-d H:i:s" );
383
+ return apply_filters( 'wpo_wcpdf_order_date', $date, $mysql_date, $this );
384
+ }
385
+ public function order_date() {
386
+ echo $this->get_order_date();
387
+ }
388
+
389
+ /**
390
+ * Return the order items
391
+ */
392
+ public function get_order_items() {
393
+ $items = $this->order->get_items();
394
+ $data_list = array();
395
+
396
+ if( sizeof( $items ) > 0 ) {
397
+ foreach ( $items as $item_id => $item ) {
398
+ // Array with data for the pdf template
399
+ $data = array();
400
+
401
+ // Set the item_id
402
+ $data['item_id'] = $item_id;
403
+
404
+ // Set the id
405
+ $data['product_id'] = $item['product_id'];
406
+ $data['variation_id'] = $item['variation_id'];
407
+
408
+ // Set item name
409
+ $data['name'] = $item['name'];
410
+
411
+ // Set item quantity
412
+ $data['quantity'] = $item['qty'];
413
+
414
+ // Set the line total (=after discount)
415
+ $data['line_total'] = $this->format_price( $item['line_total'] );
416
+ $data['single_line_total'] = $this->format_price( $item['line_total'] / max( 1, abs( $item['qty'] ) ) );
417
+ $data['line_tax'] = $this->format_price( $item['line_tax'] );
418
+ $data['single_line_tax'] = $this->format_price( $item['line_tax'] / max( 1, abs( $item['qty'] ) ) );
419
+
420
+ $line_tax_data = maybe_unserialize( isset( $item['line_tax_data'] ) ? $item['line_tax_data'] : '' );
421
+ $data['tax_rates'] = $this->get_tax_rate( $item['tax_class'], $item['line_total'], $item['line_tax'], $line_tax_data );
422
+
423
+ // Set the line subtotal (=before discount)
424
+ $data['line_subtotal'] = $this->format_price( $item['line_subtotal'] );
425
+ $data['line_subtotal_tax'] = $this->format_price( $item['line_subtotal_tax'] );
426
+ $data['ex_price'] = $this->get_formatted_item_price( $item, 'total', 'excl' );
427
+ $data['price'] = $this->get_formatted_item_price( $item, 'total' );
428
+ $data['order_price'] = $this->order->get_formatted_line_subtotal( $item ); // formatted according to WC settings
429
+
430
+ // Calculate the single price with the same rules as the formatted line subtotal (!)
431
+ // = before discount
432
+ $data['ex_single_price'] = $this->get_formatted_item_price( $item, 'single', 'excl' );
433
+ $data['single_price'] = $this->get_formatted_item_price( $item, 'single' );
434
+
435
+ // Pass complete item array
436
+ $data['item'] = $item;
437
+
438
+ // Get the product to add more info
439
+ $product = $this->order->get_product_from_item( $item );
440
+
441
+ // Checking fo existance, thanks to MDesigner0
442
+ if( !empty( $product ) ) {
443
+ // Thumbnail (full img tag)
444
+ $data['thumbnail'] = $this->get_thumbnail( $product );
445
+
446
+ // Set item SKU
447
+ $data['sku'] = $product->get_sku();
448
+
449
+ // Set item weight
450
+ $data['weight'] = $product->get_weight();
451
+
452
+ // Set item dimensions
453
+ $data['dimensions'] = WCX_Product::get_dimensions( $product );
454
+
455
+ // Pass complete product object
456
+ $data['product'] = $product;
457
+
458
+ } else {
459
+ $data['product'] = null;
460
+ }
461
+
462
+ // Set item meta
463
+ if (function_exists('wc_display_item_meta')) { // WC3.0+
464
+ $data['meta'] = wc_display_item_meta( $item, array(
465
+ 'echo' => false,
466
+ ) );
467
+ } else {
468
+ if ( version_compare( WOOCOMMERCE_VERSION, '2.4', '<' ) ) {
469
+ $meta = new \WC_Order_Item_Meta( $item['item_meta'], $product );
470
+ } else { // pass complete item for WC2.4+
471
+ $meta = new \WC_Order_Item_Meta( $item, $product );
472
+ }
473
+ $data['meta'] = $meta->display( false, true );
474
+ }
475
+
476
+ $data_list[$item_id] = apply_filters( 'wpo_wcpdf_order_item_data', $data, $this->order, $this->get_type() );
477
+ }
478
+ }
479
+
480
+ return apply_filters( 'wpo_wcpdf_order_items_data', $data_list, $this->order, $this->get_type() );
481
+ }
482
+
483
+ /**
484
+ * Get the tax rates/percentages for a given tax class
485
+ * @param string $tax_class tax class slug
486
+ * @return string $tax_rates imploded list of tax rates
487
+ */
488
+ public function get_tax_rate( $tax_class, $line_total, $line_tax, $line_tax_data = '' ) {
489
+ // first try the easy wc2.2+ way, using line_tax_data
490
+ if ( !empty( $line_tax_data ) && isset($line_tax_data['total']) ) {
491
+ $tax_rates = array();
492
+
493
+ $line_taxes = $line_tax_data['subtotal'];
494
+ foreach ( $line_taxes as $tax_id => $tax ) {
495
+ if ( !empty($tax) ) {
496
+ $tax_rates[] = $this->get_tax_rate_by_id( $tax_id ) . ' %';
497
+ }
498
+ }
499
+
500
+ $tax_rates = implode(' ,', $tax_rates );
501
+ return $tax_rates;
502
+ }
503
+
504
+ if ( $line_tax == 0 ) {
505
+ return '-'; // no need to determine tax rate...
506
+ }
507
+
508
+ if ( version_compare( WOOCOMMERCE_VERSION, '2.1' ) >= 0 && !apply_filters( 'wpo_wcpdf_calculate_tax_rate', false ) ) {
509
+ // WC 2.1 or newer is used
510
+ $tax = new \WC_Tax();
511
+ $taxes = $tax->get_rates( $tax_class );
512
+
513
+ $tax_rates = array();
514
+
515
+ foreach ($taxes as $tax) {
516
+ $tax_rates[$tax['label']] = round( $tax['rate'], 2 ).' %';
517
+ }
518
+
519
+ if (empty($tax_rates)) {
520
+ // one last try: manually calculate
521
+ if ( $line_total != 0) {
522
+ $tax_rates[] = round( ($line_tax / $line_total)*100, 1 ).' %';
523
+ } else {
524
+ $tax_rates[] = '-';
525
+ }
526
+ }
527
+
528
+ $tax_rates = implode(' ,', $tax_rates );
529
+ } else {
530
+ // Backwards compatibility/fallback: calculate tax from line items
531
+ if ( $line_total != 0) {
532
+ $tax_rates = round( ($line_tax / $line_total)*100, 1 ).' %';
533
+ } else {
534
+ $tax_rates = '-';
535
+ }
536
+ }
537
+
538
+ return $tax_rates;
539
+ }
540
+
541
+ /**
542
+ * Returns the percentage rate (float) for a given tax rate ID.
543
+ * @param int $rate_id woocommerce tax rate id
544
+ * @return float $rate percentage rate
545
+ */
546
+ public function get_tax_rate_by_id( $rate_id ) {
547
+ global $wpdb;
548
+ $rate = $wpdb->get_var( $wpdb->prepare( "SELECT tax_rate FROM {$wpdb->prefix}woocommerce_tax_rates WHERE tax_rate_id = %d;", $rate_id ) );
549
+ return (float) $rate;
550
+ }
551
+
552
+ /**
553
+ * Returns a an array with rate_id => tax rate data (array) of all tax rates in woocommerce
554
+ * @return array $tax_rate_ids keyed by id
555
+ */
556
+ public function get_tax_rate_ids() {
557
+ global $wpdb;
558
+ $rates = $wpdb->get_results( "SELECT * FROM {$wpdb->prefix}woocommerce_tax_rates" );
559
+
560
+ $tax_rate_ids = array();
561
+ foreach ($rates as $rate) {
562
+ // var_dump($rate->tax_rate_id);
563
+ // die($rate);
564
+ $rate_id = $rate->tax_rate_id;
565
+ unset($rate->tax_rate_id);
566
+ $tax_rate_ids[$rate_id] = (array) $rate;
567
+ }
568
+
569
+ return $tax_rate_ids;
570
+ }
571
+
572
+ /**
573
+ * Returns the main product image ID
574
+ * Adapted from the WC_Product class
575
+ * (does not support thumbnail sizes)
576
+ *
577
+ * @access public
578
+ * @return string
579
+ */
580
+ public function get_thumbnail_id ( $product ) {
581
+ global $woocommerce;
582
+
583
+ $product_id = WCX_Product::get_id( $product );
584
+
585
+ if ( has_post_thumbnail( $product_id ) ) {
586
+ $thumbnail_id = get_post_thumbnail_id ( $product_id );
587
+ } elseif ( ( $parent_id = wp_get_post_parent_id( $product_id ) ) && has_post_thumbnail( $parent_id ) ) {
588
+ $thumbnail_id = get_post_thumbnail_id ( $parent_id );
589
+ } else {
590
+ $thumbnail_id = false;
591
+ }
592
+
593
+ return $thumbnail_id;
594
+ }
595
+
596
+ /**
597
+ * Returns the thumbnail image tag
598
+ *
599
+ * uses the internal WooCommerce/WP functions and extracts the image url or path
600
+ * rather than the thumbnail ID, to simplify the code and make it possible to
601
+ * filter for different thumbnail sizes
602
+ *
603
+ * @access public
604
+ * @return string
605
+ */
606
+ public function get_thumbnail ( $product ) {
607
+ // Get default WooCommerce img tag (url/http)
608
+ $size = apply_filters( 'wpo_wcpdf_thumbnail_size', 'shop_thumbnail' );
609
+ $thumbnail_img_tag_url = $product->get_image( $size, array( 'title' => '' ) );
610
+
611
+ // Extract the url from img
612
+ preg_match('/<img(.*)src(.*)=(.*)"(.*)"/U', $thumbnail_img_tag_url, $thumbnail_url );
613
+ // remove http/https from image tag url to avoid mixed origin conflicts
614
+ $thumbnail_url = array_pop($thumbnail_url);
615
+ $contextless_thumbnail_url = str_replace(array('http://','https://'), '', $thumbnail_url );
616
+ $contextless_site_url = str_replace(array('http://','https://'), '', trailingslashit(get_site_url()));
617
+
618
+ // convert url to path
619
+ $thumbnail_path = str_replace( $contextless_site_url, ABSPATH, $contextless_thumbnail_url);
620
+ // fallback if thumbnail file doesn't exist
621
+ if (apply_filters('wpo_wcpdf_use_path', true) && !file_exists($thumbnail_path)) {
622
+ if ($thumbnail_id = $this->get_thumbnail_id( $product ) ) {
623
+ $thumbnail_path = get_attached_file( $thumbnail_id );
624
+ }
625
+ }
626
+
627
+ // Thumbnail (full img tag)
628
+ if (apply_filters('wpo_wcpdf_use_path', true) && file_exists($thumbnail_path)) {
629
+ // load img with server path by default
630
+ $thumbnail = sprintf('<img width="90" height="90" src="%s" class="attachment-shop_thumbnail wp-post-image">', $thumbnail_path );
631
+ } else {
632
+ // load img with http url when filtered
633
+ $thumbnail = $thumbnail_img_tag_url;
634
+ }
635
+
636
+ // die($thumbnail);
637
+ return $thumbnail;
638
+ }
639
+
640
+ /**
641
+ * Return the order totals listing
642
+ */
643
+ public function get_woocommerce_totals() {
644
+ // get totals and remove the semicolon
645
+ $totals = apply_filters( 'wpo_wcpdf_raw_order_totals', $this->order->get_order_item_totals(), $this->order );
646
+
647
+ // remove the colon for every label
648
+ foreach ( $totals as $key => $total ) {
649
+ $label = $total['label'];
650
+ $colon = strrpos( $label, ':' );
651
+ if( $colon !== false ) {
652
+ $label = substr_replace( $label, '', $colon, 1 );
653
+ }
654
+ $totals[$key]['label'] = $label;
655
+ }
656
+
657
+ // WC2.4 fix order_total for refunded orders
658
+ // not if this is the actual refund!
659
+ if ( ! $this->is_refund( $this->order ) ) {
660
+ if ( version_compare( WOOCOMMERCE_VERSION, '2.4', '>=' ) && isset($totals['order_total']) ) {
661
+ if ( version_compare( WOOCOMMERCE_VERSION, '3.0', '>=' ) ) {
662
+ $tax_display = get_option( 'woocommerce_tax_display_cart' );
663
+ } else {
664
+ $tax_display = WCX_Order::get_prop( $this->order, 'tax_display_cart' );
665
+ }
666
+
667
+ $totals['order_total']['value'] = wc_price( $this->order->get_total(), array( 'currency' => WCX_Order::get_prop( $this->order, 'currency' ) ) );
668
+ $order_total = $this->order->get_total();
669
+ $tax_string = '';
670
+
671
+ // Tax for inclusive prices
672
+ if ( wc_tax_enabled() && 'incl' == $tax_display ) {
673
+ $tax_string_array = array();
674
+ if ( 'itemized' == get_option( 'woocommerce_tax_total_display' ) ) {
675
+ foreach ( $this->order->get_tax_totals() as $code => $tax ) {
676
+ $tax_amount = $tax->formatted_amount;
677
+ $tax_string_array[] = sprintf( '%s %s', $tax_amount, $tax->label );
678
+ }
679
+ } else {
680
+ $tax_string_array[] = sprintf( '%s %s', wc_price( $this->order->get_total_tax() - $this->order->get_total_tax_refunded(), array( 'currency' => $this->order->get_order_currency() ) ), WC()->countries->tax_or_vat() );
681
+ }
682
+ if ( ! empty( $tax_string_array ) ) {
683
+ if ( version_compare( WOOCOMMERCE_VERSION, '2.6', '>=' ) ) {
684
+ $tax_string = ' ' . sprintf( __( '(includes %s)', 'woocommerce' ), implode( ', ', $tax_string_array ) );
685
+ } else {
686
+ // use old capitalized string
687
+ $tax_string = ' ' . sprintf( __( '(Includes %s)', 'woocommerce' ), implode( ', ', $tax_string_array ) );
688
+ }
689
+ }
690
+ }
691
+
692
+ $totals['order_total']['value'] .= $tax_string;
693
+ }
694
+
695
+ // remove refund lines (shouldn't be in invoice)
696
+ foreach ( $totals as $key => $total ) {
697
+ if ( strpos($key, 'refund_') !== false ) {
698
+ unset( $totals[$key] );
699
+ }
700
+ }
701
+
702
+ }
703
+
704
+ return apply_filters( 'wpo_wcpdf_woocommerce_totals', $totals, $this->order, $this->get_type() );
705
+ }
706
+
707
+ /**
708
+ * Return/show the order subtotal
709
+ */
710
+ public function get_order_subtotal( $tax = 'excl', $discount = 'incl' ) { // set $tax to 'incl' to include tax, same for $discount
711
+ //$compound = ($discount == 'incl')?true:false;
712
+ $subtotal = $this->order->get_subtotal_to_display( false, $tax );
713
+
714
+ $subtotal = ($pos = strpos($subtotal, ' <small')) ? substr($subtotal, 0, $pos) : $subtotal; //removing the 'excluding tax' text
715
+
716
+ $subtotal = array (
717
+ 'label' => __('Subtotal', 'woocommerce-pdf-invoices-packing-slips' ),
718
+ 'value' => $subtotal,
719
+ );
720
+
721
+ return apply_filters( 'wpo_wcpdf_order_subtotal', $subtotal, $tax, $discount, $this );
722
+ }
723
+ public function order_subtotal( $tax = 'excl', $discount = 'incl' ) {
724
+ $subtotal = $this->get_order_subtotal( $tax, $discount );
725
+ echo $subtotal['value'];
726
+ }
727
+
728
+ /**
729
+ * Return/show the order shipping costs
730
+ */
731
+ public function get_order_shipping( $tax = 'excl' ) { // set $tax to 'incl' to include tax
732
+ $shipping_cost = WCX_Order::get_prop( $this->order, 'shipping_total', 'view' );
733
+ $shipping_tax = WCX_Order::get_prop( $this->order, 'shipping_tax', 'view' );
734
+
735
+ if ($tax == 'excl' ) {
736
+ $formatted_shipping_cost = $this->format_price( $shipping_cost );
737
+ } else {
738
+ $formatted_shipping_cost = $this->format_price( $shipping_cost + $shipping_tax );
739
+ }
740
+
741
+ $shipping = array (
742
+ 'label' => __('Shipping', 'woocommerce-pdf-invoices-packing-slips' ),
743
+ 'value' => $formatted_shipping_cost,
744
+ 'tax' => $this->format_price( $shipping_tax ),
745
+ );
746
+ return apply_filters( 'wpo_wcpdf_order_shipping', $shipping, $tax, $this );
747
+ }
748
+ public function order_shipping( $tax = 'excl' ) {
749
+ $shipping = $this->get_order_shipping( $tax );
750
+ echo $shipping['value'];
751
+ }
752
+
753
+ /**
754
+ * Return/show the total discount
755
+ */
756
+ public function get_order_discount( $type = 'total', $tax = 'incl' ) {
757
+ if ( $tax == 'incl' ) {
758
+ switch ($type) {
759
+ case 'cart':
760
+ // Cart Discount - pre-tax discounts. (deprecated in WC2.3)
761
+ $discount_value = $this->order->get_cart_discount();
762
+ break;
763
+ case 'order':
764
+ // Order Discount - post-tax discounts. (deprecated in WC2.3)
765
+ $discount_value = $this->order->get_order_discount();
766
+ break;
767
+ case 'total':
768
+ // Total Discount
769
+ if ( version_compare( WOOCOMMERCE_VERSION, '2.3' ) >= 0 ) {
770
+ $discount_value = $this->order->get_total_discount( false ); // $ex_tax = false
771
+ } else {
772
+ // WC2.2 and older: recalculate to include tax
773
+ $discount_value = 0;
774
+ $items = $this->order->get_items();;
775
+ if( sizeof( $items ) > 0 ) {
776
+ foreach( $items as $item ) {
777
+ $discount_value += ($item['line_subtotal'] + $item['line_subtotal_tax']) - ($item['line_total'] + $item['line_tax']);
778
+ }
779
+ }
780
+ }
781
+
782
+ break;
783
+ default:
784
+ // Total Discount - Cart & Order Discounts combined
785
+ $discount_value = $this->order->get_total_discount();
786
+ break;
787
+ }
788
+ } else { // calculate discount excluding tax
789
+ if ( version_compare( WOOCOMMERCE_VERSION, '2.3' ) >= 0 ) {
790
+ $discount_value = $this->order->get_total_discount( true ); // $ex_tax = true
791
+ } else {
792
+ // WC2.2 and older: recalculate to exclude tax
793
+ $discount_value = 0;
794
+
795
+ $items = $this->order->get_items();;
796
+ if( sizeof( $items ) > 0 ) {
797
+ foreach( $items as $item ) {
798
+ $discount_value += ($item['line_subtotal'] - $item['line_total']);
799
+ }
800
+ }
801
+ }
802
+ }
803
+
804
+ $discount = array (
805
+ 'label' => __('Discount', 'woocommerce-pdf-invoices-packing-slips' ),
806
+ 'value' => $this->format_price( $discount_value ),
807
+ 'raw_value' => $discount_value,
808
+ );
809
+
810
+ if ( round( $discount_value, 3 ) != 0 ) {
811
+ return apply_filters( 'wpo_wcpdf_order_discount', $discount, $type, $tax, $this );
812
+ }
813
+ }
814
+ public function order_discount( $type = 'total', $tax = 'incl' ) {
815
+ $discount = $this->get_order_discount( $type, $tax );
816
+ echo $discount['value'];
817
+ }
818
+
819
+ /**
820
+ * Return the order fees
821
+ */
822
+ public function get_order_fees( $tax = 'excl' ) {
823
+ if ( $_fees = $this->order->get_fees() ) {
824
+ foreach( $_fees as $id => $fee ) {
825
+ if ($tax == 'excl' ) {
826
+ $fee_price = $this->format_price( $fee['line_total'] );
827
+ } else {
828
+ $fee_price = $this->format_price( $fee['line_total'] + $fee['line_tax'] );
829
+ }
830
+
831
+ $fees[ $id ] = array(
832
+ 'label' => $fee['name'],
833
+ 'value' => $fee_price,
834
+ 'line_total' => $this->format_price( $fee['line_total'] ),
835
+ 'line_tax' => $this->format_price( $fee['line_tax'] )
836
+ );
837
+ }
838
+ return $fees;
839
+ }
840
+ }
841
+
842
+ /**
843
+ * Return the order taxes
844
+ */
845
+ public function get_order_taxes() {
846
+ $tax_label = __( 'VAT', 'woocommerce-pdf-invoices-packing-slips' ); // register alternate label translation
847
+ $tax_label = __( 'Tax rate', 'woocommerce-pdf-invoices-packing-slips' );
848
+ $tax_rate_ids = $this->get_tax_rate_ids();
849
+ if ( $order_taxes = $this->order->get_taxes() ) {
850
+ foreach ( $order_taxes as $key => $tax ) {
851
+ if ( WCX::is_wc_version_gte_3_0() ) {
852
+ $taxes[ $key ] = array(
853
+ 'label' => $tax->get_label(),
854
+ 'value' => $this->format_price( $tax->get_tax_total() + $tax->get_shipping_tax_total() ),
855
+ 'rate_id' => $tax->get_rate_id(),
856
+ 'tax_amount' => $tax->get_tax_total(),
857
+ 'shipping_tax_amount' => $tax->get_shipping_tax_total(),
858
+ 'rate' => isset( $tax_rate_ids[ $tax->get_rate_id() ] ) ? ( (float) $tax_rate_ids[$tax->get_rate_id()]['tax_rate'] ) . ' %': '',
859
+ );
860
+ } else {
861
+ $taxes[ $key ] = array(
862
+ 'label' => isset( $tax[ 'label' ] ) ? $tax[ 'label' ] : $tax[ 'name' ],
863
+ 'value' => $this->format_price( ( $tax[ 'tax_amount' ] + $tax[ 'shipping_tax_amount' ] ) ),
864
+ 'rate_id' => $tax['rate_id'],
865
+ 'tax_amount' => $tax['tax_amount'],
866
+ 'shipping_tax_amount' => $tax['shipping_tax_amount'],
867
+ 'rate' => isset( $tax_rate_ids[ $tax['rate_id'] ] ) ? ( (float) $tax_rate_ids[$tax['rate_id']]['tax_rate'] ) . ' %': '',
868
+ );
869
+ }
870
+
871
+ }
872
+
873
+ return apply_filters( 'wpo_wcpdf_order_taxes', $taxes, $this );
874
+ }
875
+ }
876
+
877
+ /**
878
+ * Return/show the order grand total
879
+ */
880
+ public function get_order_grand_total( $tax = 'incl' ) {
881
+ if ( version_compare( WOOCOMMERCE_VERSION, '2.1' ) >= 0 ) {
882
+ // WC 2.1 or newer is used
883
+ $total_unformatted = $this->order->get_total();
884
+ } else {
885
+ // Backwards compatibility
886
+ $total_unformatted = $this->order->get_order_total();
887
+ }
888
+
889
+ if ($tax == 'excl' ) {
890
+ $total = $this->format_price( $total_unformatted - $this->order->get_total_tax() );
891
+ $label = __( 'Total ex. VAT', 'woocommerce-pdf-invoices-packing-slips' );
892
+ } else {
893
+ $total = $this->format_price( ( $total_unformatted ) );
894
+ $label = __( 'Total', 'woocommerce-pdf-invoices-packing-slips' );
895
+ }
896
+
897
+ $grand_total = array(
898
+ 'label' => $label,
899
+ 'value' => $total,
900
+ );
901
+
902
+ return apply_filters( 'wpo_wcpdf_order_grand_total', $grand_total, $tax, $this );
903
+ }
904
+ public function order_grand_total( $tax = 'incl' ) {
905
+ $grand_total = $this->get_order_grand_total( $tax );
906
+ echo $grand_total['value'];
907
+ }
908
+
909
+
910
+ /**
911
+ * Return/Show shipping notes
912
+ */
913
+ public function get_shipping_notes() {
914
+ if ( $this->is_refund( $this->order ) ) {
915
+ // return reason for refund if order is a refund
916
+ if ( version_compare( WOOCOMMERCE_VERSION, '3.0', '>=' ) ) {
917
+ $shipping_notes = $this->order->get_reason();
918
+ } elseif ( method_exists($this->order, 'get_refund_reason') ) {
919
+ $shipping_notes = $this->order->get_refund_reason();
920
+ } else {
921
+ $shipping_notes = wpautop( wptexturize( WCX_Order::get_prop( $this->order, 'customer_note', 'view' ) ) );
922
+ }
923
+ } else {
924
+ $shipping_notes = wpautop( wptexturize( WCX_Order::get_prop( $this->order, 'customer_note', 'view' ) ) );
925
+ }
926
+ return apply_filters( 'wpo_wcpdf_shipping_notes', $shipping_notes, $this );
927
+ }
928
+ public function shipping_notes() {
929
+ echo $this->get_shipping_notes();
930
+ }
931
+
932
+ /**
933
+ * wrapper for wc_price, ensuring currency is always passed
934
+ */
935
+ public function format_price( $price, $args = array() ) {
936
+ if ( function_exists( 'wc_price' ) ) { // WC 2.1+
937
+ $args['currency'] = WCX_Order::get_prop( $this->order, 'currency' );
938
+ $formatted_price = wc_price( $price, $args );
939
+ } else {
940
+ $formatted_price = woocommerce_price( $price );
941
+ }
942
+
943
+ return $formatted_price;
944
+ }
945
+
946
+ /**
947
+ * Gets price - formatted for display.
948
+ *
949
+ * @access public
950
+ * @param mixed $item
951
+ * @return string
952
+ */
953
+ public function get_formatted_item_price ( $item, $type, $tax_display = '' ) {
954
+ if ( ! isset( $item['line_subtotal'] ) || ! isset( $item['line_subtotal_tax'] ) ) {
955
+ return;
956
+ }
957
+
958
+ $divide_by = ($type == 'single' && $item['qty'] != 0 )?abs($item['qty']):1; //divide by 1 if $type is not 'single' (thus 'total')
959
+ if ( $tax_display == 'excl' ) {
960
+ $item_price = $this->format_price( ($this->order->get_line_subtotal( $item )) / $divide_by );
961
+ } else {
962
+ $item_price = $this->format_price( ($this->order->get_line_subtotal( $item, true )) / $divide_by );
963
+ }
964
+
965
+ return $item_price;
966
+ }
967
+
968
+ public function get_invoice_number() {
969
+ // Call the woocommerce_invoice_number filter and let third-party plugins set a number.
970
+ // Default is null, so we can detect whether a plugin has set the invoice number
971
+ $third_party_invoice_number = apply_filters( 'woocommerce_invoice_number', null, $this->order_id );
972
+ if ($third_party_invoice_number !== null) {
973
+ return $third_party_invoice_number;
974
+ }
975
+
976
+ if ( $invoice_number = $this->get_number('invoice') ) {
977
+ return $formatted_invoice_number = $invoice_number->formatted_number;
978
+ } else {
979
+ return '';
980
+ }
981
+ }
982
+
983
+ public function invoice_number() {
984
+ echo $this->get_invoice_number();
985
+ }
986
+
987
+ public function get_invoice_date() {
988
+ if ( $invoice_date = $this->get_date('invoice') ) {
989
+ return $invoice_date->date_i18n( apply_filters( 'wpo_wcpdf_date_format', wc_date_format(), $this ) );
990
+ } else {
991
+ return '';
992
+ }
993
+ }
994
+
995
+ public function invoice_date() {
996
+ echo $this->get_invoice_date();
997
+ }
998
+
999
+
1000
+ }
1001
+
1002
+ endif; // class_exists
includes/documents/abstract-wcpdf-order-document.php ADDED
@@ -0,0 +1,722 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WPO\WC\PDF_Invoices\Documents;
3
+
4
+ use WPO\WC\PDF_Invoices\Compatibility\WC_Core as WCX;
5
+ use WPO\WC\PDF_Invoices\Compatibility\Order as WCX_Order;
6
+ use WPO\WC\PDF_Invoices\Compatibility\Product as WCX_Product;
7
+ use WPO\WC\PDF_Invoices\Compatibility\WC_DateTime;
8
+
9
+ if ( ! defined( 'ABSPATH' ) ) {
10
+ exit; // Exit if accessed directly
11
+ }
12
+
13
+ if ( !class_exists( '\\WPO\\WC\\PDF_Invoices\\Documents\\Order_Document' ) ) :
14
+
15
+ /**
16
+ * Abstract Document
17
+ *
18
+ * Handles generic pdf document & order data and database interaction
19
+ * which is extended by both Invoices & Packing Slips
20
+ *
21
+ * @class \WPO\WC\PDF_Invoices\Documents\Order_Document
22
+ * @version 2.0
23
+ * @category Class
24
+ * @author Ewout Fernhout
25
+ */
26
+
27
+ abstract class Order_Document {
28
+ /**
29
+ * Document type.
30
+ * @var String
31
+ */
32
+ public $type;
33
+
34
+ /**
35
+ * Document slug.
36
+ * @var String
37
+ */
38
+ public $slug;
39
+
40
+ /**
41
+ * Document title.
42
+ * @var string
43
+ */
44
+ public $title;
45
+
46
+ /**
47
+ * Document icon.
48
+ * @var string
49
+ */
50
+ public $icon;
51
+
52
+ /**
53
+ * WC Order object
54
+ * @var object
55
+ */
56
+ public $order;
57
+
58
+ /**
59
+ * WC Order ID
60
+ * @var object
61
+ */
62
+ public $order_id;
63
+
64
+ /**
65
+ * Document settings.
66
+ * @var array
67
+ */
68
+ public $settings;
69
+
70
+ /**
71
+ * TRUE if document is enabled.
72
+ * @var bool
73
+ */
74
+ public $enabled;
75
+
76
+ /**
77
+ * Linked documents, used for data retrieval
78
+ * @var array
79
+ */
80
+ protected $linked_documents = array();
81
+
82
+ /**
83
+ * Core data for this object. Name value pairs (name + default value).
84
+ * @var array
85
+ */
86
+ protected $data = array();
87
+
88
+ /**
89
+ * Init/load the order object.
90
+ *
91
+ * @param int|object|WC_Order $order Order to init.
92
+ */
93
+ public function __construct( $order = 0 ) {
94
+ if ( is_numeric( $order ) && $order > 0 ) {
95
+ $this->order_id = $order;
96
+ $this->order = WCX::get_order( $order_id );
97
+ } elseif ( $order instanceof \WC_Order || is_subclass_of( $order, '\WC_Abstract_Order') ) {
98
+ $this->order_id = WCX_Order::get_id( $order );
99
+ $this->order = $order;
100
+ }
101
+
102
+ // set properties
103
+ $this->slug = str_replace('-', '_', $this->type);
104
+
105
+ // load settings
106
+ $this->settings = $this->get_settings();
107
+ $this->enabled = $this->get_setting( 'enabled', false );
108
+
109
+ // load data
110
+ if ( $this->order ) {
111
+ $this->read_data( $this->order );
112
+ if ( WPO_WCPDF()->legacy_mode_enabled() ) {
113
+ global $wpo_wcpdf;
114
+ $wpo_wcpdf->export->order = $this->order;
115
+ $wpo_wcpdf->export->document = $this;
116
+ $wpo_wcpdf->export->order_id = $this->order_id;
117
+ $wpo_wcpdf->export->template_type = $this->type;
118
+ }
119
+ }
120
+
121
+ // self filtering
122
+ add_action( 'wpo_wcpdf_get_html', array($this, 'format_page_number_placeholders' ), 10, 2 );
123
+ add_action( 'wpo_wcpdf_after_dompdf_render', array($this, 'page_number_replacements' ), 9, 2 );
124
+ if ( isset( WPO_WCPDF()->settings->general_settings['currency_font'] ) ) {
125
+ add_action( 'wpo_wcpdf_before_pdf', array($this, 'use_currency_font' ), 10, 2 );
126
+ }
127
+
128
+ }
129
+
130
+ public function init_settings() {
131
+ return ;
132
+ }
133
+
134
+ public function get_settings() {
135
+ $common_settings = WPO_WCPDF()->settings->get_common_document_settings();
136
+ $document_settings = get_option( 'wpo_wcpdf_documents_settings_'.$this->get_type() );
137
+ return (array) $document_settings + (array) $common_settings;
138
+ }
139
+
140
+ public function get_setting( $key, $default = '' ) {
141
+ $setting = isset( $this->settings[$key] ) ? $this->settings[$key] : $default;
142
+ return $setting;
143
+ }
144
+
145
+ public function get_attach_to_email_ids() {
146
+ $email_ids = isset( $this->settings['attach_to_email_ids'] ) ? array_keys( $this->settings['attach_to_email_ids'] ) : array();
147
+ return $email_ids;
148
+ }
149
+
150
+ public function get_type() {
151
+ return $this->type;
152
+ }
153
+
154
+ public function is_enabled() {
155
+ return apply_filters( 'wpo_wcpdf_document_is_enabled', $this->enabled, $this->type );
156
+ }
157
+
158
+ public function get_hook_prefix() {
159
+ return 'wpo_wcpdf_' . $this->slug . '_get_';
160
+ }
161
+
162
+ public function read_data( $order ) {
163
+ $number = WCX_Order::get_meta( $order, "_wcpdf_{$this->slug}_number_data", true );
164
+ // fallback to legacy data for number
165
+ if ( empty( $number ) ) {
166
+ $number = WCX_Order::get_meta( $order, "_wcpdf_{$this->slug}_number", true );
167
+ $formatted_number = WCX_Order::get_meta( $order, "_wcpdf_formatted_{$this->slug}_number", true );
168
+ if (!empty($formatted_number)) {
169
+ $number = compact( 'number', 'formatted_number' );
170
+ }
171
+ }
172
+
173
+ // pass data to setter functions
174
+ $this->set_data( array(
175
+ // always load date before number, because date is used in number formatting
176
+ 'date' => WCX_Order::get_meta( $order, "_wcpdf_{$this->slug}_date", true ),
177
+ 'number' => $number,
178
+ ), $order );
179
+
180
+ return;
181
+ }
182
+
183
+ public function init() {
184
+ $this->set_date( current_time( 'timestamp', true ) );
185
+ }
186
+
187
+ public function save( $order = null ) {
188
+ $order = empty( $order ) ? $this->order : $order;
189
+ if ( empty( $order ) ) {
190
+ return; // nowhere to save to...
191
+ }
192
+
193
+ foreach ($this->data as $key => $value) {
194
+ if ( empty( $value ) ) {
195
+ WCX_Order::delete_meta_data( $order, "_wcpdf_{$this->slug}_{$key}" );
196
+ if ( $key == 'date' ) {
197
+ WCX_Order::delete_meta_data( $order, "_wcpdf_{$this->slug}_{$key}_formatted" );
198
+ } elseif ( $key == 'number' ) {
199
+ WCX_Order::delete_meta_data( $order, "_wcpdf_{$this->slug}_{$key}_data" );
200
+ }
201
+ } else {
202
+ if ( $key == 'date' ) {
203
+ // store dates as timestamp and formatted as mysql time
204
+ WCX_Order::update_meta_data( $order, "_wcpdf_{$this->slug}_{$key}", $value->getTimestamp() );
205
+ WCX_Order::update_meta_data( $order, "_wcpdf_{$this->slug}_{$key}_formatted", $value->date( 'Y-m-d H:i:s' ) );
206
+ } elseif ( $key == 'number' ) {
207
+ // store both formatted number and number data
208
+ WCX_Order::update_meta_data( $order, "_wcpdf_{$this->slug}_{$key}", $value->formatted_number );
209
+ WCX_Order::update_meta_data( $order, "_wcpdf_{$this->slug}_{$key}_data", $value->to_array() );
210
+ }
211
+ }
212
+ }
213
+ }
214
+
215
+ public function exists() {
216
+ return !empty( $this->data['number'] );
217
+ }
218
+
219
+ /*
220
+ |--------------------------------------------------------------------------
221
+ | Data getters
222
+ |--------------------------------------------------------------------------
223
+ */
224
+
225
+ public function get_data( $key, $document_type = '', $order = null, $context = 'view' ) {
226
+ $document_type = empty( $document_type ) ? $this->type : $document_type;
227
+ $order = empty( $order ) ? $this->order : $order;
228
+
229
+ // redirect get_data call for linked documents
230
+ if ( $document_type != $this->type ) {
231
+ if ( !isset( $this->linked_documents[ $document_type ] ) ) {
232
+ // always assume parent for documents linked to credit notes
233
+ if ($this->type == 'credit-note') {
234
+ $order = $this->get_refund_parent( $order );
235
+ }
236
+ // order is not loaded to avoid overhead - we pass this by reference directly to the read_data method instead
237
+ $this->linked_documents[ $document_type ] = wcpdf_get_document( $document_type, null );
238
+ $this->linked_documents[ $document_type ]->read_data( $order );
239
+ }
240
+ return $this->linked_documents[ $document_type ]->get_data( $key, $document_type );
241
+ }
242
+
243
+ $value = null;
244
+
245
+ if ( array_key_exists( $key, $this->data ) ) {
246
+ $value = $this->data[ $key ];
247
+
248
+ if ( 'view' === $context ) {
249
+ $value = apply_filters( $this->get_hook_prefix() . $key, $value, $this );
250
+ }
251
+ }
252
+
253
+ return $value;
254
+ }
255
+
256
+ public function get_number( $document_type = '', $order = null, $context = 'view' ) {
257
+ return $this->get_data( 'number', $document_type, $order, $context );
258
+ }
259
+
260
+ public function get_date( $document_type = '', $order = null, $context = 'view' ) {
261
+ return $this->get_data( 'date', $document_type, $order, $context );
262
+ }
263
+
264
+ public function get_title() {
265
+ return apply_filters( "wpo_wcpdf_{$this->slug}_title", $this->title );
266
+ }
267
+
268
+ /*
269
+ |--------------------------------------------------------------------------
270
+ | Data setters
271
+ |--------------------------------------------------------------------------
272
+ |
273
+ | Functions for setting order data. These should not update anything in the
274
+ | order itself and should only change what is stored in the class
275
+ | object.
276
+ */
277
+
278
+ public function set_data( $data, $order ) {
279
+ $order = empty( $order ) ? $this->order : $order;
280
+ foreach ($data as $key => $value) {
281
+ $setter = "set_$key";
282
+ if ( is_callable( array( $this, $setter ) ) ) {
283
+ $this->$setter( $value, $order );
284
+ } else {
285
+ $this->data[ $key ] = $value;
286
+ }
287
+ }
288
+ }
289
+
290
+ public function set_date( $value, $order = null ) {
291
+ $order = empty( $order ) ? $this->order : $order;
292
+ try {
293
+ if ( empty( $value ) ) {
294
+ $this->data[ 'date' ] = null;
295
+ return;
296
+ }
297
+
298
+ if ( is_a( $value, 'WC_DateTime' ) ) {
299
+ $datetime = $value;
300
+ } elseif ( is_numeric( $value ) ) {
301
+ // Timestamps are handled as UTC timestamps in all cases.
302
+ $datetime = new WC_DateTime( "@{$value}", new \DateTimeZone( 'UTC' ) );
303
+ } else {
304
+ // Strings are defined in local WP timezone. Convert to UTC.
305
+ if ( 1 === preg_match( '/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(Z|((-|\+)\d{2}:\d{2}))$/', $value, $date_bits ) ) {
306
+ $offset = ! empty( $date_bits[7] ) ? iso8601_timezone_to_offset( $date_bits[7] ) : wc_timezone_offset();
307
+ $timestamp = gmmktime( $date_bits[4], $date_bits[5], $date_bits[6], $date_bits[2], $date_bits[3], $date_bits[1] ) - $offset;
308
+ } else {
309
+ $timestamp = wc_string_to_timestamp( get_gmt_from_date( gmdate( 'Y-m-d H:i:s', wc_string_to_timestamp( $value ) ) ) );
310
+ }
311
+ $datetime = new WC_DateTime( "@{$timestamp}", new \DateTimeZone( 'UTC' ) );
312
+ }
313
+
314
+ // Set local timezone or offset.
315
+ if ( get_option( 'timezone_string' ) ) {
316
+ $datetime->setTimezone( new \DateTimeZone( wc_timezone_string() ) );
317
+ } else {
318
+ $datetime->set_utc_offset( wc_timezone_offset() );
319
+ }
320
+
321
+ $this->data[ 'date' ] = $datetime;
322
+ } catch ( Exception $e ) {}
323
+
324
+
325
+ }
326
+
327
+ public function set_number( $value, $order = null ) {
328
+ $order = empty( $order ) ? $this->order : $order;
329
+
330
+ if ( is_array( $value ) ) {
331
+ $filtered_value = array_filter( $value );
332
+ }
333
+
334
+ if ( empty( $value ) || ( is_array( $value ) && empty( $filtered_value ) ) ) {
335
+ $document_number = null;
336
+ } elseif ( is_array( $value ) ) {
337
+ // WCPDF 2.0 number data
338
+ $document_number = new Document_Number( $value );
339
+ } else {
340
+ // plain number
341
+ $document_number = new Document_Number( $value, $this->get_number_settings(), $this, $order );
342
+ }
343
+
344
+ $this->data[ 'number' ] = $document_number;
345
+ }
346
+
347
+ /*
348
+ |--------------------------------------------------------------------------
349
+ | Settings getters / outputters
350
+ |--------------------------------------------------------------------------
351
+ */
352
+
353
+ public function get_number_settings() {
354
+ $number_settings = isset($this->settings['number_format'])?$this->settings['number_format']:array();
355
+ return $number_settings;
356
+ }
357
+
358
+ /**
359
+ * Output template styles
360
+ */
361
+ public function template_styles() {
362
+ $css = apply_filters( 'wpo_wcpdf_template_styles_file', $this->locate_template_file( "style.css" ) );
363
+
364
+ ob_start();
365
+ if (file_exists($css)) {
366
+ include($css);
367
+ }
368
+ $css = ob_get_clean();
369
+ $css = apply_filters( 'wpo_wcpdf_template_styles', $css, $this );
370
+
371
+ echo $css;
372
+ }
373
+
374
+ public function has_header_logo() {
375
+ return !empty( $this->settings['header_logo'] );
376
+ }
377
+
378
+ /**
379
+ * Return logo id
380
+ */
381
+ public function get_header_logo_id() {
382
+ if ( !empty( $this->settings['header_logo'] ) ) {
383
+ return apply_filters( 'wpo_wcpdf_header_logo_id', $this->settings['header_logo'], $this );
384
+ }
385
+ }
386
+
387
+ /**
388
+ * Show logo html
389
+ */
390
+ public function header_logo() {
391
+ if ($this->get_header_logo_id()) {
392
+ $attachment_id = $this->get_header_logo_id();
393
+ $company = $this->get_shop_name();
394
+ if( $attachment_id ) {
395
+ $attachment = wp_get_attachment_image_src( $attachment_id, 'full', false );
396
+
397
+ $attachment_src = $attachment[0];
398
+ $attachment_width = $attachment[1];
399
+ $attachment_height = $attachment[2];
400
+
401
+ $attachment_path = get_attached_file( $attachment_id );
402
+
403
+ if ( apply_filters('wpo_wcpdf_use_path', true) && file_exists($attachment_path) ) {
404
+ $src = $attachment_path;
405
+ } else {
406
+ $src = $attachment_src;
407
+ }
408
+
409
+ printf('<img src="%1$s" width="%2$d" height="%3$d" alt="%4$s" />', $src, $attachment_width, $attachment_height, esc_attr( $company ) );
410
+ }
411
+ }
412
+ }
413
+
414
+ public function get_settings_text( $settings_key, $default = false, $autop = true ) {
415
+ if ( !empty( $this->settings[$settings_key]['default'] ) ) {
416
+ $text = wptexturize( trim( $this->settings[$settings_key]['default'] ) );
417
+ if ($autop === true) {
418
+ $text = wpautop( $text );
419
+ }
420
+ } else {
421
+ $text = $default;
422
+ }
423
+ return apply_filters( "wpo_wcpdf_{$settings_key}", $text, $this );
424
+ }
425
+
426
+ /**
427
+ * Return/Show custom company name or default to blog name
428
+ */
429
+ public function get_shop_name() {
430
+ $default = get_bloginfo( 'name' );
431
+ return $this->get_settings_text( 'shop_name', $default, false );
432
+ }
433
+ public function shop_name() {
434
+ echo $this->get_shop_name();
435
+ }
436
+
437
+ /**
438
+ * Return/Show shop/company address if provided
439
+ */
440
+ public function get_shop_address() {
441
+ return $this->get_settings_text( 'shop_address' );
442
+ }
443
+ public function shop_address() {
444
+ echo $this->get_shop_address();
445
+ }
446
+
447
+ /**
448
+ * Return/Show shop/company footer imprint, copyright etc.
449
+ */
450
+ public function get_footer() {
451
+ return $this->get_settings_text( 'footer' );
452
+ }
453
+ public function footer() {
454
+ echo $this->get_footer();
455
+ }
456
+
457
+ /**
458
+ * Return/Show Extra field 1
459
+ */
460
+ public function get_extra_1() {
461
+ return $this->get_settings_text( 'extra_1' );
462
+
463
+ }
464
+ public function extra_1() {
465
+ echo $this->get_extra_1();
466
+ }
467
+
468
+ /**
469
+ * Return/Show Extra field 2
470
+ */
471
+ public function get_extra_2() {
472
+ return $this->get_settings_text( 'extra_2' );
473
+ }
474
+ public function extra_2() {
475
+ echo $this->get_extra_2();
476
+ }
477
+
478
+ /**
479
+ * Return/Show Extra field 3
480
+ */
481
+ public function get_extra_3() {
482
+ return $this->get_settings_text( 'extra_3' );
483
+ }
484
+ public function extra_3() {
485
+ echo $this->get_extra_3();
486
+ }
487
+
488
+ /*
489
+ |--------------------------------------------------------------------------
490
+ | Output functions
491
+ |--------------------------------------------------------------------------
492
+ */
493
+
494
+ public function get_pdf() {
495
+ do_action( 'wpo_wcpdf_before_pdf', $this->get_type(), $this );
496
+
497
+ $pdf_settings = array(
498
+ 'paper_size' => apply_filters( 'wpo_wcpdf_paper_format', $this->get_setting( 'paper_size', 'A4' ), $this->get_type() ),
499
+ 'paper_orientation' => apply_filters( 'wpo_wcpdf_paper_orientation', 'portrait', $this->get_type() ),
500
+ );
501
+ $pdf_maker = wcpdf_get_pdf_maker( $this->get_html(), $pdf_settings );
502
+ $pdf = $pdf_maker->output();
503
+
504
+ do_action( 'wpo_wcpdf_after_pdf', $this->get_type(), $this );
505
+ do_action( 'wpo_wcpdf_pdf_created', $pdf, $this );
506
+
507
+ return $pdf;
508
+ }
509
+
510
+ public function get_html( $args = array() ) {
511
+ do_action( 'wpo_wcpdf_before_html', $this->get_type(), $this );
512
+ $default_args = array (
513
+ 'wrap_html_content' => true,
514
+ );
515
+ $args = $args + $default_args;
516
+
517
+ $html = $this->render_template( $this->locate_template_file( "{$this->type}.php" ) );
518
+ if ($args['wrap_html_content']) {
519
+ $html = $this->wrap_html_content( $html );
520
+ }
521
+
522
+ // clean up special characters
523
+ $html = utf8_decode(mb_convert_encoding($html, 'HTML-ENTITIES', 'UTF-8'));
524
+ do_action( 'wpo_wcpdf_after_html', $this->get_type(), $this );
525
+
526
+ return apply_filters( 'wpo_wcpdf_get_html', $html, $this );
527
+ }
528
+
529
+ public function output_pdf() {
530
+ $pdf = $this->get_pdf();
531
+ wcpdf_pdf_headers( $this->get_filename(), 'inline', $pdf );
532
+ echo $pdf;
533
+ die();
534
+ }
535
+
536
+ public function output_html() {
537
+ echo $this->get_html();
538
+ die();
539
+ }
540
+
541
+ public function wrap_html_content( $content ) {
542
+ if ( WPO_WCPDF()->legacy_mode_enabled() ) {
543
+ $GLOBALS['wpo_wcpdf']->export->output_body = $content;
544
+ }
545
+
546
+ $html = $this->render_template( $this->locate_template_file( "html-document-wrapper.php" ), array(
547
+ 'content' => $content,
548
+ )
549
+ );
550
+ return $html;
551
+ }
552
+
553
+ public function get_filename( $context = 'download', $args = array() ) {
554
+ $order_count = isset($args['order_ids']) ? count($args['order_ids']) : 1;
555
+
556
+ $name = $this->get_type();
557
+ if ( get_post_type( $this->order_id ) == 'shop_order_refund' ) {
558
+ $number = $this->order_id;
559
+ } else {
560
+ $number = method_exists( $this->order, 'get_order_number' ) ? $this->order->get_order_number() : '';
561
+ }
562
+
563
+ if ( $order_count == 1 ) {
564
+ $suffix = $number;
565
+ } else {
566
+ $suffix = date('Y-m-d'); // 2020-11-11
567
+ }
568
+
569
+ $filename = $name . '-' . $suffix . '.pdf';
570
+
571
+ // Filter filename
572
+ $order_ids = isset($args['order_ids']) ? $args['order_ids'] : array( $this->order_id );
573
+ $filename = apply_filters( 'wpo_wcpdf_filename', $filename, $this->get_type(), $order_ids, $context );
574
+
575
+ // sanitize filename (after filters to prevent human errors)!
576
+ return sanitize_file_name( $filename );
577
+ }
578
+
579
+ public function get_template_path() {
580
+ return WPO_WCPDF()->settings->get_template_path();
581
+ }
582
+
583
+ public function locate_template_file( $file ) {
584
+ if (empty($file)) {
585
+ $file = $this->type.'.php';
586
+ }
587
+ $path = WPO_WCPDF()->settings->get_template_path( $file );
588
+ $file_path = "{$path}/{$file}";
589
+
590
+ $fallback_file_path = WPO_WCPDF()->plugin_path() . '/templates/Simple/' . $file;
591
+ if ( !file_exists( $file_path ) && file_exists( $fallback_file_path ) ) {
592
+ $file_path = $fallback_file_path;
593
+ }
594
+
595
+ $file_path = apply_filters( 'wpo_wcpdf_template_file', $file_path, $this->type, $this->order );
596
+
597
+ return $file_path;
598
+ }
599
+
600
+ public function render_template( $file, $args = array() ) {
601
+ do_action( 'wpo_wcpdf_process_template', $this->get_type(), $this );
602
+
603
+ if ( ! empty( $args ) && is_array( $args ) ) {
604
+ extract( $args );
605
+ }
606
+ ob_start();
607
+ if (file_exists($file)) {
608
+ include($file);
609
+ }
610
+ return ob_get_clean();
611
+ }
612
+
613
+ /**
614
+ * Adds spans around placeholders to be able to make replacement (page count) and css (page number)
615
+ */
616
+ public function format_page_number_placeholders ( $html, $document ) {
617
+ $html = str_replace('{{PAGE_COUNT}}', '<span class="pagecount">{{PAGE_COUNT}}</span>', $html);
618
+ $html = str_replace('{{PAGE_NUM}}', '<span class="pagenum"></span>', $html );
619
+ return $html;
620
+ }
621
+
622
+ /**
623
+ * Replace {{PAGE_COUNT}} placeholder with total page count
624
+ */
625
+ public function page_number_replacements ( $dompdf, $html ) {
626
+ $placeholder = '{{PAGE_COUNT}}';
627
+
628
+ // check if placeholder is used
629
+ if (strpos($html, $placeholder) !== false ) {
630
+ foreach ($dompdf->get_canvas()->get_cpdf()->objects as &$object) {
631
+ if (array_key_exists("c", $object) && strpos($object["c"], $placeholder) !== false) {
632
+ $object["c"] = str_replace( $placeholder , $dompdf->get_canvas()->get_page_count() , $object["c"] );
633
+ }
634
+ }
635
+ }
636
+
637
+ return $dompdf;
638
+ }
639
+
640
+ /**
641
+ * Use currency symbol font (when enabled in options)
642
+ */
643
+ public function use_currency_font ( $document_type, $document ) {
644
+ add_filter( 'woocommerce_currency_symbol', array( $this, 'wrap_currency_symbol' ), 10, 2);
645
+ add_action( 'wpo_wcpdf_custom_styles', array($this, 'currency_symbol_font_styles' ) );
646
+ }
647
+
648
+ public function wrap_currency_symbol( $currency_symbol, $currency ) {
649
+ $currency_symbol = sprintf( '<span class="wcpdf-currency-symbol">%s</span>', $currency_symbol );
650
+ return $currency_symbol;
651
+ }
652
+
653
+ public function currency_symbol_font_styles () {
654
+ ?>
655
+ .wcpdf-currency-symbol { font-family: 'Currencies'; }
656
+ <?php
657
+ }
658
+
659
+ /*
660
+ |--------------------------------------------------------------------------
661
+ | Settings helper functions
662
+ |--------------------------------------------------------------------------
663
+ */
664
+
665
+ /**
666
+ * get all emails registered in WooCommerce
667
+ * @param boolean $remove_defaults switch to remove default woocommerce emails
668
+ * @return array $emails list of all email ids/slugs and names
669
+ */
670
+ public function get_wc_emails() {
671
+ // get emails from WooCommerce
672
+ global $woocommerce;
673
+ $mailer = $woocommerce->mailer();
674
+ $wc_emails = $mailer->get_emails();
675
+
676
+ $non_order_emails = array(
677
+ 'customer_note',
678
+ 'customer_reset_password',
679
+ 'customer_new_account'
680
+ );
681
+
682
+ $emails = array();
683
+ foreach ($wc_emails as $class => $email) {
684
+ if ( !in_array( $email->id, $non_order_emails ) ) {
685
+ switch ($email->id) {
686
+ case 'new_order':
687
+ $emails[$email->id] = sprintf('%s (%s)', $email->title, __( 'Admin email', 'woocommerce-pdf-invoices-packing-slips' ) );
688
+ break;
689
+ case 'customer_invoice':
690
+ $emails[$email->id] = sprintf('%s (%s)', $email->title, __( 'Manual email', 'woocommerce-pdf-invoices-packing-slips' ) );
691
+ break;
692
+ default:
693
+ $emails[$email->id] = $email->title;
694
+ break;
695
+ }
696
+ }
697
+ }
698
+
699
+ return apply_filters( 'wpo_wcpdf_wc_emails', $emails );
700
+ }
701
+
702
+ // get list of WooCommerce statuses
703
+ public function get_wc_order_status_list() {
704
+ if ( version_compare( WOOCOMMERCE_VERSION, '2.2', '<' ) ) {
705
+ $statuses = (array) get_terms( 'shop_order_status', array( 'hide_empty' => 0, 'orderby' => 'id' ) );
706
+ foreach ( $statuses as $status ) {
707
+ $order_statuses[esc_attr( $status->slug )] = esc_html__( $status->name, 'woocommerce' );
708
+ }
709
+ } else {
710
+ $statuses = wc_get_order_statuses();
711
+ foreach ( $statuses as $status_slug => $status ) {
712
+ $status_slug = 'wc-' === substr( $status_slug, 0, 3 ) ? substr( $status_slug, 3 ) : $status_slug;
713
+ $order_statuses[$status_slug] = $status;
714
+ }
715
+ }
716
+ return $order_statuses;
717
+ }
718
+
719
+
720
+ }
721
+
722
+ endif; // class_exists
includes/documents/class-wcpdf-bulk-document.php ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WPO\WC\PDF_Invoices\Documents;
3
+
4
+ use WPO\WC\PDF_Invoices\Compatibility\WC_Core as WCX;
5
+ use WPO\WC\PDF_Invoices\Compatibility\Order as WCX_Order;
6
+ use WPO\WC\PDF_Invoices\Compatibility\Product as WCX_Product;
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly
10
+ }
11
+
12
+ if ( !class_exists( '\\WPO\\WC\\PDF_Invoices\\Documents\\Bulk_Document' ) ) :
13
+
14
+ /**
15
+ * Bulk Document
16
+ *
17
+ * Wraps single documents in a bulk document
18
+ *
19
+ * @class \WPO\WC\PDF_Invoices\Documents\Bulk_Document
20
+ * @version 2.0
21
+ * @category Class
22
+ * @author Ewout Fernhout
23
+ */
24
+
25
+ class Bulk_Document {
26
+ /**
27
+ * Document type.
28
+ * @var String
29
+ */
30
+ public $type;
31
+
32
+ /**
33
+ * Wrapper document - used for filename etc.
34
+ * @var String
35
+ */
36
+ public $wrapper_document;
37
+
38
+ /**
39
+ * Order IDs.
40
+ * @var array
41
+ */
42
+ public $order_ids;
43
+
44
+ public function __construct( $document_type, $order_ids = array() ) {
45
+ $this->type = $document_type;
46
+ $this->order_ids = $order_ids;
47
+ }
48
+
49
+ public function get_type() {
50
+ return $this->type;
51
+ }
52
+
53
+ public function get_pdf() {
54
+ do_action( 'wpo_wcpdf_before_pdf', $this->get_type(), $this );
55
+
56
+ $html = $this->get_html();
57
+ $pdf_settings = array(
58
+ 'paper_size' => apply_filters( 'wpo_wcpdf_paper_format', $this->wrapper_document->get_setting( 'paper_size', 'A4' ), $this->get_type() ),
59
+ 'paper_orientation' => apply_filters( 'wpo_wcpdf_paper_orientation', 'portrait', $this->get_type() ),
60
+ );
61
+ $pdf_maker = wcpdf_get_pdf_maker( $html, $pdf_settings );
62
+ $pdf = $pdf_maker->output();
63
+
64
+ do_action( 'wpo_wcpdf_after_pdf', $this->get_type(), $this );
65
+
66
+ return $pdf;
67
+ }
68
+
69
+ public function get_html() {
70
+ do_action( 'wpo_wcpdf_before_html', $this->get_type(), $this );
71
+ $html_content = array();
72
+ foreach ( $this->order_ids as $key => $order_id ) {
73
+ do_action( 'wpo_wcpdf_process_template_order', $this->get_type(), $order_id );
74
+
75
+ $order = WCX::get_order( $order_id );
76
+
77
+ $document = wcpdf_get_document( $this->get_type(), $order, true );
78
+ $html_content[ $key ] = $document->get_html( array( 'wrap_html_content' => false ) );
79
+ }
80
+
81
+ // get wrapper document
82
+ $this->wrapper_document = wcpdf_get_document( $this->get_type(), null );
83
+
84
+ // insert page breaks and wrap bulk document
85
+ $page_break = "\n<div style=\"page-break-before: always;\"></div>\n";
86
+ $html = $this->wrapper_document->wrap_html_content( implode( $page_break, $html_content ) );
87
+ do_action( 'wpo_wcpdf_after_html', $this->get_type(), $this );
88
+
89
+ return $html;
90
+ }
91
+
92
+ public function output_pdf() {
93
+ $pdf = $this->get_pdf();
94
+ wcpdf_pdf_headers( $this->get_filename(), 'inline', $pdf );
95
+ echo $pdf;
96
+ die();
97
+ }
98
+
99
+ public function output_html() {
100
+ echo $this->get_html();
101
+ die();
102
+ }
103
+
104
+ public function get_filename( $context = 'download', $args = array() ) {
105
+ if ( empty( $this->wrapper_document ) ) {
106
+ $this->wrapper_document = wcpdf_get_document( $this->get_type(), null );
107
+ }
108
+ $default_args = array(
109
+ 'order_ids' => $this->order_ids,
110
+ );
111
+ $args = $args + $default_args;
112
+ $filename = $this->wrapper_document->get_filename( $context, $args );
113
+ return $filename;
114
+ }
115
+
116
+ }
117
+
118
+ endif; // class_exists
includes/documents/class-wcpdf-document-number.php ADDED
@@ -0,0 +1,144 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WPO\WC\PDF_Invoices\Documents;
3
+
4
+ use WPO\WC\PDF_Invoices\Compatibility\WC_Core as WCX;
5
+ use WPO\WC\PDF_Invoices\Compatibility\Order as WCX_Order;
6
+ use WPO\WC\PDF_Invoices\Compatibility\Product as WCX_Product;
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly
10
+ }
11
+
12
+ if ( !class_exists( '\\WPO\\WC\\PDF_Invoices\\Documents\\Document_Number' ) ) :
13
+
14
+ /**
15
+ * Document Number class
16
+ *
17
+ * @class \WPO\WC\PDF_Invoices\Documents\Document_Number
18
+ * @version 2.0
19
+ * @category Class
20
+ * @author Ewout Fernhout
21
+ */
22
+
23
+ class Document_Number {
24
+ /**
25
+ * The raw, unformatted number
26
+ * @var int
27
+ */
28
+ public $number;
29
+
30
+ /**
31
+ * Document number formatted for display
32
+ * @var String
33
+ */
34
+ public $formatted_number;
35
+
36
+ /**
37
+ * Number prefix
38
+ * @var string
39
+ */
40
+ public $prefix;
41
+
42
+ /**
43
+ * Number suffix
44
+ * @var string
45
+ */
46
+ public $suffix;
47
+
48
+ /**
49
+ * Zeros padding (total number of digits including leading zeros)
50
+ * @var int
51
+ */
52
+ public $padding;
53
+
54
+ public function __construct( $number, $settings = array(), $document = null, $order = null ) {
55
+ $number = apply_filters( 'wpo_wcpdf_raw_document_number', $number, $settings, $document, $order );
56
+ if ( !is_array( $number ) ) {
57
+ // we're creating a new number with settings as passed
58
+ $this->number = $number;
59
+
60
+ foreach ($settings as $key => $value) {
61
+ $this->{$key} = $value;
62
+ }
63
+
64
+ if ( !isset( $this->formatted_number ) ) {
65
+ $this->apply_formatting( $document, ( !empty( $document->order ) ? $document->order : $order ) );
66
+ }
67
+
68
+ } elseif ( is_array( $number ) ) {
69
+ // loaded with full number data
70
+ foreach ($number as $key => $value) {
71
+ $this->{$key} = $value;
72
+ }
73
+ }
74
+ }
75
+
76
+ public function __toString() {
77
+ return $this->get_formatted();
78
+ }
79
+
80
+ public function get_formatted() {
81
+ return isset( $this->formatted_number ) ? $this->formatted_number : '';
82
+ }
83
+
84
+ public function get_plain() {
85
+ return $this->number;
86
+ }
87
+
88
+ public function apply_formatting( $document, $order ) {
89
+ if ( empty( $document ) || empty( $order ) ) {
90
+ $this->formatted_number = $this->number;
91
+ return;
92
+ }
93
+
94
+ // load plain number
95
+ $number = $this->number;
96
+
97
+ // get dates
98
+ $order_date = WCX_Order::get_prop( $order, 'date_created' );
99
+ $document_date = $document->get_date();
100
+
101
+ // get format settings
102
+ $formats = array(
103
+ 'prefix' => $this->prefix,
104
+ 'suffix' => $this->suffix,
105
+ );
106
+
107
+ // load replacement values
108
+ $order_year = $order_date->date_i18n( 'Y' );
109
+ $order_month = $order_date->date_i18n( 'm' );
110
+ $order_day = $order_date->date_i18n( 'd' );
111
+ $document_year = $document_date->date_i18n( 'Y' );
112
+ $document_month = $document_date->date_i18n( 'm' );
113
+ $document_day = $document_date->date_i18n( 'd' );
114
+
115
+ // make replacements
116
+ foreach ($formats as $key => $value) {
117
+ $value = str_replace('[order_year]', $order_year, $value);
118
+ $value = str_replace('[order_month]', $order_month, $value);
119
+ $value = str_replace('[order_day]', $order_day, $value);
120
+ $value = str_replace("[{$document->slug}_year]", $document_year, $value);
121
+ $value = str_replace("[{$document->slug}_month]", $document_month, $value);
122
+ $value = str_replace("[{$document->slug}_day]", $document_day, $value);
123
+ $formats[$key] = $value;
124
+ }
125
+
126
+ // Padding
127
+ if ( ctype_digit( (string)$this->padding ) ) {
128
+ $number = sprintf('%0'.$this->padding.'d', $number);
129
+ }
130
+
131
+ // Add prefix & suffix
132
+ $this->formatted_number = $formats['prefix'] . $number . $formats['suffix'] ;
133
+ // Apply filters and store
134
+ $this->formatted_number = apply_filters( 'wpo_wcpdf_formatted_document_number', $this->formatted_number, $this, $document, $order );
135
+
136
+ return $this->formatted_number;
137
+ }
138
+
139
+ public function to_array() {
140
+ return (array) $this;
141
+ }
142
+ }
143
+
144
+ endif; // class_exists
includes/documents/class-wcpdf-invoice.php ADDED
@@ -0,0 +1,341 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WPO\WC\PDF_Invoices\Documents;
3
+
4
+ use WPO\WC\PDF_Invoices\Compatibility\WC_Core as WCX;
5
+ use WPO\WC\PDF_Invoices\Compatibility\Order as WCX_Order;
6
+ use WPO\WC\PDF_Invoices\Compatibility\Product as WCX_Product;
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly
10
+ }
11
+
12
+ if ( !class_exists( '\\WPO\\WC\\PDF_Invoices\\Documents\\Invoice' ) ) :
13
+
14
+ /**
15
+ * Invoice Document
16
+ *
17
+ * @class \WPO\WC\PDF_Invoices\Documents\Invoice
18
+ * @version 2.0
19
+ * @category Class
20
+ * @author Ewout Fernhout
21
+ */
22
+
23
+ class Invoice extends Order_Document_Methods {
24
+ /**
25
+ * Init/load the order object.
26
+ *
27
+ * @param int|object|WC_Order $order Order to init.
28
+ */
29
+ public function __construct( $order = 0 ) {
30
+ // set properties
31
+ $this->type = 'invoice';
32
+ $this->title = __( 'Invoice', 'woocommerce-pdf-invoices-packing-slips' );
33
+ $this->icon = WPO_WCPDF()->plugin_url() . "/assets/images/invoice.png";
34
+
35
+ // Call parent constructor
36
+ parent::__construct( $order );
37
+ }
38
+
39
+ public function get_title() {
40
+ // override/not using $this->title to allow for language switching!
41
+ return apply_filters( "wpo_wcpdf_{$this->slug}_title", __( 'Invoice', 'woocommerce-pdf-invoices-packing-slips' ) );
42
+ }
43
+
44
+ public function init() {
45
+ $this->set_date( current_time( 'timestamp', true ) );
46
+ $this->init_number();
47
+ }
48
+
49
+ public function init_number() {
50
+ global $wpdb;
51
+ // If a third-party plugin claims to generate invoice numbers, trigger this instead
52
+ if ( apply_filters( 'woocommerce_invoice_number_by_plugin', false ) ) {
53
+ $invoice_number = apply_filters( 'woocommerce_generate_invoice_number', null, $this->order );
54
+ return $invoice_number;
55
+ }
56
+
57
+ $number_store = new Sequential_Number_Store( 'invoice_number' );
58
+ // reset invoice number yearly
59
+ if ( isset( $this->settings['reset_number_yearly'] ) ) {
60
+ $current_year = date("Y");
61
+ $last_number_year = $number_store->get_last_date('Y');
62
+ // check if we need to reset
63
+ if ( $current_year != $last_number_year ) {
64
+ $number_store->set_next( 1 );
65
+ }
66
+ }
67
+
68
+ $invoice_date = $this->get_date();
69
+ $invoice_number = $number_store->increment( $this->order_id, $invoice_date->date_i18n( 'Y-m-d H:i:s' ) );
70
+
71
+ $this->set_number( $invoice_number );
72
+
73
+ return $invoice_number;
74
+ }
75
+
76
+ public function get_settings() {
77
+ $common_settings = WPO_WCPDF()->settings->get_common_document_settings();
78
+ $document_settings = get_option( 'wpo_wcpdf_documents_settings_invoice' );
79
+ return (array) $document_settings + (array) $common_settings;
80
+ }
81
+
82
+ public function get_filename( $context = 'download', $args = array() ) {
83
+ $order_count = isset($args['order_ids']) ? count($args['order_ids']) : 1;
84
+
85
+ $name = _n( 'invoice', 'invoices', $order_count, 'woocommerce-pdf-invoices-packing-slips' );
86
+
87
+ if ( $order_count == 1 ) {
88
+ if ( isset( $this->settings['display_number'] ) ) {
89
+ $suffix = (string) $this->get_number();
90
+ } else {
91
+ if ( empty( $this->order ) ) {
92
+ $order = WCX::get_order ( $order_ids[0] );
93
+ $suffix = method_exists( $order, 'get_order_number' ) ? $order->get_order_number() : '';
94
+ } else {
95
+ $suffix = method_exists( $this->order, 'get_order_number' ) ? $this->order->get_order_number() : '';
96
+ }
97
+ }
98
+ } else {
99
+ $suffix = date('Y-m-d'); // 2020-11-11
100
+ }
101
+
102
+ $filename = $name . '-' . $suffix . '.pdf';
103
+
104
+ // Filter filename
105
+ $order_ids = isset($args['order_ids']) ? $args['order_ids'] : array( $this->order_id );
106
+ $filename = apply_filters( 'wpo_wcpdf_filename', $filename, $this->get_type(), $order_ids, $context );
107
+
108
+ // sanitize filename (after filters to prevent human errors)!
109
+ return sanitize_file_name( $filename );
110
+ }
111
+
112
+
113
+ /**
114
+ * Initialise settings
115
+ */
116
+ public function init_settings() {
117
+ // Register settings.
118
+ $page = $option_group = $option_name = 'wpo_wcpdf_documents_settings_invoice';
119
+
120
+ $settings_fields = array(
121
+ array(
122
+ 'type' => 'section',
123
+ 'id' => 'invoice',
124
+ 'title' => '',
125
+ 'callback' => 'section',
126
+ ),
127
+ array(
128
+ 'type' => 'setting',
129
+ 'id' => 'enabled',
130
+ 'title' => __( 'Enable', 'woocommerce-pdf-invoices-packing-slips' ),
131
+ 'callback' => 'checkbox',
132
+ 'section' => 'invoice',
133
+ 'args' => array(
134
+ 'option_name' => $option_name,
135
+ 'id' => 'enabled',
136
+ )
137
+ ),
138
+ array(
139
+ 'type' => 'setting',
140
+ 'id' => 'attach_to_email_ids',
141
+ 'title' => __( 'Attach to:', 'woocommerce-pdf-invoices-packing-slips' ),
142
+ 'callback' => 'multiple_checkboxes',
143
+ 'section' => 'invoice',
144
+ 'args' => array(
145
+ 'option_name' => $option_name,
146
+ 'id' => 'attach_to_email_ids',
147
+ 'fields' => $this->get_wc_emails(),
148
+ 'description' => !is_writable( WPO_WCPDF()->main->get_tmp_path( 'attachments' ) ) ? '<span class="wpo-warning">' . sprintf( __( 'It looks like the temp folder (<code>%s</code>) is not writable, check the permissions for this folder! Without having write access to this folder, the plugin will not be able to email invoices.', 'woocommerce-pdf-invoices-packing-slips' ), WPO_WCPDF()->main->get_tmp_path( 'attachments' ) ).'</span>':'',
149
+ )
150
+ ),
151
+ array(
152
+ 'type' => 'setting',
153
+ 'id' => 'display_shipping_address',
154
+ 'title' => __( 'Display shipping address', 'woocommerce-pdf-invoices-packing-slips' ),
155
+ 'callback' => 'checkbox',
156
+ 'section' => 'invoice',
157
+ 'args' => array(
158
+ 'option_name' => $option_name,
159
+ 'id' => 'display_shipping_address',
160
+ 'description' => __( 'Display shipping address (in addition to the default billing address) if different from billing address', 'woocommerce-pdf-invoices-packing-slips' ),
161
+ )
162
+ ),
163
+ array(
164
+ 'type' => 'setting',
165
+ 'id' => 'display_email',
166
+ 'title' => __( 'Display email address', 'woocommerce-pdf-invoices-packing-slips' ),
167
+ 'callback' => 'checkbox',
168
+ 'section' => 'invoice',
169
+ 'args' => array(
170
+ 'option_name' => $option_name,
171
+ 'id' => 'display_email',
172
+ )
173
+ ),
174
+ array(
175
+ 'type' => 'setting',
176
+ 'id' => 'display_phone',
177
+ 'title' => __( 'Display phone number', 'woocommerce-pdf-invoices-packing-slips' ),
178
+ 'callback' => 'checkbox',
179
+ 'section' => 'invoice',
180
+ 'args' => array(
181
+ 'option_name' => $option_name,
182
+ 'id' => 'display_phone',
183
+ )
184
+ ),
185
+ array(
186
+ 'type' => 'setting',
187
+ 'id' => 'display_date',
188
+ 'title' => __( 'Display invoice date', 'woocommerce-pdf-invoices-packing-slips' ),
189
+ 'callback' => 'checkbox',
190
+ 'section' => 'invoice',
191
+ 'args' => array(
192
+ 'option_name' => $option_name,
193
+ 'id' => 'display_date',
194
+ 'value' => 'invoice_date',
195
+ )
196
+ ),
197
+ array(
198
+ 'type' => 'setting',
199
+ 'id' => 'display_number',
200
+ 'title' => __( 'Display invoice number', 'woocommerce-pdf-invoices-packing-slips' ),
201
+ 'callback' => 'checkbox',
202
+ 'section' => 'invoice',
203
+ 'args' => array(
204
+ 'option_name' => $option_name,
205
+ 'id' => 'display_number',
206
+ 'value' => 'invoice_number',
207
+ )
208
+ ),
209
+ array(
210
+ 'type' => 'setting',
211
+ 'id' => 'next_invoice_number',
212
+ 'title' => __( 'Next invoice number (without prefix/suffix etc.)', 'woocommerce-pdf-invoices-packing-slips' ),
213
+ 'callback' => 'next_number_edit',
214
+ 'section' => 'invoice',
215
+ 'args' => array(
216
+ 'store' => 'invoice_number',
217
+ 'size' => '10',
218
+ 'description' => __( 'This is the number that will be used for the next document. By default, numbering starts from 1 and increases for every new document. Note that if you override this and set it lower than the current/highest number, this could create duplicate numbers!', 'woocommerce-pdf-invoices-packing-slips' ),
219
+ )
220
+ ),
221
+ array(
222
+ 'type' => 'setting',
223
+ 'id' => 'number_format',
224
+ 'title' => __( 'Number format', 'woocommerce-pdf-invoices-packing-slips' ),
225
+ 'callback' => 'multiple_text_input',
226
+ 'section' => 'invoice',
227
+ 'args' => array(
228
+ 'option_name' => $option_name,
229
+ 'id' => 'number_format',
230
+ 'fields' => array(
231
+ 'prefix' => array(
232
+ 'placeholder' => __( 'Prefix' , 'woocommerce-pdf-invoices-packing-slips' ),
233
+ 'size' => 20,
234
+ 'description' => __( 'to use the invoice year and/or month, use [invoice_year] or [invoice_month] respectively' , 'woocommerce-pdf-invoices-packing-slips' ),
235
+ ),
236
+ 'suffix' => array(
237
+ 'placeholder' => __( 'Suffix' , 'woocommerce-pdf-invoices-packing-slips' ),
238
+ 'size' => 20,
239
+ 'description' => '',
240
+ ),
241
+ 'padding' => array(
242
+ 'placeholder' => __( 'Padding' , 'woocommerce-pdf-invoices-packing-slips' ),
243
+ 'size' => 20,
244
+ 'type' => 'number',
245
+ 'description' => __( 'enter the number of digits here - enter "6" to display 42 as 000042' , 'woocommerce-pdf-invoices-packing-slips' ),
246
+ ),
247
+ ),
248
+ 'description' => __( 'note: if you have already created a custom invoice number format with a filter, the above settings will be ignored' , 'woocommerce-pdf-invoices-packing-slips' ),
249
+ )
250
+ ),
251
+ array(
252
+ 'type' => 'setting',
253
+ 'id' => 'reset_number_yearly',
254
+ 'title' => __( 'Reset invoice number yearly', 'woocommerce-pdf-invoices-packing-slips' ),
255
+ 'callback' => 'checkbox',
256
+ 'section' => 'invoice',
257
+ 'args' => array(
258
+ 'option_name' => $option_name,
259
+ 'id' => 'reset_number_yearly',
260
+ )
261
+ ),
262
+ array(
263
+ 'type' => 'setting',
264
+ 'id' => 'my_account_buttons',
265
+ 'title' => __( 'Allow My Account invoice download', 'woocommerce-pdf-invoices-packing-slips' ),
266
+ 'callback' => 'select',
267
+ 'section' => 'invoice',
268
+ 'args' => array(
269
+ 'option_name' => $option_name,
270
+ 'id' => 'my_account_buttons',
271
+ 'options' => array(
272
+ 'available' => __( 'Only when an invoice is already created/emailed' , 'woocommerce-pdf-invoices-packing-slips' ),
273
+ 'custom' => __( 'Only for specific order statuses (define below)' , 'woocommerce-pdf-invoices-packing-slips' ),
274
+ 'always' => __( 'Always' , 'woocommerce-pdf-invoices-packing-slips' ),
275
+ 'never' => __( 'Never' , 'woocommerce-pdf-invoices-packing-slips' ),
276
+ ),
277
+ 'custom' => array(
278
+ 'type' => 'multiple_checkboxes',
279
+ 'args' => array(
280
+ 'option_name' => $option_name,
281
+ 'id' => 'my_account_restrict',
282
+ 'fields' => $this->get_wc_order_status_list(),
283
+ ),
284
+ ),
285
+ )
286
+ ),
287
+ array(
288
+ 'type' => 'setting',
289
+ 'id' => 'invoice_number_column',
290
+ 'title' => __( 'Enable invoice number column in the orders list', 'woocommerce-pdf-invoices-packing-slips' ),
291
+ 'callback' => 'checkbox',
292
+ 'section' => 'invoice',
293
+ 'args' => array(
294
+ 'option_name' => $option_name,
295
+ 'id' => 'invoice_number_column',
296
+ )
297
+ ),
298
+ array(
299
+ 'type' => 'setting',
300
+ 'id' => 'disable_free',
301
+ 'title' => __( 'Disable for free products', 'woocommerce-pdf-invoices-packing-slips' ),
302
+ 'callback' => 'checkbox',
303
+ 'section' => 'invoice',
304
+ 'args' => array(
305
+ 'option_name' => $option_name,
306
+ 'id' => 'disable_free',
307
+ 'description' => __( "Disable automatic creation/attachment when only free products are ordered", 'woocommerce-pdf-invoices-packing-slips' ),
308
+ )
309
+ ),
310
+ );
311
+
312
+
313
+ // remove/rename some fields when invoice number is controlled externally
314
+ if( apply_filters('woocommerce_invoice_number_by_plugin', false) ) {
315
+ $remove_settings = array( 'next_invoice_number', 'number_format', 'reset_number_yearly' );
316
+ foreach ($settings_fields as $key => $settings_field) {
317
+ if (in_array($settings_field['id'], $remove_settings)) {
318
+ unset($settings_fields[$key]);
319
+ } elseif ( $settings_field['id'] == 'display_number' ) {
320
+ // alternate description for invoice number
321
+ $invoice_number_desc = __( 'Invoice numbers are created by a third-party extension.', 'woocommerce-pdf-invoices-packing-slips' );
322
+ if ( esc_attr( apply_filters( 'woocommerce_invoice_number_configuration_link', null ) ) ) {
323
+ $invoice_number_desc .= ' '.sprintf(__( 'Configure it <a href="%s">here</a>.', 'woocommerce-pdf-invoices-packing-slips' ), $config_link);
324
+ }
325
+ $settings_fields[$key]['args']['description'] = '<i>'.$invoice_number_desc.'</i>';
326
+ }
327
+ }
328
+ }
329
+
330
+ // allow plugins to alter settings fields
331
+ $settings_fields = apply_filters( 'wpo_wcpdf_settings_fields_documents_invoice', $settings_fields, $page, $option_group, $option_name );
332
+ WPO_WCPDF()->settings->add_settings_fields( $settings_fields, $page, $option_group, $option_name );
333
+ return;
334
+
335
+ }
336
+
337
+ }
338
+
339
+ endif; // class_exists
340
+
341
+ return new Invoice();
includes/documents/class-wcpdf-packing-slip.php ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WPO\WC\PDF_Invoices\Documents;
3
+
4
+ use WPO\WC\PDF_Invoices\Compatibility\WC_Core as WCX;
5
+ use WPO\WC\PDF_Invoices\Compatibility\Order as WCX_Order;
6
+ use WPO\WC\PDF_Invoices\Compatibility\Product as WCX_Product;
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly
10
+ }
11
+
12
+ if ( !class_exists( '\\WPO\\WC\\PDF_Invoices\\Documents\\Packing_Slip' ) ) :
13
+
14
+ /**
15
+ * Packing Slip Document
16
+ *
17
+ * @class \WPO\WC\PDF_Invoices\Documents\Packing_Slip
18
+ * @version 2.0
19
+ * @category Class
20
+ * @author Ewout Fernhout
21
+ */
22
+
23
+ class Packing_Slip extends Order_Document_Methods {
24
+ /**
25
+ * Init/load the order object.
26
+ *
27
+ * @param int|object|WC_Order $order Order to init.
28
+ */
29
+ public function __construct( $order = 0 ) {
30
+ // set properties
31
+ $this->type = 'packing-slip';
32
+ $this->title = __( 'Packing Slip', 'woocommerce-pdf-invoices-packing-slips' );
33
+ $this->icon = WPO_WCPDF()->plugin_url() . "/assets/images/packing-slip.png";
34
+
35
+ // Call parent constructor
36
+ parent::__construct( $order );
37
+ }
38
+
39
+ public function get_title() {
40
+ // override/not using $this->title to allow for language switching!
41
+ return apply_filters( "wpo_wcpdf_{$this->slug}_title", __( 'Packing Slip', 'woocommerce-pdf-invoices-packing-slips' ) );
42
+ }
43
+
44
+ public function get_settings() {
45
+ $common_settings = WPO_WCPDF()->settings->get_common_document_settings();
46
+ $document_settings = get_option( 'wpo_wcpdf_documents_settings_packing-slip' );
47
+ return (array) $document_settings + (array) $common_settings;
48
+ }
49
+
50
+ public function get_filename( $context = 'download', $args = array() ) {
51
+ $order_count = isset($args['order_ids']) ? count($args['order_ids']) : 1;
52
+
53
+ $name = _n( 'packing-slip', 'packing-slips', $order_count, 'woocommerce-pdf-invoices-packing-slips' );
54
+
55
+ if ( $order_count == 1 ) {
56
+ if ( isset( $this->settings['display_number'] ) ) {
57
+ $suffix = (string) $this->get_number();
58
+ } else {
59
+ if ( empty( $this->order ) ) {
60
+ $order = WCX::get_order ( $order_ids[0] );
61
+ $suffix = method_exists( $order, 'get_order_number' ) ? $order->get_order_number() : '';
62
+ } else {
63
+ $suffix = method_exists( $this->order, 'get_order_number' ) ? $this->order->get_order_number() : '';
64
+ }
65
+ }
66
+ } else {
67
+ $suffix = date('Y-m-d'); // 2020-11-11
68
+ }
69
+
70
+ $filename = $name . '-' . $suffix . '.pdf';
71
+
72
+ // Filter filename
73
+ $order_ids = isset($args['order_ids']) ? $args['order_ids'] : array( $this->order_id );
74
+ $filename = apply_filters( 'wpo_wcpdf_filename', $filename, $this->get_type(), $order_ids, $context );
75
+
76
+ // sanitize filename (after filters to prevent human errors)!
77
+ return sanitize_file_name( $filename );
78
+ }
79
+
80
+ public function init_settings() {
81
+ // Register settings.
82
+ $page = $option_group = $option_name = 'wpo_wcpdf_documents_settings_packing-slip';
83
+
84
+ $settings_fields = array(
85
+ array(
86
+ 'type' => 'section',
87
+ 'id' => 'packing_slip',
88
+ 'title' => '',
89
+ 'callback' => 'section',
90
+ ),
91
+ array(
92
+ 'type' => 'setting',
93
+ 'id' => 'enabled',
94
+ 'title' => __( 'Enable', 'woocommerce-pdf-invoices-packing-slips' ),
95
+ 'callback' => 'checkbox',
96
+ 'section' => 'packing_slip',
97
+ 'args' => array(
98
+ 'option_name' => $option_name,
99
+ 'id' => 'enabled',
100
+ )
101
+ ),
102
+ array(
103
+ 'type' => 'setting',
104
+ 'id' => 'display_billing_address',
105
+ 'title' => __( 'Display billing address', 'woocommerce-pdf-invoices-packing-slips' ),
106
+ 'callback' => 'checkbox',
107
+ 'section' => 'packing_slip',
108
+ 'args' => array(
109
+ 'option_name' => $option_name,
110
+ 'id' => 'display_billing_address',
111
+ 'description' => __( 'Display billing address (in addition to the default shipping address) if different from shipping address', 'woocommerce-pdf-invoices-packing-slips' ),
112
+ )
113
+ ),
114
+ array(
115
+ 'type' => 'setting',
116
+ 'id' => 'display_email',
117
+ 'title' => __( 'Display email address', 'woocommerce-pdf-invoices-packing-slips' ),
118
+ 'callback' => 'checkbox',
119
+ 'section' => 'packing_slip',
120
+ 'args' => array(
121
+ 'option_name' => $option_name,
122
+ 'id' => 'display_email',
123
+ )
124
+ ),
125
+ array(
126
+ 'type' => 'setting',
127
+ 'id' => 'display_phone',
128
+ 'title' => __( 'Display phone number', 'woocommerce-pdf-invoices-packing-slips' ),
129
+ 'callback' => 'checkbox',
130
+ 'section' => 'packing_slip',
131
+ 'args' => array(
132
+ 'option_name' => $option_name,
133
+ 'id' => 'display_phone',
134
+ )
135
+ ),
136
+ );
137
+
138
+
139
+ // allow plugins to alter settings fields
140
+ $settings_fields = apply_filters( 'wpo_wcpdf_settings_fields_documents_packing_slip', $settings_fields, $page, $option_group, $option_name );
141
+ WPO_WCPDF()->settings->add_settings_fields( $settings_fields, $page, $option_group, $option_name );
142
+ return;
143
+
144
+ }
145
+
146
+ }
147
+
148
+ endif; // class_exists
149
+
150
+ return new Packing_Slip();
includes/documents/class-wcpdf-sequential-number-store.php ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WPO\WC\PDF_Invoices\Documents;
3
+
4
+ if ( ! defined( 'ABSPATH' ) ) {
5
+ exit; // Exit if accessed directly
6
+ }
7
+
8
+ if ( !class_exists( '\\WPO\\WC\\PDF_Invoices\\Documents\\Sequential_Number_Store' ) ) :
9
+
10
+ /**
11
+ * Class handling database interaction for sequential numbers
12
+ *
13
+ * @class \WPO\WC\PDF_Invoices\Documents\Sequential_Number_Store
14
+ * @version 2.0
15
+ * @category Class
16
+ * @author Ewout Fernhout
17
+ */
18
+
19
+ class Sequential_Number_Store {
20
+ /**
21
+ * Name of the table that stores the number sequence (without the wp_wcpdf_ table prefix)
22
+ * @var String
23
+ */
24
+ public $table_name;
25
+
26
+ public function __construct( $table_name ) {
27
+ global $wpdb;
28
+ $this->table_name = "{$wpdb->prefix}wcpdf_{$table_name}"; // i.e. wp_wcpdf_invoice_number
29
+
30
+ $this->init();
31
+ }
32
+
33
+ public function init() {
34
+ global $wpdb;
35
+ // check if table exists
36
+ if( $wpdb->get_var("SHOW TABLES LIKE '{$this->table_name}'") == $this->table_name) {
37
+ return; // no further business
38
+ }
39
+
40
+ // create table (in case of concurrent requests, this does no harm if it already exists)
41
+ $charset_collate = $wpdb->get_charset_collate();
42
+ // dbDelta is a sensitive kid, so we omit indentation
43
+ $sql = "CREATE TABLE {$this->table_name} (
44
+ id int(16) NOT NULL AUTO_INCREMENT,
45
+ order_id int(16),
46
+ date datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
47
+ PRIMARY KEY (id)
48
+ ) $charset_collate;";
49
+
50
+ require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
51
+ $result = dbDelta( $sql );
52
+
53
+ return $result;
54
+ }
55
+
56
+ /**
57
+ * Consume/create the next number and return it
58
+ * @param integer $order_id WooCommerce Order ID
59
+ * @param string $date Local date, formatted as Y-m-d H:i:s
60
+ * @return int Number that was consumed/created
61
+ */
62
+ public function increment( $order_id = 0, $date = null ) {
63
+ global $wpdb;
64
+ if ( empty( $date ) ) {
65
+ $date = get_date_from_gmt( date( 'Y-m-d H:i:s' ) );
66
+ }
67
+
68
+ $data = array(
69
+ 'order_id' => (int) $order_id,
70
+ 'date' => $date,
71
+ );
72
+ $wpdb->insert( $this->table_name, $data );
73
+
74
+ // return generated number
75
+ return $wpdb->insert_id;
76
+ }
77
+
78
+ /**
79
+ * Get the number that will be used on the next increment
80
+ * @return int next number
81
+ */
82
+ public function get_next() {
83
+ global $wpdb;
84
+ $table_status = $wpdb->get_row("SHOW TABLE STATUS LIKE '{$this->table_name}'");
85
+
86
+ // return next auto_increment value
87
+ return $table_status->Auto_increment;
88
+ }
89
+
90
+ /**
91
+ * Set the number that will be used on the next increment
92
+ */
93
+ public function set_next( $number = 1 ) {
94
+ global $wpdb;
95
+
96
+ // delete all rows
97
+ $delete = $wpdb->query("TRUNCATE TABLE {$this->table_name}");
98
+
99
+ // set auto_increment
100
+ $wpdb->query("ALTER TABLE {$this->table_name} AUTO_INCREMENT={$number};");
101
+ }
102
+
103
+ public function get_last_date( $format = 'Y-m-d H:i:s' ) {
104
+ global $wpdb;
105
+ $row = $wpdb->get_row( "SELECT * FROM {$this->table_name} WHERE id = ( SELECT MAX(id) from {$this->table_name} )" );
106
+ $date = isset( $row->date ) ? $row->date : 'now';
107
+ $formatted_date = date( $format, strtotime( $date ) );
108
+
109
+ return $formatted_date;
110
+ }
111
+ }
112
+
113
+ endif; // class_exists
includes/legacy/class-wcpdf-legacy-deprecated-hooks.php ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WPO\WC\PDF_Invoices\Legacy;
3
+
4
+ use WPO\WC\PDF_Invoices\Compatibility\WC_Core as WCX;
5
+ use WPO\WC\PDF_Invoices\Compatibility\Order as WCX_Order;
6
+ use WPO\WC\PDF_Invoices\Compatibility\Product as WCX_Product;
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly
10
+ }
11
+
12
+ if ( !class_exists( '\\WPO\\WC\\PDF_Invoices\\Legacy\\Deprecated_Hooks' ) ) :
13
+
14
+ class Deprecated_Hooks {
15
+
16
+ /**
17
+ * Constructor.
18
+ */
19
+ public function __construct() {
20
+ if ( has_filter( 'wpo_wcpdf_invoice_number' ) ) {
21
+ add_filter( 'wpo_wcpdf_formatted_document_number', array( $this, 'wpo_wcpdf_invoice_number' ), 10, 4 );
22
+ }
23
+ }
24
+
25
+ public function wpo_wcpdf_invoice_number( $formatted_number, $number, $document, $order ) {
26
+ if ( $document->get_type() == 'invoice' ) {
27
+ // prepare filter arguments
28
+ $invoice_number = $number->get_plain();
29
+ $order_number = $order->get_order_number();
30
+ $order_id = WCX_Order::get_id( $order );
31
+ $order_date = WCX_Order::get_prop( $order, 'date_created' );
32
+ $mysql_order_date = $order_date->date( "Y-m-d H:i:s" );
33
+ // apply filter
34
+ $formatted_number = apply_filters( 'wpo_wcpdf_invoice_number', $invoice_number, $order_number, $order_id, $mysql_order_date );
35
+ }
36
+ return $formatted_number;
37
+ }
38
+ }
39
+
40
+ endif; // class_exists
41
+
42
+ return new Deprecated_Hooks();
includes/legacy/class-wcpdf-legacy-document.php ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WPO\WC\PDF_Invoices\Documents;
3
+
4
+ use WPO\WC\PDF_Invoices\Compatibility\WC_Core as WCX;
5
+ use WPO\WC\PDF_Invoices\Compatibility\Order as WCX_Order;
6
+ use WPO\WC\PDF_Invoices\Compatibility\Product as WCX_Product;
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly
10
+ }
11
+
12
+ if ( !class_exists( '\\WPO\\WC\\PDF_Invoices\\Documents\\Legacy_Document' ) ) :
13
+
14
+ /**
15
+ * Packing Slip Document
16
+ *
17
+ * @class \WPO\WC\PDF_Invoices\Documents\Legacy_Document
18
+ * @version 2.0
19
+ * @category Class
20
+ * @author Ewout Fernhout
21
+ */
22
+
23
+ class Legacy_Document extends Order_Document_Methods {
24
+ /**
25
+ * Init/load the order object.
26
+ *
27
+ * @param int|object|WC_Order $order Order to init.
28
+ */
29
+ public function __construct( $order = 0 ) {
30
+ // set properties
31
+ $this->type = 'legacy-document';
32
+ $this->title = __( 'Legacy Document', 'woocommerce-pdf-invoices-packing-slips' );
33
+ $this->icon = WPO_WCPDF()->plugin_url() . "/assets/images/packing-slip.png";
34
+ }
35
+
36
+ public function set_props( $props, $call_parent_constructor = true ) {
37
+ foreach ($props as $prop => $value) {
38
+ $this->{$prop} = $value;
39
+ }
40
+
41
+ if ( $call_parent_constructor ) {
42
+ // Call parent constructor
43
+ $order = ( empty( $props['order'] ) && !empty( $this->order ) ) ? $this->order : $props['order'];
44
+ parent::__construct( $order );
45
+ }
46
+ }
47
+
48
+ }
49
+
50
+ endif; // class_exists
51
+
52
+ return new Legacy_Document();
includes/legacy/class-wcpdf-legacy-export.php ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WPO\WC\PDF_Invoices\Legacy;
3
+
4
+ use WPO\WC\PDF_Invoices\Compatibility\WC_Core as WCX;
5
+ use WPO\WC\PDF_Invoices\Compatibility\Order as WCX_Order;
6
+ use WPO\WC\PDF_Invoices\Compatibility\Product as WCX_Product;
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly
10
+ }
11
+
12
+ if ( !class_exists( '\\WPO\\WC\\PDF_Invoices\\Legacy\\Legacy_Export' ) ) :
13
+
14
+ class Legacy_Export {
15
+
16
+ public $template_path;
17
+ public $template_default_base_path;
18
+
19
+ public $order;
20
+ public $template_type;
21
+ public $order_id;
22
+ public $output_body;
23
+ public $document;
24
+
25
+ public function __construct() {
26
+ $this->template_path = WPO_WCPDF()->settings->get_template_path();
27
+ $this->template_default_base_path = WPO_WCPDF()->plugin_path() . '/templates/';
28
+ $this->order = false;
29
+ }
30
+
31
+ /**
32
+ * Redirect document function calls directly to document object
33
+ */
34
+ public function __call( $name, $arguments ) {
35
+ $human_readable_call = '$wpo_wcpdf->export->'.$name.'()';
36
+ WPO_WCPDF_Legacy()->auto_enable_check( $human_readable_call );
37
+
38
+ $callback_map = array(
39
+ 'wc_price' => 'format_price',
40
+ );
41
+
42
+ if ( $name == 'get_pdf' && empty( $this->document ) ) {
43
+ $this->document = wcpdf_get_document( $arguments[0], $arguments[1], true );
44
+ }
45
+
46
+ if ( array_key_exists( $name, $callback_map ) && is_object( $this->document ) && is_callable( array( $this->document, $callback_map[$name] ) ) ) {
47
+ wcpdf_deprecated_function( $human_readable_call, '2.0', '$this->'.$callback_map[$name].'()' );
48
+ return call_user_func_array( array( $this->document, $callback_map[$name] ), $arguments );
49
+ } elseif ( is_object( $this->document ) && is_callable( array( $this->document, $name ) ) ) {
50
+ wcpdf_deprecated_function( $human_readable_call, '2.0', '$this->'.$name.'()' );
51
+ return call_user_func_array( array( $this->document, $name ), $arguments );
52
+ } else {
53
+ throw new \Exception("Call to undefined method ".__CLASS__."::{$name}()", 1);
54
+ }
55
+ }
56
+
57
+ public function tmp_path( $type = '' ) {
58
+ return WPO_WCPDF()->main->get_tmp_path( $type );
59
+ }
60
+
61
+ public function build_filename( $template_type, $order_ids, $context ) {
62
+ if ( empty( $this->document ) ) {
63
+ $this->document = wcpdf_get_document( $template_type, $order_ids, true );
64
+ }
65
+
66
+ return $this->document->get_filename();
67
+ }
68
+
69
+ public function get_display_number( $order_id ) {
70
+ wcpdf_deprecated_function( '$wpo_wcpdf->export->get_display_number()', '2.0' );
71
+ if ( empty( $this->document ) ) {
72
+ // we don't know what document type we're handling, so we return the order number
73
+ $order = WCX::get_order ( $order_id );$order->get_order_number;
74
+ $order_number = method_exists( $order, 'get_order_number' ) ? $order->get_order_number() : '';
75
+ return $order_number;
76
+ }
77
+
78
+ if ( isset( $this->document->settings['display_number'] ) ) {
79
+ $order_number = (string) $this->document->get_number();
80
+ } else {
81
+ if ( empty( $this->order ) ) {
82
+ $order = WCX::get_order ( $order_ids[0] );
83
+ $order_number = method_exists( $order, 'get_order_number' ) ? $order->get_order_number() : '';
84
+ } else {
85
+ $order_number = method_exists( $this->order, 'get_order_number' ) ? $this->order->get_order_number() : '';
86
+ }
87
+ }
88
+
89
+ return $order_number;
90
+ }
91
+ }
92
+
93
+ endif; // class_exists
94
+
95
+ return new Legacy_Export();
includes/legacy/class-wcpdf-legacy-functions.php ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WPO\WC\PDF_Invoices\Legacy;
3
+
4
+ use WPO\WC\PDF_Invoices\Compatibility\WC_Core as WCX;
5
+ use WPO\WC\PDF_Invoices\Compatibility\Order as WCX_Order;
6
+ use WPO\WC\PDF_Invoices\Compatibility\Product as WCX_Product;
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly
10
+ }
11
+
12
+ if ( !class_exists( '\\WPO\\WC\\PDF_Invoices\\Legacy\\Legacy_Functions' ) ) :
13
+
14
+ class Legacy_Functions {
15
+
16
+ /**
17
+ * Get template name from slug
18
+ */
19
+ public function get_template_name ( $template_type ) {
20
+ switch ( $template_type ) {
21
+ case 'invoice':
22
+ $template_name = apply_filters( 'wpo_wcpdf_invoice_title', __( 'Invoice', 'woocommerce-pdf-invoices-packing-slips' ) );
23
+ break;
24
+ case 'packing-slip':
25
+ $template_name = apply_filters( 'wpo_wcpdf_packing_slip_title', __( 'Packing Slip', 'woocommerce-pdf-invoices-packing-slips' ) );
26
+ break;
27
+ default:
28
+ // try to 'unslug' the name
29
+ $template_name = ucwords( str_replace( array( '_', '-' ), ' ', $template_type ) );
30
+ break;
31
+ }
32
+
33
+ return apply_filters( 'wpo_wcpdf_template_name', $template_name, $template_type );
34
+ }
35
+
36
+ /**
37
+ * Redirect document function calls directly to document object
38
+ */
39
+ public function __call( $name, $arguments ) {
40
+ $human_readable_call = '$wpo_wcpdf->functions->'.$name.'()';
41
+ WPO_WCPDF_Legacy()->auto_enable_check( $human_readable_call );
42
+
43
+ if ( is_object( WPO_WCPDF_Legacy()->export->document ) && is_callable( array( WPO_WCPDF_Legacy()->export->document, $name ) ) ) {
44
+ return call_user_func_array( array( WPO_WCPDF_Legacy()->export->document, $name ), $arguments );
45
+ } else {
46
+ throw new \Exception("Call to undefined method ".__CLASS__."::{$name}()", 1);
47
+ }
48
+ }
49
+
50
+ }
51
+
52
+ endif; // class_exists
53
+
54
+ return new Legacy_Functions();
includes/legacy/class-wcpdf-legacy-settings.php ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WPO\WC\PDF_Invoices\Legacy;
3
+
4
+ if ( ! defined( 'ABSPATH' ) ) {
5
+ exit; // Exit if accessed directly
6
+ }
7
+
8
+ if ( !class_exists( '\\WPO\\WC\\PDF_Invoices\\Legacy\\Legacy_Settings' ) ) :
9
+
10
+ class Legacy_Settings {
11
+
12
+ public $general_settings;
13
+ public $template_settings;
14
+ public $debug_settings;
15
+
16
+ public $options_page_hook = 'woocommerce_page_wpo_wcpdf_options_page';
17
+
18
+ public function __construct() {
19
+ $this->load_legacy_settings();
20
+ }
21
+
22
+ public function load_legacy_settings() {
23
+ // map new settings to old
24
+ $settings_map = array(
25
+ 'wpo_wcpdf_settings_general' => array(
26
+ 'download_display' => array( 'wpo_wcpdf_general_settings' => 'download_display' ),
27
+ 'template_path' => array( 'wpo_wcpdf_template_settings' => 'template_path' ),
28
+ 'currency_font' => array( 'wpo_wcpdf_template_settings' => 'currency_font' ),
29
+ 'paper_size' => array( 'wpo_wcpdf_template_settings' => 'paper_size' ),
30
+ 'header_logo' => array( 'wpo_wcpdf_template_settings' => 'header_logo' ),
31
+ 'shop_name' => array( 'wpo_wcpdf_template_settings' => 'shop_name' ),
32
+ 'shop_address' => array( 'wpo_wcpdf_template_settings' => 'shop_address' ),
33
+ 'footer' => array( 'wpo_wcpdf_template_settings' => 'footer' ),
34
+ 'extra_1' => array( 'wpo_wcpdf_template_settings' => 'extra_1' ),
35
+ 'extra_2' => array( 'wpo_wcpdf_template_settings' => 'extra_2' ),
36
+ 'extra_3' => array( 'wpo_wcpdf_template_settings' => 'extra_3' ),
37
+ ),
38
+ 'wpo_wcpdf_documents_settings_invoice' => array(
39
+ 'attach_to_email_ids' => array( 'wpo_wcpdf_general_settings' => 'email_pdf' ),
40
+ 'display_shipping_address' => array( 'wpo_wcpdf_template_settings' => 'invoice_shipping_address' ),
41
+ 'display_email' => array( 'wpo_wcpdf_template_settings' => 'invoice_email' ),
42
+ 'display_phone' => array( 'wpo_wcpdf_template_settings' => 'invoice_phone' ),
43
+ 'display_date' => array( 'wpo_wcpdf_template_settings' => 'display_date' ),
44
+ 'display_number' => array( 'wpo_wcpdf_template_settings' => 'display_number' ),
45
+ 'number_format' => array( 'wpo_wcpdf_template_settings' => 'invoice_number_formatting' ),
46
+ 'reset_number_yearly' => array( 'wpo_wcpdf_template_settings' => 'yearly_reset_invoice_number' ),
47
+ 'my_account_buttons' => array( 'wpo_wcpdf_general_settings' => 'my_account_buttons' ),
48
+ 'invoice_number_column' => array( 'wpo_wcpdf_general_settings' => 'invoice_number_column' ),
49
+ 'disable_free' => array( 'wpo_wcpdf_general_settings' => 'disable_free' ),
50
+ ),
51
+ 'wpo_wcpdf_documents_settings_packing-slip' => array(
52
+ 'display_billing_address' => array( 'wpo_wcpdf_template_settings' => 'packing_slip_billing_address' ),
53
+ 'display_email' => array( 'wpo_wcpdf_template_settings' => 'packing_slip_email' ),
54
+ 'display_phone' => array( 'wpo_wcpdf_template_settings' => 'packing_slip_phone' ),
55
+ ),
56
+ 'wpo_wcpdf_settings_debug' => array(
57
+ 'enable_debug' => array( 'wpo_wcpdf_debug_settings' => 'enable_debug' ),
58
+ 'html_output' => array( 'wpo_wcpdf_debug_settings' => 'html_output' ),
59
+ ),
60
+ );
61
+
62
+ // walk through map and load into legacy properties
63
+ foreach ($settings_map as $new_option => $new_settings_keys) {
64
+ ${$new_option} = get_option($new_option);
65
+ foreach ($new_settings_keys as $new_key => $old_setting ) {
66
+ $old_key = reset($old_setting);
67
+ $old_option = key($old_setting);
68
+ if (isset(${$new_option}[$new_key])) {
69
+ $property_name = str_replace( 'wpo_wcpdf_', '', $old_option );
70
+ $this->{$property_name}[$old_key] = ${$new_option}[$new_key];
71
+ }
72
+ }
73
+ }
74
+ }
75
+
76
+ /**
77
+ * Redirect settings API callbacks
78
+ */
79
+ public function __call( $name, $arguments ) {
80
+ WPO_WCPDF_Legacy()->auto_enable_check( '$wpo_wcpdf->settings->'.$name.'()', false );
81
+ $callback_map = array(
82
+ 'text_element_callback' => 'text_input',
83
+ 'singular_text_element_callback' => 'singular_text_element',
84
+ 'textarea_element_callback' => 'textarea',
85
+ 'checkbox_element_callback' => 'checkbox',
86
+ 'multiple_checkbox_element_callback' => 'multiple_checkboxes',
87
+ // 'checkbox_table_callback' => 'textarea',
88
+ 'select_element_callback' => 'select',
89
+ 'radio_element_callback' => 'radio_button',
90
+ 'media_upload_callback' => 'media_upload',
91
+ // 'invoice_number_formatting_callback' => 'textarea',
92
+ // 'template_select_element_callback' => 'textarea',
93
+ 'section_options_callback' => 'section',
94
+ 'debug_section' => 'debug_section',
95
+ 'custom_fields_section' => 'custom_fields_section',
96
+ 'validate_options' => 'validate',
97
+ );
98
+
99
+ if ( array_key_exists( $name, $callback_map ) && is_object( WPO_WCPDF()->settings->callbacks ) && is_callable( array( WPO_WCPDF()->settings->callbacks, $callback_map[$name] ) ) ) {
100
+ if (isset($arguments[0]['menu'])) {
101
+ $arguments[0]['option_name'] = $arguments[0]['menu'];
102
+ }
103
+ return call_user_func_array( array( WPO_WCPDF()->settings->callbacks, $callback_map[$name] ), $arguments );
104
+ } else {
105
+ throw new \Exception("Call to undefined method ".__CLASS__."::{$name}()", 1);
106
+ }
107
+ }
108
+
109
+ /**
110
+ * Invoice number formatting callback.
111
+ *
112
+ * @param array $args Field arguments.
113
+ *
114
+ * @return string Media upload button & preview.
115
+ */
116
+ public function invoice_number_formatting_callback( $args ) {
117
+ $menu = $args['menu'];
118
+ $fields = $args['fields'];
119
+ $options = get_option( $menu );
120
+
121
+ echo '<table>';
122
+ foreach ($fields as $key => $field) {
123
+ $id = $args['id'] . '_' . $key;
124
+
125
+ if ( isset( $options[$id] ) ) {
126
+ $current = $options[$id];
127
+ } else {
128
+ $current = '';
129
+ }
130
+
131
+ $title = $field['title'];
132
+ $size = $field['size'];
133
+ $description = isset( $field['description'] ) ? '<span style="font-style:italic;">'.$field['description'].'</span>' : '';
134
+
135
+ echo '<tr>';
136
+ printf( '<td style="padding:0 1em 0 0; ">%1$s:</td><td style="padding:0;"><input type="text" id="%2$s" name="%3$s[%2$s]" value="%4$s" size="%5$s"/></td><td style="padding:0 0 0 1em;">%6$s</td>', $title, $id, $menu, $current, $size, $description );
137
+ echo '</tr>';
138
+ }
139
+ echo '</table>';
140
+
141
+
142
+ // Displays option description.
143
+ if ( isset( $args['description'] ) ) {
144
+ printf( '<p class="description">%s</p>', $args['description'] );
145
+ }
146
+
147
+ // echo $html;
148
+ }
149
+
150
+
151
+ }
152
+
153
+ endif; // class_exists
154
+
155
+ return new Legacy_Settings();
includes/legacy/class-wcpdf-legacy.php ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WPO\WC\PDF_Invoices\Legacy;
3
+
4
+ defined( 'ABSPATH' ) or exit;
5
+
6
+ if ( !class_exists( '\\WPO\\WC\\PDF_Invoices\\Legacy\\WPO_WCPDF_Legacy' ) ) :
7
+
8
+ class WPO_WCPDF_Legacy {
9
+ public static $version;
10
+ public $enabled;
11
+ public $settings;
12
+ public $export;
13
+ public $functions;
14
+
15
+ protected static $_instance = null;
16
+
17
+ /**
18
+ * Main Plugin Instance
19
+ *
20
+ * Ensures only one instance of plugin is loaded or can be loaded.
21
+ */
22
+ public static function instance() {
23
+ if ( is_null( self::$_instance ) ) {
24
+ self::$_instance = new self();
25
+ }
26
+ return self::$_instance;
27
+ }
28
+
29
+ /**
30
+ * Constructor
31
+ */
32
+ public function __construct() {
33
+ self::$version = WPO_WCPDF()->version;
34
+ $this->enabled = WPO_WCPDF()->legacy_mode_enabled();
35
+ $this->settings = include_once( 'class-wcpdf-legacy-settings.php' );
36
+ $this->export = include_once( 'class-wcpdf-legacy-export.php' );
37
+ $this->functions = include_once( 'class-wcpdf-legacy-functions.php' );
38
+ }
39
+
40
+ /**
41
+ * Redirect function calls directly to legacy functions class
42
+ */
43
+ public function __call( $name, $arguments ) {
44
+ $human_readable_call = '$wpo_wcpdf->'.$name.'()';
45
+ $this->auto_enable_check( $human_readable_call );
46
+
47
+ if ( is_callable( array( WPO_WCPDF(), $name ) ) ) {
48
+ wcpdf_deprecated_function( $human_readable_call, '2.0', 'WPO_WCPDF()->'.$name.'()' );
49
+ return call_user_func_array( array( WPO_WCPDF(), $name ), $arguments );
50
+ } elseif ( is_callable( array( $this->functions, $name ) ) ) {
51
+ wcpdf_deprecated_function( $human_readable_call, '2.0', '$this->'.$name.'()' );
52
+ return call_user_func_array( array( $this->functions, $name ), $arguments );
53
+ } else {
54
+ throw new \Exception("Call to undefined method ".__CLASS__."::{$name}()", 1);
55
+ }
56
+ }
57
+
58
+ /**
59
+ * Fired when a call is made to the legacy class (also used by sub classes).
60
+ * If legacy mode was not enabled, it is automatically enabled and an error message is shown to the user
61
+ * Reloading the page should then work in legacy mode
62
+ */
63
+ public function auto_enable_check( $call = '', $die = true ) {
64
+ if ( $this->enabled === false ) {
65
+ $debug_settings = get_option( 'wpo_wcpdf_settings_debug', array() );
66
+ $debug_settings['legacy_mode'] = 1;
67
+ update_option( 'wpo_wcpdf_settings_debug', $debug_settings );
68
+ $this->enabled = true;
69
+ add_action( 'wp_die_ajax_handler', function() {
70
+ return '_default_wp_die_handler';
71
+ } );
72
+ $title = __( 'Error', 'woocommerce-pdf-invoices-packing-slips' );
73
+ $message = __( 'An outdated template or action hook was used to generate the PDF. Legacy mode has been activated, please try again by reloading this page.', 'woocommerce-pdf-invoices-packing-slips' );
74
+
75
+ if (!empty($call)) {
76
+ $message = sprintf('%s</p><p>%s: <b>%s</b>', $message, __( 'The following function was called', 'woocommerce-pdf-invoices-packing-slips' ), $call );
77
+ }
78
+ wp_die( "<h1>{$title}</h1><p>{$message}</p>", $title );
79
+ }
80
+ }
81
+ }
82
+
83
+ endif; // Class exists check
84
+
85
+ function WPO_WCPDF_Legacy() {
86
+ return WPO_WCPDF_Legacy::instance();
87
+ }
88
+
89
+ // Global for backwards compatibility.
90
+ $GLOBALS['wpo_wcpdf'] = WPO_WCPDF_Legacy();
includes/{dompdf-status.php → views/dompdf-status.php} RENAMED
@@ -1,37 +1,20 @@
1
- <h3 id="system">System Configuration</h3>
2
-
3
  <?php
4
- require_once(WooCommerce_PDF_Invoices::$plugin_path."lib/dompdf/dompdf_config.inc.php");
 
 
5
 
6
  $memory_limit = function_exists('wc_let_to_num')?wc_let_to_num( WP_MEMORY_LIMIT ):woocommerce_let_to_num( WP_MEMORY_LIMIT );
7
 
8
  $server_configs = array(
9
- "PHP Version" => array(
10
- "required" => "5.0",
11
- "value" => phpversion(),
12
- "result" => version_compare(phpversion(), "5.0"),
13
- ),
14
  "DOMDocument extension" => array(
15
  "required" => true,
16
  "value" => phpversion("DOM"),
17
  "result" => class_exists("DOMDocument"),
18
  ),
19
- "PCRE" => array(
20
- "required" => true,
21
- "value" => phpversion("pcre"),
22
- "result" => function_exists("preg_match") && @preg_match("/./u", "a"),
23
- "failure" => "PCRE is required with Unicode support (the \"u\" modifier)",
24
- ),
25
- "Zlib" => array(
26
- "required" => true,
27
- "value" => phpversion("zlib"),
28
- "result" => function_exists("gzcompress"),
29
- "fallback" => "Recommended to compress PDF documents",
30
- ),
31
  "MBString extension" => array(
32
  "required" => true,
33
  "value" => phpversion("mbstring"),
34
- "result" => function_exists("mb_send_mail"), // Should never be reimplemented in dompdf
35
  "fallback" => "Recommended, will use fallback functions",
36
  ),
37
  "GD" => array(
@@ -40,6 +23,18 @@ $server_configs = array(
40
  "result" => function_exists("imagecreate"),
41
  "fallback" => "Required if you have images in your documents",
42
  ),
 
 
 
 
 
 
 
 
 
 
 
 
43
  "opcache" => array(
44
  "required" => "For better performances",
45
  "value" => null,
@@ -63,7 +58,12 @@ $server_configs = array(
63
  "value" => WP_MEMORY_LIMIT,
64
  "result" => $memory_limit > 67108864,
65
  ),
66
-
 
 
 
 
 
67
  );
68
 
69
  if (($xc = extension_loaded("xcache")) || ($apc = extension_loaded("apc")) || ($zop = extension_loaded("Zend OPcache")) || ($op = extension_loaded("opcache"))) {
@@ -82,6 +82,8 @@ if (($gm = extension_loaded("gmagick")) || ($im = extension_loaded("imagick")))
82
 
83
  ?>
84
 
 
 
85
  <table cellspacing="1px" cellpadding="4px" style="background-color: white; padding: 5px; border: 1px solid #ccc;">
86
  <tr>
87
  <th align="left">&nbsp;</th>
@@ -126,53 +128,37 @@ if (($gm = extension_loaded("gmagick")) || ($im = extension_loaded("imagick")))
126
  <?php
127
  $permissions = array(
128
  'WCPDF_TEMP_DIR' => array (
129
- 'description' => 'Central temporary plugin folder',
130
- 'value' => $wpo_wcpdf->export->tmp_path(),
131
- 'status' => (is_writable( $wpo_wcpdf->export->tmp_path() ) ? "ok" : "failed"),
132
- 'status_message' => (is_writable( $wpo_wcpdf->export->tmp_path() ) ? "Writable" : "Not writable"),
133
- ),
134
  'WCPDF_ATTACHMENT_DIR' => array (
135
- 'description' => 'Temporary attachments folder',
136
- 'value' => trailingslashit( $wpo_wcpdf->export->tmp_path( 'attachments' ) ),
137
- 'status' => (is_writable( $wpo_wcpdf->export->tmp_path( 'attachments' ) ) ? "ok" : "failed"),
138
- 'status_message' => (is_writable( $wpo_wcpdf->export->tmp_path( 'attachments' ) ) ? "Writable" : "Not writable"),
139
- ),
140
  'DOMPDF_TEMP_DIR' => array (
141
- 'description' => 'Temporary DOMPDF folder',
142
- 'value' => trailingslashit(DOMPDF_TEMP_DIR),
143
- 'status' => (is_writable(DOMPDF_TEMP_DIR) ? "ok" : "failed"),
144
- 'status_message' => (is_writable(DOMPDF_TEMP_DIR) ? "Writable" : "Not writable"),
145
- ),
146
- 'DOMPDF_FONT_CACHE' => array (
147
- 'description' => 'Font metrics cache (used mainly by CPDF)',
148
- 'value' => trailingslashit(DOMPDF_FONT_CACHE),
149
- 'status' => (is_writable(DOMPDF_FONT_CACHE) ? "ok" : "failed"),
150
- 'status_message' => (is_writable(DOMPDF_FONT_CACHE) ? "Writable" : "Not writable"),
151
- ),
152
  'DOMPDF_FONT_DIR' => array (
153
- 'description' => 'DOMPDF fonts folder (needs to be writable for custom/remote fonts)',
154
- 'value' => trailingslashit(DOMPDF_FONT_DIR),
155
- 'status' => (is_writable(DOMPDF_FONT_DIR) ? "ok" : "failed"),
156
- 'status_message' => (is_writable(DOMPDF_FONT_DIR) ? "Writable" : "Not writable"),
157
- ),
158
- 'DOMPDF_ENABLE_REMOTE' => array (
159
- 'description' => 'Allow remote stylesheets and images',
160
- 'value' => DOMPDF_ENABLE_REMOTE ? 'true' : 'false',
161
- 'status' => (ini_get("allow_url_fopen")) ? "ok" : "failed",
162
- 'status_message' => (ini_get("allow_url_fopen")) ? "allow_url_fopen enabled" : "allow_url_fopen disabled",
163
- ),
164
- );
165
-
166
- if ( isset($wpo_wcpdf->export->debug_settings['old_tmp']) ) {
167
- unset($permissions['WCPDF_TEMP_DIR']);
168
- }
169
 
170
  $upload_dir = wp_upload_dir();
171
  $upload_base = trailingslashit( $upload_dir['basedir'] );
172
 
173
  ?>
174
  <br />
175
- <h3 id="system">Permissions</h3>
176
  <table cellspacing="1px" cellpadding="4px" style="background-color: white; padding: 5px; border: 1px solid #ccc;">
177
  <tr>
178
  <th align="left">Description</th>
@@ -200,7 +186,7 @@ $upload_base = trailingslashit( $upload_dir['basedir'] );
200
  </table>
201
 
202
  <p>
203
- The central temp folder (1.5+) is <code><?php echo $wpo_wcpdf->export->tmp_path(); ?></code>.
204
  By default, this folder is created in the WordPress uploads folder (<code><?php echo $upload_base; ?></code>),
205
  which can be defined by setting <code>UPLOADS</code> in wp-config.php.
206
  Alternatively, you can control the specific folder for PDF invoices by using the
@@ -209,7 +195,7 @@ subfolders <code>attachments</code>, <code>dompdf</code> and <code>fonts</code>
209
  are present (these will be created by the plugin if the central temp folder is writable).<br>
210
  <br>
211
  If the temporary folders were not automatically created by the plugin, verify that all the font
212
- files (from <code><?php echo WooCommerce_PDF_Invoices::$plugin_path . "lib/dompdf/lib/fonts/"; ?></code>)
213
  are copied to the fonts folder.
214
  Normally, this is fully automated, but if your server has strict security settings, this automated
215
  copying may have been prohibited. In that case, you also need to make sure these folders get
 
 
1
  <?php
2
+ if ( ! defined( 'ABSPATH' ) ) {
3
+ exit; // Exit if accessed directly
4
+ }
5
 
6
  $memory_limit = function_exists('wc_let_to_num')?wc_let_to_num( WP_MEMORY_LIMIT ):woocommerce_let_to_num( WP_MEMORY_LIMIT );
7
 
8
  $server_configs = array(
 
 
 
 
 
9
  "DOMDocument extension" => array(
10
  "required" => true,
11
  "value" => phpversion("DOM"),
12
  "result" => class_exists("DOMDocument"),
13
  ),
 
 
 
 
 
 
 
 
 
 
 
 
14
  "MBString extension" => array(
15
  "required" => true,
16
  "value" => phpversion("mbstring"),
17
+ "result" => function_exists("mb_send_mail"),
18
  "fallback" => "Recommended, will use fallback functions",
19
  ),
20
  "GD" => array(
23
  "result" => function_exists("imagecreate"),
24
  "fallback" => "Required if you have images in your documents",
25
  ),
26
+ // "PCRE" => array(
27
+ // "required" => true,
28
+ // "value" => phpversion("pcre"),
29
+ // "result" => function_exists("preg_match") && @preg_match("/./u", "a"),
30
+ // "failure" => "PCRE is required with Unicode support (the \"u\" modifier)",
31
+ // ),
32
+ "Zlib" => array(
33
+ "required" => "To compress PDF documents",
34
+ "value" => phpversion("zlib"),
35
+ "result" => function_exists("gzcompress"),
36
+ "fallback" => "Recommended to compress PDF documents",
37
+ ),
38
  "opcache" => array(
39
  "required" => "For better performances",
40
  "value" => null,
58
  "value" => WP_MEMORY_LIMIT,
59
  "result" => $memory_limit > 67108864,
60
  ),
61
+ 'allow_url_fopen' => array (
62
+ 'required' => 'Allow remote stylesheets and images',
63
+ 'value' => null,
64
+ 'result' => ini_get("allow_url_fopen"),
65
+ "fallback" => "allow_url_fopen disabled",
66
+ ),
67
  );
68
 
69
  if (($xc = extension_loaded("xcache")) || ($apc = extension_loaded("apc")) || ($zop = extension_loaded("Zend OPcache")) || ($op = extension_loaded("opcache"))) {
82
 
83
  ?>
84
 
85
+ <h3 id="system">System Configuration</h3>
86
+
87
  <table cellspacing="1px" cellpadding="4px" style="background-color: white; padding: 5px; border: 1px solid #ccc;">
88
  <tr>
89
  <th align="left">&nbsp;</th>
128
  <?php
129
  $permissions = array(
130
  'WCPDF_TEMP_DIR' => array (
131
+ 'description' => 'Central temporary plugin folder',
132
+ 'value' => WPO_WCPDF()->main->get_tmp_path(),
133
+ 'status' => (is_writable( WPO_WCPDF()->main->get_tmp_path() ) ? "ok" : "failed"),
134
+ 'status_message' => (is_writable( WPO_WCPDF()->main->get_tmp_path() ) ? "Writable" : "Not writable"),
135
+ ),
136
  'WCPDF_ATTACHMENT_DIR' => array (
137
+ 'description' => 'Temporary attachments folder',
138
+ 'value' => trailingslashit( WPO_WCPDF()->main->get_tmp_path( 'attachments' ) ),
139
+ 'status' => (is_writable( WPO_WCPDF()->main->get_tmp_path( 'attachments' ) ) ? "ok" : "failed"),
140
+ 'status_message' => (is_writable( WPO_WCPDF()->main->get_tmp_path( 'attachments' ) ) ? "Writable" : "Not writable"),
141
+ ),
142
  'DOMPDF_TEMP_DIR' => array (
143
+ 'description' => 'Temporary DOMPDF folder',
144
+ 'value' => trailingslashit(WPO_WCPDF()->main->get_tmp_path( 'dompdf' )),
145
+ 'status' => (is_writable(WPO_WCPDF()->main->get_tmp_path( 'dompdf' )) ? "ok" : "failed"),
146
+ 'status_message' => (is_writable(WPO_WCPDF()->main->get_tmp_path( 'dompdf' )) ? "Writable" : "Not writable"),
147
+ ),
 
 
 
 
 
 
148
  'DOMPDF_FONT_DIR' => array (
149
+ 'description' => 'DOMPDF fonts folder (needs to be writable for custom/remote fonts)',
150
+ 'value' => trailingslashit(WPO_WCPDF()->main->get_tmp_path( 'fonts' )),
151
+ 'status' => (is_writable(WPO_WCPDF()->main->get_tmp_path( 'fonts' )) ? "ok" : "failed"),
152
+ 'status_message' => (is_writable(WPO_WCPDF()->main->get_tmp_path( 'fonts' )) ? "Writable" : "Not writable"),
153
+ ),
154
+ );
 
 
 
 
 
 
 
 
 
 
155
 
156
  $upload_dir = wp_upload_dir();
157
  $upload_base = trailingslashit( $upload_dir['basedir'] );
158
 
159
  ?>
160
  <br />
161
+ <h3 id="system">Write Permissions</h3>
162
  <table cellspacing="1px" cellpadding="4px" style="background-color: white; padding: 5px; border: 1px solid #ccc;">
163
  <tr>
164
  <th align="left">Description</th>
186
  </table>
187
 
188
  <p>
189
+ The central temp folder is <code><?php echo WPO_WCPDF()->main->get_tmp_path(); ?></code>.
190
  By default, this folder is created in the WordPress uploads folder (<code><?php echo $upload_base; ?></code>),
191
  which can be defined by setting <code>UPLOADS</code> in wp-config.php.
192
  Alternatively, you can control the specific folder for PDF invoices by using the
195
  are present (these will be created by the plugin if the central temp folder is writable).<br>
196
  <br>
197
  If the temporary folders were not automatically created by the plugin, verify that all the font
198
+ files (from <code><?php echo WPO_WCPDF()->plugin_path() . "/vendor/dompdf/dompdf/lib/fonts/"; ?></code>)
199
  are copied to the fonts folder.
200
  Normally, this is fully automated, but if your server has strict security settings, this automated
201
  copying may have been prohibited. In that case, you also need to make sure these folders get
includes/{wcpdf-extensions.php → views/wcpdf-extensions.php} RENAMED
@@ -11,36 +11,36 @@ jQuery(document).ready(function() {
11
 
12
  <div class="wcpdf-extensions-ad">
13
  <?php $no_pro = !class_exists('WooCommerce_PDF_IPS_Pro') && !class_exists('WooCommerce_PDF_IPS_Dropbox') && !class_exists('WooCommerce_PDF_IPS_Templates'); ?>
14
- <img src="<?php echo WooCommerce_PDF_Invoices::$plugin_url . 'images/wpo-helper.png'; ?>" class="wpo-helper">
15
- <h3><?php _e( 'Check out these premium extensions!', 'wpo_wcpdf' ); ?></h3>
16
- <i>(<?php _e( 'click items to read more', 'wpo_wcpdf' ); ?>)</i>
17
  <ul class="extensions">
18
  <?php if ( $no_pro ): ?>
19
  <!-- No Pro extensions: Ad for PDF bundle -->
20
  <li>
21
- <?php _e('Premium PDF Invoice bundle: Everything you need for a perfect invoicing system', 'wpo_wcpdf')?>
22
  <div class="more" style="display:none;">
23
- <h4><?php _e( 'Supercharge WooCommerce PDF Invoices & Packing Slips with the all our premium extensions:', 'wpo_wcpdf' ); ?></h4>
24
- <?php _e( 'Professional features:', 'wpo_wcpdf' ); ?>
25
  <ul>
26
- <li><?php _e( 'Email/print/download <b>PDF Credit Notes & Proforma invoices</b>', 'wpo_wcpdf' ); ?></li>
27
- <li><?php _e( 'Send out a separate <b>notification email</b> with (or without) PDF invoices/packing slips, for example to a drop-shipper or a supplier.', 'wpo_wcpdf' ); ?></li>
28
- <li><?php _e( 'Attach <b>up to 3 static files</b> (for example a terms & conditions document) to the WooCommerce emails of your choice.', 'wpo_wcpdf' ); ?></li>
29
- <li><?php _e( 'Use <b>separate numbering systems</b> and/or format for proforma invoices and credit notes or utilize the main invoice numbering system', 'wpo_wcpdf' ); ?></li>
30
- <li><?php _e( '<b>Customize</b> the <b>shipping & billing address</b> format to include additional custom fields, font sizes etc. without the need to create a custom template.', 'wpo_wcpdf' ); ?></li>
31
- <li><?php _e( 'Use the plugin in multilingual <b>WPML</b> setups', 'wpo_wcpdf' ); ?></li>
32
  </ul>
33
- <?php _e('Advanced, customizable templates', 'wpo_wcpdf')?>
34
  <ul>
35
- <li><?php _e( 'Completely customize the invoice contents (prices, taxes, thumbnails) to your needs with a drag & drop customizer', 'wpo_wcpdf' ); ?></li>
36
- <li><?php _e( 'Two extra stylish premade templates (Modern & Business)', 'wpo_wcpdf' ); ?></li>
37
  </ul>
38
- <?php _e('Upload automatically to dropbox', 'wpo_wcpdf')?>
39
  <ul>
40
- <li><?php _e( 'This extension conveniently uploads all the invoices (and other pdf documents from the professional extension) that are emailed to your customers to Dropbox. The best way to keep your invoice administration up to date!', 'wpo_wcpdf' ); ?></li>
41
  </ul>
42
  <br>
43
- <a href="https://wpovernight.com/downloads/woocommerce-pdf-invoices-packing-slips-bundle/" target="_blank"><?php _e("Get WooCommerce PDF Invoices & Packing Slips Bundle", 'wpo_wcpdf'); ?></a>
44
  </div>
45
  </li>
46
  <?php endif; ?>
@@ -49,18 +49,18 @@ jQuery(document).ready(function() {
49
  if (!class_exists('WooCommerce_PDF_IPS_Pro') && !$no_pro) {
50
  ?>
51
  <li>
52
- <?php _e('Go Pro: Proforma invoices, credit notes (=refunds) & more!', 'wpo_wcpdf')?>
53
  <div class="more" style="display:none;">
54
- <?php _e( 'Supercharge WooCommerce PDF Invoices & Packing Slips with the following features:', 'wpo_wcpdf' ); ?>
55
  <ul>
56
- <li><?php _e( 'Email/print/download <b>PDF Credit Notes & Proforma invoices</b>', 'wpo_wcpdf' ); ?></li>
57
- <li><?php _e( 'Send out a separate <b>notification email</b> with (or without) PDF invoices/packing slips, for example to a drop-shipper or a supplier.', 'wpo_wcpdf' ); ?></li>
58
- <li><?php _e( 'Attach <b>up to 3 static files</b> (for example a terms & conditions document) to the WooCommerce emails of your choice.', 'wpo_wcpdf' ); ?></li>
59
- <li><?php _e( 'Use <b>separate numbering systems</b> and/or format for proforma invoices and credit notes or utilize the main invoice numbering system', 'wpo_wcpdf' ); ?></li>
60
- <li><?php _e( '<b>Customize</b> the <b>shipping & billing address</b> format to include additional custom fields, font sizes etc. without the need to create a custom template.', 'wpo_wcpdf' ); ?></li>
61
- <li><?php _e( 'Use the plugin in multilingual <b>WPML</b> setups', 'wpo_wcpdf' ); ?></li>
62
  </ul>
63
- <a href="https://wpovernight.com/downloads/woocommerce-pdf-invoices-packing-slips-professional/" target="_blank"><?php _e("Get WooCommerce PDF Invoices & Packing Slips Professional!", 'wpo_wcpdf'); ?></a>
64
  </li>
65
  <?php } ?>
66
 
@@ -68,18 +68,18 @@ jQuery(document).ready(function() {
68
  if (!class_exists('WPO_WC_Smart_Reminder_Emails')) {
69
  ?>
70
  <li>
71
- <?php _e('Automatically send payment reminders to your customers', 'wpo_wcpdf')?>
72
  <div class="more" style="display:none;">
73
- <?php _e('WooCommerce Smart Reminder emails', 'wpo_wcpdf')?>
74
  <ul>
75
- <li><?php _e( '<b>Completely automatic</b> scheduled emails', 'wpo_wcpdf' ); ?></li>
76
- <li><?php _e( '<b>Rich text editor</b> for the email text, including placeholders for data from the order (name, order total, etc)', 'wpo_wcpdf' ); ?></li>
77
- <li><?php _e( 'Configure the exact requirements for sending an email (time after order, order status, payment method)', 'wpo_wcpdf' ); ?></li>
78
- <li><?php _e( 'Fully <b>WPML Compatible</b> – emails will be automatically sent in the order language.', 'wpo_wcpdf' ); ?></li>
79
- <li><?php _e( '<b>Super versatile!</b> Can be used for any kind of reminder email (review reminders, repeat purchases)', 'wpo_wcpdf' ); ?></li>
80
- <li><b><?php _e( 'Integrates seamlessly with the PDF Invoices & Packing Slips plugin', 'wpo_wcpdf' ); ?></b></li>
81
  </ul>
82
- <a href="https://wpovernight.com/downloads/woocommerce-reminder-emails-payment-reminders/" target="_blank"><?php _e("Get WooCommerce Smart Reminder Emails", 'wpo_wcpdf'); ?></a>
83
  </div>
84
  </li>
85
  <?php } ?>
@@ -88,14 +88,14 @@ jQuery(document).ready(function() {
88
  if (!class_exists('WooCommerce_PDF_IPS_Dropbox') && !$no_pro) {
89
  ?>
90
  <li>
91
- <?php _e('Upload all invoices automatically to your dropbox', 'wpo_wcpdf')?>
92
  <div class="more" style="display:none;">
93
  <table>
94
  <tr>
95
- <td><img src="<?php echo WooCommerce_PDF_Invoices::$plugin_url . 'images/dropbox_logo.png'; ?>" class="dropbox-logo"></td>
96
  <td>
97
- <?php _e( 'This extension conveniently uploads all the invoices (and other pdf documents from the professional extension) that are emailed to your customers to Dropbox. The best way to keep your invoice administration up to date!', 'wpo_wcpdf' ); ?><br/>
98
- <a href="https://wpovernight.com/downloads/woocommerce-pdf-invoices-packing-slips-dropbox/" target="_blank"><?php _e("Get WooCommerce PDF Invoices & Packing Slips to dropbox!", 'wpo_wcpdf'); ?></a>
99
  </td>
100
  </tr>
101
  </table>
@@ -107,14 +107,14 @@ jQuery(document).ready(function() {
107
  if (!class_exists('WooCommerce_Ext_PrintOrders')) {
108
  ?>
109
  <li>
110
- <?php _e('Automatically send new orders or packing slips to your printer, as soon as the customer orders!', 'wpo_wcpdf')?>
111
  <div class="more" style="display:none;">
112
  <table>
113
  <tr>
114
- <td><img src="<?php echo WooCommerce_PDF_Invoices::$plugin_url . 'images/cloud-print.png'; ?>" class="cloud-logo"></td>
115
  <td>
116
- <?php _e( 'Check out the WooCommerce Automatic Order Printing extension from our partners at Simba Hosting', 'wpo_wcpdf' ); ?><br/>
117
- <a href="https://www.simbahosting.co.uk/s3/product/woocommerce-automatic-order-printing/?affiliates=2" target="_blank"><?php _e("WooCommerce Automatic Order Printing", 'wpo_wcpdf'); ?></a>
118
  </td>
119
  </tr>
120
  </table>
@@ -128,13 +128,13 @@ jQuery(document).ready(function() {
128
  $email_link = '<a href="mailto:support@wpovernight.com">support@wpovernight.com</a>'
129
  ?>
130
  <li>
131
- <?php _e('Advanced, customizable templates', 'wpo_wcpdf')?>
132
  <div class="more" style="display:none;">
133
  <ul>
134
- <li><?php _e( 'Completely customize the invoice contents (prices, taxes, thumbnails) to your needs with a drag & drop customizer', 'wpo_wcpdf' ); ?></li>
135
- <li><?php _e( 'Two extra stylish premade templates (Modern & Business)', 'wpo_wcpdf' ); ?></li>
136
- <li><?php printf( __("Check out the Premium PDF Invoice & Packing Slips templates at %s.", 'wpo_wcpdf'), $template_link );?></li>
137
- <li><?php printf( __("For custom templates, contact us at %s.", 'wpo_wcpdf'), $email_link );?></li>
138
  </ul>
139
  </div>
140
  </li>
@@ -143,7 +143,7 @@ jQuery(document).ready(function() {
143
  <?php
144
  // link to hide message when one of the premium extensions is installed
145
  if ( class_exists('WooCommerce_PDF_IPS_Pro') || class_exists('WooCommerce_PDF_IPS_Dropbox') || class_exists('WooCommerce_PDF_IPS_Templates') || class_exists('WooCommerce_Ext_PrintOrders') || class_exists('WPO_WC_Smart_Reminder_Emails') ) {
146
- printf('<a href="%s" style="display:inline-block; margin-top: 10px;">%s</a>', add_query_arg( 'wpo_wcpdf_hide_extensions_ad', 'true' ), __( 'Hide this message', 'wpo_wcpdf' ) );
147
  }
148
  ?>
149
  </div>
11
 
12
  <div class="wcpdf-extensions-ad">
13
  <?php $no_pro = !class_exists('WooCommerce_PDF_IPS_Pro') && !class_exists('WooCommerce_PDF_IPS_Dropbox') && !class_exists('WooCommerce_PDF_IPS_Templates'); ?>
14
+ <img src="<?php echo WPO_WCPDF()->plugin_url() . '/assets/images/wpo-helper.png'; ?>" class="wpo-helper">
15
+ <h3><?php _e( 'Check out these premium extensions!', 'woocommerce-pdf-invoices-packing-slips' ); ?></h3>
16
+ <i>(<?php _e( 'click items to read more', 'woocommerce-pdf-invoices-packing-slips' ); ?>)</i>
17
  <ul class="extensions">
18
  <?php if ( $no_pro ): ?>
19
  <!-- No Pro extensions: Ad for PDF bundle -->
20
  <li>
21
+ <?php _e('Premium PDF Invoice bundle: Everything you need for a perfect invoicing system', 'woocommerce-pdf-invoices-packing-slips' )?>
22
  <div class="more" style="display:none;">
23
+ <h4><?php _e( 'Supercharge WooCommerce PDF Invoices & Packing Slips with the all our premium extensions:', 'woocommerce-pdf-invoices-packing-slips' ); ?></h4>
24
+ <?php _e( 'Professional features:', 'woocommerce-pdf-invoices-packing-slips' ); ?>
25
  <ul>
26
+ <li><?php _e( 'Email/print/download <b>PDF Credit Notes & Proforma invoices</b>', 'woocommerce-pdf-invoices-packing-slips' ); ?></li>
27
+ <li><?php _e( 'Send out a separate <b>notification email</b> with (or without) PDF invoices/packing slips, for example to a drop-shipper or a supplier.', 'woocommerce-pdf-invoices-packing-slips' ); ?></li>
28
+ <li><?php _e( 'Attach <b>up to 3 static files</b> (for example a terms & conditions document) to the WooCommerce emails of your choice.', 'woocommerce-pdf-invoices-packing-slips' ); ?></li>
29
+ <li><?php _e( 'Use <b>separate numbering systems</b> and/or format for proforma invoices and credit notes or utilize the main invoice numbering system', 'woocommerce-pdf-invoices-packing-slips' ); ?></li>
30
+ <li><?php _e( '<b>Customize</b> the <b>shipping & billing address</b> format to include additional custom fields, font sizes etc. without the need to create a custom template.', 'woocommerce-pdf-invoices-packing-slips' ); ?></li>
31
+ <li><?php _e( 'Use the plugin in multilingual <b>WPML</b> setups', 'woocommerce-pdf-invoices-packing-slips' ); ?></li>
32
  </ul>
33
+ <?php _e('Advanced, customizable templates', 'woocommerce-pdf-invoices-packing-slips' )?>
34
  <ul>
35
+ <li><?php _e( 'Completely customize the invoice contents (prices, taxes, thumbnails) to your needs with a drag & drop customizer', 'woocommerce-pdf-invoices-packing-slips' ); ?></li>
36
+ <li><?php _e( 'Two extra stylish premade templates (Modern & Business)', 'woocommerce-pdf-invoices-packing-slips' ); ?></li>
37
  </ul>
38
+ <?php _e('Upload automatically to dropbox', 'woocommerce-pdf-invoices-packing-slips' )?>
39
  <ul>
40
+ <li><?php _e( 'This extension conveniently uploads all the invoices (and other pdf documents from the professional extension) that are emailed to your customers to Dropbox. The best way to keep your invoice administration up to date!', 'woocommerce-pdf-invoices-packing-slips' ); ?></li>
41
  </ul>
42
  <br>
43
+ <a href="https://wpovernight.com/downloads/woocommerce-pdf-invoices-packing-slips-bundle/" target="_blank"><?php _e("Get WooCommerce PDF Invoices & Packing Slips Bundle", 'woocommerce-pdf-invoices-packing-slips' ); ?></a>
44
  </div>
45
  </li>
46
  <?php endif; ?>
49
  if (!class_exists('WooCommerce_PDF_IPS_Pro') && !$no_pro) {
50
  ?>
51
  <li>
52
+ <?php _e('Go Pro: Proforma invoices, credit notes (=refunds) & more!', 'woocommerce-pdf-invoices-packing-slips' )?>
53
  <div class="more" style="display:none;">
54
+ <?php _e( 'Supercharge WooCommerce PDF Invoices & Packing Slips with the following features:', 'woocommerce-pdf-invoices-packing-slips' ); ?>
55
  <ul>
56
+ <li><?php _e( 'Email/print/download <b>PDF Credit Notes & Proforma invoices</b>', 'woocommerce-pdf-invoices-packing-slips' ); ?></li>
57
+ <li><?php _e( 'Send out a separate <b>notification email</b> with (or without) PDF invoices/packing slips, for example to a drop-shipper or a supplier.', 'woocommerce-pdf-invoices-packing-slips' ); ?></li>
58
+ <li><?php _e( 'Attach <b>up to 3 static files</b> (for example a terms & conditions document) to the WooCommerce emails of your choice.', 'woocommerce-pdf-invoices-packing-slips' ); ?></li>
59
+ <li><?php _e( 'Use <b>separate numbering systems</b> and/or format for proforma invoices and credit notes or utilize the main invoice numbering system', 'woocommerce-pdf-invoices-packing-slips' ); ?></li>
60
+ <li><?php _e( '<b>Customize</b> the <b>shipping & billing address</b> format to include additional custom fields, font sizes etc. without the need to create a custom template.', 'woocommerce-pdf-invoices-packing-slips' ); ?></li>
61
+ <li><?php _e( 'Use the plugin in multilingual <b>WPML</b> setups', 'woocommerce-pdf-invoices-packing-slips' ); ?></li>
62
  </ul>
63
+ <a href="https://wpovernight.com/downloads/woocommerce-pdf-invoices-packing-slips-professional/" target="_blank"><?php _e("Get WooCommerce PDF Invoices & Packing Slips Professional!", 'woocommerce-pdf-invoices-packing-slips' ); ?></a>
64
  </li>
65
  <?php } ?>
66
 
68
  if (!class_exists('WPO_WC_Smart_Reminder_Emails')) {
69
  ?>
70
  <li>
71
+ <?php _e('Automatically send payment reminders to your customers', 'woocommerce-pdf-invoices-packing-slips' )?>
72
  <div class="more" style="display:none;">
73
+ <?php _e('WooCommerce Smart Reminder emails', 'woocommerce-pdf-invoices-packing-slips' )?>
74
  <ul>
75
+ <li><?php _e( '<b>Completely automatic</b> scheduled emails', 'woocommerce-pdf-invoices-packing-slips' ); ?></li>
76
+ <li><?php _e( '<b>Rich text editor</b> for the email text, including placeholders for data from the order (name, order total, etc)', 'woocommerce-pdf-invoices-packing-slips' ); ?></li>
77
+ <li><?php _e( 'Configure the exact requirements for sending an email (time after order, order status, payment method)', 'woocommerce-pdf-invoices-packing-slips' ); ?></li>
78
+ <li><?php _e( 'Fully <b>WPML Compatible</b> – emails will be automatically sent in the order language.', 'woocommerce-pdf-invoices-packing-slips' ); ?></li>
79
+ <li><?php _e( '<b>Super versatile!</b> Can be used for any kind of reminder email (review reminders, repeat purchases)', 'woocommerce-pdf-invoices-packing-slips' ); ?></li>
80
+ <li><b><?php _e( 'Integrates seamlessly with the PDF Invoices & Packing Slips plugin', 'woocommerce-pdf-invoices-packing-slips' ); ?></b></li>
81
  </ul>
82
+ <a href="https://wpovernight.com/downloads/woocommerce-reminder-emails-payment-reminders/" target="_blank"><?php _e("Get WooCommerce Smart Reminder Emails", 'woocommerce-pdf-invoices-packing-slips' ); ?></a>
83
  </div>
84
  </li>
85
  <?php } ?>
88
  if (!class_exists('WooCommerce_PDF_IPS_Dropbox') && !$no_pro) {
89
  ?>
90
  <li>
91
+ <?php _e('Upload all invoices automatically to your dropbox', 'woocommerce-pdf-invoices-packing-slips' )?>
92
  <div class="more" style="display:none;">
93
  <table>
94
  <tr>
95
+ <td><img src="<?php echo WPO_WCPDF()->plugin_url() . '/assets/images/dropbox_logo.png'; ?>" class="dropbox-logo"></td>
96
  <td>
97
+ <?php _e( 'This extension conveniently uploads all the invoices (and other pdf documents from the professional extension) that are emailed to your customers to Dropbox. The best way to keep your invoice administration up to date!', 'woocommerce-pdf-invoices-packing-slips' ); ?><br/>
98
+ <a href="https://wpovernight.com/downloads/woocommerce-pdf-invoices-packing-slips-dropbox/" target="_blank"><?php _e("Get WooCommerce PDF Invoices & Packing Slips to dropbox!", 'woocommerce-pdf-invoices-packing-slips' ); ?></a>
99
  </td>
100
  </tr>
101
  </table>
107
  if (!class_exists('WooCommerce_Ext_PrintOrders')) {
108
  ?>
109
  <li>
110
+ <?php _e('Automatically send new orders or packing slips to your printer, as soon as the customer orders!', 'woocommerce-pdf-invoices-packing-slips' )?>
111
  <div class="more" style="display:none;">
112
  <table>
113
  <tr>
114
+ <td><img src="<?php echo WPO_WCPDF()->plugin_url() . '/assets/images/cloud-print.png'; ?>" class="cloud-logo"></td>
115
  <td>
116
+ <?php _e( 'Check out the WooCommerce Automatic Order Printing extension from our partners at Simba Hosting', 'woocommerce-pdf-invoices-packing-slips' ); ?><br/>
117
+ <a href="https://www.simbahosting.co.uk/s3/product/woocommerce-automatic-order-printing/?affiliates=2" target="_blank"><?php _e("WooCommerce Automatic Order Printing", 'woocommerce-pdf-invoices-packing-slips' ); ?></a>
118
  </td>
119
  </tr>
120
  </table>
128
  $email_link = '<a href="mailto:support@wpovernight.com">support@wpovernight.com</a>'
129
  ?>
130
  <li>
131
+ <?php _e('Advanced, customizable templates', 'woocommerce-pdf-invoices-packing-slips' )?>
132
  <div class="more" style="display:none;">
133
  <ul>
134
+ <li><?php _e( 'Completely customize the invoice contents (prices, taxes, thumbnails) to your needs with a drag & drop customizer', 'woocommerce-pdf-invoices-packing-slips' ); ?></li>
135
+ <li><?php _e( 'Two extra stylish premade templates (Modern & Business)', 'woocommerce-pdf-invoices-packing-slips' ); ?></li>
136
+ <li><?php printf( __("Check out the Premium PDF Invoice & Packing Slips templates at %s.", 'woocommerce-pdf-invoices-packing-slips' ), $template_link );?></li>
137
+ <li><?php printf( __("For custom templates, contact us at %s.", 'woocommerce-pdf-invoices-packing-slips' ), $email_link );?></li>
138
  </ul>
139
  </div>
140
  </li>
143
  <?php
144
  // link to hide message when one of the premium extensions is installed
145
  if ( class_exists('WooCommerce_PDF_IPS_Pro') || class_exists('WooCommerce_PDF_IPS_Dropbox') || class_exists('WooCommerce_PDF_IPS_Templates') || class_exists('WooCommerce_Ext_PrintOrders') || class_exists('WPO_WC_Smart_Reminder_Emails') ) {
146
+ printf('<a href="%s" style="display:inline-block; margin-top: 10px;">%s</a>', add_query_arg( 'wpo_wcpdf_hide_extensions_ad', 'true' ), __( 'Hide this message', 'woocommerce-pdf-invoices-packing-slips' ) );
147
  }
148
  ?>
149
  </div>
includes/views/wcpdf-settings-page.php ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <script type="text/javascript">
2
+ jQuery( function( $ ) {
3
+ $("#footer-thankyou").html("If you like <strong>WooCommerce PDF Invoices & Packing Slips</strong> please leave us a <a href='https://wordpress.org/support/view/plugin-reviews/woocommerce-pdf-invoices-packing-slips?rate=5#postform'>★★★★★</a> rating. A huge thank you in advance!");
4
+ });
5
+ </script>
6
+ <div class="wrap">
7
+ <div class="icon32" id="icon-options-general"><br /></div>
8
+ <h2><?php _e( 'WooCommerce PDF Invoices', 'woocommerce-pdf-invoices-packing-slips' ); ?></h2>
9
+ <h2 class="nav-tab-wrapper">
10
+ <?php
11
+ foreach ($settings_tabs as $tab_slug => $tab_title ) {
12
+ printf('<a href="?page=wpo_wcpdf_options_page&tab=%1$s" class="nav-tab nav-tab-%1$s %2$s">%3$s</a>', $tab_slug, (($active_tab == $tab_slug) ? 'nav-tab-active' : ''), $tab_title);
13
+ }
14
+ ?>
15
+ </h2>
16
+
17
+ <?php
18
+ do_action( 'wpo_wcpdf_before_settings_page', $active_tab, $active_section );
19
+
20
+ // save or check option to hide extensions ad
21
+ if ( isset( $_GET['wpo_wcpdf_hide_extensions_ad'] ) ) {
22
+ update_option( 'wpo_wcpdf_hide_extensions_ad', true );
23
+ $hide_ad = true;
24
+ } else {
25
+ $hide_ad = get_option( 'wpo_wcpdf_hide_extensions_ad' );
26
+ }
27
+
28
+ if ( !$hide_ad && !( class_exists('WooCommerce_PDF_IPS_Pro') && class_exists('WooCommerce_PDF_IPS_Dropbox') && class_exists('WooCommerce_PDF_IPS_Templates') && class_exists('WooCommerce_Ext_PrintOrders') ) ) {
29
+ include('wcpdf-extensions.php');
30
+ }
31
+
32
+ ?>
33
+ <form method="post" action="options.php" id="wpo-wcpdf-settings" class="<?php echo "{$active_tab} {$active_section}"; ?>">
34
+ <?php
35
+ do_action( 'wpo_wcpdf_before_settings', $active_tab, $active_section );
36
+ if ( has_action( 'wpo_wcpdf_settings_output_'.$active_tab ) ) {
37
+ do_action( 'wpo_wcpdf_settings_output_'.$active_tab, $active_section );
38
+ } else {
39
+ // legacy settings
40
+ settings_fields( "wpo_wcpdf_{$active_tab}_settings" );
41
+ do_settings_sections( "wpo_wcpdf_{$active_tab}_settings" );
42
+
43
+ submit_button();
44
+ }
45
+ do_action( 'wpo_wcpdf_after_settings', $active_tab, $active_section );
46
+ ?>
47
+
48
+ </form>
49
+ <?php do_action( 'wpo_wcpdf_after_settings_page', $active_tab, $active_section ); ?>
50
+ </div>
includes/wcpdf-functions.php ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! defined( 'ABSPATH' ) ) {
3
+ exit;
4
+ }
5
+
6
+ use WPO\WC\PDF_Invoices\Compatibility\WC_Core as WCX;
7
+ use WPO\WC\PDF_Invoices\Compatibility\Order as WCX_Order;
8
+ use WPO\WC\PDF_Invoices\Compatibility\Product as WCX_Product;
9
+
10
+ /*
11
+ |--------------------------------------------------------------------------
12
+ | Document getter functions
13
+ |--------------------------------------------------------------------------
14
+ |
15
+ | Global functions to get the document object for an order
16
+ |
17
+ */
18
+
19
+ function wcpdf_filter_order_ids( $order_ids, $document_type ) {
20
+ $order_ids = apply_filters( 'wpo_wcpdf_process_order_ids', $order_ids, $document_type );
21
+ // filter out trashed orders
22
+ foreach ( $order_ids as $key => $order_id ) {
23
+ $order_status = get_post_status( $order_id );
24
+ if ( $order_status == 'trash' ) {
25
+ unset( $order_ids[ $key ] );
26
+ }
27
+ }
28
+ return $order_ids;
29
+ }
30
+
31
+ function wcpdf_get_document( $document_type, $order, $init = false ) {
32
+ // $order can be one of the following:
33
+ // - WC Order object
34
+ // - array of order ids
35
+ // - null if order not loaded or loaded later
36
+ if ( !empty( $order ) ) {
37
+ if ( is_object( $order ) ) {
38
+ // we filter order_ids for objects too:
39
+ // an order object may need to be converted to several refunds for example
40
+ $order_ids = array( WCX_Order::get_id( $order ) );
41
+ $filtered_order_ids = wcpdf_filter_order_ids( $order_ids, $document_type );
42
+ // check if something has changed
43
+ $order_id_diff = array_diff( $filtered_order_ids, $order_ids );
44
+ if ( empty( $order_id_diff ) && count( $order_ids ) == count( $filtered_order_ids ) ) {
45
+ // nothing changed, load document with Order object
46
+ do_action( 'wpo_wcpdf_process_template_order', $document_type, WCX_Order::get_id( $order ) );
47
+ $document = WPO_WCPDF()->documents->get_document( $document_type, $order );
48
+
49
+ if ( $init && !$document->exists() ) {
50
+ $document->init();
51
+ $document->save();
52
+ }
53
+ // $document->read_data( $order ); // isn't data already read from construct?
54
+ return $document;
55
+ } else {
56
+ // order ids array changed, continue processing that array
57
+ $order_ids = $filtered_order_ids;
58
+ }
59
+ } elseif ( is_array( $order ) ) {
60
+ $order_ids = wcpdf_filter_order_ids( $order, $document_type );
61
+ } else {
62
+ return false;
63
+ }
64
+
65
+ if ( empty( $order_ids ) ) {
66
+ // No orders to export for this document type
67
+ return false;
68
+ }
69
+
70
+ // if we only have one order, it's simple
71
+ if ( count( $order_ids ) == 1 ) {
72
+ $order_id = array_pop ( $order_ids );
73
+ do_action( 'wpo_wcpdf_process_template_order', $document_type, $order_id );
74
+ $order = WCX::get_order( $order_id );
75
+
76
+ $document = WPO_WCPDF()->documents->get_document( $document_type, $order );
77
+ if ( $init && !$document->exists() ) {
78
+ $document->init();
79
+ $document->save();
80
+ }
81
+ // otherwise we use bulk class to wrap multiple documents in one
82
+ } else {
83
+ $document = wcpdf_get_bulk_document( $document_type, $order_ids );
84
+ }
85
+ } else {
86
+ // orderless document (used as wrapper for bulk, for example)
87
+ $document = WPO_WCPDF()->documents->get_document( $document_type, $order );
88
+ }
89
+
90
+ return $document;
91
+ }
92
+
93
+ function wcpdf_get_bulk_document( $document_type, $order_ids ) {
94
+ return new \WPO\WC\PDF_Invoices\Documents\Bulk_Document( $document_type, $order_ids );
95
+ }
96
+
97
+ function wcpdf_get_invoice( $order, $init = false ) {
98
+ return wcpdf_get_document( 'invoice', $order, $init );
99
+ }
100
+
101
+ function wcpdf_get_packing_slip( $order, $init = false ) {
102
+ return wcpdf_get_document( 'packing-slip', $order, $init );
103
+ }
104
+
105
+ /**
106
+ * Load HTML into (pluggable) PDF library, DomPDF 0.6 by default
107
+ * Use wpo_wcpdf_pdf_maker filter to change the PDF class (which can wrap another PDF library).
108
+ * @return WC_Logger
109
+ */
110
+ function wcpdf_get_pdf_maker( $html, $settings = array() ) {
111
+ if ( ! class_exists( '\\WPO\\WC\\PDF_Invoices\\PDF_Maker' ) ) {
112
+ include_once( WPO_WCPDF()->plugin_path() . '/includes/class-wcpdf-pdf-maker.php' );
113
+ }
114
+ $class = apply_filters( 'wpo_wcpdf_pdf_maker', '\\WPO\\WC\\PDF_Invoices\\PDF_Maker' );
115
+ return new $class( $html, $settings );
116
+ }
117
+
118
+ function wcpdf_pdf_headers( $filename, $mode = 'inline', $pdf = null ) {
119
+ switch ($mode) {
120
+ case 'download':
121
+ header('Content-Description: File Transfer');
122
+ header('Content-Type: application/pdf');
123
+ header('Content-Disposition: attachment; filename="'.$filename.'"');
124
+ header('Content-Transfer-Encoding: binary');
125
+ header('Connection: Keep-Alive');
126
+ header('Expires: 0');
127
+ header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
128
+ header('Pragma: public');
129
+ break;
130
+ case 'inline':
131
+ default:
132
+ header('Content-type: application/pdf');
133
+ header('Content-Disposition: inline; filename="'.$filename.'"');
134
+ break;
135
+ }
136
+ }
137
+
138
+ /**
139
+ * Wrapper for deprecated functions so we can apply some extra logic.
140
+ *
141
+ * @since 2.0
142
+ * @param string $function
143
+ * @param string $version
144
+ * @param string $replacement
145
+ */
146
+ function wcpdf_deprecated_function( $function, $version, $replacement = null ) {
147
+ if ( apply_filters( 'wcpdf_disable_deprecation_notices', false ) ) {
148
+ return;
149
+ }
150
+ // if the deprecated function is called from one of our filters, $this should be $document
151
+ $filter = current_filter();
152
+ $global_wcpdf_filters = array( 'wp_ajax_generate_wpo_wcpdf' );
153
+ if ( !in_array($filter, $global_wcpdf_filters) && strpos($filter, 'wpo_wcpdf') !== false && strpos($replacement, '$this') !== false ) {
154
+ $replacement = str_replace('$this', '$document', $replacement);
155
+ $replacement = "{$replacement} - check that the \$document parameter is included in your action or filter ($filter)!";
156
+ }
157
+ if ( is_ajax() ) {
158
+ do_action( 'deprecated_function_run', $function, $replacement, $version );
159
+ $log_string = "The {$function} function is deprecated since version {$version}.";
160
+ $log_string .= $replacement ? " Replace with {$replacement}." : '';
161
+ error_log( $log_string );
162
+ } else {
163
+ _deprecated_function( $function, $version, $replacement );
164
+ }
165
+ }
languages/woocommerce-pdf-invoices-packing-slips-cs_CZ.mo ADDED
Binary file
languages/woocommerce-pdf-invoices-packing-slips-cs_CZ.po ADDED
@@ -0,0 +1,938 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
+ "POT-Creation-Date: 2017-06-09 16:36+0200\n"
5
+ "PO-Revision-Date: 2017-06-09 16:37+0200\n"
6
+ "Last-Translator: Ivo Slavík <ivo.slavik@atlas.cz>\n"
7
+ "Language-Team: Ivo Slavík <info@ivoslavik.cz>\n"
8
+ "Language: cs\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.12\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: includes/class-wcpdf-admin.php:72 includes/class-wcpdf-admin.php:174
20
+ msgid "Invoice Number"
21
+ msgstr "Číslo faktury"
22
+
23
+ #: includes/class-wcpdf-admin.php:105
24
+ msgid "Create PDF"
25
+ msgstr "Vytvořit PDF"
26
+
27
+ #: includes/class-wcpdf-admin.php:115
28
+ msgid "PDF Invoice data"
29
+ msgstr ""
30
+
31
+ #: includes/class-wcpdf-admin.php:166
32
+ #: includes/documents/class-wcpdf-invoice.php:32
33
+ #: includes/documents/class-wcpdf-invoice.php:41
34
+ #: includes/legacy/class-wcpdf-legacy-functions.php:22
35
+ #: templates/Simple/invoice.php:10 templates/Simple/invoice.php:22
36
+ msgid "Invoice"
37
+ msgstr "Faktura"
38
+
39
+ #: includes/class-wcpdf-admin.php:183 includes/class-wcpdf-admin.php:204
40
+ #: templates/Simple/invoice.php:56
41
+ msgid "Invoice Date:"
42
+ msgstr "Datum fakturace:"
43
+
44
+ #: includes/class-wcpdf-admin.php:189
45
+ msgid "Set invoice number & date"
46
+ msgstr ""
47
+
48
+ #: includes/class-wcpdf-admin.php:196
49
+ msgid "Invoice Number (unformatted!)"
50
+ msgstr ""
51
+
52
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
53
+ msgid "h"
54
+ msgstr "h"
55
+
56
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
57
+ msgid "m"
58
+ msgstr "m"
59
+
60
+ #: includes/class-wcpdf-frontend.php:55
61
+ msgid "Download invoice (PDF)"
62
+ msgstr "Stáhnout fakturu (PDF)"
63
+
64
+ #: includes/class-wcpdf-main.php:132 includes/class-wcpdf-main.php:153
65
+ #: includes/class-wcpdf-main.php:160 includes/class-wcpdf-main.php:166
66
+ msgid "You do not have sufficient permissions to access this page."
67
+ msgstr "Nemáte dostatečné oprávnění pro přístup."
68
+
69
+ #: includes/class-wcpdf-main.php:141
70
+ msgid "Some of the export parameters are missing."
71
+ msgstr "Chybí některé z exportních parametrů."
72
+
73
+ #: includes/class-wcpdf-settings-callbacks.php:27
74
+ msgid ""
75
+ "<b>Warning!</b> The settings below are meant for debugging/development only. "
76
+ "Do not use them on a live website!"
77
+ msgstr ""
78
+ "<b>Upozornění!</b> Níže uvedená nastavení slouží pouze pro ladění/vývoj. Na "
79
+ "ostrém webu je nepoužívejte!"
80
+
81
+ #: includes/class-wcpdf-settings-callbacks.php:36
82
+ msgid ""
83
+ "These are used for the (optional) footer columns in the <em>Modern "
84
+ "(Premium)</em> template, but can also be used for other elements in your "
85
+ "custom template"
86
+ msgstr ""
87
+ "Tyto prvky jsou použité jako volitelné části patičky v šabloně <em>Modern "
88
+ "(Premium)</em>, ale mohou být v rámci vaší vlastní šablony využity i jinak"
89
+
90
+ #: includes/class-wcpdf-settings-callbacks.php:301
91
+ msgid "Image resolution"
92
+ msgstr "Rozměry obrázku"
93
+
94
+ #: includes/class-wcpdf-settings-callbacks.php:325
95
+ msgid "Save"
96
+ msgstr ""
97
+
98
+ #: includes/class-wcpdf-settings-debug.php:34
99
+ msgid "Debug settings"
100
+ msgstr "Nastavení pro ladění"
101
+
102
+ #: includes/class-wcpdf-settings-debug.php:40
103
+ msgid "Legacy mode"
104
+ msgstr ""
105
+
106
+ #: includes/class-wcpdf-settings-debug.php:46
107
+ msgid ""
108
+ "Legacy mode ensures compatibility with templates and filters from previous "
109
+ "versions."
110
+ msgstr ""
111
+
112
+ #: includes/class-wcpdf-settings-debug.php:52
113
+ msgid "Enable debug output"
114
+ msgstr "Povolit výstup ladění"
115
+
116
+ #: includes/class-wcpdf-settings-debug.php:58
117
+ msgid ""
118
+ "Enable this option to output plugin errors if you're getting a blank page or "
119
+ "other PDF generation issues"
120
+ msgstr ""
121
+ "Povolte toto nastavení pro zobrazení chyb pluginu, pokud se zobrazuje "
122
+ "prázdná stránka nebo máte jiný problém s generováním PDF"
123
+
124
+ #: includes/class-wcpdf-settings-debug.php:64
125
+ msgid "Output to HTML"
126
+ msgstr "Výstup do HTML"
127
+
128
+ #: includes/class-wcpdf-settings-debug.php:70
129
+ msgid ""
130
+ "Send the template output as HTML to the browser instead of creating a PDF."
131
+ msgstr "Pošle výstup šablony v HTML do prohlížeče místo vytvoření PDF."
132
+
133
+ #: includes/class-wcpdf-settings-documents.php:29
134
+ #: includes/class-wcpdf-settings.php:84
135
+ msgid "Documents"
136
+ msgstr ""
137
+
138
+ #: includes/class-wcpdf-settings-documents.php:45
139
+ msgid ""
140
+ "All available documents are listed below. Click on a document to configure "
141
+ "it."
142
+ msgstr ""
143
+
144
+ #: includes/class-wcpdf-settings-general.php:37
145
+ msgid "General settings"
146
+ msgstr "Všeobecná nastavení"
147
+
148
+ #: includes/class-wcpdf-settings-general.php:43
149
+ msgid "How do you want to view the PDF?"
150
+ msgstr "Jak chcete zobrazit PDF?"
151
+
152
+ #: includes/class-wcpdf-settings-general.php:50
153
+ msgid "Download the PDF"
154
+ msgstr "Stáhnout PDF"
155
+
156
+ #: includes/class-wcpdf-settings-general.php:51
157
+ msgid "Open the PDF in a new browser tab/window"
158
+ msgstr "Otevřít PDF v novém okně"
159
+
160
+ #: includes/class-wcpdf-settings-general.php:58
161
+ msgid "Choose a template"
162
+ msgstr "Vyberte šablonu"
163
+
164
+ #: includes/class-wcpdf-settings-general.php:65
165
+ #, php-format
166
+ msgid ""
167
+ "Want to use your own template? Copy all the files from <code>%s</code> to "
168
+ "your (child) theme in <code>%s</code> to customize them"
169
+ msgstr ""
170
+ "Chcete použít vlastní šablonu? Zkopírujte všechny soubory z <code>%s</code> "
171
+ "do svého (child) tématu v <code>%s</code> a upravte je podle potřeby"
172
+
173
+ #: includes/class-wcpdf-settings-general.php:71
174
+ msgid "Paper size"
175
+ msgstr "Velikost papíru"
176
+
177
+ #: includes/class-wcpdf-settings-general.php:78
178
+ msgid "A4"
179
+ msgstr "A4"
180
+
181
+ #: includes/class-wcpdf-settings-general.php:79
182
+ msgid "Letter"
183
+ msgstr "Letter"
184
+
185
+ #: includes/class-wcpdf-settings-general.php:86
186
+ msgid "Extended currency symbol support"
187
+ msgstr ""
188
+
189
+ #: includes/class-wcpdf-settings-general.php:92
190
+ msgid "Enable this if your currency symbol is not displaying properly"
191
+ msgstr ""
192
+
193
+ #: includes/class-wcpdf-settings-general.php:98
194
+ msgid "Shop header/logo"
195
+ msgstr "Hlavička/logo"
196
+
197
+ #: includes/class-wcpdf-settings-general.php:104
198
+ msgid "Select or upload your invoice header/logo"
199
+ msgstr "Vyberte nebo nahrajte hlavičku/logo"
200
+
201
+ #: includes/class-wcpdf-settings-general.php:105
202
+ msgid "Set image"
203
+ msgstr "Vybrat obrázek"
204
+
205
+ #: includes/class-wcpdf-settings-general.php:106
206
+ msgid "Remove image"
207
+ msgstr "Odebrat obrázek"
208
+
209
+ #: includes/class-wcpdf-settings-general.php:113
210
+ msgid "Shop Name"
211
+ msgstr "Název obchodu"
212
+
213
+ #: includes/class-wcpdf-settings-general.php:126
214
+ msgid "Shop Address"
215
+ msgstr "Adresa obchodu"
216
+
217
+ #: includes/class-wcpdf-settings-general.php:141
218
+ msgid "Footer: terms & conditions, policies, etc."
219
+ msgstr "Patička: obchodní podmínky, ochrana osobních údajů, atd."
220
+
221
+ #: includes/class-wcpdf-settings-general.php:156
222
+ msgid "Extra template fields"
223
+ msgstr "Extra políčka v šabloně"
224
+
225
+ #: includes/class-wcpdf-settings-general.php:162
226
+ msgid "Extra field 1"
227
+ msgstr "Extra políčko 1"
228
+
229
+ #: includes/class-wcpdf-settings-general.php:170
230
+ msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
231
+ msgstr "Tohle je 1. políčko v patičce šablony <i>Modern (Premium)</i>"
232
+
233
+ #: includes/class-wcpdf-settings-general.php:177
234
+ msgid "Extra field 2"
235
+ msgstr "Extra políčko 2"
236
+
237
+ #: includes/class-wcpdf-settings-general.php:185
238
+ msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
239
+ msgstr "Tohle je 2. políčko v patičce šablony <i>Modern (Premium)</i>"
240
+
241
+ #: includes/class-wcpdf-settings-general.php:192
242
+ msgid "Extra field 3"
243
+ msgstr "Extra políčko 3"
244
+
245
+ #: includes/class-wcpdf-settings-general.php:200
246
+ msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
247
+ msgstr "Tohle je 3. políčko v patičce šablony <i>Modern (Premium)</i>"
248
+
249
+ #: includes/class-wcpdf-settings.php:45 includes/class-wcpdf-settings.php:46
250
+ msgid "PDF Invoices"
251
+ msgstr "PDF faktury"
252
+
253
+ #: includes/class-wcpdf-settings.php:58
254
+ msgid "Settings"
255
+ msgstr "Nastavení"
256
+
257
+ #: includes/class-wcpdf-settings.php:71
258
+ msgid "Documentation"
259
+ msgstr ""
260
+
261
+ #: includes/class-wcpdf-settings.php:72
262
+ msgid "Support Forum"
263
+ msgstr ""
264
+
265
+ #: includes/class-wcpdf-settings.php:83
266
+ msgid "General"
267
+ msgstr "Všeobecné"
268
+
269
+ #: includes/class-wcpdf-settings.php:89
270
+ msgid "Status"
271
+ msgstr "Stav"
272
+
273
+ #: includes/compatibility/class-wc-core-compatibility.php:222
274
+ msgid "WooCommerce"
275
+ msgstr ""
276
+
277
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:113
278
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:176
279
+ msgid "N/A"
280
+ msgstr "Není k dispozici"
281
+
282
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:305
283
+ msgid "Payment method"
284
+ msgstr "Platební metoda"
285
+
286
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:326
287
+ msgid "Shipping method"
288
+ msgstr "Doručovací metoda"
289
+
290
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:669
291
+ #, php-format
292
+ msgid "(includes %s)"
293
+ msgstr ""
294
+
295
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:672
296
+ #, php-format
297
+ msgid "(Includes %s)"
298
+ msgstr ""
299
+
300
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:702
301
+ msgid "Subtotal"
302
+ msgstr "Mezisoučet"
303
+
304
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:727
305
+ msgid "Shipping"
306
+ msgstr "Doprava"
307
+
308
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:790
309
+ msgid "Discount"
310
+ msgstr "Sleva"
311
+
312
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:831
313
+ msgid "VAT"
314
+ msgstr "DPH"
315
+
316
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:832
317
+ msgid "Tax rate"
318
+ msgstr "Daňová sazba"
319
+
320
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:876
321
+ msgid "Total ex. VAT"
322
+ msgstr "Celkem bez DPH"
323
+
324
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:879
325
+ msgid "Total"
326
+ msgstr "Celkem"
327
+
328
+ #: includes/documents/abstract-wcpdf-order-document.php:674
329
+ msgid "Admin email"
330
+ msgstr ""
331
+
332
+ #: includes/documents/abstract-wcpdf-order-document.php:677
333
+ msgid "Manual email"
334
+ msgstr ""
335
+
336
+ # This is a filename (prefix). do not use spaces or special characters!
337
+ #: includes/documents/class-wcpdf-invoice.php:85
338
+ msgid "invoice"
339
+ msgid_plural "invoices"
340
+ msgstr[0] "faktura"
341
+ msgstr[1] "faktury"
342
+ msgstr[2] "faktur"
343
+
344
+ #: includes/documents/class-wcpdf-invoice.php:130
345
+ #: includes/documents/class-wcpdf-packing-slip.php:94
346
+ msgid "Enable"
347
+ msgstr ""
348
+
349
+ #: includes/documents/class-wcpdf-invoice.php:141
350
+ msgid "Attach to:"
351
+ msgstr ""
352
+
353
+ #: includes/documents/class-wcpdf-invoice.php:148
354
+ #, php-format
355
+ msgid ""
356
+ "It looks like the temp folder (<code>%s</code>) is not writable, check the "
357
+ "permissions for this folder! Without having write access to this folder, the "
358
+ "plugin will not be able to email invoices."
359
+ msgstr ""
360
+ "Zdá se, že dočasná složka (<code>%s</code>) není přístupná, zkontrolujte "
361
+ "prosím oprávnění zápisu (chmod)! Bez povolení pro zápis do této složky "
362
+ "nebude možné odesílat faktury e-mailem."
363
+
364
+ #: includes/documents/class-wcpdf-invoice.php:154
365
+ msgid "Display shipping address"
366
+ msgstr "Zobrazit doručovací adresu"
367
+
368
+ #: includes/documents/class-wcpdf-invoice.php:160
369
+ msgid ""
370
+ "Display shipping address (in addition to the default billing address) if "
371
+ "different from billing address"
372
+ msgstr ""
373
+
374
+ #: includes/documents/class-wcpdf-invoice.php:166
375
+ #: includes/documents/class-wcpdf-packing-slip.php:117
376
+ msgid "Display email address"
377
+ msgstr "Zobrazit emailovou adresu"
378
+
379
+ #: includes/documents/class-wcpdf-invoice.php:177
380
+ #: includes/documents/class-wcpdf-packing-slip.php:128
381
+ msgid "Display phone number"
382
+ msgstr "Zobrazit telefonní číslo"
383
+
384
+ #: includes/documents/class-wcpdf-invoice.php:188
385
+ msgid "Display invoice date"
386
+ msgstr "Zobrazit datum fakturace"
387
+
388
+ #: includes/documents/class-wcpdf-invoice.php:200
389
+ msgid "Display invoice number"
390
+ msgstr ""
391
+
392
+ #: includes/documents/class-wcpdf-invoice.php:212
393
+ msgid "Next invoice number (without prefix/suffix etc.)"
394
+ msgstr "Další číslo faktury (bez předpony/přípony)"
395
+
396
+ #: includes/documents/class-wcpdf-invoice.php:218
397
+ msgid ""
398
+ "This is the number that will be used for the next document. By default, "
399
+ "numbering starts from 1 and increases for every new document. Note that if "
400
+ "you override this and set it lower than the current/highest number, this "
401
+ "could create duplicate numbers!"
402
+ msgstr ""
403
+
404
+ #: includes/documents/class-wcpdf-invoice.php:224
405
+ msgid "Number format"
406
+ msgstr ""
407
+
408
+ #: includes/documents/class-wcpdf-invoice.php:232
409
+ msgid "Prefix"
410
+ msgstr "Předpona"
411
+
412
+ #: includes/documents/class-wcpdf-invoice.php:234
413
+ msgid ""
414
+ "to use the invoice year and/or month, use [invoice_year] or [invoice_month] "
415
+ "respectively"
416
+ msgstr ""
417
+
418
+ #: includes/documents/class-wcpdf-invoice.php:237
419
+ msgid "Suffix"
420
+ msgstr "Přípona"
421
+
422
+ #: includes/documents/class-wcpdf-invoice.php:242
423
+ msgid "Padding"
424
+ msgstr "Výplň"
425
+
426
+ #: includes/documents/class-wcpdf-invoice.php:245
427
+ msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
428
+ msgstr ""
429
+ "zde vložte počet číslic - napište \"6\", aby se 42 zobrazilo jako 000042"
430
+
431
+ #: includes/documents/class-wcpdf-invoice.php:248
432
+ msgid ""
433
+ "note: if you have already created a custom invoice number format with a "
434
+ "filter, the above settings will be ignored"
435
+ msgstr ""
436
+ "poznámka: pokud jste si už nastavili vlastní číslování faktur pomocí filtru, "
437
+ "výše uvedená nastavení budou ignorována"
438
+
439
+ #: includes/documents/class-wcpdf-invoice.php:254
440
+ msgid "Reset invoice number yearly"
441
+ msgstr ""
442
+
443
+ #: includes/documents/class-wcpdf-invoice.php:265
444
+ msgid "Allow My Account invoice download"
445
+ msgstr "Umožnit stažení faktury na stránce Můj účet"
446
+
447
+ #: includes/documents/class-wcpdf-invoice.php:272
448
+ msgid "Only when an invoice is already created/emailed"
449
+ msgstr "Pouze když už byla faktura vytvořena/odeslána"
450
+
451
+ #: includes/documents/class-wcpdf-invoice.php:273
452
+ msgid "Only for specific order statuses (define below)"
453
+ msgstr "Pouze pro určité stavy objednávek (definujte níže)"
454
+
455
+ #: includes/documents/class-wcpdf-invoice.php:274
456
+ msgid "Always"
457
+ msgstr "Vždy"
458
+
459
+ #: includes/documents/class-wcpdf-invoice.php:275
460
+ msgid "Never"
461
+ msgstr ""
462
+
463
+ #: includes/documents/class-wcpdf-invoice.php:290
464
+ msgid "Enable invoice number column in the orders list"
465
+ msgstr "Zobrazit v seznamu objednávek sloupec s čísly faktur"
466
+
467
+ #: includes/documents/class-wcpdf-invoice.php:301
468
+ msgid "Disable for free products"
469
+ msgstr "Vypnout u produktů zdarma"
470
+
471
+ #: includes/documents/class-wcpdf-invoice.php:307
472
+ msgid ""
473
+ "Disable automatic creation/attachment when only free products are ordered"
474
+ msgstr ""
475
+
476
+ #: includes/documents/class-wcpdf-invoice.php:321
477
+ msgid "Invoice numbers are created by a third-party extension."
478
+ msgstr ""
479
+
480
+ #: includes/documents/class-wcpdf-invoice.php:323
481
+ #, php-format
482
+ msgid "Configure it <a href=\"%s\">here</a>."
483
+ msgstr ""
484
+
485
+ #: includes/documents/class-wcpdf-packing-slip.php:32
486
+ #: includes/documents/class-wcpdf-packing-slip.php:41
487
+ #: includes/legacy/class-wcpdf-legacy-functions.php:25
488
+ #: templates/Simple/packing-slip.php:10 templates/Simple/packing-slip.php:22
489
+ msgid "Packing Slip"
490
+ msgstr "Dodací List"
491
+
492
+ # This is a filename (prefix). do not use spaces or special characters!
493
+ #: includes/documents/class-wcpdf-packing-slip.php:53
494
+ msgid "packing-slip"
495
+ msgid_plural "packing-slips"
496
+ msgstr[0] "dodací list"
497
+ msgstr[1] "dodací listy"
498
+ msgstr[2] "dodacích listů"
499
+
500
+ #: includes/documents/class-wcpdf-packing-slip.php:105
501
+ msgid "Display billing address"
502
+ msgstr "Zobrazit fakturační adresu"
503
+
504
+ #: includes/documents/class-wcpdf-packing-slip.php:111
505
+ msgid ""
506
+ "Display billing address (in addition to the default shipping address) if "
507
+ "different from shipping address"
508
+ msgstr ""
509
+
510
+ #: includes/legacy/class-wcpdf-legacy-document.php:32
511
+ msgid "Legacy Document"
512
+ msgstr ""
513
+
514
+ #: includes/views/wcpdf-extensions.php:15
515
+ msgid "Check out these premium extensions!"
516
+ msgstr "Vyzkoušejte tato prémiová rozšíření!"
517
+
518
+ #: includes/views/wcpdf-extensions.php:16
519
+ msgid "click items to read more"
520
+ msgstr "pro více informací klikněte na položky"
521
+
522
+ #: includes/views/wcpdf-extensions.php:21
523
+ msgid ""
524
+ "Premium PDF Invoice bundle: Everything you need for a perfect invoicing "
525
+ "system"
526
+ msgstr ""
527
+
528
+ #: includes/views/wcpdf-extensions.php:23
529
+ msgid ""
530
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the all our "
531
+ "premium extensions:"
532
+ msgstr ""
533
+
534
+ #: includes/views/wcpdf-extensions.php:24
535
+ msgid "Professional features:"
536
+ msgstr ""
537
+
538
+ #: includes/views/wcpdf-extensions.php:26
539
+ #: includes/views/wcpdf-extensions.php:56
540
+ msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
541
+ msgstr "Mailujte/tiskněte/stahujte <b>PDF dobropisy a proforma faktury</b>"
542
+
543
+ #: includes/views/wcpdf-extensions.php:27
544
+ #: includes/views/wcpdf-extensions.php:57
545
+ msgid ""
546
+ "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
547
+ "packing slips, for example to a drop-shipper or a supplier."
548
+ msgstr ""
549
+ "Posílejte zvláštní <b>notifikační email</b> s (nebo bez) PDF fakturami/"
550
+ "dodacími listy, např. pro drop-shippera nebo dodavatele."
551
+
552
+ #: includes/views/wcpdf-extensions.php:28
553
+ #: includes/views/wcpdf-extensions.php:58
554
+ msgid ""
555
+ "Attach <b>up to 3 static files</b> (for example a terms & conditions "
556
+ "document) to the WooCommerce emails of your choice."
557
+ msgstr ""
558
+ "Přikládejte k vybraným WooCommerce emailům <b>až 3 statické soubory</b> "
559
+ "(např. dokument s obchodními podmínkami)."
560
+
561
+ #: includes/views/wcpdf-extensions.php:29
562
+ #: includes/views/wcpdf-extensions.php:59
563
+ msgid ""
564
+ "Use <b>separate numbering systems</b> and/or format for proforma invoices "
565
+ "and credit notes or utilize the main invoice numbering system"
566
+ msgstr ""
567
+ "Používejte <b>samostatné číslování</b> a/nebo formát proforma faktur a "
568
+ "dobropisů nebo používejte hlavní číslování"
569
+
570
+ #: includes/views/wcpdf-extensions.php:30
571
+ #: includes/views/wcpdf-extensions.php:60
572
+ msgid ""
573
+ "<b>Customize</b> the <b>shipping & billing address</b> format to include "
574
+ "additional custom fields, font sizes etc. without the need to create a "
575
+ "custom template."
576
+ msgstr ""
577
+ "<b>Přizpůsobte si formát dodací a fakturační adresy</b>, aby obsahovaly "
578
+ "další vlastní pole, velikosti písma, atd. bez nutnosti vytvářet vlastní "
579
+ "šablonu."
580
+
581
+ #: includes/views/wcpdf-extensions.php:31
582
+ #: includes/views/wcpdf-extensions.php:61
583
+ msgid "Use the plugin in multilingual <b>WPML</b> setups"
584
+ msgstr "Používejte plugin v multijazyčném nastavení <b>WPML</b>"
585
+
586
+ #: includes/views/wcpdf-extensions.php:33
587
+ #: includes/views/wcpdf-extensions.php:131
588
+ msgid "Advanced, customizable templates"
589
+ msgstr ""
590
+
591
+ #: includes/views/wcpdf-extensions.php:35
592
+ #: includes/views/wcpdf-extensions.php:134
593
+ msgid ""
594
+ "Completely customize the invoice contents (prices, taxes, thumbnails) to "
595
+ "your needs with a drag & drop customizer"
596
+ msgstr ""
597
+
598
+ #: includes/views/wcpdf-extensions.php:36
599
+ #: includes/views/wcpdf-extensions.php:135
600
+ msgid "Two extra stylish premade templates (Modern & Business)"
601
+ msgstr ""
602
+
603
+ #: includes/views/wcpdf-extensions.php:38
604
+ msgid "Upload automatically to dropbox"
605
+ msgstr ""
606
+
607
+ #: includes/views/wcpdf-extensions.php:40
608
+ #: includes/views/wcpdf-extensions.php:97
609
+ msgid ""
610
+ "This extension conveniently uploads all the invoices (and other pdf "
611
+ "documents from the professional extension) that are emailed to your "
612
+ "customers to Dropbox. The best way to keep your invoice administration up to "
613
+ "date!"
614
+ msgstr ""
615
+ "Toto rozšíření umožňuje pohodlně nahrávat do Dropboxu všechny faktury (a "
616
+ "další pdf dokumenty z profi rozšíření), které jsou posílány zákazníkovi."
617
+
618
+ #: includes/views/wcpdf-extensions.php:43
619
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Bundle"
620
+ msgstr ""
621
+
622
+ #: includes/views/wcpdf-extensions.php:52
623
+ msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
624
+ msgstr "Pro verze: proforma faktury, dobropisy a další!"
625
+
626
+ #: includes/views/wcpdf-extensions.php:54
627
+ msgid ""
628
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the following "
629
+ "features:"
630
+ msgstr "Nabijte WooCommerce PDF Invoices & Packing Slips těmito funkcemi:"
631
+
632
+ #: includes/views/wcpdf-extensions.php:63
633
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
634
+ msgstr "Získejte WooCommerce PDF Invoices & Packing Slips Professional!"
635
+
636
+ #: includes/views/wcpdf-extensions.php:71
637
+ msgid "Automatically send payment reminders to your customers"
638
+ msgstr ""
639
+
640
+ #: includes/views/wcpdf-extensions.php:73
641
+ msgid "WooCommerce Smart Reminder emails"
642
+ msgstr ""
643
+
644
+ #: includes/views/wcpdf-extensions.php:75
645
+ msgid "<b>Completely automatic</b> scheduled emails"
646
+ msgstr ""
647
+
648
+ #: includes/views/wcpdf-extensions.php:76
649
+ msgid ""
650
+ "<b>Rich text editor</b> for the email text, including placeholders for data "
651
+ "from the order (name, order total, etc)"
652
+ msgstr ""
653
+
654
+ #: includes/views/wcpdf-extensions.php:77
655
+ msgid ""
656
+ "Configure the exact requirements for sending an email (time after order, "
657
+ "order status, payment method)"
658
+ msgstr ""
659
+
660
+ #: includes/views/wcpdf-extensions.php:78
661
+ msgid ""
662
+ "Fully <b>WPML Compatible</b> – emails will be automatically sent in the "
663
+ "order language."
664
+ msgstr ""
665
+
666
+ #: includes/views/wcpdf-extensions.php:79
667
+ msgid ""
668
+ "<b>Super versatile!</b> Can be used for any kind of reminder email (review "
669
+ "reminders, repeat purchases)"
670
+ msgstr ""
671
+
672
+ #: includes/views/wcpdf-extensions.php:80
673
+ msgid "Integrates seamlessly with the PDF Invoices & Packing Slips plugin"
674
+ msgstr ""
675
+
676
+ #: includes/views/wcpdf-extensions.php:82
677
+ msgid "Get WooCommerce Smart Reminder Emails"
678
+ msgstr ""
679
+
680
+ #: includes/views/wcpdf-extensions.php:91
681
+ msgid "Upload all invoices automatically to your dropbox"
682
+ msgstr "Nahrávejte všechny faktury automaticky do svého Dropboxu"
683
+
684
+ #: includes/views/wcpdf-extensions.php:98
685
+ msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
686
+ msgstr "Získejte WooCommerce PDF Invoices & Packing Slips to dropbox!"
687
+
688
+ #: includes/views/wcpdf-extensions.php:110
689
+ msgid ""
690
+ "Automatically send new orders or packing slips to your printer, as soon as "
691
+ "the customer orders!"
692
+ msgstr ""
693
+ "Posílejte automaticky nové objednávky nebo dodací listy na svou tiskárnu, "
694
+ "jakmile si zákazník objedná!"
695
+
696
+ #: includes/views/wcpdf-extensions.php:116
697
+ msgid ""
698
+ "Check out the WooCommerce Automatic Order Printing extension from our "
699
+ "partners at Simba Hosting"
700
+ msgstr ""
701
+ "Vyzkoušejte rozšíření WooCommerce Automatic Order Printing od našich "
702
+ "partnerů ze Simba Hosting"
703
+
704
+ #: includes/views/wcpdf-extensions.php:117
705
+ msgid "WooCommerce Automatic Order Printing"
706
+ msgstr "WooCommerce Automatic Order Printing"
707
+
708
+ #: includes/views/wcpdf-extensions.php:136
709
+ #, php-format
710
+ msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
711
+ msgstr "Vyzkoušejte Premium PDF Invoice & Packing Slips šablony na %s."
712
+
713
+ #: includes/views/wcpdf-extensions.php:137
714
+ #, php-format
715
+ msgid "For custom templates, contact us at %s."
716
+ msgstr "Ohledně vlastních šablon nás kontaktujte na %s."
717
+
718
+ #: includes/views/wcpdf-extensions.php:146
719
+ msgid "Hide this message"
720
+ msgstr ""
721
+
722
+ #: includes/views/wcpdf-settings-page.php:8
723
+ msgid "WooCommerce PDF Invoices"
724
+ msgstr "WooCommerce PDF faktury"
725
+
726
+ #: templates/Simple/invoice.php:30 templates/Simple/packing-slip.php:41
727
+ msgid "Billing Address:"
728
+ msgstr "Fakturační adresa:"
729
+
730
+ #: templates/Simple/invoice.php:41
731
+ msgid "Ship To:"
732
+ msgstr "Odeslat na:"
733
+
734
+ #: templates/Simple/invoice.php:50
735
+ msgid "Invoice Number:"
736
+ msgstr "Číslo faktury:"
737
+
738
+ #: templates/Simple/invoice.php:61 templates/Simple/packing-slip.php:49
739
+ msgid "Order Number:"
740
+ msgstr "Číslo objednávky:"
741
+
742
+ #: templates/Simple/invoice.php:65 templates/Simple/packing-slip.php:53
743
+ msgid "Order Date:"
744
+ msgstr "Datum objednávky:"
745
+
746
+ #: templates/Simple/invoice.php:69
747
+ msgid "Payment Method:"
748
+ msgstr "Způsob platby:"
749
+
750
+ #: templates/Simple/invoice.php:83 templates/Simple/packing-slip.php:71
751
+ msgid "Product"
752
+ msgstr "Zboží"
753
+
754
+ #: templates/Simple/invoice.php:84 templates/Simple/packing-slip.php:72
755
+ msgid "Quantity"
756
+ msgstr "Množství"
757
+
758
+ #: templates/Simple/invoice.php:85
759
+ msgid "Price"
760
+ msgstr "Cena"
761
+
762
+ #: templates/Simple/invoice.php:92 templates/Simple/packing-slip.php:79
763
+ msgid "Description"
764
+ msgstr "Popis"
765
+
766
+ #: templates/Simple/invoice.php:97 templates/Simple/packing-slip.php:84
767
+ msgid "SKU"
768
+ msgstr "SKU"
769
+
770
+ #: templates/Simple/invoice.php:98 templates/Simple/packing-slip.php:85
771
+ msgid "SKU:"
772
+ msgstr "SKU:"
773
+
774
+ #: templates/Simple/invoice.php:99 templates/Simple/packing-slip.php:86
775
+ msgid "Weight:"
776
+ msgstr "Hmotnost:"
777
+
778
+ #: templates/Simple/invoice.php:114 templates/Simple/packing-slip.php:101
779
+ msgid "Customer Notes"
780
+ msgstr "Poznámka zákazníka"
781
+
782
+ #: templates/Simple/packing-slip.php:30
783
+ msgid "Shipping Address:"
784
+ msgstr "Doručovací adresa:"
785
+
786
+ #: templates/Simple/packing-slip.php:57
787
+ msgid "Shipping Method:"
788
+ msgstr "Doručovací metoda:"
789
+
790
+ #: woocommerce-pdf-invoices-packingslips.php:231
791
+ #, php-format
792
+ msgid ""
793
+ "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
794
+ "installed & activated!"
795
+ msgstr ""
796
+ "WooCommerce PDF Invoices & Packing Slips vyžaduje nainstalovaný a aktivovaný "
797
+ "%sWooCommerce%s!"
798
+
799
+ #: woocommerce-pdf-invoices-packingslips.php:243
800
+ msgid ""
801
+ "WooCommerce PDF Invoices & Packing Slips requires PHP 5.3 or higher (5.6 or "
802
+ "higher recommended)."
803
+ msgstr ""
804
+
805
+ #: woocommerce-pdf-invoices-packingslips.php:244
806
+ msgid "How to update your PHP version"
807
+ msgstr ""
808
+
809
+ #~ msgid "Attach invoice to:"
810
+ #~ msgstr "Přiložit fakturu k:"
811
+
812
+ #~ msgid ""
813
+ #~ "Display shipping address on invoice (in addition to the default billing "
814
+ #~ "address) if different from billing address"
815
+ #~ msgstr ""
816
+ #~ "Zobrazit doručovací adresu na faktuře (společně s fakturační adresou), "
817
+ #~ "pokud se liší"
818
+
819
+ #~ msgid ""
820
+ #~ "This is the number that will be used on the next invoice that is created. "
821
+ #~ "By default, numbering starts from the WooCommerce Order Number of the "
822
+ #~ "first invoice that is created and increases for every new invoice. Note "
823
+ #~ "that if you override this and set it lower than the highest (PDF) invoice "
824
+ #~ "number, this could create double invoice numbers!"
825
+ #~ msgstr ""
826
+ #~ "Toto číslo bude použito v další vytvořené faktuře. Přednastavené "
827
+ #~ "číslování začíná od čísla WooCommerce objednávky první vytvořené faktury "
828
+ #~ "a zvyšuje se s každou další vytvořenou fakturou. POZOR: Když toto číslo "
829
+ #~ "přepíšete a nastavíte hodnotu na menší než má poslední vytvořená PDF "
830
+ #~ "faktura, může dojít k duplikaci číslování!"
831
+
832
+ #~ msgid "Invoice number format"
833
+ #~ msgstr "Formát čísla faktury"
834
+
835
+ #~ msgid ""
836
+ #~ "Disable automatic creation/attachment of invoices when only free products "
837
+ #~ "are ordered"
838
+ #~ msgstr ""
839
+ #~ "Vypnout automatické vytváření/přikládání faktur pokud byly objednány "
840
+ #~ "pouze produkty zdarma"
841
+
842
+ #~ msgid ""
843
+ #~ "Display billing address on packing slip (in addition to the default "
844
+ #~ "shipping address) if different from shipping address"
845
+ #~ msgstr ""
846
+ #~ "Zobrazit fakturační adresu na dodacím listu (společně s doručovací "
847
+ #~ "adresou), pokud se liší"
848
+
849
+ #~ msgid "Template"
850
+ #~ msgstr "Šablona"
851
+
852
+ #~ msgid "Admin New Order email"
853
+ #~ msgstr "Administrátor - email s novou objednávkou"
854
+
855
+ #~ msgid "Customer Processing Order email"
856
+ #~ msgstr "Zákazník - email s přijatou objednávkou"
857
+
858
+ #~ msgid "Customer Completed Order email"
859
+ #~ msgstr "Zákazník - email s dokončenou objednávkou"
860
+
861
+ #~ msgid "Customer Invoice email"
862
+ #~ msgstr "Zákazník - email s fakturou"
863
+
864
+ #~ msgid "Interface"
865
+ #~ msgstr "Uživatelské rozhraní"
866
+
867
+ #~ msgid "PDF Template settings"
868
+ #~ msgstr "Nastavení PDF šablony"
869
+
870
+ #~ msgid "Display built-in sequential invoice number"
871
+ #~ msgstr "Zobrazit základní sekvenční číslování faktur"
872
+
873
+ #~ msgid ""
874
+ #~ "to use the order year and/or month, use [order_year] or [order_month] "
875
+ #~ "respectively"
876
+ #~ msgstr "použijte [order_year] pro rok a [order_month] pro měsíc objednání"
877
+
878
+ #~ msgid "Use old tmp folder"
879
+ #~ msgstr "Používat starou složku tmp"
880
+
881
+ #~ msgid ""
882
+ #~ "Before version 1.5 of PDF Invoices, temporary files were stored in the "
883
+ #~ "plugin folder. This setting is only intended for backwards compatibility, "
884
+ #~ "not recommended on new installs!"
885
+ #~ msgstr ""
886
+ #~ "Před verzí pluginu 1.5 byly dočasné soubory ukládány do složky pluginu. "
887
+ #~ "Toto nastavení slouží pouze pro zpětnou kompatibilitu a nedoporučuje se "
888
+ #~ "na nových instalacích!"
889
+
890
+ #~ msgid "PDF Packing Slips"
891
+ #~ msgstr "PDF dodací listy"
892
+
893
+ #~ msgid "PDF Invoice"
894
+ #~ msgstr "PDF faktura"
895
+
896
+ #~ msgid "PDF Packing Slip"
897
+ #~ msgstr "PDF dodací list"
898
+
899
+ #~ msgid "PDF Invoice Number (unformatted!)"
900
+ #~ msgstr "PDF číslo faktury (neformátované!)"
901
+
902
+ #~ msgid "More advanced templates"
903
+ #~ msgstr "Pokročilé šablony"
904
+
905
+ #~ msgid "Stylish modern invoices & packing slips with product thumbnails!"
906
+ #~ msgstr "Stylové moderní faktury a dodací listy s náhledy produktů!"
907
+
908
+ #~ msgid "More tax details on the invoices!"
909
+ #~ msgstr "Více daňových údajů na fakturách!"
910
+
911
+ #~ msgid "Due Date:"
912
+ #~ msgstr "Datum splatnosti:"
913
+
914
+ #~ msgid "Invoice Code:"
915
+ #~ msgstr "Variabilní symbol:"
916
+
917
+ #~ msgid "Number to display on invoice"
918
+ #~ msgstr "Číslo ukázané ve faktuře"
919
+
920
+ #~ msgid ""
921
+ #~ "If you are using the WooCommerce Sequential Order Numbers plugin, select "
922
+ #~ "the WooCommerce order number"
923
+ #~ msgstr ""
924
+ #~ "Pokud používáte plugin <i>WooCommerce Sequential Order Numbers</i>, tak "
925
+ #~ "zvolte WooCommerce číslo objednávky"
926
+
927
+ #~ msgid "Order date"
928
+ #~ msgstr "Datum objednávky"
929
+
930
+ #~ msgid "PDF invoice"
931
+ #~ msgstr "PDF faktura"
932
+
933
+ #~ msgid "..."
934
+ #~ msgstr "..."
935
+
936
+ #~ msgid "Email invoice (attach to order confirmation or invoice email)"
937
+ #~ msgstr ""
938
+ #~ "Отослать накладную по Email (прикрепить к заказу или к Email-у накладной)"
languages/woocommerce-pdf-invoices-packing-slips-da_DK.mo ADDED
Binary file
languages/woocommerce-pdf-invoices-packing-slips-da_DK.po ADDED
@@ -0,0 +1,961 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
+ "POT-Creation-Date: 2017-06-09 16:37+0200\n"
5
+ "PO-Revision-Date: 2017-06-09 16:37+0200\n"
6
+ "Last-Translator: Daniel Hedegaard Arp <daniel@eurosite.dk>\n"
7
+ "Language-Team: WP Overnight <support@wpovernight.com>\n"
8
+ "Language: da_DK\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.12\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: includes/class-wcpdf-admin.php:72 includes/class-wcpdf-admin.php:174
20
+ msgid "Invoice Number"
21
+ msgstr "Fakturanummer "
22
+
23
+ #: includes/class-wcpdf-admin.php:105
24
+ msgid "Create PDF"
25
+ msgstr "Opret PDF"
26
+
27
+ #: includes/class-wcpdf-admin.php:115
28
+ msgid "PDF Invoice data"
29
+ msgstr ""
30
+
31
+ #: includes/class-wcpdf-admin.php:166
32
+ #: includes/documents/class-wcpdf-invoice.php:32
33
+ #: includes/documents/class-wcpdf-invoice.php:41
34
+ #: includes/legacy/class-wcpdf-legacy-functions.php:22
35
+ #: templates/Simple/invoice.php:10 templates/Simple/invoice.php:22
36
+ msgid "Invoice"
37
+ msgstr "Faktura "
38
+
39
+ #: includes/class-wcpdf-admin.php:183 includes/class-wcpdf-admin.php:204
40
+ #: templates/Simple/invoice.php:56
41
+ msgid "Invoice Date:"
42
+ msgstr "Fakturadato: "
43
+
44
+ #: includes/class-wcpdf-admin.php:189
45
+ msgid "Set invoice number & date"
46
+ msgstr ""
47
+
48
+ #: includes/class-wcpdf-admin.php:196
49
+ msgid "Invoice Number (unformatted!)"
50
+ msgstr ""
51
+
52
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
53
+ msgid "h"
54
+ msgstr "t"
55
+
56
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
57
+ msgid "m"
58
+ msgstr "m"
59
+
60
+ #: includes/class-wcpdf-frontend.php:55
61
+ msgid "Download invoice (PDF)"
62
+ msgstr "Hent faktura (PDF) "
63
+
64
+ #: includes/class-wcpdf-main.php:132 includes/class-wcpdf-main.php:153
65
+ #: includes/class-wcpdf-main.php:160 includes/class-wcpdf-main.php:166
66
+ msgid "You do not have sufficient permissions to access this page."
67
+ msgstr "Du har ikke tilstrækkelig tilladelse til at tilgå denne side. "
68
+
69
+ #: includes/class-wcpdf-main.php:141
70
+ msgid "Some of the export parameters are missing."
71
+ msgstr "Nogle af parametrene for eksport mangler."
72
+
73
+ #: includes/class-wcpdf-settings-callbacks.php:27
74
+ msgid ""
75
+ "<b>Warning!</b> The settings below are meant for debugging/development only. "
76
+ "Do not use them on a live website!"
77
+ msgstr ""
78
+ "<b>Advarsel!</b> Indstillingerne nedenfor er kun beregnet for fejlfinding/"
79
+ "udvikling. Brug dem ikke på et live websted!"
80
+
81
+ #: includes/class-wcpdf-settings-callbacks.php:36
82
+ msgid ""
83
+ "These are used for the (optional) footer columns in the <em>Modern "
84
+ "(Premium)</em> template, but can also be used for other elements in your "
85
+ "custom template"
86
+ msgstr "Disse bruges (valgfrit)"
87
+
88
+ #: includes/class-wcpdf-settings-callbacks.php:301
89
+ msgid "Image resolution"
90
+ msgstr "Billede opløsning"
91
+
92
+ #: includes/class-wcpdf-settings-callbacks.php:325
93
+ msgid "Save"
94
+ msgstr ""
95
+
96
+ #: includes/class-wcpdf-settings-debug.php:34
97
+ msgid "Debug settings"
98
+ msgstr "debug indstillinger"
99
+
100
+ #: includes/class-wcpdf-settings-debug.php:40
101
+ msgid "Legacy mode"
102
+ msgstr ""
103
+
104
+ #: includes/class-wcpdf-settings-debug.php:46
105
+ msgid ""
106
+ "Legacy mode ensures compatibility with templates and filters from previous "
107
+ "versions."
108
+ msgstr ""
109
+
110
+ #: includes/class-wcpdf-settings-debug.php:52
111
+ msgid "Enable debug output"
112
+ msgstr "Aktiver debug output"
113
+
114
+ #: includes/class-wcpdf-settings-debug.php:58
115
+ msgid ""
116
+ "Enable this option to output plugin errors if you're getting a blank page or "
117
+ "other PDF generation issues"
118
+ msgstr ""
119
+ "Aktivér denne indstilling for output plugin fejl, hvis du får en blank side "
120
+ "eller andre PDF generations problemstillinger"
121
+
122
+ #: includes/class-wcpdf-settings-debug.php:64
123
+ msgid "Output to HTML"
124
+ msgstr "Output til HTML"
125
+
126
+ #: includes/class-wcpdf-settings-debug.php:70
127
+ msgid ""
128
+ "Send the template output as HTML to the browser instead of creating a PDF."
129
+ msgstr ""
130
+ "Send skabelonen outputtet som HTML til browseren i stedet for at lave en PDF."
131
+
132
+ #: includes/class-wcpdf-settings-documents.php:29
133
+ #: includes/class-wcpdf-settings.php:84
134
+ msgid "Documents"
135
+ msgstr ""
136
+
137
+ #: includes/class-wcpdf-settings-documents.php:45
138
+ msgid ""
139
+ "All available documents are listed below. Click on a document to configure "
140
+ "it."
141
+ msgstr ""
142
+
143
+ #: includes/class-wcpdf-settings-general.php:37
144
+ msgid "General settings"
145
+ msgstr "Generelle indstillinger "
146
+
147
+ #: includes/class-wcpdf-settings-general.php:43
148
+ msgid "How do you want to view the PDF?"
149
+ msgstr "Hvordan ønsker du at vise PDF'en?"
150
+
151
+ #: includes/class-wcpdf-settings-general.php:50
152
+ msgid "Download the PDF"
153
+ msgstr "Hent PDF'en"
154
+
155
+ #: includes/class-wcpdf-settings-general.php:51
156
+ msgid "Open the PDF in a new browser tab/window"
157
+ msgstr "Åben PDF'en i en ny browser fane/vindue "
158
+
159
+ #: includes/class-wcpdf-settings-general.php:58
160
+ msgid "Choose a template"
161
+ msgstr "Vælg en skabelon"
162
+
163
+ #: includes/class-wcpdf-settings-general.php:65
164
+ #, php-format
165
+ msgid ""
166
+ "Want to use your own template? Copy all the files from <code>%s</code> to "
167
+ "your (child) theme in <code>%s</code> to customize them"
168
+ msgstr ""
169
+ "Vil du bruge din egen skabelon? Kopier alle filer fra <code>%s</code> til "
170
+ "din (barn) tema i <code>%s</code> at tilpasse dem."
171
+
172
+ #: includes/class-wcpdf-settings-general.php:71
173
+ msgid "Paper size"
174
+ msgstr "Papir størrelse "
175
+
176
+ #: includes/class-wcpdf-settings-general.php:78
177
+ msgid "A4"
178
+ msgstr "A4"
179
+
180
+ #: includes/class-wcpdf-settings-general.php:79
181
+ msgid "Letter"
182
+ msgstr "Brev"
183
+
184
+ #: includes/class-wcpdf-settings-general.php:86
185
+ msgid "Extended currency symbol support"
186
+ msgstr ""
187
+
188
+ #: includes/class-wcpdf-settings-general.php:92
189
+ msgid "Enable this if your currency symbol is not displaying properly"
190
+ msgstr ""
191
+
192
+ #: includes/class-wcpdf-settings-general.php:98
193
+ msgid "Shop header/logo"
194
+ msgstr "Butik header/logo "
195
+
196
+ #: includes/class-wcpdf-settings-general.php:104
197
+ msgid "Select or upload your invoice header/logo"
198
+ msgstr "Vælg eller upload dit faktura header/logo"
199
+
200
+ #: includes/class-wcpdf-settings-general.php:105
201
+ msgid "Set image"
202
+ msgstr "Indstil billedet "
203
+
204
+ #: includes/class-wcpdf-settings-general.php:106
205
+ msgid "Remove image"
206
+ msgstr "Fjern billede"
207
+
208
+ #: includes/class-wcpdf-settings-general.php:113
209
+ msgid "Shop Name"
210
+ msgstr "Butik navn"
211
+
212
+ #: includes/class-wcpdf-settings-general.php:126
213
+ msgid "Shop Address"
214
+ msgstr "Butik adresse "
215
+
216
+ #: includes/class-wcpdf-settings-general.php:141
217
+ msgid "Footer: terms & conditions, policies, etc."
218
+ msgstr "Sidefod: Vilkår & betingelser, politikker mm. "
219
+
220
+ #: includes/class-wcpdf-settings-general.php:156
221
+ msgid "Extra template fields"
222
+ msgstr "Ekstra skabelons felter "
223
+
224
+ #: includes/class-wcpdf-settings-general.php:162
225
+ msgid "Extra field 1"
226
+ msgstr "Ekstra felt 1"
227
+
228
+ #: includes/class-wcpdf-settings-general.php:170
229
+ msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
230
+ msgstr "Dette er sidefon kolonne 1 i <i>Modern (Premium)</i> skabelonen "
231
+
232
+ #: includes/class-wcpdf-settings-general.php:177
233
+ msgid "Extra field 2"
234
+ msgstr "Ekstra felt 2"
235
+
236
+ #: includes/class-wcpdf-settings-general.php:185
237
+ msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
238
+ msgstr "Dette er sidefod kolonne 2 i <i>Modern (Premium)</i> skabelonen "
239
+
240
+ #: includes/class-wcpdf-settings-general.php:192
241
+ msgid "Extra field 3"
242
+ msgstr "Ekstra felt 3"
243
+
244
+ #: includes/class-wcpdf-settings-general.php:200
245
+ msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
246
+ msgstr "Dette er sidefod kolonne 3 i <i>Modern (Premium)</i> skabelonen "
247
+
248
+ #: includes/class-wcpdf-settings.php:45 includes/class-wcpdf-settings.php:46
249
+ msgid "PDF Invoices"
250
+ msgstr "PDF fakturaer "
251
+
252
+ #: includes/class-wcpdf-settings.php:58
253
+ msgid "Settings"
254
+ msgstr "Indstillinger "
255
+
256
+ #: includes/class-wcpdf-settings.php:71
257
+ msgid "Documentation"
258
+ msgstr ""
259
+
260
+ #: includes/class-wcpdf-settings.php:72
261
+ msgid "Support Forum"
262
+ msgstr ""
263
+
264
+ #: includes/class-wcpdf-settings.php:83
265
+ msgid "General"
266
+ msgstr "Generelt "
267
+
268
+ #: includes/class-wcpdf-settings.php:89
269
+ msgid "Status"
270
+ msgstr "Status"
271
+
272
+ #: includes/compatibility/class-wc-core-compatibility.php:222
273
+ msgid "WooCommerce"
274
+ msgstr ""
275
+
276
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:113
277
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:176
278
+ msgid "N/A"
279
+ msgstr "N/A"
280
+
281
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:305
282
+ msgid "Payment method"
283
+ msgstr "Betaling"
284
+
285
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:326
286
+ msgid "Shipping method"
287
+ msgstr "Fragt"
288
+
289
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:669
290
+ #, php-format
291
+ msgid "(includes %s)"
292
+ msgstr ""
293
+
294
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:672
295
+ #, php-format
296
+ msgid "(Includes %s)"
297
+ msgstr ""
298
+
299
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:702
300
+ msgid "Subtotal"
301
+ msgstr "Subtotal"
302
+
303
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:727
304
+ msgid "Shipping"
305
+ msgstr "Fragt"
306
+
307
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:790
308
+ msgid "Discount"
309
+ msgstr "Rabat"
310
+
311
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:831
312
+ msgid "VAT"
313
+ msgstr "Moms"
314
+
315
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:832
316
+ msgid "Tax rate"
317
+ msgstr "Moms"
318
+
319
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:876
320
+ msgid "Total ex. VAT"
321
+ msgstr "Total ex. moms"
322
+
323
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:879
324
+ msgid "Total"
325
+ msgstr "Total"
326
+
327
+ #: includes/documents/abstract-wcpdf-order-document.php:674
328
+ msgid "Admin email"
329
+ msgstr ""
330
+
331
+ #: includes/documents/abstract-wcpdf-order-document.php:677
332
+ msgid "Manual email"
333
+ msgstr ""
334
+
335
+ # This is a filename (prefix). do not use spaces or special characters!
336
+ #: includes/documents/class-wcpdf-invoice.php:85
337
+ msgid "invoice"
338
+ msgid_plural "invoices"
339
+ msgstr[0] "Faktura"
340
+ msgstr[1] "Fakturaen "
341
+
342
+ #: includes/documents/class-wcpdf-invoice.php:130
343
+ #: includes/documents/class-wcpdf-packing-slip.php:94
344
+ msgid "Enable"
345
+ msgstr ""
346
+
347
+ #: includes/documents/class-wcpdf-invoice.php:141
348
+ msgid "Attach to:"
349
+ msgstr ""
350
+
351
+ #: includes/documents/class-wcpdf-invoice.php:148
352
+ #, php-format
353
+ msgid ""
354
+ "It looks like the temp folder (<code>%s</code>) is not writable, check the "
355
+ "permissions for this folder! Without having write access to this folder, the "
356
+ "plugin will not be able to email invoices."
357
+ msgstr ""
358
+ "Det ser ud som om at skabelon mappen (<code>%s</code>) ikke er skrivebar, "
359
+ "kontrollere adgangskravene for denne mappe. Uden at have adgang til at "
360
+ "redigere i mappen, vil dette plugin ikke være i stand til at sende e-mails "
361
+ "med fakturaer. "
362
+
363
+ #: includes/documents/class-wcpdf-invoice.php:154
364
+ msgid "Display shipping address"
365
+ msgstr "Vis leveringsadresse"
366
+
367
+ #: includes/documents/class-wcpdf-invoice.php:160
368
+ msgid ""
369
+ "Display shipping address (in addition to the default billing address) if "
370
+ "different from billing address"
371
+ msgstr ""
372
+
373
+ #: includes/documents/class-wcpdf-invoice.php:166
374
+ #: includes/documents/class-wcpdf-packing-slip.php:117
375
+ msgid "Display email address"
376
+ msgstr "Vis email adresse"
377
+
378
+ #: includes/documents/class-wcpdf-invoice.php:177
379
+ #: includes/documents/class-wcpdf-packing-slip.php:128
380
+ msgid "Display phone number"
381
+ msgstr "Vis telefon nummer"
382
+
383
+ #: includes/documents/class-wcpdf-invoice.php:188
384
+ msgid "Display invoice date"
385
+ msgstr "Vis faktura dato"
386
+
387
+ #: includes/documents/class-wcpdf-invoice.php:200
388
+ msgid "Display invoice number"
389
+ msgstr ""
390
+
391
+ #: includes/documents/class-wcpdf-invoice.php:212
392
+ msgid "Next invoice number (without prefix/suffix etc.)"
393
+ msgstr "Næste faktura nummer (uden prefix/suffix mm.) "
394
+
395
+ #: includes/documents/class-wcpdf-invoice.php:218
396
+ msgid ""
397
+ "This is the number that will be used for the next document. By default, "
398
+ "numbering starts from 1 and increases for every new document. Note that if "
399
+ "you override this and set it lower than the current/highest number, this "
400
+ "could create duplicate numbers!"
401
+ msgstr ""
402
+
403
+ #: includes/documents/class-wcpdf-invoice.php:224
404
+ msgid "Number format"
405
+ msgstr ""
406
+
407
+ #: includes/documents/class-wcpdf-invoice.php:232
408
+ msgid "Prefix"
409
+ msgstr "Prefix"
410
+
411
+ #: includes/documents/class-wcpdf-invoice.php:234
412
+ msgid ""
413
+ "to use the invoice year and/or month, use [invoice_year] or [invoice_month] "
414
+ "respectively"
415
+ msgstr ""
416
+
417
+ #: includes/documents/class-wcpdf-invoice.php:237
418
+ msgid "Suffix"
419
+ msgstr "Suffix "
420
+
421
+ #: includes/documents/class-wcpdf-invoice.php:242
422
+ msgid "Padding"
423
+ msgstr "Padding "
424
+
425
+ #: includes/documents/class-wcpdf-invoice.php:245
426
+ msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
427
+ msgstr ""
428
+ "Indtast nummeret af cifre her - indtast \"6\" for at vise 42 som 000042"
429
+
430
+ #: includes/documents/class-wcpdf-invoice.php:248
431
+ msgid ""
432
+ "note: if you have already created a custom invoice number format with a "
433
+ "filter, the above settings will be ignored"
434
+ msgstr ""
435
+ "Bemærk: Hvis du allerede har oprettet et brugerdefinerede fakturanummer "
436
+ "format med et filter, så vil denne indstillingen ovenover blive ignoreret. "
437
+
438
+ #: includes/documents/class-wcpdf-invoice.php:254
439
+ msgid "Reset invoice number yearly"
440
+ msgstr ""
441
+
442
+ #: includes/documents/class-wcpdf-invoice.php:265
443
+ msgid "Allow My Account invoice download"
444
+ msgstr "Tillad at downloade faktura via min konto"
445
+
446
+ #: includes/documents/class-wcpdf-invoice.php:272
447
+ msgid "Only when an invoice is already created/emailed"
448
+ msgstr "Kun når en faktura allerede er oprettet/sendt på mail"
449
+
450
+ #: includes/documents/class-wcpdf-invoice.php:273
451
+ msgid "Only for specific order statuses (define below)"
452
+ msgstr "Kun for specifikke ordre statusser (Definer nedenfor)"
453
+
454
+ #: includes/documents/class-wcpdf-invoice.php:274
455
+ msgid "Always"
456
+ msgstr "Altid"
457
+
458
+ #: includes/documents/class-wcpdf-invoice.php:275
459
+ msgid "Never"
460
+ msgstr ""
461
+
462
+ #: includes/documents/class-wcpdf-invoice.php:290
463
+ msgid "Enable invoice number column in the orders list"
464
+ msgstr "Aktiver faktura nummer kolonne i ordre listen "
465
+
466
+ #: includes/documents/class-wcpdf-invoice.php:301
467
+ msgid "Disable for free products"
468
+ msgstr "Deaktiver for gratis produkter"
469
+
470
+ #: includes/documents/class-wcpdf-invoice.php:307
471
+ msgid ""
472
+ "Disable automatic creation/attachment when only free products are ordered"
473
+ msgstr ""
474
+
475
+ #: includes/documents/class-wcpdf-invoice.php:321
476
+ msgid "Invoice numbers are created by a third-party extension."
477
+ msgstr ""
478
+
479
+ #: includes/documents/class-wcpdf-invoice.php:323
480
+ #, php-format
481
+ msgid "Configure it <a href=\"%s\">here</a>."
482
+ msgstr ""
483
+
484
+ #: includes/documents/class-wcpdf-packing-slip.php:32
485
+ #: includes/documents/class-wcpdf-packing-slip.php:41
486
+ #: includes/legacy/class-wcpdf-legacy-functions.php:25
487
+ #: templates/Simple/packing-slip.php:10 templates/Simple/packing-slip.php:22
488
+ msgid "Packing Slip"
489
+ msgstr "Følgeseddel "
490
+
491
+ # This is a filename (prefix). do not use spaces or special characters!
492
+ #: includes/documents/class-wcpdf-packing-slip.php:53
493
+ msgid "packing-slip"
494
+ msgid_plural "packing-slips"
495
+ msgstr[0] "Følgeseddel "
496
+ msgstr[1] "Følgesedler "
497
+
498
+ #: includes/documents/class-wcpdf-packing-slip.php:105
499
+ msgid "Display billing address"
500
+ msgstr "Vis leveringsadresse"
501
+
502
+ #: includes/documents/class-wcpdf-packing-slip.php:111
503
+ msgid ""
504
+ "Display billing address (in addition to the default shipping address) if "
505
+ "different from shipping address"
506
+ msgstr ""
507
+
508
+ #: includes/legacy/class-wcpdf-legacy-document.php:32
509
+ msgid "Legacy Document"
510
+ msgstr ""
511
+
512
+ #: includes/views/wcpdf-extensions.php:15
513
+ msgid "Check out these premium extensions!"
514
+ msgstr "Tjek disse Premium tilføjelser!"
515
+
516
+ #: includes/views/wcpdf-extensions.php:16
517
+ msgid "click items to read more"
518
+ msgstr "klik på elementer for at læse mere"
519
+
520
+ #: includes/views/wcpdf-extensions.php:21
521
+ msgid ""
522
+ "Premium PDF Invoice bundle: Everything you need for a perfect invoicing "
523
+ "system"
524
+ msgstr ""
525
+
526
+ #: includes/views/wcpdf-extensions.php:23
527
+ msgid ""
528
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the all our "
529
+ "premium extensions:"
530
+ msgstr ""
531
+
532
+ #: includes/views/wcpdf-extensions.php:24
533
+ msgid "Professional features:"
534
+ msgstr ""
535
+
536
+ #: includes/views/wcpdf-extensions.php:26
537
+ #: includes/views/wcpdf-extensions.php:56
538
+ msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
539
+ msgstr "E-mail/print/download <b>PDF kreditnotaer & Proforma fakturaer</b>"
540
+
541
+ #: includes/views/wcpdf-extensions.php:27
542
+ #: includes/views/wcpdf-extensions.php:57
543
+ msgid ""
544
+ "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
545
+ "packing slips, for example to a drop-shipper or a supplier."
546
+ msgstr ""
547
+ "Send en separat <b>e-mail</b> med (eller uden) PDF fakturaer/følgesedler, "
548
+ "for eksempel til en fragtmand eller en leverandør."
549
+
550
+ #: includes/views/wcpdf-extensions.php:28
551
+ #: includes/views/wcpdf-extensions.php:58
552
+ msgid ""
553
+ "Attach <b>up to 3 static files</b> (for example a terms & conditions "
554
+ "document) to the WooCommerce emails of your choice."
555
+ msgstr ""
556
+ "Vedhæft <b>op til 3 statiske filer</b> (f.eks. en vilkår & betingelser-"
557
+ "dokument) til WooCommerce e-mails efter dit valg."
558
+
559
+ #: includes/views/wcpdf-extensions.php:29
560
+ #: includes/views/wcpdf-extensions.php:59
561
+ msgid ""
562
+ "Use <b>separate numbering systems</b> and/or format for proforma invoices "
563
+ "and credit notes or utilize the main invoice numbering system"
564
+ msgstr ""
565
+ "Brug et <b>separat nummererings system</b> og/eller format for proforma "
566
+ "fakturaer og kreditnotaer eller anvend de vigtigste faktura nummerering "
567
+ "system"
568
+
569
+ #: includes/views/wcpdf-extensions.php:30
570
+ #: includes/views/wcpdf-extensions.php:60
571
+ msgid ""
572
+ "<b>Customize</b> the <b>shipping & billing address</b> format to include "
573
+ "additional custom fields, font sizes etc. without the need to create a "
574
+ "custom template."
575
+ msgstr ""
576
+ "<b>Tilpas</b> <b>levering & fakturerings adresse</b> format til at medtage "
577
+ "brugerdefinerede felter, skriftstørrelser osv uden at skulle oprette en "
578
+ "brugerdefineret skabelon."
579
+
580
+ #: includes/views/wcpdf-extensions.php:31
581
+ #: includes/views/wcpdf-extensions.php:61
582
+ msgid "Use the plugin in multilingual <b>WPML</b> setups"
583
+ msgstr "Brug dette plugin i flersprogede <b>WPML</b> opsætninger"
584
+
585
+ #: includes/views/wcpdf-extensions.php:33
586
+ #: includes/views/wcpdf-extensions.php:131
587
+ msgid "Advanced, customizable templates"
588
+ msgstr ""
589
+
590
+ #: includes/views/wcpdf-extensions.php:35
591
+ #: includes/views/wcpdf-extensions.php:134
592
+ msgid ""
593
+ "Completely customize the invoice contents (prices, taxes, thumbnails) to "
594
+ "your needs with a drag & drop customizer"
595
+ msgstr ""
596
+
597
+ #: includes/views/wcpdf-extensions.php:36
598
+ #: includes/views/wcpdf-extensions.php:135
599
+ msgid "Two extra stylish premade templates (Modern & Business)"
600
+ msgstr ""
601
+
602
+ #: includes/views/wcpdf-extensions.php:38
603
+ msgid "Upload automatically to dropbox"
604
+ msgstr ""
605
+
606
+ #: includes/views/wcpdf-extensions.php:40
607
+ #: includes/views/wcpdf-extensions.php:97
608
+ msgid ""
609
+ "This extension conveniently uploads all the invoices (and other pdf "
610
+ "documents from the professional extension) that are emailed to your "
611
+ "customers to Dropbox. The best way to keep your invoice administration up to "
612
+ "date!"
613
+ msgstr ""
614
+ "Denne udvidelse uploader alle fakturaer (og andre PDF-dokumenter fra den "
615
+ "professionelle udvidelse), der er sendt til din kunder til Dropbox. Den "
616
+ "bedste måde at holde din faktura administration opdateret!"
617
+
618
+ #: includes/views/wcpdf-extensions.php:43
619
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Bundle"
620
+ msgstr ""
621
+
622
+ #: includes/views/wcpdf-extensions.php:52
623
+ msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
624
+ msgstr "Go Pro: Proforma fakturaer, kreditnotaer (=tilbagebetaling) og mere!"
625
+
626
+ #: includes/views/wcpdf-extensions.php:54
627
+ msgid ""
628
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the following "
629
+ "features:"
630
+ msgstr ""
631
+ "Opgrader WooCommerce PDF-fakturaer & følgesedler med følgende funktioner:"
632
+
633
+ #: includes/views/wcpdf-extensions.php:63
634
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
635
+ msgstr "Få WooCommerce PDF-fakturaer & følgesedler Professional!"
636
+
637
+ #: includes/views/wcpdf-extensions.php:71
638
+ msgid "Automatically send payment reminders to your customers"
639
+ msgstr ""
640
+
641
+ #: includes/views/wcpdf-extensions.php:73
642
+ msgid "WooCommerce Smart Reminder emails"
643
+ msgstr ""
644
+
645
+ #: includes/views/wcpdf-extensions.php:75
646
+ msgid "<b>Completely automatic</b> scheduled emails"
647
+ msgstr ""
648
+
649
+ #: includes/views/wcpdf-extensions.php:76
650
+ msgid ""
651
+ "<b>Rich text editor</b> for the email text, including placeholders for data "
652
+ "from the order (name, order total, etc)"
653
+ msgstr ""
654
+
655
+ #: includes/views/wcpdf-extensions.php:77
656
+ msgid ""
657
+ "Configure the exact requirements for sending an email (time after order, "
658
+ "order status, payment method)"
659
+ msgstr ""
660
+
661
+ #: includes/views/wcpdf-extensions.php:78
662
+ msgid ""
663
+ "Fully <b>WPML Compatible</b> – emails will be automatically sent in the "
664
+ "order language."
665
+ msgstr ""
666
+
667
+ #: includes/views/wcpdf-extensions.php:79
668
+ msgid ""
669
+ "<b>Super versatile!</b> Can be used for any kind of reminder email (review "
670
+ "reminders, repeat purchases)"
671
+ msgstr ""
672
+
673
+ #: includes/views/wcpdf-extensions.php:80
674
+ msgid "Integrates seamlessly with the PDF Invoices & Packing Slips plugin"
675
+ msgstr ""
676
+
677
+ #: includes/views/wcpdf-extensions.php:82
678
+ msgid "Get WooCommerce Smart Reminder Emails"
679
+ msgstr ""
680
+
681
+ #: includes/views/wcpdf-extensions.php:91
682
+ msgid "Upload all invoices automatically to your dropbox"
683
+ msgstr "Upload alle fakturaer automatisk til din Dropbox!"
684
+
685
+ #: includes/views/wcpdf-extensions.php:98
686
+ msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
687
+ msgstr "Få WooCommerce PDF Fakturaer & pakkesedler til dropbox!"
688
+
689
+ #: includes/views/wcpdf-extensions.php:110
690
+ msgid ""
691
+ "Automatically send new orders or packing slips to your printer, as soon as "
692
+ "the customer orders!"
693
+ msgstr ""
694
+ "Send automatisk nye ordrer eller pakkesedler til din printer, så snart "
695
+ "kunden bestiller!"
696
+
697
+ #: includes/views/wcpdf-extensions.php:116
698
+ msgid ""
699
+ "Check out the WooCommerce Automatic Order Printing extension from our "
700
+ "partners at Simba Hosting"
701
+ msgstr ""
702
+ "Tjek WooCommerce Automatisk ordre udskrft udvidelse ud fra vores partnere på "
703
+ "Simba Hosting"
704
+
705
+ #: includes/views/wcpdf-extensions.php:117
706
+ msgid "WooCommerce Automatic Order Printing"
707
+ msgstr "WooCommerce automatisk ordre udskrift"
708
+
709
+ #: includes/views/wcpdf-extensions.php:136
710
+ #, php-format
711
+ msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
712
+ msgstr "Se Premium PDF faktura & pakkesedler skabeloner på %s."
713
+
714
+ #: includes/views/wcpdf-extensions.php:137
715
+ #, php-format
716
+ msgid "For custom templates, contact us at %s."
717
+ msgstr "For brugerdefinerede skabeloner, kontakt os på %s."
718
+
719
+ #: includes/views/wcpdf-extensions.php:146
720
+ msgid "Hide this message"
721
+ msgstr ""
722
+
723
+ #: includes/views/wcpdf-settings-page.php:8
724
+ msgid "WooCommerce PDF Invoices"
725
+ msgstr "WooCommerce PDF faktura"
726
+
727
+ #: templates/Simple/invoice.php:30 templates/Simple/packing-slip.php:41
728
+ msgid "Billing Address:"
729
+ msgstr "Faktureringsadresse"
730
+
731
+ #: templates/Simple/invoice.php:41
732
+ msgid "Ship To:"
733
+ msgstr "Leveringsadresse:"
734
+
735
+ #: templates/Simple/invoice.php:50
736
+ msgid "Invoice Number:"
737
+ msgstr "Fakturanummer: "
738
+
739
+ #: templates/Simple/invoice.php:61 templates/Simple/packing-slip.php:49
740
+ msgid "Order Number:"
741
+ msgstr "Ordrenummer:"
742
+
743
+ #: templates/Simple/invoice.php:65 templates/Simple/packing-slip.php:53
744
+ msgid "Order Date:"
745
+ msgstr "Ordredato: "
746
+
747
+ #: templates/Simple/invoice.php:69
748
+ msgid "Payment Method:"
749
+ msgstr "Betaling: "
750
+
751
+ #: templates/Simple/invoice.php:83 templates/Simple/packing-slip.php:71
752
+ msgid "Product"
753
+ msgstr "Produkt"
754
+
755
+ #: templates/Simple/invoice.php:84 templates/Simple/packing-slip.php:72
756
+ msgid "Quantity"
757
+ msgstr "Antal "
758
+
759
+ #: templates/Simple/invoice.php:85
760
+ msgid "Price"
761
+ msgstr "Pris"
762
+
763
+ #: templates/Simple/invoice.php:92 templates/Simple/packing-slip.php:79
764
+ msgid "Description"
765
+ msgstr "Beskrivelse "
766
+
767
+ #: templates/Simple/invoice.php:97 templates/Simple/packing-slip.php:84
768
+ msgid "SKU"
769
+ msgstr "Varenummer"
770
+
771
+ #: templates/Simple/invoice.php:98 templates/Simple/packing-slip.php:85
772
+ msgid "SKU:"
773
+ msgstr "Varenummer: "
774
+
775
+ #: templates/Simple/invoice.php:99 templates/Simple/packing-slip.php:86
776
+ msgid "Weight:"
777
+ msgstr "Vægt: "
778
+
779
+ #: templates/Simple/invoice.php:114 templates/Simple/packing-slip.php:101
780
+ msgid "Customer Notes"
781
+ msgstr "Kunde bemærkning"
782
+
783
+ #: templates/Simple/packing-slip.php:30
784
+ msgid "Shipping Address:"
785
+ msgstr "Leveringsadresse"
786
+
787
+ #: templates/Simple/packing-slip.php:57
788
+ msgid "Shipping Method:"
789
+ msgstr "Leveringsmetode:"
790
+
791
+ #: woocommerce-pdf-invoices-packingslips.php:231
792
+ #, php-format
793
+ msgid ""
794
+ "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
795
+ "installed & activated!"
796
+ msgstr ""
797
+ "WooCommerce PDF faktura & følgeseddel kræver at %sWooCommerce%s er "
798
+ "installeret og aktiveret! "
799
+
800
+ #: woocommerce-pdf-invoices-packingslips.php:243
801
+ msgid ""
802
+ "WooCommerce PDF Invoices & Packing Slips requires PHP 5.3 or higher (5.6 or "
803
+ "higher recommended)."
804
+ msgstr ""
805
+
806
+ #: woocommerce-pdf-invoices-packingslips.php:244
807
+ msgid "How to update your PHP version"
808
+ msgstr ""
809
+
810
+ #~ msgid "Attach invoice to:"
811
+ #~ msgstr "Vedhæft fakturaen til: "
812
+
813
+ #~ msgid ""
814
+ #~ "Display shipping address on invoice (in addition to the default billing "
815
+ #~ "address) if different from billing address"
816
+ #~ msgstr ""
817
+ #~ "Vis leveringsadresse på faktura (ud over standard faktureringsadresse) "
818
+ #~ "hvis den er forskellig fra faktureringsadressen"
819
+
820
+ #~ msgid ""
821
+ #~ "This is the number that will be used on the next invoice that is created. "
822
+ #~ "By default, numbering starts from the WooCommerce Order Number of the "
823
+ #~ "first invoice that is created and increases for every new invoice. Note "
824
+ #~ "that if you override this and set it lower than the highest (PDF) invoice "
825
+ #~ "number, this could create double invoice numbers!"
826
+ #~ msgstr ""
827
+ #~ "Dette er nummeret som vil blive brugt på den næste faktura. Som standard "
828
+ #~ "starter numrene fra WooCommerce ordre nummer for den første faktura der "
829
+ #~ "bliver oprettet og stiger med en for hver ny faktura. Bemærk: Hvis du "
830
+ #~ "tilsidesætter dette og sætter den lavere end den højeste (PDF) "
831
+ #~ "fakturanummer, kan dette skabe dobbelt fakturanumre. "
832
+
833
+ #~ msgid "Invoice number format"
834
+ #~ msgstr "Fakturanummer format "
835
+
836
+ #~ msgid ""
837
+ #~ "Disable automatic creation/attachment of invoices when only free products "
838
+ #~ "are ordered"
839
+ #~ msgstr ""
840
+ #~ "Deaktiver automatisk oprettelse/fastgørelse af fakturaer, når kun gratis "
841
+ #~ "produkter er bestilt"
842
+
843
+ #~ msgid ""
844
+ #~ "Display billing address on packing slip (in addition to the default "
845
+ #~ "shipping address) if different from shipping address"
846
+ #~ msgstr ""
847
+ #~ "Vis faktureringsadresse på følgeseddel (ud over standard "
848
+ #~ "leveringsadresse) hvis forskellig fra leveringsadresse"
849
+
850
+ #~ msgid "Template"
851
+ #~ msgstr "Skabelon "
852
+
853
+ #~ msgid "Admin New Order email"
854
+ #~ msgstr "Admin ny ordre e-mail"
855
+
856
+ #~ msgid "Customer Processing Order email"
857
+ #~ msgstr "Kunde behandler ordre e-mail"
858
+
859
+ #~ msgid "Customer Completed Order email"
860
+ #~ msgstr "Kunde fuldført ordre e-mail "
861
+
862
+ #~ msgid "Customer Invoice email"
863
+ #~ msgstr "Kunde faktura e-mail"
864
+
865
+ #~ msgid "Interface"
866
+ #~ msgstr "Grænseflade"
867
+
868
+ #~ msgid "PDF Template settings"
869
+ #~ msgstr "PDF skabelon indstillinger "
870
+
871
+ #~ msgid "Display built-in sequential invoice number"
872
+ #~ msgstr "Vis indbygget sekventiel faktura nummer"
873
+
874
+ #~ msgid ""
875
+ #~ "to use the order year and/or month, use [order_year] or [order_month] "
876
+ #~ "respectively"
877
+ #~ msgstr ""
878
+ #~ "for at bruge ordre år og/eller måned, brug [order_year] eller "
879
+ #~ "[order_month]. "
880
+
881
+ #~ msgid "Use old tmp folder"
882
+ #~ msgstr "Brug gammel tmp mappe"
883
+
884
+ #~ msgid ""
885
+ #~ "Before version 1.5 of PDF Invoices, temporary files were stored in the "
886
+ #~ "plugin folder. This setting is only intended for backwards compatibility, "
887
+ #~ "not recommended on new installs!"
888
+ #~ msgstr ""
889
+ #~ "Før version 1.5 af PDF fakturaer blev midlertidige filer gemt i plugin "
890
+ #~ "mappen. Denne indstilling er kun beregnet til bagudkompatibilitet, "
891
+ #~ "anbefales ikke på nye installationer!"
892
+
893
+ #~ msgid "PDF Packing Slips"
894
+ #~ msgstr "PDF følgesedler "
895
+
896
+ #~ msgid "PDF Invoice"
897
+ #~ msgstr "PDF Faktura"
898
+
899
+ #~ msgid "PDF Packing Slip"
900
+ #~ msgstr "PDF følgeseddel "
901
+
902
+ #~ msgid "PDF Invoice Number (unformatted!)"
903
+ #~ msgstr "PDF faktura nummer (uformateret!)"
904
+
905
+ #~ msgid "More advanced templates"
906
+ #~ msgstr "Flere avancerede skabeloner"
907
+
908
+ #~ msgid "Stylish modern invoices & packing slips with product thumbnails!"
909
+ #~ msgstr "Stilfuldt moderne fakturaer og følgesedler med produkt- thumbnails!"
910
+
911
+ #~ msgid "More tax details on the invoices!"
912
+ #~ msgstr "Flere moms detaljer på fakturaer!"
913
+
914
+ #~ msgid ""
915
+ #~ "Upload all invoices automatically to your dropbox!<br/>Check out the %s "
916
+ #~ "extension."
917
+ #~ msgstr ""
918
+ #~ "Upload alle fakturaer automatisk til din Dropbox! <br/> Tjek denne %s "
919
+ #~ "udvidelse "
920
+
921
+ #~ msgid ""
922
+ #~ "Looking for more advanced templates? Check out the Premium PDF Invoice & "
923
+ #~ "Packing Slips templates at %s."
924
+ #~ msgstr ""
925
+ #~ "Leder du efter flere avancerede skabeloner? Se Premium PDF Invoice & "
926
+ #~ "Packing Slips templates ved %s."
927
+
928
+ #~ msgid ""
929
+ #~ "Want to use your own template? Copy all the files from <code>%s</code> to "
930
+ #~ "<code>%s</code> to customize them"
931
+ #~ msgstr ""
932
+ #~ "Ønsker du at benytte din egen skabelon? Kopier alle filerne fra <code>%s</"
933
+ #~ "code> til <code>%s</code> for at tilpasse den"
934
+
935
+ #~ msgid "Number to display on invoice"
936
+ #~ msgstr "Nummer der vises på fakturaen "
937
+
938
+ #~ msgid "WooCommerce order number"
939
+ #~ msgstr "WooCommerce ordre nummer "
940
+
941
+ #~ msgid "Built-in sequential invoice number"
942
+ #~ msgstr "Indbygget sekventiel faktura nummer"
943
+
944
+ #~ msgid ""
945
+ #~ "If you are using the WooCommerce Sequential Order Numbers plugin, select "
946
+ #~ "the WooCommerce order number"
947
+ #~ msgstr ""
948
+ #~ "Hvis du benytter WooCommerce sekventiel ordre nummer plugin, vælg "
949
+ #~ "WooCommerce ordre nummer "
950
+
951
+ #~ msgid "Date to display on invoice"
952
+ #~ msgstr "Dato der skal vises på fakturaerne "
953
+
954
+ #~ msgid "Order date"
955
+ #~ msgstr "Ordredato"
956
+
957
+ #~ msgid "Invoice date"
958
+ #~ msgstr "Fakturadato"
959
+
960
+ #~ msgid "PDF invoice"
961
+ #~ msgstr "PDF faktura "
languages/woocommerce-pdf-invoices-packing-slips-de_DE.mo ADDED
Binary file
languages/woocommerce-pdf-invoices-packing-slips-de_DE.po ADDED
@@ -0,0 +1,883 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
+ "POT-Creation-Date: 2017-06-09 16:37+0200\n"
5
+ "PO-Revision-Date: 2017-06-09 16:37+0200\n"
6
+ "Last-Translator: Jens Nachtigall <mail@nachtigall.io>\n"
7
+ "Language-Team: PROnatur24 <info@pronatur24.eu>\n"
8
+ "Language: de_DE\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.12\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: includes/class-wcpdf-admin.php:72 includes/class-wcpdf-admin.php:174
20
+ msgid "Invoice Number"
21
+ msgstr "Rechnungsnummer"
22
+
23
+ #: includes/class-wcpdf-admin.php:105
24
+ msgid "Create PDF"
25
+ msgstr "PDF erstellen"
26
+
27
+ #: includes/class-wcpdf-admin.php:115
28
+ msgid "PDF Invoice data"
29
+ msgstr ""
30
+
31
+ #: includes/class-wcpdf-admin.php:166
32
+ #: includes/documents/class-wcpdf-invoice.php:32
33
+ #: includes/documents/class-wcpdf-invoice.php:41
34
+ #: includes/legacy/class-wcpdf-legacy-functions.php:22
35
+ #: templates/Simple/invoice.php:10 templates/Simple/invoice.php:22
36
+ msgid "Invoice"
37
+ msgstr "Rechnung"
38
+
39
+ #: includes/class-wcpdf-admin.php:183 includes/class-wcpdf-admin.php:204
40
+ #: templates/Simple/invoice.php:56
41
+ msgid "Invoice Date:"
42
+ msgstr "Rechnungsdatum:"
43
+
44
+ #: includes/class-wcpdf-admin.php:189
45
+ msgid "Set invoice number & date"
46
+ msgstr ""
47
+
48
+ #: includes/class-wcpdf-admin.php:196
49
+ msgid "Invoice Number (unformatted!)"
50
+ msgstr ""
51
+
52
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
53
+ msgid "h"
54
+ msgstr "Std"
55
+
56
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
57
+ msgid "m"
58
+ msgstr "Min"
59
+
60
+ #: includes/class-wcpdf-frontend.php:55
61
+ msgid "Download invoice (PDF)"
62
+ msgstr "Rechnung runterladen (PDF)"
63
+
64
+ #: includes/class-wcpdf-main.php:132 includes/class-wcpdf-main.php:153
65
+ #: includes/class-wcpdf-main.php:160 includes/class-wcpdf-main.php:166
66
+ msgid "You do not have sufficient permissions to access this page."
67
+ msgstr "Du hast keine Berechtigung diese Seite anzuzeigen."
68
+
69
+ #: includes/class-wcpdf-main.php:141
70
+ msgid "Some of the export parameters are missing."
71
+ msgstr ""
72
+
73
+ #: includes/class-wcpdf-settings-callbacks.php:27
74
+ msgid ""
75
+ "<b>Warning!</b> The settings below are meant for debugging/development only. "
76
+ "Do not use them on a live website!"
77
+ msgstr ""
78
+
79
+ #: includes/class-wcpdf-settings-callbacks.php:36
80
+ msgid ""
81
+ "These are used for the (optional) footer columns in the <em>Modern "
82
+ "(Premium)</em> template, but can also be used for other elements in your "
83
+ "custom template"
84
+ msgstr ""
85
+ "Diese Felder werden in den Spalten der (optionalen) Fußzeile der <em>Modern "
86
+ "(Premium)</em> Vorlage verwendet, können aber auch für andere Elemente in "
87
+ "deiner angepassten Vorlage verwendet werden."
88
+
89
+ #: includes/class-wcpdf-settings-callbacks.php:301
90
+ msgid "Image resolution"
91
+ msgstr "Bildauflösung"
92
+
93
+ #: includes/class-wcpdf-settings-callbacks.php:325
94
+ msgid "Save"
95
+ msgstr ""
96
+
97
+ #: includes/class-wcpdf-settings-debug.php:34
98
+ msgid "Debug settings"
99
+ msgstr ""
100
+
101
+ #: includes/class-wcpdf-settings-debug.php:40
102
+ msgid "Legacy mode"
103
+ msgstr ""
104
+
105
+ #: includes/class-wcpdf-settings-debug.php:46
106
+ msgid ""
107
+ "Legacy mode ensures compatibility with templates and filters from previous "
108
+ "versions."
109
+ msgstr ""
110
+
111
+ #: includes/class-wcpdf-settings-debug.php:52
112
+ msgid "Enable debug output"
113
+ msgstr ""
114
+
115
+ #: includes/class-wcpdf-settings-debug.php:58
116
+ msgid ""
117
+ "Enable this option to output plugin errors if you're getting a blank page or "
118
+ "other PDF generation issues"
119
+ msgstr ""
120
+
121
+ #: includes/class-wcpdf-settings-debug.php:64
122
+ msgid "Output to HTML"
123
+ msgstr ""
124
+
125
+ #: includes/class-wcpdf-settings-debug.php:70
126
+ msgid ""
127
+ "Send the template output as HTML to the browser instead of creating a PDF."
128
+ msgstr ""
129
+
130
+ #: includes/class-wcpdf-settings-documents.php:29
131
+ #: includes/class-wcpdf-settings.php:84
132
+ msgid "Documents"
133
+ msgstr ""
134
+
135
+ #: includes/class-wcpdf-settings-documents.php:45
136
+ msgid ""
137
+ "All available documents are listed below. Click on a document to configure "
138
+ "it."
139
+ msgstr ""
140
+
141
+ #: includes/class-wcpdf-settings-general.php:37
142
+ msgid "General settings"
143
+ msgstr "Allgemeine Einstellungen"
144
+
145
+ #: includes/class-wcpdf-settings-general.php:43
146
+ msgid "How do you want to view the PDF?"
147
+ msgstr "Wie soll das PDF angezeigt werden?"
148
+
149
+ #: includes/class-wcpdf-settings-general.php:50
150
+ msgid "Download the PDF"
151
+ msgstr "PDF runterladen"
152
+
153
+ #: includes/class-wcpdf-settings-general.php:51
154
+ msgid "Open the PDF in a new browser tab/window"
155
+ msgstr "PDF in einem neuen Browser Tab/Fenster öffnen"
156
+
157
+ #: includes/class-wcpdf-settings-general.php:58
158
+ msgid "Choose a template"
159
+ msgstr "Wähle ein Template"
160
+
161
+ #: includes/class-wcpdf-settings-general.php:65
162
+ #, php-format
163
+ msgid ""
164
+ "Want to use your own template? Copy all the files from <code>%s</code> to "
165
+ "your (child) theme in <code>%s</code> to customize them"
166
+ msgstr ""
167
+ "Wenn du eigene Vorlagen verwenden willst, dann kopiere alle Dateien von "
168
+ "<code>%s</code> nach <code>%s</code> und passe sie dort an."
169
+
170
+ #: includes/class-wcpdf-settings-general.php:71
171
+ msgid "Paper size"
172
+ msgstr "Papierformat"
173
+
174
+ #: includes/class-wcpdf-settings-general.php:78
175
+ msgid "A4"
176
+ msgstr "A4"
177
+
178
+ #: includes/class-wcpdf-settings-general.php:79
179
+ msgid "Letter"
180
+ msgstr "Letter"
181
+
182
+ #: includes/class-wcpdf-settings-general.php:86
183
+ msgid "Extended currency symbol support"
184
+ msgstr ""
185
+
186
+ #: includes/class-wcpdf-settings-general.php:92
187
+ msgid "Enable this if your currency symbol is not displaying properly"
188
+ msgstr ""
189
+
190
+ #: includes/class-wcpdf-settings-general.php:98
191
+ msgid "Shop header/logo"
192
+ msgstr "Briefkopf-Logo"
193
+
194
+ #: includes/class-wcpdf-settings-general.php:104
195
+ msgid "Select or upload your invoice header/logo"
196
+ msgstr "Auswählen oder hochladen des Logos"
197
+
198
+ #: includes/class-wcpdf-settings-general.php:105
199
+ msgid "Set image"
200
+ msgstr "Logo festlegen"
201
+
202
+ #: includes/class-wcpdf-settings-general.php:106
203
+ msgid "Remove image"
204
+ msgstr "Logo entfernen"
205
+
206
+ #: includes/class-wcpdf-settings-general.php:113
207
+ msgid "Shop Name"
208
+ msgstr "Name des Shops"
209
+
210
+ #: includes/class-wcpdf-settings-general.php:126
211
+ msgid "Shop Address"
212
+ msgstr "Adresse des Shops"
213
+
214
+ #: includes/class-wcpdf-settings-general.php:141
215
+ msgid "Footer: terms & conditions, policies, etc."
216
+ msgstr "Fußzeile: allgemeine Bestimmungen, etc."
217
+
218
+ #: includes/class-wcpdf-settings-general.php:156
219
+ msgid "Extra template fields"
220
+ msgstr "Zusätzliche Vorlagenfelder"
221
+
222
+ #: includes/class-wcpdf-settings-general.php:162
223
+ msgid "Extra field 1"
224
+ msgstr "Zusatzfeld 1"
225
+
226
+ #: includes/class-wcpdf-settings-general.php:170
227
+ msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
228
+ msgstr ""
229
+ "Das ist die Spalte 1 in der Fußzeile der <i>Modern (Premium)</i> Vorlage"
230
+
231
+ #: includes/class-wcpdf-settings-general.php:177
232
+ msgid "Extra field 2"
233
+ msgstr "Zusatzfeld 2"
234
+
235
+ #: includes/class-wcpdf-settings-general.php:185
236
+ msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
237
+ msgstr ""
238
+ "Das ist die Spalte 2 in der Fußzeile der <i>Modern (Premium)</i> Vorlage"
239
+
240
+ #: includes/class-wcpdf-settings-general.php:192
241
+ msgid "Extra field 3"
242
+ msgstr "Zusatzfeld 3"
243
+
244
+ #: includes/class-wcpdf-settings-general.php:200
245
+ msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
246
+ msgstr ""
247
+ "Das ist die Spalte 3 in der Fußzeile der <i>Modern (Premium)</i> Vorlage"
248
+
249
+ #: includes/class-wcpdf-settings.php:45 includes/class-wcpdf-settings.php:46
250
+ msgid "PDF Invoices"
251
+ msgstr "PDF Rechnungen"
252
+
253
+ #: includes/class-wcpdf-settings.php:58
254
+ msgid "Settings"
255
+ msgstr "Einstellungen"
256
+
257
+ #: includes/class-wcpdf-settings.php:71
258
+ msgid "Documentation"
259
+ msgstr ""
260
+
261
+ #: includes/class-wcpdf-settings.php:72
262
+ msgid "Support Forum"
263
+ msgstr ""
264
+
265
+ #: includes/class-wcpdf-settings.php:83
266
+ msgid "General"
267
+ msgstr "Allgemein"
268
+
269
+ #: includes/class-wcpdf-settings.php:89
270
+ msgid "Status"
271
+ msgstr "Status"
272
+
273
+ #: includes/compatibility/class-wc-core-compatibility.php:222
274
+ msgid "WooCommerce"
275
+ msgstr ""
276
+
277
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:113
278
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:176
279
+ msgid "N/A"
280
+ msgstr "nicht verfügbar"
281
+
282
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:305
283
+ msgid "Payment method"
284
+ msgstr "Zahlungsart"
285
+
286
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:326
287
+ msgid "Shipping method"
288
+ msgstr "Versandart"
289
+
290
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:669
291
+ #, php-format
292
+ msgid "(includes %s)"
293
+ msgstr ""
294
+
295
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:672
296
+ #, php-format
297
+ msgid "(Includes %s)"
298
+ msgstr ""
299
+
300
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:702
301
+ msgid "Subtotal"
302
+ msgstr "Zwischensumme"
303
+
304
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:727
305
+ msgid "Shipping"
306
+ msgstr "Versand"
307
+
308
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:790
309
+ msgid "Discount"
310
+ msgstr "Rabatt"
311
+
312
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:831
313
+ msgid "VAT"
314
+ msgstr "MwSt."
315
+
316
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:832
317
+ msgid "Tax rate"
318
+ msgstr "MwSt-Satz"
319
+
320
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:876
321
+ msgid "Total ex. VAT"
322
+ msgstr "Gesamtsumme ohne MwSt."
323
+
324
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:879
325
+ msgid "Total"
326
+ msgstr "Gesamtsumme"
327
+
328
+ #: includes/documents/abstract-wcpdf-order-document.php:674
329
+ msgid "Admin email"
330
+ msgstr ""
331
+
332
+ #: includes/documents/abstract-wcpdf-order-document.php:677
333
+ msgid "Manual email"
334
+ msgstr ""
335
+
336
+ # This is a filename (prefix). do not use spaces or special characters!
337
+ #: includes/documents/class-wcpdf-invoice.php:85
338
+ msgid "invoice"
339
+ msgid_plural "invoices"
340
+ msgstr[0] "Rechnung"
341
+ msgstr[1] "Rechnungen"
342
+
343
+ #: includes/documents/class-wcpdf-invoice.php:130
344
+ #: includes/documents/class-wcpdf-packing-slip.php:94
345
+ msgid "Enable"
346
+ msgstr ""
347
+
348
+ #: includes/documents/class-wcpdf-invoice.php:141
349
+ msgid "Attach to:"
350
+ msgstr ""
351
+
352
+ #: includes/documents/class-wcpdf-invoice.php:148
353
+ #, php-format
354
+ msgid ""
355
+ "It looks like the temp folder (<code>%s</code>) is not writable, check the "
356
+ "permissions for this folder! Without having write access to this folder, the "
357
+ "plugin will not be able to email invoices."
358
+ msgstr ""
359
+ "Das temporäre Verzeichnis (<code>%s</code>) ist nicht beschreibbar, bitte "
360
+ "überprüfe die Berechtigungen dieses Verzeichnisses. Ohne Schreibrechte "
361
+ "können keine E-Mail - Rechnungen verschickt werden."
362
+
363
+ #: includes/documents/class-wcpdf-invoice.php:154
364
+ msgid "Display shipping address"
365
+ msgstr ""
366
+
367
+ #: includes/documents/class-wcpdf-invoice.php:160
368
+ msgid ""
369
+ "Display shipping address (in addition to the default billing address) if "
370
+ "different from billing address"
371
+ msgstr ""
372
+
373
+ #: includes/documents/class-wcpdf-invoice.php:166
374
+ #: includes/documents/class-wcpdf-packing-slip.php:117
375
+ msgid "Display email address"
376
+ msgstr ""
377
+
378
+ #: includes/documents/class-wcpdf-invoice.php:177
379
+ #: includes/documents/class-wcpdf-packing-slip.php:128
380
+ msgid "Display phone number"
381
+ msgstr ""
382
+
383
+ #: includes/documents/class-wcpdf-invoice.php:188
384
+ msgid "Display invoice date"
385
+ msgstr "Rechnungsdatum anzeigen"
386
+
387
+ #: includes/documents/class-wcpdf-invoice.php:200
388
+ msgid "Display invoice number"
389
+ msgstr ""
390
+
391
+ #: includes/documents/class-wcpdf-invoice.php:212
392
+ msgid "Next invoice number (without prefix/suffix etc.)"
393
+ msgstr "Nächste Rechnungsnummer (ohne Präfix/Suffix usw.)"
394
+
395
+ #: includes/documents/class-wcpdf-invoice.php:218
396
+ msgid ""
397
+ "This is the number that will be used for the next document. By default, "
398
+ "numbering starts from 1 and increases for every new document. Note that if "
399
+ "you override this and set it lower than the current/highest number, this "
400
+ "could create duplicate numbers!"
401
+ msgstr ""
402
+
403
+ #: includes/documents/class-wcpdf-invoice.php:224
404
+ msgid "Number format"
405
+ msgstr ""
406
+
407
+ #: includes/documents/class-wcpdf-invoice.php:232
408
+ msgid "Prefix"
409
+ msgstr "Präfix"
410
+
411
+ #: includes/documents/class-wcpdf-invoice.php:234
412
+ msgid ""
413
+ "to use the invoice year and/or month, use [invoice_year] or [invoice_month] "
414
+ "respectively"
415
+ msgstr ""
416
+
417
+ #: includes/documents/class-wcpdf-invoice.php:237
418
+ msgid "Suffix"
419
+ msgstr "Suffix"
420
+
421
+ #: includes/documents/class-wcpdf-invoice.php:242
422
+ msgid "Padding"
423
+ msgstr "Abstand"
424
+
425
+ #: includes/documents/class-wcpdf-invoice.php:245
426
+ msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
427
+ msgstr ""
428
+ "Anzahl der Zeichen hier eingeben - \"6\" eingeben um 42 als 000042 "
429
+ "darzustellen"
430
+
431
+ #: includes/documents/class-wcpdf-invoice.php:248
432
+ msgid ""
433
+ "note: if you have already created a custom invoice number format with a "
434
+ "filter, the above settings will be ignored"
435
+ msgstr ""
436
+ "beachte: solltest du schon mit einem Filter ein eigenes Format der "
437
+ "Rechnungsnummer erstellt haben, werden obige Einstellungen ignoriert"
438
+
439
+ #: includes/documents/class-wcpdf-invoice.php:254
440
+ msgid "Reset invoice number yearly"
441
+ msgstr ""
442
+
443
+ #: includes/documents/class-wcpdf-invoice.php:265
444
+ msgid "Allow My Account invoice download"
445
+ msgstr ""
446
+
447
+ #: includes/documents/class-wcpdf-invoice.php:272
448
+ msgid "Only when an invoice is already created/emailed"
449
+ msgstr ""
450
+
451
+ #: includes/documents/class-wcpdf-invoice.php:273
452
+ msgid "Only for specific order statuses (define below)"
453
+ msgstr ""
454
+
455
+ #: includes/documents/class-wcpdf-invoice.php:274
456
+ msgid "Always"
457
+ msgstr ""
458
+
459
+ #: includes/documents/class-wcpdf-invoice.php:275
460
+ msgid "Never"
461
+ msgstr ""
462
+
463
+ #: includes/documents/class-wcpdf-invoice.php:290
464
+ msgid "Enable invoice number column in the orders list"
465
+ msgstr "Aktivierung Spalte Rechnungsnummer in Bestellübersicht"
466
+
467
+ #: includes/documents/class-wcpdf-invoice.php:301
468
+ msgid "Disable for free products"
469
+ msgstr ""
470
+
471
+ #: includes/documents/class-wcpdf-invoice.php:307
472
+ msgid ""
473
+ "Disable automatic creation/attachment when only free products are ordered"
474
+ msgstr ""
475
+
476
+ #: includes/documents/class-wcpdf-invoice.php:321
477
+ msgid "Invoice numbers are created by a third-party extension."
478
+ msgstr ""
479
+
480
+ #: includes/documents/class-wcpdf-invoice.php:323
481
+ #, php-format
482
+ msgid "Configure it <a href=\"%s\">here</a>."
483
+ msgstr ""
484
+
485
+ #: includes/documents/class-wcpdf-packing-slip.php:32
486
+ #: includes/documents/class-wcpdf-packing-slip.php:41
487
+ #: includes/legacy/class-wcpdf-legacy-functions.php:25
488
+ #: templates/Simple/packing-slip.php:10 templates/Simple/packing-slip.php:22
489
+ msgid "Packing Slip"
490
+ msgstr "Lieferschein"
491
+
492
+ # This is a filename (prefix). do not use spaces or special characters!
493
+ #: includes/documents/class-wcpdf-packing-slip.php:53
494
+ msgid "packing-slip"
495
+ msgid_plural "packing-slips"
496
+ msgstr[0] "Lieferschein"
497
+ msgstr[1] "Lieferscheine"
498
+
499
+ #: includes/documents/class-wcpdf-packing-slip.php:105
500
+ msgid "Display billing address"
501
+ msgstr ""
502
+
503
+ #: includes/documents/class-wcpdf-packing-slip.php:111
504
+ msgid ""
505
+ "Display billing address (in addition to the default shipping address) if "
506
+ "different from shipping address"
507
+ msgstr ""
508
+
509
+ #: includes/legacy/class-wcpdf-legacy-document.php:32
510
+ msgid "Legacy Document"
511
+ msgstr ""
512
+
513
+ #: includes/views/wcpdf-extensions.php:15
514
+ msgid "Check out these premium extensions!"
515
+ msgstr "Premium Erweiterungen schon gesehen?"
516
+
517
+ #: includes/views/wcpdf-extensions.php:16
518
+ msgid "click items to read more"
519
+ msgstr "klicke Elemente um weiterzulesen"
520
+
521
+ #: includes/views/wcpdf-extensions.php:21
522
+ msgid ""
523
+ "Premium PDF Invoice bundle: Everything you need for a perfect invoicing "
524
+ "system"
525
+ msgstr ""
526
+
527
+ #: includes/views/wcpdf-extensions.php:23
528
+ msgid ""
529
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the all our "
530
+ "premium extensions:"
531
+ msgstr ""
532
+
533
+ #: includes/views/wcpdf-extensions.php:24
534
+ msgid "Professional features:"
535
+ msgstr ""
536
+
537
+ #: includes/views/wcpdf-extensions.php:26
538
+ #: includes/views/wcpdf-extensions.php:56
539
+ msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
540
+ msgstr "E-Mail/Druck/Download <b>PDF Gutschrift & Proforma Rechnung</b>"
541
+
542
+ #: includes/views/wcpdf-extensions.php:27
543
+ #: includes/views/wcpdf-extensions.php:57
544
+ msgid ""
545
+ "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
546
+ "packing slips, for example to a drop-shipper or a supplier."
547
+ msgstr ""
548
+
549
+ #: includes/views/wcpdf-extensions.php:28
550
+ #: includes/views/wcpdf-extensions.php:58
551
+ msgid ""
552
+ "Attach <b>up to 3 static files</b> (for example a terms & conditions "
553
+ "document) to the WooCommerce emails of your choice."
554
+ msgstr ""
555
+
556
+ #: includes/views/wcpdf-extensions.php:29
557
+ #: includes/views/wcpdf-extensions.php:59
558
+ msgid ""
559
+ "Use <b>separate numbering systems</b> and/or format for proforma invoices "
560
+ "and credit notes or utilize the main invoice numbering system"
561
+ msgstr ""
562
+ "Anwendung <b>separates Nummerierungssystem</b> und/oder Format für Proforma "
563
+ "Rechnungen und Gutschriften oder Änderung am Hauptsystem der "
564
+ "Rechnungsnummerierung"
565
+
566
+ #: includes/views/wcpdf-extensions.php:30
567
+ #: includes/views/wcpdf-extensions.php:60
568
+ msgid ""
569
+ "<b>Customize</b> the <b>shipping & billing address</b> format to include "
570
+ "additional custom fields, font sizes etc. without the need to create a "
571
+ "custom template."
572
+ msgstr ""
573
+ "<b>Anpassung</b> vom <b>Liefer- & Rechnugnsadresse</b> Format um zusätzliche "
574
+ "freie Felder, Schriftgrößen, usw. einzufügen ohne ein individuellen Template "
575
+ "zu erstellen."
576
+
577
+ #: includes/views/wcpdf-extensions.php:31
578
+ #: includes/views/wcpdf-extensions.php:61
579
+ msgid "Use the plugin in multilingual <b>WPML</b> setups"
580
+ msgstr "Nutzung vom Plugin für Multisprachen <b>WPML</b> Einrichtungen"
581
+
582
+ #: includes/views/wcpdf-extensions.php:33
583
+ #: includes/views/wcpdf-extensions.php:131
584
+ msgid "Advanced, customizable templates"
585
+ msgstr ""
586
+
587
+ #: includes/views/wcpdf-extensions.php:35
588
+ #: includes/views/wcpdf-extensions.php:134
589
+ msgid ""
590
+ "Completely customize the invoice contents (prices, taxes, thumbnails) to "
591
+ "your needs with a drag & drop customizer"
592
+ msgstr ""
593
+
594
+ #: includes/views/wcpdf-extensions.php:36
595
+ #: includes/views/wcpdf-extensions.php:135
596
+ msgid "Two extra stylish premade templates (Modern & Business)"
597
+ msgstr ""
598
+
599
+ #: includes/views/wcpdf-extensions.php:38
600
+ msgid "Upload automatically to dropbox"
601
+ msgstr ""
602
+
603
+ #: includes/views/wcpdf-extensions.php:40
604
+ #: includes/views/wcpdf-extensions.php:97
605
+ msgid ""
606
+ "This extension conveniently uploads all the invoices (and other pdf "
607
+ "documents from the professional extension) that are emailed to your "
608
+ "customers to Dropbox. The best way to keep your invoice administration up to "
609
+ "date!"
610
+ msgstr ""
611
+ "Diese Erweiterung lädt alle Rechnungen (und zusätzlich aktivieren PDF "
612
+ "Dokumente) die dem Kunden gemailt werden zur Dropbox. Die beste Weise um die "
613
+ "Rechnungsadministration aktuell zu halten!"
614
+
615
+ #: includes/views/wcpdf-extensions.php:43
616
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Bundle"
617
+ msgstr ""
618
+
619
+ #: includes/views/wcpdf-extensions.php:52
620
+ msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
621
+ msgstr "Upgrade auf Pro: Proforma Rechnung, Gutschrift & mehr!"
622
+
623
+ #: includes/views/wcpdf-extensions.php:54
624
+ msgid ""
625
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the following "
626
+ "features:"
627
+ msgstr ""
628
+ "Verbessere WooCommerce PDF Invoices & Packing Slips mit diesen Funktionen:"
629
+
630
+ #: includes/views/wcpdf-extensions.php:63
631
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
632
+ msgstr "Hole WooCommerce PDF Invoices & Packing Slips Professional!"
633
+
634
+ #: includes/views/wcpdf-extensions.php:71
635
+ msgid "Automatically send payment reminders to your customers"
636
+ msgstr ""
637
+
638
+ #: includes/views/wcpdf-extensions.php:73
639
+ msgid "WooCommerce Smart Reminder emails"
640
+ msgstr ""
641
+
642
+ #: includes/views/wcpdf-extensions.php:75
643
+ msgid "<b>Completely automatic</b> scheduled emails"
644
+ msgstr ""
645
+
646
+ #: includes/views/wcpdf-extensions.php:76
647
+ msgid ""
648
+ "<b>Rich text editor</b> for the email text, including placeholders for data "
649
+ "from the order (name, order total, etc)"
650
+ msgstr ""
651
+
652
+ #: includes/views/wcpdf-extensions.php:77
653
+ msgid ""
654
+ "Configure the exact requirements for sending an email (time after order, "
655
+ "order status, payment method)"
656
+ msgstr ""
657
+
658
+ #: includes/views/wcpdf-extensions.php:78
659
+ msgid ""
660
+ "Fully <b>WPML Compatible</b> – emails will be automatically sent in the "
661
+ "order language."
662
+ msgstr ""
663
+
664
+ #: includes/views/wcpdf-extensions.php:79
665
+ msgid ""
666
+ "<b>Super versatile!</b> Can be used for any kind of reminder email (review "
667
+ "reminders, repeat purchases)"
668
+ msgstr ""
669
+
670
+ #: includes/views/wcpdf-extensions.php:80
671
+ msgid "Integrates seamlessly with the PDF Invoices & Packing Slips plugin"
672
+ msgstr ""
673
+
674
+ #: includes/views/wcpdf-extensions.php:82
675
+ msgid "Get WooCommerce Smart Reminder Emails"
676
+ msgstr ""
677
+
678
+ #: includes/views/wcpdf-extensions.php:91
679
+ msgid "Upload all invoices automatically to your dropbox"
680
+ msgstr "Alle Rechnungen automatisch auf deine Dropbox hochladen"
681
+
682
+ #: includes/views/wcpdf-extensions.php:98
683
+ msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
684
+ msgstr "Hole WooCommerce PDF Invoices & Packing Slips to dropbox!"
685
+
686
+ #: includes/views/wcpdf-extensions.php:110
687
+ msgid ""
688
+ "Automatically send new orders or packing slips to your printer, as soon as "
689
+ "the customer orders!"
690
+ msgstr ""
691
+ "Schicke neue Bestellungen oder Lieferscheine automatisch an deinen Drucker, "
692
+ "sobald ein Kunde bestellt."
693
+
694
+ #: includes/views/wcpdf-extensions.php:116
695
+ msgid ""
696
+ "Check out the WooCommerce Automatic Order Printing extension from our "
697
+ "partners at Simba Hosting"
698
+ msgstr ""
699
+ "Probiere die Erweiterung „WooCommerce Automatic Order Printing“ unserem "
700
+ "Partner Simba Hosting "
701
+
702
+ #: includes/views/wcpdf-extensions.php:117
703
+ msgid "WooCommerce Automatic Order Printing"
704
+ msgstr "WooCommerce Automatic Order Printing"
705
+
706
+ #: includes/views/wcpdf-extensions.php:136
707
+ #, php-format
708
+ msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
709
+ msgstr "Schau dir die Premium PDF Invoice & Packing Slips Vorlagen an auf %s."
710
+
711
+ #: includes/views/wcpdf-extensions.php:137
712
+ #, php-format
713
+ msgid "For custom templates, contact us at %s."
714
+ msgstr "Für individuelle Vorlagen kontaktiert uns auf %s."
715
+
716
+ #: includes/views/wcpdf-extensions.php:146
717
+ msgid "Hide this message"
718
+ msgstr ""
719
+
720
+ #: includes/views/wcpdf-settings-page.php:8
721
+ msgid "WooCommerce PDF Invoices"
722
+ msgstr "WooCommerce PDF Rechnungen"
723
+
724
+ #: templates/Simple/invoice.php:30 templates/Simple/packing-slip.php:41
725
+ msgid "Billing Address:"
726
+ msgstr "Rechnungsadresse:"
727
+
728
+ #: templates/Simple/invoice.php:41
729
+ msgid "Ship To:"
730
+ msgstr "Versand nach:"
731
+
732
+ #: templates/Simple/invoice.php:50
733
+ msgid "Invoice Number:"
734
+ msgstr "Rechnungsnummer:"
735
+
736
+ #: templates/Simple/invoice.php:61 templates/Simple/packing-slip.php:49
737
+ msgid "Order Number:"
738
+ msgstr "Bestellnummer:"
739
+
740
+ #: templates/Simple/invoice.php:65 templates/Simple/packing-slip.php:53
741
+ msgid "Order Date:"
742
+ msgstr "Bestelldatum:"
743
+
744
+ #: templates/Simple/invoice.php:69
745
+ msgid "Payment Method:"
746
+ msgstr "Zahlungsart:"
747
+
748
+ #: templates/Simple/invoice.php:83 templates/Simple/packing-slip.php:71
749
+ msgid "Product"
750
+ msgstr "Produkt"
751
+
752
+ #: templates/Simple/invoice.php:84 templates/Simple/packing-slip.php:72
753
+ msgid "Quantity"
754
+ msgstr "Anzahl"
755
+
756
+ #: templates/Simple/invoice.php:85
757
+ msgid "Price"
758
+ msgstr "Preis"
759
+
760
+ #: templates/Simple/invoice.php:92 templates/Simple/packing-slip.php:79
761
+ msgid "Description"
762
+ msgstr "Beschreibung"
763
+
764
+ #: templates/Simple/invoice.php:97 templates/Simple/packing-slip.php:84
765
+ msgid "SKU"
766
+ msgstr "Art.-Nr."
767
+
768
+ #: templates/Simple/invoice.php:98 templates/Simple/packing-slip.php:85
769
+ msgid "SKU:"
770
+ msgstr "Art.-Nr.:"
771
+
772
+ #: templates/Simple/invoice.php:99 templates/Simple/packing-slip.php:86
773
+ msgid "Weight:"
774
+ msgstr "Gewicht:"
775
+
776
+ #: templates/Simple/invoice.php:114 templates/Simple/packing-slip.php:101
777
+ msgid "Customer Notes"
778
+ msgstr "Anmerkungen"
779
+
780
+ #: templates/Simple/packing-slip.php:30
781
+ msgid "Shipping Address:"
782
+ msgstr "Lieferadresse:"
783
+
784
+ #: templates/Simple/packing-slip.php:57
785
+ msgid "Shipping Method:"
786
+ msgstr "Versandart:"
787
+
788
+ #: woocommerce-pdf-invoices-packingslips.php:231
789
+ #, php-format
790
+ msgid ""
791
+ "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
792
+ "installed & activated!"
793
+ msgstr ""
794
+ "WooCommerce PDF Invoices & Packing Slips benötigt %sWooCommerce%s "
795
+ "installiert und aktiviert!"
796
+
797
+ #: woocommerce-pdf-invoices-packingslips.php:243
798
+ msgid ""
799
+ "WooCommerce PDF Invoices & Packing Slips requires PHP 5.3 or higher (5.6 or "
800
+ "higher recommended)."
801
+ msgstr ""
802
+
803
+ #: woocommerce-pdf-invoices-packingslips.php:244
804
+ msgid "How to update your PHP version"
805
+ msgstr ""
806
+
807
+ #~ msgid "Attach invoice to:"
808
+ #~ msgstr "Rechnung anfügen zu:"
809
+
810
+ #~ msgid ""
811
+ #~ "This is the number that will be used on the next invoice that is created. "
812
+ #~ "By default, numbering starts from the WooCommerce Order Number of the "
813
+ #~ "first invoice that is created and increases for every new invoice. Note "
814
+ #~ "that if you override this and set it lower than the highest (PDF) invoice "
815
+ #~ "number, this could create double invoice numbers!"
816
+ #~ msgstr ""
817
+ #~ "Dies ist die Nummer welche für die nächste Rechnung verwendet wird. "
818
+ #~ "Vordefiniert startet die Rechnungsnummerierung mit der WooCommerce "
819
+ #~ "Bestellnummer auf der ersten generierten Rechnung und erhöht mit jeder "
820
+ #~ "neuen Rechnung. Beachte bitte das die Überschreibung der höchsten (PDF) "
821
+ #~ "Rechnungsnummer mit einer kleineren Nummer zu doppelten Rechnungsnummern "
822
+ #~ "führen kann."
823
+
824
+ #~ msgid "Invoice number format"
825
+ #~ msgstr "Rechnungsnummer"
826
+
827
+ #~ msgid "Template"
828
+ #~ msgstr "Vorlage"
829
+
830
+ #~ msgid "Admin New Order email"
831
+ #~ msgstr "Admin Neue Bestellung E-Mail"
832
+
833
+ #~ msgid "Customer Processing Order email"
834
+ #~ msgstr "Kunde In Bearbeitung E-Mail"
835
+
836
+ #~ msgid "Customer Completed Order email"
837
+ #~ msgstr "Kunde Bestellung abgeschlossen E-Mail"
838
+
839
+ #~ msgid "Customer Invoice email"
840
+ #~ msgstr "Kunde Rechnung E-Mail"
841
+
842
+ #~ msgid "PDF Template settings"
843
+ #~ msgstr "PDF Vorlageneinstellungen"
844
+
845
+ #~ msgid "Display built-in sequential invoice number"
846
+ #~ msgstr "Anzeige integrierte fortlaufende Rechnungsnummer"
847
+
848
+ #~ msgid ""
849
+ #~ "to use the order year and/or month, use [order_year] or [order_month] "
850
+ #~ "respectively"
851
+ #~ msgstr ""
852
+ #~ "um das Bestelljahr und/oder -monat zu nutzen, verwende [order_year] oder "
853
+ #~ "[order_month]"
854
+
855
+ #~ msgid "PDF Packing Slips"
856
+ #~ msgstr "PDF Lieferscheine"
857
+
858
+ #~ msgid "PDF Invoice"
859
+ #~ msgstr "PDF Rechnung"
860
+
861
+ #~ msgid "PDF Packing Slip"
862
+ #~ msgstr "PDF Lieferschein"
863
+
864
+ #~ msgid "PDF Invoice Number (unformatted!)"
865
+ #~ msgstr "PDF Rechnungsnummer (unformatiert)"
866
+
867
+ #~ msgid "More advanced templates"
868
+ #~ msgstr "Weiter entwickelte Voralgen"
869
+
870
+ #~ msgid "Stylish modern invoices & packing slips with product thumbnails!"
871
+ #~ msgstr ""
872
+ #~ "Stylisch moderne Rechnungen & Lieferscheine mit Miniaturbildern vom "
873
+ #~ "Produkt!"
874
+
875
+ #~ msgid "More tax details on the invoices!"
876
+ #~ msgstr "Zusätzliche Steuerdetails auf der Rechnung!"
877
+
878
+ #~ msgid ""
879
+ #~ "Attach a <b>static file</b> (for example a terms & conditions document) "
880
+ #~ "to the WooCommerce emails of your choice."
881
+ #~ msgstr ""
882
+ #~ "Hinzufügen einer beliebigen <b>Datei </b> (beispielweise AGB, "
883
+ #~ "Widerrufsbelehrung) zum WooCommerce E-Mail"
languages/woocommerce-pdf-invoices-packing-slips-de_DE_formal.mo ADDED
Binary file
languages/woocommerce-pdf-invoices-packing-slips-de_DE_formal.po ADDED
@@ -0,0 +1,883 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
+ "POT-Creation-Date: 2017-06-09 16:37+0200\n"
5
+ "PO-Revision-Date: 2017-06-09 16:37+0200\n"
6
+ "Last-Translator: Jens Nachtigall <mail@nachtigall.io>\n"
7
+ "Language-Team: PROnatur24 <info@pronatur24.eu>\n"
8
+ "Language: de_DE\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.12\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: includes/class-wcpdf-admin.php:72 includes/class-wcpdf-admin.php:174
20
+ msgid "Invoice Number"
21
+ msgstr "Rechnungsnummer"
22
+
23
+ #: includes/class-wcpdf-admin.php:105
24
+ msgid "Create PDF"
25
+ msgstr "PDF erstellen"
26
+
27
+ #: includes/class-wcpdf-admin.php:115
28
+ msgid "PDF Invoice data"
29
+ msgstr ""
30
+
31
+ #: includes/class-wcpdf-admin.php:166
32
+ #: includes/documents/class-wcpdf-invoice.php:32
33
+ #: includes/documents/class-wcpdf-invoice.php:41
34
+ #: includes/legacy/class-wcpdf-legacy-functions.php:22
35
+ #: templates/Simple/invoice.php:10 templates/Simple/invoice.php:22
36
+ msgid "Invoice"
37
+ msgstr "Rechnung"
38
+
39
+ #: includes/class-wcpdf-admin.php:183 includes/class-wcpdf-admin.php:204
40
+ #: templates/Simple/invoice.php:56
41
+ msgid "Invoice Date:"
42
+ msgstr "Rechnungsdatum:"
43
+
44
+ #: includes/class-wcpdf-admin.php:189
45
+ msgid "Set invoice number & date"
46
+ msgstr ""
47
+
48
+ #: includes/class-wcpdf-admin.php:196
49
+ msgid "Invoice Number (unformatted!)"
50
+ msgstr ""
51
+
52
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
53
+ msgid "h"
54
+ msgstr "Std"
55
+
56
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
57
+ msgid "m"
58
+ msgstr "Min"
59
+
60
+ #: includes/class-wcpdf-frontend.php:55
61
+ msgid "Download invoice (PDF)"
62
+ msgstr "Rechnung runterladen (PDF)"
63
+
64
+ #: includes/class-wcpdf-main.php:132 includes/class-wcpdf-main.php:153
65
+ #: includes/class-wcpdf-main.php:160 includes/class-wcpdf-main.php:166
66
+ msgid "You do not have sufficient permissions to access this page."
67
+ msgstr "Du hast keine Berechtigung diese Seite anzuzeigen."
68
+
69
+ #: includes/class-wcpdf-main.php:141
70
+ msgid "Some of the export parameters are missing."
71
+ msgstr ""
72
+
73
+ #: includes/class-wcpdf-settings-callbacks.php:27
74
+ msgid ""
75
+ "<b>Warning!</b> The settings below are meant for debugging/development only. "
76
+ "Do not use them on a live website!"
77
+ msgstr ""
78
+
79
+ #: includes/class-wcpdf-settings-callbacks.php:36
80
+ msgid ""
81
+ "These are used for the (optional) footer columns in the <em>Modern "
82
+ "(Premium)</em> template, but can also be used for other elements in your "
83
+ "custom template"
84
+ msgstr ""
85
+ "Diese Felder werden in den Spalten der (optionalen) Fußzeile der <em>Modern "
86
+ "(Premium)</em> Vorlage verwendet, können aber auch für andere Elemente in "
87
+ "deiner angepassten Vorlage verwendet werden."
88
+
89
+ #: includes/class-wcpdf-settings-callbacks.php:301
90
+ msgid "Image resolution"
91
+ msgstr "Bildauflösung"
92
+
93
+ #: includes/class-wcpdf-settings-callbacks.php:325
94
+ msgid "Save"
95
+ msgstr ""
96
+
97
+ #: includes/class-wcpdf-settings-debug.php:34
98
+ msgid "Debug settings"
99
+ msgstr ""
100
+
101
+ #: includes/class-wcpdf-settings-debug.php:40
102
+ msgid "Legacy mode"
103
+ msgstr ""
104
+
105
+ #: includes/class-wcpdf-settings-debug.php:46
106
+ msgid ""
107
+ "Legacy mode ensures compatibility with templates and filters from previous "
108
+ "versions."
109
+ msgstr ""
110
+
111
+ #: includes/class-wcpdf-settings-debug.php:52
112
+ msgid "Enable debug output"
113
+ msgstr ""
114
+
115
+ #: includes/class-wcpdf-settings-debug.php:58
116
+ msgid ""
117
+ "Enable this option to output plugin errors if you're getting a blank page or "
118
+ "other PDF generation issues"
119
+ msgstr ""
120
+
121
+ #: includes/class-wcpdf-settings-debug.php:64
122
+ msgid "Output to HTML"
123
+ msgstr ""
124
+
125
+ #: includes/class-wcpdf-settings-debug.php:70
126
+ msgid ""
127
+ "Send the template output as HTML to the browser instead of creating a PDF."
128
+ msgstr ""
129
+
130
+ #: includes/class-wcpdf-settings-documents.php:29
131
+ #: includes/class-wcpdf-settings.php:84
132
+ msgid "Documents"
133
+ msgstr ""
134
+
135
+ #: includes/class-wcpdf-settings-documents.php:45
136
+ msgid ""
137
+ "All available documents are listed below. Click on a document to configure "
138
+ "it."
139
+ msgstr ""
140
+
141
+ #: includes/class-wcpdf-settings-general.php:37
142
+ msgid "General settings"
143
+ msgstr "Allgemeine Einstellungen"
144
+
145
+ #: includes/class-wcpdf-settings-general.php:43
146
+ msgid "How do you want to view the PDF?"
147
+ msgstr "Wie soll das PDF angezeigt werden?"
148
+
149
+ #: includes/class-wcpdf-settings-general.php:50
150
+ msgid "Download the PDF"
151
+ msgstr "PDF runterladen"
152
+
153
+ #: includes/class-wcpdf-settings-general.php:51
154
+ msgid "Open the PDF in a new browser tab/window"
155
+ msgstr "PDF in einem neuen Browser Tab/Fenster öffnen"
156
+
157
+ #: includes/class-wcpdf-settings-general.php:58
158
+ msgid "Choose a template"
159
+ msgstr "Wähle ein Template"
160
+
161
+ #: includes/class-wcpdf-settings-general.php:65
162
+ #, php-format
163
+ msgid ""
164
+ "Want to use your own template? Copy all the files from <code>%s</code> to "
165
+ "your (child) theme in <code>%s</code> to customize them"
166
+ msgstr ""
167
+ "Wenn du eigene Vorlagen verwenden willst, dann kopiere alle Dateien von "
168
+ "<code>%s</code> nach <code>%s</code> und passe sie dort an."
169
+
170
+ #: includes/class-wcpdf-settings-general.php:71
171
+ msgid "Paper size"
172
+ msgstr "Papierformat"
173
+
174
+ #: includes/class-wcpdf-settings-general.php:78
175
+ msgid "A4"
176
+ msgstr "A4"
177
+
178
+ #: includes/class-wcpdf-settings-general.php:79
179
+ msgid "Letter"
180
+ msgstr "Letter"
181
+
182
+ #: includes/class-wcpdf-settings-general.php:86
183
+ msgid "Extended currency symbol support"
184
+ msgstr ""
185
+
186
+ #: includes/class-wcpdf-settings-general.php:92
187
+ msgid "Enable this if your currency symbol is not displaying properly"
188
+ msgstr ""
189
+
190
+ #: includes/class-wcpdf-settings-general.php:98
191
+ msgid "Shop header/logo"
192
+ msgstr "Briefkopf-Logo"
193
+
194
+ #: includes/class-wcpdf-settings-general.php:104
195
+ msgid "Select or upload your invoice header/logo"
196
+ msgstr "Auswählen oder hochladen des Logos"
197
+
198
+ #: includes/class-wcpdf-settings-general.php:105
199
+ msgid "Set image"
200
+ msgstr "Logo festlegen"
201
+
202
+ #: includes/class-wcpdf-settings-general.php:106
203
+ msgid "Remove image"
204
+ msgstr "Logo entfernen"
205
+
206
+ #: includes/class-wcpdf-settings-general.php:113
207
+ msgid "Shop Name"
208
+ msgstr "Name des Shops"
209
+
210
+ #: includes/class-wcpdf-settings-general.php:126
211
+ msgid "Shop Address"
212
+ msgstr "Adresse des Shops"
213
+
214
+ #: includes/class-wcpdf-settings-general.php:141
215
+ msgid "Footer: terms & conditions, policies, etc."
216
+ msgstr "Fußzeile: allgemeine Bestimmungen, etc."
217
+
218
+ #: includes/class-wcpdf-settings-general.php:156
219
+ msgid "Extra template fields"
220
+ msgstr "Zusätzliche Vorlagenfelder"
221
+
222
+ #: includes/class-wcpdf-settings-general.php:162
223
+ msgid "Extra field 1"
224
+ msgstr "Zusatzfeld 1"
225
+
226
+ #: includes/class-wcpdf-settings-general.php:170
227
+ msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
228
+ msgstr ""
229
+ "Das ist die Spalte 1 in der Fußzeile der <i>Modern (Premium)</i> Vorlage"
230
+
231
+ #: includes/class-wcpdf-settings-general.php:177
232
+ msgid "Extra field 2"
233
+ msgstr "Zusatzfeld 2"
234
+
235
+ #: includes/class-wcpdf-settings-general.php:185
236
+ msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
237
+ msgstr ""
238
+ "Das ist die Spalte 2 in der Fußzeile der <i>Modern (Premium)</i> Vorlage"
239
+
240
+ #: includes/class-wcpdf-settings-general.php:192
241
+ msgid "Extra field 3"
242
+ msgstr "Zusatzfeld 3"
243
+
244
+ #: includes/class-wcpdf-settings-general.php:200
245
+ msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
246
+ msgstr ""
247
+ "Das ist die Spalte 3 in der Fußzeile der <i>Modern (Premium)</i> Vorlage"
248
+
249
+ #: includes/class-wcpdf-settings.php:45 includes/class-wcpdf-settings.php:46
250
+ msgid "PDF Invoices"
251
+ msgstr "PDF Rechnungen"
252
+
253
+ #: includes/class-wcpdf-settings.php:58
254
+ msgid "Settings"
255
+ msgstr "Einstellungen"
256
+
257
+ #: includes/class-wcpdf-settings.php:71
258
+ msgid "Documentation"
259
+ msgstr ""
260
+
261
+ #: includes/class-wcpdf-settings.php:72
262
+ msgid "Support Forum"
263
+ msgstr ""
264
+
265
+ #: includes/class-wcpdf-settings.php:83
266
+ msgid "General"
267
+ msgstr "Allgemein"
268
+
269
+ #: includes/class-wcpdf-settings.php:89
270
+ msgid "Status"
271
+ msgstr "Status"
272
+
273
+ #: includes/compatibility/class-wc-core-compatibility.php:222
274
+ msgid "WooCommerce"
275
+ msgstr ""
276
+
277
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:113
278
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:176
279
+ msgid "N/A"
280
+ msgstr "nicht verfügbar"
281
+
282
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:305
283
+ msgid "Payment method"
284
+ msgstr "Zahlungsart"
285
+
286
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:326
287
+ msgid "Shipping method"
288
+ msgstr "Versandart"
289
+
290
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:669
291
+ #, php-format
292
+ msgid "(includes %s)"
293
+ msgstr ""
294
+
295
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:672
296
+ #, php-format
297
+ msgid "(Includes %s)"
298
+ msgstr ""
299
+
300
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:702
301
+ msgid "Subtotal"
302
+ msgstr "Zwischensumme"
303
+
304
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:727
305
+ msgid "Shipping"
306
+ msgstr "Versand"
307
+
308
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:790
309
+ msgid "Discount"
310
+ msgstr "Rabatt"
311
+
312
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:831
313
+ msgid "VAT"
314
+ msgstr "MwSt."
315
+
316
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:832
317
+ msgid "Tax rate"
318
+ msgstr "MwSt-Satz"
319
+
320
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:876
321
+ msgid "Total ex. VAT"
322
+ msgstr "Gesamtsumme ohne MwSt."
323
+
324
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:879
325
+ msgid "Total"
326
+ msgstr "Gesamtsumme"
327
+
328
+ #: includes/documents/abstract-wcpdf-order-document.php:674
329
+ msgid "Admin email"
330
+ msgstr ""
331
+
332
+ #: includes/documents/abstract-wcpdf-order-document.php:677
333
+ msgid "Manual email"
334
+ msgstr ""
335
+
336
+ # This is a filename (prefix). do not use spaces or special characters!
337
+ #: includes/documents/class-wcpdf-invoice.php:85
338
+ msgid "invoice"
339
+ msgid_plural "invoices"
340
+ msgstr[0] "Rechnung"
341
+ msgstr[1] "Rechnungen"
342
+
343
+ #: includes/documents/class-wcpdf-invoice.php:130
344
+ #: includes/documents/class-wcpdf-packing-slip.php:94
345
+ msgid "Enable"
346
+ msgstr ""
347
+
348
+ #: includes/documents/class-wcpdf-invoice.php:141
349
+ msgid "Attach to:"
350
+ msgstr ""
351
+
352
+ #: includes/documents/class-wcpdf-invoice.php:148
353
+ #, php-format
354
+ msgid ""
355
+ "It looks like the temp folder (<code>%s</code>) is not writable, check the "
356
+ "permissions for this folder! Without having write access to this folder, the "
357
+ "plugin will not be able to email invoices."
358
+ msgstr ""
359
+ "Das temporäre Verzeichnis (<code>%s</code>) ist nicht beschreibbar, bitte "
360
+ "überprüfe die Berechtigungen dieses Verzeichnisses. Ohne Schreibrechte "
361
+ "können keine E-Mail - Rechnungen verschickt werden."
362
+
363
+ #: includes/documents/class-wcpdf-invoice.php:154
364
+ msgid "Display shipping address"
365
+ msgstr ""
366
+
367
+ #: includes/documents/class-wcpdf-invoice.php:160
368
+ msgid ""
369
+ "Display shipping address (in addition to the default billing address) if "
370
+ "different from billing address"
371
+ msgstr ""
372
+
373
+ #: includes/documents/class-wcpdf-invoice.php:166
374
+ #: includes/documents/class-wcpdf-packing-slip.php:117
375
+ msgid "Display email address"
376
+ msgstr ""
377
+
378
+ #: includes/documents/class-wcpdf-invoice.php:177
379
+ #: includes/documents/class-wcpdf-packing-slip.php:128
380
+ msgid "Display phone number"
381
+ msgstr ""
382
+
383
+ #: includes/documents/class-wcpdf-invoice.php:188
384
+ msgid "Display invoice date"
385
+ msgstr "Rechnungsdatum anzeigen"
386
+
387
+ #: includes/documents/class-wcpdf-invoice.php:200
388
+ msgid "Display invoice number"
389
+ msgstr ""
390
+
391
+ #: includes/documents/class-wcpdf-invoice.php:212
392
+ msgid "Next invoice number (without prefix/suffix etc.)"
393
+ msgstr "Nächste Rechnungsnummer (ohne Präfix/Suffix usw.)"
394
+
395
+ #: includes/documents/class-wcpdf-invoice.php:218
396
+ msgid ""
397
+ "This is the number that will be used for the next document. By default, "
398
+ "numbering starts from 1 and increases for every new document. Note that if "
399
+ "you override this and set it lower than the current/highest number, this "
400
+ "could create duplicate numbers!"
401
+ msgstr ""
402
+
403
+ #: includes/documents/class-wcpdf-invoice.php:224
404
+ msgid "Number format"
405
+ msgstr ""
406
+
407
+ #: includes/documents/class-wcpdf-invoice.php:232
408
+ msgid "Prefix"
409
+ msgstr "Präfix"
410
+
411
+ #: includes/documents/class-wcpdf-invoice.php:234
412
+ msgid ""
413
+ "to use the invoice year and/or month, use [invoice_year] or [invoice_month] "
414
+ "respectively"
415
+ msgstr ""
416
+
417
+ #: includes/documents/class-wcpdf-invoice.php:237
418
+ msgid "Suffix"
419
+ msgstr "Suffix"
420
+
421
+ #: includes/documents/class-wcpdf-invoice.php:242
422
+ msgid "Padding"
423
+ msgstr "Abstand"
424
+
425
+ #: includes/documents/class-wcpdf-invoice.php:245
426
+ msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
427
+ msgstr ""
428
+ "Anzahl der Zeichen hier eingeben - \"6\" eingeben um 42 als 000042 "
429
+ "darzustellen"
430
+
431
+ #: includes/documents/class-wcpdf-invoice.php:248
432
+ msgid ""
433
+ "note: if you have already created a custom invoice number format with a "
434
+ "filter, the above settings will be ignored"
435
+ msgstr ""
436
+ "beachte: solltest du schon mit einem Filter ein eigenes Format der "
437
+ "Rechnungsnummer erstellt haben, werden obige Einstellungen ignoriert"
438
+
439
+ #: includes/documents/class-wcpdf-invoice.php:254
440
+ msgid "Reset invoice number yearly"
441
+ msgstr ""
442
+
443
+ #: includes/documents/class-wcpdf-invoice.php:265
444
+ msgid "Allow My Account invoice download"
445
+ msgstr ""
446
+
447
+ #: includes/documents/class-wcpdf-invoice.php:272
448
+ msgid "Only when an invoice is already created/emailed"
449
+ msgstr ""
450
+
451
+ #: includes/documents/class-wcpdf-invoice.php:273
452
+ msgid "Only for specific order statuses (define below)"
453
+ msgstr ""
454
+
455
+ #: includes/documents/class-wcpdf-invoice.php:274
456
+ msgid "Always"
457
+ msgstr ""
458
+
459
+ #: includes/documents/class-wcpdf-invoice.php:275
460
+ msgid "Never"
461
+ msgstr ""
462
+
463
+ #: includes/documents/class-wcpdf-invoice.php:290
464
+ msgid "Enable invoice number column in the orders list"
465
+ msgstr "Aktivierung Spalte Rechnungsnummer in Bestellübersicht"
466
+
467
+ #: includes/documents/class-wcpdf-invoice.php:301
468
+ msgid "Disable for free products"
469
+ msgstr ""
470
+
471
+ #: includes/documents/class-wcpdf-invoice.php:307
472
+ msgid ""
473
+ "Disable automatic creation/attachment when only free products are ordered"
474
+ msgstr ""
475
+
476
+ #: includes/documents/class-wcpdf-invoice.php:321
477
+ msgid "Invoice numbers are created by a third-party extension."
478
+ msgstr ""
479
+
480
+ #: includes/documents/class-wcpdf-invoice.php:323
481
+ #, php-format
482
+ msgid "Configure it <a href=\"%s\">here</a>."
483
+ msgstr ""
484
+
485
+ #: includes/documents/class-wcpdf-packing-slip.php:32
486
+ #: includes/documents/class-wcpdf-packing-slip.php:41
487
+ #: includes/legacy/class-wcpdf-legacy-functions.php:25
488
+ #: templates/Simple/packing-slip.php:10 templates/Simple/packing-slip.php:22
489
+ msgid "Packing Slip"
490
+ msgstr "Lieferschein"
491
+
492
+ # This is a filename (prefix). do not use spaces or special characters!
493
+ #: includes/documents/class-wcpdf-packing-slip.php:53
494
+ msgid "packing-slip"
495
+ msgid_plural "packing-slips"
496
+ msgstr[0] "Lieferschein"
497
+ msgstr[1] "Lieferscheine"
498
+
499
+ #: includes/documents/class-wcpdf-packing-slip.php:105
500
+ msgid "Display billing address"
501
+ msgstr ""
502
+
503
+ #: includes/documents/class-wcpdf-packing-slip.php:111
504
+ msgid ""
505
+ "Display billing address (in addition to the default shipping address) if "
506
+ "different from shipping address"
507
+ msgstr ""
508
+
509
+ #: includes/legacy/class-wcpdf-legacy-document.php:32
510
+ msgid "Legacy Document"
511
+ msgstr ""
512
+
513
+ #: includes/views/wcpdf-extensions.php:15
514
+ msgid "Check out these premium extensions!"
515
+ msgstr "Premium Erweiterungen schon gesehen?"
516
+
517
+ #: includes/views/wcpdf-extensions.php:16
518
+ msgid "click items to read more"
519
+ msgstr "klicke Elemente um weiterzulesen"
520
+
521
+ #: includes/views/wcpdf-extensions.php:21
522
+ msgid ""
523
+ "Premium PDF Invoice bundle: Everything you need for a perfect invoicing "
524
+ "system"
525
+ msgstr ""
526
+
527
+ #: includes/views/wcpdf-extensions.php:23
528
+ msgid ""
529
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the all our "
530
+ "premium extensions:"
531
+ msgstr ""
532
+
533
+ #: includes/views/wcpdf-extensions.php:24
534
+ msgid "Professional features:"
535
+ msgstr ""
536
+
537
+ #: includes/views/wcpdf-extensions.php:26
538
+ #: includes/views/wcpdf-extensions.php:56
539
+ msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
540
+ msgstr "E-Mail/Druck/Download <b>PDF Gutschrift & Proforma Rechnung</b>"
541
+
542
+ #: includes/views/wcpdf-extensions.php:27
543
+ #: includes/views/wcpdf-extensions.php:57
544
+ msgid ""
545
+ "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
546
+ "packing slips, for example to a drop-shipper or a supplier."
547
+ msgstr ""
548
+
549
+ #: includes/views/wcpdf-extensions.php:28
550
+ #: includes/views/wcpdf-extensions.php:58
551
+ msgid ""
552
+ "Attach <b>up to 3 static files</b> (for example a terms & conditions "
553
+ "document) to the WooCommerce emails of your choice."
554
+ msgstr ""
555
+
556
+ #: includes/views/wcpdf-extensions.php:29
557
+ #: includes/views/wcpdf-extensions.php:59
558
+ msgid ""
559
+ "Use <b>separate numbering systems</b> and/or format for proforma invoices "
560
+ "and credit notes or utilize the main invoice numbering system"
561
+ msgstr ""
562
+ "Anwendung <b>separates Nummerierungssystem</b> und/oder Format für Proforma "
563
+ "Rechnungen und Gutschriften oder Änderung am Hauptsystem der "
564
+ "Rechnungsnummerierung"
565
+
566
+ #: includes/views/wcpdf-extensions.php:30
567
+ #: includes/views/wcpdf-extensions.php:60
568
+ msgid ""
569
+ "<b>Customize</b> the <b>shipping & billing address</b> format to include "
570
+ "additional custom fields, font sizes etc. without the need to create a "
571
+ "custom template."
572
+ msgstr ""
573
+ "<b>Anpassung</b> vom <b>Liefer- & Rechnugnsadresse</b> Format um zusätzliche "
574
+ "freie Felder, Schriftgrößen, usw. einzufügen ohne ein individuellen Template "
575
+ "zu erstellen."
576
+
577
+ #: includes/views/wcpdf-extensions.php:31
578
+ #: includes/views/wcpdf-extensions.php:61
579
+ msgid "Use the plugin in multilingual <b>WPML</b> setups"
580
+ msgstr "Nutzung vom Plugin für Multisprachen <b>WPML</b> Einrichtungen"
581
+
582
+ #: includes/views/wcpdf-extensions.php:33
583
+ #: includes/views/wcpdf-extensions.php:131
584
+ msgid "Advanced, customizable templates"
585
+ msgstr ""
586
+
587
+ #: includes/views/wcpdf-extensions.php:35
588
+ #: includes/views/wcpdf-extensions.php:134
589
+ msgid ""
590
+ "Completely customize the invoice contents (prices, taxes, thumbnails) to "
591
+ "your needs with a drag & drop customizer"
592
+ msgstr ""
593
+
594
+ #: includes/views/wcpdf-extensions.php:36
595
+ #: includes/views/wcpdf-extensions.php:135
596
+ msgid "Two extra stylish premade templates (Modern & Business)"
597
+ msgstr ""
598
+
599
+ #: includes/views/wcpdf-extensions.php:38
600
+ msgid "Upload automatically to dropbox"
601
+ msgstr ""
602
+
603
+ #: includes/views/wcpdf-extensions.php:40
604
+ #: includes/views/wcpdf-extensions.php:97
605
+ msgid ""
606
+ "This extension conveniently uploads all the invoices (and other pdf "
607
+ "documents from the professional extension) that are emailed to your "
608
+ "customers to Dropbox. The best way to keep your invoice administration up to "
609
+ "date!"
610
+ msgstr ""
611
+ "Diese Erweiterung lädt alle Rechnungen (und zusätzlich aktivieren PDF "
612
+ "Dokumente) die dem Kunden gemailt werden zur Dropbox. Die beste Weise um die "
613
+ "Rechnungsadministration aktuell zu halten!"
614
+
615
+ #: includes/views/wcpdf-extensions.php:43
616
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Bundle"
617
+ msgstr ""
618
+
619
+ #: includes/views/wcpdf-extensions.php:52
620
+ msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
621
+ msgstr "Upgrade auf Pro: Proforma Rechnung, Gutschrift & mehr!"
622
+
623
+ #: includes/views/wcpdf-extensions.php:54
624
+ msgid ""
625
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the following "
626
+ "features:"
627
+ msgstr ""
628
+ "Verbessere WooCommerce PDF Invoices & Packing Slips mit diesen Funktionen:"
629
+
630
+ #: includes/views/wcpdf-extensions.php:63
631
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
632
+ msgstr "Hole WooCommerce PDF Invoices & Packing Slips Professional!"
633
+
634
+ #: includes/views/wcpdf-extensions.php:71
635
+ msgid "Automatically send payment reminders to your customers"
636
+ msgstr ""
637
+
638
+ #: includes/views/wcpdf-extensions.php:73
639
+ msgid "WooCommerce Smart Reminder emails"
640
+ msgstr ""
641
+
642
+ #: includes/views/wcpdf-extensions.php:75
643
+ msgid "<b>Completely automatic</b> scheduled emails"
644
+ msgstr ""
645
+
646
+ #: includes/views/wcpdf-extensions.php:76
647
+ msgid ""
648
+ "<b>Rich text editor</b> for the email text, including placeholders for data "
649
+ "from the order (name, order total, etc)"
650
+ msgstr ""
651
+
652
+ #: includes/views/wcpdf-extensions.php:77
653
+ msgid ""
654
+ "Configure the exact requirements for sending an email (time after order, "
655
+ "order status, payment method)"
656
+ msgstr ""
657
+
658
+ #: includes/views/wcpdf-extensions.php:78
659
+ msgid ""
660
+ "Fully <b>WPML Compatible</b> – emails will be automatically sent in the "
661
+ "order language."
662
+ msgstr ""
663
+
664
+ #: includes/views/wcpdf-extensions.php:79
665
+ msgid ""
666
+ "<b>Super versatile!</b> Can be used for any kind of reminder email (review "
667
+ "reminders, repeat purchases)"
668
+ msgstr ""
669
+
670
+ #: includes/views/wcpdf-extensions.php:80
671
+ msgid "Integrates seamlessly with the PDF Invoices & Packing Slips plugin"
672
+ msgstr ""
673
+
674
+ #: includes/views/wcpdf-extensions.php:82
675
+ msgid "Get WooCommerce Smart Reminder Emails"
676
+ msgstr ""
677
+
678
+ #: includes/views/wcpdf-extensions.php:91
679
+ msgid "Upload all invoices automatically to your dropbox"
680
+ msgstr "Alle Rechnungen automatisch auf deine Dropbox hochladen"
681
+
682
+ #: includes/views/wcpdf-extensions.php:98
683
+ msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
684
+ msgstr "Hole WooCommerce PDF Invoices & Packing Slips to dropbox!"
685
+
686
+ #: includes/views/wcpdf-extensions.php:110
687
+ msgid ""
688
+ "Automatically send new orders or packing slips to your printer, as soon as "
689
+ "the customer orders!"
690
+ msgstr ""
691
+ "Schicke neue Bestellungen oder Lieferscheine automatisch an deinen Drucker, "
692
+ "sobald ein Kunde bestellt."
693
+
694
+ #: includes/views/wcpdf-extensions.php:116
695
+ msgid ""
696
+ "Check out the WooCommerce Automatic Order Printing extension from our "
697
+ "partners at Simba Hosting"
698
+ msgstr ""
699
+ "Probiere die Erweiterung „WooCommerce Automatic Order Printing“ unserem "
700
+ "Partner Simba Hosting "
701
+
702
+ #: includes/views/wcpdf-extensions.php:117
703
+ msgid "WooCommerce Automatic Order Printing"
704
+ msgstr "WooCommerce Automatic Order Printing"
705
+
706
+ #: includes/views/wcpdf-extensions.php:136
707
+ #, php-format
708
+ msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
709
+ msgstr "Schau dir die Premium PDF Invoice & Packing Slips Vorlagen an auf %s."
710
+
711
+ #: includes/views/wcpdf-extensions.php:137
712
+ #, php-format
713
+ msgid "For custom templates, contact us at %s."
714
+ msgstr "Für individuelle Vorlagen kontaktiert uns auf %s."
715
+
716
+ #: includes/views/wcpdf-extensions.php:146
717
+ msgid "Hide this message"
718
+ msgstr ""
719
+
720
+ #: includes/views/wcpdf-settings-page.php:8
721
+ msgid "WooCommerce PDF Invoices"
722
+ msgstr "WooCommerce PDF Rechnungen"
723
+
724
+ #: templates/Simple/invoice.php:30 templates/Simple/packing-slip.php:41
725
+ msgid "Billing Address:"
726
+ msgstr "Rechnungsadresse:"
727
+
728
+ #: templates/Simple/invoice.php:41
729
+ msgid "Ship To:"
730
+ msgstr "Versand nach:"
731
+
732
+ #: templates/Simple/invoice.php:50
733
+ msgid "Invoice Number:"
734
+ msgstr "Rechnungsnummer:"
735
+
736
+ #: templates/Simple/invoice.php:61 templates/Simple/packing-slip.php:49
737
+ msgid "Order Number:"
738
+ msgstr "Bestellnummer:"
739
+
740
+ #: templates/Simple/invoice.php:65 templates/Simple/packing-slip.php:53
741
+ msgid "Order Date:"
742
+ msgstr "Bestelldatum:"
743
+
744
+ #: templates/Simple/invoice.php:69
745
+ msgid "Payment Method:"
746
+ msgstr "Zahlungsart:"
747
+
748
+ #: templates/Simple/invoice.php:83 templates/Simple/packing-slip.php:71
749
+ msgid "Product"
750
+ msgstr "Produkt"
751
+
752
+ #: templates/Simple/invoice.php:84 templates/Simple/packing-slip.php:72
753
+ msgid "Quantity"
754
+ msgstr "Anzahl"
755
+
756
+ #: templates/Simple/invoice.php:85
757
+ msgid "Price"
758
+ msgstr "Preis"
759
+
760
+ #: templates/Simple/invoice.php:92 templates/Simple/packing-slip.php:79
761
+ msgid "Description"
762
+ msgstr "Beschreibung"
763
+
764
+ #: templates/Simple/invoice.php:97 templates/Simple/packing-slip.php:84
765
+ msgid "SKU"
766
+ msgstr "Art.-Nr."
767
+
768
+ #: templates/Simple/invoice.php:98 templates/Simple/packing-slip.php:85
769
+ msgid "SKU:"
770
+ msgstr "Art.-Nr.:"
771
+
772
+ #: templates/Simple/invoice.php:99 templates/Simple/packing-slip.php:86
773
+ msgid "Weight:"
774
+ msgstr "Gewicht:"
775
+
776
+ #: templates/Simple/invoice.php:114 templates/Simple/packing-slip.php:101
777
+ msgid "Customer Notes"
778
+ msgstr "Anmerkungen"
779
+
780
+ #: templates/Simple/packing-slip.php:30
781
+ msgid "Shipping Address:"
782
+ msgstr "Lieferadresse:"
783
+
784
+ #: templates/Simple/packing-slip.php:57
785
+ msgid "Shipping Method:"
786
+ msgstr "Versandart:"
787
+
788
+ #: woocommerce-pdf-invoices-packingslips.php:231
789
+ #, php-format
790
+ msgid ""
791
+ "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
792
+ "installed & activated!"
793
+ msgstr ""
794
+ "WooCommerce PDF Invoices & Packing Slips benötigt %sWooCommerce%s "
795
+ "installiert und aktiviert!"
796
+
797
+ #: woocommerce-pdf-invoices-packingslips.php:243
798
+ msgid ""
799
+ "WooCommerce PDF Invoices & Packing Slips requires PHP 5.3 or higher (5.6 or "
800
+ "higher recommended)."
801
+ msgstr ""
802
+
803
+ #: woocommerce-pdf-invoices-packingslips.php:244
804
+ msgid "How to update your PHP version"
805
+ msgstr ""
806
+
807
+ #~ msgid "Attach invoice to:"
808
+ #~ msgstr "Rechnung anfügen zu:"
809
+
810
+ #~ msgid ""
811
+ #~ "This is the number that will be used on the next invoice that is created. "
812
+ #~ "By default, numbering starts from the WooCommerce Order Number of the "
813
+ #~ "first invoice that is created and increases for every new invoice. Note "
814
+ #~ "that if you override this and set it lower than the highest (PDF) invoice "
815
+ #~ "number, this could create double invoice numbers!"
816
+ #~ msgstr ""
817
+ #~ "Dies ist die Nummer welche für die nächste Rechnung verwendet wird. "
818
+ #~ "Vordefiniert startet die Rechnungsnummerierung mit der WooCommerce "
819
+ #~ "Bestellnummer auf der ersten generierten Rechnung und erhöht mit jeder "
820
+ #~ "neuen Rechnung. Beachte bitte das die Überschreibung der höchsten (PDF) "
821
+ #~ "Rechnungsnummer mit einer kleineren Nummer zu doppelten Rechnungsnummern "
822
+ #~ "führen kann."
823
+
824
+ #~ msgid "Invoice number format"
825
+ #~ msgstr "Rechnungsnummer"
826
+
827
+ #~ msgid "Template"
828
+ #~ msgstr "Vorlage"
829
+
830
+ #~ msgid "Admin New Order email"
831
+ #~ msgstr "Admin Neue Bestellung E-Mail"
832
+
833
+ #~ msgid "Customer Processing Order email"
834
+ #~ msgstr "Kunde In Bearbeitung E-Mail"
835
+
836
+ #~ msgid "Customer Completed Order email"
837
+ #~ msgstr "Kunde Bestellung abgeschlossen E-Mail"
838
+
839
+ #~ msgid "Customer Invoice email"
840
+ #~ msgstr "Kunde Rechnung E-Mail"
841
+
842
+ #~ msgid "PDF Template settings"
843
+ #~ msgstr "PDF Vorlageneinstellungen"
844
+
845
+ #~ msgid "Display built-in sequential invoice number"
846
+ #~ msgstr "Anzeige integrierte fortlaufende Rechnungsnummer"
847
+
848
+ #~ msgid ""
849
+ #~ "to use the order year and/or month, use [order_year] or [order_month] "
850
+ #~ "respectively"
851
+ #~ msgstr ""
852
+ #~ "um das Bestelljahr und/oder -monat zu nutzen, verwende [order_year] oder "
853
+ #~ "[order_month]"
854
+
855
+ #~ msgid "PDF Packing Slips"
856
+ #~ msgstr "PDF Lieferscheine"
857
+
858
+ #~ msgid "PDF Invoice"
859
+ #~ msgstr "PDF Rechnung"
860
+
861
+ #~ msgid "PDF Packing Slip"
862
+ #~ msgstr "PDF Lieferschein"
863
+
864
+ #~ msgid "PDF Invoice Number (unformatted!)"
865
+ #~ msgstr "PDF Rechnungsnummer (unformatiert)"
866
+
867
+ #~ msgid "More advanced templates"
868
+ #~ msgstr "Weiter entwickelte Voralgen"
869
+
870
+ #~ msgid "Stylish modern invoices & packing slips with product thumbnails!"
871
+ #~ msgstr ""
872
+ #~ "Stylisch moderne Rechnungen & Lieferscheine mit Miniaturbildern vom "
873
+ #~ "Produkt!"
874
+
875
+ #~ msgid "More tax details on the invoices!"
876
+ #~ msgstr "Zusätzliche Steuerdetails auf der Rechnung!"
877
+
878
+ #~ msgid ""
879
+ #~ "Attach a <b>static file</b> (for example a terms & conditions document) "
880
+ #~ "to the WooCommerce emails of your choice."
881
+ #~ msgstr ""
882
+ #~ "Hinzufügen einer beliebigen <b>Datei </b> (beispielweise AGB, "
883
+ #~ "Widerrufsbelehrung) zum WooCommerce E-Mail"
languages/{wpo_wcpdf-en_AU.mo → woocommerce-pdf-invoices-packing-slips-en_AU.mo} RENAMED
Binary file
languages/woocommerce-pdf-invoices-packing-slips-en_AU.po ADDED
@@ -0,0 +1,774 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
+ "POT-Creation-Date: 2017-06-09 16:37+0200\n"
5
+ "PO-Revision-Date: 2017-06-09 16:37+0200\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: WP Overnight <support@wpovernight.com>\n"
8
+ "Language: en_AU\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.12\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: includes/class-wcpdf-admin.php:72 includes/class-wcpdf-admin.php:174
20
+ msgid "Invoice Number"
21
+ msgstr ""
22
+
23
+ #: includes/class-wcpdf-admin.php:105
24
+ msgid "Create PDF"
25
+ msgstr ""
26
+
27
+ #: includes/class-wcpdf-admin.php:115
28
+ msgid "PDF Invoice data"
29
+ msgstr ""
30
+
31
+ #: includes/class-wcpdf-admin.php:166
32
+ #: includes/documents/class-wcpdf-invoice.php:32
33
+ #: includes/documents/class-wcpdf-invoice.php:41
34
+ #: includes/legacy/class-wcpdf-legacy-functions.php:22
35
+ #: templates/Simple/invoice.php:10 templates/Simple/invoice.php:22
36
+ msgid "Invoice"
37
+ msgstr ""
38
+
39
+ #: includes/class-wcpdf-admin.php:183 includes/class-wcpdf-admin.php:204
40
+ #: templates/Simple/invoice.php:56
41
+ msgid "Invoice Date:"
42
+ msgstr ""
43
+
44
+ #: includes/class-wcpdf-admin.php:189
45
+ msgid "Set invoice number & date"
46
+ msgstr ""
47
+
48
+ #: includes/class-wcpdf-admin.php:196
49
+ msgid "Invoice Number (unformatted!)"
50
+ msgstr ""
51
+
52
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
53
+ msgid "h"
54
+ msgstr ""
55
+
56
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
57
+ msgid "m"
58
+ msgstr ""
59
+
60
+ #: includes/class-wcpdf-frontend.php:55
61
+ msgid "Download invoice (PDF)"
62
+ msgstr ""
63
+
64
+ #: includes/class-wcpdf-main.php:132 includes/class-wcpdf-main.php:153
65
+ #: includes/class-wcpdf-main.php:160 includes/class-wcpdf-main.php:166
66
+ msgid "You do not have sufficient permissions to access this page."
67
+ msgstr ""
68
+
69
+ #: includes/class-wcpdf-main.php:141
70
+ msgid "Some of the export parameters are missing."
71
+ msgstr ""
72
+
73
+ #: includes/class-wcpdf-settings-callbacks.php:27
74
+ msgid ""
75
+ "<b>Warning!</b> The settings below are meant for debugging/development only. "
76
+ "Do not use them on a live website!"
77
+ msgstr ""
78
+
79
+ #: includes/class-wcpdf-settings-callbacks.php:36
80
+ msgid ""
81
+ "These are used for the (optional) footer columns in the <em>Modern "
82
+ "(Premium)</em> template, but can also be used for other elements in your "
83
+ "custom template"
84
+ msgstr ""
85
+
86
+ #: includes/class-wcpdf-settings-callbacks.php:301
87
+ msgid "Image resolution"
88
+ msgstr ""
89
+
90
+ #: includes/class-wcpdf-settings-callbacks.php:325
91
+ msgid "Save"
92
+ msgstr ""
93
+
94
+ #: includes/class-wcpdf-settings-debug.php:34
95
+ msgid "Debug settings"
96
+ msgstr ""
97
+
98
+ #: includes/class-wcpdf-settings-debug.php:40
99
+ msgid "Legacy mode"
100
+ msgstr ""
101
+
102
+ #: includes/class-wcpdf-settings-debug.php:46
103
+ msgid ""
104
+ "Legacy mode ensures compatibility with templates and filters from previous "
105
+ "versions."
106
+ msgstr ""
107
+
108
+ #: includes/class-wcpdf-settings-debug.php:52
109
+ msgid "Enable debug output"
110
+ msgstr ""
111
+
112
+ #: includes/class-wcpdf-settings-debug.php:58
113
+ msgid ""
114
+ "Enable this option to output plugin errors if you're getting a blank page or "
115
+ "other PDF generation issues"
116
+ msgstr ""
117
+
118
+ #: includes/class-wcpdf-settings-debug.php:64
119
+ msgid "Output to HTML"
120
+ msgstr ""
121
+
122
+ #: includes/class-wcpdf-settings-debug.php:70
123
+ msgid ""
124
+ "Send the template output as HTML to the browser instead of creating a PDF."
125
+ msgstr ""
126
+
127
+ #: includes/class-wcpdf-settings-documents.php:29
128
+ #: includes/class-wcpdf-settings.php:84
129
+ msgid "Documents"
130
+ msgstr ""
131
+
132
+ #: includes/class-wcpdf-settings-documents.php:45
133
+ msgid ""
134
+ "All available documents are listed below. Click on a document to configure "
135
+ "it."
136
+ msgstr ""
137
+
138
+ #: includes/class-wcpdf-settings-general.php:37
139
+ msgid "General settings"
140
+ msgstr ""
141
+
142
+ #: includes/class-wcpdf-settings-general.php:43
143
+ msgid "How do you want to view the PDF?"
144
+ msgstr ""
145
+
146
+ #: includes/class-wcpdf-settings-general.php:50
147
+ msgid "Download the PDF"
148
+ msgstr ""
149
+
150
+ #: includes/class-wcpdf-settings-general.php:51
151
+ msgid "Open the PDF in a new browser tab/window"
152
+ msgstr ""
153
+
154
+ #: includes/class-wcpdf-settings-general.php:58
155
+ msgid "Choose a template"
156
+ msgstr ""
157
+
158
+ #: includes/class-wcpdf-settings-general.php:65
159
+ #, php-format
160
+ msgid ""
161
+ "Want to use your own template? Copy all the files from <code>%s</code> to "
162
+ "your (child) theme in <code>%s</code> to customize them"
163
+ msgstr ""
164
+
165
+ #: includes/class-wcpdf-settings-general.php:71
166
+ msgid "Paper size"
167
+ msgstr ""
168
+
169
+ #: includes/class-wcpdf-settings-general.php:78
170
+ msgid "A4"
171
+ msgstr ""
172
+
173
+ #: includes/class-wcpdf-settings-general.php:79
174
+ msgid "Letter"
175
+ msgstr ""
176
+
177
+ #: includes/class-wcpdf-settings-general.php:86
178
+ msgid "Extended currency symbol support"
179
+ msgstr ""
180
+
181
+ #: includes/class-wcpdf-settings-general.php:92
182
+ msgid "Enable this if your currency symbol is not displaying properly"
183
+ msgstr ""
184
+
185
+ #: includes/class-wcpdf-settings-general.php:98
186
+ msgid "Shop header/logo"
187
+ msgstr ""
188
+
189
+ #: includes/class-wcpdf-settings-general.php:104
190
+ msgid "Select or upload your invoice header/logo"
191
+ msgstr ""
192
+
193
+ #: includes/class-wcpdf-settings-general.php:105
194
+ msgid "Set image"
195
+ msgstr ""
196
+
197
+ #: includes/class-wcpdf-settings-general.php:106
198
+ msgid "Remove image"
199
+ msgstr ""
200
+
201
+ #: includes/class-wcpdf-settings-general.php:113
202
+ msgid "Shop Name"
203
+ msgstr ""
204
+
205
+ #: includes/class-wcpdf-settings-general.php:126
206
+ msgid "Shop Address"
207
+ msgstr ""
208
+
209
+ #: includes/class-wcpdf-settings-general.php:141
210
+ msgid "Footer: terms & conditions, policies, etc."
211
+ msgstr ""
212
+
213
+ #: includes/class-wcpdf-settings-general.php:156
214
+ msgid "Extra template fields"
215
+ msgstr ""
216
+
217
+ #: includes/class-wcpdf-settings-general.php:162
218
+ msgid "Extra field 1"
219
+ msgstr ""
220
+
221
+ #: includes/class-wcpdf-settings-general.php:170
222
+ msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
223
+ msgstr ""
224
+
225
+ #: includes/class-wcpdf-settings-general.php:177
226
+ msgid "Extra field 2"
227
+ msgstr ""
228
+
229
+ #: includes/class-wcpdf-settings-general.php:185
230
+ msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
231
+ msgstr ""
232
+
233
+ #: includes/class-wcpdf-settings-general.php:192
234
+ msgid "Extra field 3"
235
+ msgstr ""
236
+
237
+ #: includes/class-wcpdf-settings-general.php:200
238
+ msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
239
+ msgstr ""
240
+
241
+ #: includes/class-wcpdf-settings.php:45 includes/class-wcpdf-settings.php:46
242
+ msgid "PDF Invoices"
243
+ msgstr ""
244
+
245
+ #: includes/class-wcpdf-settings.php:58
246
+ msgid "Settings"
247
+ msgstr ""
248
+
249
+ #: includes/class-wcpdf-settings.php:71
250
+ msgid "Documentation"
251
+ msgstr ""
252
+
253
+ #: includes/class-wcpdf-settings.php:72
254
+ msgid "Support Forum"
255
+ msgstr ""
256
+
257
+ #: includes/class-wcpdf-settings.php:83
258
+ msgid "General"
259
+ msgstr ""
260
+
261
+ #: includes/class-wcpdf-settings.php:89
262
+ msgid "Status"
263
+ msgstr ""
264
+
265
+ #: includes/compatibility/class-wc-core-compatibility.php:222
266
+ msgid "WooCommerce"
267
+ msgstr ""
268
+
269
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:113
270
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:176
271
+ msgid "N/A"
272
+ msgstr ""
273
+
274
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:305
275
+ msgid "Payment method"
276
+ msgstr ""
277
+
278
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:326
279
+ msgid "Shipping method"
280
+ msgstr ""
281
+
282
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:669
283
+ #, php-format
284
+ msgid "(includes %s)"
285
+ msgstr ""
286
+
287
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:672
288
+ #, php-format
289
+ msgid "(Includes %s)"
290
+ msgstr ""
291
+
292
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:702
293
+ msgid "Subtotal"
294
+ msgstr ""
295
+
296
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:727
297
+ msgid "Shipping"
298
+ msgstr ""
299
+
300
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:790
301
+ msgid "Discount"
302
+ msgstr ""
303
+
304
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:831
305
+ msgid "VAT"
306
+ msgstr "GST"
307
+
308
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:832
309
+ msgid "Tax rate"
310
+ msgstr ""
311
+
312
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:876
313
+ msgid "Total ex. VAT"
314
+ msgstr "Total ex. GST"
315
+
316
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:879
317
+ msgid "Total"
318
+ msgstr ""
319
+
320
+ #: includes/documents/abstract-wcpdf-order-document.php:674
321
+ msgid "Admin email"
322
+ msgstr ""
323
+
324
+ #: includes/documents/abstract-wcpdf-order-document.php:677
325
+ msgid "Manual email"
326
+ msgstr ""
327
+
328
+ # This is a filename (prefix). do not use spaces or special characters!
329
+ #: includes/documents/class-wcpdf-invoice.php:85
330
+ msgid "invoice"
331
+ msgid_plural "invoices"
332
+ msgstr[0] ""
333
+ msgstr[1] ""
334
+
335
+ #: includes/documents/class-wcpdf-invoice.php:130
336
+ #: includes/documents/class-wcpdf-packing-slip.php:94
337
+ msgid "Enable"
338
+ msgstr ""
339
+
340
+ #: includes/documents/class-wcpdf-invoice.php:141
341
+ msgid "Attach to:"
342
+ msgstr ""
343
+
344
+ #: includes/documents/class-wcpdf-invoice.php:148
345
+ #, php-format
346
+ msgid ""
347
+ "It looks like the temp folder (<code>%s</code>) is not writable, check the "
348
+ "permissions for this folder! Without having write access to this folder, the "
349
+ "plugin will not be able to email invoices."
350
+ msgstr ""
351
+
352
+ #: includes/documents/class-wcpdf-invoice.php:154
353
+ msgid "Display shipping address"
354
+ msgstr ""
355
+
356
+ #: includes/documents/class-wcpdf-invoice.php:160
357
+ msgid ""
358
+ "Display shipping address (in addition to the default billing address) if "
359
+ "different from billing address"
360
+ msgstr ""
361
+
362
+ #: includes/documents/class-wcpdf-invoice.php:166
363
+ #: includes/documents/class-wcpdf-packing-slip.php:117
364
+ msgid "Display email address"
365
+ msgstr ""
366
+
367
+ #: includes/documents/class-wcpdf-invoice.php:177
368
+ #: includes/documents/class-wcpdf-packing-slip.php:128
369
+ msgid "Display phone number"
370
+ msgstr ""
371
+
372
+ #: includes/documents/class-wcpdf-invoice.php:188
373
+ msgid "Display invoice date"
374
+ msgstr ""
375
+
376
+ #: includes/documents/class-wcpdf-invoice.php:200
377
+ msgid "Display invoice number"
378
+ msgstr ""
379
+
380
+ #: includes/documents/class-wcpdf-invoice.php:212
381
+ msgid "Next invoice number (without prefix/suffix etc.)"
382
+ msgstr ""
383
+
384
+ #: includes/documents/class-wcpdf-invoice.php:218
385
+ msgid ""
386
+ "This is the number that will be used for the next document. By default, "
387
+ "numbering starts from 1 and increases for every new document. Note that if "
388
+ "you override this and set it lower than the current/highest number, this "
389
+ "could create duplicate numbers!"
390
+ msgstr ""
391
+
392
+ #: includes/documents/class-wcpdf-invoice.php:224
393
+ msgid "Number format"
394
+ msgstr ""
395
+
396
+ #: includes/documents/class-wcpdf-invoice.php:232
397
+ msgid "Prefix"
398
+ msgstr ""
399
+
400
+ #: includes/documents/class-wcpdf-invoice.php:234
401
+ msgid ""
402
+ "to use the invoice year and/or month, use [invoice_year] or [invoice_month] "
403
+ "respectively"
404
+ msgstr ""
405
+
406
+ #: includes/documents/class-wcpdf-invoice.php:237
407
+ msgid "Suffix"
408
+ msgstr ""
409
+
410
+ #: includes/documents/class-wcpdf-invoice.php:242
411
+ msgid "Padding"
412
+ msgstr ""
413
+
414
+ #: includes/documents/class-wcpdf-invoice.php:245
415
+ msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
416
+ msgstr ""
417
+
418
+ #: includes/documents/class-wcpdf-invoice.php:248
419
+ msgid ""
420
+ "note: if you have already created a custom invoice number format with a "
421
+ "filter, the above settings will be ignored"
422
+ msgstr ""
423
+
424
+ #: includes/documents/class-wcpdf-invoice.php:254
425
+ msgid "Reset invoice number yearly"
426
+ msgstr ""
427
+
428
+ #: includes/documents/class-wcpdf-invoice.php:265
429
+ msgid "Allow My Account invoice download"
430
+ msgstr ""
431
+
432
+ #: includes/documents/class-wcpdf-invoice.php:272
433
+ msgid "Only when an invoice is already created/emailed"
434
+ msgstr ""
435
+
436
+ #: includes/documents/class-wcpdf-invoice.php:273
437
+ msgid "Only for specific order statuses (define below)"
438
+ msgstr ""
439
+
440
+ #: includes/documents/class-wcpdf-invoice.php:274
441
+ msgid "Always"
442
+ msgstr ""
443
+
444
+ #: includes/documents/class-wcpdf-invoice.php:275
445
+ msgid "Never"
446
+ msgstr ""
447
+
448
+ #: includes/documents/class-wcpdf-invoice.php:290
449
+ msgid "Enable invoice number column in the orders list"
450
+ msgstr ""
451
+
452
+ #: includes/documents/class-wcpdf-invoice.php:301
453
+ msgid "Disable for free products"
454
+ msgstr ""
455
+
456
+ #: includes/documents/class-wcpdf-invoice.php:307
457
+ msgid ""
458
+ "Disable automatic creation/attachment when only free products are ordered"
459
+ msgstr ""
460
+
461
+ #: includes/documents/class-wcpdf-invoice.php:321
462
+ msgid "Invoice numbers are created by a third-party extension."
463
+ msgstr ""
464
+
465
+ #: includes/documents/class-wcpdf-invoice.php:323
466
+ #, php-format
467
+ msgid "Configure it <a href=\"%s\">here</a>."
468
+ msgstr ""
469
+
470
+ #: includes/documents/class-wcpdf-packing-slip.php:32
471
+ #: includes/documents/class-wcpdf-packing-slip.php:41
472
+ #: includes/legacy/class-wcpdf-legacy-functions.php:25
473
+ #: templates/Simple/packing-slip.php:10 templates/Simple/packing-slip.php:22
474
+ msgid "Packing Slip"
475
+ msgstr ""
476
+
477
+ # This is a filename (prefix). do not use spaces or special characters!
478
+ #: includes/documents/class-wcpdf-packing-slip.php:53
479
+ msgid "packing-slip"
480
+ msgid_plural "packing-slips"
481
+ msgstr[0] ""
482
+ msgstr[1] ""
483
+
484
+ #: includes/documents/class-wcpdf-packing-slip.php:105
485
+ msgid "Display billing address"
486
+ msgstr ""
487
+
488
+ #: includes/documents/class-wcpdf-packing-slip.php:111
489
+ msgid ""
490
+ "Display billing address (in addition to the default shipping address) if "
491
+ "different from shipping address"
492
+ msgstr ""
493
+
494
+ #: includes/legacy/class-wcpdf-legacy-document.php:32
495
+ msgid "Legacy Document"
496
+ msgstr ""
497
+
498
+ #: includes/views/wcpdf-extensions.php:15
499
+ msgid "Check out these premium extensions!"
500
+ msgstr ""
501
+
502
+ #: includes/views/wcpdf-extensions.php:16
503
+ msgid "click items to read more"
504
+ msgstr ""
505
+
506
+ #: includes/views/wcpdf-extensions.php:21
507
+ msgid ""
508
+ "Premium PDF Invoice bundle: Everything you need for a perfect invoicing "
509
+ "system"
510
+ msgstr ""
511
+
512
+ #: includes/views/wcpdf-extensions.php:23
513
+ msgid ""
514
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the all our "
515
+ "premium extensions:"
516
+ msgstr ""
517
+
518
+ #: includes/views/wcpdf-extensions.php:24
519
+ msgid "Professional features:"
520
+ msgstr ""
521
+
522
+ #: includes/views/wcpdf-extensions.php:26
523
+ #: includes/views/wcpdf-extensions.php:56
524
+ msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
525
+ msgstr ""
526
+
527
+ #: includes/views/wcpdf-extensions.php:27
528
+ #: includes/views/wcpdf-extensions.php:57
529
+ msgid ""
530
+ "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
531
+ "packing slips, for example to a drop-shipper or a supplier."
532
+ msgstr ""
533
+
534
+ #: includes/views/wcpdf-extensions.php:28
535
+ #: includes/views/wcpdf-extensions.php:58
536
+ msgid ""
537
+ "Attach <b>up to 3 static files</b> (for example a terms & conditions "
538
+ "document) to the WooCommerce emails of your choice."
539
+ msgstr ""
540
+
541
+ #: includes/views/wcpdf-extensions.php:29
542
+ #: includes/views/wcpdf-extensions.php:59
543
+ msgid ""
544
+ "Use <b>separate numbering systems</b> and/or format for proforma invoices "
545
+ "and credit notes or utilize the main invoice numbering system"
546
+ msgstr ""
547
+
548
+ #: includes/views/wcpdf-extensions.php:30
549
+ #: includes/views/wcpdf-extensions.php:60
550
+ msgid ""
551
+ "<b>Customize</b> the <b>shipping & billing address</b> format to include "
552
+ "additional custom fields, font sizes etc. without the need to create a "
553
+ "custom template."
554
+ msgstr ""
555
+
556
+ #: includes/views/wcpdf-extensions.php:31
557
+ #: includes/views/wcpdf-extensions.php:61
558
+ msgid "Use the plugin in multilingual <b>WPML</b> setups"
559
+ msgstr ""
560
+
561
+ #: includes/views/wcpdf-extensions.php:33
562
+ #: includes/views/wcpdf-extensions.php:131
563
+ msgid "Advanced, customizable templates"
564
+ msgstr ""
565
+
566
+ #: includes/views/wcpdf-extensions.php:35
567
+ #: includes/views/wcpdf-extensions.php:134
568
+ msgid ""
569
+ "Completely customize the invoice contents (prices, taxes, thumbnails) to "
570
+ "your needs with a drag & drop customizer"
571
+ msgstr ""
572
+
573
+ #: includes/views/wcpdf-extensions.php:36
574
+ #: includes/views/wcpdf-extensions.php:135
575
+ msgid "Two extra stylish premade templates (Modern & Business)"
576
+ msgstr ""
577
+
578
+ #: includes/views/wcpdf-extensions.php:38
579
+ msgid "Upload automatically to dropbox"
580
+ msgstr ""
581
+
582
+ #: includes/views/wcpdf-extensions.php:40
583
+ #: includes/views/wcpdf-extensions.php:97
584
+ msgid ""
585
+ "This extension conveniently uploads all the invoices (and other pdf "
586
+ "documents from the professional extension) that are emailed to your "
587
+ "customers to Dropbox. The best way to keep your invoice administration up to "
588
+ "date!"
589
+ msgstr ""
590
+
591
+ #: includes/views/wcpdf-extensions.php:43
592
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Bundle"
593
+ msgstr ""
594
+
595
+ #: includes/views/wcpdf-extensions.php:52
596
+ msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
597
+ msgstr ""
598
+
599
+ #: includes/views/wcpdf-extensions.php:54
600
+ msgid ""
601
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the following "
602
+ "features:"
603
+ msgstr ""
604
+
605
+ #: includes/views/wcpdf-extensions.php:63
606
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
607
+ msgstr ""
608
+
609
+ #: includes/views/wcpdf-extensions.php:71
610
+ msgid "Automatically send payment reminders to your customers"
611
+ msgstr ""
612
+
613
+ #: includes/views/wcpdf-extensions.php:73
614
+ msgid "WooCommerce Smart Reminder emails"
615
+ msgstr ""
616
+
617
+ #: includes/views/wcpdf-extensions.php:75
618
+ msgid "<b>Completely automatic</b> scheduled emails"
619
+ msgstr ""
620
+
621
+ #: includes/views/wcpdf-extensions.php:76
622
+ msgid ""
623
+ "<b>Rich text editor</b> for the email text, including placeholders for data "
624
+ "from the order (name, order total, etc)"
625
+ msgstr ""
626
+
627
+ #: includes/views/wcpdf-extensions.php:77
628
+ msgid ""
629
+ "Configure the exact requirements for sending an email (time after order, "
630
+ "order status, payment method)"
631
+ msgstr ""
632
+
633
+ #: includes/views/wcpdf-extensions.php:78
634
+ msgid ""
635
+ "Fully <b>WPML Compatible</b> – emails will be automatically sent in the "
636
+ "order language."
637
+ msgstr ""
638
+
639
+ #: includes/views/wcpdf-extensions.php:79
640
+ msgid ""
641
+ "<b>Super versatile!</b> Can be used for any kind of reminder email (review "
642
+ "reminders, repeat purchases)"
643
+ msgstr ""
644
+
645
+ #: includes/views/wcpdf-extensions.php:80
646
+ msgid "Integrates seamlessly with the PDF Invoices & Packing Slips plugin"
647
+ msgstr ""
648
+
649
+ #: includes/views/wcpdf-extensions.php:82
650
+ msgid "Get WooCommerce Smart Reminder Emails"
651
+ msgstr ""
652
+
653
+ #: includes/views/wcpdf-extensions.php:91
654
+ msgid "Upload all invoices automatically to your dropbox"
655
+ msgstr ""
656
+
657
+ #: includes/views/wcpdf-extensions.php:98
658
+ msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
659
+ msgstr ""
660
+
661
+ #: includes/views/wcpdf-extensions.php:110
662
+ msgid ""
663
+ "Automatically send new orders or packing slips to your printer, as soon as "
664
+ "the customer orders!"
665
+ msgstr ""
666
+
667
+ #: includes/views/wcpdf-extensions.php:116
668
+ msgid ""
669
+ "Check out the WooCommerce Automatic Order Printing extension from our "
670
+ "partners at Simba Hosting"
671
+ msgstr ""
672
+
673
+ #: includes/views/wcpdf-extensions.php:117
674
+ msgid "WooCommerce Automatic Order Printing"
675
+ msgstr ""
676
+
677
+ #: includes/views/wcpdf-extensions.php:136
678
+ #, php-format
679
+ msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
680
+ msgstr ""
681
+
682
+ #: includes/views/wcpdf-extensions.php:137
683
+ #, php-format
684
+ msgid "For custom templates, contact us at %s."
685
+ msgstr ""
686
+
687
+ #: includes/views/wcpdf-extensions.php:146
688
+ msgid "Hide this message"
689
+ msgstr ""
690
+
691
+ #: includes/views/wcpdf-settings-page.php:8
692
+ msgid "WooCommerce PDF Invoices"
693
+ msgstr ""
694
+
695
+ #: templates/Simple/invoice.php:30 templates/Simple/packing-slip.php:41
696
+ msgid "Billing Address:"
697
+ msgstr ""
698
+
699
+ #: templates/Simple/invoice.php:41
700
+ msgid "Ship To:"
701
+ msgstr ""
702
+
703
+ #: templates/Simple/invoice.php:50
704
+ msgid "Invoice Number:"
705
+ msgstr ""
706
+
707
+ #: templates/Simple/invoice.php:61 templates/Simple/packing-slip.php:49
708
+ msgid "Order Number:"
709
+ msgstr ""
710
+
711
+ #: templates/Simple/invoice.php:65 templates/Simple/packing-slip.php:53
712
+ msgid "Order Date:"
713
+ msgstr ""
714
+
715
+ #: templates/Simple/invoice.php:69
716
+ msgid "Payment Method:"
717
+ msgstr ""
718
+
719
+ #: templates/Simple/invoice.php:83 templates/Simple/packing-slip.php:71
720
+ msgid "Product"
721
+ msgstr ""
722
+
723
+ #: templates/Simple/invoice.php:84 templates/Simple/packing-slip.php:72
724
+ msgid "Quantity"
725
+ msgstr ""
726
+
727
+ #: templates/Simple/invoice.php:85
728
+ msgid "Price"
729
+ msgstr ""
730
+
731
+ #: templates/Simple/invoice.php:92 templates/Simple/packing-slip.php:79
732
+ msgid "Description"
733
+ msgstr ""
734
+
735
+ #: templates/Simple/invoice.php:97 templates/Simple/packing-slip.php:84
736
+ msgid "SKU"
737
+ msgstr ""
738
+
739
+ #: templates/Simple/invoice.php:98 templates/Simple/packing-slip.php:85
740
+ msgid "SKU:"
741
+ msgstr ""
742
+
743
+ #: templates/Simple/invoice.php:99 templates/Simple/packing-slip.php:86
744
+ msgid "Weight:"
745
+ msgstr ""
746
+
747
+ #: templates/Simple/invoice.php:114 templates/Simple/packing-slip.php:101
748
+ msgid "Customer Notes"
749
+ msgstr ""
750
+
751
+ #: templates/Simple/packing-slip.php:30
752
+ msgid "Shipping Address:"
753
+ msgstr ""
754
+
755
+ #: templates/Simple/packing-slip.php:57
756
+ msgid "Shipping Method:"
757
+ msgstr ""
758
+
759
+ #: woocommerce-pdf-invoices-packingslips.php:231
760
+ #, php-format
761
+ msgid ""
762
+ "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
763
+ "installed & activated!"
764
+ msgstr ""
765
+
766
+ #: woocommerce-pdf-invoices-packingslips.php:243
767
+ msgid ""
768
+ "WooCommerce PDF Invoices & Packing Slips requires PHP 5.3 or higher (5.6 or "
769
+ "higher recommended)."
770
+ msgstr ""
771
+
772
+ #: woocommerce-pdf-invoices-packingslips.php:244
773
+ msgid "How to update your PHP version"
774
+ msgstr ""
languages/woocommerce-pdf-invoices-packing-slips-es_ES.mo ADDED
Binary file
languages/woocommerce-pdf-invoices-packing-slips-es_ES.po ADDED
@@ -0,0 +1,949 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
+ "POT-Creation-Date: 2017-06-09 16:37+0200\n"
5
+ "PO-Revision-Date: 2017-06-09 16:37+0200\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: WP Overnight <support@wpovernight.com>\n"
8
+ "Language: es_ES\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.12\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: includes/class-wcpdf-admin.php:72 includes/class-wcpdf-admin.php:174
20
+ msgid "Invoice Number"
21
+ msgstr "Nº de la factura"
22
+
23
+ #: includes/class-wcpdf-admin.php:105
24
+ msgid "Create PDF"
25
+ msgstr "Crear PDF"
26
+
27
+ #: includes/class-wcpdf-admin.php:115
28
+ msgid "PDF Invoice data"
29
+ msgstr "Fecha de Factura PDF"
30
+
31
+ #: includes/class-wcpdf-admin.php:166
32
+ #: includes/documents/class-wcpdf-invoice.php:32
33
+ #: includes/documents/class-wcpdf-invoice.php:41
34
+ #: includes/legacy/class-wcpdf-legacy-functions.php:22
35
+ #: templates/Simple/invoice.php:10 templates/Simple/invoice.php:22
36
+ msgid "Invoice"
37
+ msgstr "Factura"
38
+
39
+ #: includes/class-wcpdf-admin.php:183 includes/class-wcpdf-admin.php:204
40
+ #: templates/Simple/invoice.php:56
41
+ msgid "Invoice Date:"
42
+ msgstr "Fecha de la factura:"
43
+
44
+ #: includes/class-wcpdf-admin.php:189
45
+ msgid "Set invoice number & date"
46
+ msgstr ""
47
+
48
+ #: includes/class-wcpdf-admin.php:196
49
+ msgid "Invoice Number (unformatted!)"
50
+ msgstr "Número de la factura (unformatted!)"
51
+
52
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
53
+ msgid "h"
54
+ msgstr "H"
55
+
56
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
57
+ msgid "m"
58
+ msgstr "H"
59
+
60
+ #: includes/class-wcpdf-frontend.php:55
61
+ msgid "Download invoice (PDF)"
62
+ msgstr "Descargar factura (PDF)"
63
+
64
+ #: includes/class-wcpdf-main.php:132 includes/class-wcpdf-main.php:153
65
+ #: includes/class-wcpdf-main.php:160 includes/class-wcpdf-main.php:166
66
+ msgid "You do not have sufficient permissions to access this page."
67
+ msgstr "No tiene suficientes permitos para acceder a esta página."
68
+
69
+ #: includes/class-wcpdf-main.php:141
70
+ msgid "Some of the export parameters are missing."
71
+ msgstr "No se encuentran algunos de los parámetros de exportación"
72
+
73
+ #: includes/class-wcpdf-settings-callbacks.php:27
74
+ msgid ""
75
+ "<b>Warning!</b> The settings below are meant for debugging/development only. "
76
+ "Do not use them on a live website!"
77
+ msgstr ""
78
+ "<b>Atención!</b> Los ajustes de debajo son solo para depurarción/ "
79
+ "desarrollo. No usarlos en una web funcional!"
80
+
81
+ #: includes/class-wcpdf-settings-callbacks.php:36
82
+ msgid ""
83
+ "These are used for the (optional) footer columns in the <em>Modern "
84
+ "(Premium)</em> template, but can also be used for other elements in your "
85
+ "custom template"
86
+ msgstr ""
87
+ "Estos son usados para las columnas del pie de página (opcional) en la "
88
+ "plantilla <em>Modern (Premium)</em>, pero también se pueden emplear en la "
89
+ "plantilla personalizada:"
90
+
91
+ #: includes/class-wcpdf-settings-callbacks.php:301
92
+ msgid "Image resolution"
93
+ msgstr "Resolución de la imagen"
94
+
95
+ #: includes/class-wcpdf-settings-callbacks.php:325
96
+ msgid "Save"
97
+ msgstr ""
98
+
99
+ #: includes/class-wcpdf-settings-debug.php:34
100
+ msgid "Debug settings"
101
+ msgstr "Depurar ajustes"
102
+
103
+ #: includes/class-wcpdf-settings-debug.php:40
104
+ msgid "Legacy mode"
105
+ msgstr ""
106
+
107
+ #: includes/class-wcpdf-settings-debug.php:46
108
+ msgid ""
109
+ "Legacy mode ensures compatibility with templates and filters from previous "
110
+ "versions."
111
+ msgstr ""
112
+
113
+ #: includes/class-wcpdf-settings-debug.php:52
114
+ msgid "Enable debug output"
115
+ msgstr "Activar salida de depuración"
116
+
117
+ #: includes/class-wcpdf-settings-debug.php:58
118
+ msgid ""
119
+ "Enable this option to output plugin errors if you're getting a blank page or "
120
+ "other PDF generation issues"
121
+ msgstr ""
122
+ "Activar esta opción para depurar errores del plugin si está generando una "
123
+ "página en blanco u otros problemas con la generación de PDF"
124
+
125
+ #: includes/class-wcpdf-settings-debug.php:64
126
+ msgid "Output to HTML"
127
+ msgstr "Salida a HTML"
128
+
129
+ #: includes/class-wcpdf-settings-debug.php:70
130
+ msgid ""
131
+ "Send the template output as HTML to the browser instead of creating a PDF."
132
+ msgstr ""
133
+ "Enviar la plantilla de salida como HTML al explorador en ve de crear un PDF."
134
+
135
+ #: includes/class-wcpdf-settings-documents.php:29
136
+ #: includes/class-wcpdf-settings.php:84
137
+ msgid "Documents"
138
+ msgstr ""
139
+
140
+ #: includes/class-wcpdf-settings-documents.php:45
141
+ msgid ""
142
+ "All available documents are listed below. Click on a document to configure "
143
+ "it."
144
+ msgstr ""
145
+
146
+ #: includes/class-wcpdf-settings-general.php:37
147
+ msgid "General settings"
148
+ msgstr "Ajustes generales"
149
+
150
+ #: includes/class-wcpdf-settings-general.php:43
151
+ msgid "How do you want to view the PDF?"
152
+ msgstr "¿Cómo desea visualizar el PDF?"
153
+
154
+ #: includes/class-wcpdf-settings-general.php:50
155
+ msgid "Download the PDF"
156
+ msgstr "Descargándolo."
157
+
158
+ #: includes/class-wcpdf-settings-general.php:51
159
+ msgid "Open the PDF in a new browser tab/window"
160
+ msgstr "Abriéndolo en una nueva pestaña/ventana del navegador."
161
+
162
+ #: includes/class-wcpdf-settings-general.php:58
163
+ msgid "Choose a template"
164
+ msgstr "Elige una plantilla"
165
+
166
+ #: includes/class-wcpdf-settings-general.php:65
167
+ #, php-format
168
+ msgid ""
169
+ "Want to use your own template? Copy all the files from <code>%s</code> to "
170
+ "your (child) theme in <code>%s</code> to customize them"
171
+ msgstr ""
172
+ "¿Quieres usar tu propia plantilla? Copia los archivos de la carpeta <code>"
173
+ "%s</code> a tu \"theme\" (o child theme) en <code>%s</code> para "
174
+ "personalizarlos."
175
+
176
+ #: includes/class-wcpdf-settings-general.php:71
177
+ msgid "Paper size"
178
+ msgstr "Tamaño del papel"
179
+
180
+ #: includes/class-wcpdf-settings-general.php:78
181
+ msgid "A4"
182
+ msgstr "A4"
183
+
184
+ #: includes/class-wcpdf-settings-general.php:79
185
+ msgid "Letter"
186
+ msgstr "Carta"
187
+
188
+ #: includes/class-wcpdf-settings-general.php:86
189
+ msgid "Extended currency symbol support"
190
+ msgstr ""
191
+
192
+ #: includes/class-wcpdf-settings-general.php:92
193
+ msgid "Enable this if your currency symbol is not displaying properly"
194
+ msgstr ""
195
+
196
+ #: includes/class-wcpdf-settings-general.php:98
197
+ msgid "Shop header/logo"
198
+ msgstr "Logotipo de la tienda"
199
+
200
+ #: includes/class-wcpdf-settings-general.php:104
201
+ msgid "Select or upload your invoice header/logo"
202
+ msgstr "Selecciona o sube una logotipo para la cabecera de la factura"
203
+
204
+ #: includes/class-wcpdf-settings-general.php:105
205
+ msgid "Set image"
206
+ msgstr "Añadir imagen"
207
+
208
+ #: includes/class-wcpdf-settings-general.php:106
209
+ msgid "Remove image"
210
+ msgstr "Eliminar la imagen"
211
+
212
+ #: includes/class-wcpdf-settings-general.php:113
213
+ msgid "Shop Name"
214
+ msgstr "Nombre de la tienda"
215
+
216
+ #: includes/class-wcpdf-settings-general.php:126
217
+ msgid "Shop Address"
218
+ msgstr "Dirección de la tienda"
219
+
220
+ #: includes/class-wcpdf-settings-general.php:141
221
+ msgid "Footer: terms & conditions, policies, etc."
222
+ msgstr "Pie de página: Términos y condiciones, políticas, etc."
223
+
224
+ #: includes/class-wcpdf-settings-general.php:156
225
+ msgid "Extra template fields"
226
+ msgstr "Campos extra de la plantilla"
227
+
228
+ #: includes/class-wcpdf-settings-general.php:162
229
+ msgid "Extra field 1"
230
+ msgstr "Campo extra 1"
231
+
232
+ #: includes/class-wcpdf-settings-general.php:170
233
+ msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
234
+ msgstr ""
235
+ "Esta es la columna 1 del pie de página en la plantilla <i>Modern (Premium)</"
236
+ "i>."
237
+
238
+ #: includes/class-wcpdf-settings-general.php:177
239
+ msgid "Extra field 2"
240
+ msgstr "Campo extra 2"
241
+
242
+ #: includes/class-wcpdf-settings-general.php:185
243
+ msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
244
+ msgstr ""
245
+ "Esta es la columna 2 del pie de página en la plantilla <i>Modern (Premium)</"
246
+ "i>."
247
+
248
+ #: includes/class-wcpdf-settings-general.php:192
249
+ msgid "Extra field 3"
250
+ msgstr "Campo extra 3"
251
+
252
+ #: includes/class-wcpdf-settings-general.php:200
253
+ msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
254
+ msgstr ""
255
+ "Esta es la columna 3 del pie de página en la plantilla <i>Modern (Premium)</"
256
+ "i>."
257
+
258
+ #: includes/class-wcpdf-settings.php:45 includes/class-wcpdf-settings.php:46
259
+ msgid "PDF Invoices"
260
+ msgstr "Facturas PDF"
261
+
262
+ #: includes/class-wcpdf-settings.php:58
263
+ msgid "Settings"
264
+ msgstr "Ajustes"
265
+
266
+ #: includes/class-wcpdf-settings.php:71
267
+ msgid "Documentation"
268
+ msgstr ""
269
+
270
+ #: includes/class-wcpdf-settings.php:72
271
+ msgid "Support Forum"
272
+ msgstr ""
273
+
274
+ #: includes/class-wcpdf-settings.php:83
275
+ msgid "General"
276
+ msgstr "General"
277
+
278
+ #: includes/class-wcpdf-settings.php:89
279
+ msgid "Status"
280
+ msgstr "Estado"
281
+
282
+ #: includes/compatibility/class-wc-core-compatibility.php:222
283
+ msgid "WooCommerce"
284
+ msgstr ""
285
+
286
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:113
287
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:176
288
+ msgid "N/A"
289
+ msgstr "No disponible"
290
+
291
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:305
292
+ msgid "Payment method"
293
+ msgstr "Forma de pago"
294
+
295
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:326
296
+ msgid "Shipping method"
297
+ msgstr "Envío"
298
+
299
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:669
300
+ #, php-format
301
+ msgid "(includes %s)"
302
+ msgstr ""
303
+
304
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:672
305
+ #, php-format
306
+ msgid "(Includes %s)"
307
+ msgstr "(Incluye %s)"
308
+
309
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:702
310
+ msgid "Subtotal"
311
+ msgstr "Subtotal"
312
+
313
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:727
314
+ msgid "Shipping"
315
+ msgstr "Envío"
316
+
317
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:790
318
+ msgid "Discount"
319
+ msgstr "Descuento"
320
+
321
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:831
322
+ msgid "VAT"
323
+ msgstr "IVA"
324
+
325
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:832
326
+ msgid "Tax rate"
327
+ msgstr "Porcentaje del Impuesto"
328
+
329
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:876
330
+ msgid "Total ex. VAT"
331
+ msgstr "Total (Sin IVA)"
332
+
333
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:879
334
+ msgid "Total"
335
+ msgstr "Total"
336
+
337
+ #: includes/documents/abstract-wcpdf-order-document.php:674
338
+ msgid "Admin email"
339
+ msgstr ""
340
+
341
+ #: includes/documents/abstract-wcpdf-order-document.php:677
342
+ msgid "Manual email"
343
+ msgstr ""
344
+
345
+ #: includes/documents/class-wcpdf-invoice.php:85
346
+ msgid "invoice"
347
+ msgid_plural "invoices"
348
+ msgstr[0] "factura"
349
+ msgstr[1] "facturas"
350
+
351
+ #: includes/documents/class-wcpdf-invoice.php:130
352
+ #: includes/documents/class-wcpdf-packing-slip.php:94
353
+ msgid "Enable"
354
+ msgstr ""
355
+
356
+ #: includes/documents/class-wcpdf-invoice.php:141
357
+ msgid "Attach to:"
358
+ msgstr ""
359
+
360
+ #: includes/documents/class-wcpdf-invoice.php:148
361
+ #, php-format
362
+ msgid ""
363
+ "It looks like the temp folder (<code>%s</code>) is not writable, check the "
364
+ "permissions for this folder! Without having write access to this folder, the "
365
+ "plugin will not be able to email invoices."
366
+ msgstr ""
367
+ "Parece que la carpeta temporal (<code>% s </ code>) no es modificable, "
368
+ "¡compruebe los permisos para esta carpeta! Sin acceso de escritura a esta "
369
+ "carpeta, el plugin no será capaz de enviar facturas por correo electrónico."
370
+
371
+ #: includes/documents/class-wcpdf-invoice.php:154
372
+ msgid "Display shipping address"
373
+ msgstr "Mostrar dirección de envío"
374
+
375
+ #: includes/documents/class-wcpdf-invoice.php:160
376
+ msgid ""
377
+ "Display shipping address (in addition to the default billing address) if "
378
+ "different from billing address"
379
+ msgstr ""
380
+
381
+ #: includes/documents/class-wcpdf-invoice.php:166
382
+ #: includes/documents/class-wcpdf-packing-slip.php:117
383
+ msgid "Display email address"
384
+ msgstr "Mostrar email"
385
+
386
+ #: includes/documents/class-wcpdf-invoice.php:177
387
+ #: includes/documents/class-wcpdf-packing-slip.php:128
388
+ msgid "Display phone number"
389
+ msgstr "Mostrar teléfono"
390
+
391
+ #: includes/documents/class-wcpdf-invoice.php:188
392
+ msgid "Display invoice date"
393
+ msgstr "Mostrar fecha de la factura"
394
+
395
+ #: includes/documents/class-wcpdf-invoice.php:200
396
+ msgid "Display invoice number"
397
+ msgstr ""
398
+
399
+ #: includes/documents/class-wcpdf-invoice.php:212
400
+ msgid "Next invoice number (without prefix/suffix etc.)"
401
+ msgstr "Siguiente número de la factura (sin prefijo/sufijo, etc.)"
402
+
403
+ #: includes/documents/class-wcpdf-invoice.php:218
404
+ msgid ""
405
+ "This is the number that will be used for the next document. By default, "
406
+ "numbering starts from 1 and increases for every new document. Note that if "
407
+ "you override this and set it lower than the current/highest number, this "
408
+ "could create duplicate numbers!"
409
+ msgstr ""
410
+
411
+ #: includes/documents/class-wcpdf-invoice.php:224
412
+ msgid "Number format"
413
+ msgstr ""
414
+
415
+ #: includes/documents/class-wcpdf-invoice.php:232
416
+ msgid "Prefix"
417
+ msgstr "Prefijo"
418
+
419
+ #: includes/documents/class-wcpdf-invoice.php:234
420
+ msgid ""
421
+ "to use the invoice year and/or month, use [invoice_year] or [invoice_month] "
422
+ "respectively"
423
+ msgstr ""
424
+
425
+ #: includes/documents/class-wcpdf-invoice.php:237
426
+ msgid "Suffix"
427
+ msgstr "Sufijo"
428
+
429
+ #: includes/documents/class-wcpdf-invoice.php:242
430
+ msgid "Padding"
431
+ msgstr "Número de dígitos"
432
+
433
+ #: includes/documents/class-wcpdf-invoice.php:245
434
+ msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
435
+ msgstr ""
436
+ "Introduzca el número de dígitos aquí - introduzca \"6\" para mostrar 42 como "
437
+ "000042"
438
+
439
+ #: includes/documents/class-wcpdf-invoice.php:248
440
+ msgid ""
441
+ "note: if you have already created a custom invoice number format with a "
442
+ "filter, the above settings will be ignored"
443
+ msgstr ""
444
+ "Nota: Si ya has creado un formato personalizado de numeración de facturas "
445
+ "con un filtro, los ajustes anteriores serán ignorados"
446
+
447
+ #: includes/documents/class-wcpdf-invoice.php:254
448
+ msgid "Reset invoice number yearly"
449
+ msgstr "Resetear numeración de facturas anual"
450
+
451
+ #: includes/documents/class-wcpdf-invoice.php:265
452
+ msgid "Allow My Account invoice download"
453
+ msgstr "Permitir descarga de facturas desde \" Mi Cuenta\""
454
+
455
+ #: includes/documents/class-wcpdf-invoice.php:272
456
+ msgid "Only when an invoice is already created/emailed"
457
+ msgstr "Solo cuando una factura ya ha sido creada/ enviada por correo"
458
+
459
+ #: includes/documents/class-wcpdf-invoice.php:273
460
+ msgid "Only for specific order statuses (define below)"
461
+ msgstr "Solo para estados de orden específicos ( definir debajo )"
462
+
463
+ #: includes/documents/class-wcpdf-invoice.php:274
464
+ msgid "Always"
465
+ msgstr "Siempre"
466
+
467
+ #: includes/documents/class-wcpdf-invoice.php:275
468
+ msgid "Never"
469
+ msgstr "Nunca"
470
+
471
+ #: includes/documents/class-wcpdf-invoice.php:290
472
+ msgid "Enable invoice number column in the orders list"
473
+ msgstr "Activar la columna de número de factura en pedidos"
474
+
475
+ #: includes/documents/class-wcpdf-invoice.php:301
476
+ msgid "Disable for free products"
477
+ msgstr "Deshabilitar para productos gratuitos"
478
+
479
+ #: includes/documents/class-wcpdf-invoice.php:307
480
+ msgid ""
481
+ "Disable automatic creation/attachment when only free products are ordered"
482
+ msgstr ""
483
+
484
+ #: includes/documents/class-wcpdf-invoice.php:321
485
+ msgid "Invoice numbers are created by a third-party extension."
486
+ msgstr ""
487
+
488
+ #: includes/documents/class-wcpdf-invoice.php:323
489
+ #, php-format
490
+ msgid "Configure it <a href=\"%s\">here</a>."
491
+ msgstr ""
492
+
493
+ #: includes/documents/class-wcpdf-packing-slip.php:32
494
+ #: includes/documents/class-wcpdf-packing-slip.php:41
495
+ #: includes/legacy/class-wcpdf-legacy-functions.php:25
496
+ #: templates/Simple/packing-slip.php:10 templates/Simple/packing-slip.php:22
497
+ msgid "Packing Slip"
498
+ msgstr "Albarán de entrega"
499
+
500
+ #: includes/documents/class-wcpdf-packing-slip.php:53
501
+ msgid "packing-slip"
502
+ msgid_plural "packing-slips"
503
+ msgstr[0] "albarán de entrega"
504
+ msgstr[1] "albaranes de entrega"
505
+
506
+ #: includes/documents/class-wcpdf-packing-slip.php:105
507
+ msgid "Display billing address"
508
+ msgstr "Mostrar dirección de facturación"
509
+
510
+ #: includes/documents/class-wcpdf-packing-slip.php:111
511
+ msgid ""
512
+ "Display billing address (in addition to the default shipping address) if "
513
+ "different from shipping address"
514
+ msgstr ""
515
+
516
+ #: includes/legacy/class-wcpdf-legacy-document.php:32
517
+ msgid "Legacy Document"
518
+ msgstr ""
519
+
520
+ #: includes/views/wcpdf-extensions.php:15
521
+ msgid "Check out these premium extensions!"
522
+ msgstr "Échale un vistazo a las extensiones premium!"
523
+
524
+ #: includes/views/wcpdf-extensions.php:16
525
+ msgid "click items to read more"
526
+ msgstr "Haz click para leer más"
527
+
528
+ #: includes/views/wcpdf-extensions.php:21
529
+ msgid ""
530
+ "Premium PDF Invoice bundle: Everything you need for a perfect invoicing "
531
+ "system"
532
+ msgstr ""
533
+
534
+ #: includes/views/wcpdf-extensions.php:23
535
+ msgid ""
536
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the all our "
537
+ "premium extensions:"
538
+ msgstr ""
539
+
540
+ #: includes/views/wcpdf-extensions.php:24
541
+ msgid "Professional features:"
542
+ msgstr ""
543
+
544
+ #: includes/views/wcpdf-extensions.php:26
545
+ #: includes/views/wcpdf-extensions.php:56
546
+ msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
547
+ msgstr ""
548
+
549
+ #: includes/views/wcpdf-extensions.php:27
550
+ #: includes/views/wcpdf-extensions.php:57
551
+ msgid ""
552
+ "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
553
+ "packing slips, for example to a drop-shipper or a supplier."
554
+ msgstr ""
555
+
556
+ #: includes/views/wcpdf-extensions.php:28
557
+ #: includes/views/wcpdf-extensions.php:58
558
+ msgid ""
559
+ "Attach <b>up to 3 static files</b> (for example a terms & conditions "
560
+ "document) to the WooCommerce emails of your choice."
561
+ msgstr ""
562
+
563
+ #: includes/views/wcpdf-extensions.php:29
564
+ #: includes/views/wcpdf-extensions.php:59
565
+ msgid ""
566
+ "Use <b>separate numbering systems</b> and/or format for proforma invoices "
567
+ "and credit notes or utilize the main invoice numbering system"
568
+ msgstr ""
569
+
570
+ #: includes/views/wcpdf-extensions.php:30
571
+ #: includes/views/wcpdf-extensions.php:60
572
+ msgid ""
573
+ "<b>Customize</b> the <b>shipping & billing address</b> format to include "
574
+ "additional custom fields, font sizes etc. without the need to create a "
575
+ "custom template."
576
+ msgstr ""
577
+
578
+ #: includes/views/wcpdf-extensions.php:31
579
+ #: includes/views/wcpdf-extensions.php:61
580
+ msgid "Use the plugin in multilingual <b>WPML</b> setups"
581
+ msgstr ""
582
+
583
+ #: includes/views/wcpdf-extensions.php:33
584
+ #: includes/views/wcpdf-extensions.php:131
585
+ msgid "Advanced, customizable templates"
586
+ msgstr "Plantillas personalizables avanzadas"
587
+
588
+ #: includes/views/wcpdf-extensions.php:35
589
+ #: includes/views/wcpdf-extensions.php:134
590
+ msgid ""
591
+ "Completely customize the invoice contents (prices, taxes, thumbnails) to "
592
+ "your needs with a drag & drop customizer"
593
+ msgstr ""
594
+ "Personaliza completamente los contenidos de la factura acorde a tus "
595
+ "necesidades ( precios, impuestos, miniaturas) con drag & drop customizer"
596
+
597
+ #: includes/views/wcpdf-extensions.php:36
598
+ #: includes/views/wcpdf-extensions.php:135
599
+ msgid "Two extra stylish premade templates (Modern & Business)"
600
+ msgstr "Dos plantillas elegantes pre diseñadas extra (Modern & Business)"
601
+
602
+ #: includes/views/wcpdf-extensions.php:38
603
+ msgid "Upload automatically to dropbox"
604
+ msgstr ""
605
+
606
+ #: includes/views/wcpdf-extensions.php:40
607
+ #: includes/views/wcpdf-extensions.php:97
608
+ msgid ""
609
+ "This extension conveniently uploads all the invoices (and other pdf "
610
+ "documents from the professional extension) that are emailed to your "
611
+ "customers to Dropbox. The best way to keep your invoice administration up to "
612
+ "date!"
613
+ msgstr ""
614
+
615
+ #: includes/views/wcpdf-extensions.php:43
616
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Bundle"
617
+ msgstr ""
618
+
619
+ #: includes/views/wcpdf-extensions.php:52
620
+ msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
621
+ msgstr "Hazte Pro: Facturas Proforma, notas de crédito (=devoluciones( y más!"
622
+
623
+ #: includes/views/wcpdf-extensions.php:54
624
+ msgid ""
625
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the following "
626
+ "features:"
627
+ msgstr ""
628
+
629
+ #: includes/views/wcpdf-extensions.php:63
630
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
631
+ msgstr "Hazte con WooCommerce PDF Invoices & Packing Slips Professional!"
632
+
633
+ #: includes/views/wcpdf-extensions.php:71
634
+ msgid "Automatically send payment reminders to your customers"
635
+ msgstr ""
636
+
637
+ #: includes/views/wcpdf-extensions.php:73
638
+ msgid "WooCommerce Smart Reminder emails"
639
+ msgstr ""
640
+
641
+ #: includes/views/wcpdf-extensions.php:75
642
+ msgid "<b>Completely automatic</b> scheduled emails"
643
+ msgstr ""
644
+
645
+ #: includes/views/wcpdf-extensions.php:76
646
+ msgid ""
647
+ "<b>Rich text editor</b> for the email text, including placeholders for data "
648
+ "from the order (name, order total, etc)"
649
+ msgstr ""
650
+
651
+ #: includes/views/wcpdf-extensions.php:77
652
+ msgid ""
653
+ "Configure the exact requirements for sending an email (time after order, "
654
+ "order status, payment method)"
655
+ msgstr ""
656
+
657
+ #: includes/views/wcpdf-extensions.php:78
658
+ msgid ""
659
+ "Fully <b>WPML Compatible</b> – emails will be automatically sent in the "
660
+ "order language."
661
+ msgstr ""
662
+
663
+ #: includes/views/wcpdf-extensions.php:79
664
+ msgid ""
665
+ "<b>Super versatile!</b> Can be used for any kind of reminder email (review "
666
+ "reminders, repeat purchases)"
667
+ msgstr ""
668
+
669
+ #: includes/views/wcpdf-extensions.php:80
670
+ msgid "Integrates seamlessly with the PDF Invoices & Packing Slips plugin"
671
+ msgstr ""
672
+
673
+ #: includes/views/wcpdf-extensions.php:82
674
+ msgid "Get WooCommerce Smart Reminder Emails"
675
+ msgstr ""
676
+
677
+ #: includes/views/wcpdf-extensions.php:91
678
+ msgid "Upload all invoices automatically to your dropbox"
679
+ msgstr "Sube automaticamente todas las facturas a tu dropbox"
680
+
681
+ #: includes/views/wcpdf-extensions.php:98
682
+ msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
683
+ msgstr ""
684
+
685
+ #: includes/views/wcpdf-extensions.php:110
686
+ msgid ""
687
+ "Automatically send new orders or packing slips to your printer, as soon as "
688
+ "the customer orders!"
689
+ msgstr ""
690
+
691
+ #: includes/views/wcpdf-extensions.php:116
692
+ msgid ""
693
+ "Check out the WooCommerce Automatic Order Printing extension from our "
694
+ "partners at Simba Hosting"
695
+ msgstr ""
696
+
697
+ #: includes/views/wcpdf-extensions.php:117
698
+ msgid "WooCommerce Automatic Order Printing"
699
+ msgstr ""
700
+
701
+ #: includes/views/wcpdf-extensions.php:136
702
+ #, php-format
703
+ msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
704
+ msgstr ""
705
+
706
+ #: includes/views/wcpdf-extensions.php:137
707
+ #, php-format
708
+ msgid "For custom templates, contact us at %s."
709
+ msgstr "Para plantillas personalizadas, contacte con nosotros en %s."
710
+
711
+ #: includes/views/wcpdf-extensions.php:146
712
+ msgid "Hide this message"
713
+ msgstr ""
714
+
715
+ #: includes/views/wcpdf-settings-page.php:8
716
+ msgid "WooCommerce PDF Invoices"
717
+ msgstr "WooCommerce Facturas PDF"
718
+
719
+ #: templates/Simple/invoice.php:30 templates/Simple/packing-slip.php:41
720
+ msgid "Billing Address:"
721
+ msgstr "Dirección de facturación:"
722
+
723
+ #: templates/Simple/invoice.php:41
724
+ msgid "Ship To:"
725
+ msgstr "Enviar a:"
726
+
727
+ #: templates/Simple/invoice.php:50
728
+ msgid "Invoice Number:"
729
+ msgstr "Nº de la factura:"
730
+
731
+ #: templates/Simple/invoice.php:61 templates/Simple/packing-slip.php:49
732
+ msgid "Order Number:"
733
+ msgstr "Orden número:"
734
+
735
+ #: templates/Simple/invoice.php:65 templates/Simple/packing-slip.php:53
736
+ msgid "Order Date:"
737
+ msgstr "Fecha del pedido:"
738
+
739
+ #: templates/Simple/invoice.php:69
740
+ msgid "Payment Method:"
741
+ msgstr "Forma de pago:"
742
+
743
+ #: templates/Simple/invoice.php:83 templates/Simple/packing-slip.php:71
744
+ msgid "Product"
745
+ msgstr "Producto"
746
+
747
+ #: templates/Simple/invoice.php:84 templates/Simple/packing-slip.php:72
748
+ msgid "Quantity"
749
+ msgstr "Cantidad"
750
+
751
+ #: templates/Simple/invoice.php:85
752
+ msgid "Price"
753
+ msgstr "Precio"
754
+
755
+ #: templates/Simple/invoice.php:92 templates/Simple/packing-slip.php:79
756
+ msgid "Description"
757
+ msgstr "Descripción"
758
+
759
+ #: templates/Simple/invoice.php:97 templates/Simple/packing-slip.php:84
760
+ msgid "SKU"
761
+ msgstr "Nº Referencia"
762
+
763
+ #: templates/Simple/invoice.php:98 templates/Simple/packing-slip.php:85
764
+ msgid "SKU:"
765
+ msgstr "Nº Referencia:"
766
+
767
+ #: templates/Simple/invoice.php:99 templates/Simple/packing-slip.php:86
768
+ msgid "Weight:"
769
+ msgstr "Peso:"
770
+
771
+ #: templates/Simple/invoice.php:114 templates/Simple/packing-slip.php:101
772
+ msgid "Customer Notes"
773
+ msgstr "Notas del cliente"
774
+
775
+ #: templates/Simple/packing-slip.php:30
776
+ msgid "Shipping Address:"
777
+ msgstr "Dirección de envío:"
778
+
779
+ #: templates/Simple/packing-slip.php:57
780
+ msgid "Shipping Method:"
781
+ msgstr "Método de envío:"
782
+
783
+ #: woocommerce-pdf-invoices-packingslips.php:231
784
+ #, php-format
785
+ msgid ""
786
+ "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
787
+ "installed & activated!"
788
+ msgstr ""
789
+ "¡WooCommerce PDF Invoices & Packing Slips requiere que %sWooCommerce%s esté "
790
+ "instalado y activado!"
791
+
792
+ #: woocommerce-pdf-invoices-packingslips.php:243
793
+ msgid ""
794
+ "WooCommerce PDF Invoices & Packing Slips requires PHP 5.3 or higher (5.6 or "
795
+ "higher recommended)."
796
+ msgstr ""
797
+
798
+ #: woocommerce-pdf-invoices-packingslips.php:244
799
+ msgid "How to update your PHP version"
800
+ msgstr ""
801
+
802
+ #~ msgid "Attach invoice to:"
803
+ #~ msgstr "Adjuntar factura a:"
804
+
805
+ #~ msgid ""
806
+ #~ "Display shipping address on invoice (in addition to the default billing "
807
+ #~ "address) if different from billing address"
808
+ #~ msgstr ""
809
+ #~ "Mostrar dirección de envío en la factura ( Además de la dirección de "
810
+ #~ "facturación por defecto ) en el caso que sea diferente a la de facturación"
811
+
812
+ #~ msgid ""
813
+ #~ "This is the number that will be used on the next invoice that is created. "
814
+ #~ "By default, numbering starts from the WooCommerce Order Number of the "
815
+ #~ "first invoice that is created and increases for every new invoice. Note "
816
+ #~ "that if you override this and set it lower than the highest (PDF) invoice "
817
+ #~ "number, this could create double invoice numbers!"
818
+ #~ msgstr ""
819
+ #~ "Este número se utilizará al crear la siguiente factura. Por defecto, la "
820
+ #~ "numeración comienza desde la WooCommerce Order Number de la primera "
821
+ #~ "factura y se incrementa por cada nueva. Tenga en cuenta que si lo "
822
+ #~ "reemplaza y lo ajusta a uno inferior podría crear facturas con números "
823
+ #~ "duplicados."
824
+
825
+ #~ msgid "Invoice number format"
826
+ #~ msgstr "Fomato en la numeración de las facturas"
827
+
828
+ #~ msgid ""
829
+ #~ "Disable automatic creation/attachment of invoices when only free products "
830
+ #~ "are ordered"
831
+ #~ msgstr ""
832
+ #~ "Deshabilitar creación automática/ adjuntar facturas cuando solo se "
833
+ #~ "ordenen productos gratuitos"
834
+
835
+ #~ msgid ""
836
+ #~ "Display billing address on packing slip (in addition to the default "
837
+ #~ "shipping address) if different from shipping address"
838
+ #~ msgstr ""
839
+ #~ "Mostrar dirección de facturación en albarán de entrega ( Además de la "
840
+ #~ "dirección de facturación por defecto ) en el caso que sea diferente a la "
841
+ #~ "de facturación"
842
+
843
+ #~ msgid "Template"
844
+ #~ msgstr "Plantilla"
845
+
846
+ #~ msgid "Admin New Order email"
847
+ #~ msgstr "Correo electrónico del administrador al crear un nuevo pedido."
848
+
849
+ #~ msgid "Customer Processing Order email"
850
+ #~ msgstr "Correo electrónico del cliente al procesar el pedido."
851
+
852
+ #~ msgid "Customer Completed Order email"
853
+ #~ msgstr "Correo electrónico del cliente al completar el pedido."
854
+
855
+ #~ msgid "Customer Invoice email"
856
+ #~ msgstr "Correo electrónico de la factura del cliente."
857
+
858
+ #~ msgid "Interface"
859
+ #~ msgstr "Interfaz"
860
+
861
+ #~ msgid "PDF Template settings"
862
+ #~ msgstr "Ajustes de la plantilla PDF"
863
+
864
+ #~ msgid "Display built-in sequential invoice number"
865
+ #~ msgstr "Mostrar numeración secuencial en las facturas"
866
+
867
+ #~ msgid ""
868
+ #~ "to use the order year and/or month, use [order_year] or [order_month] "
869
+ #~ "respectively"
870
+ #~ msgstr ""
871
+ #~ "Para usar el año y/o el mes de la factura, usa [order_year] o "
872
+ #~ "[order_month] respectivamente"
873
+
874
+ #~ msgid "Use old tmp folder"
875
+ #~ msgstr "Usar la carpeta antigua tmp"
876
+
877
+ #~ msgid ""
878
+ #~ "Before version 1.5 of PDF Invoices, temporary files were stored in the "
879
+ #~ "plugin folder. This setting is only intended for backwards compatibility, "
880
+ #~ "not recommended on new installs!"
881
+ #~ msgstr ""
882
+ #~ "Antes de la versión 1.5 de Facturas PDF, los archivos temporales se "
883
+ #~ "guardaban en la carpeta del plugin. Este ajuste es solo para la "
884
+ #~ "compatibilidad con anteriores versiones, no recomendado para nuevas "
885
+ #~ "instalaciones!"
886
+
887
+ #~ msgid "PDF Packing Slips"
888
+ #~ msgstr "Albaranes de entrega PDF"
889
+
890
+ #~ msgid "PDF Invoice"
891
+ #~ msgstr "Factura PDF"
892
+
893
+ #~ msgid "PDF Packing Slip"
894
+ #~ msgstr "Albarán de entrega PDF"
895
+
896
+ #~ msgid ""
897
+ #~ "Upload all invoices automatically to your dropbox!<br/>Check out the %s "
898
+ #~ "extension."
899
+ #~ msgstr ""
900
+ #~ "¡Sube tus facturas automáticamente a dropbox!<br/>Visita la extensión %s."
901
+
902
+ #~ msgid ""
903
+ #~ "Looking for more advanced templates? Check out the Premium PDF Invoice & "
904
+ #~ "Packing Slips templates at %s."
905
+ #~ msgstr ""
906
+ #~ "¿Buscando plantillas más avanzadas? Echa un vistazo a las plantillas "
907
+ #~ "premium de PDF Invoice & Packing Slips en %s."
908
+
909
+ #~ msgid "PDF Invoice Number (unformatted!)"
910
+ #~ msgstr "Nº de la factura PDF (¡sin formato!)"
911
+
912
+ #~ msgid "Number to display on invoice"
913
+ #~ msgstr "Número a mostrar en la factura"
914
+
915
+ #~ msgid "WooCommerce order number"
916
+ #~ msgstr "Número de pedido de WooCommerce "
917
+
918
+ #~ msgid ""
919
+ #~ "If you are using the WooCommerce Sequential Order Numbers plugin, select "
920
+ #~ "the WooCommerce order number"
921
+ #~ msgstr ""
922
+ #~ "Si está utilizando el plugin WooCommerce Sequential Order Numbers, "
923
+ #~ "seleccione el número de pedido de WooCommerce."
924
+
925
+ #~ msgid "Date to display on invoice"
926
+ #~ msgstr "Fecha a mostrar en la factura"
927
+
928
+ #~ msgid "Order date"
929
+ #~ msgstr "Fecha del pedido"
930
+
931
+ #~ msgid "PDF invoice"
932
+ #~ msgstr "Factura PDF "
933
+
934
+ #~ msgid ""
935
+ #~ "Your WP Memory Limit is currently set to %s - We recommend setting it to "
936
+ #~ "at least 64MB (128MB for optimal performance). See: <a href=\"%s"
937
+ #~ "\">Increasing memory allocated to PHP</a>"
938
+ #~ msgstr ""
939
+ #~ "Actualmente el límite de memoria de WP está fijado en %s - Se recomienda "
940
+ #~ "aumentarlo al menos a 64MB (128 MB para un uso óptimo). Ver: <a href=\"%s"
941
+ #~ "\">Ampliar memoria dedicada a PHP</a>"
942
+
943
+ #~ msgid "..."
944
+ #~ msgstr "..."
945
+
946
+ #~ msgid "Email invoice (attach to order confirmation or invoice email)"
947
+ #~ msgstr ""
948
+ #~ "Factura por correo electrónico (adjuntar confirmación del pedido o "
949
+ #~ "factura)"
languages/woocommerce-pdf-invoices-packing-slips-et.mo ADDED
Binary file
languages/woocommerce-pdf-invoices-packing-slips-et.po ADDED
@@ -0,0 +1,899 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
+ "POT-Creation-Date: 2017-06-09 16:37+0200\n"
5
+ "PO-Revision-Date: 2017-06-09 16:37+0200\n"
6
+ "Last-Translator: Tanel Jüris <tanel.juris@marketingsharks.ee>\n"
7
+ "Language-Team: WP Overnight <support@wpovernight.com>\n"
8
+ "Language: et\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.12\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: includes/class-wcpdf-admin.php:72 includes/class-wcpdf-admin.php:174
20
+ msgid "Invoice Number"
21
+ msgstr "Arve number"
22
+
23
+ #: includes/class-wcpdf-admin.php:105
24
+ msgid "Create PDF"
25
+ msgstr "Loo PDF"
26
+
27
+ #: includes/class-wcpdf-admin.php:115
28
+ msgid "PDF Invoice data"
29
+ msgstr "PDF arve andmed"
30
+
31
+ #: includes/class-wcpdf-admin.php:166
32
+ #: includes/documents/class-wcpdf-invoice.php:32
33
+ #: includes/documents/class-wcpdf-invoice.php:41
34
+ #: includes/legacy/class-wcpdf-legacy-functions.php:22
35
+ #: templates/Simple/invoice.php:10 templates/Simple/invoice.php:22
36
+ msgid "Invoice"
37
+ msgstr "Arve"
38
+
39
+ #: includes/class-wcpdf-admin.php:183 includes/class-wcpdf-admin.php:204
40
+ #: templates/Simple/invoice.php:56
41
+ msgid "Invoice Date:"
42
+ msgstr "Arve kuupäev:"
43
+
44
+ #: includes/class-wcpdf-admin.php:189
45
+ msgid "Set invoice number & date"
46
+ msgstr ""
47
+
48
+ #: includes/class-wcpdf-admin.php:196
49
+ msgid "Invoice Number (unformatted!)"
50
+ msgstr "Arve number (vorminguta)"
51
+
52
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
53
+ msgid "h"
54
+ msgstr "h"
55
+
56
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
57
+ msgid "m"
58
+ msgstr "m"
59
+
60
+ #: includes/class-wcpdf-frontend.php:55
61
+ msgid "Download invoice (PDF)"
62
+ msgstr "Lae arve alla (PDF)"
63
+
64
+ #: includes/class-wcpdf-main.php:132 includes/class-wcpdf-main.php:153
65
+ #: includes/class-wcpdf-main.php:160 includes/class-wcpdf-main.php:166
66
+ msgid "You do not have sufficient permissions to access this page."
67
+ msgstr "Sul ei ole selle lehe vaatamiseks piisavalt õigusi."
68
+
69
+ #: includes/class-wcpdf-main.php:141
70
+ msgid "Some of the export parameters are missing."
71
+ msgstr "Mõned eksportimise parameetrid on puudu."
72
+
73
+ #: includes/class-wcpdf-settings-callbacks.php:27
74
+ msgid ""
75
+ "<b>Warning!</b> The settings below are meant for debugging/development only. "
76
+ "Do not use them on a live website!"
77
+ msgstr ""
78
+ "<b>Hoiatus!</b> Allolevad sätted on mõeldud ainult veaotsinguks/arenduseks. "
79
+ "Ära kasuta neid rakenduskeskkonnas!"
80
+
81
+ #: includes/class-wcpdf-settings-callbacks.php:36
82
+ msgid ""
83
+ "These are used for the (optional) footer columns in the <em>Modern "
84
+ "(Premium)</em> template, but can also be used for other elements in your "
85
+ "custom template"
86
+ msgstr ""
87
+ "Neid kasutatakse <em>Modern (Preemium)</em> mallis (valikuliste) "
88
+ "jalusetulpade jaoks, kuid on kasutatavad ka muude elementide jaoks sinu "
89
+ "kohandatud mallis."
90
+
91
+ #: includes/class-wcpdf-settings-callbacks.php:301
92
+ msgid "Image resolution"
93
+ msgstr "Pildi resolutsioon"
94
+
95
+ #: includes/class-wcpdf-settings-callbacks.php:325
96
+ msgid "Save"
97
+ msgstr ""
98
+
99
+ #: includes/class-wcpdf-settings-debug.php:34
100
+ msgid "Debug settings"
101
+ msgstr "Veaotsingu sätted"
102
+
103
+ #: includes/class-wcpdf-settings-debug.php:40
104
+ msgid "Legacy mode"
105
+ msgstr ""
106
+
107
+ #: includes/class-wcpdf-settings-debug.php:46
108
+ msgid ""
109
+ "Legacy mode ensures compatibility with templates and filters from previous "
110
+ "versions."
111
+ msgstr ""
112
+
113
+ #: includes/class-wcpdf-settings-debug.php:52
114
+ msgid "Enable debug output"
115
+ msgstr "Lülita sisse veaotsingu väljund"
116
+
117
+ #: includes/class-wcpdf-settings-debug.php:58
118
+ msgid ""
119
+ "Enable this option to output plugin errors if you're getting a blank page or "
120
+ "other PDF generation issues"
121
+ msgstr ""
122
+ "Lülita see valik sisse, et väljastada plugina veateateid, kui näed tühja "
123
+ "lehte või PDF genereerimisel esineb mõni muu probleem"
124
+
125
+ #: includes/class-wcpdf-settings-debug.php:64
126
+ msgid "Output to HTML"
127
+ msgstr "Väljasta HTML kujul"
128
+
129
+ #: includes/class-wcpdf-settings-debug.php:70
130
+ msgid ""
131
+ "Send the template output as HTML to the browser instead of creating a PDF."
132
+ msgstr ""
133
+ "PDF faili loomise asemel saada malli väljund HTML kujul veebilehitsejasse."
134
+
135
+ #: includes/class-wcpdf-settings-documents.php:29
136
+ #: includes/class-wcpdf-settings.php:84
137
+ msgid "Documents"
138
+ msgstr ""
139
+
140
+ #: includes/class-wcpdf-settings-documents.php:45
141
+ msgid ""
142
+ "All available documents are listed below. Click on a document to configure "
143
+ "it."
144
+ msgstr ""
145
+
146
+ #: includes/class-wcpdf-settings-general.php:37
147
+ msgid "General settings"
148
+ msgstr "Üldised sätted"
149
+
150
+ #: includes/class-wcpdf-settings-general.php:43
151
+ msgid "How do you want to view the PDF?"
152
+ msgstr "Kuidas sa soovid PDF-i vaadata?"
153
+
154
+ #: includes/class-wcpdf-settings-general.php:50
155
+ msgid "Download the PDF"
156
+ msgstr "Lae PDF alla"
157
+
158
+ #: includes/class-wcpdf-settings-general.php:51
159
+ msgid "Open the PDF in a new browser tab/window"
160
+ msgstr "Ava PDF uues veebilehitseja sakis/aknas"
161
+
162
+ #: includes/class-wcpdf-settings-general.php:58
163
+ msgid "Choose a template"
164
+ msgstr "Vali mall"
165
+
166
+ #: includes/class-wcpdf-settings-general.php:65
167
+ #, php-format
168
+ msgid ""
169
+ "Want to use your own template? Copy all the files from <code>%s</code> to "
170
+ "your (child) theme in <code>%s</code> to customize them"
171
+ msgstr ""
172
+ "Tahad kasutada enda malli? Kopeeri kõik failid kaustast <code>%s</code> oma "
173
+ "(laps)teema kausta <code>%s</code> kohanduste tegemiseks."
174
+
175
+ #: includes/class-wcpdf-settings-general.php:71
176
+ msgid "Paper size"
177
+ msgstr "Paberi suurus"
178
+
179
+ #: includes/class-wcpdf-settings-general.php:78
180
+ msgid "A4"
181
+ msgstr "A4"
182
+
183
+ #: includes/class-wcpdf-settings-general.php:79
184
+ msgid "Letter"
185
+ msgstr "Ümbrik"
186
+
187
+ #: includes/class-wcpdf-settings-general.php:86
188
+ msgid "Extended currency symbol support"
189
+ msgstr ""
190
+
191
+ #: includes/class-wcpdf-settings-general.php:92
192
+ msgid "Enable this if your currency symbol is not displaying properly"
193
+ msgstr ""
194
+
195
+ #: includes/class-wcpdf-settings-general.php:98
196
+ msgid "Shop header/logo"
197
+ msgstr "Poe päis/logo"
198
+
199
+ #: includes/class-wcpdf-settings-general.php:104
200
+ msgid "Select or upload your invoice header/logo"
201
+ msgstr "Vali või lae üles oma arve päis/logo"
202
+
203
+ #: includes/class-wcpdf-settings-general.php:105
204
+ msgid "Set image"
205
+ msgstr "Määra pilt"
206
+
207
+ #: includes/class-wcpdf-settings-general.php:106
208
+ msgid "Remove image"
209
+ msgstr "Eemalda pilt"
210
+
211
+ #: includes/class-wcpdf-settings-general.php:113
212
+ msgid "Shop Name"
213
+ msgstr "Poe nimi"
214
+
215
+ #: includes/class-wcpdf-settings-general.php:126
216
+ msgid "Shop Address"
217
+ msgstr "Poe aadress"
218
+
219
+ #: includes/class-wcpdf-settings-general.php:141
220
+ msgid "Footer: terms & conditions, policies, etc."
221
+ msgstr "Jalus: tingimused, poliisid jne"
222
+
223
+ #: includes/class-wcpdf-settings-general.php:156
224
+ msgid "Extra template fields"
225
+ msgstr "Malli lisaväljad"
226
+
227
+ #: includes/class-wcpdf-settings-general.php:162
228
+ msgid "Extra field 1"
229
+ msgstr "Lisaväli 1"
230
+
231
+ #: includes/class-wcpdf-settings-general.php:170
232
+ msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
233
+ msgstr "<i>Modern (Preemium)</i> mallis on see jaluse tulp 1"
234
+
235
+ #: includes/class-wcpdf-settings-general.php:177
236
+ msgid "Extra field 2"
237
+ msgstr "Lisaväli 2"
238
+
239
+ #: includes/class-wcpdf-settings-general.php:185
240
+ msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
241
+ msgstr "<i>Modern (Preemium)</i> mallis on see jaluse tulp 2"
242
+
243
+ #: includes/class-wcpdf-settings-general.php:192
244
+ msgid "Extra field 3"
245
+ msgstr "Lisaväli 3"
246
+
247
+ #: includes/class-wcpdf-settings-general.php:200
248
+ msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
249
+ msgstr "<i>Modern (Preemium)</i> mallis on see jaluse tulp 3"
250
+
251
+ #: includes/class-wcpdf-settings.php:45 includes/class-wcpdf-settings.php:46
252
+ msgid "PDF Invoices"
253
+ msgstr "PDF Arved"
254
+
255
+ #: includes/class-wcpdf-settings.php:58
256
+ msgid "Settings"
257
+ msgstr "Sätted"
258
+
259
+ #: includes/class-wcpdf-settings.php:71
260
+ msgid "Documentation"
261
+ msgstr ""
262
+
263
+ #: includes/class-wcpdf-settings.php:72
264
+ msgid "Support Forum"
265
+ msgstr ""
266
+
267
+ #: includes/class-wcpdf-settings.php:83
268
+ msgid "General"
269
+ msgstr "Üldine"
270
+
271
+ #: includes/class-wcpdf-settings.php:89
272
+ msgid "Status"
273
+ msgstr "Staatus"
274
+
275
+ #: includes/compatibility/class-wc-core-compatibility.php:222
276
+ msgid "WooCommerce"
277
+ msgstr ""
278
+
279
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:113
280
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:176
281
+ msgid "N/A"
282
+ msgstr "N/A"
283
+
284
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:305
285
+ msgid "Payment method"
286
+ msgstr "Makseviis"
287
+
288
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:326
289
+ msgid "Shipping method"
290
+ msgstr "Tarneviis"
291
+
292
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:669
293
+ #, php-format
294
+ msgid "(includes %s)"
295
+ msgstr ""
296
+
297
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:672
298
+ #, php-format
299
+ msgid "(Includes %s)"
300
+ msgstr ""
301
+
302
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:702
303
+ msgid "Subtotal"
304
+ msgstr "Vahesumma"
305
+
306
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:727
307
+ msgid "Shipping"
308
+ msgstr "Tarne"
309
+
310
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:790
311
+ msgid "Discount"
312
+ msgstr "Allahindlus"
313
+
314
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:831
315
+ msgid "VAT"
316
+ msgstr "KM"
317
+
318
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:832
319
+ msgid "Tax rate"
320
+ msgstr "Maksumäär"
321
+
322
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:876
323
+ msgid "Total ex. VAT"
324
+ msgstr "Summa ilma KM-ta"
325
+
326
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:879
327
+ msgid "Total"
328
+ msgstr "Kogusumma"
329
+
330
+ #: includes/documents/abstract-wcpdf-order-document.php:674
331
+ msgid "Admin email"
332
+ msgstr ""
333
+
334
+ #: includes/documents/abstract-wcpdf-order-document.php:677
335
+ msgid "Manual email"
336
+ msgstr ""
337
+
338
+ #: includes/documents/class-wcpdf-invoice.php:85
339
+ msgid "invoice"
340
+ msgid_plural "invoices"
341
+ msgstr[0] "arve"
342
+ msgstr[1] "arved"
343
+
344
+ #: includes/documents/class-wcpdf-invoice.php:130
345
+ #: includes/documents/class-wcpdf-packing-slip.php:94
346
+ msgid "Enable"
347
+ msgstr ""
348
+
349
+ #: includes/documents/class-wcpdf-invoice.php:141
350
+ msgid "Attach to:"
351
+ msgstr ""
352
+
353
+ #: includes/documents/class-wcpdf-invoice.php:148
354
+ #, php-format
355
+ msgid ""
356
+ "It looks like the temp folder (<code>%s</code>) is not writable, check the "
357
+ "permissions for this folder! Without having write access to this folder, the "
358
+ "plugin will not be able to email invoices."
359
+ msgstr ""
360
+ "Paistab, et ajutine kaust (<code>%s</code) ei ole kirjutatav, kontrolli "
361
+ "selle kausta õiguseid! Ilma kirjutusõigusteta ei saa see plugin arveid saata."
362
+
363
+ #: includes/documents/class-wcpdf-invoice.php:154
364
+ msgid "Display shipping address"
365
+ msgstr "Näita tarne aadressi"
366
+
367
+ #: includes/documents/class-wcpdf-invoice.php:160
368
+ msgid ""
369
+ "Display shipping address (in addition to the default billing address) if "
370
+ "different from billing address"
371
+ msgstr ""
372
+
373
+ #: includes/documents/class-wcpdf-invoice.php:166
374
+ #: includes/documents/class-wcpdf-packing-slip.php:117
375
+ msgid "Display email address"
376
+ msgstr "Näita e-posti aadressi"
377
+
378
+ #: includes/documents/class-wcpdf-invoice.php:177
379
+ #: includes/documents/class-wcpdf-packing-slip.php:128
380
+ msgid "Display phone number"
381
+ msgstr "Näita telefoninumbrit"
382
+
383
+ #: includes/documents/class-wcpdf-invoice.php:188
384
+ msgid "Display invoice date"
385
+ msgstr "Näita arve kuupäeva"
386
+
387
+ #: includes/documents/class-wcpdf-invoice.php:200
388
+ msgid "Display invoice number"
389
+ msgstr ""
390
+
391
+ #: includes/documents/class-wcpdf-invoice.php:212
392
+ msgid "Next invoice number (without prefix/suffix etc.)"
393
+ msgstr "Järgmine arvenumber (ilma ees-/järelliiteta vms)"
394
+
395
+ #: includes/documents/class-wcpdf-invoice.php:218
396
+ msgid ""
397
+ "This is the number that will be used for the next document. By default, "
398
+ "numbering starts from 1 and increases for every new document. Note that if "
399
+ "you override this and set it lower than the current/highest number, this "
400
+ "could create duplicate numbers!"
401
+ msgstr ""
402
+
403
+ #: includes/documents/class-wcpdf-invoice.php:224
404
+ msgid "Number format"
405
+ msgstr ""
406
+
407
+ #: includes/documents/class-wcpdf-invoice.php:232
408
+ msgid "Prefix"
409
+ msgstr "Eesliide"
410
+
411
+ #: includes/documents/class-wcpdf-invoice.php:234
412
+ msgid ""
413
+ "to use the invoice year and/or month, use [invoice_year] or [invoice_month] "
414
+ "respectively"
415
+ msgstr ""
416
+
417
+ #: includes/documents/class-wcpdf-invoice.php:237
418
+ msgid "Suffix"
419
+ msgstr "Järelliide"
420
+
421
+ #: includes/documents/class-wcpdf-invoice.php:242
422
+ msgid "Padding"
423
+ msgstr "Polster"
424
+
425
+ #: includes/documents/class-wcpdf-invoice.php:245
426
+ msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
427
+ msgstr ""
428
+ "sisesta siia numbrikohtade arv - näiteks \"6\", et näidata 42 kujul 000042"
429
+
430
+ #: includes/documents/class-wcpdf-invoice.php:248
431
+ msgid ""
432
+ "note: if you have already created a custom invoice number format with a "
433
+ "filter, the above settings will be ignored"
434
+ msgstr ""
435
+ "märkus: kui oled juba loonud enda arvenumbri formaadi filtri abil, "
436
+ "ignoreeritakse ülalolevaid sätteid"
437
+
438
+ #: includes/documents/class-wcpdf-invoice.php:254
439
+ msgid "Reset invoice number yearly"
440
+ msgstr ""
441
+
442
+ #: includes/documents/class-wcpdf-invoice.php:265
443
+ msgid "Allow My Account invoice download"
444
+ msgstr "Luba \"minu konto\" lehel arveid alla laadida"
445
+
446
+ #: includes/documents/class-wcpdf-invoice.php:272
447
+ msgid "Only when an invoice is already created/emailed"
448
+ msgstr "Ainult siis, kui arve on juba loodud/saadetud"
449
+
450
+ #: includes/documents/class-wcpdf-invoice.php:273
451
+ msgid "Only for specific order statuses (define below)"
452
+ msgstr "Ainult kindlate tellimuse staatuste korral (määra allpool)"
453
+
454
+ #: includes/documents/class-wcpdf-invoice.php:274
455
+ msgid "Always"
456
+ msgstr "Alati"
457
+
458
+ #: includes/documents/class-wcpdf-invoice.php:275
459
+ msgid "Never"
460
+ msgstr ""
461
+
462
+ #: includes/documents/class-wcpdf-invoice.php:290
463
+ msgid "Enable invoice number column in the orders list"
464
+ msgstr "Näita tellimuste nimekirjas arve numbri tulpa"
465
+
466
+ #: includes/documents/class-wcpdf-invoice.php:301
467
+ msgid "Disable for free products"
468
+ msgstr "Lülita tasuta toodete puhul välja"
469
+
470
+ #: includes/documents/class-wcpdf-invoice.php:307
471
+ msgid ""
472
+ "Disable automatic creation/attachment when only free products are ordered"
473
+ msgstr ""
474
+
475
+ #: includes/documents/class-wcpdf-invoice.php:321
476
+ msgid "Invoice numbers are created by a third-party extension."
477
+ msgstr ""
478
+
479
+ #: includes/documents/class-wcpdf-invoice.php:323
480
+ #, php-format
481
+ msgid "Configure it <a href=\"%s\">here</a>."
482
+ msgstr ""
483
+
484
+ #: includes/documents/class-wcpdf-packing-slip.php:32
485
+ #: includes/documents/class-wcpdf-packing-slip.php:41
486
+ #: includes/legacy/class-wcpdf-legacy-functions.php:25
487
+ #: templates/Simple/packing-slip.php:10 templates/Simple/packing-slip.php:22
488
+ msgid "Packing Slip"
489
+ msgstr "Saateleht"
490
+
491
+ #: includes/documents/class-wcpdf-packing-slip.php:53
492
+ msgid "packing-slip"
493
+ msgid_plural "packing-slips"
494
+ msgstr[0] "saateleht"
495
+ msgstr[1] "saatelehed"
496
+
497
+ #: includes/documents/class-wcpdf-packing-slip.php:105
498
+ msgid "Display billing address"
499
+ msgstr "Näita arveaadressi"
500
+
501
+ #: includes/documents/class-wcpdf-packing-slip.php:111
502
+ msgid ""
503
+ "Display billing address (in addition to the default shipping address) if "
504
+ "different from shipping address"
505
+ msgstr ""
506
+
507
+ #: includes/legacy/class-wcpdf-legacy-document.php:32
508
+ msgid "Legacy Document"
509
+ msgstr ""
510
+
511
+ #: includes/views/wcpdf-extensions.php:15
512
+ msgid "Check out these premium extensions!"
513
+ msgstr "Tutvu preemium laiendustega!"
514
+
515
+ #: includes/views/wcpdf-extensions.php:16
516
+ msgid "click items to read more"
517
+ msgstr "lisainfo lugemiseks vajuta elemendile"
518
+
519
+ #: includes/views/wcpdf-extensions.php:21
520
+ msgid ""
521
+ "Premium PDF Invoice bundle: Everything you need for a perfect invoicing "
522
+ "system"
523
+ msgstr ""
524
+
525
+ #: includes/views/wcpdf-extensions.php:23
526
+ msgid ""
527
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the all our "
528
+ "premium extensions:"
529
+ msgstr ""
530
+
531
+ #: includes/views/wcpdf-extensions.php:24
532
+ msgid "Professional features:"
533
+ msgstr ""
534
+
535
+ #: includes/views/wcpdf-extensions.php:26
536
+ #: includes/views/wcpdf-extensions.php:56
537
+ msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
538
+ msgstr "Emaili/prindi/lae alla <b>PDF Credit Notes & Proforma Invoices</b>"
539
+
540
+ #: includes/views/wcpdf-extensions.php:27
541
+ #: includes/views/wcpdf-extensions.php:57
542
+ msgid ""
543
+ "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
544
+ "packing slips, for example to a drop-shipper or a supplier."
545
+ msgstr ""
546
+ "Saada eraldi <b>teavituse e-kiri</b> koos (või ilma) PDF arve/saatelehega, "
547
+ "näiteks maaletoojale või varustajale."
548
+
549
+ #: includes/views/wcpdf-extensions.php:28
550
+ #: includes/views/wcpdf-extensions.php:58
551
+ msgid ""
552
+ "Attach <b>up to 3 static files</b> (for example a terms & conditions "
553
+ "document) to the WooCommerce emails of your choice."
554
+ msgstr ""
555
+ "Manusta <b>kuni 3 staatilist faili</b> (näiteks müügitingimuste document) "
556
+ "enda valitud WooCommerce e-kirjade külge."
557
+
558
+ #: includes/views/wcpdf-extensions.php:29
559
+ #: includes/views/wcpdf-extensions.php:59
560
+ msgid ""
561
+ "Use <b>separate numbering systems</b> and/or format for proforma invoices "
562
+ "and credit notes or utilize the main invoice numbering system"
563
+ msgstr ""
564
+ "Kasuta <b>eraldi numbreid</b> ja/või formaati proforma arvete ning krediidi "
565
+ "märkuste jaoks või kasuta põhilist arvete numbrisüsteemi."
566
+
567
+ #: includes/views/wcpdf-extensions.php:30
568
+ #: includes/views/wcpdf-extensions.php:60
569
+ msgid ""
570
+ "<b>Customize</b> the <b>shipping & billing address</b> format to include "
571
+ "additional custom fields, font sizes etc. without the need to create a "
572
+ "custom template."
573
+ msgstr ""
574
+ "<b>Kohanda tarne & arve aadresside</b> formaati lisaväljade, fondisuuruste "
575
+ "ja muu taolisega ilma kohandatud malli loomise vajaduseta."
576
+
577
+ #: includes/views/wcpdf-extensions.php:31
578
+ #: includes/views/wcpdf-extensions.php:61
579
+ msgid "Use the plugin in multilingual <b>WPML</b> setups"
580
+ msgstr "Kasuta pluginat mitmekeelses <b>WPML</b> keskkonnas"
581
+
582
+ #: includes/views/wcpdf-extensions.php:33
583
+ #: includes/views/wcpdf-extensions.php:131
584
+ msgid "Advanced, customizable templates"
585
+ msgstr "Keerukad, kohandatavad mallid"
586
+
587
+ #: includes/views/wcpdf-extensions.php:35
588
+ #: includes/views/wcpdf-extensions.php:134
589
+ msgid ""
590
+ "Completely customize the invoice contents (prices, taxes, thumbnails) to "
591
+ "your needs with a drag & drop customizer"
592
+ msgstr ""
593
+ "Kohanda kogu arve sisu (hinnad, maksud, pisipildid) vastavalt oma "
594
+ "vajadustele lohistamismeetodil."
595
+
596
+ #: includes/views/wcpdf-extensions.php:36
597
+ #: includes/views/wcpdf-extensions.php:135
598
+ msgid "Two extra stylish premade templates (Modern & Business)"
599
+ msgstr "Kaks eriti stiilset valmismalli (Modern & Business)"
600
+
601
+ #: includes/views/wcpdf-extensions.php:38
602
+ msgid "Upload automatically to dropbox"
603
+ msgstr ""
604
+
605
+ #: includes/views/wcpdf-extensions.php:40
606
+ #: includes/views/wcpdf-extensions.php:97
607
+ msgid ""
608
+ "This extension conveniently uploads all the invoices (and other pdf "
609
+ "documents from the professional extension) that are emailed to your "
610
+ "customers to Dropbox. The best way to keep your invoice administration up to "
611
+ "date!"
612
+ msgstr ""
613
+ "See laiendus laeb kõik kliendile saadetavad arved (ja muud pdf dokumendid "
614
+ "professionaali laiendusest) Dropboxi. Parim viis hoida arvete haldamine "
615
+ "ajakohane!"
616
+
617
+ #: includes/views/wcpdf-extensions.php:43
618
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Bundle"
619
+ msgstr ""
620
+
621
+ #: includes/views/wcpdf-extensions.php:52
622
+ msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
623
+ msgstr ""
624
+ "Hakka profiks: proforma arved, krediidi märkused (=tagasimaksed) & muud!"
625
+
626
+ #: includes/views/wcpdf-extensions.php:54
627
+ msgid ""
628
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the following "
629
+ "features:"
630
+ msgstr ""
631
+ "Lae WooCommerce PDF Invoices & Packing Slips üle järgnevate omadustega:"
632
+
633
+ #: includes/views/wcpdf-extensions.php:63
634
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
635
+ msgstr "Hangi WooCommerce PDF Invoices & Packing Slips Professional!"
636
+
637
+ #: includes/views/wcpdf-extensions.php:71
638
+ msgid "Automatically send payment reminders to your customers"
639
+ msgstr ""
640
+
641
+ #: includes/views/wcpdf-extensions.php:73
642
+ msgid "WooCommerce Smart Reminder emails"
643
+ msgstr ""
644
+
645
+ #: includes/views/wcpdf-extensions.php:75
646
+ msgid "<b>Completely automatic</b> scheduled emails"
647
+ msgstr ""
648
+
649
+ #: includes/views/wcpdf-extensions.php:76
650
+ msgid ""
651
+ "<b>Rich text editor</b> for the email text, including placeholders for data "
652
+ "from the order (name, order total, etc)"
653
+ msgstr ""
654
+
655
+ #: includes/views/wcpdf-extensions.php:77
656
+ msgid ""
657
+ "Configure the exact requirements for sending an email (time after order, "
658
+ "order status, payment method)"
659
+ msgstr ""
660
+
661
+ #: includes/views/wcpdf-extensions.php:78
662
+ msgid ""
663
+ "Fully <b>WPML Compatible</b> – emails will be automatically sent in the "
664
+ "order language."
665
+ msgstr ""
666
+
667
+ #: includes/views/wcpdf-extensions.php:79
668
+ msgid ""
669
+ "<b>Super versatile!</b> Can be used for any kind of reminder email (review "
670
+ "reminders, repeat purchases)"
671
+ msgstr ""
672
+
673
+ #: includes/views/wcpdf-extensions.php:80
674
+ msgid "Integrates seamlessly with the PDF Invoices & Packing Slips plugin"
675
+ msgstr ""
676
+
677
+ #: includes/views/wcpdf-extensions.php:82
678
+ msgid "Get WooCommerce Smart Reminder Emails"
679
+ msgstr ""
680
+
681
+ #: includes/views/wcpdf-extensions.php:91
682
+ msgid "Upload all invoices automatically to your dropbox"
683
+ msgstr "Lae kõik arved automaatselt oma dropboxi"
684
+
685
+ #: includes/views/wcpdf-extensions.php:98
686
+ msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
687
+ msgstr "Vii WooCommerce PDF Invoices & Packing Slips dropboxi!"
688
+
689
+ #: includes/views/wcpdf-extensions.php:110
690
+ msgid ""
691
+ "Automatically send new orders or packing slips to your printer, as soon as "
692
+ "the customer orders!"
693
+ msgstr ""
694
+ "Saada uued tellimused või saatelehed automaatselt printerisse, niipea kui "
695
+ "klient tellib!"
696
+
697
+ #: includes/views/wcpdf-extensions.php:116
698
+ msgid ""
699
+ "Check out the WooCommerce Automatic Order Printing extension from our "
700
+ "partners at Simba Hosting"
701
+ msgstr ""
702
+ "Tutvu laiendusega WooCommerce Automatic Order Printing meie partnerfirmalt "
703
+ "Simba Hosting"
704
+
705
+ #: includes/views/wcpdf-extensions.php:117
706
+ msgid "WooCommerce Automatic Order Printing"
707
+ msgstr "automaatne WooCommerce tellimuste printimine"
708
+
709
+ #: includes/views/wcpdf-extensions.php:136
710
+ #, php-format
711
+ msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
712
+ msgstr "Tutvu PDF Invoice & Packing Slips preemium mallidega lehel %s."
713
+
714
+ #: includes/views/wcpdf-extensions.php:137
715
+ #, php-format
716
+ msgid "For custom templates, contact us at %s."
717
+ msgstr "Kohandatud mallide jaoks võta meiega ühendust: %s."
718
+
719
+ #: includes/views/wcpdf-extensions.php:146
720
+ msgid "Hide this message"
721
+ msgstr ""
722
+
723
+ #: includes/views/wcpdf-settings-page.php:8
724
+ msgid "WooCommerce PDF Invoices"
725
+ msgstr "WooCommerce PDF Arved"
726
+
727
+ #: templates/Simple/invoice.php:30 templates/Simple/packing-slip.php:41
728
+ msgid "Billing Address:"
729
+ msgstr "Arve aadress:"
730
+
731
+ #: templates/Simple/invoice.php:41
732
+ msgid "Ship To:"
733
+ msgstr "Vastuvõtja:"
734
+
735
+ #: templates/Simple/invoice.php:50
736
+ msgid "Invoice Number:"
737
+ msgstr "Arve number:"
738
+
739
+ #: templates/Simple/invoice.php:61 templates/Simple/packing-slip.php:49
740
+ msgid "Order Number:"
741
+ msgstr "Tellimuse number:"
742
+
743
+ #: templates/Simple/invoice.php:65 templates/Simple/packing-slip.php:53
744
+ msgid "Order Date:"
745
+ msgstr "Tellimuse kuupäev"
746
+
747
+ #: templates/Simple/invoice.php:69
748
+ msgid "Payment Method:"
749
+ msgstr "Makseviis:"
750
+
751
+ #: templates/Simple/invoice.php:83 templates/Simple/packing-slip.php:71
752
+ msgid "Product"
753
+ msgstr "Toode"
754
+
755
+ #: templates/Simple/invoice.php:84 templates/Simple/packing-slip.php:72
756
+ msgid "Quantity"
757
+ msgstr "Kogus"
758
+
759
+ #: templates/Simple/invoice.php:85
760
+ msgid "Price"
761
+ msgstr "Hind"
762
+
763
+ #: templates/Simple/invoice.php:92 templates/Simple/packing-slip.php:79
764
+ msgid "Description"
765
+ msgstr "Kirjeldus"
766
+
767
+ #: templates/Simple/invoice.php:97 templates/Simple/packing-slip.php:84
768
+ msgid "SKU"
769
+ msgstr "Tootekood"
770
+
771
+ #: templates/Simple/invoice.php:98 templates/Simple/packing-slip.php:85
772
+ msgid "SKU:"
773
+ msgstr "Tootekood:"
774
+
775
+ #: templates/Simple/invoice.php:99 templates/Simple/packing-slip.php:86
776
+ msgid "Weight:"
777
+ msgstr "Kaal:"
778
+
779
+ #: templates/Simple/invoice.php:114 templates/Simple/packing-slip.php:101
780
+ msgid "Customer Notes"
781
+ msgstr "Kliendi märkused"
782
+
783
+ #: templates/Simple/packing-slip.php:30
784
+ msgid "Shipping Address:"
785
+ msgstr "Tarne aadress:"
786
+
787
+ #: templates/Simple/packing-slip.php:57
788
+ msgid "Shipping Method:"
789
+ msgstr "Tarneviis:"
790
+
791
+ #: woocommerce-pdf-invoices-packingslips.php:231
792
+ #, php-format
793
+ msgid ""
794
+ "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
795
+ "installed & activated!"
796
+ msgstr ""
797
+ "WooCommerce PDF Invoices & Packing Slips vajab, et %sWooCommerce%s oleks "
798
+ "paigaldatud ja aktiveeritud!"
799
+
800
+ #: woocommerce-pdf-invoices-packingslips.php:243
801
+ msgid ""
802
+ "WooCommerce PDF Invoices & Packing Slips requires PHP 5.3 or higher (5.6 or "
803
+ "higher recommended)."
804
+ msgstr ""
805
+
806
+ #: woocommerce-pdf-invoices-packingslips.php:244
807
+ msgid "How to update your PHP version"
808
+ msgstr ""
809
+
810
+ #~ msgid "Attach invoice to:"
811
+ #~ msgstr "Lisa arve järgnevatele:"
812
+
813
+ #~ msgid ""
814
+ #~ "Display shipping address on invoice (in addition to the default billing "
815
+ #~ "address) if different from billing address"
816
+ #~ msgstr ""
817
+ #~ "Näita arvel tarneaadressi (lisaks vaikimisi näidatavale arveaadressile), "
818
+ #~ "kui see erineb arve aadressist."
819
+
820
+ #~ msgid ""
821
+ #~ "This is the number that will be used on the next invoice that is created. "
822
+ #~ "By default, numbering starts from the WooCommerce Order Number of the "
823
+ #~ "first invoice that is created and increases for every new invoice. Note "
824
+ #~ "that if you override this and set it lower than the highest (PDF) invoice "
825
+ #~ "number, this could create double invoice numbers!"
826
+ #~ msgstr ""
827
+ #~ "Seda numbrit kasutatakse järgmise arve loomisel. Vaikimisi alustatakse "
828
+ #~ "esimese loodava arve WooCommerce tellimuse numbrist ning suurendatakse "
829
+ #~ "seda iga järgneva arve jaoks. Pane tähele, et kui seda käsitsi väiksemaks "
830
+ #~ "muudad, siis võib esineda korduvaid arvenumbreid!"
831
+
832
+ #~ msgid "Invoice number format"
833
+ #~ msgstr "Arve numbriformaat"
834
+
835
+ #~ msgid ""
836
+ #~ "Disable automatic creation/attachment of invoices when only free products "
837
+ #~ "are ordered"
838
+ #~ msgstr ""
839
+ #~ "Ära loo ega manusta arveid automaatselt, kui tellimuses on kõik tooted "
840
+ #~ "tasuta."
841
+
842
+ #~ msgid ""
843
+ #~ "Display billing address on packing slip (in addition to the default "
844
+ #~ "shipping address) if different from shipping address"
845
+ #~ msgstr ""
846
+ #~ "Näita arveaadressi saatelehel (lisaks vaikimisi tarneaadressile), kui see "
847
+ #~ "erineb tarneaadressist"
848
+
849
+ #~ msgid "Template"
850
+ #~ msgstr "Mall"
851
+
852
+ #~ msgid "Admin New Order email"
853
+ #~ msgstr "Halduri \"uus tellimus\" e-kiri"
854
+
855
+ #~ msgid "Customer Processing Order email"
856
+ #~ msgstr "Kliendi \"tellimus töötluses\" e-kiri"
857
+
858
+ #~ msgid "Customer Completed Order email"
859
+ #~ msgstr "Kliendi \"tellimus täidetud\" e-kiri"
860
+
861
+ #~ msgid "Customer Invoice email"
862
+ #~ msgstr "Kliendi \"arve\" e-kiri"
863
+
864
+ #~ msgid "Interface"
865
+ #~ msgstr "Liides"
866
+
867
+ #~ msgid "PDF Template settings"
868
+ #~ msgstr "PDF malli sätted"
869
+
870
+ #~ msgid "Display built-in sequential invoice number"
871
+ #~ msgstr "Näita sisseehitatud järjestikust arvenumbrit"
872
+
873
+ #~ msgid ""
874
+ #~ "to use the order year and/or month, use [order_year] or [order_month] "
875
+ #~ "respectively"
876
+ #~ msgstr ""
877
+ #~ "tellimuse aasta ja/või kuu kasutamiseks on vastavalt [order_year] ning "
878
+ #~ "[order_month]"
879
+
880
+ #~ msgid "Use old tmp folder"
881
+ #~ msgstr "Kasuta vana ajutist kausta"
882
+
883
+ #~ msgid ""
884
+ #~ "Before version 1.5 of PDF Invoices, temporary files were stored in the "
885
+ #~ "plugin folder. This setting is only intended for backwards compatibility, "
886
+ #~ "not recommended on new installs!"
887
+ #~ msgstr ""
888
+ #~ "Enne PDF arvete versiooni 1.5 hoiti ajutisi faile pluginate kaustas. See "
889
+ #~ "säte on mõeldud tagasiulatuva ühilduvuse jaoks, uutele paigaldustele "
890
+ #~ "mittesoovitatav!"
891
+
892
+ #~ msgid "PDF Packing Slips"
893
+ #~ msgstr "PDF saatelehed"
894
+
895
+ #~ msgid "PDF Invoice"
896
+ #~ msgstr "PDF arve"
897
+
898
+ #~ msgid "PDF Packing Slip"
899
+ #~ msgstr "PDF saateleht"
languages/woocommerce-pdf-invoices-packing-slips-fi.mo ADDED
Binary file
languages/woocommerce-pdf-invoices-packing-slips-fi.po ADDED
@@ -0,0 +1,948 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
+ "POT-Creation-Date: 2017-06-09 16:37+0200\n"
5
+ "PO-Revision-Date: 2017-06-09 16:37+0200\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: Contrast Digital Oy <hello@contrast.fi>\n"
8
+ "Language: fi_FI\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.12\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: includes/class-wcpdf-admin.php:72 includes/class-wcpdf-admin.php:174
20
+ msgid "Invoice Number"
21
+ msgstr "Laskun numero"
22
+
23
+ #: includes/class-wcpdf-admin.php:105
24
+ msgid "Create PDF"
25
+ msgstr "Luo PDF"
26
+
27
+ #: includes/class-wcpdf-admin.php:115
28
+ msgid "PDF Invoice data"
29
+ msgstr "PDF laskun tiedot"
30
+
31
+ #: includes/class-wcpdf-admin.php:166
32
+ #: includes/documents/class-wcpdf-invoice.php:32
33
+ #: includes/documents/class-wcpdf-invoice.php:41
34
+ #: includes/legacy/class-wcpdf-legacy-functions.php:22
35
+ #: templates/Simple/invoice.php:10 templates/Simple/invoice.php:22
36
+ msgid "Invoice"
37
+ msgstr "Lasku"
38
+
39
+ #: includes/class-wcpdf-admin.php:183 includes/class-wcpdf-admin.php:204
40
+ #: templates/Simple/invoice.php:56
41
+ msgid "Invoice Date:"
42
+ msgstr "Laskun Päiväys:"
43
+
44
+ #: includes/class-wcpdf-admin.php:189
45
+ msgid "Set invoice number & date"
46
+ msgstr ""
47
+
48
+ #: includes/class-wcpdf-admin.php:196
49
+ msgid "Invoice Number (unformatted!)"
50
+ msgstr "Laskun numero (ei muotoiltu)"
51
+
52
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
53
+ msgid "h"
54
+ msgstr "t"
55
+
56
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
57
+ msgid "m"
58
+ msgstr "m"
59
+
60
+ #: includes/class-wcpdf-frontend.php:55
61
+ msgid "Download invoice (PDF)"
62
+ msgstr "Lataa lasku (PDF)"
63
+
64
+ #: includes/class-wcpdf-main.php:132 includes/class-wcpdf-main.php:153
65
+ #: includes/class-wcpdf-main.php:160 includes/class-wcpdf-main.php:166
66
+ msgid "You do not have sufficient permissions to access this page."
67
+ msgstr "Sinulla ei ole tarvittavia oikeuksia tälle sivulle."
68
+
69
+ #: includes/class-wcpdf-main.php:141
70
+ msgid "Some of the export parameters are missing."
71
+ msgstr "Osa vientiparametreistä on puutteellisia."
72
+
73
+ #: includes/class-wcpdf-settings-callbacks.php:27
74
+ msgid ""
75
+ "<b>Warning!</b> The settings below are meant for debugging/development only. "
76
+ "Do not use them on a live website!"
77
+ msgstr ""
78
+ "<b>Huom!</b> Nämä asetukset on tarkoitettu vain vianetsintään! Älä käytä "
79
+ "niitä tuotantokäytössä!"
80
+
81
+ #: includes/class-wcpdf-settings-callbacks.php:36
82
+ msgid ""
83
+ "These are used for the (optional) footer columns in the <em>Modern "
84
+ "(Premium)</em> template, but can also be used for other elements in your "
85
+ "custom template"
86
+ msgstr ""
87
+ "Nämä asetukset koskevat alapalkin kolumneja <em>Modern (Premium)</em> -"
88
+ "sivupohjassa, mutta niitä voidaan myös käyttää muissa elementeissä omissa "
89
+ "sivupohjissasi."
90
+
91
+ #: includes/class-wcpdf-settings-callbacks.php:301
92
+ msgid "Image resolution"
93
+ msgstr "Kuvan resoluutio"
94
+
95
+ #: includes/class-wcpdf-settings-callbacks.php:325
96
+ msgid "Save"
97
+ msgstr ""
98
+
99
+ #: includes/class-wcpdf-settings-debug.php:34
100
+ msgid "Debug settings"
101
+ msgstr "Vian paikannnus asetukset"
102
+
103
+ #: includes/class-wcpdf-settings-debug.php:40
104
+ msgid "Legacy mode"
105
+ msgstr ""
106
+
107
+ #: includes/class-wcpdf-settings-debug.php:46
108
+ msgid ""
109
+ "Legacy mode ensures compatibility with templates and filters from previous "
110
+ "versions."
111
+ msgstr ""
112
+
113
+ #: includes/class-wcpdf-settings-debug.php:52
114
+ msgid "Enable debug output"
115
+ msgstr "Ota käyttöön vikalogi"
116
+
117
+ #: includes/class-wcpdf-settings-debug.php:58
118
+ msgid ""
119
+ "Enable this option to output plugin errors if you're getting a blank page or "
120
+ "other PDF generation issues"
121
+ msgstr ""
122
+ "Ota käyttöön tämä toiminto näyttääksesi lisäosan virheilmoitukset jos "
123
+ "lisäosa näyttää pelkän tyhjän sivun tai saat muita virheilmoituksia"
124
+
125
+ #: includes/class-wcpdf-settings-debug.php:64
126
+ msgid "Output to HTML"
127
+ msgstr "HTML muotoilu"
128
+
129
+ #: includes/class-wcpdf-settings-debug.php:70
130
+ msgid ""
131
+ "Send the template output as HTML to the browser instead of creating a PDF."
132
+ msgstr ""
133
+ "Lähetä sivupohja HTML muodossa selaimeen, sen sijaan että luotaisiin PDF "
134
+ "tiedosto"
135
+
136
+ #: includes/class-wcpdf-settings-documents.php:29
137
+ #: includes/class-wcpdf-settings.php:84
138
+ msgid "Documents"
139
+ msgstr ""
140
+
141
+ #: includes/class-wcpdf-settings-documents.php:45
142
+ msgid ""
143
+ "All available documents are listed below. Click on a document to configure "
144
+ "it."
145
+ msgstr ""
146
+
147
+ #: includes/class-wcpdf-settings-general.php:37
148
+ msgid "General settings"
149
+ msgstr "Yleiset asetukset"
150
+
151
+ #: includes/class-wcpdf-settings-general.php:43
152
+ msgid "How do you want to view the PDF?"
153
+ msgstr "Miten haluat esittää PDF-tiedoston?"
154
+
155
+ #: includes/class-wcpdf-settings-general.php:50
156
+ msgid "Download the PDF"
157
+ msgstr "Lataa PDF-tiedosto"
158
+
159
+ #: includes/class-wcpdf-settings-general.php:51
160
+ msgid "Open the PDF in a new browser tab/window"
161
+ msgstr "Avaa PDF-tiedosto uudessa selainikkunassa/välilehdellä"
162
+
163
+ #: includes/class-wcpdf-settings-general.php:58
164
+ msgid "Choose a template"
165
+ msgstr "Valitse sivupohja"
166
+
167
+ #: includes/class-wcpdf-settings-general.php:65
168
+ #, php-format
169
+ msgid ""
170
+ "Want to use your own template? Copy all the files from <code>%s</code> to "
171
+ "your (child) theme in <code>%s</code> to customize them"
172
+ msgstr ""
173
+ "Haluatko käyttää omaa sivupohjaa? Kopioi kaikki tiedostot <code>%s</code> "
174
+ "oman teemasi hakemistoon <code>%s</code> muokataksesi tiedostoja"
175
+
176
+ #: includes/class-wcpdf-settings-general.php:71
177
+ msgid "Paper size"
178
+ msgstr "Paperin koko"
179
+
180
+ #: includes/class-wcpdf-settings-general.php:78
181
+ msgid "A4"
182
+ msgstr "A4"
183
+
184
+ #: includes/class-wcpdf-settings-general.php:79
185
+ msgid "Letter"
186
+ msgstr "Kirje"
187
+
188
+ #: includes/class-wcpdf-settings-general.php:86
189
+ msgid "Extended currency symbol support"
190
+ msgstr ""
191
+
192
+ #: includes/class-wcpdf-settings-general.php:92
193
+ msgid "Enable this if your currency symbol is not displaying properly"
194
+ msgstr ""
195
+
196
+ #: includes/class-wcpdf-settings-general.php:98
197
+ msgid "Shop header/logo"
198
+ msgstr "Kaupan logo"
199
+
200
+ #: includes/class-wcpdf-settings-general.php:104
201
+ msgid "Select or upload your invoice header/logo"
202
+ msgstr "Valitse tai lataa laskun logo"
203
+
204
+ #: includes/class-wcpdf-settings-general.php:105
205
+ msgid "Set image"
206
+ msgstr "Aseta kuva"
207
+
208
+ #: includes/class-wcpdf-settings-general.php:106
209
+ msgid "Remove image"
210
+ msgstr "Poista kuva"
211
+
212
+ #: includes/class-wcpdf-settings-general.php:113
213
+ msgid "Shop Name"
214
+ msgstr "Kaupan nimi"
215
+
216
+ #: includes/class-wcpdf-settings-general.php:126
217
+ msgid "Shop Address"
218
+ msgstr "Kaupan osoite"
219
+
220
+ #: includes/class-wcpdf-settings-general.php:141
221
+ msgid "Footer: terms & conditions, policies, etc."
222
+ msgstr "Alapalkki: ehdot, periaatteet jne…"
223
+
224
+ #: includes/class-wcpdf-settings-general.php:156
225
+ msgid "Extra template fields"
226
+ msgstr "Lisäkentät"
227
+
228
+ #: includes/class-wcpdf-settings-general.php:162
229
+ msgid "Extra field 1"
230
+ msgstr "Lisäkenttä 1"
231
+
232
+ #: includes/class-wcpdf-settings-general.php:170
233
+ msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
234
+ msgstr "Tämä on alapalkin sarake 1 <i>Modern (Premium)</i> -sivupohjassa."
235
+
236
+ #: includes/class-wcpdf-settings-general.php:177
237
+ msgid "Extra field 2"
238
+ msgstr "Lisäkenttä 2"
239
+
240
+ #: includes/class-wcpdf-settings-general.php:185
241
+ msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
242
+ msgstr "Tämä on alapalkin sarake 2 <i>Modern (Premium)</i> -sivupohjassa."
243
+
244
+ #: includes/class-wcpdf-settings-general.php:192
245
+ msgid "Extra field 3"
246
+ msgstr "Lisäkenttä 3"
247
+
248
+ #: includes/class-wcpdf-settings-general.php:200
249
+ msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
250
+ msgstr "Tämä on alapalkin sarake 3 <i>Modern (Premium)</i> -sivupohjassa."
251
+
252
+ #: includes/class-wcpdf-settings.php:45 includes/class-wcpdf-settings.php:46
253
+ msgid "PDF Invoices"
254
+ msgstr "PDF-laskut"
255
+
256
+ #: includes/class-wcpdf-settings.php:58
257
+ msgid "Settings"
258
+ msgstr "Asetukset"
259
+
260
+ #: includes/class-wcpdf-settings.php:71
261
+ msgid "Documentation"
262
+ msgstr ""
263
+
264
+ #: includes/class-wcpdf-settings.php:72
265
+ msgid "Support Forum"
266
+ msgstr ""
267
+
268
+ #: includes/class-wcpdf-settings.php:83
269
+ msgid "General"
270
+ msgstr "Yleiset"
271
+
272
+ #: includes/class-wcpdf-settings.php:89
273
+ msgid "Status"
274
+ msgstr "Tila"
275
+
276
+ #: includes/compatibility/class-wc-core-compatibility.php:222
277
+ msgid "WooCommerce"
278
+ msgstr ""
279
+
280
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:113
281
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:176
282
+ msgid "N/A"
283
+ msgstr "-"
284
+
285
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:305
286
+ msgid "Payment method"
287
+ msgstr "Maksutapa"
288
+
289
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:326
290
+ msgid "Shipping method"
291
+ msgstr "Toimitustapa"
292
+
293
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:669
294
+ #, php-format
295
+ msgid "(includes %s)"
296
+ msgstr ""
297
+
298
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:672
299
+ #, php-format
300
+ msgid "(Includes %s)"
301
+ msgstr "(Sisältää %s)"
302
+
303
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:702
304
+ msgid "Subtotal"
305
+ msgstr "Välisumma"
306
+
307
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:727
308
+ msgid "Shipping"
309
+ msgstr "Toimitus"
310
+
311
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:790
312
+ msgid "Discount"
313
+ msgstr "Alennus"
314
+
315
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:831
316
+ msgid "VAT"
317
+ msgstr "Arvonlisävero"
318
+
319
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:832
320
+ msgid "Tax rate"
321
+ msgstr "Veroprosentti"
322
+
323
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:876
324
+ msgid "Total ex. VAT"
325
+ msgstr "Yhteensä (ei sis. Alv)"
326
+
327
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:879
328
+ msgid "Total"
329
+ msgstr "Yhteensä"
330
+
331
+ #: includes/documents/abstract-wcpdf-order-document.php:674
332
+ msgid "Admin email"
333
+ msgstr ""
334
+
335
+ #: includes/documents/abstract-wcpdf-order-document.php:677
336
+ msgid "Manual email"
337
+ msgstr ""
338
+
339
+ # This is a filename (prefix). do not use spaces or special characters!
340
+ #: includes/documents/class-wcpdf-invoice.php:85
341
+ msgid "invoice"
342
+ msgid_plural "invoices"
343
+ msgstr[0] "lasku"
344
+ msgstr[1] "laskut"
345
+
346
+ #: includes/documents/class-wcpdf-invoice.php:130
347
+ #: includes/documents/class-wcpdf-packing-slip.php:94
348
+ msgid "Enable"
349
+ msgstr ""
350
+
351
+ #: includes/documents/class-wcpdf-invoice.php:141
352
+ msgid "Attach to:"
353
+ msgstr ""
354
+
355
+ #: includes/documents/class-wcpdf-invoice.php:148
356
+ #, php-format
357
+ msgid ""
358
+ "It looks like the temp folder (<code>%s</code>) is not writable, check the "
359
+ "permissions for this folder! Without having write access to this folder, the "
360
+ "plugin will not be able to email invoices."
361
+ msgstr ""
362
+ "Näyttää siltä, että temp-tiedosto (<code>%s</code>) on kirjoitussuojattu, "
363
+ "tarkista tiedosto-oikeudet tälle kensiolle. Ilman kirjoitusoikeutta tämä "
364
+ "lisäosa ei pysty lähettämään laskuja sähköpostilla."
365
+
366
+ #: includes/documents/class-wcpdf-invoice.php:154
367
+ msgid "Display shipping address"
368
+ msgstr "Näytä toimitusosoite"
369
+
370
+ #: includes/documents/class-wcpdf-invoice.php:160
371
+ msgid ""
372
+ "Display shipping address (in addition to the default billing address) if "
373
+ "different from billing address"
374
+ msgstr ""
375
+
376
+ #: includes/documents/class-wcpdf-invoice.php:166
377
+ #: includes/documents/class-wcpdf-packing-slip.php:117
378
+ msgid "Display email address"
379
+ msgstr "Näytä sähköpostiosoite"
380
+
381
+ #: includes/documents/class-wcpdf-invoice.php:177
382
+ #: includes/documents/class-wcpdf-packing-slip.php:128
383
+ msgid "Display phone number"
384
+ msgstr "Näytä puhelinnumero"
385
+
386
+ #: includes/documents/class-wcpdf-invoice.php:188
387
+ msgid "Display invoice date"
388
+ msgstr "Näytä laskun päivämäärä"
389
+
390
+ #: includes/documents/class-wcpdf-invoice.php:200
391
+ msgid "Display invoice number"
392
+ msgstr ""
393
+
394
+ #: includes/documents/class-wcpdf-invoice.php:212
395
+ msgid "Next invoice number (without prefix/suffix etc.)"
396
+ msgstr "Seuraavan laskun numero (ilman etu/takaliitteitä tms.)"
397
+
398
+ #: includes/documents/class-wcpdf-invoice.php:218
399
+ msgid ""
400
+ "This is the number that will be used for the next document. By default, "
401
+ "numbering starts from 1 and increases for every new document. Note that if "
402
+ "you override this and set it lower than the current/highest number, this "
403
+ "could create duplicate numbers!"
404
+ msgstr ""
405
+
406
+ #: includes/documents/class-wcpdf-invoice.php:224
407
+ msgid "Number format"
408
+ msgstr ""
409
+
410
+ #: includes/documents/class-wcpdf-invoice.php:232
411
+ msgid "Prefix"
412
+ msgstr "Etuliite"
413
+
414
+ #: includes/documents/class-wcpdf-invoice.php:234
415
+ msgid ""
416
+ "to use the invoice year and/or month, use [invoice_year] or [invoice_month] "
417
+ "respectively"
418
+ msgstr ""
419
+
420
+ #: includes/documents/class-wcpdf-invoice.php:237
421
+ msgid "Suffix"
422
+ msgstr "Takaliite"
423
+
424
+ #: includes/documents/class-wcpdf-invoice.php:242
425
+ msgid "Padding"
426
+ msgstr "Padding"
427
+
428
+ #: includes/documents/class-wcpdf-invoice.php:245
429
+ msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
430
+ msgstr "syötä lukujen määrä tähän - syötä 6 näyttääksesi 42 seuraavasti 000042"
431
+
432
+ #: includes/documents/class-wcpdf-invoice.php:248
433
+ msgid ""
434
+ "note: if you have already created a custom invoice number format with a "
435
+ "filter, the above settings will be ignored"
436
+ msgstr ""
437
+ "huomio: jos olet jo luonut räätälöidyn laskun numeron muodon filtterillä, "
438
+ "yllä olevat asetukset ohitetaan"
439
+
440
+ #: includes/documents/class-wcpdf-invoice.php:254
441
+ msgid "Reset invoice number yearly"
442
+ msgstr "Nollaa laskun numero vuosittain"
443
+
444
+ #: includes/documents/class-wcpdf-invoice.php:265
445
+ msgid "Allow My Account invoice download"
446
+ msgstr "Salli laskun lataaminen oman tilin kautta"
447
+
448
+ #: includes/documents/class-wcpdf-invoice.php:272
449
+ msgid "Only when an invoice is already created/emailed"
450
+ msgstr "Ainoastaan kun lasku on luotu/lähetetty"
451
+
452
+ #: includes/documents/class-wcpdf-invoice.php:273
453
+ msgid "Only for specific order statuses (define below)"
454
+ msgstr "Ainoastaan tietyille tilauksen tiloille (määrittele alla)"
455
+
456
+ #: includes/documents/class-wcpdf-invoice.php:274
457
+ msgid "Always"
458
+ msgstr "Aina"
459
+
460
+ #: includes/documents/class-wcpdf-invoice.php:275
461
+ msgid "Never"
462
+ msgstr "Ei koskaan"
463
+
464
+ #: includes/documents/class-wcpdf-invoice.php:290
465
+ msgid "Enable invoice number column in the orders list"
466
+ msgstr "Aktivoi laskun numerot sarake Tilaukset-listalla."
467
+
468
+ #: includes/documents/class-wcpdf-invoice.php:301
469
+ msgid "Disable for free products"
470
+ msgstr "Poista käytöstä ilmaisille tuotteille"
471
+
472
+ #: includes/documents/class-wcpdf-invoice.php:307
473
+ msgid ""
474
+ "Disable automatic creation/attachment when only free products are ordered"
475
+ msgstr ""
476
+
477
+ #: includes/documents/class-wcpdf-invoice.php:321
478
+ msgid "Invoice numbers are created by a third-party extension."
479
+ msgstr ""
480
+
481
+ #: includes/documents/class-wcpdf-invoice.php:323
482
+ #, php-format
483
+ msgid "Configure it <a href=\"%s\">here</a>."
484
+ msgstr ""
485
+
486
+ #: includes/documents/class-wcpdf-packing-slip.php:32
487
+ #: includes/documents/class-wcpdf-packing-slip.php:41
488
+ #: includes/legacy/class-wcpdf-legacy-functions.php:25
489
+ #: templates/Simple/packing-slip.php:10 templates/Simple/packing-slip.php:22
490
+ msgid "Packing Slip"
491
+ msgstr "Lähetyslista"
492
+
493
+ # This is a filename (prefix). do not use spaces or special characters!
494
+ #: includes/documents/class-wcpdf-packing-slip.php:53
495
+ msgid "packing-slip"
496
+ msgid_plural "packing-slips"
497
+ msgstr[0] "lähetyslista"
498
+ msgstr[1] "lähetyslistat"
499
+
500
+ #: includes/documents/class-wcpdf-packing-slip.php:105
501
+ msgid "Display billing address"
502
+ msgstr "Näytä laskutusosoite"
503
+
504
+ #: includes/documents/class-wcpdf-packing-slip.php:111
505
+ msgid ""
506
+ "Display billing address (in addition to the default shipping address) if "
507
+ "different from shipping address"
508
+ msgstr ""
509
+
510
+ #: includes/legacy/class-wcpdf-legacy-document.php:32
511
+ msgid "Legacy Document"
512
+ msgstr ""
513
+
514
+ #: includes/views/wcpdf-extensions.php:15
515
+ msgid "Check out these premium extensions!"
516
+ msgstr "Tarkastele Premium laajennuksia"
517
+
518
+ #: includes/views/wcpdf-extensions.php:16
519
+ msgid "click items to read more"
520
+ msgstr "Klikkaa lisätietoja"
521
+
522
+ #: includes/views/wcpdf-extensions.php:21
523
+ msgid ""
524
+ "Premium PDF Invoice bundle: Everything you need for a perfect invoicing "
525
+ "system"
526
+ msgstr ""
527
+
528
+ #: includes/views/wcpdf-extensions.php:23
529
+ msgid ""
530
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the all our "
531
+ "premium extensions:"
532
+ msgstr ""
533
+
534
+ #: includes/views/wcpdf-extensions.php:24
535
+ msgid "Professional features:"
536
+ msgstr ""
537
+
538
+ #: includes/views/wcpdf-extensions.php:26
539
+ #: includes/views/wcpdf-extensions.php:56
540
+ msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
541
+ msgstr "Sähköposti/tulosta/lataa <b>PDF hyvityslaskut & Pro forma laskut</b>"
542
+
543
+ #: includes/views/wcpdf-extensions.php:27
544
+ #: includes/views/wcpdf-extensions.php:57
545
+ msgid ""
546
+ "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
547
+ "packing slips, for example to a drop-shipper or a supplier."
548
+ msgstr ""
549
+ "Lähetä erillinen huomautussähköposti joko PDF laskulla/lähetyslistalla tai "
550
+ "ilman, esim. tavarantoimittajalle."
551
+
552
+ #: includes/views/wcpdf-extensions.php:28
553
+ #: includes/views/wcpdf-extensions.php:58
554
+ msgid ""
555
+ "Attach <b>up to 3 static files</b> (for example a terms & conditions "
556
+ "document) to the WooCommerce emails of your choice."
557
+ msgstr ""
558
+ "Lisää korkeintaan 3 staattista tiedostoa (kuten esim. toimitusehdot) "
559
+ "WooCommercen sähköposteihin, jotka voit itse valita."
560
+
561
+ #: includes/views/wcpdf-extensions.php:29
562
+ #: includes/views/wcpdf-extensions.php:59
563
+ msgid ""
564
+ "Use <b>separate numbering systems</b> and/or format for proforma invoices "
565
+ "and credit notes or utilize the main invoice numbering system"
566
+ msgstr ""
567
+ "Käytä erillistä numerointia ja/tai formaattia pro forma laskuille ja "
568
+ "hyvityslaskuille tai määrittele päätoiminen numerointijärjestelmä"
569
+
570
+ #: includes/views/wcpdf-extensions.php:30
571
+ #: includes/views/wcpdf-extensions.php:60
572
+ msgid ""
573
+ "<b>Customize</b> the <b>shipping & billing address</b> format to include "
574
+ "additional custom fields, font sizes etc. without the need to create a "
575
+ "custom template."
576
+ msgstr ""
577
+ "Muokkaa toimitus- ja laskutusosoitetta lisätäksesi lisäkenttiä tai fontin "
578
+ "kokoa suoraan ilman erillisen sivupohjan luomista."
579
+
580
+ #: includes/views/wcpdf-extensions.php:31
581
+ #: includes/views/wcpdf-extensions.php:61
582
+ msgid "Use the plugin in multilingual <b>WPML</b> setups"
583
+ msgstr "Käytä lisäosaa monikielisenä"
584
+
585
+ #: includes/views/wcpdf-extensions.php:33
586
+ #: includes/views/wcpdf-extensions.php:131
587
+ msgid "Advanced, customizable templates"
588
+ msgstr "Kehittyneet, muokattavat sivupohjat"
589
+
590
+ #: includes/views/wcpdf-extensions.php:35
591
+ #: includes/views/wcpdf-extensions.php:134
592
+ msgid ""
593
+ "Completely customize the invoice contents (prices, taxes, thumbnails) to "
594
+ "your needs with a drag & drop customizer"
595
+ msgstr ""
596
+ "Muokkaa täydellisesti laskun sisältöä tarpeitasi varten drag & drop "
597
+ "muokkaimella"
598
+
599
+ #: includes/views/wcpdf-extensions.php:36
600
+ #: includes/views/wcpdf-extensions.php:135
601
+ msgid "Two extra stylish premade templates (Modern & Business)"
602
+ msgstr "Kaksi tyylikästä valmista sivupohjaa (Moderni ja Business)"
603
+
604
+ #: includes/views/wcpdf-extensions.php:38
605
+ msgid "Upload automatically to dropbox"
606
+ msgstr ""
607
+
608
+ #: includes/views/wcpdf-extensions.php:40
609
+ #: includes/views/wcpdf-extensions.php:97
610
+ msgid ""
611
+ "This extension conveniently uploads all the invoices (and other pdf "
612
+ "documents from the professional extension) that are emailed to your "
613
+ "customers to Dropbox. The best way to keep your invoice administration up to "
614
+ "date!"
615
+ msgstr "Tämä laajennus lähettää kaikki laskusi Dropbox tilillesi."
616
+
617
+ #: includes/views/wcpdf-extensions.php:43
618
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Bundle"
619
+ msgstr ""
620
+
621
+ #: includes/views/wcpdf-extensions.php:52
622
+ msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
623
+ msgstr "Valitse Pro versio: Pro forma laskut, hyvityslaskut ja paljon muuta!"
624
+
625
+ #: includes/views/wcpdf-extensions.php:54
626
+ msgid ""
627
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the following "
628
+ "features:"
629
+ msgstr ""
630
+ "Täydennä WooCommerce PDF laskut & lähetyslistat seuraavilla ominaisuuksilla:"
631
+
632
+ #: includes/views/wcpdf-extensions.php:63
633
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
634
+ msgstr "Hanki WooCommerce laskut & lähetyslistat Pro versio!"
635
+
636
+ #: includes/views/wcpdf-extensions.php:71
637
+ msgid "Automatically send payment reminders to your customers"
638
+ msgstr ""
639
+
640
+ #: includes/views/wcpdf-extensions.php:73
641
+ msgid "WooCommerce Smart Reminder emails"
642
+ msgstr ""
643
+
644
+ #: includes/views/wcpdf-extensions.php:75
645
+ msgid "<b>Completely automatic</b> scheduled emails"
646
+ msgstr ""
647
+
648
+ #: includes/views/wcpdf-extensions.php:76
649
+ msgid ""
650
+ "<b>Rich text editor</b> for the email text, including placeholders for data "
651
+ "from the order (name, order total, etc)"
652
+ msgstr ""
653
+
654
+ #: includes/views/wcpdf-extensions.php:77
655
+ msgid ""
656
+ "Configure the exact requirements for sending an email (time after order, "
657
+ "order status, payment method)"
658
+ msgstr ""
659
+
660
+ #: includes/views/wcpdf-extensions.php:78
661
+ msgid ""
662
+ "Fully <b>WPML Compatible</b> – emails will be automatically sent in the "
663
+ "order language."
664
+ msgstr ""
665
+
666
+ #: includes/views/wcpdf-extensions.php:79
667
+ msgid ""
668
+ "<b>Super versatile!</b> Can be used for any kind of reminder email (review "
669
+ "reminders, repeat purchases)"
670
+ msgstr ""
671
+
672
+ #: includes/views/wcpdf-extensions.php:80
673
+ msgid "Integrates seamlessly with the PDF Invoices & Packing Slips plugin"
674
+ msgstr ""
675
+
676
+ #: includes/views/wcpdf-extensions.php:82
677
+ msgid "Get WooCommerce Smart Reminder Emails"
678
+ msgstr ""
679
+
680
+ #: includes/views/wcpdf-extensions.php:91
681
+ msgid "Upload all invoices automatically to your dropbox"
682
+ msgstr "Lähetä kaikki laskut automaattisesti dropbox tilillesi"
683
+
684
+ #: includes/views/wcpdf-extensions.php:98
685
+ msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
686
+ msgstr "Hanki WooCommerce PDF laskut & lähetyslistat Dropbox laajennus!"
687
+
688
+ #: includes/views/wcpdf-extensions.php:110
689
+ msgid ""
690
+ "Automatically send new orders or packing slips to your printer, as soon as "
691
+ "the customer orders!"
692
+ msgstr "Lähetä automaattisesti tilaukset tai lähetyslistat tulostimelle."
693
+
694
+ #: includes/views/wcpdf-extensions.php:116
695
+ msgid ""
696
+ "Check out the WooCommerce Automatic Order Printing extension from our "
697
+ "partners at Simba Hosting"
698
+ msgstr ""
699
+ "Katso WooCommerce Automaattinen Tulostus laajennus yhteistyökumppaniltamme "
700
+ "Simba Hostingilla"
701
+
702
+ #: includes/views/wcpdf-extensions.php:117
703
+ msgid "WooCommerce Automatic Order Printing"
704
+ msgstr "WooCommerce Automaattinen Tilauksen Tulostus"
705
+
706
+ #: includes/views/wcpdf-extensions.php:136
707
+ #, php-format
708
+ msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
709
+ msgstr "Katso Premium PDF lasku & lähetyslistat sivupohjat osoitteessa: %s."
710
+
711
+ #: includes/views/wcpdf-extensions.php:137
712
+ #, php-format
713
+ msgid "For custom templates, contact us at %s."
714
+ msgstr "Haluatko räätälöidyt sivupohjat, ota yhteyttä meihin osoitteessa %s."
715
+
716
+ #: includes/views/wcpdf-extensions.php:146
717
+ msgid "Hide this message"
718
+ msgstr ""
719
+
720
+ #: includes/views/wcpdf-settings-page.php:8
721
+ msgid "WooCommerce PDF Invoices"
722
+ msgstr "WooCommerce PDF-laskut"
723
+
724
+ #: templates/Simple/invoice.php:30 templates/Simple/packing-slip.php:41
725
+ msgid "Billing Address:"
726
+ msgstr "Laskutusosoite:"
727
+
728
+ #: templates/Simple/invoice.php:41
729
+ msgid "Ship To:"
730
+ msgstr "Toimitetaan:"
731
+
732
+ #: templates/Simple/invoice.php:50
733
+ msgid "Invoice Number:"
734
+ msgstr "Laskun numero:"
735
+
736
+ #: templates/Simple/invoice.php:61 templates/Simple/packing-slip.php:49
737
+ msgid "Order Number:"
738
+ msgstr "Tilauksen numero:"
739
+
740
+ #: templates/Simple/invoice.php:65 templates/Simple/packing-slip.php:53
741
+ msgid "Order Date:"
742
+ msgstr "Tilauksen päiväys:"
743
+
744
+ #: templates/Simple/invoice.php:69
745
+ msgid "Payment Method:"
746
+ msgstr "Maksutapa:"
747
+
748
+ #: templates/Simple/invoice.php:83 templates/Simple/packing-slip.php:71
749
+ msgid "Product"
750
+ msgstr "Tuote"
751
+
752
+ #: templates/Simple/invoice.php:84 templates/Simple/packing-slip.php:72
753
+ msgid "Quantity"
754
+ msgstr "Määrä"
755
+
756
+ #: templates/Simple/invoice.php:85
757
+ msgid "Price"
758
+ msgstr "Hinta"
759
+
760
+ #: templates/Simple/invoice.php:92 templates/Simple/packing-slip.php:79
761
+ msgid "Description"
762
+ msgstr "Kuvaus"
763
+
764
+ #: templates/Simple/invoice.php:97 templates/Simple/packing-slip.php:84
765
+ msgid "SKU"
766
+ msgstr "Tuotekoodi"
767
+
768
+ #: templates/Simple/invoice.php:98 templates/Simple/packing-slip.php:85
769
+ msgid "SKU:"
770
+ msgstr "Tuotekoodi:"
771
+
772
+ #: templates/Simple/invoice.php:99 templates/Simple/packing-slip.php:86
773
+ msgid "Weight:"
774
+ msgstr "Paino:"
775
+
776
+ #: templates/Simple/invoice.php:114 templates/Simple/packing-slip.php:101
777
+ msgid "Customer Notes"
778
+ msgstr "Asiakkaan huomiot"
779
+
780
+ #: templates/Simple/packing-slip.php:30
781
+ msgid "Shipping Address:"
782
+ msgstr "Toimitusosoite:"
783
+
784
+ #: templates/Simple/packing-slip.php:57
785
+ msgid "Shipping Method:"
786
+ msgstr "Toimitustapa:"
787
+
788
+ #: woocommerce-pdf-invoices-packingslips.php:231
789
+ #, php-format
790
+ msgid ""
791
+ "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
792
+ "installed & activated!"
793
+ msgstr ""
794
+ "WooCommerce PDF Invoices & Packing Slips edellyttää %sWooCommerce%s -"
795
+ "asennusta ja aktivointia!"
796
+
797
+ #: woocommerce-pdf-invoices-packingslips.php:243
798
+ msgid ""
799
+ "WooCommerce PDF Invoices & Packing Slips requires PHP 5.3 or higher (5.6 or "
800
+ "higher recommended)."
801
+ msgstr ""
802
+
803
+ #: woocommerce-pdf-invoices-packingslips.php:244
804
+ msgid "How to update your PHP version"
805
+ msgstr ""
806
+
807
+ #~ msgid "Attach invoice to:"
808
+ #~ msgstr "Liitä lasku:"
809
+
810
+ #~ msgid ""
811
+ #~ "Display shipping address on invoice (in addition to the default billing "
812
+ #~ "address) if different from billing address"
813
+ #~ msgstr "Näytä toimitusosoite laskulla, jos eri kuin laskutusosoite"
814
+
815
+ #~ msgid ""
816
+ #~ "This is the number that will be used on the next invoice that is created. "
817
+ #~ "By default, numbering starts from the WooCommerce Order Number of the "
818
+ #~ "first invoice that is created and increases for every new invoice. Note "
819
+ #~ "that if you override this and set it lower than the highest (PDF) invoice "
820
+ #~ "number, this could create double invoice numbers!"
821
+ #~ msgstr ""
822
+ #~ "Tmä numero näytetään seuraavassa laskussa, joka luodaan. Oletusarvoisesti "
823
+ #~ "numerointi alkaa ensimmäisen tilauksen, jolle lasku luodaan, WooCommercen "
824
+ #~ "tilausnumerosta. Laskunumerot jatkuvat tästä eteenpäin juoksevasti, eli "
825
+ #~ "kasvavat aina yhdellä. Huomioithan, että jos ohitat tämän asetukset ja "
826
+ #~ "asetat sen alemmaksi kuin ylin (PDF) laskunumero, saattaa esiintyä kaksi "
827
+ #~ "identtistä laskunnumeroa. Suosittelemme, että asetukseen ei kosketa."
828
+
829
+ #~ msgid "Invoice number format"
830
+ #~ msgstr "Laskun numeron muoto"
831
+
832
+ #~ msgid ""
833
+ #~ "Disable automatic creation/attachment of invoices when only free products "
834
+ #~ "are ordered"
835
+ #~ msgstr ""
836
+ #~ "Poista käytöstä automaattinen laskujen luonti kun tilauksessa on "
837
+ #~ "ainoastaan ilmaisia tuotteita"
838
+
839
+ #~ msgid ""
840
+ #~ "Display billing address on packing slip (in addition to the default "
841
+ #~ "shipping address) if different from shipping address"
842
+ #~ msgstr ""
843
+ #~ "Näytä laskutusosoite lähetyslistassa jos osoite poikkeaa "
844
+ #~ "toimitusosoitteesta"
845
+
846
+ #~ msgid "Template"
847
+ #~ msgstr "Sivupohja"
848
+
849
+ #~ msgid "Admin New Order email"
850
+ #~ msgstr "Ylläpitäjän ‘Uusi tilaus’-viesti"
851
+
852
+ #~ msgid "Customer Processing Order email"
853
+ #~ msgstr "Asiakkaan ‘Tilaus on käsittelyssä’-sähköposti"
854
+
855
+ #~ msgid "Customer Completed Order email"
856
+ #~ msgstr "Asiakkaan ‘Tilaus valmis’-sähköposti"
857
+
858
+ #~ msgid "Customer Invoice email"
859
+ #~ msgstr "Asiakkaan ‘Lasku’-sähköposti"
860
+
861
+ #~ msgid "Interface"
862
+ #~ msgstr "Ulkoasu"
863
+
864
+ #~ msgid "PDF Template settings"
865
+ #~ msgstr "PDF-sivupohjan asetukset"
866
+
867
+ #~ msgid "Display built-in sequential invoice number"
868
+ #~ msgstr "Näytä sisäänrakennettu peräkkäinen laskun numero"
869
+
870
+ #~ msgid ""
871
+ #~ "to use the order year and/or month, use [order_year] or [order_month] "
872
+ #~ "respectively"
873
+ #~ msgstr ""
874
+ #~ "käyttääksesi vuotta ja/tai kuukautta, käytä [order_year] tai "
875
+ #~ "[order_month] tarvittaessa"
876
+
877
+ #~ msgid "Use old tmp folder"
878
+ #~ msgstr "Käytä vanhaa tilapäishakemistoa"
879
+
880
+ #~ msgid ""
881
+ #~ "Before version 1.5 of PDF Invoices, temporary files were stored in the "
882
+ #~ "plugin folder. This setting is only intended for backwards compatibility, "
883
+ #~ "not recommended on new installs!"
884
+ #~ msgstr ""
885
+ #~ "Ennen versiota 1.5 väliaikaistiedostot säilöttiin lisäosan hakemistoon. "
886
+ #~ "Tämä asetus on tarkoitettu yhteensopivuus tarkoituksessa vanhoille "
887
+ #~ "versioille, ei uusille versiolle!"
888
+
889
+ #~ msgid "PDF Packing Slips"
890
+ #~ msgstr "PDF-lähetyslistat"
891
+
892
+ #~ msgid "PDF Invoice"
893
+ #~ msgstr "PDF lasku"
894
+
895
+ #~ msgid "PDF Packing Slip"
896
+ #~ msgstr "PDF-lähetyslista"
897
+
898
+ #~ msgid ""
899
+ #~ "Upload all invoices automatically to your dropbox!<br/>Check out the %s "
900
+ #~ "extension."
901
+ #~ msgstr ""
902
+ #~ "Lataa kaikki laskut automaattisesti Dropbox-tiliisi!<br/>Tutustu %s -"
903
+ #~ "lisäosaan."
904
+
905
+ #~ msgid ""
906
+ #~ "Looking for more advanced templates? Check out the Premium PDF Invoice & "
907
+ #~ "Packing Slips templates at %s."
908
+ #~ msgstr ""
909
+ #~ "Etsitkö edistyneempiä sivupohjia? Tutustu Premium PDF Invoice & Packing "
910
+ #~ "Slips -sivupohjiin osoitteessa %s."
911
+
912
+ #~ msgid ""
913
+ #~ "Want to use your own template? Copy all the files from <code>%s</code> to "
914
+ #~ "<code>%s</code> to customize them"
915
+ #~ msgstr ""
916
+ #~ "Haluatko käyttää omaa sivupohjaasi? Kopioi kaikki tiedostot kansiosta, "
917
+ #~ "<code>%s</code> kansioon, <code>%s</code> muokataksesi niitä."
918
+
919
+ #~ msgid "Number to display on invoice"
920
+ #~ msgstr "Laskun numero"
921
+
922
+ #~ msgid "WooCommerce order number"
923
+ #~ msgstr "WooCommerce tilausnumero"
924
+
925
+ #~ msgid "Built-in sequential invoice number"
926
+ #~ msgstr "Sisäänrakennettu juokseva laskunnumero"
927
+
928
+ #~ msgid ""
929
+ #~ "If you are using the WooCommerce Sequential Order Numbers plugin, select "
930
+ #~ "the WooCommerce order number"
931
+ #~ msgstr ""
932
+ #~ "Jos käytät WooCommerce Sequential Order Numbers -lisäosaa, valitse "
933
+ #~ "WooCommerce tilausnumero."
934
+
935
+ #~ msgid "Date to display on invoice"
936
+ #~ msgstr "Laskulla näytettävä päivämäärä"
937
+
938
+ #~ msgid "Order date"
939
+ #~ msgstr "Tilauksen päiväys"
940
+
941
+ #~ msgid "Invoice date"
942
+ #~ msgstr "Laskun päiväys"
943
+
944
+ #~ msgid "PDF invoice"
945
+ #~ msgstr "PDF-laskut"
946
+
947
+ #~ msgid "PDF Invoice Number (unformatted!)"
948
+ #~ msgstr "PDF laskunnumero (ei muotoiltu!)"
languages/woocommerce-pdf-invoices-packing-slips-fr_FR.mo ADDED
Binary file
languages/woocommerce-pdf-invoices-packing-slips-fr_FR.po ADDED
@@ -0,0 +1,969 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips v1.3.2\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-06-09 16:37+0200\n"
6
+ "PO-Revision-Date: 2017-06-09 16:37+0200\n"
7
+ "Last-Translator: Serge Labrosse <serge.labrosse@gmail.com>\n"
8
+ "Language-Team: WP Overnight <support@wpovernight.com>\n"
9
+ "Language: fr_FR\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-Generator: Poedit 1.8.12\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
17
+ "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
18
+ "X-Poedit-Basepath: ..\n"
19
+ "X-Textdomain-Support: yes\n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+
22
+ #: includes/class-wcpdf-admin.php:72 includes/class-wcpdf-admin.php:174
23
+ msgid "Invoice Number"
24
+ msgstr "Numéro de facture"
25
+
26
+ #: includes/class-wcpdf-admin.php:105
27
+ msgid "Create PDF"
28
+ msgstr "Créer un PDF"
29
+
30
+ #: includes/class-wcpdf-admin.php:115
31
+ msgid "PDF Invoice data"
32
+ msgstr "Données de Facture PDF"
33
+
34
+ #: includes/class-wcpdf-admin.php:166
35
+ #: includes/documents/class-wcpdf-invoice.php:32
36
+ #: includes/documents/class-wcpdf-invoice.php:41
37
+ #: includes/legacy/class-wcpdf-legacy-functions.php:22
38
+ #: templates/Simple/invoice.php:10 templates/Simple/invoice.php:22
39
+ msgid "Invoice"
40
+ msgstr "Facture"
41
+
42
+ #: includes/class-wcpdf-admin.php:183 includes/class-wcpdf-admin.php:204
43
+ #: templates/Simple/invoice.php:56
44
+ msgid "Invoice Date:"
45
+ msgstr "Date de la facture :"
46
+
47
+ #: includes/class-wcpdf-admin.php:189
48
+ msgid "Set invoice number & date"
49
+ msgstr ""
50
+
51
+ #: includes/class-wcpdf-admin.php:196
52
+ msgid "Invoice Number (unformatted!)"
53
+ msgstr "Numéro de facture (non formaté !)"
54
+
55
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
56
+ msgid "h"
57
+ msgstr "h"
58
+
59
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
60
+ msgid "m"
61
+ msgstr "m"
62
+
63
+ #: includes/class-wcpdf-frontend.php:55
64
+ msgid "Download invoice (PDF)"
65
+ msgstr "Télécharger la facture (PDF)"
66
+
67
+ #: includes/class-wcpdf-main.php:132 includes/class-wcpdf-main.php:153
68
+ #: includes/class-wcpdf-main.php:160 includes/class-wcpdf-main.php:166
69
+ msgid "You do not have sufficient permissions to access this page."
70
+ msgstr "Vous n'avez pas les permissions nécessaires pour accéder à cette page."
71
+
72
+ #: includes/class-wcpdf-main.php:141
73
+ msgid "Some of the export parameters are missing."
74
+ msgstr "Certains paramètres d'exportation sont manquants."
75
+
76
+ #: includes/class-wcpdf-settings-callbacks.php:27
77
+ msgid ""
78
+ "<b>Warning!</b> The settings below are meant for debugging/development only. "
79
+ "Do not use them on a live website!"
80
+ msgstr ""
81
+ "<b>Attention!</b> Les paramètres ci-dessous ne sont là que pour le débogage/"
82
+ "développement. Ne pas les utiliser sur un site web en production!"
83
+
84
+ #: includes/class-wcpdf-settings-callbacks.php:36
85
+ msgid ""
86
+ "These are used for the (optional) footer columns in the <em>Modern "
87
+ "(Premium)</em> template, but can also be used for other elements in your "
88
+ "custom template"
89
+ msgstr ""
90
+ "Ceux-ci sont utilisés pour les colonnes de pied de page (optionnelles) dans "
91
+ "le modèle <em>Modern (Premium)</em>, mais ils peuvent aussi être utilisés "
92
+ "pour d'autres éléments dans votre modèle personnalisé."
93
+
94
+ #: includes/class-wcpdf-settings-callbacks.php:301
95
+ msgid "Image resolution"
96
+ msgstr "Résolution de l'image"
97
+
98
+ #: includes/class-wcpdf-settings-callbacks.php:325
99
+ msgid "Save"
100
+ msgstr ""
101
+
102
+ #: includes/class-wcpdf-settings-debug.php:34
103
+ msgid "Debug settings"
104
+ msgstr "Paramètres de débogage"
105
+
106
+ #: includes/class-wcpdf-settings-debug.php:40
107
+ msgid "Legacy mode"
108
+ msgstr ""
109
+
110
+ #: includes/class-wcpdf-settings-debug.php:46
111
+ msgid ""
112
+ "Legacy mode ensures compatibility with templates and filters from previous "
113
+ "versions."
114
+ msgstr ""
115
+
116
+ #: includes/class-wcpdf-settings-debug.php:52
117
+ msgid "Enable debug output"
118
+ msgstr "Activer les résultats de débug"
119
+
120
+ #: includes/class-wcpdf-settings-debug.php:58
121
+ msgid ""
122
+ "Enable this option to output plugin errors if you're getting a blank page or "
123
+ "other PDF generation issues"
124
+ msgstr ""
125
+ "Activer cette option pour publier les erreurs du plugin tel que si obtenez "
126
+ "une page blanche ou des problèmes de génération de PDF"
127
+
128
+ #: includes/class-wcpdf-settings-debug.php:64
129
+ msgid "Output to HTML"
130
+ msgstr "Résultats en HTML"
131
+
132
+ #: includes/class-wcpdf-settings-debug.php:70
133
+ msgid ""
134
+ "Send the template output as HTML to the browser instead of creating a PDF."
135
+ msgstr ""
136
+ "Envoyer un modèle de résultats en HTML dans le navigateur au lieu de créer "
137
+ "un PDF"
138
+
139
+ #: includes/class-wcpdf-settings-documents.php:29
140
+ #: includes/class-wcpdf-settings.php:84
141
+ msgid "Documents"
142
+ msgstr ""
143
+
144
+ #: includes/class-wcpdf-settings-documents.php:45
145
+ msgid ""
146
+ "All available documents are listed below. Click on a document to configure "
147
+ "it."
148
+ msgstr ""
149
+
150
+ #: includes/class-wcpdf-settings-general.php:37
151
+ msgid "General settings"
152
+ msgstr "Paramètres généraux"
153
+
154
+ #: includes/class-wcpdf-settings-general.php:43
155
+ msgid "How do you want to view the PDF?"
156
+ msgstr "Comment voulez-vous voir le PDF?"
157
+
158
+ #: includes/class-wcpdf-settings-general.php:50
159
+ msgid "Download the PDF"
160
+ msgstr "Télécharger le PDF"
161
+
162
+ #: includes/class-wcpdf-settings-general.php:51
163
+ msgid "Open the PDF in a new browser tab/window"
164
+ msgstr ""
165
+ "Ouvrir le PDF dans un nouvel onglet/une nouvelle fenêtre du navigateur."
166
+
167
+ #: includes/class-wcpdf-settings-general.php:58
168
+ msgid "Choose a template"
169
+ msgstr "Sélectionnez un modèle"
170
+
171
+ #: includes/class-wcpdf-settings-general.php:65
172
+ #, php-format
173
+ msgid ""
174
+ "Want to use your own template? Copy all the files from <code>%s</code> to "
175
+ "your (child) theme in <code>%s</code> to customize them"
176
+ msgstr ""
177
+ "Vous souhaitez utiliser votre propre modèle ? Copiez tous les fichiers "
178
+ "situés dans <code>%s</code> vers votre thème (enfant) dans <code>%s</code> "
179
+ "pour les customiser"
180
+
181
+ #: includes/class-wcpdf-settings-general.php:71
182
+ msgid "Paper size"
183
+ msgstr "Taille du papier"
184
+
185
+ #: includes/class-wcpdf-settings-general.php:78
186
+ msgid "A4"
187
+ msgstr "A4"
188
+
189
+ #: includes/class-wcpdf-settings-general.php:79
190
+ msgid "Letter"
191
+ msgstr "Lettre"
192
+
193
+ #: includes/class-wcpdf-settings-general.php:86
194
+ msgid "Extended currency symbol support"
195
+ msgstr ""
196
+
197
+ #: includes/class-wcpdf-settings-general.php:92
198
+ msgid "Enable this if your currency symbol is not displaying properly"
199
+ msgstr ""
200
+
201
+ #: includes/class-wcpdf-settings-general.php:98
202
+ msgid "Shop header/logo"
203
+ msgstr "En-tête de la boutique/logo"
204
+
205
+ #: includes/class-wcpdf-settings-general.php:104
206
+ msgid "Select or upload your invoice header/logo"
207
+ msgstr "Sélectionnez ou chargez votre en-tête/logo de facture"
208
+
209
+ #: includes/class-wcpdf-settings-general.php:105
210
+ msgid "Set image"
211
+ msgstr "Choisir une autre image"
212
+
213
+ #: includes/class-wcpdf-settings-general.php:106
214
+ msgid "Remove image"
215
+ msgstr "Supprimer l'image"
216
+
217
+ #: includes/class-wcpdf-settings-general.php:113
218
+ msgid "Shop Name"
219
+ msgstr "Nom de la boutique"
220
+
221
+ #: includes/class-wcpdf-settings-general.php:126
222
+ msgid "Shop Address"
223
+ msgstr "Adresse de la boutique"
224
+
225
+ #: includes/class-wcpdf-settings-general.php:141
226
+ msgid "Footer: terms & conditions, policies, etc."
227
+ msgstr "Pied de page : conditions générales de ventes, etc."
228
+
229
+ #: includes/class-wcpdf-settings-general.php:156
230
+ msgid "Extra template fields"
231
+ msgstr "Champs supplémentaires du modèle"
232
+
233
+ #: includes/class-wcpdf-settings-general.php:162
234
+ msgid "Extra field 1"
235
+ msgstr "Champ supplémentaire 1"
236
+
237
+ #: includes/class-wcpdf-settings-general.php:170
238
+ msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
239
+ msgstr "Correspond à la colonne 1 dans le modèle <i>Modern (Premium)</i>"
240
+
241
+ #: includes/class-wcpdf-settings-general.php:177
242
+ msgid "Extra field 2"
243
+ msgstr "Champ supplémentaire 2"
244
+
245
+ #: includes/class-wcpdf-settings-general.php:185
246
+ msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
247
+ msgstr "Correspond à la colonne 2 dans le modèle <i>Modern (Premium)</i>"
248
+
249
+ #: includes/class-wcpdf-settings-general.php:192
250
+ msgid "Extra field 3"
251
+ msgstr "Champ supplémentaire 3"
252
+
253
+ #: includes/class-wcpdf-settings-general.php:200
254
+ msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
255
+ msgstr "Correspond à la colonne 3 dans le modèle <i>Modern (Premium)</i>"
256
+
257
+ #: includes/class-wcpdf-settings.php:45 includes/class-wcpdf-settings.php:46
258
+ msgid "PDF Invoices"
259
+ msgstr "Générer les factures au format PDF"
260
+
261
+ #: includes/class-wcpdf-settings.php:58
262
+ msgid "Settings"
263
+ msgstr "Paramètres"
264
+
265
+ #: includes/class-wcpdf-settings.php:71
266
+ msgid "Documentation"
267
+ msgstr ""
268
+
269
+ #: includes/class-wcpdf-settings.php:72
270
+ msgid "Support Forum"
271
+ msgstr ""
272
+
273
+ #: includes/class-wcpdf-settings.php:83
274
+ msgid "General"
275
+ msgstr "Général"
276
+
277
+ #: includes/class-wcpdf-settings.php:89
278
+ msgid "Status"
279
+ msgstr "État"
280
+
281
+ #: includes/compatibility/class-wc-core-compatibility.php:222
282
+ msgid "WooCommerce"
283
+ msgstr ""
284
+
285
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:113
286
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:176
287
+ msgid "N/A"
288
+ msgstr "N/A"
289
+
290
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:305
291
+ msgid "Payment method"
292
+ msgstr "Méthode de paiement"
293
+
294
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:326
295
+ msgid "Shipping method"
296
+ msgstr "Méthode de livraison"
297
+
298
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:669
299
+ #, php-format
300
+ msgid "(includes %s)"
301
+ msgstr ""
302
+
303
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:672
304
+ #, php-format
305
+ msgid "(Includes %s)"
306
+ msgstr "(Inclus %s)"
307
+
308
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:702
309
+ msgid "Subtotal"
310
+ msgstr "Sous-total"
311
+
312
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:727
313
+ msgid "Shipping"
314
+ msgstr "Livraison"
315
+
316
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:790
317
+ msgid "Discount"
318
+ msgstr "Remise"
319
+
320
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:831
321
+ msgid "VAT"
322
+ msgstr "TVA"
323
+
324
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:832
325
+ msgid "Tax rate"
326
+ msgstr "Taux de taxe (%)"
327
+
328
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:876
329
+ msgid "Total ex. VAT"
330
+ msgstr "Total H.T."
331
+
332
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:879
333
+ msgid "Total"
334
+ msgstr "Total"
335
+
336
+ #: includes/documents/abstract-wcpdf-order-document.php:674
337
+ msgid "Admin email"
338
+ msgstr ""
339
+
340
+ #: includes/documents/abstract-wcpdf-order-document.php:677
341
+ msgid "Manual email"
342
+ msgstr ""
343
+
344
+ # This is a filename (prefix). do not use spaces or special characters!
345
+ #: includes/documents/class-wcpdf-invoice.php:85
346
+ msgid "invoice"
347
+ msgid_plural "invoices"
348
+ msgstr[0] "facture"
349
+ msgstr[1] "factures"
350
+
351
+ #: includes/documents/class-wcpdf-invoice.php:130
352
+ #: includes/documents/class-wcpdf-packing-slip.php:94
353
+ msgid "Enable"
354
+ msgstr ""
355
+
356
+ #: includes/documents/class-wcpdf-invoice.php:141
357
+ msgid "Attach to:"
358
+ msgstr ""
359
+
360
+ #: includes/documents/class-wcpdf-invoice.php:148
361
+ #, php-format
362
+ msgid ""
363
+ "It looks like the temp folder (<code>%s</code>) is not writable, check the "
364
+ "permissions for this folder! Without having write access to this folder, the "
365
+ "plugin will not be able to email invoices."
366
+ msgstr ""
367
+ "Le dossier temporaire (<code>%s</code>) ne semble pas modifiable, vérifiez "
368
+ "vos permissions pour ce dossier! Sans l'autorisation d'écriture dans ce "
369
+ "dossier, le plugin ne pourra pas envoyer les factures par e-mail."
370
+
371
+ #: includes/documents/class-wcpdf-invoice.php:154
372
+ msgid "Display shipping address"
373
+ msgstr "Afficher l'adresse de livraison"
374
+
375
+ #: includes/documents/class-wcpdf-invoice.php:160
376
+ msgid ""
377
+ "Display shipping address (in addition to the default billing address) if "
378
+ "different from billing address"
379
+ msgstr ""
380
+
381
+ #: includes/documents/class-wcpdf-invoice.php:166
382
+ #: includes/documents/class-wcpdf-packing-slip.php:117
383
+ msgid "Display email address"
384
+ msgstr "Afficher l'adresse email"
385
+
386
+ #: includes/documents/class-wcpdf-invoice.php:177
387
+ #: includes/documents/class-wcpdf-packing-slip.php:128
388
+ msgid "Display phone number"
389
+ msgstr "Afficher le numéro de téléphone"
390
+
391
+ #: includes/documents/class-wcpdf-invoice.php:188
392
+ msgid "Display invoice date"
393
+ msgstr "Afficher la date de la facture"
394
+
395
+ #: includes/documents/class-wcpdf-invoice.php:200
396
+ msgid "Display invoice number"
397
+ msgstr ""
398
+
399
+ #: includes/documents/class-wcpdf-invoice.php:212
400
+ msgid "Next invoice number (without prefix/suffix etc.)"
401
+ msgstr "Prochain numéro de facture (sans préfixe/suffixe,etc.)"
402
+
403
+ #: includes/documents/class-wcpdf-invoice.php:218
404
+ msgid ""
405
+ "This is the number that will be used for the next document. By default, "
406
+ "numbering starts from 1 and increases for every new document. Note that if "
407
+ "you override this and set it lower than the current/highest number, this "
408
+ "could create duplicate numbers!"
409
+ msgstr ""
410
+
411
+ #: includes/documents/class-wcpdf-invoice.php:224
412
+ msgid "Number format"
413
+ msgstr ""
414
+
415
+ #: includes/documents/class-wcpdf-invoice.php:232
416
+ msgid "Prefix"
417
+ msgstr "Préfixe"
418
+
419
+ #: includes/documents/class-wcpdf-invoice.php:234
420
+ msgid ""
421
+ "to use the invoice year and/or month, use [invoice_year] or [invoice_month] "
422
+ "respectively"
423
+ msgstr ""
424
+
425
+ #: includes/documents/class-wcpdf-invoice.php:237
426
+ msgid "Suffix"
427
+ msgstr "Suffixe"
428
+
429
+ #: includes/documents/class-wcpdf-invoice.php:242
430
+ msgid "Padding"
431
+ msgstr "Décalage"
432
+
433
+ #: includes/documents/class-wcpdf-invoice.php:245
434
+ msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
435
+ msgstr ""
436
+ "entrez le nombre de chiffres ici - entrez\"6\" pour que 42 s'affiche 000042"
437
+
438
+ #: includes/documents/class-wcpdf-invoice.php:248
439
+ msgid ""
440
+ "note: if you have already created a custom invoice number format with a "
441
+ "filter, the above settings will be ignored"
442
+ msgstr ""
443
+ "note: si vous avez déjà créé un format de numéro de facture personnalisé "
444
+ "avec un filtre, les réglages ci-dessus seront ignorés"
445
+
446
+ #: includes/documents/class-wcpdf-invoice.php:254
447
+ msgid "Reset invoice number yearly"
448
+ msgstr ""
449
+
450
+ #: includes/documents/class-wcpdf-invoice.php:265
451
+ msgid "Allow My Account invoice download"
452
+ msgstr ""
453
+ "Autoriser le téléchargement des factures à partir de l'interface \"Mon compte"
454
+ "\""
455
+
456
+ #: includes/documents/class-wcpdf-invoice.php:272
457
+ msgid "Only when an invoice is already created/emailed"
458
+ msgstr "Seulement lorsque la facture est déjà créée/envoyée par email"
459
+
460
+ #: includes/documents/class-wcpdf-invoice.php:273
461
+ msgid "Only for specific order statuses (define below)"
462
+ msgstr "Uniquement pour les statuts de commandes suivants"
463
+
464
+ #: includes/documents/class-wcpdf-invoice.php:274
465
+ msgid "Always"
466
+ msgstr "Toujours"
467
+
468
+ #: includes/documents/class-wcpdf-invoice.php:275
469
+ msgid "Never"
470
+ msgstr "Jamais"
471
+
472
+ #: includes/documents/class-wcpdf-invoice.php:290
473
+ msgid "Enable invoice number column in the orders list"
474
+ msgstr "Activer la colonne du numéro de facture dans la liste de commande"
475
+
476
+ #: includes/documents/class-wcpdf-invoice.php:301
477
+ msgid "Disable for free products"
478
+ msgstr "Désactiver pour les produits gratuits"
479
+
480
+ #: includes/documents/class-wcpdf-invoice.php:307
481
+ msgid ""
482
+ "Disable automatic creation/attachment when only free products are ordered"
483
+ msgstr ""
484
+
485
+ #: includes/documents/class-wcpdf-invoice.php:321
486
+ msgid "Invoice numbers are created by a third-party extension."
487
+ msgstr ""
488
+
489
+ #: includes/documents/class-wcpdf-invoice.php:323
490
+ #, php-format
491
+ msgid "Configure it <a href=\"%s\">here</a>."
492
+ msgstr ""
493
+
494
+ #: includes/documents/class-wcpdf-packing-slip.php:32
495
+ #: includes/documents/class-wcpdf-packing-slip.php:41
496
+ #: includes/legacy/class-wcpdf-legacy-functions.php:25
497
+ #: templates/Simple/packing-slip.php:10 templates/Simple/packing-slip.php:22
498
+ msgid "Packing Slip"
499
+ msgstr "Bon de livraison"
500
+
501
+ # This is a filename (prefix). do not use spaces or special characters!
502
+ #: includes/documents/class-wcpdf-packing-slip.php:53
503
+ msgid "packing-slip"
504
+ msgid_plural "packing-slips"
505
+ msgstr[0] "bon-de-livraison"
506
+ msgstr[1] "bons-de-livraison"
507
+
508
+ #: includes/documents/class-wcpdf-packing-slip.php:105
509
+ msgid "Display billing address"
510
+ msgstr "Afficher l'adresse de facturation"
511
+
512
+ #: includes/documents/class-wcpdf-packing-slip.php:111
513
+ msgid ""
514
+ "Display billing address (in addition to the default shipping address) if "
515
+ "different from shipping address"
516
+ msgstr ""
517
+
518
+ #: includes/legacy/class-wcpdf-legacy-document.php:32
519
+ msgid "Legacy Document"
520
+ msgstr ""
521
+
522
+ #: includes/views/wcpdf-extensions.php:15
523
+ msgid "Check out these premium extensions!"
524
+ msgstr "Découvrez ces extensions premium!"
525
+
526
+ #: includes/views/wcpdf-extensions.php:16
527
+ msgid "click items to read more"
528
+ msgstr "Cliquez sur les articles pour en savoir plus"
529
+
530
+ #: includes/views/wcpdf-extensions.php:21
531
+ msgid ""
532
+ "Premium PDF Invoice bundle: Everything you need for a perfect invoicing "
533
+ "system"
534
+ msgstr ""
535
+
536
+ #: includes/views/wcpdf-extensions.php:23
537
+ msgid ""
538
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the all our "
539
+ "premium extensions:"
540
+ msgstr ""
541
+
542
+ #: includes/views/wcpdf-extensions.php:24
543
+ msgid "Professional features:"
544
+ msgstr ""
545
+
546
+ #: includes/views/wcpdf-extensions.php:26
547
+ #: includes/views/wcpdf-extensions.php:56
548
+ msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
549
+ msgstr "Envoyer/imprimer/télécharger les <b> Avoirs et Devis PDF</b>"
550
+
551
+ #: includes/views/wcpdf-extensions.php:27
552
+ #: includes/views/wcpdf-extensions.php:57
553
+ msgid ""
554
+ "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
555
+ "packing slips, for example to a drop-shipper or a supplier."
556
+ msgstr ""
557
+ "Envoyer séparément <b>la notification email</b> avec (ou sans) PDF invoices/"
558
+ "packing slips, par exemple à un transporteur ou un fournisseur."
559
+
560
+ #: includes/views/wcpdf-extensions.php:28
561
+ #: includes/views/wcpdf-extensions.php:58
562
+ msgid ""
563
+ "Attach <b>up to 3 static files</b> (for example a terms & conditions "
564
+ "document) to the WooCommerce emails of your choice."
565
+ msgstr ""
566
+ "Joindre<b>jusqu'à 3 fichiers fixes</b> (par exemple les conditions générales "
567
+ "de ventes)aux emails WooCommerce de votre choix."
568
+
569
+ #: includes/views/wcpdf-extensions.php:29
570
+ #: includes/views/wcpdf-extensions.php:59
571
+ msgid ""
572
+ "Use <b>separate numbering systems</b> and/or format for proforma invoices "
573
+ "and credit notes or utilize the main invoice numbering system"
574
+ msgstr ""
575
+ "Utiliser <b>une numérotation séparée</b> et/ou un format pour les Devis et "
576
+ "Avoirs ou utiliser la numérotation principale du système."
577
+
578
+ #: includes/views/wcpdf-extensions.php:30
579
+ #: includes/views/wcpdf-extensions.php:60
580
+ msgid ""
581
+ "<b>Customize</b> the <b>shipping & billing address</b> format to include "
582
+ "additional custom fields, font sizes etc. without the need to create a "
583
+ "custom template."
584
+ msgstr ""
585
+ "<b>Personnaliser le format de l'adresse de livraison et de facturation</b> "
586
+ "pour ajouter des champs personnalisés, taille de police, etc. sans créer de "
587
+ "modèle personnalisé."
588
+
589
+ #: includes/views/wcpdf-extensions.php:31
590
+ #: includes/views/wcpdf-extensions.php:61
591
+ msgid "Use the plugin in multilingual <b>WPML</b> setups"
592
+ msgstr "Utiliser l'extension en configuration multilingue <b>WPML</b>"
593
+
594
+ #: includes/views/wcpdf-extensions.php:33
595
+ #: includes/views/wcpdf-extensions.php:131
596
+ msgid "Advanced, customizable templates"
597
+ msgstr "Modèles avancés personnalisables"
598
+
599
+ #: includes/views/wcpdf-extensions.php:35
600
+ #: includes/views/wcpdf-extensions.php:134
601
+ msgid ""
602
+ "Completely customize the invoice contents (prices, taxes, thumbnails) to "
603
+ "your needs with a drag & drop customizer"
604
+ msgstr ""
605
+ "Adaptez intégralement le contenus des factures (prix, taxes, miniatures) à "
606
+ "vos besoins avec un système de \"glisser-déposer\""
607
+
608
+ #: includes/views/wcpdf-extensions.php:36
609
+ #: includes/views/wcpdf-extensions.php:135
610
+ msgid "Two extra stylish premade templates (Modern & Business)"
611
+ msgstr "Deux modèles supplémentaires élégant prédéfinis (Moderne & Business)"
612
+
613
+ #: includes/views/wcpdf-extensions.php:38
614
+ msgid "Upload automatically to dropbox"
615
+ msgstr ""
616
+
617
+ #: includes/views/wcpdf-extensions.php:40
618
+ #: includes/views/wcpdf-extensions.php:97
619
+ msgid ""
620
+ "This extension conveniently uploads all the invoices (and other pdf "
621
+ "documents from the professional extension) that are emailed to your "
622
+ "customers to Dropbox. The best way to keep your invoice administration up to "
623
+ "date!"
624
+ msgstr ""
625
+ "Cette extension télécharge normalement toutes les factures (et autres "
626
+ "documents PDF pour l'extension professionnelle) envoyés par email dans votre "
627
+ "compte Dropbox. La meilleure façon de conserver vos documents administratif "
628
+ "à jour !"
629
+
630
+ #: includes/views/wcpdf-extensions.php:43
631
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Bundle"
632
+ msgstr ""
633
+
634
+ #: includes/views/wcpdf-extensions.php:52
635
+ msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
636
+ msgstr "Go Pro: factures Proforma, notes de crédit (= remboursements) et plus!"
637
+
638
+ #: includes/views/wcpdf-extensions.php:54
639
+ msgid ""
640
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the following "
641
+ "features:"
642
+ msgstr ""
643
+ "Boostez WooCommerce PDF Invoices & Packing Slips avec les options suivantes :"
644
+
645
+ #: includes/views/wcpdf-extensions.php:63
646
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
647
+ msgstr "Achetez WooCommerce PDF Invoices & Packing Slips Professional!"
648
+
649
+ #: includes/views/wcpdf-extensions.php:71
650
+ msgid "Automatically send payment reminders to your customers"
651
+ msgstr ""
652
+
653
+ #: includes/views/wcpdf-extensions.php:73
654
+ msgid "WooCommerce Smart Reminder emails"
655
+ msgstr ""
656
+
657
+ #: includes/views/wcpdf-extensions.php:75
658
+ msgid "<b>Completely automatic</b> scheduled emails"
659
+ msgstr ""
660
+
661
+ #: includes/views/wcpdf-extensions.php:76
662
+ msgid ""
663
+ "<b>Rich text editor</b> for the email text, including placeholders for data "
664
+ "from the order (name, order total, etc)"
665
+ msgstr ""
666
+
667
+ #: includes/views/wcpdf-extensions.php:77
668
+ msgid ""
669
+ "Configure the exact requirements for sending an email (time after order, "
670
+ "order status, payment method)"
671
+ msgstr ""
672
+
673
+ #: includes/views/wcpdf-extensions.php:78
674
+ msgid ""
675
+ "Fully <b>WPML Compatible</b> – emails will be automatically sent in the "
676
+ "order language."
677
+ msgstr ""
678
+
679
+ #: includes/views/wcpdf-extensions.php:79
680
+ msgid ""
681
+ "<b>Super versatile!</b> Can be used for any kind of reminder email (review "
682
+ "reminders, repeat purchases)"
683
+ msgstr ""
684
+
685
+ #: includes/views/wcpdf-extensions.php:80
686
+ msgid "Integrates seamlessly with the PDF Invoices & Packing Slips plugin"
687
+ msgstr ""
688
+
689
+ #: includes/views/wcpdf-extensions.php:82
690
+ msgid "Get WooCommerce Smart Reminder Emails"
691
+ msgstr ""
692
+
693
+ #: includes/views/wcpdf-extensions.php:91
694
+ msgid "Upload all invoices automatically to your dropbox"
695
+ msgstr "Uploadez automatiquement toutes les factures sur votre Dropbox"
696
+
697
+ #: includes/views/wcpdf-extensions.php:98
698
+ msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
699
+ msgstr "Achetez WooCommerce PDF Invoices & Packing Slips to dropbox!"
700
+
701
+ #: includes/views/wcpdf-extensions.php:110
702
+ msgid ""
703
+ "Automatically send new orders or packing slips to your printer, as soon as "
704
+ "the customer orders!"
705
+ msgstr ""
706
+ "Imprimez automatiquement les nouvelles commandes ou les bons de livraison, "
707
+ "dès qu'une commande est effectuée!"
708
+
709
+ #: includes/views/wcpdf-extensions.php:116
710
+ msgid ""
711
+ "Check out the WooCommerce Automatic Order Printing extension from our "
712
+ "partners at Simba Hosting"
713
+ msgstr ""
714
+ "Découvrez WooCommerce Automatic Order Printing de notre partenaire Simba "
715
+ "Hosting"
716
+
717
+ #: includes/views/wcpdf-extensions.php:117
718
+ msgid "WooCommerce Automatic Order Printing"
719
+ msgstr ""
720
+
721
+ #: includes/views/wcpdf-extensions.php:136
722
+ #, php-format
723
+ msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
724
+ msgstr "Consultez les modèles Prémium PDF Invoice & Packing Slips ici %s."
725
+
726
+ #: includes/views/wcpdf-extensions.php:137
727
+ #, php-format
728
+ msgid "For custom templates, contact us at %s."
729
+ msgstr "Pour des modèles sur mesure, nous contacter au %s."
730
+
731
+ #: includes/views/wcpdf-extensions.php:146
732
+ msgid "Hide this message"
733
+ msgstr ""
734
+
735
+ #: includes/views/wcpdf-settings-page.php:8
736
+ msgid "WooCommerce PDF Invoices"
737
+ msgstr "Factures PDF WooCommerce"
738
+
739
+ #: templates/Simple/invoice.php:30 templates/Simple/packing-slip.php:41
740
+ msgid "Billing Address:"
741
+ msgstr "Adresse de facturation:"
742
+
743
+ #: templates/Simple/invoice.php:41
744
+ msgid "Ship To:"
745
+ msgstr "Livrer à:"
746
+
747
+ #: templates/Simple/invoice.php:50
748
+ msgid "Invoice Number:"
749
+ msgstr "Numéro de la Facture:"
750
+
751
+ #: templates/Simple/invoice.php:61 templates/Simple/packing-slip.php:49
752
+ msgid "Order Number:"
753
+ msgstr "Numéro de commande:"
754
+
755
+ #: templates/Simple/invoice.php:65 templates/Simple/packing-slip.php:53
756
+ msgid "Order Date:"
757
+ msgstr "Date de commande:"
758
+
759
+ #: templates/Simple/invoice.php:69
760
+ msgid "Payment Method:"
761
+ msgstr "Méthode de paiement:"
762
+
763
+ #: templates/Simple/invoice.php:83 templates/Simple/packing-slip.php:71
764
+ msgid "Product"
765
+ msgstr "Produits"
766
+
767
+ #: templates/Simple/invoice.php:84 templates/Simple/packing-slip.php:72
768
+ msgid "Quantity"
769
+ msgstr "Quantité"
770
+
771
+ #: templates/Simple/invoice.php:85
772
+ msgid "Price"
773
+ msgstr "Prix"
774
+
775
+ #: templates/Simple/invoice.php:92 templates/Simple/packing-slip.php:79
776
+ msgid "Description"
777
+ msgstr "Description"
778
+
779
+ #: templates/Simple/invoice.php:97 templates/Simple/packing-slip.php:84
780
+ msgid "SKU"
781
+ msgstr "UGS"
782
+
783
+ #: templates/Simple/invoice.php:98 templates/Simple/packing-slip.php:85
784
+ msgid "SKU:"
785
+ msgstr "UGS:"
786
+
787
+ #: templates/Simple/invoice.php:99 templates/Simple/packing-slip.php:86
788
+ msgid "Weight:"
789
+ msgstr "Poids:"
790
+
791
+ #: templates/Simple/invoice.php:114 templates/Simple/packing-slip.php:101
792
+ msgid "Customer Notes"
793
+ msgstr "Notes du client"
794
+
795
+ #: templates/Simple/packing-slip.php:30
796
+ msgid "Shipping Address:"
797
+ msgstr "Adresse de livraison:"
798
+
799
+ #: templates/Simple/packing-slip.php:57
800
+ msgid "Shipping Method:"
801
+ msgstr "Mode de livraison:"
802
+
803
+ #: woocommerce-pdf-invoices-packingslips.php:231
804
+ #, php-format
805
+ msgid ""
806
+ "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
807
+ "installed & activated!"
808
+ msgstr ""
809
+ "WooCommerce PDF Invoices & Packing Slips requiert %sWooCommerce%s pour être "
810
+ "installé et activé!"
811
+
812
+ #: woocommerce-pdf-invoices-packingslips.php:243
813
+ msgid ""
814
+ "WooCommerce PDF Invoices & Packing Slips requires PHP 5.3 or higher (5.6 or "
815
+ "higher recommended)."
816
+ msgstr ""
817
+
818
+ #: woocommerce-pdf-invoices-packingslips.php:244
819
+ msgid "How to update your PHP version"
820
+ msgstr ""
821
+
822
+ #~ msgid "Attach invoice to:"
823
+ #~ msgstr "Joindre la facture à:"
824
+
825
+ #~ msgid ""
826
+ #~ "Display shipping address on invoice (in addition to the default billing "
827
+ #~ "address) if different from billing address"
828
+ #~ msgstr ""
829
+ #~ "Afficher l'adresse de livraison sur la facture (en plus de l'adresse de "
830
+ #~ "facturation) si celle-ci est différente de l'adresse de facturation"
831
+
832
+ #~ msgid ""
833
+ #~ "This is the number that will be used on the next invoice that is created. "
834
+ #~ "By default, numbering starts from the WooCommerce Order Number of the "
835
+ #~ "first invoice that is created and increases for every new invoice. Note "
836
+ #~ "that if you override this and set it lower than the highest (PDF) invoice "
837
+ #~ "number, this could create double invoice numbers!"
838
+ #~ msgstr ""
839
+ #~ "Ceci est le numéro qui sera utilisé pour la prochaine facture. Par "
840
+ #~ "défaut, la numérotation débute avec le numéro de commande de WooCommerce "
841
+ #~ "sur la première facture créée et s'incrémente à chaque nouvelle facture. "
842
+ #~ "À noter que si vous changer le numéro et qu'il est plus petit que celui "
843
+ #~ "de la facture PDF, vous pourriez créer des numéros de facture en double!"
844
+
845
+ #~ msgid "Invoice number format"
846
+ #~ msgstr "Format du numéro de facture"
847
+
848
+ #~ msgid ""
849
+ #~ "Disable automatic creation/attachment of invoices when only free products "
850
+ #~ "are ordered"
851
+ #~ msgstr ""
852
+ #~ "Désactiver la création / envoi en pièce jointe automatique de la facture "
853
+ #~ "lorsque seuls des produits gratuits sont commandés"
854
+
855
+ #~ msgid ""
856
+ #~ "Display billing address on packing slip (in addition to the default "
857
+ #~ "shipping address) if different from shipping address"
858
+ #~ msgstr ""
859
+ #~ "Afficher l'adresse de facturation sur le bon de livraison (en plus de "
860
+ #~ "l'adresse de livraison par défaut) si celle-ci est différente de "
861
+ #~ "l'adresse de livraison"
862
+
863
+ #~ msgid "Template"
864
+ #~ msgstr "Modèle"
865
+
866
+ #~ msgid "Admin New Order email"
867
+ #~ msgstr "Email Nouvelle commande (administrateur)"
868
+
869
+ #~ msgid "Customer Processing Order email"
870
+ #~ msgstr "Email Commande en cours (client)"
871
+
872
+ #~ msgid "Customer Completed Order email"
873
+ #~ msgstr "Email Commande terminée (client)"
874
+
875
+ #~ msgid "Customer Invoice email"
876
+ #~ msgstr "Email Facture client (client)"
877
+
878
+ #~ msgid "Interface"
879
+ #~ msgstr "Interface"
880
+
881
+ #~ msgid "PDF Template settings"
882
+ #~ msgstr "Paramètres des modèles PDF"
883
+
884
+ #~ msgid "Display built-in sequential invoice number"
885
+ #~ msgstr "Afficher le numéro de facture intégré"
886
+
887
+ #~ msgid ""
888
+ #~ "to use the order year and/or month, use [order_year] or [order_month] "
889
+ #~ "respectively"
890
+ #~ msgstr ""
891
+ #~ "pour utiliser l'année et/ou le mois de la commande, utilisez "
892
+ #~ "respectivement [order_year] ou [order_month]"
893
+
894
+ #~ msgid "Use old tmp folder"
895
+ #~ msgstr "Utiliser le fichier temporaire"
896
+
897
+ #~ msgid ""
898
+ #~ "Before version 1.5 of PDF Invoices, temporary files were stored in the "
899
+ #~ "plugin folder. This setting is only intended for backwards compatibility, "
900
+ #~ "not recommended on new installs!"
901
+ #~ msgstr ""
902
+ #~ "Avant la version 1.5 de PDF Invoices, les fichiers temporaires étaient "
903
+ #~ "stockés dans le dossier du plugin. Ce paramètre est requis seulement pour "
904
+ #~ "les versions antérieures compatibles, non recommandé sur les nouvelles "
905
+ #~ "installations."
906
+
907
+ #~ msgid "PDF Packing Slips"
908
+ #~ msgstr "Générer les bons de livraison au format PDF"
909
+
910
+ #~ msgid "PDF Invoice"
911
+ #~ msgstr "Générer la facture au format PDF"
912
+
913
+ #~ msgid "PDF Packing Slip"
914
+ #~ msgstr "Générer le bon de livraison au format PDF"
915
+
916
+ #~ msgid "PDF Invoice Number (unformatted!)"
917
+ #~ msgstr "Numéro (non formaté) de Facture PDF"
918
+
919
+ # @ wpo_wcpdf
920
+ #~ msgid ""
921
+ #~ "Looking for more advanced templates? Check out the Premium PDF Invoice & "
922
+ #~ "Packing Slips templates at %s."
923
+ #~ msgstr ""
924
+ #~ "Vous cherchez des modèles plus avancés ? Jetez un oeil aux modèles "
925
+ #~ "Premium PDF Invoice & Packing Slips sur %s."
926
+
927
+ # @ wpo_wcpdf
928
+ #~ msgid ""
929
+ #~ "Want to use your own template? Copy all the files from <code>%s</code> to "
930
+ #~ "<code>%s</code> to customize them"
931
+ #~ msgstr ""
932
+ #~ "Vous voulez utiliser votre propre modèle? Copiez tous les fichiers de "
933
+ #~ "<code>%s</code> dans <code>%s</code> pour le personnaliser"
934
+
935
+ # @ wpo_wcpdf
936
+ #~ msgid "Number to display on invoice"
937
+ #~ msgstr "Numéro à afficher sur la facture"
938
+
939
+ # @ wpo_wcpdf
940
+ #~ msgid "WooCommerce order number"
941
+ #~ msgstr "Numéro de Commande WooCommerce"
942
+
943
+ # @ wpo_wcpdf
944
+ #~ msgid "Built-in sequential invoice number"
945
+ #~ msgstr "Numéro de facture séquentiel imbriqué"
946
+
947
+ # @ wpo_wcpdf
948
+ #~ msgid ""
949
+ #~ "If you are using the WooCommerce Sequential Order Numbers plugin, select "
950
+ #~ "the WooCommerce order number"
951
+ #~ msgstr ""
952
+ #~ "Si vous utilisez l'extension WooCommerce pour la numérotation, choisir le "
953
+ #~ "numéro de commande WooCommerce"
954
+
955
+ # @ wpo_wcpdf
956
+ #~ msgid "Date to display on invoice"
957
+ #~ msgstr "Date à afficher sur la facture"
958
+
959
+ # @ wpo_wcpdf
960
+ #~ msgid "Order date"
961
+ #~ msgstr "Date de la commande"
962
+
963
+ # @ wpo_wcpdf
964
+ #~ msgid "Invoice date"
965
+ #~ msgstr "Date de la facture"
966
+
967
+ # @ wpo_wcpdf
968
+ #~ msgid "PDF invoice"
969
+ #~ msgstr "Générer la facture au format PDF"
languages/woocommerce-pdf-invoices-packing-slips-hr.mo ADDED
Binary file
languages/woocommerce-pdf-invoices-packing-slips-hr.po ADDED
@@ -0,0 +1,926 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-06-09 16:37+0200\n"
6
+ "PO-Revision-Date: 2017-06-09 16:37+0200\n"
7
+ "Last-Translator: spineict <admin@spine-ict.hr>\n"
8
+ "Language-Team: WP Overnight <support@wpovernight.com>\n"
9
+ "Language: hr\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10 >= 2 && n"
14
+ "%10<=4 &&(n%100<10||n%100 >= 20)? 1 : 2;\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Generator: Poedit 1.8.12\n"
17
+ "X-Poedit-Basepath: ..\n"
18
+ "X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;"
19
+ "__:1;_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
20
+ "_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;"
21
+ "esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;"
22
+ "esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
23
+ "X-Loco-Target-Locale: hr_HR\n"
24
+ "X-Poedit-SearchPath-0: .\n"
25
+
26
+ #: includes/class-wcpdf-admin.php:72 includes/class-wcpdf-admin.php:174
27
+ msgid "Invoice Number"
28
+ msgstr "Broj računa"
29
+
30
+ #: includes/class-wcpdf-admin.php:105
31
+ msgid "Create PDF"
32
+ msgstr "Generiraj PDF"
33
+
34
+ #: includes/class-wcpdf-admin.php:115
35
+ msgid "PDF Invoice data"
36
+ msgstr "Sadržaj PDF računa"
37
+
38
+ #: includes/class-wcpdf-admin.php:166
39
+ #: includes/documents/class-wcpdf-invoice.php:32
40
+ #: includes/documents/class-wcpdf-invoice.php:41
41
+ #: includes/legacy/class-wcpdf-legacy-functions.php:22
42
+ #: templates/Simple/invoice.php:10 templates/Simple/invoice.php:22
43
+ msgid "Invoice"
44
+ msgstr "Račun"
45
+
46
+ #: includes/class-wcpdf-admin.php:183 includes/class-wcpdf-admin.php:204
47
+ #: templates/Simple/invoice.php:56
48
+ msgid "Invoice Date:"
49
+ msgstr "Datum računa:"
50
+
51
+ #: includes/class-wcpdf-admin.php:189
52
+ msgid "Set invoice number & date"
53
+ msgstr ""
54
+
55
+ #: includes/class-wcpdf-admin.php:196
56
+ msgid "Invoice Number (unformatted!)"
57
+ msgstr "Broj računa (neformatiran!)"
58
+
59
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
60
+ msgid "h"
61
+ msgstr "s"
62
+
63
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
64
+ msgid "m"
65
+ msgstr "m"
66
+
67
+ #: includes/class-wcpdf-frontend.php:55
68
+ msgid "Download invoice (PDF)"
69
+ msgstr "Dohvati račun(PDF)"
70
+
71
+ #: includes/class-wcpdf-main.php:132 includes/class-wcpdf-main.php:153
72
+ #: includes/class-wcpdf-main.php:160 includes/class-wcpdf-main.php:166
73
+ msgid "You do not have sufficient permissions to access this page."
74
+ msgstr "Nemate dovoljne ovlasti kako bi pristupili ovoj stranici."
75
+
76
+ #: includes/class-wcpdf-main.php:141
77
+ msgid "Some of the export parameters are missing."
78
+ msgstr "Neki od parametara za izvoz nedostaju."
79
+
80
+ #: includes/class-wcpdf-settings-callbacks.php:27
81
+ msgid ""
82
+ "<b>Warning!</b> The settings below are meant for debugging/development only. "
83
+ "Do not use them on a live website!"
84
+ msgstr ""
85
+ "Upozorenje! Donje postavke su namijenjene isključivo za debugging/"
86
+ "development. Ne koristite ih na stranicama koje su puštene u produkciju."
87
+
88
+ #: includes/class-wcpdf-settings-callbacks.php:36
89
+ msgid ""
90
+ "These are used for the (optional) footer columns in the <em>Modern "
91
+ "(Premium)</em> template, but can also be used for other elements in your "
92
+ "custom template"
93
+ msgstr ""
94
+ "Ovo se koristi za (opcionalno) retke u podnožju (footeru) <em>Modern "
95
+ "(Premium)</em> predlošku, ali se također može koristiti za druge elemente u "
96
+ "vašem prilagođenom predlošku"
97
+
98
+ #: includes/class-wcpdf-settings-callbacks.php:301
99
+ msgid "Image resolution"
100
+ msgstr "Rezolucija slike"
101
+
102
+ #: includes/class-wcpdf-settings-callbacks.php:325
103
+ msgid "Save"
104
+ msgstr ""
105
+
106
+ #: includes/class-wcpdf-settings-debug.php:34
107
+ msgid "Debug settings"
108
+ msgstr "Postavke debug-a"
109
+
110
+ #: includes/class-wcpdf-settings-debug.php:40
111
+ msgid "Legacy mode"
112
+ msgstr ""
113
+
114
+ #: includes/class-wcpdf-settings-debug.php:46
115
+ msgid ""
116
+ "Legacy mode ensures compatibility with templates and filters from previous "
117
+ "versions."
118
+ msgstr ""
119
+
120
+ #: includes/class-wcpdf-settings-debug.php:52
121
+ msgid "Enable debug output"
122
+ msgstr "Omogućiti debug prikaz"
123
+
124
+ #: includes/class-wcpdf-settings-debug.php:58
125
+ msgid ""
126
+ "Enable this option to output plugin errors if you're getting a blank page or "
127
+ "other PDF generation issues"
128
+ msgstr ""
129
+ "Omogući ovu opciju kako bi dohvatili greške priključka ako vam se događa da "
130
+ "dobivate praznu stranicu nakon generiranja PDF-a ili imate neke druge "
131
+ "poteškoće"
132
+
133
+ #: includes/class-wcpdf-settings-debug.php:64
134
+ msgid "Output to HTML"
135
+ msgstr "Prikaži u HTML-u"
136
+
137
+ #: includes/class-wcpdf-settings-debug.php:70
138
+ msgid ""
139
+ "Send the template output as HTML to the browser instead of creating a PDF."
140
+ msgstr "Pošalji predložak u HTML formatu umjesto generiranja PDF-a."
141
+
142
+ #: includes/class-wcpdf-settings-documents.php:29
143
+ #: includes/class-wcpdf-settings.php:84
144
+ msgid "Documents"
145
+ msgstr ""
146
+
147
+ #: includes/class-wcpdf-settings-documents.php:45
148
+ msgid ""
149
+ "All available documents are listed below. Click on a document to configure "
150
+ "it."
151
+ msgstr ""
152
+
153
+ #: includes/class-wcpdf-settings-general.php:37
154
+ msgid "General settings"
155
+ msgstr "Opće postavke"
156
+
157
+ #: includes/class-wcpdf-settings-general.php:43
158
+ msgid "How do you want to view the PDF?"
159
+ msgstr "Što želite učiniti s PDF-om?"
160
+
161
+ #: includes/class-wcpdf-settings-general.php:50
162
+ msgid "Download the PDF"
163
+ msgstr "Preuzmi PDF "
164
+
165
+ #: includes/class-wcpdf-settings-general.php:51
166
+ msgid "Open the PDF in a new browser tab/window"
167
+ msgstr "Otvorite PDF u novoj kartici preglednika / u novom prozoru"
168
+
169
+ #: includes/class-wcpdf-settings-general.php:58
170
+ msgid "Choose a template"
171
+ msgstr "Odaberite predložak"
172
+
173
+ #: includes/class-wcpdf-settings-general.php:65
174
+ #, php-format
175
+ msgid ""
176
+ "Want to use your own template? Copy all the files from <code>%s</code> to "
177
+ "your (child) theme in <code>%s</code> to customize them"
178
+ msgstr ""
179
+ "Želite koristiti vlastiti predložak? Kopirajte sve datoteke iz <code>%s</"
180
+ "code> u vašu \"child\" temu u <code>%s</code> kako bi ih mogli prilagođavati"
181
+
182
+ #: includes/class-wcpdf-settings-general.php:71
183
+ msgid "Paper size"
184
+ msgstr "Veličina papira"
185
+
186
+ #: includes/class-wcpdf-settings-general.php:78
187
+ msgid "A4"
188
+ msgstr "A4"
189
+
190
+ #: includes/class-wcpdf-settings-general.php:79
191
+ msgid "Letter"
192
+ msgstr "Pismo"
193
+
194
+ #: includes/class-wcpdf-settings-general.php:86
195
+ msgid "Extended currency symbol support"
196
+ msgstr ""
197
+
198
+ #: includes/class-wcpdf-settings-general.php:92
199
+ msgid "Enable this if your currency symbol is not displaying properly"
200
+ msgstr ""
201
+
202
+ #: includes/class-wcpdf-settings-general.php:98
203
+ msgid "Shop header/logo"
204
+ msgstr "Zaglavlje/Logo trgovine"
205
+
206
+ #: includes/class-wcpdf-settings-general.php:104
207
+ msgid "Select or upload your invoice header/logo"
208
+ msgstr "Odaberite ili prenesite datoteku zaglavlja/logo-a za račun"
209
+
210
+ #: includes/class-wcpdf-settings-general.php:105
211
+ msgid "Set image"
212
+ msgstr "Odabir slike"
213
+
214
+ #: includes/class-wcpdf-settings-general.php:106
215
+ msgid "Remove image"
216
+ msgstr "Ukloni sliku"
217
+
218
+ #: includes/class-wcpdf-settings-general.php:113
219
+ msgid "Shop Name"
220
+ msgstr "Ime trgovine"
221
+
222
+ #: includes/class-wcpdf-settings-general.php:126
223
+ msgid "Shop Address"
224
+ msgstr "Adresa trgovine"
225
+
226
+ #: includes/class-wcpdf-settings-general.php:141
227
+ msgid "Footer: terms & conditions, policies, etc."
228
+ msgstr "Podnožje: uvjeti & statusne stvari, poslovanje i sl."
229
+
230
+ #: includes/class-wcpdf-settings-general.php:156
231
+ msgid "Extra template fields"
232
+ msgstr "Dodatna polja predloška"
233
+
234
+ #: includes/class-wcpdf-settings-general.php:162
235
+ msgid "Extra field 1"
236
+ msgstr "Dodatno polje 1"
237
+
238
+ #: includes/class-wcpdf-settings-general.php:170
239
+ msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
240
+ msgstr "Ovo je 1 kolona footera (podnožja) u <i>Modern (Premium)</i> predlošku"
241
+
242
+ #: includes/class-wcpdf-settings-general.php:177
243
+ msgid "Extra field 2"
244
+ msgstr "Dodatno polje 2"
245
+
246
+ #: includes/class-wcpdf-settings-general.php:185
247
+ msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
248
+ msgstr "Ovo je 2 kolona footera (podnožja) u <i>Modern (Premium)</i> predlošku"
249
+
250
+ #: includes/class-wcpdf-settings-general.php:192
251
+ msgid "Extra field 3"
252
+ msgstr "Dodatno polje 3"
253
+
254
+ #: includes/class-wcpdf-settings-general.php:200
255
+ msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
256
+ msgstr "Ovo je 3 kolona footera (podnožja) u <i>Modern (Premium)</i> predlošku"
257
+
258
+ #: includes/class-wcpdf-settings.php:45 includes/class-wcpdf-settings.php:46
259
+ msgid "PDF Invoices"
260
+ msgstr "PDF Račun"
261
+
262
+ #: includes/class-wcpdf-settings.php:58
263
+ msgid "Settings"
264
+ msgstr "Postavke"
265
+
266
+ #: includes/class-wcpdf-settings.php:71
267
+ msgid "Documentation"
268
+ msgstr ""
269
+
270
+ #: includes/class-wcpdf-settings.php:72
271
+ msgid "Support Forum"
272
+ msgstr ""
273
+
274
+ #: includes/class-wcpdf-settings.php:83
275
+ msgid "General"
276
+ msgstr "Općenito"
277
+
278
+ #: includes/class-wcpdf-settings.php:89
279
+ msgid "Status"
280
+ msgstr "Status"
281
+
282
+ #: includes/compatibility/class-wc-core-compatibility.php:222
283
+ msgid "WooCommerce"
284
+ msgstr ""
285
+
286
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:113
287
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:176
288
+ msgid "N/A"
289
+ msgstr "Ništa"
290
+
291
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:305
292
+ msgid "Payment method"
293
+ msgstr "Metoda plaćanja"
294
+
295
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:326
296
+ msgid "Shipping method"
297
+ msgstr "Metoda dostave"
298
+
299
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:669
300
+ #, php-format
301
+ msgid "(includes %s)"
302
+ msgstr ""
303
+
304
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:672
305
+ #, php-format
306
+ msgid "(Includes %s)"
307
+ msgstr "(Uključujući %s)"
308
+
309
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:702
310
+ msgid "Subtotal"
311
+ msgstr "Ukupno (subtotal)"
312
+
313
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:727
314
+ msgid "Shipping"
315
+ msgstr "Dostava"
316
+
317
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:790
318
+ msgid "Discount"
319
+ msgstr "Popust"
320
+
321
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:831
322
+ msgid "VAT"
323
+ msgstr "PDV"
324
+
325
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:832
326
+ msgid "Tax rate"
327
+ msgstr "Visina poreza"
328
+
329
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:876
330
+ msgid "Total ex. VAT"
331
+ msgstr "Ukupno bez PDV-a"
332
+
333
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:879
334
+ msgid "Total"
335
+ msgstr "Ukupno"
336
+
337
+ #: includes/documents/abstract-wcpdf-order-document.php:674
338
+ msgid "Admin email"
339
+ msgstr ""
340
+
341
+ #: includes/documents/abstract-wcpdf-order-document.php:677
342
+ msgid "Manual email"
343
+ msgstr ""
344
+
345
+ #: includes/documents/class-wcpdf-invoice.php:85
346
+ msgid "invoice"
347
+ msgid_plural "invoices"
348
+ msgstr[0] "Račun"
349
+ msgstr[1] "Računi"
350
+ msgstr[2] ""
351
+
352
+ #: includes/documents/class-wcpdf-invoice.php:130
353
+ #: includes/documents/class-wcpdf-packing-slip.php:94
354
+ msgid "Enable"
355
+ msgstr ""
356
+
357
+ #: includes/documents/class-wcpdf-invoice.php:141
358
+ msgid "Attach to:"
359
+ msgstr ""
360
+
361
+ #: includes/documents/class-wcpdf-invoice.php:148
362
+ #, php-format
363
+ msgid ""
364
+ "It looks like the temp folder (<code>%s</code>) is not writable, check the "
365
+ "permissions for this folder! Without having write access to this folder, the "
366
+ "plugin will not be able to email invoices."
367
+ msgstr ""
368
+ "Čini se kako je temp folder (<code>%s</code>) zaštićen od pisanja, "
369
+ "provjerite dozvole za ovaj folder. Bez ovlasti za upisivanje u ovaj folder "
370
+ "plugin neće biti u mogućnosti poslati račune e-mailom."
371
+
372
+ #: includes/documents/class-wcpdf-invoice.php:154
373
+ msgid "Display shipping address"
374
+ msgstr "Prikazati adresu dostave"
375
+
376
+ #: includes/documents/class-wcpdf-invoice.php:160
377
+ msgid ""
378
+ "Display shipping address (in addition to the default billing address) if "
379
+ "different from billing address"
380
+ msgstr ""
381
+
382
+ #: includes/documents/class-wcpdf-invoice.php:166
383
+ #: includes/documents/class-wcpdf-packing-slip.php:117
384
+ msgid "Display email address"
385
+ msgstr "Prikaži e-mail adresu"
386
+
387
+ #: includes/documents/class-wcpdf-invoice.php:177
388
+ #: includes/documents/class-wcpdf-packing-slip.php:128
389
+ msgid "Display phone number"
390
+ msgstr "Prikaži broj telefona"
391
+
392
+ #: includes/documents/class-wcpdf-invoice.php:188
393
+ msgid "Display invoice date"
394
+ msgstr "Prikaži datum izrade računa"
395
+
396
+ #: includes/documents/class-wcpdf-invoice.php:200
397
+ msgid "Display invoice number"
398
+ msgstr ""
399
+
400
+ #: includes/documents/class-wcpdf-invoice.php:212
401
+ msgid "Next invoice number (without prefix/suffix etc.)"
402
+ msgstr "Slijedeći broj računa (bez prefiksa i sufiksa)"
403
+
404
+ #: includes/documents/class-wcpdf-invoice.php:218
405
+ msgid ""
406
+ "This is the number that will be used for the next document. By default, "
407
+ "numbering starts from 1 and increases for every new document. Note that if "
408
+ "you override this and set it lower than the current/highest number, this "
409
+ "could create duplicate numbers!"
410
+ msgstr ""
411
+
412
+ #: includes/documents/class-wcpdf-invoice.php:224
413
+ msgid "Number format"
414
+ msgstr ""
415
+
416
+ #: includes/documents/class-wcpdf-invoice.php:232
417
+ msgid "Prefix"
418
+ msgstr "Prefiks"
419
+
420
+ #: includes/documents/class-wcpdf-invoice.php:234
421
+ msgid ""
422
+ "to use the invoice year and/or month, use [invoice_year] or [invoice_month] "
423
+ "respectively"
424
+ msgstr ""
425
+ "kako bi koristili godinu i/ili mjesec, koristite [invoice_year] ili "
426
+ "[invoice_month] poštujući"
427
+
428
+ #: includes/documents/class-wcpdf-invoice.php:237
429
+ msgid "Suffix"
430
+ msgstr "Sufiks"
431
+
432
+ #: includes/documents/class-wcpdf-invoice.php:242
433
+ msgid "Padding"
434
+ msgstr "prostor "
435
+
436
+ #: includes/documents/class-wcpdf-invoice.php:245
437
+ msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
438
+ msgstr ""
439
+ "unesite broj znamenki ovdje - unesite\"6\" ako želite prikazati broj 42 kao "
440
+ "000042"
441
+
442
+ #: includes/documents/class-wcpdf-invoice.php:248
443
+ msgid ""
444
+ "note: if you have already created a custom invoice number format with a "
445
+ "filter, the above settings will be ignored"
446
+ msgstr ""
447
+ "Bilješka: Ako ste već kreirali prilagođeni format broja računa s filterom, "
448
+ "gornje postavke biti će zanemarene"
449
+
450
+ #: includes/documents/class-wcpdf-invoice.php:254
451
+ msgid "Reset invoice number yearly"
452
+ msgstr "Resetirati broj računa na godišnjoj razini"
453
+
454
+ #: includes/documents/class-wcpdf-invoice.php:265
455
+ msgid "Allow My Account invoice download"
456
+ msgstr "Dozvoliti preuzimanje računa za moj korisnički profil"
457
+
458
+ #: includes/documents/class-wcpdf-invoice.php:272
459
+ msgid "Only when an invoice is already created/emailed"
460
+ msgstr "Samo kada je račun već izrađen/poslan"
461
+
462
+ #: includes/documents/class-wcpdf-invoice.php:273
463
+ msgid "Only for specific order statuses (define below)"
464
+ msgstr "Samo za specifične statuse narudžbe (definirati ispod)"
465
+
466
+ #: includes/documents/class-wcpdf-invoice.php:274
467
+ msgid "Always"
468
+ msgstr "Uvijek"
469
+
470
+ #: includes/documents/class-wcpdf-invoice.php:275
471
+ msgid "Never"
472
+ msgstr "Nikad"
473
+
474
+ #: includes/documents/class-wcpdf-invoice.php:290
475
+ msgid "Enable invoice number column in the orders list"
476
+ msgstr "Omogućite prikaz stupca s brojem računa u listi narudžbi"
477
+
478
+ #: includes/documents/class-wcpdf-invoice.php:301
479
+ msgid "Disable for free products"
480
+ msgstr "Onemogući za besplatne proizvode"
481
+
482
+ #: includes/documents/class-wcpdf-invoice.php:307
483
+ msgid ""
484
+ "Disable automatic creation/attachment when only free products are ordered"
485
+ msgstr ""
486
+
487
+ #: includes/documents/class-wcpdf-invoice.php:321
488
+ msgid "Invoice numbers are created by a third-party extension."
489
+ msgstr ""
490
+
491
+ #: includes/documents/class-wcpdf-invoice.php:323
492
+ #, php-format
493
+ msgid "Configure it <a href=\"%s\">here</a>."
494
+ msgstr ""
495
+
496
+ #: includes/documents/class-wcpdf-packing-slip.php:32
497
+ #: includes/documents/class-wcpdf-packing-slip.php:41
498
+ #: includes/legacy/class-wcpdf-legacy-functions.php:25
499
+ #: templates/Simple/packing-slip.php:10 templates/Simple/packing-slip.php:22
500
+ msgid "Packing Slip"
501
+ msgstr "Paketni slip"
502
+
503
+ #: includes/documents/class-wcpdf-packing-slip.php:53
504
+ msgid "packing-slip"
505
+ msgid_plural "packing-slips"
506
+ msgstr[0] "Slip uz paket"
507
+ msgstr[1] "Slipovi za pakete"
508
+ msgstr[2] ""
509
+
510
+ #: includes/documents/class-wcpdf-packing-slip.php:105
511
+ msgid "Display billing address"
512
+ msgstr "Prikazati adresu za naplatu"
513
+
514
+ #: includes/documents/class-wcpdf-packing-slip.php:111
515
+ msgid ""
516
+ "Display billing address (in addition to the default shipping address) if "
517
+ "different from shipping address"
518
+ msgstr ""
519
+
520
+ #: includes/legacy/class-wcpdf-legacy-document.php:32
521
+ msgid "Legacy Document"
522
+ msgstr ""
523
+
524
+ #: includes/views/wcpdf-extensions.php:15
525
+ msgid "Check out these premium extensions!"
526
+ msgstr "Provjerite ove premium dodatke!"
527
+
528
+ #: includes/views/wcpdf-extensions.php:16
529
+ msgid "click items to read more"
530
+ msgstr "klik na predmet za detalje"
531
+
532
+ #: includes/views/wcpdf-extensions.php:21
533
+ msgid ""
534
+ "Premium PDF Invoice bundle: Everything you need for a perfect invoicing "
535
+ "system"
536
+ msgstr ""
537
+
538
+ #: includes/views/wcpdf-extensions.php:23
539
+ msgid ""
540
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the all our "
541
+ "premium extensions:"
542
+ msgstr ""
543
+
544
+ #: includes/views/wcpdf-extensions.php:24
545
+ msgid "Professional features:"
546
+ msgstr ""
547
+
548
+ #: includes/views/wcpdf-extensions.php:26
549
+ #: includes/views/wcpdf-extensions.php:56
550
+ msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
551
+ msgstr ""
552
+ "E-mail/Ispis/Preuzimanje <b>PDF Kreditne bilješke & Proforma Računa</b>"
553
+
554
+ #: includes/views/wcpdf-extensions.php:27
555
+ #: includes/views/wcpdf-extensions.php:57
556
+ msgid ""
557
+ "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
558
+ "packing slips, for example to a drop-shipper or a supplier."
559
+ msgstr ""
560
+ "Pošalji odvojeni <b>E-mail obavijest</b> sa (ili bez) PDF računa/paketnih "
561
+ "slipova, za primjer dostavljaču ili "
562
+
563
+ #: includes/views/wcpdf-extensions.php:28
564
+ #: includes/views/wcpdf-extensions.php:58
565
+ msgid ""
566
+ "Attach <b>up to 3 static files</b> (for example a terms & conditions "
567
+ "document) to the WooCommerce emails of your choice."
568
+ msgstr ""
569
+ "Dodajte <b> do 3 statične datoteke</b> (Npr. dokument Uvjeti poslovanja) u "
570
+ "WooCommerce e-mail poruke po vašem izboru"
571
+
572
+ #: includes/views/wcpdf-extensions.php:29
573
+ #: includes/views/wcpdf-extensions.php:59
574
+ msgid ""
575
+ "Use <b>separate numbering systems</b> and/or format for proforma invoices "
576
+ "and credit notes or utilize the main invoice numbering system"
577
+ msgstr ""
578
+ "Korištenje <b>odvojenih sustava knjiženja</b> i/ili formata za proforma "
579
+ "račune i kreditne bilješke ili primjena glavnog računskog sustava knjiženja"
580
+
581
+ #: includes/views/wcpdf-extensions.php:30
582
+ #: includes/views/wcpdf-extensions.php:60
583
+ msgid ""
584
+ "<b>Customize</b> the <b>shipping & billing address</b> format to include "
585
+ "additional custom fields, font sizes etc. without the need to create a "
586
+ "custom template."
587
+ msgstr ""
588
+ "<b>Uredite</b> format <b>adrese za dostavu i naplatu</b> kako bi dodali "
589
+ "dodatna prilagođena polja, veličine fonta i sl. bez potrebe za izradom novog "
590
+ "predloška. "
591
+
592
+ #: includes/views/wcpdf-extensions.php:31
593
+ #: includes/views/wcpdf-extensions.php:61
594
+ msgid "Use the plugin in multilingual <b>WPML</b> setups"
595
+ msgstr "Koristite dodatak u višejezičnom <b>WPML</b> postavkama"
596
+
597
+ #: includes/views/wcpdf-extensions.php:33
598
+ #: includes/views/wcpdf-extensions.php:131
599
+ msgid "Advanced, customizable templates"
600
+ msgstr "Napredni, prilagodljivi predlošci"
601
+
602
+ #: includes/views/wcpdf-extensions.php:35
603
+ #: includes/views/wcpdf-extensions.php:134
604
+ msgid ""
605
+ "Completely customize the invoice contents (prices, taxes, thumbnails) to "
606
+ "your needs with a drag & drop customizer"
607
+ msgstr ""
608
+ "Potpuna prilagodba sadržaja računa (cijene, porezi, umanjene slike) vašim "
609
+ "potrebamakorištenjem povuci & ispusti uređivača"
610
+
611
+ #: includes/views/wcpdf-extensions.php:36
612
+ #: includes/views/wcpdf-extensions.php:135
613
+ msgid "Two extra stylish premade templates (Modern & Business)"
614
+ msgstr "Dva vrlo stilizirana pripremljena predloška (Moderni & Poslovni)"
615
+
616
+ #: includes/views/wcpdf-extensions.php:38
617
+ msgid "Upload automatically to dropbox"
618
+ msgstr ""
619
+
620
+ #: includes/views/wcpdf-extensions.php:40
621
+ #: includes/views/wcpdf-extensions.php:97
622
+ msgid ""
623
+ "This extension conveniently uploads all the invoices (and other pdf "
624
+ "documents from the professional extension) that are emailed to your "
625
+ "customers to Dropbox. The best way to keep your invoice administration up to "
626
+ "date!"
627
+ msgstr ""
628
+ "Ovo proširenje pouzdano prenosi sve račune ( i druge PDF dokumente s "
629
+ "profesionalnog proširenja) koja su poslana e-mailom vašim klijentima, "
630
+ "izravno na Dropbox. Najbolji način za održavanje vaše administracije računa "
631
+ "preglednim i ažurnim."
632
+
633
+ #: includes/views/wcpdf-extensions.php:43
634
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Bundle"
635
+ msgstr ""
636
+
637
+ #: includes/views/wcpdf-extensions.php:52
638
+ msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
639
+ msgstr ""
640
+ "Idemo na PRO: Proforma računi, kreditne bilješke (=povrat sredstava) i više!"
641
+
642
+ #: includes/views/wcpdf-extensions.php:54
643
+ msgid ""
644
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the following "
645
+ "features:"
646
+ msgstr ""
647
+ "SuperCharge-ajte WooCommerce PDF Računi i Paketni Slipovi dodatak sa "
648
+ "slijedećim mogućnostima:"
649
+
650
+ #: includes/views/wcpdf-extensions.php:63
651
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
652
+ msgstr "Pribavite WooCmmerce Računi & Paketni slipovi Profesionalnu verziju!"
653
+
654
+ #: includes/views/wcpdf-extensions.php:71
655
+ msgid "Automatically send payment reminders to your customers"
656
+ msgstr ""
657
+
658
+ #: includes/views/wcpdf-extensions.php:73
659
+ msgid "WooCommerce Smart Reminder emails"
660
+ msgstr ""
661
+
662
+ #: includes/views/wcpdf-extensions.php:75
663
+ msgid "<b>Completely automatic</b> scheduled emails"
664
+ msgstr ""
665
+
666
+ #: includes/views/wcpdf-extensions.php:76
667
+ msgid ""
668
+ "<b>Rich text editor</b> for the email text, including placeholders for data "
669
+ "from the order (name, order total, etc)"
670
+ msgstr ""
671
+
672
+ #: includes/views/wcpdf-extensions.php:77
673
+ msgid ""
674
+ "Configure the exact requirements for sending an email (time after order, "
675
+ "order status, payment method)"
676
+ msgstr ""
677
+
678
+ #: includes/views/wcpdf-extensions.php:78
679
+ msgid ""
680
+ "Fully <b>WPML Compatible</b> – emails will be automatically sent in the "
681
+ "order language."
682
+ msgstr ""
683
+
684
+ #: includes/views/wcpdf-extensions.php:79
685
+ msgid ""
686
+ "<b>Super versatile!</b> Can be used for any kind of reminder email (review "
687
+ "reminders, repeat purchases)"
688
+ msgstr ""
689
+
690
+ #: includes/views/wcpdf-extensions.php:80
691
+ msgid "Integrates seamlessly with the PDF Invoices & Packing Slips plugin"
692
+ msgstr ""
693
+
694
+ #: includes/views/wcpdf-extensions.php:82
695
+ msgid "Get WooCommerce Smart Reminder Emails"
696
+ msgstr ""
697
+
698
+ #: includes/views/wcpdf-extensions.php:91
699
+ msgid "Upload all invoices automatically to your dropbox"
700
+ msgstr "Prijenos svih računa automatski na Dropbox"
701
+
702
+ #: includes/views/wcpdf-extensions.php:98
703
+ msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
704
+ msgstr "Povucite WooCOmmerce Račune i paketne slipove u dropbox!"
705
+
706
+ #: includes/views/wcpdf-extensions.php:110
707
+ msgid ""
708
+ "Automatically send new orders or packing slips to your printer, as soon as "
709
+ "the customer orders!"
710
+ msgstr ""
711
+ "AUtomatski pošalji nove narudžbe ili pakente slipove na vaš printer, u "
712
+ "trenutku kada klijent izvši narudžbu!"
713
+
714
+ #: includes/views/wcpdf-extensions.php:116
715
+ msgid ""
716
+ "Check out the WooCommerce Automatic Order Printing extension from our "
717
+ "partners at Simba Hosting"
718
+ msgstr ""
719
+ "Provjerite WooCommerce dodatak ispis Automatske Narudžbe izrađen od strane "
720
+ "naših partnera @ Simba Hosting"
721
+
722
+ #: includes/views/wcpdf-extensions.php:117
723
+ msgid "WooCommerce Automatic Order Printing"
724
+ msgstr "WooCOmmerce Ispis Automatske narudžbe"
725
+
726
+ #: includes/views/wcpdf-extensions.php:136
727
+ #, php-format
728
+ msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
729
+ msgstr "Provjerite Premium PDF Računi & Slipovi paketa predloške na %s."
730
+
731
+ #: includes/views/wcpdf-extensions.php:137
732
+ #, php-format
733
+ msgid "For custom templates, contact us at %s."
734
+ msgstr "Za prilagođene teme, kontaktirajte nas na %s."
735
+
736
+ #: includes/views/wcpdf-extensions.php:146
737
+ msgid "Hide this message"
738
+ msgstr ""
739
+
740
+ #: includes/views/wcpdf-settings-page.php:8
741
+ msgid "WooCommerce PDF Invoices"
742
+ msgstr "Woocommerce PDF Računi"
743
+
744
+ #: templates/Simple/invoice.php:30 templates/Simple/packing-slip.php:41
745
+ msgid "Billing Address:"
746
+ msgstr "Adresa za naplatu:"
747
+
748
+ #: templates/Simple/invoice.php:41
749
+ msgid "Ship To:"
750
+ msgstr "Dostava na:"
751
+
752
+ #: templates/Simple/invoice.php:50
753
+ msgid "Invoice Number:"
754
+ msgstr "Broj računa:"
755
+
756
+ #: templates/Simple/invoice.php:61 templates/Simple/packing-slip.php:49
757
+ msgid "Order Number:"
758
+ msgstr "Broj narudžbe"
759
+
760
+ #: templates/Simple/invoice.php:65 templates/Simple/packing-slip.php:53
761
+ msgid "Order Date:"
762
+ msgstr "Datum narudžbe:"
763
+
764
+ #: templates/Simple/invoice.php:69
765
+ msgid "Payment Method:"
766
+ msgstr "Metoda Plaćanja:"
767
+
768
+ #: templates/Simple/invoice.php:83 templates/Simple/packing-slip.php:71
769
+ msgid "Product"
770
+ msgstr "Proizvod"
771
+
772
+ #: templates/Simple/invoice.php:84 templates/Simple/packing-slip.php:72
773
+ msgid "Quantity"
774
+ msgstr "Količina"
775
+
776
+ #: templates/Simple/invoice.php:85
777
+ msgid "Price"
778
+ msgstr "CIjena"
779
+
780
+ #: templates/Simple/invoice.php:92 templates/Simple/packing-slip.php:79
781
+ msgid "Description"
782
+ msgstr "Opis"
783
+
784
+ #: templates/Simple/invoice.php:97 templates/Simple/packing-slip.php:84
785
+ msgid "SKU"
786
+ msgstr "Broj artikla:"
787
+
788
+ #: templates/Simple/invoice.php:98 templates/Simple/packing-slip.php:85
789
+ msgid "SKU:"
790
+ msgstr "Broj Artikla:"
791
+
792
+ #: templates/Simple/invoice.php:99 templates/Simple/packing-slip.php:86
793
+ msgid "Weight:"
794
+ msgstr "Težina"
795
+
796
+ #: templates/Simple/invoice.php:114 templates/Simple/packing-slip.php:101
797
+ msgid "Customer Notes"
798
+ msgstr "Bilješke klijenta"
799
+
800
+ #: templates/Simple/packing-slip.php:30
801
+ msgid "Shipping Address:"
802
+ msgstr "Adresa za dostavu:"
803
+
804
+ #: templates/Simple/packing-slip.php:57
805
+ msgid "Shipping Method:"
806
+ msgstr "Metoda dostave:"
807
+
808
+ #: woocommerce-pdf-invoices-packingslips.php:231
809
+ #, php-format
810
+ msgid ""
811
+ "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
812
+ "installed & activated!"
813
+ msgstr ""
814
+ "WooCommerce PDF Računi & Slipovi za pakete zahtjevaju instalaciju i "
815
+ "aktivaciju %sWooCommerce%s!"
816
+
817
+ #: woocommerce-pdf-invoices-packingslips.php:243
818
+ msgid ""
819
+ "WooCommerce PDF Invoices & Packing Slips requires PHP 5.3 or higher (5.6 or "
820
+ "higher recommended)."
821
+ msgstr ""
822
+
823
+ #: woocommerce-pdf-invoices-packingslips.php:244
824
+ msgid "How to update your PHP version"
825
+ msgstr ""
826
+
827
+ #~ msgid "Attach invoice to:"
828
+ #~ msgstr "Privitak računa za:"
829
+
830
+ #~ msgid ""
831
+ #~ "Display shipping address on invoice (in addition to the default billing "
832
+ #~ "address) if different from billing address"
833
+ #~ msgstr ""
834
+ #~ "Prikazati adresu dostave na računu (kao dodatak predodređene adrese za "
835
+ #~ "naplatu) ako je različita od adrese za naplatu"
836
+
837
+ #~ msgid ""
838
+ #~ "This is the number that will be used on the next invoice that is created. "
839
+ #~ "By default, numbering starts from the WooCommerce Order Number of the "
840
+ #~ "first invoice that is created and increases for every new invoice. Note "
841
+ #~ "that if you override this and set it lower than the highest (PDF) invoice "
842
+ #~ "number, this could create double invoice numbers!"
843
+ #~ msgstr ""
844
+ #~ "Ovo je broj koji će se koristiti na prvom slijedećem generiranom računu. "
845
+ #~ "Prema pretpostavljenim postavkama, brojanje započinje od Woocommerce "
846
+ #~ "broja narudžbe i prvog generiranog računa i broj se uvećava za svaki novi "
847
+ #~ "račun. Obratite pozornost na to ako ovo premostite i postavite na nižu "
848
+ #~ "vrijednost od najvišeg (PDF) broja računa, moglo bi se dogoditi da imate "
849
+ #~ "kreirane dvostruke brojeve računa."
850
+
851
+ #~ msgid "Invoice number format"
852
+ #~ msgstr "Format broja računa"
853
+
854
+ #~ msgid ""
855
+ #~ "Disable automatic creation/attachment of invoices when only free products "
856
+ #~ "are ordered"
857
+ #~ msgstr ""
858
+ #~ "Onemogući automatiziranu izradu/dodavanje računa kada su naručeni "
859
+ #~ "isključivo besplatni proizvodi/usluge"
860
+
861
+ #~ msgid ""
862
+ #~ "Display billing address on packing slip (in addition to the default "
863
+ #~ "shipping address) if different from shipping address"
864
+ #~ msgstr ""
865
+ #~ "Prikazati adresu za naplatu na paketnom slipu (kao dodatak "
866
+ #~ "pretpostavljenoj adresi za dostavu) ako se ralikuje od adrese za dostavu"
867
+
868
+ #~ msgid "WooCommerce PDF Invoices & Packing Slips"
869
+ #~ msgstr "WooCOmmerce PDF Računi & Paketni Slipovi"
870
+
871
+ #~ msgid "http://www.wpovernight.com"
872
+ #~ msgstr "http://www.wpovernight.com"
873
+
874
+ #~ msgid ""
875
+ #~ "Create, print & email PDF invoices & packing slips for WooCommerce orders."
876
+ #~ msgstr ""
877
+ #~ "Izradi, Ispiši & pošalji E-mailom Račune & paketne slipove za narudžbe "
878
+ #~ "putem WooCommerce-a."
879
+
880
+ #~ msgid "Ewout Fernhout"
881
+ #~ msgstr "Ewout Fernhout"
882
+
883
+ #~ msgid "Template"
884
+ #~ msgstr "Predložak"
885
+
886
+ #~ msgid "Admin New Order email"
887
+ #~ msgstr "e-mail obavijest administratoru o novoj narudžbi"
888
+
889
+ #~ msgid "Customer Processing Order email"
890
+ #~ msgstr "e-mail obavijest klijentu o postupku obrade narudžbe"
891
+
892
+ #~ msgid "Customer Completed Order email"
893
+ #~ msgstr "e-mail obavijest klijentu o dovršenoj narudžbi"
894
+
895
+ #~ msgid "Customer Invoice email"
896
+ #~ msgstr "E-mail klijenta za dostavu računa"
897
+
898
+ #~ msgid "Interface"
899
+ #~ msgstr "Sučelje"
900
+
901
+ #~ msgid "PDF Template settings"
902
+ #~ msgstr "PDF predložak : postavke"
903
+
904
+ #~ msgid "Display built-in sequential invoice number"
905
+ #~ msgstr "Prikaži ugrađenu sekvencu broja računa"
906
+
907
+ #~ msgid "Use old tmp folder"
908
+ #~ msgstr "Koristiti stari tmp folder"
909
+
910
+ #~ msgid ""
911
+ #~ "Before version 1.5 of PDF Invoices, temporary files were stored in the "
912
+ #~ "plugin folder. This setting is only intended for backwards compatibility, "
913
+ #~ "not recommended on new installs!"
914
+ #~ msgstr ""
915
+ #~ "Prije verzije 1.5 ili PDF računa, privremene datoteke su se pohranjivale "
916
+ #~ "u plugin folder. Ove postavke su namijenjene samo za pozadinsku "
917
+ #~ "kompatibilnost, nisu namijenjene novim instalacijama!"
918
+
919
+ #~ msgid "PDF Packing Slips"
920
+ #~ msgstr "PDF Paketni slipovi"
921
+
922
+ #~ msgid "PDF Invoice"
923
+ #~ msgstr "PDF račun"
924
+
925
+ #~ msgid "PDF Packing Slip"
926
+ #~ msgstr "PDF paketni slip"
languages/woocommerce-pdf-invoices-packing-slips-hu_HU.mo ADDED
Binary file
languages/woocommerce-pdf-invoices-packing-slips-hu_HU.po ADDED
@@ -0,0 +1,839 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
+ "POT-Creation-Date: 2017-06-09 16:37+0200\n"
5
+ "PO-Revision-Date: 2017-06-09 16:37+0200\n"
6
+ "Last-Translator: joesalty <joesalty77@gmail.com>\n"
7
+ "Language-Team: \n"
8
+ "Language: en_US\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.12\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: includes/class-wcpdf-admin.php:72 includes/class-wcpdf-admin.php:174
20
+ #, fuzzy
21
+ msgid "Invoice Number"
22
+ msgstr "Számla"
23
+
24
+ #: includes/class-wcpdf-admin.php:105
25
+ msgid "Create PDF"
26
+ msgstr "PDF létrehozása"
27
+
28
+ #: includes/class-wcpdf-admin.php:115
29
+ msgid "PDF Invoice data"
30
+ msgstr ""
31
+
32
+ #: includes/class-wcpdf-admin.php:166
33
+ #: includes/documents/class-wcpdf-invoice.php:32
34
+ #: includes/documents/class-wcpdf-invoice.php:41
35
+ #: includes/legacy/class-wcpdf-legacy-functions.php:22
36
+ #: templates/Simple/invoice.php:10 templates/Simple/invoice.php:22
37
+ msgid "Invoice"
38
+ msgstr "Számla"
39
+
40
+ #: includes/class-wcpdf-admin.php:183 includes/class-wcpdf-admin.php:204
41
+ #: templates/Simple/invoice.php:56
42
+ #, fuzzy
43
+ msgid "Invoice Date:"
44
+ msgstr "Számla"
45
+
46
+ #: includes/class-wcpdf-admin.php:189
47
+ msgid "Set invoice number & date"
48
+ msgstr ""
49
+
50
+ #: includes/class-wcpdf-admin.php:196
51
+ msgid "Invoice Number (unformatted!)"
52
+ msgstr ""
53
+
54
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
55
+ msgid "h"
56
+ msgstr ""
57
+
58
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
59
+ msgid "m"
60
+ msgstr ""
61
+
62
+ #: includes/class-wcpdf-frontend.php:55
63
+ msgid "Download invoice (PDF)"
64
+ msgstr "Számla letöltése (PDF)"
65
+
66
+ #: includes/class-wcpdf-main.php:132 includes/class-wcpdf-main.php:153
67
+ #: includes/class-wcpdf-main.php:160 includes/class-wcpdf-main.php:166
68
+ msgid "You do not have sufficient permissions to access this page."
69
+ msgstr "Önnek nincs megfelelő jogosultsága az oldal eléréséhez."
70
+
71
+ #: includes/class-wcpdf-main.php:141
72
+ msgid "Some of the export parameters are missing."
73
+ msgstr ""
74
+
75
+ #: includes/class-wcpdf-settings-callbacks.php:27
76
+ msgid ""
77
+ "<b>Warning!</b> The settings below are meant for debugging/development only. "
78
+ "Do not use them on a live website!"
79
+ msgstr ""
80
+
81
+ #: includes/class-wcpdf-settings-callbacks.php:36
82
+ msgid ""
83
+ "These are used for the (optional) footer columns in the <em>Modern "
84
+ "(Premium)</em> template, but can also be used for other elements in your "
85
+ "custom template"
86
+ msgstr ""
87
+ "Ezek a lábléc (opcionális) oszlopok a <em>Modern (Premium)</em> sablonban "
88
+ "használatosak, de használhatja más elemeknek is az egyéni sablonjában. "
89
+
90
+ #: includes/class-wcpdf-settings-callbacks.php:301
91
+ msgid "Image resolution"
92
+ msgstr "Kép felbontás"
93
+
94
+ #: includes/class-wcpdf-settings-callbacks.php:325
95
+ msgid "Save"
96
+ msgstr ""
97
+
98
+ #: includes/class-wcpdf-settings-debug.php:34
99
+ msgid "Debug settings"
100
+ msgstr ""
101
+
102
+ #: includes/class-wcpdf-settings-debug.php:40
103
+ msgid "Legacy mode"
104
+ msgstr ""
105
+
106
+ #: includes/class-wcpdf-settings-debug.php:46
107
+ msgid ""
108
+ "Legacy mode ensures compatibility with templates and filters from previous "
109
+ "versions."
110
+ msgstr ""
111
+
112
+ #: includes/class-wcpdf-settings-debug.php:52
113
+ msgid "Enable debug output"
114
+ msgstr ""
115
+
116
+ #: includes/class-wcpdf-settings-debug.php:58
117
+ msgid ""
118
+ "Enable this option to output plugin errors if you're getting a blank page or "
119
+ "other PDF generation issues"
120
+ msgstr ""
121
+
122
+ #: includes/class-wcpdf-settings-debug.php:64
123
+ msgid "Output to HTML"
124
+ msgstr ""
125
+
126
+ #: includes/class-wcpdf-settings-debug.php:70
127
+ msgid ""
128
+ "Send the template output as HTML to the browser instead of creating a PDF."
129
+ msgstr ""
130
+
131
+ #: includes/class-wcpdf-settings-documents.php:29
132
+ #: includes/class-wcpdf-settings.php:84
133
+ msgid "Documents"
134
+ msgstr ""
135
+
136
+ #: includes/class-wcpdf-settings-documents.php:45
137
+ msgid ""
138
+ "All available documents are listed below. Click on a document to configure "
139
+ "it."
140
+ msgstr ""
141
+
142
+ #: includes/class-wcpdf-settings-general.php:37
143
+ msgid "General settings"
144
+ msgstr "Általános beállítások"
145
+
146
+ #: includes/class-wcpdf-settings-general.php:43
147
+ msgid "How do you want to view the PDF?"
148
+ msgstr "Hogy kívánja megtekinteni a PDF-et?"
149
+
150
+ #: includes/class-wcpdf-settings-general.php:50
151
+ msgid "Download the PDF"
152
+ msgstr "PDF letöltése"
153
+
154
+ #: includes/class-wcpdf-settings-general.php:51
155
+ msgid "Open the PDF in a new browser tab/window"
156
+ msgstr "Nyissa meg a PDF-et egy új böngésző ablakban/tabon"
157
+
158
+ #: includes/class-wcpdf-settings-general.php:58
159
+ msgid "Choose a template"
160
+ msgstr "Válasszon sablont"
161
+
162
+ #: includes/class-wcpdf-settings-general.php:65
163
+ #, php-format
164
+ msgid ""
165
+ "Want to use your own template? Copy all the files from <code>%s</code> to "
166
+ "your (child) theme in <code>%s</code> to customize them"
167
+ msgstr ""
168
+
169
+ #: includes/class-wcpdf-settings-general.php:71
170
+ msgid "Paper size"
171
+ msgstr "Papír méret"
172
+
173
+ #: includes/class-wcpdf-settings-general.php:78
174
+ msgid "A4"
175
+ msgstr "A4"
176
+
177
+ #: includes/class-wcpdf-settings-general.php:79
178
+ msgid "Letter"
179
+ msgstr "Letter"
180
+
181
+ #: includes/class-wcpdf-settings-general.php:86
182
+ msgid "Extended currency symbol support"
183
+ msgstr ""
184
+
185
+ #: includes/class-wcpdf-settings-general.php:92
186
+ msgid "Enable this if your currency symbol is not displaying properly"
187
+ msgstr ""
188
+
189
+ #: includes/class-wcpdf-settings-general.php:98
190
+ msgid "Shop header/logo"
191
+ msgstr "Bolt fejléc/logó"
192
+
193
+ #: includes/class-wcpdf-settings-general.php:104
194
+ msgid "Select or upload your invoice header/logo"
195
+ msgstr "Válasszon ki vagy töltsön fel egy fjlécet/logót"
196
+
197
+ #: includes/class-wcpdf-settings-general.php:105
198
+ msgid "Set image"
199
+ msgstr "Kép hozzáadása"
200
+
201
+ #: includes/class-wcpdf-settings-general.php:106
202
+ msgid "Remove image"
203
+ msgstr "Kép eltávolítása"
204
+
205
+ #: includes/class-wcpdf-settings-general.php:113
206
+ msgid "Shop Name"
207
+ msgstr "Bolt neve"
208
+
209
+ #: includes/class-wcpdf-settings-general.php:126
210
+ msgid "Shop Address"
211
+ msgstr "Bolt címe"
212
+
213
+ #: includes/class-wcpdf-settings-general.php:141
214
+ msgid "Footer: terms & conditions, policies, etc."
215
+ msgstr "Lábléc: szerződési feltételek, rendelkezések, stb."
216
+
217
+ #: includes/class-wcpdf-settings-general.php:156
218
+ msgid "Extra template fields"
219
+ msgstr "Extra sablon mezők"
220
+
221
+ #: includes/class-wcpdf-settings-general.php:162
222
+ msgid "Extra field 1"
223
+ msgstr "Extra mező 1"
224
+
225
+ #: includes/class-wcpdf-settings-general.php:170
226
+ msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
227
+ msgstr "Ez a lábléc oszlop 1 a <i>Modern (Premium)</i> sablonban."
228
+
229
+ #: includes/class-wcpdf-settings-general.php:177
230
+ msgid "Extra field 2"
231
+ msgstr "Extra mező 2"
232
+
233
+ #: includes/class-wcpdf-settings-general.php:185
234
+ msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
235
+ msgstr "Ez a lábléc oszlop 2 a <i>Modern (Premium)</i> sablonban."
236
+
237
+ #: includes/class-wcpdf-settings-general.php:192
238
+ msgid "Extra field 3"
239
+ msgstr "Extra mező 3"
240
+
241
+ #: includes/class-wcpdf-settings-general.php:200
242
+ msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
243
+ msgstr "Ez a lábléc oszlop 3 a <i>Modern (Premium)</i> sablonban."
244
+
245
+ #: includes/class-wcpdf-settings.php:45 includes/class-wcpdf-settings.php:46
246
+ msgid "PDF Invoices"
247
+ msgstr "PDF számlák"
248
+
249
+ #: includes/class-wcpdf-settings.php:58
250
+ msgid "Settings"
251
+ msgstr "Beállítások"
252
+
253
+ #: includes/class-wcpdf-settings.php:71
254
+ msgid "Documentation"
255
+ msgstr ""
256
+
257
+ #: includes/class-wcpdf-settings.php:72
258
+ msgid "Support Forum"
259
+ msgstr ""
260
+
261
+ #: includes/class-wcpdf-settings.php:83
262
+ msgid "General"
263
+ msgstr "Általános"
264
+
265
+ #: includes/class-wcpdf-settings.php:89
266
+ msgid "Status"
267
+ msgstr ""
268
+
269
+ #: includes/compatibility/class-wc-core-compatibility.php:222
270
+ msgid "WooCommerce"
271
+ msgstr ""
272
+
273
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:113
274
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:176
275
+ msgid "N/A"
276
+ msgstr "N/A"
277
+
278
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:305
279
+ #, fuzzy
280
+ msgid "Payment method"
281
+ msgstr "Fizetési mód"
282
+
283
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:326
284
+ #, fuzzy
285
+ msgid "Shipping method"
286
+ msgstr "Szállítás"
287
+
288
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:669
289
+ #, php-format
290
+ msgid "(includes %s)"
291
+ msgstr ""
292
+
293
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:672
294
+ #, php-format
295
+ msgid "(Includes %s)"
296
+ msgstr ""
297
+
298
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:702
299
+ msgid "Subtotal"
300
+ msgstr "Részösszeg"
301
+
302
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:727
303
+ msgid "Shipping"
304
+ msgstr "Szállítás"
305
+
306
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:790
307
+ msgid "Discount"
308
+ msgstr "Kedvezmény"
309
+
310
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:831
311
+ msgid "VAT"
312
+ msgstr ""
313
+
314
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:832
315
+ msgid "Tax rate"
316
+ msgstr ""
317
+
318
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:876
319
+ msgid "Total ex. VAT"
320
+ msgstr "Végösszeg ÁFA nélkül"
321
+
322
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:879
323
+ msgid "Total"
324
+ msgstr "Végösszeg"
325
+
326
+ #: includes/documents/abstract-wcpdf-order-document.php:674
327
+ msgid "Admin email"
328
+ msgstr ""
329
+
330
+ #: includes/documents/abstract-wcpdf-order-document.php:677
331
+ msgid "Manual email"
332
+ msgstr ""
333
+
334
+ # This is a filename (prefix). do not use spaces or special characters!
335
+ #: includes/documents/class-wcpdf-invoice.php:85
336
+ msgid "invoice"
337
+ msgid_plural "invoices"
338
+ msgstr[0] "számla"
339
+ msgstr[1] "számlák"
340
+
341
+ #: includes/documents/class-wcpdf-invoice.php:130
342
+ #: includes/documents/class-wcpdf-packing-slip.php:94
343
+ msgid "Enable"
344
+ msgstr ""
345
+
346
+ #: includes/documents/class-wcpdf-invoice.php:141
347
+ msgid "Attach to:"
348
+ msgstr ""
349
+
350
+ #: includes/documents/class-wcpdf-invoice.php:148
351
+ #, php-format
352
+ msgid ""
353
+ "It looks like the temp folder (<code>%s</code>) is not writable, check the "
354
+ "permissions for this folder! Without having write access to this folder, the "
355
+ "plugin will not be able to email invoices."
356
+ msgstr ""
357
+ "Az átmeneti könyvtár (<code>%s</code>)nem írható, kérem ellenőrizze a "
358
+ "könyvtár jogosultságokat! A könyvtárra való írási jog nélkül a bővítmény "
359
+ "nem tudja elküldeni a számlát!"
360
+
361
+ #: includes/documents/class-wcpdf-invoice.php:154
362
+ msgid "Display shipping address"
363
+ msgstr ""
364
+
365
+ #: includes/documents/class-wcpdf-invoice.php:160
366
+ msgid ""
367
+ "Display shipping address (in addition to the default billing address) if "
368
+ "different from billing address"
369
+ msgstr ""
370
+
371
+ #: includes/documents/class-wcpdf-invoice.php:166
372
+ #: includes/documents/class-wcpdf-packing-slip.php:117
373
+ msgid "Display email address"
374
+ msgstr ""
375
+
376
+ #: includes/documents/class-wcpdf-invoice.php:177
377
+ #: includes/documents/class-wcpdf-packing-slip.php:128
378
+ msgid "Display phone number"
379
+ msgstr ""
380
+
381
+ #: includes/documents/class-wcpdf-invoice.php:188
382
+ msgid "Display invoice date"
383
+ msgstr ""
384
+
385
+ #: includes/documents/class-wcpdf-invoice.php:200
386
+ msgid "Display invoice number"
387
+ msgstr ""
388
+
389
+ #: includes/documents/class-wcpdf-invoice.php:212
390
+ msgid "Next invoice number (without prefix/suffix etc.)"
391
+ msgstr ""
392
+
393
+ #: includes/documents/class-wcpdf-invoice.php:218
394
+ msgid ""
395
+ "This is the number that will be used for the next document. By default, "
396
+ "numbering starts from 1 and increases for every new document. Note that if "
397
+ "you override this and set it lower than the current/highest number, this "
398
+ "could create duplicate numbers!"
399
+ msgstr ""
400
+
401
+ #: includes/documents/class-wcpdf-invoice.php:224
402
+ msgid "Number format"
403
+ msgstr ""
404
+
405
+ #: includes/documents/class-wcpdf-invoice.php:232
406
+ msgid "Prefix"
407
+ msgstr ""
408
+
409
+ #: includes/documents/class-wcpdf-invoice.php:234
410
+ msgid ""
411
+ "to use the invoice year and/or month, use [invoice_year] or [invoice_month] "
412
+ "respectively"
413
+ msgstr ""
414
+
415
+ #: includes/documents/class-wcpdf-invoice.php:237
416
+ msgid "Suffix"
417
+ msgstr ""
418
+
419
+ #: includes/documents/class-wcpdf-invoice.php:242
420
+ msgid "Padding"
421
+ msgstr ""
422
+
423
+ #: includes/documents/class-wcpdf-invoice.php:245
424
+ msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
425
+ msgstr ""
426
+
427
+ #: includes/documents/class-wcpdf-invoice.php:248
428
+ msgid ""
429
+ "note: if you have already created a custom invoice number format with a "
430
+ "filter, the above settings will be ignored"
431
+ msgstr ""
432
+
433
+ #: includes/documents/class-wcpdf-invoice.php:254
434
+ msgid "Reset invoice number yearly"
435
+ msgstr ""
436
+
437
+ #: includes/documents/class-wcpdf-invoice.php:265
438
+ msgid "Allow My Account invoice download"
439
+ msgstr ""
440
+
441
+ #: includes/documents/class-wcpdf-invoice.php:272
442
+ msgid "Only when an invoice is already created/emailed"
443
+ msgstr ""
444
+
445
+ #: includes/documents/class-wcpdf-invoice.php:273
446
+ msgid "Only for specific order statuses (define below)"
447
+ msgstr ""
448
+
449
+ #: includes/documents/class-wcpdf-invoice.php:274
450
+ msgid "Always"
451
+ msgstr ""
452
+
453
+ #: includes/documents/class-wcpdf-invoice.php:275
454
+ msgid "Never"
455
+ msgstr ""
456
+
457
+ #: includes/documents/class-wcpdf-invoice.php:290
458
+ msgid "Enable invoice number column in the orders list"
459
+ msgstr ""
460
+
461
+ #: includes/documents/class-wcpdf-invoice.php:301
462
+ msgid "Disable for free products"
463
+ msgstr ""
464
+
465
+ #: includes/documents/class-wcpdf-invoice.php:307
466
+ msgid ""
467
+ "Disable automatic creation/attachment when only free products are ordered"
468
+ msgstr ""
469
+
470
+ #: includes/documents/class-wcpdf-invoice.php:321
471
+ msgid "Invoice numbers are created by a third-party extension."
472
+ msgstr ""
473
+
474
+ #: includes/documents/class-wcpdf-invoice.php:323
475
+ #, php-format
476
+ msgid "Configure it <a href=\"%s\">here</a>."
477
+ msgstr ""
478
+
479
+ #: includes/documents/class-wcpdf-packing-slip.php:32
480
+ #: includes/documents/class-wcpdf-packing-slip.php:41
481
+ #: includes/legacy/class-wcpdf-legacy-functions.php:25
482
+ #: templates/Simple/packing-slip.php:10 templates/Simple/packing-slip.php:22
483
+ msgid "Packing Slip"
484
+ msgstr "Szállítólevél"
485
+
486
+ # This is a filename (prefix). do not use spaces or special characters!
487
+ #: includes/documents/class-wcpdf-packing-slip.php:53
488
+ msgid "packing-slip"
489
+ msgid_plural "packing-slips"
490
+ msgstr[0] "szállítólevél"
491
+ msgstr[1] "szállítólevelek"
492
+
493
+ #: includes/documents/class-wcpdf-packing-slip.php:105
494
+ msgid "Display billing address"
495
+ msgstr ""
496
+
497
+ #: includes/documents/class-wcpdf-packing-slip.php:111
498
+ msgid ""
499
+ "Display billing address (in addition to the default shipping address) if "
500
+ "different from shipping address"
501
+ msgstr ""
502
+
503
+ #: includes/legacy/class-wcpdf-legacy-document.php:32
504
+ msgid "Legacy Document"
505
+ msgstr ""
506
+
507
+ #: includes/views/wcpdf-extensions.php:15
508
+ msgid "Check out these premium extensions!"
509
+ msgstr ""
510
+
511
+ #: includes/views/wcpdf-extensions.php:16
512
+ msgid "click items to read more"
513
+ msgstr ""
514
+
515
+ #: includes/views/wcpdf-extensions.php:21
516
+ msgid ""
517
+ "Premium PDF Invoice bundle: Everything you need for a perfect invoicing "
518
+ "system"
519
+ msgstr ""
520
+
521
+ #: includes/views/wcpdf-extensions.php:23
522
+ msgid ""
523
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the all our "
524
+ "premium extensions:"
525
+ msgstr ""
526
+
527
+ #: includes/views/wcpdf-extensions.php:24
528
+ msgid "Professional features:"
529
+ msgstr ""
530
+
531
+ #: includes/views/wcpdf-extensions.php:26
532
+ #: includes/views/wcpdf-extensions.php:56
533
+ msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
534
+ msgstr ""
535
+
536
+ #: includes/views/wcpdf-extensions.php:27
537
+ #: includes/views/wcpdf-extensions.php:57
538
+ msgid ""
539
+ "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
540
+ "packing slips, for example to a drop-shipper or a supplier."
541
+ msgstr ""
542
+
543
+ #: includes/views/wcpdf-extensions.php:28
544
+ #: includes/views/wcpdf-extensions.php:58
545
+ msgid ""
546
+ "Attach <b>up to 3 static files</b> (for example a terms & conditions "
547
+ "document) to the WooCommerce emails of your choice."
548
+ msgstr ""
549
+
550
+ #: includes/views/wcpdf-extensions.php:29
551
+ #: includes/views/wcpdf-extensions.php:59
552
+ msgid ""
553
+ "Use <b>separate numbering systems</b> and/or format for proforma invoices "
554
+ "and credit notes or utilize the main invoice numbering system"
555
+ msgstr ""
556
+
557
+ #: includes/views/wcpdf-extensions.php:30
558
+ #: includes/views/wcpdf-extensions.php:60
559
+ msgid ""
560
+ "<b>Customize</b> the <b>shipping & billing address</b> format to include "
561
+ "additional custom fields, font sizes etc. without the need to create a "
562
+ "custom template."
563
+ msgstr ""
564
+
565
+ #: includes/views/wcpdf-extensions.php:31
566
+ #: includes/views/wcpdf-extensions.php:61
567
+ msgid "Use the plugin in multilingual <b>WPML</b> setups"
568
+ msgstr ""
569
+
570
+ #: includes/views/wcpdf-extensions.php:33
571
+ #: includes/views/wcpdf-extensions.php:131
572
+ msgid "Advanced, customizable templates"
573
+ msgstr ""
574
+
575
+ #: includes/views/wcpdf-extensions.php:35
576
+ #: includes/views/wcpdf-extensions.php:134
577
+ msgid ""
578
+ "Completely customize the invoice contents (prices, taxes, thumbnails) to "
579
+ "your needs with a drag & drop customizer"
580
+ msgstr ""
581
+
582
+ #: includes/views/wcpdf-extensions.php:36
583
+ #: includes/views/wcpdf-extensions.php:135
584
+ msgid "Two extra stylish premade templates (Modern & Business)"
585
+ msgstr ""
586
+
587
+ #: includes/views/wcpdf-extensions.php:38
588
+ msgid "Upload automatically to dropbox"
589
+ msgstr ""
590
+
591
+ #: includes/views/wcpdf-extensions.php:40
592
+ #: includes/views/wcpdf-extensions.php:97
593
+ msgid ""
594
+ "This extension conveniently uploads all the invoices (and other pdf "
595
+ "documents from the professional extension) that are emailed to your "
596
+ "customers to Dropbox. The best way to keep your invoice administration up to "
597
+ "date!"
598
+ msgstr ""
599
+
600
+ #: includes/views/wcpdf-extensions.php:43
601
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Bundle"
602
+ msgstr ""
603
+
604
+ #: includes/views/wcpdf-extensions.php:52
605
+ msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
606
+ msgstr ""
607
+
608
+ #: includes/views/wcpdf-extensions.php:54
609
+ msgid ""
610
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the following "
611
+ "features:"
612
+ msgstr ""
613
+
614
+ #: includes/views/wcpdf-extensions.php:63
615
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
616
+ msgstr ""
617
+
618
+ #: includes/views/wcpdf-extensions.php:71
619
+ msgid "Automatically send payment reminders to your customers"
620
+ msgstr ""
621
+
622
+ #: includes/views/wcpdf-extensions.php:73
623
+ msgid "WooCommerce Smart Reminder emails"
624
+ msgstr ""
625
+
626
+ #: includes/views/wcpdf-extensions.php:75
627
+ msgid "<b>Completely automatic</b> scheduled emails"
628
+ msgstr ""
629
+
630
+ #: includes/views/wcpdf-extensions.php:76
631
+ msgid ""
632
+ "<b>Rich text editor</b> for the email text, including placeholders for data "
633
+ "from the order (name, order total, etc)"
634
+ msgstr ""
635
+
636
+ #: includes/views/wcpdf-extensions.php:77
637
+ msgid ""
638
+ "Configure the exact requirements for sending an email (time after order, "
639
+ "order status, payment method)"
640
+ msgstr ""
641
+
642
+ #: includes/views/wcpdf-extensions.php:78
643
+ msgid ""
644
+ "Fully <b>WPML Compatible</b> – emails will be automatically sent in the "
645
+ "order language."
646
+ msgstr ""
647
+
648
+ #: includes/views/wcpdf-extensions.php:79
649
+ msgid ""
650
+ "<b>Super versatile!</b> Can be used for any kind of reminder email (review "
651
+ "reminders, repeat purchases)"
652
+ msgstr ""
653
+
654
+ #: includes/views/wcpdf-extensions.php:80
655
+ msgid "Integrates seamlessly with the PDF Invoices & Packing Slips plugin"
656
+ msgstr ""
657
+
658
+ #: includes/views/wcpdf-extensions.php:82
659
+ msgid "Get WooCommerce Smart Reminder Emails"
660
+ msgstr ""
661
+
662
+ #: includes/views/wcpdf-extensions.php:91
663
+ msgid "Upload all invoices automatically to your dropbox"
664
+ msgstr ""
665
+
666
+ #: includes/views/wcpdf-extensions.php:98
667
+ msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
668
+ msgstr ""
669
+
670
+ #: includes/views/wcpdf-extensions.php:110
671
+ msgid ""
672
+ "Automatically send new orders or packing slips to your printer, as soon as "
673
+ "the customer orders!"
674
+ msgstr ""
675
+
676
+ #: includes/views/wcpdf-extensions.php:116
677
+ msgid ""
678
+ "Check out the WooCommerce Automatic Order Printing extension from our "
679
+ "partners at Simba Hosting"
680
+ msgstr ""
681
+
682
+ #: includes/views/wcpdf-extensions.php:117
683
+ msgid "WooCommerce Automatic Order Printing"
684
+ msgstr ""
685
+
686
+ #: includes/views/wcpdf-extensions.php:136
687
+ #, php-format
688
+ msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
689
+ msgstr ""
690
+
691
+ #: includes/views/wcpdf-extensions.php:137
692
+ #, php-format
693
+ msgid "For custom templates, contact us at %s."
694
+ msgstr ""
695
+
696
+ #: includes/views/wcpdf-extensions.php:146
697
+ msgid "Hide this message"
698
+ msgstr ""
699
+
700
+ #: includes/views/wcpdf-settings-page.php:8
701
+ msgid "WooCommerce PDF Invoices"
702
+ msgstr "WooCommerce PDF számlák"
703
+
704
+ #: templates/Simple/invoice.php:30 templates/Simple/packing-slip.php:41
705
+ msgid "Billing Address:"
706
+ msgstr ""
707
+
708
+ #: templates/Simple/invoice.php:41
709
+ msgid "Ship To:"
710
+ msgstr ""
711
+
712
+ #: templates/Simple/invoice.php:50
713
+ #, fuzzy
714
+ msgid "Invoice Number:"
715
+ msgstr "Rendelési szám:"
716
+
717
+ #: templates/Simple/invoice.php:61 templates/Simple/packing-slip.php:49
718
+ msgid "Order Number:"
719
+ msgstr "Rendelési szám:"
720
+
721
+ #: templates/Simple/invoice.php:65 templates/Simple/packing-slip.php:53
722
+ msgid "Order Date:"
723
+ msgstr "Rendelés dátuma:"
724
+
725
+ #: templates/Simple/invoice.php:69
726
+ msgid "Payment Method:"
727
+ msgstr "Fizetési mód"
728
+
729
+ #: templates/Simple/invoice.php:83 templates/Simple/packing-slip.php:71
730
+ msgid "Product"
731
+ msgstr "Termék"
732
+
733
+ #: templates/Simple/invoice.php:84 templates/Simple/packing-slip.php:72
734
+ msgid "Quantity"
735
+ msgstr "Mennyiség"
736
+
737
+ #: templates/Simple/invoice.php:85
738
+ msgid "Price"
739
+ msgstr "Ár"
740
+
741
+ #: templates/Simple/invoice.php:92 templates/Simple/packing-slip.php:79
742
+ msgid "Description"
743
+ msgstr ""
744
+
745
+ #: templates/Simple/invoice.php:97 templates/Simple/packing-slip.php:84
746
+ msgid "SKU"
747
+ msgstr "SKU"
748
+
749
+ #: templates/Simple/invoice.php:98 templates/Simple/packing-slip.php:85
750
+ msgid "SKU:"
751
+ msgstr "SKU:"
752
+
753
+ #: templates/Simple/invoice.php:99 templates/Simple/packing-slip.php:86
754
+ msgid "Weight:"
755
+ msgstr "Súly:"
756
+
757
+ #: templates/Simple/invoice.php:114 templates/Simple/packing-slip.php:101
758
+ msgid "Customer Notes"
759
+ msgstr "Vásárlói megjegyzések"
760
+
761
+ #: templates/Simple/packing-slip.php:30
762
+ msgid "Shipping Address:"
763
+ msgstr ""
764
+
765
+ #: templates/Simple/packing-slip.php:57
766
+ msgid "Shipping Method:"
767
+ msgstr ""
768
+
769
+ #: woocommerce-pdf-invoices-packingslips.php:231
770
+ #, php-format
771
+ msgid ""
772
+ "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
773
+ "installed & activated!"
774
+ msgstr ""
775
+ "WooCommerce PDF Invoices & Packing Slipsnek szüksége van az telepített és "
776
+ "bekapcsolt %sWooCommerce%s pluginra."
777
+
778
+ #: woocommerce-pdf-invoices-packingslips.php:243
779
+ msgid ""
780
+ "WooCommerce PDF Invoices & Packing Slips requires PHP 5.3 or higher (5.6 or "
781
+ "higher recommended)."
782
+ msgstr ""
783
+
784
+ #: woocommerce-pdf-invoices-packingslips.php:244
785
+ msgid "How to update your PHP version"
786
+ msgstr ""
787
+
788
+ #~ msgid "Template"
789
+ #~ msgstr "Sablon"
790
+
791
+ #~ msgid ""
792
+ #~ "Looking for more advanced templates? Check out the Premium PDF Invoice & "
793
+ #~ "Packing Slips templates at %s."
794
+ #~ msgstr ""
795
+ #~ "Fejlettebb sablonokat keres? Nézze meg a Premium PDF Invoice & Packing "
796
+ #~ "Slips sablonokat a %s-on. "
797
+
798
+ #, fuzzy
799
+ #~ msgid "Customer Invoice email"
800
+ #~ msgstr "Vásárlói megjegyzések"
801
+
802
+ #~ msgid "PDF Template settings"
803
+ #~ msgstr "PDF sablon beállítások"
804
+
805
+ #~ msgid ""
806
+ #~ "Want to use your own template? Copy all the files from <code>%s</code> to "
807
+ #~ "<code>%s</code> to customize them"
808
+ #~ msgstr ""
809
+ #~ "Saját sablont szeretne használni? Másolja az összes fájlt a <code>%s</"
810
+ #~ "code> könyvtárból a <code>%s</code> könyvtárba a módosításhoz."
811
+
812
+ #, fuzzy
813
+ #~ msgid "WooCommerce order number"
814
+ #~ msgstr "WooCommerce PDF számlák"
815
+
816
+ #, fuzzy
817
+ #~ msgid "Order date"
818
+ #~ msgstr "Rendelés dátuma:"
819
+
820
+ #, fuzzy
821
+ #~ msgid "Invoice date"
822
+ #~ msgstr "Számla"
823
+
824
+ #~ msgid "PDF invoice"
825
+ #~ msgstr "PDF számla"
826
+
827
+ #~ msgid "PDF Packing Slip"
828
+ #~ msgstr "PDF szállítólevél"
829
+
830
+ #~ msgid "PDF Packing Slips"
831
+ #~ msgstr "PDF szállítólevelet"
832
+
833
+ #~ msgid "..."
834
+ #~ msgstr "..."
835
+
836
+ #~ msgid "Email invoice (attach to order confirmation or invoice email)"
837
+ #~ msgstr ""
838
+ #~ "Számla küldése emailban (csatolja a rendelési vagy a teljesítési "
839
+ #~ "igazoláshoz)"
languages/woocommerce-pdf-invoices-packing-slips-id_ID.mo ADDED
Binary file
languages/woocommerce-pdf-invoices-packing-slips-id_ID.po ADDED
@@ -0,0 +1,926 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
+ "POT-Creation-Date: 2017-06-09 16:37+0200\n"
5
+ "PO-Revision-Date: 2017-06-09 16:37+0200\n"
6
+ "Last-Translator: Jordan Silaen <jordan.silaen@chameleonjohn.com>\n"
7
+ "Language-Team: ChameleonJohn.com <jordan.silaen@chameleonjohn.com>\n"
8
+ "Language: id_ID\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.12\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: includes/class-wcpdf-admin.php:72 includes/class-wcpdf-admin.php:174
20
+ msgid "Invoice Number"
21
+ msgstr "Nomor faktur"
22
+
23
+ #: includes/class-wcpdf-admin.php:105
24
+ msgid "Create PDF"
25
+ msgstr "Buat PDF"
26
+
27
+ #: includes/class-wcpdf-admin.php:115
28
+ msgid "PDF Invoice data"
29
+ msgstr ""
30
+
31
+ #: includes/class-wcpdf-admin.php:166
32
+ #: includes/documents/class-wcpdf-invoice.php:32
33
+ #: includes/documents/class-wcpdf-invoice.php:41
34
+ #: includes/legacy/class-wcpdf-legacy-functions.php:22
35
+ #: templates/Simple/invoice.php:10 templates/Simple/invoice.php:22
36
+ msgid "Invoice"
37
+ msgstr "Faktur"
38
+
39
+ #: includes/class-wcpdf-admin.php:183 includes/class-wcpdf-admin.php:204
40
+ #: templates/Simple/invoice.php:56
41
+ msgid "Invoice Date:"
42
+ msgstr "Tanggal faktur:"
43
+
44
+ #: includes/class-wcpdf-admin.php:189
45
+ msgid "Set invoice number & date"
46
+ msgstr ""
47
+
48
+ #: includes/class-wcpdf-admin.php:196
49
+ msgid "Invoice Number (unformatted!)"
50
+ msgstr ""
51
+
52
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
53
+ msgid "h"
54
+ msgstr "H"
55
+
56
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
57
+ msgid "m"
58
+ msgstr "M"
59
+
60
+ #: includes/class-wcpdf-frontend.php:55
61
+ msgid "Download invoice (PDF)"
62
+ msgstr "Download faktur (PDF)"
63
+
64
+ #: includes/class-wcpdf-main.php:132 includes/class-wcpdf-main.php:153
65
+ #: includes/class-wcpdf-main.php:160 includes/class-wcpdf-main.php:166
66
+ msgid "You do not have sufficient permissions to access this page."
67
+ msgstr "Anda tidak memiliki izin yang memadai untuk mengakses halaman ini."
68
+
69
+ #: includes/class-wcpdf-main.php:141
70
+ msgid "Some of the export parameters are missing."
71
+ msgstr "Beberapa parameter ekspor hilang."
72
+
73
+ #: includes/class-wcpdf-settings-callbacks.php:27
74
+ msgid ""
75
+ "<b>Warning!</b> The settings below are meant for debugging/development only. "
76
+ "Do not use them on a live website!"
77
+ msgstr ""
78
+ "<B> Peringatan! </ B> Pengaturan di bawah dimaksudkan untuk debugging / "
79
+ "pengembangan saja. Jangan gunakan mereka di situs web live!"
80
+
81
+ #: includes/class-wcpdf-settings-callbacks.php:36
82
+ msgid ""
83
+ "These are used for the (optional) footer columns in the <em>Modern "
84
+ "(Premium)</em> template, but can also be used for other elements in your "
85
+ "custom template"
86
+ msgstr ""
87
+ "Ini digunakan untuk kolom footer (opsional) di template <em> Modern "
88
+ "(Premium) </ em>, namun juga dapat digunakan untuk elemen lain dalam "
89
+ "template khusus Anda"
90
+
91
+ #: includes/class-wcpdf-settings-callbacks.php:301
92
+ msgid "Image resolution"
93
+ msgstr "Resolusi gambar"
94
+
95
+ #: includes/class-wcpdf-settings-callbacks.php:325
96
+ msgid "Save"
97
+ msgstr ""
98
+
99
+ #: includes/class-wcpdf-settings-debug.php:34
100
+ msgid "Debug settings"
101
+ msgstr "Pengaturan Debug"
102
+
103
+ #: includes/class-wcpdf-settings-debug.php:40
104
+ msgid "Legacy mode"
105
+ msgstr ""
106
+
107
+ #: includes/class-wcpdf-settings-debug.php:46
108
+ msgid ""
109
+ "Legacy mode ensures compatibility with templates and filters from previous "
110
+ "versions."
111
+ msgstr ""
112
+
113
+ #: includes/class-wcpdf-settings-debug.php:52
114
+ msgid "Enable debug output"
115
+ msgstr "Aktifkan keluaran debug"
116
+
117
+ #: includes/class-wcpdf-settings-debug.php:58
118
+ msgid ""
119
+ "Enable this option to output plugin errors if you're getting a blank page or "
120
+ "other PDF generation issues"
121
+ msgstr ""
122
+ "Aktifkan opsi ini untuk menampilkan kesalahan plugin jika Anda mendapatkan "
123
+ "halaman kosong atau masalah generasi PDF lainnya"
124
+
125
+ #: includes/class-wcpdf-settings-debug.php:64
126
+ msgid "Output to HTML"
127
+ msgstr "Keluaran ke HTML"
128
+
129
+ #: includes/class-wcpdf-settings-debug.php:70
130
+ msgid ""
131
+ "Send the template output as HTML to the browser instead of creating a PDF."
132
+ msgstr ""
133
+ "Kirimkan output template sebagai HTML ke browser alih-alih membuat PDF."
134
+
135
+ #: includes/class-wcpdf-settings-documents.php:29
136
+ #: includes/class-wcpdf-settings.php:84
137
+ msgid "Documents"
138
+ msgstr ""
139
+
140
+ #: includes/class-wcpdf-settings-documents.php:45
141
+ msgid ""
142
+ "All available documents are listed below. Click on a document to configure "
143
+ "it."
144
+ msgstr ""
145
+
146
+ #: includes/class-wcpdf-settings-general.php:37
147
+ msgid "General settings"
148
+ msgstr "Pengaturan Umum"
149
+
150
+ #: includes/class-wcpdf-settings-general.php:43
151
+ msgid "How do you want to view the PDF?"
152
+ msgstr "Bagaimana Anda ingin melihat PDF?"
153
+
154
+ #: includes/class-wcpdf-settings-general.php:50
155
+ msgid "Download the PDF"
156
+ msgstr "Download PDF"
157
+
158
+ #: includes/class-wcpdf-settings-general.php:51
159
+ msgid "Open the PDF in a new browser tab/window"
160
+ msgstr "Buka PDF di tab / jendela browser baru"
161
+
162
+ #: includes/class-wcpdf-settings-general.php:58
163
+ msgid "Choose a template"
164
+ msgstr "Pilih template"
165
+
166
+ #: includes/class-wcpdf-settings-general.php:65
167
+ #, php-format
168
+ msgid ""
169
+ "Want to use your own template? Copy all the files from <code>%s</code> to "
170
+ "your (child) theme in <code>%s</code> to customize them"
171
+ msgstr ""
172
+ "Ingin menggunakan template anda sendiri? Salin semua file dari <code> %s </ "
173
+ "code> ke tema (anak) Anda di <code> %s </ code> untuk menyesuaikannya"
174
+
175
+ #: includes/class-wcpdf-settings-general.php:71
176
+ msgid "Paper size"
177
+ msgstr "Ukuran kertas"
178
+
179
+ #: includes/class-wcpdf-settings-general.php:78
180
+ msgid "A4"
181
+ msgstr "A4"
182
+
183
+ #: includes/class-wcpdf-settings-general.php:79
184
+ msgid "Letter"
185
+ msgstr "Surat"
186
+
187
+ #: includes/class-wcpdf-settings-general.php:86
188
+ msgid "Extended currency symbol support"
189
+ msgstr ""
190
+
191
+ #: includes/class-wcpdf-settings-general.php:92
192
+ msgid "Enable this if your currency symbol is not displaying properly"
193
+ msgstr ""
194
+
195
+ #: includes/class-wcpdf-settings-general.php:98
196
+ msgid "Shop header/logo"
197
+ msgstr "Shop header / logo"
198
+
199
+ #: includes/class-wcpdf-settings-general.php:104
200
+ msgid "Select or upload your invoice header/logo"
201
+ msgstr "Pilih atau upload header / logo faktur Anda"
202
+
203
+ #: includes/class-wcpdf-settings-general.php:105
204
+ msgid "Set image"
205
+ msgstr "Set gambar"
206
+
207
+ #: includes/class-wcpdf-settings-general.php:106
208
+ msgid "Remove image"
209
+ msgstr "Hapus gambar"
210
+
211
+ #: includes/class-wcpdf-settings-general.php:113
212
+ msgid "Shop Name"
213
+ msgstr "Nama toko"
214
+
215
+ #: includes/class-wcpdf-settings-general.php:126
216
+ msgid "Shop Address"
217
+ msgstr "Alamat toko"
218
+
219
+ #: includes/class-wcpdf-settings-general.php:141
220
+ msgid "Footer: terms & conditions, policies, etc."
221
+ msgstr "Footer: syarat & ketentuan, kebijakan, dll."
222
+
223
+ #: includes/class-wcpdf-settings-general.php:156
224
+ msgid "Extra template fields"
225
+ msgstr "Zusätzliche Vorlagenfelder "
226
+
227
+ #: includes/class-wcpdf-settings-general.php:162
228
+ msgid "Extra field 1"
229
+ msgstr "Zusatzfeld 1 "
230
+
231
+ #: includes/class-wcpdf-settings-general.php:170
232
+ msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
233
+ msgstr "Ini adalah kolom footer 1 di template <i> Modern (Premium) </ i>"
234
+
235
+ #: includes/class-wcpdf-settings-general.php:177
236
+ msgid "Extra field 2"
237
+ msgstr "Bidang tambahan 2"
238
+
239
+ #: includes/class-wcpdf-settings-general.php:185
240
+ msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
241
+ msgstr "Ini adalah kolom footer 2 di template <i> Modern (Premium) </ i>"
242
+
243
+ #: includes/class-wcpdf-settings-general.php:192
244
+ msgid "Extra field 3"
245
+ msgstr "Bidang tambahan 3"
246
+
247
+ #: includes/class-wcpdf-settings-general.php:200
248
+ msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
249
+ msgstr "Ini adalah kolom footer 3 di template <i> Modern (Premium) </ i>"
250
+
251
+ #: includes/class-wcpdf-settings.php:45 includes/class-wcpdf-settings.php:46
252
+ msgid "PDF Invoices"
253
+ msgstr "Faktur PDF"
254
+
255
+ #: includes/class-wcpdf-settings.php:58
256
+ msgid "Settings"
257
+ msgstr "Pengaturan"
258
+
259
+ #: includes/class-wcpdf-settings.php:71
260
+ msgid "Documentation"
261
+ msgstr ""
262
+
263
+ #: includes/class-wcpdf-settings.php:72
264
+ msgid "Support Forum"
265
+ msgstr ""
266
+
267
+ #: includes/class-wcpdf-settings.php:83
268
+ msgid "General"
269
+ msgstr "Umum"
270
+
271
+ #: includes/class-wcpdf-settings.php:89
272
+ msgid "Status"
273
+ msgstr "Status"
274
+
275
+ #: includes/compatibility/class-wc-core-compatibility.php:222
276
+ msgid "WooCommerce"
277
+ msgstr ""
278
+
279
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:113
280
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:176
281
+ msgid "N/A"
282
+ msgstr "N / A"
283
+
284
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:305
285
+ msgid "Payment method"
286
+ msgstr "Metode pembayaran"
287
+
288
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:326
289
+ msgid "Shipping method"
290
+ msgstr "Metode pengiriman"
291
+
292
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:669
293
+ #, php-format
294
+ msgid "(includes %s)"
295
+ msgstr ""
296
+
297
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:672
298
+ #, php-format
299
+ msgid "(Includes %s)"
300
+ msgstr ""
301
+
302
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:702
303
+ msgid "Subtotal"
304
+ msgstr "Subtotal"
305
+
306
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:727
307
+ msgid "Shipping"
308
+ msgstr "pengiriman"
309
+
310
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:790
311
+ msgid "Discount"
312
+ msgstr "Diskon"
313
+
314
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:831
315
+ msgid "VAT"
316
+ msgstr "TONG"
317
+
318
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:832
319
+ msgid "Tax rate"
320
+ msgstr "Persentase pajak"
321
+
322
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:876
323
+ msgid "Total ex. VAT"
324
+ msgstr "Total mantan TONG"
325
+
326
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:879
327
+ msgid "Total"
328
+ msgstr "Total"
329
+
330
+ #: includes/documents/abstract-wcpdf-order-document.php:674
331
+ msgid "Admin email"
332
+ msgstr ""
333
+
334
+ #: includes/documents/abstract-wcpdf-order-document.php:677
335
+ msgid "Manual email"
336
+ msgstr ""
337
+
338
+ # This is a filename (prefix). do not use spaces or special characters!
339
+ #: includes/documents/class-wcpdf-invoice.php:85
340
+ msgid "invoice"
341
+ msgid_plural "invoices"
342
+ msgstr[0] "faktur"
343
+ msgstr[1] "faktur"
344
+
345
+ #: includes/documents/class-wcpdf-invoice.php:130
346
+ #: includes/documents/class-wcpdf-packing-slip.php:94
347
+ msgid "Enable"
348
+ msgstr ""
349
+
350
+ #: includes/documents/class-wcpdf-invoice.php:141
351
+ msgid "Attach to:"
352
+ msgstr ""
353
+
354
+ #: includes/documents/class-wcpdf-invoice.php:148
355
+ #, php-format
356
+ msgid ""
357
+ "It looks like the temp folder (<code>%s</code>) is not writable, check the "
358
+ "permissions for this folder! Without having write access to this folder, the "
359
+ "plugin will not be able to email invoices."
360
+ msgstr ""
361
+ "Sepertinya map temp (<code> %s </ code>) tidak dapat ditulis, periksa izin "
362
+ "untuk folder ini! Tanpa memiliki akses tulis ke folder ini, plugin tidak "
363
+ "akan bisa mengirim faktur melalui email."
364
+
365
+ #: includes/documents/class-wcpdf-invoice.php:154
366
+ msgid "Display shipping address"
367
+ msgstr "Tampilkan alamat pengiriman"
368
+
369
+ #: includes/documents/class-wcpdf-invoice.php:160
370
+ msgid ""
371
+ "Display shipping address (in addition to the default billing address) if "
372
+ "different from billing address"
373
+ msgstr ""
374
+
375
+ #: includes/documents/class-wcpdf-invoice.php:166
376
+ #: includes/documents/class-wcpdf-packing-slip.php:117
377
+ msgid "Display email address"
378
+ msgstr "Tampilkan alamat email"
379
+
380
+ #: includes/documents/class-wcpdf-invoice.php:177
381
+ #: includes/documents/class-wcpdf-packing-slip.php:128
382
+ msgid "Display phone number"
383
+ msgstr "nomor telepon tampilan"
384
+
385
+ #: includes/documents/class-wcpdf-invoice.php:188
386
+ msgid "Display invoice date"
387
+ msgstr "Tampilkan tanggal faktur"
388
+
389
+ #: includes/documents/class-wcpdf-invoice.php:200
390
+ msgid "Display invoice number"
391
+ msgstr ""
392
+
393
+ #: includes/documents/class-wcpdf-invoice.php:212
394
+ msgid "Next invoice number (without prefix/suffix etc.)"
395
+ msgstr "Nomor faktur berikutnya (tanpa awalan / akhiran dll.)"
396
+
397
+ #: includes/documents/class-wcpdf-invoice.php:218
398
+ msgid ""
399
+ "This is the number that will be used for the next document. By default, "
400
+ "numbering starts from 1 and increases for every new document. Note that if "
401
+ "you override this and set it lower than the current/highest number, this "
402
+ "could create duplicate numbers!"
403
+ msgstr ""
404
+
405
+ #: includes/documents/class-wcpdf-invoice.php:224
406
+ msgid "Number format"
407
+ msgstr ""
408
+
409
+ #: includes/documents/class-wcpdf-invoice.php:232
410
+ msgid "Prefix"
411
+ msgstr "Awalan"
412
+
413
+ #: includes/documents/class-wcpdf-invoice.php:234
414
+ msgid ""
415
+ "to use the invoice year and/or month, use [invoice_year] or [invoice_month] "
416
+ "respectively"
417
+ msgstr ""
418
+
419
+ #: includes/documents/class-wcpdf-invoice.php:237
420
+ msgid "Suffix"
421
+ msgstr "Akhiran"
422
+
423
+ #: includes/documents/class-wcpdf-invoice.php:242
424
+ msgid "Padding"
425
+ msgstr "Lapisan"
426
+
427
+ #: includes/documents/class-wcpdf-invoice.php:245
428
+ msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
429
+ msgstr ""
430
+ "Masukkan jumlah digit di sini - masukkan \\ \"6 \" untuk menampilkan 42 "
431
+ "sebagai 000042"
432
+
433
+ #: includes/documents/class-wcpdf-invoice.php:248
434
+ msgid ""
435
+ "note: if you have already created a custom invoice number format with a "
436
+ "filter, the above settings will be ignored"
437
+ msgstr ""
438
+ "Catatan: jika Anda telah membuat format angka faktur khusus dengan filter, "
439
+ "pengaturan di atas akan diabaikan"
440
+
441
+ #: includes/documents/class-wcpdf-invoice.php:254
442
+ msgid "Reset invoice number yearly"
443
+ msgstr ""
444
+
445
+ #: includes/documents/class-wcpdf-invoice.php:265
446
+ msgid "Allow My Account invoice download"
447
+ msgstr "Izinkan mendownload faktur Akun Saya"
448
+
449
+ #: includes/documents/class-wcpdf-invoice.php:272
450
+ msgid "Only when an invoice is already created/emailed"
451
+ msgstr "Hanya saat faktur sudah dibuat / diemailkan"
452
+
453
+ #: includes/documents/class-wcpdf-invoice.php:273
454
+ msgid "Only for specific order statuses (define below)"
455
+ msgstr "Hanya untuk status pesanan tertentu (tentukan di bawah)"
456
+
457
+ #: includes/documents/class-wcpdf-invoice.php:274
458
+ msgid "Always"
459
+ msgstr "Selalu"
460
+
461
+ #: includes/documents/class-wcpdf-invoice.php:275
462
+ msgid "Never"
463
+ msgstr ""
464
+
465
+ #: includes/documents/class-wcpdf-invoice.php:290
466
+ msgid "Enable invoice number column in the orders list"
467
+ msgstr "Aktifkan kolom nomor faktur dalam daftar pesanan"
468
+
469
+ #: includes/documents/class-wcpdf-invoice.php:301
470
+ msgid "Disable for free products"
471
+ msgstr "Nonaktifkan untuk produk gratis"
472
+
473
+ #: includes/documents/class-wcpdf-invoice.php:307
474
+ msgid ""
475
+ "Disable automatic creation/attachment when only free products are ordered"
476
+ msgstr ""
477
+
478
+ #: includes/documents/class-wcpdf-invoice.php:321
479
+ msgid "Invoice numbers are created by a third-party extension."
480
+ msgstr ""
481
+
482
+ #: includes/documents/class-wcpdf-invoice.php:323
483
+ #, php-format
484
+ msgid "Configure it <a href=\"%s\">here</a>."
485
+ msgstr ""
486
+
487
+ #: includes/documents/class-wcpdf-packing-slip.php:32
488
+ #: includes/documents/class-wcpdf-packing-slip.php:41
489
+ #: includes/legacy/class-wcpdf-legacy-functions.php:25
490
+ #: templates/Simple/packing-slip.php:10 templates/Simple/packing-slip.php:22
491
+ msgid "Packing Slip"
492
+ msgstr "Slip pengepakan"
493
+
494
+ # This is a filename (prefix). do not use spaces or special characters!
495
+ #: includes/documents/class-wcpdf-packing-slip.php:53
496
+ msgid "packing-slip"
497
+ msgid_plural "packing-slips"
498
+ msgstr[0] "Packing-slip"
499
+ msgstr[1] "Packing-slip"
500
+
501
+ #: includes/documents/class-wcpdf-packing-slip.php:105
502
+ msgid "Display billing address"
503
+ msgstr "Tampilkan alamat penagihan"
504
+
505
+ #: includes/documents/class-wcpdf-packing-slip.php:111
506
+ msgid ""
507
+ "Display billing address (in addition to the default shipping address) if "
508
+ "different from shipping address"
509
+ msgstr ""
510
+
511
+ #: includes/legacy/class-wcpdf-legacy-document.php:32
512
+ msgid "Legacy Document"
513
+ msgstr ""
514
+
515
+ #: includes/views/wcpdf-extensions.php:15
516
+ msgid "Check out these premium extensions!"
517
+ msgstr "Lihat ekstensi premium ini!"
518
+
519
+ #: includes/views/wcpdf-extensions.php:16
520
+ msgid "click items to read more"
521
+ msgstr "Klik item untuk membaca lebih lanjut"
522
+
523
+ #: includes/views/wcpdf-extensions.php:21
524
+ msgid ""
525
+ "Premium PDF Invoice bundle: Everything you need for a perfect invoicing "
526
+ "system"
527
+ msgstr ""
528
+
529
+ #: includes/views/wcpdf-extensions.php:23
530
+ msgid ""
531
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the all our "
532
+ "premium extensions:"
533
+ msgstr ""
534
+
535
+ #: includes/views/wcpdf-extensions.php:24
536
+ msgid "Professional features:"
537
+ msgstr ""
538
+
539
+ #: includes/views/wcpdf-extensions.php:26
540
+ #: includes/views/wcpdf-extensions.php:56
541
+ msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
542
+ msgstr "Email / print / download <b> PDF Credit Notes & Proforma invoice </ b>"
543
+
544
+ #: includes/views/wcpdf-extensions.php:27
545
+ #: includes/views/wcpdf-extensions.php:57
546
+ msgid ""
547
+ "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
548
+ "packing slips, for example to a drop-shipper or a supplier."
549
+ msgstr ""
550
+ "Kirimkan email pemberitahuan <b> terpisah </ b> dengan (atau tanpa) slip "
551
+ "faktur / kemasan iPod, misalnya ke pengirim barang atau pemasok."
552
+
553
+ #: includes/views/wcpdf-extensions.php:28
554
+ #: includes/views/wcpdf-extensions.php:58
555
+ msgid ""
556
+ "Attach <b>up to 3 static files</b> (for example a terms & conditions "
557
+ "document) to the WooCommerce emails of your choice."
558
+ msgstr ""
559
+ "Lampirkan <b> hingga 3 file statis </ b> (misalnya dokumen persyaratan & "
560
+ "ketentuan) ke email WooCommerce pilihan Anda."
561
+
562
+ #: includes/views/wcpdf-extensions.php:29
563
+ #: includes/views/wcpdf-extensions.php:59
564
+ msgid ""
565
+ "Use <b>separate numbering systems</b> and/or format for proforma invoices "
566
+ "and credit notes or utilize the main invoice numbering system"
567
+ msgstr ""
568
+ "Gunakan <b> sistem penomoran yang terpisah </ b> dan / atau format untuk "
569
+ "proforma faktur dan nota kredit atau memanfaatkan sistem penomoran faktur "
570
+ "utama"
571
+
572
+ #: includes/views/wcpdf-extensions.php:30
573
+ #: includes/views/wcpdf-extensions.php:60
574
+ msgid ""
575
+ "<b>Customize</b> the <b>shipping & billing address</b> format to include "
576
+ "additional custom fields, font sizes etc. without the need to create a "
577
+ "custom template."
578
+ msgstr ""
579
+ "<B> Sesuaikan </ b> <b> alamat pengiriman & penagihan </ b> untuk "
580
+ "menyertakan bidang khusus tambahan, ukuran font, dll. Tanpa perlu membuat "
581
+ "template khusus."
582
+
583
+ #: includes/views/wcpdf-extensions.php:31
584
+ #: includes/views/wcpdf-extensions.php:61
585
+ msgid "Use the plugin in multilingual <b>WPML</b> setups"
586
+ msgstr "Gunakan plugin dalam setup bahasa multi bahasa <b> WPML </ b>"
587
+
588
+ #: includes/views/wcpdf-extensions.php:33
589
+ #: includes/views/wcpdf-extensions.php:131
590
+ msgid "Advanced, customizable templates"
591
+ msgstr ""
592
+
593
+ #: includes/views/wcpdf-extensions.php:35
594
+ #: includes/views/wcpdf-extensions.php:134
595
+ msgid ""
596
+ "Completely customize the invoice contents (prices, taxes, thumbnails) to "
597
+ "your needs with a drag & drop customizer"
598
+ msgstr ""
599
+
600
+ #: includes/views/wcpdf-extensions.php:36
601
+ #: includes/views/wcpdf-extensions.php:135
602
+ msgid "Two extra stylish premade templates (Modern & Business)"
603
+ msgstr ""
604
+
605
+ #: includes/views/wcpdf-extensions.php:38
606
+ msgid "Upload automatically to dropbox"
607
+ msgstr ""
608
+
609
+ #: includes/views/wcpdf-extensions.php:40
610
+ #: includes/views/wcpdf-extensions.php:97
611
+ msgid ""
612
+ "This extension conveniently uploads all the invoices (and other pdf "
613
+ "documents from the professional extension) that are emailed to your "
614
+ "customers to Dropbox. The best way to keep your invoice administration up to "
615
+ "date!"
616
+ msgstr ""
617
+ "Ekstensi ini dengan mudah mengunggah semua faktur (dan dokumen pdf lainnya "
618
+ "dari ekstensi profesional) yang dikirim melalui email kepada pelanggan Anda "
619
+ "ke Dropbox. Cara terbaik untuk menjaga agar administrasi faktur Anda tetap "
620
+ "up to date!"
621
+
622
+ #: includes/views/wcpdf-extensions.php:43
623
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Bundle"
624
+ msgstr ""
625
+
626
+ #: includes/views/wcpdf-extensions.php:52
627
+ msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
628
+ msgstr ""
629
+ "Go Pro: Faktur proforma, catatan kredit (= pengembalian uang) & banyak lagi!"
630
+
631
+ #: includes/views/wcpdf-extensions.php:54
632
+ msgid ""
633
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the following "
634
+ "features:"
635
+ msgstr ""
636
+ "Supercharge WooCommerce PDF Invoices & Packing Slips dengan beberapa fitur "
637
+ "berikut:"
638
+
639
+ #: includes/views/wcpdf-extensions.php:63
640
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
641
+ msgstr "Dapatkan WooCommerce PDF Invoices & Packing Slips Professional!"
642
+
643
+ #: includes/views/wcpdf-extensions.php:71
644
+ msgid "Automatically send payment reminders to your customers"
645
+ msgstr ""
646
+
647
+ #: includes/views/wcpdf-extensions.php:73
648
+ msgid "WooCommerce Smart Reminder emails"
649
+ msgstr ""
650
+
651
+ #: includes/views/wcpdf-extensions.php:75
652
+ msgid "<b>Completely automatic</b> scheduled emails"
653
+ msgstr ""
654
+
655
+ #: includes/views/wcpdf-extensions.php:76
656
+ msgid ""
657
+ "<b>Rich text editor</b> for the email text, including placeholders for data "
658
+ "from the order (name, order total, etc)"
659
+ msgstr ""
660
+
661
+ #: includes/views/wcpdf-extensions.php:77
662
+ msgid ""
663
+ "Configure the exact requirements for sending an email (time after order, "
664
+ "order status, payment method)"
665
+ msgstr ""
666
+
667
+ #: includes/views/wcpdf-extensions.php:78
668
+ msgid ""
669
+ "Fully <b>WPML Compatible</b> – emails will be automatically sent in the "
670
+ "order language."
671
+ msgstr ""
672
+
673
+ #: includes/views/wcpdf-extensions.php:79
674
+ msgid ""
675
+ "<b>Super versatile!</b> Can be used for any kind of reminder email (review "
676
+ "reminders, repeat purchases)"
677
+ msgstr ""
678
+
679
+ #: includes/views/wcpdf-extensions.php:80
680
+ msgid "Integrates seamlessly with the PDF Invoices & Packing Slips plugin"
681
+ msgstr ""
682
+
683
+ #: includes/views/wcpdf-extensions.php:82
684
+ msgid "Get WooCommerce Smart Reminder Emails"
685
+ msgstr ""
686
+
687
+ #: includes/views/wcpdf-extensions.php:91
688
+ msgid "Upload all invoices automatically to your dropbox"
689
+ msgstr "Upload semua faktur secara otomatis ke dropbox Anda"
690
+
691
+ #: includes/views/wcpdf-extensions.php:98
692
+ msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
693
+ msgstr "Dapatkan WooCommerce PDF Invoices & Packing Slips to dropbox!"
694
+
695
+ #: includes/views/wcpdf-extensions.php:110
696
+ msgid ""
697
+ "Automatically send new orders or packing slips to your printer, as soon as "
698
+ "the customer orders!"
699
+ msgstr ""
700
+ "Secara otomatis mengirim pesanan baru atau mengepak slip ke printer Anda, "
701
+ "segera setelah pesanan pelanggan!"
702
+
703
+ #: includes/views/wcpdf-extensions.php:116
704
+ msgid ""
705
+ "Check out the WooCommerce Automatic Order Printing extension from our "
706
+ "partners at Simba Hosting"
707
+ msgstr ""
708
+ "Lihat ekstensi WooCommerce Automatic Order Printing dari mitra kami di Simba "
709
+ "Hosting"
710
+
711
+ #: includes/views/wcpdf-extensions.php:117
712
+ msgid "WooCommerce Automatic Order Printing"
713
+ msgstr "WooCommerce Automatic Order Printing"
714
+
715
+ #: includes/views/wcpdf-extensions.php:136
716
+ #, php-format
717
+ msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
718
+ msgstr "Lihat template Premium Invoice & Packing Slips Premium di %s ."
719
+
720
+ #: includes/views/wcpdf-extensions.php:137
721
+ #, php-format
722
+ msgid "For custom templates, contact us at %s."
723
+ msgstr "Untuk template khusus, hubungi kami di %s ."
724
+
725
+ #: includes/views/wcpdf-extensions.php:146
726
+ msgid "Hide this message"
727
+ msgstr ""
728
+
729
+ #: includes/views/wcpdf-settings-page.php:8
730
+ msgid "WooCommerce PDF Invoices"
731
+ msgstr "WooCommerce PDF Faktur"
732
+
733
+ #: templates/Simple/invoice.php:30 templates/Simple/packing-slip.php:41
734
+ msgid "Billing Address:"
735
+ msgstr "Alamat tagihan:"
736
+
737
+ #: templates/Simple/invoice.php:41
738
+ msgid "Ship To:"
739
+ msgstr "Dikirim ke:"
740
+
741
+ #: templates/Simple/invoice.php:50
742
+ msgid "Invoice Number:"
743
+ msgstr "Nomor faktur:"
744
+
745
+ #: templates/Simple/invoice.php:61 templates/Simple/packing-slip.php:49
746
+ msgid "Order Number:"
747
+ msgstr "Jumlah order:"
748
+
749
+ #: templates/Simple/invoice.php:65 templates/Simple/packing-slip.php:53
750
+ msgid "Order Date:"
751
+ msgstr "Tanggal pemesanan:"
752
+
753
+ #: templates/Simple/invoice.php:69
754
+ msgid "Payment Method:"
755
+ msgstr "Metode pembayaran:"
756
+
757
+ #: templates/Simple/invoice.php:83 templates/Simple/packing-slip.php:71
758
+ msgid "Product"
759
+ msgstr "Produk"
760
+
761
+ #: templates/Simple/invoice.php:84 templates/Simple/packing-slip.php:72
762
+ msgid "Quantity"
763
+ msgstr "Kuantitas"
764
+
765
+ #: templates/Simple/invoice.php:85
766
+ msgid "Price"
767
+ msgstr "Harga"
768
+
769
+ #: templates/Simple/invoice.php:92 templates/Simple/packing-slip.php:79
770
+ msgid "Description"
771
+ msgstr "Deskripsi"
772
+
773
+ #: templates/Simple/invoice.php:97 templates/Simple/packing-slip.php:84
774
+ msgid "SKU"
775
+ msgstr "SKU"
776
+
777
+ #: templates/Simple/invoice.php:98 templates/Simple/packing-slip.php:85
778
+ msgid "SKU:"
779
+ msgstr "SKU:"
780
+
781
+ #: templates/Simple/invoice.php:99 templates/Simple/packing-slip.php:86
782
+ msgid "Weight:"
783
+ msgstr "Berat:"
784
+
785
+ #: templates/Simple/invoice.php:114 templates/Simple/packing-slip.php:101
786
+ msgid "Customer Notes"
787
+ msgstr "Catatan Pelanggan"
788
+
789
+ #: templates/Simple/packing-slip.php:30
790
+ msgid "Shipping Address:"
791
+ msgstr "Alamat Pengiriman:"
792
+
793
+ #: templates/Simple/packing-slip.php:57
794
+ msgid "Shipping Method:"
795
+ msgstr "Metode pengiriman:"
796
+
797
+ #: woocommerce-pdf-invoices-packingslips.php:231
798
+ #, php-format
799
+ msgid ""
800
+ "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
801
+ "installed & activated!"
802
+ msgstr ""
803
+ "WooCommerce PDF Invoices & Packing Slips membutuhkan %s WooCommerce %s untuk "
804
+ "diinstal & diaktifkan!"
805
+
806
+ #: woocommerce-pdf-invoices-packingslips.php:243
807
+ msgid ""
808
+ "WooCommerce PDF Invoices & Packing Slips requires PHP 5.3 or higher (5.6 or "
809
+ "higher recommended)."
810
+ msgstr ""
811
+
812
+ #: woocommerce-pdf-invoices-packingslips.php:244
813
+ msgid "How to update your PHP version"
814
+ msgstr ""
815
+
816
+ #~ msgid "Attach invoice to:"
817
+ #~ msgstr "Lampirkan faktur ke:"
818
+
819
+ #~ msgid ""
820
+ #~ "Display shipping address on invoice (in addition to the default billing "
821
+ #~ "address) if different from billing address"
822
+ #~ msgstr ""
823
+ #~ "Tampilkan alamat pengiriman pada faktur (di samping alamat penagihan "
824
+ #~ "default) jika berbeda dengan alamat penagihan"
825
+
826
+ #~ msgid ""
827
+ #~ "This is the number that will be used on the next invoice that is created. "
828
+ #~ "By default, numbering starts from the WooCommerce Order Number of the "
829
+ #~ "first invoice that is created and increases for every new invoice. Note "
830
+ #~ "that if you override this and set it lower than the highest (PDF) invoice "
831
+ #~ "number, this could create double invoice numbers!"
832
+ #~ msgstr ""
833
+ #~ "Ini adalah nomor yang akan digunakan pada faktur berikutnya yang dibuat. "
834
+ #~ "Secara default, penomoran dimulai dari Nomor Pesanan WooCommerce dari "
835
+ #~ "faktur pertama yang dibuat dan meningkat untuk setiap faktur baru. "
836
+ #~ "Perhatikan bahwa jika Anda mengganti ini dan menetapkannya lebih rendah "
837
+ #~ "dari angka faktur tertinggi (PDF), ini bisa membuat nomor faktur ganda!"
838
+
839
+ #~ msgid "Invoice number format"
840
+ #~ msgstr "Format nomor faktur"
841
+
842
+ #~ msgid ""
843
+ #~ "Disable automatic creation/attachment of invoices when only free products "
844
+ #~ "are ordered"
845
+ #~ msgstr ""
846
+ #~ "Nonaktifkan pembuatan otomatis / lampiran faktur bila hanya produk gratis "
847
+ #~ "yang dipesan"
848
+
849
+ #~ msgid ""
850
+ #~ "Display billing address on packing slip (in addition to the default "
851
+ #~ "shipping address) if different from shipping address"
852
+ #~ msgstr ""
853
+ #~ "Tampilkan alamat penagihan pada slip pengepakan (selain alamat pengiriman "
854
+ #~ "default) jika berbeda dari alamat pengiriman"
855
+
856
+ #~ msgid "Template"
857
+ #~ msgstr "Template"
858
+
859
+ #~ msgid "Admin New Order email"
860
+ #~ msgstr "Email Admin Orde Baru"
861
+
862
+ #~ msgid "Customer Processing Order email"
863
+ #~ msgstr "Email pesanan pemrosesan pelanggan"
864
+
865
+ #~ msgid "Customer Completed Order email"
866
+ #~ msgstr "Pelanggan Selesai email Orde"
867
+
868
+ #~ msgid "Customer Invoice email"
869
+ #~ msgstr "Email faktur pelanggan"
870
+
871
+ #~ msgid "Interface"
872
+ #~ msgstr "Interface"
873
+
874
+ #~ msgid "PDF Template settings"
875
+ #~ msgstr "Pengaturan template PDF"
876
+
877
+ #~ msgid "Display built-in sequential invoice number"
878
+ #~ msgstr "Menampilkan nomor faktur berurutan built-in"
879
+
880
+ #~ msgid ""
881
+ #~ "to use the order year and/or month, use [order_year] or [order_month] "
882
+ #~ "respectively"
883
+ #~ msgstr ""
884
+ #~ "Untuk menggunakan pesanan tahun dan / atau bulan, gunakan [order_year] "
885
+ #~ "atau [order_month] masing-masing"
886
+
887
+ #~ msgid "Use old tmp folder"
888
+ #~ msgstr "Gunakan folder tmp lama"
889
+
890
+ #~ msgid ""
891
+ #~ "Before version 1.5 of PDF Invoices, temporary files were stored in the "
892
+ #~ "plugin folder. This setting is only intended for backwards compatibility, "
893
+ #~ "not recommended on new installs!"
894
+ #~ msgstr ""
895
+ #~ "Sebelum versi 1.5 dari Faktur PDF, file-file sementara disimpan dalam "
896
+ #~ "folder plugin. Pengaturan ini hanya ditujukan untuk kompatibilitas "
897
+ #~ "mundur, tidak disarankan pada pemasangan baru!"
898
+
899
+ #~ msgid "PDF Packing Slips"
900
+ #~ msgstr "PDF Packing Slips"
901
+
902
+ #~ msgid "PDF Invoice"
903
+ #~ msgstr "Faktur PDF"
904
+
905
+ #~ msgid "PDF Packing Slip"
906
+ #~ msgstr "PDF Packing Slip"
907
+
908
+ #~ msgid "PDF Invoice Number (unformatted!)"
909
+ #~ msgstr "Nomor Faktur PDF (belum diformat!)"
910
+
911
+ #~ msgid "More advanced templates"
912
+ #~ msgstr "Template yang lebih maju"
913
+
914
+ #~ msgid "Stylish modern invoices & packing slips with product thumbnails!"
915
+ #~ msgstr ""
916
+ #~ "Bingkisan modern yang trendi & slip kemasan dengan thumbnail produk!"
917
+
918
+ #~ msgid "More tax details on the invoices!"
919
+ #~ msgstr "Detail pajak lebih banyak pada faktur!"
920
+
921
+ #~ msgid ""
922
+ #~ "Attach a <b>static file</b> (for example a terms & conditions document) "
923
+ #~ "to the WooCommerce emails of your choice."
924
+ #~ msgstr ""
925
+ #~ "Hinzufügen einer beliebigen <b>Datei </b> (beispielweise AGB, "
926
+ #~ "Widerrufsbelehrung) zum WooCommerce E-Mail"
languages/woocommerce-pdf-invoices-packing-slips-it_IT.mo ADDED
Binary file
languages/woocommerce-pdf-invoices-packing-slips-it_IT.po ADDED
@@ -0,0 +1,941 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
+ "POT-Creation-Date: 2017-06-09 16:38+0200\n"
5
+ "PO-Revision-Date: 2017-06-09 16:38+0200\n"
6
+ "Last-Translator: Astrid Virili <avirili@gmail.com>\n"
7
+ "Language-Team: WP Overnight <support@wpovernight.com>\n"
8
+ "Language: it\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.12\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: includes/class-wcpdf-admin.php:72 includes/class-wcpdf-admin.php:174
20
+ msgid "Invoice Number"
21
+ msgstr "Fattura Numero"
22
+
23
+ #: includes/class-wcpdf-admin.php:105
24
+ msgid "Create PDF"
25
+ msgstr "Crea PDF"
26
+
27
+ #: includes/class-wcpdf-admin.php:115
28
+ msgid "PDF Invoice data"
29
+ msgstr ""
30
+
31
+ #: includes/class-wcpdf-admin.php:166
32
+ #: includes/documents/class-wcpdf-invoice.php:32
33
+ #: includes/documents/class-wcpdf-invoice.php:41
34
+ #: includes/legacy/class-wcpdf-legacy-functions.php:22
35
+ #: templates/Simple/invoice.php:10 templates/Simple/invoice.php:22
36
+ msgid "Invoice"
37
+ msgstr "Fattura"
38
+
39
+ #: includes/class-wcpdf-admin.php:183 includes/class-wcpdf-admin.php:204
40
+ #: templates/Simple/invoice.php:56
41
+ msgid "Invoice Date:"
42
+ msgstr "Data Fattura:"
43
+
44
+ #: includes/class-wcpdf-admin.php:189
45
+ msgid "Set invoice number & date"
46
+ msgstr ""
47
+
48
+ #: includes/class-wcpdf-admin.php:196
49
+ msgid "Invoice Number (unformatted!)"
50
+ msgstr ""
51
+
52
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
53
+ msgid "h"
54
+ msgstr ""
55
+
56
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
57
+ msgid "m"
58
+ msgstr ""
59
+
60
+ #: includes/class-wcpdf-frontend.php:55
61
+ msgid "Download invoice (PDF)"
62
+ msgstr "Scarica fattura (PDF)"
63
+
64
+ #: includes/class-wcpdf-main.php:132 includes/class-wcpdf-main.php:153
65
+ #: includes/class-wcpdf-main.php:160 includes/class-wcpdf-main.php:166
66
+ msgid "You do not have sufficient permissions to access this page."
67
+ msgstr ""
68
+ "Non disponi di autorizzazioni sufficienti per accedere a questa pagina."
69
+
70
+ #: includes/class-wcpdf-main.php:141
71
+ msgid "Some of the export parameters are missing."
72
+ msgstr "Alcuni parametri di esportazione sono mancanti."
73
+
74
+ #: includes/class-wcpdf-settings-callbacks.php:27
75
+ msgid ""
76
+ "<b>Warning!</b> The settings below are meant for debugging/development only. "
77
+ "Do not use them on a live website!"
78
+ msgstr ""
79
+ "<b>Attenzione!</b> Le impostazioni di seguito sono intese per il debug o per "
80
+ "l'ambiente di sviluppo. NON vanno usate sul sito di produzione!"
81
+
82
+ #: includes/class-wcpdf-settings-callbacks.php:36
83
+ msgid ""
84
+ "These are used for the (optional) footer columns in the <em>Modern "
85
+ "(Premium)</em> template, but can also be used for other elements in your "
86
+ "custom template"
87
+ msgstr ""
88
+ "Questi sono utilizzati per le colonne a piè di pagina (opzionali) nel "
89
+ "template <em>Modern (Premium)</ em> di modello, ma possono essere utilizzati "
90
+ "anche per altri elementi nel vostro modello personalizzato"
91
+
92
+ #: includes/class-wcpdf-settings-callbacks.php:301
93
+ msgid "Image resolution"
94
+ msgstr "Risoluzione immagine"
95
+
96
+ #: includes/class-wcpdf-settings-callbacks.php:325
97
+ msgid "Save"
98
+ msgstr ""
99
+
100
+ #: includes/class-wcpdf-settings-debug.php:34
101
+ msgid "Debug settings"
102
+ msgstr "Impostazioni di debug"
103
+
104
+ #: includes/class-wcpdf-settings-debug.php:40
105
+ msgid "Legacy mode"
106
+ msgstr ""
107
+
108
+ #: includes/class-wcpdf-settings-debug.php:46
109
+ msgid ""
110
+ "Legacy mode ensures compatibility with templates and filters from previous "
111
+ "versions."
112
+ msgstr ""
113
+
114
+ #: includes/class-wcpdf-settings-debug.php:52
115
+ msgid "Enable debug output"
116
+ msgstr "Abilita il debug"
117
+
118
+ #: includes/class-wcpdf-settings-debug.php:58
119
+ msgid ""
120
+ "Enable this option to output plugin errors if you're getting a blank page or "
121
+ "other PDF generation issues"
122
+ msgstr ""
123
+ "Abilita questa opzione per mostrare gli errori del plugin. È utile quando il "
124
+ "PDF della fattura è una pagina vuota."
125
+
126
+ #: includes/class-wcpdf-settings-debug.php:64
127
+ msgid "Output to HTML"
128
+ msgstr "In formato HTML"
129
+
130
+ #: includes/class-wcpdf-settings-debug.php:70
131
+ msgid ""
132
+ "Send the template output as HTML to the browser instead of creating a PDF."
133
+ msgstr "Mostra il modello "
134
+
135
+ #: includes/class-wcpdf-settings-documents.php:29
136
+ #: includes/class-wcpdf-settings.php:84
137
+ msgid "Documents"
138
+ msgstr ""
139
+
140
+ #: includes/class-wcpdf-settings-documents.php:45
141
+ msgid ""
142
+ "All available documents are listed below. Click on a document to configure "
143
+ "it."
144
+ msgstr ""
145
+
146
+ #: includes/class-wcpdf-settings-general.php:37
147
+ msgid "General settings"
148
+ msgstr "Impostazioni generali"
149
+
150
+ #: includes/class-wcpdf-settings-general.php:43
151
+ msgid "How do you want to view the PDF?"
152
+ msgstr "Come desideri visualizzare il file PDF?"
153
+
154
+ #: includes/class-wcpdf-settings-general.php:50
155
+ msgid "Download the PDF"
156
+ msgstr "Scarica il PDF"
157
+
158
+ #: includes/class-wcpdf-settings-general.php:51
159
+ msgid "Open the PDF in a new browser tab/window"
160
+ msgstr "Apri il PDF in una nuova scheda/finestra del browser"
161
+
162
+ #: includes/class-wcpdf-settings-general.php:58
163
+ msgid "Choose a template"
164
+ msgstr "Scegli un modello"
165
+
166
+ #: includes/class-wcpdf-settings-general.php:65
167
+ #, php-format
168
+ msgid ""
169
+ "Want to use your own template? Copy all the files from <code>%s</code> to "
170
+ "your (child) theme in <code>%s</code> to customize them"
171
+ msgstr ""
172
+ "Vuoi usare il tuo template? Copia tutti i file della cartella <code>%s</"
173
+ "code> nel tuo tema (o child theme) nella cartella <code>%s</code> e "
174
+ "personalizzali"
175
+
176
+ #: includes/class-wcpdf-settings-general.php:71
177
+ msgid "Paper size"
178
+ msgstr "Formato carta"
179
+
180
+ #: includes/class-wcpdf-settings-general.php:78
181
+ msgid "A4"
182
+ msgstr "A4"
183
+
184
+ #: includes/class-wcpdf-settings-general.php:79
185
+ msgid "Letter"
186
+ msgstr "Lettera"
187
+
188
+ #: includes/class-wcpdf-settings-general.php:86
189
+ msgid "Extended currency symbol support"
190
+ msgstr ""
191
+
192
+ #: includes/class-wcpdf-settings-general.php:92
193
+ msgid "Enable this if your currency symbol is not displaying properly"
194
+ msgstr ""
195
+
196
+ #: includes/class-wcpdf-settings-general.php:98
197
+ msgid "Shop header/logo"
198
+ msgstr "Intestazione/logo Negozio"
199
+
200
+ #: includes/class-wcpdf-settings-general.php:104
201
+ msgid "Select or upload your invoice header/logo"
202
+ msgstr "Seleziona o carica l'intestazione/logo della fattura"
203
+
204
+ #: includes/class-wcpdf-settings-general.php:105
205
+ msgid "Set image"
206
+ msgstr "Imposta immagine "
207
+
208
+ #: includes/class-wcpdf-settings-general.php:106
209
+ msgid "Remove image"
210
+ msgstr "Rimuovi immagine"
211
+
212
+ #: includes/class-wcpdf-settings-general.php:113
213
+ msgid "Shop Name"
214
+ msgstr "Nome negozio"
215
+
216
+ #: includes/class-wcpdf-settings-general.php:126
217
+ msgid "Shop Address"
218
+ msgstr "Indirizzo negozio"
219
+
220
+ #: includes/class-wcpdf-settings-general.php:141
221
+ msgid "Footer: terms & conditions, policies, etc."
222
+ msgstr "Piè di pagina: termini e condizioni, politiche, ecc"
223
+
224
+ #: includes/class-wcpdf-settings-general.php:156
225
+ msgid "Extra template fields"
226
+ msgstr "Campi modello Extra"
227
+
228
+ #: includes/class-wcpdf-settings-general.php:162
229
+ msgid "Extra field 1"
230
+ msgstr "Campo Extra 1"
231
+
232
+ #: includes/class-wcpdf-settings-general.php:170
233
+ msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
234
+ msgstr "Questa è la colonna 1 del footer nel modello <i>Modern (Premium)</ i>"
235
+
236
+ #: includes/class-wcpdf-settings-general.php:177
237
+ msgid "Extra field 2"
238
+ msgstr "Campo Extra 2"
239
+
240
+ #: includes/class-wcpdf-settings-general.php:185
241
+ msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
242
+ msgstr "Questa è la colonna 2 del footer nel modello <i>Modern (Premium)</ i>"
243
+
244
+ #: includes/class-wcpdf-settings-general.php:192
245
+ msgid "Extra field 3"
246
+ msgstr "Campo Extra 3"
247
+
248
+ #: includes/class-wcpdf-settings-general.php:200
249
+ msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
250
+ msgstr "Questa è la colonna 3 del footer nel modello <i>Modern (Premium)</ i>"
251
+
252
+ #: includes/class-wcpdf-settings.php:45 includes/class-wcpdf-settings.php:46
253
+ msgid "PDF Invoices"
254
+ msgstr "Fatture PDF"
255
+
256
+ #: includes/class-wcpdf-settings.php:58
257
+ msgid "Settings"
258
+ msgstr "Impostazioni"
259
+
260
+ #: includes/class-wcpdf-settings.php:71
261
+ msgid "Documentation"
262
+ msgstr ""
263
+
264
+ #: includes/class-wcpdf-settings.php:72
265
+ msgid "Support Forum"
266
+ msgstr ""
267
+
268
+ #: includes/class-wcpdf-settings.php:83
269
+ msgid "General"
270
+ msgstr "Generale"
271
+
272
+ #: includes/class-wcpdf-settings.php:89
273
+ msgid "Status"
274
+ msgstr "Status"
275
+
276
+ #: includes/compatibility/class-wc-core-compatibility.php:222
277
+ msgid "WooCommerce"
278
+ msgstr ""
279
+
280
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:113
281
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:176
282
+ msgid "N/A"
283
+ msgstr "N/A"
284
+
285
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:305
286
+ msgid "Payment method"
287
+ msgstr "Metodo di pagamento"
288
+
289
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:326
290
+ msgid "Shipping method"
291
+ msgstr "Metodo di spedizione"
292
+
293
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:669
294
+ #, php-format
295
+ msgid "(includes %s)"
296
+ msgstr ""
297
+
298
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:672
299
+ #, php-format
300
+ msgid "(Includes %s)"
301
+ msgstr ""
302
+
303
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:702
304
+ msgid "Subtotal"
305
+ msgstr "Totale parziale"
306
+
307
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:727
308
+ msgid "Shipping"
309
+ msgstr "Spedizione"
310
+
311
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:790
312
+ msgid "Discount"
313
+ msgstr "Sconto"
314
+
315
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:831
316
+ msgid "VAT"
317
+ msgstr "IVA"
318
+
319
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:832
320
+ msgid "Tax rate"
321
+ msgstr "IVA"
322
+
323
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:876
324
+ msgid "Total ex. VAT"
325
+ msgstr "Totale (IVA esclusa)"
326
+
327
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:879
328
+ msgid "Total"
329
+ msgstr "Totale"
330
+
331
+ #: includes/documents/abstract-wcpdf-order-document.php:674
332
+ msgid "Admin email"
333
+ msgstr ""
334
+
335
+ #: includes/documents/abstract-wcpdf-order-document.php:677
336
+ msgid "Manual email"
337
+ msgstr ""
338
+
339
+ #: includes/documents/class-wcpdf-invoice.php:85
340
+ msgid "invoice"
341
+ msgid_plural "invoices"
342
+ msgstr[0] "fattura"
343
+ msgstr[1] "fatture"
344
+
345
+ #: includes/documents/class-wcpdf-invoice.php:130
346
+ #: includes/documents/class-wcpdf-packing-slip.php:94
347
+ msgid "Enable"
348
+ msgstr ""
349
+
350
+ #: includes/documents/class-wcpdf-invoice.php:141
351
+ msgid "Attach to:"
352
+ msgstr ""
353
+
354
+ #: includes/documents/class-wcpdf-invoice.php:148
355
+ #, php-format
356
+ msgid ""
357
+ "It looks like the temp folder (<code>%s</code>) is not writable, check the "
358
+ "permissions for this folder! Without having write access to this folder, the "
359
+ "plugin will not be able to email invoices."
360
+ msgstr ""
361
+ "Sembra che la cartella temp (<code>%s</code>) non sia scrivibile, verifica "
362
+ "le autorizzazioni per questa cartella! Se il plugin non ha accesso in "
363
+ "scrittura a questa cartella, non sarà in grado di inviare le fatture via "
364
+ "email."
365
+
366
+ #: includes/documents/class-wcpdf-invoice.php:154
367
+ msgid "Display shipping address"
368
+ msgstr "Mostra l'indirizzo del destinatario"
369
+
370
+ #: includes/documents/class-wcpdf-invoice.php:160
371
+ msgid ""
372
+ "Display shipping address (in addition to the default billing address) if "
373
+ "different from billing address"
374
+ msgstr ""
375
+
376
+ #: includes/documents/class-wcpdf-invoice.php:166
377
+ #: includes/documents/class-wcpdf-packing-slip.php:117
378
+ msgid "Display email address"
379
+ msgstr "Mostra l'indirizzo email"
380
+
381
+ #: includes/documents/class-wcpdf-invoice.php:177
382
+ #: includes/documents/class-wcpdf-packing-slip.php:128
383
+ msgid "Display phone number"
384
+ msgstr "Mostra il numero di telefono"
385
+
386
+ #: includes/documents/class-wcpdf-invoice.php:188
387
+ msgid "Display invoice date"
388
+ msgstr "Mostra Data Fattura"
389
+
390
+ #: includes/documents/class-wcpdf-invoice.php:200
391
+ msgid "Display invoice number"
392
+ msgstr ""
393
+
394
+ #: includes/documents/class-wcpdf-invoice.php:212
395
+ msgid "Next invoice number (without prefix/suffix etc.)"
396
+ msgstr "Numero della prossima fattura (senza prefisso, suffisso, ecc.)"
397
+
398
+ #: includes/documents/class-wcpdf-invoice.php:218
399
+ msgid ""
400
+ "This is the number that will be used for the next document. By default, "
401
+ "numbering starts from 1 and increases for every new document. Note that if "
402
+ "you override this and set it lower than the current/highest number, this "
403
+ "could create duplicate numbers!"
404
+ msgstr ""
405
+
406
+ #: includes/documents/class-wcpdf-invoice.php:224
407
+ msgid "Number format"
408
+ msgstr ""
409
+
410
+ #: includes/documents/class-wcpdf-invoice.php:232
411
+ msgid "Prefix"
412
+ msgstr "Prefisso"
413
+
414
+ #: includes/documents/class-wcpdf-invoice.php:234
415
+ msgid ""
416
+ "to use the invoice year and/or month, use [invoice_year] or [invoice_month] "
417
+ "respectively"
418
+ msgstr ""
419
+
420
+ #: includes/documents/class-wcpdf-invoice.php:237
421
+ msgid "Suffix"
422
+ msgstr "Suffisso"
423
+
424
+ #: includes/documents/class-wcpdf-invoice.php:242
425
+ msgid "Padding"
426
+ msgstr "Numero Cifre"
427
+
428
+ #: includes/documents/class-wcpdf-invoice.php:245
429
+ msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
430
+ msgstr ""
431
+ "inserisci qui il numero di cifre - scrivi \"6\" per visualizzare 42 come "
432
+ "000042"
433
+
434
+ #: includes/documents/class-wcpdf-invoice.php:248
435
+ msgid ""
436
+ "note: if you have already created a custom invoice number format with a "
437
+ "filter, the above settings will be ignored"
438
+ msgstr ""
439
+ "nota: se hai già creato un numero di fattura personalizzato con un filtro, "
440
+ "queste impostazioni verranno ignorate."
441
+
442
+ #: includes/documents/class-wcpdf-invoice.php:254
443
+ msgid "Reset invoice number yearly"
444
+ msgstr ""
445
+
446
+ #: includes/documents/class-wcpdf-invoice.php:265
447
+ msgid "Allow My Account invoice download"
448
+ msgstr "Abilita il download della fattura dalla pagina My Account"
449
+
450
+ #: includes/documents/class-wcpdf-invoice.php:272
451
+ msgid "Only when an invoice is already created/emailed"
452
+ msgstr "Solo quando una fattura è già stata generata o spedita per email"
453
+
454
+ #: includes/documents/class-wcpdf-invoice.php:273
455
+ msgid "Only for specific order statuses (define below)"
456
+ msgstr "Solo per specifici status dell'ordine (definiti di seguito)"
457
+
458
+ #: includes/documents/class-wcpdf-invoice.php:274
459
+ msgid "Always"
460
+ msgstr "Sempre"
461
+
462
+ #: includes/documents/class-wcpdf-invoice.php:275
463
+ msgid "Never"
464
+ msgstr ""
465
+
466
+ #: includes/documents/class-wcpdf-invoice.php:290
467
+ msgid "Enable invoice number column in the orders list"
468
+ msgstr "Abilita la colonna del numero fattura nella lista ordini"
469
+
470
+ #: includes/documents/class-wcpdf-invoice.php:301
471
+ msgid "Disable for free products"
472
+ msgstr "Disabilita per i prodotti gratuiti"
473
+
474
+ #: includes/documents/class-wcpdf-invoice.php:307
475
+ msgid ""
476
+ "Disable automatic creation/attachment when only free products are ordered"
477
+ msgstr ""
478
+
479
+ #: includes/documents/class-wcpdf-invoice.php:321
480
+ msgid "Invoice numbers are created by a third-party extension."
481
+ msgstr ""
482
+
483
+ #: includes/documents/class-wcpdf-invoice.php:323
484
+ #, php-format
485
+ msgid "Configure it <a href=\"%s\">here</a>."
486
+ msgstr ""
487
+
488
+ #: includes/documents/class-wcpdf-packing-slip.php:32
489
+ #: includes/documents/class-wcpdf-packing-slip.php:41
490
+ #: includes/legacy/class-wcpdf-legacy-functions.php:25
491
+ #: templates/Simple/packing-slip.php:10 templates/Simple/packing-slip.php:22
492
+ msgid "Packing Slip"
493
+ msgstr "Documento di Trasporto"
494
+
495
+ #: includes/documents/class-wcpdf-packing-slip.php:53
496
+ msgid "packing-slip"
497
+ msgid_plural "packing-slips"
498
+ msgstr[0] "DDT"
499
+ msgstr[1] "DDT"
500
+
501
+ #: includes/documents/class-wcpdf-packing-slip.php:105
502
+ msgid "Display billing address"
503
+ msgstr "Mostra indirizzo di fatturazione"
504
+
505
+ #: includes/documents/class-wcpdf-packing-slip.php:111
506
+ msgid ""
507
+ "Display billing address (in addition to the default shipping address) if "
508
+ "different from shipping address"
509
+ msgstr ""
510
+
511
+ #: includes/legacy/class-wcpdf-legacy-document.php:32
512
+ msgid "Legacy Document"
513
+ msgstr ""
514
+
515
+ #: includes/views/wcpdf-extensions.php:15
516
+ msgid "Check out these premium extensions!"
517
+ msgstr "Prova queste estensioni Premium"
518
+
519
+ #: includes/views/wcpdf-extensions.php:16
520
+ msgid "click items to read more"
521
+ msgstr "clicca sugli elementi per saperne di più"
522
+
523
+ #: includes/views/wcpdf-extensions.php:21
524
+ msgid ""
525
+ "Premium PDF Invoice bundle: Everything you need for a perfect invoicing "
526
+ "system"
527
+ msgstr ""
528
+
529
+ #: includes/views/wcpdf-extensions.php:23
530
+ msgid ""
531
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the all our "
532
+ "premium extensions:"
533
+ msgstr ""
534
+
535
+ #: includes/views/wcpdf-extensions.php:24
536
+ msgid "Professional features:"
537
+ msgstr ""
538
+
539
+ #: includes/views/wcpdf-extensions.php:26
540
+ #: includes/views/wcpdf-extensions.php:56
541
+ msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
542
+ msgstr ""
543
+ "Stampa/scarica/invia per email <b>Note di credito p Fatture pro-forma in "
544
+ "PDF</b>"
545
+
546
+ #: includes/views/wcpdf-extensions.php:27
547
+ #: includes/views/wcpdf-extensions.php:57
548
+ msgid ""
549
+ "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
550
+ "packing slips, for example to a drop-shipper or a supplier."
551
+ msgstr ""
552
+ "Invia una <b>email di notifica</> separata con (o senza) Fattura o DDT in "
553
+ "PDF, per esempio a uno spedizioniere o un fornitore."
554
+
555
+ #: includes/views/wcpdf-extensions.php:28
556
+ #: includes/views/wcpdf-extensions.php:58
557
+ msgid ""
558
+ "Attach <b>up to 3 static files</b> (for example a terms & conditions "
559
+ "document) to the WooCommerce emails of your choice."
560
+ msgstr ""
561
+ "Allega <b>fino a 3 file</b> a tua scelta (per esempio il documento dell "
562
+ "Condizioni Generali) alle email di WooCommerce."
563
+
564
+ #: includes/views/wcpdf-extensions.php:29
565
+ #: includes/views/wcpdf-extensions.php:59
566
+ msgid ""
567
+ "Use <b>separate numbering systems</b> and/or format for proforma invoices "
568
+ "and credit notes or utilize the main invoice numbering system"
569
+ msgstr ""
570
+ "Usa un <b>sistema di numerazione separato</b> e/o formato per le fatture pro-"
571
+ "forma e le note di credito, oppure usa il sistema di numerazione principale."
572
+
573
+ #: includes/views/wcpdf-extensions.php:30
574
+ #: includes/views/wcpdf-extensions.php:60
575
+ msgid ""
576
+ "<b>Customize</b> the <b>shipping & billing address</b> format to include "
577
+ "additional custom fields, font sizes etc. without the need to create a "
578
+ "custom template."
579
+ msgstr ""
580
+ "<b>Personalizza l'indirizzo di fatturazione e di spedizione</b> per "
581
+ "includere campi aggiuntivi, dimensione del font etc. senza dover create un "
582
+ "template personalizzato."
583
+
584
+ #: includes/views/wcpdf-extensions.php:31
585
+ #: includes/views/wcpdf-extensions.php:61
586
+ msgid "Use the plugin in multilingual <b>WPML</b> setups"
587
+ msgstr "Usa il plugin con <b>WPML</b>"
588
+
589
+ #: includes/views/wcpdf-extensions.php:33
590
+ #: includes/views/wcpdf-extensions.php:131
591
+ msgid "Advanced, customizable templates"
592
+ msgstr ""
593
+
594
+ #: includes/views/wcpdf-extensions.php:35
595
+ #: includes/views/wcpdf-extensions.php:134
596
+ msgid ""
597
+ "Completely customize the invoice contents (prices, taxes, thumbnails) to "
598
+ "your needs with a drag & drop customizer"
599
+ msgstr ""
600
+
601
+ #: includes/views/wcpdf-extensions.php:36
602
+ #: includes/views/wcpdf-extensions.php:135
603
+ msgid "Two extra stylish premade templates (Modern & Business)"
604
+ msgstr ""
605
+
606
+ #: includes/views/wcpdf-extensions.php:38
607
+ msgid "Upload automatically to dropbox"
608
+ msgstr ""
609
+
610
+ #: includes/views/wcpdf-extensions.php:40
611
+ #: includes/views/wcpdf-extensions.php:97
612
+ msgid ""
613
+ "This extension conveniently uploads all the invoices (and other pdf "
614
+ "documents from the professional extension) that are emailed to your "
615
+ "customers to Dropbox. The best way to keep your invoice administration up to "
616
+ "date!"
617
+ msgstr ""
618
+ "Questa estensione carica facilmente su Dropbox tutte le fatture (e gli altri "
619
+ "documenti pdf della estensione professional) che vengono inviati via email "
620
+ "ai vostri clienti. Il modo migliore per tenere aggiornata la gestione delle "
621
+ "fatture!"
622
+
623
+ #: includes/views/wcpdf-extensions.php:43
624
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Bundle"
625
+ msgstr ""
626
+
627
+ #: includes/views/wcpdf-extensions.php:52
628
+ msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
629
+ msgstr "Go Pro: Fatture pro-forma, note di credito (= rimborsi) e molto altro!"
630
+
631
+ #: includes/views/wcpdf-extensions.php:54
632
+ msgid ""
633
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the following "
634
+ "features:"
635
+ msgstr "Aggiungi funzionalità a WooCommerce PDF Invoices & Packing Slips:"
636
+
637
+ #: includes/views/wcpdf-extensions.php:63
638
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
639
+ msgstr "Acquista WooCommerce PDF Invoices & Packing Slips Professional!"
640
+
641
+ #: includes/views/wcpdf-extensions.php:71
642
+ msgid "Automatically send payment reminders to your customers"
643
+ msgstr ""
644
+
645
+ #: includes/views/wcpdf-extensions.php:73
646
+ msgid "WooCommerce Smart Reminder emails"
647
+ msgstr ""
648
+
649
+ #: includes/views/wcpdf-extensions.php:75
650
+ msgid "<b>Completely automatic</b> scheduled emails"
651
+ msgstr ""
652
+
653
+ #: includes/views/wcpdf-extensions.php:76
654
+ msgid ""
655
+ "<b>Rich text editor</b> for the email text, including placeholders for data "
656
+ "from the order (name, order total, etc)"
657
+ msgstr ""
658
+
659
+ #: includes/views/wcpdf-extensions.php:77
660
+ msgid ""
661
+ "Configure the exact requirements for sending an email (time after order, "
662
+ "order status, payment method)"
663
+ msgstr ""
664
+
665
+ #: includes/views/wcpdf-extensions.php:78
666
+ msgid ""
667
+ "Fully <b>WPML Compatible</b> – emails will be automatically sent in the "
668
+ "order language."
669
+ msgstr ""
670
+
671
+ #: includes/views/wcpdf-extensions.php:79
672
+ msgid ""
673
+ "<b>Super versatile!</b> Can be used for any kind of reminder email (review "
674
+ "reminders, repeat purchases)"
675
+ msgstr ""
676
+
677
+ #: includes/views/wcpdf-extensions.php:80
678
+ msgid "Integrates seamlessly with the PDF Invoices & Packing Slips plugin"
679
+ msgstr ""
680
+
681
+ #: includes/views/wcpdf-extensions.php:82
682
+ msgid "Get WooCommerce Smart Reminder Emails"
683
+ msgstr ""
684
+
685
+ #: includes/views/wcpdf-extensions.php:91
686
+ msgid "Upload all invoices automatically to your dropbox"
687
+ msgstr "Carica tutte le fatture in automatico nel tuo Dropbox"
688
+
689
+ #: includes/views/wcpdf-extensions.php:98
690
+ msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
691
+ msgstr "Acquista WooCommerce PDF Invoices & Packing Slips to dropbox"
692
+
693
+ #: includes/views/wcpdf-extensions.php:110
694
+ msgid ""
695
+ "Automatically send new orders or packing slips to your printer, as soon as "
696
+ "the customer orders!"
697
+ msgstr ""
698
+ "Invia automaticamente i nuovi ordini o documenti di trasporto alla tua "
699
+ "stampante, non appena il cliente ordina!"
700
+
701
+ #: includes/views/wcpdf-extensions.php:116
702
+ msgid ""
703
+ "Check out the WooCommerce Automatic Order Printing extension from our "
704
+ "partners at Simba Hosting"
705
+ msgstr ""
706
+ "Leggi di più sull'estensione WooCommerce Automatic Order Printing sul sito "
707
+ "del nostro partner Simba Hosting"
708
+
709
+ #: includes/views/wcpdf-extensions.php:117
710
+ msgid "WooCommerce Automatic Order Printing"
711
+ msgstr ""
712
+
713
+ #: includes/views/wcpdf-extensions.php:136
714
+ #, php-format
715
+ msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
716
+ msgstr "Visualizza i modelli Premium PDF Invoice & Packing Slips su %s."
717
+
718
+ #: includes/views/wcpdf-extensions.php:137
719
+ #, php-format
720
+ msgid "For custom templates, contact us at %s."
721
+ msgstr "Contattaci via %s per modelli personalizzati."
722
+
723
+ #: includes/views/wcpdf-extensions.php:146
724
+ msgid "Hide this message"
725
+ msgstr ""
726
+
727
+ #: includes/views/wcpdf-settings-page.php:8
728
+ msgid "WooCommerce PDF Invoices"
729
+ msgstr "WooCommerce Fatture PDF"
730
+
731
+ #: templates/Simple/invoice.php:30 templates/Simple/packing-slip.php:41
732
+ msgid "Billing Address:"
733
+ msgstr "Indirizzo di fatturazione:"
734
+
735
+ #: templates/Simple/invoice.php:41
736
+ msgid "Ship To:"
737
+ msgstr "Spedire a:"
738
+
739
+ #: templates/Simple/invoice.php:50
740
+ msgid "Invoice Number:"
741
+ msgstr "Fattura N.:"
742
+
743
+ #: templates/Simple/invoice.php:61 templates/Simple/packing-slip.php:49
744
+ msgid "Order Number:"
745
+ msgstr "Ordine N.:"
746
+
747
+ #: templates/Simple/invoice.php:65 templates/Simple/packing-slip.php:53
748
+ msgid "Order Date:"
749
+ msgstr "Data Ordine:"
750
+
751
+ #: templates/Simple/invoice.php:69
752
+ msgid "Payment Method:"
753
+ msgstr "Metodo di pagamento:"
754
+
755
+ #: templates/Simple/invoice.php:83 templates/Simple/packing-slip.php:71
756
+ msgid "Product"
757
+ msgstr "Prodotto"
758
+
759
+ #: templates/Simple/invoice.php:84 templates/Simple/packing-slip.php:72
760
+ msgid "Quantity"
761
+ msgstr "Quantità"
762
+
763
+ #: templates/Simple/invoice.php:85
764
+ msgid "Price"
765
+ msgstr "Prezzo"
766
+
767
+ #: templates/Simple/invoice.php:92 templates/Simple/packing-slip.php:79
768
+ msgid "Description"
769
+ msgstr "Descrizione"
770
+
771
+ #: templates/Simple/invoice.php:97 templates/Simple/packing-slip.php:84
772
+ msgid "SKU"
773
+ msgstr "Codice prod."
774
+
775
+ #: templates/Simple/invoice.php:98 templates/Simple/packing-slip.php:85
776
+ msgid "SKU:"
777
+ msgstr "Codice prod.:"
778
+
779
+ #: templates/Simple/invoice.php:99 templates/Simple/packing-slip.php:86
780
+ msgid "Weight:"
781
+ msgstr "Peso:"
782
+
783
+ #: templates/Simple/invoice.php:114 templates/Simple/packing-slip.php:101
784
+ msgid "Customer Notes"
785
+ msgstr "Note del Cliente"
786
+
787
+ #: templates/Simple/packing-slip.php:30
788
+ msgid "Shipping Address:"
789
+ msgstr "Indirizzo di spedizione:"
790
+
791
+ #: templates/Simple/packing-slip.php:57
792
+ msgid "Shipping Method:"
793
+ msgstr "Metodo di spedizione:"
794
+
795
+ #: woocommerce-pdf-invoices-packingslips.php:231
796
+ #, php-format
797
+ msgid ""
798
+ "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
799
+ "installed & activated!"
800
+ msgstr ""
801
+ "WooCommerce PDF Invoices & Packing Slips richiede %sWooCommerce%s per essere "
802
+ "installato e attivato!"
803
+
804
+ #: woocommerce-pdf-invoices-packingslips.php:243
805
+ msgid ""
806
+ "WooCommerce PDF Invoices & Packing Slips requires PHP 5.3 or higher (5.6 or "
807
+ "higher recommended)."
808
+ msgstr ""
809
+
810
+ #: woocommerce-pdf-invoices-packingslips.php:244
811
+ msgid "How to update your PHP version"
812
+ msgstr ""
813
+
814
+ #~ msgid "Attach invoice to:"
815
+ #~ msgstr "Allega la fattura a:"
816
+
817
+ #~ msgid ""
818
+ #~ "Display shipping address on invoice (in addition to the default billing "
819
+ #~ "address) if different from billing address"
820
+ #~ msgstr ""
821
+ #~ "Mostra l'indirizzo del destinatario sulla fattura (oltre all'indirizzo di "
822
+ #~ "fatturazione) se è differente dall'indirizzo di fatturazione"
823
+
824
+ #~ msgid ""
825
+ #~ "This is the number that will be used on the next invoice that is created. "
826
+ #~ "By default, numbering starts from the WooCommerce Order Number of the "
827
+ #~ "first invoice that is created and increases for every new invoice. Note "
828
+ #~ "that if you override this and set it lower than the highest (PDF) invoice "
829
+ #~ "number, this could create double invoice numbers!"
830
+ #~ msgstr ""
831
+ #~ "Questo è il numero che verrà utilizzato nella prossima fattura creata. La "
832
+ #~ "numerazione di default inizia dal numero d'ordine WooCommerce della prima "
833
+ #~ "fattura creata e si incrementa con ogni nuova fattura. Attenzione: se qui "
834
+ #~ "viene impostato un numero più basso del numero di fattura più elevato, "
835
+ #~ "questo può portare alla creazione di numeri di fattura doppi!"
836
+
837
+ #~ msgid "Invoice number format"
838
+ #~ msgstr "Formato numero fattura"
839
+
840
+ #~ msgid ""
841
+ #~ "Disable automatic creation/attachment of invoices when only free products "
842
+ #~ "are ordered"
843
+ #~ msgstr ""
844
+ #~ "Disabilita la creazione automatica della fattura quando nell'ordine sono "
845
+ #~ "presenti soltanto prodotti gratuiti"
846
+
847
+ #~ msgid ""
848
+ #~ "Display billing address on packing slip (in addition to the default "
849
+ #~ "shipping address) if different from shipping address"
850
+ #~ msgstr ""
851
+ #~ "Mostra indirizzo di fatturazione sul DDT (oltre all'indirizzo di "
852
+ #~ "spedizione) se è differente dall'indirizzo di spedizione"
853
+
854
+ #~ msgid "Template"
855
+ #~ msgstr "Modello"
856
+
857
+ #~ msgid "Admin New Order email"
858
+ #~ msgstr "Email Amministrazione Nuovo Ordine"
859
+
860
+ #~ msgid "Customer Processing Order email"
861
+ #~ msgstr "Email Cliente Ordine in Lavorazione"
862
+
863
+ #~ msgid "Customer Completed Order email"
864
+ #~ msgstr "Email Cliente Ordine Completato"
865
+
866
+ #~ msgid "Customer Invoice email"
867
+ #~ msgstr "Email Cliente Fattura"
868
+
869
+ #~ msgid "Interface"
870
+ #~ msgstr "Interfaccia"
871
+
872
+ #~ msgid "PDF Template settings"
873
+ #~ msgstr "Impostazioni modello PDF "
874
+
875
+ #~ msgid "Display built-in sequential invoice number"
876
+ #~ msgstr "Mostra numero fattura sequenziale generato automaticamente"
877
+
878
+ #~ msgid ""
879
+ #~ "to use the order year and/or month, use [order_year] or [order_month] "
880
+ #~ "respectively"
881
+ #~ msgstr ""
882
+ #~ "per utilizzare l'anno o il mese dell'ordine, inserisci rispettivamente "
883
+ #~ "[order_year] o [order_month]"
884
+
885
+ #~ msgid "Use old tmp folder"
886
+ #~ msgstr "Usa la vecchia cartella 'tmp'"
887
+
888
+ #~ msgid ""
889
+ #~ "Before version 1.5 of PDF Invoices, temporary files were stored in the "
890
+ #~ "plugin folder. This setting is only intended for backwards compatibility, "
891
+ #~ "not recommended on new installs!"
892
+ #~ msgstr ""
893
+ #~ "Dalla versione 1.5 di PDF Invoices, i file temporanei sono registrati "
894
+ #~ "nella cartella del plugin. Questa impostazione è intesa solo per "
895
+ #~ "compatibilità con le versioni precedenti. È sconsigliata per le nuove "
896
+ #~ "installazioni."
897
+
898
+ #~ msgid "PDF Packing Slips"
899
+ #~ msgstr "PDF Documenti di Trasporto"
900
+
901
+ #~ msgid "PDF Invoice"
902
+ #~ msgstr "Fattura PDF"
903
+
904
+ #~ msgid "PDF Packing Slip"
905
+ #~ msgstr "PDF Documento di Trasporto"
906
+
907
+ #~ msgid "PDF Invoice Number (unformatted!)"
908
+ #~ msgstr "Numero Fattura PDF (non formattato)"
909
+
910
+ #~ msgid "More advanced templates"
911
+ #~ msgstr "Molti altri modelli avanzati"
912
+
913
+ #~ msgid "Stylish modern invoices & packing slips with product thumbnails!"
914
+ #~ msgstr ""
915
+ #~ "Fatture e Documenti di trasporto eleganti e moderni con le miniature dei "
916
+ #~ "prodotti!"
917
+
918
+ #~ msgid "More tax details on the invoices!"
919
+ #~ msgstr "Più dettagli sulle imposte nelle fatture!"
920
+
921
+ #~ msgid "Number to display on invoice"
922
+ #~ msgstr "Numero da visualizzare sulla fattura"
923
+
924
+ #~ msgid ""
925
+ #~ "If you are using the WooCommerce Sequential Order Numbers plugin, select "
926
+ #~ "the WooCommerce order number"
927
+ #~ msgstr ""
928
+ #~ "Se stai utilizzando il plugin WooCommerce Sequential Order Numbers, "
929
+ #~ "seleziona il numero ordine WooCommerce"
930
+
931
+ #~ msgid "Order date"
932
+ #~ msgstr "Data Ordine"
933
+
934
+ #~ msgid "PDF invoice"
935
+ #~ msgstr "PDF Fattura"
936
+
937
+ #~ msgid "..."
938
+ #~ msgstr "..."
939
+
940
+ #~ msgid "Email invoice (attach to order confirmation or invoice email)"
941
+ #~ msgstr "Email Fattura (allegare alla conferma dell'ordine o e-mail fattura)"
languages/woocommerce-pdf-invoices-packing-slips-ja.mo ADDED
Binary file
languages/woocommerce-pdf-invoices-packing-slips-ja.po ADDED
@@ -0,0 +1,868 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
+ "POT-Creation-Date: 2017-06-09 16:38+0200\n"
5
+ "PO-Revision-Date: 2017-06-09 16:38+0200\n"
6
+ "Last-Translator: Shohei Tanaka <shohei.tanaka@artisanworkshop.biz>\n"
7
+ "Language-Team: Shohei Tanaka <shohei.tanaka@artisanworkshop.biz>\n"
8
+ "Language: ja\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.12\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: includes/class-wcpdf-admin.php:72 includes/class-wcpdf-admin.php:174
20
+ msgid "Invoice Number"
21
+ msgstr "請求書番号"
22
+
23
+ #: includes/class-wcpdf-admin.php:105
24
+ msgid "Create PDF"
25
+ msgstr "PDF書類の作成"
26
+
27
+ #: includes/class-wcpdf-admin.php:115
28
+ msgid "PDF Invoice data"
29
+ msgstr ""
30
+
31
+ #: includes/class-wcpdf-admin.php:166
32
+ #: includes/documents/class-wcpdf-invoice.php:32
33
+ #: includes/documents/class-wcpdf-invoice.php:41
34
+ #: includes/legacy/class-wcpdf-legacy-functions.php:22
35
+ #: templates/Simple/invoice.php:10 templates/Simple/invoice.php:22
36
+ msgid "Invoice"
37
+ msgstr "請求書"
38
+
39
+ #: includes/class-wcpdf-admin.php:183 includes/class-wcpdf-admin.php:204
40
+ #: templates/Simple/invoice.php:56
41
+ msgid "Invoice Date:"
42
+ msgstr "請求日:"
43
+
44
+ #: includes/class-wcpdf-admin.php:189
45
+ msgid "Set invoice number & date"
46
+ msgstr ""
47
+
48
+ #: includes/class-wcpdf-admin.php:196
49
+ msgid "Invoice Number (unformatted!)"
50
+ msgstr ""
51
+
52
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
53
+ msgid "h"
54
+ msgstr ""
55
+
56
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
57
+ msgid "m"
58
+ msgstr ""
59
+
60
+ #: includes/class-wcpdf-frontend.php:55
61
+ msgid "Download invoice (PDF)"
62
+ msgstr "ダウンロード請求書(PDF)"
63
+
64
+ #: includes/class-wcpdf-main.php:132 includes/class-wcpdf-main.php:153
65
+ #: includes/class-wcpdf-main.php:160 includes/class-wcpdf-main.php:166
66
+ msgid "You do not have sufficient permissions to access this page."
67
+ msgstr "このページにアクセスするための十分な権限がありません。"
68
+
69
+ #: includes/class-wcpdf-main.php:141
70
+ msgid "Some of the export parameters are missing."
71
+ msgstr ""
72
+
73
+ #: includes/class-wcpdf-settings-callbacks.php:27
74
+ msgid ""
75
+ "<b>Warning!</b> The settings below are meant for debugging/development only. "
76
+ "Do not use them on a live website!"
77
+ msgstr ""
78
+
79
+ #: includes/class-wcpdf-settings-callbacks.php:36
80
+ msgid ""
81
+ "These are used for the (optional) footer columns in the <em>Modern "
82
+ "(Premium)</em> template, but can also be used for other elements in your "
83
+ "custom template"
84
+ msgstr ""
85
+ "これらは、フッター項目(オプション)の<em>Modern (Premium)</em>テンプレート "
86
+ "で使いますが、カスタムテンプレート内の他の要素のために使用することができま"
87
+ "す。"
88
+
89
+ #: includes/class-wcpdf-settings-callbacks.php:301
90
+ msgid "Image resolution"
91
+ msgstr ""
92
+
93
+ #: includes/class-wcpdf-settings-callbacks.php:325
94
+ msgid "Save"
95
+ msgstr ""
96
+
97
+ #: includes/class-wcpdf-settings-debug.php:34
98
+ msgid "Debug settings"
99
+ msgstr ""
100
+
101
+ #: includes/class-wcpdf-settings-debug.php:40
102
+ msgid "Legacy mode"
103
+ msgstr ""
104
+
105
+ #: includes/class-wcpdf-settings-debug.php:46
106
+ msgid ""
107
+ "Legacy mode ensures compatibility with templates and filters from previous "
108
+ "versions."
109
+ msgstr ""
110
+
111
+ #: includes/class-wcpdf-settings-debug.php:52
112
+ msgid "Enable debug output"
113
+ msgstr ""
114
+
115
+ #: includes/class-wcpdf-settings-debug.php:58
116
+ msgid ""
117
+ "Enable this option to output plugin errors if you're getting a blank page or "
118
+ "other PDF generation issues"
119
+ msgstr ""
120
+
121
+ #: includes/class-wcpdf-settings-debug.php:64
122
+ msgid "Output to HTML"
123
+ msgstr ""
124
+
125
+ #: includes/class-wcpdf-settings-debug.php:70
126
+ msgid ""
127
+ "Send the template output as HTML to the browser instead of creating a PDF."
128
+ msgstr ""
129
+
130
+ #: includes/class-wcpdf-settings-documents.php:29
131
+ #: includes/class-wcpdf-settings.php:84
132
+ msgid "Documents"
133
+ msgstr ""
134
+
135
+ #: includes/class-wcpdf-settings-documents.php:45
136
+ msgid ""
137
+ "All available documents are listed below. Click on a document to configure "
138
+ "it."
139
+ msgstr ""
140
+
141
+ #: includes/class-wcpdf-settings-general.php:37
142
+ msgid "General settings"
143
+ msgstr "一般設定"
144
+
145
+ #: includes/class-wcpdf-settings-general.php:43
146
+ msgid "How do you want to view the PDF?"
147
+ msgstr "PDFファイルをどのようにして見ますか?"
148
+
149
+ #: includes/class-wcpdf-settings-general.php:50
150
+ msgid "Download the PDF"
151
+ msgstr " PDFをダウンロード"
152
+
153
+ #: includes/class-wcpdf-settings-general.php:51
154
+ msgid "Open the PDF in a new browser tab/window"
155
+ msgstr "ブラウザーの新しいタブかウインドウを開く"
156
+
157
+ #: includes/class-wcpdf-settings-general.php:58
158
+ msgid "Choose a template"
159
+ msgstr "テンプレートを選ぶ"
160
+
161
+ #: includes/class-wcpdf-settings-general.php:65
162
+ #, php-format
163
+ msgid ""
164
+ "Want to use your own template? Copy all the files from <code>%s</code> to "
165
+ "your (child) theme in <code>%s</code> to customize them"
166
+ msgstr ""
167
+
168
+ #: includes/class-wcpdf-settings-general.php:71
169
+ msgid "Paper size"
170
+ msgstr "印刷用紙サイズ"
171
+
172
+ #: includes/class-wcpdf-settings-general.php:78
173
+ msgid "A4"
174
+ msgstr "A4"
175
+
176
+ #: includes/class-wcpdf-settings-general.php:79
177
+ msgid "Letter"
178
+ msgstr "レターサイズ"
179
+
180
+ #: includes/class-wcpdf-settings-general.php:86
181
+ msgid "Extended currency symbol support"
182
+ msgstr ""
183
+
184
+ #: includes/class-wcpdf-settings-general.php:92
185
+ msgid "Enable this if your currency symbol is not displaying properly"
186
+ msgstr ""
187
+
188
+ #: includes/class-wcpdf-settings-general.php:98
189
+ msgid "Shop header/logo"
190
+ msgstr "店舗ヘッダー/ロゴ"
191
+
192
+ #: includes/class-wcpdf-settings-general.php:104
193
+ msgid "Select or upload your invoice header/logo"
194
+ msgstr ""
195
+ "請求書のヘッダー/ロゴに使用するイメージを選ぶかアップロードしてください"
196
+
197
+ #: includes/class-wcpdf-settings-general.php:105
198
+ msgid "Set image"
199
+ msgstr "イメージ設定"
200
+
201
+ #: includes/class-wcpdf-settings-general.php:106
202
+ msgid "Remove image"
203
+ msgstr "イメージ削除"
204
+
205
+ #: includes/class-wcpdf-settings-general.php:113
206
+ msgid "Shop Name"
207
+ msgstr "店舗名"
208
+
209
+ #: includes/class-wcpdf-settings-general.php:126
210
+ msgid "Shop Address"
211
+ msgstr "店舗住所"
212
+
213
+ #: includes/class-wcpdf-settings-general.php:141
214
+ msgid "Footer: terms & conditions, policies, etc."
215
+ msgstr "フッター : 規約、方針など"
216
+
217
+ #: includes/class-wcpdf-settings-general.php:156
218
+ msgid "Extra template fields"
219
+ msgstr "追加項目"
220
+
221
+ #: includes/class-wcpdf-settings-general.php:162
222
+ msgid "Extra field 1"
223
+ msgstr "追加項目1"
224
+
225
+ #: includes/class-wcpdf-settings-general.php:170
226
+ msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
227
+ msgstr ""
228
+ "これはフッターカラム1の<i>Modern (Premium)</i> テンプレートで使います。"
229
+
230
+ #: includes/class-wcpdf-settings-general.php:177
231
+ msgid "Extra field 2"
232
+ msgstr "追加項目2"
233
+
234
+ #: includes/class-wcpdf-settings-general.php:185
235
+ msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
236
+ msgstr ""
237
+ "これはフッターカラム2の<i>Modern (Premium)</i> テンプレートで使います。"
238
+
239
+ #: includes/class-wcpdf-settings-general.php:192
240
+ msgid "Extra field 3"
241
+ msgstr "追加項目3"
242
+
243
+ #: includes/class-wcpdf-settings-general.php:200
244
+ msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
245
+ msgstr ""
246
+ "これはフッターカラム3の<i>Modern (Premium)</i> テンプレートで使います。"
247
+
248
+ #: includes/class-wcpdf-settings.php:45 includes/class-wcpdf-settings.php:46
249
+ msgid "PDF Invoices"
250
+ msgstr "PDF請求書"
251
+
252
+ #: includes/class-wcpdf-settings.php:58
253
+ msgid "Settings"
254
+ msgstr "設定"
255
+
256
+ #: includes/class-wcpdf-settings.php:71
257
+ msgid "Documentation"
258
+ msgstr ""
259
+
260
+ #: includes/class-wcpdf-settings.php:72
261
+ msgid "Support Forum"
262
+ msgstr ""
263
+
264
+ #: includes/class-wcpdf-settings.php:83
265
+ msgid "General"
266
+ msgstr "一般設定"
267
+
268
+ #: includes/class-wcpdf-settings.php:89
269
+ msgid "Status"
270
+ msgstr "状況"
271
+
272
+ #: includes/compatibility/class-wc-core-compatibility.php:222
273
+ msgid "WooCommerce"
274
+ msgstr ""
275
+
276
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:113
277
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:176
278
+ msgid "N/A"
279
+ msgstr "N/A"
280
+
281
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:305
282
+ msgid "Payment method"
283
+ msgstr "支払い方法"
284
+
285
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:326
286
+ msgid "Shipping method"
287
+ msgstr "発送方法"
288
+
289
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:669
290
+ #, php-format
291
+ msgid "(includes %s)"
292
+ msgstr ""
293
+
294
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:672
295
+ #, php-format
296
+ msgid "(Includes %s)"
297
+ msgstr ""
298
+
299
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:702
300
+ msgid "Subtotal"
301
+ msgstr "小計"
302
+
303
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:727
304
+ msgid "Shipping"
305
+ msgstr "配送"
306
+
307
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:790
308
+ msgid "Discount"
309
+ msgstr "値引き"
310
+
311
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:831
312
+ msgid "VAT"
313
+ msgstr ""
314
+
315
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:832
316
+ msgid "Tax rate"
317
+ msgstr ""
318
+
319
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:876
320
+ msgid "Total ex. VAT"
321
+ msgstr ""
322
+
323
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:879
324
+ msgid "Total"
325
+ msgstr "合計"
326
+
327
+ #: includes/documents/abstract-wcpdf-order-document.php:674
328
+ msgid "Admin email"
329
+ msgstr ""
330
+
331
+ #: includes/documents/abstract-wcpdf-order-document.php:677
332
+ msgid "Manual email"
333
+ msgstr ""
334
+
335
+ # This is a filename (prefix). do not use spaces or special characters!
336
+ #: includes/documents/class-wcpdf-invoice.php:85
337
+ msgid "invoice"
338
+ msgid_plural "invoices"
339
+ msgstr[0] "請求書"
340
+ msgstr[1] "請求書"
341
+
342
+ #: includes/documents/class-wcpdf-invoice.php:130
343
+ #: includes/documents/class-wcpdf-packing-slip.php:94
344
+ msgid "Enable"
345
+ msgstr ""
346
+
347
+ #: includes/documents/class-wcpdf-invoice.php:141
348
+ msgid "Attach to:"
349
+ msgstr ""
350
+
351
+ #: includes/documents/class-wcpdf-invoice.php:148
352
+ #, php-format
353
+ msgid ""
354
+ "It looks like the temp folder (<code>%s</code>) is not writable, check the "
355
+ "permissions for this folder! Without having write access to this folder, the "
356
+ "plugin will not be able to email invoices."
357
+ msgstr ""
358
+ " (<code>%s</code>) のフォルダが書き込み不可になっているようです。フォルダーの"
359
+ "パーミッションを確認して下さい。このフォルダに書き込みが出来ないと、このプラ"
360
+ "グインは請求書をメールで送ることが出来ません。"
361
+
362
+ #: includes/documents/class-wcpdf-invoice.php:154
363
+ msgid "Display shipping address"
364
+ msgstr ""
365
+
366
+ #: includes/documents/class-wcpdf-invoice.php:160
367
+ msgid ""
368
+ "Display shipping address (in addition to the default billing address) if "
369
+ "different from billing address"
370
+ msgstr ""
371
+
372
+ #: includes/documents/class-wcpdf-invoice.php:166
373
+ #: includes/documents/class-wcpdf-packing-slip.php:117
374
+ msgid "Display email address"
375
+ msgstr ""
376
+
377
+ #: includes/documents/class-wcpdf-invoice.php:177
378
+ #: includes/documents/class-wcpdf-packing-slip.php:128
379
+ msgid "Display phone number"
380
+ msgstr ""
381
+
382
+ #: includes/documents/class-wcpdf-invoice.php:188
383
+ msgid "Display invoice date"
384
+ msgstr "請求日を表示"
385
+
386
+ #: includes/documents/class-wcpdf-invoice.php:200
387
+ msgid "Display invoice number"
388
+ msgstr ""
389
+
390
+ #: includes/documents/class-wcpdf-invoice.php:212
391
+ msgid "Next invoice number (without prefix/suffix etc.)"
392
+ msgstr "次の請求書番号(接頭辞や接尾辞など無し)"
393
+
394
+ #: includes/documents/class-wcpdf-invoice.php:218
395
+ msgid ""
396
+ "This is the number that will be used for the next document. By default, "
397
+ "numbering starts from 1 and increases for every new document. Note that if "
398
+ "you override this and set it lower than the current/highest number, this "
399
+ "could create duplicate numbers!"
400
+ msgstr ""
401
+
402
+ #: includes/documents/class-wcpdf-invoice.php:224
403
+ msgid "Number format"
404
+ msgstr ""
405
+
406
+ #: includes/documents/class-wcpdf-invoice.php:232
407
+ msgid "Prefix"
408
+ msgstr "接頭辞"
409
+
410
+ #: includes/documents/class-wcpdf-invoice.php:234
411
+ msgid ""
412
+ "to use the invoice year and/or month, use [invoice_year] or [invoice_month] "
413
+ "respectively"
414
+ msgstr ""
415
+
416
+ #: includes/documents/class-wcpdf-invoice.php:237
417
+ msgid "Suffix"
418
+ msgstr "接尾辞"
419
+
420
+ #: includes/documents/class-wcpdf-invoice.php:242
421
+ msgid "Padding"
422
+ msgstr "桁数"
423
+
424
+ #: includes/documents/class-wcpdf-invoice.php:245
425
+ msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
426
+ msgstr "ここには桁数を入れてください。42の場合は000042と表示されます。"
427
+
428
+ #: includes/documents/class-wcpdf-invoice.php:248
429
+ msgid ""
430
+ "note: if you have already created a custom invoice number format with a "
431
+ "filter, the above settings will be ignored"
432
+ msgstr ""
433
+ "注意 : すでにフィルターを使用してカスタム請求書番号の書式を作成している場合、"
434
+ "上記の設定は無視されます。"
435
+
436
+ #: includes/documents/class-wcpdf-invoice.php:254
437
+ msgid "Reset invoice number yearly"
438
+ msgstr ""
439
+
440
+ #: includes/documents/class-wcpdf-invoice.php:265
441
+ msgid "Allow My Account invoice download"
442
+ msgstr ""
443
+
444
+ #: includes/documents/class-wcpdf-invoice.php:272
445
+ msgid "Only when an invoice is already created/emailed"
446
+ msgstr ""
447
+
448
+ #: includes/documents/class-wcpdf-invoice.php:273
449
+ msgid "Only for specific order statuses (define below)"
450
+ msgstr ""
451
+
452
+ #: includes/documents/class-wcpdf-invoice.php:274
453
+ msgid "Always"
454
+ msgstr ""
455
+
456
+ #: includes/documents/class-wcpdf-invoice.php:275
457
+ msgid "Never"
458
+ msgstr ""
459
+
460
+ #: includes/documents/class-wcpdf-invoice.php:290
461
+ msgid "Enable invoice number column in the orders list"
462
+ msgstr "請求書番号を注文一覧の項目に表示する"
463
+
464
+ #: includes/documents/class-wcpdf-invoice.php:301
465
+ msgid "Disable for free products"
466
+ msgstr ""
467
+
468
+ #: includes/documents/class-wcpdf-invoice.php:307
469
+ msgid ""
470
+ "Disable automatic creation/attachment when only free products are ordered"
471
+ msgstr ""
472
+
473
+ #: includes/documents/class-wcpdf-invoice.php:321
474
+ msgid "Invoice numbers are created by a third-party extension."
475
+ msgstr ""
476
+
477
+ #: includes/documents/class-wcpdf-invoice.php:323
478
+ #, php-format
479
+ msgid "Configure it <a href=\"%s\">here</a>."
480
+ msgstr ""
481
+
482
+ #: includes/documents/class-wcpdf-packing-slip.php:32
483
+ #: includes/documents/class-wcpdf-packing-slip.php:41
484
+ #: includes/legacy/class-wcpdf-legacy-functions.php:25
485
+ #: templates/Simple/packing-slip.php:10 templates/Simple/packing-slip.php:22
486
+ msgid "Packing Slip"
487
+ msgstr "納品明細書"
488
+
489
+ # This is a filename (prefix). do not use spaces or special characters!
490
+ #: includes/documents/class-wcpdf-packing-slip.php:53
491
+ msgid "packing-slip"
492
+ msgid_plural "packing-slips"
493
+ msgstr[0] "納品明細書"
494
+ msgstr[1] "納品明細書"
495
+
496
+ #: includes/documents/class-wcpdf-packing-slip.php:105
497
+ msgid "Display billing address"
498
+ msgstr ""
499
+
500
+ #: includes/documents/class-wcpdf-packing-slip.php:111
501
+ msgid ""
502
+ "Display billing address (in addition to the default shipping address) if "
503
+ "different from shipping address"
504
+ msgstr ""
505
+
506
+ #: includes/legacy/class-wcpdf-legacy-document.php:32
507
+ msgid "Legacy Document"
508
+ msgstr ""
509
+
510
+ #: includes/views/wcpdf-extensions.php:15
511
+ msgid "Check out these premium extensions!"
512
+ msgstr ""
513
+
514
+ #: includes/views/wcpdf-extensions.php:16
515
+ msgid "click items to read more"
516
+ msgstr ""
517
+
518
+ #: includes/views/wcpdf-extensions.php:21
519
+ msgid ""
520
+ "Premium PDF Invoice bundle: Everything you need for a perfect invoicing "
521
+ "system"
522
+ msgstr ""
523
+
524
+ #: includes/views/wcpdf-extensions.php:23
525
+ msgid ""
526
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the all our "
527
+ "premium extensions:"
528
+ msgstr ""
529
+
530
+ #: includes/views/wcpdf-extensions.php:24
531
+ msgid "Professional features:"
532
+ msgstr ""
533
+
534
+ #: includes/views/wcpdf-extensions.php:26
535
+ #: includes/views/wcpdf-extensions.php:56
536
+ msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
537
+ msgstr ""
538
+
539
+ #: includes/views/wcpdf-extensions.php:27
540
+ #: includes/views/wcpdf-extensions.php:57
541
+ msgid ""
542
+ "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
543
+ "packing slips, for example to a drop-shipper or a supplier."
544
+ msgstr ""
545
+
546
+ #: includes/views/wcpdf-extensions.php:28
547
+ #: includes/views/wcpdf-extensions.php:58
548
+ msgid ""
549
+ "Attach <b>up to 3 static files</b> (for example a terms & conditions "
550
+ "document) to the WooCommerce emails of your choice."
551
+ msgstr ""
552
+
553
+ #: includes/views/wcpdf-extensions.php:29
554
+ #: includes/views/wcpdf-extensions.php:59
555
+ msgid ""
556
+ "Use <b>separate numbering systems</b> and/or format for proforma invoices "
557
+ "and credit notes or utilize the main invoice numbering system"
558
+ msgstr ""
559
+
560
+ #: includes/views/wcpdf-extensions.php:30
561
+ #: includes/views/wcpdf-extensions.php:60
562
+ msgid ""
563
+ "<b>Customize</b> the <b>shipping & billing address</b> format to include "
564
+ "additional custom fields, font sizes etc. without the need to create a "
565
+ "custom template."
566
+ msgstr ""
567
+
568
+ #: includes/views/wcpdf-extensions.php:31
569
+ #: includes/views/wcpdf-extensions.php:61
570
+ msgid "Use the plugin in multilingual <b>WPML</b> setups"
571
+ msgstr ""
572
+
573
+ #: includes/views/wcpdf-extensions.php:33
574
+ #: includes/views/wcpdf-extensions.php:131
575
+ msgid "Advanced, customizable templates"
576
+ msgstr ""
577
+
578
+ #: includes/views/wcpdf-extensions.php:35
579
+ #: includes/views/wcpdf-extensions.php:134
580
+ msgid ""
581
+ "Completely customize the invoice contents (prices, taxes, thumbnails) to "
582
+ "your needs with a drag & drop customizer"
583
+ msgstr ""
584
+
585
+ #: includes/views/wcpdf-extensions.php:36
586
+ #: includes/views/wcpdf-extensions.php:135
587
+ msgid "Two extra stylish premade templates (Modern & Business)"
588
+ msgstr ""
589
+
590
+ #: includes/views/wcpdf-extensions.php:38
591
+ msgid "Upload automatically to dropbox"
592
+ msgstr ""
593
+
594
+ #: includes/views/wcpdf-extensions.php:40
595
+ #: includes/views/wcpdf-extensions.php:97
596
+ msgid ""
597
+ "This extension conveniently uploads all the invoices (and other pdf "
598
+ "documents from the professional extension) that are emailed to your "
599
+ "customers to Dropbox. The best way to keep your invoice administration up to "
600
+ "date!"
601
+ msgstr ""
602
+
603
+ #: includes/views/wcpdf-extensions.php:43
604
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Bundle"
605
+ msgstr ""
606
+
607
+ #: includes/views/wcpdf-extensions.php:52
608
+ msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
609
+ msgstr ""
610
+
611
+ #: includes/views/wcpdf-extensions.php:54
612
+ msgid ""
613
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the following "
614
+ "features:"
615
+ msgstr ""
616
+
617
+ #: includes/views/wcpdf-extensions.php:63
618
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
619
+ msgstr ""
620
+
621
+ #: includes/views/wcpdf-extensions.php:71
622
+ msgid "Automatically send payment reminders to your customers"
623
+ msgstr ""
624
+
625
+ #: includes/views/wcpdf-extensions.php:73
626
+ msgid "WooCommerce Smart Reminder emails"
627
+ msgstr ""
628
+
629
+ #: includes/views/wcpdf-extensions.php:75
630
+ msgid "<b>Completely automatic</b> scheduled emails"
631
+ msgstr ""
632
+
633
+ #: includes/views/wcpdf-extensions.php:76
634
+ msgid ""
635
+ "<b>Rich text editor</b> for the email text, including placeholders for data "
636
+ "from the order (name, order total, etc)"
637
+ msgstr ""
638
+
639
+ #: includes/views/wcpdf-extensions.php:77
640
+ msgid ""
641
+ "Configure the exact requirements for sending an email (time after order, "
642
+ "order status, payment method)"
643
+ msgstr ""
644
+
645
+ #: includes/views/wcpdf-extensions.php:78
646
+ msgid ""
647
+ "Fully <b>WPML Compatible</b> – emails will be automatically sent in the "
648
+ "order language."
649
+ msgstr ""
650
+
651
+ #: includes/views/wcpdf-extensions.php:79
652
+ msgid ""
653
+ "<b>Super versatile!</b> Can be used for any kind of reminder email (review "
654
+ "reminders, repeat purchases)"
655
+ msgstr ""
656
+
657
+ #: includes/views/wcpdf-extensions.php:80
658
+ msgid "Integrates seamlessly with the PDF Invoices & Packing Slips plugin"
659
+ msgstr ""
660
+
661
+ #: includes/views/wcpdf-extensions.php:82
662
+ msgid "Get WooCommerce Smart Reminder Emails"
663
+ msgstr ""
664
+
665
+ #: includes/views/wcpdf-extensions.php:91
666
+ msgid "Upload all invoices automatically to your dropbox"
667
+ msgstr ""
668
+
669
+ #: includes/views/wcpdf-extensions.php:98
670
+ msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
671
+ msgstr ""
672
+
673
+ #: includes/views/wcpdf-extensions.php:110
674
+ msgid ""
675
+ "Automatically send new orders or packing slips to your printer, as soon as "
676
+ "the customer orders!"
677
+ msgstr ""
678
+
679
+ #: includes/views/wcpdf-extensions.php:116
680
+ msgid ""
681
+ "Check out the WooCommerce Automatic Order Printing extension from our "
682
+ "partners at Simba Hosting"
683
+ msgstr ""
684
+
685
+ #: includes/views/wcpdf-extensions.php:117
686
+ msgid "WooCommerce Automatic Order Printing"
687
+ msgstr ""
688
+
689
+ #: includes/views/wcpdf-extensions.php:136
690
+ #, php-format
691
+ msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
692
+ msgstr ""
693
+
694
+ #: includes/views/wcpdf-extensions.php:137
695
+ #, php-format
696
+ msgid "For custom templates, contact us at %s."
697
+ msgstr ""
698
+ "テンプレートのカスタマイズが必要でしたら、%sに英語でお問い合わせください。"
699
+
700
+ #: includes/views/wcpdf-extensions.php:146
701
+ msgid "Hide this message"
702
+ msgstr ""
703
+
704
+ #: includes/views/wcpdf-settings-page.php:8
705
+ msgid "WooCommerce PDF Invoices"
706
+ msgstr "WooCommerce PDF請求書"
707
+
708
+ #: templates/Simple/invoice.php:30 templates/Simple/packing-slip.php:41
709
+ msgid "Billing Address:"
710
+ msgstr ""
711
+
712
+ #: templates/Simple/invoice.php:41
713
+ msgid "Ship To:"
714
+ msgstr ""
715
+
716
+ #: templates/Simple/invoice.php:50
717
+ msgid "Invoice Number:"
718
+ msgstr "請求書番号:"
719
+
720
+ #: templates/Simple/invoice.php:61 templates/Simple/packing-slip.php:49
721
+ msgid "Order Number:"
722
+ msgstr "注文番号:"
723
+
724
+ #: templates/Simple/invoice.php:65 templates/Simple/packing-slip.php:53
725
+ msgid "Order Date:"
726
+ msgstr "注文日:"
727
+
728
+ #: templates/Simple/invoice.php:69
729
+ msgid "Payment Method:"
730
+ msgstr "支払い方法:"
731
+
732
+ #: templates/Simple/invoice.php:83 templates/Simple/packing-slip.php:71
733
+ msgid "Product"
734
+ msgstr "商品"
735
+
736
+ #: templates/Simple/invoice.php:84 templates/Simple/packing-slip.php:72
737
+ msgid "Quantity"
738
+ msgstr "数"
739
+
740
+ #: templates/Simple/invoice.php:85
741
+ msgid "Price"
742
+ msgstr "価格"
743
+
744
+ #: templates/Simple/invoice.php:92 templates/Simple/packing-slip.php:79
745
+ msgid "Description"
746
+ msgstr "説明"
747
+
748
+ #: templates/Simple/invoice.php:97 templates/Simple/packing-slip.php:84
749
+ msgid "SKU"
750
+ msgstr "SKU"
751
+
752
+ #: templates/Simple/invoice.php:98 templates/Simple/packing-slip.php:85
753
+ msgid "SKU:"
754
+ msgstr "SKU:"
755
+
756
+ #: templates/Simple/invoice.php:99 templates/Simple/packing-slip.php:86
757
+ msgid "Weight:"
758
+ msgstr "重さ:"
759
+
760
+ #: templates/Simple/invoice.php:114 templates/Simple/packing-slip.php:101
761
+ msgid "Customer Notes"
762
+ msgstr "お客様からの注意事項"
763
+
764
+ #: templates/Simple/packing-slip.php:30
765
+ msgid "Shipping Address:"
766
+ msgstr ""
767
+
768
+ #: templates/Simple/packing-slip.php:57
769
+ msgid "Shipping Method:"
770
+ msgstr ""
771
+
772
+ #: woocommerce-pdf-invoices-packingslips.php:231
773
+ #, php-format
774
+ msgid ""
775
+ "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
776
+ "installed & activated!"
777
+ msgstr ""
778
+ "WooCommerce PDF Invoices & Packing Slips は%sWooCommerce%sがインストールされ"
779
+ "てアクティブになっていないといけません。"
780
+
781
+ #: woocommerce-pdf-invoices-packingslips.php:243
782
+ msgid ""
783
+ "WooCommerce PDF Invoices & Packing Slips requires PHP 5.3 or higher (5.6 or "
784
+ "higher recommended)."
785
+ msgstr ""
786
+
787
+ #: woocommerce-pdf-invoices-packingslips.php:244
788
+ msgid "How to update your PHP version"
789
+ msgstr ""
790
+
791
+ #~ msgid "Attach invoice to:"
792
+ #~ msgstr "チェックのメールに請求書を付ける"
793
+
794
+ #~ msgid ""
795
+ #~ "This is the number that will be used on the next invoice that is created. "
796
+ #~ "By default, numbering starts from the WooCommerce Order Number of the "
797
+ #~ "first invoice that is created and increases for every new invoice. Note "
798
+ #~ "that if you override this and set it lower than the highest (PDF) invoice "
799
+ #~ "number, this could create double invoice numbers!"
800
+ #~ msgstr ""
801
+ #~ "これは、次の請求書が発行される際に使われる請求書番号です。デフォルトでは、"
802
+ #~ "最初に請求書を作ったWooCommerceの注文番号から始まります。この番号の指定の"
803
+ #~ "注意点ですが、現時点の番号より小さくすると請求書番号が重複しますので、注意"
804
+ #~ "してください。"
805
+
806
+ #~ msgid "Invoice number format"
807
+ #~ msgstr "請求書番号の形式"
808
+
809
+ #~ msgid "Template"
810
+ #~ msgstr "テンプレート"
811
+
812
+ #~ msgid ""
813
+ #~ "Upload all invoices automatically to your dropbox!<br/>Check out the %s "
814
+ #~ "extension."
815
+ #~ msgstr ""
816
+ #~ "自動的に指定したDropBoxに請求書をアップロードします。<br/>%sの拡張プラグイ"
817
+ #~ "ンをチェックしてみてください。"
818
+
819
+ #~ msgid ""
820
+ #~ "Looking for more advanced templates? Check out the Premium PDF Invoice & "
821
+ #~ "Packing Slips templates at %s."
822
+ #~ msgstr ""
823
+ #~ "もっとテンプレートが見たいですか?Premium PDF Invoice & Packing Slips "
824
+ #~ "templatesを%sでチェックしてください。"
825
+
826
+ #~ msgid "Admin New Order email"
827
+ #~ msgstr "管理者の新しい注文メール"
828
+
829
+ #~ msgid "Customer Processing Order email"
830
+ #~ msgstr "お客様の進行中の注文メール"
831
+
832
+ #~ msgid "Customer Completed Order email"
833
+ #~ msgstr "お客様の注文完了メール"
834
+
835
+ #~ msgid "Customer Invoice email"
836
+ #~ msgstr "お客様の請求メール"
837
+
838
+ #~ msgid "PDF Template settings"
839
+ #~ msgstr "PDF テンプレート設定"
840
+
841
+ #~ msgid ""
842
+ #~ "Want to use your own template? Copy all the files from <code>%s</code> to "
843
+ #~ "<code>%s</code> to customize them"
844
+ #~ msgstr ""
845
+ #~ "もし、ご自身でテンプレートをカスタマイズしたいのなら、<code>%s</code> か"
846
+ #~ "ら <code>%s</code>へ全てのファイルをコピーしてカスタマイズしてください。"
847
+
848
+ #~ msgid "Display built-in sequential invoice number"
849
+ #~ msgstr "請求書番号の連番を表示"
850
+
851
+ #~ msgid ""
852
+ #~ "to use the order year and/or month, use [order_year] or [order_month] "
853
+ #~ "respectively"
854
+ #~ msgstr ""
855
+ #~ "年や月を使いたい場合は[order_year]と[order_month]をそれぞれ使ってくださ"
856
+ #~ "い。"
857
+
858
+ #~ msgid "PDF Packing Slips"
859
+ #~ msgstr "PDF納品明細書"
860
+
861
+ #~ msgid "PDF Invoice"
862
+ #~ msgstr "PDF請求書"
863
+
864
+ #~ msgid "PDF Packing Slip"
865
+ #~ msgstr "PDF 納品明細票"
866
+
867
+ #~ msgid "PDF Invoice Number (unformatted!)"
868
+ #~ msgstr "PDF 請求書番号(フォーマットされていません)"
languages/woocommerce-pdf-invoices-packing-slips-lv_LV.mo ADDED
Binary file
languages/{wpo_wcpdf-en_AU.po → woocommerce-pdf-invoices-packing-slips-lv_LV.po} RENAMED
@@ -2,65 +2,68 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
  "POT-Creation-Date: 2014-09-18 15:03+0100\n"
5
- "PO-Revision-Date: 2014-09-18 15:03+0100\n"
6
- "Last-Translator: \n"
7
  "Language-Team: WP Overnight <support@wpovernight.com>\n"
8
- "Language: en_AU\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.6.9\n"
13
- "X-Poedit-Basepath: ../\n"
14
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
 
 
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
  #: includes/class-wcpdf-export.php:168 includes/class-wcpdf-export.php:173
20
  #: includes/class-wcpdf-export.php:178 includes/class-wcpdf-export.php:189
21
  #: includes/class-wcpdf-export.php:202
22
  msgid "You do not have sufficient permissions to access this page."
23
- msgstr ""
24
 
25
  # This is a filename (prefix). do not use spaces or special characters!
26
  #: includes/class-wcpdf-export.php:223 includes/class-wcpdf-export.php:303
27
  msgid "invoice"
28
  msgid_plural "invoices"
29
- msgstr[0] ""
30
- msgstr[1] ""
 
31
 
32
  # This is a filename (prefix). do not use spaces or special characters!
33
  #: includes/class-wcpdf-export.php:225
34
  msgid "packing-slip"
35
  msgid_plural "packing-slips"
36
- msgstr[0] ""
37
- msgstr[1] ""
 
38
 
39
  #: includes/class-wcpdf-settings.php:36 includes/class-wcpdf-settings.php:37
40
  #: includes/class-wcpdf-writepanels.php:176
41
  #: includes/class-wcpdf-writepanels.php:177
42
  msgid "PDF Invoices"
43
- msgstr ""
44
 
45
  #: includes/class-wcpdf-settings.php:60
46
  msgid "Settings"
47
- msgstr ""
48
 
49
  #: includes/class-wcpdf-settings.php:82
50
  msgid "General"
51
- msgstr ""
52
 
53
  #: includes/class-wcpdf-settings.php:83
54
  msgid "Template"
55
- msgstr ""
56
 
57
  #: includes/class-wcpdf-settings.php:92
58
  msgid "WooCommerce PDF Invoices"
59
- msgstr ""
60
 
61
  #: includes/class-wcpdf-settings.php:98
62
  msgid "Status"
63
- msgstr ""
64
 
65
  #: includes/class-wcpdf-settings.php:109
66
  #, php-format
@@ -68,6 +71,8 @@ msgid ""
68
  "Upload all invoices automatically to your dropbox!<br/>Check out the %s "
69
  "extension."
70
  msgstr ""
 
 
71
 
72
  #: includes/class-wcpdf-settings.php:119
73
  #, php-format
@@ -75,47 +80,49 @@ msgid ""
75
  "Looking for more advanced templates? Check out the Premium PDF Invoice & "
76
  "Packing Slips templates at %s."
77
  msgstr ""
 
 
78
 
79
  #: includes/class-wcpdf-settings.php:120
80
  #, php-format
81
  msgid "For custom templates, contact us at %s."
82
- msgstr ""
83
 
84
  #: includes/class-wcpdf-settings.php:175
85
  msgid "General settings"
86
- msgstr ""
87
 
88
  #: includes/class-wcpdf-settings.php:182
89
  msgid "How do you want to view the PDF?"
90
- msgstr ""
91
 
92
  #: includes/class-wcpdf-settings.php:190
93
  msgid "Download the PDF"
94
- msgstr ""
95
 
96
  #: includes/class-wcpdf-settings.php:191
97
  msgid "Open the PDF in a new browser tab/window"
98
- msgstr ""
99
 
100
  #: includes/class-wcpdf-settings.php:201
101
  msgid "Attach invoice to:"
102
- msgstr ""
103
 
104
  #: includes/class-wcpdf-settings.php:209
105
  msgid "Admin New Order email"
106
- msgstr ""
107
 
108
  #: includes/class-wcpdf-settings.php:210
109
  msgid "Customer Processing Order email"
110
- msgstr ""
111
 
112
  #: includes/class-wcpdf-settings.php:211
113
  msgid "Customer Completed Order email"
114
- msgstr ""
115
 
116
  #: includes/class-wcpdf-settings.php:212
117
  msgid "Customer Invoice email"
118
- msgstr ""
119
 
120
  #: includes/class-wcpdf-settings.php:214
121
  #, php-format
@@ -124,18 +131,21 @@ msgid ""
124
  "permissions for this folder! Without having write access to this folder, the "
125
  "plugin will not be able to email invoices."
126
  msgstr ""
 
 
 
127
 
128
  #: includes/class-wcpdf-settings.php:220
129
  msgid "Enable invoice number column in the orders list"
130
- msgstr ""
131
 
132
  #: includes/class-wcpdf-settings.php:259
133
  msgid "PDF Template settings"
134
- msgstr ""
135
 
136
  #: includes/class-wcpdf-settings.php:271
137
  msgid "Choose a template"
138
- msgstr ""
139
 
140
  #: includes/class-wcpdf-settings.php:279
141
  #, php-format
@@ -143,68 +153,72 @@ msgid ""
143
  "Want to use your own template? Copy all the files from <code>%s</code> to "
144
  "<code>%s</code> to customize them"
145
  msgstr ""
 
 
146
 
147
  #: includes/class-wcpdf-settings.php:285
148
  msgid "Paper size"
149
- msgstr ""
150
 
151
  #: includes/class-wcpdf-settings.php:293
152
  msgid "A4"
153
- msgstr ""
154
 
155
  #: includes/class-wcpdf-settings.php:294
156
  msgid "Letter"
157
- msgstr ""
158
 
159
  #: includes/class-wcpdf-settings.php:301
160
  msgid "Shop header/logo"
161
- msgstr ""
162
 
163
  #: includes/class-wcpdf-settings.php:308
164
  msgid "Select or upload your invoice header/logo"
165
- msgstr ""
166
 
167
  #: includes/class-wcpdf-settings.php:309
168
  msgid "Set image"
169
- msgstr ""
170
 
171
  #: includes/class-wcpdf-settings.php:310
172
  msgid "Remove image"
173
- msgstr ""
174
 
175
  #: includes/class-wcpdf-settings.php:317
176
  msgid "Shop Name"
177
- msgstr ""
178
 
179
  #: includes/class-wcpdf-settings.php:330
180
  msgid "Shop Address"
181
- msgstr ""
182
 
183
  #: includes/class-wcpdf-settings.php:362
184
  msgid "Footer: terms & conditions, policies, etc."
185
- msgstr ""
186
 
187
  #: includes/class-wcpdf-settings.php:377
188
  msgid "Number to display on invoice"
189
- msgstr ""
190
 
191
  #: includes/class-wcpdf-settings.php:385
192
  msgid "WooCommerce order number"
193
- msgstr ""
194
 
195
  #: includes/class-wcpdf-settings.php:386
196
  msgid "Built-in sequential invoice number"
197
- msgstr ""
198
 
199
  #: includes/class-wcpdf-settings.php:388
200
  msgid ""
201
  "If you are using the WooCommerce Sequential Order Numbers plugin, select the "
202
  "WooCommerce order number"
203
  msgstr ""
 
 
204
 
205
  #: includes/class-wcpdf-settings.php:394
206
  msgid "Next invoice number (without prefix/suffix etc.)"
207
- msgstr ""
208
 
209
  #: includes/class-wcpdf-settings.php:402
210
  msgid ""
@@ -214,82 +228,93 @@ msgid ""
214
  "you override this and set it lower than the highest (PDF) invoice number, "
215
  "this could create double invoice numbers!"
216
  msgstr ""
 
 
 
 
 
217
 
218
  #: includes/class-wcpdf-settings.php:408
219
  msgid "Invoice number format"
220
- msgstr ""
221
 
222
  #: includes/class-wcpdf-settings.php:417
223
  msgid "Prefix"
224
- msgstr ""
225
 
226
  #: includes/class-wcpdf-settings.php:419
227
  msgid ""
228
  "to use the order year and/or month, use [order_year] or [order_month] "
229
  "respectively"
230
  msgstr ""
 
 
231
 
232
  #: includes/class-wcpdf-settings.php:422
233
  msgid "Suffix"
234
- msgstr ""
235
 
236
  #: includes/class-wcpdf-settings.php:427
237
  msgid "Padding"
238
- msgstr ""
239
 
240
  #: includes/class-wcpdf-settings.php:429
241
  msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
242
  msgstr ""
 
 
243
 
244
  #: includes/class-wcpdf-settings.php:432
245
  msgid ""
246
  "note: if you have already created a custom invoice number format with a "
247
  "filter, the above settings will be ignored"
248
  msgstr ""
 
 
249
 
250
  #: includes/class-wcpdf-settings.php:440
251
  msgid "Date to display on invoice"
252
- msgstr ""
253
 
254
  #: includes/class-wcpdf-settings.php:448
255
  msgid "Order date"
256
- msgstr ""
257
 
258
  #: includes/class-wcpdf-settings.php:449
259
  msgid "Invoice date"
260
- msgstr ""
261
 
262
  #: includes/class-wcpdf-settings.php:457
263
  msgid "Extra template fields"
264
- msgstr ""
265
 
266
  #: includes/class-wcpdf-settings.php:464
267
  msgid "Extra field 1"
268
- msgstr ""
269
 
270
  #: includes/class-wcpdf-settings.php:473
271
  msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
272
- msgstr ""
273
 
274
  #: includes/class-wcpdf-settings.php:479
275
  msgid "Extra field 2"
276
- msgstr ""
277
 
278
  #: includes/class-wcpdf-settings.php:488
279
  msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
280
- msgstr ""
281
 
282
  #: includes/class-wcpdf-settings.php:494
283
  msgid "Extra field 3"
284
- msgstr ""
285
 
286
  #: includes/class-wcpdf-settings.php:503
287
  msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
288
- msgstr ""
289
 
290
  #: includes/class-wcpdf-settings.php:760
291
  msgid "Image resolution"
292
- msgstr ""
293
 
294
  #: includes/class-wcpdf-settings.php:871
295
  msgid ""
@@ -297,114 +322,110 @@ msgid ""
297
  "(Premium)</em> template, but can also be used for other elements in your "
298
  "custom template"
299
  msgstr ""
 
 
 
300
 
301
  #: includes/class-wcpdf-writepanels.php:102
302
  msgid "Invoice Number"
303
- msgstr ""
304
 
305
  #: includes/class-wcpdf-writepanels.php:139
306
  msgid "Download invoice (PDF)"
307
- msgstr ""
308
 
309
  #: includes/class-wcpdf-writepanels.php:150
310
  msgid "Create PDF"
311
- msgstr ""
312
 
313
  #: includes/class-wcpdf-writepanels.php:160
314
  msgid "PDF invoice"
315
- msgstr ""
316
 
317
  #: includes/class-wcpdf-writepanels.php:161
318
  msgid "PDF Packing Slip"
319
- msgstr ""
320
 
321
  #: includes/class-wcpdf-writepanels.php:178
322
  #: includes/class-wcpdf-writepanels.php:179
323
  msgid "PDF Packing Slips"
324
- msgstr ""
325
 
326
  #: includes/class-wcpdf-writepanels.php:192
327
  msgid "PDF Invoice Number (unformatted!)"
328
- msgstr ""
329
 
330
- #: includes/class-wcpdf-writepanels.php:195
331
- #: templates/pdf/Simple/invoice.php:37
332
  msgid "Invoice Date:"
333
- msgstr ""
334
 
335
  #: includes/class-wcpdf-writepanels.php:196
336
  msgid "h"
337
- msgstr ""
338
 
339
  #: includes/class-wcpdf-writepanels.php:196
340
  msgid "m"
341
- msgstr ""
342
 
343
  #: templates/pdf/Simple/html-document-wrapper.php:6
344
  #: templates/pdf/Simple/invoice.php:9 templates/pdf/Simple/invoice.php:21
345
  msgid "Invoice"
346
- msgstr ""
347
 
348
  #: templates/pdf/Simple/html-document-wrapper.php:6
349
  #: templates/pdf/Simple/packing-slip.php:9
350
  #: templates/pdf/Simple/packing-slip.php:21
351
  msgid "Packing Slip"
352
- msgstr ""
353
 
354
- #: templates/pdf/Simple/invoice.php:40
355
- #: templates/pdf/Simple/packing-slip.php:30
356
  msgid "Order Date:"
357
- msgstr ""
358
 
359
  #: templates/pdf/Simple/invoice.php:46
360
  msgid "Invoice Number:"
361
- msgstr ""
362
 
363
- #: templates/pdf/Simple/invoice.php:49
364
- #: templates/pdf/Simple/packing-slip.php:32
365
  msgid "Order Number:"
366
- msgstr ""
367
 
368
  #: templates/pdf/Simple/invoice.php:56
369
  msgid "Payment Method:"
370
- msgstr ""
371
 
372
- #: templates/pdf/Simple/invoice.php:69
373
- #: templates/pdf/Simple/packing-slip.php:45
374
  msgid "Product"
375
- msgstr ""
376
 
377
- #: templates/pdf/Simple/invoice.php:70
378
- #: templates/pdf/Simple/packing-slip.php:46
379
  msgid "Quantity"
380
- msgstr ""
381
 
382
  #: templates/pdf/Simple/invoice.php:71
383
  msgid "Price"
384
- msgstr ""
385
 
386
  #: templates/pdf/Simple/invoice.php:77
387
  msgid "Description"
388
- msgstr ""
389
 
390
  #: templates/pdf/Simple/invoice.php:80
391
  msgid "SKU"
392
- msgstr ""
393
 
394
- #: templates/pdf/Simple/invoice.php:81
395
- #: templates/pdf/Simple/packing-slip.php:54
396
  msgid "SKU:"
397
- msgstr ""
398
 
399
- #: templates/pdf/Simple/invoice.php:82
400
- #: templates/pdf/Simple/packing-slip.php:55
401
  msgid "Weight:"
402
- msgstr ""
403
 
404
  #: templates/pdf/Simple/invoice.php:114
405
  #: templates/pdf/Simple/packing-slip.php:69
406
  msgid "Customer Notes"
407
- msgstr ""
408
 
409
  #: woocommerce-pdf-invoices-packingslips.php:96
410
  #, php-format
@@ -412,40 +433,42 @@ msgid ""
412
  "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
413
  "installed & activated!"
414
  msgstr ""
 
 
415
 
416
  #: woocommerce-pdf-invoices-packingslips.php:191
417
  #: woocommerce-pdf-invoices-packingslips.php:227
418
  msgid "N/A"
419
- msgstr ""
420
 
421
  #: woocommerce-pdf-invoices-packingslips.php:264
422
  msgid "Payment method"
423
- msgstr ""
424
 
425
  #: woocommerce-pdf-invoices-packingslips.php:275
426
  msgid "Shipping method"
427
- msgstr ""
428
 
429
  #: woocommerce-pdf-invoices-packingslips.php:375
430
  msgid "Subtotal"
431
- msgstr ""
432
 
433
  #: woocommerce-pdf-invoices-packingslips.php:397
434
  msgid "Shipping"
435
- msgstr ""
436
 
437
  #: woocommerce-pdf-invoices-packingslips.php:431
438
  msgid "Discount"
439
- msgstr ""
440
 
441
  #: woocommerce-pdf-invoices-packingslips.php:470
442
  msgid "VAT"
443
- msgstr "GST"
444
 
445
  #: woocommerce-pdf-invoices-packingslips.php:507
446
  msgid "Total ex. VAT"
447
- msgstr "Total ex. GST"
448
 
449
  #: woocommerce-pdf-invoices-packingslips.php:510
450
  msgid "Total"
451
- msgstr ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
  "POT-Creation-Date: 2014-09-18 15:03+0100\n"
5
+ "PO-Revision-Date: 2017-07-14 00:35+0200\n"
 
6
  "Language-Team: WP Overnight <support@wpovernight.com>\n"
 
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=UTF-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
10
+ "X-Generator: Poedit 2.0.1\n"
11
+ "X-Poedit-Basepath: ..\n"
12
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
13
+ "2);\n"
14
  "X-Poedit-SourceCharset: UTF-8\n"
15
  "X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
16
+ "Last-Translator: \n"
17
+ "Language: lv\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
  #: includes/class-wcpdf-export.php:168 includes/class-wcpdf-export.php:173
21
  #: includes/class-wcpdf-export.php:178 includes/class-wcpdf-export.php:189
22
  #: includes/class-wcpdf-export.php:202
23
  msgid "You do not have sufficient permissions to access this page."
24
+ msgstr "Jums nav tiesību piekļūt šai lapai."
25
 
26
  # This is a filename (prefix). do not use spaces or special characters!
27
  #: includes/class-wcpdf-export.php:223 includes/class-wcpdf-export.php:303
28
  msgid "invoice"
29
  msgid_plural "invoices"
30
+ msgstr[0] "pavadzīme"
31
+ msgstr[1] "pavadzīmes"
32
+ msgstr[2] "pavadzīmju"
33
 
34
  # This is a filename (prefix). do not use spaces or special characters!
35
  #: includes/class-wcpdf-export.php:225
36
  msgid "packing-slip"
37
  msgid_plural "packing-slips"
38
+ msgstr[0] "piegādes-forma"
39
+ msgstr[1] "piegādes-formas"
40
+ msgstr[2] "piegādes-formu"
41
 
42
  #: includes/class-wcpdf-settings.php:36 includes/class-wcpdf-settings.php:37
43
  #: includes/class-wcpdf-writepanels.php:176
44
  #: includes/class-wcpdf-writepanels.php:177
45
  msgid "PDF Invoices"
46
+ msgstr "PDF Pavadzīmes"
47
 
48
  #: includes/class-wcpdf-settings.php:60
49
  msgid "Settings"
50
+ msgstr "Iestatījumi"
51
 
52
  #: includes/class-wcpdf-settings.php:82
53
  msgid "General"
54
+ msgstr "Vispārīgā informācija"
55
 
56
  #: includes/class-wcpdf-settings.php:83
57
  msgid "Template"
58
+ msgstr "Forma"
59
 
60
  #: includes/class-wcpdf-settings.php:92
61
  msgid "WooCommerce PDF Invoices"
62
+ msgstr "WooCommerce PDF Pavadzīmes"
63
 
64
  #: includes/class-wcpdf-settings.php:98
65
  msgid "Status"
66
+ msgstr "Statuss"
67
 
68
  #: includes/class-wcpdf-settings.php:109
69
  #, php-format
71
  "Upload all invoices automatically to your dropbox!<br/>Check out the %s "
72
  "extension."
73
  msgstr ""
74
+ "Augšuplādējiet visas pavadzīmes automātiski uz Jūsu Dropbox!<br/>Lasīt "
75
+ "vairāk par %s paplašinājumiem."
76
 
77
  #: includes/class-wcpdf-settings.php:119
78
  #, php-format
80
  "Looking for more advanced templates? Check out the Premium PDF Invoice & "
81
  "Packing Slips templates at %s."
82
  msgstr ""
83
+ "Nepieciešamas formas ar plašākām iespējām? Apskatiet Premium PDF Invoice & "
84
+ "Packing Slips formas %s."
85
 
86
  #: includes/class-wcpdf-settings.php:120
87
  #, php-format
88
  msgid "For custom templates, contact us at %s."
89
+ msgstr "Lai iegūtu personificētas formas, sazinieties ar mums %s."
90
 
91
  #: includes/class-wcpdf-settings.php:175
92
  msgid "General settings"
93
+ msgstr "Iestatījumi"
94
 
95
  #: includes/class-wcpdf-settings.php:182
96
  msgid "How do you want to view the PDF?"
97
+ msgstr "Kā vēlaties apskatīt PDF?"
98
 
99
  #: includes/class-wcpdf-settings.php:190
100
  msgid "Download the PDF"
101
+ msgstr "Lejuplādēt PDF"
102
 
103
  #: includes/class-wcpdf-settings.php:191
104
  msgid "Open the PDF in a new browser tab/window"
105
+ msgstr "Atvērt PDF pārlūkā jaunā cilnē/logā"
106
 
107
  #: includes/class-wcpdf-settings.php:201
108
  msgid "Attach invoice to:"
109
+ msgstr "Pievienot pavadzīmi:"
110
 
111
  #: includes/class-wcpdf-settings.php:209
112
  msgid "Admin New Order email"
113
+ msgstr "Administratora \"jauna pasūtījuma\" e-pastam"
114
 
115
  #: includes/class-wcpdf-settings.php:210
116
  msgid "Customer Processing Order email"
117
+ msgstr "Klienta \"Pasūtījums ir apstrādē\" e-pastam"
118
 
119
  #: includes/class-wcpdf-settings.php:211
120
  msgid "Customer Completed Order email"
121
+ msgstr "Klienta \"Pasūtījums apstrādāts\" e-pastam"
122
 
123
  #: includes/class-wcpdf-settings.php:212
124
  msgid "Customer Invoice email"
125
+ msgstr "Klienta \"Pavadzīme\" e-pastam"
126
 
127
  #: includes/class-wcpdf-settings.php:214
128
  #, php-format
131
  "permissions for this folder! Without having write access to this folder, the "
132
  "plugin will not be able to email invoices."
133
  msgstr ""
134
+ "Šķiet, ka mape (<code>%s</code>) nav rediģējama. Lūdzu pārbaudiet jūsu "
135
+ "piekļuves atļaujas šai mapei. Bez iespējas piekļūt šai mapei, spraudnis "
136
+ "pavadzīmes izmantojot e-pastu neizsūtīs."
137
 
138
  #: includes/class-wcpdf-settings.php:220
139
  msgid "Enable invoice number column in the orders list"
140
+ msgstr "Iespējot pavadzīmes numura kolonnu pasūtījuma sarakstā"
141
 
142
  #: includes/class-wcpdf-settings.php:259
143
  msgid "PDF Template settings"
144
+ msgstr "PDF Formas iestatījumi"
145
 
146
  #: includes/class-wcpdf-settings.php:271
147
  msgid "Choose a template"
148
+ msgstr "Izvēlieties formu"
149
 
150
  #: includes/class-wcpdf-settings.php:279
151
  #, php-format
153
  "Want to use your own template? Copy all the files from <code>%s</code> to "
154
  "<code>%s</code> to customize them"
155
  msgstr ""
156
+ "Vēlieties izmantot savu formu? Vienkārši nokopējiet visus failus no <code>"
157
+ "%s</code> uz <code>%s</code>, lai tos rediģētu"
158
 
159
  #: includes/class-wcpdf-settings.php:285
160
  msgid "Paper size"
161
+ msgstr "Lapas izmērs"
162
 
163
  #: includes/class-wcpdf-settings.php:293
164
  msgid "A4"
165
+ msgstr "A4"
166
 
167
  #: includes/class-wcpdf-settings.php:294
168
  msgid "Letter"
169
+ msgstr "Vēstule"
170
 
171
  #: includes/class-wcpdf-settings.php:301
172
  msgid "Shop header/logo"
173
+ msgstr "Veikala galvene/logo"
174
 
175
  #: includes/class-wcpdf-settings.php:308
176
  msgid "Select or upload your invoice header/logo"
177
+ msgstr "Izvēlieties vai augšup lādējiet Jūsu pavadzīmes galveni/logo"
178
 
179
  #: includes/class-wcpdf-settings.php:309
180
  msgid "Set image"
181
+ msgstr "Iestatīt attēlu"
182
 
183
  #: includes/class-wcpdf-settings.php:310
184
  msgid "Remove image"
185
+ msgstr "Izņemt attēlu"
186
 
187
  #: includes/class-wcpdf-settings.php:317
188
  msgid "Shop Name"
189
+ msgstr "Veikala Nosaukums"
190
 
191
  #: includes/class-wcpdf-settings.php:330
192
  msgid "Shop Address"
193
+ msgstr "Veikala Adrese"
194
 
195
  #: includes/class-wcpdf-settings.php:362
196
  msgid "Footer: terms & conditions, policies, etc."
197
+ msgstr "Kājene: lietošanas noteikumi, privātuma politika, u.c."
198
 
199
  #: includes/class-wcpdf-settings.php:377
200
  msgid "Number to display on invoice"
201
+ msgstr "Numurs, kas tiks attēlots uz pavadzīmes"
202
 
203
  #: includes/class-wcpdf-settings.php:385
204
  msgid "WooCommerce order number"
205
+ msgstr "WooCommerce pasūtījuma numurs"
206
 
207
  #: includes/class-wcpdf-settings.php:386
208
  msgid "Built-in sequential invoice number"
209
+ msgstr "Iestrādātais secīgais pavadzīmes numurs"
210
 
211
  #: includes/class-wcpdf-settings.php:388
212
  msgid ""
213
  "If you are using the WooCommerce Sequential Order Numbers plugin, select the "
214
  "WooCommerce order number"
215
  msgstr ""
216
+ "Ja izmantojat spraudni \"WooCommerce Sequential Order Numbers\", lūdzu "
217
+ "izvēlieties WooCommerce pasūtījuma numuru"
218
 
219
  #: includes/class-wcpdf-settings.php:394
220
  msgid "Next invoice number (without prefix/suffix etc.)"
221
+ msgstr "Nākamais pavadzīmes numurs (bez priedēkļa/piedēkļa u.c.)"
222
 
223
  #: includes/class-wcpdf-settings.php:402
224
  msgid ""
228
  "you override this and set it lower than the highest (PDF) invoice number, "
229
  "this could create double invoice numbers!"
230
  msgstr ""
231
+ "Šis numurs tiks izmantots nākamajai pavadzīmei, kas tiks radīta. Pēc "
232
+ "noklusējuma, numerācija sākas no WooCommerce pasūtījuma numura un secīgi aug "
233
+ "ar katru nākamo pavadzīmi. Lūdzu ņemiet vēra: ja gadījumā Jūs pārrakstiet šo "
234
+ "numuru uz mazāku kā lielākais (PDF) pavadzīmes numurs, iespējams var tikt "
235
+ "radīta pavadzīmju numuru dublēšanās!"
236
 
237
  #: includes/class-wcpdf-settings.php:408
238
  msgid "Invoice number format"
239
+ msgstr "Pavadzīmes numura formāts"
240
 
241
  #: includes/class-wcpdf-settings.php:417
242
  msgid "Prefix"
243
+ msgstr "Priedēklis"
244
 
245
  #: includes/class-wcpdf-settings.php:419
246
  msgid ""
247
  "to use the order year and/or month, use [order_year] or [order_month] "
248
  "respectively"
249
  msgstr ""
250
+ "izmantojiet [order_year] vai [order_month], lai tiktu attēlots gads vai "
251
+ "mēnesis"
252
 
253
  #: includes/class-wcpdf-settings.php:422
254
  msgid "Suffix"
255
+ msgstr "Piedēklis"
256
 
257
  #: includes/class-wcpdf-settings.php:427
258
  msgid "Padding"
259
+ msgstr "Numura garums"
260
 
261
  #: includes/class-wcpdf-settings.php:429
262
  msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
263
  msgstr ""
264
+ "ievadiet pavadzīmes numura vēlamo garumu - ievadiet \"6\" lai pavadzīmes "
265
+ "numuru 42 attēlotu kā 000042"
266
 
267
  #: includes/class-wcpdf-settings.php:432
268
  msgid ""
269
  "note: if you have already created a custom invoice number format with a "
270
  "filter, the above settings will be ignored"
271
  msgstr ""
272
+ "svarīgi: ja Jūs jau esat izveidojis savu pavadzīmes numerāciju ar filtru, "
273
+ "tad augstākminētie iestatījumi tiks ignorēti"
274
 
275
  #: includes/class-wcpdf-settings.php:440
276
  msgid "Date to display on invoice"
277
+ msgstr "Datumus, kurš tiks attēlots uz pavadzīmes"
278
 
279
  #: includes/class-wcpdf-settings.php:448
280
  msgid "Order date"
281
+ msgstr "Pasūtījuma Datums"
282
 
283
  #: includes/class-wcpdf-settings.php:449
284
  msgid "Invoice date"
285
+ msgstr "Pavadzīmes Datums"
286
 
287
  #: includes/class-wcpdf-settings.php:457
288
  msgid "Extra template fields"
289
+ msgstr "Papildus formas lauki"
290
 
291
  #: includes/class-wcpdf-settings.php:464
292
  msgid "Extra field 1"
293
+ msgstr "Papildus lauks 1"
294
 
295
  #: includes/class-wcpdf-settings.php:473
296
  msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
297
+ msgstr "Šī <i>Modernās (Premium)</i> formas kājenes kolonna nr. 1"
298
 
299
  #: includes/class-wcpdf-settings.php:479
300
  msgid "Extra field 2"
301
+ msgstr "Papildus lauks 2"
302
 
303
  #: includes/class-wcpdf-settings.php:488
304
  msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
305
+ msgstr "Šī <i>Modernās (Premium)</i> formas kājenes kolonna nr. 2"
306
 
307
  #: includes/class-wcpdf-settings.php:494
308
  msgid "Extra field 3"
309
+ msgstr "Papildus lauks 3"
310
 
311
  #: includes/class-wcpdf-settings.php:503
312
  msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
313
+ msgstr "Šī <i>Modernās (Premium)</i> formas kājenes kolonna nr. 3"
314
 
315
  #: includes/class-wcpdf-settings.php:760
316
  msgid "Image resolution"
317
+ msgstr "Attēla izšķirtspēja"
318
 
319
  #: includes/class-wcpdf-settings.php:871
320
  msgid ""
322
  "(Premium)</em> template, but can also be used for other elements in your "
323
  "custom template"
324
  msgstr ""
325
+ "Šie ir izmantoti (izvēles) kājenes kolonnās <em>Modernā (Premium)</em> "
326
+ "formā, bet var tikt izmantoti arī citiem elementiem individuāli radītajā "
327
+ "formā"
328
 
329
  #: includes/class-wcpdf-writepanels.php:102
330
  msgid "Invoice Number"
331
+ msgstr "Pavadzīmes Numurs"
332
 
333
  #: includes/class-wcpdf-writepanels.php:139
334
  msgid "Download invoice (PDF)"
335
+ msgstr "Lejuplādēt pavadzīmi (PDF)"
336
 
337
  #: includes/class-wcpdf-writepanels.php:150
338
  msgid "Create PDF"
339
+ msgstr "Izveidot PDF"
340
 
341
  #: includes/class-wcpdf-writepanels.php:160
342
  msgid "PDF invoice"
343
+ msgstr "PDF pavadzīme"
344
 
345
  #: includes/class-wcpdf-writepanels.php:161
346
  msgid "PDF Packing Slip"
347
+ msgstr "PDF Piegādes Forma"
348
 
349
  #: includes/class-wcpdf-writepanels.php:178
350
  #: includes/class-wcpdf-writepanels.php:179
351
  msgid "PDF Packing Slips"
352
+ msgstr "PDF Piegādes Formas"
353
 
354
  #: includes/class-wcpdf-writepanels.php:192
355
  msgid "PDF Invoice Number (unformatted!)"
356
+ msgstr "PDF Pavadzīmes Numurs (neformatēts)"
357
 
358
+ #: includes/class-wcpdf-writepanels.php:195 templates/pdf/Simple/invoice.php:37
 
359
  msgid "Invoice Date:"
360
+ msgstr "Pavadzīmes Datums:"
361
 
362
  #: includes/class-wcpdf-writepanels.php:196
363
  msgid "h"
364
+ msgstr "h"
365
 
366
  #: includes/class-wcpdf-writepanels.php:196
367
  msgid "m"
368
+ msgstr "m"
369
 
370
  #: templates/pdf/Simple/html-document-wrapper.php:6
371
  #: templates/pdf/Simple/invoice.php:9 templates/pdf/Simple/invoice.php:21
372
  msgid "Invoice"
373
+ msgstr "Pavadzīme"
374
 
375
  #: templates/pdf/Simple/html-document-wrapper.php:6
376
  #: templates/pdf/Simple/packing-slip.php:9
377
  #: templates/pdf/Simple/packing-slip.php:21
378
  msgid "Packing Slip"
379
+ msgstr "Piegādes Forma"
380
 
381
+ #: templates/pdf/Simple/invoice.php:40 templates/pdf/Simple/packing-slip.php:30
 
382
  msgid "Order Date:"
383
+ msgstr "Pasūtījuma Datums:"
384
 
385
  #: templates/pdf/Simple/invoice.php:46
386
  msgid "Invoice Number:"
387
+ msgstr "Pavadzīmes Numurs:"
388
 
389
+ #: templates/pdf/Simple/invoice.php:49 templates/pdf/Simple/packing-slip.php:32
 
390
  msgid "Order Number:"
391
+ msgstr "Pasūtījuma Numurs:"
392
 
393
  #: templates/pdf/Simple/invoice.php:56
394
  msgid "Payment Method:"
395
+ msgstr "Maksājuma Veids:"
396
 
397
+ #: templates/pdf/Simple/invoice.php:69 templates/pdf/Simple/packing-slip.php:45
 
398
  msgid "Product"
399
+ msgstr "Produkts"
400
 
401
+ #: templates/pdf/Simple/invoice.php:70 templates/pdf/Simple/packing-slip.php:46
 
402
  msgid "Quantity"
403
+ msgstr "Daudzums"
404
 
405
  #: templates/pdf/Simple/invoice.php:71
406
  msgid "Price"
407
+ msgstr "Cena"
408
 
409
  #: templates/pdf/Simple/invoice.php:77
410
  msgid "Description"
411
+ msgstr "Apraksts"
412
 
413
  #: templates/pdf/Simple/invoice.php:80
414
  msgid "SKU"
415
+ msgstr "SKU"
416
 
417
+ #: templates/pdf/Simple/invoice.php:81 templates/pdf/Simple/packing-slip.php:54
 
418
  msgid "SKU:"
419
+ msgstr "SKU:"
420
 
421
+ #: templates/pdf/Simple/invoice.php:82 templates/pdf/Simple/packing-slip.php:55
 
422
  msgid "Weight:"
423
+ msgstr "Svars:"
424
 
425
  #: templates/pdf/Simple/invoice.php:114
426
  #: templates/pdf/Simple/packing-slip.php:69
427
  msgid "Customer Notes"
428
+ msgstr "Klienta Piezīmes"
429
 
430
  #: woocommerce-pdf-invoices-packingslips.php:96
431
  #, php-format
433
  "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
434
  "installed & activated!"
435
  msgstr ""
436
+ "%sWooCommerce%s ir jābūt instalētam un aktivizētam, lai varētu izmantot "
437
+ "WooCommerce PDF Invoices & Packing Slips!"
438
 
439
  #: woocommerce-pdf-invoices-packingslips.php:191
440
  #: woocommerce-pdf-invoices-packingslips.php:227
441
  msgid "N/A"
442
+ msgstr "Nav Pieejams"
443
 
444
  #: woocommerce-pdf-invoices-packingslips.php:264
445
  msgid "Payment method"
446
+ msgstr "Maksājuma veids"
447
 
448
  #: woocommerce-pdf-invoices-packingslips.php:275
449
  msgid "Shipping method"
450
+ msgstr "Piegādes veids"
451
 
452
  #: woocommerce-pdf-invoices-packingslips.php:375
453
  msgid "Subtotal"
454
+ msgstr "Starpsumma"
455
 
456
  #: woocommerce-pdf-invoices-packingslips.php:397
457
  msgid "Shipping"
458
+ msgstr "Piegāde"
459
 
460
  #: woocommerce-pdf-invoices-packingslips.php:431
461
  msgid "Discount"
462
+ msgstr "Atlaide"
463
 
464
  #: woocommerce-pdf-invoices-packingslips.php:470
465
  msgid "VAT"
466
+ msgstr "PVN"
467
 
468
  #: woocommerce-pdf-invoices-packingslips.php:507
469
  msgid "Total ex. VAT"
470
+ msgstr "Kopā, bez PVN"
471
 
472
  #: woocommerce-pdf-invoices-packingslips.php:510
473
  msgid "Total"
474
+ msgstr "Kopā"
languages/woocommerce-pdf-invoices-packing-slips-nb_NO.mo ADDED
Binary file
languages/woocommerce-pdf-invoices-packing-slips-nb_NO.po ADDED
@@ -0,0 +1,889 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
+ "POT-Creation-Date: 2017-06-09 16:38+0200\n"
5
+ "PO-Revision-Date: 2017-06-09 16:38+0200\n"
6
+ "Last-Translator: Eirik Opsanger <eirik.opsanger@gmail.com>\n"
7
+ "Language-Team: WP Overnight <support@wpovernight.com>\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.12\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: includes/class-wcpdf-admin.php:72 includes/class-wcpdf-admin.php:174
20
+ msgid "Invoice Number"
21
+ msgstr "Fakturanummer"
22
+
23
+ #: includes/class-wcpdf-admin.php:105
24
+ msgid "Create PDF"
25
+ msgstr "Opprett PDF"
26
+
27
+ #: includes/class-wcpdf-admin.php:115
28
+ msgid "PDF Invoice data"
29
+ msgstr ""
30
+
31
+ #: includes/class-wcpdf-admin.php:166
32
+ #: includes/documents/class-wcpdf-invoice.php:32
33
+ #: includes/documents/class-wcpdf-invoice.php:41
34
+ #: includes/legacy/class-wcpdf-legacy-functions.php:22
35
+ #: templates/Simple/invoice.php:10 templates/Simple/invoice.php:22
36
+ msgid "Invoice"
37
+ msgstr "Faktura"
38
+
39
+ #: includes/class-wcpdf-admin.php:183 includes/class-wcpdf-admin.php:204
40
+ #: templates/Simple/invoice.php:56
41
+ msgid "Invoice Date:"
42
+ msgstr "Fakturadato:"
43
+
44
+ #: includes/class-wcpdf-admin.php:189
45
+ msgid "Set invoice number & date"
46
+ msgstr ""
47
+
48
+ #: includes/class-wcpdf-admin.php:196
49
+ msgid "Invoice Number (unformatted!)"
50
+ msgstr ""
51
+
52
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
53
+ msgid "h"
54
+ msgstr "h"
55
+
56
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
57
+ msgid "m"
58
+ msgstr "m"
59
+
60
+ #: includes/class-wcpdf-frontend.php:55
61
+ msgid "Download invoice (PDF)"
62
+ msgstr "Last ned faktura (PDF)"
63
+
64
+ #: includes/class-wcpdf-main.php:132 includes/class-wcpdf-main.php:153
65
+ #: includes/class-wcpdf-main.php:160 includes/class-wcpdf-main.php:166
66
+ msgid "You do not have sufficient permissions to access this page."
67
+ msgstr "Du har ikke nok rettigheter til denne siden"
68
+
69
+ #: includes/class-wcpdf-main.php:141
70
+ msgid "Some of the export parameters are missing."
71
+ msgstr ""
72
+
73
+ #: includes/class-wcpdf-settings-callbacks.php:27
74
+ msgid ""
75
+ "<b>Warning!</b> The settings below are meant for debugging/development only. "
76
+ "Do not use them on a live website!"
77
+ msgstr ""
78
+
79
+ #: includes/class-wcpdf-settings-callbacks.php:36
80
+ msgid ""
81
+ "These are used for the (optional) footer columns in the <em>Modern "
82
+ "(Premium)</em> template, but can also be used for other elements in your "
83
+ "custom template"
84
+ msgstr ""
85
+ "Disse brukes for (valgfrie) fotnote-kolonner i <em>Modern (Premium)</em> "
86
+ "template, men kan også brukes for andre elementer i din template"
87
+
88
+ #: includes/class-wcpdf-settings-callbacks.php:301
89
+ msgid "Image resolution"
90
+ msgstr "Bildeoppløsning"
91
+
92
+ #: includes/class-wcpdf-settings-callbacks.php:325
93
+ msgid "Save"
94
+ msgstr ""
95
+
96
+ #: includes/class-wcpdf-settings-debug.php:34
97
+ msgid "Debug settings"
98
+ msgstr ""
99
+
100
+ #: includes/class-wcpdf-settings-debug.php:40
101
+ msgid "Legacy mode"
102
+ msgstr ""
103
+
104
+ #: includes/class-wcpdf-settings-debug.php:46
105
+ msgid ""
106
+ "Legacy mode ensures compatibility with templates and filters from previous "
107
+ "versions."
108
+ msgstr ""
109
+
110
+ #: includes/class-wcpdf-settings-debug.php:52
111
+ msgid "Enable debug output"
112
+ msgstr ""
113
+
114
+ #: includes/class-wcpdf-settings-debug.php:58
115
+ msgid ""
116
+ "Enable this option to output plugin errors if you're getting a blank page or "
117
+ "other PDF generation issues"
118
+ msgstr ""
119
+
120
+ #: includes/class-wcpdf-settings-debug.php:64
121
+ msgid "Output to HTML"
122
+ msgstr ""
123
+
124
+ #: includes/class-wcpdf-settings-debug.php:70
125
+ msgid ""
126
+ "Send the template output as HTML to the browser instead of creating a PDF."
127
+ msgstr ""
128
+
129
+ #: includes/class-wcpdf-settings-documents.php:29
130
+ #: includes/class-wcpdf-settings.php:84
131
+ msgid "Documents"
132
+ msgstr ""
133
+
134
+ #: includes/class-wcpdf-settings-documents.php:45
135
+ msgid ""
136
+ "All available documents are listed below. Click on a document to configure "
137
+ "it."
138
+ msgstr ""
139
+
140
+ #: includes/class-wcpdf-settings-general.php:37
141
+ msgid "General settings"
142
+ msgstr "Generelle innstillinger"
143
+
144
+ #: includes/class-wcpdf-settings-general.php:43
145
+ msgid "How do you want to view the PDF?"
146
+ msgstr "Hvordan vil du se PDF`en?"
147
+
148
+ #: includes/class-wcpdf-settings-general.php:50
149
+ msgid "Download the PDF"
150
+ msgstr "Last ned PDF`en"
151
+
152
+ #: includes/class-wcpdf-settings-general.php:51
153
+ msgid "Open the PDF in a new browser tab/window"
154
+ msgstr "Åpne PDF`en i ett nytt vindu"
155
+
156
+ #: includes/class-wcpdf-settings-general.php:58
157
+ msgid "Choose a template"
158
+ msgstr "Velg din template"
159
+
160
+ #: includes/class-wcpdf-settings-general.php:65
161
+ #, php-format
162
+ msgid ""
163
+ "Want to use your own template? Copy all the files from <code>%s</code> to "
164
+ "your (child) theme in <code>%s</code> to customize them"
165
+ msgstr ""
166
+ "Vil du bruke din egen template? Kopier alle filer fra <code>%s</code> til "
167
+ "<code>%s</code>for å endre de."
168
+
169
+ #: includes/class-wcpdf-settings-general.php:71
170
+ msgid "Paper size"
171
+ msgstr "Papirstørrelse"
172
+
173
+ #: includes/class-wcpdf-settings-general.php:78
174
+ msgid "A4"
175
+ msgstr "A4"
176
+
177
+ #: includes/class-wcpdf-settings-general.php:79
178
+ msgid "Letter"
179
+ msgstr "Letter"
180
+
181
+ #: includes/class-wcpdf-settings-general.php:86
182
+ msgid "Extended currency symbol support"
183
+ msgstr ""
184
+
185
+ #: includes/class-wcpdf-settings-general.php:92
186
+ msgid "Enable this if your currency symbol is not displaying properly"
187
+ msgstr ""
188
+
189
+ #: includes/class-wcpdf-settings-general.php:98
190
+ msgid "Shop header/logo"
191
+ msgstr "Butikkens header/logo"
192
+
193
+ #: includes/class-wcpdf-settings-general.php:104
194
+ msgid "Select or upload your invoice header/logo"
195
+ msgstr "Velg eller last opp din faktura header/logo"
196
+
197
+ #: includes/class-wcpdf-settings-general.php:105
198
+ msgid "Set image"
199
+ msgstr "Velg bilde"
200
+
201
+ #: includes/class-wcpdf-settings-general.php:106
202
+ msgid "Remove image"
203
+ msgstr "Fjern bilde"
204
+
205
+ #: includes/class-wcpdf-settings-general.php:113
206
+ msgid "Shop Name"
207
+ msgstr "Butikkens navn"
208
+
209
+ #: includes/class-wcpdf-settings-general.php:126
210
+ msgid "Shop Address"
211
+ msgstr "Butikkens adresse"
212
+
213
+ #: includes/class-wcpdf-settings-general.php:141
214
+ msgid "Footer: terms & conditions, policies, etc."
215
+ msgstr "Footer: Betingelser og Vilkår"
216
+
217
+ #: includes/class-wcpdf-settings-general.php:156
218
+ msgid "Extra template fields"
219
+ msgstr "Ekstrafelt"
220
+
221
+ #: includes/class-wcpdf-settings-general.php:162
222
+ msgid "Extra field 1"
223
+ msgstr "Ekstrafelt 1"
224
+
225
+ #: includes/class-wcpdf-settings-general.php:170
226
+ msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
227
+ msgstr "Dette er fotnote-kolonne 1 i <i>Modern (Premium)</i> template"
228
+
229
+ #: includes/class-wcpdf-settings-general.php:177
230
+ msgid "Extra field 2"
231
+ msgstr "Ekstrafelt 2"
232
+
233
+ #: includes/class-wcpdf-settings-general.php:185
234
+ msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
235
+ msgstr "Dette er fotnote-kolonne 2 i <i>Modern (Premium)</i> template"
236
+
237
+ #: includes/class-wcpdf-settings-general.php:192
238
+ msgid "Extra field 3"
239
+ msgstr "Ekstrafelt 3"
240
+
241
+ #: includes/class-wcpdf-settings-general.php:200
242
+ msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
243
+ msgstr "Dette er fotnote-kolonne 3 i <i>Modern (Premium)</i> template"
244
+
245
+ #: includes/class-wcpdf-settings.php:45 includes/class-wcpdf-settings.php:46
246
+ msgid "PDF Invoices"
247
+ msgstr "PDF-faktura"
248
+
249
+ #: includes/class-wcpdf-settings.php:58
250
+ msgid "Settings"
251
+ msgstr "Innstillinger"
252
+
253
+ #: includes/class-wcpdf-settings.php:71
254
+ msgid "Documentation"
255
+ msgstr ""
256
+
257
+ #: includes/class-wcpdf-settings.php:72
258
+ msgid "Support Forum"
259
+ msgstr ""
260
+
261
+ #: includes/class-wcpdf-settings.php:83
262
+ msgid "General"
263
+ msgstr "Generelt"
264
+
265
+ #: includes/class-wcpdf-settings.php:89
266
+ msgid "Status"
267
+ msgstr "Status"
268
+
269
+ #: includes/compatibility/class-wc-core-compatibility.php:222
270
+ msgid "WooCommerce"
271
+ msgstr ""
272
+
273
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:113
274
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:176
275
+ msgid "N/A"
276
+ msgstr "N/A"
277
+
278
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:305
279
+ msgid "Payment method"
280
+ msgstr "Betalingsmåte"
281
+
282
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:326
283
+ msgid "Shipping method"
284
+ msgstr "Leveringsmåte"
285
+
286
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:669
287
+ #, php-format
288
+ msgid "(includes %s)"
289
+ msgstr ""
290
+
291
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:672
292
+ #, php-format
293
+ msgid "(Includes %s)"
294
+ msgstr ""
295
+
296
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:702
297
+ msgid "Subtotal"
298
+ msgstr "Total"
299
+
300
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:727
301
+ msgid "Shipping"
302
+ msgstr "Frakt"
303
+
304
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:790
305
+ msgid "Discount"
306
+ msgstr "Avslag"
307
+
308
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:831
309
+ msgid "VAT"
310
+ msgstr "MVA"
311
+
312
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:832
313
+ msgid "Tax rate"
314
+ msgstr "MVA"
315
+
316
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:876
317
+ msgid "Total ex. VAT"
318
+ msgstr "Totalt eksl. MVA"
319
+
320
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:879
321
+ msgid "Total"
322
+ msgstr "Subtotal"
323
+
324
+ #: includes/documents/abstract-wcpdf-order-document.php:674
325
+ msgid "Admin email"
326
+ msgstr ""
327
+
328
+ #: includes/documents/abstract-wcpdf-order-document.php:677
329
+ msgid "Manual email"
330
+ msgstr ""
331
+
332
+ # This is a filename (prefix). do not use spaces or special characters!
333
+ #: includes/documents/class-wcpdf-invoice.php:85
334
+ msgid "invoice"
335
+ msgid_plural "invoices"
336
+ msgstr[0] "Faktura"
337
+ msgstr[1] "Fakturaer"
338
+
339
+ #: includes/documents/class-wcpdf-invoice.php:130
340
+ #: includes/documents/class-wcpdf-packing-slip.php:94
341
+ msgid "Enable"
342
+ msgstr ""
343
+
344
+ #: includes/documents/class-wcpdf-invoice.php:141
345
+ msgid "Attach to:"
346
+ msgstr ""
347
+
348
+ #: includes/documents/class-wcpdf-invoice.php:148
349
+ #, php-format
350
+ msgid ""
351
+ "It looks like the temp folder (<code>%s</code>) is not writable, check the "
352
+ "permissions for this folder! Without having write access to this folder, the "
353
+ "plugin will not be able to email invoices."
354
+ msgstr ""
355
+ "Det ser ut til at mappen for midlertidlige filer (<code>%s</code>) ikke er "
356
+ "skrivbar, sjekk rettighetene på denne mappen! Uten skrivetilgang til denne "
357
+ "mappen vil ikke denne plugin kunne sende pdf-faktura."
358
+
359
+ #: includes/documents/class-wcpdf-invoice.php:154
360
+ msgid "Display shipping address"
361
+ msgstr ""
362
+
363
+ #: includes/documents/class-wcpdf-invoice.php:160
364
+ msgid ""
365
+ "Display shipping address (in addition to the default billing address) if "
366
+ "different from billing address"
367
+ msgstr ""
368
+
369
+ #: includes/documents/class-wcpdf-invoice.php:166
370
+ #: includes/documents/class-wcpdf-packing-slip.php:117
371
+ msgid "Display email address"
372
+ msgstr ""
373
+
374
+ #: includes/documents/class-wcpdf-invoice.php:177
375
+ #: includes/documents/class-wcpdf-packing-slip.php:128
376
+ msgid "Display phone number"
377
+ msgstr ""
378
+
379
+ #: includes/documents/class-wcpdf-invoice.php:188
380
+ msgid "Display invoice date"
381
+ msgstr "Vis fakturadato"
382
+
383
+ #: includes/documents/class-wcpdf-invoice.php:200
384
+ msgid "Display invoice number"
385
+ msgstr ""
386
+
387
+ #: includes/documents/class-wcpdf-invoice.php:212
388
+ msgid "Next invoice number (without prefix/suffix etc.)"
389
+ msgstr "Neste fakturanummer (uten prefix/suffix etc.)"
390
+
391
+ #: includes/documents/class-wcpdf-invoice.php:218
392
+ msgid ""
393
+ "This is the number that will be used for the next document. By default, "
394
+ "numbering starts from 1 and increases for every new document. Note that if "
395
+ "you override this and set it lower than the current/highest number, this "
396
+ "could create duplicate numbers!"
397
+ msgstr ""
398
+
399
+ #: includes/documents/class-wcpdf-invoice.php:224
400
+ msgid "Number format"
401
+ msgstr ""
402
+
403
+ #: includes/documents/class-wcpdf-invoice.php:232
404
+ msgid "Prefix"
405
+ msgstr "Prefix"
406
+
407
+ #: includes/documents/class-wcpdf-invoice.php:234
408
+ msgid ""
409
+ "to use the invoice year and/or month, use [invoice_year] or [invoice_month] "
410
+ "respectively"
411
+ msgstr ""
412
+
413
+ #: includes/documents/class-wcpdf-invoice.php:237
414
+ msgid "Suffix"
415
+ msgstr "Suffix"
416
+
417
+ #: includes/documents/class-wcpdf-invoice.php:242
418
+ msgid "Padding"
419
+ msgstr "Siffer"
420
+
421
+ #: includes/documents/class-wcpdf-invoice.php:245
422
+ msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
423
+ msgstr "skriv antall siffer her - skriv \"6\" for å vise 42 som 000042"
424
+
425
+ #: includes/documents/class-wcpdf-invoice.php:248
426
+ msgid ""
427
+ "note: if you have already created a custom invoice number format with a "
428
+ "filter, the above settings will be ignored"
429
+ msgstr ""
430
+ "merk: hvis du allerede har laget et eget nummerformat for fakuranummer med "
431
+ "et filter, vil innstillingene over bli ignorert"
432
+
433
+ #: includes/documents/class-wcpdf-invoice.php:254
434
+ msgid "Reset invoice number yearly"
435
+ msgstr ""
436
+
437
+ #: includes/documents/class-wcpdf-invoice.php:265
438
+ msgid "Allow My Account invoice download"
439
+ msgstr ""
440
+
441
+ #: includes/documents/class-wcpdf-invoice.php:272
442
+ msgid "Only when an invoice is already created/emailed"
443
+ msgstr ""
444
+
445
+ #: includes/documents/class-wcpdf-invoice.php:273
446
+ msgid "Only for specific order statuses (define below)"
447
+ msgstr ""
448
+
449
+ #: includes/documents/class-wcpdf-invoice.php:274
450
+ msgid "Always"
451
+ msgstr ""
452
+
453
+ #: includes/documents/class-wcpdf-invoice.php:275
454
+ msgid "Never"
455
+ msgstr ""
456
+
457
+ #: includes/documents/class-wcpdf-invoice.php:290
458
+ msgid "Enable invoice number column in the orders list"
459
+ msgstr "Aktiver kolonne for fakturanummer i ordrelisten"
460
+
461
+ #: includes/documents/class-wcpdf-invoice.php:301
462
+ msgid "Disable for free products"
463
+ msgstr ""
464
+
465
+ #: includes/documents/class-wcpdf-invoice.php:307
466
+ msgid ""
467
+ "Disable automatic creation/attachment when only free products are ordered"
468
+ msgstr ""
469
+
470
+ #: includes/documents/class-wcpdf-invoice.php:321
471
+ msgid "Invoice numbers are created by a third-party extension."
472
+ msgstr ""
473
+
474
+ #: includes/documents/class-wcpdf-invoice.php:323
475
+ #, php-format
476
+ msgid "Configure it <a href=\"%s\">here</a>."
477
+ msgstr ""
478
+
479
+ #: includes/documents/class-wcpdf-packing-slip.php:32
480
+ #: includes/documents/class-wcpdf-packing-slip.php:41
481
+ #: includes/legacy/class-wcpdf-legacy-functions.php:25
482
+ #: templates/Simple/packing-slip.php:10 templates/Simple/packing-slip.php:22
483
+ msgid "Packing Slip"
484
+ msgstr "Pakkseddel"
485
+
486
+ # This is a filename (prefix). do not use spaces or special characters!
487
+ #: includes/documents/class-wcpdf-packing-slip.php:53
488
+ msgid "packing-slip"
489
+ msgid_plural "packing-slips"
490
+ msgstr[0] "Pakkseddel"
491
+ msgstr[1] "Pakksedler"
492
+
493
+ #: includes/documents/class-wcpdf-packing-slip.php:105
494
+ msgid "Display billing address"
495
+ msgstr ""
496
+
497
+ #: includes/documents/class-wcpdf-packing-slip.php:111
498
+ msgid ""
499
+ "Display billing address (in addition to the default shipping address) if "
500
+ "different from shipping address"
501
+ msgstr ""
502
+
503
+ #: includes/legacy/class-wcpdf-legacy-document.php:32
504
+ msgid "Legacy Document"
505
+ msgstr ""
506
+
507
+ #: includes/views/wcpdf-extensions.php:15
508
+ msgid "Check out these premium extensions!"
509
+ msgstr "Sjekk ut premium-utvidelsene!"
510
+
511
+ #: includes/views/wcpdf-extensions.php:16
512
+ msgid "click items to read more"
513
+ msgstr "klikk for å lese mer"
514
+
515
+ #: includes/views/wcpdf-extensions.php:21
516
+ msgid ""
517
+ "Premium PDF Invoice bundle: Everything you need for a perfect invoicing "
518
+ "system"
519
+ msgstr ""
520
+
521
+ #: includes/views/wcpdf-extensions.php:23
522
+ msgid ""
523
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the all our "
524
+ "premium extensions:"
525
+ msgstr ""
526
+
527
+ #: includes/views/wcpdf-extensions.php:24
528
+ msgid "Professional features:"
529
+ msgstr ""
530
+
531
+ #: includes/views/wcpdf-extensions.php:26
532
+ #: includes/views/wcpdf-extensions.php:56
533
+ msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
534
+ msgstr "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
535
+
536
+ #: includes/views/wcpdf-extensions.php:27
537
+ #: includes/views/wcpdf-extensions.php:57
538
+ msgid ""
539
+ "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
540
+ "packing slips, for example to a drop-shipper or a supplier."
541
+ msgstr ""
542
+
543
+ #: includes/views/wcpdf-extensions.php:28
544
+ #: includes/views/wcpdf-extensions.php:58
545
+ msgid ""
546
+ "Attach <b>up to 3 static files</b> (for example a terms & conditions "
547
+ "document) to the WooCommerce emails of your choice."
548
+ msgstr ""
549
+
550
+ #: includes/views/wcpdf-extensions.php:29
551
+ #: includes/views/wcpdf-extensions.php:59
552
+ msgid ""
553
+ "Use <b>separate numbering systems</b> and/or format for proforma invoices "
554
+ "and credit notes or utilize the main invoice numbering system"
555
+ msgstr ""
556
+ "Bruk <b>separate nummersystem</b> og/eller format på proforma faktura og "
557
+ "kreditnota, eller utnytt hovedsystemet for fakturanummerering"
558
+
559
+ #: includes/views/wcpdf-extensions.php:30
560
+ #: includes/views/wcpdf-extensions.php:60
561
+ msgid ""
562
+ "<b>Customize</b> the <b>shipping & billing address</b> format to include "
563
+ "additional custom fields, font sizes etc. without the need to create a "
564
+ "custom template."
565
+ msgstr ""
566
+ "<b>Skreddersy faktura- og leveringsadresse</b> for å inkludere valgfrie "
567
+ "felter, skriftstørrelse osv. uten å måtte lage en egen template."
568
+
569
+ #: includes/views/wcpdf-extensions.php:31
570
+ #: includes/views/wcpdf-extensions.php:61
571
+ msgid "Use the plugin in multilingual <b>WPML</b> setups"
572
+ msgstr "Bruk pluginen i multilingual <b>WPML</b> oppsett"
573
+
574
+ #: includes/views/wcpdf-extensions.php:33
575
+ #: includes/views/wcpdf-extensions.php:131
576
+ msgid "Advanced, customizable templates"
577
+ msgstr ""
578
+
579
+ #: includes/views/wcpdf-extensions.php:35
580
+ #: includes/views/wcpdf-extensions.php:134
581
+ msgid ""
582
+ "Completely customize the invoice contents (prices, taxes, thumbnails) to "
583
+ "your needs with a drag & drop customizer"
584
+ msgstr ""
585
+
586
+ #: includes/views/wcpdf-extensions.php:36
587
+ #: includes/views/wcpdf-extensions.php:135
588
+ msgid "Two extra stylish premade templates (Modern & Business)"
589
+ msgstr ""
590
+
591
+ #: includes/views/wcpdf-extensions.php:38
592
+ msgid "Upload automatically to dropbox"
593
+ msgstr ""
594
+
595
+ #: includes/views/wcpdf-extensions.php:40
596
+ #: includes/views/wcpdf-extensions.php:97
597
+ msgid ""
598
+ "This extension conveniently uploads all the invoices (and other pdf "
599
+ "documents from the professional extension) that are emailed to your "
600
+ "customers to Dropbox. The best way to keep your invoice administration up to "
601
+ "date!"
602
+ msgstr ""
603
+ "Denne utvidelsen laster opp alle fakturaer (og andre pdf-dokumenter fra pro-"
604
+ "versjonen) som blir sendt på epost til deg rett til Dropbox. Dette er den "
605
+ "beste måten å holde adminstreringen ajour!"
606
+
607
+ #: includes/views/wcpdf-extensions.php:43
608
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Bundle"
609
+ msgstr ""
610
+
611
+ #: includes/views/wcpdf-extensions.php:52
612
+ msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
613
+ msgstr "Go Pro: Proforma faktura, kreditnota (=tilbakebetaling) & mer!"
614
+
615
+ #: includes/views/wcpdf-extensions.php:54
616
+ msgid ""
617
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the following "
618
+ "features:"
619
+ msgstr "Få WooCommerce PDF Invoices & Packing Slips med følgende funksjoner:"
620
+
621
+ #: includes/views/wcpdf-extensions.php:63
622
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
623
+ msgstr "Få WooCommerce PDF Invoices & Packing Slips Professional!"
624
+
625
+ #: includes/views/wcpdf-extensions.php:71
626
+ msgid "Automatically send payment reminders to your customers"
627
+ msgstr ""
628
+
629
+ #: includes/views/wcpdf-extensions.php:73
630
+ msgid "WooCommerce Smart Reminder emails"
631
+ msgstr ""
632
+
633
+ #: includes/views/wcpdf-extensions.php:75
634
+ msgid "<b>Completely automatic</b> scheduled emails"
635
+ msgstr ""
636
+
637
+ #: includes/views/wcpdf-extensions.php:76
638
+ msgid ""
639
+ "<b>Rich text editor</b> for the email text, including placeholders for data "
640
+ "from the order (name, order total, etc)"
641
+ msgstr ""
642
+
643
+ #: includes/views/wcpdf-extensions.php:77
644
+ msgid ""
645
+ "Configure the exact requirements for sending an email (time after order, "
646
+ "order status, payment method)"
647
+ msgstr ""
648
+
649
+ #: includes/views/wcpdf-extensions.php:78
650
+ msgid ""
651
+ "Fully <b>WPML Compatible</b> – emails will be automatically sent in the "
652
+ "order language."
653
+ msgstr ""
654
+
655
+ #: includes/views/wcpdf-extensions.php:79
656
+ msgid ""
657
+ "<b>Super versatile!</b> Can be used for any kind of reminder email (review "
658
+ "reminders, repeat purchases)"
659
+ msgstr ""
660
+
661
+ #: includes/views/wcpdf-extensions.php:80
662
+ msgid "Integrates seamlessly with the PDF Invoices & Packing Slips plugin"
663
+ msgstr ""
664
+
665
+ #: includes/views/wcpdf-extensions.php:82
666
+ msgid "Get WooCommerce Smart Reminder Emails"
667
+ msgstr ""
668
+
669
+ #: includes/views/wcpdf-extensions.php:91
670
+ msgid "Upload all invoices automatically to your dropbox"
671
+ msgstr ""
672
+ "Last opp alle fakturaer automatisk til din dropbox! <br/>Sjekk ut %s "
673
+ "utvidelsen."
674
+
675
+ #: includes/views/wcpdf-extensions.php:98
676
+ msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
677
+ msgstr "Fp WooCommerce PDF Invoices & Packing Slips rett til Dropbox!"
678
+
679
+ #: includes/views/wcpdf-extensions.php:110
680
+ msgid ""
681
+ "Automatically send new orders or packing slips to your printer, as soon as "
682
+ "the customer orders!"
683
+ msgstr "Send pakkelapper automatisk til printeren når det kommer ny ordre!"
684
+
685
+ #: includes/views/wcpdf-extensions.php:116
686
+ msgid ""
687
+ "Check out the WooCommerce Automatic Order Printing extension from our "
688
+ "partners at Simba Hosting"
689
+ msgstr ""
690
+ "Sjekk ut WooCommerce Automatic Order Printing utvidelse fra vår partner "
691
+ "Simba Hosting"
692
+
693
+ #: includes/views/wcpdf-extensions.php:117
694
+ msgid "WooCommerce Automatic Order Printing"
695
+ msgstr "Automatisk ordreutskrift"
696
+
697
+ #: includes/views/wcpdf-extensions.php:136
698
+ #, php-format
699
+ msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
700
+ msgstr ""
701
+ "Ser du etter en mer avansert template? Sjekk ut Premium PDF Invoice & "
702
+ "Packing Slips templates hos %s."
703
+
704
+ #: includes/views/wcpdf-extensions.php:137
705
+ #, php-format
706
+ msgid "For custom templates, contact us at %s."
707
+ msgstr "For egendefinerte templates, kontakt oss på %s"
708
+
709
+ #: includes/views/wcpdf-extensions.php:146
710
+ msgid "Hide this message"
711
+ msgstr ""
712
+
713
+ #: includes/views/wcpdf-settings-page.php:8
714
+ msgid "WooCommerce PDF Invoices"
715
+ msgstr "WooCommerce PDF Faktura"
716
+
717
+ #: templates/Simple/invoice.php:30 templates/Simple/packing-slip.php:41
718
+ msgid "Billing Address:"
719
+ msgstr "Fakturaadresse:"
720
+
721
+ #: templates/Simple/invoice.php:41
722
+ msgid "Ship To:"
723
+ msgstr "Send til:"
724
+
725
+ #: templates/Simple/invoice.php:50
726
+ msgid "Invoice Number:"
727
+ msgstr "Fakturanummer:"
728
+
729
+ #: templates/Simple/invoice.php:61 templates/Simple/packing-slip.php:49
730
+ msgid "Order Number:"
731
+ msgstr "Ordrenummer:"
732
+
733
+ #: templates/Simple/invoice.php:65 templates/Simple/packing-slip.php:53
734
+ msgid "Order Date:"
735
+ msgstr "Ordredato:"
736
+
737
+ #: templates/Simple/invoice.php:69
738
+ msgid "Payment Method:"
739
+ msgstr "Betalingsmåte:"
740
+
741
+ #: templates/Simple/invoice.php:83 templates/Simple/packing-slip.php:71
742
+ msgid "Product"
743
+ msgstr "Produkt:"
744
+
745
+ #: templates/Simple/invoice.php:84 templates/Simple/packing-slip.php:72
746
+ msgid "Quantity"
747
+ msgstr "Antall"
748
+
749
+ #: templates/Simple/invoice.php:85
750
+ msgid "Price"
751
+ msgstr "Pris"
752
+
753
+ #: templates/Simple/invoice.php:92 templates/Simple/packing-slip.php:79
754
+ msgid "Description"
755
+ msgstr "Beskrivelse"
756
+
757
+ #: templates/Simple/invoice.php:97 templates/Simple/packing-slip.php:84
758
+ msgid "SKU"
759
+ msgstr "Art.nr"
760
+
761
+ #: templates/Simple/invoice.php:98 templates/Simple/packing-slip.php:85
762
+ msgid "SKU:"
763
+ msgstr "Art.nr:"
764
+
765
+ #: templates/Simple/invoice.php:99 templates/Simple/packing-slip.php:86
766
+ msgid "Weight:"
767
+ msgstr "Vekt:"
768
+
769
+ #: templates/Simple/invoice.php:114 templates/Simple/packing-slip.php:101
770
+ msgid "Customer Notes"
771
+ msgstr "Kundenotat"
772
+
773
+ #: templates/Simple/packing-slip.php:30
774
+ msgid "Shipping Address:"
775
+ msgstr "Leveringsadress:"
776
+
777
+ #: templates/Simple/packing-slip.php:57
778
+ msgid "Shipping Method:"
779
+ msgstr "Leveringsmåte:"
780
+
781
+ #: woocommerce-pdf-invoices-packingslips.php:231
782
+ #, php-format
783
+ msgid ""
784
+ "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
785
+ "installed & activated!"
786
+ msgstr ""
787
+ "WooCommerce PDF Invoices & Packing Slips krever %sWooCommerce%s for å bli "
788
+ "installert og aktivert!"
789
+
790
+ #: woocommerce-pdf-invoices-packingslips.php:243
791
+ msgid ""
792
+ "WooCommerce PDF Invoices & Packing Slips requires PHP 5.3 or higher (5.6 or "
793
+ "higher recommended)."
794
+ msgstr ""
795
+
796
+ #: woocommerce-pdf-invoices-packingslips.php:244
797
+ msgid "How to update your PHP version"
798
+ msgstr ""
799
+
800
+ #~ msgid "Attach invoice to:"
801
+ #~ msgstr "Legg ved faktura til:"
802
+
803
+ #~ msgid ""
804
+ #~ "This is the number that will be used on the next invoice that is created. "
805
+ #~ "By default, numbering starts from the WooCommerce Order Number of the "
806
+ #~ "first invoice that is created and increases for every new invoice. Note "
807
+ #~ "that if you override this and set it lower than the highest (PDF) invoice "
808
+ #~ "number, this could create double invoice numbers!"
809
+ #~ msgstr ""
810
+ #~ "Dette nummeret er fakturanummer for den neste fakturaen som blir "
811
+ #~ "generert. Som standard, starter dette fra WooCommerce ordrenummer på den "
812
+ #~ "første fakturaen som blir generert, for så å øke for hver ny faktura. "
813
+ #~ "Merk at dersom du endrer denne og setter et lavere tall enn høyeste (PDF) "
814
+ #~ "fakturanummer, vil du få flere fakturaer med samme nummer!"
815
+
816
+ #~ msgid "Invoice number format"
817
+ #~ msgstr "Format på fakturanummer"
818
+
819
+ #~ msgid "Template"
820
+ #~ msgstr "Template"
821
+
822
+ #~ msgid "Admin New Order email"
823
+ #~ msgstr "Admins Ny Ordre epost"
824
+
825
+ #~ msgid "Customer Processing Order email"
826
+ #~ msgstr "Kundens Behandler Ordre epost"
827
+
828
+ #~ msgid "Customer Completed Order email"
829
+ #~ msgstr "Kundens Fullført Ordre epost"
830
+
831
+ #~ msgid "Customer Invoice email"
832
+ #~ msgstr "Kundens Faktura epost"
833
+
834
+ #~ msgid "PDF Template settings"
835
+ #~ msgstr "PDF Template-innstillinger"
836
+
837
+ #~ msgid "Display built-in sequential invoice number"
838
+ #~ msgstr "Vis sekvensielt fakturanummer"
839
+
840
+ #~ msgid "PDF Packing Slips"
841
+ #~ msgstr "PDF Pakksedler"
842
+
843
+ #~ msgid "PDF Invoice"
844
+ #~ msgstr "PDF-faktura"
845
+
846
+ #~ msgid "PDF Packing Slip"
847
+ #~ msgstr "PDF Pakkseddel"
848
+
849
+ #~ msgid ""
850
+ #~ "to use the order year and/or month, use [order_year] or [order_month] "
851
+ #~ "respectively"
852
+ #~ msgstr ""
853
+ #~ "for å bruke år og/eller måned, kan du bruker [order_year] og/eller "
854
+ #~ "[order_month]"
855
+
856
+ #~ msgid "PDF Invoice Number (unformatted!)"
857
+ #~ msgstr "PDF fakturanummer (uformatert)"
858
+
859
+ #~ msgid "More advanced templates"
860
+ #~ msgstr "Mer avanserte stiler"
861
+
862
+ #~ msgid "Stylish modern invoices & packing slips with product thumbnails!"
863
+ #~ msgstr "Stilfylle, moderne faktura og pakkelapper med produktbilder!"
864
+
865
+ #~ msgid "More tax details on the invoices!"
866
+ #~ msgstr "Flere detaljer for skatter og avgifter på faktura!"
867
+
868
+ #~ msgid ""
869
+ #~ "Attach a <b>static file</b> (for example a terms & conditions document) "
870
+ #~ "to the WooCommerce emails of your choice."
871
+ #~ msgstr ""
872
+ #~ "Legg ved en <b>statisk file</b> (f.eks. vilkår) til WooCommerce-epostene "
873
+ #~ "du ønsker."
874
+
875
+ #~ msgid "Number to display on invoice"
876
+ #~ msgstr "Nummer som skal vise på faktura"
877
+
878
+ #~ msgid ""
879
+ #~ "If you are using the WooCommerce Sequential Order Numbers plugin, select "
880
+ #~ "the WooCommerce order number"
881
+ #~ msgstr ""
882
+ #~ "Hvis du bruker \"WooCommerce Sequential Order Numbers plugin\", velg "
883
+ #~ "WooCommerce ordrenummer"
884
+
885
+ #~ msgid "Order date"
886
+ #~ msgstr "Bestillingsdato"
887
+
888
+ #~ msgid "PDF invoice"
889
+ #~ msgstr "PDF Faktura"
languages/woocommerce-pdf-invoices-packing-slips-nl_NL.mo ADDED
Binary file
languages/{wpo_wcpdf-nl_NL.po → woocommerce-pdf-invoices-packing-slips-nl_NL.po} RENAMED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2016-11-07 17:00+0100\n"
6
- "PO-Revision-Date: 2016-11-07 17:10+0100\n"
7
  "Last-Translator: Ewout Fernhout <chocolade@extrapuur.nl>\n"
8
  "Language-Team: WP Overnight <support@wpovernight.com>\n"
9
  "Language: nl_NL\n"
@@ -16,151 +16,162 @@ msgstr ""
16
  "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
17
  "X-Poedit-Basepath: ..\n"
18
  "X-Textdomain-Support: yes\n"
19
- "X-Generator: Poedit 1.8.9\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
 
22
- #: includes/class-wcpdf-export.php:418 includes/class-wcpdf-export.php:432
23
- #: includes/class-wcpdf-export.php:439 includes/class-wcpdf-export.php:447
24
- msgid "You do not have sufficient permissions to access this page."
25
- msgstr "Je hebt onvoldoende rechten voor deze pagina."
26
-
27
- #: includes/class-wcpdf-export.php:423
28
- msgid "Some of the export parameters are missing."
29
- msgstr "Er ontbreken export parameters"
30
 
31
- #: includes/class-wcpdf-export.php:504
32
- msgid "invoice"
33
- msgid_plural "invoices"
34
- msgstr[0] "factuur"
35
- msgstr[1] "facturen"
36
 
37
- #: includes/class-wcpdf-export.php:508
38
- msgid "packing-slip"
39
- msgid_plural "packing-slips"
40
- msgstr[0] "pakbon"
41
- msgstr[1] "pakbonnen"
42
 
43
- #: includes/class-wcpdf-settings.php:37 includes/class-wcpdf-settings.php:38
44
- #: includes/class-wcpdf-writepanels.php:32
45
- msgid "PDF Invoices"
46
- msgstr "PDF facturen"
 
 
 
47
 
48
- #: includes/class-wcpdf-settings.php:79
49
- msgid "Settings"
50
- msgstr "Instellingen"
 
51
 
52
- #: includes/class-wcpdf-settings.php:101
53
- msgid "General"
54
- msgstr "Algemeen"
55
 
56
- #: includes/class-wcpdf-settings.php:102
57
- msgid "Template"
58
- msgstr "Template"
59
 
60
- #: includes/class-wcpdf-settings.php:107
61
- msgid "Status"
62
- msgstr "Status"
63
 
64
- #: includes/class-wcpdf-settings.php:119
65
- msgid "WooCommerce PDF Invoices"
66
- msgstr "WooCommerce PDF Facturen"
67
 
68
- #: includes/class-wcpdf-settings.php:199
69
- msgid "General settings"
70
- msgstr "Algemene instellingen"
71
 
72
- #: includes/class-wcpdf-settings.php:206
73
- msgid "How do you want to view the PDF?"
74
- msgstr "Hoe wil je de PDF bekijken?"
 
75
 
76
- #: includes/class-wcpdf-settings.php:214
77
- msgid "Download the PDF"
78
- msgstr "Download de PDF"
79
 
80
- #: includes/class-wcpdf-settings.php:215
81
- msgid "Open the PDF in a new browser tab/window"
82
- msgstr "Open de PDF in een nieuwe browser tab/venster"
 
 
 
 
83
 
84
- #: includes/class-wcpdf-settings.php:224
85
- msgid "Admin New Order email"
86
- msgstr "Nieuwe bestelling (admin email)"
 
 
 
 
 
 
87
 
88
- #: includes/class-wcpdf-settings.php:225
89
- msgid "Customer Processing Order email"
90
- msgstr "Bestelling in behandeling (klant email)"
91
 
92
- #: includes/class-wcpdf-settings.php:226
93
- msgid "Customer Completed Order email"
94
- msgstr "Bestelling afgerond (klant email)"
95
 
96
- #: includes/class-wcpdf-settings.php:227
97
- msgid "Customer Invoice email"
98
- msgstr "Factuur (klant email)"
99
 
100
- #: includes/class-wcpdf-settings.php:236
101
- msgid "Attach invoice to:"
102
- msgstr "Factuur als bijlage toevoegen aan:"
103
 
104
- #: includes/class-wcpdf-settings.php:244
105
- #, php-format
106
  msgid ""
107
- "It looks like the temp folder (<code>%s</code>) is not writable, check the "
108
- "permissions for this folder! Without having write access to this folder, the "
109
- "plugin will not be able to email invoices."
110
  msgstr ""
111
- "Het lijkt erop dat de temp folder (<code>%s</code>) niet schrijfbaar is, "
112
- "controleer de rechten op deze folder! Zonder schrijfrechten kan de plugin "
113
- "geen facturen emailen."
114
 
115
- #: includes/class-wcpdf-settings.php:250
116
- msgid "Disable for free products"
117
- msgstr "Uitschakelen voor gratis producten"
118
 
119
- #: includes/class-wcpdf-settings.php:257
120
  msgid ""
121
- "Disable automatic creation/attachment of invoices when only free products "
122
- "are ordered"
123
  msgstr ""
124
- "Automatisch aanmaken/vesturen van facturen uitschakelen wanneer er alleen "
125
- "gratis producten zijn besteld."
126
 
127
- #: includes/class-wcpdf-settings.php:264
128
- msgid "Interface"
129
- msgstr "Interface"
130
 
131
- #: includes/class-wcpdf-settings.php:312
132
- msgid "Allow My Account invoice download"
133
- msgstr "Sta downloaden factuur vanaf Mijn Account toe"
 
 
 
134
 
135
- #: includes/class-wcpdf-settings.php:320
136
- msgid "Only when an invoice is already created/emailed"
137
- msgstr "Alleen wanneer een factuur al is aangemaakt/gemaild"
 
138
 
139
- #: includes/class-wcpdf-settings.php:321
140
- msgid "Only for specific order statuses (define below)"
141
- msgstr "Alleen voor specifieke order statussen (hieronder gedefinieerd)"
 
 
 
 
142
 
143
- #: includes/class-wcpdf-settings.php:322
144
- msgid "Always"
145
- msgstr "Altijd"
146
 
147
- #: includes/class-wcpdf-settings.php:323
148
- msgid "Never"
149
- msgstr "Nooit"
150
 
151
- #: includes/class-wcpdf-settings.php:338
152
- msgid "Enable invoice number column in the orders list"
153
- msgstr "Schakel factuurnummer kolom in het bestellingen overzicht in"
154
 
155
- #: includes/class-wcpdf-settings.php:376
156
- msgid "PDF Template settings"
157
- msgstr "PDF Template instellingen"
158
 
159
- #: includes/class-wcpdf-settings.php:388
160
  msgid "Choose a template"
161
  msgstr "Kies een template"
162
 
163
- #: includes/class-wcpdf-settings.php:396
164
  #, php-format
165
  msgid ""
166
  "Want to use your own template? Copy all the files from <code>%s</code> to "
@@ -169,122 +180,252 @@ msgstr ""
169
  "Wil je je eigen template gebruiken? Kopieer alle bestanden van <code>%s</"
170
  "code> naar je (child-) theme in <code>%s</code> en pas ze aan naar je wensen."
171
 
172
- #: includes/class-wcpdf-settings.php:402
173
  msgid "Paper size"
174
  msgstr "Papierformaat"
175
 
176
- #: includes/class-wcpdf-settings.php:410
177
  msgid "A4"
178
  msgstr "A4"
179
 
180
- #: includes/class-wcpdf-settings.php:411
181
  msgid "Letter"
182
  msgstr "Letter (US)"
183
 
184
- #: includes/class-wcpdf-settings.php:418
 
 
 
 
 
 
 
 
 
 
185
  msgid "Shop header/logo"
186
  msgstr "Shop header/logo"
187
 
188
- #: includes/class-wcpdf-settings.php:425
189
  msgid "Select or upload your invoice header/logo"
190
  msgstr "Selecteer of upload je factuur header/logo"
191
 
192
- #: includes/class-wcpdf-settings.php:426
193
  msgid "Set image"
194
  msgstr "Stel afbeelding in"
195
 
196
- #: includes/class-wcpdf-settings.php:427
197
  msgid "Remove image"
198
  msgstr "Verwijder afbeelding"
199
 
200
- #: includes/class-wcpdf-settings.php:434
201
  msgid "Shop Name"
202
  msgstr "Shop Naam"
203
 
204
- #: includes/class-wcpdf-settings.php:448
205
  msgid "Shop Address"
206
  msgstr "Shop Adres"
207
 
208
- #: includes/class-wcpdf-settings.php:464
209
  msgid "Footer: terms & conditions, policies, etc."
210
  msgstr "Voettekst: algemene voorwaarden, retourenbeleid, etc."
211
 
212
- #: includes/class-wcpdf-settings.php:481
213
- #: includes/class-wcpdf-writepanels.php:286 templates/pdf/Simple/invoice.php:9
214
- #: templates/pdf/Simple/invoice.php:21
215
- #: woocommerce-pdf-invoices-packingslips.php:226
216
- msgid "Invoice"
217
- msgstr "Factuur"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
218
 
219
- #: includes/class-wcpdf-settings.php:488
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
220
  msgid "Display shipping address"
221
  msgstr "Geef verzendadres weer"
222
 
223
- #: includes/class-wcpdf-settings.php:495
224
  msgid ""
225
- "Display shipping address on invoice (in addition to the default billing "
226
- "address) if different from billing address"
227
  msgstr ""
228
- "Geef verzendadres weer op de factuur (naast het standaard factuuradres) "
229
- "wanneer deze verschilt van het factuuradres"
230
 
231
- #: includes/class-wcpdf-settings.php:501 includes/class-wcpdf-settings.php:675
 
232
  msgid "Display email address"
233
  msgstr "Geef email adres weer"
234
 
235
- #: includes/class-wcpdf-settings.php:513 includes/class-wcpdf-settings.php:687
 
236
  msgid "Display phone number"
237
  msgstr "Geef telefoonnummer weer"
238
 
239
- #: includes/class-wcpdf-settings.php:525
240
  msgid "Display invoice date"
241
  msgstr "Geef factuurdatum weer"
242
 
243
- #: includes/class-wcpdf-settings.php:537
244
- msgid "Invoice numbers are created by a third-party extension."
245
- msgstr "Factuurnummers zijn gemaakt door een derde-partij uitbreiding."
246
-
247
- #: includes/class-wcpdf-settings.php:540
248
- #, php-format
249
- msgid "Configure it <a href=\"%s\">here</a>."
250
- msgstr "Configureer het <a href=\"%s\">hier</a>."
251
-
252
- #: includes/class-wcpdf-settings.php:549
253
  msgid "Display invoice number"
254
  msgstr "Geef factuurnummer weer"
255
 
256
- #: includes/class-wcpdf-settings.php:549
257
- msgid "Display built-in sequential invoice number"
258
- msgstr "Geef ingebouwde doorlopende factuurnummers weer"
259
-
260
- #: includes/class-wcpdf-settings.php:566
261
  msgid "Next invoice number (without prefix/suffix etc.)"
262
  msgstr "Volgend factuurnummer (zonder voor- of achtervoegsel etc.)"
263
 
264
- #: includes/class-wcpdf-settings.php:574
265
  msgid ""
266
- "This is the number that will be used on the next invoice that is created. By "
267
- "default, numbering starts from the WooCommerce Order Number of the first "
268
- "invoice that is created and increases for every new invoice. Note that if "
269
- "you override this and set it lower than the highest (PDF) invoice number, "
270
- "this could create double invoice numbers!"
271
  msgstr ""
272
- "Dit is het nummer dat gebruikt zal worden op de eerstvolgende factuur. "
273
- "Standaard begint het nummeren vanaf het WooCommerce ordernummer van de "
274
- "eerste factuur die wordt aangemaakt, en wordt opgehoogd voor iedere nieuwe "
275
- "factuur. Let op, als je dit nummer aanpast en op een lager nummer dan het "
276
- "hoogste huidige (PDF) factuurnummer zet, kan dit dubbele factuurnummers tot "
277
- "gevolg hebben!"
278
 
279
- #: includes/class-wcpdf-settings.php:598
280
- msgid "Invoice number format"
281
- msgstr "Factuurnummer format"
282
 
283
- #: includes/class-wcpdf-settings.php:607
284
  msgid "Prefix"
285
  msgstr "Voorvoegsel"
286
 
287
- #: includes/class-wcpdf-settings.php:609
288
  msgid ""
289
  "to use the invoice year and/or month, use [invoice_year] or [invoice_month] "
290
  "respectively"
@@ -292,21 +433,21 @@ msgstr ""
292
  "om de factuur jaar en/of maand te gebruiken, gebruik respectievelijk "
293
  "[invoice_year] en [invoice_month]"
294
 
295
- #: includes/class-wcpdf-settings.php:612
296
  msgid "Suffix"
297
  msgstr "Achtervoegsel"
298
 
299
- #: includes/class-wcpdf-settings.php:617
300
  msgid "Padding"
301
  msgstr "Vulling"
302
 
303
- #: includes/class-wcpdf-settings.php:619
304
  msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
305
  msgstr ""
306
  "voer hier het aantal cijfers in - vul hier \"6\" in om 42 als 000042 weer te "
307
  "geven"
308
 
309
- #: includes/class-wcpdf-settings.php:622
310
  msgid ""
311
  "note: if you have already created a custom invoice number format with a "
312
  "filter, the above settings will be ignored"
@@ -314,187 +455,109 @@ msgstr ""
314
  "let op: als je al een format voor een factuurnummer hebt gemaakt met een "
315
  "filter, worden de bovenstaande instellingen genegeerd"
316
 
317
- #: includes/class-wcpdf-settings.php:628
318
  msgid "Reset invoice number yearly"
319
  msgstr "Reset factuurnummer jaarlijks"
320
 
321
- #: includes/class-wcpdf-settings.php:641
322
- msgid "Extended currency symbol support"
323
- msgstr "Uitgebreide support voor munteenheid symbolen"
324
-
325
- #: includes/class-wcpdf-settings.php:648
326
- msgid "Enable this if your currency symbol is not displaying properly"
327
- msgstr ""
328
- "Schakel deze optie in wanneer het symbool van jouw munteenheid niet goed "
329
- "wordt weergegeven"
330
-
331
- #: includes/class-wcpdf-settings.php:655
332
- #: templates/pdf/Simple/packing-slip.php:9
333
- #: templates/pdf/Simple/packing-slip.php:21
334
- #: woocommerce-pdf-invoices-packingslips.php:229
335
- msgid "Packing Slip"
336
- msgstr "Pakbon"
337
-
338
- #: includes/class-wcpdf-settings.php:662
339
- msgid "Display billing address"
340
- msgstr "Geef factuuradres weer"
341
-
342
- #: includes/class-wcpdf-settings.php:669
343
- msgid ""
344
- "Display billing address on packing slip (in addition to the default shipping "
345
- "address) if different from shipping address"
346
- msgstr ""
347
- "Geef factuuradres weer op de pakbon (naast het standaard verzendadres) "
348
- "wanneer deze verschilt van het verzendadres"
349
-
350
- #: includes/class-wcpdf-settings.php:700
351
- msgid "Extra template fields"
352
- msgstr "Extra templatevelden"
353
-
354
- #: includes/class-wcpdf-settings.php:707
355
- msgid "Extra field 1"
356
- msgstr "Extra veld 1"
357
-
358
- #: includes/class-wcpdf-settings.php:716
359
- msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
360
- msgstr "Dit is voettekst kolom 1 in het <i>Modern (Premium)</i> template"
361
 
362
- #: includes/class-wcpdf-settings.php:723
363
- msgid "Extra field 2"
364
- msgstr "Extra veld 2"
365
 
366
- #: includes/class-wcpdf-settings.php:732
367
- msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
368
- msgstr "Dit is voettekst kolom 2 in het <i>Modern (Premium)</i> template"
369
 
370
- #: includes/class-wcpdf-settings.php:739
371
- msgid "Extra field 3"
372
- msgstr "Extra veld 3"
373
 
374
- #: includes/class-wcpdf-settings.php:748
375
- msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
376
- msgstr "Dit is voettekst kolom 3 in het <i>Modern (Premium)</i> template"
377
 
378
- #: includes/class-wcpdf-settings.php:770
379
- msgid "Debug settings"
380
- msgstr "Debug instellingen"
381
 
382
- #: includes/class-wcpdf-settings.php:777
383
- msgid "Enable debug output"
384
- msgstr "Debug uitvoer inschakelen"
385
 
386
- #: includes/class-wcpdf-settings.php:784
387
  msgid ""
388
- "Enable this option to output plugin errors if you're getting a blank page or "
389
- "other PDF generation issues"
390
  msgstr ""
391
- "Schakel deze optie in om pluginfouten weer te geven, wanneer je een lege "
392
- "pagina krijgt of andere problemen hebt met het genereren van PDF."
393
 
394
- #: includes/class-wcpdf-settings.php:790
395
- msgid "Output to HTML"
396
- msgstr "Uitvoer naar HTML"
397
-
398
- #: includes/class-wcpdf-settings.php:797
399
- msgid ""
400
- "Send the template output as HTML to the browser instead of creating a PDF."
401
- msgstr ""
402
- "Stuur de uitvoer van de template als HTML naar de browser in plaats van een "
403
- "PDF."
404
 
405
- #: includes/class-wcpdf-settings.php:803
406
- msgid "Use old tmp folder"
407
- msgstr "Gebruik de oude tmp folder"
 
408
 
409
- #: includes/class-wcpdf-settings.php:810
410
- msgid ""
411
- "Before version 1.5 of PDF Invoices, temporary files were stored in the "
412
- "plugin folder. This setting is only intended for backwards compatibility, "
413
- "not recommended on new installs!"
414
- msgstr ""
415
- "Voor versie 1.5 van PDF Facturen werden tijdelijke bestanden opgeslagen in "
416
- "de plugin map. Deze instelling is enkel bedoelde voor backwards "
417
- "compatibiliteit, en niet aanbevolen op nieuwe installaties!"
418
 
419
- #: includes/class-wcpdf-settings.php:1225
420
- msgid "Image resolution"
421
- msgstr "Afbeeldings resolutie"
 
 
422
 
423
- #: includes/class-wcpdf-settings.php:1341
424
- msgid ""
425
- "<b>Warning!</b> The settings below are meant for debugging/development only. "
426
- "Do not use them on a live website!"
427
- msgstr ""
428
- "<b>Waarschuwing!</b> Onderstaande instellingen zijn enkel bedoeld om fouten "
429
- "op te sporen of om te testen. Gebruik ze niet op een live website!"
430
 
431
- #: includes/class-wcpdf-settings.php:1350
432
  msgid ""
433
- "These are used for the (optional) footer columns in the <em>Modern "
434
- "(Premium)</em> template, but can also be used for other elements in your "
435
- "custom template"
436
  msgstr ""
437
- "Deze velden worden gebruikt voor de (optionele) voettekst kolommen in het "
438
- "<em>Modern (Premium)</em> template, maar kunnen ook gebruikt worden voor "
439
- "andere elementen in je eigen custom sjabloon."
440
 
441
- #: includes/class-wcpdf-writepanels.php:33
442
- msgid "PDF Packing Slips"
443
- msgstr "PDF Pakbonnen"
444
 
445
- #: includes/class-wcpdf-writepanels.php:120
446
- #: includes/class-wcpdf-writepanels.php:253
447
- msgid "PDF Invoice"
448
- msgstr "PDF factuur"
449
 
450
- #: includes/class-wcpdf-writepanels.php:125
451
- #: includes/class-wcpdf-writepanels.php:258
452
- msgid "PDF Packing Slip"
453
- msgstr "PDF Pakbon"
454
-
455
- #: includes/class-wcpdf-writepanels.php:152
456
- msgid "Invoice Number"
457
- msgstr "Factuurnummer"
458
-
459
- #: includes/class-wcpdf-writepanels.php:211
460
- msgid "Download invoice (PDF)"
461
- msgstr "Download factuur (PDF)"
462
-
463
- #: includes/class-wcpdf-writepanels.php:225
464
- msgid "Create PDF"
465
- msgstr "Maak PDF"
466
-
467
- #: includes/class-wcpdf-writepanels.php:235
468
- msgid "PDF Invoice data"
469
- msgstr "PDF Factuur gegevens"
470
-
471
- #: includes/class-wcpdf-writepanels.php:288
472
- msgid "Invoice Number (unformatted!)"
473
- msgstr "Factuurnummer (zonder formatting!)"
474
-
475
- #: includes/class-wcpdf-writepanels.php:296 templates/pdf/Simple/invoice.php:55
476
- msgid "Invoice Date:"
477
- msgstr "Factuurdatum:"
478
-
479
- #: includes/class-wcpdf-writepanels.php:298
480
- #: includes/class-wcpdf-writepanels.php:300
481
- msgid "h"
482
- msgstr "u"
483
 
484
- #: includes/class-wcpdf-writepanels.php:298
485
- #: includes/class-wcpdf-writepanels.php:300
486
- msgid "m"
487
- msgstr "m"
488
 
489
- #: includes/wcpdf-extensions.php:15
490
  msgid "Check out these premium extensions!"
491
  msgstr "Bekijk deze premium uitbreidingen!"
492
 
493
- #: includes/wcpdf-extensions.php:16
494
  msgid "click items to read more"
495
  msgstr "Klik op de items om meer te lezen"
496
 
497
- #: includes/wcpdf-extensions.php:21
498
  msgid ""
499
  "Premium PDF Invoice bundle: Everything you need for a perfect invoicing "
500
  "system"
@@ -502,7 +565,7 @@ msgstr ""
502
  "Premie PDF factuur bundel: alles wat je nodig hebt voor een perfect "
503
  "facturatie systeem"
504
 
505
- #: includes/wcpdf-extensions.php:23
506
  msgid ""
507
  "Supercharge WooCommerce PDF Invoices & Packing Slips with the all our "
508
  "premium extensions:"
@@ -510,15 +573,17 @@ msgstr ""
510
  "Geef WooCommerce PDF Invoices & Packing Slips een boost met al onze premium "
511
  "uitbreidingen:"
512
 
513
- #: includes/wcpdf-extensions.php:24
514
  msgid "Professional features:"
515
  msgstr "Professionele functies:"
516
 
517
- #: includes/wcpdf-extensions.php:26 includes/wcpdf-extensions.php:56
 
518
  msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
519
  msgstr "Email/print/download <b>PDF Credit Nota's & Pro-forma facturen</b>"
520
 
521
- #: includes/wcpdf-extensions.php:27 includes/wcpdf-extensions.php:57
 
522
  msgid ""
523
  "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
524
  "packing slips, for example to a drop-shipper or a supplier."
@@ -526,7 +591,8 @@ msgstr ""
526
  "Verstuur een aparte <b>notificatie email</b> met (of zonder) PDF facturen/"
527
  "pakbonnen, bijvoorbeeld naar een drop-shipper of een leverancier."
528
 
529
- #: includes/wcpdf-extensions.php:28 includes/wcpdf-extensions.php:58
 
530
  msgid ""
531
  "Attach <b>up to 3 static files</b> (for example a terms & conditions "
532
  "document) to the WooCommerce emails of your choice."
@@ -534,7 +600,8 @@ msgstr ""
534
  "Voeg tot <b>3 vaste bestandsbijlagen</b> (bijvoorbeeld algemene voorwaarden) "
535
  "toe aan WooCommerce emails naar keuze."
536
 
537
- #: includes/wcpdf-extensions.php:29 includes/wcpdf-extensions.php:59
 
538
  msgid ""
539
  "Use <b>separate numbering systems</b> and/or format for proforma invoices "
540
  "and credit notes or utilize the main invoice numbering system"
@@ -542,7 +609,8 @@ msgstr ""
542
  "Gebruik <b>losse nummersystemen</b> en/of formats voor pro-forma facturen en "
543
  "credit notes, of gebruik het hoofd factuurnummersysteem."
544
 
545
- #: includes/wcpdf-extensions.php:30 includes/wcpdf-extensions.php:60
 
546
  msgid ""
547
  "<b>Customize</b> the <b>shipping & billing address</b> format to include "
548
  "additional custom fields, font sizes etc. without the need to create a "
@@ -551,15 +619,18 @@ msgstr ""
551
  "<b>Pas het verzend- en factuuradres aan</b> met custom velden, verschillende "
552
  "fontgroottes etc, zonder daarvoor een custom template aan te maken."
553
 
554
- #: includes/wcpdf-extensions.php:31 includes/wcpdf-extensions.php:61
 
555
  msgid "Use the plugin in multilingual <b>WPML</b> setups"
556
  msgstr "Gebruik de plugin in meertalige <b>WPML</b> setups"
557
 
558
- #: includes/wcpdf-extensions.php:33 includes/wcpdf-extensions.php:131
 
559
  msgid "Advanced, customizable templates"
560
  msgstr "Geavanceerde, aanpasbare templates"
561
 
562
- #: includes/wcpdf-extensions.php:35 includes/wcpdf-extensions.php:134
 
563
  msgid ""
564
  "Completely customize the invoice contents (prices, taxes, thumbnails) to "
565
  "your needs with a drag & drop customizer"
@@ -567,15 +638,17 @@ msgstr ""
567
  "Past de inhoud van de factuur (prijzen, BTW, thumbnails) volledig naar je "
568
  "wensen aan met een eenvoudige drag & drop interface"
569
 
570
- #: includes/wcpdf-extensions.php:36 includes/wcpdf-extensions.php:135
 
571
  msgid "Two extra stylish premade templates (Modern & Business)"
572
  msgstr "Twee extra stijlvolle voorgeconfigureerde templates (Moden & Business)"
573
 
574
- #: includes/wcpdf-extensions.php:38
575
  msgid "Upload automatically to dropbox"
576
  msgstr "Automatisch uploaden naar dropbox"
577
 
578
- #: includes/wcpdf-extensions.php:40 includes/wcpdf-extensions.php:97
 
579
  msgid ""
580
  "This extension conveniently uploads all the invoices (and other pdf "
581
  "documents from the professional extension) that are emailed to your "
@@ -586,15 +659,15 @@ msgstr ""
586
  "professional extensie) die worden ge-emaild naar je klanten naar Dropbox. De "
587
  "beste manier om je factuur administratie up te date te houden!"
588
 
589
- #: includes/wcpdf-extensions.php:43
590
  msgid "Get WooCommerce PDF Invoices & Packing Slips Bundle"
591
  msgstr "Neem decWooCommerce PDF Invoices & Packing Slips Bundel!"
592
 
593
- #: includes/wcpdf-extensions.php:52
594
  msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
595
  msgstr "Go Pro: Pro-forma facturen, credit nota's (=refunds) & meer!"
596
 
597
- #: includes/wcpdf-extensions.php:54
598
  msgid ""
599
  "Supercharge WooCommerce PDF Invoices & Packing Slips with the following "
600
  "features:"
@@ -602,23 +675,23 @@ msgstr ""
602
  "Geef WooCommerce PDF Invoices & Packing Slips een boost met de volgende "
603
  "functies:"
604
 
605
- #: includes/wcpdf-extensions.php:63
606
  msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
607
  msgstr "Neem WooCommerce PDF Invoices & Packing Slips Professional!"
608
 
609
- #: includes/wcpdf-extensions.php:71
610
  msgid "Automatically send payment reminders to your customers"
611
  msgstr "Verstuur automatisch betalingsherrinneringen naar je klanten"
612
 
613
- #: includes/wcpdf-extensions.php:73
614
  msgid "WooCommerce Smart Reminder emails"
615
  msgstr "WooCommerce Smart Reminder Emails"
616
 
617
- #: includes/wcpdf-extensions.php:75
618
  msgid "<b>Completely automatic</b> scheduled emails"
619
  msgstr "<b>Volledig automatisch</b> ingeplande/verstuurde e-mails"
620
 
621
- #: includes/wcpdf-extensions.php:76
622
  msgid ""
623
  "<b>Rich text editor</b> for the email text, including placeholders for data "
624
  "from the order (name, order total, etc)"
@@ -627,7 +700,7 @@ msgstr ""
627
  "inclusief placeholders voor gegevens uit de bestelling (ordertotaal, naam, "
628
  "enz)"
629
 
630
- #: includes/wcpdf-extensions.php:77
631
  msgid ""
632
  "Configure the exact requirements for sending an email (time after order, "
633
  "order status, payment method)"
@@ -635,7 +708,7 @@ msgstr ""
635
  "Stel exacte vereisten voor het versturen van een email in (tijd na de order, "
636
  "orderstatus, betaalmethode, enz.)"
637
 
638
- #: includes/wcpdf-extensions.php:78
639
  msgid ""
640
  "Fully <b>WPML Compatible</b> – emails will be automatically sent in the "
641
  "order language."
@@ -643,7 +716,7 @@ msgstr ""
643
  "Volledig <b>Compatible met WPML</b> – e-mails worden automatisch verzonden "
644
  "in de taal van de bestelling."
645
 
646
- #: includes/wcpdf-extensions.php:79
647
  msgid ""
648
  "<b>Super versatile!</b> Can be used for any kind of reminder email (review "
649
  "reminders, repeat purchases)"
@@ -651,23 +724,23 @@ msgstr ""
651
  "<b>Super veelzijdig!</b> Kan worden gebruikt voor elke soort "
652
  "herinneringsemail (review herinneringen, herhalende aankopen)"
653
 
654
- #: includes/wcpdf-extensions.php:80
655
  msgid "Integrates seamlessly with the PDF Invoices & Packing Slips plugin"
656
  msgstr "Integreert naadloos met de PDF Invoices & Packing Slips plugin"
657
 
658
- #: includes/wcpdf-extensions.php:82
659
  msgid "Get WooCommerce Smart Reminder Emails"
660
  msgstr "Neem WooCommerce Smart Reminder Emails"
661
 
662
- #: includes/wcpdf-extensions.php:91
663
  msgid "Upload all invoices automatically to your dropbox"
664
  msgstr "Upload alle facturen automatisch naar je Dropbox"
665
 
666
- #: includes/wcpdf-extensions.php:98
667
  msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
668
  msgstr "Neem WooCommerce PDF Invoices & Packing Slips to dropbox!"
669
 
670
- #: includes/wcpdf-extensions.php:110
671
  msgid ""
672
  "Automatically send new orders or packing slips to your printer, as soon as "
673
  "the customer orders!"
@@ -675,7 +748,7 @@ msgstr ""
675
  "Verstuur nieuwe orders of pakbonnen automatisch naar je printer, zodra een "
676
  "klant een bestelling plaatst."
677
 
678
- #: includes/wcpdf-extensions.php:116
679
  msgid ""
680
  "Check out the WooCommerce Automatic Order Printing extension from our "
681
  "partners at Simba Hosting"
@@ -683,90 +756,93 @@ msgstr ""
683
  "Bekijk de WooCommerce Automatic Order Printing extensie van onze parters van "
684
  "Simba Hosting"
685
 
686
- #: includes/wcpdf-extensions.php:117
687
  msgid "WooCommerce Automatic Order Printing"
688
  msgstr "WooCommerce Automatic Order Printing"
689
 
690
- #: includes/wcpdf-extensions.php:136
691
  #, php-format
692
  msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
693
  msgstr "Bekijk de Premium PDF Invoice & Packing Slips templates op %s."
694
 
695
- #: includes/wcpdf-extensions.php:137
696
  #, php-format
697
  msgid "For custom templates, contact us at %s."
698
  msgstr "Neem voor custom templates contact met ons op via %s"
699
 
700
- #: includes/wcpdf-extensions.php:146
701
  msgid "Hide this message"
702
  msgstr "Verberg dit bericht"
703
 
704
- #: templates/pdf/Simple/invoice.php:29 templates/pdf/Simple/packing-slip.php:40
 
 
 
 
705
  msgid "Billing Address:"
706
  msgstr "Factuuradres:"
707
 
708
- #: templates/pdf/Simple/invoice.php:40
709
  msgid "Ship To:"
710
  msgstr "Verzenden naar:"
711
 
712
- #: templates/pdf/Simple/invoice.php:49
713
  msgid "Invoice Number:"
714
  msgstr "Factuurnummer:"
715
 
716
- #: templates/pdf/Simple/invoice.php:60 templates/pdf/Simple/packing-slip.php:48
717
  msgid "Order Number:"
718
  msgstr "Ordernummer:"
719
 
720
- #: templates/pdf/Simple/invoice.php:64 templates/pdf/Simple/packing-slip.php:52
721
  msgid "Order Date:"
722
  msgstr "Orderdatum:"
723
 
724
- #: templates/pdf/Simple/invoice.php:68
725
  msgid "Payment Method:"
726
  msgstr "Betaalmethode:"
727
 
728
- #: templates/pdf/Simple/invoice.php:82 templates/pdf/Simple/packing-slip.php:70
729
  msgid "Product"
730
  msgstr "Product"
731
 
732
- #: templates/pdf/Simple/invoice.php:83 templates/pdf/Simple/packing-slip.php:71
733
  msgid "Quantity"
734
  msgstr "Hoeveelheid"
735
 
736
- #: templates/pdf/Simple/invoice.php:84
737
  msgid "Price"
738
  msgstr "Prijs"
739
 
740
- #: templates/pdf/Simple/invoice.php:91 templates/pdf/Simple/packing-slip.php:78
741
  msgid "Description"
742
  msgstr "Omschrijving"
743
 
744
- #: templates/pdf/Simple/invoice.php:96 templates/pdf/Simple/packing-slip.php:83
745
  msgid "SKU"
746
  msgstr "Artikelnummer"
747
 
748
- #: templates/pdf/Simple/invoice.php:97 templates/pdf/Simple/packing-slip.php:84
749
  msgid "SKU:"
750
  msgstr "SKU:"
751
 
752
- #: templates/pdf/Simple/invoice.php:98 templates/pdf/Simple/packing-slip.php:85
753
  msgid "Weight:"
754
  msgstr "Gewicht:"
755
 
756
- #: templates/pdf/Simple/invoice.php:112
757
- #: templates/pdf/Simple/packing-slip.php:99
758
  msgid "Customer Notes"
759
  msgstr "Opmerking klant:"
760
 
761
- #: templates/pdf/Simple/packing-slip.php:29
762
  msgid "Shipping Address:"
763
  msgstr "Verzendadres:"
764
 
765
- #: templates/pdf/Simple/packing-slip.php:56
766
  msgid "Shipping Method:"
767
  msgstr "Verzendmethode:"
768
 
769
- #: woocommerce-pdf-invoices-packingslips.php:123
770
  #, php-format
771
  msgid ""
772
  "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
@@ -775,56 +851,109 @@ msgstr ""
775
  "WooCommerce PDF Invoices & Packing Slips vereist dat %sWooCommerce%s is "
776
  "geïnstalleerd & geactiveerd!"
777
 
778
- #: woocommerce-pdf-invoices-packingslips.php:377
779
- #: woocommerce-pdf-invoices-packingslips.php:438
780
- msgid "N/A"
781
- msgstr "N/A"
 
 
 
782
 
783
- #: woocommerce-pdf-invoices-packingslips.php:533
784
- msgid "Payment method"
785
- msgstr "Betaalmethode"
786
 
787
- #: woocommerce-pdf-invoices-packingslips.php:552
788
- msgid "Shipping method"
789
- msgstr "Verzendmethode"
790
 
791
- #: woocommerce-pdf-invoices-packingslips.php:712
792
- #, php-format
793
- msgid "(includes %s)"
794
- msgstr ""
795
 
796
- #: woocommerce-pdf-invoices-packingslips.php:715
797
- #, php-format
798
- msgid "(Includes %s)"
799
- msgstr ""
 
 
800
 
801
- #: woocommerce-pdf-invoices-packingslips.php:744
802
- msgid "Subtotal"
803
- msgstr "Subtotaal"
804
 
805
- #: woocommerce-pdf-invoices-packingslips.php:766
806
- msgid "Shipping"
807
- msgstr "Verzendkosten"
 
 
 
808
 
809
- #: woocommerce-pdf-invoices-packingslips.php:829
810
- msgid "Discount"
811
- msgstr "Korting"
 
 
 
 
 
 
 
 
 
 
812
 
813
- #: woocommerce-pdf-invoices-packingslips.php:870
814
- msgid "VAT"
815
- msgstr "BTW"
816
 
817
- #: woocommerce-pdf-invoices-packingslips.php:871
818
- msgid "Tax rate"
819
- msgstr "BTW tarief"
 
 
 
820
 
821
- #: woocommerce-pdf-invoices-packingslips.php:908
822
- msgid "Total ex. VAT"
823
- msgstr "Totaal excl. BTW"
824
 
825
- #: woocommerce-pdf-invoices-packingslips.php:911
826
- msgid "Total"
827
- msgstr "Totaal"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
828
 
829
  #~ msgid ""
830
  #~ "to use the order year and/or month, use [order_year] or [order_month] "
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-06-13 13:13+0200\n"
6
+ "PO-Revision-Date: 2017-06-13 13:15+0200\n"
7
  "Last-Translator: Ewout Fernhout <chocolade@extrapuur.nl>\n"
8
  "Language-Team: WP Overnight <support@wpovernight.com>\n"
9
  "Language: nl_NL\n"
16
  "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
17
  "X-Poedit-Basepath: ..\n"
18
  "X-Textdomain-Support: yes\n"
19
+ "X-Generator: Poedit 1.8.12\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
 
22
+ #: includes/class-wcpdf-admin.php:72 includes/class-wcpdf-admin.php:174
23
+ msgid "Invoice Number"
24
+ msgstr "Factuurnummer"
 
 
 
 
 
25
 
26
+ #: includes/class-wcpdf-admin.php:105
27
+ msgid "Create PDF"
28
+ msgstr "Maak PDF"
 
 
29
 
30
+ #: includes/class-wcpdf-admin.php:115
31
+ msgid "PDF Invoice data"
32
+ msgstr "PDF Factuur gegevens"
 
 
33
 
34
+ #: includes/class-wcpdf-admin.php:166
35
+ #: includes/documents/class-wcpdf-invoice.php:32
36
+ #: includes/documents/class-wcpdf-invoice.php:41
37
+ #: includes/legacy/class-wcpdf-legacy-functions.php:22
38
+ #: templates/Simple/invoice.php:10 templates/Simple/invoice.php:22
39
+ msgid "Invoice"
40
+ msgstr "Factuur"
41
 
42
+ #: includes/class-wcpdf-admin.php:183 includes/class-wcpdf-admin.php:204
43
+ #: templates/Simple/invoice.php:56
44
+ msgid "Invoice Date:"
45
+ msgstr "Factuurdatum:"
46
 
47
+ #: includes/class-wcpdf-admin.php:189
48
+ msgid "Set invoice number & date"
49
+ msgstr "Stel factuurnummer & datum in"
50
 
51
+ #: includes/class-wcpdf-admin.php:196
52
+ msgid "Invoice Number (unformatted!)"
53
+ msgstr "Factuurnummer (zonder formatting!)"
54
 
55
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
56
+ msgid "h"
57
+ msgstr "u"
58
 
59
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
60
+ msgid "m"
61
+ msgstr "m"
62
 
63
+ #: includes/class-wcpdf-frontend.php:55
64
+ msgid "Download invoice (PDF)"
65
+ msgstr "Download factuur (PDF)"
66
 
67
+ #: includes/class-wcpdf-main.php:132 includes/class-wcpdf-main.php:153
68
+ #: includes/class-wcpdf-main.php:160 includes/class-wcpdf-main.php:166
69
+ msgid "You do not have sufficient permissions to access this page."
70
+ msgstr "Je hebt onvoldoende rechten voor deze pagina."
71
 
72
+ #: includes/class-wcpdf-main.php:141
73
+ msgid "Some of the export parameters are missing."
74
+ msgstr "Er ontbreken export parameters"
75
 
76
+ #: includes/class-wcpdf-settings-callbacks.php:27
77
+ msgid ""
78
+ "<b>Warning!</b> The settings below are meant for debugging/development only. "
79
+ "Do not use them on a live website!"
80
+ msgstr ""
81
+ "<b>Waarschuwing!</b> Onderstaande instellingen zijn enkel bedoeld om fouten "
82
+ "op te sporen of om te testen. Gebruik ze niet op een live website!"
83
 
84
+ #: includes/class-wcpdf-settings-callbacks.php:36
85
+ msgid ""
86
+ "These are used for the (optional) footer columns in the <em>Modern "
87
+ "(Premium)</em> template, but can also be used for other elements in your "
88
+ "custom template"
89
+ msgstr ""
90
+ "Deze velden worden gebruikt voor de (optionele) voettekst kolommen in het "
91
+ "<em>Modern (Premium)</em> template, maar kunnen ook gebruikt worden voor "
92
+ "andere elementen in je eigen custom sjabloon."
93
 
94
+ #: includes/class-wcpdf-settings-callbacks.php:301
95
+ msgid "Image resolution"
96
+ msgstr "Afbeeldings resolutie"
97
 
98
+ #: includes/class-wcpdf-settings-callbacks.php:325
99
+ msgid "Save"
100
+ msgstr "Opslaan"
101
 
102
+ #: includes/class-wcpdf-settings-debug.php:34
103
+ msgid "Debug settings"
104
+ msgstr "Debug instellingen"
105
 
106
+ #: includes/class-wcpdf-settings-debug.php:40
107
+ msgid "Legacy mode"
108
+ msgstr "Compatibiliteitsmodus"
109
 
110
+ #: includes/class-wcpdf-settings-debug.php:46
 
111
  msgid ""
112
+ "Legacy mode ensures compatibility with templates and filters from previous "
113
+ "versions."
 
114
  msgstr ""
115
+ "Compatibiliteitsmodus zorgt ervoor dat templates en filters uit eerdere "
116
+ "versies gebruikt kunnen worden."
 
117
 
118
+ #: includes/class-wcpdf-settings-debug.php:52
119
+ msgid "Enable debug output"
120
+ msgstr "Debug uitvoer inschakelen"
121
 
122
+ #: includes/class-wcpdf-settings-debug.php:58
123
  msgid ""
124
+ "Enable this option to output plugin errors if you're getting a blank page or "
125
+ "other PDF generation issues"
126
  msgstr ""
127
+ "Schakel deze optie in om pluginfouten weer te geven, wanneer je een lege "
128
+ "pagina krijgt of andere problemen hebt met het genereren van PDF."
129
 
130
+ #: includes/class-wcpdf-settings-debug.php:64
131
+ msgid "Output to HTML"
132
+ msgstr "Uitvoer naar HTML"
133
 
134
+ #: includes/class-wcpdf-settings-debug.php:70
135
+ msgid ""
136
+ "Send the template output as HTML to the browser instead of creating a PDF."
137
+ msgstr ""
138
+ "Stuur de uitvoer van de template als HTML naar de browser in plaats van een "
139
+ "PDF."
140
 
141
+ #: includes/class-wcpdf-settings-documents.php:29
142
+ #: includes/class-wcpdf-settings.php:84
143
+ msgid "Documents"
144
+ msgstr "Documenten"
145
 
146
+ #: includes/class-wcpdf-settings-documents.php:45
147
+ msgid ""
148
+ "All available documents are listed below. Click on a document to configure "
149
+ "it."
150
+ msgstr ""
151
+ "Hieronder staan alle beschikbare documenten. Klik op een document te "
152
+ "configureren."
153
 
154
+ #: includes/class-wcpdf-settings-general.php:37
155
+ msgid "General settings"
156
+ msgstr "Algemene instellingen"
157
 
158
+ #: includes/class-wcpdf-settings-general.php:43
159
+ msgid "How do you want to view the PDF?"
160
+ msgstr "Hoe wil je de PDF bekijken?"
161
 
162
+ #: includes/class-wcpdf-settings-general.php:50
163
+ msgid "Download the PDF"
164
+ msgstr "Download de PDF"
165
 
166
+ #: includes/class-wcpdf-settings-general.php:51
167
+ msgid "Open the PDF in a new browser tab/window"
168
+ msgstr "Open de PDF in een nieuwe browser tab/venster"
169
 
170
+ #: includes/class-wcpdf-settings-general.php:58
171
  msgid "Choose a template"
172
  msgstr "Kies een template"
173
 
174
+ #: includes/class-wcpdf-settings-general.php:65
175
  #, php-format
176
  msgid ""
177
  "Want to use your own template? Copy all the files from <code>%s</code> to "
180
  "Wil je je eigen template gebruiken? Kopieer alle bestanden van <code>%s</"
181
  "code> naar je (child-) theme in <code>%s</code> en pas ze aan naar je wensen."
182
 
183
+ #: includes/class-wcpdf-settings-general.php:71
184
  msgid "Paper size"
185
  msgstr "Papierformaat"
186
 
187
+ #: includes/class-wcpdf-settings-general.php:78
188
  msgid "A4"
189
  msgstr "A4"
190
 
191
+ #: includes/class-wcpdf-settings-general.php:79
192
  msgid "Letter"
193
  msgstr "Letter (US)"
194
 
195
+ #: includes/class-wcpdf-settings-general.php:86
196
+ msgid "Extended currency symbol support"
197
+ msgstr "Uitgebreide support voor munteenheid symbolen"
198
+
199
+ #: includes/class-wcpdf-settings-general.php:92
200
+ msgid "Enable this if your currency symbol is not displaying properly"
201
+ msgstr ""
202
+ "Schakel deze optie in wanneer het symbool van jouw munteenheid niet goed "
203
+ "wordt weergegeven"
204
+
205
+ #: includes/class-wcpdf-settings-general.php:98
206
  msgid "Shop header/logo"
207
  msgstr "Shop header/logo"
208
 
209
+ #: includes/class-wcpdf-settings-general.php:104
210
  msgid "Select or upload your invoice header/logo"
211
  msgstr "Selecteer of upload je factuur header/logo"
212
 
213
+ #: includes/class-wcpdf-settings-general.php:105
214
  msgid "Set image"
215
  msgstr "Stel afbeelding in"
216
 
217
+ #: includes/class-wcpdf-settings-general.php:106
218
  msgid "Remove image"
219
  msgstr "Verwijder afbeelding"
220
 
221
+ #: includes/class-wcpdf-settings-general.php:113
222
  msgid "Shop Name"
223
  msgstr "Shop Naam"
224
 
225
+ #: includes/class-wcpdf-settings-general.php:126
226
  msgid "Shop Address"
227
  msgstr "Shop Adres"
228
 
229
+ #: includes/class-wcpdf-settings-general.php:141
230
  msgid "Footer: terms & conditions, policies, etc."
231
  msgstr "Voettekst: algemene voorwaarden, retourenbeleid, etc."
232
 
233
+ #: includes/class-wcpdf-settings-general.php:156
234
+ msgid "Extra template fields"
235
+ msgstr "Extra templatevelden"
236
+
237
+ #: includes/class-wcpdf-settings-general.php:162
238
+ msgid "Extra field 1"
239
+ msgstr "Extra veld 1"
240
+
241
+ #: includes/class-wcpdf-settings-general.php:170
242
+ msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
243
+ msgstr "Dit is voettekst kolom 1 in het <i>Modern (Premium)</i> template"
244
+
245
+ #: includes/class-wcpdf-settings-general.php:177
246
+ msgid "Extra field 2"
247
+ msgstr "Extra veld 2"
248
+
249
+ #: includes/class-wcpdf-settings-general.php:185
250
+ msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
251
+ msgstr "Dit is voettekst kolom 2 in het <i>Modern (Premium)</i> template"
252
+
253
+ #: includes/class-wcpdf-settings-general.php:192
254
+ msgid "Extra field 3"
255
+ msgstr "Extra veld 3"
256
+
257
+ #: includes/class-wcpdf-settings-general.php:200
258
+ msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
259
+ msgstr "Dit is voettekst kolom 3 in het <i>Modern (Premium)</i> template"
260
+
261
+ #: includes/class-wcpdf-settings.php:45 includes/class-wcpdf-settings.php:46
262
+ msgid "PDF Invoices"
263
+ msgstr "PDF facturen"
264
+
265
+ #: includes/class-wcpdf-settings.php:58
266
+ msgid "Settings"
267
+ msgstr "Instellingen"
268
+
269
+ #: includes/class-wcpdf-settings.php:71
270
+ msgid "Documentation"
271
+ msgstr "Documentatie"
272
+
273
+ #: includes/class-wcpdf-settings.php:72
274
+ msgid "Support Forum"
275
+ msgstr "Support Forum"
276
+
277
+ #: includes/class-wcpdf-settings.php:83
278
+ msgid "General"
279
+ msgstr "Algemeen"
280
+
281
+ #: includes/class-wcpdf-settings.php:89
282
+ msgid "Status"
283
+ msgstr "Status"
284
+
285
+ #: includes/compatibility/class-wc-core-compatibility.php:222
286
+ msgid "WooCommerce"
287
+ msgstr "WooCommerce"
288
+
289
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:113
290
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:176
291
+ msgid "N/A"
292
+ msgstr "N/A"
293
+
294
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:305
295
+ msgid "Payment method"
296
+ msgstr "Betaalmethode"
297
+
298
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:326
299
+ msgid "Shipping method"
300
+ msgstr "Verzendmethode"
301
+
302
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:669
303
+ #, php-format
304
+ msgid "(includes %s)"
305
+ msgstr "(inclusief %s)"
306
+
307
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:672
308
+ #, php-format
309
+ msgid "(Includes %s)"
310
+ msgstr "(Inclusief %s)"
311
+
312
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:702
313
+ msgid "Subtotal"
314
+ msgstr "Subtotaal"
315
+
316
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:727
317
+ msgid "Shipping"
318
+ msgstr "Verzendkosten"
319
+
320
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:790
321
+ msgid "Discount"
322
+ msgstr "Korting"
323
+
324
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:831
325
+ msgid "VAT"
326
+ msgstr "BTW"
327
+
328
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:832
329
+ msgid "Tax rate"
330
+ msgstr "BTW tarief"
331
+
332
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:876
333
+ msgid "Total ex. VAT"
334
+ msgstr "Totaal excl. BTW"
335
+
336
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:879
337
+ msgid "Total"
338
+ msgstr "Totaal"
339
+
340
+ #: includes/documents/abstract-wcpdf-order-document.php:679
341
+ msgid "Admin email"
342
+ msgstr "Admin email"
343
+
344
+ #: includes/documents/abstract-wcpdf-order-document.php:682
345
+ msgid "Manual email"
346
+ msgstr "Handmatige email"
347
 
348
+ #: includes/documents/class-wcpdf-invoice.php:85
349
+ msgid "invoice"
350
+ msgid_plural "invoices"
351
+ msgstr[0] "factuur"
352
+ msgstr[1] "facturen"
353
+
354
+ #: includes/documents/class-wcpdf-invoice.php:130
355
+ #: includes/documents/class-wcpdf-packing-slip.php:94
356
+ msgid "Enable"
357
+ msgstr "Inschakelen"
358
+
359
+ #: includes/documents/class-wcpdf-invoice.php:141
360
+ msgid "Attach to:"
361
+ msgstr "Als bijlage toevoegen aan:"
362
+
363
+ #: includes/documents/class-wcpdf-invoice.php:148
364
+ #, php-format
365
+ msgid ""
366
+ "It looks like the temp folder (<code>%s</code>) is not writable, check the "
367
+ "permissions for this folder! Without having write access to this folder, the "
368
+ "plugin will not be able to email invoices."
369
+ msgstr ""
370
+ "Het lijkt erop dat de temp folder (<code>%s</code>) niet schrijfbaar is, "
371
+ "controleer de rechten op deze folder! Zonder schrijfrechten kan de plugin "
372
+ "geen facturen emailen."
373
+
374
+ #: includes/documents/class-wcpdf-invoice.php:154
375
  msgid "Display shipping address"
376
  msgstr "Geef verzendadres weer"
377
 
378
+ #: includes/documents/class-wcpdf-invoice.php:160
379
  msgid ""
380
+ "Display shipping address (in addition to the default billing address) if "
381
+ "different from billing address"
382
  msgstr ""
383
+ "Geef factuuradres weer (naast het standaard verzendadres) wanneer deze "
384
+ "verschilt van het verzendadres"
385
 
386
+ #: includes/documents/class-wcpdf-invoice.php:166
387
+ #: includes/documents/class-wcpdf-packing-slip.php:117
388
  msgid "Display email address"
389
  msgstr "Geef email adres weer"
390
 
391
+ #: includes/documents/class-wcpdf-invoice.php:177
392
+ #: includes/documents/class-wcpdf-packing-slip.php:128
393
  msgid "Display phone number"
394
  msgstr "Geef telefoonnummer weer"
395
 
396
+ #: includes/documents/class-wcpdf-invoice.php:188
397
  msgid "Display invoice date"
398
  msgstr "Geef factuurdatum weer"
399
 
400
+ #: includes/documents/class-wcpdf-invoice.php:200
 
 
 
 
 
 
 
 
 
401
  msgid "Display invoice number"
402
  msgstr "Geef factuurnummer weer"
403
 
404
+ #: includes/documents/class-wcpdf-invoice.php:212
 
 
 
 
405
  msgid "Next invoice number (without prefix/suffix etc.)"
406
  msgstr "Volgend factuurnummer (zonder voor- of achtervoegsel etc.)"
407
 
408
+ #: includes/documents/class-wcpdf-invoice.php:218
409
  msgid ""
410
+ "This is the number that will be used for the next document. By default, "
411
+ "numbering starts from 1 and increases for every new document. Note that if "
412
+ "you override this and set it lower than the current/highest number, this "
413
+ "could create duplicate numbers!"
 
414
  msgstr ""
415
+ "Dit is het nummer dat wordt gebruikt voor het volgende document. Standaard "
416
+ "nummering begint vanaf 1 en wordt verhoogd voor elk nieuw document. Let op "
417
+ "dat als u deze overschrijft en lager instelt dan het huidige/hoogste nummer, "
418
+ "dit dubbele nummers kan opleveren!"
 
 
419
 
420
+ #: includes/documents/class-wcpdf-invoice.php:224
421
+ msgid "Number format"
422
+ msgstr "Nummer format"
423
 
424
+ #: includes/documents/class-wcpdf-invoice.php:232
425
  msgid "Prefix"
426
  msgstr "Voorvoegsel"
427
 
428
+ #: includes/documents/class-wcpdf-invoice.php:234
429
  msgid ""
430
  "to use the invoice year and/or month, use [invoice_year] or [invoice_month] "
431
  "respectively"
433
  "om de factuur jaar en/of maand te gebruiken, gebruik respectievelijk "
434
  "[invoice_year] en [invoice_month]"
435
 
436
+ #: includes/documents/class-wcpdf-invoice.php:237
437
  msgid "Suffix"
438
  msgstr "Achtervoegsel"
439
 
440
+ #: includes/documents/class-wcpdf-invoice.php:242
441
  msgid "Padding"
442
  msgstr "Vulling"
443
 
444
+ #: includes/documents/class-wcpdf-invoice.php:245
445
  msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
446
  msgstr ""
447
  "voer hier het aantal cijfers in - vul hier \"6\" in om 42 als 000042 weer te "
448
  "geven"
449
 
450
+ #: includes/documents/class-wcpdf-invoice.php:248
451
  msgid ""
452
  "note: if you have already created a custom invoice number format with a "
453
  "filter, the above settings will be ignored"
455
  "let op: als je al een format voor een factuurnummer hebt gemaakt met een "
456
  "filter, worden de bovenstaande instellingen genegeerd"
457
 
458
+ #: includes/documents/class-wcpdf-invoice.php:254
459
  msgid "Reset invoice number yearly"
460
  msgstr "Reset factuurnummer jaarlijks"
461
 
462
+ #: includes/documents/class-wcpdf-invoice.php:265
463
+ msgid "Allow My Account invoice download"
464
+ msgstr "Sta downloaden factuur vanaf Mijn Account toe"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
465
 
466
+ #: includes/documents/class-wcpdf-invoice.php:272
467
+ msgid "Only when an invoice is already created/emailed"
468
+ msgstr "Alleen wanneer een factuur al is aangemaakt/gemaild"
469
 
470
+ #: includes/documents/class-wcpdf-invoice.php:273
471
+ msgid "Only for specific order statuses (define below)"
472
+ msgstr "Alleen voor specifieke order statussen (hieronder gedefinieerd)"
473
 
474
+ #: includes/documents/class-wcpdf-invoice.php:274
475
+ msgid "Always"
476
+ msgstr "Altijd"
477
 
478
+ #: includes/documents/class-wcpdf-invoice.php:275
479
+ msgid "Never"
480
+ msgstr "Nooit"
481
 
482
+ #: includes/documents/class-wcpdf-invoice.php:290
483
+ msgid "Enable invoice number column in the orders list"
484
+ msgstr "Schakel factuurnummer kolom in het bestellingen overzicht in"
485
 
486
+ #: includes/documents/class-wcpdf-invoice.php:301
487
+ msgid "Disable for free products"
488
+ msgstr "Uitschakelen voor gratis producten"
489
 
490
+ #: includes/documents/class-wcpdf-invoice.php:307
491
  msgid ""
492
+ "Disable automatic creation/attachment when only free products are ordered"
 
493
  msgstr ""
494
+ "Automatisch aanmaken/versturen uitschakelen wanneer er alleen gratis "
495
+ "producten zijn besteld"
496
 
497
+ #: includes/documents/class-wcpdf-invoice.php:321
498
+ msgid "Invoice numbers are created by a third-party extension."
499
+ msgstr "Factuurnummers zijn gemaakt door een derde-partij uitbreiding."
 
 
 
 
 
 
 
500
 
501
+ #: includes/documents/class-wcpdf-invoice.php:323
502
+ #, php-format
503
+ msgid "Configure it <a href=\"%s\">here</a>."
504
+ msgstr "Configureer het <a href=\"%s\">hier</a>."
505
 
506
+ #: includes/documents/class-wcpdf-packing-slip.php:32
507
+ #: includes/documents/class-wcpdf-packing-slip.php:41
508
+ #: includes/legacy/class-wcpdf-legacy-functions.php:25
509
+ #: templates/Simple/packing-slip.php:10 templates/Simple/packing-slip.php:22
510
+ msgid "Packing Slip"
511
+ msgstr "Pakbon"
 
 
 
512
 
513
+ #: includes/documents/class-wcpdf-packing-slip.php:53
514
+ msgid "packing-slip"
515
+ msgid_plural "packing-slips"
516
+ msgstr[0] "pakbon"
517
+ msgstr[1] "pakbonnen"
518
 
519
+ #: includes/documents/class-wcpdf-packing-slip.php:105
520
+ msgid "Display billing address"
521
+ msgstr "Geef factuuradres weer"
 
 
 
 
522
 
523
+ #: includes/documents/class-wcpdf-packing-slip.php:111
524
  msgid ""
525
+ "Display billing address (in addition to the default shipping address) if "
526
+ "different from shipping address"
 
527
  msgstr ""
528
+ "Geef factuuradres weer (naast het standaard verzendadres) wanneer deze "
529
+ "verschilt van het verzendadres"
 
530
 
531
+ #: includes/legacy/class-wcpdf-legacy-document.php:32
532
+ msgid "Legacy Document"
533
+ msgstr "Oud document"
534
 
535
+ #: includes/legacy/class-wcpdf-legacy.php:70
536
+ msgid "Error"
537
+ msgstr "Fout"
 
538
 
539
+ #: includes/legacy/class-wcpdf-legacy.php:71
540
+ msgid ""
541
+ "An outdated template or action hook was used to generate the PDF. Legacy "
542
+ "mode has been activated, please try again by reloading this page."
543
+ msgstr ""
544
+ "Een verouderd template of action hook werd gebruikt voor het genereren van "
545
+ "het PDF-bestand. Legacy modus is ingeschakeld, probeer het opnieuw door deze "
546
+ "pagina te herladen."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
547
 
548
+ #: includes/legacy/class-wcpdf-legacy.php:74
549
+ msgid "The following function was called"
550
+ msgstr "De volgende functie werd aangeroepen"
 
551
 
552
+ #: includes/views/wcpdf-extensions.php:15
553
  msgid "Check out these premium extensions!"
554
  msgstr "Bekijk deze premium uitbreidingen!"
555
 
556
+ #: includes/views/wcpdf-extensions.php:16
557
  msgid "click items to read more"
558
  msgstr "Klik op de items om meer te lezen"
559
 
560
+ #: includes/views/wcpdf-extensions.php:21
561
  msgid ""
562
  "Premium PDF Invoice bundle: Everything you need for a perfect invoicing "
563
  "system"
565
  "Premie PDF factuur bundel: alles wat je nodig hebt voor een perfect "
566
  "facturatie systeem"
567
 
568
+ #: includes/views/wcpdf-extensions.php:23
569
  msgid ""
570
  "Supercharge WooCommerce PDF Invoices & Packing Slips with the all our "
571
  "premium extensions:"
573
  "Geef WooCommerce PDF Invoices & Packing Slips een boost met al onze premium "
574
  "uitbreidingen:"
575
 
576
+ #: includes/views/wcpdf-extensions.php:24
577
  msgid "Professional features:"
578
  msgstr "Professionele functies:"
579
 
580
+ #: includes/views/wcpdf-extensions.php:26
581
+ #: includes/views/wcpdf-extensions.php:56
582
  msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
583
  msgstr "Email/print/download <b>PDF Credit Nota's & Pro-forma facturen</b>"
584
 
585
+ #: includes/views/wcpdf-extensions.php:27
586
+ #: includes/views/wcpdf-extensions.php:57
587
  msgid ""
588
  "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
589
  "packing slips, for example to a drop-shipper or a supplier."
591
  "Verstuur een aparte <b>notificatie email</b> met (of zonder) PDF facturen/"
592
  "pakbonnen, bijvoorbeeld naar een drop-shipper of een leverancier."
593
 
594
+ #: includes/views/wcpdf-extensions.php:28
595
+ #: includes/views/wcpdf-extensions.php:58
596
  msgid ""
597
  "Attach <b>up to 3 static files</b> (for example a terms & conditions "
598
  "document) to the WooCommerce emails of your choice."
600
  "Voeg tot <b>3 vaste bestandsbijlagen</b> (bijvoorbeeld algemene voorwaarden) "
601
  "toe aan WooCommerce emails naar keuze."
602
 
603
+ #: includes/views/wcpdf-extensions.php:29
604
+ #: includes/views/wcpdf-extensions.php:59
605
  msgid ""
606
  "Use <b>separate numbering systems</b> and/or format for proforma invoices "
607
  "and credit notes or utilize the main invoice numbering system"
609
  "Gebruik <b>losse nummersystemen</b> en/of formats voor pro-forma facturen en "
610
  "credit notes, of gebruik het hoofd factuurnummersysteem."
611
 
612
+ #: includes/views/wcpdf-extensions.php:30
613
+ #: includes/views/wcpdf-extensions.php:60
614
  msgid ""
615
  "<b>Customize</b> the <b>shipping & billing address</b> format to include "
616
  "additional custom fields, font sizes etc. without the need to create a "
619
  "<b>Pas het verzend- en factuuradres aan</b> met custom velden, verschillende "
620
  "fontgroottes etc, zonder daarvoor een custom template aan te maken."
621
 
622
+ #: includes/views/wcpdf-extensions.php:31
623
+ #: includes/views/wcpdf-extensions.php:61
624
  msgid "Use the plugin in multilingual <b>WPML</b> setups"
625
  msgstr "Gebruik de plugin in meertalige <b>WPML</b> setups"
626
 
627
+ #: includes/views/wcpdf-extensions.php:33
628
+ #: includes/views/wcpdf-extensions.php:131
629
  msgid "Advanced, customizable templates"
630
  msgstr "Geavanceerde, aanpasbare templates"
631
 
632
+ #: includes/views/wcpdf-extensions.php:35
633
+ #: includes/views/wcpdf-extensions.php:134
634
  msgid ""
635
  "Completely customize the invoice contents (prices, taxes, thumbnails) to "
636
  "your needs with a drag & drop customizer"
638
  "Past de inhoud van de factuur (prijzen, BTW, thumbnails) volledig naar je "
639
  "wensen aan met een eenvoudige drag & drop interface"
640
 
641
+ #: includes/views/wcpdf-extensions.php:36
642
+ #: includes/views/wcpdf-extensions.php:135
643
  msgid "Two extra stylish premade templates (Modern & Business)"
644
  msgstr "Twee extra stijlvolle voorgeconfigureerde templates (Moden & Business)"
645
 
646
+ #: includes/views/wcpdf-extensions.php:38
647
  msgid "Upload automatically to dropbox"
648
  msgstr "Automatisch uploaden naar dropbox"
649
 
650
+ #: includes/views/wcpdf-extensions.php:40
651
+ #: includes/views/wcpdf-extensions.php:97
652
  msgid ""
653
  "This extension conveniently uploads all the invoices (and other pdf "
654
  "documents from the professional extension) that are emailed to your "
659
  "professional extensie) die worden ge-emaild naar je klanten naar Dropbox. De "
660
  "beste manier om je factuur administratie up te date te houden!"
661
 
662
+ #: includes/views/wcpdf-extensions.php:43
663
  msgid "Get WooCommerce PDF Invoices & Packing Slips Bundle"
664
  msgstr "Neem decWooCommerce PDF Invoices & Packing Slips Bundel!"
665
 
666
+ #: includes/views/wcpdf-extensions.php:52
667
  msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
668
  msgstr "Go Pro: Pro-forma facturen, credit nota's (=refunds) & meer!"
669
 
670
+ #: includes/views/wcpdf-extensions.php:54
671
  msgid ""
672
  "Supercharge WooCommerce PDF Invoices & Packing Slips with the following "
673
  "features:"
675
  "Geef WooCommerce PDF Invoices & Packing Slips een boost met de volgende "
676
  "functies:"
677
 
678
+ #: includes/views/wcpdf-extensions.php:63
679
  msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
680
  msgstr "Neem WooCommerce PDF Invoices & Packing Slips Professional!"
681
 
682
+ #: includes/views/wcpdf-extensions.php:71
683
  msgid "Automatically send payment reminders to your customers"
684
  msgstr "Verstuur automatisch betalingsherrinneringen naar je klanten"
685
 
686
+ #: includes/views/wcpdf-extensions.php:73
687
  msgid "WooCommerce Smart Reminder emails"
688
  msgstr "WooCommerce Smart Reminder Emails"
689
 
690
+ #: includes/views/wcpdf-extensions.php:75
691
  msgid "<b>Completely automatic</b> scheduled emails"
692
  msgstr "<b>Volledig automatisch</b> ingeplande/verstuurde e-mails"
693
 
694
+ #: includes/views/wcpdf-extensions.php:76
695
  msgid ""
696
  "<b>Rich text editor</b> for the email text, including placeholders for data "
697
  "from the order (name, order total, etc)"
700
  "inclusief placeholders voor gegevens uit de bestelling (ordertotaal, naam, "
701
  "enz)"
702
 
703
+ #: includes/views/wcpdf-extensions.php:77
704
  msgid ""
705
  "Configure the exact requirements for sending an email (time after order, "
706
  "order status, payment method)"
708
  "Stel exacte vereisten voor het versturen van een email in (tijd na de order, "
709
  "orderstatus, betaalmethode, enz.)"
710
 
711
+ #: includes/views/wcpdf-extensions.php:78
712
  msgid ""
713
  "Fully <b>WPML Compatible</b> – emails will be automatically sent in the "
714
  "order language."
716
  "Volledig <b>Compatible met WPML</b> – e-mails worden automatisch verzonden "
717
  "in de taal van de bestelling."
718
 
719
+ #: includes/views/wcpdf-extensions.php:79
720
  msgid ""
721
  "<b>Super versatile!</b> Can be used for any kind of reminder email (review "
722
  "reminders, repeat purchases)"
724
  "<b>Super veelzijdig!</b> Kan worden gebruikt voor elke soort "
725
  "herinneringsemail (review herinneringen, herhalende aankopen)"
726
 
727
+ #: includes/views/wcpdf-extensions.php:80
728
  msgid "Integrates seamlessly with the PDF Invoices & Packing Slips plugin"
729
  msgstr "Integreert naadloos met de PDF Invoices & Packing Slips plugin"
730
 
731
+ #: includes/views/wcpdf-extensions.php:82
732
  msgid "Get WooCommerce Smart Reminder Emails"
733
  msgstr "Neem WooCommerce Smart Reminder Emails"
734
 
735
+ #: includes/views/wcpdf-extensions.php:91
736
  msgid "Upload all invoices automatically to your dropbox"
737
  msgstr "Upload alle facturen automatisch naar je Dropbox"
738
 
739
+ #: includes/views/wcpdf-extensions.php:98
740
  msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
741
  msgstr "Neem WooCommerce PDF Invoices & Packing Slips to dropbox!"
742
 
743
+ #: includes/views/wcpdf-extensions.php:110
744
  msgid ""
745
  "Automatically send new orders or packing slips to your printer, as soon as "
746
  "the customer orders!"
748
  "Verstuur nieuwe orders of pakbonnen automatisch naar je printer, zodra een "
749
  "klant een bestelling plaatst."
750
 
751
+ #: includes/views/wcpdf-extensions.php:116
752
  msgid ""
753
  "Check out the WooCommerce Automatic Order Printing extension from our "
754
  "partners at Simba Hosting"
756
  "Bekijk de WooCommerce Automatic Order Printing extensie van onze parters van "
757
  "Simba Hosting"
758
 
759
+ #: includes/views/wcpdf-extensions.php:117
760
  msgid "WooCommerce Automatic Order Printing"
761
  msgstr "WooCommerce Automatic Order Printing"
762
 
763
+ #: includes/views/wcpdf-extensions.php:136
764
  #, php-format
765
  msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
766
  msgstr "Bekijk de Premium PDF Invoice & Packing Slips templates op %s."
767
 
768
+ #: includes/views/wcpdf-extensions.php:137
769
  #, php-format
770
  msgid "For custom templates, contact us at %s."
771
  msgstr "Neem voor custom templates contact met ons op via %s"
772
 
773
+ #: includes/views/wcpdf-extensions.php:146
774
  msgid "Hide this message"
775
  msgstr "Verberg dit bericht"
776
 
777
+ #: includes/views/wcpdf-settings-page.php:8
778
+ msgid "WooCommerce PDF Invoices"
779
+ msgstr "WooCommerce PDF Facturen"
780
+
781
+ #: templates/Simple/invoice.php:30 templates/Simple/packing-slip.php:41
782
  msgid "Billing Address:"
783
  msgstr "Factuuradres:"
784
 
785
+ #: templates/Simple/invoice.php:41
786
  msgid "Ship To:"
787
  msgstr "Verzenden naar:"
788
 
789
+ #: templates/Simple/invoice.php:50
790
  msgid "Invoice Number:"
791
  msgstr "Factuurnummer:"
792
 
793
+ #: templates/Simple/invoice.php:61 templates/Simple/packing-slip.php:49
794
  msgid "Order Number:"
795
  msgstr "Ordernummer:"
796
 
797
+ #: templates/Simple/invoice.php:65 templates/Simple/packing-slip.php:53
798
  msgid "Order Date:"
799
  msgstr "Orderdatum:"
800
 
801
+ #: templates/Simple/invoice.php:69
802
  msgid "Payment Method:"
803
  msgstr "Betaalmethode:"
804
 
805
+ #: templates/Simple/invoice.php:83 templates/Simple/packing-slip.php:71
806
  msgid "Product"
807
  msgstr "Product"
808
 
809
+ #: templates/Simple/invoice.php:84 templates/Simple/packing-slip.php:72
810
  msgid "Quantity"
811
  msgstr "Hoeveelheid"
812
 
813
+ #: templates/Simple/invoice.php:85
814
  msgid "Price"
815
  msgstr "Prijs"
816
 
817
+ #: templates/Simple/invoice.php:92 templates/Simple/packing-slip.php:79
818
  msgid "Description"
819
  msgstr "Omschrijving"
820
 
821
+ #: templates/Simple/invoice.php:97 templates/Simple/packing-slip.php:84
822
  msgid "SKU"
823
  msgstr "Artikelnummer"
824
 
825
+ #: templates/Simple/invoice.php:98 templates/Simple/packing-slip.php:85
826
  msgid "SKU:"
827
  msgstr "SKU:"
828
 
829
+ #: templates/Simple/invoice.php:99 templates/Simple/packing-slip.php:86
830
  msgid "Weight:"
831
  msgstr "Gewicht:"
832
 
833
+ #: templates/Simple/invoice.php:114 templates/Simple/packing-slip.php:101
 
834
  msgid "Customer Notes"
835
  msgstr "Opmerking klant:"
836
 
837
+ #: templates/Simple/packing-slip.php:30
838
  msgid "Shipping Address:"
839
  msgstr "Verzendadres:"
840
 
841
+ #: templates/Simple/packing-slip.php:57
842
  msgid "Shipping Method:"
843
  msgstr "Verzendmethode:"
844
 
845
+ #: woocommerce-pdf-invoices-packingslips.php:229
846
  #, php-format
847
  msgid ""
848
  "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
851
  "WooCommerce PDF Invoices & Packing Slips vereist dat %sWooCommerce%s is "
852
  "geïnstalleerd & geactiveerd!"
853
 
854
+ #: woocommerce-pdf-invoices-packingslips.php:241
855
+ msgid ""
856
+ "WooCommerce PDF Invoices & Packing Slips requires PHP 5.3 or higher (5.6 or "
857
+ "higher recommended)."
858
+ msgstr ""
859
+ "WooCommerce PDF Invoices & Packing Slips vereist PHP 5.3 of hoger (5.6 of "
860
+ "hoger aanbevolen)."
861
 
862
+ #: woocommerce-pdf-invoices-packingslips.php:242
863
+ msgid "How to update your PHP version"
864
+ msgstr "Hoe update ik mijn PHP versie?"
865
 
866
+ #~ msgid "Enable/Disable"
867
+ #~ msgstr "Inschakelen/uitschakelen"
 
868
 
869
+ #~ msgid "Enable this document"
870
+ #~ msgstr "Schakel dit document in"
 
 
871
 
872
+ #~ msgid ""
873
+ #~ "Disable automatic creation/attachment of invoices when only free products "
874
+ #~ "are ordered"
875
+ #~ msgstr ""
876
+ #~ "Automatisch aanmaken/vesturen van facturen uitschakelen wanneer er alleen "
877
+ #~ "gratis producten zijn besteld."
878
 
879
+ #~ msgid "Attach invoice to:"
880
+ #~ msgstr "Factuur als bijlage toevoegen aan:"
 
881
 
882
+ #~ msgid ""
883
+ #~ "Display shipping address on invoice (in addition to the default billing "
884
+ #~ "address) if different from billing address"
885
+ #~ msgstr ""
886
+ #~ "Geef verzendadres weer op de factuur (naast het standaard factuuradres) "
887
+ #~ "wanneer deze verschilt van het factuuradres"
888
 
889
+ #~ msgid ""
890
+ #~ "This is the number that will be used on the next invoice that is created. "
891
+ #~ "By default, numbering starts from the WooCommerce Order Number of the "
892
+ #~ "first invoice that is created and increases for every new invoice. Note "
893
+ #~ "that if you override this and set it lower than the highest (PDF) invoice "
894
+ #~ "number, this could create double invoice numbers!"
895
+ #~ msgstr ""
896
+ #~ "Dit is het nummer dat gebruikt zal worden op de eerstvolgende factuur. "
897
+ #~ "Standaard begint het nummeren vanaf het WooCommerce ordernummer van de "
898
+ #~ "eerste factuur die wordt aangemaakt, en wordt opgehoogd voor iedere "
899
+ #~ "nieuwe factuur. Let op, als je dit nummer aanpast en op een lager nummer "
900
+ #~ "dan het hoogste huidige (PDF) factuurnummer zet, kan dit dubbele "
901
+ #~ "factuurnummers tot gevolg hebben!"
902
 
903
+ #~ msgid "Invoice number format"
904
+ #~ msgstr "Factuurnummer format"
 
905
 
906
+ #~ msgid ""
907
+ #~ "Display billing address on packing slip (in addition to the default "
908
+ #~ "shipping address) if different from shipping address"
909
+ #~ msgstr ""
910
+ #~ "Geef factuuradres weer op de pakbon (naast het standaard verzendadres) "
911
+ #~ "wanneer deze verschilt van het verzendadres"
912
 
913
+ #~ msgid "Template"
914
+ #~ msgstr "Template"
 
915
 
916
+ #~ msgid "Admin New Order email"
917
+ #~ msgstr "Nieuwe bestelling (admin email)"
918
+
919
+ #~ msgid "Customer Processing Order email"
920
+ #~ msgstr "Bestelling in behandeling (klant email)"
921
+
922
+ #~ msgid "Customer Completed Order email"
923
+ #~ msgstr "Bestelling afgerond (klant email)"
924
+
925
+ #~ msgid "Customer Invoice email"
926
+ #~ msgstr "Factuur (klant email)"
927
+
928
+ #~ msgid "Interface"
929
+ #~ msgstr "Interface"
930
+
931
+ #~ msgid "PDF Template settings"
932
+ #~ msgstr "PDF Template instellingen"
933
+
934
+ #~ msgid "Display built-in sequential invoice number"
935
+ #~ msgstr "Geef ingebouwde doorlopende factuurnummers weer"
936
+
937
+ #~ msgid "Use old tmp folder"
938
+ #~ msgstr "Gebruik de oude tmp folder"
939
+
940
+ #~ msgid ""
941
+ #~ "Before version 1.5 of PDF Invoices, temporary files were stored in the "
942
+ #~ "plugin folder. This setting is only intended for backwards compatibility, "
943
+ #~ "not recommended on new installs!"
944
+ #~ msgstr ""
945
+ #~ "Voor versie 1.5 van PDF Facturen werden tijdelijke bestanden opgeslagen "
946
+ #~ "in de plugin map. Deze instelling is enkel bedoelde voor backwards "
947
+ #~ "compatibiliteit, en niet aanbevolen op nieuwe installaties!"
948
+
949
+ #~ msgid "PDF Packing Slips"
950
+ #~ msgstr "PDF Pakbonnen"
951
+
952
+ #~ msgid "PDF Invoice"
953
+ #~ msgstr "PDF factuur"
954
+
955
+ #~ msgid "PDF Packing Slip"
956
+ #~ msgstr "PDF Pakbon"
957
 
958
  #~ msgid ""
959
  #~ "to use the order year and/or month, use [order_year] or [order_month] "
languages/woocommerce-pdf-invoices-packing-slips-pl_PL.mo ADDED
Binary file
languages/{wpo_wcpdf-pl_PL.po → woocommerce-pdf-invoices-packing-slips-pl_PL.po} RENAMED
@@ -1,492 +1,409 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
- "POT-Creation-Date: 2015-09-05 16:44+0100\n"
5
- "PO-Revision-Date: 2015-09-05 17:20+0100\n"
6
  "Last-Translator: Damian Wajer <webmaster@graphcore.pl>\n"
7
  "Language-Team: WP Overnight <support@wpovernight.com>\n"
8
  "Language: pl_PL\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.5.4\n"
13
- "X-Poedit-Basepath: ../\n"
14
  "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
15
  "|| n%100>=20) ? 1 : 2);\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
- #: woocommerce-pdf-invoices-packingslips.php:123
21
- #, php-format
22
- msgid ""
23
- "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
24
- "installed & activated!"
25
- msgstr "WooCommerce PDF Invoices & Packing Slips potrzebuje %sWooCommerce%s !"
26
-
27
- #: woocommerce-pdf-invoices-packingslips.php:220
28
- #: includes/class-wcpdf-writepanels.php:277
29
- #: includes/class-wcpdf-settings.php:464 templates/pdf/Simple/invoice.php:9
30
- #: templates/pdf/Simple/invoice.php:21
31
- msgid "Invoice"
32
- msgstr "Faktura"
33
-
34
- #: woocommerce-pdf-invoices-packingslips.php:223
35
- #: includes/class-wcpdf-settings.php:579
36
- #: templates/pdf/Simple/packing-slip.php:9
37
- #: templates/pdf/Simple/packing-slip.php:21
38
- msgid "Packing Slip"
39
- msgstr "Zawartość paczki"
40
-
41
- #: woocommerce-pdf-invoices-packingslips.php:367
42
- #: woocommerce-pdf-invoices-packingslips.php:428
43
- msgid "N/A"
44
- msgstr "nie dotyczy"
45
-
46
- #: woocommerce-pdf-invoices-packingslips.php:523
47
- msgid "Payment method"
48
- msgstr "Metoda płatności"
49
-
50
- #: woocommerce-pdf-invoices-packingslips.php:534
51
- msgid "Shipping method"
52
- msgstr "Rodzaj wysyłki"
53
-
54
- #: woocommerce-pdf-invoices-packingslips.php:693
55
- #, php-format
56
- msgid "(Includes %s)"
57
- msgstr "(Zawiera %s)"
58
-
59
- #: woocommerce-pdf-invoices-packingslips.php:714
60
- msgid "Subtotal"
61
- msgstr "Podsuma produktów"
62
-
63
- #: woocommerce-pdf-invoices-packingslips.php:736
64
- msgid "Shipping"
65
- msgstr "Wysyłka"
66
-
67
- #: woocommerce-pdf-invoices-packingslips.php:799
68
- msgid "Discount"
69
- msgstr "Rabat"
70
-
71
- #: woocommerce-pdf-invoices-packingslips.php:839
72
- msgid "VAT"
73
- msgstr "VAT"
74
-
75
- #: woocommerce-pdf-invoices-packingslips.php:840
76
- msgid "Tax rate"
77
- msgstr "Wysokość podatku"
78
-
79
- #: woocommerce-pdf-invoices-packingslips.php:877
80
- msgid "Total ex. VAT"
81
- msgstr "Suma bez Vat (netto)"
82
-
83
- #: woocommerce-pdf-invoices-packingslips.php:880
84
- msgid "Total"
85
- msgstr "Suma"
86
-
87
- #: includes/class-wcpdf-writepanels.php:32
88
- #: includes/class-wcpdf-settings.php:38 includes/class-wcpdf-settings.php:39
89
- msgid "PDF Invoices"
90
- msgstr "Faktury PDF"
91
-
92
- #: includes/class-wcpdf-writepanels.php:33
93
- msgid "PDF Packing Slips"
94
- msgstr "Zawartość paczek PDF"
95
-
96
- #: includes/class-wcpdf-writepanels.php:114
97
- #: includes/class-wcpdf-writepanels.php:244
98
- msgid "PDF Invoice"
99
- msgstr "Faktura PDF"
100
-
101
- #: includes/class-wcpdf-writepanels.php:119
102
- #: includes/class-wcpdf-writepanels.php:249
103
- msgid "PDF Packing Slip"
104
- msgstr "Zawartość paczki PDF"
105
-
106
- #: includes/class-wcpdf-writepanels.php:146
107
  msgid "Invoice Number"
108
  msgstr "Numer faktury"
109
 
110
- #: includes/class-wcpdf-writepanels.php:202
111
- msgid "Download invoice (PDF)"
112
- msgstr "Pobierz fakturę (PDF)"
113
-
114
- #: includes/class-wcpdf-writepanels.php:216
115
  msgid "Create PDF"
116
  msgstr "Stwórz PDF"
117
 
118
- #: includes/class-wcpdf-writepanels.php:226
119
  msgid "PDF Invoice data"
120
  msgstr "Dane faktury PDF"
121
 
122
- #: includes/class-wcpdf-writepanels.php:279
123
- msgid "Invoice Number (unformatted!)"
124
- msgstr "Numer faktury (niesformatowany!)"
 
 
 
 
125
 
126
- #: includes/class-wcpdf-writepanels.php:287
127
- #: templates/pdf/Simple/invoice.php:55
128
  msgid "Invoice Date:"
129
  msgstr "Data faktury:"
130
 
131
- #: includes/class-wcpdf-writepanels.php:289
 
 
 
 
 
 
 
 
132
  msgid "h"
133
  msgstr "godz."
134
 
135
- #: includes/class-wcpdf-writepanels.php:289
136
  msgid "m"
137
  msgstr "min."
138
 
139
- #: includes/class-wcpdf-export.php:344 includes/class-wcpdf-export.php:358
140
- #: includes/class-wcpdf-export.php:365 includes/class-wcpdf-export.php:373
 
 
 
 
141
  msgid "You do not have sufficient permissions to access this page."
142
  msgstr "Nie masz wystarczającyh praw dostępu do tej strony."
143
 
144
- #: includes/class-wcpdf-export.php:349
145
  msgid "Some of the export parameters are missing."
146
  msgstr "Brakuje niektóre parametrów eksportu."
147
 
148
- # This is a filename (prefix). do not use spaces or special characters!
149
- # Additional Polish commentary: Ze względu na polskie prawo wtyczka ta nie jest odpowiednia do wystawiania faktur, dlatego "invoice" zamiast słowa "faktura" jest tłumaczone jako "zamówienie".
150
- # Additional Polish commentary: Adnotacja do powyższego: Dodatkowe pola i własne szablony umożliwiają dostosowanie wtyczki i informacji generowanych na fakturze do własnych potrzeb, dlatego przywrócone zostało prawidłowe tłumaczenie słowa "faktura".
151
- #: includes/class-wcpdf-export.php:430
152
- msgid "invoice"
153
- msgid_plural "invoices"
154
- msgstr[0] "faktura"
155
- msgstr[1] "faktury"
156
- msgstr[2] "faktur"
157
 
158
- # This is a filename (prefix). do not use spaces or special characters!
159
- #: includes/class-wcpdf-export.php:434
160
- msgid "packing-slip"
161
- msgid_plural "packing-slips"
162
- msgstr[0] "dowód wysyłki"
163
- msgstr[1] "dowody wysyłki"
164
- msgstr[2] "dowodów wysyłki"
 
 
165
 
166
- #: includes/wcpdf-extensions.php:15
167
- msgid "Check out these premium extensions!"
168
- msgstr "Sprawdź te rozszerzenia premium!"
169
 
170
- #: includes/wcpdf-extensions.php:16
171
- msgid "click items to read more"
172
  msgstr ""
173
 
174
- #: includes/wcpdf-extensions.php:23
175
- msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
176
  msgstr ""
177
 
178
- #: includes/wcpdf-extensions.php:25
179
- msgid ""
180
- "Supercharge WooCommerce PDF Invoices & Packing Slips with the following "
181
- "features:"
182
  msgstr ""
183
 
184
- #: includes/wcpdf-extensions.php:27
185
- msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
 
 
186
  msgstr ""
187
 
188
- #: includes/wcpdf-extensions.php:28
189
- msgid ""
190
- "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
191
- "packing slips, for example to a drop-shipper or a supplier."
192
  msgstr ""
193
 
194
- #: includes/wcpdf-extensions.php:29
195
  msgid ""
196
- "Attach <b>up to 3 static files</b> (for example a terms & conditions "
197
- "document) to the WooCommerce emails of your choice."
198
  msgstr ""
199
 
200
- #: includes/wcpdf-extensions.php:30
201
- msgid ""
202
- "Use <b>separate numbering systems</b> and/or format for proforma invoices "
203
- "and credit notes or utilize the main invoice numbering system"
204
  msgstr ""
205
 
206
- #: includes/wcpdf-extensions.php:31
207
  msgid ""
208
- "<b>Customize</b> the <b>shipping & billing address</b> format to include "
209
- "additional custom fields, font sizes etc. without the need to create a "
210
- "custom template."
211
  msgstr ""
212
 
213
- #: includes/wcpdf-extensions.php:32
214
- msgid "Use the plugin in multilingual <b>WPML</b> setups"
 
215
  msgstr ""
216
 
217
- #: includes/wcpdf-extensions.php:34
218
- msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
 
 
219
  msgstr ""
220
 
221
- #: includes/wcpdf-extensions.php:42
222
- msgid "Upload all invoices automatically to your dropbox"
223
- msgstr "Załaduj wszystkie faktury PDF automatycznie do twojego dropboxa"
224
 
225
- #: includes/wcpdf-extensions.php:48
226
- msgid ""
227
- "This extension conveniently uploads all the invoices (and other pdf "
228
- "documents from the professional extension) that are emailed to your "
229
- "customers to Dropbox. The best way to keep your invoice administration up to "
230
- "date!"
231
- msgstr ""
232
 
233
- #: includes/wcpdf-extensions.php:49
234
- msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
235
- msgstr ""
236
 
237
- #: includes/wcpdf-extensions.php:61
238
- msgid ""
239
- "Automatically send new orders or packing slips to your printer, as soon as "
240
- "the customer orders!"
241
- msgstr ""
242
 
243
- #: includes/wcpdf-extensions.php:67
 
 
 
 
 
244
  msgid ""
245
- "Check out the WooCommerce Automatic Order Printing extension from our "
246
- "partners at Simba Hosting"
247
  msgstr ""
 
 
248
 
249
- #: includes/wcpdf-extensions.php:68
250
- msgid "WooCommerce Automatic Order Printing"
251
- msgstr ""
252
 
253
- #: includes/wcpdf-extensions.php:82
254
- msgid "Advanced, customizable templates"
255
- msgstr ""
256
 
257
- #: includes/wcpdf-extensions.php:85
258
- msgid ""
259
- "Completely customize the invoice contents (prices, taxes, thumbnails) to "
260
- "your needs with a drag & drop customizer"
261
- msgstr ""
262
 
263
- #: includes/wcpdf-extensions.php:86
264
- msgid "Two extra stylish premade templates (Modern & Business)"
265
  msgstr ""
266
 
267
- #: includes/wcpdf-extensions.php:87
268
- #, php-format
269
- msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
270
  msgstr ""
271
 
272
- #: includes/wcpdf-extensions.php:88
273
- #, php-format
274
- msgid "For custom templates, contact us at %s."
275
- msgstr "Jeśli potrzebujesz własnych szablonów, skontaktuj się z nami na %s."
276
 
277
- #: includes/class-wcpdf-settings.php:80
278
- msgid "Settings"
279
- msgstr "Ustawienia"
280
 
281
- #: includes/class-wcpdf-settings.php:102
282
- msgid "General"
283
- msgstr "Ogólne"
284
 
285
- #: includes/class-wcpdf-settings.php:103
286
- msgid "Template"
287
- msgstr "Szablon"
288
 
289
- #: includes/class-wcpdf-settings.php:108
290
- msgid "Status"
291
- msgstr "Status"
292
 
293
- #: includes/class-wcpdf-settings.php:120
294
- msgid "WooCommerce PDF Invoices"
295
- msgstr "WooCommerce Faktury PDF"
296
 
297
- #: includes/class-wcpdf-settings.php:189
298
- msgid "General settings"
299
- msgstr "Ustawienia ogólne"
300
 
301
- #: includes/class-wcpdf-settings.php:196
302
- msgid "How do you want to view the PDF?"
303
- msgstr "Jak ma być pokazany PDF?"
304
 
305
- #: includes/class-wcpdf-settings.php:204
306
- msgid "Download the PDF"
307
- msgstr "Ściągnij PDF"
308
 
309
- #: includes/class-wcpdf-settings.php:205
310
- msgid "Open the PDF in a new browser tab/window"
311
- msgstr "Otwórz PDF w nowej zakładce/okienku przeglądarki"
312
 
313
- #: includes/class-wcpdf-settings.php:214
314
- msgid "Admin New Order email"
315
- msgstr "Email do administratora o nowym zamówieniu"
316
 
317
- #: includes/class-wcpdf-settings.php:215
318
- msgid "Customer Processing Order email"
319
- msgstr "Email do klienta o przetwarzaniu zamówienia"
320
 
321
- #: includes/class-wcpdf-settings.php:216
322
- msgid "Customer Completed Order email"
323
- msgstr "Email do klienta o zakończeniu zamówienia"
324
 
325
- #: includes/class-wcpdf-settings.php:217
326
- msgid "Customer Invoice email"
327
- msgstr "Email do klienta o fakturze"
328
 
329
- #: includes/class-wcpdf-settings.php:222
330
- msgid "Attach invoice to:"
331
- msgstr "Dołącz fakturę do:"
332
 
333
- #: includes/class-wcpdf-settings.php:230
334
- #, php-format
335
- msgid ""
336
- "It looks like the temp folder (<code>%s</code>) is not writable, check the "
337
- "permissions for this folder! Without having write access to this folder, the "
338
- "plugin will not be able to email invoices."
339
- msgstr ""
340
- "Folder tymczasowy (<code>%s</code>) nie może być zapisany, proszę sprawdzić "
341
- "atrybuty tego folderu. Bez prawa do zapisu E-Maile do zamówienia nie mogą "
342
- "być wysłane."
343
 
344
- #: includes/class-wcpdf-settings.php:236
345
- msgid "Disable for free products"
346
- msgstr "Wyłącz dla darmowych produktów"
347
 
348
- #: includes/class-wcpdf-settings.php:243
349
- msgid ""
350
- "Disable automatic creation/attachment of invoices when only free products "
351
- "are ordered"
352
  msgstr ""
353
- "Wyłącz automatyczne tworzenie/dołączanie faktur gdy zamawiane są tylko "
354
- "darmowe produkty"
355
 
356
- #: includes/class-wcpdf-settings.php:250
357
- msgid "Interface"
358
- msgstr "Interfejs"
359
 
360
- #: includes/class-wcpdf-settings.php:298
361
- msgid "Allow My Account invoice download"
362
- msgstr "Pozwól na pobieranie faktur na stronie Moje konto"
363
 
364
- #: includes/class-wcpdf-settings.php:306
365
- msgid "Only when an invoice is already created/emailed"
366
- msgstr "Tylko gdy faktura jest już stworzona/wysłana e-mailem"
367
 
368
- #: includes/class-wcpdf-settings.php:307
369
- msgid "Only for specific order statuses (define below)"
370
- msgstr "Tylko dla wybranych statusów zamówienia (określ poniżej)"
 
371
 
372
- #: includes/class-wcpdf-settings.php:308
373
- msgid "Always"
374
- msgstr "Zawsze"
375
 
376
- #: includes/class-wcpdf-settings.php:309
377
- msgid "Never"
378
- msgstr "Nigdy"
379
 
380
- #: includes/class-wcpdf-settings.php:324
381
- msgid "Enable invoice number column in the orders list"
382
- msgstr "Włącz numer faktury w kolumnie zamówień"
 
383
 
384
- #: includes/class-wcpdf-settings.php:362
385
- msgid "PDF Template settings"
386
- msgstr "Ustawienia szablonu PDF"
 
387
 
388
- #: includes/class-wcpdf-settings.php:374
389
- msgid "Choose a template"
390
- msgstr "Wybierz szablon"
391
 
392
- #: includes/class-wcpdf-settings.php:382
393
- #, php-format
394
- msgid ""
395
- "Want to use your own template? Copy all the files from <code>%s</code> to "
396
- "your (child) theme in <code>%s</code> to customize them"
397
- msgstr ""
398
- "Chcesz użyć własnego szablonu? Skopiuj wszystkie pliki z <code>%s</code> do "
399
- "<code>%s</code> i dostosuj je."
400
 
401
- #: includes/class-wcpdf-settings.php:388
402
- msgid "Paper size"
403
- msgstr "Rozmiar wydruku"
404
 
405
- #: includes/class-wcpdf-settings.php:396
406
- msgid "A4"
407
- msgstr "A4"
408
 
409
- #: includes/class-wcpdf-settings.php:397
410
- msgid "Letter"
411
- msgstr "List"
412
 
413
- #: includes/class-wcpdf-settings.php:404
414
- msgid "Shop header/logo"
415
- msgstr "Nagłówek/logo"
416
 
417
- #: includes/class-wcpdf-settings.php:411
418
- msgid "Select or upload your invoice header/logo"
419
- msgstr "Wybierz albo załaduj nagłówek/logo zamówienia"
420
 
421
- #: includes/class-wcpdf-settings.php:412
422
- msgid "Set image"
423
- msgstr "Ustaw obraz"
424
 
425
- #: includes/class-wcpdf-settings.php:413
426
- msgid "Remove image"
427
- msgstr "Usuń obraz"
428
 
429
- #: includes/class-wcpdf-settings.php:420
430
- msgid "Shop Name"
431
- msgstr "Nazwa sklepu"
 
 
 
 
 
 
432
 
433
- #: includes/class-wcpdf-settings.php:433
434
- msgid "Shop Address"
435
- msgstr "Adres sklepu"
 
436
 
437
- #: includes/class-wcpdf-settings.php:448
438
- msgid "Footer: terms & conditions, policies, etc."
439
- msgstr "Stopka: ogólne postanowienia, regulamin, itp."
 
 
 
 
 
 
 
 
 
 
 
440
 
441
- #: includes/class-wcpdf-settings.php:471
442
  msgid "Display shipping address"
443
  msgstr "Wyświetl adres do wysyłki"
444
 
445
- #: includes/class-wcpdf-settings.php:478
446
  msgid ""
447
- "Display shipping address on invoice (in addition to the default billing "
448
- "address) if different from billing address"
449
  msgstr ""
450
- "Wyświetl adres do wysyłki na fakturze (oprócz domyślnego adresu "
451
- "rozliczeniowego) jeżeli jest inny niż adres rozliczeniowy"
452
 
453
- #: includes/class-wcpdf-settings.php:484 includes/class-wcpdf-settings.php:599
 
454
  msgid "Display email address"
455
  msgstr "Wyświetl adres email"
456
 
457
- #: includes/class-wcpdf-settings.php:496 includes/class-wcpdf-settings.php:611
 
458
  msgid "Display phone number"
459
  msgstr "Wyświetl numer telefonu"
460
 
461
- #: includes/class-wcpdf-settings.php:508
462
  msgid "Display invoice date"
463
  msgstr "Wyświetl datę faktury"
464
 
465
- #: includes/class-wcpdf-settings.php:521
466
- msgid "Display built-in sequential invoice number"
467
- msgstr "Wyświetl wbudowany mechanizm nadawania numerów faktur"
468
 
469
- #: includes/class-wcpdf-settings.php:534
470
  msgid "Next invoice number (without prefix/suffix etc.)"
471
  msgstr "Następny numer faktury (bez prefiksu/sufiksu itd.)"
472
 
473
- #: includes/class-wcpdf-settings.php:542
474
  msgid ""
475
- "This is the number that will be used on the next invoice that is created. By "
476
- "default, numbering starts from the WooCommerce Order Number of the first "
477
- "invoice that is created and increases for every new invoice. Note that if "
478
- "you override this and set it lower than the highest (PDF) invoice number, "
479
- "this could create double invoice numbers!"
480
  msgstr ""
481
- "To jest numer, który będzie użyty na następnej fakturze. Domyślnie numer "
482
- "startowy jest brany z numeru zamówienia WooCommerce dla pierwszej "
483
- "wygenerowanej faktury i zwiększa się z każdym nowym zamówieniem. Zwróć "
484
- "uwagę, że jeśli nadpiszesz to i ustawisz numer niższy niż najwyższy numer "
485
- "faktury (PDF), to może zdublować numery faktur!"
486
 
487
- #: includes/class-wcpdf-settings.php:548
488
- msgid "Invoice number format"
489
- msgstr "Format numeru faktury"
490
 
491
  # Jakie dokumenty należy dołączać do zamówień wysyłanych do klientów sklepu internetowego?
492
  # Zgodnie z art. 9 ust. 3 ustawy z dnia 2 marca 2000 r. o ochronie niektórych praw konsumentów sklep internetowy zobowiązany jest do potwierdzenia konsumentowi na piśmie, najpóźniej w momencie rozpoczęcia spełniania świadczenia, informacji o:
@@ -523,31 +440,29 @@ msgstr "Format numeru faktury"
523
  # r) w przypadku gdy ma to zastosowanie – funkcjonalność treści cyfrowych, w tym również mające zastosowanie techniczne środki ich ochrony;
524
  # s) w przypadku gdy ma to zastosowanie – każda mająca znaczenie interoperacyjność treści cyfrowych ze sprzętem komputerowym i oprogramowaniem, o którym przedsiębiorca wie lub, racjonalnie oczekując, powinien był wiedzieć;
525
  # t) w przypadku gdy ma to zastosowanie – możliwość skorzystania z pozasądowych mechanizmów rozpatrywania reklamacji i dochodzenia roszczeń, którym podlega przedsiębiorca, oraz możliwości dostępu do tych procedur.
526
- #: includes/class-wcpdf-settings.php:557
527
  msgid "Prefix"
528
  msgstr "Prefiks"
529
 
530
- #: includes/class-wcpdf-settings.php:559
531
  msgid ""
532
- "to use the order year and/or month, use [order_year] or [order_month] "
533
  "respectively"
534
  msgstr ""
535
- "żeby użyć roku i/albo miesiąca zamówienia, użyj odpowiednio [order_year] "
536
- "albo [order_month]"
537
 
538
- #: includes/class-wcpdf-settings.php:562
539
  msgid "Suffix"
540
  msgstr "Sufiks"
541
 
542
- #: includes/class-wcpdf-settings.php:567
543
  msgid "Padding"
544
  msgstr "Padding"
545
 
546
- #: includes/class-wcpdf-settings.php:569
547
  msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
548
  msgstr "wpisz tutaj liczbę cyfr - wpisz \"6\" żeby wyświetlić 42 jako 000042"
549
 
550
- #: includes/class-wcpdf-settings.php:572
551
  msgid ""
552
  "note: if you have already created a custom invoice number format with a "
553
  "filter, the above settings will be ignored"
@@ -555,174 +470,439 @@ msgstr ""
555
  "Uwaga: Jeśli już stworzyłeś własny format zamówienia z filtrem, powyższe "
556
  "ustawienia będą zignorowane."
557
 
558
- #: includes/class-wcpdf-settings.php:586
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
559
  msgid "Display billing address"
560
  msgstr "Wyświetl adres rozliczeniowy"
561
 
562
- #: includes/class-wcpdf-settings.php:593
563
  msgid ""
564
- "Display billing address on packing slip (in addition to the default shipping "
565
- "address) if different from shipping address"
566
  msgstr ""
567
- "Wyświetl adres rozliczeniowy w zawartości paczki (oprócz domyślnego adresu "
568
- "do wysyłki) jeżeli jest inny niż adres do wysyłki"
569
 
570
- #: includes/class-wcpdf-settings.php:624
571
- msgid "Extra template fields"
572
- msgstr "Dodatkowe pola szablonu"
573
 
574
- #: includes/class-wcpdf-settings.php:631
575
- msgid "Extra field 1"
576
- msgstr "Dodatkowe pole 1"
577
 
578
- #: includes/class-wcpdf-settings.php:640
579
- msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
580
- msgstr "To jest kolumna 1 w szablonie <i>Modern (Premium)</i>"
581
 
582
- #: includes/class-wcpdf-settings.php:646
583
- msgid "Extra field 2"
584
- msgstr "Dodatkowe pole 2"
 
 
585
 
586
- #: includes/class-wcpdf-settings.php:655
587
- msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
588
- msgstr "To jest kolumna 2 w szablonie <i>Modern (Premium)</i>"
 
 
589
 
590
- #: includes/class-wcpdf-settings.php:661
591
- msgid "Extra field 3"
592
- msgstr "Dodatkowe pole 3"
593
 
594
- #: includes/class-wcpdf-settings.php:670
595
- msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
596
- msgstr "To jest kolumna 3 w szablonie <i>Modern (Premium)</i>"
 
597
 
598
- #: includes/class-wcpdf-settings.php:712
599
- msgid "Debug settings"
 
 
 
600
  msgstr ""
601
 
602
- #: includes/class-wcpdf-settings.php:719
603
- msgid "Enable debug output"
 
 
 
604
  msgstr ""
605
 
606
- #: includes/class-wcpdf-settings.php:726
 
607
  msgid ""
608
- "Enable this option to output plugin errors if you're getting a blank page or "
609
- "other PDF generation issues"
610
  msgstr ""
611
 
612
- #: includes/class-wcpdf-settings.php:732
613
- msgid "Output to HTML"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
614
  msgstr ""
615
 
616
- #: includes/class-wcpdf-settings.php:739
 
617
  msgid ""
618
- "Send the template output as HTML to the browser instead of creating a PDF."
 
 
 
 
 
 
619
  msgstr ""
620
 
621
- #: includes/class-wcpdf-settings.php:745
622
- msgid "Use old tmp folder"
623
  msgstr ""
624
 
625
- #: includes/class-wcpdf-settings.php:752
 
626
  msgid ""
627
- "Before version 1.5 of PDF Invoices, temporary files were stored in the "
628
- "plugin folder. This setting is only intended for backwards compatibility, "
629
- "not recommended on new installs!"
 
630
  msgstr ""
631
 
632
- #: includes/class-wcpdf-settings.php:1092
633
- msgid "Image resolution"
634
- msgstr "Rozdzielczość obrazka"
 
 
 
 
635
 
636
- #: includes/class-wcpdf-settings.php:1208
637
  msgid ""
638
- "<b>Warning!</b> The settings below are meant for debugging/development only. "
639
- "Do not use them on a live website!"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
640
  msgstr ""
641
 
642
- #: includes/class-wcpdf-settings.php:1217
643
  msgid ""
644
- "These are used for the (optional) footer columns in the <em>Modern "
645
- "(Premium)</em> template, but can also be used for other elements in your "
646
- "custom template"
647
  msgstr ""
648
- "Te pola zostaną użyte (opcjonalnie) dla stopki szablonu <em>Modern "
649
- "(Premium)</em>,mogą jedna być też użyte dla innych elementów własnego "
650
- "szablonu."
651
 
652
- #: templates/pdf/Simple/invoice.php:29
653
- #: templates/pdf/Simple/packing-slip.php:40
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
654
  msgid "Billing Address:"
655
  msgstr "Adres rozliczeniowy:"
656
 
657
- #: templates/pdf/Simple/invoice.php:40
658
  msgid "Ship To:"
659
  msgstr "Dostawa do:"
660
 
661
- #: templates/pdf/Simple/invoice.php:49
662
  msgid "Invoice Number:"
663
  msgstr "Nr faktury:"
664
 
665
- #: templates/pdf/Simple/invoice.php:60
666
- #: templates/pdf/Simple/packing-slip.php:48
667
  msgid "Order Number:"
668
  msgstr "Zamówienie nr:"
669
 
670
- #: templates/pdf/Simple/invoice.php:64
671
- #: templates/pdf/Simple/packing-slip.php:52
672
  msgid "Order Date:"
673
  msgstr "Data zamówienia:"
674
 
675
- #: templates/pdf/Simple/invoice.php:68
676
  msgid "Payment Method:"
677
  msgstr "Metoda płatności:"
678
 
679
- #: templates/pdf/Simple/invoice.php:82
680
- #: templates/pdf/Simple/packing-slip.php:70
681
  msgid "Product"
682
  msgstr "Produkt"
683
 
684
- #: templates/pdf/Simple/invoice.php:83
685
- #: templates/pdf/Simple/packing-slip.php:71
686
  msgid "Quantity"
687
  msgstr "Ilość"
688
 
689
- #: templates/pdf/Simple/invoice.php:84
690
  msgid "Price"
691
  msgstr "Cena"
692
 
693
- #: templates/pdf/Simple/invoice.php:91
694
- #: templates/pdf/Simple/packing-slip.php:78
695
  msgid "Description"
696
  msgstr "Opis"
697
 
698
- #: templates/pdf/Simple/invoice.php:96
699
- #: templates/pdf/Simple/packing-slip.php:83
700
  msgid "SKU"
701
  msgstr "Kod"
702
 
703
- #: templates/pdf/Simple/invoice.php:97
704
- #: templates/pdf/Simple/packing-slip.php:84
705
  msgid "SKU:"
706
  msgstr "Kod:"
707
 
708
- #: templates/pdf/Simple/invoice.php:98
709
- #: templates/pdf/Simple/packing-slip.php:85
710
  msgid "Weight:"
711
  msgstr "Waga:"
712
 
713
- #: templates/pdf/Simple/invoice.php:112
714
- #: templates/pdf/Simple/packing-slip.php:99
715
  msgid "Customer Notes"
716
  msgstr "Notatki dla klienta"
717
 
718
- #: templates/pdf/Simple/packing-slip.php:29
719
  msgid "Shipping Address:"
720
  msgstr "Adres do wysyłki:"
721
 
722
- #: templates/pdf/Simple/packing-slip.php:56
723
  msgid "Shipping Method:"
724
  msgstr "Rodzaj wysyłki:"
725
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
726
  #~ msgid "Number to display on invoice"
727
  #~ msgstr "Numer wyświetlany na fakturze"
728
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
+ "POT-Creation-Date: 2017-06-09 16:38+0200\n"
5
+ "PO-Revision-Date: 2017-06-09 16:38+0200\n"
6
  "Last-Translator: Damian Wajer <webmaster@graphcore.pl>\n"
7
  "Language-Team: WP Overnight <support@wpovernight.com>\n"
8
  "Language: pl_PL\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.12\n"
13
+ "X-Poedit-Basepath: ..\n"
14
  "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
15
  "|| n%100>=20) ? 1 : 2);\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
+ #: includes/class-wcpdf-admin.php:72 includes/class-wcpdf-admin.php:174
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  msgid "Invoice Number"
22
  msgstr "Numer faktury"
23
 
24
+ #: includes/class-wcpdf-admin.php:105
 
 
 
 
25
  msgid "Create PDF"
26
  msgstr "Stwórz PDF"
27
 
28
+ #: includes/class-wcpdf-admin.php:115
29
  msgid "PDF Invoice data"
30
  msgstr "Dane faktury PDF"
31
 
32
+ #: includes/class-wcpdf-admin.php:166
33
+ #: includes/documents/class-wcpdf-invoice.php:32
34
+ #: includes/documents/class-wcpdf-invoice.php:41
35
+ #: includes/legacy/class-wcpdf-legacy-functions.php:22
36
+ #: templates/Simple/invoice.php:10 templates/Simple/invoice.php:22
37
+ msgid "Invoice"
38
+ msgstr "Faktura"
39
 
40
+ #: includes/class-wcpdf-admin.php:183 includes/class-wcpdf-admin.php:204
41
+ #: templates/Simple/invoice.php:56
42
  msgid "Invoice Date:"
43
  msgstr "Data faktury:"
44
 
45
+ #: includes/class-wcpdf-admin.php:189
46
+ msgid "Set invoice number & date"
47
+ msgstr ""
48
+
49
+ #: includes/class-wcpdf-admin.php:196
50
+ msgid "Invoice Number (unformatted!)"
51
+ msgstr "Numer faktury (niesformatowany!)"
52
+
53
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
54
  msgid "h"
55
  msgstr "godz."
56
 
57
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
58
  msgid "m"
59
  msgstr "min."
60
 
61
+ #: includes/class-wcpdf-frontend.php:55
62
+ msgid "Download invoice (PDF)"
63
+ msgstr "Pobierz fakturę (PDF)"
64
+
65
+ #: includes/class-wcpdf-main.php:132 includes/class-wcpdf-main.php:153
66
+ #: includes/class-wcpdf-main.php:160 includes/class-wcpdf-main.php:166
67
  msgid "You do not have sufficient permissions to access this page."
68
  msgstr "Nie masz wystarczającyh praw dostępu do tej strony."
69
 
70
+ #: includes/class-wcpdf-main.php:141
71
  msgid "Some of the export parameters are missing."
72
  msgstr "Brakuje niektóre parametrów eksportu."
73
 
74
+ #: includes/class-wcpdf-settings-callbacks.php:27
75
+ msgid ""
76
+ "<b>Warning!</b> The settings below are meant for debugging/development only. "
77
+ "Do not use them on a live website!"
78
+ msgstr ""
 
 
 
 
79
 
80
+ #: includes/class-wcpdf-settings-callbacks.php:36
81
+ msgid ""
82
+ "These are used for the (optional) footer columns in the <em>Modern "
83
+ "(Premium)</em> template, but can also be used for other elements in your "
84
+ "custom template"
85
+ msgstr ""
86
+ "Te pola zostaną użyte (opcjonalnie) dla stopki szablonu <em>Modern "
87
+ "(Premium)</em>,mogą jedna być też użyte dla innych elementów własnego "
88
+ "szablonu."
89
 
90
+ #: includes/class-wcpdf-settings-callbacks.php:301
91
+ msgid "Image resolution"
92
+ msgstr "Rozdzielczość obrazka"
93
 
94
+ #: includes/class-wcpdf-settings-callbacks.php:325
95
+ msgid "Save"
96
  msgstr ""
97
 
98
+ #: includes/class-wcpdf-settings-debug.php:34
99
+ msgid "Debug settings"
100
  msgstr ""
101
 
102
+ #: includes/class-wcpdf-settings-debug.php:40
103
+ msgid "Legacy mode"
 
 
104
  msgstr ""
105
 
106
+ #: includes/class-wcpdf-settings-debug.php:46
107
+ msgid ""
108
+ "Legacy mode ensures compatibility with templates and filters from previous "
109
+ "versions."
110
  msgstr ""
111
 
112
+ #: includes/class-wcpdf-settings-debug.php:52
113
+ msgid "Enable debug output"
 
 
114
  msgstr ""
115
 
116
+ #: includes/class-wcpdf-settings-debug.php:58
117
  msgid ""
118
+ "Enable this option to output plugin errors if you're getting a blank page or "
119
+ "other PDF generation issues"
120
  msgstr ""
121
 
122
+ #: includes/class-wcpdf-settings-debug.php:64
123
+ msgid "Output to HTML"
 
 
124
  msgstr ""
125
 
126
+ #: includes/class-wcpdf-settings-debug.php:70
127
  msgid ""
128
+ "Send the template output as HTML to the browser instead of creating a PDF."
 
 
129
  msgstr ""
130
 
131
+ #: includes/class-wcpdf-settings-documents.php:29
132
+ #: includes/class-wcpdf-settings.php:84
133
+ msgid "Documents"
134
  msgstr ""
135
 
136
+ #: includes/class-wcpdf-settings-documents.php:45
137
+ msgid ""
138
+ "All available documents are listed below. Click on a document to configure "
139
+ "it."
140
  msgstr ""
141
 
142
+ #: includes/class-wcpdf-settings-general.php:37
143
+ msgid "General settings"
144
+ msgstr "Ustawienia ogólne"
145
 
146
+ #: includes/class-wcpdf-settings-general.php:43
147
+ msgid "How do you want to view the PDF?"
148
+ msgstr "Jak ma być pokazany PDF?"
 
 
 
 
149
 
150
+ #: includes/class-wcpdf-settings-general.php:50
151
+ msgid "Download the PDF"
152
+ msgstr "Ściągnij PDF"
153
 
154
+ #: includes/class-wcpdf-settings-general.php:51
155
+ msgid "Open the PDF in a new browser tab/window"
156
+ msgstr "Otwórz PDF w nowej zakładce/okienku przeglądarki"
 
 
157
 
158
+ #: includes/class-wcpdf-settings-general.php:58
159
+ msgid "Choose a template"
160
+ msgstr "Wybierz szablon"
161
+
162
+ #: includes/class-wcpdf-settings-general.php:65
163
+ #, php-format
164
  msgid ""
165
+ "Want to use your own template? Copy all the files from <code>%s</code> to "
166
+ "your (child) theme in <code>%s</code> to customize them"
167
  msgstr ""
168
+ "Chcesz użyć własnego szablonu? Skopiuj wszystkie pliki z <code>%s</code> do "
169
+ "<code>%s</code> i dostosuj je."
170
 
171
+ #: includes/class-wcpdf-settings-general.php:71
172
+ msgid "Paper size"
173
+ msgstr "Rozmiar wydruku"
174
 
175
+ #: includes/class-wcpdf-settings-general.php:78
176
+ msgid "A4"
177
+ msgstr "A4"
178
 
179
+ #: includes/class-wcpdf-settings-general.php:79
180
+ msgid "Letter"
181
+ msgstr "List"
 
 
182
 
183
+ #: includes/class-wcpdf-settings-general.php:86
184
+ msgid "Extended currency symbol support"
185
  msgstr ""
186
 
187
+ #: includes/class-wcpdf-settings-general.php:92
188
+ msgid "Enable this if your currency symbol is not displaying properly"
 
189
  msgstr ""
190
 
191
+ #: includes/class-wcpdf-settings-general.php:98
192
+ msgid "Shop header/logo"
193
+ msgstr "Nagłówek/logo"
 
194
 
195
+ #: includes/class-wcpdf-settings-general.php:104
196
+ msgid "Select or upload your invoice header/logo"
197
+ msgstr "Wybierz albo załaduj nagłówek/logo zamówienia"
198
 
199
+ #: includes/class-wcpdf-settings-general.php:105
200
+ msgid "Set image"
201
+ msgstr "Ustaw obraz"
202
 
203
+ #: includes/class-wcpdf-settings-general.php:106
204
+ msgid "Remove image"
205
+ msgstr "Usuń obraz"
206
 
207
+ #: includes/class-wcpdf-settings-general.php:113
208
+ msgid "Shop Name"
209
+ msgstr "Nazwa sklepu"
210
 
211
+ #: includes/class-wcpdf-settings-general.php:126
212
+ msgid "Shop Address"
213
+ msgstr "Adres sklepu"
214
 
215
+ #: includes/class-wcpdf-settings-general.php:141
216
+ msgid "Footer: terms & conditions, policies, etc."
217
+ msgstr "Stopka: ogólne postanowienia, regulamin, itp."
218
 
219
+ #: includes/class-wcpdf-settings-general.php:156
220
+ msgid "Extra template fields"
221
+ msgstr "Dodatkowe pola szablonu"
222
 
223
+ #: includes/class-wcpdf-settings-general.php:162
224
+ msgid "Extra field 1"
225
+ msgstr "Dodatkowe pole 1"
226
 
227
+ #: includes/class-wcpdf-settings-general.php:170
228
+ msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
229
+ msgstr "To jest kolumna 1 w szablonie <i>Modern (Premium)</i>"
230
 
231
+ #: includes/class-wcpdf-settings-general.php:177
232
+ msgid "Extra field 2"
233
+ msgstr "Dodatkowe pole 2"
234
 
235
+ #: includes/class-wcpdf-settings-general.php:185
236
+ msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
237
+ msgstr "To jest kolumna 2 w szablonie <i>Modern (Premium)</i>"
238
 
239
+ #: includes/class-wcpdf-settings-general.php:192
240
+ msgid "Extra field 3"
241
+ msgstr "Dodatkowe pole 3"
242
 
243
+ #: includes/class-wcpdf-settings-general.php:200
244
+ msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
245
+ msgstr "To jest kolumna 3 w szablonie <i>Modern (Premium)</i>"
246
 
247
+ #: includes/class-wcpdf-settings.php:45 includes/class-wcpdf-settings.php:46
248
+ msgid "PDF Invoices"
249
+ msgstr "Faktury PDF"
250
 
251
+ #: includes/class-wcpdf-settings.php:58
252
+ msgid "Settings"
253
+ msgstr "Ustawienia"
 
 
 
 
 
 
 
254
 
255
+ #: includes/class-wcpdf-settings.php:71
256
+ msgid "Documentation"
257
+ msgstr ""
258
 
259
+ #: includes/class-wcpdf-settings.php:72
260
+ msgid "Support Forum"
 
 
261
  msgstr ""
 
 
262
 
263
+ #: includes/class-wcpdf-settings.php:83
264
+ msgid "General"
265
+ msgstr "Ogólne"
266
 
267
+ #: includes/class-wcpdf-settings.php:89
268
+ msgid "Status"
269
+ msgstr "Status"
270
 
271
+ #: includes/compatibility/class-wc-core-compatibility.php:222
272
+ msgid "WooCommerce"
273
+ msgstr ""
274
 
275
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:113
276
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:176
277
+ msgid "N/A"
278
+ msgstr "nie dotyczy"
279
 
280
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:305
281
+ msgid "Payment method"
282
+ msgstr "Metoda płatności"
283
 
284
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:326
285
+ msgid "Shipping method"
286
+ msgstr "Rodzaj wysyłki"
287
 
288
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:669
289
+ #, php-format
290
+ msgid "(includes %s)"
291
+ msgstr ""
292
 
293
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:672
294
+ #, php-format
295
+ msgid "(Includes %s)"
296
+ msgstr "(Zawiera %s)"
297
 
298
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:702
299
+ msgid "Subtotal"
300
+ msgstr "Podsuma produktów"
301
 
302
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:727
303
+ msgid "Shipping"
304
+ msgstr "Wysyłka"
 
 
 
 
 
305
 
306
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:790
307
+ msgid "Discount"
308
+ msgstr "Rabat"
309
 
310
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:831
311
+ msgid "VAT"
312
+ msgstr "VAT"
313
 
314
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:832
315
+ msgid "Tax rate"
316
+ msgstr "Wysokość podatku"
317
 
318
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:876
319
+ msgid "Total ex. VAT"
320
+ msgstr "Suma bez Vat (netto)"
321
 
322
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:879
323
+ msgid "Total"
324
+ msgstr "Suma"
325
 
326
+ #: includes/documents/abstract-wcpdf-order-document.php:674
327
+ msgid "Admin email"
328
+ msgstr ""
329
 
330
+ #: includes/documents/abstract-wcpdf-order-document.php:677
331
+ msgid "Manual email"
332
+ msgstr ""
333
 
334
+ # This is a filename (prefix). do not use spaces or special characters!
335
+ # Additional Polish commentary: Ze względu na polskie prawo wtyczka ta nie jest odpowiednia do wystawiania faktur, dlatego "invoice" zamiast słowa "faktura" jest tłumaczone jako "zamówienie".
336
+ # Additional Polish commentary: Adnotacja do powyższego: Dodatkowe pola i własne szablony umożliwiają dostosowanie wtyczki i informacji generowanych na fakturze do własnych potrzeb, dlatego przywrócone zostało prawidłowe tłumaczenie słowa "faktura".
337
+ #: includes/documents/class-wcpdf-invoice.php:85
338
+ msgid "invoice"
339
+ msgid_plural "invoices"
340
+ msgstr[0] "faktura"
341
+ msgstr[1] "faktury"
342
+ msgstr[2] "faktur"
343
 
344
+ #: includes/documents/class-wcpdf-invoice.php:130
345
+ #: includes/documents/class-wcpdf-packing-slip.php:94
346
+ msgid "Enable"
347
+ msgstr ""
348
 
349
+ #: includes/documents/class-wcpdf-invoice.php:141
350
+ msgid "Attach to:"
351
+ msgstr ""
352
+
353
+ #: includes/documents/class-wcpdf-invoice.php:148
354
+ #, php-format
355
+ msgid ""
356
+ "It looks like the temp folder (<code>%s</code>) is not writable, check the "
357
+ "permissions for this folder! Without having write access to this folder, the "
358
+ "plugin will not be able to email invoices."
359
+ msgstr ""
360
+ "Folder tymczasowy (<code>%s</code>) nie może być zapisany, proszę sprawdzić "
361
+ "atrybuty tego folderu. Bez prawa do zapisu E-Maile do zamówienia nie mogą "
362
+ "być wysłane."
363
 
364
+ #: includes/documents/class-wcpdf-invoice.php:154
365
  msgid "Display shipping address"
366
  msgstr "Wyświetl adres do wysyłki"
367
 
368
+ #: includes/documents/class-wcpdf-invoice.php:160
369
  msgid ""
370
+ "Display shipping address (in addition to the default billing address) if "
371
+ "different from billing address"
372
  msgstr ""
 
 
373
 
374
+ #: includes/documents/class-wcpdf-invoice.php:166
375
+ #: includes/documents/class-wcpdf-packing-slip.php:117
376
  msgid "Display email address"
377
  msgstr "Wyświetl adres email"
378
 
379
+ #: includes/documents/class-wcpdf-invoice.php:177
380
+ #: includes/documents/class-wcpdf-packing-slip.php:128
381
  msgid "Display phone number"
382
  msgstr "Wyświetl numer telefonu"
383
 
384
+ #: includes/documents/class-wcpdf-invoice.php:188
385
  msgid "Display invoice date"
386
  msgstr "Wyświetl datę faktury"
387
 
388
+ #: includes/documents/class-wcpdf-invoice.php:200
389
+ msgid "Display invoice number"
390
+ msgstr ""
391
 
392
+ #: includes/documents/class-wcpdf-invoice.php:212
393
  msgid "Next invoice number (without prefix/suffix etc.)"
394
  msgstr "Następny numer faktury (bez prefiksu/sufiksu itd.)"
395
 
396
+ #: includes/documents/class-wcpdf-invoice.php:218
397
  msgid ""
398
+ "This is the number that will be used for the next document. By default, "
399
+ "numbering starts from 1 and increases for every new document. Note that if "
400
+ "you override this and set it lower than the current/highest number, this "
401
+ "could create duplicate numbers!"
 
402
  msgstr ""
 
 
 
 
 
403
 
404
+ #: includes/documents/class-wcpdf-invoice.php:224
405
+ msgid "Number format"
406
+ msgstr ""
407
 
408
  # Jakie dokumenty należy dołączać do zamówień wysyłanych do klientów sklepu internetowego?
409
  # Zgodnie z art. 9 ust. 3 ustawy z dnia 2 marca 2000 r. o ochronie niektórych praw konsumentów sklep internetowy zobowiązany jest do potwierdzenia konsumentowi na piśmie, najpóźniej w momencie rozpoczęcia spełniania świadczenia, informacji o:
440
  # r) w przypadku gdy ma to zastosowanie – funkcjonalność treści cyfrowych, w tym również mające zastosowanie techniczne środki ich ochrony;
441
  # s) w przypadku gdy ma to zastosowanie – każda mająca znaczenie interoperacyjność treści cyfrowych ze sprzętem komputerowym i oprogramowaniem, o którym przedsiębiorca wie lub, racjonalnie oczekując, powinien był wiedzieć;
442
  # t) w przypadku gdy ma to zastosowanie – możliwość skorzystania z pozasądowych mechanizmów rozpatrywania reklamacji i dochodzenia roszczeń, którym podlega przedsiębiorca, oraz możliwości dostępu do tych procedur.
443
+ #: includes/documents/class-wcpdf-invoice.php:232
444
  msgid "Prefix"
445
  msgstr "Prefiks"
446
 
447
+ #: includes/documents/class-wcpdf-invoice.php:234
448
  msgid ""
449
+ "to use the invoice year and/or month, use [invoice_year] or [invoice_month] "
450
  "respectively"
451
  msgstr ""
 
 
452
 
453
+ #: includes/documents/class-wcpdf-invoice.php:237
454
  msgid "Suffix"
455
  msgstr "Sufiks"
456
 
457
+ #: includes/documents/class-wcpdf-invoice.php:242
458
  msgid "Padding"
459
  msgstr "Padding"
460
 
461
+ #: includes/documents/class-wcpdf-invoice.php:245
462
  msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
463
  msgstr "wpisz tutaj liczbę cyfr - wpisz \"6\" żeby wyświetlić 42 jako 000042"
464
 
465
+ #: includes/documents/class-wcpdf-invoice.php:248
466
  msgid ""
467
  "note: if you have already created a custom invoice number format with a "
468
  "filter, the above settings will be ignored"
470
  "Uwaga: Jeśli już stworzyłeś własny format zamówienia z filtrem, powyższe "
471
  "ustawienia będą zignorowane."
472
 
473
+ #: includes/documents/class-wcpdf-invoice.php:254
474
+ msgid "Reset invoice number yearly"
475
+ msgstr ""
476
+
477
+ #: includes/documents/class-wcpdf-invoice.php:265
478
+ msgid "Allow My Account invoice download"
479
+ msgstr "Pozwól na pobieranie faktur na stronie Moje konto"
480
+
481
+ #: includes/documents/class-wcpdf-invoice.php:272
482
+ msgid "Only when an invoice is already created/emailed"
483
+ msgstr "Tylko gdy faktura jest już stworzona/wysłana e-mailem"
484
+
485
+ #: includes/documents/class-wcpdf-invoice.php:273
486
+ msgid "Only for specific order statuses (define below)"
487
+ msgstr "Tylko dla wybranych statusów zamówienia (określ poniżej)"
488
+
489
+ #: includes/documents/class-wcpdf-invoice.php:274
490
+ msgid "Always"
491
+ msgstr "Zawsze"
492
+
493
+ #: includes/documents/class-wcpdf-invoice.php:275
494
+ msgid "Never"
495
+ msgstr "Nigdy"
496
+
497
+ #: includes/documents/class-wcpdf-invoice.php:290
498
+ msgid "Enable invoice number column in the orders list"
499
+ msgstr "Włącz numer faktury w kolumnie zamówień"
500
+
501
+ #: includes/documents/class-wcpdf-invoice.php:301
502
+ msgid "Disable for free products"
503
+ msgstr "Wyłącz dla darmowych produktów"
504
+
505
+ #: includes/documents/class-wcpdf-invoice.php:307
506
+ msgid ""
507
+ "Disable automatic creation/attachment when only free products are ordered"
508
+ msgstr ""
509
+
510
+ #: includes/documents/class-wcpdf-invoice.php:321
511
+ msgid "Invoice numbers are created by a third-party extension."
512
+ msgstr ""
513
+
514
+ #: includes/documents/class-wcpdf-invoice.php:323
515
+ #, php-format
516
+ msgid "Configure it <a href=\"%s\">here</a>."
517
+ msgstr ""
518
+
519
+ #: includes/documents/class-wcpdf-packing-slip.php:32
520
+ #: includes/documents/class-wcpdf-packing-slip.php:41
521
+ #: includes/legacy/class-wcpdf-legacy-functions.php:25
522
+ #: templates/Simple/packing-slip.php:10 templates/Simple/packing-slip.php:22
523
+ msgid "Packing Slip"
524
+ msgstr "Zawartość paczki"
525
+
526
+ # This is a filename (prefix). do not use spaces or special characters!
527
+ #: includes/documents/class-wcpdf-packing-slip.php:53
528
+ msgid "packing-slip"
529
+ msgid_plural "packing-slips"
530
+ msgstr[0] "dowód wysyłki"
531
+ msgstr[1] "dowody wysyłki"
532
+ msgstr[2] "dowodów wysyłki"
533
+
534
+ #: includes/documents/class-wcpdf-packing-slip.php:105
535
  msgid "Display billing address"
536
  msgstr "Wyświetl adres rozliczeniowy"
537
 
538
+ #: includes/documents/class-wcpdf-packing-slip.php:111
539
  msgid ""
540
+ "Display billing address (in addition to the default shipping address) if "
541
+ "different from shipping address"
542
  msgstr ""
 
 
543
 
544
+ #: includes/legacy/class-wcpdf-legacy-document.php:32
545
+ msgid "Legacy Document"
546
+ msgstr ""
547
 
548
+ #: includes/views/wcpdf-extensions.php:15
549
+ msgid "Check out these premium extensions!"
550
+ msgstr "Sprawdź te rozszerzenia premium!"
551
 
552
+ #: includes/views/wcpdf-extensions.php:16
553
+ msgid "click items to read more"
554
+ msgstr ""
555
 
556
+ #: includes/views/wcpdf-extensions.php:21
557
+ msgid ""
558
+ "Premium PDF Invoice bundle: Everything you need for a perfect invoicing "
559
+ "system"
560
+ msgstr ""
561
 
562
+ #: includes/views/wcpdf-extensions.php:23
563
+ msgid ""
564
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the all our "
565
+ "premium extensions:"
566
+ msgstr ""
567
 
568
+ #: includes/views/wcpdf-extensions.php:24
569
+ msgid "Professional features:"
570
+ msgstr ""
571
 
572
+ #: includes/views/wcpdf-extensions.php:26
573
+ #: includes/views/wcpdf-extensions.php:56
574
+ msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
575
+ msgstr ""
576
 
577
+ #: includes/views/wcpdf-extensions.php:27
578
+ #: includes/views/wcpdf-extensions.php:57
579
+ msgid ""
580
+ "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
581
+ "packing slips, for example to a drop-shipper or a supplier."
582
  msgstr ""
583
 
584
+ #: includes/views/wcpdf-extensions.php:28
585
+ #: includes/views/wcpdf-extensions.php:58
586
+ msgid ""
587
+ "Attach <b>up to 3 static files</b> (for example a terms & conditions "
588
+ "document) to the WooCommerce emails of your choice."
589
  msgstr ""
590
 
591
+ #: includes/views/wcpdf-extensions.php:29
592
+ #: includes/views/wcpdf-extensions.php:59
593
  msgid ""
594
+ "Use <b>separate numbering systems</b> and/or format for proforma invoices "
595
+ "and credit notes or utilize the main invoice numbering system"
596
  msgstr ""
597
 
598
+ #: includes/views/wcpdf-extensions.php:30
599
+ #: includes/views/wcpdf-extensions.php:60
600
+ msgid ""
601
+ "<b>Customize</b> the <b>shipping & billing address</b> format to include "
602
+ "additional custom fields, font sizes etc. without the need to create a "
603
+ "custom template."
604
+ msgstr ""
605
+
606
+ #: includes/views/wcpdf-extensions.php:31
607
+ #: includes/views/wcpdf-extensions.php:61
608
+ msgid "Use the plugin in multilingual <b>WPML</b> setups"
609
+ msgstr ""
610
+
611
+ #: includes/views/wcpdf-extensions.php:33
612
+ #: includes/views/wcpdf-extensions.php:131
613
+ msgid "Advanced, customizable templates"
614
  msgstr ""
615
 
616
+ #: includes/views/wcpdf-extensions.php:35
617
+ #: includes/views/wcpdf-extensions.php:134
618
  msgid ""
619
+ "Completely customize the invoice contents (prices, taxes, thumbnails) to "
620
+ "your needs with a drag & drop customizer"
621
+ msgstr ""
622
+
623
+ #: includes/views/wcpdf-extensions.php:36
624
+ #: includes/views/wcpdf-extensions.php:135
625
+ msgid "Two extra stylish premade templates (Modern & Business)"
626
  msgstr ""
627
 
628
+ #: includes/views/wcpdf-extensions.php:38
629
+ msgid "Upload automatically to dropbox"
630
  msgstr ""
631
 
632
+ #: includes/views/wcpdf-extensions.php:40
633
+ #: includes/views/wcpdf-extensions.php:97
634
  msgid ""
635
+ "This extension conveniently uploads all the invoices (and other pdf "
636
+ "documents from the professional extension) that are emailed to your "
637
+ "customers to Dropbox. The best way to keep your invoice administration up to "
638
+ "date!"
639
  msgstr ""
640
 
641
+ #: includes/views/wcpdf-extensions.php:43
642
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Bundle"
643
+ msgstr ""
644
+
645
+ #: includes/views/wcpdf-extensions.php:52
646
+ msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
647
+ msgstr ""
648
 
649
+ #: includes/views/wcpdf-extensions.php:54
650
  msgid ""
651
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the following "
652
+ "features:"
653
+ msgstr ""
654
+
655
+ #: includes/views/wcpdf-extensions.php:63
656
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
657
+ msgstr ""
658
+
659
+ #: includes/views/wcpdf-extensions.php:71
660
+ msgid "Automatically send payment reminders to your customers"
661
+ msgstr ""
662
+
663
+ #: includes/views/wcpdf-extensions.php:73
664
+ msgid "WooCommerce Smart Reminder emails"
665
+ msgstr ""
666
+
667
+ #: includes/views/wcpdf-extensions.php:75
668
+ msgid "<b>Completely automatic</b> scheduled emails"
669
  msgstr ""
670
 
671
+ #: includes/views/wcpdf-extensions.php:76
672
  msgid ""
673
+ "<b>Rich text editor</b> for the email text, including placeholders for data "
674
+ "from the order (name, order total, etc)"
 
675
  msgstr ""
 
 
 
676
 
677
+ #: includes/views/wcpdf-extensions.php:77
678
+ msgid ""
679
+ "Configure the exact requirements for sending an email (time after order, "
680
+ "order status, payment method)"
681
+ msgstr ""
682
+
683
+ #: includes/views/wcpdf-extensions.php:78
684
+ msgid ""
685
+ "Fully <b>WPML Compatible</b> – emails will be automatically sent in the "
686
+ "order language."
687
+ msgstr ""
688
+
689
+ #: includes/views/wcpdf-extensions.php:79
690
+ msgid ""
691
+ "<b>Super versatile!</b> Can be used for any kind of reminder email (review "
692
+ "reminders, repeat purchases)"
693
+ msgstr ""
694
+
695
+ #: includes/views/wcpdf-extensions.php:80
696
+ msgid "Integrates seamlessly with the PDF Invoices & Packing Slips plugin"
697
+ msgstr ""
698
+
699
+ #: includes/views/wcpdf-extensions.php:82
700
+ msgid "Get WooCommerce Smart Reminder Emails"
701
+ msgstr ""
702
+
703
+ #: includes/views/wcpdf-extensions.php:91
704
+ msgid "Upload all invoices automatically to your dropbox"
705
+ msgstr "Załaduj wszystkie faktury PDF automatycznie do twojego dropboxa"
706
+
707
+ #: includes/views/wcpdf-extensions.php:98
708
+ msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
709
+ msgstr ""
710
+
711
+ #: includes/views/wcpdf-extensions.php:110
712
+ msgid ""
713
+ "Automatically send new orders or packing slips to your printer, as soon as "
714
+ "the customer orders!"
715
+ msgstr ""
716
+
717
+ #: includes/views/wcpdf-extensions.php:116
718
+ msgid ""
719
+ "Check out the WooCommerce Automatic Order Printing extension from our "
720
+ "partners at Simba Hosting"
721
+ msgstr ""
722
+
723
+ #: includes/views/wcpdf-extensions.php:117
724
+ msgid "WooCommerce Automatic Order Printing"
725
+ msgstr ""
726
+
727
+ #: includes/views/wcpdf-extensions.php:136
728
+ #, php-format
729
+ msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
730
+ msgstr ""
731
+
732
+ #: includes/views/wcpdf-extensions.php:137
733
+ #, php-format
734
+ msgid "For custom templates, contact us at %s."
735
+ msgstr "Jeśli potrzebujesz własnych szablonów, skontaktuj się z nami na %s."
736
+
737
+ #: includes/views/wcpdf-extensions.php:146
738
+ msgid "Hide this message"
739
+ msgstr ""
740
+
741
+ #: includes/views/wcpdf-settings-page.php:8
742
+ msgid "WooCommerce PDF Invoices"
743
+ msgstr "WooCommerce Faktury PDF"
744
+
745
+ #: templates/Simple/invoice.php:30 templates/Simple/packing-slip.php:41
746
  msgid "Billing Address:"
747
  msgstr "Adres rozliczeniowy:"
748
 
749
+ #: templates/Simple/invoice.php:41
750
  msgid "Ship To:"
751
  msgstr "Dostawa do:"
752
 
753
+ #: templates/Simple/invoice.php:50
754
  msgid "Invoice Number:"
755
  msgstr "Nr faktury:"
756
 
757
+ #: templates/Simple/invoice.php:61 templates/Simple/packing-slip.php:49
 
758
  msgid "Order Number:"
759
  msgstr "Zamówienie nr:"
760
 
761
+ #: templates/Simple/invoice.php:65 templates/Simple/packing-slip.php:53
 
762
  msgid "Order Date:"
763
  msgstr "Data zamówienia:"
764
 
765
+ #: templates/Simple/invoice.php:69
766
  msgid "Payment Method:"
767
  msgstr "Metoda płatności:"
768
 
769
+ #: templates/Simple/invoice.php:83 templates/Simple/packing-slip.php:71
 
770
  msgid "Product"
771
  msgstr "Produkt"
772
 
773
+ #: templates/Simple/invoice.php:84 templates/Simple/packing-slip.php:72
 
774
  msgid "Quantity"
775
  msgstr "Ilość"
776
 
777
+ #: templates/Simple/invoice.php:85
778
  msgid "Price"
779
  msgstr "Cena"
780
 
781
+ #: templates/Simple/invoice.php:92 templates/Simple/packing-slip.php:79
 
782
  msgid "Description"
783
  msgstr "Opis"
784
 
785
+ #: templates/Simple/invoice.php:97 templates/Simple/packing-slip.php:84
 
786
  msgid "SKU"
787
  msgstr "Kod"
788
 
789
+ #: templates/Simple/invoice.php:98 templates/Simple/packing-slip.php:85
 
790
  msgid "SKU:"
791
  msgstr "Kod:"
792
 
793
+ #: templates/Simple/invoice.php:99 templates/Simple/packing-slip.php:86
 
794
  msgid "Weight:"
795
  msgstr "Waga:"
796
 
797
+ #: templates/Simple/invoice.php:114 templates/Simple/packing-slip.php:101
 
798
  msgid "Customer Notes"
799
  msgstr "Notatki dla klienta"
800
 
801
+ #: templates/Simple/packing-slip.php:30
802
  msgid "Shipping Address:"
803
  msgstr "Adres do wysyłki:"
804
 
805
+ #: templates/Simple/packing-slip.php:57
806
  msgid "Shipping Method:"
807
  msgstr "Rodzaj wysyłki:"
808
 
809
+ #: woocommerce-pdf-invoices-packingslips.php:231
810
+ #, php-format
811
+ msgid ""
812
+ "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
813
+ "installed & activated!"
814
+ msgstr "WooCommerce PDF Invoices & Packing Slips potrzebuje %sWooCommerce%s !"
815
+
816
+ #: woocommerce-pdf-invoices-packingslips.php:243
817
+ msgid ""
818
+ "WooCommerce PDF Invoices & Packing Slips requires PHP 5.3 or higher (5.6 or "
819
+ "higher recommended)."
820
+ msgstr ""
821
+
822
+ #: woocommerce-pdf-invoices-packingslips.php:244
823
+ msgid "How to update your PHP version"
824
+ msgstr ""
825
+
826
+ #~ msgid "Attach invoice to:"
827
+ #~ msgstr "Dołącz fakturę do:"
828
+
829
+ #~ msgid ""
830
+ #~ "Display shipping address on invoice (in addition to the default billing "
831
+ #~ "address) if different from billing address"
832
+ #~ msgstr ""
833
+ #~ "Wyświetl adres do wysyłki na fakturze (oprócz domyślnego adresu "
834
+ #~ "rozliczeniowego) jeżeli jest inny niż adres rozliczeniowy"
835
+
836
+ #~ msgid ""
837
+ #~ "This is the number that will be used on the next invoice that is created. "
838
+ #~ "By default, numbering starts from the WooCommerce Order Number of the "
839
+ #~ "first invoice that is created and increases for every new invoice. Note "
840
+ #~ "that if you override this and set it lower than the highest (PDF) invoice "
841
+ #~ "number, this could create double invoice numbers!"
842
+ #~ msgstr ""
843
+ #~ "To jest numer, który będzie użyty na następnej fakturze. Domyślnie numer "
844
+ #~ "startowy jest brany z numeru zamówienia WooCommerce dla pierwszej "
845
+ #~ "wygenerowanej faktury i zwiększa się z każdym nowym zamówieniem. Zwróć "
846
+ #~ "uwagę, że jeśli nadpiszesz to i ustawisz numer niższy niż najwyższy numer "
847
+ #~ "faktury (PDF), to może zdublować numery faktur!"
848
+
849
+ #~ msgid "Invoice number format"
850
+ #~ msgstr "Format numeru faktury"
851
+
852
+ #~ msgid ""
853
+ #~ "Disable automatic creation/attachment of invoices when only free products "
854
+ #~ "are ordered"
855
+ #~ msgstr ""
856
+ #~ "Wyłącz automatyczne tworzenie/dołączanie faktur gdy zamawiane są tylko "
857
+ #~ "darmowe produkty"
858
+
859
+ #~ msgid ""
860
+ #~ "Display billing address on packing slip (in addition to the default "
861
+ #~ "shipping address) if different from shipping address"
862
+ #~ msgstr ""
863
+ #~ "Wyświetl adres rozliczeniowy w zawartości paczki (oprócz domyślnego "
864
+ #~ "adresu do wysyłki) jeżeli jest inny niż adres do wysyłki"
865
+
866
+ #~ msgid "PDF Packing Slips"
867
+ #~ msgstr "Zawartość paczek PDF"
868
+
869
+ #~ msgid "PDF Invoice"
870
+ #~ msgstr "Faktura PDF"
871
+
872
+ #~ msgid "PDF Packing Slip"
873
+ #~ msgstr "Zawartość paczki PDF"
874
+
875
+ #~ msgid "Template"
876
+ #~ msgstr "Szablon"
877
+
878
+ #~ msgid "Admin New Order email"
879
+ #~ msgstr "Email do administratora o nowym zamówieniu"
880
+
881
+ #~ msgid "Customer Processing Order email"
882
+ #~ msgstr "Email do klienta o przetwarzaniu zamówienia"
883
+
884
+ #~ msgid "Customer Completed Order email"
885
+ #~ msgstr "Email do klienta o zakończeniu zamówienia"
886
+
887
+ #~ msgid "Customer Invoice email"
888
+ #~ msgstr "Email do klienta o fakturze"
889
+
890
+ #~ msgid "Interface"
891
+ #~ msgstr "Interfejs"
892
+
893
+ #~ msgid "PDF Template settings"
894
+ #~ msgstr "Ustawienia szablonu PDF"
895
+
896
+ #~ msgid "Display built-in sequential invoice number"
897
+ #~ msgstr "Wyświetl wbudowany mechanizm nadawania numerów faktur"
898
+
899
+ #~ msgid ""
900
+ #~ "to use the order year and/or month, use [order_year] or [order_month] "
901
+ #~ "respectively"
902
+ #~ msgstr ""
903
+ #~ "żeby użyć roku i/albo miesiąca zamówienia, użyj odpowiednio [order_year] "
904
+ #~ "albo [order_month]"
905
+
906
  #~ msgid "Number to display on invoice"
907
  #~ msgstr "Numer wyświetlany na fakturze"
908
 
languages/woocommerce-pdf-invoices-packing-slips-pt_BR.mo ADDED
Binary file
languages/woocommerce-pdf-invoices-packing-slips-pt_BR.po ADDED
@@ -0,0 +1,884 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
+ "POT-Creation-Date: 2017-06-09 16:38+0200\n"
5
+ "PO-Revision-Date: 2017-06-09 16:38+0200\n"
6
+ "Last-Translator: Victor Debone <victor@debone.com.br>\n"
7
+ "Language-Team: Victor Debone <victor@debone.com.br>\n"
8
+ "Language: pt_BR\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.12\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=(n > 1);\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: includes/class-wcpdf-admin.php:72 includes/class-wcpdf-admin.php:174
20
+ msgid "Invoice Number"
21
+ msgstr "Número da Fatura"
22
+
23
+ #: includes/class-wcpdf-admin.php:105
24
+ msgid "Create PDF"
25
+ msgstr "Criar PDF"
26
+
27
+ #: includes/class-wcpdf-admin.php:115
28
+ msgid "PDF Invoice data"
29
+ msgstr ""
30
+
31
+ #: includes/class-wcpdf-admin.php:166
32
+ #: includes/documents/class-wcpdf-invoice.php:32
33
+ #: includes/documents/class-wcpdf-invoice.php:41
34
+ #: includes/legacy/class-wcpdf-legacy-functions.php:22
35
+ #: templates/Simple/invoice.php:10 templates/Simple/invoice.php:22
36
+ msgid "Invoice"
37
+ msgstr "Fatura"
38
+
39
+ #: includes/class-wcpdf-admin.php:183 includes/class-wcpdf-admin.php:204
40
+ #: templates/Simple/invoice.php:56
41
+ msgid "Invoice Date:"
42
+ msgstr "Data da Fatura:"
43
+
44
+ #: includes/class-wcpdf-admin.php:189
45
+ msgid "Set invoice number & date"
46
+ msgstr ""
47
+
48
+ #: includes/class-wcpdf-admin.php:196
49
+ msgid "Invoice Number (unformatted!)"
50
+ msgstr ""
51
+
52
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
53
+ msgid "h"
54
+ msgstr "h"
55
+
56
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
57
+ msgid "m"
58
+ msgstr "m"
59
+
60
+ #: includes/class-wcpdf-frontend.php:55
61
+ msgid "Download invoice (PDF)"
62
+ msgstr "Baixar Fatura (PDF)"
63
+
64
+ #: includes/class-wcpdf-main.php:132 includes/class-wcpdf-main.php:153
65
+ #: includes/class-wcpdf-main.php:160 includes/class-wcpdf-main.php:166
66
+ msgid "You do not have sufficient permissions to access this page."
67
+ msgstr "Você não tem permissões o bastante para acessar essa página."
68
+
69
+ #: includes/class-wcpdf-main.php:141
70
+ msgid "Some of the export parameters are missing."
71
+ msgstr ""
72
+
73
+ #: includes/class-wcpdf-settings-callbacks.php:27
74
+ msgid ""
75
+ "<b>Warning!</b> The settings below are meant for debugging/development only. "
76
+ "Do not use them on a live website!"
77
+ msgstr ""
78
+
79
+ #: includes/class-wcpdf-settings-callbacks.php:36
80
+ msgid ""
81
+ "These are used for the (optional) footer columns in the <em>Modern "
82
+ "(Premium)</em> template, but can also be used for other elements in your "
83
+ "custom template"
84
+ msgstr ""
85
+ "Esses são usados para colunas opcionais do rodapé no modelo <em>Premium</"
86
+ "em>, mas também podem ser usados no seu modelo personalizado"
87
+
88
+ #: includes/class-wcpdf-settings-callbacks.php:301
89
+ msgid "Image resolution"
90
+ msgstr "Resolução da Imagem"
91
+
92
+ #: includes/class-wcpdf-settings-callbacks.php:325
93
+ msgid "Save"
94
+ msgstr ""
95
+
96
+ #: includes/class-wcpdf-settings-debug.php:34
97
+ msgid "Debug settings"
98
+ msgstr ""
99
+
100
+ #: includes/class-wcpdf-settings-debug.php:40
101
+ msgid "Legacy mode"
102
+ msgstr ""
103
+
104
+ #: includes/class-wcpdf-settings-debug.php:46
105
+ msgid ""
106
+ "Legacy mode ensures compatibility with templates and filters from previous "
107
+ "versions."
108
+ msgstr ""
109
+
110
+ #: includes/class-wcpdf-settings-debug.php:52
111
+ msgid "Enable debug output"
112
+ msgstr ""
113
+
114
+ #: includes/class-wcpdf-settings-debug.php:58
115
+ msgid ""
116
+ "Enable this option to output plugin errors if you're getting a blank page or "
117
+ "other PDF generation issues"
118
+ msgstr ""
119
+
120
+ #: includes/class-wcpdf-settings-debug.php:64
121
+ msgid "Output to HTML"
122
+ msgstr ""
123
+
124
+ #: includes/class-wcpdf-settings-debug.php:70
125
+ msgid ""
126
+ "Send the template output as HTML to the browser instead of creating a PDF."
127
+ msgstr ""
128
+
129
+ #: includes/class-wcpdf-settings-documents.php:29
130
+ #: includes/class-wcpdf-settings.php:84
131
+ msgid "Documents"
132
+ msgstr ""
133
+
134
+ #: includes/class-wcpdf-settings-documents.php:45
135
+ msgid ""
136
+ "All available documents are listed below. Click on a document to configure "
137
+ "it."
138
+ msgstr ""
139
+
140
+ #: includes/class-wcpdf-settings-general.php:37
141
+ msgid "General settings"
142
+ msgstr "Opções Gerais"
143
+
144
+ #: includes/class-wcpdf-settings-general.php:43
145
+ msgid "How do you want to view the PDF?"
146
+ msgstr "Como você deseja visualizar o PDF?"
147
+
148
+ #: includes/class-wcpdf-settings-general.php:50
149
+ msgid "Download the PDF"
150
+ msgstr "Baixar o PDF"
151
+
152
+ #: includes/class-wcpdf-settings-general.php:51
153
+ msgid "Open the PDF in a new browser tab/window"
154
+ msgstr "Abrir o PDF em uma nova aba/janela"
155
+
156
+ #: includes/class-wcpdf-settings-general.php:58
157
+ msgid "Choose a template"
158
+ msgstr "Escolha um modelo"
159
+
160
+ #: includes/class-wcpdf-settings-general.php:65
161
+ #, php-format
162
+ msgid ""
163
+ "Want to use your own template? Copy all the files from <code>%s</code> to "
164
+ "your (child) theme in <code>%s</code> to customize them"
165
+ msgstr ""
166
+ "Quer usar o seu próprio modelo? Copie todos os arquivos de <code>%s</code> "
167
+ "para o seu tema(-filho) em <code>%s</code> para personalizar ele"
168
+
169
+ #: includes/class-wcpdf-settings-general.php:71
170
+ msgid "Paper size"
171
+ msgstr "Tamanho do Papel"
172
+
173
+ #: includes/class-wcpdf-settings-general.php:78
174
+ msgid "A4"
175
+ msgstr "A4"
176
+
177
+ #: includes/class-wcpdf-settings-general.php:79
178
+ msgid "Letter"
179
+ msgstr "Carta"
180
+
181
+ #: includes/class-wcpdf-settings-general.php:86
182
+ msgid "Extended currency symbol support"
183
+ msgstr ""
184
+
185
+ #: includes/class-wcpdf-settings-general.php:92
186
+ msgid "Enable this if your currency symbol is not displaying properly"
187
+ msgstr ""
188
+
189
+ #: includes/class-wcpdf-settings-general.php:98
190
+ msgid "Shop header/logo"
191
+ msgstr "Logo/Cabeçalho do Loja"
192
+
193
+ #: includes/class-wcpdf-settings-general.php:104
194
+ msgid "Select or upload your invoice header/logo"
195
+ msgstr "Selecione ou envie o seu logo/cabeçalho"
196
+
197
+ #: includes/class-wcpdf-settings-general.php:105
198
+ msgid "Set image"
199
+ msgstr "Definir Imagem"
200
+
201
+ #: includes/class-wcpdf-settings-general.php:106
202
+ msgid "Remove image"
203
+ msgstr "Remover Imagem"
204
+
205
+ #: includes/class-wcpdf-settings-general.php:113
206
+ msgid "Shop Name"
207
+ msgstr "Nome da Loja"
208
+
209
+ #: includes/class-wcpdf-settings-general.php:126
210
+ msgid "Shop Address"
211
+ msgstr "Endereço da Loja"
212
+
213
+ #: includes/class-wcpdf-settings-general.php:141
214
+ msgid "Footer: terms & conditions, policies, etc."
215
+ msgstr "Rodapé: Termos e condições, políticas, etc..."
216
+
217
+ #: includes/class-wcpdf-settings-general.php:156
218
+ msgid "Extra template fields"
219
+ msgstr "Campos Extras de Modelos"
220
+
221
+ #: includes/class-wcpdf-settings-general.php:162
222
+ msgid "Extra field 1"
223
+ msgstr "Campo extra 1"
224
+
225
+ #: includes/class-wcpdf-settings-general.php:170
226
+ msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
227
+ msgstr "Essa é a primeira coluna do rodapé"
228
+
229
+ #: includes/class-wcpdf-settings-general.php:177
230
+ msgid "Extra field 2"
231
+ msgstr "Campo extra 2"
232
+
233
+ #: includes/class-wcpdf-settings-general.php:185
234
+ msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
235
+ msgstr "Essa é a primeira coluna do rodapé"
236
+
237
+ #: includes/class-wcpdf-settings-general.php:192
238
+ msgid "Extra field 3"
239
+ msgstr "Campo extra 3"
240
+
241
+ #: includes/class-wcpdf-settings-general.php:200
242
+ msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
243
+ msgstr "Essa é a primeira coluna do rodapé"
244
+
245
+ #: includes/class-wcpdf-settings.php:45 includes/class-wcpdf-settings.php:46
246
+ msgid "PDF Invoices"
247
+ msgstr "Faturas em PDF"
248
+
249
+ #: includes/class-wcpdf-settings.php:58
250
+ msgid "Settings"
251
+ msgstr "Opções"
252
+
253
+ #: includes/class-wcpdf-settings.php:71
254
+ msgid "Documentation"
255
+ msgstr ""
256
+
257
+ #: includes/class-wcpdf-settings.php:72
258
+ msgid "Support Forum"
259
+ msgstr ""
260
+
261
+ #: includes/class-wcpdf-settings.php:83
262
+ msgid "General"
263
+ msgstr "Geral"
264
+
265
+ #: includes/class-wcpdf-settings.php:89
266
+ msgid "Status"
267
+ msgstr "Status"
268
+
269
+ #: includes/compatibility/class-wc-core-compatibility.php:222
270
+ msgid "WooCommerce"
271
+ msgstr ""
272
+
273
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:113
274
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:176
275
+ msgid "N/A"
276
+ msgstr "N/A"
277
+
278
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:305
279
+ msgid "Payment method"
280
+ msgstr "Método de Pagamento"
281
+
282
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:326
283
+ msgid "Shipping method"
284
+ msgstr "Método de Entrega"
285
+
286
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:669
287
+ #, php-format
288
+ msgid "(includes %s)"
289
+ msgstr ""
290
+
291
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:672
292
+ #, php-format
293
+ msgid "(Includes %s)"
294
+ msgstr ""
295
+
296
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:702
297
+ msgid "Subtotal"
298
+ msgstr "Sub-total"
299
+
300
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:727
301
+ msgid "Shipping"
302
+ msgstr "Frete"
303
+
304
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:790
305
+ msgid "Discount"
306
+ msgstr "Desconto"
307
+
308
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:831
309
+ msgid "VAT"
310
+ msgstr "Impostos"
311
+
312
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:832
313
+ msgid "Tax rate"
314
+ msgstr ""
315
+
316
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:876
317
+ msgid "Total ex. VAT"
318
+ msgstr "Total s/ impostos"
319
+
320
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:879
321
+ msgid "Total"
322
+ msgstr "Total"
323
+
324
+ #: includes/documents/abstract-wcpdf-order-document.php:674
325
+ msgid "Admin email"
326
+ msgstr ""
327
+
328
+ #: includes/documents/abstract-wcpdf-order-document.php:677
329
+ msgid "Manual email"
330
+ msgstr ""
331
+
332
+ # This is a filename (prefix). do not use spaces or special characters!
333
+ #: includes/documents/class-wcpdf-invoice.php:85
334
+ msgid "invoice"
335
+ msgid_plural "invoices"
336
+ msgstr[0] "fatura"
337
+ msgstr[1] "faturas"
338
+
339
+ #: includes/documents/class-wcpdf-invoice.php:130
340
+ #: includes/documents/class-wcpdf-packing-slip.php:94
341
+ msgid "Enable"
342
+ msgstr ""
343
+
344
+ #: includes/documents/class-wcpdf-invoice.php:141
345
+ msgid "Attach to:"
346
+ msgstr ""
347
+
348
+ #: includes/documents/class-wcpdf-invoice.php:148
349
+ #, php-format
350
+ msgid ""
351
+ "It looks like the temp folder (<code>%s</code>) is not writable, check the "
352
+ "permissions for this folder! Without having write access to this folder, the "
353
+ "plugin will not be able to email invoices."
354
+ msgstr ""
355
+ "Parece que a pasta temporária (<code>%s</code>) não tem permissão de "
356
+ "escrita! Sem a permissão de escrita nessa pasta o plugin não poderá enviar "
357
+ "as faturas por email."
358
+
359
+ #: includes/documents/class-wcpdf-invoice.php:154
360
+ msgid "Display shipping address"
361
+ msgstr ""
362
+
363
+ #: includes/documents/class-wcpdf-invoice.php:160
364
+ msgid ""
365
+ "Display shipping address (in addition to the default billing address) if "
366
+ "different from billing address"
367
+ msgstr ""
368
+
369
+ #: includes/documents/class-wcpdf-invoice.php:166
370
+ #: includes/documents/class-wcpdf-packing-slip.php:117
371
+ msgid "Display email address"
372
+ msgstr ""
373
+
374
+ #: includes/documents/class-wcpdf-invoice.php:177
375
+ #: includes/documents/class-wcpdf-packing-slip.php:128
376
+ msgid "Display phone number"
377
+ msgstr ""
378
+
379
+ #: includes/documents/class-wcpdf-invoice.php:188
380
+ msgid "Display invoice date"
381
+ msgstr "Mostrar a data da Fatura"
382
+
383
+ #: includes/documents/class-wcpdf-invoice.php:200
384
+ msgid "Display invoice number"
385
+ msgstr ""
386
+
387
+ #: includes/documents/class-wcpdf-invoice.php:212
388
+ msgid "Next invoice number (without prefix/suffix etc.)"
389
+ msgstr "Próximo número da fatura (sem prefixo/sufixo etc.)"
390
+
391
+ #: includes/documents/class-wcpdf-invoice.php:218
392
+ msgid ""
393
+ "This is the number that will be used for the next document. By default, "
394
+ "numbering starts from 1 and increases for every new document. Note that if "
395
+ "you override this and set it lower than the current/highest number, this "
396
+ "could create duplicate numbers!"
397
+ msgstr ""
398
+
399
+ #: includes/documents/class-wcpdf-invoice.php:224
400
+ msgid "Number format"
401
+ msgstr ""
402
+
403
+ #: includes/documents/class-wcpdf-invoice.php:232
404
+ msgid "Prefix"
405
+ msgstr "Prefixo"
406
+
407
+ #: includes/documents/class-wcpdf-invoice.php:234
408
+ msgid ""
409
+ "to use the invoice year and/or month, use [invoice_year] or [invoice_month] "
410
+ "respectively"
411
+ msgstr ""
412
+
413
+ #: includes/documents/class-wcpdf-invoice.php:237
414
+ msgid "Suffix"
415
+ msgstr "Sufixo"
416
+
417
+ #: includes/documents/class-wcpdf-invoice.php:242
418
+ msgid "Padding"
419
+ msgstr "Margem"
420
+
421
+ #: includes/documents/class-wcpdf-invoice.php:245
422
+ msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
423
+ msgstr ""
424
+ "insira o número de dígitos aqui - insira \"6\" para mostra 42 como 000042"
425
+
426
+ #: includes/documents/class-wcpdf-invoice.php:248
427
+ msgid ""
428
+ "note: if you have already created a custom invoice number format with a "
429
+ "filter, the above settings will be ignored"
430
+ msgstr ""
431
+ "nota: se você já criou um formato de número personalizado de fatura com um "
432
+ "filtro, as opções acima serão ignoradas"
433
+
434
+ #: includes/documents/class-wcpdf-invoice.php:254
435
+ msgid "Reset invoice number yearly"
436
+ msgstr ""
437
+
438
+ #: includes/documents/class-wcpdf-invoice.php:265
439
+ msgid "Allow My Account invoice download"
440
+ msgstr ""
441
+
442
+ #: includes/documents/class-wcpdf-invoice.php:272
443
+ msgid "Only when an invoice is already created/emailed"
444
+ msgstr ""
445
+
446
+ #: includes/documents/class-wcpdf-invoice.php:273
447
+ msgid "Only for specific order statuses (define below)"
448
+ msgstr ""
449
+
450
+ #: includes/documents/class-wcpdf-invoice.php:274
451
+ msgid "Always"
452
+ msgstr ""
453
+
454
+ #: includes/documents/class-wcpdf-invoice.php:275
455
+ msgid "Never"
456
+ msgstr ""
457
+
458
+ #: includes/documents/class-wcpdf-invoice.php:290
459
+ msgid "Enable invoice number column in the orders list"
460
+ msgstr "Permitir coluna do número da Fatura na lista de Pedidos"
461
+
462
+ #: includes/documents/class-wcpdf-invoice.php:301
463
+ msgid "Disable for free products"
464
+ msgstr ""
465
+
466
+ #: includes/documents/class-wcpdf-invoice.php:307
467
+ msgid ""
468
+ "Disable automatic creation/attachment when only free products are ordered"
469
+ msgstr ""
470
+
471
+ #: includes/documents/class-wcpdf-invoice.php:321
472
+ msgid "Invoice numbers are created by a third-party extension."
473
+ msgstr ""
474
+
475
+ #: includes/documents/class-wcpdf-invoice.php:323
476
+ #, php-format
477
+ msgid "Configure it <a href=\"%s\">here</a>."
478
+ msgstr ""
479
+
480
+ #: includes/documents/class-wcpdf-packing-slip.php:32
481
+ #: includes/documents/class-wcpdf-packing-slip.php:41
482
+ #: includes/legacy/class-wcpdf-legacy-functions.php:25
483
+ #: templates/Simple/packing-slip.php:10 templates/Simple/packing-slip.php:22
484
+ msgid "Packing Slip"
485
+ msgstr "Etiqueta do pacote"
486
+
487
+ # This is a filename (prefix). do not use spaces or special characters!
488
+ #: includes/documents/class-wcpdf-packing-slip.php:53
489
+ msgid "packing-slip"
490
+ msgid_plural "packing-slips"
491
+ msgstr[0] "Etiqueta do Pacote"
492
+ msgstr[1] "Etiquetas do pacote"
493
+
494
+ #: includes/documents/class-wcpdf-packing-slip.php:105
495
+ msgid "Display billing address"
496
+ msgstr ""
497
+
498
+ #: includes/documents/class-wcpdf-packing-slip.php:111
499
+ msgid ""
500
+ "Display billing address (in addition to the default shipping address) if "
501
+ "different from shipping address"
502
+ msgstr ""
503
+
504
+ #: includes/legacy/class-wcpdf-legacy-document.php:32
505
+ msgid "Legacy Document"
506
+ msgstr ""
507
+
508
+ #: includes/views/wcpdf-extensions.php:15
509
+ msgid "Check out these premium extensions!"
510
+ msgstr ""
511
+
512
+ #: includes/views/wcpdf-extensions.php:16
513
+ msgid "click items to read more"
514
+ msgstr ""
515
+
516
+ #: includes/views/wcpdf-extensions.php:21
517
+ msgid ""
518
+ "Premium PDF Invoice bundle: Everything you need for a perfect invoicing "
519
+ "system"
520
+ msgstr ""
521
+
522
+ #: includes/views/wcpdf-extensions.php:23
523
+ msgid ""
524
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the all our "
525
+ "premium extensions:"
526
+ msgstr ""
527
+
528
+ #: includes/views/wcpdf-extensions.php:24
529
+ msgid "Professional features:"
530
+ msgstr ""
531
+
532
+ #: includes/views/wcpdf-extensions.php:26
533
+ #: includes/views/wcpdf-extensions.php:56
534
+ msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
535
+ msgstr ""
536
+
537
+ #: includes/views/wcpdf-extensions.php:27
538
+ #: includes/views/wcpdf-extensions.php:57
539
+ msgid ""
540
+ "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
541
+ "packing slips, for example to a drop-shipper or a supplier."
542
+ msgstr ""
543
+
544
+ #: includes/views/wcpdf-extensions.php:28
545
+ #: includes/views/wcpdf-extensions.php:58
546
+ msgid ""
547
+ "Attach <b>up to 3 static files</b> (for example a terms & conditions "
548
+ "document) to the WooCommerce emails of your choice."
549
+ msgstr ""
550
+
551
+ #: includes/views/wcpdf-extensions.php:29
552
+ #: includes/views/wcpdf-extensions.php:59
553
+ msgid ""
554
+ "Use <b>separate numbering systems</b> and/or format for proforma invoices "
555
+ "and credit notes or utilize the main invoice numbering system"
556
+ msgstr ""
557
+
558
+ #: includes/views/wcpdf-extensions.php:30
559
+ #: includes/views/wcpdf-extensions.php:60
560
+ msgid ""
561
+ "<b>Customize</b> the <b>shipping & billing address</b> format to include "
562
+ "additional custom fields, font sizes etc. without the need to create a "
563
+ "custom template."
564
+ msgstr ""
565
+
566
+ #: includes/views/wcpdf-extensions.php:31
567
+ #: includes/views/wcpdf-extensions.php:61
568
+ msgid "Use the plugin in multilingual <b>WPML</b> setups"
569
+ msgstr ""
570
+
571
+ #: includes/views/wcpdf-extensions.php:33
572
+ #: includes/views/wcpdf-extensions.php:131
573
+ msgid "Advanced, customizable templates"
574
+ msgstr ""
575
+
576
+ #: includes/views/wcpdf-extensions.php:35
577
+ #: includes/views/wcpdf-extensions.php:134
578
+ msgid ""
579
+ "Completely customize the invoice contents (prices, taxes, thumbnails) to "
580
+ "your needs with a drag & drop customizer"
581
+ msgstr ""
582
+
583
+ #: includes/views/wcpdf-extensions.php:36
584
+ #: includes/views/wcpdf-extensions.php:135
585
+ msgid "Two extra stylish premade templates (Modern & Business)"
586
+ msgstr ""
587
+
588
+ #: includes/views/wcpdf-extensions.php:38
589
+ msgid "Upload automatically to dropbox"
590
+ msgstr ""
591
+
592
+ #: includes/views/wcpdf-extensions.php:40
593
+ #: includes/views/wcpdf-extensions.php:97
594
+ msgid ""
595
+ "This extension conveniently uploads all the invoices (and other pdf "
596
+ "documents from the professional extension) that are emailed to your "
597
+ "customers to Dropbox. The best way to keep your invoice administration up to "
598
+ "date!"
599
+ msgstr ""
600
+
601
+ #: includes/views/wcpdf-extensions.php:43
602
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Bundle"
603
+ msgstr ""
604
+
605
+ #: includes/views/wcpdf-extensions.php:52
606
+ msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
607
+ msgstr ""
608
+
609
+ #: includes/views/wcpdf-extensions.php:54
610
+ msgid ""
611
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the following "
612
+ "features:"
613
+ msgstr ""
614
+
615
+ #: includes/views/wcpdf-extensions.php:63
616
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
617
+ msgstr ""
618
+
619
+ #: includes/views/wcpdf-extensions.php:71
620
+ msgid "Automatically send payment reminders to your customers"
621
+ msgstr ""
622
+
623
+ #: includes/views/wcpdf-extensions.php:73
624
+ msgid "WooCommerce Smart Reminder emails"
625
+ msgstr ""
626
+
627
+ #: includes/views/wcpdf-extensions.php:75
628
+ msgid "<b>Completely automatic</b> scheduled emails"
629
+ msgstr ""
630
+
631
+ #: includes/views/wcpdf-extensions.php:76
632
+ msgid ""
633
+ "<b>Rich text editor</b> for the email text, including placeholders for data "
634
+ "from the order (name, order total, etc)"
635
+ msgstr ""
636
+
637
+ #: includes/views/wcpdf-extensions.php:77
638
+ msgid ""
639
+ "Configure the exact requirements for sending an email (time after order, "
640
+ "order status, payment method)"
641
+ msgstr ""
642
+
643
+ #: includes/views/wcpdf-extensions.php:78
644
+ msgid ""
645
+ "Fully <b>WPML Compatible</b> – emails will be automatically sent in the "
646
+ "order language."
647
+ msgstr ""
648
+
649
+ #: includes/views/wcpdf-extensions.php:79
650
+ msgid ""
651
+ "<b>Super versatile!</b> Can be used for any kind of reminder email (review "
652
+ "reminders, repeat purchases)"
653
+ msgstr ""
654
+
655
+ #: includes/views/wcpdf-extensions.php:80
656
+ msgid "Integrates seamlessly with the PDF Invoices & Packing Slips plugin"
657
+ msgstr ""
658
+
659
+ #: includes/views/wcpdf-extensions.php:82
660
+ msgid "Get WooCommerce Smart Reminder Emails"
661
+ msgstr ""
662
+
663
+ #: includes/views/wcpdf-extensions.php:91
664
+ msgid "Upload all invoices automatically to your dropbox"
665
+ msgstr ""
666
+
667
+ #: includes/views/wcpdf-extensions.php:98
668
+ msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
669
+ msgstr ""
670
+
671
+ #: includes/views/wcpdf-extensions.php:110
672
+ msgid ""
673
+ "Automatically send new orders or packing slips to your printer, as soon as "
674
+ "the customer orders!"
675
+ msgstr ""
676
+
677
+ #: includes/views/wcpdf-extensions.php:116
678
+ msgid ""
679
+ "Check out the WooCommerce Automatic Order Printing extension from our "
680
+ "partners at Simba Hosting"
681
+ msgstr ""
682
+
683
+ #: includes/views/wcpdf-extensions.php:117
684
+ msgid "WooCommerce Automatic Order Printing"
685
+ msgstr ""
686
+
687
+ #: includes/views/wcpdf-extensions.php:136
688
+ #, php-format
689
+ msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
690
+ msgstr ""
691
+
692
+ #: includes/views/wcpdf-extensions.php:137
693
+ #, php-format
694
+ msgid "For custom templates, contact us at %s."
695
+ msgstr "Para modelos personalizados, nos contate em %s."
696
+
697
+ #: includes/views/wcpdf-extensions.php:146
698
+ msgid "Hide this message"
699
+ msgstr ""
700
+
701
+ #: includes/views/wcpdf-settings-page.php:8
702
+ msgid "WooCommerce PDF Invoices"
703
+ msgstr "Faturas em PDF do WooCommerce"
704
+
705
+ #: templates/Simple/invoice.php:30 templates/Simple/packing-slip.php:41
706
+ msgid "Billing Address:"
707
+ msgstr ""
708
+
709
+ #: templates/Simple/invoice.php:41
710
+ msgid "Ship To:"
711
+ msgstr ""
712
+
713
+ #: templates/Simple/invoice.php:50
714
+ msgid "Invoice Number:"
715
+ msgstr "Número da Fatura:"
716
+
717
+ #: templates/Simple/invoice.php:61 templates/Simple/packing-slip.php:49
718
+ msgid "Order Number:"
719
+ msgstr "Número do Pedido:"
720
+
721
+ #: templates/Simple/invoice.php:65 templates/Simple/packing-slip.php:53
722
+ msgid "Order Date:"
723
+ msgstr "Data do Pedido:"
724
+
725
+ #: templates/Simple/invoice.php:69
726
+ msgid "Payment Method:"
727
+ msgstr "Método de Pagamento:"
728
+
729
+ #: templates/Simple/invoice.php:83 templates/Simple/packing-slip.php:71
730
+ msgid "Product"
731
+ msgstr "Produto"
732
+
733
+ #: templates/Simple/invoice.php:84 templates/Simple/packing-slip.php:72
734
+ msgid "Quantity"
735
+ msgstr "Quantidade"
736
+
737
+ #: templates/Simple/invoice.php:85
738
+ msgid "Price"
739
+ msgstr "Preço"
740
+
741
+ #: templates/Simple/invoice.php:92 templates/Simple/packing-slip.php:79
742
+ msgid "Description"
743
+ msgstr "Descrição"
744
+
745
+ #: templates/Simple/invoice.php:97 templates/Simple/packing-slip.php:84
746
+ msgid "SKU"
747
+ msgstr "SKU"
748
+
749
+ #: templates/Simple/invoice.php:98 templates/Simple/packing-slip.php:85
750
+ msgid "SKU:"
751
+ msgstr "SKU:"
752
+
753
+ #: templates/Simple/invoice.php:99 templates/Simple/packing-slip.php:86
754
+ msgid "Weight:"
755
+ msgstr "Peso:"
756
+
757
+ #: templates/Simple/invoice.php:114 templates/Simple/packing-slip.php:101
758
+ msgid "Customer Notes"
759
+ msgstr "Notas do Cliente"
760
+
761
+ #: templates/Simple/packing-slip.php:30
762
+ msgid "Shipping Address:"
763
+ msgstr ""
764
+
765
+ #: templates/Simple/packing-slip.php:57
766
+ msgid "Shipping Method:"
767
+ msgstr ""
768
+
769
+ #: woocommerce-pdf-invoices-packingslips.php:231
770
+ #, php-format
771
+ msgid ""
772
+ "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
773
+ "installed & activated!"
774
+ msgstr ""
775
+ "WooCommerce PDF Invoices & Packing Slips precisa do %sWooCommerce%s "
776
+ "instalado e ativado para funcionar!"
777
+
778
+ #: woocommerce-pdf-invoices-packingslips.php:243
779
+ msgid ""
780
+ "WooCommerce PDF Invoices & Packing Slips requires PHP 5.3 or higher (5.6 or "
781
+ "higher recommended)."
782
+ msgstr ""
783
+
784
+ #: woocommerce-pdf-invoices-packingslips.php:244
785
+ msgid "How to update your PHP version"
786
+ msgstr ""
787
+
788
+ #~ msgid "Attach invoice to:"
789
+ #~ msgstr "Anexar Fatura para:"
790
+
791
+ #~ msgid ""
792
+ #~ "This is the number that will be used on the next invoice that is created. "
793
+ #~ "By default, numbering starts from the WooCommerce Order Number of the "
794
+ #~ "first invoice that is created and increases for every new invoice. Note "
795
+ #~ "that if you override this and set it lower than the highest (PDF) invoice "
796
+ #~ "number, this could create double invoice numbers!"
797
+ #~ msgstr ""
798
+ #~ "Esse é o numero que será usado na próxima fatura que for criada. Por "
799
+ #~ "padrão, o primeiro número começa do número de pedido do WooCommerce da "
800
+ #~ "primeira fatura gerada e depois é incrementado para cada nova fatura. "
801
+ #~ "Note que se você sobrescrever isso e definir um número menor que o atual "
802
+ #~ "pode criar duplicidades nas faturas!"
803
+
804
+ #~ msgid "Invoice number format"
805
+ #~ msgstr "Formato do Número da Fatura"
806
+
807
+ #~ msgid "Template"
808
+ #~ msgstr "Modelo"
809
+
810
+ #~ msgid ""
811
+ #~ "Upload all invoices automatically to your dropbox!<br/>Check out the %s "
812
+ #~ "extension."
813
+ #~ msgstr ""
814
+ #~ "Envie todas as faturas automaticamente para o seu dropbox! <br/> Dê uma "
815
+ #~ "olhada na extensão %s."
816
+
817
+ #~ msgid ""
818
+ #~ "Looking for more advanced templates? Check out the Premium PDF Invoice & "
819
+ #~ "Packing Slips templates at %s."
820
+ #~ msgstr ""
821
+ #~ "Está procurando por modelos mais avançados? Confira os modelos Premiums "
822
+ #~ "em %s."
823
+
824
+ #~ msgid "Admin New Order email"
825
+ #~ msgstr "Email de Novo Pedido do Administrador"
826
+
827
+ #~ msgid "Customer Processing Order email"
828
+ #~ msgstr "Email de Processando Ordem do Cliente"
829
+
830
+ #~ msgid "Customer Completed Order email"
831
+ #~ msgstr "Email de Pedido Completo do Cliente"
832
+
833
+ #~ msgid "Customer Invoice email"
834
+ #~ msgstr "Email de Fatura do Cliente"
835
+
836
+ #~ msgid "PDF Template settings"
837
+ #~ msgstr "Opções do Template em PDF"
838
+
839
+ #~ msgid "Display built-in sequential invoice number"
840
+ #~ msgstr "Mostrar o número da Fatura sequencial embutida"
841
+
842
+ #~ msgid ""
843
+ #~ "to use the order year and/or month, use [order_year] or [order_month] "
844
+ #~ "respectively"
845
+ #~ msgstr ""
846
+ #~ "para usar o ano e/ou o mês do pedido, use [order_year] ou [order_month] "
847
+ #~ "respectivamente"
848
+
849
+ #~ msgid "PDF Packing Slips"
850
+ #~ msgstr "Etiquetas do Pacote em PDF"
851
+
852
+ #~ msgid "PDF Invoice"
853
+ #~ msgstr "Faturas em PDF"
854
+
855
+ #~ msgid "PDF Packing Slip"
856
+ #~ msgstr "Etiqueta do Pacote em PDF"
857
+
858
+ #~ msgid "PDF Invoice Number (unformatted!)"
859
+ #~ msgstr "Número da Fatura em PDF (não formatado!)"
860
+
861
+ #~ msgid "Number to display on invoice"
862
+ #~ msgstr "Número a ser mostrado na fatura"
863
+
864
+ #~ msgid "WooCommerce order number"
865
+ #~ msgstr "Número do Pedido do WooCommerce"
866
+
867
+ #~ msgid ""
868
+ #~ "If you are using the WooCommerce Sequential Order Numbers plugin, select "
869
+ #~ "the WooCommerce order number"
870
+ #~ msgstr ""
871
+ #~ "Se você estiver usando o plugin de Sequência Numérica de Pedidos do "
872
+ #~ "WooCommerce, por favor selecione o número do pedido do WooCommerce."
873
+
874
+ #~ msgid "Date to display on invoice"
875
+ #~ msgstr "Data para mostrar na fatura"
876
+
877
+ #~ msgid "Order date"
878
+ #~ msgstr "Data do Pedido"
879
+
880
+ #~ msgid "PDF invoice"
881
+ #~ msgstr "Fatura em PDF"
882
+
883
+ #~ msgid "Invoice date:"
884
+ #~ msgstr "Data da Fatura:"
languages/woocommerce-pdf-invoices-packing-slips-pt_PT.mo ADDED
Binary file
languages/woocommerce-pdf-invoices-packing-slips-pt_PT.po ADDED
@@ -0,0 +1,863 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-06-09 16:38+0200\n"
6
+ "PO-Revision-Date: 2017-06-09 16:38+0200\n"
7
+ "Last-Translator: wpml wpml <info@eg-reeds.com>\n"
8
+ "Language-Team: Victor Debone <victor@debone.com.br>\n"
9
+ "Language: pt_PT\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-Generator: Poedit 1.8.12\n"
16
+ "X-Poedit-Basepath: ..\n"
17
+ "X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;"
18
+ "__:1;_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
19
+ "_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;"
20
+ "esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;"
21
+ "esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
22
+ "X-Loco-Target-Locale: pt_PT\n"
23
+ "X-Poedit-SearchPath-0: .\n"
24
+
25
+ #: includes/class-wcpdf-admin.php:72 includes/class-wcpdf-admin.php:174
26
+ msgid "Invoice Number"
27
+ msgstr "Número da Fatura"
28
+
29
+ #: includes/class-wcpdf-admin.php:105
30
+ msgid "Create PDF"
31
+ msgstr "Criar PDF"
32
+
33
+ #: includes/class-wcpdf-admin.php:115
34
+ msgid "PDF Invoice data"
35
+ msgstr ""
36
+
37
+ #: includes/class-wcpdf-admin.php:166
38
+ #: includes/documents/class-wcpdf-invoice.php:32
39
+ #: includes/documents/class-wcpdf-invoice.php:41
40
+ #: includes/legacy/class-wcpdf-legacy-functions.php:22
41
+ #: templates/Simple/invoice.php:10 templates/Simple/invoice.php:22
42
+ msgid "Invoice"
43
+ msgstr "Fatura"
44
+
45
+ #: includes/class-wcpdf-admin.php:183 includes/class-wcpdf-admin.php:204
46
+ #: templates/Simple/invoice.php:56
47
+ msgid "Invoice Date:"
48
+ msgstr "Data da Fatura:"
49
+
50
+ #: includes/class-wcpdf-admin.php:189
51
+ msgid "Set invoice number & date"
52
+ msgstr ""
53
+
54
+ #: includes/class-wcpdf-admin.php:196
55
+ msgid "Invoice Number (unformatted!)"
56
+ msgstr ""
57
+
58
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
59
+ msgid "h"
60
+ msgstr "h"
61
+
62
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
63
+ msgid "m"
64
+ msgstr "m"
65
+
66
+ #: includes/class-wcpdf-frontend.php:55
67
+ msgid "Download invoice (PDF)"
68
+ msgstr "Baixar Fatura (PDF)"
69
+
70
+ #: includes/class-wcpdf-main.php:132 includes/class-wcpdf-main.php:153
71
+ #: includes/class-wcpdf-main.php:160 includes/class-wcpdf-main.php:166
72
+ msgid "You do not have sufficient permissions to access this page."
73
+ msgstr "Você não tem permissões o bastante para acessar essa página."
74
+
75
+ #: includes/class-wcpdf-main.php:141
76
+ msgid "Some of the export parameters are missing."
77
+ msgstr ""
78
+
79
+ #: includes/class-wcpdf-settings-callbacks.php:27
80
+ msgid ""
81
+ "<b>Warning!</b> The settings below are meant for debugging/development only. "
82
+ "Do not use them on a live website!"
83
+ msgstr ""
84
+
85
+ #: includes/class-wcpdf-settings-callbacks.php:36
86
+ msgid ""
87
+ "These are used for the (optional) footer columns in the <em>Modern "
88
+ "(Premium)</em> template, but can also be used for other elements in your "
89
+ "custom template"
90
+ msgstr ""
91
+ "Esses são usados para colunas opcionais do rodapé no modelo <em>Premium</"
92
+ "em>, mas também podem ser usados no seu modelo personalizado"
93
+
94
+ #: includes/class-wcpdf-settings-callbacks.php:301
95
+ msgid "Image resolution"
96
+ msgstr "Resolução da Imagem"
97
+
98
+ #: includes/class-wcpdf-settings-callbacks.php:325
99
+ msgid "Save"
100
+ msgstr ""
101
+
102
+ #: includes/class-wcpdf-settings-debug.php:34
103
+ msgid "Debug settings"
104
+ msgstr ""
105
+
106
+ #: includes/class-wcpdf-settings-debug.php:40
107
+ msgid "Legacy mode"
108
+ msgstr ""
109
+
110
+ #: includes/class-wcpdf-settings-debug.php:46
111
+ msgid ""
112
+ "Legacy mode ensures compatibility with templates and filters from previous "
113
+ "versions."
114
+ msgstr ""
115
+
116
+ #: includes/class-wcpdf-settings-debug.php:52
117
+ msgid "Enable debug output"
118
+ msgstr ""
119
+
120
+ #: includes/class-wcpdf-settings-debug.php:58
121
+ msgid ""
122
+ "Enable this option to output plugin errors if you're getting a blank page or "
123
+ "other PDF generation issues"
124
+ msgstr ""
125
+
126
+ #: includes/class-wcpdf-settings-debug.php:64
127
+ msgid "Output to HTML"
128
+ msgstr ""
129
+
130
+ #: includes/class-wcpdf-settings-debug.php:70
131
+ msgid ""
132
+ "Send the template output as HTML to the browser instead of creating a PDF."
133
+ msgstr ""
134
+
135
+ #: includes/class-wcpdf-settings-documents.php:29
136
+ #: includes/class-wcpdf-settings.php:84
137
+ msgid "Documents"
138
+ msgstr ""
139
+
140
+ #: includes/class-wcpdf-settings-documents.php:45
141
+ msgid ""
142
+ "All available documents are listed below. Click on a document to configure "
143
+ "it."
144
+ msgstr ""
145
+
146
+ #: includes/class-wcpdf-settings-general.php:37
147
+ msgid "General settings"
148
+ msgstr "Opções Gerais"
149
+
150
+ #: includes/class-wcpdf-settings-general.php:43
151
+ msgid "How do you want to view the PDF?"
152
+ msgstr "Como você deseja visualizar o PDF?"
153
+
154
+ #: includes/class-wcpdf-settings-general.php:50
155
+ msgid "Download the PDF"
156
+ msgstr "Baixar o PDF"
157
+
158
+ #: includes/class-wcpdf-settings-general.php:51
159
+ msgid "Open the PDF in a new browser tab/window"
160
+ msgstr "Abrir o PDF em uma nova aba/janela"
161
+
162
+ #: includes/class-wcpdf-settings-general.php:58
163
+ msgid "Choose a template"
164
+ msgstr "Escolha um modelo"
165
+
166
+ #: includes/class-wcpdf-settings-general.php:65
167
+ #, php-format
168
+ msgid ""
169
+ "Want to use your own template? Copy all the files from <code>%s</code> to "
170
+ "your (child) theme in <code>%s</code> to customize them"
171
+ msgstr ""
172
+ "Quer usar o seu próprio modelo? Copie todos os arquivos de <code>%s</code> "
173
+ "para o seu tema(-filho) em <code>%s</code> para personalizar ele"
174
+
175
+ #: includes/class-wcpdf-settings-general.php:71
176
+ msgid "Paper size"
177
+ msgstr "Tamanho do Papel"
178
+
179
+ #: includes/class-wcpdf-settings-general.php:78
180
+ msgid "A4"
181
+ msgstr "A4"
182
+
183
+ #: includes/class-wcpdf-settings-general.php:79
184
+ msgid "Letter"
185
+ msgstr "Carta"
186
+
187
+ #: includes/class-wcpdf-settings-general.php:86
188
+ msgid "Extended currency symbol support"
189
+ msgstr ""
190
+
191
+ #: includes/class-wcpdf-settings-general.php:92
192
+ msgid "Enable this if your currency symbol is not displaying properly"
193
+ msgstr ""
194
+
195
+ #: includes/class-wcpdf-settings-general.php:98
196
+ msgid "Shop header/logo"
197
+ msgstr "Logo/Cabeçalho do Loja"
198
+
199
+ #: includes/class-wcpdf-settings-general.php:104
200
+ msgid "Select or upload your invoice header/logo"
201
+ msgstr "Selecione ou envie o seu logo/cabeçalho"
202
+
203
+ #: includes/class-wcpdf-settings-general.php:105
204
+ msgid "Set image"
205
+ msgstr "Definir Imagem"
206
+
207
+ #: includes/class-wcpdf-settings-general.php:106
208
+ msgid "Remove image"
209
+ msgstr "Remover Imagem"
210
+
211
+ #: includes/class-wcpdf-settings-general.php:113
212
+ msgid "Shop Name"
213
+ msgstr "Nome da Loja"
214
+
215
+ #: includes/class-wcpdf-settings-general.php:126
216
+ msgid "Shop Address"
217
+ msgstr "Endereço da Loja"
218
+
219
+ #: includes/class-wcpdf-settings-general.php:141
220
+ msgid "Footer: terms & conditions, policies, etc."
221
+ msgstr "Rodapé: Termos e condições, políticas, etc..."
222
+
223
+ #: includes/class-wcpdf-settings-general.php:156
224
+ msgid "Extra template fields"
225
+ msgstr "Campos Extras de Modelos"
226
+
227
+ #: includes/class-wcpdf-settings-general.php:162
228
+ msgid "Extra field 1"
229
+ msgstr "Campo extra 1"
230
+
231
+ #: includes/class-wcpdf-settings-general.php:170
232
+ msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
233
+ msgstr "Essa é a primeira coluna do rodapé"
234
+
235
+ #: includes/class-wcpdf-settings-general.php:177
236
+ msgid "Extra field 2"
237
+ msgstr "Campo extra 2"
238
+
239
+ #: includes/class-wcpdf-settings-general.php:185
240
+ msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
241
+ msgstr "Essa é a primeira coluna do rodapé"
242
+
243
+ #: includes/class-wcpdf-settings-general.php:192
244
+ msgid "Extra field 3"
245
+ msgstr "Campo extra 3"
246
+
247
+ #: includes/class-wcpdf-settings-general.php:200
248
+ msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
249
+ msgstr "Essa é a primeira coluna do rodapé"
250
+
251
+ #: includes/class-wcpdf-settings.php:45 includes/class-wcpdf-settings.php:46
252
+ msgid "PDF Invoices"
253
+ msgstr "Faturas em PDF"
254
+
255
+ #: includes/class-wcpdf-settings.php:58
256
+ msgid "Settings"
257
+ msgstr "Opções"
258
+
259
+ #: includes/class-wcpdf-settings.php:71
260
+ msgid "Documentation"
261
+ msgstr ""
262
+
263
+ #: includes/class-wcpdf-settings.php:72
264
+ msgid "Support Forum"
265
+ msgstr ""
266
+
267
+ #: includes/class-wcpdf-settings.php:83
268
+ msgid "General"
269
+ msgstr "Geral"
270
+
271
+ #: includes/class-wcpdf-settings.php:89
272
+ msgid "Status"
273
+ msgstr "Status"
274
+
275
+ #: includes/compatibility/class-wc-core-compatibility.php:222
276
+ msgid "WooCommerce"
277
+ msgstr ""
278
+
279
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:113
280
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:176
281
+ msgid "N/A"
282
+ msgstr "N/A"
283
+
284
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:305
285
+ msgid "Payment method"
286
+ msgstr "Método de Pagamento"
287
+
288
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:326
289
+ msgid "Shipping method"
290
+ msgstr "Método de Entrega"
291
+
292
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:669
293
+ #, php-format
294
+ msgid "(includes %s)"
295
+ msgstr ""
296
+
297
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:672
298
+ #, php-format
299
+ msgid "(Includes %s)"
300
+ msgstr ""
301
+
302
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:702
303
+ msgid "Subtotal"
304
+ msgstr "Sub-total"
305
+
306
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:727
307
+ msgid "Shipping"
308
+ msgstr "Frete"
309
+
310
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:790
311
+ msgid "Discount"
312
+ msgstr "Desconto"
313
+
314
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:831
315
+ msgid "VAT"
316
+ msgstr "Impostos"
317
+
318
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:832
319
+ msgid "Tax rate"
320
+ msgstr ""
321
+
322
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:876
323
+ msgid "Total ex. VAT"
324
+ msgstr "Total s/ impostos"
325
+
326
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:879
327
+ msgid "Total"
328
+ msgstr "Total"
329
+
330
+ #: includes/documents/abstract-wcpdf-order-document.php:674
331
+ msgid "Admin email"
332
+ msgstr ""
333
+
334
+ #: includes/documents/abstract-wcpdf-order-document.php:677
335
+ msgid "Manual email"
336
+ msgstr ""
337
+
338
+ #: includes/documents/class-wcpdf-invoice.php:85
339
+ msgid "invoice"
340
+ msgid_plural "invoices"
341
+ msgstr[0] "fatura"
342
+ msgstr[1] "faturas"
343
+
344
+ #: includes/documents/class-wcpdf-invoice.php:130
345
+ #: includes/documents/class-wcpdf-packing-slip.php:94
346
+ msgid "Enable"
347
+ msgstr ""
348
+
349
+ #: includes/documents/class-wcpdf-invoice.php:141
350
+ msgid "Attach to:"
351
+ msgstr ""
352
+
353
+ #: includes/documents/class-wcpdf-invoice.php:148
354
+ #, php-format
355
+ msgid ""
356
+ "It looks like the temp folder (<code>%s</code>) is not writable, check the "
357
+ "permissions for this folder! Without having write access to this folder, the "
358
+ "plugin will not be able to email invoices."
359
+ msgstr ""
360
+ "Parece que a pasta temporária (<code>%s</code>) não tem permissão de "
361
+ "escrita! Sem a permissão de escrita nessa pasta o plugin não poderá enviar "
362
+ "as faturas por email."
363
+
364
+ #: includes/documents/class-wcpdf-invoice.php:154
365
+ msgid "Display shipping address"
366
+ msgstr ""
367
+
368
+ #: includes/documents/class-wcpdf-invoice.php:160
369
+ msgid ""
370
+ "Display shipping address (in addition to the default billing address) if "
371
+ "different from billing address"
372
+ msgstr ""
373
+
374
+ #: includes/documents/class-wcpdf-invoice.php:166
375
+ #: includes/documents/class-wcpdf-packing-slip.php:117
376
+ msgid "Display email address"
377
+ msgstr ""
378
+
379
+ #: includes/documents/class-wcpdf-invoice.php:177
380
+ #: includes/documents/class-wcpdf-packing-slip.php:128
381
+ msgid "Display phone number"
382
+ msgstr ""
383
+
384
+ #: includes/documents/class-wcpdf-invoice.php:188
385
+ msgid "Display invoice date"
386
+ msgstr "Mostrar a data da Fatura"
387
+
388
+ #: includes/documents/class-wcpdf-invoice.php:200
389
+ msgid "Display invoice number"
390
+ msgstr ""
391
+
392
+ #: includes/documents/class-wcpdf-invoice.php:212
393
+ msgid "Next invoice number (without prefix/suffix etc.)"
394
+ msgstr "Próximo número da fatura (sem prefixo/sufixo etc.)"
395
+
396
+ #: includes/documents/class-wcpdf-invoice.php:218
397
+ msgid ""
398
+ "This is the number that will be used for the next document. By default, "
399
+ "numbering starts from 1 and increases for every new document. Note that if "
400
+ "you override this and set it lower than the current/highest number, this "
401
+ "could create duplicate numbers!"
402
+ msgstr ""
403
+
404
+ #: includes/documents/class-wcpdf-invoice.php:224
405
+ msgid "Number format"
406
+ msgstr ""
407
+
408
+ #: includes/documents/class-wcpdf-invoice.php:232
409
+ msgid "Prefix"
410
+ msgstr "Prefixo"
411
+
412
+ #: includes/documents/class-wcpdf-invoice.php:234
413
+ msgid ""
414
+ "to use the invoice year and/or month, use [invoice_year] or [invoice_month] "
415
+ "respectively"
416
+ msgstr ""
417
+
418
+ #: includes/documents/class-wcpdf-invoice.php:237
419
+ msgid "Suffix"
420
+ msgstr "Sufixo"
421
+
422
+ #: includes/documents/class-wcpdf-invoice.php:242
423
+ msgid "Padding"
424
+ msgstr "Margem"
425
+
426
+ #: includes/documents/class-wcpdf-invoice.php:245
427
+ msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
428
+ msgstr ""
429
+ "insira o número de dígitos aqui - insira \"6\" para mostra 42 como 000042"
430
+
431
+ #: includes/documents/class-wcpdf-invoice.php:248
432
+ msgid ""
433
+ "note: if you have already created a custom invoice number format with a "
434
+ "filter, the above settings will be ignored"
435
+ msgstr ""
436
+ "nota: se você já criou um formato de número personalizado de fatura com um "
437
+ "filtro, as opções acima serão ignoradas"
438
+
439
+ #: includes/documents/class-wcpdf-invoice.php:254
440
+ msgid "Reset invoice number yearly"
441
+ msgstr ""
442
+
443
+ #: includes/documents/class-wcpdf-invoice.php:265
444
+ msgid "Allow My Account invoice download"
445
+ msgstr ""
446
+
447
+ #: includes/documents/class-wcpdf-invoice.php:272
448
+ msgid "Only when an invoice is already created/emailed"
449
+ msgstr ""
450
+
451
+ #: includes/documents/class-wcpdf-invoice.php:273
452
+ msgid "Only for specific order statuses (define below)"
453
+ msgstr ""
454
+
455
+ #: includes/documents/class-wcpdf-invoice.php:274
456
+ msgid "Always"
457
+ msgstr ""
458
+
459
+ #: includes/documents/class-wcpdf-invoice.php:275
460
+ msgid "Never"
461
+ msgstr ""
462
+
463
+ #: includes/documents/class-wcpdf-invoice.php:290
464
+ msgid "Enable invoice number column in the orders list"
465
+ msgstr "Permitir coluna do número da Fatura na lista de Pedidos"
466
+
467
+ #: includes/documents/class-wcpdf-invoice.php:301
468
+ msgid "Disable for free products"
469
+ msgstr ""
470
+
471
+ #: includes/documents/class-wcpdf-invoice.php:307
472
+ msgid ""
473
+ "Disable automatic creation/attachment when only free products are ordered"
474
+ msgstr ""
475
+
476
+ #: includes/documents/class-wcpdf-invoice.php:321
477
+ msgid "Invoice numbers are created by a third-party extension."
478
+ msgstr ""
479
+
480
+ #: includes/documents/class-wcpdf-invoice.php:323
481
+ #, php-format
482
+ msgid "Configure it <a href=\"%s\">here</a>."
483
+ msgstr ""
484
+
485
+ #: includes/documents/class-wcpdf-packing-slip.php:32
486
+ #: includes/documents/class-wcpdf-packing-slip.php:41
487
+ #: includes/legacy/class-wcpdf-legacy-functions.php:25
488
+ #: templates/Simple/packing-slip.php:10 templates/Simple/packing-slip.php:22
489
+ msgid "Packing Slip"
490
+ msgstr "Etiqueta do pacote"
491
+
492
+ #: includes/documents/class-wcpdf-packing-slip.php:53
493
+ msgid "packing-slip"
494
+ msgid_plural "packing-slips"
495
+ msgstr[0] "Etiqueta do Pacote"
496
+ msgstr[1] "Etiquetas do pacote"
497
+
498
+ #: includes/documents/class-wcpdf-packing-slip.php:105
499
+ msgid "Display billing address"
500
+ msgstr ""
501
+
502
+ #: includes/documents/class-wcpdf-packing-slip.php:111
503
+ msgid ""
504
+ "Display billing address (in addition to the default shipping address) if "
505
+ "different from shipping address"
506
+ msgstr ""
507
+
508
+ #: includes/legacy/class-wcpdf-legacy-document.php:32
509
+ msgid "Legacy Document"
510
+ msgstr ""
511
+
512
+ #: includes/views/wcpdf-extensions.php:15
513
+ msgid "Check out these premium extensions!"
514
+ msgstr ""
515
+
516
+ #: includes/views/wcpdf-extensions.php:16
517
+ msgid "click items to read more"
518
+ msgstr ""
519
+
520
+ #: includes/views/wcpdf-extensions.php:21
521
+ msgid ""
522
+ "Premium PDF Invoice bundle: Everything you need for a perfect invoicing "
523
+ "system"
524
+ msgstr ""
525
+
526
+ #: includes/views/wcpdf-extensions.php:23
527
+ msgid ""
528
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the all our "
529
+ "premium extensions:"
530
+ msgstr ""
531
+
532
+ #: includes/views/wcpdf-extensions.php:24
533
+ msgid "Professional features:"
534
+ msgstr ""
535
+
536
+ #: includes/views/wcpdf-extensions.php:26
537
+ #: includes/views/wcpdf-extensions.php:56
538
+ msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
539
+ msgstr ""
540
+
541
+ #: includes/views/wcpdf-extensions.php:27
542
+ #: includes/views/wcpdf-extensions.php:57
543
+ msgid ""
544
+ "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
545
+ "packing slips, for example to a drop-shipper or a supplier."
546
+ msgstr ""
547
+
548
+ #: includes/views/wcpdf-extensions.php:28
549
+ #: includes/views/wcpdf-extensions.php:58
550
+ msgid ""
551
+ "Attach <b>up to 3 static files</b> (for example a terms & conditions "
552
+ "document) to the WooCommerce emails of your choice."
553
+ msgstr ""
554
+
555
+ #: includes/views/wcpdf-extensions.php:29
556
+ #: includes/views/wcpdf-extensions.php:59
557
+ msgid ""
558
+ "Use <b>separate numbering systems</b> and/or format for proforma invoices "
559
+ "and credit notes or utilize the main invoice numbering system"
560
+ msgstr ""
561
+
562
+ #: includes/views/wcpdf-extensions.php:30
563
+ #: includes/views/wcpdf-extensions.php:60
564
+ msgid ""
565
+ "<b>Customize</b> the <b>shipping & billing address</b> format to include "
566
+ "additional custom fields, font sizes etc. without the need to create a "
567
+ "custom template."
568
+ msgstr ""
569
+
570
+ #: includes/views/wcpdf-extensions.php:31
571
+ #: includes/views/wcpdf-extensions.php:61
572
+ msgid "Use the plugin in multilingual <b>WPML</b> setups"
573
+ msgstr ""
574
+
575
+ #: includes/views/wcpdf-extensions.php:33
576
+ #: includes/views/wcpdf-extensions.php:131
577
+ msgid "Advanced, customizable templates"
578
+ msgstr ""
579
+
580
+ #: includes/views/wcpdf-extensions.php:35
581
+ #: includes/views/wcpdf-extensions.php:134
582
+ msgid ""
583
+ "Completely customize the invoice contents (prices, taxes, thumbnails) to "
584
+ "your needs with a drag & drop customizer"
585
+ msgstr ""
586
+
587
+ #: includes/views/wcpdf-extensions.php:36
588
+ #: includes/views/wcpdf-extensions.php:135
589
+ msgid "Two extra stylish premade templates (Modern & Business)"
590
+ msgstr ""
591
+
592
+ #: includes/views/wcpdf-extensions.php:38
593
+ msgid "Upload automatically to dropbox"
594
+ msgstr ""
595
+
596
+ #: includes/views/wcpdf-extensions.php:40
597
+ #: includes/views/wcpdf-extensions.php:97
598
+ msgid ""
599
+ "This extension conveniently uploads all the invoices (and other pdf "
600
+ "documents from the professional extension) that are emailed to your "
601
+ "customers to Dropbox. The best way to keep your invoice administration up to "
602
+ "date!"
603
+ msgstr ""
604
+
605
+ #: includes/views/wcpdf-extensions.php:43
606
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Bundle"
607
+ msgstr ""
608
+
609
+ #: includes/views/wcpdf-extensions.php:52
610
+ msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
611
+ msgstr ""
612
+
613
+ #: includes/views/wcpdf-extensions.php:54
614
+ msgid ""
615
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the following "
616
+ "features:"
617
+ msgstr ""
618
+
619
+ #: includes/views/wcpdf-extensions.php:63
620
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
621
+ msgstr ""
622
+
623
+ #: includes/views/wcpdf-extensions.php:71
624
+ msgid "Automatically send payment reminders to your customers"
625
+ msgstr ""
626
+
627
+ #: includes/views/wcpdf-extensions.php:73
628
+ msgid "WooCommerce Smart Reminder emails"
629
+ msgstr ""
630
+
631
+ #: includes/views/wcpdf-extensions.php:75
632
+ msgid "<b>Completely automatic</b> scheduled emails"
633
+ msgstr ""
634
+
635
+ #: includes/views/wcpdf-extensions.php:76
636
+ msgid ""
637
+ "<b>Rich text editor</b> for the email text, including placeholders for data "
638
+ "from the order (name, order total, etc)"
639
+ msgstr ""
640
+
641
+ #: includes/views/wcpdf-extensions.php:77
642
+ msgid ""
643
+ "Configure the exact requirements for sending an email (time after order, "
644
+ "order status, payment method)"
645
+ msgstr ""
646
+
647
+ #: includes/views/wcpdf-extensions.php:78
648
+ msgid ""
649
+ "Fully <b>WPML Compatible</b> – emails will be automatically sent in the "
650
+ "order language."
651
+ msgstr ""
652
+
653
+ #: includes/views/wcpdf-extensions.php:79
654
+ msgid ""
655
+ "<b>Super versatile!</b> Can be used for any kind of reminder email (review "
656
+ "reminders, repeat purchases)"
657
+ msgstr ""
658
+
659
+ #: includes/views/wcpdf-extensions.php:80
660
+ msgid "Integrates seamlessly with the PDF Invoices & Packing Slips plugin"
661
+ msgstr ""
662
+
663
+ #: includes/views/wcpdf-extensions.php:82
664
+ msgid "Get WooCommerce Smart Reminder Emails"
665
+ msgstr ""
666
+
667
+ #: includes/views/wcpdf-extensions.php:91
668
+ msgid "Upload all invoices automatically to your dropbox"
669
+ msgstr ""
670
+
671
+ #: includes/views/wcpdf-extensions.php:98
672
+ msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
673
+ msgstr ""
674
+
675
+ #: includes/views/wcpdf-extensions.php:110
676
+ msgid ""
677
+ "Automatically send new orders or packing slips to your printer, as soon as "
678
+ "the customer orders!"
679
+ msgstr ""
680
+
681
+ #: includes/views/wcpdf-extensions.php:116
682
+ msgid ""
683
+ "Check out the WooCommerce Automatic Order Printing extension from our "
684
+ "partners at Simba Hosting"
685
+ msgstr ""
686
+
687
+ #: includes/views/wcpdf-extensions.php:117
688
+ msgid "WooCommerce Automatic Order Printing"
689
+ msgstr ""
690
+
691
+ #: includes/views/wcpdf-extensions.php:136
692
+ #, php-format
693
+ msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
694
+ msgstr ""
695
+
696
+ #: includes/views/wcpdf-extensions.php:137
697
+ #, php-format
698
+ msgid "For custom templates, contact us at %s."
699
+ msgstr "Para modelos personalizados, nos contate em %s."
700
+
701
+ #: includes/views/wcpdf-extensions.php:146
702
+ msgid "Hide this message"
703
+ msgstr ""
704
+
705
+ #: includes/views/wcpdf-settings-page.php:8
706
+ msgid "WooCommerce PDF Invoices"
707
+ msgstr "Faturas em PDF do WooCommerce"
708
+
709
+ #: templates/Simple/invoice.php:30 templates/Simple/packing-slip.php:41
710
+ msgid "Billing Address:"
711
+ msgstr ""
712
+
713
+ #: templates/Simple/invoice.php:41
714
+ msgid "Ship To:"
715
+ msgstr ""
716
+
717
+ #: templates/Simple/invoice.php:50
718
+ msgid "Invoice Number:"
719
+ msgstr "Número da Fatura:"
720
+
721
+ #: templates/Simple/invoice.php:61 templates/Simple/packing-slip.php:49
722
+ msgid "Order Number:"
723
+ msgstr "Número do Pedido:"
724
+
725
+ #: templates/Simple/invoice.php:65 templates/Simple/packing-slip.php:53
726
+ msgid "Order Date:"
727
+ msgstr "Data do Pedido:"
728
+
729
+ #: templates/Simple/invoice.php:69
730
+ msgid "Payment Method:"
731
+ msgstr "Método de Pagamento:"
732
+
733
+ #: templates/Simple/invoice.php:83 templates/Simple/packing-slip.php:71
734
+ msgid "Product"
735
+ msgstr "Produto"
736
+
737
+ #: templates/Simple/invoice.php:84 templates/Simple/packing-slip.php:72
738
+ msgid "Quantity"
739
+ msgstr "Quantidade"
740
+
741
+ #: templates/Simple/invoice.php:85
742
+ msgid "Price"
743
+ msgstr "Preço"
744
+
745
+ #: templates/Simple/invoice.php:92 templates/Simple/packing-slip.php:79
746
+ msgid "Description"
747
+ msgstr "Descrição"
748
+
749
+ #: templates/Simple/invoice.php:97 templates/Simple/packing-slip.php:84
750
+ msgid "SKU"
751
+ msgstr "SKU"
752
+
753
+ #: templates/Simple/invoice.php:98 templates/Simple/packing-slip.php:85
754
+ msgid "SKU:"
755
+ msgstr "SKU:"
756
+
757
+ #: templates/Simple/invoice.php:99 templates/Simple/packing-slip.php:86
758
+ msgid "Weight:"
759
+ msgstr "Peso:"
760
+
761
+ #: templates/Simple/invoice.php:114 templates/Simple/packing-slip.php:101
762
+ msgid "Customer Notes"
763
+ msgstr "Notas do Cliente"
764
+
765
+ #: templates/Simple/packing-slip.php:30
766
+ msgid "Shipping Address:"
767
+ msgstr ""
768
+
769
+ #: templates/Simple/packing-slip.php:57
770
+ msgid "Shipping Method:"
771
+ msgstr ""
772
+
773
+ #: woocommerce-pdf-invoices-packingslips.php:231
774
+ #, php-format
775
+ msgid ""
776
+ "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
777
+ "installed & activated!"
778
+ msgstr ""
779
+ "WooCommerce PDF Invoices & Packing Slips precisa do %sWooCommerce%s "
780
+ "instalado e ativado para funcionar!"
781
+
782
+ #: woocommerce-pdf-invoices-packingslips.php:243
783
+ msgid ""
784
+ "WooCommerce PDF Invoices & Packing Slips requires PHP 5.3 or higher (5.6 or "
785
+ "higher recommended)."
786
+ msgstr ""
787
+
788
+ #: woocommerce-pdf-invoices-packingslips.php:244
789
+ msgid "How to update your PHP version"
790
+ msgstr ""
791
+
792
+ #~ msgid "Attach invoice to:"
793
+ #~ msgstr "Anexar Fatura para:"
794
+
795
+ #~ msgid ""
796
+ #~ "This is the number that will be used on the next invoice that is created. "
797
+ #~ "By default, numbering starts from the WooCommerce Order Number of the "
798
+ #~ "first invoice that is created and increases for every new invoice. Note "
799
+ #~ "that if you override this and set it lower than the highest (PDF) invoice "
800
+ #~ "number, this could create double invoice numbers!"
801
+ #~ msgstr ""
802
+ #~ "Esse é o numero que será usado na próxima fatura que for criada. Por "
803
+ #~ "padrão, o primeiro número começa do número de pedido do WooCommerce da "
804
+ #~ "primeira fatura gerada e depois é incrementado para cada nova fatura. "
805
+ #~ "Note que se você sobrescrever isso e definir um número menor que o atual "
806
+ #~ "pode criar duplicidades nas faturas!"
807
+
808
+ #~ msgid "Invoice number format"
809
+ #~ msgstr "Formato do Número da Fatura"
810
+
811
+ #~ msgid "Template"
812
+ #~ msgstr "Modelo"
813
+
814
+ #~ msgid "Admin New Order email"
815
+ #~ msgstr "Email de Novo Pedido do Administrador"
816
+
817
+ #~ msgid "Customer Processing Order email"
818
+ #~ msgstr "Email de Processando Ordem do Cliente"
819
+
820
+ #~ msgid "Customer Completed Order email"
821
+ #~ msgstr "Email de Pedido Completo do Cliente"
822
+
823
+ #~ msgid "Customer Invoice email"
824
+ #~ msgstr "Email de Fatura do Cliente"
825
+
826
+ #~ msgid "PDF Template settings"
827
+ #~ msgstr "Opções do Template em PDF"
828
+
829
+ #~ msgid "Display built-in sequential invoice number"
830
+ #~ msgstr "Mostrar o número da Fatura sequencial embutida"
831
+
832
+ #~ msgid ""
833
+ #~ "to use the order year and/or month, use [order_year] or [order_month] "
834
+ #~ "respectively"
835
+ #~ msgstr ""
836
+ #~ "para usar o ano e/ou o mês do pedido, use [order_year] ou [order_month] "
837
+ #~ "respectivamente"
838
+
839
+ #~ msgid "PDF Packing Slips"
840
+ #~ msgstr "Etiquetas do Pacote em PDF"
841
+
842
+ #~ msgid "PDF Invoice"
843
+ #~ msgstr "Faturas em PDF"
844
+
845
+ #~ msgid "PDF Packing Slip"
846
+ #~ msgstr "Etiqueta do Pacote em PDF"
847
+
848
+ #~ msgid ""
849
+ #~ "Looking for more advanced templates? Check out the Premium PDF Invoice & "
850
+ #~ "Packing Slips templates at %s."
851
+ #~ msgstr ""
852
+ #~ "Está procurando por modelos mais avançados? Confira os modelos Premiums "
853
+ #~ "em %s."
854
+
855
+ #~ msgid "PDF Invoice Number (unformatted!)"
856
+ #~ msgstr "Número da Fatura em PDF (não formatado!)"
857
+
858
+ #~ msgid ""
859
+ #~ "Upload all invoices automatically to your dropbox!<br/>Check out the %s "
860
+ #~ "extension."
861
+ #~ msgstr ""
862
+ #~ "Envie todas as faturas automaticamente para o seu dropbox! <br/> Dê uma "
863
+ #~ "olhada na extensão %s."
languages/woocommerce-pdf-invoices-packing-slips-ro_RO.mo ADDED
Binary file
languages/woocommerce-pdf-invoices-packing-slips-ro_RO.po ADDED
@@ -0,0 +1,959 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips v1.4.9\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-06-09 16:38+0200\n"
6
+ "PO-Revision-Date: 2017-06-09 16:38+0200\n"
7
+ "Last-Translator: SC 3G Personal SRL,RO 15233799 <levente_gergely@yahoo.com>\n"
8
+ "Language-Team: \n"
9
+ "Language: ro_RO\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-Generator: Poedit 1.8.12\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
17
+ "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
18
+ "X-Poedit-Basepath: ..\n"
19
+ "X-Textdomain-Support: yes\n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+
22
+ # @ wpo_wcpdf
23
+ #: includes/class-wcpdf-admin.php:72 includes/class-wcpdf-admin.php:174
24
+ msgid "Invoice Number"
25
+ msgstr "Număr Factură"
26
+
27
+ # @ wpo_wcpdf
28
+ #: includes/class-wcpdf-admin.php:105
29
+ msgid "Create PDF"
30
+ msgstr "Crează PDF"
31
+
32
+ #: includes/class-wcpdf-admin.php:115
33
+ msgid "PDF Invoice data"
34
+ msgstr ""
35
+
36
+ # @ wpo_wcpdf
37
+ #: includes/class-wcpdf-admin.php:166
38
+ #: includes/documents/class-wcpdf-invoice.php:32
39
+ #: includes/documents/class-wcpdf-invoice.php:41
40
+ #: includes/legacy/class-wcpdf-legacy-functions.php:22
41
+ #: templates/Simple/invoice.php:10 templates/Simple/invoice.php:22
42
+ msgid "Invoice"
43
+ msgstr "Factură"
44
+
45
+ # @ wpo_wcpdf
46
+ #: includes/class-wcpdf-admin.php:183 includes/class-wcpdf-admin.php:204
47
+ #: templates/Simple/invoice.php:56
48
+ msgid "Invoice Date:"
49
+ msgstr "Dată factură:"
50
+
51
+ #: includes/class-wcpdf-admin.php:189
52
+ msgid "Set invoice number & date"
53
+ msgstr ""
54
+
55
+ #: includes/class-wcpdf-admin.php:196
56
+ msgid "Invoice Number (unformatted!)"
57
+ msgstr ""
58
+
59
+ # @ woocommerce
60
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
61
+ msgid "h"
62
+ msgstr "h"
63
+
64
+ # @ woocommerce
65
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
66
+ msgid "m"
67
+ msgstr "m"
68
+
69
+ # @ wpo_wcpdf
70
+ #: includes/class-wcpdf-frontend.php:55
71
+ msgid "Download invoice (PDF)"
72
+ msgstr "Descarcă factura (PDF)"
73
+
74
+ # @ wpo_wcpdf
75
+ #: includes/class-wcpdf-main.php:132 includes/class-wcpdf-main.php:153
76
+ #: includes/class-wcpdf-main.php:160 includes/class-wcpdf-main.php:166
77
+ msgid "You do not have sufficient permissions to access this page."
78
+ msgstr "Nu aveți permisiunea pentru a accesa această pagină."
79
+
80
+ #: includes/class-wcpdf-main.php:141
81
+ msgid "Some of the export parameters are missing."
82
+ msgstr ""
83
+
84
+ #: includes/class-wcpdf-settings-callbacks.php:27
85
+ msgid ""
86
+ "<b>Warning!</b> The settings below are meant for debugging/development only. "
87
+ "Do not use them on a live website!"
88
+ msgstr ""
89
+
90
+ # @ wpo_wcpdf
91
+ #: includes/class-wcpdf-settings-callbacks.php:36
92
+ msgid ""
93
+ "These are used for the (optional) footer columns in the <em>Modern "
94
+ "(Premium)</em> template, but can also be used for other elements in your "
95
+ "custom template"
96
+ msgstr ""
97
+ "Acestea sunt utilizate pentru (opțional) coloanele notei de subsol din "
98
+ "șablonul <em>Modern (Premium)</ em>, dar poate fi de asemenea utilizat "
99
+ "pentru alte elemente în șablonul personalizat"
100
+
101
+ # @ default
102
+ #: includes/class-wcpdf-settings-callbacks.php:301
103
+ msgid "Image resolution"
104
+ msgstr "Rezolutie imagine"
105
+
106
+ #: includes/class-wcpdf-settings-callbacks.php:325
107
+ msgid "Save"
108
+ msgstr ""
109
+
110
+ #: includes/class-wcpdf-settings-debug.php:34
111
+ msgid "Debug settings"
112
+ msgstr ""
113
+
114
+ #: includes/class-wcpdf-settings-debug.php:40
115
+ msgid "Legacy mode"
116
+ msgstr ""
117
+
118
+ #: includes/class-wcpdf-settings-debug.php:46
119
+ msgid ""
120
+ "Legacy mode ensures compatibility with templates and filters from previous "
121
+ "versions."
122
+ msgstr ""
123
+
124
+ #: includes/class-wcpdf-settings-debug.php:52
125
+ msgid "Enable debug output"
126
+ msgstr ""
127
+
128
+ #: includes/class-wcpdf-settings-debug.php:58
129
+ msgid ""
130
+ "Enable this option to output plugin errors if you're getting a blank page or "
131
+ "other PDF generation issues"
132
+ msgstr ""
133
+
134
+ #: includes/class-wcpdf-settings-debug.php:64
135
+ msgid "Output to HTML"
136
+ msgstr ""
137
+
138
+ #: includes/class-wcpdf-settings-debug.php:70
139
+ msgid ""
140
+ "Send the template output as HTML to the browser instead of creating a PDF."
141
+ msgstr ""
142
+
143
+ #: includes/class-wcpdf-settings-documents.php:29
144
+ #: includes/class-wcpdf-settings.php:84
145
+ msgid "Documents"
146
+ msgstr ""
147
+
148
+ #: includes/class-wcpdf-settings-documents.php:45
149
+ msgid ""
150
+ "All available documents are listed below. Click on a document to configure "
151
+ "it."
152
+ msgstr ""
153
+
154
+ # @ wpo_wcpdf
155
+ #: includes/class-wcpdf-settings-general.php:37
156
+ msgid "General settings"
157
+ msgstr "Setări generale"
158
+
159
+ # @ wpo_wcpdf
160
+ #: includes/class-wcpdf-settings-general.php:43
161
+ msgid "How do you want to view the PDF?"
162
+ msgstr "Cum doriți să vizualizați PDF-ul?"
163
+
164
+ # @ wpo_wcpdf
165
+ #: includes/class-wcpdf-settings-general.php:50
166
+ msgid "Download the PDF"
167
+ msgstr "Descarcă PDF"
168
+
169
+ # @ wpo_wcpdf
170
+ #: includes/class-wcpdf-settings-general.php:51
171
+ msgid "Open the PDF in a new browser tab/window"
172
+ msgstr "Deschideți PDF-ul într-o filă/fereastră nouă"
173
+
174
+ # @ wpo_wcpdf
175
+ #: includes/class-wcpdf-settings-general.php:58
176
+ msgid "Choose a template"
177
+ msgstr "Alege un șablon"
178
+
179
+ # @ wpo_wcpdf
180
+ #: includes/class-wcpdf-settings-general.php:65
181
+ #, php-format
182
+ msgid ""
183
+ "Want to use your own template? Copy all the files from <code>%s</code> to "
184
+ "your (child) theme in <code>%s</code> to customize them"
185
+ msgstr ""
186
+ "Doriți să utilizați propriul șablon? Copiați toate fișierele din <code>%s</"
187
+ "code> in folderul temei dvs. în <code>%s</code> pentru a le personaliza"
188
+
189
+ # @ wpo_wcpdf
190
+ #: includes/class-wcpdf-settings-general.php:71
191
+ msgid "Paper size"
192
+ msgstr "Dimensiune hârtie"
193
+
194
+ # @ wpo_wcpdf
195
+ #: includes/class-wcpdf-settings-general.php:78
196
+ msgid "A4"
197
+ msgstr "A4"
198
+
199
+ # @ wpo_wcpdf
200
+ #: includes/class-wcpdf-settings-general.php:79
201
+ msgid "Letter"
202
+ msgstr "Letter"
203
+
204
+ #: includes/class-wcpdf-settings-general.php:86
205
+ msgid "Extended currency symbol support"
206
+ msgstr ""
207
+
208
+ #: includes/class-wcpdf-settings-general.php:92
209
+ msgid "Enable this if your currency symbol is not displaying properly"
210
+ msgstr ""
211
+
212
+ # @ wpo_wcpdf
213
+ #: includes/class-wcpdf-settings-general.php:98
214
+ msgid "Shop header/logo"
215
+ msgstr "Antet/Logo"
216
+
217
+ # @ wpo_wcpdf
218
+ #: includes/class-wcpdf-settings-general.php:104
219
+ msgid "Select or upload your invoice header/logo"
220
+ msgstr "Selectați sau încărcați propriul dvs. antet sau logo"
221
+
222
+ # @ wpo_wcpdf
223
+ #: includes/class-wcpdf-settings-general.php:105
224
+ msgid "Set image"
225
+ msgstr "Setare imagine"
226
+
227
+ # @ wpo_wcpdf
228
+ #: includes/class-wcpdf-settings-general.php:106
229
+ msgid "Remove image"
230
+ msgstr "Șterge imagine"
231
+
232
+ # @ wpo_wcpdf
233
+ #: includes/class-wcpdf-settings-general.php:113
234
+ msgid "Shop Name"
235
+ msgstr "Nume magazin"
236
+
237
+ # @ wpo_wcpdf
238
+ #: includes/class-wcpdf-settings-general.php:126
239
+ msgid "Shop Address"
240
+ msgstr "Adresă magazin"
241
+
242
+ # @ wpo_wcpdf
243
+ #: includes/class-wcpdf-settings-general.php:141
244
+ msgid "Footer: terms & conditions, policies, etc."
245
+ msgstr ""
246
+ "Notă de subsol: termeni și condiții, politică de confidențialitate, etc."
247
+
248
+ # @ wpo_wcpdf
249
+ #: includes/class-wcpdf-settings-general.php:156
250
+ msgid "Extra template fields"
251
+ msgstr "Câmpuri suplimentare pentru șablon"
252
+
253
+ # @ wpo_wcpdf
254
+ #: includes/class-wcpdf-settings-general.php:162
255
+ msgid "Extra field 1"
256
+ msgstr "Câmp suplimentar 1"
257
+
258
+ # @ wpo_wcpdf
259
+ #: includes/class-wcpdf-settings-general.php:170
260
+ msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
261
+ msgstr ""
262
+ "Aceasta este coloana 1 pentru nota de subsol, disponibilă în șablonul "
263
+ "<i>Modern (Premium)</ i>"
264
+
265
+ # @ wpo_wcpdf
266
+ #: includes/class-wcpdf-settings-general.php:177
267
+ msgid "Extra field 2"
268
+ msgstr "Câmp suplimentar 2"
269
+
270
+ # @ wpo_wcpdf
271
+ #: includes/class-wcpdf-settings-general.php:185
272
+ msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
273
+ msgstr ""
274
+ "Aceasta este coloana 2 pentru nota de subsol, disponibilă în șablonul "
275
+ "<i>Modern (Premium)</ i>"
276
+
277
+ # @ wpo_wcpdf
278
+ #: includes/class-wcpdf-settings-general.php:192
279
+ msgid "Extra field 3"
280
+ msgstr "Câmp suplimentar 3"
281
+
282
+ # @ wpo_wcpdf
283
+ #: includes/class-wcpdf-settings-general.php:200
284
+ msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
285
+ msgstr ""
286
+ "Aceasta este coloana 3 pentru nota de subsol, disponibilă în șablonul "
287
+ "<i>Modern (Premium)</ i>"
288
+
289
+ # @ wpo_wcpdf
290
+ #: includes/class-wcpdf-settings.php:45 includes/class-wcpdf-settings.php:46
291
+ msgid "PDF Invoices"
292
+ msgstr "Factură PDF"
293
+
294
+ # @ woocommerce
295
+ #: includes/class-wcpdf-settings.php:58
296
+ msgid "Settings"
297
+ msgstr ""
298
+
299
+ #: includes/class-wcpdf-settings.php:71
300
+ msgid "Documentation"
301
+ msgstr ""
302
+
303
+ #: includes/class-wcpdf-settings.php:72
304
+ msgid "Support Forum"
305
+ msgstr ""
306
+
307
+ # @ wpo_wcpdf
308
+ #: includes/class-wcpdf-settings.php:83
309
+ msgid "General"
310
+ msgstr "General"
311
+
312
+ # @ wpo_wcpdf
313
+ #: includes/class-wcpdf-settings.php:89
314
+ msgid "Status"
315
+ msgstr "Status"
316
+
317
+ #: includes/compatibility/class-wc-core-compatibility.php:222
318
+ msgid "WooCommerce"
319
+ msgstr ""
320
+
321
+ # @ wpo_wcpdf
322
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:113
323
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:176
324
+ msgid "N/A"
325
+ msgstr "Nu se aplică (N/A)"
326
+
327
+ # @ wpo_wcpdf
328
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:305
329
+ msgid "Payment method"
330
+ msgstr "Metodă de plată"
331
+
332
+ # @ wpo_wcpdf
333
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:326
334
+ msgid "Shipping method"
335
+ msgstr "Metodă de livrare"
336
+
337
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:669
338
+ #, php-format
339
+ msgid "(includes %s)"
340
+ msgstr ""
341
+
342
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:672
343
+ #, php-format
344
+ msgid "(Includes %s)"
345
+ msgstr ""
346
+
347
+ # @ wpo_wcpdf
348
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:702
349
+ msgid "Subtotal"
350
+ msgstr "Subtotal"
351
+
352
+ # @ wpo_wcpdf
353
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:727
354
+ msgid "Shipping"
355
+ msgstr "Transport"
356
+
357
+ # @ wpo_wcpdf
358
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:790
359
+ msgid "Discount"
360
+ msgstr "Reducere"
361
+
362
+ # @ wpo_wcpdf
363
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:831
364
+ msgid "VAT"
365
+ msgstr "TVA"
366
+
367
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:832
368
+ msgid "Tax rate"
369
+ msgstr ""
370
+
371
+ # @ default
372
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:876
373
+ msgid "Total ex. VAT"
374
+ msgstr "Total fara TVA"
375
+
376
+ # @ default
377
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:879
378
+ msgid "Total"
379
+ msgstr "Total"
380
+
381
+ #: includes/documents/abstract-wcpdf-order-document.php:674
382
+ msgid "Admin email"
383
+ msgstr ""
384
+
385
+ #: includes/documents/abstract-wcpdf-order-document.php:677
386
+ msgid "Manual email"
387
+ msgstr ""
388
+
389
+ # @ wpo_wcpdf
390
+ #: includes/documents/class-wcpdf-invoice.php:85
391
+ msgid "invoice"
392
+ msgid_plural "invoices"
393
+ msgstr[0] "Factura Fiscala"
394
+ msgstr[1] "Facturi Fiscale"
395
+
396
+ #: includes/documents/class-wcpdf-invoice.php:130
397
+ #: includes/documents/class-wcpdf-packing-slip.php:94
398
+ msgid "Enable"
399
+ msgstr ""
400
+
401
+ #: includes/documents/class-wcpdf-invoice.php:141
402
+ msgid "Attach to:"
403
+ msgstr ""
404
+
405
+ # @ wpo_wcpdf
406
+ #: includes/documents/class-wcpdf-invoice.php:148
407
+ #, php-format
408
+ msgid ""
409
+ "It looks like the temp folder (<code>%s</code>) is not writable, check the "
410
+ "permissions for this folder! Without having write access to this folder, the "
411
+ "plugin will not be able to email invoices."
412
+ msgstr ""
413
+ "Se pare că folderul Temp (<code>%s</ code>) nu poate fi scris, verificați "
414
+ "permisiunile pentru acest folder! Fără a avea acces de scriere la acest "
415
+ "folder, plugin-ul nu va fi în măsură să trimita email-ul cu facturi."
416
+
417
+ #: includes/documents/class-wcpdf-invoice.php:154
418
+ msgid "Display shipping address"
419
+ msgstr ""
420
+
421
+ #: includes/documents/class-wcpdf-invoice.php:160
422
+ msgid ""
423
+ "Display shipping address (in addition to the default billing address) if "
424
+ "different from billing address"
425
+ msgstr ""
426
+
427
+ #: includes/documents/class-wcpdf-invoice.php:166
428
+ #: includes/documents/class-wcpdf-packing-slip.php:117
429
+ msgid "Display email address"
430
+ msgstr ""
431
+
432
+ #: includes/documents/class-wcpdf-invoice.php:177
433
+ #: includes/documents/class-wcpdf-packing-slip.php:128
434
+ msgid "Display phone number"
435
+ msgstr ""
436
+
437
+ # @ wpo_wcpdf
438
+ #: includes/documents/class-wcpdf-invoice.php:188
439
+ msgid "Display invoice date"
440
+ msgstr "Afișează data facturii"
441
+
442
+ #: includes/documents/class-wcpdf-invoice.php:200
443
+ msgid "Display invoice number"
444
+ msgstr ""
445
+
446
+ # @ wpo_wcpdf
447
+ #: includes/documents/class-wcpdf-invoice.php:212
448
+ msgid "Next invoice number (without prefix/suffix etc.)"
449
+ msgstr "Următorul număr de factură (fără prefix/sufix etc.)"
450
+
451
+ #: includes/documents/class-wcpdf-invoice.php:218
452
+ msgid ""
453
+ "This is the number that will be used for the next document. By default, "
454
+ "numbering starts from 1 and increases for every new document. Note that if "
455
+ "you override this and set it lower than the current/highest number, this "
456
+ "could create duplicate numbers!"
457
+ msgstr ""
458
+
459
+ #: includes/documents/class-wcpdf-invoice.php:224
460
+ msgid "Number format"
461
+ msgstr ""
462
+
463
+ # @ wpo_wcpdf
464
+ #: includes/documents/class-wcpdf-invoice.php:232
465
+ msgid "Prefix"
466
+ msgstr "Prefix"
467
+
468
+ #: includes/documents/class-wcpdf-invoice.php:234
469
+ msgid ""
470
+ "to use the invoice year and/or month, use [invoice_year] or [invoice_month] "
471
+ "respectively"
472
+ msgstr ""
473
+
474
+ # @ wpo_wcpdf
475
+ #: includes/documents/class-wcpdf-invoice.php:237
476
+ msgid "Suffix"
477
+ msgstr "Sufix"
478
+
479
+ # @ wpo_wcpdf
480
+ #: includes/documents/class-wcpdf-invoice.php:242
481
+ msgid "Padding"
482
+ msgstr "Umplutură"
483
+
484
+ # @ wpo_wcpdf
485
+ #: includes/documents/class-wcpdf-invoice.php:245
486
+ msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
487
+ msgstr ""
488
+ "introduceţi numărul aici - introduceţi \"6\" pentru a afișa 42 ca 000042"
489
+
490
+ # @ wpo_wcpdf
491
+ #: includes/documents/class-wcpdf-invoice.php:248
492
+ msgid ""
493
+ "note: if you have already created a custom invoice number format with a "
494
+ "filter, the above settings will be ignored"
495
+ msgstr ""
496
+ "Atenţie: dacă ați creat deja un număr personalizat de factură cu filtru, "
497
+ "setările de mai sus vor fi ignorate"
498
+
499
+ #: includes/documents/class-wcpdf-invoice.php:254
500
+ msgid "Reset invoice number yearly"
501
+ msgstr ""
502
+
503
+ #: includes/documents/class-wcpdf-invoice.php:265
504
+ msgid "Allow My Account invoice download"
505
+ msgstr ""
506
+
507
+ #: includes/documents/class-wcpdf-invoice.php:272
508
+ msgid "Only when an invoice is already created/emailed"
509
+ msgstr ""
510
+
511
+ #: includes/documents/class-wcpdf-invoice.php:273
512
+ msgid "Only for specific order statuses (define below)"
513
+ msgstr ""
514
+
515
+ #: includes/documents/class-wcpdf-invoice.php:274
516
+ msgid "Always"
517
+ msgstr ""
518
+
519
+ #: includes/documents/class-wcpdf-invoice.php:275
520
+ msgid "Never"
521
+ msgstr ""
522
+
523
+ # @ wpo_wcpdf
524
+ #: includes/documents/class-wcpdf-invoice.php:290
525
+ msgid "Enable invoice number column in the orders list"
526
+ msgstr "Activați coloana Număr de Factură din lista comenzilor"
527
+
528
+ #: includes/documents/class-wcpdf-invoice.php:301
529
+ msgid "Disable for free products"
530
+ msgstr ""
531
+
532
+ #: includes/documents/class-wcpdf-invoice.php:307
533
+ msgid ""
534
+ "Disable automatic creation/attachment when only free products are ordered"
535
+ msgstr ""
536
+
537
+ #: includes/documents/class-wcpdf-invoice.php:321
538
+ msgid "Invoice numbers are created by a third-party extension."
539
+ msgstr ""
540
+
541
+ #: includes/documents/class-wcpdf-invoice.php:323
542
+ #, php-format
543
+ msgid "Configure it <a href=\"%s\">here</a>."
544
+ msgstr ""
545
+
546
+ # @ wpo_wcpdf
547
+ #: includes/documents/class-wcpdf-packing-slip.php:32
548
+ #: includes/documents/class-wcpdf-packing-slip.php:41
549
+ #: includes/legacy/class-wcpdf-legacy-functions.php:25
550
+ #: templates/Simple/packing-slip.php:10 templates/Simple/packing-slip.php:22
551
+ msgid "Packing Slip"
552
+ msgstr "Ordin de comandă"
553
+
554
+ # @ wpo_wcpdf
555
+ #: includes/documents/class-wcpdf-packing-slip.php:53
556
+ msgid "packing-slip"
557
+ msgid_plural "packing-slips"
558
+ msgstr[0] ""
559
+ msgstr[1] ""
560
+
561
+ #: includes/documents/class-wcpdf-packing-slip.php:105
562
+ msgid "Display billing address"
563
+ msgstr ""
564
+
565
+ #: includes/documents/class-wcpdf-packing-slip.php:111
566
+ msgid ""
567
+ "Display billing address (in addition to the default shipping address) if "
568
+ "different from shipping address"
569
+ msgstr ""
570
+
571
+ #: includes/legacy/class-wcpdf-legacy-document.php:32
572
+ msgid "Legacy Document"
573
+ msgstr ""
574
+
575
+ #: includes/views/wcpdf-extensions.php:15
576
+ msgid "Check out these premium extensions!"
577
+ msgstr ""
578
+
579
+ #: includes/views/wcpdf-extensions.php:16
580
+ msgid "click items to read more"
581
+ msgstr ""
582
+
583
+ #: includes/views/wcpdf-extensions.php:21
584
+ msgid ""
585
+ "Premium PDF Invoice bundle: Everything you need for a perfect invoicing "
586
+ "system"
587
+ msgstr ""
588
+
589
+ #: includes/views/wcpdf-extensions.php:23
590
+ msgid ""
591
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the all our "
592
+ "premium extensions:"
593
+ msgstr ""
594
+
595
+ #: includes/views/wcpdf-extensions.php:24
596
+ msgid "Professional features:"
597
+ msgstr ""
598
+
599
+ #: includes/views/wcpdf-extensions.php:26
600
+ #: includes/views/wcpdf-extensions.php:56
601
+ msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
602
+ msgstr ""
603
+
604
+ #: includes/views/wcpdf-extensions.php:27
605
+ #: includes/views/wcpdf-extensions.php:57
606
+ msgid ""
607
+ "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
608
+ "packing slips, for example to a drop-shipper or a supplier."
609
+ msgstr ""
610
+
611
+ #: includes/views/wcpdf-extensions.php:28
612
+ #: includes/views/wcpdf-extensions.php:58
613
+ msgid ""
614
+ "Attach <b>up to 3 static files</b> (for example a terms & conditions "
615
+ "document) to the WooCommerce emails of your choice."
616
+ msgstr ""
617
+
618
+ #: includes/views/wcpdf-extensions.php:29
619
+ #: includes/views/wcpdf-extensions.php:59
620
+ msgid ""
621
+ "Use <b>separate numbering systems</b> and/or format for proforma invoices "
622
+ "and credit notes or utilize the main invoice numbering system"
623
+ msgstr ""
624
+
625
+ #: includes/views/wcpdf-extensions.php:30
626
+ #: includes/views/wcpdf-extensions.php:60
627
+ msgid ""
628
+ "<b>Customize</b> the <b>shipping & billing address</b> format to include "
629
+ "additional custom fields, font sizes etc. without the need to create a "
630
+ "custom template."
631
+ msgstr ""
632
+
633
+ #: includes/views/wcpdf-extensions.php:31
634
+ #: includes/views/wcpdf-extensions.php:61
635
+ msgid "Use the plugin in multilingual <b>WPML</b> setups"
636
+ msgstr ""
637
+
638
+ #: includes/views/wcpdf-extensions.php:33
639
+ #: includes/views/wcpdf-extensions.php:131
640
+ msgid "Advanced, customizable templates"
641
+ msgstr ""
642
+
643
+ #: includes/views/wcpdf-extensions.php:35
644
+ #: includes/views/wcpdf-extensions.php:134
645
+ msgid ""
646
+ "Completely customize the invoice contents (prices, taxes, thumbnails) to "
647
+ "your needs with a drag & drop customizer"
648
+ msgstr ""
649
+
650
+ #: includes/views/wcpdf-extensions.php:36
651
+ #: includes/views/wcpdf-extensions.php:135
652
+ msgid "Two extra stylish premade templates (Modern & Business)"
653
+ msgstr ""
654
+
655
+ #: includes/views/wcpdf-extensions.php:38
656
+ msgid "Upload automatically to dropbox"
657
+ msgstr ""
658
+
659
+ #: includes/views/wcpdf-extensions.php:40
660
+ #: includes/views/wcpdf-extensions.php:97
661
+ msgid ""
662
+ "This extension conveniently uploads all the invoices (and other pdf "
663
+ "documents from the professional extension) that are emailed to your "
664
+ "customers to Dropbox. The best way to keep your invoice administration up to "
665
+ "date!"
666
+ msgstr ""
667
+
668
+ #: includes/views/wcpdf-extensions.php:43
669
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Bundle"
670
+ msgstr ""
671
+
672
+ #: includes/views/wcpdf-extensions.php:52
673
+ msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
674
+ msgstr ""
675
+
676
+ #: includes/views/wcpdf-extensions.php:54
677
+ msgid ""
678
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the following "
679
+ "features:"
680
+ msgstr ""
681
+
682
+ #: includes/views/wcpdf-extensions.php:63
683
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
684
+ msgstr ""
685
+
686
+ #: includes/views/wcpdf-extensions.php:71
687
+ msgid "Automatically send payment reminders to your customers"
688
+ msgstr ""
689
+
690
+ #: includes/views/wcpdf-extensions.php:73
691
+ msgid "WooCommerce Smart Reminder emails"
692
+ msgstr ""
693
+
694
+ #: includes/views/wcpdf-extensions.php:75
695
+ msgid "<b>Completely automatic</b> scheduled emails"
696
+ msgstr ""
697
+
698
+ #: includes/views/wcpdf-extensions.php:76
699
+ msgid ""
700
+ "<b>Rich text editor</b> for the email text, including placeholders for data "
701
+ "from the order (name, order total, etc)"
702
+ msgstr ""
703
+
704
+ #: includes/views/wcpdf-extensions.php:77
705
+ msgid ""
706
+ "Configure the exact requirements for sending an email (time after order, "
707
+ "order status, payment method)"
708
+ msgstr ""
709
+
710
+ #: includes/views/wcpdf-extensions.php:78
711
+ msgid ""
712
+ "Fully <b>WPML Compatible</b> – emails will be automatically sent in the "
713
+ "order language."
714
+ msgstr ""
715
+
716
+ #: includes/views/wcpdf-extensions.php:79
717
+ msgid ""
718
+ "<b>Super versatile!</b> Can be used for any kind of reminder email (review "
719
+ "reminders, repeat purchases)"
720
+ msgstr ""
721
+
722
+ #: includes/views/wcpdf-extensions.php:80
723
+ msgid "Integrates seamlessly with the PDF Invoices & Packing Slips plugin"
724
+ msgstr ""
725
+
726
+ #: includes/views/wcpdf-extensions.php:82
727
+ msgid "Get WooCommerce Smart Reminder Emails"
728
+ msgstr ""
729
+
730
+ #: includes/views/wcpdf-extensions.php:91
731
+ msgid "Upload all invoices automatically to your dropbox"
732
+ msgstr ""
733
+
734
+ #: includes/views/wcpdf-extensions.php:98
735
+ msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
736
+ msgstr ""
737
+
738
+ #: includes/views/wcpdf-extensions.php:110
739
+ msgid ""
740
+ "Automatically send new orders or packing slips to your printer, as soon as "
741
+ "the customer orders!"
742
+ msgstr ""
743
+
744
+ #: includes/views/wcpdf-extensions.php:116
745
+ msgid ""
746
+ "Check out the WooCommerce Automatic Order Printing extension from our "
747
+ "partners at Simba Hosting"
748
+ msgstr ""
749
+
750
+ #: includes/views/wcpdf-extensions.php:117
751
+ msgid "WooCommerce Automatic Order Printing"
752
+ msgstr ""
753
+
754
+ #: includes/views/wcpdf-extensions.php:136
755
+ #, php-format
756
+ msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
757
+ msgstr ""
758
+
759
+ # @ wpo_wcpdf
760
+ #: includes/views/wcpdf-extensions.php:137
761
+ #, php-format
762
+ msgid "For custom templates, contact us at %s."
763
+ msgstr "Pentru șabloane personalizate, contactați-ne la %s."
764
+
765
+ #: includes/views/wcpdf-extensions.php:146
766
+ msgid "Hide this message"
767
+ msgstr ""
768
+
769
+ # @ wpo_wcpdf
770
+ #: includes/views/wcpdf-settings-page.php:8
771
+ msgid "WooCommerce PDF Invoices"
772
+ msgstr "Factură PDF WooCommerce"
773
+
774
+ #: templates/Simple/invoice.php:30 templates/Simple/packing-slip.php:41
775
+ msgid "Billing Address:"
776
+ msgstr ""
777
+
778
+ #: templates/Simple/invoice.php:41
779
+ msgid "Ship To:"
780
+ msgstr ""
781
+
782
+ # @ wpo_wcpdf
783
+ #: templates/Simple/invoice.php:50
784
+ msgid "Invoice Number:"
785
+ msgstr "Număr factură:"
786
+
787
+ # @ wpo_wcpdf
788
+ #: templates/Simple/invoice.php:61 templates/Simple/packing-slip.php:49
789
+ msgid "Order Number:"
790
+ msgstr "Număr comandă:"
791
+
792
+ # @ wpo_wcpdf
793
+ #: templates/Simple/invoice.php:65 templates/Simple/packing-slip.php:53
794
+ msgid "Order Date:"
795
+ msgstr "Dată comandă:"
796
+
797
+ # @ wpo_wcpdf
798
+ #: templates/Simple/invoice.php:69
799
+ msgid "Payment Method:"
800
+ msgstr "Metodă de plată:"
801
+
802
+ # @ wpo_wcpdf
803
+ #: templates/Simple/invoice.php:83 templates/Simple/packing-slip.php:71
804
+ msgid "Product"
805
+ msgstr "Produs"
806
+
807
+ # @ wpo_wcpdf
808
+ #: templates/Simple/invoice.php:84 templates/Simple/packing-slip.php:72
809
+ msgid "Quantity"
810
+ msgstr "Cantitate"
811
+
812
+ # @ wpo_wcpdf
813
+ #: templates/Simple/invoice.php:85
814
+ msgid "Price"
815
+ msgstr "Preț"
816
+
817
+ # @ wpo_wcpdf
818
+ #: templates/Simple/invoice.php:92 templates/Simple/packing-slip.php:79
819
+ msgid "Description"
820
+ msgstr "Descriere"
821
+
822
+ # @ wpo_wcpdf
823
+ #: templates/Simple/invoice.php:97 templates/Simple/packing-slip.php:84
824
+ msgid "SKU"
825
+ msgstr "Cod produs (SKU)"
826
+
827
+ # @ wpo_wcpdf
828
+ #: templates/Simple/invoice.php:98 templates/Simple/packing-slip.php:85
829
+ msgid "SKU:"
830
+ msgstr "Cod produs (SKU):"
831
+
832
+ # @ wpo_wcpdf
833
+ #: templates/Simple/invoice.php:99 templates/Simple/packing-slip.php:86
834
+ msgid "Weight:"
835
+ msgstr "Greutate:"
836
+
837
+ # @ wpo_wcpdf
838
+ #: templates/Simple/invoice.php:114 templates/Simple/packing-slip.php:101
839
+ msgid "Customer Notes"
840
+ msgstr "Notiță client"
841
+
842
+ #: templates/Simple/packing-slip.php:30
843
+ msgid "Shipping Address:"
844
+ msgstr ""
845
+
846
+ #: templates/Simple/packing-slip.php:57
847
+ msgid "Shipping Method:"
848
+ msgstr ""
849
+
850
+ # @ wpo_wcpdf
851
+ #: woocommerce-pdf-invoices-packingslips.php:231
852
+ #, php-format
853
+ msgid ""
854
+ "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
855
+ "installed & activated!"
856
+ msgstr ""
857
+ "%sWooCommerce%s trebuie să fie instalat și activ pentru ca Factura PDF și "
858
+ "Ordinul de comandă WooCommerce să funcționeze."
859
+
860
+ #: woocommerce-pdf-invoices-packingslips.php:243
861
+ msgid ""
862
+ "WooCommerce PDF Invoices & Packing Slips requires PHP 5.3 or higher (5.6 or "
863
+ "higher recommended)."
864
+ msgstr ""
865
+
866
+ #: woocommerce-pdf-invoices-packingslips.php:244
867
+ msgid "How to update your PHP version"
868
+ msgstr ""
869
+
870
+ # @ wpo_wcpdf
871
+ #~ msgid "Attach invoice to:"
872
+ #~ msgstr "Atașați factura la:"
873
+
874
+ # @ wpo_wcpdf
875
+ #~ msgid ""
876
+ #~ "This is the number that will be used on the next invoice that is created. "
877
+ #~ "By default, numbering starts from the WooCommerce Order Number of the "
878
+ #~ "first invoice that is created and increases for every new invoice. Note "
879
+ #~ "that if you override this and set it lower than the highest (PDF) invoice "
880
+ #~ "number, this could create double invoice numbers!"
881
+ #~ msgstr ""
882
+ #~ "Acesta este numărul care va fi folosit la următoarea factură creată. În "
883
+ #~ "mod implicit, numerotarea începe de la primul număr al Ordinului de "
884
+ #~ "comanda WooCommerce creat și crește pentru fiecare nouă factură. Rețineți "
885
+ #~ "că, dacă rescrieți factura și îi setați un număr mai mic decât cel mai "
886
+ #~ "mare număr de factură (PDF), acest lucru ar putea crea un număr duplicat "
887
+ #~ "la factură!"
888
+
889
+ # @ wpo_wcpdf
890
+ #~ msgid "Invoice number format"
891
+ #~ msgstr "Număr factură"
892
+
893
+ # @ wpo_wcpdf
894
+ #~ msgid "Template"
895
+ #~ msgstr "Șablon"
896
+
897
+ # @ wpo_wcpdf
898
+ #~ msgid "Admin New Order email"
899
+ #~ msgstr "Comanda nouă destinată Administratorului"
900
+
901
+ # @ wpo_wcpdf
902
+ #~ msgid "Customer Processing Order email"
903
+ #~ msgstr "Comanda trimisă clientului în momentul procesării acesteia"
904
+
905
+ # @ wpo_wcpdf
906
+ #~ msgid "Customer Completed Order email"
907
+ #~ msgstr "Comanda trimisă clientului în momentul finalizării acesteia"
908
+
909
+ # @ wpo_wcpdf
910
+ #~ msgid "Customer Invoice email"
911
+ #~ msgstr "Email-ul trimis cu factura finală"
912
+
913
+ # @ wpo_wcpdf
914
+ #~ msgid "PDF Template settings"
915
+ #~ msgstr "Setări șablon PDF"
916
+
917
+ # @ wpo_wcpdf
918
+ #~ msgid "Display built-in sequential invoice number"
919
+ #~ msgstr "Afișează numărul de factură secvenţial standard"
920
+
921
+ # @ wpo_wcpdf
922
+ #~ msgid "PDF Packing Slips"
923
+ #~ msgstr "Ordine de comandă PDF"
924
+
925
+ # @ wpo_wcpdf
926
+ #~ msgid "PDF Invoice"
927
+ #~ msgstr "Factură PDF"
928
+
929
+ # @ wpo_wcpdf
930
+ #~ msgid "PDF Packing Slip"
931
+ #~ msgstr "Ordin de comandă PDF"
932
+
933
+ # @ wpo_wcpdf
934
+ #~ msgid ""
935
+ #~ "Upload all invoices automatically to your dropbox!<br/>Check out the %s "
936
+ #~ "extension."
937
+ #~ msgstr ""
938
+ #~ "Încărcaţi automat toate facturile în contul dvs. de Dropbox!<br/>Verifică "
939
+ #~ "extensia %s."
940
+
941
+ # @ wpo_wcpdf
942
+ #~ msgid ""
943
+ #~ "Looking for more advanced templates? Check out the Premium PDF Invoice & "
944
+ #~ "Packing Slips templates at %s."
945
+ #~ msgstr ""
946
+ #~ "Căutați șabloane mai avansate? Vezi șabloanele Premium pentru Factură PDF "
947
+ #~ "și pentru Ordinul de comandă la %s."
948
+
949
+ # @ wpo_wcpdf
950
+ #~ msgid ""
951
+ #~ "to use the order year and/or month, use [order_year] or [order_month] "
952
+ #~ "respectively"
953
+ #~ msgstr ""
954
+ #~ "Pentru a folosi sortarea după an și/sau lună, folosiţi [order_year] sau "
955
+ #~ "[order_month]"
956
+
957
+ # @ wpo_wcpdf
958
+ #~ msgid "PDF Invoice Number (unformatted!)"
959
+ #~ msgstr "Număr factură PDF (neformatat!)"
languages/woocommerce-pdf-invoices-packing-slips-ru_RU.mo ADDED
Binary file
languages/woocommerce-pdf-invoices-packing-slips-ru_RU.po ADDED
@@ -0,0 +1,863 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
+ "POT-Creation-Date: 2017-06-09 16:38+0200\n"
5
+ "PO-Revision-Date: 2017-06-09 16:38+0200\n"
6
+ "Last-Translator: Oleg Komarovskyi <komarovski21@gmail.com>\n"
7
+ "Language-Team: WP Overnight <support@wpovernight.com>\n"
8
+ "Language: ru_RU\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.12\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
15
+ "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
18
+ "X-Poedit-SearchPath-0: .\n"
19
+
20
+ #: includes/class-wcpdf-admin.php:72 includes/class-wcpdf-admin.php:174
21
+ msgid "Invoice Number"
22
+ msgstr "Номер Накладной"
23
+
24
+ #: includes/class-wcpdf-admin.php:105
25
+ msgid "Create PDF"
26
+ msgstr "Создать PDF"
27
+
28
+ #: includes/class-wcpdf-admin.php:115
29
+ msgid "PDF Invoice data"
30
+ msgstr ""
31
+
32
+ #: includes/class-wcpdf-admin.php:166
33
+ #: includes/documents/class-wcpdf-invoice.php:32
34
+ #: includes/documents/class-wcpdf-invoice.php:41
35
+ #: includes/legacy/class-wcpdf-legacy-functions.php:22
36
+ #: templates/Simple/invoice.php:10 templates/Simple/invoice.php:22
37
+ msgid "Invoice"
38
+ msgstr "Накладная"
39
+
40
+ #: includes/class-wcpdf-admin.php:183 includes/class-wcpdf-admin.php:204
41
+ #: templates/Simple/invoice.php:56
42
+ msgid "Invoice Date:"
43
+ msgstr "Дата Накладной:"
44
+
45
+ #: includes/class-wcpdf-admin.php:189
46
+ msgid "Set invoice number & date"
47
+ msgstr ""
48
+
49
+ #: includes/class-wcpdf-admin.php:196
50
+ msgid "Invoice Number (unformatted!)"
51
+ msgstr ""
52
+
53
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
54
+ msgid "h"
55
+ msgstr "ч"
56
+
57
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
58
+ msgid "m"
59
+ msgstr "м"
60
+
61
+ #: includes/class-wcpdf-frontend.php:55
62
+ msgid "Download invoice (PDF)"
63
+ msgstr "Скачать накладную (PDF)"
64
+
65
+ #: includes/class-wcpdf-main.php:132 includes/class-wcpdf-main.php:153
66
+ #: includes/class-wcpdf-main.php:160 includes/class-wcpdf-main.php:166
67
+ msgid "You do not have sufficient permissions to access this page."
68
+ msgstr "У вас недостаточно прав для доступа к данной странице."
69
+
70
+ #: includes/class-wcpdf-main.php:141
71
+ msgid "Some of the export parameters are missing."
72
+ msgstr ""
73
+
74
+ #: includes/class-wcpdf-settings-callbacks.php:27
75
+ msgid ""
76
+ "<b>Warning!</b> The settings below are meant for debugging/development only. "
77
+ "Do not use them on a live website!"
78
+ msgstr ""
79
+
80
+ #: includes/class-wcpdf-settings-callbacks.php:36
81
+ msgid ""
82
+ "These are used for the (optional) footer columns in the <em>Modern "
83
+ "(Premium)</em> template, but can also be used for other elements in your "
84
+ "custom template"
85
+ msgstr ""
86
+ "Эти поля (по желанию) используются в подвале <em>Modern (Premium)</em> "
87
+ "шаблонов, но также могут быть использованы в ваших собственных шаблонах"
88
+
89
+ #: includes/class-wcpdf-settings-callbacks.php:301
90
+ msgid "Image resolution"
91
+ msgstr "Разрешение изображения"
92
+
93
+ #: includes/class-wcpdf-settings-callbacks.php:325
94
+ msgid "Save"
95
+ msgstr ""
96
+
97
+ #: includes/class-wcpdf-settings-debug.php:34
98
+ msgid "Debug settings"
99
+ msgstr ""
100
+
101
+ #: includes/class-wcpdf-settings-debug.php:40
102
+ msgid "Legacy mode"
103
+ msgstr ""
104
+
105
+ #: includes/class-wcpdf-settings-debug.php:46
106
+ msgid ""
107
+ "Legacy mode ensures compatibility with templates and filters from previous "
108
+ "versions."
109
+ msgstr ""
110
+
111
+ #: includes/class-wcpdf-settings-debug.php:52
112
+ msgid "Enable debug output"
113
+ msgstr ""
114
+
115
+ #: includes/class-wcpdf-settings-debug.php:58
116
+ msgid ""
117
+ "Enable this option to output plugin errors if you're getting a blank page or "
118
+ "other PDF generation issues"
119
+ msgstr ""
120
+
121
+ #: includes/class-wcpdf-settings-debug.php:64
122
+ msgid "Output to HTML"
123
+ msgstr ""
124
+
125
+ #: includes/class-wcpdf-settings-debug.php:70
126
+ msgid ""
127
+ "Send the template output as HTML to the browser instead of creating a PDF."
128
+ msgstr ""
129
+
130
+ #: includes/class-wcpdf-settings-documents.php:29
131
+ #: includes/class-wcpdf-settings.php:84
132
+ msgid "Documents"
133
+ msgstr ""
134
+
135
+ #: includes/class-wcpdf-settings-documents.php:45
136
+ msgid ""
137
+ "All available documents are listed below. Click on a document to configure "
138
+ "it."
139
+ msgstr ""
140
+
141
+ #: includes/class-wcpdf-settings-general.php:37
142
+ msgid "General settings"
143
+ msgstr "Основные настройки"
144
+
145
+ #: includes/class-wcpdf-settings-general.php:43
146
+ msgid "How do you want to view the PDF?"
147
+ msgstr "Как вы хотите просматривать PDF?"
148
+
149
+ #: includes/class-wcpdf-settings-general.php:50
150
+ msgid "Download the PDF"
151
+ msgstr "Скачать PDF"
152
+
153
+ #: includes/class-wcpdf-settings-general.php:51
154
+ msgid "Open the PDF in a new browser tab/window"
155
+ msgstr "Открыть PDF в новом окне/вкладке браузера"
156
+
157
+ #: includes/class-wcpdf-settings-general.php:58
158
+ msgid "Choose a template"
159
+ msgstr "Выберите шаблон"
160
+
161
+ #: includes/class-wcpdf-settings-general.php:65
162
+ #, php-format
163
+ msgid ""
164
+ "Want to use your own template? Copy all the files from <code>%s</code> to "
165
+ "your (child) theme in <code>%s</code> to customize them"
166
+ msgstr ""
167
+ "Хотите использовать свой шаблон? Скопируйте все файлы из <code>%s</code> в "
168
+ "вашу (дочернюю) тему <code>%s</code> и редактируйте их там"
169
+
170
+ #: includes/class-wcpdf-settings-general.php:71
171
+ msgid "Paper size"
172
+ msgstr "Размер бумаги"
173
+
174
+ #: includes/class-wcpdf-settings-general.php:78
175
+ msgid "A4"
176
+ msgstr "А4"
177
+
178
+ #: includes/class-wcpdf-settings-general.php:79
179
+ msgid "Letter"
180
+ msgstr "Письмо"
181
+
182
+ #: includes/class-wcpdf-settings-general.php:86
183
+ msgid "Extended currency symbol support"
184
+ msgstr ""
185
+
186
+ #: includes/class-wcpdf-settings-general.php:92
187
+ msgid "Enable this if your currency symbol is not displaying properly"
188
+ msgstr ""
189
+
190
+ #: includes/class-wcpdf-settings-general.php:98
191
+ msgid "Shop header/logo"
192
+ msgstr "Логотип Магазина в шапке документов"
193
+
194
+ #: includes/class-wcpdf-settings-general.php:104
195
+ msgid "Select or upload your invoice header/logo"
196
+ msgstr ""
197
+ "Выберите или загрузите ваш логотип для использования его в шапке документов"
198
+
199
+ #: includes/class-wcpdf-settings-general.php:105
200
+ msgid "Set image"
201
+ msgstr "Установить изображение"
202
+
203
+ #: includes/class-wcpdf-settings-general.php:106
204
+ msgid "Remove image"
205
+ msgstr "Удалить изображение"
206
+
207
+ #: includes/class-wcpdf-settings-general.php:113
208
+ msgid "Shop Name"
209
+ msgstr "Название Магазина"
210
+
211
+ #: includes/class-wcpdf-settings-general.php:126
212
+ msgid "Shop Address"
213
+ msgstr "Адрес Магазина"
214
+
215
+ #: includes/class-wcpdf-settings-general.php:141
216
+ msgid "Footer: terms & conditions, policies, etc."
217
+ msgstr "Подвал: условия, конфиденциальность, политика отношений, и т.д."
218
+
219
+ #: includes/class-wcpdf-settings-general.php:156
220
+ msgid "Extra template fields"
221
+ msgstr "Экстра поля шаблона"
222
+
223
+ #: includes/class-wcpdf-settings-general.php:162
224
+ msgid "Extra field 1"
225
+ msgstr "Экстра поле 1"
226
+
227
+ #: includes/class-wcpdf-settings-general.php:170
228
+ msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
229
+ msgstr "Это первая колонка подвала для <i>Modern (Premium)</i> шаблонов"
230
+
231
+ #: includes/class-wcpdf-settings-general.php:177
232
+ msgid "Extra field 2"
233
+ msgstr "Экстра поле 2"
234
+
235
+ #: includes/class-wcpdf-settings-general.php:185
236
+ msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
237
+ msgstr "Это вторая колонка подвала для <i>Modern (Premium)</i> шаблонов"
238
+
239
+ #: includes/class-wcpdf-settings-general.php:192
240
+ msgid "Extra field 3"
241
+ msgstr "Экстра поле 3"
242
+
243
+ #: includes/class-wcpdf-settings-general.php:200
244
+ msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
245
+ msgstr "Это третья колонка подвала для <i>Modern (Premium)</i> шаблонов"
246
+
247
+ #: includes/class-wcpdf-settings.php:45 includes/class-wcpdf-settings.php:46
248
+ msgid "PDF Invoices"
249
+ msgstr "PDF Накладные"
250
+
251
+ #: includes/class-wcpdf-settings.php:58
252
+ msgid "Settings"
253
+ msgstr "Настройки"
254
+
255
+ #: includes/class-wcpdf-settings.php:71
256
+ msgid "Documentation"
257
+ msgstr ""
258
+
259
+ #: includes/class-wcpdf-settings.php:72
260
+ msgid "Support Forum"
261
+ msgstr ""
262
+
263
+ #: includes/class-wcpdf-settings.php:83
264
+ msgid "General"
265
+ msgstr "Основные"
266
+
267
+ #: includes/class-wcpdf-settings.php:89
268
+ msgid "Status"
269
+ msgstr "Статус"
270
+
271
+ #: includes/compatibility/class-wc-core-compatibility.php:222
272
+ msgid "WooCommerce"
273
+ msgstr ""
274
+
275
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:113
276
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:176
277
+ msgid "N/A"
278
+ msgstr "N/A"
279
+
280
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:305
281
+ msgid "Payment method"
282
+ msgstr "Метод оплаты"
283
+
284
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:326
285
+ msgid "Shipping method"
286
+ msgstr "Метод доставки"
287
+
288
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:669
289
+ #, php-format
290
+ msgid "(includes %s)"
291
+ msgstr ""
292
+
293
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:672
294
+ #, php-format
295
+ msgid "(Includes %s)"
296
+ msgstr ""
297
+
298
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:702
299
+ msgid "Subtotal"
300
+ msgstr "Промежуточный итог"
301
+
302
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:727
303
+ msgid "Shipping"
304
+ msgstr "Доставка"
305
+
306
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:790
307
+ msgid "Discount"
308
+ msgstr "Скидка"
309
+
310
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:831
311
+ msgid "VAT"
312
+ msgstr "НДС"
313
+
314
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:832
315
+ msgid "Tax rate"
316
+ msgstr ""
317
+
318
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:876
319
+ msgid "Total ex. VAT"
320
+ msgstr "Итого без НДС"
321
+
322
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:879
323
+ msgid "Total"
324
+ msgstr "Итого"
325
+
326
+ #: includes/documents/abstract-wcpdf-order-document.php:674
327
+ msgid "Admin email"
328
+ msgstr ""
329
+
330
+ #: includes/documents/abstract-wcpdf-order-document.php:677
331
+ msgid "Manual email"
332
+ msgstr ""
333
+
334
+ # This is a filename (prefix). do not use spaces or special characters!
335
+ #: includes/documents/class-wcpdf-invoice.php:85
336
+ msgid "invoice"
337
+ msgid_plural "invoices"
338
+ msgstr[0] "накладная"
339
+ msgstr[1] "накладная"
340
+ msgstr[2] "накладная"
341
+
342
+ #: includes/documents/class-wcpdf-invoice.php:130
343
+ #: includes/documents/class-wcpdf-packing-slip.php:94
344
+ msgid "Enable"
345
+ msgstr ""
346
+
347
+ #: includes/documents/class-wcpdf-invoice.php:141
348
+ msgid "Attach to:"
349
+ msgstr ""
350
+
351
+ #: includes/documents/class-wcpdf-invoice.php:148
352
+ #, php-format
353
+ msgid ""
354
+ "It looks like the temp folder (<code>%s</code>) is not writable, check the "
355
+ "permissions for this folder! Without having write access to this folder, the "
356
+ "plugin will not be able to email invoices."
357
+ msgstr ""
358
+ "Судя по всему временная папка (<code>%s</code>) без прав на запись, "
359
+ "проверьте разрешения для этой папки! Без доступа записи к этой папке, плагин "
360
+ "не сможет посылать накладные по email."
361
+
362
+ #: includes/documents/class-wcpdf-invoice.php:154
363
+ msgid "Display shipping address"
364
+ msgstr ""
365
+
366
+ #: includes/documents/class-wcpdf-invoice.php:160
367
+ msgid ""
368
+ "Display shipping address (in addition to the default billing address) if "
369
+ "different from billing address"
370
+ msgstr ""
371
+
372
+ #: includes/documents/class-wcpdf-invoice.php:166
373
+ #: includes/documents/class-wcpdf-packing-slip.php:117
374
+ msgid "Display email address"
375
+ msgstr ""
376
+
377
+ #: includes/documents/class-wcpdf-invoice.php:177
378
+ #: includes/documents/class-wcpdf-packing-slip.php:128
379
+ msgid "Display phone number"
380
+ msgstr ""
381
+
382
+ #: includes/documents/class-wcpdf-invoice.php:188
383
+ msgid "Display invoice date"
384
+ msgstr "Отображать дату накладной"
385
+
386
+ #: includes/documents/class-wcpdf-invoice.php:200
387
+ msgid "Display invoice number"
388
+ msgstr ""
389
+
390
+ #: includes/documents/class-wcpdf-invoice.php:212
391
+ msgid "Next invoice number (without prefix/suffix etc.)"
392
+ msgstr "Следующий номер накладной (без префикса/суффикса и т.д.)"
393
+
394
+ #: includes/documents/class-wcpdf-invoice.php:218
395
+ msgid ""
396
+ "This is the number that will be used for the next document. By default, "
397
+ "numbering starts from 1 and increases for every new document. Note that if "
398
+ "you override this and set it lower than the current/highest number, this "
399
+ "could create duplicate numbers!"
400
+ msgstr ""
401
+
402
+ #: includes/documents/class-wcpdf-invoice.php:224
403
+ msgid "Number format"
404
+ msgstr ""
405
+
406
+ #: includes/documents/class-wcpdf-invoice.php:232
407
+ msgid "Prefix"
408
+ msgstr "Префикс"
409
+
410
+ #: includes/documents/class-wcpdf-invoice.php:234
411
+ msgid ""
412
+ "to use the invoice year and/or month, use [invoice_year] or [invoice_month] "
413
+ "respectively"
414
+ msgstr ""
415
+
416
+ #: includes/documents/class-wcpdf-invoice.php:237
417
+ msgid "Suffix"
418
+ msgstr "Суффикс"
419
+
420
+ #: includes/documents/class-wcpdf-invoice.php:242
421
+ msgid "Padding"
422
+ msgstr "Наполнение"
423
+
424
+ #: includes/documents/class-wcpdf-invoice.php:245
425
+ msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
426
+ msgstr ""
427
+ "здесь введите количество цифр - введите \"6\" чтобы показать 42 как 000042"
428
+
429
+ #: includes/documents/class-wcpdf-invoice.php:248
430
+ msgid ""
431
+ "note: if you have already created a custom invoice number format with a "
432
+ "filter, the above settings will be ignored"
433
+ msgstr ""
434
+ "заметьте: если вы уже создали индивидуальный формат номера накладной с "
435
+ "фильтром, настройки вверху будут проигнорированы"
436
+
437
+ #: includes/documents/class-wcpdf-invoice.php:254
438
+ msgid "Reset invoice number yearly"
439
+ msgstr ""
440
+
441
+ #: includes/documents/class-wcpdf-invoice.php:265
442
+ msgid "Allow My Account invoice download"
443
+ msgstr ""
444
+
445
+ #: includes/documents/class-wcpdf-invoice.php:272
446
+ msgid "Only when an invoice is already created/emailed"
447
+ msgstr ""
448
+
449
+ #: includes/documents/class-wcpdf-invoice.php:273
450
+ msgid "Only for specific order statuses (define below)"
451
+ msgstr ""
452
+
453
+ #: includes/documents/class-wcpdf-invoice.php:274
454
+ msgid "Always"
455
+ msgstr ""
456
+
457
+ #: includes/documents/class-wcpdf-invoice.php:275
458
+ msgid "Never"
459
+ msgstr ""
460
+
461
+ #: includes/documents/class-wcpdf-invoice.php:290
462
+ msgid "Enable invoice number column in the orders list"
463
+ msgstr "Показывать номер накладной в списке заказов"
464
+
465
+ #: includes/documents/class-wcpdf-invoice.php:301
466
+ msgid "Disable for free products"
467
+ msgstr ""
468
+
469
+ #: includes/documents/class-wcpdf-invoice.php:307
470
+ msgid ""
471
+ "Disable automatic creation/attachment when only free products are ordered"
472
+ msgstr ""
473
+
474
+ #: includes/documents/class-wcpdf-invoice.php:321
475
+ msgid "Invoice numbers are created by a third-party extension."
476
+ msgstr ""
477
+
478
+ #: includes/documents/class-wcpdf-invoice.php:323
479
+ #, php-format
480
+ msgid "Configure it <a href=\"%s\">here</a>."
481
+ msgstr ""
482
+
483
+ #: includes/documents/class-wcpdf-packing-slip.php:32
484
+ #: includes/documents/class-wcpdf-packing-slip.php:41
485
+ #: includes/legacy/class-wcpdf-legacy-functions.php:25
486
+ #: templates/Simple/packing-slip.php:10 templates/Simple/packing-slip.php:22
487
+ msgid "Packing Slip"
488
+ msgstr "Счет-Фактура"
489
+
490
+ # This is a filename (prefix). do not use spaces or special characters!
491
+ #: includes/documents/class-wcpdf-packing-slip.php:53
492
+ msgid "packing-slip"
493
+ msgid_plural "packing-slips"
494
+ msgstr[0] "счет-фактура"
495
+ msgstr[1] "счет-фактура"
496
+ msgstr[2] "счет-фактура"
497
+
498
+ #: includes/documents/class-wcpdf-packing-slip.php:105
499
+ msgid "Display billing address"
500
+ msgstr ""
501
+
502
+ #: includes/documents/class-wcpdf-packing-slip.php:111
503
+ msgid ""
504
+ "Display billing address (in addition to the default shipping address) if "
505
+ "different from shipping address"
506
+ msgstr ""
507
+
508
+ #: includes/legacy/class-wcpdf-legacy-document.php:32
509
+ msgid "Legacy Document"
510
+ msgstr ""
511
+
512
+ #: includes/views/wcpdf-extensions.php:15
513
+ msgid "Check out these premium extensions!"
514
+ msgstr ""
515
+
516
+ #: includes/views/wcpdf-extensions.php:16
517
+ msgid "click items to read more"
518
+ msgstr ""
519
+
520
+ #: includes/views/wcpdf-extensions.php:21
521
+ msgid ""
522
+ "Premium PDF Invoice bundle: Everything you need for a perfect invoicing "
523
+ "system"
524
+ msgstr ""
525
+
526
+ #: includes/views/wcpdf-extensions.php:23
527
+ msgid ""
528
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the all our "
529
+ "premium extensions:"
530
+ msgstr ""
531
+
532
+ #: includes/views/wcpdf-extensions.php:24
533
+ msgid "Professional features:"
534
+ msgstr ""
535
+
536
+ #: includes/views/wcpdf-extensions.php:26
537
+ #: includes/views/wcpdf-extensions.php:56
538
+ msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
539
+ msgstr ""
540
+
541
+ #: includes/views/wcpdf-extensions.php:27
542
+ #: includes/views/wcpdf-extensions.php:57
543
+ msgid ""
544
+ "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
545
+ "packing slips, for example to a drop-shipper or a supplier."
546
+ msgstr ""
547
+
548
+ #: includes/views/wcpdf-extensions.php:28
549
+ #: includes/views/wcpdf-extensions.php:58
550
+ msgid ""
551
+ "Attach <b>up to 3 static files</b> (for example a terms & conditions "
552
+ "document) to the WooCommerce emails of your choice."
553
+ msgstr ""
554
+
555
+ #: includes/views/wcpdf-extensions.php:29
556
+ #: includes/views/wcpdf-extensions.php:59
557
+ msgid ""
558
+ "Use <b>separate numbering systems</b> and/or format for proforma invoices "
559
+ "and credit notes or utilize the main invoice numbering system"
560
+ msgstr ""
561
+
562
+ #: includes/views/wcpdf-extensions.php:30
563
+ #: includes/views/wcpdf-extensions.php:60
564
+ msgid ""
565
+ "<b>Customize</b> the <b>shipping & billing address</b> format to include "
566
+ "additional custom fields, font sizes etc. without the need to create a "
567
+ "custom template."
568
+ msgstr ""
569
+
570
+ #: includes/views/wcpdf-extensions.php:31
571
+ #: includes/views/wcpdf-extensions.php:61
572
+ msgid "Use the plugin in multilingual <b>WPML</b> setups"
573
+ msgstr ""
574
+
575
+ #: includes/views/wcpdf-extensions.php:33
576
+ #: includes/views/wcpdf-extensions.php:131
577
+ msgid "Advanced, customizable templates"
578
+ msgstr ""
579
+
580
+ #: includes/views/wcpdf-extensions.php:35
581
+ #: includes/views/wcpdf-extensions.php:134
582
+ msgid ""
583
+ "Completely customize the invoice contents (prices, taxes, thumbnails) to "
584
+ "your needs with a drag & drop customizer"
585
+ msgstr ""
586
+
587
+ #: includes/views/wcpdf-extensions.php:36
588
+ #: includes/views/wcpdf-extensions.php:135
589
+ msgid "Two extra stylish premade templates (Modern & Business)"
590
+ msgstr ""
591
+
592
+ #: includes/views/wcpdf-extensions.php:38
593
+ msgid "Upload automatically to dropbox"
594
+ msgstr ""
595
+
596
+ #: includes/views/wcpdf-extensions.php:40
597
+ #: includes/views/wcpdf-extensions.php:97
598
+ msgid ""
599
+ "This extension conveniently uploads all the invoices (and other pdf "
600
+ "documents from the professional extension) that are emailed to your "
601
+ "customers to Dropbox. The best way to keep your invoice administration up to "
602
+ "date!"
603
+ msgstr ""
604
+
605
+ #: includes/views/wcpdf-extensions.php:43
606
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Bundle"
607
+ msgstr ""
608
+
609
+ #: includes/views/wcpdf-extensions.php:52
610
+ msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
611
+ msgstr ""
612
+
613
+ #: includes/views/wcpdf-extensions.php:54
614
+ msgid ""
615
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the following "
616
+ "features:"
617
+ msgstr ""
618
+
619
+ #: includes/views/wcpdf-extensions.php:63
620
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
621
+ msgstr ""
622
+
623
+ #: includes/views/wcpdf-extensions.php:71
624
+ msgid "Automatically send payment reminders to your customers"
625
+ msgstr ""
626
+
627
+ #: includes/views/wcpdf-extensions.php:73
628
+ msgid "WooCommerce Smart Reminder emails"
629
+ msgstr ""
630
+
631
+ #: includes/views/wcpdf-extensions.php:75
632
+ msgid "<b>Completely automatic</b> scheduled emails"
633
+ msgstr ""
634
+
635
+ #: includes/views/wcpdf-extensions.php:76
636
+ msgid ""
637
+ "<b>Rich text editor</b> for the email text, including placeholders for data "
638
+ "from the order (name, order total, etc)"
639
+ msgstr ""
640
+
641
+ #: includes/views/wcpdf-extensions.php:77
642
+ msgid ""
643
+ "Configure the exact requirements for sending an email (time after order, "
644
+ "order status, payment method)"
645
+ msgstr ""
646
+
647
+ #: includes/views/wcpdf-extensions.php:78
648
+ msgid ""
649
+ "Fully <b>WPML Compatible</b> – emails will be automatically sent in the "
650
+ "order language."
651
+ msgstr ""
652
+
653
+ #: includes/views/wcpdf-extensions.php:79
654
+ msgid ""
655
+ "<b>Super versatile!</b> Can be used for any kind of reminder email (review "
656
+ "reminders, repeat purchases)"
657
+ msgstr ""
658
+
659
+ #: includes/views/wcpdf-extensions.php:80
660
+ msgid "Integrates seamlessly with the PDF Invoices & Packing Slips plugin"
661
+ msgstr ""
662
+
663
+ #: includes/views/wcpdf-extensions.php:82
664
+ msgid "Get WooCommerce Smart Reminder Emails"
665
+ msgstr ""
666
+
667
+ #: includes/views/wcpdf-extensions.php:91
668
+ msgid "Upload all invoices automatically to your dropbox"
669
+ msgstr ""
670
+
671
+ #: includes/views/wcpdf-extensions.php:98
672
+ msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
673
+ msgstr ""
674
+
675
+ #: includes/views/wcpdf-extensions.php:110
676
+ msgid ""
677
+ "Automatically send new orders or packing slips to your printer, as soon as "
678
+ "the customer orders!"
679
+ msgstr ""
680
+
681
+ #: includes/views/wcpdf-extensions.php:116
682
+ msgid ""
683
+ "Check out the WooCommerce Automatic Order Printing extension from our "
684
+ "partners at Simba Hosting"
685
+ msgstr ""
686
+
687
+ #: includes/views/wcpdf-extensions.php:117
688
+ msgid "WooCommerce Automatic Order Printing"
689
+ msgstr ""
690
+
691
+ #: includes/views/wcpdf-extensions.php:136
692
+ #, php-format
693
+ msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
694
+ msgstr ""
695
+
696
+ #: includes/views/wcpdf-extensions.php:137
697
+ #, php-format
698
+ msgid "For custom templates, contact us at %s."
699
+ msgstr "За пользовательскими шаблонами, обращайтесь по %s."
700
+
701
+ #: includes/views/wcpdf-extensions.php:146
702
+ msgid "Hide this message"
703
+ msgstr ""
704
+
705
+ #: includes/views/wcpdf-settings-page.php:8
706
+ msgid "WooCommerce PDF Invoices"
707
+ msgstr "WooCommerce PDF Накладные"
708
+
709
+ #: templates/Simple/invoice.php:30 templates/Simple/packing-slip.php:41
710
+ msgid "Billing Address:"
711
+ msgstr ""
712
+
713
+ #: templates/Simple/invoice.php:41
714
+ msgid "Ship To:"
715
+ msgstr ""
716
+
717
+ #: templates/Simple/invoice.php:50
718
+ msgid "Invoice Number:"
719
+ msgstr "Номер Накладной:"
720
+
721
+ #: templates/Simple/invoice.php:61 templates/Simple/packing-slip.php:49
722
+ msgid "Order Number:"
723
+ msgstr "Номер Заказа:"
724
+
725
+ #: templates/Simple/invoice.php:65 templates/Simple/packing-slip.php:53
726
+ msgid "Order Date:"
727
+ msgstr "Дата Заказа:"
728
+
729
+ #: templates/Simple/invoice.php:69
730
+ msgid "Payment Method:"
731
+ msgstr "Метод Оплаты:"
732
+
733
+ #: templates/Simple/invoice.php:83 templates/Simple/packing-slip.php:71
734
+ msgid "Product"
735
+ msgstr "Товар"
736
+
737
+ #: templates/Simple/invoice.php:84 templates/Simple/packing-slip.php:72
738
+ msgid "Quantity"
739
+ msgstr "Количество"
740
+
741
+ #: templates/Simple/invoice.php:85
742
+ msgid "Price"
743
+ msgstr "Цена"
744
+
745
+ #: templates/Simple/invoice.php:92 templates/Simple/packing-slip.php:79
746
+ msgid "Description"
747
+ msgstr "Описание"
748
+
749
+ #: templates/Simple/invoice.php:97 templates/Simple/packing-slip.php:84
750
+ msgid "SKU"
751
+ msgstr "SKU"
752
+
753
+ #: templates/Simple/invoice.php:98 templates/Simple/packing-slip.php:85
754
+ msgid "SKU:"
755
+ msgstr "SKU:"
756
+
757
+ #: templates/Simple/invoice.php:99 templates/Simple/packing-slip.php:86
758
+ msgid "Weight:"
759
+ msgstr "Вес:"
760
+
761
+ #: templates/Simple/invoice.php:114 templates/Simple/packing-slip.php:101
762
+ msgid "Customer Notes"
763
+ msgstr "Заметки Клиента"
764
+
765
+ #: templates/Simple/packing-slip.php:30
766
+ msgid "Shipping Address:"
767
+ msgstr ""
768
+
769
+ #: templates/Simple/packing-slip.php:57
770
+ msgid "Shipping Method:"
771
+ msgstr ""
772
+
773
+ #: woocommerce-pdf-invoices-packingslips.php:231
774
+ #, php-format
775
+ msgid ""
776
+ "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
777
+ "installed & activated!"
778
+ msgstr ""
779
+ "WooCommerce PDF Invoices & Packing Slips требует наличие установленного и "
780
+ "активированного %sWooCommerce%s плагина!"
781
+
782
+ #: woocommerce-pdf-invoices-packingslips.php:243
783
+ msgid ""
784
+ "WooCommerce PDF Invoices & Packing Slips requires PHP 5.3 or higher (5.6 or "
785
+ "higher recommended)."
786
+ msgstr ""
787
+
788
+ #: woocommerce-pdf-invoices-packingslips.php:244
789
+ msgid "How to update your PHP version"
790
+ msgstr ""
791
+
792
+ #~ msgid "Attach invoice to:"
793
+ #~ msgstr "Прикрепить накладную к:"
794
+
795
+ #~ msgid ""
796
+ #~ "This is the number that will be used on the next invoice that is created. "
797
+ #~ "By default, numbering starts from the WooCommerce Order Number of the "
798
+ #~ "first invoice that is created and increases for every new invoice. Note "
799
+ #~ "that if you override this and set it lower than the highest (PDF) invoice "
800
+ #~ "number, this could create double invoice numbers!"
801
+ #~ msgstr ""
802
+ #~ "Этот номер будет использован в следующей созданой накладной. По "
803
+ #~ "умолчанию, нумерация начинается с первого, созданого WooCommerce Номера "
804
+ #~ "Заказа и повышается с каждой следующей накладной. Заметьте что если вы "
805
+ #~ "перезапишите его и установите номер ниже предыдущих (PDF) накладных, это "
806
+ #~ "приведет к дублированию номера накладной!"
807
+
808
+ #~ msgid "Invoice number format"
809
+ #~ msgstr "Формат номера накладной"
810
+
811
+ #~ msgid "Template"
812
+ #~ msgstr "Шаблон"
813
+
814
+ #~ msgid ""
815
+ #~ "Upload all invoices automatically to your dropbox!<br/>Check out the %s "
816
+ #~ "extension."
817
+ #~ msgstr ""
818
+ #~ "Загружайте все накладные автоматически в ваш dropbox!<br/>Смотрите %s "
819
+ #~ "расширение."
820
+
821
+ #~ msgid ""
822
+ #~ "Looking for more advanced templates? Check out the Premium PDF Invoice & "
823
+ #~ "Packing Slips templates at %s."
824
+ #~ msgstr ""
825
+ #~ "Ищите более продвинутые шаблоны? Смотрите Премиум PDF Invoice & Packing "
826
+ #~ "Slips шаблоны на %s."
827
+
828
+ #~ msgid "Admin New Order email"
829
+ #~ msgstr "Email адресу Нового Заказа сделанного Администратором"
830
+
831
+ #~ msgid "Customer Processing Order email"
832
+ #~ msgstr "Email адресу Клиента, для Заказов в статусе Обработки"
833
+
834
+ #~ msgid "Customer Completed Order email"
835
+ #~ msgstr "Email адресу Клиента, для Завершенных Заказов"
836
+
837
+ #~ msgid "Customer Invoice email"
838
+ #~ msgstr "Email адресу Накладной Клиента"
839
+
840
+ #~ msgid "PDF Template settings"
841
+ #~ msgstr "PDF Настройки шаблона"
842
+
843
+ #~ msgid "Display built-in sequential invoice number"
844
+ #~ msgstr "Отображать встроенный последовательный номер накладной"
845
+
846
+ #~ msgid ""
847
+ #~ "to use the order year and/or month, use [order_year] or [order_month] "
848
+ #~ "respectively"
849
+ #~ msgstr ""
850
+ #~ "чтобы использовать год и/или месяц заказа, используйте [order_year] или "
851
+ #~ "[order_month] в соответсвии с названием"
852
+
853
+ #~ msgid "PDF Packing Slips"
854
+ #~ msgstr "PDF Счет-Фактуры"
855
+
856
+ #~ msgid "PDF Invoice"
857
+ #~ msgstr "PDF Накладная"
858
+
859
+ #~ msgid "PDF Packing Slip"
860
+ #~ msgstr "PDF Счет-Фактура"
861
+
862
+ #~ msgid "PDF Invoice Number (unformatted!)"
863
+ #~ msgstr "PDF Номер Накладной (неформатированный!)"
languages/woocommerce-pdf-invoices-packing-slips-sk_SK.mo ADDED
Binary file
languages/woocommerce-pdf-invoices-packing-slips-sk_SK.po ADDED
@@ -0,0 +1,972 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips v1.4.10\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-06-09 16:38+0200\n"
6
+ "PO-Revision-Date: 2017-06-09 16:38+0200\n"
7
+ "Last-Translator: Ing. Jakub Novák <info@kubiq.sk>\n"
8
+ "Language-Team: KubiQ <7kubiq7@gmail.com>\n"
9
+ "Language: sk_SK\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
14
+ "X-Generator: Poedit 1.8.12\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
17
+ "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
18
+ "X-Poedit-Basepath: ..\n"
19
+ "X-Textdomain-Support: yes\n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+
22
+ # @ wpo_wcpdf
23
+ #: includes/class-wcpdf-admin.php:72 includes/class-wcpdf-admin.php:174
24
+ msgid "Invoice Number"
25
+ msgstr "Číslo faktúry"
26
+
27
+ # @ wpo_wcpdf
28
+ #: includes/class-wcpdf-admin.php:105
29
+ msgid "Create PDF"
30
+ msgstr "Vytvoriť PDF"
31
+
32
+ #: includes/class-wcpdf-admin.php:115
33
+ msgid "PDF Invoice data"
34
+ msgstr ""
35
+
36
+ # @ wpo_wcpdf
37
+ #: includes/class-wcpdf-admin.php:166
38
+ #: includes/documents/class-wcpdf-invoice.php:32
39
+ #: includes/documents/class-wcpdf-invoice.php:41
40
+ #: includes/legacy/class-wcpdf-legacy-functions.php:22
41
+ #: templates/Simple/invoice.php:10 templates/Simple/invoice.php:22
42
+ msgid "Invoice"
43
+ msgstr "Faktúra"
44
+
45
+ # @ wpo_wcpdf
46
+ #: includes/class-wcpdf-admin.php:183 includes/class-wcpdf-admin.php:204
47
+ #: templates/Simple/invoice.php:56
48
+ msgid "Invoice Date:"
49
+ msgstr "Dátum vystavenia faktúry:"
50
+
51
+ #: includes/class-wcpdf-admin.php:189
52
+ msgid "Set invoice number & date"
53
+ msgstr ""
54
+
55
+ #: includes/class-wcpdf-admin.php:196
56
+ msgid "Invoice Number (unformatted!)"
57
+ msgstr ""
58
+
59
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
60
+ msgid "h"
61
+ msgstr "h"
62
+
63
+ #: includes/class-wcpdf-admin.php:206 includes/class-wcpdf-admin.php:208
64
+ msgid "m"
65
+ msgstr "m"
66
+
67
+ # @ wpo_wcpdf
68
+ #: includes/class-wcpdf-frontend.php:55
69
+ msgid "Download invoice (PDF)"
70
+ msgstr "Stiahnuť faktúru (PDF)"
71
+
72
+ # @ wpo_wcpdf
73
+ #: includes/class-wcpdf-main.php:132 includes/class-wcpdf-main.php:153
74
+ #: includes/class-wcpdf-main.php:160 includes/class-wcpdf-main.php:166
75
+ msgid "You do not have sufficient permissions to access this page."
76
+ msgstr "Nemáte dostatočné oprávnenia na prístup k tejto stránke."
77
+
78
+ #: includes/class-wcpdf-main.php:141
79
+ msgid "Some of the export parameters are missing."
80
+ msgstr ""
81
+
82
+ #: includes/class-wcpdf-settings-callbacks.php:27
83
+ msgid ""
84
+ "<b>Warning!</b> The settings below are meant for debugging/development only. "
85
+ "Do not use them on a live website!"
86
+ msgstr ""
87
+
88
+ # @ wpo_wcpdf
89
+ #: includes/class-wcpdf-settings-callbacks.php:36
90
+ msgid ""
91
+ "These are used for the (optional) footer columns in the <em>Modern "
92
+ "(Premium)</em> template, but can also be used for other elements in your "
93
+ "custom template"
94
+ msgstr ""
95
+ "Tieto nastavenia sú použité ako voliteľné časti pätičky v šablóne <em>Modern "
96
+ "(Premium)</em>, ale môžu byť využité aj ako iné prvky vo Vašej vlastnej "
97
+ "šablóne"
98
+
99
+ # @ default
100
+ #: includes/class-wcpdf-settings-callbacks.php:301
101
+ msgid "Image resolution"
102
+ msgstr "Rozlíšenie obrázka"
103
+
104
+ #: includes/class-wcpdf-settings-callbacks.php:325
105
+ msgid "Save"
106
+ msgstr ""
107
+
108
+ #: includes/class-wcpdf-settings-debug.php:34
109
+ msgid "Debug settings"
110
+ msgstr ""
111
+
112
+ #: includes/class-wcpdf-settings-debug.php:40
113
+ msgid "Legacy mode"
114
+ msgstr ""
115
+
116
+ #: includes/class-wcpdf-settings-debug.php:46
117
+ msgid ""
118
+ "Legacy mode ensures compatibility with templates and filters from previous "
119
+ "versions."
120
+ msgstr ""
121
+
122
+ #: includes/class-wcpdf-settings-debug.php:52
123
+ msgid "Enable debug output"
124
+ msgstr ""
125
+
126
+ #: includes/class-wcpdf-settings-debug.php:58
127
+ msgid ""
128
+ "Enable this option to output plugin errors if you're getting a blank page or "
129
+ "other PDF generation issues"
130
+ msgstr ""
131
+
132
+ #: includes/class-wcpdf-settings-debug.php:64
133
+ msgid "Output to HTML"
134
+ msgstr ""
135
+
136
+ #: includes/class-wcpdf-settings-debug.php:70
137
+ msgid ""
138
+ "Send the template output as HTML to the browser instead of creating a PDF."
139
+ msgstr ""
140
+
141
+ #: includes/class-wcpdf-settings-documents.php:29
142
+ #: includes/class-wcpdf-settings.php:84
143
+ msgid "Documents"
144
+ msgstr ""
145
+
146
+ #: includes/class-wcpdf-settings-documents.php:45
147
+ msgid ""
148
+ "All available documents are listed below. Click on a document to configure "
149
+ "it."
150
+ msgstr ""
151
+
152
+ # @ wpo_wcpdf
153
+ #: includes/class-wcpdf-settings-general.php:37
154
+ msgid "General settings"
155
+ msgstr "Všeobecné nastavenia"
156
+
157
+ # @ wpo_wcpdf
158
+ #: includes/class-wcpdf-settings-general.php:43
159
+ msgid "How do you want to view the PDF?"
160
+ msgstr "Ako chcete zobraziť PDF?"
161
+
162
+ # @ wpo_wcpdf
163
+ #: includes/class-wcpdf-settings-general.php:50
164
+ msgid "Download the PDF"
165
+ msgstr "Stiahnuť PDF"
166
+
167
+ # @ wpo_wcpdf
168
+ #: includes/class-wcpdf-settings-general.php:51
169
+ msgid "Open the PDF in a new browser tab/window"
170
+ msgstr "Otvoriť PDF v novom okne"
171
+
172
+ # @ wpo_wcpdf
173
+ #: includes/class-wcpdf-settings-general.php:58
174
+ msgid "Choose a template"
175
+ msgstr "Zvoľte šablónu"
176
+
177
+ # @ wpo_wcpdf
178
+ #: includes/class-wcpdf-settings-general.php:65
179
+ #, php-format
180
+ msgid ""
181
+ "Want to use your own template? Copy all the files from <code>%s</code> to "
182
+ "your (child) theme in <code>%s</code> to customize them"
183
+ msgstr ""
184
+ "Chcete použiť vlastnú šablónu? Skopírujte všetky súbory z <code>%s</code> do "
185
+ "<code>%s</code> a upravte ich podľa potreby"
186
+
187
+ # @ wpo_wcpdf
188
+ #: includes/class-wcpdf-settings-general.php:71
189
+ msgid "Paper size"
190
+ msgstr "Veľkosť papiera"
191
+
192
+ # @ wpo_wcpdf
193
+ #: includes/class-wcpdf-settings-general.php:78
194
+ msgid "A4"
195
+ msgstr "A4"
196
+
197
+ # @ wpo_wcpdf
198
+ #: includes/class-wcpdf-settings-general.php:79
199
+ msgid "Letter"
200
+ msgstr "Letter"
201
+
202
+ #: includes/class-wcpdf-settings-general.php:86
203
+ msgid "Extended currency symbol support"
204
+ msgstr ""
205
+
206
+ #: includes/class-wcpdf-settings-general.php:92
207
+ msgid "Enable this if your currency symbol is not displaying properly"
208
+ msgstr ""
209
+
210
+ # @ wpo_wcpdf
211
+ #: includes/class-wcpdf-settings-general.php:98
212
+ msgid "Shop header/logo"
213
+ msgstr "Hlavička / logo"
214
+
215
+ # @ wpo_wcpdf
216
+ #: includes/class-wcpdf-settings-general.php:104
217
+ msgid "Select or upload your invoice header/logo"
218
+ msgstr "Vyberte alebo nahrajte hlavičku / logo vo faktúre"
219
+
220
+ # @ wpo_wcpdf
221
+ #: includes/class-wcpdf-settings-general.php:105
222
+ msgid "Set image"
223
+ msgstr "Zvoliť obrázok"
224
+
225
+ # @ wpo_wcpdf
226
+ #: includes/class-wcpdf-settings-general.php:106
227
+ msgid "Remove image"
228
+ msgstr "Odstrániť obrázok"
229
+
230
+ # @ wpo_wcpdf
231
+ #: includes/class-wcpdf-settings-general.php:113
232
+ msgid "Shop Name"
233
+ msgstr "Názov obchodu"
234
+
235
+ # @ wpo_wcpdf
236
+ #: includes/class-wcpdf-settings-general.php:126
237
+ msgid "Shop Address"
238
+ msgstr "Adresa obchodu"
239
+
240
+ # @ wpo_wcpdf
241
+ #: includes/class-wcpdf-settings-general.php:141
242
+ msgid "Footer: terms & conditions, policies, etc."
243
+ msgstr "Pätička: obchodné podmienky, ochrana osobných údajov, atď."
244
+
245
+ # @ wpo_wcpdf
246
+ #: includes/class-wcpdf-settings-general.php:156
247
+ msgid "Extra template fields"
248
+ msgstr "Extra políčka v šablóne"
249
+
250
+ # @ wpo_wcpdf
251
+ #: includes/class-wcpdf-settings-general.php:162
252
+ msgid "Extra field 1"
253
+ msgstr "Extra políčko 1"
254
+
255
+ # @ wpo_wcpdf
256
+ #: includes/class-wcpdf-settings-general.php:170
257
+ msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
258
+ msgstr "Toto je 1. políčko v pätičke v šablóne <i>Modern (Premium)</i>"
259
+
260
+ # @ wpo_wcpdf
261
+ #: includes/class-wcpdf-settings-general.php:177
262
+ msgid "Extra field 2"
263
+ msgstr "Extra políčko 2"
264
+
265
+ # @ wpo_wcpdf
266
+ #: includes/class-wcpdf-settings-general.php:185
267
+ msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
268
+ msgstr "Toto je 2. políčko v pätičke v šablóne <i>Modern (Premium)</i>"
269
+
270
+ # @ wpo_wcpdf
271
+ #: includes/class-wcpdf-settings-general.php:192
272
+ msgid "Extra field 3"
273
+ msgstr "Extra políčko 3"
274
+
275
+ # @ wpo_wcpdf
276
+ #: includes/class-wcpdf-settings-general.php:200
277
+ msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
278
+ msgstr "Toto je 3. políčko v pätičke v šablóne <i>Modern (Premium)</i>"
279
+
280
+ # @ wpo_wcpdf
281
+ #: includes/class-wcpdf-settings.php:45 includes/class-wcpdf-settings.php:46
282
+ msgid "PDF Invoices"
283
+ msgstr "PDF faktúry"
284
+
285
+ # @ woocommerce
286
+ #: includes/class-wcpdf-settings.php:58
287
+ msgid "Settings"
288
+ msgstr "Nastavenia"
289
+
290
+ #: includes/class-wcpdf-settings.php:71
291
+ msgid "Documentation"
292
+ msgstr ""
293
+
294
+ #: includes/class-wcpdf-settings.php:72
295
+ msgid "Support Forum"
296
+ msgstr ""
297
+
298
+ # @ wpo_wcpdf
299
+ #: includes/class-wcpdf-settings.php:83
300
+ msgid "General"
301
+ msgstr "Všeobecné"
302
+
303
+ # @ wpo_wcpdf
304
+ #: includes/class-wcpdf-settings.php:89
305
+ msgid "Status"
306
+ msgstr "Stav"
307
+
308
+ #: includes/compatibility/class-wc-core-compatibility.php:222
309
+ msgid "WooCommerce"
310
+ msgstr ""
311
+
312
+ # @ wpo_wcpdf
313
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:113
314
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:176
315
+ msgid "N/A"
316
+ msgstr "N/A"
317
+
318
+ # @ wpo_wcpdf
319
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:305
320
+ msgid "Payment method"
321
+ msgstr "Spôsob platby"
322
+
323
+ # @ wpo_wcpdf
324
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:326
325
+ msgid "Shipping method"
326
+ msgstr "Doprava"
327
+
328
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:669
329
+ #, php-format
330
+ msgid "(includes %s)"
331
+ msgstr ""
332
+
333
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:672
334
+ #, php-format
335
+ msgid "(Includes %s)"
336
+ msgstr ""
337
+
338
+ # @ wpo_wcpdf
339
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:702
340
+ msgid "Subtotal"
341
+ msgstr "Medzisúčet"
342
+
343
+ # @ wpo_wcpdf
344
+ #: includes/documents/abstract-wcpdf-order-document-methods.php:727
345
+ msgid "Shipping"
346
+ msgstr "Doprava"
347
+
348
+ # @ wpo_wcpdf
349
+ #: include