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();