Sha256: cf7eb0ee8239442a1767c17e00567fc699805cc453bce9d561184a5c9d0ebcaf
Contents?: true
Size: 1.2 KB
Versions: 36
Compression:
Stored size: 1.2 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'), }).to_json %> </script> <script data-hook='admin-custom-translations'> </script> <% if I18n.locale != :en %> <%= javascript_include_tag "select2_locale_#{I18n.locale}" %> <% end %>
Version data entries
36 entries across 36 versions & 1 rubygems