diff options
-rw-r--r-- | lib/i18n_fixes.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/i18n_fixes.rb b/lib/i18n_fixes.rb index 6e684d44a..f75b969c4 100644 --- a/lib/i18n_fixes.rb +++ b/lib/i18n_fixes.rb @@ -6,7 +6,9 @@ # so that we can interpolate our translation strings nicely def _(key, options = {}) - translation = FastGettext._(key) || key + # Assume the result of doing any translation is html_safe. + # In other words, we trust the translators. + translation = FastGettext._(key).html_safe || key gettext_interpolate(translation, options) end |