change more translations
This commit is contained in:
parent
fc981c549f
commit
af76326626
|
@ -41,7 +41,7 @@ class SiteFeedAnnc
|
||||||
I18n.with_locale(locale) do
|
I18n.with_locale(locale) do
|
||||||
trans[locale]['top'] = I18n.t(:top)
|
trans[locale]['top'] = I18n.t(:top)
|
||||||
trans[locale]['hot'] = I18n.t(:hot)
|
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
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -17,4 +17,5 @@ en:
|
||||||
use_source_url: Use Source Url
|
use_source_url: Use Source Url
|
||||||
'yes': 'Yes'
|
'yes': 'Yes'
|
||||||
'no': 'No'
|
'no': 'No'
|
||||||
settings: Settings
|
settings: Settings
|
||||||
|
more: More
|
|
@ -17,4 +17,5 @@ zh_tw:
|
||||||
use_source_url: 使用來源連結
|
use_source_url: 使用來源連結
|
||||||
'yes': 是
|
'yes': 是
|
||||||
'no': 否
|
'no': 否
|
||||||
settings: 設定
|
settings: 設定
|
||||||
|
more: 更多→
|
|
@ -11,7 +11,7 @@ Rails.application.routes.draw do
|
||||||
I18n.with_locale(locale) do
|
I18n.with_locale(locale) do
|
||||||
trans[locale]['top'] = I18n.t(:top)
|
trans[locale]['top'] = I18n.t(:top)
|
||||||
trans[locale]['hot'] = I18n.t(:hot)
|
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
|
end
|
||||||
SiteFeedAnnc.where(:feed_id.nin=>SiteFeed.all.pluck(:id)).destroy
|
SiteFeedAnnc.where(:feed_id.nin=>SiteFeed.all.pluck(:id)).destroy
|
||||||
|
|
Loading…
Reference in New Issue