Actions
Defect #8847
closedI18n YAML files not parsable with psych yaml library
Status:
Closed
Priority:
Normal
Assignee:
Toshi MARUYAMA
Category:
Ruby support
Target version:
-
Start date:
2011-07-19
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
Follows #8209.
This scriptlet returned new errors :
require 'psych'
parser = Psych::Parser.new
Dir.entries('config/locales').each do |filename|
next if File.directory? filename
puts "parsing #{filename}..."
parser.parse File.open('config/locales/' + filename)
end
Patch attached based on your redmine-31 bitbucket mirror; beware, the updates on ja, zh and zh-TW locales are made "blindly" (don't have the according fonts installed).
Files
Related issues
Actions