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 %}