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/about.html.tmpl | 48 +++++++++++++++---------------------------- 1 file changed, 16 insertions(+), 32 deletions(-) (limited to 'src/templates/about.html.tmpl') diff --git a/src/templates/about.html.tmpl b/src/templates/about.html.tmpl index ba5aaaa..b7b9026 100644 --- a/src/templates/about.html.tmpl +++ b/src/templates/about.html.tmpl @@ -1,43 +1,27 @@ {{ define "content" }}
{{ template "navbar" . }} -

{{ .T "About Us" }}

+

{{ .Get "About Us" }}

-

{{ .T "Open Source" }}

+

{{ .Get "Open Source" }}

- {{ .T ` - This website is an open project, and a collaboration between - developers, translators, and researchers. All source code, data, - images, and more for the website are open source and can be found - %shere%s. This site is licensed under the BSD 0-Clause license - giving you the full freedom to do whatever you would like with - anyof the content on this site.` - `` - `` | safe - }} + {{ .Get "This website is an open project, and a collaboration between developers, translators, and researchers. All source code, data, images, and more for the website are open source and can be found %(LinkGit:L)here%(-:E). This site is licensed under the %(LinkBSD:L)BSD Zero Clause License%(-:E) giving you the full freedom to do whatever you would like with any of the content on this site." + (map "LinkGit" "https://git.thomasvoss.com/www.euro-cash.eu" + "LinkBSD" "https://opensource.org/license/0bsd") }}

-

{{ .T "Contact Us" }}

+

{{ .Get "Contact Us" }}

- {{ .T ` - While we try to stay as up-to-date as possible and to fact check - our information, it is always possible that we get something wrong, - lack a translation, or are missing some piece of data you may - have. In such a case don’t hesitate to contact us; we’ll try to get - the site updated or fixed as soon as possible. You are always free - to contribute via a git patch if you are more technically included, - but if not you can always send an email to %s or contact - ‘@onetruemangoman’ on Discord.` - `mail@euro-cash.eu` | safe - }} + {{ .Get "While we try to stay as up-to-date as possible and to fact check our information, it is always possible that we get something wrong, lack a translation, or are missing some piece of data you may have. Should that be the case, don’t hesitate to contact us; we’ll try to get the site updated or fixed as soon as possible. You are always free to contribute via a git patch if you are more technically inclined, but if not you can always send an email to %(Email:e) or contact ‘@onetruemangoman’ on Discord." + (map "Email" "mail@euro-cash.eu") }}

-

{{ .T "Special Thanks" }}

+

{{ .Get "Special Thanks" }}

- - - + {{/* TRANSLATORS: As in ‘Development of the site’ */}} + + + @@ -51,11 +35,11 @@ Storm Sørensen
{{ .T "Development" }}{{ .T "Research" }}{{ .T "Translations" }}{{ .Get "Development" }}{{ .Get "Research" }}{{ .Get "Translations" }}
- Thomas Voss, - Védís Indriðadóttir + Thomas Voss, + Védís Indriðadóttir
-{{ end }} +{{ end }} \ No newline at end of file -- cgit v1.2.3