Sha256: 307a053d573bcb0713f2319185f3a5dec6e3d0f412e9461fc48e3362c050fdcb
Contents?: true
Size: 442 Bytes
Versions: 66
Compression:
Stored size: 442 Bytes
Contents
module TkhContent module Generators class CreateOrUpdateLocalesGenerator < ::Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) desc "copying latest version of locale files" def copy_locales puts 'creating locale files' I18n.available_locales.each do |l| copy_file "#{l.to_s}.yml", "config/locales/tkh_content.#{l.to_s}.yml" end end end end end
Version data entries
66 entries across 66 versions & 1 rubygems