app/views/spree/checkout/_payment.html.erb in spree_frontend-2.2.9 vs app/views/spree/checkout/_payment.html.erb in spree_frontend-2.2.10
- old
+ new
@@ -3,13 +3,17 @@
<div data-hook="checkout_payment_step">
<% if @payment_sources.present? %>
<div class="card_options">
<%= radio_button_tag 'use_existing_card', 'yes', true %>
- <label for="use_existing_card_yes">Use an existing card on file</label>
+ <label for="use_existing_card_yes">
+ <%= Spree.t(:use_existing_cc) %>
+ </label>
<br/>
<%= radio_button_tag 'use_existing_card', 'no' %>
- <label for="use_existing_card_no">Use a new card / payment method</label>
+ <label for="use_existing_card_no">
+ <%= Spree.t(:use_new_cc_or_payment_method) %>
+ </label>
</div>
<div id="existing_cards">
<p class="field" data-hook="existing_cards">
<table class="existing-credit-card-list">