Sha256: 854820ac1527b450efba869a5633d778284f12310462ede7fbd11d8979eabe9f
Contents?: true
Size: 924 Bytes
Versions: 11
Compression:
Stored size: 924 Bytes
Contents
module Ecm module Downloads 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 "ecm.downloads.en.yml", "config/locales/ecm.downloads.en.yml" copy_file "ecm.downloads.de.yml", "config/locales/ecm.downloads.de.yml" copy_file "ecm.downloads.download_category.en.yml", "config/locales/ecm.downloads.download_category.en.yml" copy_file "ecm.downloads.download_category.de.yml", "config/locales/ecm.downloads.download_category.de.yml" copy_file "ecm.downloads.download.en.yml", "config/locales/ecm.downloads.download.en.yml" copy_file "ecm.downloads.download.de.yml", "config/locales/ecm.downloads.download.de.yml" end end end end end
Version data entries
11 entries across 11 versions & 2 rubygems