lib/xcmultilingual/parser.rb in xcmultilingual-0.1.6 vs lib/xcmultilingual/parser.rb in xcmultilingual-0.1.7
- old
+ new
@@ -38,11 +38,10 @@
# keys
File.readlines(file_path, encoding: 'UTF-8').each do |line|
safe_line = line.scrub('?')
if key = find_key(safe_line)
- safe_key = key.gsub(" ", "_")
- bundles[bundle_name][:tables][name] << safe_key
+ bundles[bundle_name][:tables][name] << key
puts " PARSE: #{File.basename(file_path)} > #{line}" if @verbose
end
end
end