Skip to content

Commit

Permalink
Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamadNateqi committed Jul 10, 2024
1 parent 6849117 commit 7029ecf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions includes/class-wcpdf-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -785,12 +785,12 @@ public function output_number_date_edit_fields( object $document, array $data =

$data = array(
'number' => array( 'label' => sprintf(
/* translators: %s: Document type */
/* translators: %s: Document title */
__( '%s Number', 'woocommerce-pdf-invoices-packing-slips' ),
$document_title
) . ':' ),
'date' => array( 'label' => sprintf(
/* translators: %s: Document type */
/* translators: %s: Document title */
__( '%s Date', 'woocommerce-pdf-invoices-packing-slips' ),
$document_title
) . ':' ),
Expand All @@ -799,18 +799,18 @@ public function output_number_date_edit_fields( object $document, array $data =
if ( 'invoice' === $document->get_type() ) {
$data = array_merge( $data, array(
'display_date' => array( 'label' => sprintf(
/* translators: %s: Document type */
/* translators: %s: Document title */
__( '%s Display date', 'woocommerce-pdf-invoices-packing-slips' ),
$document_title
) . ':' ),
'creation_trigger' => array( 'label' => sprintf(
/* translators: %s: Document type */
/* translators: %s: Document title */
__( '%s Created via', 'woocommerce-pdf-invoices-packing-slips' ),
$document_title
) . ':' ),
'notes' => array( 'label' => sprintf(
/* translators: %s: Document type */
__( '%s Notes (printed in the invoice)', 'woocommerce-pdf-invoices-packing-slips' ),
/* translators: %s: Document title */
__( '%s Notes (printed in the document)', 'woocommerce-pdf-invoices-packing-slips' ),
$document_title
) . ':' ),
) );
Expand Down

0 comments on commit 7029ecf

Please sign in to comment.