Sha256: 18579c080b672f444c1eb3d03b04251d743d7b003ccc752e2ea6b23ba961f80b

Contents?: true

Size: 337 Bytes

Versions: 23

Compression:

Stored size: 337 Bytes

Contents

require "react_on_rails/locales_to_js"

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::LocalesToJs.new
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
react_on_rails-8.0.1 lib/tasks/locale.rake
react_on_rails-8.0.0 lib/tasks/locale.rake
react_on_rails-8.0.0.beta.3 lib/tasks/locale.rake
react_on_rails-8.0.0.beta.2 lib/tasks/locale.rake
react_on_rails-8.0.0.beta.1 lib/tasks/locale.rake
react_on_rails-7.1.0.beta.3 lib/tasks/locale.rake
react_on_rails-7.0.4 lib/tasks/locale.rake
react_on_rails-7.1.0.beta.2 lib/tasks/locale.rake
react_on_rails-7.0.3 lib/tasks/locale.rake
react_on_rails-7.1.0.beta.1 lib/tasks/locale.rake
react_on_rails-7.0.2 lib/tasks/locale.rake
react_on_rails-7.0.1 lib/tasks/locale.rake
react_on_rails-7.0.0 lib/tasks/locale.rake
react_on_rails-6.10.1 lib/tasks/locale.rake
react_on_rails-6.10.0 lib/tasks/locale.rake
react_on_rails-6.9.3 lib/tasks/locale.rake
react_on_rails-6.9.2 lib/tasks/locale.rake
react_on_rails-6.9.1 lib/tasks/locale.rake
react_on_rails-6.9.0 lib/tasks/locale.rake
react_on_rails-6.8.2 lib/tasks/locale.rake