Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Update help message

Matthew Kennedy26ceb0d6e668
diff --git a/backend/app/views/spree/admin/payment_methods/_form.html.erb b/backend/app/views/spree/admin/payment_methods/_form.html.erb
index 3aaf83c93b..17bb2571f6 100644
--- a/backend/app/views/spree/admin/payment_methods/_form.html.erb
+++ b/backend/app/views/spree/admin/payment_methods/_form.html.erb
@@ -27,7 +27,7 @@
<div data-hook="store" class="form-group">
<%= label_tag :payment_method_store, Spree.t(:store) %>
<%= collection_select(:payment_method, :store_id, @stores, :id, :unique_name, { include_blank: true }, {id: 'store_id', class: 'select2-clear'}) %>
- <small id="emailHelp" class="form-text text-muted"><%= Spree.t(:leave_blank_to_show_in_all_stores) %></small>
+ <small class="form-text text-muted"><%= Spree.t('payment_method_form.stores_help') %></small>
</div>
<div data-hook="display" class="form-group">
diff --git a/core/config/locales/en.yml b/core/config/locales/en.yml
index c6d68277e1..f5453ca364 100644
--- a/core/config/locales/en.yml
+++ b/core/config/locales/en.yml
@@ -1015,7 +1015,6 @@ en:
lastname: Last Name
last_name_begins_with: Last Name Begins With
learn_more: Learn More
- leave_blank_to_show_in_all_stores: Leave this option blank to show this payment method in all stores.
lifetime_stats: Lifetime Stats
limit_usage_to: Limit usage to
line_item_adjustments: "Line item adjustments"
@@ -1250,6 +1249,8 @@ en:
payment_identifier: Payment Identifier
payment_information: Payment Information
payment_method: Payment Method
+ payment_method_form:
+ stores_help: Leave blank to show this payment method in all stores.
payment_methods: Payment Methods
payment_method_not_supported: That payment method is unsupported. Please choose another one.
payment_processing_failed: Payment could not be processed, please check the details you entered