lib/ramaze/tool/localize.rb in Pistos-ramaze-2009.01 vs lib/ramaze/tool/localize.rb in Pistos-ramaze-2009.02
- old
+ new
@@ -68,10 +68,10 @@
response.body.each do |chunk|
body << localize_body(chunk, options)
end
- response.body = body
+ response.body = body.join
end
# Localizes a response body. It reacts to a regular expression as given
# in trait[:regex]. Every 'entity' in it will be translated, see
# `localize` for more information.