Sha256: 466b7f0a6e67edfa5b8f6b58b9bf3d549fb236115ef3295337baa7291e8094c0
Contents?: true
Size: 454 Bytes
Versions: 6
Compression:
Stored size: 454 Bytes
Contents
module Ecm module Lightbox module Generators class LocalesGenerator < Rails::Generators::Base desc "Copies the locale files to your application" source_root File.expand_path('../../../../../../config/locales', __FILE__) def generate_locales copy_file "en.yml", "config/locales/ecm.lightbox.en.yml" copy_file "de.yml", "config/locales/ecm.lightbox.de.yml" end end end end end
Version data entries
6 entries across 6 versions & 2 rubygems