diff options
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/public_body_controller.rb | 2 | ||||
-rw-r--r-- | app/controllers/request_controller.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/public_body_controller.rb b/app/controllers/public_body_controller.rb index cf64046ea..e790b042f 100644 --- a/app/controllers/public_body_controller.rb +++ b/app/controllers/public_body_controller.rb @@ -107,7 +107,7 @@ class PublicBodyController < ApplicationController ) end if @tag.size == 1 - @description = "beginning with '" + @tag + "'" + @description = _("beginning with") + " '" + @tag + "'" else @description = PublicBodyCategories::CATEGORIES_BY_TAG[@tag] if @description.nil? diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb index 02abc12a8..6b1373e07 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -119,12 +119,12 @@ class RequestController < ApplicationController end if @view == 'recent' - @title = "Recently sent Freedom of Information requests" + @title = _("Recently sent Freedom of Information requests") query = "variety:sent"; sortby = "newest" @track_thing = TrackThing.create_track_for_all_new_requests elsif @view == 'successful' - @title = "Recently successful responses" + @title = _("Recently successful responses") query = 'variety:response (status:successful OR status:partially_successful)' sortby = "described" @track_thing = TrackThing.create_track_for_all_successful_requests |