adds i18n to debates' interface

This commit is contained in:
Juanjo Bazán
2015-07-28 16:45:00 +02:00
parent d5710c8dc6
commit e9c1910d7d
10 changed files with 105 additions and 43 deletions

31
config/locales/en.yml Normal file
View File

@@ -0,0 +1,31 @@
en:
debates:
debate:
debate: Debate
vote: vote
votes: votes
form:
one_error: error
plural_errors: errors
not_saved: "prohibited this debate from being saved:"
debate_title: Debate title
title_instructions: "SBe clear and precise with the title, but make it informative"
debate_text: Ellaborate your opinion
text_instructions: "Explain your opinion, go into details, tell us what's the purpose of your idea"
tags_label: "Topics (comma separated)"
accept_terms: I accept the privacy policy and the legal terms
show:
back_link: Back
comments: Comments
leave_comment: Write a comment
edit_debate_link: Edit
edit:
editing: Edit debate
show_link: Show debate
back_link: Back
new:
publish_new: Publish new debate
back_link: Back
votes:
notice_thanks: "Thanks for voting."
notice_already_registered: "Your vote is already registered."

31
config/locales/es.yml Normal file
View File

@@ -0,0 +1,31 @@
es:
debates:
debate:
debate: Debate
vote: voto
votes: votos
form:
one_error: error
plural_errors: errores
not_saved: "impidieron guardar el debate:"
debate_title: Título del debate
title_instructions: "Sé claro y conciso a la hora de poner un título, pero recuerda que debe explicar bien tu idea, ¡es tu carta de entrada!"
debate_text: Describe tu opinión
text_instructions: "Explica con todo el detalle que puedas y de una manera sencilla la idea y que crees que conseguiríamos con ella"
tags_label: "Temas (separados por comas)"
accept_terms: Acepto la política de privacidad y el aviso legal
show:
back_link: Volver
comments: Comentarios
leave_comment: Deja tu comentario
edit_debate_link: Editar
edit:
editing: Editar debate
show_link: Ver debate
back_link: Volver
new:
publish_new: Publicar debate nuevo
back_link: Volver
votes:
notice_thanks: "Gracias por votar."
notice_already_registered: "Tu voto ya ha sido registrado."