Translation stuff ready for Close button. Add close: key scoped spree.admin.date_picker in en.yml

This commit is contained in:
Thierry Jet
2021-10-26 19:36:27 +02:00
parent 66f754267b
commit 5ebee9cd5f
3 changed files with 4 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ $(document).ready(function() {
label: Spree.translations.today
},
{
label: "CLOSE"
label: Spree.translations.close
}
],
label: "or",
@@ -54,7 +54,7 @@ $(document).ready(function() {
label: Spree.translations.now
},
{
label: "CLOSE"
label: Spree.translations.close
}
],
label: "or",

View File

@@ -8,6 +8,7 @@
:default => 'Y-m-d H:i'),
:today => Spree.t('date_picker.today'),
:now => Spree.t('date_picker.now'),
:close => Spree.t('date_picker.close'),
:add => I18n.t(:add, scope: :actions),
:are_you_sure_delete => Spree.t(:are_you_sure_delete),
:bill_address => I18n.t(:bill_address),

View File

@@ -3867,6 +3867,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using
flatpickr_datetime_format: "Y-m-d H:i"
today: "Today"
now: "Now"
close: "Close"
orders:
error_flash_for_unavailable_items: "An item in your cart has become unavailable. Please update the selected quantities."
edit: