commit
49f8e5a5d1
|
@ -62,7 +62,7 @@ module JsLocaleHelper
|
||||||
hash.each do |k,v|
|
hash.each do |k,v|
|
||||||
if Hash === v
|
if Hash === v
|
||||||
rval.merge!(strip_out_message_formats!(v, prefix + (prefix.length > 0 ? "." : "") << k, rval))
|
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
|
rval[prefix + (prefix.length > 0 ? "." : "") << k] = v
|
||||||
hash.delete(k)
|
hash.delete(k)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue