Use scoped keys for table headers in saved card partial

This commit is contained in:
Rob Harrington
2018-06-08 10:53:30 +10:00
parent 18c211e97c
commit 5cbc4cbf30
2 changed files with 5 additions and 3 deletions

View File

@@ -3,8 +3,8 @@
%th= t(:card_type)
%th= t(:card_number)
%th= t(:card_expiry_date)
%th= t(:default?)
%th= t(:delete?)
%th= t('.default?')
%th= t('.delete?')
%tr.card{ id: "card{{ card.id }}", ng: { repeat: "card in savedCreditCards" } }
%td.brand{ ng: { bind: '::card.brand' } }
%td.number{ ng: { bind: '::card.number' } }

View File

@@ -1232,7 +1232,6 @@ en:
saving_credit_card: Saving credit card...
card_has_been_removed: "Your card has been removed (number: %{number})"
card_could_not_be_removed: Sorry, the card could not be removed
default?: Default?
ie_warning_headline: "Your browser is out of date :-("
ie_warning_text: "For the best Open Food Network experience, we strongly recommend upgrading your browser:"
@@ -2732,5 +2731,8 @@ See the %{link} to find out more about %{sitename}'s features and to start using
total: Total
paid?: Paid?
view: View
saved_cards:
default?: Default?
delete?: Delete?
localized_number:
invalid_format: has an invalid format. Please enter a number.