aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/track_controller.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2014-03-17 17:26:49 +0000
committerLouise Crow <louise.crow@gmail.com>2014-03-24 13:07:50 +0000
commitaec70771b7029f8c312e779a6e7fa6d5537abbed (patch)
tree8606808579587dc5c416e17a7fcb380e36ee2655 /app/controllers/track_controller.rb
parent4bde7f5d1dce36ffeb47826b146b5d53a155d123 (diff)
Add notices for subscribing something you're subscribed to.
These notices are full sentences, rather than being composed of phrases, which should make them easier to translate.
Diffstat (limited to 'app/controllers/track_controller.rb')
-rw-r--r--app/controllers/track_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/track_controller.rb b/app/controllers/track_controller.rb
index 103121689..a3a1ec42c 100644
--- a/app/controllers/track_controller.rb
+++ b/app/controllers/track_controller.rb
@@ -118,7 +118,7 @@ class TrackController < ApplicationController
if @user
@existing_track = TrackThing.find_existing(@user, @track_thing)
if @existing_track
- flash[:notice] = _("You are already following updates about {{track_description}}", :track_description => @track_thing.params[:list_description])
+ flash[:notice] = view_context.already_subscribed_notice(@track_thing)
return true
end
end