update name space in locales
This commit is contained in:
parent
2f7a67629c
commit
a77cf00504
|
@ -2,7 +2,7 @@ import { ajax } from 'discourse/lib/ajax';
|
|||
|
||||
export default Ember.Component.extend({
|
||||
result: null,
|
||||
paymentAmounts: [5, 10],
|
||||
donateAmounts: [5, 10],
|
||||
amount: null,
|
||||
stripe: Stripe('pk_test_b8RmhzlL8QPizJRqOrKF3JEV'),
|
||||
|
||||
|
|
|
@ -1,22 +1,22 @@
|
|||
<form id="payment-form" class="form-horizontal">
|
||||
|
||||
<div class="control-group" style="width: 550px;">
|
||||
<label class="control-label" for="card-element">{{i18n 'discourse_payments.amount'}}</label>
|
||||
<label class="control-label" for="card-element">{{i18n 'discourse_donations.amount'}}</label>
|
||||
<div class="controls controls-dropdown">
|
||||
{{combo-box valueAttribute="value" content=paymentAmounts value=amount}}
|
||||
{{combo-box valueAttribute="value" content=donateAmounts value=amount}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group" style="width: 550px;">
|
||||
<label class="control-label" for="card-element">{{i18n 'discourse_payments.card'}}</label>
|
||||
<label class="control-label" for="card-element">{{i18n 'discourse_donations.card'}}</label>
|
||||
<div id="card-element" class="controls"></div>
|
||||
</div>
|
||||
|
||||
<div class="control-group save-button">
|
||||
<div class="controls">
|
||||
<button {{action "submitStripeCard"}} class="btn btn-primary">{{i18n 'discourse_payments.submit'}}</button>
|
||||
<button {{action "submitStripeCard"}} class="btn btn-primary">{{i18n 'discourse_donations.submit'}}</button>
|
||||
{{#if result}}
|
||||
<span>{{i18n 'discourse_payments.success'}}</span>
|
||||
<span>{{i18n 'discourse_donations.success'}}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{{#d-section pageClass="user-payments" class="user-content user-payments"}}
|
||||
{{#d-section pageClass="user-donations" class="user-content user-donations"}}
|
||||
<div class="user-table">
|
||||
<div class="wrapper">
|
||||
<section class="user-navigation">
|
||||
<ul class="action-list nav-stacked">
|
||||
<li class="no-glyph">{{i18n 'discourse_payments.title'}}</li>
|
||||
<li class="no-glyph">{{i18n 'discourse_donations.title'}}</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="user-right">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
en:
|
||||
js:
|
||||
discourse_payments:
|
||||
discourse_donations:
|
||||
title: Spenden
|
||||
amount: Betrag
|
||||
card: Kreditkarte oder Bankkarte
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
en:
|
||||
js:
|
||||
discourse_payments:
|
||||
discourse_donations:
|
||||
title: Donate
|
||||
amount: Amount
|
||||
card: Credit or debit card
|
||||
|
|
Loading…
Reference in New Issue