fixed translation bugs

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-09-04 15:05:12 +02:00
parent e4148d88a8
commit 5b97fe8999
2 changed files with 3 additions and 2 deletions

View File

@@ -19,7 +19,7 @@
if (resp.ok){
doc = await resp.json();
email = doc.customer.email;
subject = t('new_document_from',t(doc.type),doc.company.name,doc.number),
subject = t('new_document_from',{type:t(doc.type),sender:doc.company.name,number:doc.number}),
error = null;
} else {
error = await resp.text();

View File

@@ -24,6 +24,7 @@
"connect_service": "mit Service verbinden",
"connected_services": "verbundene Login-Services",
"confirm_delete": "Soll '{element}' wirklich gelöscht werden?",
"confirm_state": "Status wirklich ändern?",
"companies": "Firmen",
"company": "Firma",
"company_optional": "Firma (optional)",
@@ -148,7 +149,7 @@
"net_price": "Nettopreis",
"net_sum": "Netto-Summe",
"new_password": "neues Passwort",
"new_document_from": "{2} / neues {0}s-Dokument von {1}",
"new_document_from": "{number} / neues {type}s-Dokument von {sender}",
"no_company": "keine Firma",
"note": "Notiz",
"notes": "Notizen",