Skip to content

Commit 53520f4

Browse files
committed
chore(i18n): update German locale for multi-attachment embedding
Regenerate POT/PO from the attachment migration strings and translate 23 new and 1 adapted msgid in de.po.
1 parent 662e4f1 commit 53520f4

3 files changed

Lines changed: 259 additions & 44 deletions

File tree

eu_einvoice/european_e_invoice/custom/test_sales_invoice_attachments.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@
2222
from eu_einvoice.european_e_invoice.custom.embed_attachment_test_helpers import (
2323
make_sales_invoice_doc as make_embed_test_invoice,
2424
)
25-
from eu_einvoice.european_e_invoice.custom.sales_invoice import as_base_64, attach_xml_to_pdf, get_einvoice, validate_doc
25+
from eu_einvoice.european_e_invoice.custom.sales_invoice import (
26+
as_base_64,
27+
attach_xml_to_pdf,
28+
get_einvoice,
29+
validate_doc,
30+
)
2631
from eu_einvoice.european_e_invoice.custom.sales_invoice_attachments import (
2732
get_embed_attachments,
2833
get_table_embed_attachments,
@@ -335,9 +340,7 @@ def test_attach_xml_to_pdf_embeds_table_attachment_content(self):
335340

336341
invoice_xml = get_einvoice(sales_invoice.name)
337342
expected_annexes = extract_attachment_binary_objects_from_cii_xml(invoice_xml)
338-
expected = next(
339-
annex for annex in expected_annexes if annex[0] == annex_file.file_name
340-
)
343+
expected = next(annex for annex in expected_annexes if annex[0] == annex_file.file_name)
341344
self.assertTrue(expected[2])
342345
self.assertIn(b"-pdf-roundtrip", base64.b64decode(expected[2]))
343346

eu_einvoice/locale/de.po

Lines changed: 127 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)