Translate UI to Swedish

This commit is contained in:
2026-03-23 10:46:39 +01:00
parent 1929b3ed49
commit bc586e21e7
3 changed files with 29 additions and 29 deletions

View File

@@ -1,8 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<html lang="sv">
<head>
<meta charset="UTF-8">
<title>Invoice - Customer {{ customer.customer_number }}</title>
<title>Faktura - Kund {{ customer.customer_number }}</title>
<style>
@page {
size: A4;
@@ -103,32 +103,32 @@
<body>
<div class="header">
<div>
<h1>Invoice - Customer {{ customer.customer_number }}</h1>
<div>Batches: {{ batches | join(", ") }}</div>
<h1>Faktura - Kund {{ customer.customer_number }}</h1>
<div>Batchar: {{ batches | join(", ") }}</div>
</div>
<div class="meta">
<div>Generated: {{ generated_date }}</div>
<div>Genererad: {{ generated_date }}</div>
</div>
</div>
{% for card in customer.cards %}
<div class="card-section">
<div class="card-header">
<span>Card: {{ card.card_number }}</span>
<span>{{ card.transactions.len() }} transactions</span>
<span>Kort: {{ card.card_number }}</span>
<span>{{ card.transactions.len() }} transaktioner</span>
</div>
<div class="card-summary">
Total: {{ card.total_amount }} | Volume: {{ card.total_volume }} L
Summa: {{ card.total_amount }} | Volym: {{ card.total_volume }} L
</div>
<table>
<thead>
<tr>
<th class="date">Date</th>
<th>Product</th>
<th class="price">Price/L</th>
<th class="volume">Volume (L)</th>
<th class="amount">Amount</th>
<th>Receipt</th>
<th class="date">Datum</th>
<th>Produkt</th>
<th class="price">Pris/L</th>
<th class="volume">Volym (L)</th>
<th class="amount">Belopp</th>
<th>Kvitto</th>
</tr>
</thead>
<tbody>
@@ -143,7 +143,7 @@
</tr>
{% endfor %}
<tr class="card-total">
<td colspan="3">Card Total</td>
<td colspan="3">Kortsumma</td>
<td class="volume">{{ card.total_volume }}</td>
<td class="amount">{{ card.total_amount }}</td>
<td></td>
@@ -154,7 +154,7 @@
{% endfor %}
<div class="grand-total">
Grand Total:<span>{{ customer.grand_total }}</span>
Totalsumma:<span>{{ customer.grand_total }}</span>
</div>
</body>
</html>