Fix pretty_text translation helper again, this time for real

Followup on PR https://github.com/discourse/discourse/pull/2836:
The change to pretty_text.rb is ineffective because `opts` contains strings as keys. Gotta convert it to a hash without `to_h` for Ruby 2.0 compatibility...