Process all translations files.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2502 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2009-02-21 15:21:31 +00:00
parent 1770fe54be
commit 2bd419f23b
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ namespace :locales do
en_strings = YAML.load(File.read(File.join(dir,'en.yml')))['en'] en_strings = YAML.load(File.read(File.join(dir,'en.yml')))['en']
files = Dir.glob(File.join(dir,'fr.{yaml,yml}')) files = Dir.glob(File.join(dir,'*.{yaml,yml}'))
files.each do |file| files.each do |file|
puts "Updating file #{file}" puts "Updating file #{file}"
file_strings = YAML.load(File.read(file)) file_strings = YAML.load(File.read(file))