From 1593a094e1e9cf3006a084883539533856e1b535 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 23 Jul 2025 20:01:32 +0200 Subject: Use a semi-in-house translation system --- src/templates/-404.html.tmpl | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'src/templates/-404.html.tmpl') diff --git a/src/templates/-404.html.tmpl b/src/templates/-404.html.tmpl index c86dc30..06ac02b 100644 --- a/src/templates/-404.html.tmpl +++ b/src/templates/-404.html.tmpl @@ -1,16 +1,12 @@ {{ define "content" }}
{{ template "navbar" . }} -

{{ .T "Page Not Found" }}

+

{{ .Get "Page Not Found" }}

- {{ .T ` - The page you were looking for does not exist. If you believe this - is a mistake then don’t hesitate to contact @onetruemangoman on - Discord or email us at %s.` - `mail@euro-cash.eu` | safe - }} + {{ .Get "The page you were looking for does not exist. If you believe this is a mistake then don’t hesitate to contact ‘@onetruemangoman’ on Discord or email us at %(Email:e)." + (map "Email" "mail@euro-cash.eu") }}

-{{ end }} +{{ end }} \ No newline at end of file -- cgit v1.2.3