change more translations

This commit is contained in:
邱博亞 2022-01-21 10:15:28 +08:00
parent fc981c549f
commit af76326626
4 changed files with 6 additions and 4 deletions

View File

@ -41,7 +41,7 @@ class SiteFeedAnnc
I18n.with_locale(locale) do
trans[locale]['top'] = I18n.t(:top)
trans[locale]['hot'] = I18n.t(:hot)
trans[locale]['more_plus'] = I18n.t(:more_plus)
trans[locale]['more_plus'] = I18n.t("feed.more")
end
end
end

View File

@ -18,3 +18,4 @@ en:
'yes': 'Yes'
'no': 'No'
settings: Settings
more: More

View File

@ -18,3 +18,4 @@ zh_tw:
'yes':
'no':
settings: 設定
more: 更多→

View File

@ -11,7 +11,7 @@ Rails.application.routes.draw do
I18n.with_locale(locale) do
trans[locale]['top'] = I18n.t(:top)
trans[locale]['hot'] = I18n.t(:hot)
trans[locale]['more_plus'] = I18n.t(:more_plus)
trans[locale]['more_plus'] = I18n.t("feed.more")
end
end
SiteFeedAnnc.where(:feed_id.nin=>SiteFeed.all.pluck(:id)).destroy