]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/traces_controller.rb
Remove obsolete pt-BR.yml translation file
[rails.git] / app / controllers / traces_controller.rb
index 86b09215ef94eba30405089e4918cc37020459fe..855bbb78af85bc8fc98a1dfe19731e304e8ed5ec 100644 (file)
@@ -119,7 +119,7 @@ class TracesController < ApplicationController
         TraceImporterJob.perform_later(@trace)
         redirect_to :action => :index, :display_name => current_user.display_name
       else
         TraceImporterJob.perform_later(@trace)
         redirect_to :action => :index, :display_name => current_user.display_name
       else
-        flash[:error] = t("traces.create.upload_failed") if @trace.valid?
+        flash[:error] = t(".upload_failed") if @trace.valid?
 
         render :action => "new"
       end
 
         render :action => "new"
       end