mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 05:29:17 -06:00
commit
49f8e5a5d1
@ -62,7 +62,7 @@ module JsLocaleHelper
|
||||
hash.each do |k,v|
|
||||
if Hash === v
|
||||
rval.merge!(strip_out_message_formats!(v, prefix + (prefix.length > 0 ? "." : "") << k, rval))
|
||||
elsif k.end_with?("_MF")
|
||||
elsif k.to_s().end_with?("_MF")
|
||||
rval[prefix + (prefix.length > 0 ? "." : "") << k] = v
|
||||
hash.delete(k)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user