Skip to content

Commit

Permalink
Merge pull request #2279 from wairbut-m2c/aperez-missing-i18n-keys
Browse files Browse the repository at this point in the history
I18n maintenance
  • Loading branch information
decabeza committed Jan 29, 2018
2 parents afb1c5d + baa50b9 commit 1207b5c
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def create

if @answer.save
redirect_to admin_answer_images_path(@answer),
notice: "Image uploaded successfully"
notice: t("flash.actions.create.poll_question_answer_image")
else
render :new
end
Expand Down
2 changes: 1 addition & 1 deletion config/locales/en/admin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ en:
new_link: Create new budget
filter: Filter
filters:
current: Open
open: Open
finished: Finished
budget_investments: See budget investments
table_name: Name
Expand Down
3 changes: 2 additions & 1 deletion config/locales/en/responders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ en:
poll_booth: "Booth created successfully."
poll_question_answer: "Answer created successfully"
poll_question_answer_video: "Video created successfully"
poll_question_answer_image: "Image uploaded successfully"
proposal: "Proposal created successfully."
proposal_notification: "Your message has been sent correctly."
spending_proposal: "Spending proposal created successfully. You can access it from %{activity}"
Expand All @@ -31,4 +32,4 @@ en:
budget_investment: "Investment project deleted succesfully."
error: "Could not delete"
topic: "Topic deleted successfully."
poll_question_answer_video: "Answer video deleted successfully."
poll_question_answer_video: "Answer video deleted successfully."
4 changes: 2 additions & 2 deletions config/locales/es/admin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ es:
new_link: Crear nuevo presupuesto
filter: Filtro
filters:
current: Abiertos
open: Abiertos
finished: Terminados
budget_investments: Ver proyectos de gasto
table_name: Nombre
Expand Down Expand Up @@ -276,7 +276,7 @@ es:
without_confirmed_hide: Pendientes
title: Usuarios bloqueados
user: Usuario
no_hidden_users: No hay uusarios bloqueados.
no_hidden_users: No hay usuarios bloqueados.
show:
email: 'Email:'
hidden_at: 'Bloqueado:'
Expand Down
1 change: 1 addition & 0 deletions config/locales/es/responders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ es:
poll_booth: "Urna creada correctamente."
poll_question_answer: "Respuesta creada correctamente"
poll_question_answer_video: "Vídeo creado correctamente"
poll_question_answer_image: "Imagen cargada correctamente"
proposal: "Propuesta creada correctamente."
proposal_notification: "Tu mensaje ha sido enviado correctamente."
spending_proposal: "Propuesta de inversión creada correctamente. Puedes acceder a ella desde %{activity}"
Expand Down
1 change: 1 addition & 0 deletions config/locales/fr/responders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ fr:
poll_booth: "Urne créée avec succès."
poll_question_answer: "Réponse créée avec succès"
poll_question_answer_video: "Vidéo créée avec succès"
poll_question_answer_image: "Image téléchargée avec succès"
proposal: "Proposition créée avec succès."
proposal_notification: "Votre message a correctement été envoyé."
spending_proposal: "Proposition de dépense créée avec succès. Vous pouvez y accéder depuis %{activity}"
Expand Down

0 comments on commit 1207b5c

Please sign in to comment.