diff --git a/config/locales/devise_views.en.yml b/config/locales/devise_views.en.yml
index 9bb0cad79..9869804f2 100644
--- a/config/locales/devise_views.en.yml
+++ b/config/locales/devise_views.en.yml
@@ -6,7 +6,7 @@ en:
submit: "Resend confirmation instructions"
mailer:
confirmation_instructions:
- title: "Welcome to open government"
+ title: "Welcome to open government portal"
welcome: "Welcome"
text: "You can confirm your account email through the link below:"
confirm_link: "Confirm my account"
diff --git a/config/locales/devise_views.es.yml b/config/locales/devise_views.es.yml
index a64ac018e..01753bdb6 100644
--- a/config/locales/devise_views.es.yml
+++ b/config/locales/devise_views.es.yml
@@ -6,16 +6,16 @@ es:
submit: "Reenviar instrucciones de confirmación"
mailer:
confirmation_instructions:
- title: "Bienvenido/a a gobierno abierto"
+ title: "Te damos la bienvenida al Portal de Gobierno Abierto del Ayuntamiento de Madrid"
welcome: "Bienvenido/a"
text: "Puedes confirmar tu cuenta de correo electrónico en el siguiente enlace:"
confirm_link: "Confirmar mi cuenta"
reset_password_instructions:
hello: "Hola"
- title: "Cambiar tu contraseña"
+ title: "Cambia tu contraseña"
text: "Se ha solicitado cambiar tu contraseña, puedes hacerlo en el siguiente enlace:"
change_link: "Cambiar mi contraseña"
- ignore_text: "Si tu no lo has solicitado, puedes ignorar este email."
+ ignore_text: "Si tú no lo has solicitado, puedes ignorar este email."
info_text: "Tu contraseña no cambiará hasta que no accedas al enlace y la modifiques."
unlock_instructions:
hello: "Hola"
diff --git a/config/locales/en.yml b/config/locales/en.yml
index f62323591..23c7a25e9 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -105,9 +105,8 @@ en:
tags_label: Topics
tags_instructions: >
Tag this debate. You can choose among our proposals on the list or add any other topic you want by
- writing them separated by "," and then pressing "enter".
+ writing them separated by ",".
Some suggestions:
- start_debate: Start a debate
show:
back_link: Back
author_deleted: Deleted user
@@ -123,6 +122,8 @@ en:
editing: Edit debate
show_link: Show debate
back_link: Back
+ form:
+ submit_button: "Save changes"
new:
start_new: Start a debate
back_link: Back
@@ -132,6 +133,14 @@ en:
recommendation_three: "Any discussion or comment that involves an illegal act will be eliminated, also intending to sabotage the debate spaces, everything else is permitted."
recommendation_four: "The harsh criticism are very welcome. This is a space of thought but we recommend preserving the elegance and intelligence. The world is better with them present."
recommendation_five: "Enjoy this space, voices that fill it, it is yours too."
+ form:
+ submit_button: "Start a debate"
+ create:
+ form:
+ submit_button: "Start a debate"
+ update:
+ form:
+ submit_button: "Save changes"
comments:
form:
leave_comment: Write a comment
diff --git a/config/locales/es.yml b/config/locales/es.yml
index 9ab30d2ef..0c400b4b0 100644
--- a/config/locales/es.yml
+++ b/config/locales/es.yml
@@ -105,9 +105,8 @@ es:
tags_label: Temas
tags_instructions: >
Etiqueta este debate. Puedes elegir entre nuestras propuestas o introducir las que desees.
- Para ello solo tienes que escribir las etiquetas que desees separadas por "," y pulsar "intro".
+ Para ello solo tienes que escribir las etiquetas que desees separadas por ",".
Algunas recomendaciones:
- start_debate: Empieza un debate
show:
back_link: Volver
author_deleted: Usuario eliminado
@@ -123,6 +122,8 @@ es:
editing: Editar debate
show_link: Ver debate
back_link: Volver
+ form:
+ submit_button: "Guardar cambios"
new:
start_new: Empezar un debate
back_link: Volver
@@ -132,6 +133,14 @@ es:
recommendation_three: "Cualquier debate o comentario que implique una acción ilegal será eliminado, también los que tengan la intención de sabotear los espacios de debate, todo lo demás está permitido."
recommendation_four: "Las críticas despiadadas son muy bienvenidas. Este es un espacio de pensamiento. Pero te recomendamos conservar la elegancia y la inteligencia. El mundo es mejor con ellas presentes."
recommendation_five: "Disfruta de este espacio, de las voces que lo llenan, también es tuyo."
+ form:
+ submit_button: "Empieza un debate"
+ create:
+ form:
+ submit_button: "Empieza un debate"
+ update:
+ form:
+ submit_button: "Guardar cambios"
comments:
form:
leave_comment: Deja tu comentario
diff --git a/config/locales/mailers.en.yml b/config/locales/mailers.en.yml
index 4e3eeeab3..c5aa00a97 100644
--- a/config/locales/mailers.en.yml
+++ b/config/locales/mailers.en.yml
@@ -12,4 +12,5 @@ en:
title: Please verify yourself
instructions_html: "We need to verify you using this email, which we got from the Census. %{verification_link}"
click_here_to_verify: "Please click here to verify yourself"
+ thanks: "Thanks"
diff --git a/config/locales/mailers.es.yml b/config/locales/mailers.es.yml
index a6491f032..9b37b2dd5 100644
--- a/config/locales/mailers.es.yml
+++ b/config/locales/mailers.es.yml
@@ -9,6 +9,7 @@ es:
title: Nueva respuesta a tu comentario
new_reply_by_html: "Hay una nueva respuesta de %{commenter} a tu comentario en"
email_verification:
- title: Por favor verifícate
- instructions_html: "Vamos a proceder a verificar tu cuenta en la aplicación de participación ciudadana utilizando esta cuenta de correo que sacamos del padrón. %{verification_link}."
- click_here_to_verify: "Por favor pulsa este enlace para verificarte"
+ title: Verifica tu cuenta con el siguiente enlace
+ instructions_html: "Para terminar de verificar tu cuenta de usuario en el Portal de Gobierno Abierto del Ayuntamiento de Madrid, necesitamos que pulses %{verification_link}."
+ click_here_to_verify: "en este enlace"
+ thanks: "Muchas gracias."
diff --git a/spec/features/debates_spec.rb b/spec/features/debates_spec.rb
index 005232bb0..935da21f6 100644
--- a/spec/features/debates_spec.rb
+++ b/spec/features/debates_spec.rb
@@ -222,7 +222,7 @@ feature 'Debates' do
fill_in 'debate_description', with: "Let's..."
fill_in 'debate_captcha', with: correct_captcha_text
- click_button "Start a debate"
+ click_button "Save changes"
expect(page).to have_content "Debate was successfully updated."
expect(page).to have_content "End child poverty"
@@ -235,7 +235,7 @@ feature 'Debates' do
visit edit_debate_path(debate)
fill_in 'debate_title', with: ""
- click_button 'Start a debate'
+ click_button "Save changes"
expect(page).to have_content error_message
end
@@ -249,13 +249,13 @@ feature 'Debates' do
fill_in 'debate_title', with: "New title"
fill_in 'debate_captcha', with: "wrong!"
- click_button "Start a debate"
+ click_button "Save changes"
expect(page).to_not have_content "Debate was successfully updated."
expect(page).to have_content "1 error"
fill_in 'debate_captcha', with: correct_captcha_text
- click_button "Start a debate"
+ click_button "Save changes"
expect(page).to have_content "Debate was successfully updated."
end
@@ -271,7 +271,7 @@ feature 'Debates' do
fill_in 'debate_title', with: ""
fill_in 'debate_captcha', with: correct_captcha_text
- click_button "Start a debate"
+ click_button "Save changes"
expect(page).to_not have_content "Debate was successfully updated."
expect(page).to have_content "1 error"
diff --git a/spec/features/tags_spec.rb b/spec/features/tags_spec.rb
index 80106cf3b..1b47f87a1 100644
--- a/spec/features/tags_spec.rb
+++ b/spec/features/tags_spec.rb
@@ -90,7 +90,7 @@ feature 'Tags' do
fill_in 'debate_tag_list', with: "Economía, Hacienda"
fill_in 'debate_captcha', with: correct_captcha_text
- click_button 'Start a debate'
+ click_button 'Save changes'
expect(page).to have_content 'Debate was successfully updated.'
within('.tags') do
@@ -107,7 +107,7 @@ feature 'Tags' do
fill_in 'debate_tag_list', with: ""
fill_in 'debate_captcha', with: correct_captcha_text
- click_button 'Start a debate'
+ click_button 'Save changes'
expect(page).to have_content 'Debate was successfully updated.'
expect(page).to_not have_content 'Economía'