Sha256: c27a7f5f7decb249c0c3534350c8e21270634d1a92e29c90f0989c7fd826b49c

Contents?: true

Size: 459 Bytes

Versions: 21

Compression:

Stored size: 459 Bytes

Contents

# frozen_string_literal: true

require "react_on_rails/locales/base"
require "react_on_rails/locales/to_js"
require "react_on_rails/locales/to_json"

namespace :react_on_rails do
  desc <<~DESC
    Generate i18n javascript files
    This task generates javascript locale files: `translations.js` & `default.js` and places them in
    the "ReactOnRails.configuration.i18n_dir".
  DESC
  task locale: :environment do
    ReactOnRails::Locales.compile
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
react_on_rails-15.0.0.alpha.1 lib/tasks/locale.rake
react_on_rails-14.0.5 lib/tasks/locale.rake
react_on_rails-14.0.4 lib/tasks/locale.rake
react_on_rails-14.0.3 lib/tasks/locale.rake
react_on_rails-14.0.2 lib/tasks/locale.rake
react_on_rails-14.0.0 lib/tasks/locale.rake
react_on_rails-13.4.0 lib/tasks/locale.rake
react_on_rails-13.3.5 lib/tasks/locale.rake
react_on_rails-13.3.4 lib/tasks/locale.rake
react_on_rails-13.3.3 lib/tasks/locale.rake
react_on_rails-13.3.2 lib/tasks/locale.rake
react_on_rails-13.3.1 lib/tasks/locale.rake
react_on_rails-13.3.0 lib/tasks/locale.rake
react_on_rails-13.2.0 lib/tasks/locale.rake
react_on_rails-13.1.0 lib/tasks/locale.rake
react_on_rails-13.0.2 lib/tasks/locale.rake
react_on_rails-13.0.1 lib/tasks/locale.rake
react_on_rails-13.0.0 lib/tasks/locale.rake
react_on_rails-13.0.0.beta.0 lib/tasks/locale.rake
react_on_rails-12.6.0 lib/tasks/locale.rake