diff --git a/app/models/site_feed_annc.rb b/app/models/site_feed_annc.rb index d551679..d8a7c2a 100644 --- a/app/models/site_feed_annc.rb +++ b/app/models/site_feed_annc.rb @@ -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 diff --git a/config/locales/en.yml b/config/locales/en.yml index bf08383..ac68baf 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -17,4 +17,5 @@ en: use_source_url: Use Source Url 'yes': 'Yes' 'no': 'No' - settings: Settings \ No newline at end of file + settings: Settings + more: More \ No newline at end of file diff --git a/config/locales/zh_tw.yml b/config/locales/zh_tw.yml index 36b0834..bf613a8 100644 --- a/config/locales/zh_tw.yml +++ b/config/locales/zh_tw.yml @@ -17,4 +17,5 @@ zh_tw: use_source_url: 使用來源連結 'yes': 是 'no': 否 - settings: 設定 \ No newline at end of file + settings: 設定 + more: 更多→ \ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb index 665acb2..06b8d45 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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