Sha256: c5007d03fad74fa9980ed14d91cf9f3ed7512093388bfee5017f6642230f1f3b
Contents?: true
Size: 1015 Bytes
Versions: 3
Compression:
Stored size: 1015 Bytes
Contents
module Ecm module CmsNavigation 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.cms_navigation.en.yml", "config/locales/ecm.cms_navigation.en.yml" copy_file "ecm.cms_navigation.de.yml", "config/locales/ecm.cms_navigation.de.yml" copy_file "ecm.cms_navigation.navigation.en.yml", "config/locales/ecm.cms_navigation.navigation.en.yml" copy_file "ecm.cms_navigation.navigation.de.yml", "config/locales/ecm.cms_navigation.navigation.de.yml" copy_file "ecm.cms_navigation.navigation_item.en.yml", "config/locales/ecm.cms_navigation.navigation_item.en.yml" copy_file "ecm.cms_navigation.navigation_item.de.yml", "config/locales/ecm.cms_navigation.navigation_item.de.yml" end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems