Added missing translation keys

ref #79
This commit is contained in:
Nicolai Ort 2021-02-25 16:07:48 +01:00
parent d4d847059a
commit c96a21cf99
4 changed files with 20 additions and 15 deletions

View File

@ -179,8 +179,7 @@
<div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left">
<h3 class="text-lg leading-6 font-medium text-gray-900">
<!-- TODO: -->
Create a new
{#if is_fixed}{$_('fixed-donation')}{:else}{$_('distance-donation')}{/if}
{#if is_fixed}{$_('create-a-new-fixed-donation')}{:else}{$_('create-a-new-distance-donation')}{/if}
</h3>
<label class="content-center align-middle object-center">
<span
@ -192,7 +191,7 @@
bind:checked={is_fixed} />
<span
class="ml-2 text-base "
class:text-gray-300={!is_fixed}>{$_('distance-donation')}</span>
class:text-gray-300={!is_fixed}>{$_('fixed-donation')}</span>
</label>
<div class="mt-2 mb-6">
<p class="text-sm text-gray-500">
@ -237,8 +236,8 @@
<div class="col-span-6">
<label
for="donation_amount_eur"
class="block text-sm font-medium text-gray-700">{$_('donation-amount')}
{#if !is_fixed}{$_('per-kilometer')}{/if}</label>
class="block text-sm font-medium text-gray-700">
{#if !is_fixed}{$_('amount-per-kilometer')}{:else}{$_('donation-amount')}{/if}</label>
<div class="mt-1 flex rounded-md shadow-sm">
<input
autocomplete="off"

View File

@ -46,22 +46,22 @@
<th
scope="col"
class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
Donor
{$_('donor')}
</th>
<th
scope="col"
class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
Target
{$_('runner')}
</th>
<th
scope="col"
class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
Amount per Distance
{$_('amount-per-kilometer')}
</th>
<th
scope="col"
class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
{$_('total-donation-amount')}
{$_('donation-amount')}
</th>
<th scope="col" class="relative px-6 py-3">
<span class="sr-only">{$_('action')}</span>
@ -116,7 +116,7 @@
</div>
{:else}
<div class="text-sm font-medium text-gray-900">
Fixed Donation
{$_('fixed-donation')}
</div>
{/if}
</td>
@ -129,7 +129,7 @@
</div>
{:else}
<div class="text-sm font-medium text-gray-900">
Fixed Donation
{$_('fixed-donation')}
</div>
{/if}
</td>

View File

@ -239,7 +239,7 @@
"there-are-no-users-added-yet": "Es wurden noch keine Benutzer hinzugefügt.",
"this-might-take-a-moment": "Das könnte einen kleinen Moment dauern",
"total-distance": "gelaufene Strecke",
"total-donation-amount": "Gesamte Spenden",
"total-donation-amount": "Gesamtbetrag",
"total-donations": "Spendensumme",
"total-scans": "gesamte Scans",
"track-added": "Track hinzugefügt",
@ -272,7 +272,7 @@
"add-donation": "Sponsoring erstellen",
"amount-per-kilometer": "Betrag pro Kilometer",
"delete-donation": "Sponsporing löschen",
"distance-donation": "Kilometerbetrag",
"distance-donation": "Sponsoring",
"donation-amount": "Sponsoringbetrag",
"donation-amount-must-be-greater-that-0-00eur": "Der Sponsoringbetrag muss größer als 0.00€ sein.",
"donor": "Sponsor:in",
@ -280,5 +280,8 @@
"loading-donation-details": "Lade Sponsoringdetails",
"per-kilometer": "pro Kilometer",
"please-provide-the-nessecary-information-to-create-a-new-donation": "Bitte gebe alle für das Sponsoring notwendigen Daten an.",
"runner": "Läufer:in"
"runner": "Läufer:in",
"create-a-new": "Erstelle eine neue",
"create-a-new-fixed-donation": "Erstelle eine neue Festbetragsspende",
"create-a-new-distance-donation": "Erstelle ein neues Sponsoring"
}

View File

@ -280,5 +280,8 @@
"donation-amount-must-be-greater-that-0-00eur": "Donation amount must be greater that 0.00€",
"loading-donation-details": "Loading donation details",
"amount-per-kilometer": "Amount per kilometer",
"delete-donation": "Delete Donation"
"delete-donation": "Delete Donation",
"create-a-new": "Create a new",
"create-a-new-fixed-donation": "Create a new fixed donation",
"create-a-new-distance-donation": "Create a new distance donation"
}