diff options
| author | jlbeer <noreply@maennchen1.de> | 2026-09-07 14:45:02 +0200 |
|---|---|---|
| committer | jlbeer <noreply@maennchen1.de> | 2026-09-07 14:45:02 +0200 |
| commit | 99b01f24a799a2696c5acb5636334aa5ab384352 (patch) | |
| tree | 54e41621d34147124f04973644a082115dc404b8 /views/mods/mod_rechnungen | |
| parent | f69370577e8d61d2a4356acba41985fab71cff78 (diff) | |
- Übersetzungsfunktionen vereinheitlicht (manchmal nur _() )
- PHP 8.5 / WP 7.1
- Warnungen, die im Plugin "Plugin Check" erwähnt wurden behoben
Diffstat (limited to 'views/mods/mod_rechnungen')
| -rw-r--r-- | views/mods/mod_rechnungen/accounting_pdf.phtml | 4 | ||||
| -rw-r--r-- | views/mods/mod_rechnungen/invoice_pdf.phtml | 4 | ||||
| -rw-r--r-- | views/mods/mod_rechnungen/multi_invoice_pdf.phtml | 12 |
3 files changed, 10 insertions, 10 deletions
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');
|
