moved translation-info.yml to temporary directory since it is only used in development and test to show translations

This commit is contained in:
William Wedler
2014-09-03 19:41:44 -04:00
parent ea7b3c0156
commit 3aa6d0b925
4 changed files with 3 additions and 3500 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ namespace :translations do
#File.open('config/locales/.translations.yml', 'w')
#File.open('config/locales/.translation-cache.yml', 'w+')
translations = YAML.load(File.read('config/locales/translation-info.yml')) || Hash.new
translations = YAML.load(File.read('tmp/locales/translation-info.yml')) || Hash.new
translations.each { |k,t|
if t['data']
t['data'].each { |tt|