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

@ -17,4 +17,5 @@ en:
use_source_url: Use Source Url
'yes': 'Yes'
'no': 'No'
settings: Settings
settings: Settings
more: More

View File

@ -17,4 +17,5 @@ zh_tw:
use_source_url: 使用來源連結
'yes':
'no':
settings: 設定
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