From 485e6a17fa185ef0a0cd06558899d9edcd79fa25 Mon Sep 17 00:00:00 2001 From: teldra Date: Fri, 22 Apr 2022 11:37:51 +0200 Subject: [PATCH] donations feature fix --- themes/buha/i18n/de.toml | 1 + themes/buha/layouts/partials/snippets/article_metadata.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/buha/i18n/de.toml b/themes/buha/i18n/de.toml index d94cd5b5..722f7df3 100644 --- a/themes/buha/i18n/de.toml +++ b/themes/buha/i18n/de.toml @@ -69,6 +69,7 @@ other = "Der Eintritt ist kostenlos." [donationentry] other = "Um Spende wird gebeten." + [register] other = "Anmeldung" diff --git a/themes/buha/layouts/partials/snippets/article_metadata.html b/themes/buha/layouts/partials/snippets/article_metadata.html index d764077c..aad40bba 100644 --- a/themes/buha/layouts/partials/snippets/article_metadata.html +++ b/themes/buha/layouts/partials/snippets/article_metadata.html @@ -8,7 +8,7 @@ {{ if eq .price "free" }}
{{ if i18n "freeentry" }}{{ i18n "freeentry" }}{{ else }}{{ "Free Entry" }}{{ end }}
{{ else if eq .price "donation" }} -
{{ if i18n "donationentry" }}{{ i18n "donationaentry" }}{{ else }}{{ "Voluntary Donation" }}{{ end }}
+
{{ if i18n "donationentry" }}{{ i18n "donationentry" }}{{ else }}{{ "Voluntary Donation" }}{{ end }}
{{ else }}
{{ if i18n "entry" }}{{ i18n "entry" }}{{ else }}{{ "Entry" }}{{ end }}: {{ .price }}
{{ end }}