From 6efbdeb31d1b035d1ecf2732aa94cc613bf5f8d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Thu, 1 Dec 2022 13:25:28 +0100 Subject: Further translations. --- mu4web/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mu4web/main.py b/mu4web/main.py index 9786070..ef7624a 100644 --- a/mu4web/main.py +++ b/mu4web/main.py @@ -278,7 +278,7 @@ def search_result(q: str, by: Optional[str], direction: str) -> HTML: body.append(('tr', rowdata)) if len(rows) == 0: - return "No results" + return "Inga träffar" else: heads: list[HTML] = [] @@ -313,7 +313,7 @@ def search_page(q: str, by: Optional[str], if q: main_body.append(search_result(q, by, direction)) - return render_document(page_base(title='Search', + return render_document(page_base(title='Sökning', body=main_body)) @@ -331,7 +331,7 @@ def index_page(): body = [('div', ('table', ('tbody', rows))), ('div', entries), ] - return render_document(page_base(title='Mail index', + return render_document(page_base(title='E-postindex', body=body)) -- cgit v1.2.3