Sha256: 97df3001f51c30dd788612863fe90f50ab08a29f0aa9c6179a813d1fcca91a57

Contents?: true

Size: 379 Bytes

Versions: 275

Compression:

Stored size: 379 Bytes

Contents

require_relative "base_generator"

module Generators
  module Avo
    class LocalesGenerator < BaseGenerator
      source_root File.expand_path("templates", __dir__)

      namespace "avo:locales"
      desc "Add Avo locale files to your project."

      def create_files
        directory File.join(__dir__, "templates", "locales"), "config/locales"
      end
    end
  end
end

Version data entries

275 entries across 275 versions & 1 rubygems

Version Path
avo-3.0.1.beta22 lib/generators/avo/locales_generator.rb
avo-3.0.1.beta18 lib/generators/avo/locales_generator.rb
avo-3.0.1.beta19 lib/generators/avo/locales_generator.rb
avo-3.0.1.beta24 lib/generators/avo/locales_generator.rb
avo-3.0.1.beta15 lib/generators/avo/locales_generator.rb
avo-3.0.1.beta16 lib/generators/avo/locales_generator.rb
avo-3.0.1.beta14 lib/generators/avo/locales_generator.rb
avo-3.0.1.beta12 lib/generators/avo/locales_generator.rb
avo-3.0.1.beta13 lib/generators/avo/locales_generator.rb
avo-3.0.1.beta10 lib/generators/avo/locales_generator.rb
avo-3.0.1.beta11 lib/generators/avo/locales_generator.rb
avo-3.0.0.pre19 lib/generators/avo/locales_generator.rb
avo-3.0.1.beta8 lib/generators/avo/locales_generator.rb
avo-3.0.1.beta9 lib/generators/avo/locales_generator.rb
avo-3.0.1.beta6 lib/generators/avo/locales_generator.rb
avo-3.0.1.beta7 lib/generators/avo/locales_generator.rb
avo-3.0.1.beta5 lib/generators/avo/locales_generator.rb
avo-3.0.1.beta2 lib/generators/avo/locales_generator.rb
avo-3.0.1.beta4 lib/generators/avo/locales_generator.rb
avo-3.0.1.beta3 lib/generators/avo/locales_generator.rb