From 998de91aa0747a774bc4013913e58eab1fc189fd Mon Sep 17 00:00:00 2001
From: Yordan Soares <38109855+YordanSoares@users.noreply.github.com>
Date: Fri, 1 Sep 2023 12:53:15 +0200
Subject: [PATCH] Tweak: add a note to make clear that updating the number
format only affects new orders (#598)
---
includes/documents/class-wcpdf-invoice.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/includes/documents/class-wcpdf-invoice.php b/includes/documents/class-wcpdf-invoice.php
index e26ddbe80..a61cf9dc2 100644
--- a/includes/documents/class-wcpdf-invoice.php
+++ b/includes/documents/class-wcpdf-invoice.php
@@ -370,7 +370,7 @@ public function init_settings() {
),
),
/* translators: document type */
- 'description' => __( 'For more information about setting up the number format and see the available placeholders for the prefix and suffix, check this article:', 'woocommerce-pdf-invoices-packing-slips' ) . sprintf( ' %s', __( 'Number format explained', 'woocommerce-pdf-invoices-packing-slips') ) . '.
'. sprintf( __( 'Note: if you have already created a custom %s number format with a filter, the above settings will be ignored.', 'woocommerce-pdf-invoices-packing-slips' ), __( 'invoice', 'woocommerce-pdf-invoices-packing-slips' ) ),
+ 'description' => __( 'For more information about setting up the number format and see the available placeholders for the prefix and suffix, check this article:', 'woocommerce-pdf-invoices-packing-slips' ) . sprintf( ' %s', __( 'Number format explained', 'woocommerce-pdf-invoices-packing-slips') ) . '.
'. sprintf( __( 'Note: Changes made to the number format will only be reflected on new orders. Also, if you have already created a custom %s number format with a filter, the above settings will be ignored.', 'woocommerce-pdf-invoices-packing-slips' ), __( 'invoice', 'woocommerce-pdf-invoices-packing-slips' ) ),
)
),
array(