Sha256: a2ad9cc66b6263a07bac16f501b92a303a8f6ae84958f6c47be13769ffb6e4d7
Contents?: true
Size: 1.59 KB
Versions: 16
Compression:
Stored size: 1.59 KB
Contents
<script> if (Spree === undefined) { var Spree = {} } Spree.translations = <%== I18n.t("spree").merge({ date_picker: Spree.t(:js_format, scope: 'date_picker', default: 'yy/mm/dd'), abbr_day_names: I18n.t(:abbr_day_names, scope: :date), destroy: Spree.t(:destroy, scope: :actions), edit: Spree.t(:edit, scope: :actions), save: Spree.t(:save, scope: :actions), cancel: Spree.t(:cancel, scope: :actions), first_day: Spree.t(:first_day, scope: 'date_picker', default: 0).to_i, item_stock_placeholder: Spree.t(:choose_location), 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') }).to_json %>; Spree.currencyInfo = <%== Money::Currency.all.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.to_json %>; </script> <script data-hook='admin-custom-translations'> </script> <% if I18n.locale != :en %> <%= javascript_include_tag "solidus_admin/select2_locales/select2_locale_#{I18n.locale}" %> <% end %>
Version data entries
16 entries across 16 versions & 1 rubygems