Permalink
Browse files

i18n for flash message on answer_request's creation

  • Loading branch information...
1 parent 605d78e commit ba1351181ff9c97679302d7750734677938482b2 Alex Bredariol Grilo committed Oct 20, 2011
@@ -33,7 +33,7 @@ def create
format.js do
render :json => {
:success => true,
- :message => "Usuário convidado",
+ :message => t("answer_requests.new.user_invited"),
:html => render_to_string(:partial => "questions/requested_users",
:locals => {:question =>
@answer_request.question})
@@ -6,3 +6,4 @@ en:
message: Message (optional)
request_answer: Ask to answer
title: Ask user to answer
+ user_invited: User invited
@@ -6,3 +6,4 @@ pt-BR:
message: Mensagem (opcional)
request_answer: Pedir resposta
title: "Convidar usuário para responder"
+ user_invited: "Usuário convidado"

0 comments on commit ba13511

Please sign in to comment.