From 177d395ec37e7d0d0c1e32fe8f07e76edf85ec2e Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Thu, 15 May 2014 12:32:38 +0100 Subject: Add missing full stops from new translations --- app/helpers/track_helper.rb | 48 ++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'app/helpers/track_helper.rb') diff --git a/app/helpers/track_helper.rb b/app/helpers/track_helper.rb index 7bd0fa55d..ca698926c 100644 --- a/app/helpers/track_helper.rb +++ b/app/helpers/track_helper.rb @@ -3,22 +3,22 @@ module TrackHelper def already_subscribed_notice(track_thing) case track_thing.track_type when 'request_updates' - _("You are already subscribed to '{{link_to_request}}', a request", + _("You are already subscribed to '{{link_to_request}}', a request.", :link_to_request => request_link(track_thing.info_request)) when 'all_new_requests' - _('You are already subscribed to any new requests', + _('You are already subscribed to any new requests.', :new_requests_url => request_list_path) when 'all_successful_requests' - _('You are already subscribed to any successful requests', + _('You are already subscribed to any successful requests.', :successful_requests_url => request_list_successful_path ) when 'public_body_updates' - _("You are already subscribed to '{{link_to_authority}}', a public authority", + _("You are already subscribed to '{{link_to_authority}}', a public authority.", :link_to_authority => public_body_link(track_thing.public_body)) when 'user_updates' - _("You are already subscribed to '{{link_to_user}}', a person", + _("You are already subscribed to '{{link_to_user}}', a person.", :link_to_user => user_link(track_thing.tracked_user)) when 'search_query' - _('You are already subscribed to this search', + _('You are already subscribed to this search.', :search_url => search_path([track_thing.track_query, 'newest', 'advanced'])) end end @@ -26,22 +26,22 @@ module TrackHelper def subscribe_email_notice(track_thing) case track_thing.track_type when 'request_updates' - _("You will now be emailed updates about '{{link_to_request}}', a request", + _("You will now be emailed updates about '{{link_to_request}}', a request.", :link_to_request => request_link(track_thing.info_request)) when 'all_new_requests' - _('You will now be emailed updates about any new requests', + _('You will now be emailed updates about any new requests.', :new_requests_url => request_list_path) when 'all_successful_requests' - _('You will now be emailed updates about successful requests', + _('You will now be emailed updates about successful requests.', :successful_requests_url => request_list_successful_path ) when 'public_body_updates' - _("You will now be emailed updates about '{{link_to_authority}}', a public authority", + _("You will now be emailed updates about '{{link_to_authority}}', a public authority.", :link_to_authority => public_body_link(track_thing.public_body)) when 'user_updates' - _("You will now be emailed updates about '{{link_to_user}}', a person", + _("You will now be emailed updates about '{{link_to_user}}', a person.", :link_to_user => user_link(track_thing.tracked_user)) when 'search_query' - _("You will now be emailed updates about this search", + _("You will now be emailed updates about this search.", :search_url => search_path([track_thing.track_query, 'newest', 'advanced'])) end end @@ -50,27 +50,27 @@ module TrackHelper wall_url_user = show_user_wall_path(:url_name => track_thing.tracking_user.url_name) case track_thing.track_type when 'request_updates' - _('You are now following updates about \'{{link_to_request}}\', a request', + _('You are now following updates about \'{{link_to_request}}\', a request.', :link_to_request => request_link(track_thing.info_request), :wall_url_user => wall_url_user) when 'all_new_requests' - _('You are now following updates about new requests', + _('You are now following updates about new requests.', :new_requests_url => request_list_path, :wall_url_user => wall_url_user) when 'all_successful_requests' - _('You are now following updates about successful requests', + _('You are now following updates about successful requests.', :successful_requests_url => request_list_successful_path, :wall_url_user => wall_url_user) when 'public_body_updates' - _('You are now following updates about \'{{link_to_authority}}\', a public authority', + _('You are now following updates about \'{{link_to_authority}}\', a public authority.', :wall_url_user => wall_url_user, :link_to_authority => public_body_link(track_thing.public_body)) when 'user_updates' - _('You are now following updates about \'{{link_to_user}}\', a person', + _('You are now following updates about \'{{link_to_user}}\', a person.', :wall_url_user => wall_url_user, :link_to_user => user_link(track_thing.tracked_user)) when 'search_query' - _('You are now following updates about this search', + _('You are now following updates about this search.', :wall_url_user => wall_url_user, :search_url => search_path([track_thing.track_query, 'newest', 'advanced'])) end @@ -79,22 +79,22 @@ module TrackHelper def unsubscribe_notice(track_thing) case track_thing.track_type when 'request_updates' - _("You are no longer following '{{link_to_request}}', a request", + _("You are no longer following '{{link_to_request}}', a request.", :link_to_request => request_link(track_thing.info_request)) when 'all_new_requests' - _('You are no longer following new requests', + _('You are no longer following new requests.', :new_requests_url => request_list_path) when 'all_successful_requests' - _('You are no longer following successful requests', + _('You are no longer following successful requests.', :successful_requests_url => request_list_successful_path ) when 'public_body_updates' - _("You are no longer following '{{link_to_authority}}', a public authority", + _("You are no longer following '{{link_to_authority}}', a public authority.", :link_to_authority => public_body_link(track_thing.public_body)) when 'user_updates' - _("You are no longer following '{{link_to_user}}', a person", + _("You are no longer following '{{link_to_user}}', a person.", :link_to_user => user_link(track_thing.tracked_user)) when 'search_query' - _('You are no longer following this search', + _('You are no longer following this search.', :search_url => search_path([track_thing.track_query, 'newest', 'advanced'])) end end -- cgit v1.2.3