From 99b01f24a799a2696c5acb5636334aa5ab384352 Mon Sep 17 00:00:00 2001 From: jlbeer Date: Mon, 7 Sep 2026 14:45:02 +0200 Subject: - Übersetzungsfunktionen vereinheitlicht (manchmal nur _() ) - PHP 8.5 / WP 7.1 - Warnungen, die im Plugin "Plugin Check" erwähnt wurden behoben MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- views/mods/mod_rechnungen/accounting_pdf.phtml | 4 ++-- views/mods/mod_rechnungen/invoice_pdf.phtml | 4 ++-- views/mods/mod_rechnungen/multi_invoice_pdf.phtml | 12 ++++++------ 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'views/mods/mod_rechnungen') diff --git a/views/mods/mod_rechnungen/accounting_pdf.phtml b/views/mods/mod_rechnungen/accounting_pdf.phtml index 2f45f66..fd4c273 100644 --- a/views/mods/mod_rechnungen/accounting_pdf.phtml +++ b/views/mods/mod_rechnungen/accounting_pdf.phtml @@ -494,7 +494,7 @@ if ($this->view['basket']['arCalculation']['shipping'][0]['tax_key'] === '0') { - $mwst = _('anteilig'); + $mwst = __('anteilig', 'wpsg'); } else { @@ -548,7 +548,7 @@ if ($this->view['basket']['arCalculation']['payment'][0]['tax_key'] === '0') { - $mwst = _('anteilig'); + $mwst = __('anteilig', 'wpsg'); } else { diff --git a/views/mods/mod_rechnungen/invoice_pdf.phtml b/views/mods/mod_rechnungen/invoice_pdf.phtml index e2fe307..c5d649c 100644 --- a/views/mods/mod_rechnungen/invoice_pdf.phtml +++ b/views/mods/mod_rechnungen/invoice_pdf.phtml @@ -521,7 +521,7 @@ if ($this->view['basket']['arCalculation']['shipping'][0]['tax_key'] === '0') { - $mwst = _('anteilig'); + $mwst = __('anteilig', 'wpsg'); } else { @@ -575,7 +575,7 @@ if ($this->view['basket']['arCalculation']['payment'][0]['tax_key'] === '0') { - $mwst = _('anteilig'); + $mwst = __('anteilig', 'wpsg'); } else { diff --git a/views/mods/mod_rechnungen/multi_invoice_pdf.phtml b/views/mods/mod_rechnungen/multi_invoice_pdf.phtml index ca4cc50..b0c9344 100644 --- a/views/mods/mod_rechnungen/multi_invoice_pdf.phtml +++ b/views/mods/mod_rechnungen/multi_invoice_pdf.phtml @@ -690,7 +690,7 @@ $sum = $this->view['multi_data']['orders'][0]['sum']; if ($arCalculation['shipping'][0]['tax_key'] === '0') { - $mwst = _('anteilig'); + $mwst = __('anteilig', 'wpsg'); } else { @@ -741,7 +741,7 @@ $sum = $this->view['multi_data']['orders'][0]['sum']; if ($arCalculation['payment'][0]['tax_key'] === '0') { - $mwst = _('anteilig'); + $mwst = __('anteilig', 'wpsg'); } else { @@ -778,10 +778,10 @@ $sum = $this->view['multi_data']['orders'][0]['sum']; $pdf->Cell(10, 8, $pnr.'.', 1, 0, 'C'); $pnr ++; $pdf->setXY($prod_left + 10, $prod_top + $offset + $sum_multi_offset); - $pdf->Cell( (($bTaxCol)?87:102), 8, _('Rabatt'), 1, 0, 'L'); + $pdf->Cell( (($bTaxCol)?87:102), 8, __('Rabatt', 'wpsg'), 1, 0, 'L'); $pdf->setXY($prod_left + 97, $prod_top + $offset + $sum_multi_offset); - $pdf->Cell(15, 8, _('anteilig'), 1, 0, 'C'); + $pdf->Cell(15, 8, __('anteilig', 'wpsg'), 1, 0, 'C'); $pdf->setXY($prod_left + 112, $prod_top + $offset + $sum_multi_offset); $pdf->Cell(15, 8, '1', 1, 0, 'C'); @@ -804,10 +804,10 @@ $sum = $this->view['multi_data']['orders'][0]['sum']; $pdf->Cell(10, 8, $pnr.'.', 1, 0, 'C'); $pnr ++; $pdf->setXY($prod_left + 10, $prod_top + $offset + $sum_multi_offset); - $pdf->Cell( (($bTaxCol)?87:102), 8, _('Wertgutschein').' ('.$c['code'].')', 1, 0, 'L'); + $pdf->Cell( (($bTaxCol)?87:102), 8, __('Wertgutschein', 'wpsg').' ('.$c['code'].')', 1, 0, 'L'); $pdf->setXY($prod_left + 97, $prod_top + $offset + $sum_multi_offset); - $pdf->Cell(15, 8, _('anteilig'), 1, 0, 'C'); + $pdf->Cell(15, 8, __('anteilig', 'wpsg'), 1, 0, 'C'); $pdf->setXY($prod_left + 112, $prod_top + $offset + $sum_multi_offset); $pdf->Cell(15, 8, $c['amount'], 1, 0, 'C'); -- cgit v1.2.3