Skip to content

Commit

Permalink
fix 'theater' spelling errors
Browse files Browse the repository at this point in the history
  • Loading branch information
winsonwan committed Apr 5, 2024
1 parent c3178df commit 56f9372
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions app/views/options/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
= f.label :default_donation_type, 'Monthly', :class => 'form-control', :for => 'monthly'
= render_collection_of_options f, %w( |
recurring_donation_contact_emails |
notify_theatre_about_new_recurring_donation |
notify_threate_about_failed_recurring_donation_charge |
notify_theater_about_new_recurring_donation |
notify_theater_about_failed_recurring_donation_charge |
) |

.card.my-1
Expand Down
12 changes: 6 additions & 6 deletions config/locales/en.option_descriptions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -491,19 +491,19 @@ en:
default_donation_type: >
Default donation type to be checked when a customer is on the 'make donation' page.
Whether the default option for donations is one-time or recurring when a customer is on the 'make donation' page.
recurring_donation_contact_emails: >
Comma-separated list of theatre contact email addresses to contact
Comma-separated list of theater contact email addresses to contact
regarding recurring donation activity.
notify_theatre_about_new_recurring_donation: >
notify_theater_about_new_recurring_donation: >
Whether to notify theatre contact email addresses when a customer initiates
Whether to notify theater contact email addresses when a customer initiates
a new recurring donation.
notify_threate_about_failed_recurring_donation_charge: >
notify_theater_about_failed_recurring_donation_charge: >
Whether to notify theatre contact email addresses when a charge from an
Whether to notify theater contact email addresses when a charge from an
existing recurring donation fails.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ def change
add_column :options, :allow_recurring_donations, :boolean, default: false
add_column :options, :default_donation_type, :string, default: "one"
add_column :options, :recurring_donation_contact_emails, :text
add_column :options, :notify_theatre_about_new_recurring_donation, :boolean, default: true
add_column :options, :notify_threate_about_failed_recurring_donation_charge, :boolean, default: true
add_column :options, :notify_theater_about_new_recurring_donation, :boolean, default: true
add_column :options, :notify_theater_about_failed_recurring_donation_charge, :boolean, default: true
end
end
4 changes: 2 additions & 2 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@
t.boolean "allow_recurring_donations", default: false
t.string "default_donation_type", default: "one"
t.text "recurring_donation_contact_emails"
t.boolean "notify_theatre_about_new_recurring_donation", default: true
t.boolean "notify_threate_about_failed_recurring_donation_charge", default: true
t.boolean "notify_theater_about_new_recurring_donation", default: true
t.boolean "notify_theater_about_failed_recurring_donation_charge", default: true
end

create_table "orders", force: :cascade do |t|
Expand Down

0 comments on commit 56f9372

Please sign in to comment.