]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/trace_controller.rb
Add some more missing translations. Use .to_sentence instead of .join(', ') so that...
[rails.git] / app / controllers / trace_controller.rb
index 49a3619153e33c8c29c9078d4438610690db2cac..0248ad7cd4874d7c9cd294ccf4c73fe31fea6c1a 100644 (file)
@@ -114,7 +114,7 @@ class TraceController < ApplicationController
       redirect_to :controller => 'trace', :action => 'list'
     end
   rescue ActiveRecord::RecordNotFound
       redirect_to :controller => 'trace', :action => 'list'
     end
   rescue ActiveRecord::RecordNotFound
-    flash[:notice] = t 'trace.view.trace not found'
+    flash[:notice] = t 'trace.view.trace_not_found'
     redirect_to :controller => 'trace', :action => 'list'
   end
 
     redirect_to :controller => 'trace', :action => 'list'
   end