Sha256: a238be7f44fd0f25719620849cdefe1242f9dd4cddc0e25a2f81b8822675bcb6

Contents?: true

Size: 464 Bytes

Versions: 4

Compression:

Stored size: 464 Bytes

Contents

module Ecm
  module CmsCore
    module Generators
      class LocalesGenerator < ::Rails::Generators::Base
        source_root File.expand_path('../templates', __FILE__)
        desc "Installs the needed locales"

        
        def generate_locales
          copy_file "ecm.cms-core.en.yml", "config/locales/ecm.cms-core.en.yml"
          copy_file "ecm.cms-core.de.yml", "config/locales/ecm.cms-core.de.yml"
        end           
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ecm_cms_core-0.0.6 lib/generators/ecm/cms_core/locales/locales_generator.rb
ecm_cms_core-0.0.5 lib/generators/ecm/cms_core/locales/locales_generator.rb
ecm_cms_core-0.0.3 lib/generators/ecm/cms_core/locales/locales_generator.rb
ecm_cms_core-0.0.2 lib/generators/ecm/cms_core/locales/locales_generator.rb