diff options
author | David Cabo <david@calibea.com> | 2011-08-08 13:22:47 +0200 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2011-08-11 15:01:24 +0100 |
commit | 2dd460cb432460fc32178140e3b4d6c31b55e883 (patch) | |
tree | bd567e8496154f83f3ca17d443ba643d29007ca1 /app/controllers/general_controller.rb | |
parent | 10e7ce5610731c073553072724c6ef7e44236781 (diff) |
I18n'd hardcoded WhatDoTheyKnow strings, mostly in mails. Use named variable substitution in gettext strings.
Diffstat (limited to 'app/controllers/general_controller.rb')
-rw-r--r-- | app/controllers/general_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/general_controller.rb b/app/controllers/general_controller.rb index ffc97237a..4fa603aab 100644 --- a/app/controllers/general_controller.rb +++ b/app/controllers/general_controller.rb @@ -63,7 +63,7 @@ class GeneralController < ApplicationController end end - # Display WhatDoTheyKnow category from mySociety blog + # Display blog entries def blog medium_cache @feed_autodetect = [] @@ -73,7 +73,7 @@ class GeneralController < ApplicationController @data = XmlSimple.xml_in(content) @channel = @data['channel'][0] @blog_items = @channel['item'] - @feed_autodetect = [ { :url => feed_url, :title => "WhatDoTheyKnow blog"} ] + @feed_autodetect = [{:url => feed_url, :title => "#{site_name} blog"}] else @blog_items = [] end |