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
|
||||||
|
|
|
@ -18,3 +18,4 @@ en:
|
||||||
'yes': 'Yes'
|
'yes': 'Yes'
|
||||||
'no': 'No'
|
'no': 'No'
|
||||||
settings: Settings
|
settings: Settings
|
||||||
|
more: More
|
|
@ -18,3 +18,4 @@ zh_tw:
|
||||||
'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