Sha256: 97df3001f51c30dd788612863fe90f50ab08a29f0aa9c6179a813d1fcca91a57

Contents?: true

Size: 379 Bytes

Versions: 273

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

273 entries across 273 versions & 1 rubygems

Version Path
avo-3.9.0 lib/generators/avo/locales_generator.rb
avo-3.8.1 lib/generators/avo/locales_generator.rb
avo-3.8.0 lib/generators/avo/locales_generator.rb
avo-3.6.4 lib/generators/avo/locales_generator.rb
avo-3.6.3 lib/generators/avo/locales_generator.rb
avo-3.6.2 lib/generators/avo/locales_generator.rb
avo-2.49.0 lib/generators/avo/locales_generator.rb
avo-3.6.1 lib/generators/avo/locales_generator.rb
avo-3.6.0 lib/generators/avo/locales_generator.rb
avo-3.5.8 lib/generators/avo/locales_generator.rb
avo-3.5.7 lib/generators/avo/locales_generator.rb
avo-3.5.6 lib/generators/avo/locales_generator.rb
avo-3.5.6.beta1 lib/generators/avo/locales_generator.rb
avo-3.5.5 lib/generators/avo/locales_generator.rb
avo-3.5.4 lib/generators/avo/locales_generator.rb
avo-3.5.3 lib/generators/avo/locales_generator.rb
avo-3.5.2 lib/generators/avo/locales_generator.rb
avo-3.5.1 lib/generators/avo/locales_generator.rb
avo-3.5.0 lib/generators/avo/locales_generator.rb
avo-3.4.4 lib/generators/avo/locales_generator.rb