Move label translations to activerecord.yml

This commit is contained in:
Senén Rodero Rodríguez
2019-02-25 16:55:57 +01:00
committed by voodoorai2000
parent 78055555cf
commit f70adbe23a
5 changed files with 7 additions and 4 deletions

View File

@@ -20,8 +20,7 @@
<div class="ckeditor small-12 column">
<%= translations_form.cktext_area :description,
maxlength: Debate.description_max_length,
ckeditor: { language: I18n.locale },
label: t("debates.form.debate_text") %>
ckeditor: { language: I18n.locale } %>
</div>
<% end %>

View File

@@ -181,7 +181,10 @@ en:
author: "Author"
description: "Opinion"
terms_of_service: "Terms of service"
title: "Title"
debate/translation:
title: "Debate title"
description: "Initial debate text"
proposal:
author: "Author"
title: "Title"

View File

@@ -101,7 +101,6 @@ en:
submit_button: Save changes
show_link: View debate
form:
debate_text: Initial debate text
debate_title: Debate title
tags_instructions: Tag this debate.
tags_label: Topics

View File

@@ -184,6 +184,9 @@ es:
description: "Opinión"
terms_of_service: "Términos de servicio"
title: "Título del debate"
debate/translation:
title: "Título del debate"
description: "Texto inicial del debate"
proposal:
author: "Autor"
title: "Título"

View File

@@ -101,7 +101,6 @@ es:
submit_button: Guardar cambios
show_link: Ver debate
form:
debate_text: Texto inicial del debate
debate_title: Título del debate
tags_instructions: Etiqueta este debate.
tags_label: Temas