Fix bug.
This commit is contained in:
parent
0b5e97583c
commit
58075acb9f
|
@ -35,6 +35,7 @@ class SiteFeedAnnc
|
|||
if trans.nil?
|
||||
trans = {}
|
||||
locales.each do |locale|
|
||||
locale = locale.to_s
|
||||
trans[locale] = {}
|
||||
I18n.with_locale(locale) do
|
||||
trans[locale]['top'] = I18n.t(:top)
|
||||
|
|
Loading…
Reference in New Issue