FIX: quoting non-existing messages would break SMF2 importer

This commit is contained in:
Jens Maier
2014-10-01 13:36:26 +02:00
parent ffae4929f0
commit b6bbfb907c
2 changed files with 10 additions and 4 deletions

View File

@ -8,7 +8,7 @@ module PrettyText
class Helpers
def t(key, opts)
str = I18n.t("js." + key)
str = I18n.t("js." + key, opts)
if opts
# TODO: server localisation has no parity with client should be fixed
str = str.dup