From 83fc234b90ddcfa5411c8e7bd9597e35733657d8 Mon Sep 17 00:00:00 2001 From: Rimian Perkins Date: Thu, 12 Sep 2019 18:27:25 +1000 Subject: [PATCH] settings, headings --- README.md | 2 -- .../discourse/templates/components/donation-form.hbs | 2 +- config/locales/client.en.yml | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6791940..b9f34ab 100644 --- a/README.md +++ b/README.md @@ -41,10 +41,8 @@ Many thanks to Chris Beach and Angus McLeod who helped on the previous version o ## TODOs * Add a description/message -* Format the currency * Check against other themes * Add billing info to confirm dialog -* Confirm dialog heading * Validate the model properly. Not in the stripe component * Show the transaction on the thank you page. * Work out where to put the helper tests. Name collision! diff --git a/assets/javascripts/discourse/templates/components/donation-form.hbs b/assets/javascripts/discourse/templates/components/donation-form.hbs index 594270b..cc39bdd 100644 --- a/assets/javascripts/discourse/templates/components/donation-form.hbs +++ b/assets/javascripts/discourse/templates/components/donation-form.hbs @@ -1,6 +1,6 @@ {{#if confirmation}} - {{#d-modal closeModal=(action "closeModal") modalStyle="inline-modal" title=(i18n "discourse_patrons.confirm")}} + {{#d-modal closeModal=(action "closeModal") modalStyle="inline-modal" title=(i18n "discourse_patrons.payment.payment_confirmation")}} {{#d-modal-body}} diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 11192b0..7659994 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -8,7 +8,6 @@ en: discourse_patrons_billing_address: "Collect billing address" discourse_patrons_payment_page: "Text to be added to enter payments page. Markdown is supported." discourse_patrons_success_page: "Text to be added to success page. Markdown is supported." - discourse_patrons_reward_badge_name: "Grant this badge to user when a payment is successful" errors: discourse_patrons_amount_must_be_currency: "Currency amounts must be currencies without dollar symbol (eg 1.50)" js: @@ -21,6 +20,7 @@ en: optional: Optional your_information: Your information payment_information: Payment information + payment_confirmation: Confirm information amount: Amount billing: name: Full name