From 7fea1ca78ff6fdbb38dee0edd9918eaeb1264d18 Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Wed, 31 Mar 2021 16:15:42 +0200 Subject: [PATCH] Added translations ref #46 --- src/locales/de.json | 46 ++++++++++++++++----------- src/locales/en.json | 45 +++++++++++++++----------- src/templates/runner_certificate.html | 16 +++++----- 3 files changed, 62 insertions(+), 45 deletions(-) diff --git a/src/locales/de.json b/src/locales/de.json index 7fd4d49..f547755 100644 --- a/src/locales/de.json +++ b/src/locales/de.json @@ -1,20 +1,28 @@ { - "address": "Adresse", - "city": "Stadt", - "date": "Datum", - "firstname": "Vorname", - "group": "Team/Klasse", - "house_number": "Hausnummer", - "id": "ID", - "lastname": "Nachname", - "location": "Ort", - "please_use_blockletters": "Bitte in DRUCKBUCHSTABEN schreiben", - "postalcode": "Postleitzahl", - "signature": "Unterschrift", - "sponsor": "Sponsor", - "sponsoring_address_condition": "Muss ausgefüllt werden, wenn Sie eine Spendenquittung benötigen - Spendenquittungen können erst ab einem Gesamtbetrag von {{sponsoring_receipt_minimum_amount}}{{currency_symbol}} ausgestellt werden", - "sponsoring_amount_per_distance": "mit einem Betrag von _____{{currency_symbol}} pro gelaufenem Kilometer zu unterstützen.", - "sponsoring_subtitle": "Ich/Wir sind bereit anlässlich des {{eventname}}", - "sponsoring_title": "Sponsoringerklärung", - "street": "Straße" -} \ No newline at end of file + "address": "Adresse", + "city": "Stadt", + "date": "Datum", + "firstname": "Vorname", + "group": "Team/Klasse", + "house_number": "Hausnummer", + "id": "ID", + "lastname": "Nachname", + "location": "Ort", + "please_use_blockletters": "Bitte in DRUCKBUCHSTABEN schreiben", + "postalcode": "Postleitzahl", + "signature": "Unterschrift", + "sponsor": "Sponsor", + "sponsoring_address_condition": "Muss ausgefüllt werden, wenn Sie eine Spendenquittung benötigen - Spendenquittungen können erst ab einem Gesamtbetrag von {{sponsoring_receipt_minimum_amount}}{{currency_symbol}} ausgestellt werden", + "sponsoring_amount_per_distance": "mit einem Betrag von _____{{currency_symbol}} pro gelaufenem Kilometer zu unterstützen.", + "sponsoring_subtitle": "Ich/Wir sind bereit anlässlich des {{eventname}}", + "sponsoring_title": "Sponsoringerklärung", + "street": "Straße", + "urkunde": "Urkunde", + "hat-beim-eventname": "Hat beim {{../eventname}}", + "fuer-den-guten-zweck-zurueckgelegt": "für den guten Zweck zurückgelegt", + "sponsorings": "Sponsorings", + "sponsor-in": "Sponsor:in", + "betrag-km": "Betrag/KM", + "gesamtbetrag": "Gesamtbetrag", + "gesamt": "Gesamt" +} diff --git a/src/locales/en.json b/src/locales/en.json index 317b9b6..13a6345 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -1,19 +1,28 @@ { - "address": "Address", - "city": "City", - "date": "date", - "firstname": "First name", - "group": "Team/class", - "house_number": "House number", - "lastname": "Last name", - "location": "Location", - "please_use_blockletters": "Please write in BLOCK LETTERS.", - "postalcode": "Postal code", - "signature": "Signature", - "sponsor": "sponsor", - "sponsoring_address_condition": "You have to provide an address if you want a donation receipt - Donation receipts can't be issued for total donation amounts under {{sponsoring_receipt_minimum_amount}}{{currency_symbol}}", - "sponsoring_amount_per_distance": "with the amount of _____{{currency_symbol}} per kilometer run.", - "sponsoring_subtitle": "On the ocation of the {{eventname}} I/We want to support", - "sponsoring_title": "Sponsoring contract", - "street": "Street" -} \ No newline at end of file + "address": "Address", + "city": "City", + "date": "date", + "firstname": "First name", + "group": "Team/class", + "house_number": "House number", + "lastname": "Last name", + "location": "Location", + "please_use_blockletters": "Please write in BLOCK LETTERS.", + "postalcode": "Postal code", + "signature": "Signature", + "sponsor": "sponsor", + "sponsoring_address_condition": "You have to provide an address if you want a donation receipt - Donation receipts can't be issued for total donation amounts under {{sponsoring_receipt_minimum_amount}}{{currency_symbol}}", + "sponsoring_amount_per_distance": "with the amount of _____{{currency_symbol}} per kilometer run.", + "sponsoring_subtitle": "On the ocation of the {{eventname}} I/We want to support", + "sponsoring_title": "Sponsoring contract", + "street": "Street", + "urkunde": "Certifcate", + "fuer-den-guten-zweck-zurueckgelegt": "for our good cuse at the {eventname}", + "hat-beim-eventname": "Ran", + "id": "ID", + "sponsorings": "Donations", + "sponsor-in": "Donor", + "betrag-km": "Amount/KM", + "gesamtbetrag": "Total", + "gesamt": "Combined" +} diff --git a/src/templates/runner_certificate.html b/src/templates/runner_certificate.html index bce97d0..1262403 100644 --- a/src/templates/runner_certificate.html +++ b/src/templates/runner_certificate.html @@ -43,15 +43,15 @@ {{#each runners}}
-

Urkunde

+

{{__ "urkunde"}}

{{this.firstname}} {{this.middlename}} {{this.lastname}}

-

Hat beim {{../eventname}}

+

{{__ "hat-beim-eventname"}}

{{this.distance}}km

-

für den guten Zweck zurückgelegt

+

{{__ "fuer-den-guten-zweck-zurueckgelegt"}}

@@ -59,14 +59,14 @@
-

Sponsorings

+

{{__ "sponsorings"}}

- - - + + + {{#each this.distanceDonations}} @@ -78,7 +78,7 @@ {{/each}} - +
Sponsor:inBetrag/KMGesamtbetrag{{__ "sponsor-in"}}{{__ "betrag-km"}}{{__ "gesamtbetrag"}}
Gesamt{{__ "gesamt"}} 0.5€ 1€