mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 06:41:25 +08:00
FIX: quoting non-existing messages would break SMF2 importer
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user