From 2faa2df157090c7dc22f4c42ba9dfc5eaa5963a8 Mon Sep 17 00:00:00 2001 From: Samuel Philipp Date: Sat, 30 Mar 2024 03:21:03 +0100 Subject: [PATCH] fixed strings --- src/_data/strings.json | 4 ++++ src/_includes/donations-current.html | 4 ---- src/_includes/donations.html | 4 ---- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/_data/strings.json b/src/_data/strings.json index c34c4c4..098bfea 100644 --- a/src/_data/strings.json +++ b/src/_data/strings.json @@ -64,6 +64,10 @@ "de": "Überweisung", "en": "Bank transfer" }, + "opencollective": { + "de": "Open Collective", + "en": "Open Collective" + }, "total": { "de": "Gesamt", "en": "Total" diff --git a/src/_includes/donations-current.html b/src/_includes/donations-current.html index 4ccce81..ec60a4c 100644 --- a/src/_includes/donations-current.html +++ b/src/_includes/donations-current.html @@ -12,11 +12,7 @@ {% for donation in donations[0].donations %} {{donation.date}} - {% if donation.via == 'opencollective' %} - Open Collective - {% else %} {{strings.donations[donation.via][locale]}} - {% endif %} {% if donation.from %} {{donation.from}} {% else %} diff --git a/src/_includes/donations.html b/src/_includes/donations.html index 365318a..7a373b5 100644 --- a/src/_includes/donations.html +++ b/src/_includes/donations.html @@ -15,11 +15,7 @@ {% for donation in year.donations %} {{donation.date}} - {% if donation.via == 'opencollective' %} - Open Collective - {% else %} {{strings.donations[donation.via][locale]}} - {% endif %} {% if donation.from %} {{donation.from}} {% else %}