mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
Add rubocop to our build. (#5004)
This commit is contained in:
@ -11,7 +11,7 @@ module PrettyText
|
||||
I18n.t(key)
|
||||
else
|
||||
str = I18n.t(key, Hash[opts.entries].symbolize_keys).dup
|
||||
opts.each { |k,v| str.gsub!("{{#{k.to_s}}}", v.to_s) }
|
||||
opts.each { |k, v| str.gsub!("{{#{k.to_s}}}", v.to_s) }
|
||||
str
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user