This commit is contained in:
BoHung Chiu 2021-11-10 09:51:22 +08:00
parent 0b5e97583c
commit 58075acb9f
1 changed files with 1 additions and 0 deletions

View File

@ -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)