Skip to content
Snippets Groups Projects
Commit 8c3b0287 authored by Marcela Ribeiro de Oliveira's avatar Marcela Ribeiro de Oliveira
Browse files

...

parent 0ea2741b
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ class ComplaintsController < ApplicationController ...@@ -12,7 +12,7 @@ class ComplaintsController < ApplicationController
if complaint.save if complaint.save
format.html { redirect_to :back, notice: t('activerecord.attributes.complaint.create.notice.sucess') } format.html { redirect_to :back, notice: t('activerecord.attributes.complaint.create.notice.sucess') }
else else
format.html { redirect_to :back, alert: t('activerecord.attributes.complaint.create.alert.fail') } format.html { redirect_to :back, alert: t('activerecord.attributes.complaint.create.alert.failure') }
end end
end end
end end
......
...@@ -145,7 +145,7 @@ pt-BR: ...@@ -145,7 +145,7 @@ pt-BR:
successfully_destroy: "Objeto educacional excluído com sucesso." successfully_destroy: "Objeto educacional excluído com sucesso."
success_redirect: success_redirect:
notice: notice:
successfully_created: "Seu objeto educacional foi criado com sucesso!" successfully_created: "Seu objeto educacional foi criado com sucesso!"
collection: collection:
create: create:
notice: notice:
...@@ -161,7 +161,7 @@ pt-BR: ...@@ -161,7 +161,7 @@ pt-BR:
notice: notice:
sucess: "Denúncia realizada com sucesso." sucess: "Denúncia realizada com sucesso."
alert: alert:
fail: "Objeto foi denunciado por você." failure: "Este objeto foi denunciado por você."
feedback: feedback:
report_bug: report_bug:
notice: notice:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment