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:
parent
1770fe54be
commit
2bd419f23b
|
@ -5,7 +5,7 @@ namespace :locales do
|
|||
|
||||
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|
|
||||
puts "Updating file #{file}"
|
||||
file_strings = YAML.load(File.read(file))
|
||||
|
|
Loading…
Reference in New Issue