lib/i18n_screwdriver.rb in i18n_screwdriver-7.2 vs lib/i18n_screwdriver.rb in i18n_screwdriver-7.3
- old
+ new
@@ -25,10 +25,10 @@
def self.write_translations(locale, translations)
File.open(filename_for_locale(locale), "w") do |file|
file.puts "# use rake task i18n:update to generate this file"
file.puts
- file.puts({locale => in_utf8(translations)}.to_yaml)
+ file.puts({locale => in_utf8(translations)}.to_yaml(:line_width => -1))
file.puts
end
end
def self.grab_texts_to_be_translated(string)