X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8e976fbac165155366923a66a93868b48d665f85..0571802b31a6a218472763f6b58cb6898cbdc56e:/app/controllers/traces_controller.rb diff --git a/app/controllers/traces_controller.rb b/app/controllers/traces_controller.rb index 86b09215e..855bbb78a 100644 --- a/app/controllers/traces_controller.rb +++ b/app/controllers/traces_controller.rb @@ -119,7 +119,7 @@ class TracesController < ApplicationController 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