mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-04 22:16:08 +00:00
32 lines
1.6 KiB
Plaintext
32 lines
1.6 KiB
Plaintext
<script>
|
|
Spree.translations = <%==
|
|
{ :date_picker => Spree.t(:js_format,
|
|
:scope => 'date_picker',
|
|
:default => 'yy/mm/dd'),
|
|
:abbr_day_names => I18n.t(:abbr_day_names, :scope => :date),
|
|
:add => I18n.t(:add, scope: :actions),
|
|
:are_you_sure_delete => Spree.t(:are_you_sure_delete),
|
|
:bill_address => I18n.t(:bill_address),
|
|
:choose_a_customer => Spree.t(:choose_a_customer),
|
|
:confirm_delete => Spree.t(:confirm_delete),
|
|
:cut => I18n.t(:cut, scope: :actions),
|
|
:destroy => I18n.t(:destroy, scope: :actions),
|
|
:edit => Spree.t(:edit),
|
|
:loading => Spree.t(:loading),
|
|
:month_names => I18n.t(:month_names, :scope => :date).reject(&:blank?),
|
|
:more => Spree.t(:more),
|
|
:datetime_ui_current_text => I18n.t('datetime_picker_ui.current_text'),
|
|
:datetime_ui_close_text => I18n.t('datetime_picker_ui.close_text'),
|
|
:datetime_ui_time_text => I18n.t('datetime_picker_ui.time_text'),
|
|
:name => Spree.t(:name),
|
|
:next => I18n.t(:next),
|
|
:paste => I18n.t(:paste, scope: :actions),
|
|
:previous => I18n.t(:previous),
|
|
:remove => I18n.t(:remove),
|
|
:rename => I18n.t(:rename, scope: :actions),
|
|
:sku => Spree.t(:sku),
|
|
:value => I18n.t(:value)
|
|
}.to_json
|
|
%>
|
|
</script>
|