Commit aa19b193 authored by Kim Höfer's avatar Kim Höfer
Browse files

fix bugs and add translations

parent d489572e
......@@ -4,6 +4,24 @@ return [
'headline.1' => 'Ihre Spende für SUMA-EV und MetaGer',
'headline.2' => 'Mit Ihrer Spende unterstützen Sie den Erhalt und die Weiterentwicklung der unabhängigen Suchmaschine metager.de und die Arbeit des gemeinnützigen Trägervereins SUMA-EV. <a href="/about" rel="noopener" target=_blank>Mehr erfahren</a> und <a href="/beitritt" target="_blank" rel="noopener">Mitglied werden.</a>.',
'headline.3' => 'Welchen Beitragen möchten Sie spenden?',
'headline.4' => 'Wie regelmäßig wollen Sie spenden?',
'headline.5' => 'Wie wollen Sie spenden?',
'wunschbetrag' => 'Wunschbetrag',
'frequency.1' => 'Einmalig',
'frequency.2' => 'Monatlich',
'frequency.3' => 'Vierteljährlich',
'frequency.4' => 'Halbjährlich',
'frequency.5' => 'Jährlich',
'head.lastschrift' => 'Lastschrift',
'ueberweisung' => 'Überweisung',
'paypal' => 'Paypal',
'bankinfo.1' => 'Spenden mittels einer Überweisung',
'bankinfo.2' => 'SUMA-EV',
'bankinfo.2.1' => 'IBAN: DE64 4306 0967 4075 0332 01',
......@@ -20,12 +38,23 @@ return [
'lastschrift.5' => 'Ihre Telefonnummer, um Ihre Spende ggf. durch einen Rückruf zu verifizieren:',
'lastschrift.6' => 'Ihre IBAN:',
'lastschrift.7' => 'Ihre BIC (Nur notwendig für Transaktionen aus dem EU Ausland):',
'lastschrift.8.value' => 'Hier können Sie uns mitteilen, welchen Betrag (€) Sie spenden möchten:',
'lastschrift.8.value.placeholder' => 'Gewünschter Spendenbetrag (€)',
'lastschrift.8.message' => 'Hier können Sie uns ggf. noch eine Mitteilung dazu senden:',
'lastschrift.8.message.placeholder' => 'Weitere Angaben',
'lastschrift.9' => 'Spenden',
'lastschrift.10' => 'Ihre Daten werden über eine verschlüsselte Verbindung zu uns übertragen und können von Dritten nicht mitgelesen werden. Der Betrag, den Sie angegeben haben, wird dann durch uns von Ihrem Konto abgebucht. SUMA-EV verwendet Ihre Daten ausschlie&szlig;lich für die Spendenabrechnung; Ihre Daten werden nicht weitergegeben. Spenden an den SUMA-EV sind steuerlich absetzbar, da der Verein vom Finanzamt Hannover Nord als gemeinnützig anerkannt ist, eingetragen in das Vereinsregister beim Amtsgericht Hannover unter VR200033.',
'lastschrift.10' => 'Ihre Daten werden über eine verschlüsselte Verbindung zu uns übertragen und können von Dritten nicht mitgelesen werden. SUMA-EV verwendet Ihre Daten ausschlie&szlig;lich für die Spendenabrechnung; Ihre Daten werden nicht weitergegeben. Spenden an den SUMA-EV sind steuerlich absetzbar, da der Verein vom Finanzamt Hannover Nord als gemeinnützig anerkannt ist, eingetragen in das Vereinsregister beim Amtsgericht Hannover unter VR200033.',
'paypal.1' => 'Mit einem Klick auf Spenden werden Sie zu Paypal weitergeleitet',
'submit' => 'Spenden',
'member.1' => 'Oder doch lieber Mitglied werden?',
'member.2' => 'Es kostet nicht mehr und bietet viele Vorteile.',
'member.3' => 'Werbefreie Nutzung von MetaGer',
'member.4' => 'Förderung der Suchmaschine MetaGer',
'member.5' => 'Mitgliedsbeitrag steuerlich absetzbar',
'member.6' => 'Mitbestimmungsrechte im Verein',
'member.7' => 'Antragsformular',
'drucken' => 'Drucken',
......@@ -39,9 +68,4 @@ return [
'betrag' => 'Betrag',
'danke.message' => 'Ihre Nachricht',
'paypal.title' => 'Spenden mit Paypal',
'paypal.subtitle' => 'Dort auch per Kreditkarte ohne Registrierung',
'paypal.2' => 'Spenden Sie mit PayPal - schnell, kostenlos und sicher!',
'bitpay.title' => 'Spenden mit Bitpay',
];
......@@ -5,6 +5,24 @@ return [
"headline.2" => 'With your donation: you support maintenance and development of the independent search engine metager.org and its supporting association SUMA-EV. <a href="https://metager.org/about" rel="noopener" target=_blank>Read more</a> and <a href="https://metager.org/beitritt" target="_blank" rel="noopener">become a member.</a>
Please help to keep free and open search engines free and open on the Internet. The digital knowledge of the world must stay free from surveillance and control by governments or companies and must be publicly accessible to everyone. Please click <a href="https://metager.org" rel="noopener" target=_blank>here</a> for more information about us.',
'headline.3' => 'How much would you like to donate?',
'headline.4' => 'How frequent do you want to donate?',
'headline.5' => 'Choose a payment method',
'wunschbetrag' => 'Custom amount',
'frequency.1' => 'Once',
'frequency.2' => 'Monthly',
'frequency.3' => 'Quarterly',
'frequency.4' => 'Semi-annual',
'frequency.5' => 'Annual',
'head.lastschrift' => 'Sepa direct debit',
'ueberweisung' => 'Bank transfer',
'paypal' => 'Paypal',
"bankinfo.1" => "By bank transfer",
"bankinfo.2" => "SUMA-EV",
'bankinfo.2.1' => 'IBAN: DE64 4306 0967 4075 0332 01',
......@@ -12,8 +30,9 @@ return [
'bankinfo.2.3' => 'Bank: GLS Gemeinschaftsbank, Bochum',
'bankinfo.2.4' => '(AN: 4075 0332 01, BC: 43060967)',
"bankinfo.3" => "If you wish to receive a donation receipt,\r\nplease specify your full adress and (if available)\r\nyour E-Mail adress on the money transfer form.",
"paypal.2" => "Donate via Paypal - it's fast, safe and free",
"lastschrift.1" => "Donate by wire transfer",
"lastschrift.1" => "Donate by Sepa direct debit",
"lastschrift.2" => "Enter your account data along with the desired amount. We will debit your bank account accordingly.",
"lastschrift.3" => "Please enter your name:",
"lastschrift.3.placeholder" => "Name",
......@@ -22,11 +41,25 @@ return [
"lastschrift.6" => "Your IBAN or bank account number:",
"lastschrift.7" => "Your BIC or bank code:",
"lastschrift.8.value" => "Here you can tell us, what amount you want to donate:",
"lastschrift.8.value.placeholder" => "Donation amount",
"lastschrift.8.message" => "Here you can informally add a message to your donation:",
"lastschrift.8.message.placeholder" => "message",
"lastschrift.9" => "Donate",
"lastschrift.10" => "Your information is transmitted encrypted and is not read by a third party. The amount you enter will be debited from your account by us. SUMA-EV only uses your information for accounting; Your information is not passed on. Donations to the SUMA-EV are tax-deductible, because the association is recognized as charitable by the Finanzamt Hannover Nord (revenue board), listed in the register of associations, Amtsgericht Hannover under VR200033. A certificate for single donations above 200,-EUR is sent automatically (post address is required!). For donations below 200,-EUR an account current is enough for tax-deduction.",
'paypal.1' => 'You will be redirected where you can finalize your donation.',
'submit' => 'Donate',
'member.1' => 'Or rather become a member?',
'member.2' => 'It costs the same and gives many advantages.',
'member.3' => 'Ad-free usage of MetaGer',
'member.4' => 'Help funding MetaGer\'s development',
'member.5' => 'Tax deductable in Germany',
'member.6' => 'Voting rights in our NGO',
'member.7' => 'Membership form',
"drucken" => "print",
"danke.title" => "Thank you very much!! We received your donation message for MetaGer to SUMA-EV",
......@@ -37,10 +70,4 @@ return [
"bic" => "BIC/bank code",
'betrag' => 'Amount',
"danke.message" => "Your message",
'paypal.title' => 'Donate via Paypal',
'paypal.subtitle' => 'Comfortably with Paypal<br>Via Paypal by credit card too (without PayPal registration)',
'paypal.2' => 'Donate via Paypal - it is fast, safe and free',
'bitpay.title' => 'Donate via Bitpay',
];
......@@ -30,14 +30,19 @@
#lastschrift:checked ~ .sepa-debit-details {
display: block;
}
.bank-transfer {
display: none;
}
#Ueberweisung:checked ~ .bank-transfer {
#ueberweisung:checked ~ .bank-transfer {
display: block;
}
.paypal-method {
display:none;
}
#paypal:checked ~ .paypal-method {
display:block;
}
input[type=radio] {
margin: 0px;
margin-left: 2px;
......@@ -76,6 +81,7 @@
height:45px;
font-weight: normal;
text-align: center;
line-height: 40px;
border: 2px solid #a6a6a6;
width: 150px;
border-radius: 6px;
......@@ -84,6 +90,7 @@
margin-top: 5px;
height:45px;
font-weight: normal;
line-height: 40px;
text-align: center;
border: 2px solid #a6a6a6;
width: 150px;
......
......@@ -11,85 +11,112 @@
<p>{!! trans('spende.headline.2') !!}</p>
</div>
<div class="two-col">
<div class="col-left">
<form class="col-left" action="/" method="get">
<div class="section">
<h3 id="lastschrift">Welchen Beitrag möchten Sie spenden?</h3>
<h3>{!! trans('spende.headline.3') !!}</h3>
<div class="amount-row">
<input type="radio" class="amount-radio" name="amount" id="amount-5euro"> <label for="amount-5euro" class="amount-label">5</label>
<input type="radio" class="amount-radio" name="amount" id="amount-10euro"><label for="amount-10euro" class="amount-label">10</label>
<input type="radio" class="amount-radio" name="amount" id="amount-15euro"><label for="amount-15euro" class="amount-label">15</label>
<input type="radio" class="amount-radio" name="amount" id="amount-20euro"><label for="amount-20euro" class="amount-label">20</label>
<input type="radio" class="amount-radio" name="amount" id="amount-25euro"><label for="amount-25euro" class="amount-label">25</label> <br>
<input type="radio" value="5" class="amount-radio" name="amount" id="amount-5euro"> <label for="amount-5euro" class="amount-label">5</label>
<input type="radio" value="10" class="amount-radio" name="amount" id="amount-10euro"><label for="amount-10euro" class="amount-label">10</label>
<input type="radio" value="15" class="amount-radio" name="amount" id="amount-15euro"><label for="amount-15euro" class="amount-label">15</label>
<input type="radio" value="20" class="amount-radio" name="amount" id="amount-20euro"><label for="amount-20euro" class="amount-label">20</label>
<input type="radio" value="25" class="amount-radio" name="amount" id="amount-25euro"><label for="amount-25euro" class="amount-label">25</label> <br>
</div>
<div class="amount-row">
<input type="radio" class="amount-radio" name="amount" id="amount-50euro"><label for="amount-50euro" class="amount-label">50</label>
<input type="radio" class="amount-radio" name="amount" id="amount-100euro"><label for="amount-100euro" class="amount-label">100</label>
<input type="radio" class="amount-radio" name="amount" id="amount-200euro"><label for="amount-200euro" class="amount-label">200</label>
<input type="radio" class="amount-radio" name="amount" id="amount-250euro"><label for="amount-250euro" class="amount-label">250</label>
<input type="radio" class="amount-radio" name="amount" id="amount-300euro"><label for="amount-300euro" class="amount-label">300</label> <br>
<input type="radio" value="50" class="amount-radio" name="amount" id="amount-50euro"><label for="amount-50euro" class="amount-label">50</label>
<input type="radio" value="100" class="amount-radio" name="amount" id="amount-100euro"><label for="amount-100euro" class="amount-label">100</label>
<input type="radio" value="200" class="amount-radio" name="amount" id="amount-200euro"><label for="amount-200euro" class="amount-label">200</label>
<input type="radio" value="250" class="amount-radio" name="amount" id="amount-250euro"><label for="amount-250euro" class="amount-label">250</label>
<input type="radio" value="300" class="amount-radio" name="amount" id="amount-300euro"><label for="amount-300euro" class="amount-label">300</label> <br>
</div>
<div>
<input type="radio" name="amount" id="amount-custom"><label for="amount-custom" class="amount-custom">Wunschbetrag</label> <input id="custom-amount" type="number" step=".01" placeholder="Betrag in €" value="">
<input type="radio" name="amount" id="amount-custom"><label for="amount-custom" class="amount-custom">{!! trans('spende.wunschbetrag') !!}</label> <input id="custom-amount" type="number" step=".01" placeholder="Betrag in €" value="">
</div>
<br>
<h3> Wie regelmäßig wollen Sie spenden?<h3>
<h3>{!! trans('spende.headline.4') !!}</h3>
<input type="radio" class="frequency-radio" name="frequency" id="once"><label class="frequency-label" for="once">Einmalig</label> <br>
<input type="radio" class="frequency-radio" name="frequency" id="once"><label class="frequency-label" for="once">{!! trans('spende.frequency.1') !!}</label> <br>
<input type="radio" class="frequency-radio" name="frequency" id="monthly"><label class="frequency-label" for="monthly">Monatlich</label> <br>
<input type="radio" class="frequency-radio" name="frequency" id="monthly"><label class="frequency-label" for="monthly">{!! trans('spende.frequency.2') !!}</label>
<input type="radio" class="frequency-radio" name="frequency" id="quarterly"><label class="frequency-label" for="quarterly">Vierteljährlich</label> <br>
<input type="radio" class="frequency-radio" name="frequency" id="quarterly"><label class="frequency-label" for="quarterly">{!! trans('spende.frequency.3') !!}</label> <br>
<input type="radio" class="frequency-radio" name="frequency" id="six-monthly"><label class="frequency-label" for="six-monthly">Halbjährlich</label> <br>
<input type="radio" class="frequency-radio" name="frequency" id="six-monthly"><label class="frequency-label" for="six-monthly">{!! trans('spende.frequency.4') !!}</label>
<input type="radio" class="frequency-radio" name="frequency" id="annual"><label class="frequency-label" for="annual">Jährlich</label> <br>
<input type="radio" class="frequency-radio" name="frequency" id="annual"><label class="frequency-label" for="annual">{!! trans('spende.frequency.5') !!}</label> <br>
<br>
<h3>Wie wollen Sie spenden?<h3>
<h3>{!! trans('spende.headline.5') !!}</h3>
<input type="radio" class="payment-radio" name="payment-method" id="lastschrift"><label class="payment-label" for="lastschrift">Lastschrift</label><br>
<input type="radio" class="payment-radio" name="payment-method" id="lastschrift"><label class="payment-label" for="lastschrift">{!! trans('spende.head.lastschrift') !!}</label><br>
<div class="sepa-debit-details">blaaarg</div>
<div class="sepa-debit-details">
<p>{!! trans('spende.lastschrift.2') !!}</p>
<input type="hidden" name="dt" value="{{ md5(date('Y') . date('m') . date('d')) }}">
<div class="form-group donation-form-group">
<label for="Name">*{!! trans('spende.lastschrift.3') !!}</label>
<input type="text" class="form-control" id="Name" name="Name" placeholder="{!! trans('spende.lastschrift.3.placeholder') !!}" @if(isset($data['name'])) value="{{$data['name']}}" @endif />
</div>
<div class="form-group donation-form-group">
<label for="email">{!! trans('spende.lastschrift.4') !!}</label>
<input type="email" class="form-control" id="email" name="email" placeholder="Email" @if(isset($data['email'])) value="{{$data['email']}}" @endif>
</div>
<div class="form-group donation-form-group">
<label for="iban">*{!! trans('spende.lastschrift.6') !!}</label>
<input type="text" class="form-control" id="iban" name="iban" placeholder="IBAN" @if(isset($data['iban'])) value="{{$data['iban']}}" @endif>
</div>
<div class="form-group donation-form-group">
<label for="bic">{!! trans('spende.lastschrift.7') !!}</label>
<input type="text" class="form-control" id="bic" name="bic" placeholder="BIC" @if(isset($data['bic'])) value="{{$data['bic']}}" @endif>
</div>
<div class="form-group donation-form-group">
<label for="msg">{!! trans('spende.lastschrift.8.message')!!}</label>
<p>{!! trans('spende.bankinfo.3')!!}</p>
<textarea class="form-control" id="msg" name="Nachricht" placeholder="{!! trans('spende.lastschrift.8.message.placeholder') !!}">@if(isset($data['nachricht'])){{$data['nachricht']}}@endif</textarea>
</div>
</div>
<input type="radio" class="payment-radio" name="payment-method" id="ueberweisung"><label class="payment-label" for="ueberweisung">Überweisung</label> <br>
<input type="radio" class="payment-radio" name="payment-method" id="ueberweisung"><label class="payment-label" for="ueberweisung">{!! trans('spende.ueberweisung') !!}</label> <br>
<div class="bank-transfer" id="direct-payment">
<p>{!! trans('spende.bankinfo.2') !!}</p>
<p>{!! trans('spende.bankinfo.2.1') !!}</p>
<p>{!! trans('spende.bankinfo.2.2') !!}</p>
<p>{!! trans('spende.bankinfo.2.3') !!}</p>
<p>{!! trans('spende.bankinfo.2.4') !!}</p></div>
<p>{!! trans('spende.bankinfo.2.4') !!}</p> <br>
<p>{!! trans('spende.bankinfo.3') !!}</p></div>
<input type="radio" class="payment-radio" name="payment-method" id="paypal" ><label class="payment-label" for="paypal">Paypal</label> <br>
<input type="radio" class="payment-radio" name="payment-method" id="paypal" ><label class="payment-label" for="paypal">{!! trans('spende.paypal') !!}</label> <br>
<div class="paypal-method">
<p>{!! trans('spende.paypal.1') !!}</p></div>
<div class="section">
<button type="button">Fortfahren</button>
<input type="submit" value="{!! trans('spende.submit') !!}">
</div>
</div>
</div>
</form>
<div class="col-right">
<!--<div
</div>-->
<div class="section">
<p>{!! trans('spende.lastschrift.10') !!}</p> </div>
<div class="section">
<h3>Oder doch lieber Mitglied werden?</h3>
<p>Es kostet nicht mehr und bietet viele Vorteile.</p>
<h3>{!! trans('spende.member.1') !!}</h3>
<p>{!! trans('spende.member.2') !!}</p>
<ul>
<li>Werbefreie Nutzung von MetaGer</li>
<li>Förderung der Suchmaschine MetaGer</li>
<li>Mitgliedsbeitrag steuerlich absetzbar</li>
<li>Mitbestimmungsrechte im Verein</li>
<li>{!! trans('spende.member.3') !!}</li>
<li>{!! trans('spende.member.4') !!}</li>
<li>{!! trans('spende.member.5') !!}</li>
<li>{!! trans('spende.member.6') !!}</li>
</ul>
<a href="">Antragsformular</a>
<a href="">{!! trans('spende.member.7') !!}</a>
</div>
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment