update name space in locales
This commit is contained in:
parent
3c1b351d3b
commit
b6c213321b
|
@ -2,7 +2,7 @@ import { ajax } from 'discourse/lib/ajax';
|
||||||
|
|
||||||
export default Ember.Component.extend({
|
export default Ember.Component.extend({
|
||||||
result: null,
|
result: null,
|
||||||
paymentAmounts: [5, 10],
|
donateAmounts: [5, 10],
|
||||||
amount: null,
|
amount: null,
|
||||||
stripe: Stripe('pk_test_b8RmhzlL8QPizJRqOrKF3JEV'),
|
stripe: Stripe('pk_test_b8RmhzlL8QPizJRqOrKF3JEV'),
|
||||||
|
|
||||||
|
|
|
@ -1,22 +1,22 @@
|
||||||
<form id="payment-form" class="form-horizontal">
|
<form id="payment-form" class="form-horizontal">
|
||||||
|
|
||||||
<div class="control-group" style="width: 550px;">
|
<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">
|
<div class="controls controls-dropdown">
|
||||||
{{combo-box valueAttribute="value" content=paymentAmounts value=amount}}
|
{{combo-box valueAttribute="value" content=donateAmounts value=amount}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="control-group" style="width: 550px;">
|
<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 id="card-element" class="controls"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="control-group save-button">
|
<div class="control-group save-button">
|
||||||
<div class="controls">
|
<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}}
|
{{#if result}}
|
||||||
<span>{{i18n 'discourse_payments.success'}}</span>
|
<span>{{i18n 'discourse_donations.success'}}</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</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="user-table">
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<section class="user-navigation">
|
<section class="user-navigation">
|
||||||
<ul class="action-list nav-stacked">
|
<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>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
<section class="user-right">
|
<section class="user-right">
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
en:
|
en:
|
||||||
js:
|
js:
|
||||||
discourse_payments:
|
discourse_donations:
|
||||||
title: Donate
|
title: Spenden
|
||||||
amount: Amount
|
amount: Betrag
|
||||||
card: Credit or debit card
|
card: Kreditkarte oder Bankkarte
|
||||||
success: Payment Successful!
|
success: Bezahlung erfolgreich !
|
||||||
submit: Make Payment
|
submit: Spende bezahlen
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
en:
|
en:
|
||||||
js:
|
js:
|
||||||
discourse_payments:
|
discourse_donations:
|
||||||
title: Donate
|
title: Donate
|
||||||
amount: Amount
|
amount: Amount
|
||||||
card: Credit or debit card
|
card: Credit or debit card
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# name: discourse-donations
|
# name: discourse-donations
|
||||||
# about: Integrating Discourse with Stripe for donations
|
# about: Integrating Discourse with Stripe for donations
|
||||||
# version: 1.6.1
|
# version: 1.6.2
|
||||||
# url: https://github.com/choiceaustralia/discourse-donations
|
# url: https://github.com/choiceaustralia/discourse-donations
|
||||||
# authors: Rimian Perkins
|
# authors: Rimian Perkins
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue