From f674cb1940ac9e054c95bb5e556094525faecdf5 Mon Sep 17 00:00:00 2001 From: Martin Molle Date: Fri, 23 May 2025 09:31:39 +0000 Subject: [PATCH] add german translation --- resources/lang/de/invoice.php | 45 ++++++++++++++++++++++++ resources/views/default/layout.blade.php | 2 +- 2 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 resources/lang/de/invoice.php diff --git a/resources/lang/de/invoice.php b/resources/lang/de/invoice.php new file mode 100644 index 0000000..701cb06 --- /dev/null +++ b/resources/lang/de/invoice.php @@ -0,0 +1,45 @@ + 'Rechnung', + 'serial_number' => 'Rechnung Nr.', + 'due_at' => 'Fällig am', + 'created_at' => 'Rechnungsdatum', + 'paid_at' => 'Bezahlt am', + 'description' => 'Beschreibung', + 'total_amount' => 'Gesamtbetrag', + 'tax' => 'Steuer', + 'tax_label' => 'Steuer', + 'subtotal_amount' => 'Zwischensumme', + 'amount' => 'Betrag', + 'unit_price' => 'Einzelpreis', + 'quantity' => 'Menge', + 'discount_name' => 'Rabatt', + + 'from' => 'Rechnungsersteller', + 'to' => 'Rechnungsempfänger', + 'shipping_to' => 'Versandadresse', + + 'states' => [ + 'draft' => 'Entwurf', + 'pending' => 'Ausstehend', + 'paid' => 'Bezahlt', + 'refunded' => 'Erstattet', + ], + + 'types' => [ + 'invoice' => 'Rechnung', + 'quote' => 'Angebot', + 'credit' => 'Gutschrift', + 'proforma' => 'Proforma-Rechnung', + ], + + 'page' => 'Seite', +]; diff --git a/resources/views/default/layout.blade.php b/resources/views/default/layout.blade.php index c4f3a5b..c34e6e0 100644 --- a/resources/views/default/layout.blade.php +++ b/resources/views/default/layout.blade.php @@ -26,7 +26,7 @@ {{ $invoice->serial_number }} • {{ $invoice->formatMoney($invoice->totalAmount()) }} -

Page

+

{{ __('invoices::invoice.page') }}