Browse Source

fixed translation bugs

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
feature/singleton_registry
Stephan Richter 2 months ago
parent
commit
5b97fe8999
  1. 2
      frontend/src/routes/document/Send.svelte
  2. 3
      translations/src/main/resources/de.json

2
frontend/src/routes/document/Send.svelte

@ -19,7 +19,7 @@ @@ -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();

3
translations/src/main/resources/de.json

@ -24,6 +24,7 @@ @@ -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 @@ @@ -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",

Loading…
Cancel
Save