Sha256: 40e225c9e855bc428c51f09453f979bd5cb2db4ff37faa2ba3c9f2bc00dcd000
Contents?: true
Size: 1.07 KB
Versions: 107
Compression:
Stored size: 1.07 KB
Contents
<script> if (Spree === undefined) { var Spree = {} } Spree.translations = <%== JSON.dump( I18n.t("spree").merge({ abbr_day_names: I18n.t(:abbr_day_names, scope: :date), month_names: I18n.t(:month_names, scope: :date).reject(&:blank?), currency_separator: I18n.t('number.currency.format.separator'), currency_delimiter: I18n.t('number.currency.format.delimiter'), activerecord: I18n.t('activerecord') })) %>; Spree.currencyInfo = <%== JSON.dump( Spree::Config.available_currencies.map { |c| format = if c.symbol == "" || c.symbol_first "%s%v" else "%v %s" end [c.id.to_s.upcase, [ c.symbol || "ยค", c.exponent, format ]] }.to_h) %>; </script> <script data-hook='admin-custom-translations'> </script> <% if I18n.locale != :en %> <%= javascript_include_tag "solidus_admin/select2_locales/select2_locale_#{I18n.locale}", data: {turbolinks_track: 'reload'} %> <% end %>
Version data entries
107 entries across 107 versions & 2 rubygems